@uipath/apollo-react 6.50.0 → 6.51.0
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/AgentCanvas/agent-flow.manifest.d.ts +3 -3
- package/dist/canvas/components/BaseNode/BaseNode.cjs +4 -3
- package/dist/canvas/components/BaseNode/BaseNode.d.ts.map +1 -1
- package/dist/canvas/components/BaseNode/BaseNode.js +4 -3
- package/dist/canvas/components/BaseNode/BaseNodeContainer.cjs +16 -3
- package/dist/canvas/components/BaseNode/BaseNodeContainer.d.ts +1 -1
- package/dist/canvas/components/BaseNode/BaseNodeContainer.d.ts.map +1 -1
- package/dist/canvas/components/BaseNode/BaseNodeContainer.js +17 -4
- package/dist/canvas/components/BaseNode/BaseNodeOutline.cjs +131 -0
- package/dist/canvas/components/BaseNode/BaseNodeOutline.d.ts +17 -0
- package/dist/canvas/components/BaseNode/BaseNodeOutline.d.ts.map +1 -0
- package/dist/canvas/components/BaseNode/BaseNodeOutline.js +91 -0
- package/dist/canvas/components/BaseNode/NodeLabel.cjs +8 -7
- package/dist/canvas/components/BaseNode/NodeLabel.d.ts +1 -1
- package/dist/canvas/components/BaseNode/NodeLabel.d.ts.map +1 -1
- package/dist/canvas/components/BaseNode/NodeLabel.js +8 -7
- package/dist/canvas/components/CaseFlow/case-flow.manifest.d.ts +3 -3
- package/dist/canvas/schema/node-definition/index.cjs +17 -5
- package/dist/canvas/schema/node-definition/index.d.ts +2 -2
- package/dist/canvas/schema/node-definition/index.d.ts.map +1 -1
- package/dist/canvas/schema/node-definition/index.js +2 -2
- package/dist/canvas/schema/node-definition/node-manifest.d.ts +12 -0
- package/dist/canvas/schema/node-definition/node-manifest.d.ts.map +1 -1
- package/dist/canvas/schema/node-definition/shape.cjs +29 -2
- package/dist/canvas/schema/node-definition/shape.d.ts +9 -0
- package/dist/canvas/schema/node-definition/shape.d.ts.map +1 -1
- package/dist/canvas/schema/node-definition/shape.js +17 -2
- package/dist/canvas/schema/node-instance/base.d.ts +3 -0
- package/dist/canvas/schema/node-instance/base.d.ts.map +1 -1
- package/dist/canvas/schema/node-instance/node.d.ts +3 -0
- package/dist/canvas/schema/node-instance/node.d.ts.map +1 -1
- package/dist/canvas/schema/toolbar.d.ts +15 -0
- package/dist/canvas/schema/toolbar.d.ts.map +1 -1
- package/dist/canvas/storybook-utils/manifests/index.d.ts +3 -3
- package/dist/canvas/styles/tailwind.canvas.css +1 -1
- package/dist/canvas/styles/variables.css +8 -0
- package/dist/canvas/utils/node-size.cjs +2 -1
- package/dist/canvas/utils/node-size.d.ts +1 -1
- package/dist/canvas/utils/node-size.d.ts.map +1 -1
- package/dist/canvas/utils/node-size.js +2 -1
- package/package.json +2 -2
|
@@ -24,7 +24,7 @@ export declare const caseFlowManifest: {
|
|
|
24
24
|
canvasLabel?: string | undefined;
|
|
25
25
|
description?: string | undefined;
|
|
26
26
|
icon?: string | undefined;
|
|
27
|
-
shape?: "square" | "circle" | "container" | "rectangle" | undefined;
|
|
27
|
+
shape?: "document" | "square" | "circle" | "container" | "rectangle" | "pill" | "clipped" | undefined;
|
|
28
28
|
color?: string | undefined;
|
|
29
29
|
background?: string | undefined;
|
|
30
30
|
iconBackground?: string | undefined;
|
|
@@ -97,7 +97,7 @@ export declare const caseFlowManifest: {
|
|
|
97
97
|
requiresPermissions?: string[] | undefined;
|
|
98
98
|
hideOnExecution?: boolean | undefined;
|
|
99
99
|
nodeTypes?: string[] | undefined;
|
|
100
|
-
shapes?: ("square" | "circle" | "container" | "rectangle")[] | undefined;
|
|
100
|
+
shapes?: ("document" | "square" | "circle" | "container" | "rectangle" | "pill" | "clipped")[] | undefined;
|
|
101
101
|
handles?: {
|
|
102
102
|
handleType: "input" | "output" | "artifact";
|
|
103
103
|
type?: "target" | "source" | undefined;
|
|
@@ -113,7 +113,7 @@ export declare const caseFlowManifest: {
|
|
|
113
113
|
requiresPermissions?: string[] | undefined;
|
|
114
114
|
hideOnExecution?: boolean | undefined;
|
|
115
115
|
nodeTypes?: string[] | undefined;
|
|
116
|
-
shapes?: ("square" | "circle" | "container" | "rectangle")[] | undefined;
|
|
116
|
+
shapes?: ("document" | "square" | "circle" | "container" | "rectangle" | "pill" | "clipped")[] | undefined;
|
|
117
117
|
handles?: {
|
|
118
118
|
handleType: "input" | "output" | "artifact";
|
|
119
119
|
type?: "target" | "source" | undefined;
|
|
@@ -24,23 +24,29 @@ var __webpack_require__ = {};
|
|
|
24
24
|
var __webpack_exports__ = {};
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
-
|
|
28
|
-
nodeDisplayManifestSchema: ()=>external_node_manifest_cjs_namespaceObject.nodeDisplayManifestSchema,
|
|
27
|
+
OUTLINE_DRAWN_NODE_SHAPES: ()=>external_shape_cjs_namespaceObject.OUTLINE_DRAWN_NODE_SHAPES,
|
|
29
28
|
handleGroupOverrideSchema: ()=>external_handle_cjs_namespaceObject.handleGroupOverrideSchema,
|
|
30
|
-
handlePositionSchema: ()=>external_handle_cjs_namespaceObject.handlePositionSchema,
|
|
31
29
|
nodeShapeSchema: ()=>external_shape_cjs_namespaceObject.nodeShapeSchema,
|
|
32
30
|
nodeManifestSchema: ()=>external_node_manifest_cjs_namespaceObject.nodeManifestSchema,
|
|
33
31
|
nodeRuntimeConstraintsManifestSchema: ()=>external_node_manifest_cjs_namespaceObject.nodeRuntimeConstraintsManifestSchema,
|
|
34
|
-
|
|
32
|
+
nodeDisplayManifestSchema: ()=>external_node_manifest_cjs_namespaceObject.nodeDisplayManifestSchema,
|
|
35
33
|
handleTypeDisplaySchema: ()=>external_handle_cjs_namespaceObject.handleTypeDisplaySchema,
|
|
34
|
+
isOutlineDrawnShape: ()=>external_shape_cjs_namespaceObject.isOutlineDrawnShape,
|
|
35
|
+
handleManifestSchema: ()=>external_handle_cjs_namespaceObject.handleManifestSchema,
|
|
36
36
|
handleBoundarySchema: ()=>external_handle_cjs_namespaceObject.handleBoundarySchema,
|
|
37
37
|
handleGroupManifestSchema: ()=>external_handle_cjs_namespaceObject.handleGroupManifestSchema,
|
|
38
|
-
|
|
38
|
+
isWideNodeShape: ()=>external_shape_cjs_namespaceObject.isWideNodeShape,
|
|
39
|
+
WIDE_NODE_SHAPES: ()=>external_shape_cjs_namespaceObject.WIDE_NODE_SHAPES,
|
|
40
|
+
handlePositionSchema: ()=>external_handle_cjs_namespaceObject.handlePositionSchema,
|
|
41
|
+
handleTypeSchema: ()=>external_handle_cjs_namespaceObject.handleTypeSchema,
|
|
42
|
+
categoryManifestSchema: ()=>external_category_manifest_cjs_namespaceObject.categoryManifestSchema
|
|
39
43
|
});
|
|
40
44
|
const external_category_manifest_cjs_namespaceObject = require("./category-manifest.cjs");
|
|
41
45
|
const external_handle_cjs_namespaceObject = require("./handle.cjs");
|
|
42
46
|
const external_node_manifest_cjs_namespaceObject = require("./node-manifest.cjs");
|
|
43
47
|
const external_shape_cjs_namespaceObject = require("./shape.cjs");
|
|
48
|
+
exports.OUTLINE_DRAWN_NODE_SHAPES = __webpack_exports__.OUTLINE_DRAWN_NODE_SHAPES;
|
|
49
|
+
exports.WIDE_NODE_SHAPES = __webpack_exports__.WIDE_NODE_SHAPES;
|
|
44
50
|
exports.categoryManifestSchema = __webpack_exports__.categoryManifestSchema;
|
|
45
51
|
exports.handleBoundarySchema = __webpack_exports__.handleBoundarySchema;
|
|
46
52
|
exports.handleGroupManifestSchema = __webpack_exports__.handleGroupManifestSchema;
|
|
@@ -49,11 +55,15 @@ exports.handleManifestSchema = __webpack_exports__.handleManifestSchema;
|
|
|
49
55
|
exports.handlePositionSchema = __webpack_exports__.handlePositionSchema;
|
|
50
56
|
exports.handleTypeDisplaySchema = __webpack_exports__.handleTypeDisplaySchema;
|
|
51
57
|
exports.handleTypeSchema = __webpack_exports__.handleTypeSchema;
|
|
58
|
+
exports.isOutlineDrawnShape = __webpack_exports__.isOutlineDrawnShape;
|
|
59
|
+
exports.isWideNodeShape = __webpack_exports__.isWideNodeShape;
|
|
52
60
|
exports.nodeDisplayManifestSchema = __webpack_exports__.nodeDisplayManifestSchema;
|
|
53
61
|
exports.nodeManifestSchema = __webpack_exports__.nodeManifestSchema;
|
|
54
62
|
exports.nodeRuntimeConstraintsManifestSchema = __webpack_exports__.nodeRuntimeConstraintsManifestSchema;
|
|
55
63
|
exports.nodeShapeSchema = __webpack_exports__.nodeShapeSchema;
|
|
56
64
|
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
65
|
+
"OUTLINE_DRAWN_NODE_SHAPES",
|
|
66
|
+
"WIDE_NODE_SHAPES",
|
|
57
67
|
"categoryManifestSchema",
|
|
58
68
|
"handleBoundarySchema",
|
|
59
69
|
"handleGroupManifestSchema",
|
|
@@ -62,6 +72,8 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
|
62
72
|
"handlePositionSchema",
|
|
63
73
|
"handleTypeDisplaySchema",
|
|
64
74
|
"handleTypeSchema",
|
|
75
|
+
"isOutlineDrawnShape",
|
|
76
|
+
"isWideNodeShape",
|
|
65
77
|
"nodeDisplayManifestSchema",
|
|
66
78
|
"nodeManifestSchema",
|
|
67
79
|
"nodeRuntimeConstraintsManifestSchema",
|
|
@@ -5,6 +5,6 @@ export type { HandleBoundary, HandleCategory, HandleGroupManifest, HandleGroupOv
|
|
|
5
5
|
export { handleBoundarySchema, handleGroupManifestSchema, handleGroupOverrideSchema, handleManifestSchema, handlePositionSchema, handleTypeDisplaySchema, handleTypeSchema, } from './handle';
|
|
6
6
|
export type { NodeDisplayManifest, NodeManifest, RuntimeConstraints, } from './node-manifest';
|
|
7
7
|
export { nodeDisplayManifestSchema, nodeManifestSchema, nodeRuntimeConstraintsManifestSchema, } from './node-manifest';
|
|
8
|
-
export type { NodeShape } from './shape';
|
|
9
|
-
export { nodeShapeSchema } from './shape';
|
|
8
|
+
export type { NodeShape, OutlineDrawnNodeShape, WideNodeShape } from './shape';
|
|
9
|
+
export { isOutlineDrawnShape, isWideNodeShape, nodeShapeSchema, OUTLINE_DRAWN_NODE_SHAPES, WIDE_NODE_SHAPES, } from './shape';
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/canvas/schema/node-definition/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,YAAY,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAExE,YAAY,EACV,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,cAAc,EACd,UAAU,GACX,MAAM,UAAU,CAAC;AAElB,OAAO,EACL,oBAAoB,EACpB,yBAAyB,EACzB,yBAAyB,EACzB,oBAAoB,EACpB,oBAAoB,EACpB,uBAAuB,EACvB,gBAAgB,GACjB,MAAM,UAAU,CAAC;AAClB,YAAY,EACV,mBAAmB,EACnB,YAAY,EACZ,kBAAkB,GACnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,yBAAyB,EACzB,kBAAkB,EAClB,oCAAoC,GACrC,MAAM,iBAAiB,CAAC;AACzB,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/canvas/schema/node-definition/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,YAAY,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAExE,YAAY,EACV,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,cAAc,EACd,UAAU,GACX,MAAM,UAAU,CAAC;AAElB,OAAO,EACL,oBAAoB,EACpB,yBAAyB,EACzB,yBAAyB,EACzB,oBAAoB,EACpB,oBAAoB,EACpB,uBAAuB,EACvB,gBAAgB,GACjB,MAAM,UAAU,CAAC;AAClB,YAAY,EACV,mBAAmB,EACnB,YAAY,EACZ,kBAAkB,GACnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,yBAAyB,EACzB,kBAAkB,EAClB,oCAAoC,GACrC,MAAM,iBAAiB,CAAC;AACzB,YAAY,EAAE,SAAS,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC/E,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,eAAe,EACf,yBAAyB,EACzB,gBAAgB,GACjB,MAAM,SAAS,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { categoryManifestSchema } from "./category-manifest.js";
|
|
2
2
|
import { handleBoundarySchema, handleGroupManifestSchema, handleGroupOverrideSchema, handleManifestSchema, handlePositionSchema, handleTypeDisplaySchema, handleTypeSchema } from "./handle.js";
|
|
3
3
|
import { nodeDisplayManifestSchema, nodeManifestSchema, nodeRuntimeConstraintsManifestSchema } from "./node-manifest.js";
|
|
4
|
-
import { nodeShapeSchema } from "./shape.js";
|
|
5
|
-
export { categoryManifestSchema, handleBoundarySchema, handleGroupManifestSchema, handleGroupOverrideSchema, handleManifestSchema, handlePositionSchema, handleTypeDisplaySchema, handleTypeSchema, nodeDisplayManifestSchema, nodeManifestSchema, nodeRuntimeConstraintsManifestSchema, nodeShapeSchema };
|
|
4
|
+
import { OUTLINE_DRAWN_NODE_SHAPES, WIDE_NODE_SHAPES, isOutlineDrawnShape, isWideNodeShape, nodeShapeSchema } from "./shape.js";
|
|
5
|
+
export { OUTLINE_DRAWN_NODE_SHAPES, WIDE_NODE_SHAPES, categoryManifestSchema, handleBoundarySchema, handleGroupManifestSchema, handleGroupOverrideSchema, handleManifestSchema, handlePositionSchema, handleTypeDisplaySchema, handleTypeSchema, isOutlineDrawnShape, isWideNodeShape, nodeDisplayManifestSchema, nodeManifestSchema, nodeRuntimeConstraintsManifestSchema, nodeShapeSchema };
|
|
@@ -9,10 +9,13 @@ export declare const nodeDisplayManifestSchema: z.ZodObject<{
|
|
|
9
9
|
description: z.ZodOptional<z.ZodString>;
|
|
10
10
|
icon: z.ZodOptional<z.ZodString>;
|
|
11
11
|
shape: z.ZodOptional<z.ZodEnum<{
|
|
12
|
+
document: "document";
|
|
12
13
|
square: "square";
|
|
13
14
|
circle: "circle";
|
|
14
15
|
container: "container";
|
|
15
16
|
rectangle: "rectangle";
|
|
17
|
+
pill: "pill";
|
|
18
|
+
clipped: "clipped";
|
|
16
19
|
}>>;
|
|
17
20
|
color: z.ZodOptional<z.ZodString>;
|
|
18
21
|
background: z.ZodOptional<z.ZodString>;
|
|
@@ -39,10 +42,13 @@ export declare const nodeManifestSchema: z.ZodObject<{
|
|
|
39
42
|
description: z.ZodOptional<z.ZodString>;
|
|
40
43
|
icon: z.ZodOptional<z.ZodString>;
|
|
41
44
|
shape: z.ZodOptional<z.ZodEnum<{
|
|
45
|
+
document: "document";
|
|
42
46
|
square: "square";
|
|
43
47
|
circle: "circle";
|
|
44
48
|
container: "container";
|
|
45
49
|
rectangle: "rectangle";
|
|
50
|
+
pill: "pill";
|
|
51
|
+
clipped: "clipped";
|
|
46
52
|
}>>;
|
|
47
53
|
color: z.ZodOptional<z.ZodString>;
|
|
48
54
|
background: z.ZodOptional<z.ZodString>;
|
|
@@ -138,10 +144,13 @@ export declare const nodeManifestSchema: z.ZodObject<{
|
|
|
138
144
|
hideOnExecution: z.ZodOptional<z.ZodBoolean>;
|
|
139
145
|
nodeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
140
146
|
shapes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
147
|
+
document: "document";
|
|
141
148
|
square: "square";
|
|
142
149
|
circle: "circle";
|
|
143
150
|
container: "container";
|
|
144
151
|
rectangle: "rectangle";
|
|
152
|
+
pill: "pill";
|
|
153
|
+
clipped: "clipped";
|
|
145
154
|
}>>>;
|
|
146
155
|
handles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
147
156
|
handleType: z.ZodEnum<{
|
|
@@ -166,10 +175,13 @@ export declare const nodeManifestSchema: z.ZodObject<{
|
|
|
166
175
|
hideOnExecution: z.ZodOptional<z.ZodBoolean>;
|
|
167
176
|
nodeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
168
177
|
shapes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
178
|
+
document: "document";
|
|
169
179
|
square: "square";
|
|
170
180
|
circle: "circle";
|
|
171
181
|
container: "container";
|
|
172
182
|
rectangle: "rectangle";
|
|
183
|
+
pill: "pill";
|
|
184
|
+
clipped: "clipped";
|
|
173
185
|
}>>>;
|
|
174
186
|
handles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
175
187
|
handleType: z.ZodEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-manifest.d.ts","sourceRoot":"","sources":["../../../../src/canvas/schema/node-definition/node-manifest.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,uBAAuB;;iBAGlC,CAAC;AAKH,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"node-manifest.d.ts","sourceRoot":"","sources":["../../../../src/canvas/schema/node-definition/node-manifest.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,uBAAuB;;iBAGlC,CAAC;AAKH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;iBAqCpC,CAAC;AAQH,eAAO,MAAM,oCAAoC;;;;mBAG/C,CAAC;AAKH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwE7B,CAAC;AAGH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC"}
|
|
@@ -24,17 +24,44 @@ var __webpack_require__ = {};
|
|
|
24
24
|
var __webpack_exports__ = {};
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
-
|
|
27
|
+
OUTLINE_DRAWN_NODE_SHAPES: ()=>OUTLINE_DRAWN_NODE_SHAPES,
|
|
28
|
+
nodeShapeSchema: ()=>nodeShapeSchema,
|
|
29
|
+
isWideNodeShape: ()=>isWideNodeShape,
|
|
30
|
+
isOutlineDrawnShape: ()=>isOutlineDrawnShape,
|
|
31
|
+
WIDE_NODE_SHAPES: ()=>WIDE_NODE_SHAPES
|
|
28
32
|
});
|
|
29
33
|
const external_zod_namespaceObject = require("zod");
|
|
30
34
|
const nodeShapeSchema = external_zod_namespaceObject.z["enum"]([
|
|
31
35
|
'circle',
|
|
32
36
|
'square',
|
|
33
37
|
'rectangle',
|
|
34
|
-
'container'
|
|
38
|
+
'container',
|
|
39
|
+
'pill',
|
|
40
|
+
'clipped',
|
|
41
|
+
'document'
|
|
35
42
|
]);
|
|
43
|
+
const WIDE_NODE_SHAPES = [
|
|
44
|
+
'rectangle',
|
|
45
|
+
'pill',
|
|
46
|
+
'clipped',
|
|
47
|
+
'document'
|
|
48
|
+
];
|
|
49
|
+
const isWideNodeShape = (shape)=>!!shape && WIDE_NODE_SHAPES.includes(shape);
|
|
50
|
+
const OUTLINE_DRAWN_NODE_SHAPES = [
|
|
51
|
+
'clipped',
|
|
52
|
+
'document'
|
|
53
|
+
];
|
|
54
|
+
const isOutlineDrawnShape = (shape)=>!!shape && OUTLINE_DRAWN_NODE_SHAPES.includes(shape);
|
|
55
|
+
exports.OUTLINE_DRAWN_NODE_SHAPES = __webpack_exports__.OUTLINE_DRAWN_NODE_SHAPES;
|
|
56
|
+
exports.WIDE_NODE_SHAPES = __webpack_exports__.WIDE_NODE_SHAPES;
|
|
57
|
+
exports.isOutlineDrawnShape = __webpack_exports__.isOutlineDrawnShape;
|
|
58
|
+
exports.isWideNodeShape = __webpack_exports__.isWideNodeShape;
|
|
36
59
|
exports.nodeShapeSchema = __webpack_exports__.nodeShapeSchema;
|
|
37
60
|
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
61
|
+
"OUTLINE_DRAWN_NODE_SHAPES",
|
|
62
|
+
"WIDE_NODE_SHAPES",
|
|
63
|
+
"isOutlineDrawnShape",
|
|
64
|
+
"isWideNodeShape",
|
|
38
65
|
"nodeShapeSchema"
|
|
39
66
|
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
40
67
|
Object.defineProperty(exports, '__esModule', {
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const nodeShapeSchema: z.ZodEnum<{
|
|
3
|
+
document: "document";
|
|
3
4
|
square: "square";
|
|
4
5
|
circle: "circle";
|
|
5
6
|
container: "container";
|
|
6
7
|
rectangle: "rectangle";
|
|
8
|
+
pill: "pill";
|
|
9
|
+
clipped: "clipped";
|
|
7
10
|
}>;
|
|
8
11
|
export type NodeShape = z.infer<typeof nodeShapeSchema>;
|
|
12
|
+
export declare const WIDE_NODE_SHAPES: readonly ["rectangle", "pill", "clipped", "document"];
|
|
13
|
+
export type WideNodeShape = (typeof WIDE_NODE_SHAPES)[number];
|
|
14
|
+
export declare const isWideNodeShape: (shape?: NodeShape) => shape is WideNodeShape;
|
|
15
|
+
export declare const OUTLINE_DRAWN_NODE_SHAPES: readonly ["clipped", "document"];
|
|
16
|
+
export type OutlineDrawnNodeShape = (typeof OUTLINE_DRAWN_NODE_SHAPES)[number];
|
|
17
|
+
export declare const isOutlineDrawnShape: (shape?: NodeShape) => shape is OutlineDrawnNodeShape;
|
|
9
18
|
//# sourceMappingURL=shape.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shape.d.ts","sourceRoot":"","sources":["../../../../src/canvas/schema/node-definition/shape.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"shape.d.ts","sourceRoot":"","sources":["../../../../src/canvas/schema/node-definition/shape.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe;;;;;;;;EAU1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAGxD,eAAO,MAAM,gBAAgB,uDAAwD,CAAC;AAEtF,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE9D,eAAO,MAAM,eAAe,GAAI,QAAQ,SAAS,KAAG,KAAK,IAAI,aACO,CAAC;AAGrE,eAAO,MAAM,yBAAyB,kCAAmC,CAAC;AAE1E,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,yBAAyB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE/E,eAAO,MAAM,mBAAmB,GAAI,QAAQ,SAAS,KAAG,KAAK,IAAI,qBACY,CAAC"}
|
|
@@ -3,6 +3,21 @@ const nodeShapeSchema = z["enum"]([
|
|
|
3
3
|
'circle',
|
|
4
4
|
'square',
|
|
5
5
|
'rectangle',
|
|
6
|
-
'container'
|
|
6
|
+
'container',
|
|
7
|
+
'pill',
|
|
8
|
+
'clipped',
|
|
9
|
+
'document'
|
|
7
10
|
]);
|
|
8
|
-
|
|
11
|
+
const WIDE_NODE_SHAPES = [
|
|
12
|
+
'rectangle',
|
|
13
|
+
'pill',
|
|
14
|
+
'clipped',
|
|
15
|
+
'document'
|
|
16
|
+
];
|
|
17
|
+
const isWideNodeShape = (shape)=>!!shape && WIDE_NODE_SHAPES.includes(shape);
|
|
18
|
+
const OUTLINE_DRAWN_NODE_SHAPES = [
|
|
19
|
+
'clipped',
|
|
20
|
+
'document'
|
|
21
|
+
];
|
|
22
|
+
const isOutlineDrawnShape = (shape)=>!!shape && OUTLINE_DRAWN_NODE_SHAPES.includes(shape);
|
|
23
|
+
export { OUTLINE_DRAWN_NODE_SHAPES, WIDE_NODE_SHAPES, isOutlineDrawnShape, isWideNodeShape, nodeShapeSchema };
|
|
@@ -7,10 +7,13 @@ export declare const displayConfigSchema: z.ZodObject<{
|
|
|
7
7
|
canvasLabel: z.ZodOptional<z.ZodString>;
|
|
8
8
|
subLabel: z.ZodOptional<z.ZodAny>;
|
|
9
9
|
shape: z.ZodOptional<z.ZodEnum<{
|
|
10
|
+
document: "document";
|
|
10
11
|
square: "square";
|
|
11
12
|
circle: "circle";
|
|
12
13
|
container: "container";
|
|
13
14
|
rectangle: "rectangle";
|
|
15
|
+
pill: "pill";
|
|
16
|
+
clipped: "clipped";
|
|
14
17
|
}>>;
|
|
15
18
|
background: z.ZodOptional<z.ZodString>;
|
|
16
19
|
iconBackground: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/canvas/schema/node-instance/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,QAAQ,aAAoB,CAAC;AAK1C,eAAO,MAAM,aAAa,aAEqD,CAAC;AAKhF,eAAO,MAAM,oBAAoB,aAK9B,CAAC;AAKJ,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/canvas/schema/node-instance/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,QAAQ,aAAoB,CAAC;AAK1C,eAAO,MAAM,aAAa,aAEqD,CAAC;AAKhF,eAAO,MAAM,oBAAoB,aAK9B,CAAC;AAKJ,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;kCAyBR,CAAC;AAGzB,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAClD,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAC5D,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAC1E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -30,10 +30,13 @@ export declare const nodeSchema: z.ZodObject<{
|
|
|
30
30
|
canvasLabel: z.ZodOptional<z.ZodString>;
|
|
31
31
|
subLabel: z.ZodOptional<z.ZodAny>;
|
|
32
32
|
shape: z.ZodOptional<z.ZodEnum<{
|
|
33
|
+
document: "document";
|
|
33
34
|
square: "square";
|
|
34
35
|
circle: "circle";
|
|
35
36
|
container: "container";
|
|
36
37
|
rectangle: "rectangle";
|
|
38
|
+
pill: "pill";
|
|
39
|
+
clipped: "clipped";
|
|
37
40
|
}>>;
|
|
38
41
|
background: z.ZodOptional<z.ZodString>;
|
|
39
42
|
iconBackground: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../../src/canvas/schema/node-instance/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,QAAQ;;;;;;;;;;kCAeG,CAAC;AAKzB,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../../src/canvas/schema/node-instance/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,QAAQ;;;;;;;;;;kCAeG,CAAC;AAKzB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiCrB,CAAC;AAGH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAExD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
|
|
@@ -9,10 +9,13 @@ export declare const toolbarActionSchema: z.ZodObject<{
|
|
|
9
9
|
hideOnExecution: z.ZodOptional<z.ZodBoolean>;
|
|
10
10
|
nodeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11
11
|
shapes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
12
|
+
document: "document";
|
|
12
13
|
square: "square";
|
|
13
14
|
circle: "circle";
|
|
14
15
|
container: "container";
|
|
15
16
|
rectangle: "rectangle";
|
|
17
|
+
pill: "pill";
|
|
18
|
+
clipped: "clipped";
|
|
16
19
|
}>>>;
|
|
17
20
|
handles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18
21
|
handleType: z.ZodEnum<{
|
|
@@ -38,10 +41,13 @@ export declare const modeToolbarConfigSchema: z.ZodObject<{
|
|
|
38
41
|
hideOnExecution: z.ZodOptional<z.ZodBoolean>;
|
|
39
42
|
nodeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40
43
|
shapes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
44
|
+
document: "document";
|
|
41
45
|
square: "square";
|
|
42
46
|
circle: "circle";
|
|
43
47
|
container: "container";
|
|
44
48
|
rectangle: "rectangle";
|
|
49
|
+
pill: "pill";
|
|
50
|
+
clipped: "clipped";
|
|
45
51
|
}>>>;
|
|
46
52
|
handles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
47
53
|
handleType: z.ZodEnum<{
|
|
@@ -66,10 +72,13 @@ export declare const modeToolbarConfigSchema: z.ZodObject<{
|
|
|
66
72
|
hideOnExecution: z.ZodOptional<z.ZodBoolean>;
|
|
67
73
|
nodeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
68
74
|
shapes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
75
|
+
document: "document";
|
|
69
76
|
square: "square";
|
|
70
77
|
circle: "circle";
|
|
71
78
|
container: "container";
|
|
72
79
|
rectangle: "rectangle";
|
|
80
|
+
pill: "pill";
|
|
81
|
+
clipped: "clipped";
|
|
73
82
|
}>>>;
|
|
74
83
|
handles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
75
84
|
handleType: z.ZodEnum<{
|
|
@@ -96,10 +105,13 @@ export declare const toolbarConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodO
|
|
|
96
105
|
hideOnExecution: z.ZodOptional<z.ZodBoolean>;
|
|
97
106
|
nodeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
98
107
|
shapes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
108
|
+
document: "document";
|
|
99
109
|
square: "square";
|
|
100
110
|
circle: "circle";
|
|
101
111
|
container: "container";
|
|
102
112
|
rectangle: "rectangle";
|
|
113
|
+
pill: "pill";
|
|
114
|
+
clipped: "clipped";
|
|
103
115
|
}>>>;
|
|
104
116
|
handles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
105
117
|
handleType: z.ZodEnum<{
|
|
@@ -124,10 +136,13 @@ export declare const toolbarConfigurationSchema: z.ZodRecord<z.ZodString, z.ZodO
|
|
|
124
136
|
hideOnExecution: z.ZodOptional<z.ZodBoolean>;
|
|
125
137
|
nodeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
126
138
|
shapes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
139
|
+
document: "document";
|
|
127
140
|
square: "square";
|
|
128
141
|
circle: "circle";
|
|
129
142
|
container: "container";
|
|
130
143
|
rectangle: "rectangle";
|
|
144
|
+
pill: "pill";
|
|
145
|
+
clipped: "clipped";
|
|
131
146
|
}>>>;
|
|
132
147
|
handles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
133
148
|
handleType: z.ZodEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolbar.d.ts","sourceRoot":"","sources":["../../../src/canvas/schema/toolbar.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"toolbar.d.ts","sourceRoot":"","sources":["../../../src/canvas/schema/toolbar.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuC9B,CAAC;AAKH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMlC,CAAC;AAKH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAgD,CAAC;AAGxF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACtE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAK9E,MAAM,WAAW,kBAAkB;IAEjC,QAAQ,EAAE,MAAM,CAAC;IAEjB,MAAM,EAAE,MAAM,CAAC;IAEf,IAAI,EAAE,MAAM,CAAC;IAEb,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAKD,MAAM,MAAM,oBAAoB,GAAG,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC"}
|
|
@@ -23,7 +23,7 @@ export declare const defaultWorkflowManifest: {
|
|
|
23
23
|
canvasLabel?: string | undefined;
|
|
24
24
|
description?: string | undefined;
|
|
25
25
|
icon?: string | undefined;
|
|
26
|
-
shape?: "square" | "circle" | "container" | "rectangle" | undefined;
|
|
26
|
+
shape?: "document" | "square" | "circle" | "container" | "rectangle" | "pill" | "clipped" | undefined;
|
|
27
27
|
color?: string | undefined;
|
|
28
28
|
background?: string | undefined;
|
|
29
29
|
iconBackground?: string | undefined;
|
|
@@ -96,7 +96,7 @@ export declare const defaultWorkflowManifest: {
|
|
|
96
96
|
requiresPermissions?: string[] | undefined;
|
|
97
97
|
hideOnExecution?: boolean | undefined;
|
|
98
98
|
nodeTypes?: string[] | undefined;
|
|
99
|
-
shapes?: ("square" | "circle" | "container" | "rectangle")[] | undefined;
|
|
99
|
+
shapes?: ("document" | "square" | "circle" | "container" | "rectangle" | "pill" | "clipped")[] | undefined;
|
|
100
100
|
handles?: {
|
|
101
101
|
handleType: "input" | "output" | "artifact";
|
|
102
102
|
type?: "target" | "source" | undefined;
|
|
@@ -112,7 +112,7 @@ export declare const defaultWorkflowManifest: {
|
|
|
112
112
|
requiresPermissions?: string[] | undefined;
|
|
113
113
|
hideOnExecution?: boolean | undefined;
|
|
114
114
|
nodeTypes?: string[] | undefined;
|
|
115
|
-
shapes?: ("square" | "circle" | "container" | "rectangle")[] | undefined;
|
|
115
|
+
shapes?: ("document" | "square" | "circle" | "container" | "rectangle" | "pill" | "clipped")[] | undefined;
|
|
116
116
|
handles?: {
|
|
117
117
|
handleType: "input" | "output" | "artifact";
|
|
118
118
|
type?: "target" | "source" | undefined;
|