@knime/scripting-editor 0.0.149 → 0.0.150

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 (102) hide show
  1. package/dist/{AnyOfTwinlist-DdcxtAjb-CaN_HwzO.js → AnyOfTwinlist-DdcxtAjb-QRuNcffK.js} +3 -3
  2. package/dist/{ArrayLayout-Cqct4YS3.js → ArrayLayout-CiNvK2R8.js} +204 -193
  3. package/dist/ButtonControl-XAPpl7GY.js +116 -0
  4. package/dist/{CheckboxControl-C99OdmDL-CDrrcyc8.js → CheckboxControl-C99OdmDL-Do7Fm1Hf.js} +12 -12
  5. package/dist/{CheckboxesControl-BZhMhT9x-DX6Wv2OC.js → CheckboxesControl-BZhMhT9x-Pc8YrIvQ.js} +3 -3
  6. package/dist/{CodeEditorControl-C0nEU4Bk.js → CodeEditorControl-BZlds1_z.js} +1 -1
  7. package/dist/{ColorControl-D1dNnNbO-ZnPFuKHS.js → ColorControl-D1dNnNbO-D2ewwNgx.js} +1 -1
  8. package/dist/{ColorPreviewControl-B4zix2kb-lDW3LcbF.js → ColorPreviewControl-B4zix2kb-C8iUsUfi.js} +10 -10
  9. package/dist/{ComboBoxControl-BGWAD9IW-CYGoHz_u.js → ComboBoxControl-BGWAD9IW-Dqnlk__Q.js} +2 -2
  10. package/dist/{ConfigurationNodeNotSupported-D-Rxn0Gi.js → ConfigurationNodeNotSupported-CGclvYAj.js} +6 -6
  11. package/dist/{ControlWithSubParameters-C3O8tagW.js → ControlWithSubParameters-D_0dvLqM.js} +10 -10
  12. package/dist/{CredentialsControl-DaEBQpvd.js → CredentialsControl-uYcyYidL.js} +2 -2
  13. package/dist/{CredentialsControlBase-BivCOrno.js → CredentialsControlBase-u4DXxRC0.js} +7 -7
  14. package/dist/{DateControl-D0HfVrtz-9eE4B_fe.js → DateControl-D0HfVrtz-Bt1CkhVc.js} +3 -3
  15. package/dist/{DateTimeControl-kTQZI9JC-DmnFBKmN.js → DateTimeControl-kTQZI9JC-DT157PDM.js} +3 -3
  16. package/dist/{DateTimeFormatPickerControl-BiYcsKSn-xVSLrwBl.js → DateTimeFormatPickerControl-BiYcsKSn-CMda9u5J.js} +5 -5
  17. package/dist/{DirtyTrackerRenderer-DMDmrGOs.js → DirtyTrackerRenderer-BePhAn76.js} +3 -3
  18. package/dist/{DropdownControl-jsayV3N5-8v3EQUz3.js → DropdownControl-jsayV3N5-Dsha5hge.js} +3 -3
  19. package/dist/{ExecutorCoresControl-DNo2SaC6-BoEm-W4r.js → ExecutorCoresControl-DNo2SaC6-BkcAA9UN.js} +2 -2
  20. package/dist/{ExecutorMemoryControl-C8RLYQdd-B8ZEGYAX.js → ExecutorMemoryControl-C8RLYQdd-Cedm5trN.js} +2 -2
  21. package/dist/{FileChooserControl-DNfgbEr3.js → FileChooserControl-Ct51fY7Z.js} +1 -1
  22. package/dist/{FileChooserControlBase-BozmAfJW.js → FileChooserControlBase-CGo0zU3e.js} +35 -35
  23. package/dist/{FileChooserControlForMultiFile-B21mwjMa.js → FileChooserControlForMultiFile-Dh_WXtgn.js} +1 -1
  24. package/dist/{FileUploadControl-D5QfM3Wa-DXqlNHXY.js → FileUploadControl-D5QfM3Wa-7kqQRO4-.js} +1 -1
  25. package/dist/FlowVariableButtonWrapper-mLnms8yQ.js +466 -0
  26. package/dist/FlowVariableSelector-C4IiVzue.js +162 -0
  27. package/dist/{GridSelectionControl-RKdnWWGk-CqxxipH6.js → GridSelectionControl-RKdnWWGk-naGGUZCh.js} +13 -13
  28. package/dist/{HorizontalLayout-B_lETfCu-CQVlABjY.js → HorizontalLayout-B_lETfCu-BZK7jH4z.js} +2 -2
  29. package/dist/{IntegerControl-Cr8SO0xH-DmFardsB.js → IntegerControl-Cr8SO0xH-lclR3djp.js} +2 -2
  30. package/dist/{IntervalControl-BdjKEwLy-CRGsrkTU.js → IntervalControl-BdjKEwLy-C_LCaU8r.js} +6 -6
  31. package/dist/{LabeledGroup-BSlRYaIO.js → LabeledGroup-C4WOU_qE.js} +1 -1
  32. package/dist/{LegacyCredentialsControl-DDppdKDf.js → LegacyCredentialsControl-CuFuBunJ.js} +11 -11
  33. package/dist/{LinkControl-QMwkCJlj-D7KOgNqO.js → LinkControl-QMwkCJlj-DZRZvKsJ.js} +8 -8
  34. package/dist/{LoadingDropdown-BpU4Uiin-DDrrGAtm.js → LoadingDropdown-BpU4Uiin-DpT8YNnA.js} +1 -1
  35. package/dist/{ManualTwinlistControl-5dfnmQZ--BLDAtepu.js → ManualTwinlistControl-5dfnmQZ--9BVHFNRR.js} +5 -5
  36. package/dist/{MultiFileChooserControl-yLU6lVm6.js → MultiFileChooserControl-Buzeme6N.js} +54 -54
  37. package/dist/{NameFilter-DzqgrcaF-BHDDEtD7.js → NameFilter-DzqgrcaF-Cl38kTPw.js} +2 -2
  38. package/dist/{NumberControl-ODy5GAlR-DqeFhQlG.js → NumberControl-ODy5GAlR-IQBNh99B.js} +2 -2
  39. package/dist/{NumberControlBase-Cl3QcvzB-CLt8mpCC.js → NumberControlBase-Cl3QcvzB-DLl4RMsa.js} +5 -5
  40. package/dist/{OneOfDropdown-CMPRAraI-D0fD0jJG.js → OneOfDropdown-CMPRAraI-DyOs4qXq.js} +2 -2
  41. package/dist/{ProgressButtonControl-hlI6JZ-z-iW0cQ79f.js → ProgressButtonControl-hlI6JZ-z-C3y7IOhk.js} +12 -12
  42. package/dist/{RadioButtonsWithDescriptionControl-DJu3ODo7-BVxmFTjy.js → RadioButtonsWithDescriptionControl-DJu3ODo7-BvOWhYc3.js} +9 -9
  43. package/dist/{RadioControl-D_NE5s4n-CBhjB07g.js → RadioControl-D_NE5s4n-DQ3orr8G.js} +2 -2
  44. package/dist/{RadioControlBase-knF86px0-M-iKdCgZ.js → RadioControlBase-knF86px0-CNYDwFjA.js} +3 -3
  45. package/dist/{ResourceControlBase-BVMVVYns-CCmfdMoZ.js → ResourceControlBase-BVMVVYns-DHo4NA_m.js} +17 -17
  46. package/dist/{RichTextControl-JIM904_P-Cz7wPLpv.js → RichTextControl-JIM904_P-CCTpWWMW.js} +2717 -2697
  47. package/dist/{SectionLayout-Ca6XH3w3-C31MJtZ9.js → SectionLayout-Ca6XH3w3-Civ901Ea.js} +3 -3
  48. package/dist/{SettingsSubPanelLayout-B7QJ7YhZ-BVhurigk.js → SettingsSubPanelLayout-B7QJ7YhZ-Dmgm0Ir9.js} +20 -20
  49. package/dist/{SimpleTwinlistControl-CQ4tSh0c-D-AFsdOr.js → SimpleTwinlistControl-CQ4tSh0c-Ce_hUVf7.js} +3 -3
  50. package/dist/{SingleSelectControl-CJV9VMZm-jwZqt2tP.js → SingleSelectControl-CJV9VMZm-Bk8t6TSw.js} +3 -3
  51. package/dist/{SortListControl-D-ifoRva-VjNJfqzM.js → SortListControl-D-ifoRva-CJZ3kNt9.js} +5 -5
  52. package/dist/{StringFileChooserControl-BWoTwYp2.js → StringFileChooserControl-HEpT7Ip7.js} +8 -8
  53. package/dist/{TeamAndSpacesControl-D1FvyeCV-QFi264Nj.js → TeamAndSpacesControl-D1FvyeCV-DnRJHhj4.js} +9 -9
  54. package/dist/{TeamResourceControl-DyCO6-Nk-DHNrRSMY.js → TeamResourceControl-DyCO6-Nk-BI-LwsIM.js} +2 -2
  55. package/dist/{TextAreaControl-7QziyTgn-BniXqehe.js → TextAreaControl-7QziyTgn-BtBO7YNu.js} +1 -1
  56. package/dist/{TimeControl-B29iTlhP-eYfkjPai.js → TimeControl-B29iTlhP-e7HifMYl.js} +3 -3
  57. package/dist/{TimeframesControl-Wvu--J0V-DhhqpxZS.js → TimeframesControl-Wvu--J0V-BuY4sciw.js} +9 -9
  58. package/dist/{TwinlistControlBase-CaRdq20R-BspKBwDU.js → TwinlistControlBase-CaRdq20R-Dc80qJgM.js} +3 -3
  59. package/dist/{TypedStringFilter-B3ZMqGIC-D3eyvWTQ.js → TypedStringFilter-B3ZMqGIC-ByKsSSQ4.js} +2 -2
  60. package/dist/{ValueSwitchControl-H2t2Wgo6-Dkr6ED74.js → ValueSwitchControl-H2t2Wgo6-CQw22eR0.js} +2 -2
  61. package/dist/{VennDiagramLayout-rZsnxKb8.js → VennDiagramLayout-BiBLF_be.js} +15 -15
  62. package/dist/{VerticalLayout-sPAmI_XK-BHSQFbh5.js → VerticalLayout-sPAmI_XK-BZz3aVLy.js} +2 -2
  63. package/dist/{ZonedDateTimeControl-Co3v2EVv-fcHef5TR.js → ZonedDateTimeControl-Co3v2EVv-mFgzT9ZR.js} +2 -2
  64. package/dist/{_plugin-vue_export-helper-B3ysoDQm-C4BqYrqY.js → _plugin-vue_export-helper-B3ysoDQm-jCLY2oWQ.js} +1 -1
  65. package/dist/elementCheckboxRenderer-BTDQ1ITf.js +117 -0
  66. package/dist/{fileChooserRenderer-CqIzTlME.js → fileChooserRenderer-C9ULvJjo.js} +3 -3
  67. package/dist/{inject-DEsHVs5q-zP4nUeAa.js → inject-DEsHVs5q-ChUMe45j.js} +1 -1
  68. package/dist/lib/main.d.ts +5 -3
  69. package/dist/main.js +764 -692
  70. package/dist/parameters.js +469 -647
  71. package/dist/{paths-DH9g52IX.js → paths-daLajhdU.js} +9 -6
  72. package/dist/{plainDateTimeUtils-5uOCJ4N5-DRHKOepZ.js → plainDateTimeUtils-5uOCJ4N5-3VUpuprJ.js} +2 -2
  73. package/dist/{rolldown-runtime-Dy4uBu1J-Cwht8A8-.js → rolldown-runtime-Dy4uBu1J-DiUrVT6I.js} +1 -1
  74. package/dist/settings-service-browser-mock.js +13 -5
  75. package/dist/src/components/MainEditorPane.vue.d.ts +74 -7
  76. package/dist/src/components/ScriptingEditor.vue.d.ts +0 -23
  77. package/dist/src/editor.d.ts +1 -1
  78. package/dist/src/settings-service-browser-mock.d.ts +3 -4
  79. package/dist/src/settings-service.d.ts +3 -35
  80. package/dist/src/store/settings.d.ts +52 -0
  81. package/dist/src-pw1LRAdm-uu-I1-YX.js +1246 -0
  82. package/dist/{temporal-polyfill-D4u1I_Z--enRiDjrC.js → temporal-polyfill-D4u1I_Z--B8F1flcx.js} +1 -1
  83. package/dist/{toKdsPossibleValues-BAEvyJCk-COlZpol8.js → toKdsPossibleValues-BAEvyJCk-Dww9tu-1.js} +1 -1
  84. package/dist/useArrayIds-CpJmT5_d.js +28 -0
  85. package/dist/{useBuiltinValidations-B_Drc2y--BIe8Vj_8.js → useBuiltinValidations-B_Drc2y--vtgmNI5H.js} +2 -2
  86. package/dist/{useDirtySettings-C_JB8Tb9.js → useDirtySettings-DVDbAZgX.js} +1 -1
  87. package/dist/{useFileChooserBrowseOptions-l1i9z66C.js → useFileChooserBrowseOptions-ClAKTcw1.js} +16 -16
  88. package/dist/{useFlowVariables-BFaB9PV-.js → useFlowVariables-BPi2ZpWk.js} +8 -8
  89. package/dist/{usePossibleValues-Cx6iSt_X-BlD7PZcJ.js → usePossibleValues-Cx6iSt_X-Ch5oJkDE.js} +2 -2
  90. package/dist/{useProvideForFlowVariables-AgNwtMFv.js → useProvideForFlowVariables-Ck3YUR2C.js} +2 -2
  91. package/dist/{useProvidedState-478_KXOe-KGpEF13j.js → useProvidedState-478_KXOe-Dpb35s5s.js} +2 -2
  92. package/dist/{useSideDrawerContent-Bl7nrXfr.js → useSideDrawerContent-BKwzHoq0.js} +2 -2
  93. package/dist/{useUnknownValuesInTwinlist-CHB8kt9t-Bak4ZAxt.js → useUnknownValuesInTwinlist-CHB8kt9t-C4bjDxVB.js} +30 -30
  94. package/dist/{useUpdates-Binc_B7h.js → useUpdates-Db1ELMwP.js} +60 -60
  95. package/dist/{utils-DmZLgn8X-D9PS3NK4.js → utils-DmZLgn8X-yDkNNqcu.js} +1 -1
  96. package/package.json +2 -2
  97. package/dist/ButtonControl-JfX5cPMH.js +0 -117
  98. package/dist/ai-bar-DEyz4yf0.js +0 -332
  99. package/dist/elementCheckboxRenderer-CfYz9-5L.js +0 -214
  100. package/dist/src-pw1LRAdm-BUOXZfmX.js +0 -1246
  101. package/dist/useArrayIds-CvcfiogC.js +0 -29
  102. package/dist/v4-Dd9glBki.js +0 -30
@@ -1,66 +1,68 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { n as t } from "./useProvidedState-478_KXOe-KGpEF13j.js";
3
- import { T as n, a as r, i, r as a, t as o, u as s } from "./jsonforms-vue.esm-B9eODaNM.js";
4
- import { G as c, Z as l, n as u, p as d, u as f } from "./dist-iAFUw6uq.js";
5
- import { r as p } from "./src-pw1LRAdm-BUOXZfmX.js";
6
- import { o as m } from "./useFlowVariables-BFaB9PV-.js";
7
- import { a as h, i as g, l as ee, n as _, o as te, r as v, t as y } from "./useArrayIds-CvcfiogC.js";
8
- import { n as b, t as x } from "./inject-DGoSf00A.js";
9
- import { a as S, c as C, d as w, o as T, r as E, s as D, t as O, u as k } from "./elementCheckboxRenderer-CfYz9-5L.js";
10
- import { t as A } from "./useProvideForFlowVariables-AgNwtMFv.js";
11
- import { Fragment as j, computed as M, createBlock as N, createCommentVNode as P, createElementBlock as F, createElementVNode as I, createVNode as L, defineComponent as R, inject as ne, mergeProps as re, nextTick as ie, normalizeClass as z, normalizeStyle as ae, onMounted as B, openBlock as V, provide as H, ref as U, renderList as W, renderSlot as G, resolveComponent as K, toDisplayString as q, toRaw as J, unref as Y, watch as X, withCtx as Z } from "vue";
2
+ import { o as t } from "./useFlowVariables-BPi2ZpWk.js";
3
+ import { n, t as r } from "./inject-DGoSf00A.js";
4
+ import { G as i, Z as a, n as o, p as s, u as c } from "./dist-iAFUw6uq.js";
5
+ import { a as l, i as u, n as d, o as f, t as p } from "./FlowVariableSelector-C4IiVzue.js";
6
+ import { t as m } from "./useProvideForFlowVariables-Ck3YUR2C.js";
7
+ import { n as h } from "./useProvidedState-478_KXOe-Dpb35s5s.js";
8
+ import { T as g, a as _, i as v, r as y, t as b, u as x } from "./jsonforms-vue.esm-B9eODaNM.js";
9
+ import { r as S } from "./src-pw1LRAdm-uu-I1-YX.js";
10
+ import { a as ee, i as C, l as te, n as w, o as ne, r as T, t as E } from "./useArrayIds-CpJmT5_d.js";
11
+ import { a as D, o as re, r as O, s as k, t as A } from "./elementCheckboxRenderer-BTDQ1ITf.js";
12
+ import { Fragment as j, computed as M, createBlock as N, createCommentVNode as P, createElementBlock as F, createElementVNode as I, createVNode as L, defineComponent as R, inject as ie, mergeProps as ae, nextTick as oe, normalizeClass as z, normalizeStyle as B, onMounted as V, openBlock as H, provide as U, ref as W, renderList as G, renderSlot as K, resolveComponent as q, toDisplayString as J, toRaw as se, unref as Y, watch as X, withCtx as Z } from "vue";
12
13
  //#region ../core-ui/src/nodeDialog/layoutComponents/arrayLayout/ArrayFlowVariablesButton.vue?vue&type=script&setup=true&lang.ts
13
- var oe = {
14
- key: 0,
15
- class: "confirm-step"
16
- }, se = {
14
+ var ce = {
17
15
  key: 1,
16
+ class: "confirm-step"
17
+ }, le = {
18
+ key: 2,
18
19
  class: "popover"
19
- }, ce = /*#__PURE__*/ e(/* @__PURE__ */ R({
20
+ }, Q = /*#__PURE__*/ e(/* @__PURE__ */ R({
20
21
  __name: "ArrayFlowVariablesButton",
21
22
  props: {
22
23
  arrayFlowVariables: {},
24
+ deprecatedConfigPaths: {},
23
25
  dataPath: {},
24
26
  hover: { type: Boolean },
25
27
  previewError: { type: Boolean }
26
28
  },
27
- setup(e, { expose: t }) {
28
- let n = e, r = M(() => !!n.arrayFlowVariables?.some(({ controllingFlowVariableName: e }) => !!e)), i = M(() => n.arrayFlowVariables.map(({ configPath: e }) => ({
29
+ setup(e, { expose: n }) {
30
+ let r = e, a = M(() => !!r.arrayFlowVariables?.some(({ controllingFlowVariableName: e }) => !!e)), s = M(() => r.arrayFlowVariables.map(({ configPath: e }) => ({
29
31
  configPath: e,
30
32
  exposeOnly: !1,
31
- dataPath: n.dataPath,
32
- deprecatedConfigPaths: []
33
+ dataPath: r.dataPath,
34
+ deprecatedConfigPaths: r.deprecatedConfigPaths
33
35
  })));
34
- A({
35
- dataPath: n.dataPath,
36
- configPaths: i
36
+ m({
37
+ dataPath: r.dataPath,
38
+ configPaths: s
37
39
  });
38
- let a = m(), o = M(() => n.arrayFlowVariables.filter(({ controllingFlowVariableName: e }) => !!e).some(({ configPath: e }) => {
39
- let t = a[e];
40
+ let { deprecatedSetConfigPaths: l } = u(s), f = M(() => l.value.length > 0), h = t(), g = M(() => r.arrayFlowVariables.filter(({ controllingFlowVariableName: e }) => !!e).some(({ configPath: e }) => {
41
+ let t = h[e];
40
42
  return t?.controllingFlowVariableAvailable === !1 || t?.controllingFlowVariableOfCorrectType === !1;
41
- })), s = M(() => n.previewError || o.value), l = U(!1), d = M(() => r.value || l.value), p = U(!1);
42
- X(p, (e) => {
43
- e && (l.value = r.value);
43
+ })), _ = M(() => r.previewError || g.value), v = W(!1), y = M(() => a.value || v.value), b = W(!1);
44
+ X(b, (e) => {
45
+ e && (v.value = a.value);
44
46
  });
45
- let h = (e) => e.required && !e.controllingFlowVariableName ? "A flow variable is required here." : void 0, g = U(null);
46
- return t({ scrollIntoViewIfPopoverOpen: () => {
47
- if (!p.value) return;
48
- let e = g.value?.$el ?? null;
47
+ let x = (e) => e.required && !e.controllingFlowVariableName ? "A flow variable is required here." : void 0, S = W(null);
48
+ return n({ scrollIntoViewIfPopoverOpen: () => {
49
+ if (!b.value) return;
50
+ let e = S.value?.$el ?? null;
49
51
  for (; e !== null && !(e instanceof Element);) e = e.nextSibling;
50
52
  e?.scrollIntoView?.({ block: "nearest" });
51
- } }), (e, t) => (V(), N(Y(c), {
53
+ } }), (e, t) => (H(), N(Y(i), {
52
54
  ref_key: "toggleButton",
53
- ref: g,
54
- modelValue: p.value,
55
- "onUpdate:modelValue": t[1] ||= (e) => p.value = e,
56
- "in-set": r.value,
57
- error: s.value,
58
- hidden: !e.hover && !r.value && !s.value
55
+ ref: S,
56
+ modelValue: b.value,
57
+ "onUpdate:modelValue": t[1] ||= (e) => b.value = e,
58
+ "in-set": a.value || f.value,
59
+ error: _.value,
60
+ hidden: !e.hover && !a.value && !f.value && !_.value
59
61
  }, {
60
- default: Z(() => [d.value ? (V(), F("div", se, [(V(!0), F(j, null, W(e.arrayFlowVariables, (t) => (V(), N(T, {
62
+ default: Z(() => [f.value ? (H(), N(d, { key: 0 })) : y.value ? (H(), F("div", le, [(H(!0), F(j, null, G(e.arrayFlowVariables, (t) => (H(), N(p, {
61
63
  key: t.configPath,
62
64
  label: t.title,
63
- "error-sub-text": r.value ? h(t) : void 0,
65
+ "error-sub-text": a.value ? x(t) : void 0,
64
66
  "data-path": e.dataPath,
65
67
  "persist-path": t.configPath,
66
68
  "skip-override-value-fetch": "",
@@ -70,11 +72,11 @@ var oe = {
70
72
  "error-sub-text",
71
73
  "data-path",
72
74
  "persist-path"
73
- ]))), 128))])) : (V(), F("div", oe, [L(Y(f), { text: "Instead of manually adding elements to the array, you can set the content via array variables here." }), L(Y(u), {
75
+ ]))), 128))])) : (H(), F("div", ce, [L(Y(c), { text: "Instead of manually adding elements to the array, you can set the content via array variables here." }), L(Y(o), {
74
76
  variant: "outlined",
75
77
  size: "small",
76
78
  label: "Set array flow variables",
77
- onClick: t[0] ||= (e) => l.value = !0
79
+ onClick: t[0] ||= (e) => v.value = !0
78
80
  })]))]),
79
81
  _: 1
80
82
  }, 8, [
@@ -84,13 +86,13 @@ var oe = {
84
86
  "hidden"
85
87
  ]));
86
88
  }
87
- }), [["__scopeId", "data-v-4a4e76d5"]]), le = {
89
+ }), [["__scopeId", "data-v-258e4563"]]), ue = {
88
90
  key: 1,
89
91
  class: "vertical"
90
- }, ue = { class: "title-container" }, de = ["title"], fe = { key: 0 }, pe = {
92
+ }, de = { class: "title-container" }, fe = ["title"], pe = { key: 0 }, me = {
91
93
  key: 0,
92
94
  class: "sub-title"
93
- }, me = "topLevelElementScope", he = /*#__PURE__*/ e(/* @__PURE__ */ R({
95
+ }, he = "topLevelElementScope", ge = /*#__PURE__*/ e(/* @__PURE__ */ R({
94
96
  __name: "ArrayLayoutItemLabel",
95
97
  props: {
96
98
  arrayUiSchema: {},
@@ -99,50 +101,50 @@ var oe = {
99
101
  useSectionLayout: { type: Boolean }
100
102
  },
101
103
  setup(e) {
102
- let n = e, r = n.titleConfig, i = M(() => ({
103
- ...n.arrayUiSchema,
104
- scope: me
105
- })), a = r.type === "provided" ? t(i, "arrayElementTitle", "") : r.title, o = M(() => r.type === "provided" ? null : n.index + 1), s = t(i, "elementSubTitle", "");
106
- return (e, t) => e.useSectionLayout ? (V(), N(Y(p), {
104
+ let t = e, n = t.titleConfig, r = M(() => ({
105
+ ...t.arrayUiSchema,
106
+ scope: he
107
+ })), i = n.type === "provided" ? h(r, "arrayElementTitle", "") : n.title, a = M(() => n.type === "provided" ? null : t.index + 1), o = h(r, "elementSubTitle", "");
108
+ return (e, t) => e.useSectionLayout ? (H(), N(Y(S), {
107
109
  key: 0,
108
- "title-text": Y(r).type === "enumerated" && o.value ? `${Y(a)} ${o.value}` : Y(a),
110
+ "title-text": Y(n).type === "enumerated" && a.value ? `${Y(i)} ${a.value}` : Y(i),
109
111
  class: "section-heading"
110
- }, null, 8, ["title-text"])) : (V(), F("div", le, [I("div", ue, [I("span", {
112
+ }, null, 8, ["title-text"])) : (H(), F("div", ue, [I("div", de, [I("span", {
111
113
  class: "title",
112
- title: Y(a)
113
- }, q(Y(a)), 9, de), o.value ? (V(), F("span", fe, "\xA0" + q(o.value), 1)) : P("", !0)]), Y(s) ? (V(), F("span", pe, q(Y(s)), 1)) : P("", !0)]));
114
+ title: Y(i)
115
+ }, J(Y(i)), 9, fe), a.value ? (H(), F("span", pe, "\xA0" + J(a.value), 1)) : P("", !0)]), Y(o) ? (H(), F("span", me, J(Y(o)), 1)) : P("", !0)]));
114
116
  }
115
- }), [["__scopeId", "data-v-a0a3d922"]]), ge = (e, t) => {
117
+ }), [["__scopeId", "data-v-a0a3d922"]]), _e = (e, t) => {
116
118
  if ("id" in e) return { id: `${t}/items${e.id.replace(/^#/, "")}` };
117
119
  let n = e.scope;
118
120
  return n ? n === "topLevelElementScope" ? { scope: t } : { scope: `${t}/items${n.replace(/^#/, "")}` } : { scope: n };
119
- }, _e = (e, t, n) => {
120
- let r = "addStateProviderListener", i = b(r), a = Symbol("arrayParentScope"), o = ne(a) ?? n;
121
- H(a, o), H(r, ({ indexIds: n = [], indices: r = [], ...a }, s) => a.settingsId ? i({
121
+ }, ve = (e, t, r) => {
122
+ let i = "addStateProviderListener", a = n(i), o = Symbol("arrayParentScope"), s = ie(o) ?? r;
123
+ U(o, s), U(i, ({ indexIds: n = [], indices: r = [], ...i }, o) => i.settingsId ? a({
122
124
  indexIds: n,
123
125
  indices: r,
124
- ...a
125
- }, s) : i({
126
- ...a,
127
- ...ge(a, o),
126
+ ...i
127
+ }, o) : a({
128
+ ...i,
129
+ ..._e(i, s),
128
130
  indexIds: [e, ...n],
129
131
  indices: [t, ...r]
130
- }, s));
131
- }, ve = (e) => {
132
- let t = "trigger", n = b(t);
133
- H(t, (t) => {
134
- let { id: r, indexIds: i = [], settingsId: a } = t;
135
- return n(a ? {
136
- id: r,
132
+ }, o));
133
+ }, ye = (e) => {
134
+ let t = "trigger", r = n(t);
135
+ U(t, (t) => {
136
+ let { id: n, indexIds: i = [], settingsId: a } = t;
137
+ return r(a ? {
138
+ id: n,
137
139
  indexIds: i,
138
140
  settingsId: a
139
141
  } : {
140
- id: r,
142
+ id: n,
141
143
  indexIds: [e, ...i]
142
144
  });
143
145
  });
144
- let r = "isTriggerActive", i = b(r);
145
- H(r, ({ id: t, indexIds: n = [], settingsId: r }) => i(r ? {
146
+ let i = "isTriggerActive", a = n(i);
147
+ U(i, ({ id: t, indexIds: n = [], settingsId: r }) => a(r ? {
146
148
  id: t,
147
149
  indexIds: n,
148
150
  settingsId: r
@@ -150,10 +152,10 @@ var oe = {
150
152
  id: t,
151
153
  indexIds: [e, ...n]
152
154
  }));
153
- }, ye = { class: "item-header" }, be = { class: "elements" }, xe = {
155
+ }, be = { class: "item-header" }, xe = { class: "elements" }, Se = {
154
156
  key: 1,
155
157
  class: "element"
156
- }, Se = { class: "form-component" }, Ce = { class: "compensate-label" }, we = /*#__PURE__*/ e(/* @__PURE__ */ R({
158
+ }, Ce = { class: "form-component" }, we = { class: "compensate-label" }, Te = /*#__PURE__*/ e(/* @__PURE__ */ R({
157
159
  __name: "ArrayLayoutItem",
158
160
  props: {
159
161
  elements: {},
@@ -170,38 +172,38 @@ var oe = {
170
172
  useSectionLayout: { type: Boolean }
171
173
  },
172
174
  setup(e, { expose: t }) {
173
- let n = e, { resetElementDirtyState: r } = w({ isNewElement: n.isNewElement });
174
- _e(n.id, n.index, n.arrayUiSchema.scope), ve(n.id);
175
- let i = _(n.idsRecord, n.id);
176
- H("createArrayAtPath", (e) => y(i, e));
177
- let a = M(() => s(n.path, `${n.index}`)), o = b("sendAlert");
178
- return B(() => {
179
- !n.arrayElementTitle && n.elements.length > 1 && o({
175
+ let r = e, { resetElementDirtyState: i } = k({ isNewElement: r.isNewElement });
176
+ ve(r.id, r.index, r.arrayUiSchema.scope), ye(r.id);
177
+ let a = w(r.idsRecord, r.id);
178
+ U("createArrayAtPath", (e) => E(a, e));
179
+ let o = M(() => x(r.path, `${r.index}`)), s = n("sendAlert");
180
+ return V(() => {
181
+ !r.arrayElementTitle && r.elements.length > 1 && s({
180
182
  message: "For displaying more than one row of widgets within an array layout element, the configuration must provide a title for an element.",
181
183
  type: "error"
182
184
  });
183
185
  }), t({
184
186
  deleteArrayItem: () => {
185
- g(n.idsRecord, n.id);
187
+ C(r.idsRecord, r.id);
186
188
  },
187
189
  resetDirtyState: () => {
188
- r();
190
+ i();
189
191
  }
190
- }), (e, t) => (e.useCardLayout || e.useSectionLayout) && e.arrayElementTitle ? (V(), F(j, { key: 0 }, [I("div", ye, [I("div", {
192
+ }), (e, t) => (e.useCardLayout || e.useSectionLayout) && e.arrayElementTitle ? (H(), F(j, { key: 0 }, [I("div", be, [I("div", {
191
193
  class: "left",
192
- style: ae({
194
+ style: B({
193
195
  alignItems: e.subTitleProvider ? "normal" : "center",
194
196
  ...e.useSectionLayout ? { flex: 1 } : {}
195
197
  })
196
- }, [e.elementCheckboxScope ? G(e.$slots, "renderer", {
198
+ }, [e.elementCheckboxScope ? K(e.$slots, "renderer", {
197
199
  key: 0,
198
- path: a.value,
200
+ path: o.value,
199
201
  element: {
200
202
  type: "Control",
201
203
  scope: e.elementCheckboxScope,
202
- options: { format: Y(O) }
204
+ options: { format: Y(A) }
203
205
  }
204
- }, void 0, !0) : P("", !0), L(he, {
206
+ }, void 0, !0) : P("", !0), L(ge, {
205
207
  "title-config": e.arrayElementTitle,
206
208
  "array-ui-schema": e.arrayUiSchema,
207
209
  index: e.index,
@@ -211,16 +213,16 @@ var oe = {
211
213
  "array-ui-schema",
212
214
  "index",
213
215
  "use-section-layout"
214
- ])], 4), G(e.$slots, "controls", {}, void 0, !0)]), I("div", be, [(V(!0), F(j, null, W(e.elements, ([t, n]) => G(e.$slots, "renderer", {
215
- key: `${a.value}-${t}`,
216
- path: a.value,
216
+ ])], 4), K(e.$slots, "controls", {}, void 0, !0)]), I("div", xe, [(H(!0), F(j, null, G(e.elements, ([t, n]) => K(e.$slots, "renderer", {
217
+ key: `${o.value}-${t}`,
218
+ path: o.value,
217
219
  element: n
218
- }, void 0, !0)), 128))])], 64)) : (V(), F("div", xe, [I("div", Se, [G(e.$slots, "renderer", {
220
+ }, void 0, !0)), 128))])], 64)) : (H(), F("div", Se, [I("div", Ce, [K(e.$slots, "renderer", {
219
221
  element: e.elements[0][1],
220
- path: a.value
221
- }, void 0, !0)]), I("div", Ce, [G(e.$slots, "controls", {}, void 0, !0)])]));
222
+ path: o.value
223
+ }, void 0, !0)]), I("div", we, [K(e.$slots, "controls", {}, void 0, !0)])]));
222
224
  }
223
- }), [["__scopeId", "data-v-175abc25"]]), Te = { class: "item-controls" }, Ee = /*#__PURE__*/ e(/* @__PURE__ */ R({
225
+ }), [["__scopeId", "data-v-175abc25"]]), Ee = { class: "item-controls" }, De = /*#__PURE__*/ e(/* @__PURE__ */ R({
224
226
  __name: "ArrayLayoutItemControls",
225
227
  props: {
226
228
  isFirst: {
@@ -256,9 +258,9 @@ var oe = {
256
258
  ],
257
259
  setup(e, { emit: t }) {
258
260
  let n = t;
259
- return (e, t) => (V(), F("div", Te, [
260
- G(e.$slots, "before", {}, void 0, !0),
261
- e.showSortControls ? (V(), N(Y(u), {
261
+ return (e, t) => (H(), F("div", Ee, [
262
+ K(e.$slots, "before", {}, void 0, !0),
263
+ e.showSortControls ? (H(), N(Y(o), {
262
264
  key: 0,
263
265
  "leading-icon": "arrow-up",
264
266
  size: "small",
@@ -268,7 +270,7 @@ var oe = {
268
270
  ariaLabel: "Move up",
269
271
  onClick: t[0] ||= (e) => n("moveUp")
270
272
  }, null, 8, ["disabled"])) : P("", !0),
271
- e.showSortControls ? (V(), N(Y(u), {
273
+ e.showSortControls ? (H(), N(Y(o), {
272
274
  key: 1,
273
275
  "leading-icon": "arrow-down",
274
276
  size: "small",
@@ -278,7 +280,7 @@ var oe = {
278
280
  ariaLabel: "Move down",
279
281
  onClick: t[1] ||= (e) => n("moveDown")
280
282
  }, null, 8, ["disabled"])) : P("", !0),
281
- e.showDuplicateButton ? (V(), N(Y(u), {
283
+ e.showDuplicateButton ? (H(), N(Y(o), {
282
284
  key: 2,
283
285
  "leading-icon": "copy",
284
286
  size: "small",
@@ -288,7 +290,7 @@ var oe = {
288
290
  ariaLabel: "Duplicate",
289
291
  onClick: t[2] ||= (e) => n("duplicate")
290
292
  }, null, 8, ["disabled"])) : P("", !0),
291
- e.showDeleteButton ? (V(), N(Y(u), {
293
+ e.showDeleteButton ? (H(), N(Y(o), {
292
294
  key: 3,
293
295
  "leading-icon": "trash",
294
296
  size: "small",
@@ -300,114 +302,118 @@ var oe = {
300
302
  }, null, 8, ["disabled"])) : P("", !0)
301
303
  ]));
302
304
  }
303
- }), [["__scopeId", "data-v-83acfe84"]]), De = ({ path: e, handleChange: t }) => {
304
- let { arrayFlowVariables: n, arrayFlowVariablesSet: r, missingRequiredVariables: i } = C(e);
305
- D(r);
306
- let a = U(null), o = U(0), s = x("flowVariablesApi"), c = 0, l = async () => {
307
- if (!r.value) {
308
- a.value = null, o.value = 0;
305
+ }), [["__scopeId", "data-v-83acfe84"]]), Oe = ({ path: e, handleChange: t }) => {
306
+ let { arrayFlowVariables: n, arrayFlowVariablesSet: i, deprecatedConfigPaths: a, deprecatedVariablesSet: o, missingRequiredVariables: s } = f(e);
307
+ l(i);
308
+ let c = W(null), u = W(0), d = r("flowVariablesApi"), p = 0, m = async () => {
309
+ if (!i.value) {
310
+ c.value = null, u.value = 0;
309
311
  return;
310
312
  }
311
- if (i.value.length > 0) {
312
- a.value = "No array flow variable is set for a required parameter.";
313
+ if (s.value.length > 0) {
314
+ c.value = "No array flow variable is set for a required parameter.";
313
315
  return;
314
316
  }
315
- let l = ++c, u = await s.getFlowVariableOverrideValue(n.value.map(({ configPath: e }) => e), e.value);
316
- l === c && (u === void 0 ? a.value = "The array content could not be derived from the set array flow variables. Make sure the variables exist and provide the same number of elements." : (a.value = null, o.value = Math.max(0, u.length - 3), t(e.value, u.slice(0, 3))));
317
+ let r = ++p, a = await d.getFlowVariableOverrideValue(n.value.map(({ configPath: e }) => e), e.value);
318
+ r === p && (a === void 0 ? c.value = "The array content could not be derived from the set array flow variables. Make sure the variables exist and provide the same number of elements." : (c.value = null, u.value = Math.max(0, a.length - 3), t(e.value, a.slice(0, 3))));
317
319
  };
318
- return B(() => {
319
- r.value && l();
320
- }), X(n, () => l()), {
320
+ return V(() => {
321
+ i.value && m();
322
+ }), X(n, () => m()), {
321
323
  arrayFlowVariables: n,
322
- arrayFlowVariablesSet: r,
323
- arrayFlowVariablesPreviewError: a,
324
- numHiddenPreviewElements: o
324
+ arrayFlowVariablesSet: i,
325
+ deprecatedConfigPaths: a,
326
+ deprecatedVariablesSet: o,
327
+ arrayFlowVariablesPreviewError: c,
328
+ numHiddenPreviewElements: u
325
329
  };
326
- }, Q = 200, Oe = (e) => e.every((e) => typeof e == "string"), ke = (e) => Oe(e) ? e.reduce((e, t) => e + t, "") : !1, Ae = (e, t) => {
327
- let n = U(/* @__PURE__ */ new Map()), r = U(!1), i = b("isTriggerActive"), a = () => {
330
+ }, $ = 200, ke = (e) => e.every((e) => typeof e == "string"), Ae = (e) => ke(e) ? e.reduce((e, t) => e + t, "") : !1, je = (e, t) => {
331
+ let r = W(/* @__PURE__ */ new Map()), i = W(!1), a = n("isTriggerActive"), o = () => {
328
332
  let e = !1;
329
- i({ id: S }).then((t) => {
330
- e = !0, t.state === "SUCCESS" && (n.value = t.result.reduce((e, { indices: t, isActive: n }) => (e.set(t[0], n), e), /* @__PURE__ */ new Map()), r.value = !1);
333
+ a({ id: D }).then((t) => {
334
+ e = !0, t.state === "SUCCESS" && (r.value = t.result.reduce((e, { indices: t, isActive: n }) => (e.set(t[0], n), e), /* @__PURE__ */ new Map()), i.value = !1);
331
335
  }), setTimeout(() => {
332
- e || (r.value = !0);
333
- }, Q), r.value = !1;
334
- }, o = U(!1);
335
- return B(() => {
336
+ e || (i.value = !0);
337
+ }, $), i.value = !1;
338
+ }, s = W(!1);
339
+ return V(() => {
336
340
  setTimeout(() => {
337
- o.value || (r.value = !0);
338
- }, Q);
339
- }), X(() => ke(t.value), (r) => {
340
- e && r && (o.value = !0, t.value.every((e) => n.value.has(e)) && n.value.size === t.value.length || ie(a));
341
+ s.value || (i.value = !0);
342
+ }, $);
343
+ }), X(() => Ae(t.value), (n) => {
344
+ e && n && (s.value = !0, t.value.every((e) => r.value.has(e)) && r.value.size === t.value.length || oe(o));
341
345
  }, { immediate: !0 }), {
342
- isEdited: n,
343
- isEditedIsLoading: r
346
+ isEdited: r,
347
+ isEditedIsLoading: i
344
348
  };
345
- }, je = R({
349
+ }, Me = R({
346
350
  name: "ArrayLayout",
347
351
  components: {
348
- DispatchRenderer: a,
349
- KdsButton: u,
350
- KdsEmptyState: d,
351
- ArrayFlowVariablesButton: ce,
352
- ArrayLayoutItemControls: Ee,
353
- ArrayLayoutItem: we
352
+ DispatchRenderer: y,
353
+ KdsButton: o,
354
+ KdsEmptyState: s,
355
+ ArrayFlowVariablesButton: Q,
356
+ ArrayLayoutItemControls: De,
357
+ ArrayLayoutItem: Te
354
358
  },
355
- props: { ...o() },
359
+ props: { ...b() },
356
360
  setup(e) {
357
- let { handleChange: a, control: o } = r(e), c = M(() => o.value.data?.length ?? 0), u = b("getInitialValue")(o.value.path), d = U(u?.length ?? 0), f = t(M(() => o.value.uischema), "elementDefaultValue", null);
358
- k({
359
- dataPath: M(() => o.value.path),
360
- value: c,
361
- initialValue: d.value ?? 0,
361
+ let { handleChange: t, control: r } = _(e), i = M(() => r.value.data?.length ?? 0), o = n("getInitialValue")(r.value.path), s = W(o?.length ?? 0), c = h(M(() => r.value.uischema), "elementDefaultValue", null);
362
+ re({
363
+ dataPath: M(() => r.value.path),
364
+ value: i,
365
+ initialValue: s.value ?? 0,
362
366
  valueComparator: {
363
367
  setSettings: (e) => {
364
- d.value = e;
368
+ s.value = e;
365
369
  },
366
- isModified: (e) => d.value !== e
370
+ isModified: (e) => s.value !== e
367
371
  }
368
372
  });
369
- let p = b("createArrayAtPath")(n(o.value.uischema.scope)), m = (e) => Object.keys(p).find((t) => te(t) === e), g = (e) => m(e) ?? v();
370
- X(() => o.value.data, (e) => {
371
- e.forEach((e, t) => {
372
- e._id || a(s(s(o.value.path, `${t}`), "_id"), g(t));
373
+ let l = n("createArrayAtPath")(g(r.value.uischema.scope)), u = (e) => Object.keys(l).find((t) => ne(t) === e), d = (e) => u(e) ?? T();
374
+ X(() => r.value.data, (e) => {
375
+ e.forEach((e, n) => {
376
+ e._id || t(x(x(r.value.path, `${n}`), "_id"), d(n));
373
377
  });
374
378
  }, { immediate: !0 });
375
- let _ = M(() => o.value.data.map(({ _id: e }) => e)), y = (e) => e.reduce((e, t) => (e ?? "<noId>") + (t ?? "<noId>"), "");
376
- X(() => _.value, (e, t) => {
377
- t && y(e) === y(t) || (e.forEach((e, t) => e && ee(e, t)), t?.filter((t) => t && !e.includes(t)).forEach((e) => h(e)));
379
+ let f = M(() => r.value.data.map(({ _id: e }) => e)), p = (e) => e.reduce((e, t) => (e ?? "<noId>") + (t ?? "<noId>"), "");
380
+ X(() => f.value, (e, t) => {
381
+ t && p(e) === p(t) || (e.forEach((e, t) => e && te(e, t)), t?.filter((t) => t && !e.includes(t)).forEach((e) => ee(e)));
378
382
  }, { immediate: !0 });
379
- let { isEdited: x, isEditedIsLoading: S } = Ae(o.value.uischema.options.withEditAndReset, _), C = U(null), { arrayFlowVariables: w, arrayFlowVariablesSet: T, arrayFlowVariablesPreviewError: E, numHiddenPreviewElements: D } = De({
380
- path: M(() => o.value.path),
381
- handleChange: a
382
- }), O = U(null);
383
- w.value !== null && l(O, () => C.value?.scrollIntoViewIfPopoverOpen());
384
- let { addItem: A, moveDown: j, moveUp: N, removeItems: P, control: F } = i(e);
383
+ let { isEdited: m, isEditedIsLoading: y } = je(r.value.uischema.options.withEditAndReset, f), b = W(null), { arrayFlowVariables: S, arrayFlowVariablesSet: C, deprecatedConfigPaths: w, deprecatedVariablesSet: E, arrayFlowVariablesPreviewError: D, numHiddenPreviewElements: O } = Oe({
384
+ path: M(() => r.value.path),
385
+ handleChange: t
386
+ }), k = W(null);
387
+ S.value !== null && a(k, () => b.value?.scrollIntoViewIfPopoverOpen());
388
+ let { addItem: A, moveDown: j, moveUp: N, removeItems: P, control: F } = v(e);
385
389
  return {
386
390
  addItem: A,
387
391
  moveDown: j,
388
392
  moveUp: N,
389
393
  removeItems: P,
390
- handleChange: a,
394
+ handleChange: t,
391
395
  control: F,
392
- numElements: c,
393
- cleanArrayLength: d,
394
- idsRecord: p,
395
- providedElementDefaultValue: f,
396
- isEdited: x,
397
- isEditedIsLoading: S,
398
- arrayFlowVariables: w,
399
- arrayFlowVariablesSet: T,
400
- arrayFlowVariablesPreviewError: E,
401
- numHiddenPreviewElements: D,
402
- arrayFlowVariablesButton: C,
403
- arrayRoot: O
396
+ numElements: i,
397
+ cleanArrayLength: s,
398
+ idsRecord: l,
399
+ providedElementDefaultValue: c,
400
+ isEdited: m,
401
+ isEditedIsLoading: y,
402
+ arrayFlowVariables: S,
403
+ arrayFlowVariablesSet: C,
404
+ deprecatedConfigPaths: w,
405
+ deprecatedVariablesSet: E,
406
+ arrayFlowVariablesPreviewError: D,
407
+ numHiddenPreviewElements: O,
408
+ arrayFlowVariablesButton: b,
409
+ arrayRoot: k
404
410
  };
405
411
  },
406
412
  data() {
407
413
  return {
408
414
  elementLayoutKey: "elementLayout",
409
415
  arrayElementTitleKey: "arrayElementTitle",
410
- editResetButtonFormat: E,
416
+ editResetButtonFormat: O,
411
417
  newElementId: null,
412
418
  resetDirtyStateMethods: /* @__PURE__ */ new Map(),
413
419
  deleteArrayItemMethods: /* @__PURE__ */ new Map(),
@@ -418,6 +424,9 @@ var oe = {
418
424
  disabled() {
419
425
  return !this.control.enabled;
420
426
  },
427
+ deprecatedOrNewArrayFlowVariablesSet() {
428
+ return this.deprecatedVariablesSet || this.arrayFlowVariablesSet;
429
+ },
421
430
  showItems() {
422
431
  return this.numElements > 0 && !(this.arrayFlowVariablesSet && this.arrayFlowVariablesPreviewError);
423
432
  },
@@ -487,7 +496,7 @@ var oe = {
487
496
  }), t;
488
497
  },
489
498
  addDefaultItem() {
490
- let e = v();
499
+ let e = T();
491
500
  this.newElementId = e, this.addItem(this.control.path, {
492
501
  ...this.createDefaultValue(this.control.schema),
493
502
  _id: e
@@ -500,9 +509,9 @@ var oe = {
500
509
  this.moveDown?.(this.control.path, e)();
501
510
  },
502
511
  duplicateItem(e) {
503
- let t = J(this.control.data[e]);
512
+ let t = se(this.control.data[e]);
504
513
  if (t) {
505
- let n = JSON.parse(JSON.stringify(t)), r = v();
514
+ let n = JSON.parse(JSON.stringify(t)), r = T();
506
515
  n._id = r, this.newElementId = r;
507
516
  let i = [...this.control.data];
508
517
  i.splice(e + 1, 0, n), this.handleChange(this.control.path, i);
@@ -518,20 +527,20 @@ var oe = {
518
527
  },
519
528
  deleteItem(e) {
520
529
  let t = this.control.data[this.control.data.length - 1]._id, n = this.control.data[e]._id;
521
- this.clearState(n, t), this.removeItems?.(s(this.control.path, ""), [e])();
530
+ this.clearState(n, t), this.removeItems?.(x(this.control.path, ""), [e])();
522
531
  }
523
532
  }
524
- }), $ = {
533
+ }), Ne = {
525
534
  key: 0,
526
535
  class: "hidden-elements"
527
- }, Me = { class: "right-of-center" };
528
- function Ne(e, t, n, r, i, a) {
529
- let o = K("DispatchRenderer"), s = K("ArrayLayoutItemControls"), c = K("ArrayLayoutItem"), l = K("KdsEmptyState"), u = K("KdsButton"), d = K("ArrayFlowVariablesButton");
530
- return e.control.visible ? (V(), F("div", {
536
+ }, Pe = { class: "right-of-center" };
537
+ function Fe(e, t, n, r, i, a) {
538
+ let o = q("DispatchRenderer"), s = q("ArrayLayoutItemControls"), c = q("ArrayLayoutItem"), l = q("KdsEmptyState"), u = q("KdsButton"), d = q("ArrayFlowVariablesButton");
539
+ return e.control.visible ? (H(), F("div", {
531
540
  key: 0,
532
541
  ref: "arrayRoot",
533
542
  class: z(["array", { cards: e.useCardLayout }])
534
- }, [e.showItems ? (V(!0), F(j, { key: 0 }, W(e.control.data, (t, n) => (V(), F("div", {
543
+ }, [e.showItems ? (H(!0), F(j, { key: 0 }, G(e.control.data, (t, n) => (H(), F("div", {
535
544
  key: `${e.control.path}-${t._id}`,
536
545
  class: z(["item", {
537
546
  card: e.useCardLayout,
@@ -556,14 +565,14 @@ function Ne(e, t, n, r, i, a) {
556
565
  schema: e.control.schema,
557
566
  uischema: t,
558
567
  path: n,
559
- enabled: e.control.enabled && !e.arrayFlowVariablesSet
568
+ enabled: !e.disabled && !e.arrayFlowVariablesSet
560
569
  }, null, 8, [
561
570
  "schema",
562
571
  "uischema",
563
572
  "path",
564
573
  "enabled"
565
574
  ])]),
566
- controls: Z(() => [e.arrayFlowVariablesSet ? P("", !0) : (V(), N(s, {
575
+ controls: Z(() => [e.deprecatedOrNewArrayFlowVariablesSet ? P("", !0) : (H(), N(s, {
567
576
  key: 0,
568
577
  "is-first": n === 0,
569
578
  "is-last": n === e.control.data.length - 1,
@@ -576,7 +585,7 @@ function Ne(e, t, n, r, i, a) {
576
585
  onDuplicate: (t) => e.duplicateItem(n),
577
586
  onDelete: (t) => e.deleteItem(n)
578
587
  }, {
579
- before: Z(() => [e.showEditAndResetControls ? (V(), N(o, re({
588
+ before: Z(() => [e.showEditAndResetControls ? (H(), N(o, ae({
580
589
  key: 0,
581
590
  ref_for: !0
582
591
  }, e.control, {
@@ -623,7 +632,7 @@ function Ne(e, t, n, r, i, a) {
623
632
  "element-checkbox-scope",
624
633
  "use-card-layout",
625
634
  "use-section-layout"
626
- ]), e.isPreviewCutOff && n === e.control.data.length - 1 ? (V(), F("div", $, q(e.hiddenPreviewElementsText), 1)) : P("", !0)], 2))), 128)) : P("", !0), I("div", null, [e.showItems ? P("", !0) : (V(), N(l, {
635
+ ]), e.isPreviewCutOff && n === e.control.data.length - 1 ? (H(), F("div", Ne, J(e.hiddenPreviewElementsText), 1)) : P("", !0)], 2))), 128)) : P("", !0), I("div", null, [e.showItems ? P("", !0) : (H(), N(l, {
627
636
  key: 0,
628
637
  class: "empty-array",
629
638
  disabled: e.disabled,
@@ -637,32 +646,34 @@ function Ne(e, t, n, r, i, a) {
637
646
  class: "button-row",
638
647
  onMouseover: t[0] ||= (t) => e.buttonRowHovered = !0,
639
648
  onMouseleave: t[1] ||= (t) => e.buttonRowHovered = !1
640
- }, [e.showAddAndDeleteButtons ? (V(), N(u, {
649
+ }, [e.showAddAndDeleteButtons ? (H(), N(u, {
641
650
  key: 0,
642
651
  variant: "outlined",
643
652
  size: "small",
644
653
  "leading-icon": "plus",
645
654
  label: e.control.uischema.options.addButtonText || "New",
646
- disabled: e.disabled || e.arrayFlowVariablesSet,
655
+ disabled: e.disabled || e.deprecatedOrNewArrayFlowVariablesSet,
647
656
  onClick: e.addDefaultItem
648
657
  }, null, 8, [
649
658
  "label",
650
659
  "disabled",
651
660
  "onClick"
652
- ])) : P("", !0), I("div", Me, [e.arrayFlowVariables ? (V(), N(d, {
661
+ ])) : P("", !0), I("div", Pe, [e.arrayFlowVariables ? (H(), N(d, {
653
662
  key: 0,
654
663
  ref: "arrayFlowVariablesButton",
655
664
  "array-flow-variables": e.arrayFlowVariables,
665
+ "deprecated-config-paths": e.deprecatedConfigPaths,
656
666
  "data-path": e.control.path,
657
667
  hover: e.buttonRowHovered,
658
668
  "preview-error": !!e.arrayFlowVariablesPreviewError
659
669
  }, null, 8, [
660
670
  "array-flow-variables",
671
+ "deprecated-config-paths",
661
672
  "data-path",
662
673
  "hover",
663
674
  "preview-error"
664
675
  ])) : P("", !0)])], 32)])], 2)) : P("", !0);
665
676
  }
666
- var Pe = /*#__PURE__*/ e(je, [["render", Ne], ["__scopeId", "data-v-917d8667"]]);
677
+ var Ie = /*#__PURE__*/ e(Me, [["render", Fe], ["__scopeId", "data-v-f85660bc"]]);
667
678
  //#endregion
668
- export { Pe as default };
679
+ export { Ie as default };