@knime/jsonforms 1.14.3 → 1.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/AnyOfTwinlist-BmHETHvW.js +28 -0
  3. package/dist/{Button-BxuGKyL5.js → Button-B9RSLVI2.js} +9 -8
  4. package/dist/CheckboxControl-q88fZSZD.js +58 -0
  5. package/dist/Checkboxes-Bofcg7tl.js +120 -0
  6. package/dist/CheckboxesControl-DY0R1PDD.js +47 -0
  7. package/dist/{ComboBoxControl-Dk02x7sN.js → ComboBoxControl-2r1FWcy-.js} +238 -172
  8. package/dist/DateControl-vnkppn62.js +38 -0
  9. package/dist/DateTimeControl-MkF9G3Xz.js +53 -0
  10. package/dist/DateTimeFormatInput-Ds2VLXw1.js +426 -0
  11. package/dist/DateTimeFormatPickerControl-D3OjZCj7.js +47 -0
  12. package/dist/DateTimeFormatPickerWithTypeControl-DDto-oJk.js +85 -0
  13. package/dist/DateTimeInput-DcwhvMD2.js +11321 -0
  14. package/dist/Dropdown-D49sEHBa.js +663 -0
  15. package/dist/DropdownControl-aeEqC-Yg.js +46 -0
  16. package/dist/HorizontalLayout-D0toQmVl.js +39 -0
  17. package/dist/{InputField-BYxW_-G3.js → InputField-C_aZPs-f.js} +48 -36
  18. package/dist/IntegerControl-DAwniqjW.js +33 -0
  19. package/dist/IntervalControl-Bkuhg0Ga.js +647 -0
  20. package/dist/LoadingDropdown-B9jHjdWV.js +50 -0
  21. package/dist/LoadingIcon-RPBUjTO3.js +23 -0
  22. package/dist/ManualTwinlistControl-DGW-7a2Q.js +90 -0
  23. package/dist/MultiSelectListBoxControl-BYHuC9jL.js +48 -0
  24. package/dist/MultimodeTwinlistControl-oIvgI_FP.js +486 -0
  25. package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_37fe7036_lang-DGKMWtLi.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_bd2eaa56_lang-pnMOUiIt.js} +1 -1
  26. package/dist/{MultiselectListBox-CHvGxAhY.js → MultiselectListBox-CfdPbcn1.js} +105 -86
  27. package/dist/NameFilter-BV68t_P5.js +37 -0
  28. package/dist/NumberControl-Dm01CJW9.js +33 -0
  29. package/dist/NumberControlBase-CN5eTKEm.js +58 -0
  30. package/dist/{NumberInput-DJ38AGiR.js → NumberInput-DWTImcA_.js} +72 -54
  31. package/dist/OneOfDropdown-DuXXP0Qn.js +50 -0
  32. package/dist/RadioControl-X6HLs9F1.js +36 -0
  33. package/dist/RadioControlBase-BGUHTIUl.js +111 -0
  34. package/dist/{RichTextControl-CXY1ULxR.js → RichTextControl-B1mJMs1e.js} +5462 -4668
  35. package/dist/SectionHeading-B6JkPyMh.js +31 -0
  36. package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_f06e9b7d_lang-B5ALSUVO.js +15603 -0
  37. package/dist/SectionLayout-7pXn4OHo.js +61 -0
  38. package/dist/SettingsSubPanel-DToMRoLu.js +48 -0
  39. package/dist/SettingsSubPanelLayout-DnZnghFr.js +83 -0
  40. package/dist/SimpleButtonControl-DOSd92Kq.js +84 -0
  41. package/dist/SimpleTwinlistControl-RBfQTk47.js +31 -0
  42. package/dist/SingleSelectControl-C-GLQD-a.js +73 -0
  43. package/dist/SingleSelectListBoxControl-CDg_1QUT.js +260 -0
  44. package/dist/SortListControl-CWuxKIEb.js +445 -0
  45. package/dist/StyledListItem-NqAG7jSw.js +81 -0
  46. package/dist/TextAreaControl-Dt5ZGrae.js +122 -0
  47. package/dist/TextControl-w9vrCC1T.js +54 -0
  48. package/dist/TimeControl-DiNQSV4K.js +46 -0
  49. package/dist/TwinlistControlBase-CMFEecdr.js +47 -0
  50. package/dist/TwinlistLoadingInfo-Cy6HY-97.js +1080 -0
  51. package/dist/TypedStringFilter-FUF8sqOm.js +32 -0
  52. package/dist/ValueSwitch-Ozmr1YfK.js +162 -0
  53. package/dist/ValueSwitchControl-CdFlHo-2.js +33 -0
  54. package/dist/VerticalLayout-DY8gbasK.js +39 -0
  55. package/dist/VerticalLayoutBase-CpN-KONq.js +32 -0
  56. package/dist/ZonedDateTimeControl-Cg3dAfq5.js +79 -0
  57. package/dist/{_baseEach-cjHvi5iT.js → _baseEach-CWap1NWh.js} +4 -4
  58. package/dist/{_baseIteratee-CIxt0KWU.js → _baseIteratee-D0MXvnuf.js} +27 -27
  59. package/dist/{_getTag-sLUyzSDj.js → _getTag-BvpAzjaz.js} +10 -10
  60. package/dist/{arrow-dropdown-DdgjzLAO.js → arrow-dropdown-eS-nVNCv.js} +9 -3
  61. package/dist/{arrow-next-CIOU5o42.js → arrow-next-BmOStWql.js} +9 -3
  62. package/dist/{close-BuY4mhXV.js → close-0dYG2oDA.js} +9 -3
  63. package/dist/floating-ui.vue-CDo9Kas1.js +1055 -0
  64. package/dist/{hotkeys-kwHHtFKz.js → hotkeys-rxnt4egK.js} +1 -1
  65. package/dist/index-CpKfM262.js +376 -0
  66. package/dist/knime-jsonforms.css +1 -1
  67. package/dist/knime-jsonforms.js +133 -110
  68. package/dist/{localTimeUtils-Dv-1R88J.js → localTimeUtils-CfchSrLG.js} +179 -181
  69. package/dist/magic-string.es-BQ9KnLz-.js +659 -0
  70. package/dist/navigator-e30QQMkl.js +4 -0
  71. package/dist/popper-LGjf7Wza.js +905 -0
  72. package/dist/reload-57Xc2t-6.js +23 -0
  73. package/dist/src/higherOrderComponents/control/LabeledControl.vue.d.ts +26 -22
  74. package/dist/src/higherOrderComponents/control/errorMessage/ErrorLine.vue.d.ts +3 -4
  75. package/dist/src/higherOrderComponents/control/errorMessage/ErrorMessages.vue.d.ts +16 -10
  76. package/dist/src/higherOrderComponents/control/errorMessage/withErrorMessage.d.ts +1 -1
  77. package/dist/src/higherOrderComponents/control/util.d.ts +7 -33
  78. package/dist/src/higherOrderComponents/layout/util.d.ts +1 -17
  79. package/dist/src/layoutComponents/Form.vue.d.ts +12 -4
  80. package/dist/src/layoutComponents/HorizontalLayout.vue.d.ts +1 -1
  81. package/dist/src/layoutComponents/SectionLayout.vue.d.ts +13 -5
  82. package/dist/src/layoutComponents/VerticalLayout.vue.d.ts +1 -1
  83. package/dist/src/layoutComponents/VerticalLayoutBase.vue.d.ts +16 -9
  84. package/dist/src/layoutComponents/section/SectionHeading.vue.d.ts +13 -6
  85. package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +2 -2
  86. package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanelBackArrow.vue.d.ts +1 -1
  87. package/dist/src/renderers/dateTimeFormatPickerRenderer.d.ts +2 -2
  88. package/dist/src/renderers/defaultRenderers.d.ts +966 -151
  89. package/dist/src/renderers/dropdownRenderer.d.ts +1 -1
  90. package/dist/src/renderers/fallbackRenderers.d.ts +8 -8
  91. package/dist/src/renderers/horizontalLayoutRenderer.d.ts +1 -1
  92. package/dist/src/renderers/sectionLayoutRenderer.d.ts +4 -4
  93. package/dist/src/renderers/simpleButtonRenderer.d.ts +7 -89
  94. package/dist/src/renderers/sortListRenderer.d.ts +853 -20
  95. package/dist/src/renderers/textMessageRenderer.d.ts +65 -1
  96. package/dist/src/renderers/textRenderer.d.ts +1 -1
  97. package/dist/src/renderers/verticalLayoutRenderer.d.ts +2 -2
  98. package/dist/src/renderers/zonedDateTimeRenderer.d.ts +1 -1
  99. package/dist/src/uiComponents/CheckboxControl.vue.d.ts +15 -6
  100. package/dist/src/uiComponents/CheckboxesControl.vue.d.ts +2 -1
  101. package/dist/src/uiComponents/ComboBoxControl.vue.d.ts +2 -1
  102. package/dist/src/uiComponents/DateControl.vue.d.ts +2 -1
  103. package/dist/src/uiComponents/DateTimeControl.vue.d.ts +2 -1
  104. package/dist/src/uiComponents/DateTimeFormatPickerControl.vue.d.ts +2 -1
  105. package/dist/src/uiComponents/DateTimeFormatPickerWithTypeControl.vue.d.ts +2 -1
  106. package/dist/src/uiComponents/DropdownControl.vue.d.ts +2 -1
  107. package/dist/src/uiComponents/IntegerControl.vue.d.ts +2 -1
  108. package/dist/src/uiComponents/IntervalControl.vue.d.ts +2 -1
  109. package/dist/src/uiComponents/MultiSelectListBoxControl.vue.d.ts +2 -1
  110. package/dist/src/uiComponents/NumberControl.vue.d.ts +2 -1
  111. package/dist/src/uiComponents/NumberControlBase.vue.d.ts +5 -9
  112. package/dist/src/uiComponents/OneOfDropdown.vue.d.ts +2 -1
  113. package/dist/src/uiComponents/RadioControl.vue.d.ts +2 -1
  114. package/dist/src/uiComponents/RadioControlBase.vue.d.ts +4 -8
  115. package/dist/src/uiComponents/SimpleButtonControl.vue.d.ts +5 -129
  116. package/dist/src/uiComponents/SingleSelectControl.vue.d.ts +2 -1
  117. package/dist/src/uiComponents/SingleSelectListBoxControl.vue.d.ts +2 -1
  118. package/dist/src/uiComponents/SortListControl.vue.d.ts +845 -12
  119. package/dist/src/uiComponents/TextAreaControl.vue.d.ts +2 -1
  120. package/dist/src/uiComponents/TextControl.vue.d.ts +203 -3
  121. package/dist/src/uiComponents/TextMessageControl.vue.d.ts +2 -1
  122. package/dist/src/uiComponents/TimeControl.vue.d.ts +2 -1
  123. package/dist/src/uiComponents/ValueSwitchControl.vue.d.ts +2 -1
  124. package/dist/src/uiComponents/ZonedDateTimeControl.vue.d.ts +2 -1
  125. package/dist/src/uiComponents/composables/useProvidedState.d.ts +1 -1
  126. package/dist/src/uiComponents/loading/TwinlistLoadingInfo.vue.d.ts +1 -1
  127. package/dist/src/uiComponents/richTextControl/DialogLinkModal.vue.d.ts +3 -1
  128. package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +230 -1
  129. package/dist/src/uiComponents/twinlist/AnyOfTwinlist.vue.d.ts +2 -1
  130. package/dist/src/uiComponents/twinlist/ManualTwinlistControl.vue.d.ts +2 -1
  131. package/dist/src/uiComponents/twinlist/MultimodeTwinlistControl.vue.d.ts +8 -15
  132. package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +2 -1
  133. package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +2 -1
  134. package/dist/src/uiComponents/twinlist/TwinlistControlBase.vue.d.ts +5 -10
  135. package/dist/src/uiComponents/twinlist/TypedStringFilter.vue.d.ts +2 -1
  136. package/dist/testUtils/component.d.ts +18 -18
  137. package/dist/testing.js +8688 -8655
  138. package/dist/{toString-C_MqBj3_.js → toString-C-X8cE7K.js} +1 -1
  139. package/dist/{useBuiltinValidations-DP7OS71z.js → useBuiltinValidations-D0WuEacN.js} +1 -1
  140. package/dist/useDropdownNavigation-BfCXUheD.js +817 -0
  141. package/dist/usePossibleValues-DTVXBGRC.js +16 -0
  142. package/package.json +14 -14
  143. package/dist/AnyOfTwinlist-Cwxtyt0Q.js +0 -22
  144. package/dist/CheckboxControl-Oe97HhY3.js +0 -40
  145. package/dist/Checkboxes-DIPjJhPO.js +0 -103
  146. package/dist/CheckboxesControl-5QlPmjwv.js +0 -41
  147. package/dist/DateControl-CddCObVg.js +0 -29
  148. package/dist/DateTimeControl-DyXUJBHE.js +0 -54
  149. package/dist/DateTimeFormatInput-bO1zHUyp.js +0 -381
  150. package/dist/DateTimeFormatPickerControl-Dq25_JV2.js +0 -43
  151. package/dist/DateTimeFormatPickerWithTypeControl-DZib_x-B.js +0 -79
  152. package/dist/DateTimeInput-CEYEV8dt.js +0 -11204
  153. package/dist/Dropdown-CJj0CUA8.js +0 -604
  154. package/dist/DropdownControl-BNQKWzTT.js +0 -31
  155. package/dist/HorizontalLayout-6GwurgkR.js +0 -25
  156. package/dist/IntegerControl-DZIY-wb_.js +0 -20
  157. package/dist/IntervalControl-Yts36_MI.js +0 -546
  158. package/dist/LoadingDropdown-Dw-0WQ8x.js +0 -40
  159. package/dist/ManualTwinlistControl-C3NnAug1.js +0 -85
  160. package/dist/MultiSelectListBoxControl-3Q41S4aA.js +0 -34
  161. package/dist/MultimodeTwinlistControl-B2Jven29.js +0 -470
  162. package/dist/NameFilter-D0hKO5Fr.js +0 -24
  163. package/dist/NumberControl-DkeQT1iR.js +0 -20
  164. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-B9K5qEs3.js +0 -53
  165. package/dist/OneOfDropdown-NAgE-mPP.js +0 -34
  166. package/dist/RadioControl-DjrysNQ_.js +0 -24
  167. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-WaVJMdQq.js +0 -114
  168. package/dist/SectionHeading-BU1W5lDr.js +0 -19
  169. package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CsYyUtDa.js +0 -14015
  170. package/dist/SectionLayout-CJP4sYyB.js +0 -46
  171. package/dist/SettingsSubPanel-KxEyzlB6.js +0 -5
  172. package/dist/SettingsSubPanelLayout-YBNVPQOD.js +0 -61
  173. package/dist/SimpleButtonControl-ejyUwJdL.js +0 -61
  174. package/dist/SimpleTwinlistControl-qXQxRI7h.js +0 -28
  175. package/dist/SingleSelectControl-B0JgDv7j.js +0 -58
  176. package/dist/SingleSelectListBoxControl-ClQOxnxW.js +0 -235
  177. package/dist/SortListControl-mvJofiWn.js +0 -375
  178. package/dist/StyledListItem-BXz08pEQ.js +0 -72
  179. package/dist/TextAreaControl-S4aoqAv1.js +0 -111
  180. package/dist/TextControl-rJrjrBw8.js +0 -4
  181. package/dist/TextControl.vue_vue_type_script_setup_true_lang-Bf6GB1zX.js +0 -50
  182. package/dist/TimeControl-DfhE8yu9.js +0 -42
  183. package/dist/TwinlistControlBase-D1l9t7Up.js +0 -40
  184. package/dist/TwinlistLoadingInfo-CQRx9cEu.js +0 -963
  185. package/dist/TypedStringFilter-C6JhWCCC.js +0 -29
  186. package/dist/ValueSwitch-CUYV7v67.js +0 -131
  187. package/dist/ValueSwitchControl-IP9SxrUs.js +0 -20
  188. package/dist/VerticalLayout-D2eQSYgv.js +0 -30
  189. package/dist/VerticalLayoutBase-DRfHwc4t.js +0 -20
  190. package/dist/ZonedDateTimeControl-Bi8cV34A.js +0 -75
  191. package/dist/floating-ui.vue-B-MrqKCT.js +0 -1019
  192. package/dist/index-CoRworrE.js +0 -322
  193. package/dist/magic-string.es-D-aKzDFf.js +0 -858
  194. package/dist/navigator-D_R-txCf.js +0 -7
  195. package/dist/popper-CRR--9mA.js +0 -907
  196. package/dist/reload-BVbCGubF.js +0 -17
  197. package/dist/src/JsonFormsDialog.vue.d.ts +0 -46
  198. package/dist/svgWithTitle-Cr3Pu3wr.js +0 -18
  199. package/dist/useDropdownNavigation-7o7SRJSo.js +0 -781
  200. package/dist/usePossibleValues-lz0Rcu_N.js +0 -20
@@ -1,132 +1,155 @@
1
- import { defineComponent as c, ref as i, onMounted as P, openBlock as u, createElementBlock as v, createElementVNode as y, createCommentVNode as T, provide as x, computed as C, watch as E, createBlock as A, Suspense as w, withCtx as d, createVNode as l, renderSlot as h, unref as B, nextTick as j } from "vue";
2
- import { _ as S, p as F, F as M, s as O, U as I, i as R } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CsYyUtDa.js";
3
- import { E as Z, L as ee, a as te, c as oe, f as se, e as ae, d as re, g as ne, h as de, k as le, l as ie, j as ue, m as ce, b as pe, n as me, t as fe, u as _e, w as ge } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CsYyUtDa.js";
4
- import { default as De } from "./SimpleButtonControl-ejyUwJdL.js";
5
- import { _ as ye } from "./TextControl.vue_vue_type_script_setup_true_lang-Bf6GB1zX.js";
6
- import { V as Le } from "./VerticalLayoutBase-DRfHwc4t.js";
7
- import { S as ke } from "./SectionHeading-BU1W5lDr.js";
8
- import { S as Te } from "./SettingsSubPanel-KxEyzlB6.js";
9
- const V = {
10
- key: 0,
11
- class: "loading-dialog skeleton-wrapper"
12
- }, $ = 200, N = /* @__PURE__ */ c({
1
+ import { defineComponent as h, ref as f, onMounted as k, createElementBlock as L, createCommentVNode as P, openBlock as g, createElementVNode as E, provide as w, computed as C, watch as T, nextTick as A, createBlock as F, Suspense as O, withCtx as p, createVNode as m, renderSlot as S } from "vue";
2
+ import { _ as j, p as M, F as B, U as I, i as J, s as N } from "./SectionHeading.vue_vue_type_style_index_0_scoped_f06e9b7d_lang-B5ALSUVO.js";
3
+ import { E as te, L as oe, a as re, c as se, f as ae, e as ne, d as de, g as le, h as ie, k as ce, l as ue, j as pe, m as me, b as _e, n as fe, t as ge, u as he, w as De } from "./SectionHeading.vue_vue_type_style_index_0_scoped_f06e9b7d_lang-B5ALSUVO.js";
4
+ import { default as be } from "./SimpleButtonControl-DOSd92Kq.js";
5
+ import { default as Se } from "./TextControl-w9vrCC1T.js";
6
+ import { V as Le } from "./VerticalLayoutBase-CpN-KONq.js";
7
+ import { S as Ee } from "./SectionHeading-B6JkPyMh.js";
8
+ import { S as ke } from "./SettingsSubPanel-DToMRoLu.js";
9
+ const x = 200, U = /* @__PURE__ */ h({
13
10
  __name: "LoadingDialog",
14
- setup(r) {
15
- const s = i(!1);
16
- return P(() => {
11
+ setup(s, { expose: a }) {
12
+ a();
13
+ const r = f(!1);
14
+ k(() => {
17
15
  setTimeout(() => {
18
- s.value = !0;
19
- }, $);
20
- }), (p, o) => s.value ? (u(), v("div", V, o[0] || (o[0] = [
21
- y("div", { class: "loading-dialog-content skeleton" }, null, -1)
22
- ]))) : T("", !0);
16
+ r.value = !0;
17
+ }, x);
18
+ });
19
+ const t = { LOADING_DIALOG_DELAY: x, afterDelay: r };
20
+ return Object.defineProperty(t, "__isScriptSetup", { enumerable: !1, value: !0 }), t;
23
21
  }
24
- }), U = /* @__PURE__ */ S(N, [["__scopeId", "data-v-7dabb11d"]]), J = { class: "dialog" }, D = "EXPOSED_METHOD", G = /* @__PURE__ */ c({
22
+ }), q = {
23
+ key: 0,
24
+ class: "loading-dialog skeleton-wrapper"
25
+ };
26
+ function R(s, a, r, t, d, l) {
27
+ return t.afterDelay ? (g(), L("div", q, a[0] || (a[0] = [
28
+ E(
29
+ "div",
30
+ { class: "loading-dialog-content skeleton" },
31
+ null,
32
+ -1
33
+ /* CACHED */
34
+ )
35
+ ]))) : P("v-if", !0);
36
+ }
37
+ const V = /* @__PURE__ */ j(U, [["render", R], ["__scopeId", "data-v-4e86d71a"], ["__file", "/Users/albrecht/Documents/KNIME/git/webapps-common/packages/jsonforms/src/loading/LoadingDialog.vue"]]), _ = "EXPOSED_METHOD", $ = /* @__PURE__ */ h({
25
38
  __name: "JsonFormsDialog",
26
39
  props: {
27
- schema: {},
28
- uischema: {},
29
- data: {},
30
- renderers: {}
40
+ schema: { type: Object, required: !0 },
41
+ uischema: { type: Object, required: !0 },
42
+ data: { type: null, required: !0 },
43
+ renderers: { type: Array, required: !0 }
31
44
  },
32
45
  emits: ["updateData", "trigger", "change", "alert", "stateProviderListener"],
33
- setup(r, { expose: s, emit: p }) {
34
- const o = p, L = (e, t, n) => {
35
- var g;
36
- return t.type === I && // @ts-expect-error source doesn't exist on type object
37
- ((g = t.context) == null ? void 0 : g.source) !== D && setTimeout(() => j(() => o("updateData", t.path))), n(e, t);
38
- }, b = (e) => {
39
- o("change", e);
46
+ setup(s, { expose: a, emit: r }) {
47
+ const t = r, d = (e, o, u) => (o.type === I && // @ts-expect-error source doesn't exist on type object
48
+ o.context?.source !== _ && setTimeout(() => A(() => t("updateData", o.path))), u(e, o)), l = (e) => {
49
+ t("change", e);
50
+ }, D = {
51
+ trigger: (e) => t("trigger", e),
52
+ addStateProviderListener: (e, o) => t("stateProviderListener", e, o),
53
+ sendAlert: (e) => t("alert", e)
40
54
  };
41
- Object.entries({
42
- trigger: (e) => o("trigger", e),
43
- addStateProviderListener: (e, t) => o("stateProviderListener", e, t),
44
- sendAlert: (e) => o("alert", e)
45
- }).forEach(([e, t]) => x(e, t));
46
- const a = i(null), m = [], f = (e, t) => {
47
- a.value.dispatch(
48
- R.update(e, () => t, {
49
- source: D
55
+ Object.entries(D).forEach(([e, o]) => w(e, o));
56
+ const n = f(null), i = [], c = (e, o) => {
57
+ n.value.dispatch(
58
+ J.update(e, () => o, {
59
+ source: _
50
60
  })
51
61
  );
52
- }, k = C(() => a.value !== null);
53
- E(
54
- () => k.value,
55
- (e) => e && m.forEach(
56
- ({ path: t, value: n }) => f(t, n)
62
+ }, v = C(() => n.value !== null);
63
+ T(
64
+ () => v.value,
65
+ (e) => e && i.forEach(
66
+ ({ path: o, value: u }) => c(o, u)
57
67
  )
58
- ), s({
59
- updateData: (e, t) => {
60
- a.value ? f(e, t) : m.push({ path: e, value: t });
68
+ ), a({
69
+ updateData: (e, o) => {
70
+ n.value ? c(e, o) : i.push({ path: e, value: o });
61
71
  }
62
72
  });
63
- const _ = i(null);
64
- return F(_), (e, t) => (u(), v("div", J, [
65
- y("div", {
66
- ref_key: "subPanelTeleportDest",
67
- ref: _
68
- }, null, 512),
69
- (u(), A(w, null, {
70
- fallback: d(() => [
71
- l(U)
72
- ]),
73
- default: d(() => [
74
- l(M, null, {
75
- default: d(() => [
76
- h(e.$slots, "top", {}, void 0, !0),
77
- l(B(O), {
78
- ref_key: "jsonforms",
79
- ref: a,
80
- data: e.data,
81
- schema: e.schema,
82
- uischema: e.uischema,
83
- renderers: e.renderers,
84
- middleware: L,
85
- onChange: b
86
- }, null, 8, ["data", "schema", "uischema", "renderers"]),
87
- h(e.$slots, "bottom", {}, void 0, !0)
88
- ]),
89
- _: 3
90
- })
91
- ]),
92
- _: 3
93
- }))
94
- ]));
73
+ const b = f(null);
74
+ M(b);
75
+ const y = { emit: t, exposedMethodSource: _, updateDataMiddleware: d, onSettingsChanged: l, provided: D, jsonforms: n, toBeUpdatedBeforeJsonforms: i, dispatchUpdate: c, jsonFormsIsPresent: v, subPanelTeleportDest: b, get JsonForms() {
76
+ return N;
77
+ }, Form: B, LoadingDialog: V };
78
+ return Object.defineProperty(y, "__isScriptSetup", { enumerable: !1, value: !0 }), y;
95
79
  }
96
- }), z = /* @__PURE__ */ S(G, [["__scopeId", "data-v-fe2b9614"]]), H = {
80
+ }), H = { class: "dialog" }, G = { ref: "subPanelTeleportDest" };
81
+ function K(s, a, r, t, d, l) {
82
+ return g(), L("div", H, [
83
+ P(" Here so that the SettingsSubPanel can teleport somewhere sensible "),
84
+ E(
85
+ "div",
86
+ G,
87
+ null,
88
+ 512
89
+ /* NEED_PATCH */
90
+ ),
91
+ (g(), F(O, null, {
92
+ fallback: p(() => [
93
+ m(t.LoadingDialog)
94
+ ]),
95
+ default: p(() => [
96
+ m(t.Form, null, {
97
+ default: p(() => [
98
+ S(s.$slots, "top", {}, void 0, !0),
99
+ m(t.JsonForms, {
100
+ ref: "jsonforms",
101
+ data: r.data,
102
+ schema: r.schema,
103
+ uischema: r.uischema,
104
+ renderers: r.renderers,
105
+ middleware: t.updateDataMiddleware,
106
+ onChange: t.onSettingsChanged
107
+ }, null, 8, ["data", "schema", "uischema", "renderers"]),
108
+ S(s.$slots, "bottom", {}, void 0, !0)
109
+ ]),
110
+ _: 3
111
+ /* FORWARDED */
112
+ })
113
+ ]),
114
+ _: 3
115
+ /* FORWARDED */
116
+ }))
117
+ ]);
118
+ }
119
+ const Q = /* @__PURE__ */ j($, [["render", K], ["__scopeId", "data-v-0353dd54"], ["__file", "/Users/albrecht/Documents/KNIME/git/webapps-common/packages/jsonforms/src/JsonFormsDialog.vue"]]), X = {
97
120
  layout: {
98
121
  type: Object,
99
122
  required: !0
100
123
  }
101
- }, K = (r) => c(r, {
102
- props: H
124
+ }, W = (s) => h(s, {
125
+ props: X
103
126
  });
104
127
  export {
105
- Z as ErrorMessages,
106
- M as Form,
107
- z as JsonFormsDialog,
108
- ee as LabeledControl,
109
- ke as SectionHeading,
110
- Te as SettingsSubPanel,
111
- De as SimpleButtonControl,
112
- ye as TextControl,
128
+ te as ErrorMessages,
129
+ B as Form,
130
+ Q as JsonFormsDialog,
131
+ oe as LabeledControl,
132
+ Ee as SectionHeading,
133
+ ke as SettingsSubPanel,
134
+ be as SimpleButtonControl,
135
+ Se as TextControl,
113
136
  Le as VerticalLayoutBase,
114
- te as controlProps,
115
- oe as controlToRenderer,
116
- se as controls,
117
- ae as defaultRenderers,
118
- re as defineControl,
119
- K as defineLayout,
120
- ne as getAsyncSetupMethod,
121
- de as handleAsyncComponents,
122
- le as inputFormats,
123
- H as layoutProps,
124
- ie as layoutToRenderer,
125
- ue as layouts,
126
- ce as mapControls,
127
- pe as mapLayouts,
128
- me as priorityRanks,
129
- fe as toRenderers,
130
- _e as useProvidedState,
131
- ge as withLabel
137
+ re as controlProps,
138
+ se as controlToRenderer,
139
+ ae as controls,
140
+ ne as defaultRenderers,
141
+ de as defineControl,
142
+ W as defineLayout,
143
+ le as getAsyncSetupMethod,
144
+ ie as handleAsyncComponents,
145
+ ce as inputFormats,
146
+ X as layoutProps,
147
+ ue as layoutToRenderer,
148
+ pe as layouts,
149
+ me as mapControls,
150
+ _e as mapLayouts,
151
+ fe as priorityRanks,
152
+ ge as toRenderers,
153
+ he as useProvidedState,
154
+ De as withLabel
132
155
  };