@uipath/apollo-react 6.23.0 → 6.23.1

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 (35) hide show
  1. package/README.md +2 -1
  2. package/dist/canvas/components/JsonTree/JsonTree.cjs +1 -1
  3. package/dist/canvas/components/JsonTree/JsonTree.js +1 -1
  4. package/dist/canvas/components/JsonTree/JsonTreeRow.cjs +16 -11
  5. package/dist/canvas/components/JsonTree/JsonTreeRow.d.ts.map +1 -1
  6. package/dist/canvas/components/JsonTree/JsonTreeRow.js +16 -11
  7. package/dist/canvas/components/JsonTree/NodeKey.cjs +1 -1
  8. package/dist/canvas/components/JsonTree/NodeKey.d.ts.map +1 -1
  9. package/dist/canvas/components/JsonTree/NodeKey.js +1 -1
  10. package/dist/canvas/components/JsonTree/ScalarValueCell.cjs +2 -2
  11. package/dist/canvas/components/JsonTree/ScalarValueCell.d.ts.map +1 -1
  12. package/dist/canvas/components/JsonTree/ScalarValueCell.js +2 -2
  13. package/dist/canvas/components/JsonTree/buildJsonTree.cjs +2 -2
  14. package/dist/canvas/components/JsonTree/buildJsonTree.d.ts +3 -1
  15. package/dist/canvas/components/JsonTree/buildJsonTree.d.ts.map +1 -1
  16. package/dist/canvas/components/JsonTree/buildJsonTree.js +2 -2
  17. package/dist/canvas/components/NodeIOView/PanelTitleBar.cjs +5 -7
  18. package/dist/canvas/components/NodeIOView/PanelTitleBar.d.ts.map +1 -1
  19. package/dist/canvas/components/NodeIOView/PanelTitleBar.js +5 -7
  20. package/dist/canvas/controls/NodeOutputModeSelect/NodeOutputModeSelect.cjs +6 -18
  21. package/dist/canvas/controls/NodeOutputModeSelect/NodeOutputModeSelect.d.ts.map +1 -1
  22. package/dist/canvas/controls/NodeOutputModeSelect/NodeOutputModeSelect.js +8 -20
  23. package/dist/canvas/locales/en.cjs +1 -1
  24. package/dist/canvas/locales/en.d.ts.map +1 -1
  25. package/dist/canvas/locales/en.js +1 -1
  26. package/dist/canvas/styles/tailwind.canvas.css +1 -1
  27. package/dist/canvas/utils/nodePropsEqual.cjs +1 -1
  28. package/dist/canvas/utils/nodePropsEqual.js +1 -1
  29. package/dist/core/index.cjs +5 -5
  30. package/dist/core/index.d.ts +1 -1
  31. package/dist/core/index.d.ts.map +1 -1
  32. package/dist/core/index.js +1 -1
  33. package/dist/core/tokens/jss/palette.cjs +1697 -3442
  34. package/dist/core/tokens/jss/palette.js +1688 -1
  35. package/package.json +4 -3
package/README.md CHANGED
@@ -237,7 +237,8 @@ This approach allows you to integrate Apollo design tokens into existing Materia
237
237
 
238
238
  ## Icons
239
239
 
240
- Access to 1300+ Apollo icons as React components:
240
+ Access to 1300+ Apollo icons as React components, generated from
241
+ [`@uipath/apollo-ui-icons`](../apollo-ui-icons):
241
242
 
242
243
  ```typescript
243
244
  import {
@@ -147,7 +147,7 @@ function JsonTree({ nodes, collapsed = {}, onToggleCollapsed, query, filterPredi
147
147
  depth: depth
148
148
  }, node.path)),
149
149
  0 === rows.length && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
150
- className: "py-4 text-center text-xs text-foreground-subtle",
150
+ className: "p-4 text-center text-xs text-foreground-subtle",
151
151
  children: resolvedEmptyMessage
152
152
  })
153
153
  ]
@@ -119,7 +119,7 @@ function JsonTree({ nodes, collapsed = {}, onToggleCollapsed, query, filterPredi
119
119
  depth: depth
120
120
  }, node.path)),
121
121
  0 === rows.length && /*#__PURE__*/ jsx("span", {
122
- className: "py-4 text-center text-xs text-foreground-subtle",
122
+ className: "p-4 text-center text-xs text-foreground-subtle",
123
123
  children: resolvedEmptyMessage
124
124
  })
125
125
  ]
@@ -41,7 +41,7 @@ const external_NodeKey_cjs_namespaceObject = require("./NodeKey.cjs");
41
41
  const external_RowActions_cjs_namespaceObject = require("./RowActions.cjs");
42
42
  const external_ScalarValueCell_cjs_namespaceObject = require("./ScalarValueCell.cjs");
43
43
  const ROW_CLASS = 'group flex min-h-7 cursor-default items-center gap-1.5 py-1 pr-1 transition hover:bg-surface-overlay';
44
- const CUSTOM_CELL_CLASS = 'flex min-w-0 flex-1 items-center overflow-hidden';
44
+ const VALUE_CELL_CLASS = 'flex min-w-8 flex-1 items-center';
45
45
  function rowIndent(depth, extra = 0) {
46
46
  return {
47
47
  paddingLeft: `${6 + 12 * depth + extra}px`
@@ -253,7 +253,7 @@ function JsonTreeRow({ node, depth }) {
253
253
  })
254
254
  }),
255
255
  null != customCell && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
256
- className: CUSTOM_CELL_CLASS,
256
+ className: VALUE_CELL_CLASS,
257
257
  children: customCell
258
258
  }),
259
259
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_DecorationChip_cjs_namespaceObject.DecorationChip, {
@@ -268,7 +268,7 @@ function JsonTreeRow({ node, depth }) {
268
268
  }) : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
269
269
  children: [
270
270
  !wrapped && (null != customCell ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
271
- className: CUSTOM_CELL_CLASS,
271
+ className: VALUE_CELL_CLASS,
272
272
  children: customCell
273
273
  }) : !(readOnly && void 0 === node.value || isTemplate) && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
274
274
  children: [
@@ -276,13 +276,16 @@ function JsonTreeRow({ node, depth }) {
276
276
  className: "shrink-0 font-mono text-xs text-foreground-subtle",
277
277
  children: "="
278
278
  }),
279
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_ScalarValueCell_cjs_namespaceObject.ScalarValueCell, {
280
- node: node,
281
- readOnly: readOnly,
282
- editing: editingPath === node.path,
283
- onStartEdit: (n)=>setEditingPath(n.path),
284
- onStopEdit: ()=>setEditingPath(null),
285
- onEdit: canEdit ? commitEdit : void 0
279
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
280
+ className: (0, apollo_wind_namespaceObject.cn)(VALUE_CELL_CLASS, 'shrink-3'),
281
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_ScalarValueCell_cjs_namespaceObject.ScalarValueCell, {
282
+ node: node,
283
+ readOnly: readOnly,
284
+ editing: editingPath === node.path,
285
+ onStartEdit: (n)=>setEditingPath(n.path),
286
+ onStopEdit: ()=>setEditingPath(null),
287
+ onEdit: canEdit ? commitEdit : void 0
288
+ })
286
289
  })
287
290
  ]
288
291
  })),
@@ -328,7 +331,9 @@ function JsonTreeRow({ node, depth }) {
328
331
  message: 'Click to edit'
329
332
  }) : void 0,
330
333
  className: (0, apollo_wind_namespaceObject.cn)('w-full whitespace-pre-wrap break-all rounded text-left font-mono text-xs leading-5', canEdit && 'cursor-text', (0, external_ScalarValueCell_cjs_namespaceObject.valueColorClass)(node.type, node.value)),
331
- children: 'string' == typeof node.value ? node.value : (0, external_buildJsonTree_cjs_namespaceObject.formatLeafValue)(node.type, node.value)
334
+ children: (0, external_buildJsonTree_cjs_namespaceObject.formatLeafValue)(node.type, node.value, {
335
+ preserveStringWhitespace: true
336
+ })
332
337
  })
333
338
  }),
334
339
  isContainer && jsonEditingPath === node.path && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
@@ -1 +1 @@
1
- {"version":3,"file":"JsonTreeRow.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/JsonTree/JsonTreeRow.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,SAAS,EACT,cAAc,EACd,YAAY,EACZ,kBAAkB,EAClB,SAAS,EAET,mBAAmB,EACnB,cAAc,EACd,gBAAgB,EAChB,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAiC1B,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;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E,GAAG,IAAI,CAAC;IACzD,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9C,kBAAkB,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAClD,QAAQ,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IACvC,SAAS,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IACxC,aAAa,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IAC5C,UAAU,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,SAAS,GAAG,SAAS,KAAK,IAAI,CAAC;CACxE;AAID,eAAO,MAAM,0BAA0B,0DAA8B,CAAC;AAgBtE,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,2CA+WjF"}
@@ -12,7 +12,7 @@ import { NodeKey } from "./NodeKey.js";
12
12
  import { RowActions } from "./RowActions.js";
13
13
  import { ScalarValueCell, valueColorClass } from "./ScalarValueCell.js";
14
14
  const ROW_CLASS = 'group flex min-h-7 cursor-default items-center gap-1.5 py-1 pr-1 transition hover:bg-surface-overlay';
15
- const CUSTOM_CELL_CLASS = 'flex min-w-0 flex-1 items-center overflow-hidden';
15
+ const VALUE_CELL_CLASS = 'flex min-w-8 flex-1 items-center';
16
16
  function rowIndent(depth, extra = 0) {
17
17
  return {
18
18
  paddingLeft: `${6 + 12 * depth + extra}px`
@@ -224,7 +224,7 @@ function JsonTreeRow({ node, depth }) {
224
224
  })
225
225
  }),
226
226
  null != customCell && /*#__PURE__*/ jsx("span", {
227
- className: CUSTOM_CELL_CLASS,
227
+ className: VALUE_CELL_CLASS,
228
228
  children: customCell
229
229
  }),
230
230
  /*#__PURE__*/ jsx(DecorationChip, {
@@ -239,7 +239,7 @@ function JsonTreeRow({ node, depth }) {
239
239
  }) : /*#__PURE__*/ jsxs(Fragment, {
240
240
  children: [
241
241
  !wrapped && (null != customCell ? /*#__PURE__*/ jsx("span", {
242
- className: CUSTOM_CELL_CLASS,
242
+ className: VALUE_CELL_CLASS,
243
243
  children: customCell
244
244
  }) : !(readOnly && void 0 === node.value || isTemplate) && /*#__PURE__*/ jsxs(Fragment, {
245
245
  children: [
@@ -247,13 +247,16 @@ function JsonTreeRow({ node, depth }) {
247
247
  className: "shrink-0 font-mono text-xs text-foreground-subtle",
248
248
  children: "="
249
249
  }),
250
- /*#__PURE__*/ jsx(ScalarValueCell, {
251
- node: node,
252
- readOnly: readOnly,
253
- editing: editingPath === node.path,
254
- onStartEdit: (n)=>setEditingPath(n.path),
255
- onStopEdit: ()=>setEditingPath(null),
256
- onEdit: canEdit ? commitEdit : void 0
250
+ /*#__PURE__*/ jsx("span", {
251
+ className: cn(VALUE_CELL_CLASS, 'shrink-3'),
252
+ children: /*#__PURE__*/ jsx(ScalarValueCell, {
253
+ node: node,
254
+ readOnly: readOnly,
255
+ editing: editingPath === node.path,
256
+ onStartEdit: (n)=>setEditingPath(n.path),
257
+ onStopEdit: ()=>setEditingPath(null),
258
+ onEdit: canEdit ? commitEdit : void 0
259
+ })
257
260
  })
258
261
  ]
259
262
  })),
@@ -299,7 +302,9 @@ function JsonTreeRow({ node, depth }) {
299
302
  message: 'Click to edit'
300
303
  }) : void 0,
301
304
  className: cn('w-full whitespace-pre-wrap break-all rounded text-left font-mono text-xs leading-5', canEdit && 'cursor-text', valueColorClass(node.type, node.value)),
302
- children: 'string' == typeof node.value ? node.value : formatLeafValue(node.type, node.value)
305
+ children: formatLeafValue(node.type, node.value, {
306
+ preserveStringWhitespace: true
307
+ })
303
308
  })
304
309
  }),
305
310
  isContainer && jsonEditingPath === node.path && /*#__PURE__*/ jsx("div", {
@@ -34,7 +34,7 @@ function NodeKey({ node, label, displayPath, onCopyPath, className }) {
34
34
  const { _ } = (0, index_cjs_namespaceObject.useSafeLingui)();
35
35
  const text = label ?? node.key;
36
36
  const copyPathText = displayPath ?? node.path;
37
- const keyClass = (0, apollo_wind_namespaceObject.cn)('max-w-[45%] shrink-0 truncate text-xs text-foreground', null != label ? 'font-medium' : 'font-mono', void 0 === node.value && 'text-foreground-muted', className);
37
+ const keyClass = (0, apollo_wind_namespaceObject.cn)('min-w-4 max-w-[45%] truncate text-xs text-foreground', null != label ? 'font-medium' : 'font-mono', void 0 === node.value && 'text-foreground-muted', className);
38
38
  if (!onCopyPath) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
39
39
  className: keyClass,
40
40
  children: text
@@ -1 +1 @@
1
- {"version":3,"file":"NodeKey.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/JsonTree/NodeKey.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,YAAY,CAAC;IAEnB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAOD,wBAAgB,OAAO,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,YAAY,2CAuDxF"}
1
+ {"version":3,"file":"NodeKey.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/JsonTree/NodeKey.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,YAAY,CAAC;IAEnB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAOD,wBAAgB,OAAO,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,YAAY,2CA4DxF"}
@@ -6,7 +6,7 @@ function NodeKey({ node, label, displayPath, onCopyPath, className }) {
6
6
  const { _ } = useSafeLingui();
7
7
  const text = label ?? node.key;
8
8
  const copyPathText = displayPath ?? node.path;
9
- const keyClass = cn('max-w-[45%] shrink-0 truncate text-xs text-foreground', null != label ? 'font-medium' : 'font-mono', void 0 === node.value && 'text-foreground-muted', className);
9
+ const keyClass = cn('min-w-4 max-w-[45%] truncate text-xs text-foreground', null != label ? 'font-medium' : 'font-mono', void 0 === node.value && 'text-foreground-muted', className);
10
10
  if (!onCopyPath) return /*#__PURE__*/ jsx("span", {
11
11
  className: keyClass,
12
12
  children: text
@@ -39,7 +39,7 @@ function valueColorClass(type, value) {
39
39
  if ('boolean' === type) return value ? 'text-success' : 'text-error';
40
40
  return 'text-foreground';
41
41
  }
42
- const VALUE_CELL_CLASS = 'min-w-0 shrink-3 truncate rounded font-mono text-xs transition hover:bg-surface-raised';
42
+ const VALUE_CELL_CLASS = 'min-w-0 truncate rounded font-mono text-xs transition hover:bg-surface-raised';
43
43
  function ScalarValueCell({ node, readOnly, editing, onStartEdit, onStopEdit, onEdit }) {
44
44
  const { _ } = (0, index_cjs_namespaceObject.useSafeLingui)();
45
45
  const missing = void 0 === node.value;
@@ -59,7 +59,7 @@ function ScalarValueCell({ node, readOnly, editing, onStartEdit, onStopEdit, onE
59
59
  onCancel: onStopEdit
60
60
  });
61
61
  if (readOnly || !onEdit) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
62
- className: (0, apollo_wind_namespaceObject.cn)('min-w-0 shrink-3 truncate font-mono text-xs', colorClass),
62
+ className: (0, apollo_wind_namespaceObject.cn)('min-w-0 truncate font-mono text-xs', colorClass),
63
63
  children: display
64
64
  });
65
65
  const editTitle = _({
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarValueCell.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/JsonTree/ScalarValueCell.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGlF,wBAAgB,eAAe,CAAC,IAAI,EAAE,gBAAgB,EAAE,KAAK,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,CAM5F;AAOD,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,YAAY,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IAC1C,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;CACzD;AAQD,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,WAAW,EACX,UAAU,EACV,MAAM,GACP,EAAE,oBAAoB,2CAsHtB"}
1
+ {"version":3,"file":"ScalarValueCell.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/JsonTree/ScalarValueCell.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGlF,wBAAgB,eAAe,CAAC,IAAI,EAAE,gBAAgB,EAAE,KAAK,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,CAM5F;AASD,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,YAAY,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IAC1C,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;CACzD;AAQD,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,WAAW,EACX,UAAU,EACV,MAAM,GACP,EAAE,oBAAoB,2CAkHtB"}
@@ -10,7 +10,7 @@ function valueColorClass(type, value) {
10
10
  if ('boolean' === type) return value ? 'text-success' : 'text-error';
11
11
  return 'text-foreground';
12
12
  }
13
- const VALUE_CELL_CLASS = 'min-w-0 shrink-3 truncate rounded font-mono text-xs transition hover:bg-surface-raised';
13
+ const VALUE_CELL_CLASS = 'min-w-0 truncate rounded font-mono text-xs transition hover:bg-surface-raised';
14
14
  function ScalarValueCell({ node, readOnly, editing, onStartEdit, onStopEdit, onEdit }) {
15
15
  const { _ } = useSafeLingui();
16
16
  const missing = void 0 === node.value;
@@ -30,7 +30,7 @@ function ScalarValueCell({ node, readOnly, editing, onStartEdit, onStopEdit, onE
30
30
  onCancel: onStopEdit
31
31
  });
32
32
  if (readOnly || !onEdit) return /*#__PURE__*/ jsx("span", {
33
- className: cn('min-w-0 shrink-3 truncate font-mono text-xs', colorClass),
33
+ className: cn('min-w-0 truncate font-mono text-xs', colorClass),
34
34
  children: display
35
35
  });
36
36
  const editTitle = _({
@@ -285,9 +285,9 @@ function removeValueAtPath(root, segments) {
285
285
  [head]: child
286
286
  };
287
287
  }
288
- function formatLeafValue(type, value) {
288
+ function formatLeafValue(type, value, options) {
289
289
  if (null == value) return 'null';
290
- if ('string' === type) return JSON.stringify(value);
290
+ if ('string' === type) return options?.preserveStringWhitespace ? `"${value}"` : JSON.stringify(value);
291
291
  return String(value);
292
292
  }
293
293
  exports.appendPathSegment = __webpack_exports__.appendPathSegment;
@@ -33,5 +33,7 @@ export declare function collectContainerPaths(nodes: JsonTreeNode[], depth?: num
33
33
  export declare function getValueAtPath(root: JsonValue | undefined, segments: PathSegment[]): JsonValue | undefined;
34
34
  export declare function setValueAtPath(root: JsonValue | undefined, segments: PathSegment[], value: JsonValue): JsonValue;
35
35
  export declare function removeValueAtPath(root: JsonValue | undefined, segments: PathSegment[]): JsonValue | undefined;
36
- export declare function formatLeafValue(type: JsonTreeNodeType, value: JsonValue | undefined): string;
36
+ export declare function formatLeafValue(type: JsonTreeNodeType, value: JsonValue | undefined, options?: {
37
+ preserveStringWhitespace?: boolean;
38
+ }): string;
37
39
  //# sourceMappingURL=buildJsonTree.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"buildJsonTree.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/JsonTree/buildJsonTree.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,UAAU,EACV,UAAU,EAEV,YAAY,EACZ,gBAAgB,EAChB,SAAS,EACT,WAAW,EACZ,MAAM,kBAAkB,CAAC;AAI1B,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,GAAG,KAAK,IAAI,UAAU,CAE9E;AAGD,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,GAAG,MAAM,CAI5E;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,SAAS,GAAG,gBAAgB,CAajE;AAQD,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,UAAU,GAAG,SAAS,GAAG,gBAAgB,CASlF;AAuJD,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE,UAAU,CAAC;IAEpB,KAAK,CAAC,EAAE,aAAa,CAAC;IAEtB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AASD,wBAAgB,aAAa,CAAC,OAAO,EAAE,oBAAoB,GAAG,YAAY,EAAE,CAc3E;AASD,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO,CAEnE;AAED,MAAM,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M,CAAC;IAKf,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,OAAO,CAAC;IAElD,YAAY,CAAC,EAAE,gBAAgB,CAAC;CACjC;AAGD,wBAAgB,eAAe,CAC7B,KAAK,EAAE,YAAY,EAAE,EACrB,OAAO,GAAE,cAAmB,EAC5B,KAAK,SAAI,GACR,eAAe,EAAE,CAsCnB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAGD,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,YAAY,EAAE,EAAE,KAAK,SAAI,GAAG,aAAa,EAAE,CASvF;AAED,wBAAgB,cAAc,CAC5B,IAAI,EAAE,SAAS,GAAG,SAAS,EAC3B,QAAQ,EAAE,WAAW,EAAE,GACtB,SAAS,GAAG,SAAS,CAcvB;AAOD,wBAAgB,cAAc,CAC5B,IAAI,EAAE,SAAS,GAAG,SAAS,EAC3B,QAAQ,EAAE,WAAW,EAAE,EACvB,KAAK,EAAE,SAAS,GACf,SAAS,CAoBX;AAOD,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,SAAS,GAAG,SAAS,EAC3B,QAAQ,EAAE,WAAW,EAAE,GACtB,SAAS,GAAG,SAAS,CAyBvB;AAGD,wBAAgB,eAAe,CAC7B,IAAI,EAAE,gBAAgB,EACtB,KAAK,EAAE,SAAS,GAAG,SAAS,EAC5B,OAAO,CAAC,EAAE;IAAE,wBAAwB,CAAC,EAAE,OAAO,CAAA;CAAE,GAC/C,MAAM,CAMR"}
@@ -246,9 +246,9 @@ function removeValueAtPath(root, segments) {
246
246
  [head]: child
247
247
  };
248
248
  }
249
- function formatLeafValue(type, value) {
249
+ function formatLeafValue(type, value, options) {
250
250
  if (null == value) return 'null';
251
- if ('string' === type) return JSON.stringify(value);
251
+ if ('string' === type) return options?.preserveStringWhitespace ? `"${value}"` : JSON.stringify(value);
252
252
  return String(value);
253
253
  }
254
254
  export { appendPathSegment, buildJsonTree, collectContainerPaths, flattenJsonTree, formatLeafValue, getValueAtPath, inferValueType, isArrayItemTemplateRoot, isJsonObject, removeValueAtPath, schemaDisplayType, setValueAtPath };
@@ -34,36 +34,34 @@ function PanelTitleBar({ icon, title, badge, trailing, className }) {
34
34
  className: (0, apollo_wind_namespaceObject.cn)('flex items-center justify-between gap-2', className),
35
35
  children: [
36
36
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
37
- className: "flex min-w-0 items-center gap-2",
37
+ className: "flex min-w-16 flex-1 items-center gap-2",
38
38
  children: [
39
39
  icon && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
40
- className: "shrink-0 text-foreground-subtle [&>svg]:size-[13px]",
40
+ className: "shrink-0 text-foreground-subtle [&>svg]:size-3.25",
41
41
  children: icon
42
42
  }),
43
43
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_CanvasTooltip_cjs_namespaceObject.CanvasTooltip, {
44
44
  smartTooltip: true,
45
45
  delay: true,
46
- placement: "bottom",
47
46
  content: title,
48
47
  children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
49
- className: "truncate text-xs font-medium text-foreground",
48
+ className: "min-w-2 truncate text-xs font-medium text-foreground",
50
49
  children: title
51
50
  })
52
51
  }),
53
52
  badge && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_CanvasTooltip_cjs_namespaceObject.CanvasTooltip, {
54
53
  smartTooltip: true,
55
54
  delay: true,
56
- placement: "bottom",
57
55
  content: badge,
58
56
  children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
59
- className: "min-w-0 truncate font-mono text-[10px] text-foreground-muted",
57
+ className: "min-w-2 shrink-8 truncate font-mono text-[10px] text-foreground-muted",
60
58
  children: badge
61
59
  })
62
60
  })
63
61
  ]
64
62
  }),
65
63
  trailing && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
66
- className: "shrink-0",
64
+ className: "flex min-w-12 items-center justify-end",
67
65
  children: trailing
68
66
  })
69
67
  ]
@@ -1 +1 @@
1
- {"version":3,"file":"PanelTitleBar.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/NodeIOView/PanelTitleBar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,WAAW,kBAAkB;IAEjC,IAAI,CAAC,EAAE,SAAS,CAAC;IAEjB,KAAK,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAGD,wBAAgB,aAAa,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,kBAAkB,2CAqB5F"}
1
+ {"version":3,"file":"PanelTitleBar.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/NodeIOView/PanelTitleBar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,WAAW,kBAAkB;IAEjC,IAAI,CAAC,EAAE,SAAS,CAAC;IAEjB,KAAK,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAGD,wBAAgB,aAAa,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,kBAAkB,2CAmB5F"}
@@ -6,36 +6,34 @@ function PanelTitleBar({ icon, title, badge, trailing, className }) {
6
6
  className: cn('flex items-center justify-between gap-2', className),
7
7
  children: [
8
8
  /*#__PURE__*/ jsxs("div", {
9
- className: "flex min-w-0 items-center gap-2",
9
+ className: "flex min-w-16 flex-1 items-center gap-2",
10
10
  children: [
11
11
  icon && /*#__PURE__*/ jsx("span", {
12
- className: "shrink-0 text-foreground-subtle [&>svg]:size-[13px]",
12
+ className: "shrink-0 text-foreground-subtle [&>svg]:size-3.25",
13
13
  children: icon
14
14
  }),
15
15
  /*#__PURE__*/ jsx(CanvasTooltip, {
16
16
  smartTooltip: true,
17
17
  delay: true,
18
- placement: "bottom",
19
18
  content: title,
20
19
  children: /*#__PURE__*/ jsx("span", {
21
- className: "truncate text-xs font-medium text-foreground",
20
+ className: "min-w-2 truncate text-xs font-medium text-foreground",
22
21
  children: title
23
22
  })
24
23
  }),
25
24
  badge && /*#__PURE__*/ jsx(CanvasTooltip, {
26
25
  smartTooltip: true,
27
26
  delay: true,
28
- placement: "bottom",
29
27
  content: badge,
30
28
  children: /*#__PURE__*/ jsx("span", {
31
- className: "min-w-0 truncate font-mono text-[10px] text-foreground-muted",
29
+ className: "min-w-2 shrink-8 truncate font-mono text-[10px] text-foreground-muted",
32
30
  children: badge
33
31
  })
34
32
  })
35
33
  ]
36
34
  }),
37
35
  trailing && /*#__PURE__*/ jsx("div", {
38
- className: "shrink-0",
36
+ className: "flex min-w-12 items-center justify-end",
39
37
  children: trailing
40
38
  })
41
39
  ]
@@ -69,18 +69,6 @@ const MODE_DEFS = [
69
69
  id: "canvas.node_mode_select.simulated_description",
70
70
  message: 'Generate a response dynamically using an LLM'
71
71
  }
72
- },
73
- {
74
- value: 'disabled',
75
- icon: external_lucide_react_namespaceObject.CircleOff,
76
- label: {
77
- id: 'canvas.node_mode_select.disabled_label',
78
- message: 'Skip node'
79
- },
80
- description: {
81
- id: "canvas.node_mode_select.disabled_description",
82
- message: "Don't execute this node"
83
- }
84
72
  }
85
73
  ];
86
74
  const DEFAULT_NODE_OUTPUT_MODES = MODE_DEFS.map((mode)=>({
@@ -112,24 +100,24 @@ function NodeOutputModeSelect({ value, onChange, options, disabled = false, clas
112
100
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(apollo_wind_namespaceObject.DropdownMenuTrigger, {
113
101
  asChild: true,
114
102
  disabled: disabled,
115
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("button", {
116
- type: "button",
103
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(apollo_wind_namespaceObject.Button, {
104
+ variant: "ghost",
105
+ size: "3xs",
117
106
  disabled: disabled,
118
107
  "aria-label": _({
119
108
  id: 'canvas.node_mode_select.node_mode',
120
- message: 'Node mode'
109
+ message: 'Node output mode'
121
110
  }),
122
- className: (0, apollo_wind_namespaceObject.cn)('flex cursor-pointer items-center gap-1.5 rounded-full border border-border px-2 py-0.5 text-[11px] font-medium text-foreground-muted transition hover:bg-surface-overlay hover:text-foreground', disabled && 'cursor-default opacity-60 hover:bg-transparent hover:text-foreground-muted', className),
111
+ className: (0, apollo_wind_namespaceObject.cn)('min-w-12 gap-1.5 rounded-full border border-border px-2 text-[11px] font-medium text-foreground-muted hover:bg-surface-overlay hover:text-foreground [&_svg]:size-2.5', className),
123
112
  children: [
124
113
  CurrentIcon && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(CurrentIcon, {
125
- size: 10,
126
114
  className: "text-foreground-subtle"
127
115
  }),
128
116
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
117
+ className: "min-w-0 flex-1 truncate shrink-0",
129
118
  children: current?.label
130
119
  }),
131
120
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronDown, {
132
- size: 10,
133
121
  className: "text-foreground-subtle"
134
122
  })
135
123
  ]
@@ -1 +1 @@
1
- {"version":3,"file":"NodeOutputModeSelect.d.ts","sourceRoot":"","sources":["../../../../src/canvas/controls/NodeOutputModeSelect/NodeOutputModeSelect.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAK/C,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB;AAiDD,eAAO,MAAM,yBAAyB,EAAE,oBAAoB,EAKzD,CAAC;AAGJ,wBAAgB,yBAAyB,IAAI,oBAAoB,EAAE,CAYlE;AAED,MAAM,WAAW,yBAAyB;IAExC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAElC,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAGD,wBAAgB,oBAAoB,CAAC,EACnC,KAAK,EACL,QAAQ,EACR,OAAO,EACP,QAAgB,EAChB,SAAS,GACV,EAAE,yBAAyB,2CAiE3B"}
1
+ {"version":3,"file":"NodeOutputModeSelect.d.ts","sourceRoot":"","sources":["../../../../src/canvas/controls/NodeOutputModeSelect/NodeOutputModeSelect.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAK/C,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB;AAwCD,eAAO,MAAM,yBAAyB,EAAE,oBAAoB,EAKzD,CAAC;AAGJ,wBAAgB,yBAAyB,IAAI,oBAAoB,EAAE,CAYlE;AAED,MAAM,WAAW,yBAAyB;IAExC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAElC,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAGD,wBAAgB,oBAAoB,CAAC,EACnC,KAAK,EACL,QAAQ,EACR,OAAO,EACP,QAAgB,EAChB,SAAS,GACV,EAAE,yBAAyB,2CAgE3B"}
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { DropdownMenu, DropdownMenuContent, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuTrigger, cn } from "@uipath/apollo-wind";
3
- import { ChevronDown, CircleDot, CircleOff, FileBracesCorner, Sparkles } from "lucide-react";
2
+ import { Button, DropdownMenu, DropdownMenuContent, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuTrigger, cn } from "@uipath/apollo-wind";
3
+ import { ChevronDown, CircleDot, FileBracesCorner, Sparkles } from "lucide-react";
4
4
  import { useMemo } from "react";
5
5
  import { useSafeLingui } from "../../../i18n/index.js";
6
6
  const MODE_DEFS = [
@@ -39,18 +39,6 @@ const MODE_DEFS = [
39
39
  id: "canvas.node_mode_select.simulated_description",
40
40
  message: 'Generate a response dynamically using an LLM'
41
41
  }
42
- },
43
- {
44
- value: 'disabled',
45
- icon: CircleOff,
46
- label: {
47
- id: 'canvas.node_mode_select.disabled_label',
48
- message: 'Skip node'
49
- },
50
- description: {
51
- id: "canvas.node_mode_select.disabled_description",
52
- message: "Don't execute this node"
53
- }
54
42
  }
55
43
  ];
56
44
  const DEFAULT_NODE_OUTPUT_MODES = MODE_DEFS.map((mode)=>({
@@ -82,24 +70,24 @@ function NodeOutputModeSelect({ value, onChange, options, disabled = false, clas
82
70
  /*#__PURE__*/ jsx(DropdownMenuTrigger, {
83
71
  asChild: true,
84
72
  disabled: disabled,
85
- children: /*#__PURE__*/ jsxs("button", {
86
- type: "button",
73
+ children: /*#__PURE__*/ jsxs(Button, {
74
+ variant: "ghost",
75
+ size: "3xs",
87
76
  disabled: disabled,
88
77
  "aria-label": _({
89
78
  id: 'canvas.node_mode_select.node_mode',
90
- message: 'Node mode'
79
+ message: 'Node output mode'
91
80
  }),
92
- className: cn('flex cursor-pointer items-center gap-1.5 rounded-full border border-border px-2 py-0.5 text-[11px] font-medium text-foreground-muted transition hover:bg-surface-overlay hover:text-foreground', disabled && 'cursor-default opacity-60 hover:bg-transparent hover:text-foreground-muted', className),
81
+ className: cn('min-w-12 gap-1.5 rounded-full border border-border px-2 text-[11px] font-medium text-foreground-muted hover:bg-surface-overlay hover:text-foreground [&_svg]:size-2.5', className),
93
82
  children: [
94
83
  CurrentIcon && /*#__PURE__*/ jsx(CurrentIcon, {
95
- size: 10,
96
84
  className: "text-foreground-subtle"
97
85
  }),
98
86
  /*#__PURE__*/ jsx("span", {
87
+ className: "min-w-0 flex-1 truncate shrink-0",
99
88
  children: current?.label
100
89
  }),
101
90
  /*#__PURE__*/ jsx(ChevronDown, {
102
- size: 10,
103
91
  className: "text-foreground-subtle"
104
92
  })
105
93
  ]
@@ -26,7 +26,7 @@ __webpack_require__.r(__webpack_exports__);
26
26
  __webpack_require__.d(__webpack_exports__, {
27
27
  messages: ()=>messages
28
28
  });
29
- const messages = JSON.parse('{"add-node-panel.search-nodes":["Search nodes"],"canvas.json_value_panel.apply":["Apply"],"canvas.json_value_panel.array_item":["item"],"canvas.json_value_panel.cancel":["Cancel"],"canvas.json_value_panel.clear_search":["Clear search"],"canvas.json_value_panel.collapse_all":["Collapse all"],"canvas.json_value_panel.collapse_key":["Collapse ",["key"]],"canvas.json_value_panel.copy_path_for":["Copy path for ",["path"]],"canvas.json_value_panel.copy_path_hint":["Click to copy this path"],"canvas.json_value_panel.copy_value":["Copy value"],"canvas.json_value_panel.copy_value_of":["Copy value of ",["key"]],"canvas.json_value_panel.edit_as_json":["Edit as JSON"],"canvas.json_value_panel.edit_hint":["Click to edit"],"canvas.json_value_panel.edit_json_of":["Edit JSON of ",["key"]],"canvas.json_value_panel.edit_key_as_json":["Edit ",["key"]," as JSON"],"canvas.json_value_panel.edit_value_of":["Edit value of ",["key"]],"canvas.json_value_panel.empty_default":["No fields to display."],"canvas.json_value_panel.empty_search":["No fields match your search."],"canvas.json_value_panel.enter_number":["Enter a number"],"canvas.json_value_panel.enter_value":["Enter a value"],"canvas.json_value_panel.expand_all":["Expand all"],"canvas.json_value_panel.expand_key":["Expand ",["key"]],"canvas.json_value_panel.filter":["Filter"],"canvas.json_value_panel.filter_active":["Filter: ",["label"]],"canvas.json_value_panel.filter_all":["All"],"canvas.json_value_panel.invalid_json":["Invalid JSON"],"canvas.json_value_panel.item_count":[["count","plural",{"one":["#"," item"],"other":["#"," items"]}]],"canvas.json_value_panel.json_tab":["JSON"],"canvas.json_value_panel.key_count":[["count","plural",{"one":["#"," key"],"other":["#"," keys"]}]],"canvas.json_value_panel.path_copied":["Path copied"],"canvas.json_value_panel.required_marker":["required"],"canvas.json_value_panel.schema_tab":["Schema"],"canvas.json_value_panel.search_fields":["Search fields and values..."],"canvas.json_value_panel.search_fields_action":["Search fields and values"],"canvas.json_value_panel.toggle_hint":["Click to toggle"],"canvas.json_value_panel.unset_edit_hint":["Click to set a value"],"canvas.json_value_panel.unset_value":["unset"],"canvas.json_value_panel.unwrap_value":["Unwrap value"],"canvas.json_value_panel.unwrap_value_of":["Unwrap value of ",["key"]],"canvas.json_value_panel.wrap_value":["Wrap value"],"canvas.json_value_panel.wrap_value_of":["Wrap value of ",["key"]],"canvas.node_mode_select.disabled_description":["Don\'t execute this node"],"canvas.node_mode_select.disabled_label":["Skip node"],"canvas.node_mode_select.live_description":["Use the real response from this node"],"canvas.node_mode_select.live_label":["Live"],"canvas.node_mode_select.node_mode":["Node mode"],"canvas.node_mode_select.simulated_description":["Generate a response dynamically using an LLM"],"canvas.node_mode_select.simulated_label":["Simulated"],"canvas.node_mode_select.static_description":["Always return a value you define"],"canvas.node_mode_select.static_label":["Static mock"],"canvas.property_trigger.always_persist":["Always persist"],"canvas.property_trigger.apply_preset_with_label":["Apply ",["label"]],"canvas.property_trigger.auto_hide":["Auto hide"],"canvas.property_trigger.default_layouts":["Default layouts"],"canvas.property_trigger.delete_preset_with_label":["Delete ",["label"]],"canvas.property_trigger.layout_bottom":["Default — Bottom"],"canvas.property_trigger.layout_right":["Default — Right"],"canvas.property_trigger.layout_split":["Default — Split"],"canvas.property_trigger.no_saved_presets":["No saved presets yet."],"canvas.property_trigger.panel_behavior":["Panel behavior"],"canvas.property_trigger.panel_options":["Panel options"],"canvas.property_trigger.properties":["Properties"],"canvas.property_trigger.rename_preset_with_label":["Rename ",["label"]],"canvas.property_trigger.save_as_preset":["Save as preset"],"canvas.property_trigger.saved_presets":["Saved presets"],"loop-node.add-node":["Add node to loop"],"loop-node.execution-count.click-to-jump":["Click to jump to a specific iteration"],"loop-node.execution-count.click-to-return":["Click to return to individual iteration view"],"loop-node.execution-count.jump-to-failed":["Jump to first failed iteration"],"loop-node.execution-count.jump-to-iteration":["Jump to iteration ",["iterationNumber"]," (failed)"],"loop-node.execution-count.next-iteration":["Next iteration"],"loop-node.execution-count.previous-iteration":["Previous iteration"],"loop-node.execution-count.return-to-individual":["Return to individual iteration view"],"loop-node.execution-count.show-aggregate":["Show aggregate across all iterations"],"loop-node.mode.parallel":["Parallel"],"loop-node.mode.sequential":["Sequential"],"loop-node.title":["Loop"],"stage-node.add-first-task":["Add first task"],"stage-node.add-task":["Add task"],"stage-node.add-task-to-parallel-group-above":["Add task to parallel group above"],"stage-node.add-task-to-parallel-group-below":["Add task to parallel group below"],"stage-node.adhoc-tasks":["Manually triggered tasks"],"stage-node.create-parallel-group-with-task-above":["Create parallel group with task above"],"stage-node.create-parallel-group-with-task-below":["Create parallel group with task below"],"stage-node.delete-task":["Delete task"],"stage-node.event-driven-tasks":["Event-triggered tasks"],"stage-node.move-down":["Move down"],"stage-node.move-up":["Move up"],"stage-node.no-tasks":["No tasks"],"stage-node.parallel":["Parallel"],"stage-node.remove-from-parallel-group":["Remove from parallel group"],"stage-node.remove-group-from-stage":["Remove group from stage"],"stage-node.replace-task":["Replace task"],"stage-node.status.cancelled":["Cancelled"],"stage-node.status.completed":["Completed"],"stage-node.status.early-exit":["Early exit"],"stage-node.status.failed":["Failed"],"stage-node.status.in-progress":["In progress"],"stage-node.status.not-executed":["Not started"],"stage-node.status.paused":["Paused"],"stage-node.status.terminated":["Terminated"],"stage-node.status.warning":["Warning"],"stage-node.task-badge.ran-n-times":[["count","plural",{"one":["Ran ","#"," time"],"other":["Ran ","#"," times"]}]],"stage-node.task-badge.running-again":["Running again"],"stage-node.task-mocked":["This task\'s outputs are mocked"],"stage-node.ungroup-parallel-tasks":["Ungroup parallel tasks"],"stage-node.untitled-stage":["Untitled stage"],"sticky-note.formatting.bold":["Bold (",["boldShortcut"],")"],"sticky-note.formatting.bullet-list":["Bullet list"],"sticky-note.formatting.italic":["Italic (",["italicShortcut"],")"],"sticky-note.formatting.numbered-list":["Numbered list"],"sticky-note.formatting.strikethrough":["Strikethrough (",["strikethroughShortcut"],")"],"sticky-note.formatting.toolbar":["Text formatting"],"sticky-note.media.dialog.add-title":["Embed image or video"],"sticky-note.media.dialog.alt-help":["Describe the image for people who use screen readers."],"sticky-note.media.dialog.alt-label":["Alternative text"],"sticky-note.media.dialog.cancel":["Cancel"],"sticky-note.media.dialog.description":["Add a public link. Video supports YouTube and direct video files."],"sticky-note.media.dialog.edit-title":["Edit media"],"sticky-note.media.dialog.embed":["Embed media"],"sticky-note.media.dialog.full-width-help":["The image or video spans the available width of the sticky note."],"sticky-note.media.dialog.full-width-label":["Make full width"],"sticky-note.media.dialog.image-option":["Image"],"sticky-note.media.dialog.image-preview":["Image preview"],"sticky-note.media.dialog.image-url-help":["Use a public HTTPS image link."],"sticky-note.media.dialog.image-url-label":["Image URL"],"sticky-note.media.dialog.image-url-placeholder":["https://example.com/image.png"],"sticky-note.media.dialog.invalid-url":["Enter a valid public HTTPS URL"],"sticky-note.media.dialog.invalid-youtube":["Add a valid YouTube video URL"],"sticky-note.media.dialog.preview-unavailable":["We could not load a preview for this URL."],"sticky-note.media.dialog.save":["Save changes"],"sticky-note.media.dialog.type-label":["Media type"],"sticky-note.media.dialog.unsupported-video":["Add a YouTube URL or a direct public video file URL such as MP4"],"sticky-note.media.dialog.video-option":["Video"],"sticky-note.media.dialog.video-preview":["Video preview"],"sticky-note.media.dialog.video-url-help":["Use a YouTube link or a direct public HTTPS video file link."],"sticky-note.media.dialog.video-url-label":["Video URL"],"sticky-note.media.dialog.video-url-placeholder":["https://youtube.com/watch?v=… or https://example.com/video.mp4"],"sticky-note.media.edit":["Edit media"],"sticky-note.media.embed-action":["Embed image or video"],"sticky-note.media.image-unavailable":["Image unavailable"],"sticky-note.media.image-unavailable-label":["Image unavailable"],"sticky-note.media.play-video":["Play video"],"sticky-note.media.unavailable":["Media unavailable"],"sticky-note.media.video-label":["Embedded video"],"sticky-note.media.video-unavailable":["Video playback is unavailable."],"sticky-note.media.youtube-title":["YouTube video"],"sticky-note.toolbar.color":["Color"],"sticky-note.toolbar.delete":["Delete"],"sticky-note.toolbar.edit":["Edit"],"toolbox.search":["Search"],"toolbox.search.clear":["Clear search"]}');
29
+ const messages = JSON.parse('{"add-node-panel.search-nodes":["Search nodes"],"canvas.json_value_panel.apply":["Apply"],"canvas.json_value_panel.array_item":["item"],"canvas.json_value_panel.cancel":["Cancel"],"canvas.json_value_panel.clear_search":["Clear search"],"canvas.json_value_panel.collapse_all":["Collapse all"],"canvas.json_value_panel.collapse_key":["Collapse ",["key"]],"canvas.json_value_panel.copy_path_for":["Copy path for ",["path"]],"canvas.json_value_panel.copy_path_hint":["Click to copy this path"],"canvas.json_value_panel.copy_value":["Copy value"],"canvas.json_value_panel.copy_value_of":["Copy value of ",["key"]],"canvas.json_value_panel.edit_as_json":["Edit as JSON"],"canvas.json_value_panel.edit_hint":["Click to edit"],"canvas.json_value_panel.edit_json_of":["Edit JSON of ",["key"]],"canvas.json_value_panel.edit_key_as_json":["Edit ",["key"]," as JSON"],"canvas.json_value_panel.edit_value_of":["Edit value of ",["key"]],"canvas.json_value_panel.empty_default":["No fields to display."],"canvas.json_value_panel.empty_search":["No fields match your search."],"canvas.json_value_panel.enter_number":["Enter a number"],"canvas.json_value_panel.enter_value":["Enter a value"],"canvas.json_value_panel.expand_all":["Expand all"],"canvas.json_value_panel.expand_key":["Expand ",["key"]],"canvas.json_value_panel.filter":["Filter"],"canvas.json_value_panel.filter_active":["Filter: ",["label"]],"canvas.json_value_panel.filter_all":["All"],"canvas.json_value_panel.invalid_json":["Invalid JSON"],"canvas.json_value_panel.item_count":[["count","plural",{"one":["#"," item"],"other":["#"," items"]}]],"canvas.json_value_panel.json_tab":["JSON"],"canvas.json_value_panel.key_count":[["count","plural",{"one":["#"," key"],"other":["#"," keys"]}]],"canvas.json_value_panel.path_copied":["Path copied"],"canvas.json_value_panel.required_marker":["required"],"canvas.json_value_panel.schema_tab":["Schema"],"canvas.json_value_panel.search_fields":["Search fields and values..."],"canvas.json_value_panel.search_fields_action":["Search fields and values"],"canvas.json_value_panel.toggle_hint":["Click to toggle"],"canvas.json_value_panel.unset_edit_hint":["Click to set a value"],"canvas.json_value_panel.unset_value":["unset"],"canvas.json_value_panel.unwrap_value":["Unwrap value"],"canvas.json_value_panel.unwrap_value_of":["Unwrap value of ",["key"]],"canvas.json_value_panel.wrap_value":["Wrap value"],"canvas.json_value_panel.wrap_value_of":["Wrap value of ",["key"]],"canvas.node_mode_select.disabled_description":["Don\'t execute this node"],"canvas.node_mode_select.disabled_label":["Skip node"],"canvas.node_mode_select.live_description":["Use the real response from this node"],"canvas.node_mode_select.live_label":["Live"],"canvas.node_mode_select.node_mode":["Node output mode"],"canvas.node_mode_select.simulated_description":["Generate a response dynamically using an LLM"],"canvas.node_mode_select.simulated_label":["Simulated"],"canvas.node_mode_select.static_description":["Always return a value you define"],"canvas.node_mode_select.static_label":["Static mock"],"canvas.property_trigger.always_persist":["Always persist"],"canvas.property_trigger.apply_preset_with_label":["Apply ",["label"]],"canvas.property_trigger.auto_hide":["Auto hide"],"canvas.property_trigger.default_layouts":["Default layouts"],"canvas.property_trigger.delete_preset_with_label":["Delete ",["label"]],"canvas.property_trigger.layout_bottom":["Default — Bottom"],"canvas.property_trigger.layout_right":["Default — Right"],"canvas.property_trigger.layout_split":["Default — Split"],"canvas.property_trigger.no_saved_presets":["No saved presets yet."],"canvas.property_trigger.panel_behavior":["Panel behavior"],"canvas.property_trigger.panel_options":["Panel options"],"canvas.property_trigger.properties":["Properties"],"canvas.property_trigger.rename_preset_with_label":["Rename ",["label"]],"canvas.property_trigger.save_as_preset":["Save as preset"],"canvas.property_trigger.saved_presets":["Saved presets"],"loop-node.add-node":["Add node to loop"],"loop-node.execution-count.click-to-jump":["Click to jump to a specific iteration"],"loop-node.execution-count.click-to-return":["Click to return to individual iteration view"],"loop-node.execution-count.jump-to-failed":["Jump to first failed iteration"],"loop-node.execution-count.jump-to-iteration":["Jump to iteration ",["iterationNumber"]," (failed)"],"loop-node.execution-count.next-iteration":["Next iteration"],"loop-node.execution-count.previous-iteration":["Previous iteration"],"loop-node.execution-count.return-to-individual":["Return to individual iteration view"],"loop-node.execution-count.show-aggregate":["Show aggregate across all iterations"],"loop-node.mode.parallel":["Parallel"],"loop-node.mode.sequential":["Sequential"],"loop-node.title":["Loop"],"stage-node.add-first-task":["Add first task"],"stage-node.add-task":["Add task"],"stage-node.add-task-to-parallel-group-above":["Add task to parallel group above"],"stage-node.add-task-to-parallel-group-below":["Add task to parallel group below"],"stage-node.adhoc-tasks":["Manually triggered tasks"],"stage-node.create-parallel-group-with-task-above":["Create parallel group with task above"],"stage-node.create-parallel-group-with-task-below":["Create parallel group with task below"],"stage-node.delete-task":["Delete task"],"stage-node.event-driven-tasks":["Event-triggered tasks"],"stage-node.move-down":["Move down"],"stage-node.move-up":["Move up"],"stage-node.no-tasks":["No tasks"],"stage-node.parallel":["Parallel"],"stage-node.remove-from-parallel-group":["Remove from parallel group"],"stage-node.remove-group-from-stage":["Remove group from stage"],"stage-node.replace-task":["Replace task"],"stage-node.status.cancelled":["Cancelled"],"stage-node.status.completed":["Completed"],"stage-node.status.early-exit":["Early exit"],"stage-node.status.failed":["Failed"],"stage-node.status.in-progress":["In progress"],"stage-node.status.not-executed":["Not started"],"stage-node.status.paused":["Paused"],"stage-node.status.terminated":["Terminated"],"stage-node.status.warning":["Warning"],"stage-node.task-badge.ran-n-times":[["count","plural",{"one":["Ran ","#"," time"],"other":["Ran ","#"," times"]}]],"stage-node.task-badge.running-again":["Running again"],"stage-node.task-mocked":["This task\'s outputs are mocked"],"stage-node.ungroup-parallel-tasks":["Ungroup parallel tasks"],"stage-node.untitled-stage":["Untitled stage"],"sticky-note.formatting.bold":["Bold (",["boldShortcut"],")"],"sticky-note.formatting.bullet-list":["Bullet list"],"sticky-note.formatting.italic":["Italic (",["italicShortcut"],")"],"sticky-note.formatting.numbered-list":["Numbered list"],"sticky-note.formatting.strikethrough":["Strikethrough (",["strikethroughShortcut"],")"],"sticky-note.formatting.toolbar":["Text formatting"],"sticky-note.media.dialog.add-title":["Embed image or video"],"sticky-note.media.dialog.alt-help":["Describe the image for people who use screen readers."],"sticky-note.media.dialog.alt-label":["Alternative text"],"sticky-note.media.dialog.cancel":["Cancel"],"sticky-note.media.dialog.description":["Add a public link. Video supports YouTube and direct video files."],"sticky-note.media.dialog.edit-title":["Edit media"],"sticky-note.media.dialog.embed":["Embed media"],"sticky-note.media.dialog.full-width-help":["The image or video spans the available width of the sticky note."],"sticky-note.media.dialog.full-width-label":["Make full width"],"sticky-note.media.dialog.image-option":["Image"],"sticky-note.media.dialog.image-preview":["Image preview"],"sticky-note.media.dialog.image-url-help":["Use a public HTTPS image link."],"sticky-note.media.dialog.image-url-label":["Image URL"],"sticky-note.media.dialog.image-url-placeholder":["https://example.com/image.png"],"sticky-note.media.dialog.invalid-url":["Enter a valid public HTTPS URL"],"sticky-note.media.dialog.invalid-youtube":["Add a valid YouTube video URL"],"sticky-note.media.dialog.preview-unavailable":["We could not load a preview for this URL."],"sticky-note.media.dialog.save":["Save changes"],"sticky-note.media.dialog.type-label":["Media type"],"sticky-note.media.dialog.unsupported-video":["Add a YouTube URL or a direct public video file URL such as MP4"],"sticky-note.media.dialog.video-option":["Video"],"sticky-note.media.dialog.video-preview":["Video preview"],"sticky-note.media.dialog.video-url-help":["Use a YouTube link or a direct public HTTPS video file link."],"sticky-note.media.dialog.video-url-label":["Video URL"],"sticky-note.media.dialog.video-url-placeholder":["https://youtube.com/watch?v=… or https://example.com/video.mp4"],"sticky-note.media.edit":["Edit media"],"sticky-note.media.embed-action":["Embed image or video"],"sticky-note.media.image-unavailable":["Image unavailable"],"sticky-note.media.image-unavailable-label":["Image unavailable"],"sticky-note.media.play-video":["Play video"],"sticky-note.media.unavailable":["Media unavailable"],"sticky-note.media.video-label":["Embedded video"],"sticky-note.media.video-unavailable":["Video playback is unavailable."],"sticky-note.media.youtube-title":["YouTube video"],"sticky-note.toolbar.color":["Color"],"sticky-note.toolbar.delete":["Delete"],"sticky-note.toolbar.edit":["Edit"],"toolbox.search":["Search"],"toolbox.search.clear":["Clear search"]}');
30
30
  exports.messages = __webpack_exports__.messages;
31
31
  for(var __rspack_i in __webpack_exports__)if (-1 === [
32
32
  "messages"
@@ -1 +1 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/canvas/locales/en.ts"],"names":[],"mappings":"AAAkB,OAAO,KAAI,EAAC,QAAQ,EAAC,MAAI,cAAc,CAAC;AAAA,eAAO,MAAM,QAAQ,EAAyzT,QAAQ,CAAC"}
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/canvas/locales/en.ts"],"names":[],"mappings":"AAAkB,OAAO,KAAI,EAAC,QAAQ,EAAC,MAAI,cAAc,CAAC;AAAA,eAAO,MAAM,QAAQ,EAAg0T,QAAQ,CAAC"}