@uipath/apollo-react 4.6.2-pr525.30a5d08 → 4.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/canvas/components/AddNodePanel/AddNodeManager.cjs +1 -1
- package/dist/canvas/components/AddNodePanel/AddNodeManager.js +2 -2
- package/dist/canvas/components/BaseNode/BaseNode.cjs +75 -74
- package/dist/canvas/components/BaseNode/BaseNode.d.ts.map +1 -1
- package/dist/canvas/components/BaseNode/BaseNode.js +70 -69
- package/dist/canvas/components/BaseNode/BaseNode.styles.cjs +410 -0
- package/dist/canvas/components/BaseNode/BaseNode.styles.d.ts +75 -0
- package/dist/canvas/components/BaseNode/BaseNode.styles.d.ts.map +1 -0
- package/dist/canvas/components/BaseNode/BaseNode.styles.js +342 -0
- package/dist/canvas/components/BaseNode/BaseNodeConfigContext.d.ts +1 -2
- package/dist/canvas/components/BaseNode/BaseNodeConfigContext.d.ts.map +1 -1
- package/dist/canvas/components/BaseNode/NodeLabel.cjs +18 -64
- package/dist/canvas/components/BaseNode/NodeLabel.d.ts +1 -8
- package/dist/canvas/components/BaseNode/NodeLabel.d.ts.map +1 -1
- package/dist/canvas/components/BaseNode/NodeLabel.js +15 -58
- package/dist/canvas/components/ButtonHandle/ButtonHandleStyleUtils.cjs +7 -4
- package/dist/canvas/components/ButtonHandle/ButtonHandleStyleUtils.d.ts.map +1 -1
- package/dist/canvas/components/ButtonHandle/ButtonHandleStyleUtils.js +7 -4
- package/dist/canvas/components/CodedAgent/CodedAgentFlow.cjs +4 -4
- package/dist/canvas/components/CodedAgent/CodedAgentFlow.js +4 -4
- package/dist/canvas/components/NodeInspector.cjs +3 -2
- package/dist/canvas/components/NodeInspector.d.ts.map +1 -1
- package/dist/canvas/components/NodeInspector.js +3 -2
- package/dist/canvas/components/Toolbox/Toolbox.cjs +6 -5
- package/dist/canvas/components/Toolbox/Toolbox.d.ts.map +1 -1
- package/dist/canvas/components/Toolbox/Toolbox.js +6 -5
- package/dist/canvas/constants.cjs +26 -62
- package/dist/canvas/constants.d.ts +6 -15
- package/dist/canvas/constants.d.ts.map +1 -1
- package/dist/canvas/constants.js +7 -16
- package/dist/canvas/index.cjs +35 -39
- package/dist/canvas/index.d.ts +0 -1
- package/dist/canvas/index.d.ts.map +1 -1
- package/dist/canvas/index.js +0 -1
- package/dist/canvas/storybook-utils/manifests/node-definitions.d.ts.map +1 -1
- package/dist/canvas/styles/tailwind.canvas.css +1 -1
- package/package.json +1 -1
- package/dist/canvas/components/BaseNode/BaseNodeBadgeSlot.cjs +0 -68
- package/dist/canvas/components/BaseNode/BaseNodeBadgeSlot.d.ts +0 -9
- package/dist/canvas/components/BaseNode/BaseNodeBadgeSlot.d.ts.map +0 -1
- package/dist/canvas/components/BaseNode/BaseNodeBadgeSlot.js +0 -34
- package/dist/canvas/components/BaseNode/BaseNodeContainer.cjs +0 -88
- package/dist/canvas/components/BaseNode/BaseNodeContainer.d.ts +0 -21
- package/dist/canvas/components/BaseNode/BaseNodeContainer.d.ts.map +0 -1
- package/dist/canvas/components/BaseNode/BaseNodeContainer.js +0 -51
- package/dist/canvas/components/BaseNode/BaseNodeInnerShape.cjs +0 -49
- package/dist/canvas/components/BaseNode/BaseNodeInnerShape.d.ts +0 -9
- package/dist/canvas/components/BaseNode/BaseNodeInnerShape.d.ts.map +0 -1
- package/dist/canvas/components/BaseNode/BaseNodeInnerShape.js +0 -15
- package/dist/canvas/components/BaseNode/BaseNodeMissingManifest.cjs +0 -62
- package/dist/canvas/components/BaseNode/BaseNodeMissingManifest.d.ts +0 -9
- package/dist/canvas/components/BaseNode/BaseNodeMissingManifest.d.ts.map +0 -1
- package/dist/canvas/components/BaseNode/BaseNodeMissingManifest.js +0 -28
- package/dist/canvas/styles/reactflow-reset.css +0 -12
package/package.json
CHANGED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __webpack_require__ = {};
|
|
3
|
-
(()=>{
|
|
4
|
-
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
-
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: definition[key]
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
})();
|
|
11
|
-
(()=>{
|
|
12
|
-
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
-
})();
|
|
14
|
-
(()=>{
|
|
15
|
-
__webpack_require__.r = (exports1)=>{
|
|
16
|
-
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
-
value: 'Module'
|
|
18
|
-
});
|
|
19
|
-
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
-
value: true
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
})();
|
|
24
|
-
var __webpack_exports__ = {};
|
|
25
|
-
__webpack_require__.r(__webpack_exports__);
|
|
26
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
-
BaseBadgeSlot: ()=>BaseBadgeSlot
|
|
28
|
-
});
|
|
29
|
-
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
-
const external_react_namespaceObject = require("react");
|
|
31
|
-
const external_constants_cjs_namespaceObject = require("../../constants.cjs");
|
|
32
|
-
const BaseBadgeSlot = /*#__PURE__*/ (0, external_react_namespaceObject.memo)(({ position, shape, children })=>{
|
|
33
|
-
const offset = 'circle' === shape ? external_constants_cjs_namespaceObject.NODE_BADGE_INSET_CIRCLE : external_constants_cjs_namespaceObject.NODE_BADGE_INSET_SQUARE;
|
|
34
|
-
const style = {
|
|
35
|
-
width: external_constants_cjs_namespaceObject.NODE_BADGE_SIZE,
|
|
36
|
-
height: external_constants_cjs_namespaceObject.NODE_BADGE_SIZE
|
|
37
|
-
};
|
|
38
|
-
switch(position){
|
|
39
|
-
case 'top-left':
|
|
40
|
-
style.top = offset;
|
|
41
|
-
style.left = offset;
|
|
42
|
-
break;
|
|
43
|
-
case 'top-right':
|
|
44
|
-
style.top = offset;
|
|
45
|
-
style.right = offset;
|
|
46
|
-
break;
|
|
47
|
-
case 'bottom-left':
|
|
48
|
-
style.bottom = offset;
|
|
49
|
-
style.left = offset;
|
|
50
|
-
break;
|
|
51
|
-
case 'bottom-right':
|
|
52
|
-
style.bottom = offset;
|
|
53
|
-
style.right = offset;
|
|
54
|
-
break;
|
|
55
|
-
}
|
|
56
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
57
|
-
className: "absolute flex items-center justify-center bg-transparent",
|
|
58
|
-
style: style,
|
|
59
|
-
children: children
|
|
60
|
-
});
|
|
61
|
-
});
|
|
62
|
-
exports.BaseBadgeSlot = __webpack_exports__.BaseBadgeSlot;
|
|
63
|
-
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
64
|
-
"BaseBadgeSlot"
|
|
65
|
-
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
66
|
-
Object.defineProperty(exports, '__esModule', {
|
|
67
|
-
value: true
|
|
68
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { NodeShape } from '../../schema';
|
|
2
|
-
interface BaseBadgeSlotProps {
|
|
3
|
-
position: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
4
|
-
shape?: NodeShape;
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
}
|
|
7
|
-
export declare const BaseBadgeSlot: import("react").MemoExoticComponent<({ position, shape, children }: BaseBadgeSlotProps) => import("react/jsx-runtime").JSX.Element>;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=BaseNodeBadgeSlot.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseNodeBadgeSlot.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/BaseNode/BaseNodeBadgeSlot.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,UAAU,GAAG,WAAW,GAAG,aAAa,GAAG,cAAc,CAAC;IACpE,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,aAAa,sEAAwC,kBAAkB,6CA0BlF,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { memo } from "react";
|
|
3
|
-
import { NODE_BADGE_INSET_CIRCLE, NODE_BADGE_INSET_SQUARE, NODE_BADGE_SIZE } from "../../constants.js";
|
|
4
|
-
const BaseBadgeSlot = /*#__PURE__*/ memo(({ position, shape, children })=>{
|
|
5
|
-
const offset = 'circle' === shape ? NODE_BADGE_INSET_CIRCLE : NODE_BADGE_INSET_SQUARE;
|
|
6
|
-
const style = {
|
|
7
|
-
width: NODE_BADGE_SIZE,
|
|
8
|
-
height: NODE_BADGE_SIZE
|
|
9
|
-
};
|
|
10
|
-
switch(position){
|
|
11
|
-
case 'top-left':
|
|
12
|
-
style.top = offset;
|
|
13
|
-
style.left = offset;
|
|
14
|
-
break;
|
|
15
|
-
case 'top-right':
|
|
16
|
-
style.top = offset;
|
|
17
|
-
style.right = offset;
|
|
18
|
-
break;
|
|
19
|
-
case 'bottom-left':
|
|
20
|
-
style.bottom = offset;
|
|
21
|
-
style.left = offset;
|
|
22
|
-
break;
|
|
23
|
-
case 'bottom-right':
|
|
24
|
-
style.bottom = offset;
|
|
25
|
-
style.right = offset;
|
|
26
|
-
break;
|
|
27
|
-
}
|
|
28
|
-
return /*#__PURE__*/ jsx("div", {
|
|
29
|
-
className: "absolute flex items-center justify-center bg-transparent",
|
|
30
|
-
style: style,
|
|
31
|
-
children: children
|
|
32
|
-
});
|
|
33
|
-
});
|
|
34
|
-
export { BaseBadgeSlot };
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __webpack_require__ = {};
|
|
3
|
-
(()=>{
|
|
4
|
-
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
-
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: definition[key]
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
})();
|
|
11
|
-
(()=>{
|
|
12
|
-
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
-
})();
|
|
14
|
-
(()=>{
|
|
15
|
-
__webpack_require__.r = (exports1)=>{
|
|
16
|
-
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
-
value: 'Module'
|
|
18
|
-
});
|
|
19
|
-
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
-
value: true
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
})();
|
|
24
|
-
var __webpack_exports__ = {};
|
|
25
|
-
__webpack_require__.r(__webpack_exports__);
|
|
26
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
-
BaseContainer: ()=>BaseContainer,
|
|
28
|
-
getStatusBorder: ()=>getStatusBorder
|
|
29
|
-
});
|
|
30
|
-
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
31
|
-
const apollo_wind_namespaceObject = require("@uipath/apollo-wind");
|
|
32
|
-
const external_react_namespaceObject = require("react");
|
|
33
|
-
const getStatusBorder = (status)=>{
|
|
34
|
-
switch(status){
|
|
35
|
-
case 'InProgress':
|
|
36
|
-
return 'border-info animate-glow [--glow-color:var(--info)]';
|
|
37
|
-
case 'Completed':
|
|
38
|
-
case 'add':
|
|
39
|
-
return 'border-success';
|
|
40
|
-
case 'Paused':
|
|
41
|
-
case 'Warning':
|
|
42
|
-
case 'WARNING':
|
|
43
|
-
case 'update':
|
|
44
|
-
return 'border-warning animate-glow [--glow-color:var(--warning)]';
|
|
45
|
-
case 'Cancelled':
|
|
46
|
-
case 'Failed':
|
|
47
|
-
case 'Terminated':
|
|
48
|
-
case 'ERROR':
|
|
49
|
-
case 'CRITICAL':
|
|
50
|
-
case 'delete':
|
|
51
|
-
return 'border-error animate-glow [--glow-color:var(--error)]';
|
|
52
|
-
default:
|
|
53
|
-
return '';
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
const BaseContainer = ({ isSelected, isHovered, shape, interactionState, executionStatus, validationStatus, suggestionType, hasFooter, background, loading, children })=>{
|
|
57
|
-
const activeStatus = suggestionType ?? validationStatus ?? executionStatus;
|
|
58
|
-
const className = (0, external_react_namespaceObject.useMemo)(()=>(0, apollo_wind_namespaceObject.cn)('relative flex items-center cursor-pointer bg-surface-overlay border-2 border-border', 'w-(--node-w) h-(--node-h) rounded-(--node-radius)', 'rectangle' === shape ? 'flex-row justify-start gap-3 p-2' : 'flex-col justify-center', hasFooter && 'flex-wrap', getStatusBorder(activeStatus), !isSelected && isHovered && 'border-foreground-muted', isSelected && 'border-brand', isSelected && isHovered && 'border-foreground-accent-muted', 'disabled' === interactionState && 'opacity-50 cursor-not-allowed', 'drag' === interactionState && 'cursor-grabbing opacity-80'), [
|
|
59
|
-
shape,
|
|
60
|
-
hasFooter,
|
|
61
|
-
activeStatus,
|
|
62
|
-
isSelected,
|
|
63
|
-
isHovered,
|
|
64
|
-
interactionState
|
|
65
|
-
]);
|
|
66
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
67
|
-
"data-testid": "base-container",
|
|
68
|
-
"data-execution-status": executionStatus,
|
|
69
|
-
"data-interaction-state": interactionState,
|
|
70
|
-
"data-validation-status": validationStatus,
|
|
71
|
-
"data-suggestion-type": suggestionType,
|
|
72
|
-
className: className,
|
|
73
|
-
style: background ? {
|
|
74
|
-
background
|
|
75
|
-
} : void 0,
|
|
76
|
-
"aria-busy": loading || void 0,
|
|
77
|
-
children: children
|
|
78
|
-
});
|
|
79
|
-
};
|
|
80
|
-
exports.BaseContainer = __webpack_exports__.BaseContainer;
|
|
81
|
-
exports.getStatusBorder = __webpack_exports__.getStatusBorder;
|
|
82
|
-
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
83
|
-
"BaseContainer",
|
|
84
|
-
"getStatusBorder"
|
|
85
|
-
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
86
|
-
Object.defineProperty(exports, '__esModule', {
|
|
87
|
-
value: true
|
|
88
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { NodeShape } from '../../schema';
|
|
2
|
-
import type { SuggestionType } from '../../types';
|
|
3
|
-
import type { ElementStatusValues } from '../../types/execution';
|
|
4
|
-
import { ValidationErrorSeverity } from '../../types/validation';
|
|
5
|
-
export declare const getStatusBorder: (status?: ElementStatusValues | ValidationErrorSeverity | SuggestionType) => string;
|
|
6
|
-
interface BaseContainerProps {
|
|
7
|
-
isSelected?: boolean;
|
|
8
|
-
isHovered?: boolean;
|
|
9
|
-
shape?: NodeShape;
|
|
10
|
-
interactionState?: string;
|
|
11
|
-
executionStatus?: ElementStatusValues;
|
|
12
|
-
validationStatus?: ValidationErrorSeverity;
|
|
13
|
-
suggestionType?: SuggestionType;
|
|
14
|
-
hasFooter?: boolean;
|
|
15
|
-
background?: string;
|
|
16
|
-
loading?: boolean;
|
|
17
|
-
children: React.ReactNode;
|
|
18
|
-
}
|
|
19
|
-
export declare const BaseContainer: ({ isSelected, isHovered, shape, interactionState, executionStatus, validationStatus, suggestionType, hasFooter, background, loading, children, }: BaseContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export {};
|
|
21
|
-
//# sourceMappingURL=BaseNodeContainer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseNodeContainer.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/BaseNode/BaseNodeContainer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,eAAO,MAAM,eAAe,GAC1B,SAAS,mBAAmB,GAAG,uBAAuB,GAAG,cAAc,KACtE,MAsBF,CAAC;AAEF,UAAU,kBAAkB;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,mBAAmB,CAAC;IACtC,gBAAgB,CAAC,EAAE,uBAAuB,CAAC;IAC3C,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,aAAa,GAAI,kJAY3B,kBAAkB,4CAoCpB,CAAC"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from "@uipath/apollo-wind";
|
|
3
|
-
import { useMemo } from "react";
|
|
4
|
-
const getStatusBorder = (status)=>{
|
|
5
|
-
switch(status){
|
|
6
|
-
case 'InProgress':
|
|
7
|
-
return 'border-info animate-glow [--glow-color:var(--info)]';
|
|
8
|
-
case 'Completed':
|
|
9
|
-
case 'add':
|
|
10
|
-
return 'border-success';
|
|
11
|
-
case 'Paused':
|
|
12
|
-
case 'Warning':
|
|
13
|
-
case 'WARNING':
|
|
14
|
-
case 'update':
|
|
15
|
-
return 'border-warning animate-glow [--glow-color:var(--warning)]';
|
|
16
|
-
case 'Cancelled':
|
|
17
|
-
case 'Failed':
|
|
18
|
-
case 'Terminated':
|
|
19
|
-
case 'ERROR':
|
|
20
|
-
case 'CRITICAL':
|
|
21
|
-
case 'delete':
|
|
22
|
-
return 'border-error animate-glow [--glow-color:var(--error)]';
|
|
23
|
-
default:
|
|
24
|
-
return '';
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
const BaseContainer = ({ isSelected, isHovered, shape, interactionState, executionStatus, validationStatus, suggestionType, hasFooter, background, loading, children })=>{
|
|
28
|
-
const activeStatus = suggestionType ?? validationStatus ?? executionStatus;
|
|
29
|
-
const className = useMemo(()=>cn('relative flex items-center cursor-pointer bg-surface-overlay border-2 border-border', 'w-(--node-w) h-(--node-h) rounded-(--node-radius)', 'rectangle' === shape ? 'flex-row justify-start gap-3 p-2' : 'flex-col justify-center', hasFooter && 'flex-wrap', getStatusBorder(activeStatus), !isSelected && isHovered && 'border-foreground-muted', isSelected && 'border-brand', isSelected && isHovered && 'border-foreground-accent-muted', 'disabled' === interactionState && 'opacity-50 cursor-not-allowed', 'drag' === interactionState && 'cursor-grabbing opacity-80'), [
|
|
30
|
-
shape,
|
|
31
|
-
hasFooter,
|
|
32
|
-
activeStatus,
|
|
33
|
-
isSelected,
|
|
34
|
-
isHovered,
|
|
35
|
-
interactionState
|
|
36
|
-
]);
|
|
37
|
-
return /*#__PURE__*/ jsx("div", {
|
|
38
|
-
"data-testid": "base-container",
|
|
39
|
-
"data-execution-status": executionStatus,
|
|
40
|
-
"data-interaction-state": interactionState,
|
|
41
|
-
"data-validation-status": validationStatus,
|
|
42
|
-
"data-suggestion-type": suggestionType,
|
|
43
|
-
className: className,
|
|
44
|
-
style: background ? {
|
|
45
|
-
background
|
|
46
|
-
} : void 0,
|
|
47
|
-
"aria-busy": loading || void 0,
|
|
48
|
-
children: children
|
|
49
|
-
});
|
|
50
|
-
};
|
|
51
|
-
export { BaseContainer, getStatusBorder };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __webpack_require__ = {};
|
|
3
|
-
(()=>{
|
|
4
|
-
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
-
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: definition[key]
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
})();
|
|
11
|
-
(()=>{
|
|
12
|
-
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
-
})();
|
|
14
|
-
(()=>{
|
|
15
|
-
__webpack_require__.r = (exports1)=>{
|
|
16
|
-
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
-
value: 'Module'
|
|
18
|
-
});
|
|
19
|
-
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
-
value: true
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
})();
|
|
24
|
-
var __webpack_exports__ = {};
|
|
25
|
-
__webpack_require__.r(__webpack_exports__);
|
|
26
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
-
BaseInnerShape: ()=>BaseInnerShape
|
|
28
|
-
});
|
|
29
|
-
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
-
const apollo_wind_namespaceObject = require("@uipath/apollo-wind");
|
|
31
|
-
const external_react_namespaceObject = require("react");
|
|
32
|
-
const BaseInnerShape = /*#__PURE__*/ (0, external_react_namespaceObject.memo)(({ loading, color, background, children })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
33
|
-
className: " flex items-center justify-center overflow-hidden bg-surface text-foreground w-(--inner-size) h-(--inner-size) rounded-(--inner-radius) [&>svg]:w-(--icon-size) [&>svg]:h-(--icon-size) [&>img]:w-(--icon-size) [&>img]:h-(--icon-size) [&>img]:object-contain ",
|
|
34
|
-
style: color || background ? {
|
|
35
|
-
color,
|
|
36
|
-
background
|
|
37
|
-
} : void 0,
|
|
38
|
-
children: loading ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(apollo_wind_namespaceObject.Skeleton, {
|
|
39
|
-
"data-testid": "skeleton-icon",
|
|
40
|
-
className: "rounded-lg w-(--icon-size) h-(--icon-size)"
|
|
41
|
-
}) : children
|
|
42
|
-
}));
|
|
43
|
-
exports.BaseInnerShape = __webpack_exports__.BaseInnerShape;
|
|
44
|
-
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
45
|
-
"BaseInnerShape"
|
|
46
|
-
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
47
|
-
Object.defineProperty(exports, '__esModule', {
|
|
48
|
-
value: true
|
|
49
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
interface BaseInnerShapeProps {
|
|
2
|
-
loading?: boolean;
|
|
3
|
-
color?: string;
|
|
4
|
-
background?: string;
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
}
|
|
7
|
-
export declare const BaseInnerShape: import("react").MemoExoticComponent<({ loading, color, background, children }: BaseInnerShapeProps) => import("react/jsx-runtime").JSX.Element>;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=BaseNodeInnerShape.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseNodeInnerShape.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/BaseNode/BaseNodeInnerShape.tsx"],"names":[],"mappings":"AAGA,UAAU,mBAAmB;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,cAAc,iFACkB,mBAAmB,6CAoB/D,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Skeleton } from "@uipath/apollo-wind";
|
|
3
|
-
import { memo } from "react";
|
|
4
|
-
const BaseInnerShape = /*#__PURE__*/ memo(({ loading, color, background, children })=>/*#__PURE__*/ jsx("div", {
|
|
5
|
-
className: " flex items-center justify-center overflow-hidden bg-surface text-foreground w-(--inner-size) h-(--inner-size) rounded-(--inner-radius) [&>svg]:w-(--icon-size) [&>svg]:h-(--icon-size) [&>img]:w-(--icon-size) [&>img]:h-(--icon-size) [&>img]:object-contain ",
|
|
6
|
-
style: color || background ? {
|
|
7
|
-
color,
|
|
8
|
-
background
|
|
9
|
-
} : void 0,
|
|
10
|
-
children: loading ? /*#__PURE__*/ jsx(Skeleton, {
|
|
11
|
-
"data-testid": "skeleton-icon",
|
|
12
|
-
className: "rounded-lg w-(--icon-size) h-(--icon-size)"
|
|
13
|
-
}) : children
|
|
14
|
-
}));
|
|
15
|
-
export { BaseInnerShape };
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __webpack_require__ = {};
|
|
3
|
-
(()=>{
|
|
4
|
-
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
-
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: definition[key]
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
})();
|
|
11
|
-
(()=>{
|
|
12
|
-
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
-
})();
|
|
14
|
-
(()=>{
|
|
15
|
-
__webpack_require__.r = (exports1)=>{
|
|
16
|
-
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
-
value: 'Module'
|
|
18
|
-
});
|
|
19
|
-
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
-
value: true
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
})();
|
|
24
|
-
var __webpack_exports__ = {};
|
|
25
|
-
__webpack_require__.r(__webpack_exports__);
|
|
26
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
-
MissingManifestNode: ()=>MissingManifestNode
|
|
28
|
-
});
|
|
29
|
-
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
-
const external_constants_cjs_namespaceObject = require("../../constants.cjs");
|
|
31
|
-
const index_cjs_namespaceObject = require("../../utils/index.cjs");
|
|
32
|
-
const external_BaseNodeContainer_cjs_namespaceObject = require("./BaseNodeContainer.cjs");
|
|
33
|
-
const external_BaseNodeInnerShape_cjs_namespaceObject = require("./BaseNodeInnerShape.cjs");
|
|
34
|
-
const external_NodeLabel_cjs_namespaceObject = require("./NodeLabel.cjs");
|
|
35
|
-
const MissingManifestNode = ({ type, isSelected, isHovered, interactionState })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(external_BaseNodeContainer_cjs_namespaceObject.BaseContainer, {
|
|
36
|
-
shape: "square",
|
|
37
|
-
isSelected: isSelected,
|
|
38
|
-
isHovered: isHovered,
|
|
39
|
-
interactionState: interactionState,
|
|
40
|
-
children: [
|
|
41
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_BaseNodeInnerShape_cjs_namespaceObject.BaseInnerShape, {
|
|
42
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(index_cjs_namespaceObject.CanvasIcon, {
|
|
43
|
-
icon: "circle-alert",
|
|
44
|
-
size: external_constants_cjs_namespaceObject.NODE_ERROR_ICON_SIZE,
|
|
45
|
-
color: "var(--color-error-icon)"
|
|
46
|
-
})
|
|
47
|
-
}),
|
|
48
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_NodeLabel_cjs_namespaceObject.NodeLabel, {
|
|
49
|
-
label: "Manifest Undefined",
|
|
50
|
-
subLabel: type,
|
|
51
|
-
shape: "square",
|
|
52
|
-
readonly: true
|
|
53
|
-
})
|
|
54
|
-
]
|
|
55
|
-
});
|
|
56
|
-
exports.MissingManifestNode = __webpack_exports__.MissingManifestNode;
|
|
57
|
-
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
58
|
-
"MissingManifestNode"
|
|
59
|
-
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
60
|
-
Object.defineProperty(exports, '__esModule', {
|
|
61
|
-
value: true
|
|
62
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
interface MissingManifestNodeProps {
|
|
2
|
-
type?: string;
|
|
3
|
-
isSelected?: boolean;
|
|
4
|
-
isHovered?: boolean;
|
|
5
|
-
interactionState?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const MissingManifestNode: ({ type, isSelected, isHovered, interactionState, }: MissingManifestNodeProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=BaseNodeMissingManifest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseNodeMissingManifest.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/BaseNode/BaseNodeMissingManifest.tsx"],"names":[],"mappings":"AAMA,UAAU,wBAAwB;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,eAAO,MAAM,mBAAmB,GAAI,oDAKjC,wBAAwB,4CAY1B,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { NODE_ERROR_ICON_SIZE } from "../../constants.js";
|
|
3
|
-
import { CanvasIcon } from "../../utils/index.js";
|
|
4
|
-
import { BaseContainer } from "./BaseNodeContainer.js";
|
|
5
|
-
import { BaseInnerShape } from "./BaseNodeInnerShape.js";
|
|
6
|
-
import { NodeLabel } from "./NodeLabel.js";
|
|
7
|
-
const MissingManifestNode = ({ type, isSelected, isHovered, interactionState })=>/*#__PURE__*/ jsxs(BaseContainer, {
|
|
8
|
-
shape: "square",
|
|
9
|
-
isSelected: isSelected,
|
|
10
|
-
isHovered: isHovered,
|
|
11
|
-
interactionState: interactionState,
|
|
12
|
-
children: [
|
|
13
|
-
/*#__PURE__*/ jsx(BaseInnerShape, {
|
|
14
|
-
children: /*#__PURE__*/ jsx(CanvasIcon, {
|
|
15
|
-
icon: "circle-alert",
|
|
16
|
-
size: NODE_ERROR_ICON_SIZE,
|
|
17
|
-
color: "var(--color-error-icon)"
|
|
18
|
-
})
|
|
19
|
-
}),
|
|
20
|
-
/*#__PURE__*/ jsx(NodeLabel, {
|
|
21
|
-
label: "Manifest Undefined",
|
|
22
|
-
subLabel: type,
|
|
23
|
-
shape: "square",
|
|
24
|
-
readonly: true
|
|
25
|
-
})
|
|
26
|
-
]
|
|
27
|
-
});
|
|
28
|
-
export { MissingManifestNode };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
.react-flow__node-default, .react-flow__node-default.selectable:hover, .react-flow__node-default.selectable.selected, .react-flow__node-default.selectable:focus, .react-flow__node-default.selectable:focus-visible {
|
|
2
|
-
width: auto !important;
|
|
3
|
-
color: inherit !important;
|
|
4
|
-
text-align: inherit !important;
|
|
5
|
-
font-size: inherit !important;
|
|
6
|
-
box-shadow: none !important;
|
|
7
|
-
background: none !important;
|
|
8
|
-
border: none !important;
|
|
9
|
-
border-radius: 0 !important;
|
|
10
|
-
padding: 0 !important;
|
|
11
|
-
}
|
|
12
|
-
|