@uipath/apollo-react 3.63.1 → 3.64.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.
Files changed (28) hide show
  1. package/dist/canvas/components/StageNode/StageNode.cjs +49 -0
  2. package/dist/canvas/components/StageNode/StageNode.d.ts.map +1 -1
  3. package/dist/canvas/components/StageNode/StageNode.js +51 -2
  4. package/dist/canvas/components/StageNode/StageNode.stories.cjs +205 -1
  5. package/dist/canvas/components/StageNode/StageNode.stories.d.ts +1 -0
  6. package/dist/canvas/components/StageNode/StageNode.stories.d.ts.map +1 -1
  7. package/dist/canvas/components/StageNode/StageNode.stories.js +202 -1
  8. package/dist/canvas/components/StageNode/StageNode.styles.cjs +35 -2
  9. package/dist/canvas/components/StageNode/StageNode.styles.d.ts +8 -0
  10. package/dist/canvas/components/StageNode/StageNode.styles.d.ts.map +1 -1
  11. package/dist/canvas/components/StageNode/StageNode.styles.js +28 -1
  12. package/dist/canvas/components/StageNode/StageNode.types.cjs +26 -1
  13. package/dist/canvas/components/StageNode/StageNode.types.d.ts +14 -0
  14. package/dist/canvas/components/StageNode/StageNode.types.d.ts.map +1 -1
  15. package/dist/canvas/components/StageNode/StageNode.types.js +9 -0
  16. package/dist/canvas/icons/ExitConditionIcon.cjs +49 -0
  17. package/dist/canvas/icons/ExitConditionIcon.d.ts +5 -0
  18. package/dist/canvas/icons/ExitConditionIcon.d.ts.map +1 -0
  19. package/dist/canvas/icons/ExitConditionIcon.js +15 -0
  20. package/dist/canvas/icons/ReturnToOriginIcon.cjs +50 -0
  21. package/dist/canvas/icons/ReturnToOriginIcon.d.ts +5 -0
  22. package/dist/canvas/icons/ReturnToOriginIcon.d.ts.map +1 -0
  23. package/dist/canvas/icons/ReturnToOriginIcon.js +16 -0
  24. package/dist/canvas/icons/index.cjs +8 -0
  25. package/dist/canvas/icons/index.d.ts +2 -0
  26. package/dist/canvas/icons/index.d.ts.map +1 -1
  27. package/dist/canvas/icons/index.js +3 -1
  28. package/package.json +2 -2
@@ -42,10 +42,34 @@ const external_FloatingCanvasPanel_index_cjs_namespaceObject = require("../Float
42
42
  const external_NodeContextMenu_index_cjs_namespaceObject = require("../NodeContextMenu/index.cjs");
43
43
  const hooks_index_cjs_namespaceObject = require("../NodePropertiesPanel/hooks/index.cjs");
44
44
  const external_Toolbox_index_cjs_namespaceObject = require("../Toolbox/index.cjs");
45
+ const external_icons_index_cjs_namespaceObject = require("../../icons/index.cjs");
45
46
  const external_DraggableTask_cjs_namespaceObject = require("./DraggableTask.cjs");
46
47
  const external_StageNode_styles_cjs_namespaceObject = require("./StageNode.styles.cjs");
48
+ const external_StageNode_types_cjs_namespaceObject = require("./StageNode.types.cjs");
47
49
  const external_StageNode_utils_cjs_namespaceObject = require("./StageNode.utils.cjs");
48
50
  const external_StageNodeTaskUtilities_cjs_namespaceObject = require("./StageNodeTaskUtilities.cjs");
51
+ const CHIP_ICONS = {
52
+ [external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.Entry]: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_icons_index_cjs_namespaceObject.EntryConditionIcon, {
53
+ w: apollo_core_namespaceObject.Icon.IconXs,
54
+ h: apollo_core_namespaceObject.Icon.IconXs
55
+ }),
56
+ [external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.Exit]: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_icons_index_cjs_namespaceObject.ExitConditionIcon, {
57
+ w: apollo_core_namespaceObject.Icon.IconXs,
58
+ h: apollo_core_namespaceObject.Icon.IconXs
59
+ }),
60
+ [external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.ReturnToOrigin]: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_icons_index_cjs_namespaceObject.ReturnToOriginIcon, {
61
+ w: apollo_core_namespaceObject.Icon.IconXs,
62
+ h: apollo_core_namespaceObject.Icon.IconXs
63
+ }),
64
+ [external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.CaseExit]: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_material_index_cjs_namespaceObject.ApIcon, {
65
+ name: "close",
66
+ size: apollo_core_namespaceObject.Icon.IconXs
67
+ }),
68
+ [external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.CaseCompletion]: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_material_index_cjs_namespaceObject.ApIcon, {
69
+ name: "check-mark",
70
+ size: apollo_core_namespaceObject.Icon.IconXs
71
+ })
72
+ };
49
73
  const StageNodeComponent = (props)=>{
50
74
  const { dragging, selected, id, width, execution, stageDetails, addTaskLabel = 'Add task', addTaskLoading = false, replaceTaskLabel = 'Replace task', taskOptions = [], menuItems, pendingReplaceTask, onStageClick, onTaskAdd, onAddTaskFromToolbox, onTaskToolboxSearch, onTaskClick, onTaskGroupModification, onStageTitleChange, onTaskReorder, onReplaceTaskFromToolbox, onTaskPlay } = props;
51
75
  const taskWidth = width ? width - external_StageNode_styles_cjs_namespaceObject.STAGE_CONTENT_INSET : void 0;
@@ -459,6 +483,31 @@ const StageNodeComponent = (props)=>{
459
483
  variant: apollo_core_namespaceObject.FontVariantToken.fontSizeS,
460
484
  color: "var(--uix-canvas-foreground-de-emp)",
461
485
  children: stageDuration
486
+ }),
487
+ stageDetails.headerChips && stageDetails.headerChips.length > 0 && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_StageNode_styles_cjs_namespaceObject.StageHeaderChipsRow, {
488
+ children: stageDetails.headerChips.map((chip)=>{
489
+ const button = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(external_StageNode_styles_cjs_namespaceObject.StageChip, {
490
+ type: "button",
491
+ "aria-label": 'string' == typeof chip.tooltip ? chip.tooltip : chip.type,
492
+ onClick: (e)=>{
493
+ e.stopPropagation();
494
+ chip.onClick?.();
495
+ },
496
+ children: [
497
+ CHIP_ICONS[chip.type],
498
+ void 0 !== chip.count && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_material_index_cjs_namespaceObject.ApTypography, {
499
+ variant: apollo_core_namespaceObject.FontVariantToken.fontSizeS,
500
+ children: chip.count
501
+ })
502
+ ]
503
+ }, chip.type);
504
+ if (chip.tooltip) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_material_index_cjs_namespaceObject.ApTooltip, {
505
+ placement: "bottom",
506
+ content: chip.tooltip,
507
+ children: button
508
+ }, chip.type);
509
+ return button;
510
+ })
462
511
  })
463
512
  ]
464
513
  })
@@ -1 +1 @@
1
- {"version":3,"file":"StageNode.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/StageNode/StageNode.tsx"],"names":[],"mappings":"AAqDA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AA2pBxD,eAAO,MAAM,SAAS,8CAjpBa,cAAc,6CAipBA,CAAC"}
1
+ {"version":3,"file":"StageNode.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/StageNode/StageNode.tsx"],"names":[],"mappings":"AAyDA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAmsBxD,eAAO,MAAM,SAAS,8CAjrBa,cAAc,6CAirBA,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { DndContext, DragOverlay, KeyboardSensor, PointerSensor, closestCenter, useSensor, useSensors } from "@dnd-kit/core";
3
3
  import { SortableContext, sortableKeyboardCoordinates, verticalListSortingStrategy } from "@dnd-kit/sortable";
4
- import { FontVariantToken, Padding, Spacing } from "@uipath/apollo-core";
4
+ import { FontVariantToken, Icon, Padding, Spacing } from "@uipath/apollo-core";
5
5
  import { Column, Row } from "../../layouts/index.js";
6
6
  import { Position, useStore, useViewport } from "../../xyflow/react.js";
7
7
  import { ApIcon, ApIconButton, ApLink, ApTooltip, ApTypography } from "../../../material/index.js";
@@ -14,10 +14,34 @@ import { FloatingCanvasPanel } from "../FloatingCanvasPanel/index.js";
14
14
  import { NodeContextMenu } from "../NodeContextMenu/index.js";
15
15
  import { useNodeSelection } from "../NodePropertiesPanel/hooks/index.js";
16
16
  import { Toolbox } from "../Toolbox/index.js";
17
+ import { EntryConditionIcon, ExitConditionIcon, ReturnToOriginIcon } from "../../icons/index.js";
17
18
  import { DraggableTask, TaskContent } from "./DraggableTask.js";
18
- import { INDENTATION_WIDTH, STAGE_CONTENT_INSET, StageContainer, StageContent, StageHeader, StageParallelBracket, StageParallelLabel, StageTask, StageTaskGroup, StageTaskList, StageTitleContainer, StageTitleInput } from "./StageNode.styles.js";
19
+ import { INDENTATION_WIDTH, STAGE_CONTENT_INSET, StageChip, StageContainer, StageContent, StageHeader, StageHeaderChipsRow, StageParallelBracket, StageParallelLabel, StageTask, StageTaskGroup, StageTaskList, StageTitleContainer, StageTitleInput } from "./StageNode.styles.js";
20
+ import { StageHeaderChipType } from "./StageNode.types.js";
19
21
  import { flattenTasks, getProjection, reorderTasks } from "./StageNode.utils.js";
20
22
  import { getContextMenuItems, getDivider, getMenuItem } from "./StageNodeTaskUtilities.js";
23
+ const CHIP_ICONS = {
24
+ [StageHeaderChipType.Entry]: /*#__PURE__*/ jsx(EntryConditionIcon, {
25
+ w: Icon.IconXs,
26
+ h: Icon.IconXs
27
+ }),
28
+ [StageHeaderChipType.Exit]: /*#__PURE__*/ jsx(ExitConditionIcon, {
29
+ w: Icon.IconXs,
30
+ h: Icon.IconXs
31
+ }),
32
+ [StageHeaderChipType.ReturnToOrigin]: /*#__PURE__*/ jsx(ReturnToOriginIcon, {
33
+ w: Icon.IconXs,
34
+ h: Icon.IconXs
35
+ }),
36
+ [StageHeaderChipType.CaseExit]: /*#__PURE__*/ jsx(ApIcon, {
37
+ name: "close",
38
+ size: Icon.IconXs
39
+ }),
40
+ [StageHeaderChipType.CaseCompletion]: /*#__PURE__*/ jsx(ApIcon, {
41
+ name: "check-mark",
42
+ size: Icon.IconXs
43
+ })
44
+ };
21
45
  const StageNodeComponent = (props)=>{
22
46
  const { dragging, selected, id, width, execution, stageDetails, addTaskLabel = 'Add task', addTaskLoading = false, replaceTaskLabel = 'Replace task', taskOptions = [], menuItems, pendingReplaceTask, onStageClick, onTaskAdd, onAddTaskFromToolbox, onTaskToolboxSearch, onTaskClick, onTaskGroupModification, onStageTitleChange, onTaskReorder, onReplaceTaskFromToolbox, onTaskPlay } = props;
23
47
  const taskWidth = width ? width - STAGE_CONTENT_INSET : void 0;
@@ -431,6 +455,31 @@ const StageNodeComponent = (props)=>{
431
455
  variant: FontVariantToken.fontSizeS,
432
456
  color: "var(--uix-canvas-foreground-de-emp)",
433
457
  children: stageDuration
458
+ }),
459
+ stageDetails.headerChips && stageDetails.headerChips.length > 0 && /*#__PURE__*/ jsx(StageHeaderChipsRow, {
460
+ children: stageDetails.headerChips.map((chip)=>{
461
+ const button = /*#__PURE__*/ jsxs(StageChip, {
462
+ type: "button",
463
+ "aria-label": 'string' == typeof chip.tooltip ? chip.tooltip : chip.type,
464
+ onClick: (e)=>{
465
+ e.stopPropagation();
466
+ chip.onClick?.();
467
+ },
468
+ children: [
469
+ CHIP_ICONS[chip.type],
470
+ void 0 !== chip.count && /*#__PURE__*/ jsx(ApTypography, {
471
+ variant: FontVariantToken.fontSizeS,
472
+ children: chip.count
473
+ })
474
+ ]
475
+ }, chip.type);
476
+ if (chip.tooltip) return /*#__PURE__*/ jsx(ApTooltip, {
477
+ placement: "bottom",
478
+ content: chip.tooltip,
479
+ children: button
480
+ }, chip.type);
481
+ return button;
482
+ })
434
483
  })
435
484
  ]
436
485
  })
@@ -25,8 +25,9 @@ var __webpack_exports__ = {};
25
25
  __webpack_require__.r(__webpack_exports__);
26
26
  __webpack_require__.d(__webpack_exports__, {
27
27
  DraggableTaskReordering: ()=>DraggableTaskReordering,
28
- default: ()=>StageNode_stories,
28
+ WithRulesTags: ()=>WithRulesTags,
29
29
  LoanProcessingWorkflow: ()=>LoanProcessingWorkflow,
30
+ default: ()=>StageNode_stories,
30
31
  AddTaskLoading: ()=>AddTaskLoading,
31
32
  AdhocTasks: ()=>AdhocTasks,
32
33
  InteractiveTaskManagement: ()=>InteractiveTaskManagement,
@@ -48,6 +49,7 @@ const external_TaskIcon_index_cjs_namespaceObject = require("../TaskIcon/index.c
48
49
  const external_StageConnectionEdge_cjs_namespaceObject = require("./StageConnectionEdge.cjs");
49
50
  const external_StageEdge_cjs_namespaceObject = require("./StageEdge.cjs");
50
51
  const external_StageNode_cjs_namespaceObject = require("./StageNode.cjs");
52
+ const external_StageNode_types_cjs_namespaceObject = require("./StageNode.types.cjs");
51
53
  const meta = {
52
54
  title: 'Canvas/StageNode',
53
55
  component: external_StageNode_cjs_namespaceObject.StageNode,
@@ -2237,6 +2239,206 @@ const AdhocTasks = {
2237
2239
  },
2238
2240
  args: {}
2239
2241
  };
2242
+ const WithRulesTags = {
2243
+ name: 'With Rules & Tags',
2244
+ parameters: {
2245
+ nodes: [
2246
+ {
2247
+ id: '1',
2248
+ type: 'stage',
2249
+ position: {
2250
+ x: 48,
2251
+ y: 96
2252
+ },
2253
+ width: 304,
2254
+ data: {
2255
+ stageDetails: {
2256
+ label: 'Application',
2257
+ tasks: [
2258
+ [
2259
+ {
2260
+ id: 't1',
2261
+ label: 'Verify applicant identity',
2262
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(VerificationIcon, {})
2263
+ }
2264
+ ],
2265
+ [
2266
+ {
2267
+ id: 't2',
2268
+ label: 'Pull credit report',
2269
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(DocumentIcon, {})
2270
+ }
2271
+ ]
2272
+ ],
2273
+ headerChips: [
2274
+ {
2275
+ type: external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.Entry,
2276
+ count: 1,
2277
+ tooltip: 'Entry rules',
2278
+ onClick: ()=>window.alert('Open entry rules panel')
2279
+ },
2280
+ {
2281
+ type: external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.Exit,
2282
+ count: 3,
2283
+ tooltip: 'Exit rules',
2284
+ onClick: ()=>window.alert('Open exit rules panel')
2285
+ }
2286
+ ]
2287
+ },
2288
+ onTaskClick: (taskId)=>window.alert(`Task clicked: ${taskId}`),
2289
+ onTaskAdd: ()=>window.alert('Add task')
2290
+ }
2291
+ },
2292
+ {
2293
+ id: '2',
2294
+ type: 'stage',
2295
+ position: {
2296
+ x: 400,
2297
+ y: 96
2298
+ },
2299
+ width: 304,
2300
+ data: {
2301
+ stageDetails: {
2302
+ label: 'Pending with customer',
2303
+ tasks: [
2304
+ [
2305
+ {
2306
+ id: 't3',
2307
+ label: 'Request documents',
2308
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(DocumentIcon, {})
2309
+ }
2310
+ ],
2311
+ [
2312
+ {
2313
+ id: 't4',
2314
+ label: 'Send reminder or request',
2315
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(ProcessIcon, {})
2316
+ }
2317
+ ]
2318
+ ],
2319
+ headerChips: [
2320
+ {
2321
+ type: external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.Entry,
2322
+ count: 2,
2323
+ tooltip: 'Entry rules',
2324
+ onClick: ()=>window.alert('Open entry rules panel')
2325
+ },
2326
+ {
2327
+ type: external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.Exit,
2328
+ count: 1,
2329
+ tooltip: 'Exit rules',
2330
+ onClick: ()=>window.alert('Open exit rules panel')
2331
+ },
2332
+ {
2333
+ type: external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.ReturnToOrigin,
2334
+ tooltip: 'Return to origin conditions',
2335
+ onClick: ()=>window.alert('Open return to origin panel')
2336
+ }
2337
+ ]
2338
+ },
2339
+ onTaskClick: (taskId)=>window.alert(`Task clicked: ${taskId}`),
2340
+ onTaskAdd: ()=>window.alert('Add task')
2341
+ }
2342
+ },
2343
+ {
2344
+ id: '3',
2345
+ type: 'stage',
2346
+ position: {
2347
+ x: 752,
2348
+ y: 96
2349
+ },
2350
+ width: 304,
2351
+ data: {
2352
+ stageDetails: {
2353
+ label: 'Withdrawn',
2354
+ tasks: [
2355
+ [
2356
+ {
2357
+ id: 't5',
2358
+ label: 'Process withdrawal',
2359
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(ProcessIcon, {})
2360
+ }
2361
+ ]
2362
+ ],
2363
+ headerChips: [
2364
+ {
2365
+ type: external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.Entry,
2366
+ count: 2,
2367
+ tooltip: 'Entry rules',
2368
+ onClick: ()=>window.alert('Open entry rules panel')
2369
+ },
2370
+ {
2371
+ type: external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.Exit,
2372
+ count: 1,
2373
+ tooltip: 'Exit rules',
2374
+ onClick: ()=>window.alert('Open exit rules panel')
2375
+ },
2376
+ {
2377
+ type: external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.CaseExit,
2378
+ tooltip: 'Case exit',
2379
+ onClick: ()=>window.alert('Open case exit panel')
2380
+ }
2381
+ ]
2382
+ },
2383
+ onTaskClick: (taskId)=>window.alert(`Task clicked: ${taskId}`),
2384
+ onTaskAdd: ()=>window.alert('Add task')
2385
+ }
2386
+ },
2387
+ {
2388
+ id: '4',
2389
+ type: 'stage',
2390
+ position: {
2391
+ x: 1104,
2392
+ y: 96
2393
+ },
2394
+ width: 304,
2395
+ data: {
2396
+ stageDetails: {
2397
+ label: 'Closing',
2398
+ tasks: [
2399
+ [
2400
+ {
2401
+ id: 't6',
2402
+ label: 'Prepare closing docs',
2403
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(DocumentIcon, {})
2404
+ }
2405
+ ],
2406
+ [
2407
+ {
2408
+ id: 't7',
2409
+ label: 'eSign envelope',
2410
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(ProcessIcon, {})
2411
+ }
2412
+ ]
2413
+ ],
2414
+ headerChips: [
2415
+ {
2416
+ type: external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.Entry,
2417
+ count: 1,
2418
+ tooltip: 'Entry rules',
2419
+ onClick: ()=>window.alert('Open entry rules panel')
2420
+ },
2421
+ {
2422
+ type: external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.Exit,
2423
+ count: 3,
2424
+ tooltip: 'Exit rules',
2425
+ onClick: ()=>window.alert('Open exit rules panel')
2426
+ },
2427
+ {
2428
+ type: external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.CaseCompletion,
2429
+ tooltip: 'Case completion',
2430
+ onClick: ()=>window.alert('Open case completion panel')
2431
+ }
2432
+ ]
2433
+ },
2434
+ onTaskClick: (taskId)=>window.alert(`Task clicked: ${taskId}`),
2435
+ onTaskAdd: ()=>window.alert('Add task')
2436
+ }
2437
+ }
2438
+ ]
2439
+ },
2440
+ args: {}
2441
+ };
2240
2442
  exports.AddAndReplaceTasks = __webpack_exports__.AddAndReplaceTasks;
2241
2443
  exports.AddTaskLoading = __webpack_exports__.AddTaskLoading;
2242
2444
  exports.AdhocTasks = __webpack_exports__.AdhocTasks;
@@ -2246,6 +2448,7 @@ exports.EditableStageTitle = __webpack_exports__.EditableStageTitle;
2246
2448
  exports.ExecutionStatus = __webpack_exports__.ExecutionStatus;
2247
2449
  exports.InteractiveTaskManagement = __webpack_exports__.InteractiveTaskManagement;
2248
2450
  exports.LoanProcessingWorkflow = __webpack_exports__.LoanProcessingWorkflow;
2451
+ exports.WithRulesTags = __webpack_exports__.WithRulesTags;
2249
2452
  exports.WithTaskIcons = __webpack_exports__.WithTaskIcons;
2250
2453
  exports["default"] = __webpack_exports__["default"];
2251
2454
  for(var __rspack_i in __webpack_exports__)if (-1 === [
@@ -2258,6 +2461,7 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
2258
2461
  "ExecutionStatus",
2259
2462
  "InteractiveTaskManagement",
2260
2463
  "LoanProcessingWorkflow",
2464
+ "WithRulesTags",
2261
2465
  "WithTaskIcons",
2262
2466
  "default"
2263
2467
  ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
@@ -13,4 +13,5 @@ export declare const AddAndReplaceTasks: Story;
13
13
  export declare const EditableStageTitle: Story;
14
14
  export declare const AddTaskLoading: Story;
15
15
  export declare const AdhocTasks: Story;
16
+ export declare const WithRulesTags: Story;
16
17
  //# sourceMappingURL=StageNode.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StageNode.stories.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/StageNode/StageNode.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAyBvD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CA0FD,CAAC;AAEjC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AA4CnC,eAAO,MAAM,OAAO,EAAE,KAoHrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAsE3B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KA8M7B,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,KA+HvC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,KAoKpC,CAAC;AA8GF,eAAO,MAAM,uBAAuB,EAAE,KAOrC,CAAC;AAkVF,eAAO,MAAM,kBAAkB,EAAE,KAOhC,CAAC;AA2HF,eAAO,MAAM,kBAAkB,EAAE,KAOhC,CAAC;AA0KF,eAAO,MAAM,cAAc,EAAE,KAO5B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAiHxB,CAAC"}
1
+ {"version":3,"file":"StageNode.stories.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/StageNode/StageNode.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAyBvD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CA0FD,CAAC;AAEjC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AA4CnC,eAAO,MAAM,OAAO,EAAE,KAoHrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAsE3B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KA8M7B,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,KA+HvC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,KAoKpC,CAAC;AA8GF,eAAO,MAAM,uBAAuB,EAAE,KAOrC,CAAC;AAkVF,eAAO,MAAM,kBAAkB,EAAE,KAOhC,CAAC;AA2HF,eAAO,MAAM,kBAAkB,EAAE,KAOhC,CAAC;AA0KF,eAAO,MAAM,cAAc,EAAE,KAO5B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAiHxB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KA+I3B,CAAC"}
@@ -10,6 +10,7 @@ import { TaskIcon, TaskItemTypeValues } from "../TaskIcon/index.js";
10
10
  import { StageConnectionEdge } from "./StageConnectionEdge.js";
11
11
  import { StageEdge } from "./StageEdge.js";
12
12
  import { StageNode } from "./StageNode.js";
13
+ import { StageHeaderChipType } from "./StageNode.types.js";
13
14
  const meta = {
14
15
  title: 'Canvas/StageNode',
15
16
  component: StageNode,
@@ -2199,4 +2200,204 @@ const AdhocTasks = {
2199
2200
  },
2200
2201
  args: {}
2201
2202
  };
2202
- export { AddAndReplaceTasks, AddTaskLoading, AdhocTasks, Default, DraggableTaskReordering, EditableStageTitle, ExecutionStatus, InteractiveTaskManagement, LoanProcessingWorkflow, WithTaskIcons, StageNode_stories as default };
2203
+ const WithRulesTags = {
2204
+ name: 'With Rules & Tags',
2205
+ parameters: {
2206
+ nodes: [
2207
+ {
2208
+ id: '1',
2209
+ type: 'stage',
2210
+ position: {
2211
+ x: 48,
2212
+ y: 96
2213
+ },
2214
+ width: 304,
2215
+ data: {
2216
+ stageDetails: {
2217
+ label: 'Application',
2218
+ tasks: [
2219
+ [
2220
+ {
2221
+ id: 't1',
2222
+ label: 'Verify applicant identity',
2223
+ icon: /*#__PURE__*/ jsx(VerificationIcon, {})
2224
+ }
2225
+ ],
2226
+ [
2227
+ {
2228
+ id: 't2',
2229
+ label: 'Pull credit report',
2230
+ icon: /*#__PURE__*/ jsx(DocumentIcon, {})
2231
+ }
2232
+ ]
2233
+ ],
2234
+ headerChips: [
2235
+ {
2236
+ type: StageHeaderChipType.Entry,
2237
+ count: 1,
2238
+ tooltip: 'Entry rules',
2239
+ onClick: ()=>window.alert('Open entry rules panel')
2240
+ },
2241
+ {
2242
+ type: StageHeaderChipType.Exit,
2243
+ count: 3,
2244
+ tooltip: 'Exit rules',
2245
+ onClick: ()=>window.alert('Open exit rules panel')
2246
+ }
2247
+ ]
2248
+ },
2249
+ onTaskClick: (taskId)=>window.alert(`Task clicked: ${taskId}`),
2250
+ onTaskAdd: ()=>window.alert('Add task')
2251
+ }
2252
+ },
2253
+ {
2254
+ id: '2',
2255
+ type: 'stage',
2256
+ position: {
2257
+ x: 400,
2258
+ y: 96
2259
+ },
2260
+ width: 304,
2261
+ data: {
2262
+ stageDetails: {
2263
+ label: 'Pending with customer',
2264
+ tasks: [
2265
+ [
2266
+ {
2267
+ id: 't3',
2268
+ label: 'Request documents',
2269
+ icon: /*#__PURE__*/ jsx(DocumentIcon, {})
2270
+ }
2271
+ ],
2272
+ [
2273
+ {
2274
+ id: 't4',
2275
+ label: 'Send reminder or request',
2276
+ icon: /*#__PURE__*/ jsx(ProcessIcon, {})
2277
+ }
2278
+ ]
2279
+ ],
2280
+ headerChips: [
2281
+ {
2282
+ type: StageHeaderChipType.Entry,
2283
+ count: 2,
2284
+ tooltip: 'Entry rules',
2285
+ onClick: ()=>window.alert('Open entry rules panel')
2286
+ },
2287
+ {
2288
+ type: StageHeaderChipType.Exit,
2289
+ count: 1,
2290
+ tooltip: 'Exit rules',
2291
+ onClick: ()=>window.alert('Open exit rules panel')
2292
+ },
2293
+ {
2294
+ type: StageHeaderChipType.ReturnToOrigin,
2295
+ tooltip: 'Return to origin conditions',
2296
+ onClick: ()=>window.alert('Open return to origin panel')
2297
+ }
2298
+ ]
2299
+ },
2300
+ onTaskClick: (taskId)=>window.alert(`Task clicked: ${taskId}`),
2301
+ onTaskAdd: ()=>window.alert('Add task')
2302
+ }
2303
+ },
2304
+ {
2305
+ id: '3',
2306
+ type: 'stage',
2307
+ position: {
2308
+ x: 752,
2309
+ y: 96
2310
+ },
2311
+ width: 304,
2312
+ data: {
2313
+ stageDetails: {
2314
+ label: 'Withdrawn',
2315
+ tasks: [
2316
+ [
2317
+ {
2318
+ id: 't5',
2319
+ label: 'Process withdrawal',
2320
+ icon: /*#__PURE__*/ jsx(ProcessIcon, {})
2321
+ }
2322
+ ]
2323
+ ],
2324
+ headerChips: [
2325
+ {
2326
+ type: StageHeaderChipType.Entry,
2327
+ count: 2,
2328
+ tooltip: 'Entry rules',
2329
+ onClick: ()=>window.alert('Open entry rules panel')
2330
+ },
2331
+ {
2332
+ type: StageHeaderChipType.Exit,
2333
+ count: 1,
2334
+ tooltip: 'Exit rules',
2335
+ onClick: ()=>window.alert('Open exit rules panel')
2336
+ },
2337
+ {
2338
+ type: StageHeaderChipType.CaseExit,
2339
+ tooltip: 'Case exit',
2340
+ onClick: ()=>window.alert('Open case exit panel')
2341
+ }
2342
+ ]
2343
+ },
2344
+ onTaskClick: (taskId)=>window.alert(`Task clicked: ${taskId}`),
2345
+ onTaskAdd: ()=>window.alert('Add task')
2346
+ }
2347
+ },
2348
+ {
2349
+ id: '4',
2350
+ type: 'stage',
2351
+ position: {
2352
+ x: 1104,
2353
+ y: 96
2354
+ },
2355
+ width: 304,
2356
+ data: {
2357
+ stageDetails: {
2358
+ label: 'Closing',
2359
+ tasks: [
2360
+ [
2361
+ {
2362
+ id: 't6',
2363
+ label: 'Prepare closing docs',
2364
+ icon: /*#__PURE__*/ jsx(DocumentIcon, {})
2365
+ }
2366
+ ],
2367
+ [
2368
+ {
2369
+ id: 't7',
2370
+ label: 'eSign envelope',
2371
+ icon: /*#__PURE__*/ jsx(ProcessIcon, {})
2372
+ }
2373
+ ]
2374
+ ],
2375
+ headerChips: [
2376
+ {
2377
+ type: StageHeaderChipType.Entry,
2378
+ count: 1,
2379
+ tooltip: 'Entry rules',
2380
+ onClick: ()=>window.alert('Open entry rules panel')
2381
+ },
2382
+ {
2383
+ type: StageHeaderChipType.Exit,
2384
+ count: 3,
2385
+ tooltip: 'Exit rules',
2386
+ onClick: ()=>window.alert('Open exit rules panel')
2387
+ },
2388
+ {
2389
+ type: StageHeaderChipType.CaseCompletion,
2390
+ tooltip: 'Case completion',
2391
+ onClick: ()=>window.alert('Open case completion panel')
2392
+ }
2393
+ ]
2394
+ },
2395
+ onTaskClick: (taskId)=>window.alert(`Task clicked: ${taskId}`),
2396
+ onTaskAdd: ()=>window.alert('Add task')
2397
+ }
2398
+ }
2399
+ ]
2400
+ },
2401
+ args: {}
2402
+ };
2403
+ export { AddAndReplaceTasks, AddTaskLoading, AdhocTasks, Default, DraggableTaskReordering, EditableStageTitle, ExecutionStatus, InteractiveTaskManagement, LoanProcessingWorkflow, WithRulesTags, WithTaskIcons, StageNode_stories as default };
@@ -36,13 +36,15 @@ __webpack_require__.d(__webpack_exports__, {
36
36
  StageTask: ()=>StageTask,
37
37
  STAGE_CONTENT_PADDING_X: ()=>STAGE_CONTENT_PADDING_X,
38
38
  StageContainer: ()=>StageContainer,
39
+ StageChip: ()=>StageChip,
40
+ StageHeaderChipsRow: ()=>StageHeaderChipsRow,
41
+ StageContent: ()=>StageContent,
39
42
  StageTaskDragPlaceholderWrapper: ()=>StageTaskDragPlaceholderWrapper,
40
43
  StageTaskWrapper: ()=>StageTaskWrapper,
41
- StageContent: ()=>StageContent,
42
- StageTitleInput: ()=>StageTitleInput,
43
44
  StageParallelLabel: ()=>StageParallelLabel,
44
45
  StageTaskIcon: ()=>StageTaskIcon,
45
46
  StageParallelBracket: ()=>StageParallelBracket,
47
+ StageTitleInput: ()=>StageTitleInput,
46
48
  STAGE_BORDER_WIDTH: ()=>STAGE_BORDER_WIDTH,
47
49
  StageTaskDragPlaceholder: ()=>StageTaskDragPlaceholder,
48
50
  StageTitleContainer: ()=>StageTitleContainer,
@@ -266,6 +268,33 @@ const StageTaskDragPlaceholderWrapper = styled_default().div`
266
268
  width: var(--stage-task-width, 246px);
267
269
  height: 36px;
268
270
  `;
271
+ const StageHeaderChipsRow = styled_default().div`
272
+ display: flex;
273
+ flex-wrap: wrap;
274
+ gap: ${apollo_core_namespaceObject.Padding.PadS};
275
+ margin-top: ${apollo_core_namespaceObject.Spacing.SpacingXs};
276
+ `;
277
+ const StageChip = styled_default().button`
278
+ display: inline-flex;
279
+ align-items: center;
280
+ justify-content: center;
281
+ gap: ${apollo_core_namespaceObject.Padding.PadS};
282
+ padding: ${apollo_core_namespaceObject.Padding.PadXs} ${apollo_core_namespaceObject.Spacing.SpacingXs};
283
+ border-radius: 10px;
284
+ border: 1px solid var(--uix-canvas-border-de-emp);
285
+ background: transparent;
286
+ color: var(--uix-canvas-foreground);
287
+ cursor: pointer;
288
+
289
+ &:hover {
290
+ background: var(--color-background-hover);
291
+ }
292
+
293
+ &:focus-visible {
294
+ outline: 2px solid var(--uix-canvas-primary);
295
+ outline-offset: 2px;
296
+ }
297
+ `;
269
298
  const StageTaskDragPlaceholder = styled_default().div`
270
299
  display: flex;
271
300
  align-items: center;
@@ -282,9 +311,11 @@ exports.INDENTATION_WIDTH = __webpack_exports__.INDENTATION_WIDTH;
282
311
  exports.STAGE_BORDER_WIDTH = __webpack_exports__.STAGE_BORDER_WIDTH;
283
312
  exports.STAGE_CONTENT_INSET = __webpack_exports__.STAGE_CONTENT_INSET;
284
313
  exports.STAGE_CONTENT_PADDING_X = __webpack_exports__.STAGE_CONTENT_PADDING_X;
314
+ exports.StageChip = __webpack_exports__.StageChip;
285
315
  exports.StageContainer = __webpack_exports__.StageContainer;
286
316
  exports.StageContent = __webpack_exports__.StageContent;
287
317
  exports.StageHeader = __webpack_exports__.StageHeader;
318
+ exports.StageHeaderChipsRow = __webpack_exports__.StageHeaderChipsRow;
288
319
  exports.StageParallelBracket = __webpack_exports__.StageParallelBracket;
289
320
  exports.StageParallelLabel = __webpack_exports__.StageParallelLabel;
290
321
  exports.StageTask = __webpack_exports__.StageTask;
@@ -302,9 +333,11 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
302
333
  "STAGE_BORDER_WIDTH",
303
334
  "STAGE_CONTENT_INSET",
304
335
  "STAGE_CONTENT_PADDING_X",
336
+ "StageChip",
305
337
  "StageContainer",
306
338
  "StageContent",
307
339
  "StageHeader",
340
+ "StageHeaderChipsRow",
308
341
  "StageParallelBracket",
309
342
  "StageParallelLabel",
310
343
  "StageTask",
@@ -82,6 +82,14 @@ export declare const StageTaskDragPlaceholderWrapper: import("@emotion/styled").
82
82
  theme?: import("@emotion/react").Theme;
83
83
  as?: React.ElementType;
84
84
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
85
+ export declare const StageHeaderChipsRow: import("@emotion/styled").StyledComponent<{
86
+ theme?: import("@emotion/react").Theme;
87
+ as?: React.ElementType;
88
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
89
+ export declare const StageChip: import("@emotion/styled").StyledComponent<{
90
+ theme?: import("@emotion/react").Theme;
91
+ as?: React.ElementType;
92
+ }, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
85
93
  export declare const StageTaskDragPlaceholder: import("@emotion/styled").StyledComponent<{
86
94
  theme?: import("@emotion/react").Theme;
87
95
  as?: React.ElementType;
@@ -1 +1 @@
1
- {"version":3,"file":"StageNode.styles.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/StageNode/StageNode.styles.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAC1C,eAAO,MAAM,kBAAkB,IAAI,CAAC;AACpC,eAAO,MAAM,mBAAmB,QAAuD,CAAC;AAExF,eAAO,MAAM,cAAc;;;;eACd,OAAO;aACT,WAAW;YACZ,MAAM;yGAqDf,CAAC;AAEF,eAAO,MAAM,WAAW;;;;kBAA8B,OAAO;yGAS5D,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;gBAA4B,OAAO;yGAOlE,CAAC;AAEF,eAAO,MAAM,eAAe;;;;gBACd,OAAO;2BACI,OAAO;YACtB,MAAM;kHAsBf,CAAC;AAEF,eAAO,MAAM,YAAY;;;yGAQxB,CAAC;AAEF,eAAO,MAAM,aAAa;;;yGAKzB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;iBAA6B,OAAO;yGAM9D,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;yGAa9B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;yGAMhC,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;iBAA6B,OAAO;yGAKhE,CAAC;AAEF,eAAO,MAAM,SAAS;;;;aACX,WAAW;eACT,OAAO;iBACL,OAAO;oBACJ,OAAO;yGA6DxB,CAAC;AAEF,eAAO,MAAM,aAAa;;;yGAYzB,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;aAAyB,SAAS,GAAG,MAAM,GAAG,OAAO;yGAoBvF,CAAC;AAEF,eAAO,MAAM,+BAA+B;;;yGAG3C,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;uBAAmC,OAAO;yGAW9E,CAAC"}
1
+ {"version":3,"file":"StageNode.styles.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/StageNode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ceholderWrapper = styled.div`
210
210
  width: var(--stage-task-width, 246px);
211
211
  height: 36px;
212
212
  `;
213
+ const StageHeaderChipsRow = styled.div`
214
+ display: flex;
215
+ flex-wrap: wrap;
216
+ gap: ${Padding.PadS};
217
+ margin-top: ${Spacing.SpacingXs};
218
+ `;
219
+ const StageChip = styled.button`
220
+ display: inline-flex;
221
+ align-items: center;
222
+ justify-content: center;
223
+ gap: ${Padding.PadS};
224
+ padding: ${Padding.PadXs} ${Spacing.SpacingXs};
225
+ border-radius: 10px;
226
+ border: 1px solid var(--uix-canvas-border-de-emp);
227
+ background: transparent;
228
+ color: var(--uix-canvas-foreground);
229
+ cursor: pointer;
230
+
231
+ &:hover {
232
+ background: var(--color-background-hover);
233
+ }
234
+
235
+ &:focus-visible {
236
+ outline: 2px solid var(--uix-canvas-primary);
237
+ outline-offset: 2px;
238
+ }
239
+ `;
213
240
  const StageTaskDragPlaceholder = styled.div`
214
241
  display: flex;
215
242
  align-items: center;
@@ -222,4 +249,4 @@ const StageTaskDragPlaceholder = styled.div`
222
249
  height: 100%;
223
250
  width: ${({ isTargetParallel })=>isTargetParallel ? 'var(--stage-task-width-parallel, 216px)' : 'var(--stage-task-width, 246px)'};
224
251
  `;
225
- export { INDENTATION_WIDTH, STAGE_BORDER_WIDTH, STAGE_CONTENT_INSET, STAGE_CONTENT_PADDING_X, StageContainer, StageContent, StageHeader, StageParallelBracket, StageParallelLabel, StageTask, StageTaskDragPlaceholder, StageTaskDragPlaceholderWrapper, StageTaskGroup, StageTaskIcon, StageTaskList, StageTaskRetryDuration, StageTaskWrapper, StageTitleContainer, StageTitleInput };
252
+ export { INDENTATION_WIDTH, STAGE_BORDER_WIDTH, STAGE_CONTENT_INSET, STAGE_CONTENT_PADDING_X, StageChip, StageContainer, StageContent, StageHeader, StageHeaderChipsRow, StageParallelBracket, StageParallelLabel, StageTask, StageTaskDragPlaceholder, StageTaskDragPlaceholderWrapper, StageTaskGroup, StageTaskIcon, StageTaskList, StageTaskRetryDuration, StageTaskWrapper, StageTitleContainer, StageTitleInput };
@@ -1,5 +1,16 @@
1
1
  "use strict";
2
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
+ })();
3
14
  (()=>{
4
15
  __webpack_require__.r = (exports1)=>{
5
16
  if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
@@ -12,7 +23,21 @@ var __webpack_require__ = {};
12
23
  })();
13
24
  var __webpack_exports__ = {};
14
25
  __webpack_require__.r(__webpack_exports__);
15
- for(var __rspack_i in __webpack_exports__)exports[__rspack_i] = __webpack_exports__[__rspack_i];
26
+ __webpack_require__.d(__webpack_exports__, {
27
+ StageHeaderChipType: ()=>StageHeaderChipType
28
+ });
29
+ let StageHeaderChipType = /*#__PURE__*/ function(StageHeaderChipType) {
30
+ StageHeaderChipType["Entry"] = "entry";
31
+ StageHeaderChipType["Exit"] = "exit";
32
+ StageHeaderChipType["ReturnToOrigin"] = "returnToOrigin";
33
+ StageHeaderChipType["CaseExit"] = "caseExit";
34
+ StageHeaderChipType["CaseCompletion"] = "caseCompletion";
35
+ return StageHeaderChipType;
36
+ }({});
37
+ exports.StageHeaderChipType = __webpack_exports__.StageHeaderChipType;
38
+ for(var __rspack_i in __webpack_exports__)if (-1 === [
39
+ "StageHeaderChipType"
40
+ ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
16
41
  Object.defineProperty(exports, '__esModule', {
17
42
  value: true
18
43
  });
@@ -21,6 +21,19 @@ export interface StageTaskItem {
21
21
  icon?: React.ReactElement;
22
22
  isAdhoc?: boolean;
23
23
  }
24
+ export declare enum StageHeaderChipType {
25
+ Entry = "entry",
26
+ Exit = "exit",
27
+ ReturnToOrigin = "returnToOrigin",
28
+ CaseExit = "caseExit",
29
+ CaseCompletion = "caseCompletion"
30
+ }
31
+ export interface StageHeaderChip {
32
+ type: StageHeaderChipType;
33
+ count?: number;
34
+ tooltip?: React.ReactNode;
35
+ onClick?: () => void;
36
+ }
24
37
  export interface StageNodeProps extends NodeProps {
25
38
  dragging: boolean;
26
39
  selected: boolean;
@@ -38,6 +51,7 @@ export interface StageNodeProps extends NodeProps {
38
51
  isReadOnly?: boolean;
39
52
  tasks: StageTaskItem[][];
40
53
  selectedTaskId?: string;
54
+ headerChips?: StageHeaderChip[];
41
55
  };
42
56
  addTaskLabel?: string;
43
57
  addTaskLoading?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"StageNode.types.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/StageNode/StageNode.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AAC1E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEjE,aAAK,mBAAmB;IACtB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,aAAa,kBAAkB;IAC/B,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,OAAO,YAAY;CACpB;AAED,MAAM,MAAM,WAAW,GAAG,GAAG,mBAAmB,EAAE,CAAC;AACnD,MAAM,MAAM,eAAe,GAAG,GAAG,mBAAmB,EAAE,CAAC;AAEvD,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,I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aAAa,EAAE,EAAE,KAAK,IAAI,CAAC;IAC5D,wBAAwB,CAAC,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9F,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAChD;AAED,MAAM,WAAW,kBAAkB;IACjC,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,9 @@
1
+ let StageNode_types_StageHeaderChipType = /*#__PURE__*/ function(StageHeaderChipType) {
2
+ StageHeaderChipType["Entry"] = "entry";
3
+ StageHeaderChipType["Exit"] = "exit";
4
+ StageHeaderChipType["ReturnToOrigin"] = "returnToOrigin";
5
+ StageHeaderChipType["CaseExit"] = "caseExit";
6
+ StageHeaderChipType["CaseCompletion"] = "caseCompletion";
7
+ return StageHeaderChipType;
8
+ }({});
9
+ export { StageNode_types_StageHeaderChipType as StageHeaderChipType };
@@ -0,0 +1,49 @@
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
+ ExitConditionIcon: ()=>ExitConditionIcon
28
+ });
29
+ const jsx_runtime_namespaceObject = require("react/jsx-runtime");
30
+ const ExitConditionIcon = ({ w = 16, h = 16 })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("svg", {
31
+ width: w,
32
+ height: h,
33
+ viewBox: "0 0 16 16",
34
+ fill: "none",
35
+ xmlns: "http://www.w3.org/2000/svg",
36
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("path", {
37
+ fillRule: "evenodd",
38
+ clipRule: "evenodd",
39
+ d: "M7.68853 2.55022C7.86049 2.3497 8.13961 2.34972 8.31158 2.55022L12.671 7.63616C12.8429 7.83679 12.8429 8.16305 12.671 8.3637L8.31158 13.4496C8.1396 13.6502 7.8605 13.6503 7.68853 13.4496L3.32916 8.3637C3.15723 8.16305 3.15719 7.83679 3.32916 7.63616L7.68853 2.55022Z",
40
+ fill: "currentColor"
41
+ })
42
+ });
43
+ exports.ExitConditionIcon = __webpack_exports__.ExitConditionIcon;
44
+ for(var __rspack_i in __webpack_exports__)if (-1 === [
45
+ "ExitConditionIcon"
46
+ ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
47
+ Object.defineProperty(exports, '__esModule', {
48
+ value: true
49
+ });
@@ -0,0 +1,5 @@
1
+ export declare const ExitConditionIcon: ({ w, h, }: {
2
+ w?: number | string;
3
+ h?: number | string;
4
+ }) => import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=ExitConditionIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExitConditionIcon.d.ts","sourceRoot":"","sources":["../../../src/canvas/icons/ExitConditionIcon.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,GAAI,WAG/B;IACD,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACrB,4CASA,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const ExitConditionIcon = ({ w = 16, h = 16 })=>/*#__PURE__*/ jsx("svg", {
3
+ width: w,
4
+ height: h,
5
+ viewBox: "0 0 16 16",
6
+ fill: "none",
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ children: /*#__PURE__*/ jsx("path", {
9
+ fillRule: "evenodd",
10
+ clipRule: "evenodd",
11
+ d: "M7.68853 2.55022C7.86049 2.3497 8.13961 2.34972 8.31158 2.55022L12.671 7.63616C12.8429 7.83679 12.8429 8.16305 12.671 8.3637L8.31158 13.4496C8.1396 13.6502 7.8605 13.6503 7.68853 13.4496L3.32916 8.3637C3.15723 8.16305 3.15719 7.83679 3.32916 7.63616L7.68853 2.55022Z",
12
+ fill: "currentColor"
13
+ })
14
+ });
15
+ export { ExitConditionIcon };
@@ -0,0 +1,50 @@
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
+ ReturnToOriginIcon: ()=>ReturnToOriginIcon
28
+ });
29
+ const jsx_runtime_namespaceObject = require("react/jsx-runtime");
30
+ const ReturnToOriginIcon = ({ w = 16, h = 16 })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("svg", {
31
+ width: w,
32
+ height: h,
33
+ viewBox: "0 0 16 16",
34
+ fill: "none",
35
+ xmlns: "http://www.w3.org/2000/svg",
36
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("path", {
37
+ d: "M6.00016 6.66665L2.66683 9.99998M2.66683 9.99998L6.00016 13.3333M2.66683 9.99998H9.66683C10.6393 9.99998 11.5719 9.61367 12.2596 8.92604C12.9472 8.2384 13.3335 7.30577 13.3335 6.33331C13.3335 5.8518 13.2387 5.375 13.0544 4.93014C12.8701 4.48528 12.6 4.08107 12.2596 3.74059C11.5719 3.05295 10.6393 2.66665 9.66683 2.66665H7.3335",
38
+ stroke: "currentColor",
39
+ strokeWidth: "1.33",
40
+ strokeLinecap: "round",
41
+ strokeLinejoin: "round"
42
+ })
43
+ });
44
+ exports.ReturnToOriginIcon = __webpack_exports__.ReturnToOriginIcon;
45
+ for(var __rspack_i in __webpack_exports__)if (-1 === [
46
+ "ReturnToOriginIcon"
47
+ ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
48
+ Object.defineProperty(exports, '__esModule', {
49
+ value: true
50
+ });
@@ -0,0 +1,5 @@
1
+ export declare const ReturnToOriginIcon: ({ w, h, }: {
2
+ w?: number | string;
3
+ h?: number | string;
4
+ }) => import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=ReturnToOriginIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReturnToOriginIcon.d.ts","sourceRoot":"","sources":["../../../src/canvas/icons/ReturnToOriginIcon.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,GAAI,WAGhC;IACD,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACrB,4CAUA,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const ReturnToOriginIcon = ({ w = 16, h = 16 })=>/*#__PURE__*/ jsx("svg", {
3
+ width: w,
4
+ height: h,
5
+ viewBox: "0 0 16 16",
6
+ fill: "none",
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ children: /*#__PURE__*/ jsx("path", {
9
+ d: "M6.00016 6.66665L2.66683 9.99998M2.66683 9.99998L6.00016 13.3333M2.66683 9.99998H9.66683C10.6393 9.99998 11.5719 9.61367 12.2596 8.92604C12.9472 8.2384 13.3335 7.30577 13.3335 6.33331C13.3335 5.8518 13.2387 5.375 13.0544 4.93014C12.8701 4.48528 12.6 4.08107 12.2596 3.74059C11.5719 3.05295 10.6393 2.66665 9.66683 2.66665H7.3335",
10
+ stroke: "currentColor",
11
+ strokeWidth: "1.33",
12
+ strokeLinecap: "round",
13
+ strokeLinejoin: "round"
14
+ })
15
+ });
16
+ export { ReturnToOriginIcon };
@@ -34,6 +34,7 @@ __webpack_require__.d(__webpack_exports__, {
34
34
  DataTransformIcon: ()=>external_DataTransformIcon_cjs_namespaceObject.DataTransformIcon,
35
35
  ScriptTaskIcon: ()=>external_ScriptTaskIcon_cjs_namespaceObject.ScriptTaskIcon,
36
36
  McpIcon: ()=>external_McpIcon_cjs_namespaceObject.McpIcon,
37
+ ReturnToOriginIcon: ()=>external_ReturnToOriginIcon_cjs_namespaceObject.ReturnToOriginIcon,
37
38
  DataAndTools: ()=>external_DataAndTools_cjs_namespaceObject.DataAndTools,
38
39
  DataTransformExtractIcon: ()=>external_DataTransformExtractIcon_cjs_namespaceObject.DataTransformExtractIcon,
39
40
  DataTransformGroupIcon: ()=>external_DataTransformGroupIcon_cjs_namespaceObject.DataTransformGroupIcon,
@@ -61,6 +62,7 @@ __webpack_require__.d(__webpack_exports__, {
61
62
  PlayIcon: ()=>external_PlayIcon_cjs_namespaceObject.PlayIcon,
62
63
  CaseManagementProject: ()=>external_CaseManagementProject_cjs_namespaceObject.CaseManagementProject,
63
64
  UiPathIcon: ()=>external_UiPathIcon_cjs_namespaceObject.UiPathIcon,
65
+ ExitConditionIcon: ()=>external_ExitConditionIcon_cjs_namespaceObject.ExitConditionIcon,
64
66
  AgentIcon: ()=>external_AgentIcon_cjs_namespaceObject.AgentIcon,
65
67
  WebAppProject: ()=>external_WebAppProject_cjs_namespaceObject.WebAppProject,
66
68
  ZoomOutIcon: ()=>external_ZoomOutIcon_cjs_namespaceObject.ZoomOutIcon,
@@ -91,6 +93,7 @@ const external_DataTransformIcon_cjs_namespaceObject = require("./DataTransformI
91
93
  const external_DataTransformMapIcon_cjs_namespaceObject = require("./DataTransformMapIcon.cjs");
92
94
  const external_DecisionIcon_cjs_namespaceObject = require("./DecisionIcon.cjs");
93
95
  const external_EntryConditionIcon_cjs_namespaceObject = require("./EntryConditionIcon.cjs");
96
+ const external_ExitConditionIcon_cjs_namespaceObject = require("./ExitConditionIcon.cjs");
94
97
  const external_FlaskRunIcon_cjs_namespaceObject = require("./FlaskRunIcon.cjs");
95
98
  const external_FlowProject_cjs_namespaceObject = require("./FlowProject.cjs");
96
99
  const external_GoogleIcon_cjs_namespaceObject = require("./GoogleIcon.cjs");
@@ -102,6 +105,7 @@ const external_MemoryIcon_cjs_namespaceObject = require("./MemoryIcon.cjs");
102
105
  const external_OpenAIIcon_cjs_namespaceObject = require("./OpenAIIcon.cjs");
103
106
  const external_OrganizeIcon_cjs_namespaceObject = require("./OrganizeIcon.cjs");
104
107
  const external_PlayIcon_cjs_namespaceObject = require("./PlayIcon.cjs");
108
+ const external_ReturnToOriginIcon_cjs_namespaceObject = require("./ReturnToOriginIcon.cjs");
105
109
  const external_RpaProject_cjs_namespaceObject = require("./RpaProject.cjs");
106
110
  const external_ScriptTaskIcon_cjs_namespaceObject = require("./ScriptTaskIcon.cjs");
107
111
  const external_SwitchIcon_cjs_namespaceObject = require("./SwitchIcon.cjs");
@@ -135,6 +139,7 @@ exports.DataTransformIcon = __webpack_exports__.DataTransformIcon;
135
139
  exports.DataTransformMapIcon = __webpack_exports__.DataTransformMapIcon;
136
140
  exports.DecisionIcon = __webpack_exports__.DecisionIcon;
137
141
  exports.EntryConditionIcon = __webpack_exports__.EntryConditionIcon;
142
+ exports.ExitConditionIcon = __webpack_exports__.ExitConditionIcon;
138
143
  exports.FlaskRunIcon = __webpack_exports__.FlaskRunIcon;
139
144
  exports.FlowProject = __webpack_exports__.FlowProject;
140
145
  exports.GoogleIcon = __webpack_exports__.GoogleIcon;
@@ -146,6 +151,7 @@ exports.MemoryIcon = __webpack_exports__.MemoryIcon;
146
151
  exports.OpenAIIcon = __webpack_exports__.OpenAIIcon;
147
152
  exports.OrganizeIcon = __webpack_exports__.OrganizeIcon;
148
153
  exports.PlayIcon = __webpack_exports__.PlayIcon;
154
+ exports.ReturnToOriginIcon = __webpack_exports__.ReturnToOriginIcon;
149
155
  exports.RpaProject = __webpack_exports__.RpaProject;
150
156
  exports.ScriptTaskIcon = __webpack_exports__.ScriptTaskIcon;
151
157
  exports.SwitchIcon = __webpack_exports__.SwitchIcon;
@@ -180,6 +186,7 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
180
186
  "DataTransformMapIcon",
181
187
  "DecisionIcon",
182
188
  "EntryConditionIcon",
189
+ "ExitConditionIcon",
183
190
  "FlaskRunIcon",
184
191
  "FlowProject",
185
192
  "GoogleIcon",
@@ -191,6 +198,7 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
191
198
  "OpenAIIcon",
192
199
  "OrganizeIcon",
193
200
  "PlayIcon",
201
+ "ReturnToOriginIcon",
194
202
  "RpaProject",
195
203
  "ScriptTaskIcon",
196
204
  "SwitchIcon",
@@ -20,6 +20,7 @@ export { DataTransformIcon } from './DataTransformIcon';
20
20
  export { DataTransformMapIcon } from './DataTransformMapIcon';
21
21
  export { DecisionIcon } from './DecisionIcon';
22
22
  export { EntryConditionIcon } from './EntryConditionIcon';
23
+ export { ExitConditionIcon } from './ExitConditionIcon';
23
24
  export { FlaskRunIcon } from './FlaskRunIcon';
24
25
  export { FlowProject } from './FlowProject';
25
26
  export { GoogleIcon } from './GoogleIcon';
@@ -31,6 +32,7 @@ export { MemoryIcon } from './MemoryIcon';
31
32
  export { OpenAIIcon } from './OpenAIIcon';
32
33
  export { OrganizeIcon } from './OrganizeIcon';
33
34
  export { PlayIcon } from './PlayIcon';
35
+ export { ReturnToOriginIcon } from './ReturnToOriginIcon';
34
36
  export { RpaProject } from './RpaProject';
35
37
  export { ScriptTaskIcon } from './ScriptTaskIcon';
36
38
  export { SwitchIcon } from './SwitchIcon';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/canvas/icons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,eA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AAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
@@ -20,6 +20,7 @@ import { DataTransformIcon } from "./DataTransformIcon.js";
20
20
  import { DataTransformMapIcon } from "./DataTransformMapIcon.js";
21
21
  import { DecisionIcon } from "./DecisionIcon.js";
22
22
  import { EntryConditionIcon } from "./EntryConditionIcon.js";
23
+ import { ExitConditionIcon } from "./ExitConditionIcon.js";
23
24
  import { FlaskRunIcon } from "./FlaskRunIcon.js";
24
25
  import { FlowProject } from "./FlowProject.js";
25
26
  import { GoogleIcon } from "./GoogleIcon.js";
@@ -31,6 +32,7 @@ import { MemoryIcon } from "./MemoryIcon.js";
31
32
  import { OpenAIIcon } from "./OpenAIIcon.js";
32
33
  import { OrganizeIcon } from "./OrganizeIcon.js";
33
34
  import { PlayIcon } from "./PlayIcon.js";
35
+ import { ReturnToOriginIcon } from "./ReturnToOriginIcon.js";
34
36
  import { RpaProject } from "./RpaProject.js";
35
37
  import { ScriptTaskIcon } from "./ScriptTaskIcon.js";
36
38
  import { SwitchIcon } from "./SwitchIcon.js";
@@ -42,4 +44,4 @@ import { WebAppProject } from "./WebAppProject.js";
42
44
  import { ZoomInIcon } from "./ZoomInIcon.js";
43
45
  import { ZoomOutIcon } from "./ZoomOutIcon.js";
44
46
  import { ZoomToFitIcon } from "./ZoomToFitIcon.js";
45
- export { A2aIcon, AgentDiagramIcon, AgentIcon, AgentProject, AnthropicIcon, ApiProject, AutonomousAgentIcon, BusinessProcessProject, CaseManagementProject, CodedAgentIcon, ConnectorBuilderProject, ControlFlowIcon, ConversationalAgentIcon, DataAndTools, DataTransformExtractIcon, DataTransformFilterIcon, DataTransformFlattenIcon, DataTransformGroupIcon, DataTransformIcon, DataTransformMapIcon, DecisionIcon, EntryConditionIcon, FlaskRunIcon, FlowProject, GoogleIcon, HealthScoreIcon, HumanIcon, LoopIcon, McpIcon, MemoryIcon, OpenAIIcon, OrganizeIcon, PlayIcon, RpaProject, ScriptTaskIcon, SwitchIcon, TimelinePauseIcon, TimelinePlayIcon, TimelineProgressIcon, UiPathIcon, WebAppProject, ZoomInIcon, ZoomOutIcon, ZoomToFitIcon };
47
+ export { A2aIcon, AgentDiagramIcon, AgentIcon, AgentProject, AnthropicIcon, ApiProject, AutonomousAgentIcon, BusinessProcessProject, CaseManagementProject, CodedAgentIcon, ConnectorBuilderProject, ControlFlowIcon, ConversationalAgentIcon, DataAndTools, DataTransformExtractIcon, DataTransformFilterIcon, DataTransformFlattenIcon, DataTransformGroupIcon, DataTransformIcon, DataTransformMapIcon, DecisionIcon, EntryConditionIcon, ExitConditionIcon, FlaskRunIcon, FlowProject, GoogleIcon, HealthScoreIcon, HumanIcon, LoopIcon, McpIcon, MemoryIcon, OpenAIIcon, OrganizeIcon, PlayIcon, ReturnToOriginIcon, RpaProject, ScriptTaskIcon, SwitchIcon, TimelinePauseIcon, TimelinePlayIcon, TimelineProgressIcon, UiPathIcon, WebAppProject, ZoomInIcon, ZoomOutIcon, ZoomToFitIcon };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-react",
3
- "version": "3.63.1",
3
+ "version": "3.64.0",
4
4
  "description": "Apollo Design System - React component library with Material UI theming",
5
5
  "repository": {
6
6
  "type": "git",
@@ -201,7 +201,7 @@
201
201
  "zod": "^4.3.5",
202
202
  "zustand": "^5.0.9",
203
203
  "@uipath/apollo-core": "5.9.0",
204
- "@uipath/apollo-wind": "1.5.0"
204
+ "@uipath/apollo-wind": "2.0.0"
205
205
  },
206
206
  "devDependencies": {
207
207
  "@lingui/cli": "^5.6.1",