misc
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
"author": "Armco (@restruct-corporate-advantage)",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"start": "vite",
|
||||
"start": "NODE_ENV=production vite",
|
||||
"shbuild": "./build.sh",
|
||||
"build": "tsc && vite build",
|
||||
"build:publish": "vite --config vite-publish.config.ts build",
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import { ReactNode, useEffect, useState } from "react"
|
||||
import { useLocation } from "react-router-dom"
|
||||
import { createPortal } from "react-dom"
|
||||
import { Alert, Button, Dropdown, List, Popover, Toggle } from ".."
|
||||
import { Alert, Button, List, Popover, Toggle } from ".."
|
||||
import { FrameContentDefinition } from "../../types/entity.interface"
|
||||
import { FrameContentProps } from "../../types/components.interface"
|
||||
import { ArButtonVariants, ArPopoverSlots } from "../../types/enums"
|
||||
import Helper from "../../utils/helper"
|
||||
import COMPONENTS from "../../config/components"
|
||||
import * as images from "../../static/images"
|
||||
import "./Editor.component.scss"
|
||||
import { ArButtonVariants, ArPopoverSlots } from "../../types/enums"
|
||||
|
||||
const children = {
|
||||
bg: (
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
max-width: 25rem;
|
||||
}
|
||||
|
||||
&.right {
|
||||
&.right:not(.TaskViewer) {
|
||||
border-left: var(--ar-border);
|
||||
}
|
||||
|
||||
&.left {
|
||||
&.left:not(.TaskViewer) {
|
||||
border-right: var(--ar-border);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ const SidePanel = (props: SidePanelProps): JSX.Element | null => {
|
||||
<div
|
||||
className={`ar-SidePanel h-100 d-flex flex-column${
|
||||
isFloating ? " floating position-absolute top-0" : ""
|
||||
}${" " + placementClass}${placement ? " " + placement : ""}`}
|
||||
}${" " + placementClass}${componentName ? " " + componentName : ""}`}
|
||||
>
|
||||
{header && (
|
||||
<div className="ar-SidePanel__header row h6 p-3 flex-v-center">
|
||||
|
||||
@@ -22,7 +22,7 @@ import {
|
||||
} from "../../types/enums"
|
||||
import { CronType, Task, User } from "../../types/entity.interface"
|
||||
import { ObjectType } from "../../types/types"
|
||||
import { Helper, Network, Validator } from "../../utils"
|
||||
import { Network, Validator } from "../../utils"
|
||||
import API_CONFIG from "../../config/api-config"
|
||||
import { ENDPOINTS } from "../../config/constants"
|
||||
import "./TaskViewer.component.scss"
|
||||
@@ -139,7 +139,7 @@ const TaskViewer = (props: TaskViewerProps): JSX.Element => {
|
||||
|
||||
return (
|
||||
<div
|
||||
className={`ar-TaskViewer p-3 overflow-auto h-100 position-relative${
|
||||
className={`ar-TaskViewer p-3 overflow-auto h-100 position-relative border${
|
||||
classes ? " " + classes : ""
|
||||
}`}
|
||||
>
|
||||
|
||||
@@ -5,20 +5,22 @@ const API_CONFIG: ApiConfig = {
|
||||
},
|
||||
STATIC_HOST: {
|
||||
// development: "https://static.armco.tech",
|
||||
development: "http://localhost:5003/api",
|
||||
development: "http://localhost:5001/api",
|
||||
production: "https://static.armco.tech",
|
||||
},
|
||||
IAM: {
|
||||
development: "http://localhost:8081/api",
|
||||
production: "https://iam.armco.tech/api",
|
||||
// development: "https://iam.armco.tech",
|
||||
development: "http://localhost:5000/api",
|
||||
production: "https://iam.armco.tech",
|
||||
},
|
||||
CONFIG: {
|
||||
development: "http://localhost:5004/api",
|
||||
production: "https://config.armco.tech/api",
|
||||
// development: "https://config.armco.tech",
|
||||
development: "http://localhost:5003/api",
|
||||
production: "https://config.armco.tech",
|
||||
},
|
||||
TASKER: {
|
||||
development: "http://localhost:5005/api",
|
||||
production: "https://tasks.armco.tech/api",
|
||||
development: "http://localhost:5002/api",
|
||||
production: "https://tasks.armco.tech",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user