@knime/scripting-editor 0.0.132 → 0.0.133

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 (110) hide show
  1. package/dist/{AnyOfTwinlist-DEv6xgTn-BV0O3had.js → AnyOfTwinlist-CKNl_Xwk-DpdmD6Y_.js} +1 -1
  2. package/dist/{ArrayLayout-xpUEX4UY.js → ArrayLayout-XksJXnhS.js} +51 -51
  3. package/dist/{ButtonControl-BFG84O1r.js → ButtonControl-CGN4of4k.js} +5 -5
  4. package/dist/{CheckboxControl-Yqf7_a5P--lSSti7m.js → CheckboxControl-Doj5Pl3W-Dk3mHCwf.js} +1 -1
  5. package/dist/{CheckboxesControl-Cx7qUDbd-ByGOCDtp.js → CheckboxesControl-of1RkErM-Depvhzov.js} +2 -2
  6. package/dist/{CodeEditorControl-DAfgzg-h.js → CodeEditorControl-Cw_Gj8Kn.js} +28 -28
  7. package/dist/{ColorControl-BjIoBGby-B54hb0gK.js → ColorControl-CYp6665w-Cz3T7gFq.js} +1 -1
  8. package/dist/{ColorPreviewControl-Cmpb3_o4--muSe_be.js → ColorPreviewControl-DASvbRv2-BcvEXrhU.js} +24 -24
  9. package/dist/{ComboBoxControl-DJsbSwD6-xuE8rZyf.js → ComboBoxControl-CDsmu2re-DX4k5SqO.js} +7 -7
  10. package/dist/{ConfigurationNodeNotSupported-Bkfoi87W.js → ConfigurationNodeNotSupported-DyQhBiW9.js} +3 -3
  11. package/dist/{ControlWithSubParameters-B9TiQfTU.js → ControlWithSubParameters-zcN9X0gF.js} +18 -14
  12. package/dist/{CredentialsControl-CqulYPUL.js → CredentialsControl-B0awnzBc.js} +2 -2
  13. package/dist/{CredentialsControlBase-x4zTZK8u.js → CredentialsControlBase-CMeDxKBK.js} +14 -14
  14. package/dist/{DateControl-CcuCk97j-CdiO3xtM.js → DateControl-CQqgNnLT-BwpIpPwC.js} +5 -5
  15. package/dist/DateTimeControl-CREQEjeO-DvTO-X97.js +112 -0
  16. package/dist/{DateTimeFormatPickerControl-CpaOPUR6-J_PpzzAB.js → DateTimeFormatPickerControl-C8vEg2z6-COYnZjFW.js} +1 -1
  17. package/dist/DialogFileExplorer-zbo5DDXP.js +433 -0
  18. package/dist/{DirtyTrackerRenderer-6k1ego1B.js → DirtyTrackerRenderer-DC192nyo.js} +1 -1
  19. package/dist/{DropdownControl-CpSZxjr1-C804I9fG.js → DropdownControl-CtwmuEsb-Cyfs0JQW.js} +2 -2
  20. package/dist/DynamicInputControl-DXw5qoOq.js +6 -0
  21. package/dist/{ExecutorCoresControl-DoG2-XCx-BC0pTSv1.js → ExecutorCoresControl-CoEYfg6t-Cc6LPHHw.js} +1 -1
  22. package/dist/{ExecutorMemoryControl-DqYRmLt2-DgmK5cxY.js → ExecutorMemoryControl-BljLEdwM-CJXpm-_6.js} +1 -1
  23. package/dist/{FileChooserControl-Cv9Nvwrw.js → FileChooserControl-B0tWVocx.js} +2 -2
  24. package/dist/{FileChooserControlBase-C4WoqeuQ.js → FileChooserControlBase-xHnkds47.js} +91 -91
  25. package/dist/{FileChooserControlForMultiFile-DJydfSjI.js → FileChooserControlForMultiFile-C_v0Qlrw.js} +1 -1
  26. package/dist/{FileUploadControl-IAwE26IH-LLTdmWyW.js → FileUploadControl-BN1ZcIOy-81dPQCFP.js} +138 -138
  27. package/dist/{GridSelectionControl-DUVIpMsY-CuyLvikR.js → GridSelectionControl-llAAbmgk-CX0TsQ0E.js} +32 -32
  28. package/dist/{HorizontalLayout-92oHZT6R--JjwD9hI.js → HorizontalLayout-jN2ocYG5-CrErZyTw.js} +5 -5
  29. package/dist/{IntegerControl-B2TyUPGu-BLpffmEs.js → IntegerControl-CaIxt1i8-DEsNKUHq.js} +1 -1
  30. package/dist/{IntervalControl-BbIwNXK3-DcVnnDMh.js → IntervalControl-t714rU_V-MGYedhl3.js} +3 -3
  31. package/dist/{LabeledGroup-oOuEM_pN.js → LabeledGroup-LQTFxJnW.js} +6 -6
  32. package/dist/{LegacyCredentialsControl-DAZOUpou.js → LegacyCredentialsControl-B7HDTB-Y.js} +24 -20
  33. package/dist/{LinkControl-Cmk_qiO_-CF2rBAA7.js → LinkControl-DHge9xPr-DJ2ZdJgk.js} +1 -1
  34. package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-C0YzJo8M-DJVLdb5q.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-Cj3ak4Kd-CGPIwlnR.js} +1 -1
  35. package/dist/{ManualTwinlistControl-DTl3XPje-CnoltRZh.js → ManualTwinlistControl-DDabLDpL-CBO85_R7.js} +13 -13
  36. package/dist/{MultiFileChooserControl-1YghP5YI.js → MultiFileChooserControl-Bir5CRJ9.js} +15 -15
  37. package/dist/{MultiRuleWrapper-BnwWI1WL.js → MultiRuleWrapper-DwJa92_U.js} +1 -1
  38. package/dist/{MultiSelectListBoxControl-DIV0UiGV-CN3b9J9V.js → MultiSelectListBoxControl-DdWI84_Z-S4a3Gqjz.js} +32 -32
  39. package/dist/{MultimodeTwinlistControl-F1L7mwSB-GnzFL4Xl.js → MultimodeTwinlistControl-Da66Qd_9-Bbml7WCJ.js} +27 -27
  40. package/dist/{NameFilter-Crwz1wiJ-CU1s2b7c.js → NameFilter-CGftAGoS-eES5XN_m.js} +1 -1
  41. package/dist/{NumberControl-CTycpm1q-SsW1E9e6.js → NumberControl-D6IUlr0F-BY4ied5y.js} +1 -1
  42. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-CRNO3Yp4-DIZHQaJH.js → NumberControlBase.vue_vue_type_script_setup_true_lang-E8FQgjrx-D0v57kFS.js} +3 -3
  43. package/dist/{OneOfDropdown-B7KrUOWD-DAFKZmqZ.js → OneOfDropdown-C67MhziA-CpMIH2JQ.js} +5 -5
  44. package/dist/ProgressButtonControl-CxH6Cipu-C6HhyVpC.js +54 -0
  45. package/dist/{RadioButtonsWithDescriptionControl-UmWLsOmL-BjelKrcC.js → RadioButtonsWithDescriptionControl-CbJxLwdI-BoB6XMXH.js} +7 -7
  46. package/dist/{RadioControl-BAoCJNMH-VuiN6M_V.js → RadioControl-DcUIHhJC-BwptwkBW.js} +1 -1
  47. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-DKx6ts7n-BNr3sbHh.js → RadioControlBase.vue_vue_type_script_setup_true_lang-CWUPk9t_-DNZ6dVPk.js} +7 -7
  48. package/dist/{ResourceControlBase-97R2-qQ7-BBi11JJj.js → ResourceControlBase-BQY6errk-u3DjtQtM.js} +18 -18
  49. package/dist/RichTextControl-Mcxf362n-DdOUSE6M.js +19683 -0
  50. package/dist/{SectionLayout-DS6gpiV1-BN6brreP.js → SectionLayout-DyslAsrB-CUKYruK6.js} +13 -13
  51. package/dist/{SettingsSubPanelLayout-CJeD408x-yH9r1jii.js → SettingsSubPanelLayout-Cay8i6NA-DbMFWTQS.js} +7 -7
  52. package/dist/{SimpleTwinlistControl-L1tY6QlY-Dvmt0hp3.js → SimpleTwinlistControl-D4BFF9jE-CLzhAZh8.js} +2 -2
  53. package/dist/{SingleSelectControl-Ce9RLMjD-CTQ6TVF0.js → SingleSelectControl-D-yUZtl2-BUEaZUuq.js} +2 -2
  54. package/dist/{SingleSelectListBoxControl-Dv-XXwO4-BrMTb8AD.js → SingleSelectListBoxControl-BpC-WEID-Fkrf5Nzh.js} +11 -11
  55. package/dist/{SortListControl-BlsAnJjH-tbIOGxZ_.js → SortListControl-7mmEkodd-CNOnx3jy.js} +17 -17
  56. package/dist/{StringFileChooserControl-BUYM9fmT.js → StringFileChooserControl-Bx5y6IUS.js} +11 -11
  57. package/dist/{StyledListItem-DjdZOUWD-BMILJImI.js → StyledListItem-BmNDGGnr-Bq-z-rsZ.js} +17 -17
  58. package/dist/{TeamAndSpacesControl-CEdzSJPJ-45d6LeCk.js → TeamAndSpacesControl-BI4anOSY-M-p6tIeU.js} +20 -20
  59. package/dist/{TeamResourceControl-Cd0UTItF-Coo1MGve.js → TeamResourceControl-s9NfKZEk-YrY32KjS.js} +1 -1
  60. package/dist/{TextAreaControl-B-AfgqCE-BxgZnZ7G.js → TextAreaControl-DSBystkT-BSHORNXB.js} +4 -4
  61. package/dist/TextControl-DBIt0sjP-BIZDsHMy.js +59813 -0
  62. package/dist/{TimeControl-DOs9b4bm-B7dozTCB.js → TimeControl-COlrx8kC-BcVH6ODv.js} +5 -5
  63. package/dist/{TimeframesControl-4JGOYGkE-DfsHVFg9.js → TimeframesControl-Cg12Kpcx-C7dGpAT6.js} +13 -13
  64. package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-C_u035me-DAGCRygG.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-_TYZPooB-Dfpkfwo6.js} +4 -4
  65. package/dist/{TypedStringFilter-C6N8H2Xj-CI1wXgVk.js → TypedStringFilter-CX3YoFa7-C1x-NGyu.js} +1 -1
  66. package/dist/{ValueSwitchControl-BO6x8fsi-B4Fuvawe.js → ValueSwitchControl-DpxEagdS-C4QFBVRx.js} +1 -1
  67. package/dist/{VennDiagramLayout-HkmFaxWm.js → VennDiagramLayout-DUW0acFP.js} +39 -39
  68. package/dist/{VerticalLayout-AMSQYCUV-HYDBzl_2.js → VerticalLayout-X4PVwPsF-b_ZcHKaF.js} +4 -4
  69. package/dist/ZonedDateTimeControl-CWeuMH0t-Dt7Rxkqb.js +100 -0
  70. package/dist/auto-configure-BU7AIhL7-7W3z7Vjz-6q91a8j9.js +22 -0
  71. package/dist/copy-D43FaHi--Bqzsv-mJ-7FU3jkgQ.js +22 -0
  72. package/dist/duplicate-Mtq886XD-BDwFp0vh-CIu7W6h6.js +22 -0
  73. package/dist/feedback-CSzO39Ck-BS5Fxtel.js +22 -0
  74. package/dist/feedback-CSzO39Ck-CKiwRjzw.js +22 -0
  75. package/dist/feedback-CSzO39Ck-_5Kb5BA8-CKe-zu3t.js +22 -0
  76. package/dist/{copy-DAYm6-mo-CDvX8jVa-B9UCeqRZ.js → folder-move-6L5NfoIs-CCvXkj23-BYHDrg6P.js} +5 -5
  77. package/dist/import-table-BaqmTPnF-CZCiPNmS.js +22 -0
  78. package/dist/import-table-BaqmTPnF-D0en45ie.js +22 -0
  79. package/dist/import-table-BaqmTPnF-KBTO9jUb-Bpwci1gw.js +22 -0
  80. package/dist/linked-component-BOb5aj87-VJSVKxb2-DMjL90PX.js +22 -0
  81. package/dist/login-DGaxAy8E-D6O36glE.js +22 -0
  82. package/dist/login-DGaxAy8E-DplCH1d8-6sF6_FhA.js +22 -0
  83. package/dist/login-DGaxAy8E-_ybELmwN.js +22 -0
  84. package/dist/main.js +601 -596
  85. package/dist/parameters.js +1 -1
  86. package/dist/random-seed-BmLMj_2x-DINXvCyu-wqk9PzlG.js +22 -0
  87. package/dist/random-seed-BmLMj_2x-DKTVdNoj.js +22 -0
  88. package/dist/random-seed-BmLMj_2x-qRFs8Sbo.js +22 -0
  89. package/dist/table-Pffb9Oig-CvTPEL4F.js +22 -0
  90. package/dist/table-Pffb9Oig-Qm0Lnd2q-C-VWjB_D.js +22 -0
  91. package/dist/table-Pffb9Oig-TCq5zt91.js +22 -0
  92. package/dist/update-file-5lTfm97G-BGdh5udY.js +22 -0
  93. package/dist/update-file-5lTfm97G-BwwZevAR.js +22 -0
  94. package/dist/update-file-5lTfm97G-mHppEON3-CqyuH0wP.js +22 -0
  95. package/dist/{useFileChooserBackend-uDGm68hp.js → useFileChooserBackend-Cnk4jIty.js} +9 -9
  96. package/dist/{usePossibleValues-CsJuQ591-r_2wYQe_.js → usePossibleValues-BbkYA3Ri-phbvmDoC.js} +2 -2
  97. package/dist/validate-CD0_eO0m-8oVXNF5a-JUzgUSW_.js +22 -0
  98. package/dist/validate-CD0_eO0m-Dsn7xOmd.js +22 -0
  99. package/dist/validate-CD0_eO0m-DxUbUuun.js +22 -0
  100. package/package.json +3 -3
  101. package/dist/DateTimeControl-CuB6aWlL-CgLiloF4.js +0 -89
  102. package/dist/DateTimeFormatPickerWithTypeControl-BQKDIoYn-Vw11sEhI.js +0 -598
  103. package/dist/DialogFileExplorer-CiOfUL_M.js +0 -501
  104. package/dist/DynamicInputControl-Bc99HU8j.js +0 -6
  105. package/dist/RichTextControl-D4ItwmZa-CV9QLVR2.js +0 -19326
  106. package/dist/TextControl-DfrjuKwf-2f9eJp4g.js +0 -54247
  107. package/dist/ZonedDateTimeControl-1lHvcaQc-X46S4Ze5.js +0 -82
  108. package/dist/useDropdownNavigation-CdrbT-CQ-Dxb_y1Fq.js +0 -2003
  109. package/dist/usePlainDateTimeBatch-Bd2G-GY9-DO2Zu0Mj.js +0 -34
  110. /package/dist/{useUnknownValuesInTwinlist-DuLcQlCx-D2ve7iXH.js → useUnknownValuesInTwinlist-uBQ8vniL-D2ve7iXH.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as y, toRef as x, createBlock as g, openBlock as h, unref as b, resolveComponent as S, createElementBlock as c, normalizeStyle as v, normalizeClass as I, createElementVNode as m, createCommentVNode as f, mergeProps as C, withKeys as a, withModifiers as d, normalizeProps as V, guardReactiveProps as w, Fragment as k, renderList as D, withCtx as H, renderSlot as K, resolveDynamicComponent as B, toDisplayString as N, createVNode as A, watch as z } from "vue";
2
- import { t as O } from "./usePossibleValues-CsJuQ591-r_2wYQe_.js";
3
- import { P, i as L, l as R } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
4
- import { p as T } from "./StyledListItem-DjdZOUWD-BMILJImI.js";
2
+ import { t as O } from "./usePossibleValues-BbkYA3Ri-phbvmDoC.js";
3
+ import { D as L, x as P, A as R } from "./TextControl-DBIt0sjP-BIZDsHMy.js";
4
+ import { p as T } from "./StyledListItem-BmNDGGnr-Bq-z-rsZ.js";
5
5
  const M = (e, t) => {
6
- let i, l = 0;
7
- return (...n) => {
8
- const [o, r] = n;
6
+ let i, n = 0;
7
+ return (...l) => {
8
+ const [o, r] = l;
9
9
  clearTimeout(i);
10
10
  const s = Date.now();
11
- s - l > t ? (l = s, e(o, r)) : i = setTimeout(() => {
12
- l = s, e(o, r);
11
+ s - n > t ? (n = s, e(o, r)) : i = setTimeout(() => {
12
+ n = s, e(o, r);
13
13
  }, t);
14
14
  };
15
15
  }, E = 250, $ = {
@@ -122,7 +122,7 @@ const M = (e, t) => {
122
122
  "keyArrowRight"
123
123
  ],
124
124
  setup(e) {
125
- const { containerProps: t, wrapperProps: i, list: l, scrollTo: n } = L(
125
+ const { containerProps: t, wrapperProps: i, list: n, scrollTo: l } = P(
126
126
  x(e, "possibleValues"),
127
127
  {
128
128
  itemHeight: 22
@@ -135,7 +135,7 @@ const M = (e, t) => {
135
135
  if (!t.ref.value)
136
136
  return;
137
137
  const o = ((r = t.ref.value) == null ? void 0 : r.scrollTop) ?? 0;
138
- n(
138
+ l(
139
139
  Math.max(
140
140
  Math.min(
141
141
  Math.floor(o / 22),
@@ -149,7 +149,7 @@ const M = (e, t) => {
149
149
  optionLineHeight: 22,
150
150
  containerProps: t,
151
151
  wrapperProps: i,
152
- list: l
152
+ list: n
153
153
  };
154
154
  },
155
155
  data() {
@@ -198,7 +198,7 @@ const M = (e, t) => {
198
198
  var t, i;
199
199
  window.addEventListener("mouseup", this.onStopDrag);
200
200
  const e = (i = this.modelValue) == null ? void 0 : i[((t = this.modelValue) == null ? void 0 : t.length) - 1];
201
- this.currentKeyNavIndex = this.possibleValues.map((l) => l.id).indexOf(e);
201
+ this.currentKeyNavIndex = this.possibleValues.map((n) => n.id).indexOf(e);
202
202
  },
203
203
  beforeUnmount() {
204
204
  window.removeEventListener("mouseup", this.onStopDrag);
@@ -235,29 +235,29 @@ const M = (e, t) => {
235
235
  * @returns {String[]}
236
236
  */
237
237
  getPossibleValuesInSection(e, t) {
238
- const i = e > t ? t : e, l = e > t ? e : t;
239
- return this.possibleValuesWithBottom.slice(i, l + 1).map((n) => n.id);
238
+ const i = e > t ? t : e, n = e > t ? e : t;
239
+ return this.possibleValuesWithBottom.slice(i, n + 1).map((l) => l.id);
240
240
  },
241
241
  onStartDrag(e, t = !1) {
242
242
  if (this.disabled || e.shiftKey)
243
243
  return;
244
244
  (e.ctrlKey || e.metaKey) && (this.draggingInverseMode = !0);
245
- const i = e.target, l = t ? this.bottomIndex : this.getDataOptionIndex(i);
246
- l && (this.draggingStartIndex = Number(l));
245
+ const i = e.target, n = t ? this.bottomIndex : this.getDataOptionIndex(i);
246
+ n && (this.draggingStartIndex = Number(n));
247
247
  },
248
248
  onDrag(e) {
249
249
  if (this.draggingStartIndex !== -1) {
250
250
  const t = e.target, i = this.getDataOptionIndex(t);
251
251
  if (!i)
252
252
  return;
253
- const l = Number(i);
254
- let n = this.getPossibleValuesInSection(
253
+ const n = Number(i);
254
+ let l = this.getPossibleValuesInSection(
255
255
  this.draggingStartIndex,
256
- l
256
+ n
257
257
  );
258
- this.draggingInverseMode && (n = this.selectedValues.filter(
259
- (o) => !n.includes(o)
260
- )), this.setSelected(n);
258
+ this.draggingInverseMode && (l = this.selectedValues.filter(
259
+ (o) => !l.includes(o)
260
+ )), this.setSelected(l);
261
261
  }
262
262
  },
263
263
  getDataOptionIndex(e) {
@@ -334,10 +334,10 @@ const M = (e, t) => {
334
334
  return;
335
335
  const i = this.containerProps.ref.value;
336
336
  if (i.scrollHeight > i.clientHeight) {
337
- const l = i.clientHeight + i.scrollTop, n = e * this.optionLineHeight, o = n + this.optionLineHeight, r = n < i.scrollTop;
338
- if (!(o > l || r))
337
+ const n = i.clientHeight + i.scrollTop, l = e * this.optionLineHeight, o = l + this.optionLineHeight, r = l < i.scrollTop;
338
+ if (!(o > n || r))
339
339
  return;
340
- t === "up" || t === "auto" && r ? i.scrollTop = n : i.scrollTop = o - i.clientHeight;
340
+ t === "up" || t === "auto" && r ? i.scrollTop = l : i.scrollTop = o - i.clientHeight;
341
341
  }
342
342
  },
343
343
  scrollUpIntoView(e) {
@@ -447,14 +447,14 @@ const M = (e, t) => {
447
447
  key: 1,
448
448
  role: "bottom-box"
449
449
  };
450
- function q(e, t, i, l, n, o) {
450
+ function q(e, t, i, n, l, o) {
451
451
  const r = S("StyledListItem");
452
452
  return h(), c("div", {
453
453
  class: I(["multiselect-list-box", { invalid: !i.isValid, disabled: i.disabled }]),
454
454
  style: v(o.cssStyleSize)
455
455
  }, [
456
456
  m("div", U, [
457
- m("ul", C(l.containerProps, {
457
+ m("ul", C(n.containerProps, {
458
458
  id: i.id,
459
459
  role: "listbox",
460
460
  tabindex: "0",
@@ -475,13 +475,13 @@ function q(e, t, i, l, n, o) {
475
475
  onMousedown: t[10] || (t[10] = (...s) => o.onStartDrag && o.onStartDrag(...s)),
476
476
  onMousemove: t[11] || (t[11] = (...s) => o.onDrag && o.onDrag(...s))
477
477
  }), [
478
- m("div", V(w(l.wrapperProps)), [
479
- (h(!0), c(k, null, D(l.list, ({ data: s, index: u }) => (h(), g(r, {
478
+ m("div", V(w(n.wrapperProps)), [
479
+ (h(!0), c(k, null, D(n.list, ({ data: s, index: u }) => (h(), g(r, {
480
480
  id: o.generateOptionId(s),
481
481
  key: `listbox-${s.id}`,
482
482
  text: s.text,
483
483
  "data-option-index": u,
484
- "line-height": l.optionLineHeight,
484
+ "line-height": n.optionLineHeight,
485
485
  selected: o.isCurrentValue(s.id),
486
486
  invalid: s.invalid,
487
487
  special: s.special,
@@ -518,7 +518,7 @@ function q(e, t, i, l, n, o) {
518
518
  ])
519
519
  ], 6);
520
520
  }
521
- const G = /* @__PURE__ */ P($, [["render", q], ["__scopeId", "data-v-4ee62d65"]]), Z = /* @__PURE__ */ y({
521
+ const G = /* @__PURE__ */ L($, [["render", q], ["__scopeId", "data-v-4ee62d65"]]), Z = /* @__PURE__ */ y({
522
522
  __name: "MultiSelectListBoxControl",
523
523
  props: {
524
524
  control: {},
@@ -532,7 +532,7 @@ const G = /* @__PURE__ */ P($, [["render", q], ["__scopeId", "data-v-4ee62d65"]]
532
532
  },
533
533
  setup(e) {
534
534
  const t = e, { possibleValues: i } = O(x(t, "control"));
535
- return (l, n) => {
535
+ return (n, l) => {
536
536
  var o;
537
537
  return h(), g(b(G), {
538
538
  id: e.labelForId,
@@ -1,10 +1,10 @@
1
- import { defineComponent as V, toRef as x, computed as d, createBlock as B, openBlock as N, unref as u, mergeProps as G } from "vue";
2
- import { ay as i, b as S } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
1
+ import { defineComponent as V, toRef as x, computed as d, createBlock as B, openBlock as X, unref as u, mergeProps as N } from "vue";
2
+ import { aJ as i, X as G } from "./TextControl-DBIt0sjP-BIZDsHMy.js";
3
3
  import { i as v } from "./index-Blg1O3Fz-CGafpkU1.js";
4
- import { t as X, c as Y } from "./usePossibleValues-CsJuQ591-r_2wYQe_.js";
4
+ import { t as S, c as Y } from "./usePossibleValues-BbkYA3Ri-phbvmDoC.js";
5
5
  import { p as $ } from "./toKdsPossibleValues-BklBg3gG-Dr1D12GJ.js";
6
- import { F as W } from "./useUnknownValuesInTwinlist-DuLcQlCx-D2ve7iXH.js";
7
- const J = /* @__PURE__ */ V({
6
+ import { F as W } from "./useUnknownValuesInTwinlist-uBQ8vniL-D2ve7iXH.js";
7
+ const H = /* @__PURE__ */ V({
8
8
  __name: "MultimodeTwinlistControl",
9
9
  props: {
10
10
  control: {},
@@ -19,9 +19,9 @@ const J = /* @__PURE__ */ V({
19
19
  showTypeFilter: { type: Boolean, default: !1 }
20
20
  },
21
21
  setup(o) {
22
- const a = o, { possibleValues: c } = X(
22
+ const a = o, { possibleValues: c } = S(
23
23
  x(a, "control")
24
- ), { excludedLabel: T, includedLabel: F } = Y(
24
+ ), { excludedLabel: F, includedLabel: T } = Y(
25
25
  x(a, "control")
26
26
  ), { selectedAndDeselected: p, setCurrentManualFilter: E } = W({
27
27
  data: d(() => a.control.data),
@@ -31,21 +31,21 @@ const J = /* @__PURE__ */ V({
31
31
  return ((e = c.value) == null ? void 0 : e.map(({ id: l }) => l)) ?? null;
32
32
  }
33
33
  )
34
- }), r = (e) => {
34
+ }), s = (e) => {
35
35
  const l = v(a.control.data, e);
36
36
  a.changeValue(l), E(l.manualFilter);
37
37
  }, U = d(
38
38
  () => $(c.value ?? [])
39
39
  );
40
- let s = null;
40
+ let r = null;
41
41
  const w = () => {
42
- if (s !== null) {
43
- const e = s;
44
- s = null, r(e);
42
+ if (r !== null) {
43
+ const e = r;
44
+ r = null, s(e);
45
45
  }
46
46
  }, m = (e) => {
47
- s === null ? (s = e, queueMicrotask(w)) : s = v(
48
- s,
47
+ r === null ? (r = e, queueMicrotask(w)) : r = v(
48
+ r,
49
49
  e
50
50
  );
51
51
  }, h = (e) => {
@@ -85,15 +85,15 @@ const J = /* @__PURE__ */ V({
85
85
  default:
86
86
  l = "MANUAL";
87
87
  }
88
- r({ mode: l });
89
- }, g = (e) => {
90
- y.value === i.PATTERN && r({ mode: e ? "REGEX" : "WILDCARD" });
88
+ s({ mode: l });
91
89
  }, A = (e) => {
92
- r({ patternFilter: { pattern: e } });
90
+ y.value === i.PATTERN && s({ mode: e ? "REGEX" : "WILDCARD" });
91
+ }, g = (e) => {
92
+ s({ patternFilter: { pattern: e } });
93
93
  }, D = (e) => {
94
- r({ patternFilter: { isInverted: e } });
94
+ s({ patternFilter: { isInverted: e } });
95
95
  }, I = (e) => {
96
- r({ patternFilter: { isCaseSensitive: e } });
96
+ s({ patternFilter: { isCaseSensitive: e } });
97
97
  }, L = () => {
98
98
  const e = a.control.data.typeFilter;
99
99
  if (!e)
@@ -121,13 +121,13 @@ const J = /* @__PURE__ */ V({
121
121
  }));
122
122
  }), M = (e) => {
123
123
  const l = (f.value ?? []).filter((t) => e.includes(t.id)).map(({ id: t, text: n }) => ({ id: t, text: n }));
124
- r({
124
+ s({
125
125
  typeFilter: { selectedTypes: e, typeDisplays: l }
126
126
  });
127
127
  };
128
128
  return (e, l) => {
129
129
  var t;
130
- return N(), B(u(S), G(e.$attrs, {
130
+ return X(), B(u(G), N(e.$attrs, {
131
131
  id: o.labelForId,
132
132
  ariaLabel: o.control.label,
133
133
  disabled: o.disabled,
@@ -144,23 +144,23 @@ const J = /* @__PURE__ */ V({
144
144
  "filter-types": f.value,
145
145
  "enable-pattern-filter": !0,
146
146
  loading: u(p).selected === null,
147
- "exclude-label": u(T),
148
- "include-label": u(F),
147
+ "exclude-label": u(F),
148
+ "include-label": u(T),
149
149
  error: o.error,
150
150
  "sub-text": o.subText,
151
151
  "onUpdate:mode": k,
152
152
  "onUpdate:manuallyIncluded": h,
153
153
  "onUpdate:manuallyExcluded": C,
154
154
  "onUpdate:includeUnknownValues": R,
155
- "onUpdate:pattern": A,
155
+ "onUpdate:pattern": g,
156
156
  "onUpdate:caseSensitive": I,
157
157
  "onUpdate:excludeMatches": D,
158
- "onUpdate:useRegex": g,
158
+ "onUpdate:useRegex": A,
159
159
  "onUpdate:selectedTypes": M
160
160
  }), null, 16, ["id", "ariaLabel", "disabled", "mode", "manually-included", "manually-excluded", "include-unknown-values", "pattern", "case-sensitive", "exclude-matches", "use-regex", "selected-types", "possible-values", "filter-types", "loading", "exclude-label", "include-label", "error", "sub-text"]);
161
161
  };
162
162
  }
163
163
  });
164
164
  export {
165
- J as default
165
+ H as default
166
166
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as n, createBlock as o, openBlock as t, mergeProps as l } from "vue";
2
- import a from "./MultimodeTwinlistControl-F1L7mwSB-GnzFL4Xl.js";
2
+ import a from "./MultimodeTwinlistControl-Da66Qd_9-Bbml7WCJ.js";
3
3
  const i = /* @__PURE__ */ n({
4
4
  __name: "NameFilter",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, createBlock as n, openBlock as t, mergeProps as r } from "vue";
2
- import { V as l } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-CRNO3Yp4-DIZHQaJH.js";
2
+ import { h as l } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-E8FQgjrx-D0v57kFS.js";
3
3
  const c = /* @__PURE__ */ o({
4
4
  __name: "NumberControl",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as m, computed as r, createBlock as c, openBlock as d, unref as p } from "vue";
2
- import { O as x, F as b } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
3
- const v = 1, y = 0.1, V = /* @__PURE__ */ m({
2
+ import { O as x, J as b } from "./TextControl-DBIt0sjP-BIZDsHMy.js";
3
+ const v = 1, y = 0.1, g = /* @__PURE__ */ m({
4
4
  __name: "NumberControlBase",
5
5
  props: {
6
6
  control: {},
@@ -50,5 +50,5 @@ const v = 1, y = 0.1, V = /* @__PURE__ */ m({
50
50
  }
51
51
  });
52
52
  export {
53
- V
53
+ g as h
54
54
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as u, computed as i, createBlock as p, openBlock as c, unref as r } from "vue";
2
- import { t as b } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
1
+ import { defineComponent as u, computed as i, createBlock as p, openBlock as c, unref as n } from "vue";
2
+ import { V as b } from "./TextControl-DBIt0sjP-BIZDsHMy.js";
3
3
  import { c as m } from "./index-Blg1O3Fz-CGafpkU1.js";
4
4
  const h = /* @__PURE__ */ u({
5
5
  __name: "OneOfDropdown",
@@ -19,11 +19,11 @@ const h = /* @__PURE__ */ u({
19
19
  get: () => o.control.data ?? "",
20
20
  set: o.changeValue
21
21
  });
22
- return (f, n) => (c(), p(r(b), {
22
+ return (f, r) => (c(), p(n(b), {
23
23
  id: e.labelForId,
24
24
  modelValue: a.value,
25
- "onUpdate:modelValue": n[0] || (n[0] = (s) => a.value = s),
26
- "possible-values": r(d),
25
+ "onUpdate:modelValue": r[0] || (r[0] = (s) => a.value = s),
26
+ "possible-values": n(d),
27
27
  ariaLabel: e.control.label,
28
28
  disabled: e.disabled,
29
29
  error: e.error,
@@ -0,0 +1,54 @@
1
+ import { defineComponent as v, computed as r, ref as u, createElementBlock as f, openBlock as g, createVNode as m, renderSlot as b, unref as h } from "vue";
2
+ import { D as y, w as B, U as F } from "./TextControl-DBIt0sjP-BIZDsHMy.js";
3
+ const k = 1e3, w = "auto-configure", C = /* @__PURE__ */ v({
4
+ __name: "ProgressButtonControl",
5
+ props: {
6
+ control: {},
7
+ handleChange: { type: Function },
8
+ changeValue: { type: Function },
9
+ disabled: { type: Boolean },
10
+ labelForId: {},
11
+ error: { type: Boolean },
12
+ subText: {},
13
+ onRegisterValidation: { type: Function }
14
+ },
15
+ setup(t) {
16
+ const s = t, i = r(
17
+ () => s.control.uischema.options.triggerId
18
+ ), c = r(
19
+ () => {
20
+ var a;
21
+ return ((a = s.control.uischema.options) == null ? void 0 : a.icon) ?? w;
22
+ }
23
+ ), d = B("trigger"), e = u("default"), l = u(!1), p = async () => {
24
+ e.value = "progress";
25
+ try {
26
+ await d({ id: i.value }), e.value = "success", setTimeout(() => {
27
+ e.value = "default";
28
+ }, k);
29
+ } catch {
30
+ e.value = "default";
31
+ }
32
+ };
33
+ return (a, o) => (g(), f("div", {
34
+ class: "progress-button-input",
35
+ onMouseenter: o[1] || (o[1] = (n) => l.value = !0),
36
+ onMouseleave: o[2] || (o[2] = (n) => l.value = !1)
37
+ }, [
38
+ m(h(F), {
39
+ state: e.value,
40
+ "onUpdate:state": o[0] || (o[0] = (n) => e.value = n),
41
+ variant: "outlined",
42
+ size: "small",
43
+ disabled: !t.control.enabled,
44
+ label: t.control.label,
45
+ "leading-icon": c.value,
46
+ onClick: p
47
+ }, null, 8, ["state", "disabled", "label", "leading-icon"]),
48
+ b(a.$slots, "buttons", { hover: l.value }, void 0, !0)
49
+ ], 32));
50
+ }
51
+ }), T = /* @__PURE__ */ y(C, [["__scopeId", "data-v-f880d1e8"]]);
52
+ export {
53
+ T as default
54
+ };
@@ -1,5 +1,5 @@
1
- import { defineComponent as f, computed as r, createElementBlock as n, openBlock as l, Fragment as c, createCommentVNode as L, renderList as T, createVNode as V, createElementVNode as s, unref as h, normalizeClass as y } from "vue";
2
- import { P as M, c as g } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
1
+ import { defineComponent as f, computed as r, createElementBlock as n, openBlock as l, Fragment as c, createCommentVNode as g, renderList as L, createVNode as T, createElementVNode as s, unref as V, normalizeClass as h } from "vue";
2
+ import { D as y, g as M } from "./TextControl-DBIt0sjP-BIZDsHMy.js";
3
3
  const x = ["innerHTML"], H = ["innerHTML"], k = ["innerHTML"], B = /* @__PURE__ */ f({
4
4
  __name: "RadioButtonsWithDescriptionControl",
5
5
  props: {
@@ -30,11 +30,11 @@ const x = ["innerHTML"], H = ["innerHTML"], k = ["innerHTML"], B = /* @__PURE__
30
30
  t.changeValue(o);
31
31
  };
32
32
  return (o, d) => (l(), n(c, null, [
33
- (l(!0), n(c, null, T(u.value, (e) => (l(), n("label", {
33
+ (l(!0), n(c, null, L(u.value, (e) => (l(), n("label", {
34
34
  key: `radio-${e.id}`,
35
35
  class: "radio-wrapper"
36
36
  }, [
37
- V(h(g), {
37
+ T(V(M), {
38
38
  class: "radio-button",
39
39
  "model-value": a.control.data === e.id,
40
40
  text: e.text,
@@ -46,7 +46,7 @@ const x = ["innerHTML"], H = ["innerHTML"], k = ["innerHTML"], B = /* @__PURE__
46
46
  innerHTML: e.description
47
47
  }, null, 8, x),
48
48
  s("div", {
49
- class: y(["price", { selected: a.control.data === e.id }]),
49
+ class: h(["price", { selected: a.control.data === e.id }]),
50
50
  innerHTML: e.price
51
51
  }, null, 10, H)
52
52
  ]))), 128)),
@@ -54,10 +54,10 @@ const x = ["innerHTML"], H = ["innerHTML"], k = ["innerHTML"], B = /* @__PURE__
54
54
  key: 0,
55
55
  class: "footnote",
56
56
  innerHTML: i.value
57
- }, null, 8, k)) : L("", !0)
57
+ }, null, 8, k)) : g("", !0)
58
58
  ], 64));
59
59
  }
60
- }), _ = /* @__PURE__ */ M(B, [["__scopeId", "data-v-d327df7b"]]);
60
+ }), _ = /* @__PURE__ */ y(B, [["__scopeId", "data-v-d327df7b"]]);
61
61
  export {
62
62
  _ as default
63
63
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, createBlock as n, openBlock as t, mergeProps as r } from "vue";
2
- import { T as p } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-DKx6ts7n-BNr3sbHh.js";
2
+ import { T as p } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-CWUPk9t_-DNZ6dVPk.js";
3
3
  const c = /* @__PURE__ */ o({
4
4
  __name: "RadioControl",
5
5
  props: {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as v, useAttrs as f, computed as s, ref as y, toRef as h, createElementBlock as x, createCommentVNode as V, onMounted as g, openBlock as n, Fragment as F, createBlock as i, unref as t, mergeProps as m } from "vue";
2
- import { T as k, G as B } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
3
- import { c as T } from "./index-Blg1O3Fz-CGafpkU1.js";
4
- import { t as C } from "./usePossibleValues-CsJuQ591-r_2wYQe_.js";
5
- const A = /* @__PURE__ */ v({
2
+ import { W as k, z as B } from "./TextControl-DBIt0sjP-BIZDsHMy.js";
3
+ import { c as C } from "./index-Blg1O3Fz-CGafpkU1.js";
4
+ import { t as T } from "./usePossibleValues-BbkYA3Ri-phbvmDoC.js";
5
+ const R = /* @__PURE__ */ v({
6
6
  inheritAttrs: !1,
7
7
  __name: "RadioControlBase",
8
8
  props: {
@@ -24,7 +24,7 @@ const A = /* @__PURE__ */ v({
24
24
  id: o.id,
25
25
  text: o.text,
26
26
  ...o.disabled ? { disabled: !0 } : {}
27
- }), u = y(null), { possibleValues: b } = C(h(l, "control"), {
27
+ }), u = y(null), { possibleValues: b } = T(h(l, "control"), {
28
28
  defaultOnNonProvided: null
29
29
  }), a = s(
30
30
  () => {
@@ -34,7 +34,7 @@ const A = /* @__PURE__ */ v({
34
34
  );
35
35
  return g(() => {
36
36
  var o, r;
37
- u.value = (r = (o = l.control) == null ? void 0 : o.schema) != null && r.oneOf ? l.control.schema.oneOf.map(T) : null;
37
+ u.value = (r = (o = l.control) == null ? void 0 : o.schema) != null && r.oneOf ? l.control.schema.oneOf.map(C) : null;
38
38
  }), (o, r) => a.value ? (n(), x(F, { key: 0 }, [
39
39
  l.type === "valueSwitch" ? (n(), i(t(k), m({ key: 0 }, t(d), {
40
40
  id: e.labelForId,
@@ -60,5 +60,5 @@ const A = /* @__PURE__ */ v({
60
60
  }
61
61
  });
62
62
  export {
63
- A as T
63
+ R as T
64
64
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as g, computed as a, createElementBlock as r, openBlock as l, createBlock as F, resolveDynamicComponent as B, withCtx as C, createVNode as d, createCommentVNode as p, unref as m, renderSlot as T, toDisplayString as k } from "vue";
2
- import { P as v, F as D, W as w } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
1
+ import { defineComponent as _, computed as a, createElementBlock as u, openBlock as l, createBlock as g, resolveDynamicComponent as D, withCtx as C, createVNode as d, createCommentVNode as p, unref as m, renderSlot as T, toDisplayString as k } from "vue";
2
+ import { D as v, J as F, B as w } from "./TextControl-DBIt0sjP-BIZDsHMy.js";
3
3
  const I = {
4
4
  name: "Tooltip",
5
5
  props: {
@@ -12,16 +12,16 @@ const I = {
12
12
  key: 0,
13
13
  class: "text"
14
14
  };
15
- function L(o, t, n, u, s, i) {
16
- return l(), r("div", S, [
15
+ function L(o, t, n, r, s, i) {
16
+ return l(), u("div", S, [
17
17
  T(o.$slots, "default", {}, void 0, !0),
18
- n.text ? (l(), r("span", U, k(n.text), 1)) : p("", !0)
18
+ n.text ? (l(), u("span", U, k(n.text), 1)) : p("", !0)
19
19
  ]);
20
20
  }
21
21
  const M = /* @__PURE__ */ v(I, [["render", L], ["__scopeId", "data-v-64e1cb84"]]), N = {
22
22
  key: 0,
23
23
  class: "chart"
24
- }, R = /* @__PURE__ */ g({
24
+ }, R = /* @__PURE__ */ _({
25
25
  __name: "ResourceControlBase",
26
26
  props: {
27
27
  donutTitle: {},
@@ -41,7 +41,7 @@ const M = /* @__PURE__ */ v(I, [["render", L], ["__scopeId", "data-v-64e1cb84"]]
41
41
  var e;
42
42
  return ((e = t.control.uischema.options) == null ? void 0 : e.modelMax) ?? !1;
43
43
  }
44
- ), u = a(
44
+ ), r = a(
45
45
  // if currentUsage is supplied the donut chart should use that since the data will model something else (e.g. the maximum usage)
46
46
  () => {
47
47
  var e;
@@ -67,34 +67,34 @@ const M = /* @__PURE__ */ v(I, [["render", L], ["__scopeId", "data-v-64e1cb84"]]
67
67
  var e;
68
68
  return ((e = t.control.uischema.options) == null ? void 0 : e.showDonut) ?? !0;
69
69
  }
70
- ), y = a(() => t.control.schema.minimum ?? 0), f = a(() => t.control.schema.maximum ?? 1 / 0), V = a(() => {
70
+ ), y = a(() => t.control.schema.minimum ?? 0), f = a(() => t.control.schema.maximum ?? 1 / 0), B = a(() => {
71
71
  var e;
72
72
  return ((e = t.control.uischema.options) == null ? void 0 : e.step) ?? 1;
73
- }), _ = a(() => {
73
+ }), V = a(() => {
74
74
  var e;
75
75
  return ((e = t.control.uischema.options) == null ? void 0 : e.unit) ?? "";
76
76
  });
77
- return (e, P) => (l(), r("div", null, [
78
- (l(), F(B(x.value), {
77
+ return (e, E) => (l(), u("div", null, [
78
+ (l(), g(D(x.value), {
79
79
  text: c.value,
80
80
  class: "input-wrapper"
81
81
  }, {
82
82
  default: C(() => [
83
- d(m(D), {
83
+ d(m(F), {
84
84
  ariaLabel: o.control.label,
85
85
  "model-value": o.control.data,
86
86
  min: y.value,
87
87
  max: f.value,
88
- step: V.value,
89
- unit: _.value,
88
+ step: B.value,
89
+ unit: V.value,
90
90
  disabled: o.disabled,
91
91
  error: o.error,
92
92
  "sub-text": o.subText,
93
93
  "onUpdate:modelValue": o.changeValue
94
94
  }, null, 8, ["ariaLabel", "model-value", "min", "max", "step", "unit", "disabled", "error", "sub-text", "onUpdate:modelValue"]),
95
- h.value ? (l(), r("div", N, [
95
+ h.value ? (l(), u("div", N, [
96
96
  d(m(w), {
97
- value: u.value,
97
+ value: r.value,
98
98
  "secondary-value": s.value,
99
99
  "max-value": i.value,
100
100
  animate: b.value,
@@ -107,7 +107,7 @@ const M = /* @__PURE__ */ v(I, [["render", L], ["__scopeId", "data-v-64e1cb84"]]
107
107
  }, 8, ["text"]))
108
108
  ]));
109
109
  }
110
- }), E = /* @__PURE__ */ v(R, [["__scopeId", "data-v-bbdc1aa9"]]);
110
+ }), $ = /* @__PURE__ */ v(R, [["__scopeId", "data-v-bbdc1aa9"]]);
111
111
  export {
112
- E as K
112
+ $ as E
113
113
  };