@knime/jsonforms 1.6.9 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/AnyOfTwinlist-D7gkxtYi.js +22 -0
  3. package/dist/{BaseButton-B6Z2uYGV.js → BaseButton-nH3iSIOK.js} +1 -1
  4. package/dist/{Button-B27OsWa6.js → Button-DnQZFkaO.js} +2 -2
  5. package/dist/{Checkbox-Bl3rvtXe.js → Checkbox-DB9YeQa-.js} +1 -1
  6. package/dist/{CheckboxControl-BAIwtCZF.js → CheckboxControl-hkHWMBsv.js} +2 -2
  7. package/dist/{Checkboxes-Cb1lJdBP.js → Checkboxes-C_qM6Iao.js} +2 -2
  8. package/dist/{CheckboxesControl-CQSzjloD.js → CheckboxesControl-DRNda60A.js} +3 -3
  9. package/dist/{ComboBoxControl-CmY_qMv_.js → ComboBoxControl-Dd0UZdMx.js} +77 -89
  10. package/dist/{DateControl-BL2H5BjS.js → DateControl-BmqofCSf.js} +1 -1
  11. package/dist/{DateTimeControl-BYuJUqBc.js → DateTimeControl-B7uvqC1s.js} +2 -2
  12. package/dist/{DateTimeFormatInput-BagQnUJb.js → DateTimeFormatInput-CsEAVqAA.js} +3 -3
  13. package/dist/{DateTimeFormatPickerControl-DmbGr3EH.js → DateTimeFormatPickerControl-BK80kZf0.js} +2 -2
  14. package/dist/{DateTimeFormatPickerWithTypeControl-CGCdH2_0.js → DateTimeFormatPickerWithTypeControl-CS8APLBp.js} +3 -3
  15. package/dist/{DateTimeInput-Cbw4cu1f.js → DateTimeInput-DP2yHD9r.js} +14 -13
  16. package/dist/{Dropdown-xSUsqbQu.js → Dropdown-D8qp_4wZ.js} +30 -29
  17. package/dist/DropdownControl-B2fs1yBj.js +84 -0
  18. package/dist/{FunctionButton-BjutjqfY.js → FunctionButton-Bo0NcfGh.js} +2 -2
  19. package/dist/{HorizontalLayout-HzwqDGLQ.js → HorizontalLayout-Bg5vYcO1.js} +1 -1
  20. package/dist/{InputField-CWbS01h9.js → InputField-DRLCzzDf.js} +1 -1
  21. package/dist/{IntegerControl-BNz67bUk.js → IntegerControl-HLRox7w7.js} +1 -1
  22. package/dist/{IntervalControl-jM22Q0CQ.js → IntervalControl-D-xUIRW3.js} +4 -4
  23. package/dist/LoadingDropdown-DkxltiwQ.js +40 -0
  24. package/dist/MultimodeTwinlistControl-CV2v4Y5n.js +526 -0
  25. package/dist/{MultiselectListBox-D5smzcVZ.js → MultiselectListBox-BFQxtoyR.js} +1 -1
  26. package/dist/{NameFilter-B9TOgIBA.js → NameFilter-BxfjNVu-.js} +1 -1
  27. package/dist/{NumberControl-YCMcJfZB.js → NumberControl-Df91UAXl.js} +1 -1
  28. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-DLqtcp04.js +53 -0
  29. package/dist/{NumberInput-DO8rNjya.js → NumberInput-BLlTeOig.js} +1 -1
  30. package/dist/OneOfDropdown-CLPbmMt7.js +34 -0
  31. package/dist/{RadioControl-DK_i_SC9.js → RadioControl-CDi8WbsE.js} +2 -2
  32. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-B_Dxf3fU.js → RadioControlBase.vue_vue_type_script_setup_true_lang-B6clHvd5.js} +3 -3
  33. package/dist/{RichTextControl-Bp6N-XYM.js → RichTextControl-YMNSyY3O.js} +6 -6
  34. package/dist/{SectionHeading-wDPgvJNi.js → SectionHeading-D8h1zy67.js} +1 -1
  35. package/dist/{SectionLayout-DYLzJvJs.js → SectionLayout-DBiG5Ubc.js} +3 -3
  36. package/dist/{SettingsSubPanel-DTubXv1M.js → SettingsSubPanel--LD_hsgG.js} +2 -2
  37. package/dist/{SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-dAvPWPee.js → SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js} +1024 -1022
  38. package/dist/{SettingsSubPanelLayout-CAtNgx_A.js → SettingsSubPanelLayout-By5U2J68.js} +5 -5
  39. package/dist/{SimpleButtonControl-D2slFPzs.js → SimpleButtonControl-B47jBtrM.js} +6 -6
  40. package/dist/SimpleTwinlistControl-DoRJkKPs.js +22 -0
  41. package/dist/SingleSelectControl-zE9ck9JX.js +58 -0
  42. package/dist/SortListControl-C5DXqqPG.js +372 -0
  43. package/dist/{TextAreaControl-CxNkzjdq.js → TextAreaControl-D2-nyO1m.js} +1 -1
  44. package/dist/{TextControl-j8Bk4RzX.js → TextControl-Ss9_5V2f.js} +1 -1
  45. package/dist/TextControl.vue_vue_type_script_setup_true_lang-DaEoFVBw.js +93 -0
  46. package/dist/{TimeControl-vGEtfCEt.js → TimeControl-CblSq-0a.js} +2 -2
  47. package/dist/TwinlistControlBase-Xe8xQAyG.js +40 -0
  48. package/dist/{TwinlistLoadingInfo-DnhM2U43.js → TwinlistLoadingInfo-BHhpo_7N.js} +12 -11
  49. package/dist/TypedNameFilter-N2eeG2VM.js +25 -0
  50. package/dist/{ValueSwitch-CGXtJV-B.js → ValueSwitch-BI5z5U3F.js} +1 -1
  51. package/dist/{ValueSwitchControl-dHPRa3vB.js → ValueSwitchControl-CixwDXQs.js} +1 -1
  52. package/dist/{VerticalLayout-BUWGeKPt.js → VerticalLayout-B8RzC8Vj.js} +2 -2
  53. package/dist/{VerticalLayoutBase-Tp2IGikj.js → VerticalLayoutBase-Bj_upYbt.js} +1 -1
  54. package/dist/{ZonedDateTimeControl-Ddjugjzp.js → ZonedDateTimeControl-CZdpjJEK.js} +4 -4
  55. package/dist/_baseEach-FP8ISlsz.js +31 -0
  56. package/dist/_baseIteratee-DhaGkQLM.js +518 -0
  57. package/dist/_getTag-DiktJuv_.js +132 -0
  58. package/dist/index-Blg1O3Fz.js +15 -0
  59. package/dist/isArray-WzO_os3q.js +4 -0
  60. package/dist/isObjectLike-BatpeCIi.js +29 -0
  61. package/dist/isSymbol-C3_SC0Qp.js +8 -0
  62. package/dist/knime-jsonforms.css +1 -1
  63. package/dist/knime-jsonforms.js +8 -8
  64. package/dist/{localTimeUtils-DIFjv2_A.js → localTimeUtils-Dp9bEJDh.js} +1 -1
  65. package/dist/{magic-string.es-BbItKD7x.js → magic-string.es-CeNBRh1A.js} +1 -1
  66. package/dist/src/constants/inputFormats.d.ts +2 -2
  67. package/dist/src/higherOrderComponents/control/validation/types.d.ts +7 -1
  68. package/dist/src/renderers/defaultRenderers.d.ts +24 -589
  69. package/dist/src/renderers/dropdownRenderer.d.ts +55 -115
  70. package/dist/src/renderers/fallbackRenderers.d.ts +1 -241
  71. package/dist/src/renderers/nameFilterRenderer.d.ts +1 -1
  72. package/dist/src/renderers/singleSelectRenderer.d.ts +8 -0
  73. package/dist/src/renderers/sortListRenderer.d.ts +0 -8
  74. package/dist/src/renderers/twinlistRenderer.d.ts +1 -1
  75. package/dist/src/renderers/typedNameFilterRenderer.d.ts +1 -0
  76. package/dist/src/types/ChoicesUiSchema.d.ts +7 -12
  77. package/dist/src/types/provided.d.ts +0 -2
  78. package/dist/src/uiComponents/DropdownControl.vue.d.ts +2 -86
  79. package/dist/src/uiComponents/OneOfDropdown.vue.d.ts +2 -13
  80. package/dist/src/uiComponents/SingleSelectControl.vue.d.ts +20 -0
  81. package/dist/src/uiComponents/SortListControl.vue.d.ts +4 -4
  82. package/dist/src/uiComponents/composables/useBuiltinValidations.d.ts +43 -0
  83. package/dist/src/uiComponents/composables/usePossibleValues.d.ts +24 -0
  84. package/dist/src/uiComponents/composables/useProvidedState.d.ts +2 -2
  85. package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +1 -1
  86. package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +2 -99
  87. package/dist/src/uiComponents/twinlist/TwinlistControlBase.vue.d.ts +36 -0
  88. package/dist/src/uiComponents/twinlist/{ColumnFilter.vue.d.ts → TypedNameFilter.vue.d.ts} +1 -1
  89. package/dist/src/uiComponents/twinlist/useUnknownValuesInTwinlist.d.ts +1 -1
  90. package/dist/src/utils/index.d.ts +0 -2
  91. package/dist/{svgWithTitle-Cgc-TGWi.js → svgWithTitle-B5FsAPop.js} +1 -1
  92. package/dist/testUtils/component.d.ts +4 -0
  93. package/dist/testing.js +80 -63
  94. package/dist/toString-B9O7P854.js +26 -0
  95. package/dist/useBuiltinValidations-8VwUv3RT.js +52 -0
  96. package/dist/usePossibleValues-CrNcBbpN.js +26 -0
  97. package/package.json +3 -3
  98. package/dist/AnyOfTwinlist-C3gbWpq1.js +0 -22
  99. package/dist/ColumnFilter-DOIYetcH.js +0 -24
  100. package/dist/ColumnSelect-B8IH25EN.js +0 -68
  101. package/dist/DropdownControl-DGfi9k8S.js +0 -4
  102. package/dist/DropdownControl.vue_vue_type_script_setup_true_lang-BvodaKZi.js +0 -237
  103. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-CPj9t6fL.js +0 -60
  104. package/dist/OneOfDropdown-BoOe32dm.js +0 -35
  105. package/dist/SimpleTwinlistControl-CrLWO2B2.js +0 -50
  106. package/dist/SortListControl-v_nVoQsh.js +0 -366
  107. package/dist/TextControl.vue_vue_type_script_setup_true_lang-qt4UxKcl.js +0 -87
  108. package/dist/TwinlistControl-Dw5uSnOi.js +0 -554
  109. package/dist/_baseAssignValue-BPMLYzDH.js +0 -19
  110. package/dist/_baseEach-B8N_Gx8P.js +0 -31
  111. package/dist/_baseIsEqual-DmkT9Nkc.js +0 -248
  112. package/dist/_baseIteratee-DvBmrhnf.js +0 -104
  113. package/dist/_getTag-DS8v0_uf.js +0 -312
  114. package/dist/getPossibleValuesFromUiSchema-hQj1TCOR.js +0 -39
  115. package/dist/index-hm05O8UX.js +0 -16
  116. package/dist/isSymbol-OFe5xy2f.js +0 -34
  117. package/dist/src/renderers/columnFilterRenderer.d.ts +0 -1
  118. package/dist/src/renderers/columnSelectRenderer.d.ts +0 -265
  119. package/dist/src/uiComponents/ColumnSelect.vue.d.ts +0 -26
  120. package/dist/src/utils/getPossibleValuesFromUiSchema.d.ts +0 -10
  121. package/dist/toString-DkbNkGT4.js +0 -25
  122. /package/dist/src/uiComponents/twinlist/{TwinlistControl.vue.d.ts → MultimodeTwinlistControl.vue.d.ts} +0 -0
package/dist/testing.js CHANGED
@@ -3,9 +3,9 @@ var N_ = (e, t, n) => t in e ? O_(e, t, { enumerable: !0, configurable: !0, writ
3
3
  var G = (e, t, n) => N_(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import * as Jf from "vue";
5
5
  import { initDirectivesForSSR as I_, nextTick as lo, defineComponent as ai, computed as Ar, h as En, shallowReactive as A_, reactive as k_, ref as C_, createApp as $_, transformVNodeArgs as P_, setDevtoolsHook as M_, Transition as R_, BaseTransition as D_, TransitionGroup as j_, isRef as L_ } from "vue";
6
- import { b as F_ } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-dAvPWPee.js";
7
- import { i as B_ } from "./isSymbol-OFe5xy2f.js";
8
- import { b as V_ } from "./_baseIteratee-DvBmrhnf.js";
6
+ import { b as F_ } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
7
+ import { i as B_ } from "./isSymbol-C3_SC0Qp.js";
8
+ import { b as V_ } from "./_baseIteratee-DhaGkQLM.js";
9
9
  function q_(e, t) {
10
10
  return e > t;
11
11
  }
@@ -3177,7 +3177,7 @@ ua(Ve, {
3177
3177
  addLengthGuard: () => gr,
3178
3178
  addMethod: () => ya,
3179
3179
  addProperty: () => ba,
3180
- checkError: () => Je,
3180
+ checkError: () => He,
3181
3181
  compareByInspect: () => pi,
3182
3182
  eql: () => fp,
3183
3183
  expectTypes: () => zh,
@@ -3204,8 +3204,8 @@ ua(Ve, {
3204
3204
  transferFlags: () => mt,
3205
3205
  type: () => pe
3206
3206
  });
3207
- var Je = {};
3208
- ua(Je, {
3207
+ var He = {};
3208
+ ua(He, {
3209
3209
  compatibleConstructor: () => Vh,
3210
3210
  compatibleInstance: () => Bh,
3211
3211
  compatibleMessage: () => qh,
@@ -4545,7 +4545,7 @@ function yr(e, t) {
4545
4545
  try {
4546
4546
  w.property(g, e[g]);
4547
4547
  } catch (m) {
4548
- if (!Je.compatibleConstructor(m, ae))
4548
+ if (!He.compatibleConstructor(m, ae))
4549
4549
  throw m;
4550
4550
  p === null && (p = m), d++;
4551
4551
  }
@@ -5106,7 +5106,7 @@ function Ki(e, t, n) {
5106
5106
  var c = e === void 0 && t === void 0, u = !!(e && t), f = !1, p = !1;
5107
5107
  if (c || !c && !o) {
5108
5108
  var d = "an error";
5109
- e instanceof Error ? d = "#{exp}" : e && (d = Je.getConstructorName(e));
5109
+ e instanceof Error ? d = "#{exp}" : e && (d = He.getConstructorName(e));
5110
5110
  let b = a;
5111
5111
  if (a instanceof Error)
5112
5112
  b = a.toString();
@@ -5114,7 +5114,7 @@ function Ki(e, t, n) {
5114
5114
  b = a;
5115
5115
  else if (a && (typeof a == "object" || typeof a == "function"))
5116
5116
  try {
5117
- b = Je.getConstructorName(a);
5117
+ b = He.getConstructorName(a);
5118
5118
  } catch {
5119
5119
  }
5120
5120
  this.assert(
@@ -5127,7 +5127,7 @@ function Ki(e, t, n) {
5127
5127
  }
5128
5128
  if (e && a) {
5129
5129
  if (e instanceof Error) {
5130
- var g = Je.compatibleInstance(
5130
+ var g = He.compatibleInstance(
5131
5131
  a,
5132
5132
  e
5133
5133
  );
@@ -5139,7 +5139,7 @@ function Ki(e, t, n) {
5139
5139
  a.toString()
5140
5140
  ));
5141
5141
  }
5142
- var w = Je.compatibleConstructor(
5142
+ var w = He.compatibleConstructor(
5143
5143
  a,
5144
5144
  e
5145
5145
  );
@@ -5147,14 +5147,14 @@ function Ki(e, t, n) {
5147
5147
  o,
5148
5148
  "expected #{this} to throw #{exp} but #{act} was thrown",
5149
5149
  "expected #{this} to not throw #{exp}" + (a ? " but #{act} was thrown" : ""),
5150
- e instanceof Error ? e.toString() : e && Je.getConstructorName(e),
5151
- a instanceof Error ? a.toString() : a && Je.getConstructorName(a)
5150
+ e instanceof Error ? e.toString() : e && He.getConstructorName(e),
5151
+ a instanceof Error ? a.toString() : a && He.getConstructorName(a)
5152
5152
  ));
5153
5153
  }
5154
5154
  if (a && t !== void 0 && t !== null) {
5155
5155
  var m = "including";
5156
5156
  _i(t) && (m = "matching");
5157
- var h = Je.compatibleMessage(
5157
+ var h = He.compatibleMessage(
5158
5158
  a,
5159
5159
  t
5160
5160
  );
@@ -5163,15 +5163,15 @@ function Ki(e, t, n) {
5163
5163
  "expected #{this} to throw error " + m + " #{exp} but got #{act}",
5164
5164
  "expected #{this} to throw error not " + m + " #{exp}",
5165
5165
  t,
5166
- Je.getMessage(a)
5166
+ He.getMessage(a)
5167
5167
  ));
5168
5168
  }
5169
5169
  f && p && this.assert(
5170
5170
  o,
5171
5171
  "expected #{this} to throw #{exp} but #{act} was thrown",
5172
5172
  "expected #{this} to not throw #{exp}" + (a ? " but #{act} was thrown" : ""),
5173
- e instanceof Error ? e.toString() : e && Je.getConstructorName(e),
5174
- a instanceof Error ? a.toString() : a && Je.getConstructorName(a)
5173
+ e instanceof Error ? e.toString() : e && He.getConstructorName(e),
5174
+ a instanceof Error ? a.toString() : a && He.getConstructorName(a)
5175
5175
  ), C(this, "object", a);
5176
5176
  }
5177
5177
  R(Ki, "assertThrows");
@@ -9513,7 +9513,7 @@ function Aw(e, t) {
9513
9513
  return s + 1;
9514
9514
  }
9515
9515
  async function kw(e, t) {
9516
- const n = (await import("./magic-string.es-BbItKD7x.js")).default, r = new Set(t.map((i) => i.file));
9516
+ const n = (await import("./magic-string.es-CeNBRh1A.js")).default, r = new Set(t.map((i) => i.file));
9517
9517
  await Promise.all(
9518
9518
  Array.from(r).map(async (i) => {
9519
9519
  const s = t.filter((c) => c.file === i), o = await e.readSnapshotFile(i), a = new n(o);
@@ -11129,14 +11129,14 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
11129
11129
  function T_($, M) {
11130
11130
  $.tick(M);
11131
11131
  }
11132
- const Xe = {
11132
+ const Ge = {
11133
11133
  setTimeout: i.setTimeout,
11134
11134
  clearTimeout: i.clearTimeout,
11135
11135
  setInterval: i.setInterval,
11136
11136
  clearInterval: i.clearInterval,
11137
11137
  Date: i.Date
11138
11138
  };
11139
- N && (Xe.setImmediate = i.setImmediate, Xe.clearImmediate = i.clearImmediate), f && (Xe.hrtime = i.process.hrtime), d && (Xe.nextTick = i.process.nextTick), w && (Xe.performance = i.performance), O && (Xe.requestAnimationFrame = i.requestAnimationFrame), b && (Xe.queueMicrotask = !0), I && (Xe.cancelAnimationFrame = i.cancelAnimationFrame), P && (Xe.requestIdleCallback = i.requestIdleCallback), x && (Xe.cancelIdleCallback = i.cancelIdleCallback), y && (Xe.Intl = i.Intl);
11139
+ N && (Ge.setImmediate = i.setImmediate, Ge.clearImmediate = i.clearImmediate), f && (Ge.hrtime = i.process.hrtime), d && (Ge.nextTick = i.process.nextTick), w && (Ge.performance = i.performance), O && (Ge.requestAnimationFrame = i.requestAnimationFrame), b && (Ge.queueMicrotask = !0), I && (Ge.cancelAnimationFrame = i.cancelAnimationFrame), P && (Ge.requestIdleCallback = i.requestIdleCallback), x && (Ge.cancelIdleCallback = i.cancelIdleCallback), y && (Ge.Intl = i.Intl);
11140
11140
  const an = i.setImmediate || i.setTimeout;
11141
11141
  function Rl($, M) {
11142
11142
  $ = Math.floor(q($)), M = M || 1e3;
@@ -11261,12 +11261,12 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
11261
11261
  if (ge < 0)
11262
11262
  throw new TypeError("Negative ticks are not supported");
11263
11263
  Ir >= 1e6 && (yt += 1, Ir -= 1e6), F = Ir;
11264
- let $t = A.now, is = A.now, xt, cn, Ge, Dl, ss, os;
11265
- A.duringTick = !0, Ge = A.now, re(A), Ge !== A.now && ($t += A.now - Ge, yt += A.now - Ge);
11264
+ let $t = A.now, is = A.now, xt, cn, Je, Dl, ss, os;
11265
+ A.duringTick = !0, Je = A.now, re(A), Je !== A.now && ($t += A.now - Je, yt += A.now - Je);
11266
11266
  function jl() {
11267
11267
  for (xt = Re(A, $t, yt); xt && $t <= yt; ) {
11268
11268
  if (A.timers[xt.id]) {
11269
- $t = xt.callAt, A.now = xt.callAt, Ge = A.now;
11269
+ $t = xt.callAt, A.now = xt.callAt, Je = A.now;
11270
11270
  try {
11271
11271
  re(A), ot(A, xt);
11272
11272
  } catch (qn) {
@@ -11280,7 +11280,7 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
11280
11280
  }
11281
11281
  os();
11282
11282
  }
11283
- if (Ge = A.now, re(A), Ge !== A.now && ($t += A.now - Ge, yt += A.now - Ge), A.duringTick = !1, xt = Re(A, $t, yt), xt)
11283
+ if (Je = A.now, re(A), Je !== A.now && ($t += A.now - Je, yt += A.now - Je), A.duringTick = !1, xt = Re(A, $t, yt), xt)
11284
11284
  try {
11285
11285
  A.tick(yt - A.now);
11286
11286
  } catch (qn) {
@@ -11302,7 +11302,7 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
11302
11302
  Z(qn);
11303
11303
  }
11304
11304
  }, ss = function() {
11305
- Ge !== A.now && ($t += A.now - Ge, yt += A.now - Ge, is += A.now - Ge);
11305
+ Je !== A.now && ($t += A.now - Je, yt += A.now - Je, is += A.now - Je);
11306
11306
  }, os = function() {
11307
11307
  xt = Re(A, is, yt), is = $t;
11308
11308
  }, jl();
@@ -11443,7 +11443,7 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
11443
11443
  const V = Rl($.now, $.loopLimit);
11444
11444
  if (V.shouldClearNativeTimers = $.shouldClearNativeTimers, V.uninstall = function() {
11445
11445
  return Nr(V, $);
11446
- }, V.methods = $.toFake || [], V.methods.length === 0 && (V.methods = Object.keys(Xe).filter(function(A) {
11446
+ }, V.methods = $.toFake || [], V.methods.length === 0 && (V.methods = Object.keys(Ge).filter(function(A) {
11447
11447
  return A !== "nextTick" && A !== "queueMicrotask";
11448
11448
  })), $.shouldAdvanceTime === !0) {
11449
11449
  const A = T_.bind(
@@ -11485,7 +11485,7 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
11485
11485
  return V;
11486
11486
  }
11487
11487
  return {
11488
- timers: Xe,
11488
+ timers: Ge,
11489
11489
  createClock: Rl,
11490
11490
  install: x_,
11491
11491
  withGlobal: n
@@ -11630,7 +11630,7 @@ function UE(e, t = {}) {
11630
11630
  l
11631
11631
  )), u(b);
11632
11632
  }, h = () => {
11633
- if (Ye.isFakeTimers() && Ye.advanceTimersByTime(o), p !== "pending")
11633
+ if (Xe.isFakeTimers() && Xe.advanceTimersByTime(o), p !== "pending")
11634
11634
  try {
11635
11635
  const b = e();
11636
11636
  if (b !== null && typeof b == "object" && typeof b.then == "function") {
@@ -11665,7 +11665,7 @@ function zE(e, t = {}) {
11665
11665
  if (h)
11666
11666
  return p && i(p), d && s(d), c(h), !0;
11667
11667
  }, m = () => {
11668
- if (Ye.isFakeTimers() && Ye.advanceTimersByTime(o), f !== "pending")
11668
+ if (Xe.isFakeTimers() && Xe.advanceTimersByTime(o), f !== "pending")
11669
11669
  try {
11670
11670
  const h = e();
11671
11671
  if (h !== null && typeof h == "object" && typeof h.then == "function") {
@@ -11878,7 +11878,7 @@ function KE() {
11878
11878
  };
11879
11879
  return l;
11880
11880
  }
11881
- const XE = KE(), Ye = XE;
11881
+ const XE = KE(), Xe = XE;
11882
11882
  function lt() {
11883
11883
  return typeof __vitest_mocker__ < "u" ? __vitest_mocker__ : new Proxy(
11884
11884
  {},
@@ -12135,11 +12135,11 @@ const Xu = new Uint8Array([123, 123]), Gu = new Uint8Array([125, 125]);
12135
12135
  function Ju(e) {
12136
12136
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
12137
12137
  }
12138
- function He(e) {
12138
+ function Ye(e) {
12139
12139
  return e === 32 || e === 10 || e === 9 || e === 12 || e === 13;
12140
12140
  }
12141
12141
  function Pt(e) {
12142
- return e === 47 || e === 62 || He(e);
12142
+ return e === 47 || e === 62 || Ye(e);
12143
12143
  }
12144
12144
  function Ti(e) {
12145
12145
  const t = new Uint8Array(e.length);
@@ -12245,7 +12245,7 @@ class E0 {
12245
12245
  /** Look for an end tag. For <title> and <textarea>, also decode entities. */
12246
12246
  stateInRCDATA(t) {
12247
12247
  if (this.sequenceIndex === this.currentSequence.length) {
12248
- if (t === 62 || He(t)) {
12248
+ if (t === 62 || Ye(t)) {
12249
12249
  const n = this.index - this.currentSequence.length;
12250
12250
  if (this.sectionStart < n) {
12251
12251
  const r = this.index;
@@ -12308,16 +12308,16 @@ class E0 {
12308
12308
  this.cbs.onopentagname(this.sectionStart, this.index), this.sectionStart = -1, this.state = 11, this.stateBeforeAttrName(t);
12309
12309
  }
12310
12310
  stateBeforeClosingTagName(t) {
12311
- He(t) || (t === 62 ? (process.env.NODE_ENV !== "production" && this.cbs.onerr(14, this.index), this.state = 1, this.sectionStart = this.index + 1) : (this.state = Ju(t) ? 9 : 27, this.sectionStart = this.index));
12311
+ Ye(t) || (t === 62 ? (process.env.NODE_ENV !== "production" && this.cbs.onerr(14, this.index), this.state = 1, this.sectionStart = this.index + 1) : (this.state = Ju(t) ? 9 : 27, this.sectionStart = this.index));
12312
12312
  }
12313
12313
  stateInClosingTagName(t) {
12314
- (t === 62 || He(t)) && (this.cbs.onclosetag(this.sectionStart, this.index), this.sectionStart = -1, this.state = 10, this.stateAfterClosingTagName(t));
12314
+ (t === 62 || Ye(t)) && (this.cbs.onclosetag(this.sectionStart, this.index), this.sectionStart = -1, this.state = 10, this.stateAfterClosingTagName(t));
12315
12315
  }
12316
12316
  stateAfterClosingTagName(t) {
12317
12317
  t === 62 && (this.state = 1, this.sectionStart = this.index + 1);
12318
12318
  }
12319
12319
  stateBeforeAttrName(t) {
12320
- t === 62 ? (this.cbs.onopentagend(this.index), this.inRCDATA ? this.state = 32 : this.state = 1, this.sectionStart = this.index + 1) : t === 47 ? (this.state = 7, process.env.NODE_ENV !== "production" && this.peek() !== 62 && this.cbs.onerr(22, this.index)) : t === 60 && this.peek() === 47 ? (this.cbs.onopentagend(this.index), this.state = 5, this.sectionStart = this.index) : He(t) || (process.env.NODE_ENV !== "production" && t === 61 && this.cbs.onerr(
12320
+ t === 62 ? (this.cbs.onopentagend(this.index), this.inRCDATA ? this.state = 32 : this.state = 1, this.sectionStart = this.index + 1) : t === 47 ? (this.state = 7, process.env.NODE_ENV !== "production" && this.peek() !== 62 && this.cbs.onerr(22, this.index)) : t === 60 && this.peek() === 47 ? (this.cbs.onopentagend(this.index), this.state = 5, this.sectionStart = this.index) : Ye(t) || (process.env.NODE_ENV !== "production" && t === 61 && this.cbs.onerr(
12321
12321
  19,
12322
12322
  this.index
12323
12323
  ), this.handleAttrStart(t));
@@ -12326,7 +12326,7 @@ class E0 {
12326
12326
  t === 118 && this.peek() === 45 ? (this.state = 13, this.sectionStart = this.index) : t === 46 || t === 58 || t === 64 || t === 35 ? (this.cbs.ondirname(this.index, this.index + 1), this.state = 14, this.sectionStart = this.index + 1) : (this.state = 12, this.sectionStart = this.index);
12327
12327
  }
12328
12328
  stateInSelfClosingTag(t) {
12329
- t === 62 ? (this.cbs.onselfclosingtag(this.index), this.state = 1, this.sectionStart = this.index + 1, this.inRCDATA = !1) : He(t) || (this.state = 11, this.stateBeforeAttrName(t));
12329
+ t === 62 ? (this.cbs.onselfclosingtag(this.index), this.state = 1, this.sectionStart = this.index + 1, this.inRCDATA = !1) : Ye(t) || (this.state = 11, this.stateBeforeAttrName(t));
12330
12330
  }
12331
12331
  stateInAttrName(t) {
12332
12332
  t === 61 || Pt(t) ? (this.cbs.onattribname(this.sectionStart, this.index), this.handleAttrNameEnd(t)) : process.env.NODE_ENV !== "production" && (t === 34 || t === 39 || t === 60) && this.cbs.onerr(
@@ -12353,10 +12353,10 @@ class E0 {
12353
12353
  this.sectionStart = this.index, this.state = 17, this.cbs.onattribnameend(this.index), this.stateAfterAttrName(t);
12354
12354
  }
12355
12355
  stateAfterAttrName(t) {
12356
- t === 61 ? this.state = 18 : t === 47 || t === 62 ? (this.cbs.onattribend(0, this.sectionStart), this.sectionStart = -1, this.state = 11, this.stateBeforeAttrName(t)) : He(t) || (this.cbs.onattribend(0, this.sectionStart), this.handleAttrStart(t));
12356
+ t === 61 ? this.state = 18 : t === 47 || t === 62 ? (this.cbs.onattribend(0, this.sectionStart), this.sectionStart = -1, this.state = 11, this.stateBeforeAttrName(t)) : Ye(t) || (this.cbs.onattribend(0, this.sectionStart), this.handleAttrStart(t));
12357
12357
  }
12358
12358
  stateBeforeAttrValue(t) {
12359
- t === 34 ? (this.state = 19, this.sectionStart = this.index + 1) : t === 39 ? (this.state = 20, this.sectionStart = this.index + 1) : He(t) || (this.sectionStart = this.index, this.state = 21, this.stateInAttrValueNoQuotes(t));
12359
+ t === 34 ? (this.state = 19, this.sectionStart = this.index + 1) : t === 39 ? (this.state = 20, this.sectionStart = this.index + 1) : Ye(t) || (this.sectionStart = this.index, this.state = 21, this.stateInAttrValueNoQuotes(t));
12360
12360
  }
12361
12361
  handleInAttrValue(t, n) {
12362
12362
  (t === n || this.fastForwardTo(n)) && (this.cbs.onattribdata(this.sectionStart, this.index), this.sectionStart = -1, this.cbs.onattribend(
@@ -12371,7 +12371,7 @@ class E0 {
12371
12371
  this.handleInAttrValue(t, 39);
12372
12372
  }
12373
12373
  stateInAttrValueNoQuotes(t) {
12374
- He(t) || t === 62 ? (this.cbs.onattribdata(this.sectionStart, this.index), this.sectionStart = -1, this.cbs.onattribend(1, this.index), this.state = 11, this.stateBeforeAttrName(t)) : (process.env.NODE_ENV !== "production" && t === 34 || t === 39 || t === 60 || t === 61 || t === 96) && this.cbs.onerr(
12374
+ Ye(t) || t === 62 ? (this.cbs.onattribdata(this.sectionStart, this.index), this.sectionStart = -1, this.cbs.onattribend(1, this.index), this.state = 11, this.stateBeforeAttrName(t)) : (process.env.NODE_ENV !== "production" && t === 34 || t === 39 || t === 60 || t === 61 || t === 96) && this.cbs.onerr(
12375
12375
  18,
12376
12376
  this.index
12377
12377
  );
@@ -12863,9 +12863,9 @@ const be = [], _e = new E0(be, {
12863
12863
  if (Dt)
12864
12864
  return jr(Pe(e, t), e, t);
12865
12865
  let n = e + _e.delimiterOpen.length, r = t - _e.delimiterClose.length;
12866
- for (; He(kt.charCodeAt(n)); )
12866
+ for (; Ye(kt.charCodeAt(n)); )
12867
12867
  n++;
12868
- for (; He(kt.charCodeAt(r - 1)); )
12868
+ for (; Ye(kt.charCodeAt(r - 1)); )
12869
12869
  r--;
12870
12870
  let i = Pe(n, r);
12871
12871
  i.includes("&") && (i = te.decodeEntities(i, !1)), Uo({
@@ -13264,7 +13264,7 @@ function md(e, t) {
13264
13264
  }
13265
13265
  function q0(e) {
13266
13266
  for (let t = 0; t < e.length; t++)
13267
- if (!He(e.charCodeAt(t)))
13267
+ if (!Ye(e.charCodeAt(t)))
13268
13268
  return !1;
13269
13269
  return !0;
13270
13270
  }
@@ -13279,7 +13279,7 @@ function W0(e) {
13279
13279
  function gd(e) {
13280
13280
  let t = "", n = !1;
13281
13281
  for (let r = 0; r < e.length; r++)
13282
- He(e.charCodeAt(r)) ? n || (t += " ", n = !0) : (t += e[r], n = !1);
13282
+ Ye(e.charCodeAt(r)) ? n || (t += " ", n = !0) : (t += e[r], n = !1);
13283
13283
  return t;
13284
13284
  }
13285
13285
  function Uo(e) {
@@ -19832,26 +19832,32 @@ ai({
19832
19832
  return this.custom ? i : En("a", void 0, i);
19833
19833
  }
19834
19834
  });
19835
+ var MT = typeof setImmediate == "function" ? setImmediate : setTimeout;
19836
+ function RT() {
19837
+ return new Promise(function(e) {
19838
+ MT(e, 0);
19839
+ });
19840
+ }
19835
19841
  const ts = ({
19836
19842
  provide: e,
19837
19843
  stubs: t
19838
19844
  }) => ({
19839
19845
  provide: {
19840
- sendAlert: (e == null ? void 0 : e.sendAlert) || Ye.fn(),
19841
- addStateProviderListener: (e == null ? void 0 : e.addStateProviderListener) || Ye.fn(),
19842
- trigger: (e == null ? void 0 : e.trigger) || Ye.fn(),
19846
+ sendAlert: (e == null ? void 0 : e.sendAlert) || Xe.fn(),
19847
+ addStateProviderListener: (e == null ? void 0 : e.addStateProviderListener) || Xe.fn(),
19848
+ trigger: (e == null ? void 0 : e.trigger) || Xe.fn(),
19843
19849
  ...e
19844
19850
  },
19845
19851
  stubs: {
19846
19852
  DispatchRenderer: !0,
19847
19853
  ...t
19848
19854
  }
19849
- }), VT = (e, {
19855
+ }), WT = (e, {
19850
19856
  props: t,
19851
19857
  provide: n = {},
19852
19858
  stubs: r = {}
19853
19859
  }) => {
19854
- const i = Ye.fn(), s = Ye.fn(), o = Ye.fn();
19860
+ const i = Xe.fn(), s = Xe.fn(), o = Xe.fn();
19855
19861
  return {
19856
19862
  wrapper: es(e, {
19857
19863
  props: {
@@ -19866,12 +19872,12 @@ const ts = ({
19866
19872
  changeValue: s,
19867
19873
  onRegisterValidation: o
19868
19874
  };
19869
- }, qT = (e, {
19875
+ }, UT = (e, {
19870
19876
  props: t,
19871
19877
  provide: n = {},
19872
19878
  stubs: r = {}
19873
19879
  }) => {
19874
- const i = Ye.fn(), s = Ye.fn(), o = Ye.fn();
19880
+ const i = Xe.fn(), s = Xe.fn(), o = Xe.fn();
19875
19881
  return {
19876
19882
  wrapper: es(e, {
19877
19883
  props: {
@@ -19886,7 +19892,7 @@ const ts = ({
19886
19892
  changeValue: s,
19887
19893
  onRegisterValidation: o
19888
19894
  };
19889
- }, WT = (e, {
19895
+ }, zT = (e, {
19890
19896
  props: t,
19891
19897
  provide: n = {},
19892
19898
  stubs: r = {}
@@ -19895,14 +19901,14 @@ const ts = ({
19895
19901
  props: t,
19896
19902
  global: ts({ provide: n, stubs: r })
19897
19903
  })
19898
- }), UT = (e, {
19904
+ }), KT = (e, {
19899
19905
  props: t,
19900
19906
  provide: n = {},
19901
19907
  stubs: r = {}
19902
19908
  }) => es(e, {
19903
19909
  props: t,
19904
19910
  global: ts({ provide: n, stubs: r })
19905
- }), zT = (e) => ({
19911
+ }), XT = (e) => ({
19906
19912
  path: e,
19907
19913
  enabled: !0,
19908
19914
  visible: !0,
@@ -19921,7 +19927,17 @@ const ts = ({
19921
19927
  description: "",
19922
19928
  required: !1,
19923
19929
  i18nKeyPrefix: "i18n"
19924
- }), MT = (e) => {
19930
+ }), GT = () => {
19931
+ let e;
19932
+ return {
19933
+ addStateProviderListener: Xe.fn((n, r) => {
19934
+ e = r;
19935
+ }),
19936
+ provideState: async (n) => {
19937
+ e(n), await RT();
19938
+ }
19939
+ };
19940
+ }, DT = (e) => {
19925
19941
  const t = (r, i) => {
19926
19942
  const s = U_(
19927
19943
  e,
@@ -19933,13 +19949,14 @@ const ts = ({
19933
19949
  var s;
19934
19950
  return (s = t(r, i)) == null ? void 0 : s.name;
19935
19951
  } };
19936
- }, KT = MT(F_).getRendererName;
19952
+ }, JT = DT(F_).getRendererName;
19937
19953
  export {
19938
- KT as determineRenderer,
19939
- zT as getControlBase,
19940
- VT as mountJsonFormsControl,
19941
- qT as mountJsonFormsControlLabelContent,
19942
- WT as mountJsonFormsLayout,
19943
- UT as mountJsonFormsRenderer,
19944
- MT as setUpRendererTest
19954
+ JT as determineRenderer,
19955
+ XT as getControlBase,
19956
+ WT as mountJsonFormsControl,
19957
+ UT as mountJsonFormsControlLabelContent,
19958
+ zT as mountJsonFormsLayout,
19959
+ KT as mountJsonFormsRenderer,
19960
+ DT as setUpRendererTest,
19961
+ GT as useInitialProvidedState
19945
19962
  };
@@ -0,0 +1,26 @@
1
+ import { S as f } from "./isObjectLike-BatpeCIi.js";
2
+ import { i as p } from "./isArray-WzO_os3q.js";
3
+ import { i as g } from "./isSymbol-C3_SC0Qp.js";
4
+ function l(r, t) {
5
+ for (var n = -1, i = r == null ? 0 : r.length, o = Array(i); ++n < i; )
6
+ o[n] = t(r[n], n, r);
7
+ return o;
8
+ }
9
+ var s = f ? f.prototype : void 0, e = s ? s.toString : void 0;
10
+ function m(r) {
11
+ if (typeof r == "string")
12
+ return r;
13
+ if (p(r))
14
+ return l(r, m) + "";
15
+ if (g(r))
16
+ return e ? e.call(r) : "";
17
+ var t = r + "";
18
+ return t == "0" && 1 / r == -1 / 0 ? "-0" : t;
19
+ }
20
+ function b(r) {
21
+ return r == null ? "" : m(r);
22
+ }
23
+ export {
24
+ l as a,
25
+ b as t
26
+ };
@@ -0,0 +1,52 @@
1
+ import { computed as r } from "vue";
2
+ import { u as d } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
3
+ const l = (e = {}) => e.validations ?? [], c = (e = {}) => (e.validationProviders ?? []).map(
4
+ (i) => d(i, null)
5
+ ), s = (e, i) => {
6
+ const n = e.map(
7
+ ({ id: t, parameters: o, errorMessage: a }) => ({
8
+ validate: i[t](o),
9
+ errorMessage: a
10
+ })
11
+ );
12
+ return (t) => ({
13
+ errors: n.filter(({ validate: o }) => !o(t)).map(({ errorMessage: o }) => o)
14
+ });
15
+ }, u = (e, i) => e === null ? null : s([e], i), m = (e, i, n, t) => {
16
+ if (e.length) {
17
+ const o = s(e, n);
18
+ t(o);
19
+ }
20
+ i.length && i.map(
21
+ (a) => r(() => u(a.value, n))
22
+ ).forEach(t);
23
+ }, h = ({
24
+ validations: e,
25
+ providedValidations: i
26
+ }) => {
27
+ const n = e.reduce(
28
+ (t, o) => ({ ...t, [o.id]: o.parameters }),
29
+ {}
30
+ );
31
+ return r(
32
+ () => i.map((t) => t.value).filter((t) => t !== null).reduce(
33
+ (t, o) => ({
34
+ ...t,
35
+ // @ts-expect-error - we know that validation is not null here
36
+ [o.id]: o.parameters
37
+ }),
38
+ n
39
+ )
40
+ );
41
+ }, f = (e, i) => {
42
+ const n = i.control.uischema.options, t = l(n), o = c(n);
43
+ return m(
44
+ t,
45
+ o,
46
+ e,
47
+ i.onRegisterValidation
48
+ ), h({ validations: t, providedValidations: o });
49
+ };
50
+ export {
51
+ f as u
52
+ };
@@ -0,0 +1,26 @@
1
+ import { computed as a } from "vue";
2
+ import { u as c } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
3
+ const t = (s) => {
4
+ var e;
5
+ const u = a(
6
+ () => {
7
+ var o;
8
+ return (o = s.value.uischema.options) == null ? void 0 : o.choicesProvider;
9
+ }
10
+ );
11
+ return { possibleValues: c(
12
+ u,
13
+ ((e = s.value.uischema.options) == null ? void 0 : e.possibleValues) ?? null
14
+ ) };
15
+ }, n = (s) => {
16
+ var l, e;
17
+ const u = a(() => s.value.uischema.options);
18
+ return {
19
+ includedLabel: ((l = u.value) == null ? void 0 : l.includedLabel) ?? "Includes",
20
+ excludedLabel: ((e = u.value) == null ? void 0 : e.excludedLabel) ?? "Excludes"
21
+ };
22
+ };
23
+ export {
24
+ n as a,
25
+ t as u
26
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/jsonforms",
3
- "version": "1.6.9",
3
+ "version": "1.7.0",
4
4
  "description": "Internal JSON Forms integration for frontend KNIME projects",
5
5
  "homepage": "https://knime.github.io/webapps-common/",
6
6
  "license": "GPL 3 and Additional Permissions according to Sec. 7 (SEE the file LICENSE)",
@@ -15,8 +15,8 @@
15
15
  "focus-trap-vue": "4.0.3",
16
16
  "tabbable": "6.2.0",
17
17
  "uuid": "10.0.0",
18
- "@knime/components": "1.24.0",
19
- "@knime/rich-text-editor": "1.4.0",
18
+ "@knime/components": "1.24.1",
19
+ "@knime/rich-text-editor": "1.4.1",
20
20
  "@knime/styles": "1.3.1",
21
21
  "@knime/utils": "1.3.2"
22
22
  },
@@ -1,22 +0,0 @@
1
- import { defineComponent as n, openBlock as t, createBlock as r, mergeProps as p } from "vue";
2
- import { o as a } from "./index-hm05O8UX.js";
3
- import i from "./SimpleTwinlistControl-CrLWO2B2.js";
4
- const d = /* @__PURE__ */ n({
5
- __name: "AnyOfTwinlist",
6
- props: {
7
- control: {},
8
- handleChange: { type: Function },
9
- changeValue: { type: Function },
10
- disabled: { type: Boolean },
11
- isValid: { type: Boolean },
12
- onRegisterValidation: { type: Function },
13
- labelForId: {}
14
- },
15
- setup(l) {
16
- const e = (o) => o.schema.anyOf.map(a);
17
- return (o, s) => (t(), r(i, p(o.$props, { "options-generator": e }), null, 16));
18
- }
19
- });
20
- export {
21
- d as default
22
- };
@@ -1,24 +0,0 @@
1
- import { defineComponent as e, openBlock as o, createBlock as t, mergeProps as l } from "vue";
2
- import a from "./TwinlistControl-Dw5uSnOi.js";
3
- const u = /* @__PURE__ */ e({
4
- __name: "ColumnFilter",
5
- props: {
6
- control: {},
7
- handleChange: { type: Function },
8
- changeValue: { type: Function },
9
- disabled: { type: Boolean },
10
- isValid: { type: Boolean },
11
- onRegisterValidation: { type: Function },
12
- labelForId: {}
13
- },
14
- setup(r) {
15
- return (n, s) => (o(), t(a, l({ ...n.$props, ...n.$attrs }, {
16
- "unknown-values-text": "Any unknown column",
17
- "show-unknown-values": "",
18
- "empty-state-label": "No columns in this list"
19
- }), null, 16));
20
- }
21
- });
22
- export {
23
- u as default
24
- };