@knime/jsonforms 1.16.0 → 1.16.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 +6 -0
- package/dist/{AnyOfTwinlist-C9w8Fl_L.js → AnyOfTwinlist-DtaF_u6U.js} +1 -1
- package/dist/{Button-B0r-Emss.js → Button-Cu51l4bN.js} +2 -2
- package/dist/Checkbox-j2BHg9c2.js +75 -0
- package/dist/CheckboxControl-DlrBk_t-.js +38 -0
- package/dist/{Checkboxes-Ba0RB85i.js → Checkboxes-C4BHYTeg.js} +12 -11
- package/dist/{CheckboxesControl-BZG3enbb.js → CheckboxesControl-Ctf4hFx-.js} +3 -3
- package/dist/{ComboBoxControl-bxENnSMl.js → ComboBoxControl-C0TKjQ9H.js} +9 -8
- package/dist/{DateControl-Bk9PHLT-.js → DateControl-CLtzEb3q.js} +1 -1
- package/dist/{DateTimeControl-BvQsaCsy.js → DateTimeControl-CAyZLa9P.js} +1 -1
- package/dist/{DateTimeFormatInput-Cbo733sW.js → DateTimeFormatInput-nxyilTQe.js} +4 -4
- package/dist/{DateTimeFormatPickerControl-DYX8qTRh.js → DateTimeFormatPickerControl-CaHCQY_z.js} +2 -2
- package/dist/{DateTimeFormatPickerWithTypeControl-0_zbbVu1.js → DateTimeFormatPickerWithTypeControl-BzujiRnu.js} +3 -3
- package/dist/{Dropdown-BFQl_-xG.js → Dropdown-DKsatUXQ.js} +47 -47
- package/dist/{DropdownControl-BjF5nBpG.js → DropdownControl-fWiY6zSU.js} +2 -2
- package/dist/{HorizontalLayout-BsUFm6j-.js → HorizontalLayout-Uv7eOyiw.js} +1 -1
- package/dist/{InputField-C1PEeYhh.js → InputField-7vUzz3gU.js} +1 -1
- package/dist/{IntegerControl-DNiIv2pP.js → IntegerControl-PouaLhEd.js} +1 -1
- package/dist/{IntervalControl-Bg02brIl.js → IntervalControl-CrNhcyDz.js} +20 -20
- package/dist/{LoadingDropdown-zmuTTM9Y.js → LoadingDropdown-hIKRVdsJ.js} +7 -8
- package/dist/{LoadingIcon-tq_66TmT.js → LoadingIcon-BiopmPdv.js} +1 -1
- package/dist/{ManualTwinlistControl-CA9WQMmN.js → ManualTwinlistControl-JeDVI9XZ.js} +4 -4
- package/dist/{MultiSelectListBoxControl-BSgZOd15.js → MultiSelectListBoxControl-keatC0mr.js} +2 -2
- package/dist/{MultimodeTwinlistControl-w-8eAVF0.js → MultimodeTwinlistControl-BmUnzPL0.js} +24 -25
- package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_c2a3d1cb_lang-DTHVrFGi.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_c2a3d1cb_lang-i1sKqGpD.js} +2 -2
- package/dist/{MultiselectListBox-zv8XVs4P.js → MultiselectListBox-DnmueQa9.js} +5 -5
- package/dist/{NameFilter-BpoPW2qN.js → NameFilter-3G1LBpWl.js} +1 -1
- package/dist/{NumberControl-BSrYe_fY.js → NumberControl-VgVBGYzy.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-BN8arFXD.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CHK6QigD.js} +2 -2
- package/dist/{NumberInput-Chk05grQ.js → NumberInput-1TaN0t95.js} +1 -1
- package/dist/{OneOfDropdown-DfpTKUBC.js → OneOfDropdown-DUo3pgq3.js} +1 -1
- package/dist/{RadioControl-CWmA9UbV.js → RadioControl-B3VW0lxq.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-FT6rkly3.js → RadioControlBase.vue_vue_type_script_setup_true_lang-XRpR6Evz.js} +3 -3
- package/dist/{RichTextControl-zbYNAb2X.js → RichTextControl-niwmOZHL.js} +17 -16
- package/dist/{SectionHeading-CTXoxhFp.js → SectionHeading-CLDmaOwa.js} +6 -6
- package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B-_bJCAr.js +15898 -0
- package/dist/{SectionLayout-CaKOBlmd.js → SectionLayout-D0m9O0lb.js} +6 -6
- package/dist/SettingsSubPanel-DniQRWth.js +5 -0
- package/dist/{SettingsSubPanelLayout-vqHi1mwq.js → SettingsSubPanelLayout-D5gYeso_.js} +11 -11
- package/dist/{SimpleButtonControl-CiGnTcJx.js → SimpleButtonControl-DKXzMPLR.js} +7 -7
- package/dist/{SimpleTwinlistControl-Bd6a4sSN.js → SimpleTwinlistControl-CYTqz_TS.js} +2 -2
- package/dist/{SingleSelectControl-B25d5AV-.js → SingleSelectControl-D4F-nh0T.js} +2 -2
- package/dist/{SingleSelectListBoxControl-e3NjoDwO.js → SingleSelectListBoxControl-Bs9E-c4t.js} +5 -5
- package/dist/{SortListControl-zHBVtp3y.js → SortListControl-BsQ3P3Hb.js} +19 -20
- package/dist/{StyledListItem-Bf4_t7An.js → StyledListItem-CHwfN-6N.js} +1 -1
- package/dist/{TextAreaControl-DwDN1lMX.js → TextAreaControl-BY6heyhR.js} +1 -1
- package/dist/{TextControl-CaNhuMfy.js → TextControl-B_n608sx.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-Bmha1ek2.js → TextControl.vue_vue_type_script_setup_true_lang-ObH92j9d.js} +3 -3
- package/dist/{TimeControl-6Z2nViY5.js → TimeControl-DbhgeF4K.js} +1 -1
- package/dist/{TwinlistControlBase-CBz7ZXLR.js → TwinlistControlBase-HdpOOswC.js} +9 -10
- package/dist/{TwinlistLoadingInfo-DodENy4R.js → TwinlistLoadingInfo-CUQGhSyk.js} +42 -42
- package/dist/{TypedStringFilter-BR74sNc_.js → TypedStringFilter-BHTpKo7n.js} +1 -1
- package/dist/{ValueSwitch-YkIKaSTU.js → ValueSwitch-o7yLk5E_.js} +4 -4
- package/dist/{ValueSwitchControl-LUGrJQNf.js → ValueSwitchControl-DWk-5-7Y.js} +1 -1
- package/dist/{VerticalLayout-Bk_v1lbf.js → VerticalLayout-YEimQESt.js} +2 -2
- package/dist/{VerticalLayoutBase-PI5y_BZl.js → VerticalLayoutBase-CubtF96B.js} +1 -1
- package/dist/{ZonedDateTimeControl-C-R9RMG4.js → ZonedDateTimeControl-c22QgTVi.js} +3 -3
- package/dist/{_baseEach-ZWMVQef1.js → _baseEach-B3-dJ8Qr.js} +2 -2
- package/dist/{_baseIteratee-CiD9ZcUt.js → _baseIteratee-DN5hDUH3.js} +13 -13
- package/dist/{_getTag-BLNrS850.js → _getTag-RjhNpvAW.js} +28 -28
- package/dist/{index-CpKfM262.js → index-CZ-Na6c0.js} +5 -5
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +24 -24
- package/dist/{localTimeUtils-BdNsJ0Hu.js → localTimeUtils-BApYySBH.js} +6 -6
- package/dist/src/uiComponents/composables/useHideOnNull.d.ts +5 -8
- package/dist/testing.js +2 -2
- package/dist/{toString-Ccj7hvlM.js → toString-y41jS6UW.js} +1 -1
- package/dist/{useBuiltinValidations-DbI2-bMu.js → useBuiltinValidations-BFzxi-t9.js} +1 -1
- package/dist/{usePossibleValues-DBLA1Uo3.js → usePossibleValues-BW08TF4d.js} +1 -1
- package/package.json +2 -2
- package/dist/CheckboxControl-C1tJMl_l.js +0 -40
- package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-DlmsI7j4.js +0 -15684
- package/dist/SettingsSubPanel-B5njXkCU.js +0 -5
- package/dist/index-CaGi0eui.js +0 -204
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as s, createBlock as t, openBlock as p, mergeProps as a, unref as l } from "vue";
|
|
2
2
|
import { o as r } from "./index-Blg1O3Fz.js";
|
|
3
|
-
import { T as i } from "./TwinlistControlBase-
|
|
3
|
+
import { T as i } from "./TwinlistControlBase-HdpOOswC.js";
|
|
4
4
|
const y = /* @__PURE__ */ s({
|
|
5
5
|
__name: "AnyOfTwinlist",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, resolveComponent as a, createBlock as s, openBlock as n, normalizeClass as r, withCtx as l, renderSlot as i } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { B as p, _ as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B-_bJCAr.js";
|
|
3
3
|
const c = o({
|
|
4
4
|
name: "Button",
|
|
5
5
|
components: {
|
|
@@ -64,7 +64,7 @@ const c = o({
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
});
|
|
67
|
-
function f(e,
|
|
67
|
+
function f(e, B, u, m, h, _) {
|
|
68
68
|
const t = a("BaseButton");
|
|
69
69
|
return n(), s(t, {
|
|
70
70
|
class: r(e.classes),
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { createElementBlock as s, openBlock as i, normalizeClass as o, createElementVNode as d, renderSlot as c } from "vue";
|
|
2
|
+
import { _ as u } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B-_bJCAr.js";
|
|
3
|
+
const r = {
|
|
4
|
+
name: "Checkbox",
|
|
5
|
+
props: {
|
|
6
|
+
id: {
|
|
7
|
+
type: String,
|
|
8
|
+
default: null
|
|
9
|
+
},
|
|
10
|
+
name: {
|
|
11
|
+
type: String,
|
|
12
|
+
default: null
|
|
13
|
+
},
|
|
14
|
+
modelValue: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: !1
|
|
17
|
+
},
|
|
18
|
+
disabled: {
|
|
19
|
+
default: !1,
|
|
20
|
+
type: Boolean
|
|
21
|
+
},
|
|
22
|
+
invalid: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: !1
|
|
25
|
+
},
|
|
26
|
+
/**
|
|
27
|
+
* Controls the size of the label
|
|
28
|
+
* supported values:
|
|
29
|
+
* - regular
|
|
30
|
+
* - large
|
|
31
|
+
*/
|
|
32
|
+
labelSize: {
|
|
33
|
+
type: String,
|
|
34
|
+
default: "regular",
|
|
35
|
+
validator: (e) => ["regular", "large"].includes(e)
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
emits: ["update:modelValue"],
|
|
39
|
+
computed: {
|
|
40
|
+
classes() {
|
|
41
|
+
return ["checkbox", this.labelSize, { disabled: this.disabled }];
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
methods: {
|
|
45
|
+
onInput(e) {
|
|
46
|
+
const { checked: l } = e.target;
|
|
47
|
+
consola.trace("Checkbox value changed to", l), this.$emit("update:modelValue", l);
|
|
48
|
+
},
|
|
49
|
+
isChecked() {
|
|
50
|
+
return this.$refs.input.checked;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}, m = ["id", "name", "checked", "disabled"];
|
|
54
|
+
function f(e, l, a, h, p, t) {
|
|
55
|
+
return i(), s("label", {
|
|
56
|
+
class: o([t.classes, { invalid: a.invalid }])
|
|
57
|
+
}, [
|
|
58
|
+
d("input", {
|
|
59
|
+
id: a.id,
|
|
60
|
+
ref: "input",
|
|
61
|
+
name: a.name,
|
|
62
|
+
checked: a.modelValue,
|
|
63
|
+
disabled: a.disabled,
|
|
64
|
+
type: "checkbox",
|
|
65
|
+
onChange: l[0] || (l[0] = (...n) => t.onInput && t.onInput(...n))
|
|
66
|
+
}, null, 40, m),
|
|
67
|
+
d("span", null, [
|
|
68
|
+
c(e.$slots, "default", {}, void 0, !0)
|
|
69
|
+
])
|
|
70
|
+
], 2);
|
|
71
|
+
}
|
|
72
|
+
const _ = /* @__PURE__ */ u(r, [["render", f], ["__scopeId", "data-v-54817902"]]);
|
|
73
|
+
export {
|
|
74
|
+
_ as C
|
|
75
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { defineComponent as s, ref as d, createElementBlock as r, openBlock as c, createElementVNode as i, renderSlot as a, createVNode as u, unref as v } from "vue";
|
|
2
|
+
import { a1 as b, _ as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B-_bJCAr.js";
|
|
3
|
+
const p = { class: "checkbox-container" }, f = /* @__PURE__ */ s({
|
|
4
|
+
__name: "CheckboxControl",
|
|
5
|
+
props: {
|
|
6
|
+
control: {},
|
|
7
|
+
handleChange: { type: Function },
|
|
8
|
+
changeValue: { type: Function },
|
|
9
|
+
disabled: { type: Boolean },
|
|
10
|
+
labelForId: {},
|
|
11
|
+
isValid: { type: Boolean },
|
|
12
|
+
messages: {},
|
|
13
|
+
onRegisterValidation: { type: Function }
|
|
14
|
+
},
|
|
15
|
+
setup(o) {
|
|
16
|
+
const l = d(!1);
|
|
17
|
+
return (n, e) => (c(), r("div", {
|
|
18
|
+
class: "checkbox-input",
|
|
19
|
+
onMouseover: e[1] || (e[1] = (t) => l.value = !0),
|
|
20
|
+
onMouseleave: e[2] || (e[2] = (t) => l.value = !1)
|
|
21
|
+
}, [
|
|
22
|
+
i("div", p, [
|
|
23
|
+
u(v(b), {
|
|
24
|
+
class: "checkbox",
|
|
25
|
+
disabled: o.disabled,
|
|
26
|
+
"model-value": o.control.data,
|
|
27
|
+
label: o.control.label,
|
|
28
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => o.changeValue(t))
|
|
29
|
+
}, null, 8, ["disabled", "model-value", "label"]),
|
|
30
|
+
a(n.$slots, "icon", {}, void 0, !0)
|
|
31
|
+
]),
|
|
32
|
+
a(n.$slots, "buttons", { hover: l.value }, void 0, !0)
|
|
33
|
+
], 32));
|
|
34
|
+
}
|
|
35
|
+
}), x = /* @__PURE__ */ m(f, [["__scopeId", "data-v-dc3caa04"]]);
|
|
36
|
+
export {
|
|
37
|
+
x as default
|
|
38
|
+
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { resolveComponent as
|
|
1
|
+
import { C as c } from "./Checkbox-j2BHg9c2.js";
|
|
2
|
+
import { resolveComponent as u, createElementBlock as s, openBlock as o, normalizeClass as f, Fragment as m, renderList as h, createBlock as p, withCtx as x, renderSlot as b, createTextVNode as V, toDisplayString as y } from "vue";
|
|
3
|
+
import { _ as k } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B-_bJCAr.js";
|
|
3
4
|
const _ = {
|
|
4
5
|
name: "Checkboxes",
|
|
5
6
|
components: {
|
|
6
|
-
Checkbox:
|
|
7
|
+
Checkbox: c
|
|
7
8
|
},
|
|
8
9
|
props: {
|
|
9
10
|
/**
|
|
@@ -75,11 +76,11 @@ const _ = {
|
|
|
75
76
|
}
|
|
76
77
|
};
|
|
77
78
|
function v(e, a, t, r, C, d) {
|
|
78
|
-
const n =
|
|
79
|
+
const n = u("Checkbox");
|
|
79
80
|
return o(), s("div", {
|
|
80
|
-
class:
|
|
81
|
+
class: f(["checkboxes", t.alignment])
|
|
81
82
|
}, [
|
|
82
|
-
(o(!0), s(m, null,
|
|
83
|
+
(o(!0), s(m, null, h(t.possibleValues, (l) => (o(), p(n, {
|
|
83
84
|
ref_for: !0,
|
|
84
85
|
ref: "boxes",
|
|
85
86
|
key: `checkboxes-${l.id}`,
|
|
@@ -90,16 +91,16 @@ function v(e, a, t, r, C, d) {
|
|
|
90
91
|
class: "box",
|
|
91
92
|
"onUpdate:modelValue": (i) => d.onUpdateModelValue(l.id, i)
|
|
92
93
|
}, {
|
|
93
|
-
default:
|
|
94
|
-
|
|
95
|
-
y(
|
|
94
|
+
default: x(() => [
|
|
95
|
+
b(e.$slots, "label", { slotItem: l }, () => [
|
|
96
|
+
V(y(l.text), 1)
|
|
96
97
|
], !0)
|
|
97
98
|
]),
|
|
98
99
|
_: 2
|
|
99
100
|
}, 1032, ["model-value", "title", "invalid", "disabled", "onUpdate:modelValue"]))), 128))
|
|
100
101
|
], 2);
|
|
101
102
|
}
|
|
102
|
-
const
|
|
103
|
+
const O = /* @__PURE__ */ k(_, [["render", v], ["__scopeId", "data-v-c83ea4f7"]]);
|
|
103
104
|
export {
|
|
104
|
-
|
|
105
|
+
O as C
|
|
105
106
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as c, computed as t, ref as i, toRef as u, onMounted as d, createBlock as r, createCommentVNode as m, openBlock as p, unref as b } from "vue";
|
|
2
2
|
import { o as f } from "./index-Blg1O3Fz.js";
|
|
3
|
-
import { u as h } from "./usePossibleValues-
|
|
4
|
-
import { C as v } from "./Checkboxes-
|
|
5
|
-
import { _ as V } from "./SectionHeading.
|
|
3
|
+
import { u as h } from "./usePossibleValues-BW08TF4d.js";
|
|
4
|
+
import { C as v } from "./Checkboxes-C4BHYTeg.js";
|
|
5
|
+
import { _ as V } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B-_bJCAr.js";
|
|
6
6
|
const y = /* @__PURE__ */ c({
|
|
7
7
|
__name: "CheckboxesControl",
|
|
8
8
|
props: {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { resolveComponent as f, createElementBlock as b, openBlock as r, withModifiers as a, withKeys as u, normalizeClass as w, renderSlot as F, withDirectives as S, createElementVNode as p, createVNode as h, toDisplayString as C, normalizeStyle as A, Fragment as D, renderList as P, createBlock as E, withCtx as O, createTextVNode as T, vShow as k, defineComponent as x, vModelText as $, toRef as z, computed as y, unref as N } from "vue";
|
|
2
|
-
import { u as U } from "./usePossibleValues-
|
|
2
|
+
import { u as U } from "./usePossibleValues-BW08TF4d.js";
|
|
3
3
|
import { C as L } from "./close-W1x27NhZ.js";
|
|
4
|
-
import { _ as B,
|
|
4
|
+
import { _ as B, D as H } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B-_bJCAr.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { A as
|
|
6
|
+
import { A as K } from "./arrow-dropdown-BHK4j8GT.js";
|
|
7
|
+
import { C as j } from "./Checkbox-j2BHg9c2.js";
|
|
7
8
|
import { c as W } from "./createMissingItem-B00Kg95q.js";
|
|
8
9
|
const g = () => {
|
|
9
10
|
let e = document?.activeElement;
|
|
@@ -13,8 +14,8 @@ const g = () => {
|
|
|
13
14
|
}, v = 1, G = 28.5, X = 8, q = {
|
|
14
15
|
name: "Multiselect",
|
|
15
16
|
components: {
|
|
16
|
-
Checkbox:
|
|
17
|
-
DropdownIcon:
|
|
17
|
+
Checkbox: j,
|
|
18
|
+
DropdownIcon: K
|
|
18
19
|
},
|
|
19
20
|
props: {
|
|
20
21
|
/**
|
|
@@ -299,7 +300,7 @@ const Z = /* @__PURE__ */ B(q, [["render", Y], ["__scopeId", "data-v-eeb8fb15"]]
|
|
|
299
300
|
name: "ComboBox",
|
|
300
301
|
components: {
|
|
301
302
|
Multiselect: Z,
|
|
302
|
-
FunctionButton:
|
|
303
|
+
FunctionButton: H,
|
|
303
304
|
CloseIcon: L
|
|
304
305
|
},
|
|
305
306
|
props: {
|
|
@@ -609,7 +610,7 @@ const ie = /* @__PURE__ */ B(_, [["render", le], ["__scopeId", "data-v-b2800209"
|
|
|
609
610
|
"onUpdate:modelValue": d[0] || (d[0] = (s) => e.changeValue(s))
|
|
610
611
|
}, null, 8, ["id", "allow-new-values", "aria-label", "disabled", "possible-values", "model-value", "is-valid"]));
|
|
611
612
|
}
|
|
612
|
-
}),
|
|
613
|
+
}), be = /* @__PURE__ */ B(ne, [["__scopeId", "data-v-cb6aa225"]]);
|
|
613
614
|
export {
|
|
614
|
-
|
|
615
|
+
be as default
|
|
615
616
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as d, computed as i, createBlock as r, openBlock as u, unref as m } from "vue";
|
|
2
|
-
import { t as s, f as c, D as p } from "./localTimeUtils-
|
|
2
|
+
import { t as s, f as c, D as p } from "./localTimeUtils-BApYySBH.js";
|
|
3
3
|
const b = /* @__PURE__ */ d({
|
|
4
4
|
__name: "DateControl",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as c, computed as a, createBlock as r, openBlock as p, unref as v } from "vue";
|
|
2
|
-
import { t as i, f as h, D as f } from "./localTimeUtils-
|
|
2
|
+
import { t as i, f as h, D as f } from "./localTimeUtils-BApYySBH.js";
|
|
3
3
|
const T = /* @__PURE__ */ c({
|
|
4
4
|
__name: "DateTimeControl",
|
|
5
5
|
props: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createElementBlock as y, openBlock as m, createElementVNode as p, defineComponent as O, useCssVars as q, computed as F, ref as f, watch as z, reactive as G, onMounted as J, nextTick as N, onUnmounted as Q, createBlock as P, unref as E, withCtx as X, createCommentVNode as C, createVNode as M, Fragment as Y, renderList as ee, normalizeClass as I, toDisplayString as B, mergeModels as te, useModel as oe, withDirectives as le, vModelText as ae, normalizeStyle as se } from "vue";
|
|
2
|
-
import { o as ne } from "./index-
|
|
2
|
+
import { o as ne } from "./index-CZ-Na6c0.js";
|
|
3
3
|
import { u as ie, a as re, o as ce, s as de, f as ue } from "./floating-ui.vue-Fx4CxKut.js";
|
|
4
4
|
import { u as me, F as pe } from "./useDropdownNavigation-Bh9C9QlY.js";
|
|
5
|
-
import { L as ve } from "./LoadingIcon-
|
|
6
|
-
import { V as $ } from "./ValueSwitch-
|
|
7
|
-
import { _ as U } from "./SectionHeading.
|
|
5
|
+
import { L as ve } from "./LoadingIcon-BiopmPdv.js";
|
|
6
|
+
import { V as $ } from "./ValueSwitch-o7yLk5E_.js";
|
|
7
|
+
import { _ as U } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B-_bJCAr.js";
|
|
8
8
|
const fe = {
|
|
9
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10
10
|
fill: "none",
|
package/dist/{DateTimeFormatPickerControl-DYX8qTRh.js → DateTimeFormatPickerControl-CaHCQY_z.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as c, computed as e, createBlock as p, openBlock as f, unref as s } from "vue";
|
|
2
|
-
import { u as F } from "./SectionHeading.
|
|
3
|
-
import { D as v } from "./DateTimeFormatInput-
|
|
2
|
+
import { u as F } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B-_bJCAr.js";
|
|
3
|
+
import { D as v } from "./DateTimeFormatInput-nxyilTQe.js";
|
|
4
4
|
const b = /* @__PURE__ */ c({
|
|
5
5
|
__name: "DateTimeFormatPickerControl",
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as v, computed as t, createElementBlock as T, openBlock as V, createVNode as r, unref as i } from "vue";
|
|
2
|
-
import { u as F, _ as b } from "./SectionHeading.
|
|
3
|
-
import { V as h } from "./ValueSwitch-
|
|
4
|
-
import { D as y } from "./DateTimeFormatInput-
|
|
2
|
+
import { u as F, _ as b } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B-_bJCAr.js";
|
|
3
|
+
import { V as h } from "./ValueSwitch-o7yLk5E_.js";
|
|
4
|
+
import { D as y } from "./DateTimeFormatInput-nxyilTQe.js";
|
|
5
5
|
const D = ["id"], w = /* @__PURE__ */ v({
|
|
6
6
|
__name: "DateTimeFormatPickerWithTypeControl",
|
|
7
7
|
props: {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { o as te, t as se,
|
|
1
|
+
import { defineComponent as j, shallowRef as I, h as z, watch as _, toValue as f, computed as B, unref as U, nextTick as X, toRefs as q, ref as M, resolveComponent as x, createBlock as E, openBlock as c, withCtx as C, createElementVNode as m, normalizeClass as y, withDirectives as Q, normalizeStyle as J, createElementBlock as h, withModifiers as v, renderSlot as D, toDisplayString as O, createCommentVNode as V, withKeys as Z, createVNode as P, Fragment as w, renderList as K, createTextVNode as $, vShow as ee } from "vue";
|
|
2
|
+
import { o as te, t as se, a as R, i as N, b as S, w as ne, c as ie, d as oe } from "./index-CZ-Na6c0.js";
|
|
3
3
|
import { A as le } from "./arrow-dropdown-BHK4j8GT.js";
|
|
4
|
-
import { C as
|
|
4
|
+
import { C as ae } from "./close-W1x27NhZ.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { u as
|
|
7
|
-
import {
|
|
6
|
+
import { u as re } from "./useSearch-hpyYQ_6y.js";
|
|
7
|
+
import { D as de, G as ue, _ as ce } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B-_bJCAr.js";
|
|
8
8
|
import { i as he } from "./hotkeys-rxnt4egK.js";
|
|
9
|
-
import { d as pe, a as fe, b as me, i as ge, e as ye, h as xe, c as ve } from "./_getTag-
|
|
9
|
+
import { d as pe, a as fe, b as me, i as ge, e as ye, h as xe, c as ve } from "./_getTag-RjhNpvAW.js";
|
|
10
10
|
import { i as Ve } from "./isArray-WzO_os3q.js";
|
|
11
11
|
var we = "[object Map]", be = "[object Set]", Ee = Object.prototype, Ce = Ee.hasOwnProperty;
|
|
12
|
-
function
|
|
12
|
+
function De(e) {
|
|
13
13
|
if (e == null)
|
|
14
14
|
return !0;
|
|
15
15
|
if (pe(e) && (Ve(e) || typeof e == "string" || typeof e.splice == "function" || fe(e) || me(e) || ge(e)))
|
|
@@ -24,17 +24,17 @@ function Oe(e) {
|
|
|
24
24
|
return !1;
|
|
25
25
|
return !0;
|
|
26
26
|
}
|
|
27
|
-
const
|
|
27
|
+
const Oe = /* @__PURE__ */ j({
|
|
28
28
|
name: "OnClickOutside",
|
|
29
29
|
props: ["as", "options"],
|
|
30
30
|
emits: ["trigger"],
|
|
31
31
|
setup(e, { slots: t, emit: s }) {
|
|
32
|
-
const
|
|
33
|
-
return te(
|
|
32
|
+
const r = I();
|
|
33
|
+
return te(r, (i) => {
|
|
34
34
|
s("trigger", i);
|
|
35
35
|
}, e.options), () => {
|
|
36
36
|
if (t.default)
|
|
37
|
-
return z(e.as || "div", { ref:
|
|
37
|
+
return z(e.as || "div", { ref: r }, t.default());
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
}), Se = oe ? window : void 0;
|
|
@@ -46,28 +46,28 @@ function ke(e) {
|
|
|
46
46
|
function Te(...e) {
|
|
47
47
|
const t = [], s = () => {
|
|
48
48
|
t.forEach((o) => o()), t.length = 0;
|
|
49
|
-
},
|
|
49
|
+
}, r = (o, l, a, u) => (o.addEventListener(l, a, u), () => o.removeEventListener(l, a, u)), i = B(() => {
|
|
50
50
|
const o = S(f(e[0])).filter((l) => l != null);
|
|
51
51
|
return o.every((l) => typeof l != "string") ? o : void 0;
|
|
52
52
|
}), n = ne(
|
|
53
53
|
() => {
|
|
54
54
|
var o, l;
|
|
55
55
|
return [
|
|
56
|
-
(l = (o = i.value) == null ? void 0 : o.map((
|
|
56
|
+
(l = (o = i.value) == null ? void 0 : o.map((a) => ke(a))) != null ? l : [Se].filter((a) => a != null),
|
|
57
57
|
S(f(i.value ? e[1] : e[0])),
|
|
58
58
|
S(U(i.value ? e[2] : e[1])),
|
|
59
59
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
60
60
|
f(i.value ? e[3] : e[2])
|
|
61
61
|
];
|
|
62
62
|
},
|
|
63
|
-
([o, l,
|
|
64
|
-
if (s(), !o?.length || !l?.length || !
|
|
63
|
+
([o, l, a, u]) => {
|
|
64
|
+
if (s(), !o?.length || !l?.length || !a?.length)
|
|
65
65
|
return;
|
|
66
66
|
const b = ie(u) ? { ...u } : u;
|
|
67
67
|
t.push(
|
|
68
68
|
...o.flatMap(
|
|
69
69
|
(d) => l.flatMap(
|
|
70
|
-
(g) =>
|
|
70
|
+
(g) => a.map((G) => r(d, g, G, b))
|
|
71
71
|
)
|
|
72
72
|
)
|
|
73
73
|
);
|
|
@@ -97,22 +97,22 @@ function Ie(e) {
|
|
|
97
97
|
const T = /* @__PURE__ */ new WeakMap();
|
|
98
98
|
function _e(e, t = !1) {
|
|
99
99
|
const s = I(t);
|
|
100
|
-
let
|
|
100
|
+
let r = null, i = "";
|
|
101
101
|
_(se(e), (o) => {
|
|
102
102
|
const l = k(f(o));
|
|
103
103
|
if (l) {
|
|
104
|
-
const
|
|
105
|
-
if (T.get(
|
|
104
|
+
const a = l;
|
|
105
|
+
if (T.get(a) || T.set(a, a.style.overflow), a.style.overflow !== "hidden" && (i = a.style.overflow), a.style.overflow === "hidden")
|
|
106
106
|
return s.value = !0;
|
|
107
107
|
if (s.value)
|
|
108
|
-
return
|
|
108
|
+
return a.style.overflow = "hidden";
|
|
109
109
|
}
|
|
110
110
|
}, {
|
|
111
111
|
immediate: !0
|
|
112
112
|
});
|
|
113
113
|
const n = () => {
|
|
114
114
|
const o = k(f(e));
|
|
115
|
-
!o || s.value || (N && (
|
|
115
|
+
!o || s.value || (N && (r = Te(
|
|
116
116
|
o,
|
|
117
117
|
"touchmove",
|
|
118
118
|
(l) => {
|
|
@@ -122,7 +122,7 @@ function _e(e, t = !1) {
|
|
|
122
122
|
)), o.style.overflow = "hidden", s.value = !0);
|
|
123
123
|
}, p = () => {
|
|
124
124
|
const o = k(f(e));
|
|
125
|
-
!o || !s.value || (N &&
|
|
125
|
+
!o || !s.value || (N && r?.(), o.style.overflow = i, T.delete(o), s.value = !1);
|
|
126
126
|
};
|
|
127
127
|
return R(p), B({
|
|
128
128
|
get() {
|
|
@@ -136,11 +136,11 @@ function _e(e, t = !1) {
|
|
|
136
136
|
function Be() {
|
|
137
137
|
let e = !1;
|
|
138
138
|
const t = I(!1);
|
|
139
|
-
return (s,
|
|
140
|
-
if (t.value =
|
|
139
|
+
return (s, r) => {
|
|
140
|
+
if (t.value = r.value, e)
|
|
141
141
|
return;
|
|
142
142
|
e = !0;
|
|
143
|
-
const i = _e(s,
|
|
143
|
+
const i = _e(s, r.value);
|
|
144
144
|
_(t, (n) => i.value = n);
|
|
145
145
|
};
|
|
146
146
|
}
|
|
@@ -149,9 +149,9 @@ const L = "ArrowDown", H = "ArrowUp", F = "Home", W = "End", Me = "Escape", Y =
|
|
|
149
149
|
name: "Dropdown",
|
|
150
150
|
components: {
|
|
151
151
|
DropdownIcon: le,
|
|
152
|
-
OnClickOutside:
|
|
152
|
+
OnClickOutside: Oe,
|
|
153
153
|
FunctionButton: de,
|
|
154
|
-
CloseIcon:
|
|
154
|
+
CloseIcon: ae
|
|
155
155
|
},
|
|
156
156
|
props: {
|
|
157
157
|
id: {
|
|
@@ -230,7 +230,7 @@ const L = "ArrowDown", H = "ArrowUp", F = "Home", W = "End", Me = "Escape", Y =
|
|
|
230
230
|
},
|
|
231
231
|
emits: ["update:modelValue"],
|
|
232
232
|
setup(e) {
|
|
233
|
-
const { caseSensitiveSearch: t, possibleValues: s } = q(e),
|
|
233
|
+
const { caseSensitiveSearch: t, possibleValues: s } = q(e), r = M(!1), i = B(() => {
|
|
234
234
|
const o = {};
|
|
235
235
|
for (const l of s.value)
|
|
236
236
|
o[l.id] = l.text;
|
|
@@ -242,15 +242,15 @@ const L = "ArrowDown", H = "ArrowUp", F = "Home", W = "End", Me = "Escape", Y =
|
|
|
242
242
|
n.value = i.value[o];
|
|
243
243
|
}
|
|
244
244
|
);
|
|
245
|
-
const p =
|
|
245
|
+
const p = re(
|
|
246
246
|
n,
|
|
247
247
|
t,
|
|
248
248
|
s,
|
|
249
|
-
|
|
249
|
+
r
|
|
250
250
|
);
|
|
251
251
|
return {
|
|
252
252
|
searchValue: n,
|
|
253
|
-
useFilterValues:
|
|
253
|
+
useFilterValues: r,
|
|
254
254
|
currentPossibleValues: p
|
|
255
255
|
};
|
|
256
256
|
},
|
|
@@ -308,7 +308,7 @@ const L = "ArrowDown", H = "ArrowUp", F = "Home", W = "End", Me = "Escape", Y =
|
|
|
308
308
|
},
|
|
309
309
|
hasOptionTemplate() {
|
|
310
310
|
return this.possibleValues.length === 0 ? !1 : this.possibleValues.every(
|
|
311
|
-
(e) => e.slotData && !
|
|
311
|
+
(e) => e.slotData && !De(e.slotData)
|
|
312
312
|
);
|
|
313
313
|
},
|
|
314
314
|
selectedOption() {
|
|
@@ -370,8 +370,8 @@ const L = "ArrowDown", H = "ArrowUp", F = "Home", W = "End", Me = "Escape", Y =
|
|
|
370
370
|
);
|
|
371
371
|
return;
|
|
372
372
|
}
|
|
373
|
-
const
|
|
374
|
-
i >
|
|
373
|
+
const r = t.clientHeight + t.scrollTop, i = s.offsetTop + s.offsetHeight;
|
|
374
|
+
i > r ? t.scrollTop = i - t.clientHeight : s.offsetTop < t.scrollTop && (t.scrollTop = s.offsetTop);
|
|
375
375
|
}
|
|
376
376
|
},
|
|
377
377
|
onArrowDown() {
|
|
@@ -448,10 +448,10 @@ const L = "ArrowDown", H = "ArrowUp", F = "Home", W = "End", Me = "Escape", Y =
|
|
|
448
448
|
}, We = ["aria-activedescendant"], Ye = {
|
|
449
449
|
key: 0,
|
|
450
450
|
class: "empty-state"
|
|
451
|
-
},
|
|
452
|
-
function ze(e, t, s,
|
|
453
|
-
const p = x("CloseIcon"), o = x("FunctionButton"), l = x("DropdownIcon"),
|
|
454
|
-
return c(), E(
|
|
451
|
+
}, Ge = ["id", "title", "aria-selected", "onMouseenter", "onClick"], je = ["id", "name", "value"];
|
|
452
|
+
function ze(e, t, s, r, i, n) {
|
|
453
|
+
const p = x("CloseIcon"), o = x("FunctionButton"), l = x("DropdownIcon"), a = x("OnClickOutside");
|
|
454
|
+
return c(), E(a, { onTrigger: n.closeDropdown }, {
|
|
455
455
|
default: C(() => [
|
|
456
456
|
m("div", {
|
|
457
457
|
id: s.id,
|
|
@@ -491,7 +491,7 @@ function ze(e, t, s, a, i, n) {
|
|
|
491
491
|
i.isExpanded ? (c(), h("input", {
|
|
492
492
|
key: 0,
|
|
493
493
|
ref: "searchInput",
|
|
494
|
-
value:
|
|
494
|
+
value: r.searchValue,
|
|
495
495
|
tabindex: "0",
|
|
496
496
|
role: "searchbox",
|
|
497
497
|
class: "search-input",
|
|
@@ -500,7 +500,7 @@ function ze(e, t, s, a, i, n) {
|
|
|
500
500
|
}, ["stop"])),
|
|
501
501
|
onInput: t[1] || (t[1] = (u) => n.handleSearch(u.target.value))
|
|
502
502
|
}, null, 40, Ae)) : n.hasOptionTemplate ? (c(), h("div", Le, [
|
|
503
|
-
|
|
503
|
+
D(e.$slots, "option", {
|
|
504
504
|
slotData: n.selectedOption?.slotData,
|
|
505
505
|
isMissing: n.isMissing,
|
|
506
506
|
selectedValue: s.modelValue,
|
|
@@ -509,10 +509,10 @@ function ze(e, t, s, a, i, n) {
|
|
|
509
509
|
])) : (c(), h("span", {
|
|
510
510
|
key: 2,
|
|
511
511
|
ref: "span"
|
|
512
|
-
},
|
|
512
|
+
}, O(n.displayText), 513)),
|
|
513
513
|
m("div", He, [
|
|
514
514
|
n.hasRightIcon ? (c(), h("div", Fe, [
|
|
515
|
-
|
|
515
|
+
D(e.$slots, "icon-right")
|
|
516
516
|
])) : V("", !0),
|
|
517
517
|
i.isExpanded && n.nonEmptySearchValue ? (c(), E(o, {
|
|
518
518
|
key: 1,
|
|
@@ -555,7 +555,7 @@ function ze(e, t, s, a, i, n) {
|
|
|
555
555
|
"aria-activedescendant": i.isExpanded ? n.generateId("option", n.getCurrentSelectedId()) : void 0,
|
|
556
556
|
class: y({ "drops-upwards": s.direction === "up" })
|
|
557
557
|
}, [
|
|
558
|
-
n.hasNoFilteredPossibleValues ? (c(), h("div", Ye,
|
|
558
|
+
n.hasNoFilteredPossibleValues ? (c(), h("div", Ye, O(i.emptyState), 1)) : V("", !0),
|
|
559
559
|
(c(!0), h(w, null, K(n.orderedGroupedValues, (u, b) => (c(), h(w, { key: b }, [
|
|
560
560
|
t[5] || (t[5] = m("span", { class: "group-divider" }, null, -1)),
|
|
561
561
|
(c(!0), h(w, null, K(u.items, (d) => (c(), h("li", {
|
|
@@ -576,14 +576,14 @@ function ze(e, t, s, a, i, n) {
|
|
|
576
576
|
onMouseenter: (g) => n.updateCandidate(d.id),
|
|
577
577
|
onClick: (g) => n.emitAndClose(d.id)
|
|
578
578
|
}, [
|
|
579
|
-
n.hasOptionTemplate ?
|
|
579
|
+
n.hasOptionTemplate ? D(e.$slots, "option", {
|
|
580
580
|
key: 0,
|
|
581
581
|
slotData: d.slotData,
|
|
582
582
|
expanded: !0
|
|
583
583
|
}) : (c(), h(w, { key: 1 }, [
|
|
584
|
-
$(
|
|
584
|
+
$(O(d.text), 1)
|
|
585
585
|
], 64))
|
|
586
|
-
], 42,
|
|
586
|
+
], 42, Ge))), 128))
|
|
587
587
|
], 64))), 128))
|
|
588
588
|
], 10, We), [
|
|
589
589
|
[ee, i.isExpanded]
|
|
@@ -593,7 +593,7 @@ function ze(e, t, s, a, i, n) {
|
|
|
593
593
|
type: "hidden",
|
|
594
594
|
name: s.name,
|
|
595
595
|
value: s.modelValue
|
|
596
|
-
}, null, 8,
|
|
596
|
+
}, null, 8, je)
|
|
597
597
|
], 10, Ne)
|
|
598
598
|
]),
|
|
599
599
|
_: 3
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as l, toRef as n, createBlock as t, openBlock as i, unref as d } from "vue";
|
|
2
|
-
import { u as s } from "./usePossibleValues-
|
|
3
|
-
import { L as c } from "./LoadingDropdown-
|
|
2
|
+
import { u as s } from "./usePossibleValues-BW08TF4d.js";
|
|
3
|
+
import { L as c } from "./LoadingDropdown-hIKRVdsJ.js";
|
|
4
4
|
const V = /* @__PURE__ */ l({
|
|
5
5
|
__name: "DropdownControl",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, createElementBlock as t, openBlock as a, Fragment as r, renderList as c, createBlock as s, unref as u } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { N as m, _ as i } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B-_bJCAr.js";
|
|
3
3
|
const d = { class: "horizontal" }, h = /* @__PURE__ */ o({
|
|
4
4
|
__name: "HorizontalLayout",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
import { createElementBlock as i, openBlock as s, normalizeClass as r, createCommentVNode as u, createElementVNode as o, renderSlot as d, mergeProps as f } from "vue";
|
|
3
|
-
import { _ as p } from "./SectionHeading.
|
|
3
|
+
import { _ as p } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B-_bJCAr.js";
|
|
4
4
|
const c = {
|
|
5
5
|
name: "InputField",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, createBlock as n, openBlock as t, mergeProps as r } from "vue";
|
|
2
|
-
import { _ as a } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as a } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-CHK6QigD.js";
|
|
3
3
|
const s = /* @__PURE__ */ o({
|
|
4
4
|
__name: "IntegerControl",
|
|
5
5
|
props: {
|