@knime/jsonforms 3.0.0 → 3.1.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 (205) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/AnyOfTwinlist-iPxS5C9Y.js +24 -0
  3. package/dist/CheckboxControl-C99OdmDL.js +41 -0
  4. package/dist/CheckboxesControl-BZhMhT9x.js +47 -0
  5. package/dist/ColorControl-D1dNnNbO.js +38 -0
  6. package/dist/ColorPreviewControl-B4zix2kb.js +67 -0
  7. package/dist/ComboBoxControl-BGWAD9IW.js +47 -0
  8. package/dist/DateControl-D0HfVrtz.js +49 -0
  9. package/dist/DateTimeControl-kTQZI9JC.js +103 -0
  10. package/dist/DateTimeFormatPickerControl-BiYcsKSn.js +44 -0
  11. package/dist/DropdownControl-jsayV3N5.js +42 -0
  12. package/dist/ExecutorCoresControl-DNo2SaC6.js +26 -0
  13. package/dist/ExecutorMemoryControl-C8RLYQdd.js +26 -0
  14. package/dist/FileUploadControl-Cv3xWTAS.js +58 -0
  15. package/dist/GridSelectionControl-BqtaGQYg.js +86 -0
  16. package/dist/HorizontalLayout-B_lETfCu.js +29 -0
  17. package/dist/IntegerControl-Cr8SO0xH.js +22 -0
  18. package/dist/IntervalControl-BdjKEwLy.js +53 -0
  19. package/dist/LinkControl-QMwkCJlj.js +37 -0
  20. package/dist/LoadingDropdown-BpU4Uiin.js +61 -0
  21. package/dist/ManualTwinlistControl-CPILp7H_.js +75 -0
  22. package/dist/NameFilter-CYYPRj-2.js +29 -0
  23. package/dist/NumberControl-ODy5GAlR.js +22 -0
  24. package/dist/NumberControlBase-Cl3QcvzB.js +56 -0
  25. package/dist/OneOfDropdown-CMPRAraI.js +44 -0
  26. package/dist/ProgressButtonControl-BimHrSZd.js +51 -0
  27. package/dist/RadioButtonsWithDescriptionControl-DJu3ODo7.js +58 -0
  28. package/dist/RadioControl-D_NE5s4n.js +22 -0
  29. package/dist/RadioControlBase-knF86px0.js +69 -0
  30. package/dist/ResourceControlBase-BVMVVYns.js +64 -0
  31. package/dist/RichTextControl-JIM904_P.js +72 -0
  32. package/dist/SectionLayout-BDYjoUXM.js +41 -0
  33. package/dist/SettingsSubPanelLayout-DVw_AsU6.js +53 -0
  34. package/dist/SimpleTwinlistControl-BNnOmbN-.js +24 -0
  35. package/dist/SingleSelectControl-CJV9VMZm.js +58 -0
  36. package/dist/SortListControl-D-ifoRva.js +71 -0
  37. package/dist/TeamAndSpacesControl-D1FvyeCV.js +56 -0
  38. package/dist/TeamResourceControl-DyCO6-Nk.js +26 -0
  39. package/dist/TextAreaControl-7QziyTgn.js +40 -0
  40. package/dist/TimeControl-B29iTlhP.js +71 -0
  41. package/dist/TimeframesControl-Wvu--J0V.js +46 -0
  42. package/dist/TwinlistControlBase-300a_qUR.js +55 -0
  43. package/dist/TypedStringFilter-Ek7bQ-7j.js +35 -0
  44. package/dist/ValueSwitchControl-H2t2Wgo6.js +22 -0
  45. package/dist/VerticalLayout-zV890HYr.js +32 -0
  46. package/dist/ZonedDateTimeControl-DoE2T9iz.js +88 -0
  47. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
  48. package/dist/inject-DEsHVs5q.js +5 -0
  49. package/dist/knime-jsonforms.css +2 -1
  50. package/dist/knime-jsonforms.d.ts +1 -1
  51. package/dist/knime-jsonforms.js +3 -219
  52. package/dist/magic-string.es-DrXXtutX.js +659 -0
  53. package/dist/plainDateTimeUtils-5uOCJ4N5.js +58 -0
  54. package/dist/rolldown-runtime-Dy4uBu1J.js +11 -0
  55. package/dist/src/JsonFormsDialog.vue.d.ts +53 -435
  56. package/dist/src/higherOrderComponents/control/DescriptionPopover.vue.d.ts +2 -1
  57. package/dist/src/higherOrderComponents/control/LabeledControl.vue.d.ts +21 -21
  58. package/dist/src/layoutComponents/Form.vue.d.ts +9 -12
  59. package/dist/src/layoutComponents/HorizontalLayout.vue.d.ts +2 -1
  60. package/dist/src/layoutComponents/SectionLayout.vue.d.ts +9 -13
  61. package/dist/src/layoutComponents/SettingsSubPanelLayout.vue.d.ts +9 -13
  62. package/dist/src/layoutComponents/VerticalLayout.vue.d.ts +2 -1
  63. package/dist/src/layoutComponents/VerticalLayoutBase.vue.d.ts +10 -14
  64. package/dist/src/layoutComponents/section/SectionHeading.vue.d.ts +7 -15
  65. package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +11 -10
  66. package/dist/src/layoutComponents/simpleArrayLayout/SimpleArrayLayout.vue.d.ts +2 -1
  67. package/dist/src/layoutComponents/simpleArrayLayout/SimpleArrayLayoutItemControls.vue.d.ts +3 -2
  68. package/dist/src/loading/LoadingDialog.vue.d.ts +2 -1
  69. package/dist/src/renderers/checkboxRenderer.d.ts +5 -4
  70. package/dist/src/renderers/colorPreviewRenderer.d.ts +1 -1
  71. package/dist/src/renderers/defaultRenderers.d.ts +22 -21
  72. package/dist/src/renderers/fallbackRenderers.d.ts +6 -5
  73. package/dist/src/renderers/horizontalLayoutRenderer.d.ts +1 -1
  74. package/dist/src/renderers/linkRenderer.d.ts +1 -1
  75. package/dist/src/renderers/progressButtonRenderer.d.ts +3 -3
  76. package/dist/src/renderers/sectionLayoutRenderer.d.ts +3 -3
  77. package/dist/src/renderers/sectionSubPanelLayoutRenderer.d.ts +3 -3
  78. package/dist/src/renderers/simpleButtonRenderer.d.ts +3 -3
  79. package/dist/src/renderers/verticalLayoutRenderer.d.ts +2 -2
  80. package/dist/src/uiComponents/CheckboxControl.vue.d.ts +11 -14
  81. package/dist/src/uiComponents/CheckboxesControl.vue.d.ts +2 -1
  82. package/dist/src/uiComponents/ColorControl.vue.d.ts +2 -1
  83. package/dist/src/uiComponents/ColorPreviewControl.vue.d.ts +2 -1
  84. package/dist/src/uiComponents/ComboBoxControl.vue.d.ts +2 -1
  85. package/dist/src/uiComponents/DateControl.vue.d.ts +2 -1
  86. package/dist/src/uiComponents/DateTimeControl.vue.d.ts +2 -1
  87. package/dist/src/uiComponents/DateTimeFormatPickerControl.vue.d.ts +2 -1
  88. package/dist/src/uiComponents/DropdownControl.vue.d.ts +2 -1
  89. package/dist/src/uiComponents/FieldControl.vue.d.ts +12 -7
  90. package/dist/src/uiComponents/FieldRenderer.vue.d.ts +12 -7
  91. package/dist/src/uiComponents/FileUploadControl.vue.d.ts +2 -3
  92. package/dist/src/uiComponents/GridSelectionControl.vue.d.ts +2 -1
  93. package/dist/src/uiComponents/IntegerControl.vue.d.ts +2 -1
  94. package/dist/src/uiComponents/IntervalControl.vue.d.ts +2 -1
  95. package/dist/src/uiComponents/LinkControl.vue.d.ts +2 -1
  96. package/dist/src/uiComponents/NumberControl.vue.d.ts +2 -1
  97. package/dist/src/uiComponents/NumberControlBase.vue.d.ts +2 -1
  98. package/dist/src/uiComponents/OneOfDropdown.vue.d.ts +2 -1
  99. package/dist/src/uiComponents/PasswordControl.vue.d.ts +2 -1
  100. package/dist/src/uiComponents/ProgressButtonControl.vue.d.ts +9 -13
  101. package/dist/src/uiComponents/QuantityControl.vue.d.ts +2 -1
  102. package/dist/src/uiComponents/RadioButtonsWithDescriptionControl.vue.d.ts +2 -1
  103. package/dist/src/uiComponents/RadioControl.vue.d.ts +2 -1
  104. package/dist/src/uiComponents/RadioControlBase.vue.d.ts +2 -1
  105. package/dist/src/uiComponents/SimpleButtonControl.vue.d.ts +9 -13
  106. package/dist/src/uiComponents/SingleSelectControl.vue.d.ts +2 -1
  107. package/dist/src/uiComponents/SortListControl.vue.d.ts +2 -1
  108. package/dist/src/uiComponents/TeamAndSpacesControl.vue.d.ts +2 -1
  109. package/dist/src/uiComponents/TextAreaControl.vue.d.ts +2 -1
  110. package/dist/src/uiComponents/TextControl.vue.d.ts +3 -454
  111. package/dist/src/uiComponents/TextMessageControl.vue.d.ts +2 -1
  112. package/dist/src/uiComponents/TimeControl.vue.d.ts +2 -1
  113. package/dist/src/uiComponents/TimeframesControl.vue.d.ts +2 -1
  114. package/dist/src/uiComponents/UsernameControl.vue.d.ts +2 -1
  115. package/dist/src/uiComponents/ValueSwitchControl.vue.d.ts +2 -1
  116. package/dist/src/uiComponents/ZonedDateTimeControl.vue.d.ts +2 -1
  117. package/dist/src/uiComponents/colorPreview/ColorPreviewEmptyState.vue.d.ts +2 -1
  118. package/dist/src/uiComponents/colorPreview/GradientPreview.vue.d.ts +2 -1
  119. package/dist/src/uiComponents/colorPreview/PalettePreview.vue.d.ts +2 -1
  120. package/dist/src/uiComponents/loading/LoadingDropdown.vue.d.ts +3 -2
  121. package/dist/src/uiComponents/resourceControls/ExecutorCoresControl.vue.d.ts +2 -1
  122. package/dist/src/uiComponents/resourceControls/ExecutorMemoryControl.vue.d.ts +2 -1
  123. package/dist/src/uiComponents/resourceControls/ResourceControlBase.vue.d.ts +2 -1
  124. package/dist/src/uiComponents/resourceControls/TeamResourceControl.vue.d.ts +2 -1
  125. package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +2 -141
  126. package/dist/src/uiComponents/twinlist/AnyOfTwinlist.vue.d.ts +2 -1
  127. package/dist/src/uiComponents/twinlist/ManualTwinlistControl.vue.d.ts +2 -1
  128. package/dist/src/uiComponents/twinlist/MultimodeTwinlistControl.vue.d.ts +3 -2
  129. package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +2 -1
  130. package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +2 -1
  131. package/dist/src/uiComponents/twinlist/TwinlistControlBase.vue.d.ts +2 -1
  132. package/dist/src/uiComponents/twinlist/TypedStringFilter.vue.d.ts +2 -1
  133. package/dist/src-DwqijroM.js +1269 -0
  134. package/dist/temporal-polyfill-D4u1I_Z-.js +3114 -0
  135. package/dist/testing.d.ts +1 -1
  136. package/dist/testing.js +15278 -19038
  137. package/dist/toKdsPossibleValues-Dd_qzlUI.js +14 -0
  138. package/dist/useBuiltinValidations-B_Drc2y-.js +43 -0
  139. package/dist/usePossibleValues-Cx6iSt_X.js +15 -0
  140. package/dist/useProvidedState-478_KXOe.js +26 -0
  141. package/dist/useUnknownValuesInTwinlist-BvCTc3hC.js +205 -0
  142. package/dist/utils-DmZLgn8X.js +12 -0
  143. package/package.json +7 -7
  144. package/dist/AnyOfTwinlist-CcodfEXw.js +0 -23
  145. package/dist/CheckboxControl-B_MAR82s.js +0 -41
  146. package/dist/CheckboxesControl--bG4aF6O.js +0 -39
  147. package/dist/ColorControl-CEp2Ei7R.js +0 -29
  148. package/dist/ColorPreviewControl-j0uQH95J.js +0 -90
  149. package/dist/ComboBoxControl-BpJzwiv6.js +0 -39
  150. package/dist/DateControl-83Fi6P5y.js +0 -44
  151. package/dist/DateTimeControl-C-D8bFm3.js +0 -103
  152. package/dist/DateTimeFormatPickerControl-B9gl_66T.js +0 -35
  153. package/dist/DropdownControl-CtveoldX.js +0 -32
  154. package/dist/ExecutorCoresControl-CErHidL7.js +0 -39
  155. package/dist/ExecutorMemoryControl-DgSM86Yg.js +0 -35
  156. package/dist/FileUploadControl-BBfnxURy.js +0 -56
  157. package/dist/GridSelectionControl-BaI4j0Jj.js +0 -117
  158. package/dist/HorizontalLayout-D1SRCyhL.js +0 -26
  159. package/dist/IntegerControl-v93Xw4DJ.js +0 -21
  160. package/dist/IntervalControl-CVlO_mFO.js +0 -52
  161. package/dist/LinkControl-j8GrcZZG.js +0 -36
  162. package/dist/LoadingDropdown.vue_vue_type_script_setup_true_lang-DFSHuMQ6.js +0 -57
  163. package/dist/ManualTwinlistControl-BzJehuHs.js +0 -74
  164. package/dist/MultimodeTwinlistControl-Br0DrpsZ.js +0 -4
  165. package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-CHcU__0y.js +0 -159
  166. package/dist/NameFilter-BjuVseuX.js +0 -25
  167. package/dist/NumberControl-BF76FEhD.js +0 -21
  168. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-DMTsK83k.js +0 -52
  169. package/dist/OneOfDropdown-DpXmZauV.js +0 -35
  170. package/dist/ProgressButtonControl-t8QMA22a.js +0 -52
  171. package/dist/RadioButtonsWithDescriptionControl-CeZ4qYCr.js +0 -58
  172. package/dist/RadioControl-DOn1Kre5.js +0 -21
  173. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-CExBvDXt.js +0 -57
  174. package/dist/ResourceControlBase-CX97xRiy.js +0 -70
  175. package/dist/RichTextControl-BrVmkMgh.js +0 -60
  176. package/dist/SectionHeading-YAJTwOE4.js +0 -61
  177. package/dist/SectionLayout-BYOxuxY2.js +0 -47
  178. package/dist/SettingsSubPanel-DgISjowU.js +0 -5
  179. package/dist/SettingsSubPanelLayout-BQJCnTqx.js +0 -69
  180. package/dist/SimpleButtonControl-GTX19t2_.js +0 -50
  181. package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Ccuf283K.js +0 -1284
  182. package/dist/SimpleTwinlistControl-DOH1_L25.js +0 -23
  183. package/dist/SingleSelectControl-mY_yYOyk.js +0 -58
  184. package/dist/SortListControl-D-Um5gEW.js +0 -81
  185. package/dist/TeamAndSpacesControl-fGumynvr.js +0 -66
  186. package/dist/TeamResourceControl--1Sj3-Ks.js +0 -35
  187. package/dist/TextAreaControl-Cwq-lNBk.js +0 -30
  188. package/dist/TextControl-MvbrNTGW.js +0 -4
  189. package/dist/TextControl.vue_vue_type_script_setup_true_lang-Cbv0bM2X.js +0 -53
  190. package/dist/TimeControl-WG0SC4_b.js +0 -71
  191. package/dist/TimeframesControl-CX5eKOGZ.js +0 -53
  192. package/dist/TwinlistControlBase.vue_vue_type_script_setup_true_lang-BKCvZF3X.js +0 -45
  193. package/dist/TypedStringFilter-BnWygKQJ.js +0 -27
  194. package/dist/ValueSwitchControl-BByKe7NK.js +0 -21
  195. package/dist/VerticalLayout-DIBkvSZ9.js +0 -30
  196. package/dist/VerticalLayoutBase-BEDnWcoh.js +0 -20
  197. package/dist/ZonedDateTimeControl-B45OygrC.js +0 -97
  198. package/dist/index-Blg1O3Fz.js +0 -15
  199. package/dist/index-_VUHzju5.js +0 -3210
  200. package/dist/magic-string.es-uPKorP4O.js +0 -663
  201. package/dist/plainDateTimeUtils-BZSKqp9i.js +0 -52
  202. package/dist/toKdsPossibleValues-BklBg3gG.js +0 -14
  203. package/dist/useBuiltinValidations-_4IBMopQ.js +0 -74
  204. package/dist/usePossibleValues-CXVLf00v.js +0 -16
  205. package/dist/useUnknownValuesInTwinlist-uXOCQkVS.js +0 -65
@@ -1,60 +0,0 @@
1
- import { defineComponent as d, ref as s, computed as u, openBlock as c, createBlock as m, unref as b } from "vue";
2
- import { kdsDefaultLinkToolOptions as o, KdsRichTextInput as h } from "@knime/kds-rich-text-editor";
3
- import { _ as p } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Ccuf283K.js";
4
- const x = /* @__PURE__ */ d({
5
- __name: "RichTextControl",
6
- props: {
7
- control: {},
8
- handleChange: { type: Function },
9
- changeValue: { type: Function },
10
- disabled: { type: Boolean },
11
- error: { type: Boolean },
12
- subText: {},
13
- onRegisterValidation: { type: Function },
14
- labelForId: {}
15
- },
16
- setup(t) {
17
- const r = t, a = s(null), i = () => (a.value?.focus(), !0), l = (e) => e.startsWith('$$["') && e.endsWith('"]'), n = u(
18
- () => r.control.uischema.options?.useFlowVarTemplates ? {
19
- urlValidator: (e) => l(e) || o.urlValidator(e),
20
- sanitizeUrlText: (e) => l(e) ? e : o.sanitizeUrlText(e)
21
- } : o
22
- );
23
- return (e, f) => (c(), m(b(h), {
24
- id: t.labelForId,
25
- ref_key: "editor",
26
- ref: a,
27
- class: "editor",
28
- "aria-label": t.control.label,
29
- "min-height": 320,
30
- "model-value": t.control.data,
31
- editable: !t.disabled,
32
- disabled: t.disabled,
33
- error: t.error,
34
- "sub-text": t.subText,
35
- "base-extensions": {
36
- bold: !0,
37
- italic: !0,
38
- underline: !0,
39
- textAlign: !0,
40
- bulletList: !0,
41
- orderedList: !0,
42
- heading: !0,
43
- blockquote: !0,
44
- code: !0,
45
- codeBlock: !0,
46
- horizontalRule: !0,
47
- strike: !0,
48
- paragraphTextStyle: !0,
49
- link: !0
50
- },
51
- "link-tool-options": n.value,
52
- "custom-escape-handler": i,
53
- "character-limit": { maxCharacters: 5e4, display: "atLimit" },
54
- "onUpdate:modelValue": t.changeValue
55
- }, null, 8, ["id", "aria-label", "model-value", "editable", "disabled", "error", "sub-text", "link-tool-options", "onUpdate:modelValue"]));
56
- }
57
- }), g = /* @__PURE__ */ p(x, [["__scopeId", "data-v-0d780c9f"]]);
58
- export {
59
- g as default
60
- };
@@ -1,61 +0,0 @@
1
- import { defineComponent as f, useTemplateRef as p, ref as m, watch as h, onBeforeUnmount as v, openBlock as _, createElementBlock as g, Fragment as S, createElementVNode as o, mergeProps as b, toDisplayString as y, renderSlot as k } from "vue";
2
- import { _ as w } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Ccuf283K.js";
3
- const E = { class: "section-header-layout-container" }, T = { class: "section-header-buttons" }, x = /* @__PURE__ */ f({
4
- __name: "SectionHeading",
5
- props: {
6
- titleText: {}
7
- },
8
- setup(a) {
9
- const l = p("sentinel"), i = m(!1);
10
- let t = null;
11
- const c = (e) => /(auto|scroll|overlay)/.test(e), d = (e) => {
12
- let n = e.parentElement;
13
- for (; n; ) {
14
- const { overflowY: s, overflow: r } = globalThis.getComputedStyle(n);
15
- if (c(s) || c(r))
16
- return n;
17
- n = n.parentElement;
18
- }
19
- return null;
20
- };
21
- return h(
22
- l,
23
- (e, n, s) => {
24
- if (t?.disconnect(), t = null, !e || typeof IntersectionObserver > "u")
25
- return;
26
- const r = d(e);
27
- t = new IntersectionObserver(
28
- ([u]) => {
29
- i.value = u.intersectionRatio < 1;
30
- },
31
- { root: r, threshold: [1] }
32
- ), t.observe(e), s(() => {
33
- t?.disconnect(), t = null;
34
- });
35
- },
36
- { immediate: !0, flush: "post" }
37
- ), v(() => {
38
- t?.disconnect(), t = null;
39
- }), (e, n) => (_(), g(S, null, [
40
- o("div", {
41
- ref_key: "sentinel",
42
- ref: l,
43
- class: "section-header-sentinel",
44
- "aria-hidden": "true"
45
- }, null, 512),
46
- o("div", b({
47
- class: ["section-header", { "is-sticking": i.value }]
48
- }, e.$attrs), [
49
- o("div", E, [
50
- o("h3", null, y(a.titleText), 1),
51
- o("div", T, [
52
- k(e.$slots, "right-buttons", {}, void 0, !0)
53
- ])
54
- ])
55
- ], 16)
56
- ], 64));
57
- }
58
- }), C = /* @__PURE__ */ w(x, [["__scopeId", "data-v-87a3f8e3"]]);
59
- export {
60
- C as S
61
- };
@@ -1,47 +0,0 @@
1
- import { defineComponent as i, ref as m, openBlock as l, createElementBlock as c, createVNode as n, withCtx as r, renderSlot as d, createBlock as f, unref as h } from "vue";
2
- import { DispatchRenderer as y } from "@jsonforms/vue";
3
- import { V as v } from "./VerticalLayoutBase-BEDnWcoh.js";
4
- import { S as b } from "./SectionHeading-YAJTwOE4.js";
5
- import { _ as x } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Ccuf283K.js";
6
- const S = /* @__PURE__ */ i({
7
- __name: "SectionLayout",
8
- props: {
9
- layout: {}
10
- },
11
- setup(e) {
12
- const a = m(!1);
13
- return (s, t) => (l(), c("div", {
14
- class: "section",
15
- onMouseover: t[0] || (t[0] = (o) => a.value = !0),
16
- onMouseleave: t[1] || (t[1] = (o) => a.value = !1)
17
- }, [
18
- n(b, {
19
- "title-text": e.layout.uischema.label ?? ""
20
- }, {
21
- "right-buttons": r(() => [
22
- d(s.$slots, "buttons", { hover: a.value }, void 0, !0)
23
- ]),
24
- _: 3
25
- }, 8, ["title-text"]),
26
- n(v, {
27
- elements: e.layout.uischema.elements
28
- }, {
29
- default: r(({ element: o, index: u }) => [
30
- (l(), f(h(y), {
31
- key: `${e.layout.path}-${u}`,
32
- schema: e.layout.schema,
33
- uischema: o,
34
- path: e.layout.path,
35
- enabled: e.layout.enabled,
36
- renderers: e.layout.renderers,
37
- cells: e.layout.cells
38
- }, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]))
39
- ]),
40
- _: 1
41
- }, 8, ["elements"])
42
- ], 32));
43
- }
44
- }), V = /* @__PURE__ */ x(S, [["__scopeId", "data-v-33f353d4"]]);
45
- export {
46
- V as default
47
- };
@@ -1,5 +0,0 @@
1
- import { _ as a, x as s } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Ccuf283K.js";
2
- const _ = /* @__PURE__ */ a(s, [["__scopeId", "data-v-bcab65d0"]]);
3
- export {
4
- _ as S
5
- };
@@ -1,69 +0,0 @@
1
- import { defineComponent as v, computed as s, ref as h, openBlock as r, createElementBlock as y, createVNode as o, withCtx as l, createBlock as k, unref as i, createElementVNode as p, renderSlot as S } from "vue";
2
- import { DispatchRenderer as x } from "@jsonforms/vue";
3
- import { KdsButton as g } from "@knime/kds-components";
4
- import { V as B } from "./VerticalLayoutBase-BEDnWcoh.js";
5
- import { S as L } from "./SectionHeading-YAJTwOE4.js";
6
- import { S as $ } from "./SettingsSubPanel-DgISjowU.js";
7
- import { _ as w } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Ccuf283K.js";
8
- const C = { class: "flex-row" }, V = /* @__PURE__ */ v({
9
- __name: "SettingsSubPanelLayout",
10
- props: {
11
- layout: {}
12
- },
13
- setup(e) {
14
- const c = e, u = s(() => c.layout.uischema.options ?? {}), m = s(() => u.value.setText ?? "Set"), d = s(
15
- () => u.value.backButtonLabel ?? "Back to node configuration"
16
- ), n = h(!1);
17
- return (b, a) => (r(), y("div", {
18
- onMouseover: a[0] || (a[0] = (t) => n.value = !0),
19
- onMouseleave: a[1] || (a[1] = (t) => n.value = !1)
20
- }, [
21
- o($, {
22
- "show-back-arrow": "",
23
- "back-button-label": d.value
24
- }, {
25
- "expand-button": l(({ expand: t }) => [
26
- o(L, {
27
- "title-text": e.layout.uischema.label ?? ""
28
- }, {
29
- "right-buttons": l(() => [
30
- p("div", C, [
31
- S(b.$slots, "buttons", { hover: n.value }, void 0, !0),
32
- o(i(g), {
33
- variant: "transparent",
34
- size: "small",
35
- label: m.value,
36
- "trailing-icon": "chevron-right",
37
- onClick: t
38
- }, null, 8, ["label", "onClick"])
39
- ])
40
- ]),
41
- _: 2
42
- }, 1032, ["title-text"])
43
- ]),
44
- default: l(() => [
45
- o(B, {
46
- elements: e.layout.uischema.elements
47
- }, {
48
- default: l(({ element: t, index: f }) => [
49
- (r(), k(i(x), {
50
- key: `${e.layout.path}-${f}`,
51
- schema: e.layout.schema,
52
- uischema: t,
53
- path: e.layout.path,
54
- enabled: e.layout.enabled,
55
- renderers: e.layout.renderers,
56
- cells: e.layout.cells
57
- }, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]))
58
- ]),
59
- _: 1
60
- }, 8, ["elements"])
61
- ]),
62
- _: 3
63
- }, 8, ["back-button-label"])
64
- ], 32));
65
- }
66
- }), H = /* @__PURE__ */ w(V, [["__scopeId", "data-v-dc2400b4"]]);
67
- export {
68
- H as default
69
- };
@@ -1,50 +0,0 @@
1
- import { defineComponent as h, computed as e, ref as c, watch as B, openBlock as F, createElementBlock as y, createVNode as C, unref as k, renderSlot as I } from "vue";
2
- import { KdsButton as O } from "@knime/kds-components";
3
- import { u as S, v as _, _ as x } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Ccuf283K.js";
4
- const V = /* @__PURE__ */ h({
5
- __name: "SimpleButtonControl",
6
- props: {
7
- control: {},
8
- handleChange: { type: Function },
9
- changeValue: { type: Function },
10
- disabled: { type: Boolean },
11
- labelForId: {},
12
- error: { type: Boolean },
13
- subText: {},
14
- onRegisterValidation: { type: Function }
15
- },
16
- setup(a) {
17
- const o = a, d = e(() => !o.control.enabled), r = o.control.uischema.providedOptions, t = c(!1), l = e(
18
- () => o.control.uischema
19
- ), u = r && r.includes("runFinished");
20
- if (u) {
21
- const s = S(l, "runFinished", null);
22
- B(s, () => {
23
- t.value = !1;
24
- });
25
- }
26
- const p = e(() => d.value || t.value), v = e(() => l.value.options.triggerId), m = e(
27
- () => l.value.options.icon
28
- ), b = _("trigger"), f = async () => {
29
- u && (t.value = !0), await b({ id: v.value });
30
- }, i = c(!1);
31
- return (s, n) => (F(), y("div", {
32
- class: "simple-button-input",
33
- onMouseenter: n[0] || (n[0] = (g) => i.value = !0),
34
- onMouseleave: n[1] || (n[1] = (g) => i.value = !1)
35
- }, [
36
- C(k(O), {
37
- variant: "outlined",
38
- size: "small",
39
- disabled: p.value,
40
- label: a.control.label,
41
- "leading-icon": m.value,
42
- onClick: f
43
- }, null, 8, ["disabled", "label", "leading-icon"]),
44
- I(s.$slots, "buttons", { hover: i.value }, void 0, !0)
45
- ], 32));
46
- }
47
- }), R = /* @__PURE__ */ x(V, [["__scopeId", "data-v-c79c6b71"]]);
48
- export {
49
- R as default
50
- };