@knime/jsonforms 1.21.16 → 1.21.17
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-SXwBBRp2.js +23 -0
- package/dist/CheckboxControl-CbWn843V.js +40 -0
- package/dist/CheckboxesControl-BiQOMrsp.js +39 -0
- package/dist/{ColorControl-wEr-pQ4g.js → ColorControl-B_mQdOCs.js} +10 -8
- package/dist/{ColorPreviewControl-B7aXaak-.js → ColorPreviewControl-BREwhSO9.js} +28 -28
- package/dist/ComboBoxControl-BIZlnizm.js +39 -0
- package/dist/DateControl-vkwY-8Qy.js +44 -0
- package/dist/DateTimeControl-CtXV6_D2.js +80 -0
- package/dist/DateTimeFormatPickerControl-a7MPaNFN.js +34 -0
- package/dist/{DateTimeFormatPickerWithTypeControl-BVG_BSaN.js → DateTimeFormatPickerWithTypeControl-B9Nu0dh1.js} +18 -17
- package/dist/DropdownControl-BUwovb4K.js +32 -0
- package/dist/{ExecutorCoresControl-Cphh4q2c.js → ExecutorCoresControl-DN-1o1XJ.js} +10 -9
- package/dist/{ExecutorMemoryControl-BQDSkKjf.js → ExecutorMemoryControl-UzqzP4hI.js} +9 -8
- package/dist/{FileUploadControl-CnPXEafs.js → FileUploadControl-WC8TFQHe.js} +46 -45
- package/dist/{GridSelectionControl-093qWj_x.js → GridSelectionControl-BgqT1t9d.js} +24 -23
- package/dist/{HorizontalLayout-D07DfljM.js → HorizontalLayout-CESRA3YR.js} +6 -6
- package/dist/{IntegerControl-D0qSSA_X.js → IntegerControl-DKXN0mcE.js} +5 -4
- package/dist/IntervalControl-BswGPjcV.js +51 -0
- package/dist/LinkControl-DTqOfnTg.js +35 -0
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-B4K9Nnse.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-Cic7UEOM.js} +1 -1
- package/dist/ManualTwinlistControl-CoZdPu6n.js +74 -0
- package/dist/{MultiSelectListBoxControl-qdxrfyqT.js → MultiSelectListBoxControl-CjM94miu.js} +53 -52
- package/dist/{MultimodeTwinlistControl-DKNf9s6C.js → MultimodeTwinlistControl-NMnPBn6a.js} +1 -1
- package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-mQFRHgGM.js +159 -0
- package/dist/{NameFilter-DxsfvMYP.js → NameFilter-DuVJG0SF.js} +7 -6
- package/dist/{NumberControl-gRIAl0Xw.js → NumberControl-NMJmxuze.js} +7 -6
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-bph2Cze8.js +52 -0
- package/dist/{OneOfDropdown-6EW73QQp.js → OneOfDropdown-CwJemyYo.js} +13 -11
- package/dist/{RadioButtonsWithDescriptionControl-DDdnwXUW.js → RadioButtonsWithDescriptionControl-BK3UCreL.js} +15 -15
- package/dist/{RadioControl-BOGJkSzd.js → RadioControl-ts1-JozG.js} +5 -4
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-jxw_5dVt.js +57 -0
- package/dist/{ResourceControlBase-D-oG-tP4.js → ResourceControlBase-FDiyHyQi.js} +18 -15
- package/dist/{RichTextControl-FgGsWYtG.js → RichTextControl-DH6GqUeF.js} +4 -3
- package/dist/{SectionHeading-xMNeMcnS.js → SectionHeading-DIAFnjCM.js} +1 -1
- package/dist/{SectionLayout-Bo11XVly.js → SectionLayout-Cb3_L9Te.js} +3 -3
- package/dist/{SettingsSubPanel-D_FDP5Zc.js → SettingsSubPanel-BuxORlJO.js} +1 -1
- package/dist/{SettingsSubPanelLayout-Dp_jLbsR.js → SettingsSubPanelLayout-DruWJjQA.js} +4 -4
- package/dist/{SimpleButtonControl-QdWssOCJ.js → SimpleButtonControl-BeRnF6lP.js} +13 -13
- package/dist/{SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js → SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js} +5294 -5346
- package/dist/{SimpleTwinlistControl-CAaKpaUA.js → SimpleTwinlistControl-CnBe4qsI.js} +6 -5
- package/dist/{SingleSelectControl-D7D5AanU.js → SingleSelectControl-C4Qzk2Ki.js} +21 -19
- package/dist/{SingleSelectListBoxControl-XeWCleLY.js → SingleSelectListBoxControl-sLe2Y67h.js} +16 -15
- package/dist/SortListControl-ChpYm3CZ.js +105 -0
- package/dist/{StyledListItem-CjOv-VlL.js → StyledListItem-BJEJoIzr.js} +1 -1
- package/dist/{TeamAndSpacesControl-DFrotXG1.js → TeamAndSpacesControl-7ZXPUwBb.js} +12 -11
- package/dist/{TeamResourceControl-BnBXHcn9.js → TeamResourceControl-BZDXMRLZ.js} +12 -11
- package/dist/{TextAreaControl-9YsuIVg_.js → TextAreaControl-BDGtgWys.js} +10 -8
- package/dist/{TextControl-BrUMvx4G.js → TextControl-8jfyOJKb.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-4BT0xCnX.js → TextControl.vue_vue_type_script_setup_true_lang--8lz3nbO.js} +16 -14
- package/dist/{TimeControl-DvzIDb-2.js → TimeControl-Dvt5U7xN.js} +28 -26
- package/dist/{TimeframesControl-2GAc0ndD.js → TimeframesControl-DcUxC3kX.js} +7 -6
- package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-Chqnf11f.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-Buo-KA0N.js} +14 -11
- package/dist/{TypedStringFilter-mklK-qwG.js → TypedStringFilter-Cx8OCQcE.js} +5 -4
- package/dist/{ValueSwitchControl-BOUlFthR.js → ValueSwitchControl-1ax1yKbk.js} +6 -5
- package/dist/{VerticalLayout-u04mODMq.js → VerticalLayout-DnyoqTeh.js} +2 -2
- package/dist/{VerticalLayoutBase-rWbtLYJT.js → VerticalLayoutBase-BS5IpgON.js} +2 -2
- package/dist/ZonedDateTimeControl-mIIRwaHz.js +79 -0
- package/dist/{_Uint8Array-S1XaShiS.js → _Uint8Array-CsgDtogS.js} +12 -12
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +41 -42
- package/dist/src/higherOrderComponents/control/index.d.ts +1 -2
- package/dist/src/higherOrderComponents/control/util.d.ts +4 -5
- package/dist/src/higherOrderComponents/control/validation/types.d.ts +2 -2
- package/dist/src/higherOrderComponents/control/withLabel.d.ts +1 -1
- package/dist/src/renderers/checkboxRenderer.d.ts +120 -1
- package/dist/src/renderers/defaultRenderers.d.ts +120 -1
- package/dist/src/renderers/fallbackRenderers.d.ts +120 -1
- package/dist/testing.js +3 -3
- package/dist/{toString-DXjInt1t.js → toString-hCFROtg1.js} +1 -1
- package/dist/{useBuiltinValidations-CFNcCpco.js → useBuiltinValidations-Cfw3JlJf.js} +1 -1
- package/dist/{usePossibleValues-yDswh8Qc.js → usePossibleValues-CtPV4Cjp.js} +1 -1
- package/dist/{useUnknownValuesInTwinlist-BSnLQI_Q.js → useUnknownValuesInTwinlist-BCbqJg7j.js} +1 -1
- package/package.json +1 -1
- package/dist/AnyOfTwinlist-BCIsT83q.js +0 -22
- package/dist/CheckboxControl-CjiUwvWU.js +0 -38
- package/dist/CheckboxesControl-CAHj0UnX.js +0 -37
- package/dist/ComboBoxControl-hveFsDLi.js +0 -37
- package/dist/DateControl-BtCCimuA.js +0 -42
- package/dist/DateTimeControl-Bll2rZlX.js +0 -78
- package/dist/DateTimeFormatPickerControl-CsKD9vWJ.js +0 -32
- package/dist/DropdownControl-DA8lNfVk.js +0 -30
- package/dist/IntervalControl-vOi33CZB.js +0 -48
- package/dist/LinkControl-D5t3awqb.js +0 -35
- package/dist/ManualTwinlistControl-BQ4H-fRR.js +0 -72
- package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-DHx6nrqi.js +0 -157
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-DEG90Gdx.js +0 -50
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-BOuoChe1.js +0 -52
- package/dist/SortListControl-kjhkdRwC.js +0 -103
- package/dist/ZonedDateTimeControl-BzV5ZuYf.js +0 -77
- package/dist/src/higherOrderComponents/control/errorMessage/ErrorLine.vue.d.ts +0 -5
- package/dist/src/higherOrderComponents/control/errorMessage/ErrorMessages.vue.d.ts +0 -23
- package/dist/src/higherOrderComponents/control/errorMessage/withErrorMessage.d.ts +0 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as d, computed as e, openBlock as p, createBlock as m, mergeProps as h } from "vue";
|
|
2
|
-
import { R as v } from "./ResourceControlBase-
|
|
2
|
+
import { R as v } from "./ResourceControlBase-FDiyHyQi.js";
|
|
3
3
|
const g = /* @__PURE__ */ d({
|
|
4
4
|
__name: "ExecutorCoresControl",
|
|
5
5
|
props: {
|
|
@@ -7,14 +7,15 @@ const g = /* @__PURE__ */ d({
|
|
|
7
7
|
handleChange: { type: Function },
|
|
8
8
|
changeValue: { type: Function },
|
|
9
9
|
disabled: { type: Boolean },
|
|
10
|
-
|
|
10
|
+
error: { type: Boolean },
|
|
11
|
+
subText: {},
|
|
11
12
|
onRegisterValidation: { type: Function },
|
|
12
13
|
labelForId: {}
|
|
13
14
|
},
|
|
14
15
|
setup(a) {
|
|
15
|
-
const o = a,
|
|
16
|
+
const o = a, s = e(
|
|
16
17
|
() => o.control.uischema.options?.donutTitle || ""
|
|
17
|
-
),
|
|
18
|
+
), l = e(
|
|
18
19
|
() => o.control.uischema.options?.currentUsage ?? 0
|
|
19
20
|
), t = e(
|
|
20
21
|
() => o.control.schema.secondaryValue || 0
|
|
@@ -22,14 +23,14 @@ const g = /* @__PURE__ */ d({
|
|
|
22
23
|
() => o.control.uischema.options?.donutMax ?? 1 / 0
|
|
23
24
|
), c = e(
|
|
24
25
|
() => n.value === -1 ? "unlimited" : n.value
|
|
25
|
-
),
|
|
26
|
+
), r = e(
|
|
26
27
|
() => o.control.uischema.options?.isSharedContext ?? !1
|
|
27
|
-
), u = e(() =>
|
|
28
|
-
() => `This execution context will use ${t.value} vCore tokens. In total, ${u.value} of ${c.value} vCore tokens available ${
|
|
28
|
+
), u = e(() => l.value + t.value), i = e(
|
|
29
|
+
() => `This execution context will use ${t.value} vCore tokens. In total, ${u.value} of ${c.value} vCore tokens available ${r.value ? "from the license" : "for this team"} will be used.`
|
|
29
30
|
);
|
|
30
31
|
return (x, f) => (p(), m(v, h(o, {
|
|
31
|
-
"donut-title":
|
|
32
|
-
"donut-description":
|
|
32
|
+
"donut-title": s.value,
|
|
33
|
+
"donut-description": i.value
|
|
33
34
|
}), null, 16, ["donut-title", "donut-description"]));
|
|
34
35
|
}
|
|
35
36
|
});
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { R as m } from "./ResourceControlBase-
|
|
3
|
-
const v = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as s, computed as o, openBlock as i, createBlock as p, mergeProps as d } from "vue";
|
|
2
|
+
import { R as m } from "./ResourceControlBase-FDiyHyQi.js";
|
|
3
|
+
const v = /* @__PURE__ */ s({
|
|
4
4
|
__name: "ExecutorMemoryControl",
|
|
5
5
|
props: {
|
|
6
6
|
control: {},
|
|
7
7
|
handleChange: { type: Function },
|
|
8
8
|
changeValue: { type: Function },
|
|
9
9
|
disabled: { type: Boolean },
|
|
10
|
-
|
|
10
|
+
error: { type: Boolean },
|
|
11
|
+
subText: {},
|
|
11
12
|
onRegisterValidation: { type: Function },
|
|
12
13
|
labelForId: {}
|
|
13
14
|
},
|
|
@@ -20,12 +21,12 @@ const v = /* @__PURE__ */ i({
|
|
|
20
21
|
() => e.control.uischema.options?.currentUsage ?? 0
|
|
21
22
|
), c = o(
|
|
22
23
|
() => e.control.uischema.options?.donutMax ?? 1 / 0
|
|
23
|
-
),
|
|
24
|
-
() => `This execution context will use a maximum of ${t.value} GB RAM. In total, ${
|
|
24
|
+
), u = o(() => t.value + l.value), r = o(
|
|
25
|
+
() => `This execution context will use a maximum of ${t.value} GB RAM. In total, ${u.value} GB of ${c.value} GB available for this team will be used.`
|
|
25
26
|
);
|
|
26
|
-
return (f, h) => (
|
|
27
|
+
return (f, h) => (i(), p(m, d(e, {
|
|
27
28
|
"donut-title": a.value,
|
|
28
|
-
"donut-description":
|
|
29
|
+
"donut-description": r.value
|
|
29
30
|
}), null, 16, ["donut-title", "donut-description"]));
|
|
30
31
|
}
|
|
31
32
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as V, ref as v, computed as g, openBlock as
|
|
2
|
-
import { y as I,
|
|
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-
|
|
1
|
+
import { defineComponent as V, ref as v, computed as g, openBlock as G, createElementBlock as R, createVNode as q, unref as K, createElementVNode as A, toDisplayString as W } from "vue";
|
|
2
|
+
import { y as I, G as Y, v as $, x as U, B as H, _ as J } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.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-CsgDtogS.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() {
|
|
@@ -21,12 +21,12 @@ var O = Object.create, ne = /* @__PURE__ */ (function() {
|
|
|
21
21
|
} catch {
|
|
22
22
|
}
|
|
23
23
|
})();
|
|
24
|
-
function
|
|
25
|
-
for (var r = -1,
|
|
24
|
+
function oe(e, t) {
|
|
25
|
+
for (var r = -1, a = e == null ? 0 : e.length; ++r < a && t(e[r], r, e) !== !1; )
|
|
26
26
|
;
|
|
27
27
|
return e;
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function ae(e, t, r) {
|
|
30
30
|
t == "__proto__" && S ? S(e, t, {
|
|
31
31
|
configurable: !0,
|
|
32
32
|
enumerable: !0,
|
|
@@ -36,10 +36,10 @@ function oe(e, t, r) {
|
|
|
36
36
|
}
|
|
37
37
|
var ce = Object.prototype, ie = ce.hasOwnProperty;
|
|
38
38
|
function se(e, t, r) {
|
|
39
|
-
var
|
|
40
|
-
(!(ie.call(e, t) && X(
|
|
39
|
+
var a = e[t];
|
|
40
|
+
(!(ie.call(e, t) && X(a, r)) || r === void 0 && !(t in e)) && ae(e, t, r);
|
|
41
41
|
}
|
|
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 ?
|
|
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 ? Y.Buffer : void 0;
|
|
43
43
|
C && C.allocUnsafe;
|
|
44
44
|
function ue(e, t) {
|
|
45
45
|
return e.slice();
|
|
@@ -72,13 +72,13 @@ function me(e, t) {
|
|
|
72
72
|
}
|
|
73
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
|
-
var
|
|
75
|
+
var a = e.constructor;
|
|
76
76
|
switch (t) {
|
|
77
77
|
case Ce:
|
|
78
78
|
return m(e);
|
|
79
79
|
case he:
|
|
80
80
|
case ve:
|
|
81
|
-
return new
|
|
81
|
+
return new a(+e);
|
|
82
82
|
case Fe:
|
|
83
83
|
return ge(e);
|
|
84
84
|
case _e:
|
|
@@ -92,14 +92,14 @@ function Ne(e, t, r) {
|
|
|
92
92
|
case Le:
|
|
93
93
|
return me(e);
|
|
94
94
|
case Ae:
|
|
95
|
-
return new
|
|
95
|
+
return new a();
|
|
96
96
|
case $e:
|
|
97
97
|
case Se:
|
|
98
|
-
return new
|
|
98
|
+
return new a(e);
|
|
99
99
|
case we:
|
|
100
100
|
return Te(e);
|
|
101
101
|
case Oe:
|
|
102
|
-
return new
|
|
102
|
+
return new a();
|
|
103
103
|
case xe:
|
|
104
104
|
return je(e);
|
|
105
105
|
}
|
|
@@ -107,51 +107,51 @@ function Ne(e, t, r) {
|
|
|
107
107
|
function Ve(e) {
|
|
108
108
|
return typeof e.constructor == "function" && !z(e) ? ne(le(e)) : {};
|
|
109
109
|
}
|
|
110
|
-
var
|
|
111
|
-
function
|
|
112
|
-
return U(e) && j(e) ==
|
|
113
|
-
}
|
|
114
|
-
var B = T && T.isMap, qe = B ? P(B) :
|
|
115
|
-
function
|
|
116
|
-
return U(e) && j(e) ==
|
|
117
|
-
}
|
|
118
|
-
var E = T && T.isSet,
|
|
119
|
-
n[M] = n[
|
|
120
|
-
n[Xe] = n[L] = n[
|
|
121
|
-
function y(e, t, r,
|
|
122
|
-
var
|
|
123
|
-
if (
|
|
124
|
-
return
|
|
110
|
+
var Ge = "[object Map]";
|
|
111
|
+
function Re(e) {
|
|
112
|
+
return U(e) && j(e) == Ge;
|
|
113
|
+
}
|
|
114
|
+
var B = T && T.isMap, qe = B ? P(B) : Re, Ke = "[object Set]";
|
|
115
|
+
function We(e) {
|
|
116
|
+
return U(e) && j(e) == Ke;
|
|
117
|
+
}
|
|
118
|
+
var E = T && T.isSet, Ye = E ? P(E) : We, M = "[object Arguments]", He = "[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]", ot = "[object WeakMap]", at = "[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
|
+
n[M] = n[He] = n[at] = 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
|
+
n[Xe] = n[L] = n[ot] = !1;
|
|
121
|
+
function y(e, t, r, a, u, c) {
|
|
122
|
+
var o;
|
|
123
|
+
if (o !== void 0)
|
|
124
|
+
return o;
|
|
125
125
|
if (!I(e))
|
|
126
126
|
return e;
|
|
127
127
|
var p = re(e);
|
|
128
128
|
if (p)
|
|
129
|
-
|
|
129
|
+
o = de(e);
|
|
130
130
|
else {
|
|
131
131
|
var i = j(e), d = i == L || i == Ze;
|
|
132
132
|
if (k(e))
|
|
133
133
|
return ue(e);
|
|
134
134
|
if (i == N || i == M || d && !u)
|
|
135
|
-
|
|
135
|
+
o = d ? {} : Ve(e);
|
|
136
136
|
else {
|
|
137
137
|
if (!n[i])
|
|
138
138
|
return u ? e : {};
|
|
139
|
-
|
|
139
|
+
o = Ne(e, i);
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
c || (c = new ee());
|
|
143
143
|
var l = c.get(e);
|
|
144
144
|
if (l)
|
|
145
145
|
return l;
|
|
146
|
-
c.set(e,
|
|
147
|
-
|
|
146
|
+
c.set(e, o), Ye(e) ? e.forEach(function(s) {
|
|
147
|
+
o.add(y(s, t, r, s, e, c));
|
|
148
148
|
}) : qe(e) && e.forEach(function(s, f) {
|
|
149
|
-
|
|
149
|
+
o.set(f, y(s, t, r, f, e, c));
|
|
150
150
|
});
|
|
151
151
|
var b = te, h = p ? void 0 : b(e);
|
|
152
|
-
return
|
|
153
|
-
h && (f = s, s = e[f]), se(
|
|
154
|
-
}),
|
|
152
|
+
return oe(h || e, function(s, f) {
|
|
153
|
+
h && (f = s, s = e[f]), se(o, f, y(s, t, r, f, e, c));
|
|
154
|
+
}), o;
|
|
155
155
|
}
|
|
156
156
|
var yt = 1, Tt = 4;
|
|
157
157
|
function jt(e) {
|
|
@@ -165,23 +165,24 @@ const mt = { class: "wrapper" }, ht = { class: "filename" }, vt = ["id", "aria-l
|
|
|
165
165
|
handleChange: { type: Function },
|
|
166
166
|
changeValue: { type: Function },
|
|
167
167
|
disabled: { type: Boolean },
|
|
168
|
-
|
|
168
|
+
error: { type: Boolean },
|
|
169
|
+
subText: {},
|
|
169
170
|
onRegisterValidation: { type: Function },
|
|
170
171
|
labelForId: {}
|
|
171
172
|
},
|
|
172
173
|
setup(e) {
|
|
173
|
-
const t = e, r = v(jt(t.control.data)),
|
|
174
|
+
const t = e, r = v(jt(t.control.data)), a = g(
|
|
174
175
|
() => t.control.uischema.options?.accept ?? "*"
|
|
175
176
|
), u = g(
|
|
176
177
|
() => t.control.uischema.options?.multiple ?? !1
|
|
177
|
-
), c = v(null),
|
|
178
|
+
), c = v(null), o = g(() => r.value?.map?.(({ name: l }) => l).join(", ") || "No file selected"), p = g(() => `Select file${u.value ? "s" : ""}`), i = () => {
|
|
178
179
|
c.value?.click();
|
|
179
180
|
}, d = (l) => {
|
|
180
181
|
const b = l.target;
|
|
181
182
|
b.files && (r.value = Array.from(b.files), t.handleChange(t.control.path, Array.from(r.value)));
|
|
182
183
|
};
|
|
183
|
-
return (l, b) => (
|
|
184
|
-
q(H
|
|
184
|
+
return (l, b) => (G(), R("div", mt, [
|
|
185
|
+
q(K(H), {
|
|
185
186
|
class: "file-select-button",
|
|
186
187
|
label: p.value,
|
|
187
188
|
"leading-icon": "search",
|
|
@@ -190,14 +191,14 @@ const mt = { class: "wrapper" }, ht = { class: "filename" }, vt = ["id", "aria-l
|
|
|
190
191
|
size: "small",
|
|
191
192
|
onClick: i
|
|
192
193
|
}, null, 8, ["label", "disabled"]),
|
|
193
|
-
A("span", ht,
|
|
194
|
+
A("span", ht, W(o.value), 1),
|
|
194
195
|
A("input", {
|
|
195
196
|
id: e.labelForId,
|
|
196
197
|
ref_key: "fileSelector",
|
|
197
198
|
ref: c,
|
|
198
199
|
"aria-label": e.control.label,
|
|
199
200
|
type: "file",
|
|
200
|
-
accept:
|
|
201
|
+
accept: a.value,
|
|
201
202
|
multiple: u.value,
|
|
202
203
|
disabled: e.disabled,
|
|
203
204
|
hidden: "",
|
|
@@ -1,16 +1,17 @@
|
|
|
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 T, computed as s, watch as f, openBlock as r, createElementBlock as u, normalizeStyle as B, Fragment as D, renderList as G, createBlock as h, createCommentVNode as p, createVNode as $, withModifiers as A } from "vue";
|
|
2
|
+
import { Z as N, $ as z, B as O, _ as R } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
|
|
3
3
|
const W = { class: "grid-list" }, H = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "checkbox"
|
|
6
|
-
}, X = 7,
|
|
6
|
+
}, X = 7, Z = "auto", j = "Invert selection", q = /* @__PURE__ */ S({
|
|
7
7
|
__name: "GridSelectionControl",
|
|
8
8
|
props: {
|
|
9
9
|
handleChange: { type: Function },
|
|
10
10
|
control: {},
|
|
11
11
|
changeValue: { type: Function },
|
|
12
12
|
disabled: { type: Boolean },
|
|
13
|
-
|
|
13
|
+
error: { type: Boolean },
|
|
14
|
+
subText: {},
|
|
14
15
|
onRegisterValidation: { type: Function },
|
|
15
16
|
labelForId: {}
|
|
16
17
|
},
|
|
@@ -18,16 +19,16 @@ const W = { class: "grid-list" }, H = {
|
|
|
18
19
|
U((e) => ({
|
|
19
20
|
v38af777e: n(k)
|
|
20
21
|
}));
|
|
21
|
-
const
|
|
22
|
-
control: { path:
|
|
23
|
-
handleChange:
|
|
24
|
-
} =
|
|
22
|
+
const c = y, {
|
|
23
|
+
control: { path: b, uischema: { options: C } = {} },
|
|
24
|
+
handleChange: V
|
|
25
|
+
} = c, {
|
|
25
26
|
possibleValues: o = [],
|
|
26
27
|
columnCount: I = X,
|
|
27
|
-
gridWidth: k =
|
|
28
|
-
toggleLabel: m =
|
|
28
|
+
gridWidth: k = Z,
|
|
29
|
+
toggleLabel: m = j,
|
|
29
30
|
renderLastItemAsCheckbox: d = !1
|
|
30
|
-
} =
|
|
31
|
+
} = C, a = T(/* @__PURE__ */ new Map()), x = s(() => ({
|
|
31
32
|
"grid-template-columns": `repeat(${I}, 1fr)`
|
|
32
33
|
})), E = s(
|
|
33
34
|
() => o.filter(
|
|
@@ -47,7 +48,7 @@ const W = { class: "grid-list" }, H = {
|
|
|
47
48
|
}, w = () => {
|
|
48
49
|
const e = /* @__PURE__ */ new Map();
|
|
49
50
|
return o.forEach(({ id: t }) => {
|
|
50
|
-
e.set(t, { active:
|
|
51
|
+
e.set(t, { active: c.control.data?.includes(t) ?? !1 });
|
|
51
52
|
}), e;
|
|
52
53
|
}, g = s(() => {
|
|
53
54
|
const e = [];
|
|
@@ -56,7 +57,7 @@ const W = { class: "grid-list" }, H = {
|
|
|
56
57
|
t && e.push(l);
|
|
57
58
|
}
|
|
58
59
|
), e;
|
|
59
|
-
}), F = s(() =>
|
|
60
|
+
}), F = s(() => c.control.data ?? []), _ = s(() => {
|
|
60
61
|
const e = g.value, t = F.value;
|
|
61
62
|
if (e.length !== t.length)
|
|
62
63
|
return !0;
|
|
@@ -64,7 +65,7 @@ const W = { class: "grid-list" }, H = {
|
|
|
64
65
|
return e.some((v) => !l.has(v));
|
|
65
66
|
});
|
|
66
67
|
return f(
|
|
67
|
-
() =>
|
|
68
|
+
() => c.control.data,
|
|
68
69
|
() => {
|
|
69
70
|
_.value && (a.value = w());
|
|
70
71
|
},
|
|
@@ -72,16 +73,16 @@ const W = { class: "grid-list" }, H = {
|
|
|
72
73
|
), f(
|
|
73
74
|
() => a.value,
|
|
74
75
|
() => {
|
|
75
|
-
_.value &&
|
|
76
|
+
_.value && V(b, g.value);
|
|
76
77
|
},
|
|
77
78
|
{ deep: !0 }
|
|
78
|
-
), (e, t) => (
|
|
79
|
-
n(o).length ? (
|
|
79
|
+
), (e, t) => (r(), u("div", W, [
|
|
80
|
+
n(o).length ? (r(), u("div", {
|
|
80
81
|
key: 0,
|
|
81
82
|
class: "grid-list-container",
|
|
82
|
-
style:
|
|
83
|
+
style: B(x.value)
|
|
83
84
|
}, [
|
|
84
|
-
(
|
|
85
|
+
(r(!0), u(D, null, G(E.value, ({ id: l, text: v }) => (r(), h(n(N), {
|
|
85
86
|
key: `grid-item-${l}`,
|
|
86
87
|
modelValue: a.value.get(l).active,
|
|
87
88
|
"onUpdate:modelValue": (L) => a.value.get(l).active = L,
|
|
@@ -91,14 +92,14 @@ const W = { class: "grid-list" }, H = {
|
|
|
91
92
|
size: "xsmall"
|
|
92
93
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label"]))), 128))
|
|
93
94
|
], 4)) : p("", !0),
|
|
94
|
-
n(d) && i.value ? (
|
|
95
|
+
n(d) && i.value ? (r(), u("div", H, [
|
|
95
96
|
$(n(z), {
|
|
96
97
|
modelValue: a.value.get(i.value.id).active,
|
|
97
98
|
"onUpdate:modelValue": t[0] || (t[0] = (l) => a.value.get(i.value.id).active = l),
|
|
98
99
|
label: i.value.text
|
|
99
100
|
}, null, 8, ["modelValue", "label"])
|
|
100
101
|
])) : p("", !0),
|
|
101
|
-
n(m) ? (
|
|
102
|
+
n(m) ? (r(), h(n(O), {
|
|
102
103
|
key: 2,
|
|
103
104
|
variant: "outlined",
|
|
104
105
|
size: "xsmall",
|
|
@@ -109,7 +110,7 @@ const W = { class: "grid-list" }, H = {
|
|
|
109
110
|
}, null, 8, ["label"])) : p("", !0)
|
|
110
111
|
]));
|
|
111
112
|
}
|
|
112
|
-
}),
|
|
113
|
+
}), P = /* @__PURE__ */ R(q, [["__scopeId", "data-v-7c90b0fa"]]);
|
|
113
114
|
export {
|
|
114
|
-
|
|
115
|
+
P as default
|
|
115
116
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as o, openBlock as
|
|
2
|
-
import { a as m, _ as i } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-
|
|
1
|
+
import { defineComponent as o, openBlock as a, createElementBlock as t, 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-DML-OwvR.js";
|
|
3
3
|
const d = { class: "horizontal" }, h = /* @__PURE__ */ o({
|
|
4
4
|
__name: "HorizontalLayout",
|
|
5
5
|
props: {
|
|
6
6
|
layout: {}
|
|
7
7
|
},
|
|
8
8
|
setup(e) {
|
|
9
|
-
return (y, f) => (
|
|
10
|
-
(
|
|
9
|
+
return (y, f) => (a(), t("div", d, [
|
|
10
|
+
(a(!0), t(r, null, c(e.layout.uischema.elements, (l, n) => (a(), s(u(m), {
|
|
11
11
|
key: n,
|
|
12
12
|
class: "horizontal-element",
|
|
13
13
|
schema: e.layout.schema,
|
|
@@ -19,7 +19,7 @@ const d = { class: "horizontal" }, h = /* @__PURE__ */ o({
|
|
|
19
19
|
}, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]))), 128))
|
|
20
20
|
]));
|
|
21
21
|
}
|
|
22
|
-
}),
|
|
22
|
+
}), p = /* @__PURE__ */ i(h, [["__scopeId", "data-v-174aebfa"]]);
|
|
23
23
|
export {
|
|
24
|
-
|
|
24
|
+
p as default
|
|
25
25
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as n, createBlock as t, mergeProps as r } from "vue";
|
|
2
|
-
import { _ as
|
|
2
|
+
import { _ as p } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-bph2Cze8.js";
|
|
3
3
|
const s = /* @__PURE__ */ o({
|
|
4
4
|
__name: "IntegerControl",
|
|
5
5
|
props: {
|
|
@@ -7,12 +7,13 @@ const s = /* @__PURE__ */ o({
|
|
|
7
7
|
handleChange: { type: Function },
|
|
8
8
|
changeValue: { type: Function },
|
|
9
9
|
disabled: { type: Boolean },
|
|
10
|
-
|
|
10
|
+
error: { type: Boolean },
|
|
11
|
+
subText: {},
|
|
11
12
|
onRegisterValidation: { type: Function },
|
|
12
13
|
labelForId: {}
|
|
13
14
|
},
|
|
14
|
-
setup(
|
|
15
|
-
return (e, l) => (n(), t(
|
|
15
|
+
setup(a) {
|
|
16
|
+
return (e, l) => (n(), t(p, r(e.$props, { type: "integer" }), null, 16));
|
|
16
17
|
}
|
|
17
18
|
});
|
|
18
19
|
export {
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { defineComponent as p, computed as a, openBlock as b, createBlock as f, unref as r } from "vue";
|
|
2
|
+
import { u as l, a0 as g } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
|
|
3
|
+
import { U as h } from "./classApi-CHpAZrj3.js";
|
|
4
|
+
const V = /* @__PURE__ */ p({
|
|
5
|
+
__name: "IntervalControl",
|
|
6
|
+
props: {
|
|
7
|
+
control: {},
|
|
8
|
+
handleChange: { type: Function },
|
|
9
|
+
changeValue: { type: Function },
|
|
10
|
+
disabled: { type: Boolean },
|
|
11
|
+
error: { type: Boolean },
|
|
12
|
+
subText: {},
|
|
13
|
+
onRegisterValidation: { type: Function },
|
|
14
|
+
labelForId: {}
|
|
15
|
+
},
|
|
16
|
+
setup(e) {
|
|
17
|
+
const t = e, n = a(
|
|
18
|
+
() => t.control.uischema
|
|
19
|
+
), u = l(
|
|
20
|
+
n,
|
|
21
|
+
"intervalType",
|
|
22
|
+
"DATE_OR_TIME"
|
|
23
|
+
), c = a(() => u.value.toLowerCase()), i = l(n, "allowDescending", !0), d = (o) => {
|
|
24
|
+
if (!o)
|
|
25
|
+
return null;
|
|
26
|
+
try {
|
|
27
|
+
return h.Duration.from(o);
|
|
28
|
+
} catch {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
}, s = a(
|
|
32
|
+
() => d(t.control.data)
|
|
33
|
+
), m = (o) => {
|
|
34
|
+
t.changeValue(o?.toString() ?? "");
|
|
35
|
+
};
|
|
36
|
+
return (o, v) => (b(), f(r(g), {
|
|
37
|
+
id: e.labelForId,
|
|
38
|
+
ariaLabel: t.control.label,
|
|
39
|
+
"model-value": s.value,
|
|
40
|
+
"allow-descending": r(i),
|
|
41
|
+
disabled: e.disabled,
|
|
42
|
+
error: e.error,
|
|
43
|
+
format: c.value,
|
|
44
|
+
"sub-text": e.subText,
|
|
45
|
+
"onUpdate:modelValue": m
|
|
46
|
+
}, null, 8, ["id", "ariaLabel", "model-value", "allow-descending", "disabled", "error", "format", "sub-text"]));
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
export {
|
|
50
|
+
V as default
|
|
51
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { defineComponent as r, useCssVars as s, unref as n, openBlock as p, createElementBlock as d, createVNode as u } from "vue";
|
|
2
|
+
import { a1 as m, _ } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
|
|
3
|
+
const f = { class: "link-wrapper" }, g = /* @__PURE__ */ r({
|
|
4
|
+
__name: "LinkControl",
|
|
5
|
+
props: {
|
|
6
|
+
control: {},
|
|
7
|
+
handleChange: { type: Function },
|
|
8
|
+
changeValue: { type: Function },
|
|
9
|
+
disabled: { type: Boolean },
|
|
10
|
+
labelForId: {},
|
|
11
|
+
error: { type: Boolean },
|
|
12
|
+
subText: {},
|
|
13
|
+
onRegisterValidation: { type: Function }
|
|
14
|
+
},
|
|
15
|
+
setup(o) {
|
|
16
|
+
s((c) => ({
|
|
17
|
+
bc3ff08c: n(t)
|
|
18
|
+
}));
|
|
19
|
+
const e = o, t = e.control.uischema.options?.alignment === "right" ? "flex-end" : "flex-start", { to: a, leadingIcon: l, trailingIcon: i } = e.control.uischema.options || {};
|
|
20
|
+
return (c, b) => (p(), d("div", f, [
|
|
21
|
+
u(n(m), {
|
|
22
|
+
class: "link-button",
|
|
23
|
+
label: o.control.label,
|
|
24
|
+
to: n(a),
|
|
25
|
+
"leading-icon": n(l),
|
|
26
|
+
"trailing-icon": n(i),
|
|
27
|
+
size: "small",
|
|
28
|
+
variant: "transparent"
|
|
29
|
+
}, null, 8, ["label", "to", "leading-icon", "trailing-icon"])
|
|
30
|
+
]));
|
|
31
|
+
}
|
|
32
|
+
}), k = /* @__PURE__ */ _(g, [["__scopeId", "data-v-d1973605"]]);
|
|
33
|
+
export {
|
|
34
|
+
k as default
|
|
35
|
+
};
|
|
@@ -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 { V as _ } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
|
|
3
3
|
const L = /* @__PURE__ */ v({
|
|
4
4
|
__name: "LoadingDropdown",
|
|
5
5
|
props: {
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { defineComponent as k, toRef as i, computed as d, openBlock as C, createBlock as V, unref as a, mergeProps as U } from "vue";
|
|
2
|
+
import { Y as I } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
|
|
3
|
+
import { m as r } from "./index-Blg1O3Fz.js";
|
|
4
|
+
import { a as M, u as v } from "./usePossibleValues-CtPV4Cjp.js";
|
|
5
|
+
import { t as F } from "./toKdsPossibleValues-BklBg3gG.js";
|
|
6
|
+
import { u as L } from "./useUnknownValuesInTwinlist-BCbqJg7j.js";
|
|
7
|
+
const K = /* @__PURE__ */ k({
|
|
8
|
+
__name: "ManualTwinlistControl",
|
|
9
|
+
props: {
|
|
10
|
+
control: {},
|
|
11
|
+
handleChange: { type: Function },
|
|
12
|
+
changeValue: { type: Function },
|
|
13
|
+
disabled: { type: Boolean },
|
|
14
|
+
error: { type: Boolean },
|
|
15
|
+
subText: {},
|
|
16
|
+
onRegisterValidation: { type: Function },
|
|
17
|
+
labelForId: {}
|
|
18
|
+
},
|
|
19
|
+
setup(l) {
|
|
20
|
+
const u = l, { excludedLabel: m, includedLabel: b } = M(
|
|
21
|
+
i(u, "control")
|
|
22
|
+
), { possibleValues: c } = v(
|
|
23
|
+
i(u, "control")
|
|
24
|
+
), p = d(
|
|
25
|
+
() => F(c.value ?? [])
|
|
26
|
+
), { selectedAndDeselected: o, setCurrentManualFilter: f } = L({
|
|
27
|
+
data: d(() => ({ manualFilter: u.control.data })),
|
|
28
|
+
possibleValueIds: d(
|
|
29
|
+
() => c.value?.map(({ id: e }) => e) ?? null
|
|
30
|
+
)
|
|
31
|
+
}), y = (e) => {
|
|
32
|
+
const s = r(u.control.data, e);
|
|
33
|
+
u.changeValue(s), f(s);
|
|
34
|
+
};
|
|
35
|
+
let n = null;
|
|
36
|
+
const g = () => {
|
|
37
|
+
if (n !== null) {
|
|
38
|
+
const e = n;
|
|
39
|
+
n = null, y(e);
|
|
40
|
+
}
|
|
41
|
+
}, t = (e) => {
|
|
42
|
+
n === null ? (n = e, queueMicrotask(g)) : n = r(
|
|
43
|
+
n,
|
|
44
|
+
e
|
|
45
|
+
);
|
|
46
|
+
}, x = (e) => {
|
|
47
|
+
t({ manuallySelected: e });
|
|
48
|
+
}, w = (e) => {
|
|
49
|
+
t({ manuallyDeselected: e });
|
|
50
|
+
}, h = (e) => {
|
|
51
|
+
e !== null && t({ includeUnknownColumns: e });
|
|
52
|
+
};
|
|
53
|
+
return (e, s) => (C(), V(a(I), U(e.$attrs, {
|
|
54
|
+
id: l.labelForId,
|
|
55
|
+
ariaLabel: l.control.label,
|
|
56
|
+
disabled: l.disabled,
|
|
57
|
+
"manually-included": a(o).selected ?? [],
|
|
58
|
+
"manually-excluded": a(o).deselected ?? [],
|
|
59
|
+
"include-unknown-values": l.control.data.includeUnknownColumns,
|
|
60
|
+
"possible-values": p.value,
|
|
61
|
+
loading: a(o).selected === null,
|
|
62
|
+
"exclude-label": a(m),
|
|
63
|
+
"include-label": a(b),
|
|
64
|
+
error: l.error,
|
|
65
|
+
"sub-text": l.subText,
|
|
66
|
+
"onUpdate:manuallyIncluded": x,
|
|
67
|
+
"onUpdate:manuallyExcluded": w,
|
|
68
|
+
"onUpdate:includeUnknownValues": h
|
|
69
|
+
}), null, 16, ["id", "ariaLabel", "disabled", "manually-included", "manually-excluded", "include-unknown-values", "possible-values", "loading", "exclude-label", "include-label", "error", "sub-text"]));
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
export {
|
|
73
|
+
K as default
|
|
74
|
+
};
|