@knime/scripting-editor 0.0.120 → 0.0.121

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 (94) hide show
  1. package/dist/{AnyOfTwinlist-CSbFqiiy-BQnu5Ml3.js → AnyOfTwinlist-DNsHUZei-CFf0kAbY.js} +1 -1
  2. package/dist/{ArrayLayout-DZJEvgMa.js → ArrayLayout-Ck55ZP0t.js} +55 -55
  3. package/dist/{ButtonControl-HiHtzOYh.js → ButtonControl-CsK37zDu.js} +1 -1
  4. package/dist/{Checkbox-M2rFIZY0-r6RqY214.js → Checkbox-CWL8weTr-DizDeAek.js} +1 -1
  5. package/dist/{CheckboxControl-Dz65huic-ByuEiGEp.js → CheckboxControl-bjaWoB4c-C0Laylox.js} +1 -1
  6. package/dist/{Checkboxes-Qc7Wn4p8-B8qRgy0F.js → Checkboxes-D3XPQc69-C6lQuGVB.js} +2 -2
  7. package/dist/{CheckboxesControl-52GcYYsS-Cpk0ZUTo.js → CheckboxesControl-BxTmNLjK-DegwymdN.js} +3 -3
  8. package/dist/{ComboBoxControl-BSrtnamE-BY-hN9oV.js → ComboBoxControl-DIucqZ5g-CiRuCZsD.js} +3 -3
  9. package/dist/{ConfigurationNodeNotSupported-Dz99aBmX.js → ConfigurationNodeNotSupported-CQrq1fuY.js} +1 -1
  10. package/dist/{ControlWithSubParameters-CjWDNzc-.js → ControlWithSubParameters-DUoT6age.js} +20 -22
  11. package/dist/{CredentialsControl-CDSDJXxB.js → CredentialsControl-DQqPTexY.js} +2 -2
  12. package/dist/{CredentialsControlBase-DzF0xhDx.js → CredentialsControlBase-9iHrrJSL.js} +6 -6
  13. package/dist/{DateControl-B9h4p2F5-Cnu24BHe.js → DateControl-BNeGXflU-DOfgRpL8.js} +1 -1
  14. package/dist/{DateTimeControl-BsPKGDFA-DbzLGzL-.js → DateTimeControl-CcsnEIq0-jOgkrc6W.js} +1 -1
  15. package/dist/{DateTimeFormatInput-bkxjAG8p-dbZSM1sX.js → DateTimeFormatInput-CW04StCG-DUEeV9Wh.js} +3 -3
  16. package/dist/{DateTimeFormatPickerControl-SZNaksRz-DsQxhGXZ.js → DateTimeFormatPickerControl-DGKFzxb_-CvFIt06D.js} +2 -2
  17. package/dist/{DateTimeFormatPickerWithTypeControl-CAEt6y2T-D3WvWVj9.js → DateTimeFormatPickerWithTypeControl-85204whr-DYaaBcT1.js} +3 -3
  18. package/dist/DialogFileExplorer-D1JH5zwZ.js +520 -0
  19. package/dist/{Dropdown-6eVZoGpG-PuXROd15.js → Dropdown-CIypkp0O-Dn4sxfaP.js} +2 -2
  20. package/dist/{DropdownControl-mDfFM4Ka-D8icssdG.js → DropdownControl-4AhoNiKk-BYSEubXu.js} +3 -3
  21. package/dist/{DynamicInputControl-B3EgdNYM.js → DynamicInputControl-C3sfDJlr.js} +6 -6
  22. package/dist/{FileChooserControl-GDX-B_9s.js → FileChooserControl-DGl48CIW.js} +2 -2
  23. package/dist/{FileChooserControlBase-Nc6m3y66.js → FileChooserControlBase-CErQoQLH.js} +27 -28
  24. package/dist/{FileChooserControlForMultiFile-Bwdiza24.js → FileChooserControlForMultiFile--rcxceQH.js} +1 -1
  25. package/dist/{HorizontalLayout-TMNv34K1-Dtbz7GFH.js → HorizontalLayout-DaqXoro5-CyeVSZyB.js} +1 -1
  26. package/dist/{IntegerControl-xaXhFuiQ-CcnelTK2.js → IntegerControl-mbOHHY3i-D0R93Whp.js} +1 -1
  27. package/dist/{IntervalControl-Bdoki_MC-COHB3nXT.js → IntervalControl-D8TeFfuS-CxLU62pV.js} +16 -16
  28. package/dist/{LabeledGroup-Bskefsif.js → LabeledGroup-DozoIjK8.js} +8 -9
  29. package/dist/{LegacyCredentialsControl-ZdrkCVkC.js → LegacyCredentialsControl-hmETDkju.js} +7 -7
  30. package/dist/{LoadingDropdown-edN4VitH-R3y6kvlb.js → LoadingDropdown--cwIsJdm-Dc7B20ml.js} +3 -3
  31. package/dist/LoadingIcon-DVB5Htes-hYPngck-.js +17 -0
  32. package/dist/{ManualTwinlistControl-DEBn3XgS-DrjRcPie.js → ManualTwinlistControl-BRitiAxR-DF_Da13g.js} +4 -4
  33. package/dist/{MultiFileChooserControl-ZP5enAM4.js → MultiFileChooserControl-CQ8BbosJ.js} +168 -146
  34. package/dist/{MultiSelectListBoxControl-BmRzZUI_-BeYs5sOZ.js → MultiSelectListBoxControl-CN3QiEdL-CN9cSiar.js} +2 -2
  35. package/dist/{MultimodeTwinlistControl-P0Bj7FYU-Dtq_ciIX.js → MultimodeTwinlistControl-O0R4oOLS-ChReNigV.js} +6 -6
  36. package/dist/{MultiselectListBox-Ivk-_tly-BI48Ai96.js → MultiselectListBox-CQ3iTrKc-BUH4QgYc.js} +2 -2
  37. package/dist/{NameFilter-SAlJdnm7-B3Ez09D1.js → NameFilter-ClMXE3-2-D1hTm5bW.js} +1 -1
  38. package/dist/{NumberControl-C_VElIjG-CNqxGj-b.js → NumberControl-DMpTZQhn-D7c1f5MK.js} +1 -1
  39. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-Bcc2XPBa-jX9ZCXqt.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CDRKAuGz-BH-ahqn6.js} +2 -2
  40. package/dist/{NumberInput-CHeMUEcJ-CBjiZXnc.js → NumberInput-DlvskoRZ-BXSYv7zF.js} +1 -1
  41. package/dist/{OneOfDropdown-DZgSOLLJ-wCE5bOVZ.js → OneOfDropdown-DVGE71fW-DGHKD5tJ.js} +1 -1
  42. package/dist/{RadioControl-xm6uqnsz-Bpu9pAXm.js → RadioControl-bKZb-PCj-CkkWD9-5.js} +2 -2
  43. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-cwi1lPmz-D1KwRFTF.js → RadioControlBase.vue_vue_type_script_setup_true_lang-CcnOafHA-DehVywcB.js} +3 -3
  44. package/dist/{RichTextControl-Bx9uzTcU-BZHXysn7.js → RichTextControl-BB6-PEf--Dqs7PfNi.js} +19 -21
  45. package/dist/SectionLayout-Ba7NpHTm-D24M-3B1.js +44 -0
  46. package/dist/SettingsSubPanelLayout-C3hw4UGI-DQs4zbuq.js +70 -0
  47. package/dist/{SimpleTwinlistControl-BlS_kAjd-MEQ-1_ak.js → SimpleTwinlistControl-nBi-T2QR-Cp3-tLf-.js} +2 -2
  48. package/dist/{SingleSelectControl-CN-n21yb-F2BrAi2J.js → SingleSelectControl-Dg18bGk9-UF9J7JMY.js} +2 -2
  49. package/dist/{SingleSelectListBoxControl-CCI8zCX8-BIhMc4PF.js → SingleSelectListBoxControl-BsQMs5Xl-h3PQ3OKX.js} +3 -3
  50. package/dist/{SortListControl-BulTKISX-CHY3yUiR.js → SortListControl-w5mvLX6s-CD40LTTr.js} +57 -58
  51. package/dist/{StringFileChooserControl-B8NpcHAg.js → StringFileChooserControl-D2u6kzkZ.js} +7 -7
  52. package/dist/{StyledListItem-CQwlzLP2-D4Rd-oAK.js → StyledListItem-nU28IyY6-bPe3o50k.js} +1 -1
  53. package/dist/{TextAreaControl-CXKJWxR3-BAc5G9Jy.js → TextAreaControl-BcPobxLV-Ca5igr-I.js} +1 -1
  54. package/dist/{parameters-TDvh_VJm.js → TextControl-kY3Ra8PG-y_70AOqk.js} +15922 -15341
  55. package/dist/{TimeControl-OsnqrTKz-CfJTqe7M.js → TimeControl-CcvAtvwb-CEC-ky_y.js} +1 -1
  56. package/dist/{TwinlistControlBase-BEEFVvf6-B_lC-UyQ.js → TwinlistControlBase-Da7Vi8Ne-7f9PH6lG.js} +3 -3
  57. package/dist/{TwinlistLoadingInfo-BFWX5bru-CmUU5ze0.js → TwinlistLoadingInfo-BvCXnExs-CZKrpDBx.js} +12 -13
  58. package/dist/{TypedStringFilter-CAXArbh6-Bxyzbt--.js → TypedStringFilter-DuFP6CtD-DyqVsMVu.js} +1 -1
  59. package/dist/{ValueSwitch-BmW_v2r_-DCcRA3Nu.js → ValueSwitch-CAxte3Dc-BVVF1RHf.js} +1 -1
  60. package/dist/{ValueSwitchControl-F9EBfMSY-BvIFqq8O.js → ValueSwitchControl-DcBjKQSo-CDunJRyD.js} +1 -1
  61. package/dist/{VennDiagramLayout-B5_nSfj5.js → VennDiagramLayout-oYvmZwym.js} +19 -20
  62. package/dist/{VerticalLayout-DEFdoJSU-CW6Y4tIr.js → VerticalLayout-CUHbdUdk-BmKQKo4m.js} +6 -7
  63. package/dist/{ZonedDateTimeControl-TJvHA6Rm-BkCpzQDx.js → ZonedDateTimeControl-B5cuTrgr-Cwz2O9wE.js} +3 -3
  64. package/dist/{_baseEach-BxODVDA6-C4HgsZp-.js → _baseEach-CPQiIPkT-CiqFaVXv.js} +3 -3
  65. package/dist/{_getTag-DTjoqLoo-DzAcUcW_.js → _getTag-DuCXbcgW-CSxZDqyE.js} +1 -1
  66. package/dist/initial-data-service-browser-mock.js +26 -15
  67. package/dist/{localTimeUtils-BsjK2bfg-C4-Oh9-d.js → localTimeUtils-DYizf_Fj-Cb46L6wi.js} +5 -5
  68. package/dist/main.js +4464 -4442
  69. package/dist/parameters.js +1 -1
  70. package/dist/src/components/ScriptingEditor.vue.d.ts +142 -0
  71. package/dist/src/components/ScriptingEditorBottomPane.vue.d.ts +3 -1
  72. package/dist/src/initial-data-service-browser-mock.d.ts +2 -1
  73. package/dist/src/initial-data-service.d.ts +1 -1
  74. package/dist/{toString-DJjlKbCy-DQPkzDF0.js → toString-NQDxp2E1-C7hE8Iv5.js} +1 -1
  75. package/dist/{useFileChooserBackend-Ev9D6Kfv.js → useFileChooserBackend-CjaL6jdf.js} +4 -4
  76. package/dist/{usePossibleValues-CJPCrHNK-DHhG_gUy.js → usePossibleValues-CYraIICE-CFGswSt6.js} +1 -1
  77. package/package.json +1 -1
  78. package/dist/Button-BfZfHt8q-BirQNc2F.js +0 -82
  79. package/dist/DBTableChooserControl-DTdniGQp.js +0 -590
  80. package/dist/DialogFileExplorer-B7Cpe71J.js +0 -381
  81. package/dist/FieldControl.vue_vue_type_script_setup_true_lang-D4UZciBE.js +0 -54
  82. package/dist/InputField-OKgaETDx-Bl4xhjBX.js +0 -147
  83. package/dist/LoadingIcon-DMHNXXmQ-C0oETzDr.js +0 -18
  84. package/dist/SectionHeading-ChmLXMcT-BN9ePDI7.js +0 -19
  85. package/dist/SectionLayout-DlR3VVwY-BlXU42ie.js +0 -46
  86. package/dist/SettingsSubPanel-BE_UKIFi-Dr8nIOON.js +0 -5
  87. package/dist/SettingsSubPanelLayout-DFSdKm29-DU902qHg.js +0 -73
  88. package/dist/SimpleButtonControl-0nEpHoVU-C6uROMT2.js +0 -61
  89. package/dist/TextControl-CgsdWiFw--tBiRYB9.js +0 -50
  90. package/dist/VerticalLayoutBase-DiZEVSbM-DWcX5yiG.js +0 -20
  91. package/dist/house-AV6qjkJW.js +0 -148
  92. package/dist/reload-eCPBqeDa-cbgKMmw1.js +0 -17
  93. package/dist/useBuiltinValidations-Dx6fNtgz-BMkbHnN7.js +0 -74
  94. /package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-McCAyYfA-BvrNkbR6.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-L5I6qYVS-BvrNkbR6.js} +0 -0
@@ -1,73 +0,0 @@
1
- import { defineComponent as h, computed as n, ref as v, createElementBlock as y, openBlock as c, createVNode as a, withCtx as o, createBlock as k, unref as u, createElementVNode as i, renderSlot as x, toDisplayString as _ } from "vue";
2
- import { X as g, I as B, Q as S } from "./parameters-TDvh_VJm.js";
3
- import { i as w } from "./arrow-next-C17xBl7J-DDsCfA5A.js";
4
- import { v as C } from "./VerticalLayoutBase-DiZEVSbM-DWcX5yiG.js";
5
- import { u as I } from "./SectionHeading-ChmLXMcT-BN9ePDI7.js";
6
- import { _ as M } from "./SettingsSubPanel-BE_UKIFi-Dr8nIOON.js";
7
- const V = { class: "flex-row" }, $ = /* @__PURE__ */ h({
8
- __name: "SettingsSubPanelLayout",
9
- props: {
10
- layout: {}
11
- },
12
- setup(e) {
13
- const m = e, s = n(() => m.layout.uischema.options ?? {}), d = n(() => s.value.setText ?? "Set"), p = n(
14
- () => s.value.backButtonLabel ?? "Back to node configuration"
15
- ), r = v(!1);
16
- return (b, l) => (c(), y("div", {
17
- onMouseover: l[0] || (l[0] = (t) => r.value = !0),
18
- onMouseleave: l[1] || (l[1] = (t) => r.value = !1)
19
- }, [
20
- a(M, {
21
- "show-back-arrow": "",
22
- "back-button-label": p.value,
23
- "background-color-override": "var(--knime-gray-ultra-light)"
24
- }, {
25
- "expand-button": o(({ expand: t }) => [
26
- a(I, {
27
- "title-text": e.layout.uischema.label
28
- }, {
29
- "right-buttons": o(() => [
30
- i("div", V, [
31
- x(b.$slots, "buttons", { hover: r.value }, void 0, !0),
32
- a(u(S), {
33
- compact: "",
34
- class: "set-button",
35
- onClick: t
36
- }, {
37
- default: o(() => [
38
- i("span", null, _(d.value), 1),
39
- a(u(w))
40
- ]),
41
- _: 1
42
- }, 8, ["onClick"])
43
- ])
44
- ]),
45
- _: 2
46
- }, 1032, ["title-text"])
47
- ]),
48
- default: o(() => [
49
- a(C, {
50
- elements: e.layout.uischema.elements
51
- }, {
52
- default: o(({ element: t, index: f }) => [
53
- (c(), k(u(B), {
54
- key: `${e.layout.path}-${f}`,
55
- schema: e.layout.schema,
56
- uischema: t,
57
- path: e.layout.path,
58
- enabled: e.layout.enabled,
59
- renderers: e.layout.renderers,
60
- cells: e.layout.cells
61
- }, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]))
62
- ]),
63
- _: 1
64
- }, 8, ["elements"])
65
- ]),
66
- _: 3
67
- }, 8, ["back-button-label"])
68
- ], 32));
69
- }
70
- }), A = /* @__PURE__ */ g($, [["__scopeId", "data-v-7ec268f9"]]);
71
- export {
72
- A as default
73
- };
@@ -1,61 +0,0 @@
1
- import { defineComponent as s, computed as a, ref as b, createElementBlock as f, openBlock as l, createVNode as g, renderSlot as y, unref as h, withCtx as C, createBlock as u, createCommentVNode as _, createTextVNode as B, toDisplayString as V, resolveDynamicComponent as k } from "vue";
2
- import { X as D, m as F } from "./parameters-TDvh_VJm.js";
3
- import { m as I } from "./reload-eCPBqeDa-cbgKMmw1.js";
4
- import { b as x } from "./Button-BfZfHt8q-BirQNc2F.js";
5
- const N = /* @__PURE__ */ s({
6
- __name: "DynamicIcon",
7
- props: {
8
- icon: {}
9
- },
10
- setup(o) {
11
- const e = {
12
- reload: I
13
- };
14
- return (r, i) => (l(), u(k(e[o.icon])));
15
- }
16
- }), S = /* @__PURE__ */ s({
17
- __name: "SimpleButtonControl",
18
- props: {
19
- control: {},
20
- handleChange: { type: Function },
21
- changeValue: { type: Function },
22
- disabled: { type: Boolean },
23
- labelForId: {},
24
- isValid: { type: Boolean },
25
- messages: {},
26
- onRegisterValidation: { type: Function }
27
- },
28
- setup(o) {
29
- const e = o, r = a(() => !e.control.enabled), i = a(() => e.control.uischema.options.triggerId), c = a(
30
- () => e.control.uischema.options.icon
31
- ), p = F("trigger"), d = () => {
32
- p({ id: i.value });
33
- }, n = b(!1);
34
- return (m, t) => (l(), f("div", {
35
- class: "simple-button-input",
36
- onMouseover: t[0] || (t[0] = (v) => n.value = !0),
37
- onMouseleave: t[1] || (t[1] = (v) => n.value = !1)
38
- }, [
39
- g(h(x), {
40
- compact: "",
41
- "with-border": "",
42
- disabled: r.value,
43
- class: "button-input",
44
- onClick: d
45
- }, {
46
- default: C(() => [
47
- c.value ? (l(), u(N, {
48
- key: 0,
49
- icon: c.value
50
- }, null, 8, ["icon"])) : _("", !0),
51
- B(V(o.control.label), 1)
52
- ]),
53
- _: 1
54
- }, 8, ["disabled"]),
55
- y(m.$slots, "buttons", { hover: n.value }, void 0, !0)
56
- ], 32));
57
- }
58
- }), $ = /* @__PURE__ */ D(S, [["__scopeId", "data-v-74adc892"]]);
59
- export {
60
- $ as default
61
- };
@@ -1,50 +0,0 @@
1
- import { defineComponent as c, computed as s, ref as u, createBlock as m, openBlock as h, unref as t } from "vue";
2
- import { O as f } from "./useBuiltinValidations-Dx6fNtgz-BMkbHnN7.js";
3
- import { L as g } from "./parameters-TDvh_VJm.js";
4
- import { w as y } from "./InputField-OKgaETDx-Bl4xhjBX.js";
5
- const L = /* @__PURE__ */ c({
6
- __name: "TextControl",
7
- props: {
8
- control: {},
9
- handleChange: { type: Function },
10
- changeValue: { type: Function },
11
- disabled: { type: Boolean },
12
- isValid: { type: Boolean },
13
- onRegisterValidation: { type: Function },
14
- labelForId: {}
15
- },
16
- setup(l, { expose: d }) {
17
- const n = l;
18
- f(
19
- {
20
- pattern: ({ pattern: o }) => {
21
- const e = new RegExp(`^(${o})$`);
22
- return (p) => e.test(p ?? "");
23
- },
24
- minLength: ({ minLength: o }) => (e) => ((e == null ? void 0 : e.length) ?? 0) >= o,
25
- maxLength: ({ maxLength: o }) => (e) => ((e == null ? void 0 : e.length) ?? 0) <= o
26
- },
27
- n
28
- );
29
- const r = s(() => n.control.uischema), i = g(r, "placeholder", ""), a = u(null);
30
- return d({
31
- focus: () => {
32
- var o;
33
- return (o = a.value) == null ? void 0 : o.focus();
34
- }
35
- }), (o, e) => (h(), m(t(y), {
36
- id: l.labelForId,
37
- ref_key: "inputField",
38
- ref: a,
39
- placeholder: t(i),
40
- "model-value": l.control.data,
41
- disabled: l.disabled,
42
- "is-valid": l.isValid,
43
- compact: "",
44
- "onUpdate:modelValue": l.changeValue
45
- }, null, 8, ["id", "placeholder", "model-value", "disabled", "is-valid", "onUpdate:modelValue"]));
46
- }
47
- });
48
- export {
49
- L as default
50
- };
@@ -1,20 +0,0 @@
1
- import { defineComponent as a, createElementBlock as t, openBlock as o, Fragment as s, renderList as m, renderSlot as c } from "vue";
2
- import { X as i } from "./parameters-TDvh_VJm.js";
3
- const p = { class: "vertical-layout" }, d = /* @__PURE__ */ a({
4
- __name: "VerticalLayoutBase",
5
- props: {
6
- elements: {}
7
- },
8
- setup(r) {
9
- return (n, u) => (o(), t("div", p, [
10
- (o(!0), t(s, null, m(r.elements, (l, e) => c(n.$slots, "default", {
11
- key: e,
12
- element: l,
13
- index: e
14
- }, void 0, !0)), 128))
15
- ]));
16
- }
17
- }), _ = /* @__PURE__ */ i(d, [["__scopeId", "data-v-0ecc0026"]]);
18
- export {
19
- _ as v
20
- };
@@ -1,148 +0,0 @@
1
- import { inject as D, ref as a, provide as H, defineComponent as V, useTemplateRef as x, createBlock as k, openBlock as b, unref as o, withCtx as l, createElementVNode as c, createVNode as C, createTextVNode as m, createCommentVNode as G, toDisplayString as I, renderSlot as g, createElementBlock as P } from "vue";
2
- import { Button as f } from "@knime/components";
3
- import { _ as $ } from "./SettingsSubPanel-BE_UKIFi-Dr8nIOON.js";
4
- const y = {}, B = (t) => {
5
- if (!(t in y)) {
6
- const e = Symbol(t);
7
- y[t] = e;
8
- }
9
- return y[t];
10
- }, T = B(
11
- "applyButtonInjectionKey"
12
- ), F = ({
13
- key: t,
14
- initialValue: e,
15
- element: d
16
- }) => {
17
- const p = a(e.text), s = a(e.shown ?? !0), i = a(e.disabled ?? !1), h = a(), r = {
18
- element: d,
19
- disabled: i,
20
- shown: s,
21
- text: p,
22
- onApply: h
23
- };
24
- return H(
25
- t ? B(t) : T,
26
- r
27
- ), r;
28
- }, Q = (t) => D(t ? B(t) : T), L = { class: "bottom-buttons" }, M = "goIntoFolderInjectionKey", W = /* @__PURE__ */ V({
29
- __name: "SettingsSubPanelForFileChooser",
30
- props: {
31
- showBackArrow: { type: Boolean, default: !1 }
32
- },
33
- emits: ["apply"],
34
- setup(t, { emit: e }) {
35
- const d = e, p = a(), s = () => {
36
- var n;
37
- (n = p.value) == null || n.close();
38
- }, i = () => {
39
- d("apply"), s();
40
- }, r = x("applyButton"), {
41
- text: A,
42
- disabled: S,
43
- onApply: u
44
- } = F({ element: r, initialValue: { text: "Apply" } }), w = "goIntoFolderButton", j = x(
45
- w
46
- ), {
47
- text: K,
48
- disabled: N,
49
- shown: R,
50
- onApply: E
51
- } = F({
52
- key: M,
53
- element: j,
54
- initialValue: {
55
- text: "Open folder"
56
- }
57
- }), _ = () => {
58
- var n;
59
- return (n = u.value) == null ? void 0 : n.call(u).then(i).catch(() => {
60
- });
61
- };
62
- return (n, v) => (b(), k(o($), {
63
- ref_key: "settingsSubPanelRef",
64
- ref: p,
65
- "show-back-arrow": n.showBackArrow,
66
- "hide-buttons-when-expanded": ""
67
- }, {
68
- "expand-button": l(({ expand: O }) => [
69
- g(n.$slots, "expand-button", { expand: O }, void 0, !0)
70
- ]),
71
- default: l(() => [
72
- g(n.$slots, "default", {
73
- applyAndClose: _,
74
- cancel: s
75
- }, void 0, !0)
76
- ]),
77
- "bottom-content": l(() => [
78
- c("div", L, [
79
- C(o(f), {
80
- "with-border": "",
81
- compact: "",
82
- onClick: s
83
- }, {
84
- default: l(() => v[0] || (v[0] = [
85
- m(" Cancel ", -1)
86
- ])),
87
- _: 1,
88
- __: [0]
89
- }),
90
- c("div", null, [
91
- o(R) ? (b(), k(o(f), {
92
- key: 0,
93
- ref: w,
94
- "with-border": "",
95
- compact: "",
96
- disabled: o(N),
97
- onClick: o(E)
98
- }, {
99
- default: l(() => [
100
- m(I(o(K)), 1)
101
- ]),
102
- _: 1
103
- }, 8, ["disabled", "onClick"])) : G("", !0),
104
- C(o(f), {
105
- ref_key: "applyButton",
106
- ref: r,
107
- compact: "",
108
- primary: "",
109
- disabled: o(S),
110
- onClick: _
111
- }, {
112
- default: l(() => [
113
- m(I(o(A)), 1)
114
- ]),
115
- _: 1
116
- }, 8, ["disabled"])
117
- ])
118
- ])
119
- ]),
120
- _: 3
121
- }, 8, ["show-back-arrow"]));
122
- }
123
- }), J = {
124
- xmlns: "http://www.w3.org/2000/svg",
125
- fill: "none",
126
- stroke: "#000",
127
- viewBox: "0 0 32 32"
128
- };
129
- function U(t, e) {
130
- return b(), P("svg", J, e[0] || (e[0] = [
131
- c("path", {
132
- "stroke-linejoin": "round",
133
- d: "M26.025 11.441v14.141H16M6.183 11.441v14.141H11m0 0v-7.291h5v7.291m-5 0h5"
134
- }, null, -1),
135
- c("path", {
136
- "stroke-linejoin": "round",
137
- d: "m29.654 14.55-5.583-4.759v-5.5H21v2.882L16.104 3 2.554 14.55"
138
- }, null, -1)
139
- ]));
140
- }
141
- const X = { render: U };
142
- export {
143
- M as G,
144
- X as H,
145
- W as _,
146
- F as s,
147
- Q as u
148
- };
@@ -1,17 +0,0 @@
1
- import { createElementBlock as o, openBlock as n, createElementVNode as t } from "vue";
2
- const r = {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- fill: "none",
5
- stroke: "#000",
6
- "stroke-linejoin": "round",
7
- viewBox: "0 0 32 32"
8
- };
9
- function l(c, e) {
10
- return n(), o("svg", r, [...e[0] || (e[0] = [
11
- t("path", { d: "m11.9 22.3 2.7 4.4-4.5 2.8m4.5-2.8C9 26 4.7 21.7 4.7 16c0-5.1 3.4-9.4 8.1-10.8M20 9.7l-2.6-4.4 4.5-2.8m-4.5 2.8c5.6.7 9.9 5 9.9 10.7 0 5.1-3.4 9.4-8.1 10.8" }, null, -1)
12
- ])]);
13
- }
14
- const s = { render: l };
15
- export {
16
- s as m
17
- };
@@ -1,74 +0,0 @@
1
- import { onUnmounted as u, toRef as c, computed as s } from "vue";
2
- import { L as m } from "./parameters-TDvh_VJm.js";
3
- const v = (e = {}) => e.validation || null, f = (e) => e.replace(/^validation\./, ""), h = (e) => {
4
- const i = (e.providedOptions ?? []).filter(
5
- (a) => a.startsWith("validation.")
6
- );
7
- return i.length === 0 ? null : i.reduce(
8
- (a, r) => ({
9
- ...a,
10
- [f(r)]: m(
11
- c(e),
12
- // @ts-expect-error - the valid provided options cannot be inferred
13
- r
14
- )
15
- }),
16
- {}
17
- );
18
- }, n = (e) => Object.entries(e), d = (e, i) => {
19
- const a = n(e).map(
20
- ([r, { parameters: o, errorMessage: t }]) => ({
21
- validate: i[r](o),
22
- errorMessage: t
23
- })
24
- );
25
- return (r) => ({
26
- errors: a.filter(({ validate: o }) => !o(r)).map(({ errorMessage: o }) => o)
27
- });
28
- }, V = (e, i, a) => e === null ? null : d(
29
- {
30
- [i]: e
31
- },
32
- a
33
- ), g = (e, i, a, r) => {
34
- const o = [];
35
- if (e) {
36
- const t = d(e, a);
37
- o.push(r(t));
38
- }
39
- return i && n(i).map(
40
- ([t, l]) => s(
41
- () => V(l.value, t, a)
42
- )
43
- ).map(r).forEach((t) => o.push(t)), o;
44
- }, M = ({
45
- validations: e,
46
- providedValidations: i
47
- }) => {
48
- const a = n(e || {}).reduce(
49
- (r, [o, { parameters: t }]) => ({ ...r, [o]: t }),
50
- {}
51
- );
52
- return s(() => i === null ? a : n(i).map(([r, o]) => ({
53
- key: r,
54
- providedValidation: o.value
55
- })).filter(({ providedValidation: r }) => r !== null).reduce(
56
- (r, { key: o, providedValidation: t }) => ({
57
- ...r,
58
- // @ts-expect-error - we know that providedValidation is not null here
59
- [o]: t.parameters
60
- }),
61
- a
62
- ));
63
- }, k = (e, i) => {
64
- const { uischema: a } = i.control, { options: r } = a, o = v(r), t = h(a), l = g(
65
- o,
66
- t,
67
- e,
68
- i.onRegisterValidation
69
- );
70
- return u(() => l.forEach((p) => p())), M({ validations: o, providedValidations: t });
71
- };
72
- export {
73
- k as O
74
- };