@uipath/apollo-react 3.65.2 → 3.65.4

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.
@@ -516,7 +516,7 @@ const StageNodeComponent = (props)=>{
516
516
  }),
517
517
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
518
518
  gap: apollo_core_namespaceObject.Spacing.SpacingMicro,
519
- align: isReadOnly ? 'start' : 'center',
519
+ align: "start",
520
520
  py: apollo_core_namespaceObject.Padding.PadS,
521
521
  children: [
522
522
  status && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_material_index_cjs_namespaceObject.ApTooltip, {
@@ -488,7 +488,7 @@ const StageNodeComponent = (props)=>{
488
488
  }),
489
489
  /*#__PURE__*/ jsxs(Row, {
490
490
  gap: Spacing.SpacingMicro,
491
- align: isReadOnly ? 'start' : 'center',
491
+ align: "start",
492
492
  py: Padding.PadS,
493
493
  children: [
494
494
  status && /*#__PURE__*/ jsx(ApTooltip, {
@@ -2434,6 +2434,142 @@ const WithRulesTags = {
2434
2434
  onTaskClick: (taskId)=>window.alert(`Task clicked: ${taskId}`),
2435
2435
  onTaskAdd: ()=>window.alert('Add task')
2436
2436
  }
2437
+ },
2438
+ {
2439
+ id: '5',
2440
+ type: 'stage',
2441
+ position: {
2442
+ x: 48,
2443
+ y: 400
2444
+ },
2445
+ width: 304,
2446
+ data: {
2447
+ stageDetails: {
2448
+ label: 'No chips (comparison)',
2449
+ tasks: [
2450
+ [
2451
+ {
2452
+ id: 't8',
2453
+ label: 'Verify applicant identity',
2454
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(VerificationIcon, {})
2455
+ }
2456
+ ],
2457
+ [
2458
+ {
2459
+ id: 't9',
2460
+ label: 'Pull credit report',
2461
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(DocumentIcon, {})
2462
+ }
2463
+ ]
2464
+ ]
2465
+ },
2466
+ onTaskClick: (taskId)=>window.alert(`Task clicked: ${taskId}`),
2467
+ onTaskAdd: ()=>window.alert('Add task')
2468
+ }
2469
+ },
2470
+ {
2471
+ id: '6',
2472
+ type: 'stage',
2473
+ position: {
2474
+ x: 400,
2475
+ y: 400
2476
+ },
2477
+ width: 304,
2478
+ data: {
2479
+ stageDetails: {
2480
+ label: 'ReadOnly + completed + chips',
2481
+ isReadOnly: true,
2482
+ tasks: [
2483
+ [
2484
+ {
2485
+ id: 't10',
2486
+ label: 'Verify applicant identity',
2487
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(VerificationIcon, {})
2488
+ }
2489
+ ],
2490
+ [
2491
+ {
2492
+ id: 't11',
2493
+ label: 'Pull credit report',
2494
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(DocumentIcon, {})
2495
+ }
2496
+ ]
2497
+ ],
2498
+ headerChips: [
2499
+ {
2500
+ type: external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.Entry,
2501
+ count: 1,
2502
+ tooltip: 'Entry rules',
2503
+ onClick: ()=>window.alert('Open entry rules panel')
2504
+ },
2505
+ {
2506
+ type: external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.Exit,
2507
+ count: 3,
2508
+ tooltip: 'Exit rules',
2509
+ onClick: ()=>window.alert('Open exit rules panel')
2510
+ }
2511
+ ]
2512
+ },
2513
+ execution: {
2514
+ stageStatus: {
2515
+ status: 'Completed',
2516
+ label: 'Completed',
2517
+ duration: 'SLA: 4h'
2518
+ }
2519
+ }
2520
+ }
2521
+ },
2522
+ {
2523
+ id: '7',
2524
+ type: 'stage',
2525
+ position: {
2526
+ x: 752,
2527
+ y: 400
2528
+ },
2529
+ width: 304,
2530
+ data: {
2531
+ stageDetails: {
2532
+ label: 'ReadOnly + in progress + chips',
2533
+ isReadOnly: true,
2534
+ tasks: [
2535
+ [
2536
+ {
2537
+ id: 't12',
2538
+ label: 'Verify applicant identity',
2539
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(VerificationIcon, {})
2540
+ }
2541
+ ],
2542
+ [
2543
+ {
2544
+ id: 't13',
2545
+ label: 'Pull credit report',
2546
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(DocumentIcon, {})
2547
+ }
2548
+ ]
2549
+ ],
2550
+ headerChips: [
2551
+ {
2552
+ type: external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.Entry,
2553
+ count: 2,
2554
+ tooltip: 'Entry rules',
2555
+ onClick: ()=>window.alert('Open entry rules panel')
2556
+ },
2557
+ {
2558
+ type: external_StageNode_types_cjs_namespaceObject.StageHeaderChipType.Exit,
2559
+ count: 1,
2560
+ tooltip: 'Exit rules',
2561
+ onClick: ()=>window.alert('Open exit rules panel')
2562
+ }
2563
+ ]
2564
+ },
2565
+ execution: {
2566
+ stageStatus: {
2567
+ status: 'InProgress',
2568
+ label: 'In progress',
2569
+ duration: 'SLA: 2h'
2570
+ }
2571
+ }
2572
+ }
2437
2573
  }
2438
2574
  ]
2439
2575
  },
@@ -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,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WithRulesTags = {
2395
2395
  onTaskClick: (taskId)=>window.alert(`Task clicked: ${taskId}`),
2396
2396
  onTaskAdd: ()=>window.alert('Add task')
2397
2397
  }
2398
+ },
2399
+ {
2400
+ id: '5',
2401
+ type: 'stage',
2402
+ position: {
2403
+ x: 48,
2404
+ y: 400
2405
+ },
2406
+ width: 304,
2407
+ data: {
2408
+ stageDetails: {
2409
+ label: 'No chips (comparison)',
2410
+ tasks: [
2411
+ [
2412
+ {
2413
+ id: 't8',
2414
+ label: 'Verify applicant identity',
2415
+ icon: /*#__PURE__*/ jsx(VerificationIcon, {})
2416
+ }
2417
+ ],
2418
+ [
2419
+ {
2420
+ id: 't9',
2421
+ label: 'Pull credit report',
2422
+ icon: /*#__PURE__*/ jsx(DocumentIcon, {})
2423
+ }
2424
+ ]
2425
+ ]
2426
+ },
2427
+ onTaskClick: (taskId)=>window.alert(`Task clicked: ${taskId}`),
2428
+ onTaskAdd: ()=>window.alert('Add task')
2429
+ }
2430
+ },
2431
+ {
2432
+ id: '6',
2433
+ type: 'stage',
2434
+ position: {
2435
+ x: 400,
2436
+ y: 400
2437
+ },
2438
+ width: 304,
2439
+ data: {
2440
+ stageDetails: {
2441
+ label: 'ReadOnly + completed + chips',
2442
+ isReadOnly: true,
2443
+ tasks: [
2444
+ [
2445
+ {
2446
+ id: 't10',
2447
+ label: 'Verify applicant identity',
2448
+ icon: /*#__PURE__*/ jsx(VerificationIcon, {})
2449
+ }
2450
+ ],
2451
+ [
2452
+ {
2453
+ id: 't11',
2454
+ label: 'Pull credit report',
2455
+ icon: /*#__PURE__*/ jsx(DocumentIcon, {})
2456
+ }
2457
+ ]
2458
+ ],
2459
+ headerChips: [
2460
+ {
2461
+ type: StageHeaderChipType.Entry,
2462
+ count: 1,
2463
+ tooltip: 'Entry rules',
2464
+ onClick: ()=>window.alert('Open entry rules panel')
2465
+ },
2466
+ {
2467
+ type: StageHeaderChipType.Exit,
2468
+ count: 3,
2469
+ tooltip: 'Exit rules',
2470
+ onClick: ()=>window.alert('Open exit rules panel')
2471
+ }
2472
+ ]
2473
+ },
2474
+ execution: {
2475
+ stageStatus: {
2476
+ status: 'Completed',
2477
+ label: 'Completed',
2478
+ duration: 'SLA: 4h'
2479
+ }
2480
+ }
2481
+ }
2482
+ },
2483
+ {
2484
+ id: '7',
2485
+ type: 'stage',
2486
+ position: {
2487
+ x: 752,
2488
+ y: 400
2489
+ },
2490
+ width: 304,
2491
+ data: {
2492
+ stageDetails: {
2493
+ label: 'ReadOnly + in progress + chips',
2494
+ isReadOnly: true,
2495
+ tasks: [
2496
+ [
2497
+ {
2498
+ id: 't12',
2499
+ label: 'Verify applicant identity',
2500
+ icon: /*#__PURE__*/ jsx(VerificationIcon, {})
2501
+ }
2502
+ ],
2503
+ [
2504
+ {
2505
+ id: 't13',
2506
+ label: 'Pull credit report',
2507
+ icon: /*#__PURE__*/ jsx(DocumentIcon, {})
2508
+ }
2509
+ ]
2510
+ ],
2511
+ headerChips: [
2512
+ {
2513
+ type: StageHeaderChipType.Entry,
2514
+ count: 2,
2515
+ tooltip: 'Entry rules',
2516
+ onClick: ()=>window.alert('Open entry rules panel')
2517
+ },
2518
+ {
2519
+ type: StageHeaderChipType.Exit,
2520
+ count: 1,
2521
+ tooltip: 'Exit rules',
2522
+ onClick: ()=>window.alert('Open exit rules panel')
2523
+ }
2524
+ ]
2525
+ },
2526
+ execution: {
2527
+ stageStatus: {
2528
+ status: 'InProgress',
2529
+ label: 'In progress',
2530
+ duration: 'SLA: 2h'
2531
+ }
2532
+ }
2533
+ }
2398
2534
  }
2399
2535
  ]
2400
2536
  },
@@ -17,7 +17,7 @@ export interface ApToolCallProps extends React.HTMLAttributes<HTMLDivElement> {
17
17
  span?: ITreeNode<TSpan>;
18
18
  toolName?: string;
19
19
  input?: Record<string, any>;
20
- output?: Record<string, any>;
20
+ output?: Record<string, any> | string;
21
21
  isError?: boolean;
22
22
  startTime?: string;
23
23
  endTime?: string;
@@ -28,7 +28,7 @@ export interface ToolCallSectionProps {
28
28
  title: string;
29
29
  isExpanded: boolean | undefined;
30
30
  onToggle: () => void;
31
- data?: Record<string, unknown>;
31
+ data?: Record<string, unknown> | string;
32
32
  children?: React.ReactNode;
33
33
  }
34
34
  export interface NestedValueProps {
@@ -1 +1 @@
1
- {"version":3,"file":"ApToolCall.types.d.ts","sourceRoot":"","sources":["../../../../src/material/components/ap-tool-call/ApToolCall.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,KAAK;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,OAAO,CAAC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC;CAC3C;AAED,MAAM,WAAW,SAAS,CAAC,CAAC,GAAG,GAAG;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,CAAC,CAAC;IACR,QAAQ,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAE3E,IAAI,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC;IAExB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAE5B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAE7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,OAAO,CAAC,EAAE,MAAM,CAAC;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,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC;IAExB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAE5B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC;IAEtC,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,QAAQ,GAAG,WAAW,GAAG,QAAQ,GAAG,YAAY,CAAC;AAE7F,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC;IACxC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -143,8 +143,20 @@ const TaskUrlLink = (0, material_namespaceObject.styled)('a')({
143
143
  outlineOffset: '1px'
144
144
  }
145
145
  });
146
+ const StringContent = (0, material_namespaceObject.styled)('div')({
147
+ backgroundColor: 'var(--color-background-secondary)',
148
+ padding: `${apollo_core_default().Spacing.SpacingXs} ${apollo_core_default().Spacing.SpacingS}`,
149
+ margin: `${apollo_core_default().Spacing.SpacingXs} 0`,
150
+ borderRadius: apollo_core_default().Spacing.SpacingMicro,
151
+ fontSize: apollo_core_default().FontFamily.FontSSize,
152
+ whiteSpace: 'pre-wrap',
153
+ wordBreak: 'break-word',
154
+ maxHeight: '180px',
155
+ overflowY: 'auto'
156
+ });
146
157
  const ToolCallSection = ({ title, isExpanded, onToggle, data, children })=>{
147
- const showKeyValuePairs = data && Object.keys(data).length > 0;
158
+ const isStringData = 'string' == typeof data;
159
+ const showKeyValuePairs = !isStringData && data && Object.keys(data).length > 0;
148
160
  const handleKeyDown = (event)=>{
149
161
  if ('Enter' === event.key || ' ' === event.key) {
150
162
  event.preventDefault();
@@ -170,6 +182,9 @@ const ToolCallSection = ({ title, isExpanded, onToggle, data, children })=>{
170
182
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(SectionContent, {
171
183
  expanded: isExpanded,
172
184
  children: [
185
+ isStringData && data && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(StringContent, {
186
+ children: data
187
+ }),
173
188
  showKeyValuePairs && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(KeyValueContainer, {
174
189
  children: Object.entries(data).map(([key, value])=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(KeyValuePair, {
175
190
  children: 'taskUrls' === key && Array.isArray(value) ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
@@ -1 +1 @@
1
- {"version":3,"file":"ToolCallSection.d.ts","sourceRoot":"","sources":["../../../../src/material/components/ap-tool-call/ToolCallSection.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAiH/D,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAmE1D,CAAC"}
1
+ {"version":3,"file":"ToolCallSection.d.ts","sourceRoot":"","sources":["../../../../src/material/components/ap-tool-call/ToolCallSection.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AA6H/D,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAqE1D,CAAC"}
@@ -102,8 +102,20 @@ const TaskUrlLink = styled('a')({
102
102
  outlineOffset: '1px'
103
103
  }
104
104
  });
105
+ const StringContent = styled('div')({
106
+ backgroundColor: 'var(--color-background-secondary)',
107
+ padding: `${apollo_core.Spacing.SpacingXs} ${apollo_core.Spacing.SpacingS}`,
108
+ margin: `${apollo_core.Spacing.SpacingXs} 0`,
109
+ borderRadius: apollo_core.Spacing.SpacingMicro,
110
+ fontSize: apollo_core.FontFamily.FontSSize,
111
+ whiteSpace: 'pre-wrap',
112
+ wordBreak: 'break-word',
113
+ maxHeight: '180px',
114
+ overflowY: 'auto'
115
+ });
105
116
  const ToolCallSection = ({ title, isExpanded, onToggle, data, children })=>{
106
- const showKeyValuePairs = data && Object.keys(data).length > 0;
117
+ const isStringData = 'string' == typeof data;
118
+ const showKeyValuePairs = !isStringData && data && Object.keys(data).length > 0;
107
119
  const handleKeyDown = (event)=>{
108
120
  if ('Enter' === event.key || ' ' === event.key) {
109
121
  event.preventDefault();
@@ -129,6 +141,9 @@ const ToolCallSection = ({ title, isExpanded, onToggle, data, children })=>{
129
141
  /*#__PURE__*/ jsxs(SectionContent, {
130
142
  expanded: isExpanded,
131
143
  children: [
144
+ isStringData && data && /*#__PURE__*/ jsx(StringContent, {
145
+ children: data
146
+ }),
132
147
  showKeyValuePairs && /*#__PURE__*/ jsx(KeyValueContainer, {
133
148
  children: Object.entries(data).map(([key, value])=>/*#__PURE__*/ jsx(KeyValuePair, {
134
149
  children: 'taskUrls' === key && Array.isArray(value) ? /*#__PURE__*/ jsxs(Fragment, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-react",
3
- "version": "3.65.2",
3
+ "version": "3.65.4",
4
4
  "description": "Apollo Design System - React component library with Material UI theming",
5
5
  "repository": {
6
6
  "type": "git",
@@ -200,8 +200,8 @@
200
200
  "use-sync-external-store": "^1.2.0",
201
201
  "zod": "^4.3.5",
202
202
  "zustand": "^5.0.9",
203
- "@uipath/apollo-core": "5.9.0",
204
- "@uipath/apollo-wind": "2.0.0"
203
+ "@uipath/apollo-wind": "2.0.0",
204
+ "@uipath/apollo-core": "5.9.0"
205
205
  },
206
206
  "devDependencies": {
207
207
  "@lingui/cli": "^5.6.1",