@knime/jsonforms 1.21.12 → 1.21.14
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 +15 -0
- package/dist/{AnyOfTwinlist-okh3acrL.js → AnyOfTwinlist-CV39JeCp.js} +1 -1
- package/dist/{CheckboxControl-WvUWHssa.js → CheckboxControl-CS4nuJTP.js} +1 -1
- package/dist/{CheckboxesControl-FdF0BBj6.js → CheckboxesControl-DXJMkZ49.js} +2 -2
- package/dist/{ColorControl-DoojVQVN.js → ColorControl-CpBVJh38.js} +1 -1
- package/dist/{ColorPreviewControl-BbltK_sQ.js → ColorPreviewControl-0VK3OqwY.js} +1 -1
- package/dist/{ComboBoxControl-CUld4KT6.js → ComboBoxControl-avfNedsG.js} +4 -4
- package/dist/DateControl-B8E0JEIV.js +42 -0
- package/dist/DateTimeControl-DPjGzRqg.js +78 -0
- package/dist/{DateTimeFormatPickerControl-DIKJ38Cu.js → DateTimeFormatPickerControl-Cx3yfT3O.js} +1 -1
- package/dist/DateTimeFormatPickerWithTypeControl-CodEVQG_.js +586 -0
- package/dist/{DropdownControl-C5lnjQYg.js → DropdownControl-DEggcwK1.js} +2 -2
- package/dist/{ExecutorCoresControl-CfgW_CAA.js → ExecutorCoresControl-CvCVcaHM.js} +1 -1
- package/dist/{ExecutorMemoryControl-DQ5K142Z.js → ExecutorMemoryControl-CpbVJNq4.js} +1 -1
- package/dist/{FileUploadControl-BHA9VMk6.js → FileUploadControl-CNUi9QfR.js} +21 -21
- package/dist/{GridSelectionControl-_y030flL.js → GridSelectionControl-HV2yNE4R.js} +14 -14
- package/dist/{HorizontalLayout-aR7lYnE1.js → HorizontalLayout-Cqf3hzxv.js} +1 -1
- package/dist/{IntegerControl-BiWKa6qP.js → IntegerControl-Ba5QkLCa.js} +1 -1
- package/dist/IntervalControl-DlLV8RQr.js +48 -0
- package/dist/{LinkControl-CloaPEeg.js → LinkControl-COH9jvPg.js} +4 -4
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-CIHUkMU_.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-Cir2ym2M.js} +5 -5
- package/dist/{ManualTwinlistControl-C8duERky.js → ManualTwinlistControl-jJGxlq9j.js} +3 -3
- package/dist/{MultiSelectListBoxControl-BVd9aG_L.js → MultiSelectListBoxControl-DcWDraNF.js} +12 -12
- package/dist/{MultimodeTwinlistControl-Cpn3Obqv.js → MultimodeTwinlistControl-B-rEhgKQ.js} +1 -1
- package/dist/{MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-BWDpSwd8.js → MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-yhmiIg95.js} +5 -5
- package/dist/{NameFilter-DiGEe3xM.js → NameFilter-BFKNf9cO.js} +1 -1
- package/dist/{NumberControl-CLqg9R1h.js → NumberControl-BAxGZy_4.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-BmD_chMa.js → NumberControlBase.vue_vue_type_script_setup_true_lang-Dlxx71hk.js} +2 -2
- package/dist/{OneOfDropdown-C-uZgb2n.js → OneOfDropdown-DcetHKT5.js} +4 -4
- package/dist/{RadioButtonsWithDescriptionControl-B-7qAPKi.js → RadioButtonsWithDescriptionControl-pZ0gJ6iz.js} +4 -4
- package/dist/{RadioControl-1uSlBli9.js → RadioControl-B8-nxddP.js} +1 -1
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-D9p-74CQ.js → RadioControlBase.vue_vue_type_script_setup_true_lang-8xWE-iQR.js} +8 -8
- package/dist/ResourceControlBase-ZMTuwwL2.js +86 -0
- package/dist/{RichTextControl-DP_G9eeL.js → RichTextControl-kptCYz2A.js} +5874 -4964
- package/dist/{SectionHeading-DXTZxEqf.js → SectionHeading-MlqCj5BS.js} +1 -1
- package/dist/{SectionLayout-7ccuUrYw.js → SectionLayout-nV1GnghP.js} +3 -3
- package/dist/SettingsSubPanel-Z6urYwz1.js +5 -0
- package/dist/{SettingsSubPanelLayout-yLYlXH0u.js → SettingsSubPanelLayout-BNMJbUsL.js} +4 -4
- package/dist/{SimpleButtonControl-CDWXL2xf.js → SimpleButtonControl-DZFYl2H3.js} +8 -8
- package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js +27089 -0
- package/dist/{SimpleTwinlistControl-BNCs9d3G.js → SimpleTwinlistControl-Ds2BQOoO.js} +2 -2
- package/dist/{SingleSelectControl-C6_AaIOD.js → SingleSelectControl-CLv_Mah-.js} +2 -2
- package/dist/{SingleSelectListBoxControl-SaXGIZu1.js → SingleSelectListBoxControl-DM_5t3Nv.js} +3 -3
- package/dist/{SortListControl-CE-fFPEt.js → SortListControl-COd0WHwd.js} +1 -1
- package/dist/{StyledListItem-CVxAhfg9.js → StyledListItem-D3NbpWl3.js} +1 -1
- package/dist/{TeamAndSpacesControl-BbnSrDDM.js → TeamAndSpacesControl-A8mWrSE4.js} +1 -1
- package/dist/{TeamResourceControl-BzK-poDQ.js → TeamResourceControl-CAgwzjRZ.js} +1 -1
- package/dist/{TextAreaControl-CV31xMV2.js → TextAreaControl-DRBGqA7a.js} +1 -1
- package/dist/{TextControl-Cd8b0ciV.js → TextControl--Tw-AE3y.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-Dy33yTWA.js → TextControl.vue_vue_type_script_setup_true_lang-PdbUWJUv.js} +2 -2
- package/dist/TimeControl-D_hEPt2Z.js +69 -0
- package/dist/TimeframesControl-EKcriaC8.js +345 -0
- package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-CEd5Mao3.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-BRq0ANwm.js} +2 -2
- package/dist/{TypedStringFilter-NxkEmoJG.js → TypedStringFilter-UUuSnJNk.js} +1 -1
- package/dist/{ValueSwitchControl-DSQYeBjc.js → ValueSwitchControl-BwERUIyr.js} +1 -1
- package/dist/{VerticalLayout-B0nfyfhR.js → VerticalLayout-BET3pZ_K.js} +2 -2
- package/dist/{VerticalLayoutBase-CsDLPDdW.js → VerticalLayoutBase-HYtDwVLA.js} +1 -1
- package/dist/ZonedDateTimeControl-CsbZwGMX.js +77 -0
- package/dist/{_Uint8Array-CZYa_ni2.js → _Uint8Array-DJimCh8a.js} +5 -7
- package/dist/classApi-CHpAZrj3.js +3328 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +7 -7
- package/dist/plainDateTimeUtils-CR0UhpkD.js +52 -0
- package/dist/src/composables/usePlainDateTimeBatch.d.ts +31 -0
- package/dist/src/uiComponents/DateControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/DateTimeControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/TimeControl.vue.d.ts +1 -1
- package/dist/src/utils/plainDateTimeUtils.d.ts +66 -0
- package/dist/testing.js +4285 -3982
- package/dist/{toString-CLKrIkFV.js → toString-B8vqfiDe.js} +3 -4
- package/dist/{useBuiltinValidations-DiMyBW0e.js → useBuiltinValidations-CzYsm8oq.js} +1 -1
- package/dist/useDropdownNavigation-CdrbT-CQ.js +2003 -0
- package/dist/usePlainDateTimeBatch-Bd2G-GY9.js +34 -0
- package/dist/{usePossibleValues--Oc7RF2X.js → usePossibleValues-CGt7yrJ6.js} +1 -1
- package/dist/{useUnknownValuesInTwinlist-Tb5xfKVI.js → useUnknownValuesInTwinlist-Bez1tY4_.js} +1 -1
- package/package.json +7 -11
- package/dist/DateControl-BY2P3mI9.js +0 -35
- package/dist/DateTimeControl-y0PRMQPw.js +0 -44
- package/dist/DateTimeFormatPickerWithTypeControl-BxT897aw.js +0 -464
- package/dist/IntervalControl-VJCTzAIh.js +0 -751
- package/dist/ResourceControlBase-Dc_hzlRC.js +0 -69
- package/dist/SettingsSubPanel-x2JfGeo0.js +0 -5
- package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BDEWXlve.js +0 -28302
- package/dist/TimeControl-BVtkHiqK.js +0 -35
- package/dist/TimePartInput-BXq9OsnT.js +0 -254
- package/dist/TimeframesControl-Cj7ecpdC.js +0 -87
- package/dist/Tooltip-ClY9sTfM.js +0 -24
- package/dist/ValueSwitch-CZZKbbiG.js +0 -130
- package/dist/ZonedDateTimeControl-CuS1pIG-.js +0 -66
- package/dist/_baseIteratee-BHa5eKgU.js +0 -308
- package/dist/arrow-dropdown-DMFBPPcK.js +0 -17
- package/dist/floating-ui.vue-Bk6u3tWN.js +0 -1060
- package/dist/localTimeUtils-BKrpWptT.js +0 -12315
- package/dist/popper-iehk3xNV.js +0 -923
- package/dist/src/utils/localTimeUtils.d.ts +0 -18
- package/dist/useDropdownNavigation-EOwf_fL0.js +0 -946
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as V, ref as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { defineComponent as V, ref as v, computed as g, openBlock as R, createElementBlock as G, createVNode as q, unref as H, createElementVNode as A, toDisplayString as K } from "vue";
|
|
2
|
+
import { y as I, H as W, v as $, x as U, B as Y, _ as J } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
|
|
3
|
+
import { h as Q, e as X, o as Z, U as w, j as z, a as j, l as P, n as T, i as k, S as ee, g as te } from "./_Uint8Array-DJimCh8a.js";
|
|
4
4
|
import { i as re } from "./isArray-WzO_os3q.js";
|
|
5
5
|
var O = Object.create, ne = /* @__PURE__ */ (function() {
|
|
6
6
|
function e() {
|
|
@@ -39,8 +39,8 @@ function se(e, t, r) {
|
|
|
39
39
|
var o = e[t];
|
|
40
40
|
(!(ie.call(e, t) && X(o, r)) || r === void 0 && !(t in e)) && oe(e, t, r);
|
|
41
41
|
}
|
|
42
|
-
var le = Z(Object.getPrototypeOf, Object),
|
|
43
|
-
|
|
42
|
+
var le = Z(Object.getPrototypeOf, Object), D = typeof exports == "object" && exports && !exports.nodeType && exports, x = D && typeof module == "object" && module && !module.nodeType && module, fe = x && x.exports === D, C = fe ? W.Buffer : void 0;
|
|
43
|
+
C && C.allocUnsafe;
|
|
44
44
|
function ue(e, t) {
|
|
45
45
|
return e.slice();
|
|
46
46
|
}
|
|
@@ -70,14 +70,14 @@ function me(e, t) {
|
|
|
70
70
|
var r = m(e.buffer);
|
|
71
71
|
return new e.constructor(r, e.byteOffset, e.length);
|
|
72
72
|
}
|
|
73
|
-
var he = "[object Boolean]",
|
|
73
|
+
var he = "[object Boolean]", ve = "[object Date]", Ae = "[object Map]", $e = "[object Number]", we = "[object RegExp]", Oe = "[object Set]", Se = "[object String]", xe = "[object Symbol]", Ce = "[object ArrayBuffer]", Fe = "[object DataView]", _e = "[object Float32Array]", Be = "[object Float64Array]", Ee = "[object Int8Array]", Ie = "[object Int16Array]", Ue = "[object Int32Array]", Pe = "[object Uint8Array]", De = "[object Uint8ClampedArray]", Me = "[object Uint16Array]", Le = "[object Uint32Array]";
|
|
74
74
|
function Ne(e, t, r) {
|
|
75
75
|
var o = e.constructor;
|
|
76
76
|
switch (t) {
|
|
77
|
-
case
|
|
77
|
+
case Ce:
|
|
78
78
|
return m(e);
|
|
79
79
|
case he:
|
|
80
|
-
case
|
|
80
|
+
case ve:
|
|
81
81
|
return new o(+e);
|
|
82
82
|
case Fe:
|
|
83
83
|
return ge(e);
|
|
@@ -86,12 +86,12 @@ function Ne(e, t, r) {
|
|
|
86
86
|
case Ee:
|
|
87
87
|
case Ie:
|
|
88
88
|
case Ue:
|
|
89
|
-
case De:
|
|
90
89
|
case Pe:
|
|
90
|
+
case De:
|
|
91
91
|
case Me:
|
|
92
92
|
case Le:
|
|
93
93
|
return me(e);
|
|
94
|
-
case
|
|
94
|
+
case Ae:
|
|
95
95
|
return new o();
|
|
96
96
|
case $e:
|
|
97
97
|
case Se:
|
|
@@ -100,7 +100,7 @@ function Ne(e, t, r) {
|
|
|
100
100
|
return Te(e);
|
|
101
101
|
case Oe:
|
|
102
102
|
return new o();
|
|
103
|
-
case
|
|
103
|
+
case xe:
|
|
104
104
|
return je(e);
|
|
105
105
|
}
|
|
106
106
|
}
|
|
@@ -111,11 +111,11 @@ var Re = "[object Map]";
|
|
|
111
111
|
function Ge(e) {
|
|
112
112
|
return U(e) && j(e) == Re;
|
|
113
113
|
}
|
|
114
|
-
var B = T && T.isMap, qe = B ?
|
|
114
|
+
var B = T && T.isMap, qe = B ? P(B) : Ge, He = "[object Set]";
|
|
115
115
|
function Ke(e) {
|
|
116
116
|
return U(e) && j(e) == He;
|
|
117
117
|
}
|
|
118
|
-
var E = T && T.isSet, We = E ?
|
|
118
|
+
var E = T && T.isSet, We = E ? P(E) : Ke, M = "[object Arguments]", Ye = "[object Array]", Je = "[object Boolean]", Qe = "[object Date]", Xe = "[object Error]", L = "[object Function]", Ze = "[object GeneratorFunction]", ze = "[object Map]", ke = "[object Number]", N = "[object Object]", et = "[object RegExp]", tt = "[object Set]", rt = "[object String]", nt = "[object Symbol]", at = "[object WeakMap]", ot = "[object ArrayBuffer]", ct = "[object DataView]", it = "[object Float32Array]", st = "[object Float64Array]", lt = "[object Int8Array]", ft = "[object Int16Array]", ut = "[object Int32Array]", bt = "[object Uint8Array]", pt = "[object Uint8ClampedArray]", dt = "[object Uint16Array]", gt = "[object Uint32Array]", n = {};
|
|
119
119
|
n[M] = n[Ye] = n[ot] = n[ct] = n[Je] = n[Qe] = n[it] = n[st] = n[lt] = n[ft] = n[ut] = n[ze] = n[ke] = n[N] = n[et] = n[tt] = n[rt] = n[nt] = n[bt] = n[pt] = n[dt] = n[gt] = !0;
|
|
120
120
|
n[Xe] = n[L] = n[at] = !1;
|
|
121
121
|
function y(e, t, r, o, u, c) {
|
|
@@ -157,7 +157,7 @@ var yt = 1, Tt = 4;
|
|
|
157
157
|
function jt(e) {
|
|
158
158
|
return y(e, yt | Tt);
|
|
159
159
|
}
|
|
160
|
-
const mt = { class: "wrapper" }, ht = { class: "filename" },
|
|
160
|
+
const mt = { class: "wrapper" }, ht = { class: "filename" }, vt = ["id", "aria-label", "accept", "multiple", "disabled"], At = /* @__PURE__ */ V({
|
|
161
161
|
inheritAttrs: !1,
|
|
162
162
|
__name: "FileUploadControl",
|
|
163
163
|
props: {
|
|
@@ -170,11 +170,11 @@ const mt = { class: "wrapper" }, ht = { class: "filename" }, At = ["id", "aria-l
|
|
|
170
170
|
labelForId: {}
|
|
171
171
|
},
|
|
172
172
|
setup(e) {
|
|
173
|
-
const t = e, r =
|
|
173
|
+
const t = e, r = v(jt(t.control.data)), o = g(
|
|
174
174
|
() => t.control.uischema.options?.accept ?? "*"
|
|
175
175
|
), u = g(
|
|
176
176
|
() => t.control.uischema.options?.multiple ?? !1
|
|
177
|
-
), c =
|
|
177
|
+
), c = v(null), a = g(() => r.value?.map?.(({ name: l }) => l).join(", ") || "No file selected"), p = g(() => `Select file${u.value ? "s" : ""}`), i = () => {
|
|
178
178
|
c.value?.click();
|
|
179
179
|
}, d = (l) => {
|
|
180
180
|
const b = l.target;
|
|
@@ -190,8 +190,8 @@ const mt = { class: "wrapper" }, ht = { class: "filename" }, At = ["id", "aria-l
|
|
|
190
190
|
size: "small",
|
|
191
191
|
onClick: i
|
|
192
192
|
}, null, 8, ["label", "disabled"]),
|
|
193
|
-
|
|
194
|
-
|
|
193
|
+
A("span", ht, K(a.value), 1),
|
|
194
|
+
A("input", {
|
|
195
195
|
id: e.labelForId,
|
|
196
196
|
ref_key: "fileSelector",
|
|
197
197
|
ref: c,
|
|
@@ -202,10 +202,10 @@ const mt = { class: "wrapper" }, ht = { class: "filename" }, At = ["id", "aria-l
|
|
|
202
202
|
disabled: e.disabled,
|
|
203
203
|
hidden: "",
|
|
204
204
|
onChange: d
|
|
205
|
-
}, null, 40,
|
|
205
|
+
}, null, 40, vt)
|
|
206
206
|
]));
|
|
207
207
|
}
|
|
208
|
-
}),
|
|
208
|
+
}), xt = /* @__PURE__ */ J(At, [["__scopeId", "data-v-278c7bc6"]]);
|
|
209
209
|
export {
|
|
210
|
-
|
|
210
|
+
xt as default
|
|
211
211
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as S, useCssVars as U, unref as n, ref as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as S, useCssVars as U, unref as n, ref as B, computed as s, watch as f, openBlock as c, createElementBlock as u, normalizeStyle as D, Fragment as G, renderList as T, createBlock as h, createCommentVNode as p, createVNode as $, withModifiers as A } from "vue";
|
|
2
|
+
import { $ as N, a0 as z, B as O, _ as R } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
|
|
3
3
|
const W = { class: "grid-list" }, H = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "checkbox"
|
|
6
|
-
},
|
|
6
|
+
}, X = 7, j = "auto", q = "Invert selection", J = /* @__PURE__ */ S({
|
|
7
7
|
__name: "GridSelectionControl",
|
|
8
8
|
props: {
|
|
9
9
|
handleChange: { type: Function },
|
|
@@ -23,11 +23,11 @@ const W = { class: "grid-list" }, H = {
|
|
|
23
23
|
handleChange: C
|
|
24
24
|
} = r, {
|
|
25
25
|
possibleValues: o = [],
|
|
26
|
-
columnCount: I =
|
|
27
|
-
gridWidth: k =
|
|
28
|
-
toggleLabel: m =
|
|
26
|
+
columnCount: I = X,
|
|
27
|
+
gridWidth: k = j,
|
|
28
|
+
toggleLabel: m = q,
|
|
29
29
|
renderLastItemAsCheckbox: d = !1
|
|
30
|
-
} = b, a =
|
|
30
|
+
} = b, a = B(/* @__PURE__ */ new Map()), x = s(() => ({
|
|
31
31
|
"grid-template-columns": `repeat(${I}, 1fr)`
|
|
32
32
|
})), E = s(
|
|
33
33
|
() => o.filter(
|
|
@@ -79,9 +79,9 @@ const W = { class: "grid-list" }, H = {
|
|
|
79
79
|
n(o).length ? (c(), u("div", {
|
|
80
80
|
key: 0,
|
|
81
81
|
class: "grid-list-container",
|
|
82
|
-
style:
|
|
82
|
+
style: D(x.value)
|
|
83
83
|
}, [
|
|
84
|
-
(c(!0), u(
|
|
84
|
+
(c(!0), u(G, null, T(E.value, ({ id: l, text: v }) => (c(), h(n(N), {
|
|
85
85
|
key: `grid-item-${l}`,
|
|
86
86
|
modelValue: a.value.get(l).active,
|
|
87
87
|
"onUpdate:modelValue": (L) => a.value.get(l).active = L,
|
|
@@ -92,24 +92,24 @@ const W = { class: "grid-list" }, H = {
|
|
|
92
92
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label"]))), 128))
|
|
93
93
|
], 4)) : p("", !0),
|
|
94
94
|
n(d) && i.value ? (c(), u("div", H, [
|
|
95
|
-
|
|
95
|
+
$(n(z), {
|
|
96
96
|
modelValue: a.value.get(i.value.id).active,
|
|
97
97
|
"onUpdate:modelValue": t[0] || (t[0] = (l) => a.value.get(i.value.id).active = l),
|
|
98
98
|
label: i.value.text
|
|
99
99
|
}, null, 8, ["modelValue", "label"])
|
|
100
100
|
])) : p("", !0),
|
|
101
|
-
n(m) ? (c(), h(n(
|
|
101
|
+
n(m) ? (c(), h(n(O), {
|
|
102
102
|
key: 2,
|
|
103
103
|
variant: "outlined",
|
|
104
104
|
size: "xsmall",
|
|
105
105
|
label: n(m),
|
|
106
106
|
"leading-icon": "replace",
|
|
107
107
|
class: "invert overwrite-legacy-styles",
|
|
108
|
-
onClick:
|
|
108
|
+
onClick: A(M, ["prevent"])
|
|
109
109
|
}, null, 8, ["label"])) : p("", !0)
|
|
110
110
|
]));
|
|
111
111
|
}
|
|
112
|
-
}),
|
|
112
|
+
}), Q = /* @__PURE__ */ R(J, [["__scopeId", "data-v-7c90b0fa"]]);
|
|
113
113
|
export {
|
|
114
|
-
|
|
114
|
+
Q as default
|
|
115
115
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as t, createElementBlock as a, Fragment as r, renderList as c, createBlock as s, unref as u } from "vue";
|
|
2
|
-
import { a as m, _ as i } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-
|
|
2
|
+
import { a as m, _ as i } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
|
|
3
3
|
const d = { class: "horizontal" }, h = /* @__PURE__ */ o({
|
|
4
4
|
__name: "HorizontalLayout",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as n, createBlock as t, mergeProps as r } from "vue";
|
|
2
|
-
import { _ as a } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as a } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-Dlxx71hk.js";
|
|
3
3
|
const s = /* @__PURE__ */ o({
|
|
4
4
|
__name: "IntegerControl",
|
|
5
5
|
props: {
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { defineComponent as p, computed as n, openBlock as f, createBlock as b, unref as l } from "vue";
|
|
2
|
+
import { u as r, a1 as g } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
|
|
3
|
+
import { U as h } from "./classApi-CHpAZrj3.js";
|
|
4
|
+
const w = /* @__PURE__ */ p({
|
|
5
|
+
__name: "IntervalControl",
|
|
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(o) {
|
|
16
|
+
const a = o, t = n(
|
|
17
|
+
() => a.control.uischema
|
|
18
|
+
), c = r(
|
|
19
|
+
t,
|
|
20
|
+
"intervalType",
|
|
21
|
+
"DATE_OR_TIME"
|
|
22
|
+
), i = n(() => c.value.toLowerCase()), d = r(t, "allowDescending", !0), u = (e) => {
|
|
23
|
+
if (!e)
|
|
24
|
+
return null;
|
|
25
|
+
try {
|
|
26
|
+
return h.Duration.from(e);
|
|
27
|
+
} catch {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
}, s = n(
|
|
31
|
+
() => u(a.control.data)
|
|
32
|
+
), m = (e) => {
|
|
33
|
+
a.changeValue(e?.toString() ?? "");
|
|
34
|
+
};
|
|
35
|
+
return (e, v) => (f(), b(l(g), {
|
|
36
|
+
id: o.labelForId,
|
|
37
|
+
ariaLabel: a.control.label,
|
|
38
|
+
"model-value": s.value,
|
|
39
|
+
"allow-descending": l(d),
|
|
40
|
+
disabled: o.disabled,
|
|
41
|
+
format: i.value,
|
|
42
|
+
"onUpdate:modelValue": m
|
|
43
|
+
}, null, 8, ["id", "ariaLabel", "model-value", "allow-descending", "disabled", "format"]));
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
export {
|
|
47
|
+
w as default
|
|
48
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as s, useCssVars as r, unref as n, openBlock as p, createElementBlock as d, createVNode as m } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a2 as u, _ } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
|
|
3
3
|
const g = { class: "link-wrapper" }, f = /* @__PURE__ */ s({
|
|
4
4
|
__name: "LinkControl",
|
|
5
5
|
props: {
|
|
@@ -12,15 +12,15 @@ const g = { class: "link-wrapper" }, f = /* @__PURE__ */ s({
|
|
|
12
12
|
messages: {},
|
|
13
13
|
onRegisterValidation: { type: Function }
|
|
14
14
|
},
|
|
15
|
-
setup(
|
|
15
|
+
setup(e) {
|
|
16
16
|
r((c) => ({
|
|
17
17
|
bc3ff08c: n(t)
|
|
18
18
|
}));
|
|
19
|
-
const
|
|
19
|
+
const o = e, t = o.control.uischema.options?.alignment === "right" ? "flex-end" : "flex-start", { to: a, leadingIcon: l, trailingIcon: i } = o.control.uischema.options || {};
|
|
20
20
|
return (c, h) => (p(), d("div", g, [
|
|
21
21
|
m(n(u), {
|
|
22
22
|
class: "link-button",
|
|
23
|
-
label:
|
|
23
|
+
label: e.control.label,
|
|
24
24
|
to: n(a),
|
|
25
25
|
"leading-icon": n(l),
|
|
26
26
|
"trailing-icon": n(i),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as v, computed as s, openBlock as V, createBlock as f, unref as y, mergeProps as g } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { W as _ } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
|
|
3
3
|
const L = /* @__PURE__ */ v({
|
|
4
4
|
__name: "LoadingDropdown",
|
|
5
5
|
props: {
|
|
@@ -11,8 +11,8 @@ const L = /* @__PURE__ */ v({
|
|
|
11
11
|
error: { type: Boolean }
|
|
12
12
|
},
|
|
13
13
|
emits: ["update:modelValue"],
|
|
14
|
-
setup(
|
|
15
|
-
const e =
|
|
14
|
+
setup(i, { emit: u }) {
|
|
15
|
+
const e = i, n = u, d = s(() => e.possibleValues === null ? "" : e.modelValue), r = s(() => e.possibleValues === null), p = s(
|
|
16
16
|
() => e.possibleValues?.some((a) => a.type !== void 0)
|
|
17
17
|
), o = s(() => {
|
|
18
18
|
if (e.possibleValues === null)
|
|
@@ -34,7 +34,7 @@ const L = /* @__PURE__ */ v({
|
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
36
|
return a;
|
|
37
|
-
}), c = s(() =>
|
|
37
|
+
}), c = s(() => r.value ? "Loading" : o.value.length > 0 ? "No value selected" : "No values present"), b = s(
|
|
38
38
|
() => e.disabled || o.value.length === 0
|
|
39
39
|
), m = (a) => {
|
|
40
40
|
n("update:modelValue", a ?? "");
|
|
@@ -45,7 +45,7 @@ const L = /* @__PURE__ */ v({
|
|
|
45
45
|
"model-value": d.value,
|
|
46
46
|
disabled: b.value,
|
|
47
47
|
"possible-values": o.value,
|
|
48
|
-
loading:
|
|
48
|
+
loading: r.value,
|
|
49
49
|
placeholder: c.value,
|
|
50
50
|
error: e.error,
|
|
51
51
|
"onUpdate:modelValue": m
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as k, toRef as i, computed as t, openBlock as C, createBlock as U, unref as a, mergeProps as x } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { Z as I } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
|
|
3
3
|
import { m as r } from "./index-Blg1O3Fz.js";
|
|
4
|
-
import { a as M, u as v } from "./usePossibleValues
|
|
4
|
+
import { a as M, u as v } from "./usePossibleValues-CGt7yrJ6.js";
|
|
5
5
|
import { t as F } from "./toKdsPossibleValues-BklBg3gG.js";
|
|
6
|
-
import { u as L } from "./useUnknownValuesInTwinlist-
|
|
6
|
+
import { u as L } from "./useUnknownValuesInTwinlist-Bez1tY4_.js";
|
|
7
7
|
const K = /* @__PURE__ */ k({
|
|
8
8
|
__name: "ManualTwinlistControl",
|
|
9
9
|
props: {
|
package/dist/{MultiSelectListBoxControl-BVd9aG_L.js → MultiSelectListBoxControl-DcWDraNF.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { toRef as S, watch as y, resolveComponent as p, openBlock as h, createElementBlock as c, normalizeStyle as I, normalizeClass as V, createElementVNode as f, mergeProps as v, withKeys as a, withModifiers as d, normalizeProps as C, guardReactiveProps as w, Fragment as k, renderList as D, createBlock as g, withCtx as B, renderSlot as H, resolveDynamicComponent as K, toDisplayString as N, createCommentVNode as b, createVNode as L, defineComponent as A, unref as x } from "vue";
|
|
2
|
-
import { u as T } from "./usePossibleValues
|
|
3
|
-
import {
|
|
4
|
-
import { S as M } from "./StyledListItem-
|
|
5
|
-
const
|
|
2
|
+
import { u as T } from "./usePossibleValues-CGt7yrJ6.js";
|
|
3
|
+
import { a3 as O, Q as z, _ as P } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
|
|
4
|
+
import { S as M } from "./StyledListItem-D3NbpWl3.js";
|
|
5
|
+
const E = (e, t) => {
|
|
6
6
|
let i, n = 0;
|
|
7
7
|
return (...o) => {
|
|
8
8
|
const [s, r] = o;
|
|
@@ -12,7 +12,7 @@ const R = (e, t) => {
|
|
|
12
12
|
n = l, e(s, r);
|
|
13
13
|
}, t);
|
|
14
14
|
};
|
|
15
|
-
},
|
|
15
|
+
}, R = 250, U = {
|
|
16
16
|
name: "MultiselectListBox",
|
|
17
17
|
components: { StyledListItem: M },
|
|
18
18
|
props: {
|
|
@@ -206,9 +206,9 @@ const R = (e, t) => {
|
|
|
206
206
|
},
|
|
207
207
|
methods: {
|
|
208
208
|
createDebouncedHandleCtrlClick() {
|
|
209
|
-
this.debouncedHandleCtrlClick =
|
|
209
|
+
this.debouncedHandleCtrlClick = E((e, t) => {
|
|
210
210
|
this.handleCtrlClick(e, t);
|
|
211
|
-
},
|
|
211
|
+
}, R);
|
|
212
212
|
},
|
|
213
213
|
// Define debouncedHandleCtrlClick as a method
|
|
214
214
|
debouncedHandleCtrlClick(e, t) {
|
|
@@ -437,11 +437,11 @@ const R = (e, t) => {
|
|
|
437
437
|
}, F = { class: "box" }, W = ["id", "aria-label", "aria-activedescendant"], j = {
|
|
438
438
|
key: 0,
|
|
439
439
|
class: "empty-state"
|
|
440
|
-
}, q = { key: 1 },
|
|
440
|
+
}, q = { key: 1 }, Q = {
|
|
441
441
|
key: 1,
|
|
442
442
|
role: "bottom-box"
|
|
443
443
|
};
|
|
444
|
-
function
|
|
444
|
+
function Y(e, t, i, n, o, s) {
|
|
445
445
|
const r = p("StyledListItem");
|
|
446
446
|
return h(), c("div", {
|
|
447
447
|
class: V(["multiselect-list-box", { invalid: !i.isValid, disabled: i.disabled }]),
|
|
@@ -494,7 +494,7 @@ function G(e, t, i, n, o, s) {
|
|
|
494
494
|
s.showEmptyState ? (h(), c("div", j, [
|
|
495
495
|
i.emptyStateComponent ? (h(), g(K(i.emptyStateComponent), { key: 0 })) : (h(), c("span", q, N(i.emptyStateLabel), 1))
|
|
496
496
|
])) : b("", !0),
|
|
497
|
-
i.withBottomValue ? (h(), c("div",
|
|
497
|
+
i.withBottomValue ? (h(), c("div", Q, [
|
|
498
498
|
L(r, {
|
|
499
499
|
id: s.generateOptionId(i.bottomValue),
|
|
500
500
|
special: "",
|
|
@@ -512,7 +512,7 @@ function G(e, t, i, n, o, s) {
|
|
|
512
512
|
])
|
|
513
513
|
], 6);
|
|
514
514
|
}
|
|
515
|
-
const
|
|
515
|
+
const G = /* @__PURE__ */ P(U, [["render", Y], ["__scopeId", "data-v-4ee62d65"]]), $ = /* @__PURE__ */ A({
|
|
516
516
|
__name: "MultiSelectListBoxControl",
|
|
517
517
|
props: {
|
|
518
518
|
control: {},
|
|
@@ -525,7 +525,7 @@ const J = /* @__PURE__ */ P(U, [["render", G], ["__scopeId", "data-v-4ee62d65"]]
|
|
|
525
525
|
},
|
|
526
526
|
setup(e) {
|
|
527
527
|
const t = e, { possibleValues: i } = T(S(t, "control"));
|
|
528
|
-
return (n, o) => (h(), g(x(
|
|
528
|
+
return (n, o) => (h(), g(x(G), {
|
|
529
529
|
id: e.labelForId,
|
|
530
530
|
"possible-values": x(i) || [],
|
|
531
531
|
disabled: e.disabled,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as A, toRef as b, computed as c, openBlock as B, createBlock as S, unref as u, mergeProps as N } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a4 as r, Z as G } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
|
|
3
3
|
import { m as g } from "./index-Blg1O3Fz.js";
|
|
4
|
-
import { u as X, a as Y } from "./usePossibleValues
|
|
4
|
+
import { u as X, a as Y } from "./usePossibleValues-CGt7yrJ6.js";
|
|
5
5
|
import { t as W } from "./toKdsPossibleValues-BklBg3gG.js";
|
|
6
|
-
import { u as q } from "./useUnknownValuesInTwinlist-
|
|
7
|
-
const
|
|
6
|
+
import { u as q } from "./useUnknownValuesInTwinlist-Bez1tY4_.js";
|
|
7
|
+
const J = /* @__PURE__ */ A({
|
|
8
8
|
__name: "MultimodeTwinlistControl",
|
|
9
9
|
props: {
|
|
10
10
|
control: {},
|
|
@@ -153,5 +153,5 @@ const O = /* @__PURE__ */ A({
|
|
|
153
153
|
}
|
|
154
154
|
});
|
|
155
155
|
export {
|
|
156
|
-
|
|
156
|
+
J as _
|
|
157
157
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as n, openBlock as o, createBlock as t, mergeProps as a } from "vue";
|
|
2
|
-
import { _ as l } from "./MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as l } from "./MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-yhmiIg95.js";
|
|
3
3
|
const u = /* @__PURE__ */ n({
|
|
4
4
|
__name: "NameFilter",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as n, createBlock as t, mergeProps as r } from "vue";
|
|
2
|
-
import { _ as a } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as a } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-Dlxx71hk.js";
|
|
3
3
|
const s = /* @__PURE__ */ o({
|
|
4
4
|
__name: "NumberControl",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as m, computed as l, openBlock as u, createBlock as d, unref as p } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { u as b } from "./useBuiltinValidations-
|
|
2
|
+
import { X as x } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
|
|
3
|
+
import { u as b } from "./useBuiltinValidations-CzYsm8oq.js";
|
|
4
4
|
const E = 1, v = 0.1, h = /* @__PURE__ */ m({
|
|
5
5
|
__name: "NumberControlBase",
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as i, computed as s, openBlock as d, createBlock as u, unref as n } from "vue";
|
|
2
|
+
import { W as c } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
|
|
3
3
|
import { o as p } from "./index-Blg1O3Fz.js";
|
|
4
|
-
const g = /* @__PURE__ */
|
|
4
|
+
const g = /* @__PURE__ */ i({
|
|
5
5
|
__name: "OneOfDropdown",
|
|
6
6
|
props: {
|
|
7
7
|
control: {},
|
|
@@ -20,7 +20,7 @@ const g = /* @__PURE__ */ r({
|
|
|
20
20
|
return (m, l) => (d(), u(n(c), {
|
|
21
21
|
id: e.labelForId,
|
|
22
22
|
modelValue: a.value,
|
|
23
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
23
|
+
"onUpdate:modelValue": l[0] || (l[0] = (r) => a.value = r),
|
|
24
24
|
"possible-values": n(t),
|
|
25
25
|
ariaLabel: e.control.label,
|
|
26
26
|
disabled: e.disabled,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as V, computed as s, openBlock as n, createElementBlock as t, Fragment as c, renderList as v, createVNode as b, unref as _, createElementVNode as i, normalizeClass as g, createCommentVNode as y } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a7 as L } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
|
|
3
3
|
const M = ["innerHTML"], B = ["innerHTML"], C = ["innerHTML"], x = /* @__PURE__ */ V({
|
|
4
4
|
__name: "RadioButtonsWithDescriptionControl",
|
|
5
5
|
props: {
|
|
@@ -13,11 +13,11 @@ const M = ["innerHTML"], B = ["innerHTML"], C = ["innerHTML"], x = /* @__PURE__
|
|
|
13
13
|
onRegisterValidation: { type: Function }
|
|
14
14
|
},
|
|
15
15
|
setup(l) {
|
|
16
|
-
const o = l, u = s(() => o.control.schema.oneOf?.map(({ const: r, title: e, price:
|
|
16
|
+
const o = l, u = s(() => o.control.schema.oneOf?.map(({ const: r, title: e, price: h, description: f }) => ({
|
|
17
17
|
id: r,
|
|
18
18
|
text: e,
|
|
19
|
-
price:
|
|
20
|
-
description:
|
|
19
|
+
price: h,
|
|
20
|
+
description: f
|
|
21
21
|
})) || []), p = s(() => !o.control.enabled), d = s(
|
|
22
22
|
() => o.control.uischema.options?.footnote || null
|
|
23
23
|
), m = (a) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as n, createBlock as t, mergeProps as a } from "vue";
|
|
2
|
-
import { _ as r } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as r } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-8xWE-iQR.js";
|
|
3
3
|
const s = /* @__PURE__ */ o({
|
|
4
4
|
__name: "RadioControl",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as b, useAttrs as v, computed as i, ref as f, toRef as V, onMounted as h, openBlock as n, createElementBlock as y, Fragment as g, createBlock as u, unref as o, mergeProps as c, createCommentVNode as B } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a5 as F, a6 as k } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
|
|
3
3
|
import { o as O } from "./index-Blg1O3Fz.js";
|
|
4
|
-
import { u as x } from "./usePossibleValues
|
|
4
|
+
import { u as x } from "./usePossibleValues-CGt7yrJ6.js";
|
|
5
5
|
const w = /* @__PURE__ */ b({
|
|
6
6
|
inheritAttrs: !1,
|
|
7
7
|
__name: "RadioControlBase",
|
|
@@ -16,19 +16,19 @@ const w = /* @__PURE__ */ b({
|
|
|
16
16
|
type: {}
|
|
17
17
|
},
|
|
18
18
|
setup(e) {
|
|
19
|
-
const
|
|
19
|
+
const s = v(), a = e, r = i(() => a.control.uischema.options?.radioLayout), m = (l) => ({
|
|
20
20
|
id: l.id,
|
|
21
21
|
text: l.text,
|
|
22
22
|
...l.disabled ? { disabled: !0 } : {}
|
|
23
|
-
}),
|
|
23
|
+
}), d = f(null), { possibleValues: p } = x(V(a, "control"), {
|
|
24
24
|
defaultOnNonProvided: null
|
|
25
25
|
}), t = i(
|
|
26
|
-
() => (p.value ??
|
|
26
|
+
() => (p.value ?? d.value)?.map(m)
|
|
27
27
|
);
|
|
28
28
|
return h(() => {
|
|
29
|
-
|
|
29
|
+
d.value = a.control?.schema?.oneOf ? a.control.schema.oneOf.map(O) : null;
|
|
30
30
|
}), (l, C) => t.value ? (n(), y(g, { key: 0 }, [
|
|
31
|
-
a.type === "valueSwitch" ? (n(), u(o(F), c({ key: 0 }, o(
|
|
31
|
+
a.type === "valueSwitch" ? (n(), u(o(F), c({ key: 0 }, o(s), {
|
|
32
32
|
id: e.labelForId,
|
|
33
33
|
"possible-values": t.value,
|
|
34
34
|
disabled: e.disabled,
|
|
@@ -36,7 +36,7 @@ const w = /* @__PURE__ */ b({
|
|
|
36
36
|
size: "small",
|
|
37
37
|
variant: "muted",
|
|
38
38
|
"onUpdate:modelValue": e.changeValue
|
|
39
|
-
}), null, 16, ["id", "possible-values", "disabled", "model-value", "onUpdate:modelValue"])) : (n(), u(o(k), c({ key: 1 }, o(
|
|
39
|
+
}), null, 16, ["id", "possible-values", "disabled", "model-value", "onUpdate:modelValue"])) : (n(), u(o(k), c({ key: 1 }, o(s), {
|
|
40
40
|
id: e.labelForId,
|
|
41
41
|
"possible-values": t.value,
|
|
42
42
|
alignment: r.value,
|