@knime/jsonforms 1.4.2 → 1.5.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.
- package/CHANGELOG.md +16 -0
- package/dist/{AnyOfTwinlist-ZSMUfL9L.js → AnyOfTwinlist-CaEOxW3M.js} +8 -6
- package/dist/{BaseButton-DaHwEJS7.js → BaseButton-CHq3Yy1E.js} +1 -1
- package/dist/{Button-Bw_2CUrZ.js → Button-Dx6CyoGv.js} +2 -2
- package/dist/{Checkbox-CClH5v1O.js → Checkbox-Cke3C-vE.js} +1 -1
- package/dist/CheckboxControl-D1SHTB8h.js +41 -0
- package/dist/{Checkboxes-D4qPaeYl.js → Checkboxes-CyaGK3u6.js} +2 -2
- package/dist/CheckboxesControl-D312pbsl.js +41 -0
- package/dist/{ColumnFilter-C7RkEFw3.js → ColumnFilter-CwMprrK8.js} +7 -5
- package/dist/{ColumnSelect-CofZcttu.js → ColumnSelect-CVJpUuIQ.js} +21 -18
- package/dist/{ComboBoxControl-C9KmCrJL.js → ComboBoxControl-BXkGuoeG.js} +17 -14
- package/dist/{DateControl-CzO-FHO5.js → DateControl-C4yaoxEp.js} +6 -4
- package/dist/{DateTimeControl-1FXkgKJC.js → DateTimeControl-mo58rw4f.js} +18 -15
- package/dist/{DateTimeFormatPickerControl-CoY0tjuj.js → DateTimeFormatPickerControl-BiJIe8E3.js} +29 -27
- package/dist/{DateTimeInput-BS4u5oiH.js → DateTimeInput-DsWORwg_.js} +7 -7
- package/dist/{Dropdown-DY6B_Cwm.js → Dropdown-BE1j7NkI.js} +4 -4
- package/dist/{DropdownControl-BOx53GRG.js → DropdownControl-BRn6Cwjr.js} +1 -1
- package/dist/DropdownControl.vue_vue_type_script_setup_true_lang-705eImVg.js +237 -0
- package/dist/{FunctionButton-fTG-kCKu.js → FunctionButton-DqqAHIw1.js} +2 -2
- package/dist/{HorizontalLayout-B6G89LUS.js → HorizontalLayout--yiRzTf6.js} +1 -1
- package/dist/{InputField-Ciw2sHfy.js → InputField-CokMvcHT.js} +1 -1
- package/dist/IntegerControl-NUkXRovt.js +20 -0
- package/dist/{IntervalControl-Cv3oVrKV.js → IntervalControl-CbN3LxUy.js} +37 -35
- package/dist/{MultiselectListBox-Ds0W-GHB.js → MultiselectListBox-DP2uhI2G.js} +1 -1
- package/dist/{NameFilter-BpyjqqIg.js → NameFilter-2zzjeGcf.js} +7 -5
- package/dist/NumberControl-ex4FP7SU.js +20 -0
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-CDfj1hZd.js +60 -0
- package/dist/{NumberInput-Cq6cNPOt.js → NumberInput-Qq75PlO6.js} +1 -1
- package/dist/OneOfDropdown-Adcy7Erh.js +35 -0
- package/dist/RadioControl-Dd78K-EK.js +24 -0
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-CJRt1KAq.js → RadioControlBase.vue_vue_type_script_setup_true_lang-CJkUMFUb.js} +11 -9
- package/dist/{RichTextControl-DfLozxjM.js → RichTextControl-BHg6ymeN.js} +10 -8
- package/dist/{SectionLayout-B8lhvDwV.js → SectionLayout-BVy_P8t3.js} +2 -2
- package/dist/SimpleButtonControl-CgdCrXfy.js +61 -0
- package/dist/{SimpleTwinlistControl--SlX5r8j.js → SimpleTwinlistControl-DQBlyQ3x.js} +16 -13
- package/dist/SortListControl-B6-zMq_0.js +366 -0
- package/dist/{TextAreaControl-Cxe1N51h.js → TextAreaControl-D57tefaR.js} +25 -22
- package/dist/{TextControl-C97DTUxi.js → TextControl-CrRig4Eb.js} +1 -1
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-Dyo28Jiw.js +87 -0
- package/dist/TimeControl-Bvfsb3xP.js +33 -0
- package/dist/{TwinlistControl-Cw71wnqH.js → TwinlistControl-B1Fadf2P.js} +21 -18
- package/dist/{TwinlistLoadingInfo-5dgWG85L.js → TwinlistLoadingInfo-DZ4p5J7x.js} +9 -9
- package/dist/{ValueSwitch-Ds5TMrQM.js → ValueSwitch-BHQvfjcw.js} +1 -1
- package/dist/ValueSwitchControl-Dr8FrHKm.js +20 -0
- package/dist/{VerticalLayout-FdSZVMXg.js → VerticalLayout-DVjSQ_-H.js} +2 -2
- package/dist/{VerticalLayoutBase-BM2Lzz4_.js → VerticalLayoutBase-YYIM5Icf.js} +1 -1
- package/dist/{VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-DomWqX4A.js → VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-QB1XiVQX.js} +5705 -5674
- package/dist/ZonedDateTimeControl-ByZO_E4E.js +70 -0
- package/dist/{_baseAssignValue-BHZMmalr.js → _baseAssignValue-BPMLYzDH.js} +1 -1
- package/dist/{_baseEach-CFl6drhJ.js → _baseEach-B8N_Gx8P.js} +2 -2
- package/dist/{_baseIsEqual-CBeH4t67.js → _baseIsEqual-DmkT9Nkc.js} +3 -3
- package/dist/{_baseIteratee-BLHhVAua.js → _baseIteratee-DvBmrhnf.js} +3 -3
- package/dist/{_getTag-ryBefWgF.js → _getTag-DS8v0_uf.js} +33 -34
- package/dist/isSymbol-OFe5xy2f.js +34 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +26 -26
- package/dist/{localTimeUtils-DzcBbZvn.js → localTimeUtils-Clk_MujE.js} +1 -1
- package/dist/src/JsonFormsDialog.vue.d.ts +2 -2
- package/dist/src/higherOrderComponents/control/ErrorMessage.vue.d.ts +15 -0
- package/dist/src/higherOrderComponents/control/ErrorMessageWrapper.vue.d.ts +22 -0
- package/dist/src/higherOrderComponents/control/index.d.ts +1 -1
- package/dist/src/higherOrderComponents/control/types.d.ts +2 -1
- package/dist/src/higherOrderComponents/control/util.d.ts +18 -2
- package/dist/src/higherOrderComponents/control/validation/types.d.ts +10 -0
- package/dist/src/higherOrderComponents/control/validation/useValidation.d.ts +9 -0
- package/dist/src/higherOrderComponents/control/withErrorMessage.d.ts +4 -0
- package/dist/src/higherOrderComponents/control/withLabel.d.ts +9 -0
- package/dist/src/renderers/checkboxRenderer.d.ts +1 -192
- package/dist/src/renderers/checkboxesRenderer.d.ts +1 -3
- package/dist/src/renderers/columnFilterRenderer.d.ts +1 -3
- package/dist/src/renderers/columnSelectRenderer.d.ts +56 -0
- package/dist/src/renderers/comboBoxRenderer.d.ts +1 -3
- package/dist/src/renderers/dateTimeFormatPickerRenderer.d.ts +1 -3
- package/dist/src/renderers/dateTimeRenderer.d.ts +1 -3
- package/dist/src/renderers/defaultRenderers.d.ts +299 -247
- package/dist/src/renderers/dropdownRenderer.d.ts +48 -0
- package/dist/src/renderers/fallbackRenderers.d.ts +91 -189
- package/dist/src/renderers/integerRenderer.d.ts +1 -3
- package/dist/src/renderers/intervalRenderer.d.ts +1 -3
- package/dist/src/renderers/localDateRenderer.d.ts +1 -3
- package/dist/src/renderers/localTimeRenderer.d.ts +1 -3
- package/dist/src/renderers/nameFilterRenderer.d.ts +1 -3
- package/dist/src/renderers/numberRenderer.d.ts +1 -3
- package/dist/src/renderers/radioRenderer.d.ts +1 -3
- package/dist/src/renderers/richTextRenderer.d.ts +1 -3
- package/dist/src/renderers/simpleButtonRenderer.d.ts +9 -0
- package/dist/src/renderers/sortListRenderer.d.ts +48 -0
- package/dist/src/renderers/textAreaRenderer.d.ts +1 -3
- package/dist/src/renderers/textMessageRenderer.d.ts +24 -0
- package/dist/src/renderers/textRenderer.d.ts +48 -0
- package/dist/src/renderers/twinlistRenderer.d.ts +2 -6
- package/dist/src/renderers/valueSwitchRenderer.d.ts +1 -3
- package/dist/src/renderers/zonedDateTimeRenderer.d.ts +4 -6
- package/dist/src/uiComponents/CheckboxesControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/ComboBoxControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/DateControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/DateTimeControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/DateTimeFormatPickerControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/DropdownControl.vue.d.ts +58 -3
- package/dist/src/uiComponents/IntegerControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/IntervalControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/NumberControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/NumberControlBase.vue.d.ts +2 -2
- package/dist/src/uiComponents/RadioControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/RadioControlBase.vue.d.ts +2 -2
- package/dist/src/uiComponents/SimpleButtonControl.vue.d.ts +9 -0
- package/dist/src/uiComponents/SortListControl.vue.d.ts +58 -3
- package/dist/src/uiComponents/TextAreaControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/TimeControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/ValueSwitchControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/index.d.ts +1 -1
- package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/twinlist/AnyOfTwinlist.vue.d.ts +1 -1
- package/dist/src/uiComponents/twinlist/ColumnFilter.vue.d.ts +1 -1
- package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +1 -1
- package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +2 -2
- package/dist/src/uiComponents/twinlist/TwinlistControl.vue.d.ts +2 -2
- package/dist/{svgWithTitle-CkdEuLiz.js → svgWithTitle-CJ0jyTXl.js} +1 -1
- package/dist/testUtils/component.d.ts +70 -7
- package/dist/testUtils/renderer.d.ts +1 -1
- package/dist/testing.js +203 -199
- package/dist/toString-DkbNkGT4.js +25 -0
- package/package.json +5 -5
- package/dist/CheckboxControl-DNlnK4C9.js +0 -42
- package/dist/CheckboxesControl-CcQ3PLSm.js +0 -38
- package/dist/DropdownControl.vue_vue_type_script_setup_true_lang-Cvtd3Y7S.js +0 -226
- package/dist/ErrorMessage-BDO-x3Uz.js +0 -23
- package/dist/IntegerControl-C0jzMmDK.js +0 -18
- package/dist/NumberControl-DFJ7GW28.js +0 -18
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-BVjv3GjM.js +0 -42
- package/dist/OneOfDropdown-fpE_aGK6.js +0 -32
- package/dist/RadioControl-BMvmjgc4.js +0 -22
- package/dist/SimpleButtonControl-Cc2jhvsQ.js +0 -58
- package/dist/SortListControl-BFZehvrs.js +0 -356
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-CHTtVr4t.js +0 -69
- package/dist/TimeControl-CFFsz8tR.js +0 -30
- package/dist/ValueSwitchControl-CljMpNHI.js +0 -18
- package/dist/ZonedDateTimeControl-CCtdviwP.js +0 -66
- package/dist/isSymbol-CSje8ekq.js +0 -8
- package/dist/src/higherOrderComponents/control/addLabel.d.ts +0 -12
- package/dist/src/uiComponents/ErrorMessage.vue.d.ts +0 -23
- package/dist/toString-ld_LFpvz.js +0 -26
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { openBlock as
|
|
2
|
-
import { _ as H, u as Re } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-
|
|
1
|
+
import { openBlock as v, createElementBlock as E, renderSlot as Te, toDisplayString as w, createCommentVNode as B, createElementVNode as p, defineComponent as F, mergeModels as G, useModel as k, computed as D, Fragment as V, createBlock as j, withDirectives as P, createVNode as I, vShow as b, renderList as z, unref as c, withCtx as X, createTextVNode as ge, pushScopeId as De, popScopeId as ye, ref as h, watch as K, normalizeClass as xe, withKeys as $e, vModelText as Me, normalizeStyle as Pe } from "vue";
|
|
2
|
+
import { _ as H, u as Re } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-QB1XiVQX.js";
|
|
3
3
|
import { o as Ae, a as we } from "./index-CkuSIXs2.js";
|
|
4
4
|
import { u as be, s as Ne, f as Ve, o as Se, a as Ce } from "./floating-ui.vue.esm-B1dY_Hbh.js";
|
|
5
|
-
import { F as Oe } from "./FunctionButton-
|
|
6
|
-
import { N as W } from "./NumberInput-
|
|
7
|
-
import { V as q } from "./ValueSwitch-
|
|
5
|
+
import { F as Oe } from "./FunctionButton-DqqAHIw1.js";
|
|
6
|
+
import { N as W } from "./NumberInput-Qq75PlO6.js";
|
|
7
|
+
import { V as q } from "./ValueSwitch-BHQvfjcw.js";
|
|
8
8
|
const Ge = {
|
|
9
9
|
name: "Tooltip",
|
|
10
10
|
props: {
|
|
@@ -18,9 +18,9 @@ const Ge = {
|
|
|
18
18
|
class: "text"
|
|
19
19
|
};
|
|
20
20
|
function Fe(e, t, a, n, i, s) {
|
|
21
|
-
return
|
|
21
|
+
return v(), E("div", ke, [
|
|
22
22
|
Te(e.$slots, "default", {}, void 0, !0),
|
|
23
|
-
a.text ? (
|
|
23
|
+
a.text ? (v(), E("span", Be, w(a.text), 1)) : B("", !0)
|
|
24
24
|
]);
|
|
25
25
|
}
|
|
26
26
|
const He = /* @__PURE__ */ H(Ge, [["render", Fe], ["__scopeId", "data-v-05123edc"]]), J = (e, t) => ({
|
|
@@ -158,11 +158,11 @@ const He = /* @__PURE__ */ H(Ge, [["render", Fe], ["__scopeId", "data-v-05123edc
|
|
|
158
158
|
stroke: "#000",
|
|
159
159
|
"stroke-linejoin": "round",
|
|
160
160
|
viewBox: "0 0 32 32"
|
|
161
|
-
}, Le = /* @__PURE__ */
|
|
161
|
+
}, Le = /* @__PURE__ */ p("path", { d: "m19.7 17-4.6-2.6V8.7m6.3 15.6h8.7m-3.2-3.2 3.2 3.2-3.2 3.2m-18-5.4c-2.2-1.8-3.6-4.6-3.6-7.7 0-5.5 4.4-9.9 9.9-9.9S25 8.9 25 14.4s-4.4 9.9-9.9 9.9H1.9" }, null, -1), Ye = [
|
|
162
162
|
Le
|
|
163
163
|
];
|
|
164
164
|
function Ze(e, t) {
|
|
165
|
-
return
|
|
165
|
+
return v(), E("svg", qe, [...Ye]);
|
|
166
166
|
}
|
|
167
167
|
const je = { render: Ze }, L = [
|
|
168
168
|
"years",
|
|
@@ -195,7 +195,7 @@ const je = { render: Ze }, L = [
|
|
|
195
195
|
} : {
|
|
196
196
|
...t,
|
|
197
197
|
durationPart: e.interval
|
|
198
|
-
}, O = (e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase(), Je = (e) => (De("data-v-ed4a2407"), e = e(), ye(), e), Qe = { class: "header" }, et = /* @__PURE__ */ Je(() => /* @__PURE__ */
|
|
198
|
+
}, O = (e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase(), Je = (e) => (De("data-v-ed4a2407"), e = e(), ye(), e), Qe = { class: "header" }, et = /* @__PURE__ */ Je(() => /* @__PURE__ */ p("span", { class: "input-title" }, "Duration", -1)), tt = { class: "ascending-descending-switch-container" }, at = { class: "input-grid" }, nt = { class: "input-label" }, st = { class: "input-label" }, ot = { class: "accept-controls" }, lt = /* @__PURE__ */ F({
|
|
199
199
|
__name: "IntervalInputPopoverContent",
|
|
200
200
|
props: /* @__PURE__ */ G({
|
|
201
201
|
format: {},
|
|
@@ -243,10 +243,10 @@ const je = { render: Ze }, L = [
|
|
|
243
243
|
_.value
|
|
244
244
|
);
|
|
245
245
|
};
|
|
246
|
-
return (u, m) => (
|
|
247
|
-
|
|
246
|
+
return (u, m) => (v(), E(V, null, [
|
|
247
|
+
p("span", Qe, [
|
|
248
248
|
et,
|
|
249
|
-
n.format === "DATE_OR_TIME" ? (
|
|
249
|
+
n.format === "DATE_OR_TIME" ? (v(), j(q, {
|
|
250
250
|
key: 0,
|
|
251
251
|
modelValue: i.value,
|
|
252
252
|
"onUpdate:modelValue": m[0] || (m[0] = (o) => i.value = o),
|
|
@@ -257,7 +257,7 @@ const je = { render: Ze }, L = [
|
|
|
257
257
|
compact: ""
|
|
258
258
|
}, null, 8, ["modelValue"])) : B("", !0)
|
|
259
259
|
]),
|
|
260
|
-
P(
|
|
260
|
+
P(p("div", tt, [
|
|
261
261
|
I(q, {
|
|
262
262
|
modelValue: _.value,
|
|
263
263
|
"onUpdate:modelValue": m[1] || (m[1] = (o) => _.value = o),
|
|
@@ -270,12 +270,12 @@ const je = { render: Ze }, L = [
|
|
|
270
270
|
], 512), [
|
|
271
271
|
[b, u.allowDescending]
|
|
272
272
|
]),
|
|
273
|
-
|
|
274
|
-
(
|
|
273
|
+
p("div", at, [
|
|
274
|
+
(v(!0), E(V, null, z(c(L), (o) => P((v(), E("span", {
|
|
275
275
|
key: o,
|
|
276
276
|
class: "labeled-date-time-input"
|
|
277
277
|
}, [
|
|
278
|
-
|
|
278
|
+
p("span", nt, w(c(O)(o)), 1),
|
|
279
279
|
I(W, {
|
|
280
280
|
modelValue: s.value.periodPart[o],
|
|
281
281
|
"onUpdate:modelValue": (x) => s.value.periodPart[o] = x,
|
|
@@ -287,11 +287,11 @@ const je = { render: Ze }, L = [
|
|
|
287
287
|
], 512)), [
|
|
288
288
|
[b, i.value === "DATE"]
|
|
289
289
|
])), 128)),
|
|
290
|
-
(
|
|
290
|
+
(v(!0), E(V, null, z(c(Y), (o) => P((v(), E("span", {
|
|
291
291
|
key: o,
|
|
292
292
|
class: "labeled-date-time-input"
|
|
293
293
|
}, [
|
|
294
|
-
|
|
294
|
+
p("span", st, w(c(O)(o)), 1),
|
|
295
295
|
I(W, {
|
|
296
296
|
"model-value": s.value.durationPart[o],
|
|
297
297
|
min: c(T)[o].min,
|
|
@@ -306,7 +306,7 @@ const je = { render: Ze }, L = [
|
|
|
306
306
|
[b, i.value === "TIME"]
|
|
307
307
|
])), 128))
|
|
308
308
|
]),
|
|
309
|
-
|
|
309
|
+
p("div", ot, [
|
|
310
310
|
I(He, {
|
|
311
311
|
text: d.value.valid ? "" : d.value.reason
|
|
312
312
|
}, {
|
|
@@ -330,8 +330,8 @@ const je = { render: Ze }, L = [
|
|
|
330
330
|
}), rt = /* @__PURE__ */ H(lt, [["__scopeId", "data-v-ed4a2407"]]), it = { class: "input-fields" }, dt = ["disabled", "placeholder"], ut = {
|
|
331
331
|
key: 0,
|
|
332
332
|
class: "invalid-marker"
|
|
333
|
-
}, ct = ["disabled"],
|
|
334
|
-
...
|
|
333
|
+
}, ct = ["disabled"], pt = {}, vt = /* @__PURE__ */ F({
|
|
334
|
+
...pt,
|
|
335
335
|
__name: "IntervalInput",
|
|
336
336
|
props: /* @__PURE__ */ G({
|
|
337
337
|
format: { default: "DATE_OR_TIME" },
|
|
@@ -400,7 +400,7 @@ const je = { render: Ze }, L = [
|
|
|
400
400
|
g(a.value),
|
|
401
401
|
s.value
|
|
402
402
|
);
|
|
403
|
-
},
|
|
403
|
+
}, pe = (l) => {
|
|
404
404
|
const r = C(
|
|
405
405
|
l,
|
|
406
406
|
"DATE_OR_TIME"
|
|
@@ -414,7 +414,7 @@ const je = { render: Ze }, L = [
|
|
|
414
414
|
f,
|
|
415
415
|
s.value
|
|
416
416
|
), a.value = S(f), n.value = r.type, d.value = M(f);
|
|
417
|
-
},
|
|
417
|
+
}, ve = (l) => {
|
|
418
418
|
const r = g(l);
|
|
419
419
|
d.value = M(r), s.value = A(
|
|
420
420
|
r,
|
|
@@ -429,9 +429,9 @@ const je = { render: Ze }, L = [
|
|
|
429
429
|
}, fe = (l) => {
|
|
430
430
|
l !== "DATE_OR_TIME" && me(l);
|
|
431
431
|
}, $ = h(!1);
|
|
432
|
-
K(() => t.format, fe), K(a,
|
|
432
|
+
K(() => t.format, fe), K(a, ve);
|
|
433
433
|
const U = (l) => {
|
|
434
|
-
|
|
434
|
+
pe(l);
|
|
435
435
|
}, R = (l, r) => {
|
|
436
436
|
l && r ? o(
|
|
437
437
|
r.popoverValues,
|
|
@@ -461,12 +461,12 @@ const je = { render: Ze }, L = [
|
|
|
461
461
|
placement: "top-end",
|
|
462
462
|
whileElementsMounted: Ce
|
|
463
463
|
});
|
|
464
|
-
return (l, r) => (
|
|
465
|
-
|
|
464
|
+
return (l, r) => (v(), E("div", null, [
|
|
465
|
+
p("div", {
|
|
466
466
|
class: xe(["wrapper", { disabled: l.disabled, compact: l.compact }])
|
|
467
467
|
}, [
|
|
468
|
-
|
|
469
|
-
P(
|
|
468
|
+
p("span", it, [
|
|
469
|
+
P(p("input", {
|
|
470
470
|
ref_key: "inputTextFieldRef",
|
|
471
471
|
ref: m,
|
|
472
472
|
"onUpdate:modelValue": r[0] || (r[0] = (f) => d.value = f),
|
|
@@ -480,8 +480,8 @@ const je = { render: Ze }, L = [
|
|
|
480
480
|
}, null, 40, dt), [
|
|
481
481
|
[Me, d.value]
|
|
482
482
|
]),
|
|
483
|
-
_.value ? B("", !0) : (
|
|
484
|
-
|
|
483
|
+
_.value ? B("", !0) : (v(), E("span", ut)),
|
|
484
|
+
p("button", {
|
|
485
485
|
ref_key: "togglePopoverButtonRef",
|
|
486
486
|
ref: u,
|
|
487
487
|
class: "trigger-popover-button",
|
|
@@ -494,7 +494,7 @@ const je = { render: Ze }, L = [
|
|
|
494
494
|
], 8, ct)
|
|
495
495
|
])
|
|
496
496
|
], 2),
|
|
497
|
-
P(
|
|
497
|
+
P(p("div", {
|
|
498
498
|
ref_key: "durationInputPopoverRef",
|
|
499
499
|
ref: y,
|
|
500
500
|
class: "control-popup",
|
|
@@ -516,13 +516,15 @@ const je = { render: Ze }, L = [
|
|
|
516
516
|
])
|
|
517
517
|
]));
|
|
518
518
|
}
|
|
519
|
-
}), mt = /* @__PURE__ */ H(
|
|
519
|
+
}), mt = /* @__PURE__ */ H(vt, [["__scopeId", "data-v-0dd589ba"]]), Dt = /* @__PURE__ */ F({
|
|
520
520
|
__name: "IntervalControl",
|
|
521
521
|
props: {
|
|
522
522
|
control: {},
|
|
523
523
|
handleChange: { type: Function },
|
|
524
524
|
changeValue: { type: Function },
|
|
525
525
|
disabled: { type: Boolean },
|
|
526
|
+
isValid: { type: Boolean },
|
|
527
|
+
onRegisterValidation: { type: Function },
|
|
526
528
|
labelForId: {}
|
|
527
529
|
},
|
|
528
530
|
setup(e) {
|
|
@@ -534,7 +536,7 @@ const je = { render: Ze }, L = [
|
|
|
534
536
|
}),
|
|
535
537
|
((i = a.value) == null ? void 0 : i.intervalType) ?? "DATE_OR_TIME"
|
|
536
538
|
);
|
|
537
|
-
return (s, d) => (
|
|
539
|
+
return (s, d) => (v(), j(c(mt), {
|
|
538
540
|
id: s.labelForId,
|
|
539
541
|
compact: "",
|
|
540
542
|
disabled: s.disabled,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { openBlock as h, createElementBlock as u, mergeProps as x, withModifiers as a, toDisplayString as y, toRef as p, watch as I, resolveComponent as v, normalizeClass as C, normalizeStyle as w, createElementVNode as f, withKeys as d, normalizeProps as V, guardReactiveProps as k, Fragment as H, renderList as B, createBlock as g, resolveDynamicComponent as D, createCommentVNode as b, createVNode as K } from "vue";
|
|
2
2
|
import { b as N } from "./index-CkuSIXs2.js";
|
|
3
|
-
import { _ as S } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-
|
|
3
|
+
import { _ as S } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-QB1XiVQX.js";
|
|
4
4
|
const A = (e, t) => {
|
|
5
5
|
let i, n = 0;
|
|
6
6
|
return (...r) => {
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import { defineComponent as n, openBlock as o, createBlock as t, mergeProps as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as n, openBlock as o, createBlock as t, mergeProps as a } from "vue";
|
|
2
|
+
import l from "./TwinlistControl-B1Fadf2P.js";
|
|
3
|
+
const u = /* @__PURE__ */ n({
|
|
4
4
|
__name: "NameFilter",
|
|
5
5
|
props: {
|
|
6
6
|
control: {},
|
|
7
7
|
handleChange: { type: Function },
|
|
8
8
|
changeValue: { type: Function },
|
|
9
9
|
disabled: { type: Boolean },
|
|
10
|
+
isValid: { type: Boolean },
|
|
11
|
+
onRegisterValidation: { type: Function },
|
|
10
12
|
labelForId: {}
|
|
11
13
|
},
|
|
12
14
|
setup(r) {
|
|
13
|
-
return (e, s) => (o(), t(
|
|
15
|
+
return (e, s) => (o(), t(l, a({ ...e.$props, ...e.$attrs }, {
|
|
14
16
|
"unknown-values-text": "Any unknown value",
|
|
15
17
|
"show-unknown-values": "",
|
|
16
18
|
"empty-state-label": "No values in this list"
|
|
@@ -18,5 +20,5 @@ const i = /* @__PURE__ */ n({
|
|
|
18
20
|
}
|
|
19
21
|
});
|
|
20
22
|
export {
|
|
21
|
-
|
|
23
|
+
u as default
|
|
22
24
|
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent as o, openBlock as n, createBlock as t, mergeProps as r } from "vue";
|
|
2
|
+
import { _ as a } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-CDfj1hZd.js";
|
|
3
|
+
const s = /* @__PURE__ */ o({
|
|
4
|
+
__name: "NumberControl",
|
|
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(p) {
|
|
15
|
+
return (e, l) => (n(), t(a, r(e.$props, { type: "double" }), null, 16));
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
s as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { defineComponent as b, computed as y, openBlock as h, createBlock as V, unref as i } from "vue";
|
|
2
|
+
import { u as m } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-QB1XiVQX.js";
|
|
3
|
+
import { N as g } from "./NumberInput-Qq75PlO6.js";
|
|
4
|
+
const C = /* @__PURE__ */ b({
|
|
5
|
+
__name: "NumberControlBase",
|
|
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
|
+
type: {}
|
|
15
|
+
},
|
|
16
|
+
setup(f) {
|
|
17
|
+
const o = f, {
|
|
18
|
+
min: u,
|
|
19
|
+
minProvider: s,
|
|
20
|
+
max: d,
|
|
21
|
+
maxProvider: p
|
|
22
|
+
} = o.control.uischema.options || {}, a = m(s, u), n = m(p, d);
|
|
23
|
+
if (typeof [s, p, u, d].find(
|
|
24
|
+
(e) => typeof e < "u"
|
|
25
|
+
) < "u") {
|
|
26
|
+
const e = ({
|
|
27
|
+
value: t,
|
|
28
|
+
minimum: r,
|
|
29
|
+
maximum: l
|
|
30
|
+
}) => typeof r == "number" && t < r ? { errors: [`The value has to be at least ${r}`] } : typeof l == "number" && t > l ? { errors: [`The value has to be ${l} at max`] } : { errors: [] }, c = y(
|
|
31
|
+
() => (t) => e({
|
|
32
|
+
value: t,
|
|
33
|
+
minimum: a.value,
|
|
34
|
+
maximum: n.value
|
|
35
|
+
})
|
|
36
|
+
);
|
|
37
|
+
o.onRegisterValidation(c);
|
|
38
|
+
}
|
|
39
|
+
const v = () => {
|
|
40
|
+
const e = o.control.data;
|
|
41
|
+
typeof a.value == "number" && e < a.value ? o.changeValue(a.value) : typeof n.value == "number" && e > n.value && o.changeValue(n.value);
|
|
42
|
+
};
|
|
43
|
+
return (e, c) => (h(), V(i(g), {
|
|
44
|
+
id: e.labelForId,
|
|
45
|
+
class: "number-input",
|
|
46
|
+
disabled: e.disabled,
|
|
47
|
+
"model-value": e.control.data,
|
|
48
|
+
type: e.type,
|
|
49
|
+
min: i(a),
|
|
50
|
+
max: i(n),
|
|
51
|
+
"is-valid": e.isValid,
|
|
52
|
+
compact: "",
|
|
53
|
+
"onUpdate:modelValue": e.changeValue,
|
|
54
|
+
onFocusout: v
|
|
55
|
+
}, null, 8, ["id", "disabled", "model-value", "type", "min", "max", "is-valid", "onUpdate:modelValue"]));
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
export {
|
|
59
|
+
C as _
|
|
60
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as p } from "./arrow-dropdown-DjUxzjqC.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import { resolveComponent as h, openBlock as o, createElementBlock as d, normalizeClass as l, createElementVNode as n, createCommentVNode as f, withModifiers as r, createVNode as m } from "vue";
|
|
4
|
-
import { _ as V } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-
|
|
4
|
+
import { _ as V } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-QB1XiVQX.js";
|
|
5
5
|
const c = 200, g = 50, v = 0.1, E = 1, I = {
|
|
6
6
|
name: "NumberInput",
|
|
7
7
|
components: {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { defineComponent as c, openBlock as m, createBlock as u, mergeProps as d, unref as f, withCtx as t, renderSlot as s } from "vue";
|
|
2
|
+
import { o as y } from "./index-hm05O8UX.js";
|
|
3
|
+
import { _ as h } from "./DropdownControl.vue_vue_type_script_setup_true_lang-705eImVg.js";
|
|
4
|
+
const F = /* @__PURE__ */ c({
|
|
5
|
+
__name: "OneOfDropdown",
|
|
6
|
+
props: {
|
|
7
|
+
control: {},
|
|
8
|
+
handleChange: { type: Function },
|
|
9
|
+
changeValue: { type: Function },
|
|
10
|
+
disabled: { type: Boolean },
|
|
11
|
+
labelForId: {},
|
|
12
|
+
isValid: { type: Boolean },
|
|
13
|
+
messages: {},
|
|
14
|
+
onRegisterValidation: { type: Function }
|
|
15
|
+
},
|
|
16
|
+
setup(i) {
|
|
17
|
+
var n, e;
|
|
18
|
+
const a = ((e = (n = i.control.schema) == null ? void 0 : n.oneOf) == null ? void 0 : e.map(y)) ?? [], p = Promise.resolve(a);
|
|
19
|
+
return (o, g) => (m(), u(h, d({ ...o.$attrs, ...o.$props }, { "async-initial-options": f(p) }), {
|
|
20
|
+
icon: t(() => [
|
|
21
|
+
s(o.$slots, "icon")
|
|
22
|
+
]),
|
|
23
|
+
buttons: t(({ hover: r, controlHTMLElement: l }) => [
|
|
24
|
+
s(o.$slots, "buttons", {
|
|
25
|
+
hover: r,
|
|
26
|
+
controlHTMLElement: l
|
|
27
|
+
})
|
|
28
|
+
]),
|
|
29
|
+
_: 3
|
|
30
|
+
}, 16, ["async-initial-options"]));
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
export {
|
|
34
|
+
F as default
|
|
35
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { defineComponent as e, openBlock as n, createBlock as t, mergeProps as a } from "vue";
|
|
2
|
+
import { _ as r } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-CJkUMFUb.js";
|
|
3
|
+
import { _ as p } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-QB1XiVQX.js";
|
|
4
|
+
const i = /* @__PURE__ */ e({
|
|
5
|
+
__name: "RadioControl",
|
|
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(s) {
|
|
16
|
+
return (o, l) => (n(), t(r, a(o.$props, {
|
|
17
|
+
type: "radio",
|
|
18
|
+
class: "radio"
|
|
19
|
+
}), null, 16));
|
|
20
|
+
}
|
|
21
|
+
}), m = /* @__PURE__ */ p(i, [["__scopeId", "data-v-6720fee0"]]);
|
|
22
|
+
export {
|
|
23
|
+
m as default
|
|
24
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { resolveComponent as c, openBlock as m, createBlock as p, normalizeClass as b, defineComponent as f, computed as s, ref as v, onMounted as B, resolveDynamicComponent as
|
|
2
|
-
import { o as
|
|
3
|
-
import { B as _, V as g } from "./ValueSwitch-
|
|
4
|
-
import { _ as C } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-
|
|
1
|
+
import { resolveComponent as c, openBlock as m, createBlock as p, normalizeClass as b, defineComponent as f, computed as s, ref as v, onMounted as B, resolveDynamicComponent as y, createCommentVNode as V } from "vue";
|
|
2
|
+
import { o as h } from "./index-hm05O8UX.js";
|
|
3
|
+
import { B as _, V as g } from "./ValueSwitch-BHQvfjcw.js";
|
|
4
|
+
import { _ as C } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-QB1XiVQX.js";
|
|
5
5
|
const R = {
|
|
6
6
|
name: "RadioButtons",
|
|
7
7
|
components: {
|
|
@@ -64,13 +64,15 @@ function S(a, t, o, d, i, u) {
|
|
|
64
64
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => a.$emit("update:modelValue", e))
|
|
65
65
|
}, null, 8, ["id", "possible-values", "model-value", "disabled", "class"]);
|
|
66
66
|
}
|
|
67
|
-
const
|
|
67
|
+
const F = /* @__PURE__ */ C(R, [["render", S], ["__scopeId", "data-v-e428929b"]]), U = /* @__PURE__ */ f({
|
|
68
68
|
__name: "RadioControlBase",
|
|
69
69
|
props: {
|
|
70
70
|
control: {},
|
|
71
71
|
handleChange: { type: Function },
|
|
72
72
|
changeValue: { type: Function },
|
|
73
73
|
disabled: { type: Boolean },
|
|
74
|
+
isValid: { type: Boolean },
|
|
75
|
+
onRegisterValidation: { type: Function },
|
|
74
76
|
labelForId: {},
|
|
75
77
|
type: {}
|
|
76
78
|
},
|
|
@@ -84,12 +86,12 @@ const k = /* @__PURE__ */ C(R, [["render", S], ["__scopeId", "data-v-e428929b"]]
|
|
|
84
86
|
return ((e = t.control.uischema.options) == null ? void 0 : e.disabledOptions) ?? [];
|
|
85
87
|
}
|
|
86
88
|
), i = (e) => d.value.includes(e.id) ? { ...e, disabled: !0 } : e, u = s(
|
|
87
|
-
() => t.type === "valueSwitch" ? g :
|
|
89
|
+
() => t.type === "valueSwitch" ? g : F
|
|
88
90
|
), l = v(null);
|
|
89
91
|
return B(() => {
|
|
90
92
|
var e, n, r;
|
|
91
|
-
l.value = (r = (n = (e = t.control) == null ? void 0 : e.schema) == null ? void 0 : n.oneOf) == null ? void 0 : r.map(
|
|
92
|
-
}), (e, n) => l.value ? (m(), p(
|
|
93
|
+
l.value = (r = (n = (e = t.control) == null ? void 0 : e.schema) == null ? void 0 : n.oneOf) == null ? void 0 : r.map(h).map(i);
|
|
94
|
+
}), (e, n) => l.value ? (m(), p(y(u.value), {
|
|
93
95
|
key: 0,
|
|
94
96
|
id: e.labelForId,
|
|
95
97
|
"possible-values": l.value,
|
|
@@ -98,7 +100,7 @@ const k = /* @__PURE__ */ C(R, [["render", S], ["__scopeId", "data-v-e428929b"]]
|
|
|
98
100
|
"model-value": e.control.data,
|
|
99
101
|
compact: "",
|
|
100
102
|
"onUpdate:modelValue": e.changeValue
|
|
101
|
-
}, null, 8, ["id", "possible-values", "alignment", "disabled", "model-value", "onUpdate:modelValue"])) :
|
|
103
|
+
}, null, 8, ["id", "possible-values", "alignment", "disabled", "model-value", "onUpdate:modelValue"])) : V("", !0);
|
|
102
104
|
}
|
|
103
105
|
});
|
|
104
106
|
export {
|
|
@@ -2,16 +2,16 @@ import { defineComponent as ge, ref as ee, computed as Me, onMounted as On, watc
|
|
|
2
2
|
import { a as Id, c as Dd } from "./popper-CRR--9mA.js";
|
|
3
3
|
import { i as Ka, g as Wa } from "./navigator-BYUFe-z3.js";
|
|
4
4
|
import { C as Rd } from "./close-h7XT0ja0.js";
|
|
5
|
-
import { F as ao } from "./FunctionButton-
|
|
6
|
-
import { _ as Xe, n as Qo } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-
|
|
7
|
-
import { B as qi } from "./Button-
|
|
8
|
-
import { I as Zo } from "./InputField-
|
|
5
|
+
import { F as ao } from "./FunctionButton-DqqAHIw1.js";
|
|
6
|
+
import { _ as Xe, n as Qo } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-QB1XiVQX.js";
|
|
7
|
+
import { B as qi } from "./Button-Dx6CyoGv.js";
|
|
8
|
+
import { I as Zo } from "./InputField-CokMvcHT.js";
|
|
9
9
|
import { u as Ua, f as qa, s as Ja, a as Ga } from "./floating-ui.vue.esm-B1dY_Hbh.js";
|
|
10
10
|
import { o as Ld } from "./index-CkuSIXs2.js";
|
|
11
11
|
import { A as Pd } from "./arrow-next-CvdR0-WC.js";
|
|
12
12
|
import { u as Bd } from "./useDropdownNavigation-D6ZenVxz.js";
|
|
13
|
-
import { C as Fd } from "./Checkbox-
|
|
14
|
-
import { t as $d } from "./toString-
|
|
13
|
+
import { C as Fd } from "./Checkbox-Cke3C-vE.js";
|
|
14
|
+
import { t as $d } from "./toString-DkbNkGT4.js";
|
|
15
15
|
const zd = (n, e) => (n % e + e) % e;
|
|
16
16
|
/*!
|
|
17
17
|
* tabbable 6.2.0
|
|
@@ -933,7 +933,7 @@ function Mf(n, e, t, r, i, s) {
|
|
|
933
933
|
_: 3
|
|
934
934
|
}, 8, ["implicit-dismiss", "class", "animate"]);
|
|
935
935
|
}
|
|
936
|
-
const Ef = /* @__PURE__ */ Xe(vf, [["render", Mf], ["__scopeId", "data-v-
|
|
936
|
+
const Ef = /* @__PURE__ */ Xe(vf, [["render", Mf], ["__scopeId", "data-v-af81754c"]]), Of = ({ targets: n, callback: e }, t = ee(!0)) => {
|
|
937
937
|
let r;
|
|
938
938
|
const i = () => {
|
|
939
939
|
r = Ld(n[0], e, { ignore: n });
|
|
@@ -17834,6 +17834,8 @@ const Hk = { render: zk }, Vk = { class: "tools" }, _k = /* @__PURE__ */ ge({
|
|
|
17834
17834
|
handleChange: { type: Function },
|
|
17835
17835
|
changeValue: { type: Function },
|
|
17836
17836
|
disabled: { type: Boolean },
|
|
17837
|
+
isValid: { type: Boolean },
|
|
17838
|
+
onRegisterValidation: { type: Function },
|
|
17837
17839
|
labelForId: {}
|
|
17838
17840
|
},
|
|
17839
17841
|
setup(n) {
|
|
@@ -17889,7 +17891,7 @@ const Hk = { render: zk }, Vk = { class: "tools" }, _k = /* @__PURE__ */ ge({
|
|
|
17889
17891
|
_: 1
|
|
17890
17892
|
}, 8, ["id", "class", "model-value", "editable", "disabled", "link-tool-options", "custom-extensions", "onUpdate:modelValue"]));
|
|
17891
17893
|
}
|
|
17892
|
-
}), dv = /* @__PURE__ */ Xe(Gk, [["__scopeId", "data-v-
|
|
17894
|
+
}), dv = /* @__PURE__ */ Xe(Gk, [["__scopeId", "data-v-4497c003"]]);
|
|
17893
17895
|
export {
|
|
17894
17896
|
dv as default
|
|
17895
17897
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as n, ref as u, openBlock as s, createElementBlock as i, createElementVNode as l, createTextVNode as c, toDisplayString as d, renderSlot as m, createVNode as p, withCtx as h, createBlock as y, unref as f } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { V as $ } from "./VerticalLayoutBase-
|
|
2
|
+
import { q as v, _ as b } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-QB1XiVQX.js";
|
|
3
|
+
import { V as $ } from "./VerticalLayoutBase-YYIM5Icf.js";
|
|
4
4
|
const V = { class: "section-header" }, k = /* @__PURE__ */ n({
|
|
5
5
|
__name: "SectionLayout",
|
|
6
6
|
props: {
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { defineComponent as u, openBlock as s, createBlock as p, resolveDynamicComponent as f, computed as r, ref as g, createElementBlock as _, createVNode as b, unref as y, withCtx as B, createCommentVNode as C, createTextVNode as h, toDisplayString as k, renderSlot as I } from "vue";
|
|
2
|
+
import { k as V, _ as F } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-QB1XiVQX.js";
|
|
3
|
+
import { R as S } from "./reload-BhzcZRFp.js";
|
|
4
|
+
import { B as $ } from "./Button-Dx6CyoGv.js";
|
|
5
|
+
const x = /* @__PURE__ */ u({
|
|
6
|
+
__name: "DynamicIcon",
|
|
7
|
+
props: {
|
|
8
|
+
icon: {}
|
|
9
|
+
},
|
|
10
|
+
setup(a) {
|
|
11
|
+
const e = {
|
|
12
|
+
reload: S
|
|
13
|
+
};
|
|
14
|
+
return (t, l) => (s(), p(f(e[t.icon])));
|
|
15
|
+
}
|
|
16
|
+
}), D = /* @__PURE__ */ u({
|
|
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(a) {
|
|
29
|
+
const e = a, t = r(() => !e.control.enabled), l = r(() => e.control.uischema.options.triggerId), i = r(
|
|
30
|
+
() => e.control.uischema.options.icon
|
|
31
|
+
), d = V("trigger"), m = () => {
|
|
32
|
+
d({ id: l.value });
|
|
33
|
+
}, n = g(!1);
|
|
34
|
+
return (c, o) => (s(), _("div", {
|
|
35
|
+
class: "simple-button-input",
|
|
36
|
+
onMouseover: o[0] || (o[0] = (v) => n.value = !0),
|
|
37
|
+
onMouseleave: o[1] || (o[1] = (v) => n.value = !1)
|
|
38
|
+
}, [
|
|
39
|
+
b(y($), {
|
|
40
|
+
compact: "",
|
|
41
|
+
"with-border": "",
|
|
42
|
+
disabled: t.value,
|
|
43
|
+
class: "button-input",
|
|
44
|
+
onClick: m
|
|
45
|
+
}, {
|
|
46
|
+
default: B(() => [
|
|
47
|
+
i.value ? (s(), p(x, {
|
|
48
|
+
key: 0,
|
|
49
|
+
icon: i.value
|
|
50
|
+
}, null, 8, ["icon"])) : C("", !0),
|
|
51
|
+
h(k(c.control.label), 1)
|
|
52
|
+
]),
|
|
53
|
+
_: 1
|
|
54
|
+
}, 8, ["disabled"]),
|
|
55
|
+
I(c.$slots, "buttons", { hover: n.value }, void 0, !0)
|
|
56
|
+
], 32));
|
|
57
|
+
}
|
|
58
|
+
}), j = /* @__PURE__ */ F(D, [["__scopeId", "data-v-71d12dcd"]]);
|
|
59
|
+
export {
|
|
60
|
+
j as default
|
|
61
|
+
};
|
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { k as m, u as f, _ as
|
|
3
|
-
import { a as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as d, computed as r, markRaw as u, openBlock as p, createBlock as c, unref as i } from "vue";
|
|
2
|
+
import { k as m, u as f, _ as h } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-QB1XiVQX.js";
|
|
3
|
+
import { a as b, T as v } from "./TwinlistLoadingInfo-DZ4p5J7x.js";
|
|
4
|
+
const w = /* @__PURE__ */ d({
|
|
5
5
|
__name: "SimpleTwinlistControl",
|
|
6
6
|
props: {
|
|
7
7
|
control: {},
|
|
8
8
|
handleChange: {},
|
|
9
9
|
changeValue: {},
|
|
10
10
|
disabled: { type: Boolean },
|
|
11
|
+
isValid: { type: Boolean },
|
|
12
|
+
onRegisterValidation: {},
|
|
11
13
|
labelForId: {},
|
|
12
14
|
twinlistSize: { default: 10 },
|
|
13
15
|
twinlistLeftLabel: { default: "Excludes" },
|
|
14
16
|
twinlistRightLabel: { default: "Includes" },
|
|
15
17
|
optionsGenerator: { type: [null, Function], default: null }
|
|
16
18
|
},
|
|
17
|
-
setup(
|
|
18
|
-
const l =
|
|
19
|
+
setup(t) {
|
|
20
|
+
const l = t, s = m("getPossibleValuesFromUiSchema"), a = r(
|
|
19
21
|
() => {
|
|
20
22
|
var e;
|
|
21
23
|
return (e = l.control.uischema.options) == null ? void 0 : e.choicesProvider;
|
|
@@ -23,26 +25,27 @@ const v = /* @__PURE__ */ r({
|
|
|
23
25
|
), o = f(
|
|
24
26
|
a,
|
|
25
27
|
null
|
|
26
|
-
),
|
|
28
|
+
), n = u(b);
|
|
27
29
|
return a.value || (l.optionsGenerator === null ? s(l.control).then((e) => {
|
|
28
30
|
o.value = e;
|
|
29
|
-
}) : o.value = l.optionsGenerator(l.control)), (e, g) => (p(), c(
|
|
31
|
+
}) : o.value = l.optionsGenerator(l.control)), (e, g) => (p(), c(i(v), {
|
|
30
32
|
id: e.labelForId,
|
|
31
33
|
disabled: e.disabled,
|
|
32
34
|
"model-value": e.control.data,
|
|
33
|
-
"possible-values":
|
|
34
|
-
"empty-state-component":
|
|
35
|
-
"hide-options":
|
|
35
|
+
"possible-values": i(o) ?? [],
|
|
36
|
+
"empty-state-component": i(o) === null ? i(n) : null,
|
|
37
|
+
"hide-options": i(o) === null,
|
|
36
38
|
size: e.twinlistSize,
|
|
37
39
|
"left-label": e.twinlistLeftLabel,
|
|
38
40
|
"right-label": e.twinlistRightLabel,
|
|
41
|
+
"is-valid": e.isValid,
|
|
39
42
|
compact: "",
|
|
40
43
|
"show-resize-handle": "",
|
|
41
44
|
"filter-chosen-values-on-possible-values-change": !1,
|
|
42
45
|
"onUpdate:modelValue": e.changeValue
|
|
43
|
-
}, null, 8, ["id", "disabled", "model-value", "possible-values", "empty-state-component", "hide-options", "size", "left-label", "right-label", "onUpdate:modelValue"]));
|
|
46
|
+
}, null, 8, ["id", "disabled", "model-value", "possible-values", "empty-state-component", "hide-options", "size", "left-label", "right-label", "is-valid", "onUpdate:modelValue"]));
|
|
44
47
|
}
|
|
45
|
-
}), I = /* @__PURE__ */
|
|
48
|
+
}), I = /* @__PURE__ */ h(w, [["__scopeId", "data-v-164a53c2"]]);
|
|
46
49
|
export {
|
|
47
50
|
I as default
|
|
48
51
|
};
|