@knime/jsonforms 1.6.4 → 1.6.5
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 +9 -1
- package/dist/{AnyOfTwinlist-BR2cAEqp.js → AnyOfTwinlist-BUu7JIuW.js} +1 -1
- package/dist/{BaseButton-DRl33wFC.js → BaseButton-CE1udZ4W.js} +1 -1
- package/dist/{Button-C37MCiR8.js → Button-D4B3Kafg.js} +2 -2
- package/dist/{Checkbox-DuK2_oNs.js → Checkbox-CJWo47cw.js} +9 -9
- package/dist/{CheckboxControl-DWVpVtha.js → CheckboxControl-W-ddi6Zt.js} +2 -2
- package/dist/{Checkboxes-dIDpllWB.js → Checkboxes-Cr8QNKb3.js} +13 -13
- package/dist/{CheckboxesControl-D8xGqN6h.js → CheckboxesControl-Dp3y7MVm.js} +12 -13
- package/dist/{ColumnFilter-eePEp9ur.js → ColumnFilter-Bgw8avnF.js} +1 -1
- package/dist/{ColumnSelect-CCpsv5eO.js → ColumnSelect-CGYTDH9P.js} +2 -2
- package/dist/{ComboBoxControl-es6uRno_.js → ComboBoxControl-Cq97J42e.js} +15 -16
- package/dist/{DateControl-CVRHfHl6.js → DateControl-f3yE0uIX.js} +1 -1
- package/dist/{DateTimeControl-z9IRxelr.js → DateTimeControl-BuvRV5tK.js} +2 -2
- package/dist/{DateTimeFormatInput-B82tuVmD.js → DateTimeFormatInput-BryI7f7S.js} +3 -3
- package/dist/{DateTimeFormatPickerControl--78jbaK1.js → DateTimeFormatPickerControl-us7mZkRZ.js} +2 -2
- package/dist/{DateTimeFormatPickerWithTypeControl-CA_vgvcX.js → DateTimeFormatPickerWithTypeControl-BO-zYLGK.js} +3 -3
- package/dist/{DateTimeInput-D_silOHK.js → DateTimeInput-CENCO9XW.js} +7 -7
- package/dist/{Dropdown-BzjVX7N6.js → Dropdown-Eq4ymhx3.js} +26 -26
- package/dist/{DropdownControl-D4iaJ2MC.js → DropdownControl-DeMIMOdP.js} +1 -1
- package/dist/{DropdownControl.vue_vue_type_script_setup_true_lang-sdnOVNzQ.js → DropdownControl.vue_vue_type_script_setup_true_lang-CowoWwlG.js} +4 -4
- package/dist/{FunctionButton-yC5bUMez.js → FunctionButton-TSsgkE2Q.js} +2 -2
- package/dist/{HorizontalLayout-BH-bM2my.js → HorizontalLayout-BaQbmSN7.js} +1 -1
- package/dist/{InputField-vF3DFGpb.js → InputField-DILRz5ld.js} +1 -1
- package/dist/{IntegerControl-Bq2U2Ldn.js → IntegerControl-nsa_88xJ.js} +1 -1
- package/dist/{IntervalControl-BdI05XM6.js → IntervalControl-DguY7nsE.js} +4 -4
- package/dist/{MultiselectListBox-B3YQ3RPE.js → MultiselectListBox-CrDZypft.js} +2 -2
- package/dist/{NameFilter-C0KXSciT.js → NameFilter-BtakvxNm.js} +1 -1
- package/dist/{NumberControl-C4qCVA1H.js → NumberControl-CjkP4R4S.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-W1YdHWFA.js → NumberControlBase.vue_vue_type_script_setup_true_lang-Bktke5sF.js} +2 -2
- package/dist/{NumberInput-qVX68xjO.js → NumberInput-C2NWcZ1i.js} +5 -5
- package/dist/{OneOfDropdown-BN4KHNuN.js → OneOfDropdown-CA8A4wux.js} +1 -1
- package/dist/{RadioControl-yYN4_x4U.js → RadioControl-Cqd6sbJS.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-CvBhUIr3.js → RadioControlBase.vue_vue_type_script_setup_true_lang-Xb2ZYwrY.js} +2 -2
- package/dist/{RichTextControl-DtthWSyr.js → RichTextControl-BcbqLquT.js} +10 -13
- package/dist/{SectionHeading-9nzAcwlB.js → SectionHeading-D8bmoAuj.js} +1 -1
- package/dist/{SectionLayout-B837oNhA.js → SectionLayout-Dd23qDBT.js} +3 -3
- package/dist/{SettingsSubPanel-Bf6sRvAk.js → SettingsSubPanel-kf18aX1n.js} +4 -4
- package/dist/{SettingsSubPanel.vue_vue_type_style_index_0_scoped_c744f57c_lang-Dv8PD-UO.js → SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-CvTyVlk1.js} +32 -32
- package/dist/{SettingsSubPanelLayout-Ca2Cqzy8.js → SettingsSubPanelLayout-DMiG5gz7.js} +5 -5
- package/dist/{SimpleButtonControl-DPC5Bc5G.js → SimpleButtonControl-BWnXd1Cf.js} +2 -2
- package/dist/{SimpleTwinlistControl-nn05z7qJ.js → SimpleTwinlistControl-EMHcPRkz.js} +2 -2
- package/dist/{SortListControl-D_YEzluK.js → SortListControl-oigTPYFB.js} +4 -4
- package/dist/{TextAreaControl-CReCgAQe.js → TextAreaControl-B64qXr7_.js} +1 -1
- package/dist/{TextControl-CYLnvPas.js → TextControl-BKnltnH0.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-DHv74tkV.js → TextControl.vue_vue_type_script_setup_true_lang-CjQije7u.js} +3 -3
- package/dist/{TimeControl-DpHKiB7G.js → TimeControl-DfrhiWTA.js} +2 -2
- package/dist/{TwinlistControl-D2buaBek.js → TwinlistControl-CLVF2UdX.js} +30 -30
- package/dist/{TwinlistLoadingInfo-seOe-SVY.js → TwinlistLoadingInfo-SR1hSYLe.js} +13 -13
- package/dist/{ValueSwitch-DkbdLZEi.js → ValueSwitch-CKBS_htI.js} +3 -3
- package/dist/{ValueSwitchControl-DIdn29s1.js → ValueSwitchControl-_LDY5z1W.js} +1 -1
- package/dist/{VerticalLayout-C0NFqWyS.js → VerticalLayout-CqeGLJYG.js} +2 -2
- package/dist/{VerticalLayoutBase-46GmjjAL.js → VerticalLayoutBase-BPJg8nND.js} +1 -1
- package/dist/{ZonedDateTimeControl-C9d5y8uQ.js → ZonedDateTimeControl-DYvIRdSb.js} +4 -4
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +7 -7
- package/dist/{localTimeUtils-Bl0Y_Mm3.js → localTimeUtils-B7ZKdgm0.js} +1 -1
- package/dist/{magic-string.es-C5ofAswp.js → magic-string.es-8xOh0-m0.js} +1 -1
- package/dist/{svgWithTitle-qHNGfZ-2.js → svgWithTitle-B5Smv8as.js} +1 -1
- package/dist/testing.js +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
# @knime/json-forms
|
|
2
2
|
|
|
3
|
+
## 1.6.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [ef010ff]
|
|
8
|
+
- @knime/components@1.22.0
|
|
9
|
+
- @knime/rich-text-editor@1.3.33
|
|
10
|
+
|
|
3
11
|
## 1.6.4
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
6
14
|
|
|
7
|
-
- Updated dependencies [
|
|
15
|
+
- Updated dependencies [bb186d1]
|
|
8
16
|
- @knime/utils@1.3.2
|
|
9
17
|
- @knime/components@1.21.1
|
|
10
18
|
- @knime/rich-text-editor@1.3.32
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as n, openBlock as t, createBlock as r, mergeProps as p } from "vue";
|
|
2
2
|
import { o as a } from "./index-hm05O8UX.js";
|
|
3
|
-
import i from "./SimpleTwinlistControl-
|
|
3
|
+
import i from "./SimpleTwinlistControl-EMHcPRkz.js";
|
|
4
4
|
const d = /* @__PURE__ */ n({
|
|
5
5
|
__name: "AnyOfTwinlist",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, useSlots as l, h as a, getCurrentInstance as c, openBlock as f, createBlock as p, resolveDynamicComponent as m, mergeProps as d, withCtx as h, renderSlot as C } from "vue";
|
|
2
|
-
import { _ as k } from "./SettingsSubPanel.
|
|
2
|
+
import { _ as k } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-CvTyVlk1.js";
|
|
3
3
|
const u = () => {
|
|
4
4
|
const t = c();
|
|
5
5
|
return t == null ? void 0 : t.appContext.app;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as o, resolveComponent as a, openBlock as s, createBlock as n, normalizeClass as r, withCtx as l, renderSlot as d } from "vue";
|
|
2
|
-
import { B as i } from "./BaseButton-
|
|
3
|
-
import { _ as p } from "./SettingsSubPanel.
|
|
2
|
+
import { B as i } from "./BaseButton-CE1udZ4W.js";
|
|
3
|
+
import { _ as p } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-CvTyVlk1.js";
|
|
4
4
|
const c = o({
|
|
5
5
|
name: "Button",
|
|
6
6
|
components: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { openBlock as
|
|
2
|
-
import { _ as
|
|
1
|
+
import { openBlock as s, createElementBlock as i, normalizeClass as o, createElementVNode as d, renderSlot as c } from "vue";
|
|
2
|
+
import { _ as u } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-CvTyVlk1.js";
|
|
3
3
|
const r = {
|
|
4
4
|
name: "Checkbox",
|
|
5
5
|
props: {
|
|
@@ -43,16 +43,16 @@ const r = {
|
|
|
43
43
|
},
|
|
44
44
|
methods: {
|
|
45
45
|
onInput(e) {
|
|
46
|
-
|
|
46
|
+
const { checked: l } = e.target;
|
|
47
47
|
consola.trace("Checkbox value changed to", l), this.$emit("update:modelValue", l);
|
|
48
48
|
},
|
|
49
49
|
isChecked() {
|
|
50
50
|
return this.$refs.input.checked;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
},
|
|
54
|
-
function
|
|
55
|
-
return
|
|
53
|
+
}, f = ["id", "name", "checked", "disabled"];
|
|
54
|
+
function m(e, l, a, h, p, t) {
|
|
55
|
+
return s(), i("label", {
|
|
56
56
|
class: o([t.classes, { invalid: a.invalid }])
|
|
57
57
|
}, [
|
|
58
58
|
d("input", {
|
|
@@ -63,13 +63,13 @@ function f(e, l, a, h, p, t) {
|
|
|
63
63
|
disabled: a.disabled,
|
|
64
64
|
type: "checkbox",
|
|
65
65
|
onChange: l[0] || (l[0] = (...n) => t.onInput && t.onInput(...n))
|
|
66
|
-
}, null, 40,
|
|
66
|
+
}, null, 40, f),
|
|
67
67
|
d("span", null, [
|
|
68
|
-
|
|
68
|
+
c(e.$slots, "default", {}, void 0, !0)
|
|
69
69
|
])
|
|
70
70
|
], 2);
|
|
71
71
|
}
|
|
72
|
-
const _ = /* @__PURE__ */
|
|
72
|
+
const _ = /* @__PURE__ */ u(r, [["render", m], ["__scopeId", "data-v-ff0025cf"]]);
|
|
73
73
|
export {
|
|
74
74
|
_ as C
|
|
75
75
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as a, ref as r, openBlock as s, createElementBlock as d, createVNode as u, unref as i, withCtx as p, createTextVNode as c, toDisplayString as m, renderSlot as n } from "vue";
|
|
2
|
-
import { C as f } from "./Checkbox-
|
|
3
|
-
import { _ as v } from "./SettingsSubPanel.
|
|
2
|
+
import { C as f } from "./Checkbox-CJWo47cw.js";
|
|
3
|
+
import { _ as v } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-CvTyVlk1.js";
|
|
4
4
|
const b = /* @__PURE__ */ a({
|
|
5
5
|
__name: "CheckboxControl",
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as c } from "./Checkbox-
|
|
2
|
-
import { resolveComponent as u, openBlock as
|
|
3
|
-
import { _ as y } from "./SettingsSubPanel.
|
|
1
|
+
import { C as c } from "./Checkbox-CJWo47cw.js";
|
|
2
|
+
import { resolveComponent as u, openBlock as l, createElementBlock as s, normalizeClass as f, Fragment as m, renderList as h, createBlock as p, withCtx as x, createTextVNode as b, toDisplayString as V } from "vue";
|
|
3
|
+
import { _ as y } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-CvTyVlk1.js";
|
|
4
4
|
const _ = {
|
|
5
5
|
name: "Checkboxes",
|
|
6
6
|
components: {
|
|
@@ -56,7 +56,7 @@ const _ = {
|
|
|
56
56
|
emits: ["update:modelValue"],
|
|
57
57
|
methods: {
|
|
58
58
|
validate() {
|
|
59
|
-
|
|
59
|
+
const e = !this.possibleValues.some((a) => a.invalid);
|
|
60
60
|
return {
|
|
61
61
|
isValid: e,
|
|
62
62
|
errorMessage: e ? null : "One or more of the selected items is invalid."
|
|
@@ -77,28 +77,28 @@ const _ = {
|
|
|
77
77
|
};
|
|
78
78
|
function k(e, a, t, r, v, d) {
|
|
79
79
|
const i = u("Checkbox");
|
|
80
|
-
return
|
|
80
|
+
return l(), s("div", {
|
|
81
81
|
class: f(["checkboxes", t.alignment])
|
|
82
82
|
}, [
|
|
83
|
-
(
|
|
83
|
+
(l(!0), s(m, null, h(t.possibleValues, (o) => (l(), p(i, {
|
|
84
84
|
ref_for: !0,
|
|
85
85
|
ref: "boxes",
|
|
86
|
-
key: `checkboxes-${
|
|
87
|
-
"model-value": t.modelValue.indexOf(
|
|
88
|
-
title:
|
|
89
|
-
invalid:
|
|
86
|
+
key: `checkboxes-${o.id}`,
|
|
87
|
+
"model-value": t.modelValue.indexOf(o.id) > -1,
|
|
88
|
+
title: o.text,
|
|
89
|
+
invalid: o.invalid,
|
|
90
90
|
disabled: t.disabled,
|
|
91
91
|
class: "box",
|
|
92
|
-
"onUpdate:modelValue": (n) => d.onUpdateModelValue(
|
|
92
|
+
"onUpdate:modelValue": (n) => d.onUpdateModelValue(o.id, n)
|
|
93
93
|
}, {
|
|
94
94
|
default: x(() => [
|
|
95
|
-
b(V(
|
|
95
|
+
b(V(o.text), 1)
|
|
96
96
|
]),
|
|
97
97
|
_: 2
|
|
98
98
|
}, 1032, ["model-value", "title", "invalid", "disabled", "onUpdate:modelValue"]))), 128))
|
|
99
99
|
], 2);
|
|
100
100
|
}
|
|
101
|
-
const B = /* @__PURE__ */ y(_, [["render", k], ["__scopeId", "data-v-
|
|
101
|
+
const B = /* @__PURE__ */ y(_, [["render", k], ["__scopeId", "data-v-4567f860"]]);
|
|
102
102
|
export {
|
|
103
103
|
B as C
|
|
104
104
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as t, computed as s, ref as i, onMounted as
|
|
1
|
+
import { defineComponent as t, computed as s, ref as i, onMounted as c, openBlock as d, createBlock as r, unref as p, createCommentVNode as u } from "vue";
|
|
2
2
|
import { o as m } from "./index-hm05O8UX.js";
|
|
3
|
-
import { C as b } from "./Checkboxes-
|
|
4
|
-
import { _ as
|
|
5
|
-
const
|
|
3
|
+
import { C as b } from "./Checkboxes-Cr8QNKb3.js";
|
|
4
|
+
import { _ as h } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-CvTyVlk1.js";
|
|
5
|
+
const f = /* @__PURE__ */ t({
|
|
6
6
|
__name: "CheckboxesControl",
|
|
7
7
|
props: {
|
|
8
8
|
control: {},
|
|
@@ -14,20 +14,19 @@ const h = /* @__PURE__ */ t({
|
|
|
14
14
|
labelForId: {}
|
|
15
15
|
},
|
|
16
16
|
setup(l) {
|
|
17
|
-
const
|
|
17
|
+
const o = l, n = s(
|
|
18
18
|
() => {
|
|
19
19
|
var e;
|
|
20
|
-
return (e =
|
|
20
|
+
return (e = o.control.uischema.options) == null ? void 0 : e.checkboxLayout;
|
|
21
21
|
}
|
|
22
|
-
),
|
|
23
|
-
return
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}), (e, v) => o.value ? (r(), c(p(b), {
|
|
22
|
+
), a = i(null);
|
|
23
|
+
return c(() => {
|
|
24
|
+
a.value = o.control.schema.anyOf ? o.control.schema.anyOf.map(m) : null;
|
|
25
|
+
}), (e, v) => a.value ? (d(), r(p(b), {
|
|
27
26
|
key: 0,
|
|
28
27
|
id: e.labelForId,
|
|
29
28
|
class: "checkboxes",
|
|
30
|
-
"possible-values":
|
|
29
|
+
"possible-values": a.value,
|
|
31
30
|
alignment: n.value,
|
|
32
31
|
disabled: e.disabled,
|
|
33
32
|
"model-value": e.control.data,
|
|
@@ -35,7 +34,7 @@ const h = /* @__PURE__ */ t({
|
|
|
35
34
|
"onUpdate:modelValue": e.changeValue
|
|
36
35
|
}, null, 8, ["id", "possible-values", "alignment", "disabled", "model-value", "is-valid", "onUpdate:modelValue"])) : u("", !0);
|
|
37
36
|
}
|
|
38
|
-
}), g = /* @__PURE__ */ f
|
|
37
|
+
}), g = /* @__PURE__ */ h(f, [["__scopeId", "data-v-17cc176d"]]);
|
|
39
38
|
export {
|
|
40
39
|
g as default
|
|
41
40
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as h, computed as b, watchEffect as v, watch as w, onMounted as y, openBlock as g, createBlock as V, mergeProps as P, unref as C, withCtx as u, renderSlot as p } from "vue";
|
|
2
2
|
import { w as F } from "./getPossibleValuesFromUiSchema-hQj1TCOR.js";
|
|
3
|
-
import { k as S, u as _ } from "./SettingsSubPanel.
|
|
4
|
-
import { _ as D } from "./DropdownControl.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { k as S, u as _ } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-CvTyVlk1.js";
|
|
4
|
+
import { _ as D } from "./DropdownControl.vue_vue_type_script_setup_true_lang-CowoWwlG.js";
|
|
5
5
|
import { b as $ } from "./_baseIsEqual-DmkT9Nkc.js";
|
|
6
6
|
function B(s, t) {
|
|
7
7
|
return $(s, t);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { resolveComponent as V, openBlock as d, createElementBlock as
|
|
1
|
+
import { resolveComponent as V, openBlock as d, createElementBlock as b, normalizeClass as v, withKeys as u, withModifiers as a, renderSlot as F, createElementVNode as p, toDisplayString as S, createVNode as f, withDirectives as I, normalizeStyle as A, Fragment as k, renderList as D, createBlock as C, withCtx as O, createTextVNode as x, vShow as P, defineComponent as M, vModelText as R, computed as w, ref as B, onMounted as z, unref as N, createCommentVNode as U } from "vue";
|
|
2
2
|
import { w as L } from "./getPossibleValuesFromUiSchema-hQj1TCOR.js";
|
|
3
|
-
import { _ as E, u as H } from "./SettingsSubPanel.
|
|
3
|
+
import { _ as E, u as H } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-CvTyVlk1.js";
|
|
4
4
|
import { C as K } from "./close-h7XT0ja0.js";
|
|
5
|
-
import { F as j } from "./FunctionButton-
|
|
5
|
+
import { F as j } from "./FunctionButton-TSsgkE2Q.js";
|
|
6
6
|
/* empty css */
|
|
7
7
|
import { u as W } from "./index-Bf0xDq3g.js";
|
|
8
8
|
import { A as G } from "./arrow-dropdown-DjUxzjqC.js";
|
|
9
|
-
import { C as X } from "./Checkbox-
|
|
9
|
+
import { C as X } from "./Checkbox-CJWo47cw.js";
|
|
10
10
|
import { c as q } from "./createMissingItem-B00Kg95q.js";
|
|
11
11
|
const y = 1, J = 28.5, Q = 8, Y = {
|
|
12
12
|
name: "Multiselect",
|
|
@@ -242,7 +242,7 @@ const y = 1, J = 28.5, Q = 8, Y = {
|
|
|
242
242
|
}, Z = { key: 1 };
|
|
243
243
|
function _(e, t, i, n, h, l) {
|
|
244
244
|
const r = V("DropdownIcon"), c = V("Checkbox");
|
|
245
|
-
return d(),
|
|
245
|
+
return d(), b("div", {
|
|
246
246
|
ref: "multiselect",
|
|
247
247
|
class: v(["multiselect", { collapsed: h.collapsed, invalid: !i.isValid, compact: i.compact }]),
|
|
248
248
|
onKeydown: [
|
|
@@ -253,7 +253,7 @@ function _(e, t, i, n, h, l) {
|
|
|
253
253
|
onFocusout: t[5] || (t[5] = a((...s) => l.onFocusOut && l.onFocusOut(...s), ["stop"])),
|
|
254
254
|
onMousedown: t[6] || (t[6] = (...s) => l.onMousedown && l.onMousedown(...s))
|
|
255
255
|
}, [
|
|
256
|
-
i.useCustomListBox ? F(e.$slots, "listBox", { key: 0 }, void 0, !0) : (d(),
|
|
256
|
+
i.useCustomListBox ? F(e.$slots, "listBox", { key: 0 }, void 0, !0) : (d(), b("div", Z, [
|
|
257
257
|
p("div", {
|
|
258
258
|
ref: "toggle",
|
|
259
259
|
role: "button",
|
|
@@ -268,7 +268,7 @@ function _(e, t, i, n, h, l) {
|
|
|
268
268
|
class: "options",
|
|
269
269
|
style: A(l.optionsHeight)
|
|
270
270
|
}, [
|
|
271
|
-
(d(!0),
|
|
271
|
+
(d(!0), b(k, null, D(i.possibleValues, (s, o) => (d(), C(c, {
|
|
272
272
|
ref_for: !0,
|
|
273
273
|
ref: "option",
|
|
274
274
|
key: `multiselect-${s.id}`,
|
|
@@ -278,7 +278,7 @@ function _(e, t, i, n, h, l) {
|
|
|
278
278
|
class: "boxes",
|
|
279
279
|
"onUpdate:modelValue": (m) => l.onUpdateModelValue(s.id, m)
|
|
280
280
|
}, {
|
|
281
|
-
default:
|
|
281
|
+
default: O(() => [
|
|
282
282
|
x(S(s.text), 1)
|
|
283
283
|
]),
|
|
284
284
|
_: 2
|
|
@@ -351,7 +351,6 @@ const ee = /* @__PURE__ */ E(Y, [["render", _], ["__scopeId", "data-v-e722538a"]
|
|
|
351
351
|
}
|
|
352
352
|
},
|
|
353
353
|
emits: {
|
|
354
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
355
354
|
"update:modelValue": (e) => !0
|
|
356
355
|
},
|
|
357
356
|
data() {
|
|
@@ -490,7 +489,7 @@ function le(e, t, i, n, h, l) {
|
|
|
490
489
|
onFocusOutside: e.onFocusOutside,
|
|
491
490
|
"onUpdate:modelValue": e.updateSelectedIds
|
|
492
491
|
}, {
|
|
493
|
-
listBox:
|
|
492
|
+
listBox: O(() => [
|
|
494
493
|
p("div", {
|
|
495
494
|
ref: "listBox",
|
|
496
495
|
class: "summary-input-icon-wrapper",
|
|
@@ -504,7 +503,7 @@ function le(e, t, i, n, h, l) {
|
|
|
504
503
|
]),
|
|
505
504
|
onClick: t[7] || (t[7] = a((...o) => e.focusInput && e.focusInput(...o), ["stop"]))
|
|
506
505
|
}, [
|
|
507
|
-
(d(!0),
|
|
506
|
+
(d(!0), b(k, null, D(e.selectedValues, ({ id: o, text: m, invalid: T }, $) => (d(), b("div", {
|
|
508
507
|
key: `item.id${$}`,
|
|
509
508
|
class: "tag",
|
|
510
509
|
title: m
|
|
@@ -517,7 +516,7 @@ function le(e, t, i, n, h, l) {
|
|
|
517
516
|
compact: e.compact,
|
|
518
517
|
onClick: a((ae) => e.removeTag(o), ["stop"])
|
|
519
518
|
}, {
|
|
520
|
-
default:
|
|
519
|
+
default: O(() => [
|
|
521
520
|
f(r, { class: "remove-tag-button-icon" })
|
|
522
521
|
]),
|
|
523
522
|
_: 2
|
|
@@ -548,7 +547,7 @@ function le(e, t, i, n, h, l) {
|
|
|
548
547
|
compact: e.compact,
|
|
549
548
|
onClick: a(e.removeAllTags, ["stop"])
|
|
550
549
|
}, {
|
|
551
|
-
default:
|
|
550
|
+
default: O(() => [
|
|
552
551
|
f(r)
|
|
553
552
|
]),
|
|
554
553
|
_: 1
|
|
@@ -561,7 +560,7 @@ function le(e, t, i, n, h, l) {
|
|
|
561
560
|
_: 1
|
|
562
561
|
}, 8, ["model-value", "possible-values", "size-visible-options", "parent-focus-element", "parent-refocus-element-on-close", "close-dropdown-on-selection", "is-valid", "compact", "onFocusOutside", "onUpdate:modelValue"]);
|
|
563
562
|
}
|
|
564
|
-
const ie = /* @__PURE__ */ E(te, [["render", le], ["__scopeId", "data-v-
|
|
563
|
+
const ie = /* @__PURE__ */ E(te, [["render", le], ["__scopeId", "data-v-ba79406f"]]), ne = /* @__PURE__ */ M({
|
|
565
564
|
__name: "ComboBoxControl",
|
|
566
565
|
props: {
|
|
567
566
|
control: {},
|
|
@@ -607,7 +606,7 @@ const ie = /* @__PURE__ */ E(te, [["render", le], ["__scopeId", "data-v-3ed86fad
|
|
|
607
606
|
"onUpdate:modelValue": o[0] || (o[0] = (m) => s.changeValue(m))
|
|
608
607
|
}, null, 8, ["id", "allow-new-values", "aria-label", "disabled", "possible-values", "model-value", "is-valid"])) : U("", !0);
|
|
609
608
|
}
|
|
610
|
-
}),
|
|
609
|
+
}), Oe = /* @__PURE__ */ E(ne, [["__scopeId", "data-v-f26e8737"]]);
|
|
611
610
|
export {
|
|
612
|
-
|
|
611
|
+
Oe as default
|
|
613
612
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as h, computed as a, openBlock as f, createBlock as w, unref as V } from "vue";
|
|
2
|
-
import { D as T } from "./DateTimeInput-
|
|
3
|
-
import { t as i, f as b } from "./localTimeUtils-
|
|
2
|
+
import { D as T } from "./DateTimeInput-CENCO9XW.js";
|
|
3
|
+
import { t as i, f as b } from "./localTimeUtils-B7ZKdgm0.js";
|
|
4
4
|
const y = /* @__PURE__ */ h({
|
|
5
5
|
__name: "DateTimeControl",
|
|
6
6
|
props: {
|
|
@@ -2,9 +2,9 @@ import { openBlock as m, createElementBlock as p, createElementVNode as v, defin
|
|
|
2
2
|
import { o as te } from "./index-Bf0xDq3g.js";
|
|
3
3
|
import { u as oe, o as le, s as ae, f as se, a as ne } from "./floating-ui.vue-B-MrqKCT.js";
|
|
4
4
|
import { u as ie } from "./useDropdownNavigation-D6ZenVxz.js";
|
|
5
|
-
import { L as re } from "./svgWithTitle-
|
|
6
|
-
import { V as N } from "./ValueSwitch-
|
|
7
|
-
import { _ as O } from "./SettingsSubPanel.
|
|
5
|
+
import { L as re } from "./svgWithTitle-B5Smv8as.js";
|
|
6
|
+
import { V as N } from "./ValueSwitch-CKBS_htI.js";
|
|
7
|
+
import { _ as O } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-CvTyVlk1.js";
|
|
8
8
|
const ce = {
|
|
9
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10
10
|
fill: "none",
|
package/dist/{DateTimeFormatPickerControl--78jbaK1.js → DateTimeFormatPickerControl-us7mZkRZ.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as m, computed as o, openBlock as p, createBlock as c, unref as n } from "vue";
|
|
2
|
-
import { u as f } from "./SettingsSubPanel.
|
|
3
|
-
import { D as F } from "./DateTimeFormatInput-
|
|
2
|
+
import { u as f } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-CvTyVlk1.js";
|
|
3
|
+
import { D as F } from "./DateTimeFormatInput-BryI7f7S.js";
|
|
4
4
|
const b = /* @__PURE__ */ m({
|
|
5
5
|
__name: "DateTimeFormatPickerControl",
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as f, computed as t, openBlock as v, createElementBlock as T, createVNode as r, unref as d } from "vue";
|
|
2
|
-
import { u as V, _ as b } from "./SettingsSubPanel.
|
|
3
|
-
import { V as y } from "./ValueSwitch-
|
|
4
|
-
import { D as F } from "./DateTimeFormatInput-
|
|
2
|
+
import { u as V, _ as b } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-CvTyVlk1.js";
|
|
3
|
+
import { V as y } from "./ValueSwitch-CKBS_htI.js";
|
|
4
|
+
import { D as F } from "./DateTimeFormatInput-BryI7f7S.js";
|
|
5
5
|
const h = ["id"], D = /* @__PURE__ */ f({
|
|
6
6
|
__name: "DateTimeFormatPickerWithTypeControl",
|
|
7
7
|
props: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { resolveComponent as je, openBlock as C, createElementBlock as E, normalizeClass as te, createElementVNode as j, createCommentVNode as ee, withModifiers as Nt, createVNode as z, reactive as Ia, computed as _, defineComponent as Oe, ref as we, watch as Ae, onMounted as rn, onUnmounted as Sa, toRefs as Iu, inject as wr, watchEffect as Ls, provide as br, nextTick as dr, unref as M, createBlock as Pe, resolveDynamicComponent as Ea, normalizeProps as hr, mergeProps as Mt, renderSlot as Dr, withCtx as Te, toDisplayString as Le, Fragment as Ce, renderList as Ge, normalizeStyle as mr, withKeys as Lr, withDirectives as Hs, toRef as Nr, guardReactiveProps as Un, createTextVNode as Na, isRef as ir, Transition as Rs, resolveDirective as Su, toHandlers as js, pushScopeId as Eu, popScopeId as Nu } from "vue";
|
|
2
2
|
import { c as Au } from "./popper-CRR--9mA.js";
|
|
3
|
-
import { r as Wu } from "./BaseButton-
|
|
4
|
-
import { D as Uu } from "./Dropdown-
|
|
3
|
+
import { r as Wu } from "./BaseButton-CE1udZ4W.js";
|
|
4
|
+
import { D as Uu } from "./Dropdown-Eq4ymhx3.js";
|
|
5
5
|
import { A as Fu } from "./arrow-dropdown-DjUxzjqC.js";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import { _ as Vs, q as nn } from "./SettingsSubPanel.
|
|
7
|
+
import { _ as Vs, q as nn } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-CvTyVlk1.js";
|
|
8
8
|
import { i as Lu, a as Hu } from "./toString-DkbNkGT4.js";
|
|
9
9
|
import { b as Ru } from "./_baseIteratee-DvBmrhnf.js";
|
|
10
10
|
import { b as ju } from "./_baseEach-B8N_Gx8P.js";
|
|
@@ -2879,7 +2879,7 @@ function od(e, t, r, n, a, s) {
|
|
|
2879
2879
|
], 34)
|
|
2880
2880
|
], 2);
|
|
2881
2881
|
}
|
|
2882
|
-
const ud = /* @__PURE__ */ Vs(ad, [["render", od], ["__scopeId", "data-v-
|
|
2882
|
+
const ud = /* @__PURE__ */ Vs(ad, [["render", od], ["__scopeId", "data-v-ae6792b5"]]);
|
|
2883
2883
|
var Ln = { exports: {} }, eo = { exports: {} };
|
|
2884
2884
|
(function(e) {
|
|
2885
2885
|
function t(r) {
|
|
@@ -10964,7 +10964,7 @@ const iP = { render: aP }, sP = {
|
|
|
10964
10964
|
onTextInputChange(e, t) {
|
|
10965
10965
|
let r = zc(e.target.value, this.dateFormat, /* @__PURE__ */ new Date());
|
|
10966
10966
|
this.checkIsValid(r) || (r = this.localValue);
|
|
10967
|
-
|
|
10967
|
+
const n = Lt(this.localValue, r);
|
|
10968
10968
|
t(), this.onDatePickerInput(n);
|
|
10969
10969
|
},
|
|
10970
10970
|
checkIsValid(e) {
|
|
@@ -11031,7 +11031,7 @@ const iP = { render: aP }, sP = {
|
|
|
11031
11031
|
this.popoverIsVisible && (e.preventDefault(), t());
|
|
11032
11032
|
}
|
|
11033
11033
|
}
|
|
11034
|
-
}, oP = (e) => (Eu("data-v-
|
|
11034
|
+
}, oP = (e) => (Eu("data-v-50cb1067"), e = e(), Nu(), e), uP = { class: "date-time-input" }, lP = ["onKeydown"], cP = ["id", "value", "disabled", "onChange"], dP = ["tabindex", "onClick", "onKeydown"], fP = {
|
|
11035
11035
|
key: 0,
|
|
11036
11036
|
class: "invalid-marker"
|
|
11037
11037
|
}, vP = /* @__PURE__ */ oP(() => /* @__PURE__ */ j("span", { class: "time-colon" }, ":", -1)), hP = {
|
|
@@ -11179,7 +11179,7 @@ function yP(e, t, r, n, a, s) {
|
|
|
11179
11179
|
], 2)) : ee("", !0)
|
|
11180
11180
|
]);
|
|
11181
11181
|
}
|
|
11182
|
-
const OP = /* @__PURE__ */ Vs(sP, [["render", yP], ["__scopeId", "data-v-
|
|
11182
|
+
const OP = /* @__PURE__ */ Vs(sP, [["render", yP], ["__scopeId", "data-v-50cb1067"]]);
|
|
11183
11183
|
export {
|
|
11184
11184
|
OP as D,
|
|
11185
11185
|
Ju as a,
|
|
@@ -4,10 +4,10 @@ import { A as oe } from "./arrow-dropdown-DjUxzjqC.js";
|
|
|
4
4
|
import { C as re } from "./close-h7XT0ja0.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { u as le } from "./useSearch-hpyYQ_6y.js";
|
|
7
|
-
import { F as ae } from "./FunctionButton-
|
|
7
|
+
import { F as ae } from "./FunctionButton-TSsgkE2Q.js";
|
|
8
8
|
import { a as de, b as ue, d as ce, f as he, h as pe, j as fe, k as me } from "./_getTag-DS8v0_uf.js";
|
|
9
9
|
import { i as ge } from "./toString-DkbNkGT4.js";
|
|
10
|
-
import { _ as ye } from "./SettingsSubPanel.
|
|
10
|
+
import { _ as ye } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-CvTyVlk1.js";
|
|
11
11
|
const xe = (e) => e.ctrlKey || e.metaKey || e.altKey || e.shiftKey, we = (e, t) => (Array.isArray(t) ? t : [t]).includes(e.key) && !xe(e);
|
|
12
12
|
var Ve = "[object Map]", ve = "[object Set]", be = Object.prototype, Ee = be.hasOwnProperty;
|
|
13
13
|
function Ce(e) {
|
|
@@ -68,7 +68,7 @@ function De(...e) {
|
|
|
68
68
|
};
|
|
69
69
|
return P(u), u;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function _(e) {
|
|
72
72
|
return typeof Window < "u" && e instanceof Window ? e.document.documentElement : typeof Document < "u" && e instanceof Document ? e.documentElement : e;
|
|
73
73
|
}
|
|
74
74
|
function N(e) {
|
|
@@ -84,15 +84,15 @@ function Ie(e) {
|
|
|
84
84
|
const t = e || window.event, s = t.target;
|
|
85
85
|
return N(s) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.preventDefault(), !1);
|
|
86
86
|
}
|
|
87
|
-
const
|
|
88
|
-
function
|
|
87
|
+
const T = /* @__PURE__ */ new WeakMap();
|
|
88
|
+
function _e(e, t = !1) {
|
|
89
89
|
const s = V(t);
|
|
90
90
|
let o = null, i = "";
|
|
91
91
|
O(te(e), (r) => {
|
|
92
|
-
const c =
|
|
92
|
+
const c = _(w(r));
|
|
93
93
|
if (c) {
|
|
94
94
|
const u = c;
|
|
95
|
-
if (
|
|
95
|
+
if (T.get(u) || T.set(u, u.style.overflow), u.style.overflow !== "hidden" && (i = u.style.overflow), u.style.overflow === "hidden")
|
|
96
96
|
return s.value = !0;
|
|
97
97
|
if (s.value)
|
|
98
98
|
return u.style.overflow = "hidden";
|
|
@@ -101,7 +101,7 @@ function Te(e, t = !1) {
|
|
|
101
101
|
immediate: !0
|
|
102
102
|
});
|
|
103
103
|
const n = () => {
|
|
104
|
-
const r =
|
|
104
|
+
const r = _(w(e));
|
|
105
105
|
!r || s.value || (K && (o = De(
|
|
106
106
|
r,
|
|
107
107
|
"touchmove",
|
|
@@ -111,8 +111,8 @@ function Te(e, t = !1) {
|
|
|
111
111
|
{ passive: !1 }
|
|
112
112
|
)), r.style.overflow = "hidden", s.value = !0);
|
|
113
113
|
}, f = () => {
|
|
114
|
-
const r =
|
|
115
|
-
!r || !s.value || (K && (o == null || o()), r.style.overflow = i,
|
|
114
|
+
const r = _(w(e));
|
|
115
|
+
!r || !s.value || (K && (o == null || o()), r.style.overflow = i, T.delete(r), s.value = !1);
|
|
116
116
|
};
|
|
117
117
|
return P(f), A({
|
|
118
118
|
get() {
|
|
@@ -123,18 +123,18 @@ function Te(e, t = !1) {
|
|
|
123
123
|
}
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function Te() {
|
|
127
127
|
let e = !1;
|
|
128
128
|
const t = V(!1);
|
|
129
129
|
return (s, o) => {
|
|
130
130
|
if (t.value = o.value, e)
|
|
131
131
|
return;
|
|
132
132
|
e = !0;
|
|
133
|
-
const i =
|
|
133
|
+
const i = _e(s, o.value);
|
|
134
134
|
O(t, (n) => i.value = n);
|
|
135
135
|
};
|
|
136
136
|
}
|
|
137
|
-
|
|
137
|
+
Te();
|
|
138
138
|
let Be = 0;
|
|
139
139
|
const L = "ArrowDown", R = "ArrowUp", H = "Home", F = "End", Me = "Escape", W = "Enter", Ke = [L, R, H, F, W], Ae = {
|
|
140
140
|
name: "Dropdown",
|
|
@@ -222,8 +222,8 @@ const L = "ArrowDown", R = "ArrowUp", H = "Home", F = "End", Me = "Escape", W =
|
|
|
222
222
|
emits: ["update:modelValue"],
|
|
223
223
|
setup(e) {
|
|
224
224
|
const { caseSensitiveSearch: t, possibleValues: s } = G(e), o = V(!1), i = A(() => {
|
|
225
|
-
|
|
226
|
-
for (
|
|
225
|
+
const r = {};
|
|
226
|
+
for (const c of s.value)
|
|
227
227
|
r[c.id] = c.text;
|
|
228
228
|
return r;
|
|
229
229
|
}), n = V(i.value[e.modelValue]);
|
|
@@ -283,8 +283,8 @@ const L = "ArrowDown", R = "ArrowUp", H = "Home", F = "End", Me = "Escape", W =
|
|
|
283
283
|
return !this.modelValue;
|
|
284
284
|
},
|
|
285
285
|
displayTextMap() {
|
|
286
|
-
|
|
287
|
-
for (
|
|
286
|
+
const e = {};
|
|
287
|
+
for (const t of this.possibleValues)
|
|
288
288
|
e[t.id] = t.text;
|
|
289
289
|
return e;
|
|
290
290
|
},
|
|
@@ -355,28 +355,28 @@ const L = "ArrowDown", R = "ArrowUp", H = "Home", F = "End", Me = "Escape", W =
|
|
|
355
355
|
this.$emit("update:modelValue", e), this.toggleExpanded();
|
|
356
356
|
},
|
|
357
357
|
scrollTo(e) {
|
|
358
|
-
|
|
358
|
+
const t = this.getListBoxNodeRef();
|
|
359
359
|
if (t.scrollHeight >= t.clientHeight) {
|
|
360
|
-
|
|
360
|
+
const s = this.optionRefs.get(e);
|
|
361
361
|
if (!s) {
|
|
362
362
|
consola.error(
|
|
363
363
|
`trying to scroll to element with Id ${e.toString()} which does not exist`
|
|
364
364
|
);
|
|
365
365
|
return;
|
|
366
366
|
}
|
|
367
|
-
|
|
367
|
+
const o = t.clientHeight + t.scrollTop, i = s.offsetTop + s.offsetHeight;
|
|
368
368
|
i > o ? t.scrollTop = i - t.clientHeight : s.offsetTop < t.scrollTop && (t.scrollTop = s.offsetTop);
|
|
369
369
|
}
|
|
370
370
|
},
|
|
371
371
|
onArrowDown() {
|
|
372
|
-
|
|
372
|
+
const e = this.selectedIndex + 1;
|
|
373
373
|
if (e >= this.flatOrderedValues.length)
|
|
374
374
|
return;
|
|
375
375
|
const t = this.flatOrderedValues[e].id;
|
|
376
376
|
this.updateCandidate(t), this.scrollTo(t);
|
|
377
377
|
},
|
|
378
378
|
onArrowUp() {
|
|
379
|
-
|
|
379
|
+
const e = this.selectedIndex - 1;
|
|
380
380
|
if (e < 0)
|
|
381
381
|
return;
|
|
382
382
|
const t = this.flatOrderedValues[e].id;
|
|
@@ -386,7 +386,7 @@ const L = "ArrowDown", R = "ArrowUp", H = "Home", F = "End", Me = "Escape", W =
|
|
|
386
386
|
this.hasNoFilteredPossibleValues || typeof this.candidate > "u" || this.emitAndClose(this.candidate);
|
|
387
387
|
},
|
|
388
388
|
onEndKey() {
|
|
389
|
-
|
|
389
|
+
const e = this.flatOrderedValues.length - 1;
|
|
390
390
|
this.updateCandidate(this.flatOrderedValues[e].id);
|
|
391
391
|
const t = this.getListBoxNodeRef();
|
|
392
392
|
t.scrollTop = t.scrollHeight;
|
|
@@ -424,7 +424,7 @@ const L = "ArrowDown", R = "ArrowUp", H = "Home", F = "End", Me = "Escape", W =
|
|
|
424
424
|
generateId(e, t = null) {
|
|
425
425
|
if (!t)
|
|
426
426
|
return `${e}-${this.id}`;
|
|
427
|
-
|
|
427
|
+
const s = String(t).replace(/[^\w]/gi, "");
|
|
428
428
|
return `${e}-${this.id}-${s}`;
|
|
429
429
|
},
|
|
430
430
|
closeDropdown() {
|
|
@@ -437,7 +437,7 @@ const L = "ArrowDown", R = "ArrowUp", H = "Home", F = "End", Me = "Escape", W =
|
|
|
437
437
|
this.searchValue = "", this.getSearchInput().focus();
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
|
-
}, Pe = (e) => (Z("data-v-
|
|
440
|
+
}, Pe = (e) => (Z("data-v-17071e07"), e = e(), $(), e), Ne = ["id"], Le = ["id", "aria-label", "aria-labelledby", "aria-expanded"], Re = ["value"], He = {
|
|
441
441
|
key: 1,
|
|
442
442
|
ref: "slotContainer"
|
|
443
443
|
}, Fe = { class: "right" }, We = {
|
|
@@ -599,7 +599,7 @@ function Xe(e, t, s, o, i, n) {
|
|
|
599
599
|
_: 3
|
|
600
600
|
}, 8, ["onTrigger"]);
|
|
601
601
|
}
|
|
602
|
-
const ot = /* @__PURE__ */ ye(Ae, [["render", Xe], ["__scopeId", "data-v-
|
|
602
|
+
const ot = /* @__PURE__ */ ye(Ae, [["render", Xe], ["__scopeId", "data-v-17071e07"]]);
|
|
603
603
|
export {
|
|
604
604
|
ot as D
|
|
605
605
|
};
|