@knime/jsonforms 1.4.2 → 1.5.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.
- package/CHANGELOG.md +6 -0
- package/dist/{AnyOfTwinlist-ZSMUfL9L.js → AnyOfTwinlist-C3M6wWi-.js} +8 -6
- package/dist/{BaseButton-DaHwEJS7.js → BaseButton-8vDrj52e.js} +1 -1
- package/dist/{Button-Bw_2CUrZ.js → Button-Bngb_I70.js} +2 -2
- package/dist/{Checkbox-CClH5v1O.js → Checkbox-DSfVQlDb.js} +1 -1
- package/dist/CheckboxControl-D85aBRJ6.js +41 -0
- package/dist/{Checkboxes-D4qPaeYl.js → Checkboxes-DUJ3v5jU.js} +2 -2
- package/dist/CheckboxesControl-8Aa7XOuf.js +41 -0
- package/dist/{ColumnFilter-C7RkEFw3.js → ColumnFilter-BzCVLydy.js} +7 -5
- package/dist/{ColumnSelect-CofZcttu.js → ColumnSelect-DK7NqI5Q.js} +21 -18
- package/dist/{ComboBoxControl-C9KmCrJL.js → ComboBoxControl-CEXpJltI.js} +17 -14
- package/dist/{DateControl-CzO-FHO5.js → DateControl-CjRiy7d1.js} +6 -4
- package/dist/{DateTimeControl-1FXkgKJC.js → DateTimeControl-CaDuNC_u.js} +18 -15
- package/dist/{DateTimeFormatPickerControl-CoY0tjuj.js → DateTimeFormatPickerControl-DDTmhBMD.js} +29 -27
- package/dist/{DateTimeInput-BS4u5oiH.js → DateTimeInput-96g3nCth.js} +7 -7
- package/dist/{Dropdown-DY6B_Cwm.js → Dropdown-CQKvBlYB.js} +4 -4
- package/dist/{DropdownControl-BOx53GRG.js → DropdownControl-B0x5hFXM.js} +1 -1
- package/dist/DropdownControl.vue_vue_type_script_setup_true_lang-DAT1V1G_.js +237 -0
- package/dist/{FunctionButton-fTG-kCKu.js → FunctionButton-CapvFBi0.js} +2 -2
- package/dist/{HorizontalLayout-B6G89LUS.js → HorizontalLayout-k7vmjzLP.js} +1 -1
- package/dist/{InputField-Ciw2sHfy.js → InputField-DhyBnTBT.js} +1 -1
- package/dist/IntegerControl-ByZYNQ-Z.js +20 -0
- package/dist/{IntervalControl-Cv3oVrKV.js → IntervalControl-DhujNXBe.js} +37 -35
- package/dist/{MultiselectListBox-Ds0W-GHB.js → MultiselectListBox-6f4JE0Ny.js} +1 -1
- package/dist/{NameFilter-BpyjqqIg.js → NameFilter-DJhwpboP.js} +7 -5
- package/dist/NumberControl-CU94dpBh.js +20 -0
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-6vn1oT7O.js +60 -0
- package/dist/{NumberInput-Cq6cNPOt.js → NumberInput-Io3ZSWBF.js} +1 -1
- package/dist/OneOfDropdown-C04RF5gK.js +35 -0
- package/dist/RadioControl-Ni6f_qCw.js +24 -0
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-CJRt1KAq.js → RadioControlBase.vue_vue_type_script_setup_true_lang-RgveiB05.js} +11 -9
- package/dist/{RichTextControl-DfLozxjM.js → RichTextControl-hHIvuaDd.js} +9 -7
- package/dist/{SectionLayout-B8lhvDwV.js → SectionLayout-DEKmJPJl.js} +2 -2
- package/dist/SimpleButtonControl-R0DY_FSx.js +61 -0
- package/dist/{SimpleTwinlistControl--SlX5r8j.js → SimpleTwinlistControl-Bvhr9f3x.js} +16 -13
- package/dist/SortListControl-CsrP-QT8.js +366 -0
- package/dist/{TextAreaControl-Cxe1N51h.js → TextAreaControl-CNH7s35f.js} +25 -22
- package/dist/{TextControl-C97DTUxi.js → TextControl-C1ZKoreI.js} +1 -1
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-BhX-hMgT.js +87 -0
- package/dist/TimeControl-Bwt1kRki.js +33 -0
- package/dist/{TwinlistControl-Cw71wnqH.js → TwinlistControl-DJ88Q4I-.js} +21 -18
- package/dist/{TwinlistLoadingInfo-5dgWG85L.js → TwinlistLoadingInfo-gheFM17g.js} +9 -9
- package/dist/{ValueSwitch-Ds5TMrQM.js → ValueSwitch-B08Mz10g.js} +1 -1
- package/dist/ValueSwitchControl-BbJHzaom.js +20 -0
- package/dist/{VerticalLayout-FdSZVMXg.js → VerticalLayout-ptrtpOrD.js} +2 -2
- package/dist/{VerticalLayoutBase-BM2Lzz4_.js → VerticalLayoutBase-B8FGVlzl.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-Do6BV4CX.js} +5705 -5674
- package/dist/ZonedDateTimeControl-70XjGsqQ.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-CzJjTpP3.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-YSv0CfBl.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 +1 -1
- 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,6 +1,6 @@
|
|
|
1
|
-
import { openBlock as a, createElementBlock as
|
|
2
|
-
import { _ as
|
|
3
|
-
const
|
|
1
|
+
import { openBlock as a, createElementBlock as n, normalizeClass as o, createElementVNode as r, createCommentVNode as c, defineComponent as m, createBlock as p, unref as f } from "vue";
|
|
2
|
+
import { _ as i } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-Do6BV4CX.js";
|
|
3
|
+
const V = {
|
|
4
4
|
name: "TextArea",
|
|
5
5
|
props: {
|
|
6
6
|
modelValue: {
|
|
@@ -56,15 +56,15 @@ const _ = {
|
|
|
56
56
|
this.$emit("update:modelValue", this.getValue());
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
},
|
|
59
|
+
}, _ = ["id", "name", "title", "value", "cols", "disabled", "rows", "placeholder"], y = {
|
|
60
60
|
key: 0,
|
|
61
61
|
class: "invalid-marker"
|
|
62
62
|
};
|
|
63
|
-
function
|
|
64
|
-
return a(),
|
|
63
|
+
function b(s, l, e, t, v, d) {
|
|
64
|
+
return a(), n("div", {
|
|
65
65
|
class: o({ disabled: e.disabled })
|
|
66
66
|
}, [
|
|
67
|
-
|
|
67
|
+
r("textarea", {
|
|
68
68
|
id: e.id,
|
|
69
69
|
ref: "input",
|
|
70
70
|
name: e.name,
|
|
@@ -75,34 +75,37 @@ function y(u, t, e, l, v, n) {
|
|
|
75
75
|
disabled: e.disabled,
|
|
76
76
|
rows: e.rows,
|
|
77
77
|
placeholder: e.placeholder,
|
|
78
|
-
onInput:
|
|
79
|
-
}, null, 42,
|
|
80
|
-
e.isValid ? c("", !0) : (a(),
|
|
78
|
+
onInput: l[0] || (l[0] = (...u) => d.onInput && d.onInput(...u))
|
|
79
|
+
}, null, 42, _),
|
|
80
|
+
e.isValid ? c("", !0) : (a(), n("span", y))
|
|
81
81
|
], 2);
|
|
82
82
|
}
|
|
83
|
-
const
|
|
83
|
+
const h = /* @__PURE__ */ i(V, [["render", b], ["__scopeId", "data-v-12f15ade"]]), g = /* @__PURE__ */ m({
|
|
84
84
|
__name: "TextAreaControl",
|
|
85
85
|
props: {
|
|
86
86
|
control: {},
|
|
87
87
|
handleChange: { type: Function },
|
|
88
88
|
changeValue: { type: Function },
|
|
89
89
|
disabled: { type: Boolean },
|
|
90
|
+
isValid: { type: Boolean },
|
|
91
|
+
onRegisterValidation: { type: Function },
|
|
90
92
|
labelForId: {}
|
|
91
93
|
},
|
|
92
|
-
setup(
|
|
93
|
-
return (
|
|
94
|
-
var
|
|
95
|
-
return a(), p(f(
|
|
96
|
-
id:
|
|
94
|
+
setup(s) {
|
|
95
|
+
return (l, e) => {
|
|
96
|
+
var t;
|
|
97
|
+
return a(), p(f(h), {
|
|
98
|
+
id: l.labelForId,
|
|
97
99
|
class: "text-area-input",
|
|
98
|
-
"model-value":
|
|
99
|
-
disabled:
|
|
100
|
-
rows: (
|
|
101
|
-
"
|
|
102
|
-
|
|
100
|
+
"model-value": l.control.data,
|
|
101
|
+
disabled: l.disabled,
|
|
102
|
+
rows: (t = l.control.uischema.options) == null ? void 0 : t.rows,
|
|
103
|
+
"is-valid": l.isValid,
|
|
104
|
+
"onUpdate:modelValue": l.changeValue
|
|
105
|
+
}, null, 8, ["id", "model-value", "disabled", "rows", "is-valid", "onUpdate:modelValue"]);
|
|
103
106
|
};
|
|
104
107
|
}
|
|
105
|
-
}), w = /* @__PURE__ */
|
|
108
|
+
}), w = /* @__PURE__ */ i(g, [["__scopeId", "data-v-36a8d374"]]);
|
|
106
109
|
export {
|
|
107
110
|
w as default
|
|
108
111
|
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { defineComponent as k, ref as v, computed as m, openBlock as d, createBlock as i, withCtx as r, unref as l, normalizeProps as P, mergeProps as E, createCommentVNode as h, createVNode as F, renderSlot as f } from "vue";
|
|
2
|
+
import { u as $, L as w, o as B } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-Do6BV4CX.js";
|
|
3
|
+
import { u as N } from "./useHideOnNull-CCfNP3O7.js";
|
|
4
|
+
import { C as H } from "./Checkbox-DSfVQlDb.js";
|
|
5
|
+
import { I } from "./InputField-DhyBnTBT.js";
|
|
6
|
+
const U = /* @__PURE__ */ k({
|
|
7
|
+
__name: "TextControl",
|
|
8
|
+
props: {
|
|
9
|
+
control: {},
|
|
10
|
+
handleChange: { type: Function },
|
|
11
|
+
changeValue: { type: Function },
|
|
12
|
+
disabled: { type: Boolean },
|
|
13
|
+
labelForId: {},
|
|
14
|
+
isValid: { type: Boolean },
|
|
15
|
+
messages: {},
|
|
16
|
+
onRegisterValidation: { type: Function }
|
|
17
|
+
},
|
|
18
|
+
setup(b) {
|
|
19
|
+
var c, p;
|
|
20
|
+
const o = b, a = o.control.schema.pattern;
|
|
21
|
+
if (typeof a == "string") {
|
|
22
|
+
const e = new RegExp(`^(${a})$`), u = (t) => ({
|
|
23
|
+
errors: t === null || typeof t > "u" || !e.test(t) ? [`The value has to match the pattern "${a}"`] : []
|
|
24
|
+
});
|
|
25
|
+
o.onRegisterValidation(u);
|
|
26
|
+
}
|
|
27
|
+
const g = $(
|
|
28
|
+
(c = o.control.uischema.options) == null ? void 0 : c.placeholderProvider,
|
|
29
|
+
((p = o.control.uischema.options) == null ? void 0 : p.placeholder) ?? ""
|
|
30
|
+
), n = v(null), { showCheckbox: V, showControl: C, checkboxProps: y } = N(
|
|
31
|
+
{
|
|
32
|
+
control: m(() => o.control),
|
|
33
|
+
disabled: m(() => o.disabled),
|
|
34
|
+
controlElement: n
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
setDefault: () => o.changeValue(""),
|
|
38
|
+
setNull: () => o.changeValue(null)
|
|
39
|
+
}
|
|
40
|
+
);
|
|
41
|
+
return (e, u) => {
|
|
42
|
+
var t;
|
|
43
|
+
return d(), i(w, {
|
|
44
|
+
label: e.control.label,
|
|
45
|
+
"hide-control-header": (t = e.control.uischema.options) == null ? void 0 : t.hideControlHeader
|
|
46
|
+
}, {
|
|
47
|
+
"before-label": r(() => [
|
|
48
|
+
l(V) ? (d(), i(l(H), P(E({ key: 0 }, l(y))), null, 16)) : h("", !0)
|
|
49
|
+
]),
|
|
50
|
+
default: r(({ labelForId: s }) => [
|
|
51
|
+
l(C) ? (d(), i(B, {
|
|
52
|
+
key: 0,
|
|
53
|
+
errors: e.messages.errors
|
|
54
|
+
}, {
|
|
55
|
+
default: r(() => [
|
|
56
|
+
F(l(I), {
|
|
57
|
+
id: s,
|
|
58
|
+
ref_key: "controlElement",
|
|
59
|
+
ref: n,
|
|
60
|
+
placeholder: l(g),
|
|
61
|
+
"model-value": e.control.data,
|
|
62
|
+
disabled: e.disabled,
|
|
63
|
+
"is-valid": e.isValid,
|
|
64
|
+
compact: "",
|
|
65
|
+
"onUpdate:modelValue": e.changeValue
|
|
66
|
+
}, null, 8, ["id", "placeholder", "model-value", "disabled", "is-valid", "onUpdate:modelValue"])
|
|
67
|
+
]),
|
|
68
|
+
_: 2
|
|
69
|
+
}, 1032, ["errors"])) : h("", !0)
|
|
70
|
+
]),
|
|
71
|
+
icon: r(() => [
|
|
72
|
+
f(e.$slots, "icon")
|
|
73
|
+
]),
|
|
74
|
+
buttons: r(({ hover: s }) => [
|
|
75
|
+
f(e.$slots, "buttons", {
|
|
76
|
+
hover: s,
|
|
77
|
+
controlHTMLElement: n.value
|
|
78
|
+
})
|
|
79
|
+
]),
|
|
80
|
+
_: 3
|
|
81
|
+
}, 8, ["label", "hide-control-header"]);
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
export {
|
|
86
|
+
U as _
|
|
87
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { defineComponent as r, computed as s, openBlock as m, createBlock as u, unref as l } from "vue";
|
|
2
|
+
import { D as p } from "./DateTimeInput-96g3nCth.js";
|
|
3
|
+
import { l as a } from "./localTimeUtils-CzJjTpP3.js";
|
|
4
|
+
const g = /* @__PURE__ */ r({
|
|
5
|
+
__name: "TimeControl",
|
|
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(t) {
|
|
16
|
+
const i = t, n = s(() => a.fromString(i.control.data));
|
|
17
|
+
return (e, o) => (m(), u(l(p), {
|
|
18
|
+
id: e.labelForId,
|
|
19
|
+
"model-value": n.value,
|
|
20
|
+
required: !0,
|
|
21
|
+
compact: "",
|
|
22
|
+
disabled: e.disabled,
|
|
23
|
+
"show-date": !1,
|
|
24
|
+
"show-time": !0,
|
|
25
|
+
"show-milliseconds": !0,
|
|
26
|
+
"is-valid": e.isValid,
|
|
27
|
+
"onUpdate:modelValue": o[0] || (o[0] = (d) => e.changeValue(l(a).toString(d)))
|
|
28
|
+
}, null, 8, ["id", "model-value", "disabled", "is-valid"]));
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
export {
|
|
32
|
+
g as default
|
|
33
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { openBlock as
|
|
1
|
+
import { openBlock as f, createElementBlock as k, createElementVNode as H, toRef as W, resolveComponent as y, normalizeClass as G, createBlock as I, withCtx as C, createVNode as g, createCommentVNode as P, mergeProps as x, ref as M, watch as _, defineComponent as J, computed as u, markRaw as K, unref as L } from "vue";
|
|
2
2
|
import { g as U, a as Q, m as X } from "./index-hm05O8UX.js";
|
|
3
3
|
import { w as Y } from "./getPossibleValuesFromUiSchema-hQj1TCOR.js";
|
|
4
|
-
import { n as Z, _ as B, u as $, k as ee } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-
|
|
5
|
-
import { S as te, T as le, u as ae, a as ne } from "./TwinlistLoadingInfo-
|
|
4
|
+
import { n as Z, _ as B, u as $, k as ee } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-Do6BV4CX.js";
|
|
5
|
+
import { S as te, T as le, u as ae, a as ne } from "./TwinlistLoadingInfo-gheFM17g.js";
|
|
6
6
|
import { f as F } from "./useSearch-hpyYQ_6y.js";
|
|
7
|
-
import { C as se } from "./Checkboxes-
|
|
8
|
-
import { V as oe } from "./ValueSwitch-
|
|
7
|
+
import { C as se } from "./Checkboxes-DUJ3v5jU.js";
|
|
8
|
+
import { V as oe } from "./ValueSwitch-B08Mz10g.js";
|
|
9
9
|
const ie = {
|
|
10
10
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11
11
|
fill: "none",
|
|
@@ -16,7 +16,7 @@ const ie = {
|
|
|
16
16
|
de
|
|
17
17
|
];
|
|
18
18
|
function ce(t, a) {
|
|
19
|
-
return
|
|
19
|
+
return f(), k("svg", ie, [...re]);
|
|
20
20
|
}
|
|
21
21
|
const ue = { render: ce }, me = {
|
|
22
22
|
manual: "Manual",
|
|
@@ -252,11 +252,11 @@ const ue = { render: ce }, me = {
|
|
|
252
252
|
}
|
|
253
253
|
};
|
|
254
254
|
function he(t, a, l, n, o, s) {
|
|
255
|
-
const d =
|
|
256
|
-
return
|
|
255
|
+
const d = y("ValueSwitch"), r = y("Label"), b = y("FilterIcon"), w = y("SearchInput"), v = y("Checkboxes"), p = y("Twinlist");
|
|
256
|
+
return f(), k("div", {
|
|
257
257
|
class: G(["multi-mode-twinlist", { disabled: l.disabled }])
|
|
258
258
|
}, [
|
|
259
|
-
l.showMode ? (
|
|
259
|
+
l.showMode ? (f(), I(r, {
|
|
260
260
|
key: 0,
|
|
261
261
|
active: l.withModeLabel,
|
|
262
262
|
text: l.modeLabel,
|
|
@@ -275,7 +275,7 @@ function he(t, a, l, n, o, s) {
|
|
|
275
275
|
]),
|
|
276
276
|
_: 1
|
|
277
277
|
}, 8, ["active", "text"])) : P("", !0),
|
|
278
|
-
l.mode === "regex" || l.mode === "wildcard" ? (
|
|
278
|
+
l.mode === "regex" || l.mode === "wildcard" ? (f(), I(r, {
|
|
279
279
|
key: 1,
|
|
280
280
|
active: l.withPatternLabel,
|
|
281
281
|
text: l.patternLabel,
|
|
@@ -309,7 +309,7 @@ function he(t, a, l, n, o, s) {
|
|
|
309
309
|
]),
|
|
310
310
|
_: 1
|
|
311
311
|
}, 8, ["active", "text"])) : P("", !0),
|
|
312
|
-
l.mode === "type" && s.possibleTypes.length > 0 ? (
|
|
312
|
+
l.mode === "type" && s.possibleTypes.length > 0 ? (f(), I(r, {
|
|
313
313
|
key: 2,
|
|
314
314
|
active: l.withTypesLabel,
|
|
315
315
|
text: l.typesLabel,
|
|
@@ -336,7 +336,7 @@ function he(t, a, l, n, o, s) {
|
|
|
336
336
|
}), null, 16, ["disabled", "show-search", "model-value", "possible-values", "compact", "onUpdate:modelValue"])
|
|
337
337
|
], 2);
|
|
338
338
|
}
|
|
339
|
-
const ve = /* @__PURE__ */ B(pe, [["render", he], ["__scopeId", "data-v-06592f92"]]),
|
|
339
|
+
const ve = /* @__PURE__ */ B(pe, [["render", he], ["__scopeId", "data-v-06592f92"]]), ye = ({
|
|
340
340
|
knownValuesSide: t,
|
|
341
341
|
possibleValueIds: a,
|
|
342
342
|
unknownValuesSide: l
|
|
@@ -349,7 +349,7 @@ const ve = /* @__PURE__ */ B(pe, [["render", he], ["__scopeId", "data-v-06592f92
|
|
|
349
349
|
...s(t.previous),
|
|
350
350
|
...Q(a, n)
|
|
351
351
|
]);
|
|
352
|
-
},
|
|
352
|
+
}, fe = ({
|
|
353
353
|
data: t,
|
|
354
354
|
possibleValueIds: a
|
|
355
355
|
}) => {
|
|
@@ -373,7 +373,7 @@ const ve = /* @__PURE__ */ B(pe, [["render", he], ["__scopeId", "data-v-06592f92
|
|
|
373
373
|
r = S;
|
|
374
374
|
}
|
|
375
375
|
}, T = v ? p : c, V = v ? c : p;
|
|
376
|
-
|
|
376
|
+
ye({
|
|
377
377
|
possibleValueIds: a.value,
|
|
378
378
|
knownValuesSide: T,
|
|
379
379
|
unknownValuesSide: V
|
|
@@ -401,6 +401,8 @@ const ve = /* @__PURE__ */ B(pe, [["render", he], ["__scopeId", "data-v-06592f92
|
|
|
401
401
|
handleChange: {},
|
|
402
402
|
changeValue: {},
|
|
403
403
|
disabled: { type: Boolean },
|
|
404
|
+
isValid: { type: Boolean },
|
|
405
|
+
onRegisterValidation: {},
|
|
404
406
|
labelForId: {},
|
|
405
407
|
twinlistSize: { default: 10 },
|
|
406
408
|
twinlistLeftLabel: { default: "Excludes" },
|
|
@@ -448,7 +450,7 @@ const ve = /* @__PURE__ */ B(pe, [["render", he], ["__scopeId", "data-v-06592f92
|
|
|
448
450
|
), c = Y(
|
|
449
451
|
$(p, null),
|
|
450
452
|
a.control
|
|
451
|
-
), T = M([]), { selectedAndDeselected: V, setCurrentManualFilter: S } =
|
|
453
|
+
), T = M([]), { selectedAndDeselected: V, setCurrentManualFilter: S } = fe({
|
|
452
454
|
data: u(() => a.control.data),
|
|
453
455
|
possibleValueIds: u(
|
|
454
456
|
() => {
|
|
@@ -513,7 +515,7 @@ const ve = /* @__PURE__ */ B(pe, [["render", he], ["__scopeId", "data-v-06592f92
|
|
|
513
515
|
);
|
|
514
516
|
return (e, i) => {
|
|
515
517
|
var m;
|
|
516
|
-
return
|
|
518
|
+
return f(), I(L(ve), x(e.$attrs, {
|
|
517
519
|
id: e.labelForId,
|
|
518
520
|
"show-mode": R.value,
|
|
519
521
|
"show-search": q.value,
|
|
@@ -534,6 +536,7 @@ const ve = /* @__PURE__ */ B(pe, [["render", he], ["__scopeId", "data-v-06592f92
|
|
|
534
536
|
size: e.twinlistSize,
|
|
535
537
|
"left-label": E.value,
|
|
536
538
|
"right-label": O.value,
|
|
539
|
+
"is-valid": e.isValid,
|
|
537
540
|
compact: "",
|
|
538
541
|
"show-resize-handle": "",
|
|
539
542
|
"onUpdate:selected": o,
|
|
@@ -543,10 +546,10 @@ const ve = /* @__PURE__ */ B(pe, [["render", he], ["__scopeId", "data-v-06592f92
|
|
|
543
546
|
"onUpdate:selectedTypes": b,
|
|
544
547
|
"onUpdate:inversePattern": w,
|
|
545
548
|
"onUpdate:caseSensitivePattern": v
|
|
546
|
-
}), null, 16, ["id", "show-mode", "show-search", "disabled", "with-types", "selected-types", "additional-possible-types", "pattern", "mode", "case-sensitive-pattern", "empty-state-component", "inverse-pattern", "manual-selection", "include-unknown-values", "possible-values", "size", "left-label", "right-label"]);
|
|
549
|
+
}), null, 16, ["id", "show-mode", "show-search", "disabled", "with-types", "selected-types", "additional-possible-types", "pattern", "mode", "case-sensitive-pattern", "empty-state-component", "inverse-pattern", "manual-selection", "include-unknown-values", "possible-values", "size", "left-label", "right-label", "is-valid"]);
|
|
547
550
|
};
|
|
548
551
|
}
|
|
549
|
-
}), Me = /* @__PURE__ */ B(be, [["__scopeId", "data-v-
|
|
552
|
+
}), Me = /* @__PURE__ */ B(be, [["__scopeId", "data-v-365ec376"]]);
|
|
550
553
|
export {
|
|
551
554
|
Me as default
|
|
552
555
|
};
|
|
@@ -2,14 +2,14 @@ import { openBlock as m, createElementBlock as w, createElementVNode as v, compu
|
|
|
2
2
|
import { A as de } from "./arrow-next-CvdR0-WC.js";
|
|
3
3
|
import { u as Z } from "./useSearch-hpyYQ_6y.js";
|
|
4
4
|
import { i as O } from "./isObject-B53jY8Qg.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { M as ve } from "./MultiselectListBox-
|
|
5
|
+
import { i as he, r as fe } from "./isSymbol-OFe5xy2f.js";
|
|
6
|
+
import { _ as N, n as me } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-Do6BV4CX.js";
|
|
7
|
+
import { M as ve } from "./MultiselectListBox-6f4JE0Ny.js";
|
|
8
8
|
import { C as ge } from "./close-h7XT0ja0.js";
|
|
9
|
-
import { F as be } from "./FunctionButton-
|
|
10
|
-
import { I as Se } from "./InputField-
|
|
9
|
+
import { F as be } from "./FunctionButton-CapvFBi0.js";
|
|
10
|
+
import { I as Se } from "./InputField-DhyBnTBT.js";
|
|
11
11
|
import { c as X } from "./createMissingItem-B00Kg95q.js";
|
|
12
|
-
import { L as we } from "./svgWithTitle-
|
|
12
|
+
import { L as we } from "./svgWithTitle-YSv0CfBl.js";
|
|
13
13
|
const _e = {
|
|
14
14
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15
15
|
fill: "none",
|
|
@@ -42,7 +42,7 @@ var J = NaN, Ee = /^[-+]0x[0-9a-f]+$/i, Te = /^0b[01]+$/i, Me = /^0o[0-7]+$/i, R
|
|
|
42
42
|
function Q(e) {
|
|
43
43
|
if (typeof e == "number")
|
|
44
44
|
return e;
|
|
45
|
-
if (
|
|
45
|
+
if (he(e))
|
|
46
46
|
return J;
|
|
47
47
|
if (O(e)) {
|
|
48
48
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
@@ -55,7 +55,7 @@ function Q(e) {
|
|
|
55
55
|
return n || Me.test(e) ? Re(e.slice(2), n ? 2 : 8) : Ee.test(e) ? J : +e;
|
|
56
56
|
}
|
|
57
57
|
var P = function() {
|
|
58
|
-
return
|
|
58
|
+
return fe.Date.now();
|
|
59
59
|
}, Ae = "Expected a function", De = Math.max, Oe = Math.min;
|
|
60
60
|
function Ne(e, t, n) {
|
|
61
61
|
var s, i, l, d, r, o, b = 0, S = !1, g = !1, _ = !0;
|
|
@@ -481,7 +481,7 @@ const gt = { render: vt }, bt = (e) => (F("data-v-d36066f7"), e = e(), q(), e),
|
|
|
481
481
|
ArrowPrevDoubleIcon: dt,
|
|
482
482
|
ArrowPrevIcon: gt,
|
|
483
483
|
MultiselectListBox: ve,
|
|
484
|
-
Label:
|
|
484
|
+
Label: me,
|
|
485
485
|
SearchInput: tt,
|
|
486
486
|
ResizeHandle: pt
|
|
487
487
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, openBlock as o, createElementBlock as d, Fragment as n, renderList as V, normalizeClass as p, createElementVNode as s, toDisplayString as u, renderSlot as m, createCommentVNode as v, pushScopeId as B, popScopeId as $, resolveComponent as S, createBlock as g, withCtx as _, normalizeProps as w, guardReactiveProps as I } from "vue";
|
|
2
|
-
import { _ as f } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-
|
|
2
|
+
import { _ as f } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-Do6BV4CX.js";
|
|
3
3
|
let r = 0;
|
|
4
4
|
const k = i({
|
|
5
5
|
name: "BaseRadioButtons",
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent as o, openBlock as n, createBlock as t, mergeProps as a } from "vue";
|
|
2
|
+
import { _ as p } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-RgveiB05.js";
|
|
3
|
+
const s = /* @__PURE__ */ o({
|
|
4
|
+
__name: "ValueSwitchControl",
|
|
5
|
+
props: {
|
|
6
|
+
control: {},
|
|
7
|
+
handleChange: { type: Function },
|
|
8
|
+
changeValue: { type: Function },
|
|
9
|
+
disabled: { type: Boolean },
|
|
10
|
+
isValid: { type: Boolean },
|
|
11
|
+
onRegisterValidation: { type: Function },
|
|
12
|
+
labelForId: {}
|
|
13
|
+
},
|
|
14
|
+
setup(r) {
|
|
15
|
+
return (e, l) => (n(), t(p, a(e.$props, { type: "valueSwitch" }), null, 16));
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
s as default
|
|
20
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as a, createBlock as l, withCtx as s, unref as n } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { V as m } from "./VerticalLayoutBase-
|
|
2
|
+
import { q as u } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-Do6BV4CX.js";
|
|
3
|
+
import { V as m } from "./VerticalLayoutBase-B8FGVlzl.js";
|
|
4
4
|
const d = /* @__PURE__ */ o({
|
|
5
5
|
__name: "VerticalLayout",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as n, openBlock as r, createElementBlock as o, Fragment as a, renderList as c, renderSlot as l } from "vue";
|
|
2
|
-
import { _ } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-
|
|
2
|
+
import { _ } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-Do6BV4CX.js";
|
|
3
3
|
const p = { class: "vertical-layout" }, u = /* @__PURE__ */ n({
|
|
4
4
|
__name: "VerticalLayoutBase",
|
|
5
5
|
props: {
|