@knime/jsonforms 1.20.2 → 1.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/AnyOfTwinlist-UXM-U6hT.js +22 -0
- package/dist/{Checkbox-C8vZJxmW.js → Checkbox-DiIYr1i-.js} +1 -1
- package/dist/{CheckboxControl-2zQUVzXf.js → CheckboxControl-QBXVq5Tw.js} +1 -1
- package/dist/{CheckboxesControl-BhsoZSv9.js → CheckboxesControl-2pd974_e.js} +2 -2
- package/dist/{ColorControl-O77jn9IY.js → ColorControl-CDxRfPzc.js} +6 -5
- package/dist/{ColorPreviewControl-B5Ymg8D7.js → ColorPreviewControl-Cg99cain.js} +1 -1
- package/dist/{ComboBoxControl-BwKd6QND.js → ComboBoxControl-BoQyPwaV.js} +3 -3
- package/dist/{DateControl-DRsmMVqC.js → DateControl-DqNL8rlX.js} +1 -1
- package/dist/{DateTimeControl-BEGZdy_h.js → DateTimeControl-apf8S1y2.js} +1 -1
- package/dist/{DateTimeFormatPickerControl-4SQMFb0e.js → DateTimeFormatPickerControl-_4b5Jk3w.js} +7 -6
- package/dist/DateTimeFormatPickerWithTypeControl-B1jOpszt.js +464 -0
- package/dist/DropdownControl-CesCAa-A.js +30 -0
- package/dist/{ExecutorCoresControl-C_S9CdZR.js → ExecutorCoresControl-ILXk2Hk6.js} +2 -2
- package/dist/{ExecutorMemoryControl-DP3D7Ep7.js → ExecutorMemoryControl-De46Fxsm.js} +2 -2
- package/dist/{FileUploadControl-vP7VFRft.js → FileUploadControl-CFQSJwkd.js} +10 -10
- package/dist/{GridSelectionControl-C5xgYQWN.js → GridSelectionControl-CGspDoCC.js} +16 -16
- package/dist/{HorizontalLayout-wTvGcu9R.js → HorizontalLayout-DPuI5hYY.js} +1 -1
- package/dist/{IntegerControl-WYqy9T5S.js → IntegerControl-BwGzlwkz.js} +1 -1
- package/dist/{IntervalControl-Dc9fbHKi.js → IntervalControl-BHeKHuWm.js} +3 -3
- package/dist/{LinkControl-BmLQwBHp.js → LinkControl-D_0AKRJz.js} +3 -3
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-CLKD1Eg5.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-BHersnKa.js} +5 -5
- package/dist/ManualTwinlistControl-BMSgSIBJ.js +72 -0
- package/dist/{MultiSelectListBoxControl-CmcedEDZ.js → MultiSelectListBoxControl-DbJWOUtn.js} +2 -2
- package/dist/MultimodeTwinlistControl-DOJD7vUU.js +4 -0
- package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-BzIvunuA.js +157 -0
- package/dist/{MultiselectListBox-CygE32kY.js → MultiselectListBox-DpL-Z03B.js} +2 -2
- package/dist/{NameFilter-CtXmnR8f.js → NameFilter-B1LEenoh.js} +4 -4
- package/dist/{NumberControl-Chwxj-LH.js → NumberControl-DVzhX3S9.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-DX_-3Wyc.js → NumberControlBase.vue_vue_type_script_setup_true_lang-Bb4FK9RQ.js} +14 -13
- package/dist/{OneOfDropdown-cixl07U7.js → OneOfDropdown-BFOyIhv6.js} +1 -1
- package/dist/{RadioButtonsWithDescriptionControl-BRHCa2SH.js → RadioButtonsWithDescriptionControl-oD8Zab-J.js} +6 -6
- package/dist/{RadioControl-BvjdtuKz.js → RadioControl-D6Wm5j7g.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-6pmtagdC.js → RadioControlBase.vue_vue_type_script_setup_true_lang-CsEFu5wd.js} +2 -2
- package/dist/{ResourceControlBase-C74PY7Xg.js → ResourceControlBase-DRlen7vy.js} +37 -36
- package/dist/{RichTextControl-DpOv2unj.js → RichTextControl-DPX_lxfc.js} +1629 -1488
- package/dist/{SectionHeading-CGrQHMDO.js → SectionHeading-DIs2yBVY.js} +1 -1
- package/dist/{SectionLayout-CdV3uQLf.js → SectionLayout-6ID4pFDm.js} +3 -3
- package/dist/{SettingsSubPanel-WP-rjcbG.js → SettingsSubPanel-BUVqvjIE.js} +1 -1
- package/dist/{SettingsSubPanelLayout-D9HfpZIk.js → SettingsSubPanelLayout-bSgzF47m.js} +4 -4
- package/dist/{SimpleButtonControl-I2Cx14Gz.js → SimpleButtonControl-CpO-Xbws.js} +9 -9
- package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-Ssy7Zaqp.js +27792 -0
- package/dist/SimpleTwinlistControl-BMKo3T2E.js +22 -0
- package/dist/{SingleSelectControl-D4CL0fTA.js → SingleSelectControl-IDX5QUdR.js} +2 -2
- package/dist/{SingleSelectListBoxControl-BVlp--iW.js → SingleSelectListBoxControl-CYGArF9u.js} +3 -3
- package/dist/{SortListControl-BYtYZH9v.js → SortListControl-LWMW3lAc.js} +26 -26
- package/dist/{StyledListItem-BDGJxkck.js → StyledListItem-DA8cbCw1.js} +1 -1
- package/dist/{TeamAndSpacesControl-DeWTK4Ri.js → TeamAndSpacesControl-BThkHK2b.js} +1 -1
- package/dist/{TeamResourceControl-CYHJE651.js → TeamResourceControl-CQgq2Bq5.js} +2 -2
- package/dist/{TextAreaControl-Be8hYvIE.js → TextAreaControl-ykGD_BnL.js} +6 -5
- package/dist/{TextControl-BMRwH0u8.js → TextControl-QTuQZi2l.js} +1 -1
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-C1Cs6NXf.js +48 -0
- package/dist/{TimeControl-IHoLfKoF.js → TimeControl-W0VRENnH.js} +1 -1
- package/dist/{TimePartInput-Djv_I5L2.js → TimePartInput-BHzqB1_B.js} +1 -1
- package/dist/{TimeframesControl-CXDZ9whH.js → TimeframesControl-C12gkBRu.js} +2 -2
- package/dist/{Tooltip-BFp1z5RF.js → Tooltip-B0QEjsdY.js} +1 -1
- package/dist/TwinlistControlBase.vue_vue_type_script_setup_true_lang-BlaFr27R.js +42 -0
- package/dist/{TypedStringFilter-BqgscF6r.js → TypedStringFilter-B-LUMedK.js} +8 -9
- package/dist/{ValueSwitch-CiYL5ZDM.js → ValueSwitch-BBO_VXIM.js} +1 -1
- package/dist/{ValueSwitchControl-FUA2OCJL.js → ValueSwitchControl-Jz7xZfY-.js} +1 -1
- package/dist/{VerticalLayout-C0dmM8oC.js → VerticalLayout-CGtB4d8F.js} +2 -2
- package/dist/{VerticalLayoutBase-DEyDRFEy.js → VerticalLayoutBase-JY9q-FO2.js} +1 -1
- package/dist/{ZonedDateTimeControl-DZz_UMWY.js → ZonedDateTimeControl-BatkUEiY.js} +5 -5
- package/dist/{_Uint8Array-CKBOTeJE.js → _Uint8Array-Bbzs2Ov4.js} +1 -1
- package/dist/{_baseAssignValue-D7KwaATG.js → _baseAssignValue-DV_dpE4l.js} +1 -1
- package/dist/{_baseEach-ByXotQBT.js → _baseEach-RTY-xHIc.js} +1 -1
- package/dist/{_baseIteratee-B94PQLQa.js → _baseIteratee-pNDg46VS.js} +3 -3
- package/dist/circle-unchecked-DOoOn6iz-D8kdRFQp.js +22 -0
- package/dist/db-browse-BJj19qUq-Ch52lRw1.js +22 -0
- package/dist/db-database-CyCrPzu--BS4xKzSk.js +22 -0
- package/dist/db-fetch-CJMHzQp5-DWPRnfqi.js +22 -0
- package/dist/folder-search-DDOYg0f6-ZAg3M7SD.js +22 -0
- package/dist/hide-eye-BrIKmBWt-C4ZB3p0E.js +22 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +7 -7
- package/dist/{localTimeUtils-D0KEpIug.js → localTimeUtils-B5XTvulp.js} +1564 -1497
- package/dist/menu-BSS_QnZi-BOELQ3Yk.js +22 -0
- package/dist/pin-B6vKBZDp-C_Evg0RJ.js +22 -0
- package/dist/python-Bn3ET_9Z-4xs10DVx.js +22 -0
- package/dist/src/uiComponents/ColorControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/DateTimeFormatPickerControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/DropdownControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/IntegerControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/NumberControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/NumberControlBase.vue.d.ts +1 -1
- package/dist/src/uiComponents/QuantityControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/TextAreaControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/loading/LoadingDropdown.vue.d.ts +1 -1
- package/dist/src/uiComponents/twinlist/AnyOfTwinlist.vue.d.ts +1 -1
- package/dist/src/uiComponents/twinlist/ManualTwinlistControl.vue.d.ts +2 -2
- package/dist/src/uiComponents/twinlist/MultimodeTwinlistControl.vue.d.ts +2 -8
- package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +1 -1
- package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/twinlist/TwinlistControlBase.vue.d.ts +2 -5
- package/dist/src/uiComponents/twinlist/TypedStringFilter.vue.d.ts +1 -1
- package/dist/src/uiComponents/twinlist/toKdsPossibleValues.d.ts +9 -0
- package/dist/tag-_fZiuJaC-1MYJ4Isf.js +26 -0
- package/dist/{db-database-DYNQa14y-t5Ao07SV.js → template-gallery-BtXi4GHd-nN0iWvUH.js} +5 -5
- package/dist/testing.js +2 -2
- package/dist/toKdsPossibleValues-BklBg3gG.js +14 -0
- package/dist/{toString-QbK1ObBl.js → toString-GoK24L1U.js} +1 -1
- package/dist/usage-827uIQyn-DIKbEX0l.js +22 -0
- package/dist/{useBuiltinValidations-wzOrPjDz.js → useBuiltinValidations-LGrGrHzT.js} +1 -1
- package/dist/{usePossibleValues-DgKVFQxB.js → usePossibleValues-ItF87hxE.js} +1 -1
- package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-Chy8pUMX.js → useUnknownValuesInTwinlist-B8gDSha9.js} +6 -7
- package/package.json +4 -4
- package/dist/AnyOfTwinlist-BQehJ12j.js +0 -22
- package/dist/DateTimeFormatPickerWithTypeControl-CMsxwUHX.js +0 -442
- package/dist/DropdownControl-10fJUe9n.js +0 -41
- package/dist/InputField-DeLL-u-h.js +0 -148
- package/dist/LoadingIcon-CYbc0B-S.js +0 -29
- package/dist/ManualTwinlistControl-sdaoD9gk.js +0 -79
- package/dist/MultimodeTwinlistControl-v_K55HKG.js +0 -598
- package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BMg-dFo1.js +0 -26176
- package/dist/SimpleTwinlistControl-6HsVIXPb.js +0 -25
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-CJvtrRdc.js +0 -45
- package/dist/TwinlistControlBase-BankeCez.js +0 -57
- package/dist/TwinlistLoadingInfo-CktU-Yu7.js +0 -956
- package/dist/src/uiComponents/TextControl.vue.d.ts +0 -15
- package/dist/src/uiComponents/loading/TwinlistLoadingInfo.vue.d.ts +0 -2
- package/dist/useSearch-hpyYQ_6y.js +0 -74
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as d, computed as o, openBlock as p, createBlock as m, normalizeProps as _, guardReactiveProps as h, withCtx as f, createElementVNode as e, toDisplayString as a } from "vue";
|
|
2
|
-
import { R as v } from "./ResourceControlBase-
|
|
3
|
-
import { _ as x } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-
|
|
2
|
+
import { R as v } from "./ResourceControlBase-DRlen7vy.js";
|
|
3
|
+
import { _ as x } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-Ssy7Zaqp.js";
|
|
4
4
|
const y = { class: "info-container" }, B = { class: "chart-title" }, g = { class: "chart-description" }, C = /* @__PURE__ */ d({
|
|
5
5
|
__name: "ExecutorMemoryControl",
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { C as E, G as W, A as $, B as I, y as Y, _ as H } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-
|
|
3
|
-
import { e as J, o as Q, U as w, j as X, a as j, m as U, n as T, i as Z, S as k, g as z } from "./_Uint8Array-
|
|
4
|
-
import { b as ee } from "./_baseAssignValue-
|
|
1
|
+
import { defineComponent as V, ref as h, computed as g, openBlock as N, createElementBlock as G, createVNode as R, unref as q, createElementVNode as v, toDisplayString as K } from "vue";
|
|
2
|
+
import { C as E, G as W, A as $, B as I, y as Y, _ as H } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-Ssy7Zaqp.js";
|
|
3
|
+
import { e as J, o as Q, U as w, j as X, a as j, m as U, n as T, i as Z, S as k, g as z } from "./_Uint8Array-Bbzs2Ov4.js";
|
|
4
|
+
import { b as ee } from "./_baseAssignValue-DV_dpE4l.js";
|
|
5
5
|
import { i as te } from "./isArray-WzO_os3q.js";
|
|
6
6
|
var S = Object.create, re = /* @__PURE__ */ (function() {
|
|
7
7
|
function e() {
|
|
@@ -94,11 +94,11 @@ function Pe(e, t, r) {
|
|
|
94
94
|
function Le(e) {
|
|
95
95
|
return typeof e.constructor == "function" && !X(e) ? re(ie(e)) : {};
|
|
96
96
|
}
|
|
97
|
-
var
|
|
98
|
-
function
|
|
99
|
-
return I(e) && j(e) ==
|
|
97
|
+
var Ve = "[object Map]";
|
|
98
|
+
function Ne(e) {
|
|
99
|
+
return I(e) && j(e) == Ve;
|
|
100
100
|
}
|
|
101
|
-
var B = T && T.isMap, Ge = B ? U(B) :
|
|
101
|
+
var B = T && T.isMap, Ge = B ? U(B) : Ne, Re = "[object Set]";
|
|
102
102
|
function qe(e) {
|
|
103
103
|
return I(e) && j(e) == Re;
|
|
104
104
|
}
|
|
@@ -144,7 +144,7 @@ var dt = 1, gt = 4;
|
|
|
144
144
|
function yt(e) {
|
|
145
145
|
return y(e, dt | gt);
|
|
146
146
|
}
|
|
147
|
-
const Tt = { class: "wrapper" }, jt = { class: "filename" }, mt = ["id", "aria-label", "accept", "multiple", "disabled"], At = /* @__PURE__ */
|
|
147
|
+
const Tt = { class: "wrapper" }, jt = { class: "filename" }, mt = ["id", "aria-label", "accept", "multiple", "disabled"], At = /* @__PURE__ */ V({
|
|
148
148
|
inheritAttrs: !1,
|
|
149
149
|
__name: "FileUploadControl",
|
|
150
150
|
props: {
|
|
@@ -167,7 +167,7 @@ const Tt = { class: "wrapper" }, jt = { class: "filename" }, mt = ["id", "aria-l
|
|
|
167
167
|
const b = l.target;
|
|
168
168
|
b.files && (r.value = Array.from(b.files), t.handleChange(t.control.path, Array.from(r.value)));
|
|
169
169
|
};
|
|
170
|
-
return (l, b) => (
|
|
170
|
+
return (l, b) => (N(), G("div", Tt, [
|
|
171
171
|
R(q(Y), {
|
|
172
172
|
class: "file-select-button",
|
|
173
173
|
label: p.value,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as S, useCssVars as U, unref as n, ref as D, computed as s, watch as f, openBlock as c, createElementBlock as u, normalizeStyle as G, Fragment as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as S, useCssVars as U, unref as n, ref as D, computed as s, watch as f, openBlock as c, createElementBlock as u, normalizeStyle as G, Fragment as T, renderList as $, createBlock as h, createCommentVNode as p, createVNode as A, withModifiers as B } from "vue";
|
|
2
|
+
import { a4 as N, a5 as z, y as O, _ as R } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-Ssy7Zaqp.js";
|
|
3
3
|
const W = { class: "grid-list" }, H = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "checkbox"
|
|
6
|
-
},
|
|
6
|
+
}, J = 7, Y = "auto", j = "Invert selection", q = /* @__PURE__ */ S({
|
|
7
7
|
__name: "GridSelectionControl",
|
|
8
8
|
props: {
|
|
9
9
|
handleChange: { type: Function },
|
|
@@ -23,9 +23,9 @@ 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 = J,
|
|
27
|
+
gridWidth: k = Y,
|
|
28
|
+
toggleLabel: m = j,
|
|
29
29
|
renderLastItemAsCheckbox: d = !1
|
|
30
30
|
} = b, a = D(/* @__PURE__ */ new Map()), x = s(() => ({
|
|
31
31
|
"grid-template-columns": `repeat(${I}, 1fr)`
|
|
@@ -35,7 +35,7 @@ const W = { class: "grid-list" }, H = {
|
|
|
35
35
|
)
|
|
36
36
|
), i = s(
|
|
37
37
|
() => d ? o[o.length - 1] : null
|
|
38
|
-
),
|
|
38
|
+
), M = () => {
|
|
39
39
|
const e = /* @__PURE__ */ new Map();
|
|
40
40
|
a.value.forEach(
|
|
41
41
|
({ active: t }, l) => {
|
|
@@ -44,7 +44,7 @@ const W = { class: "grid-list" }, H = {
|
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
46
|
), a.value = e;
|
|
47
|
-
},
|
|
47
|
+
}, w = () => {
|
|
48
48
|
const e = /* @__PURE__ */ new Map();
|
|
49
49
|
return o.forEach(({ id: t }) => {
|
|
50
50
|
e.set(t, { active: r.control.data?.includes(t) ?? !1 });
|
|
@@ -56,8 +56,8 @@ const W = { class: "grid-list" }, H = {
|
|
|
56
56
|
t && e.push(l);
|
|
57
57
|
}
|
|
58
58
|
), e;
|
|
59
|
-
}),
|
|
60
|
-
const e = g.value, t =
|
|
59
|
+
}), F = s(() => r.control.data ?? []), _ = s(() => {
|
|
60
|
+
const e = g.value, t = F.value;
|
|
61
61
|
if (e.length !== t.length)
|
|
62
62
|
return !0;
|
|
63
63
|
const l = new Set(t);
|
|
@@ -66,7 +66,7 @@ const W = { class: "grid-list" }, H = {
|
|
|
66
66
|
return f(
|
|
67
67
|
() => r.control.data,
|
|
68
68
|
() => {
|
|
69
|
-
_.value && (a.value =
|
|
69
|
+
_.value && (a.value = w());
|
|
70
70
|
},
|
|
71
71
|
{ immediate: !0, deep: !0 }
|
|
72
72
|
), f(
|
|
@@ -81,10 +81,10 @@ const W = { class: "grid-list" }, H = {
|
|
|
81
81
|
class: "grid-list-container",
|
|
82
82
|
style: G(x.value)
|
|
83
83
|
}, [
|
|
84
|
-
(c(!0), u(
|
|
84
|
+
(c(!0), u(T, null, $(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
|
-
"onUpdate:modelValue": (
|
|
87
|
+
"onUpdate:modelValue": (L) => a.value.get(l).active = L,
|
|
88
88
|
class: "overwrite-legacy-styles",
|
|
89
89
|
label: v,
|
|
90
90
|
variant: "outlined",
|
|
@@ -105,11 +105,11 @@ const W = { class: "grid-list" }, H = {
|
|
|
105
105
|
label: n(m),
|
|
106
106
|
"leading-icon": "replace",
|
|
107
107
|
class: "invert overwrite-legacy-styles",
|
|
108
|
-
onClick: B(
|
|
108
|
+
onClick: B(M, ["prevent"])
|
|
109
109
|
}, null, 8, ["label"])) : p("", !0)
|
|
110
110
|
]));
|
|
111
111
|
}
|
|
112
|
-
}),
|
|
112
|
+
}), Q = /* @__PURE__ */ R(q, [["__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-Ssy7Zaqp.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-Bb4FK9RQ.js";
|
|
3
3
|
const s = /* @__PURE__ */ o({
|
|
4
4
|
__name: "IntegerControl",
|
|
5
5
|
props: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { openBlock as p, createElementBlock as E, createElementVNode as c, resolveComponent as ye, normalizeClass as D, createCommentVNode as F, withModifiers as N, createVNode as I, defineComponent as H, useModel as k, computed as P, Fragment as C, createBlock as te, withDirectives as b, vShow as S, renderList as X, unref as m, toDisplayString as K, withCtx as W, createTextVNode as Ae, mergeModels as G, ref as T, watch as z, withKeys as Me, vModelText as we, normalizeStyle as xe } from "vue";
|
|
2
|
-
import { _ as U, N as De, P as be,
|
|
2
|
+
import { _ as U, N as De, P as be, a6 as Pe, u as q } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-Ssy7Zaqp.js";
|
|
3
3
|
import { u as Re, a as Ne, s as _e, f as Se, o as Ce } from "./floating-ui.vue-Bk6u3tWN.js";
|
|
4
|
-
import { T as $e } from "./Tooltip-
|
|
4
|
+
import { T as $e } from "./Tooltip-B0QEjsdY.js";
|
|
5
5
|
import { A as Oe } from "./arrow-dropdown-DMFBPPcK.js";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import { V as Z } from "./ValueSwitch-
|
|
7
|
+
import { V as Z } from "./ValueSwitch-BBO_VXIM.js";
|
|
8
8
|
const ae = (e, t) => ({
|
|
9
9
|
negative: e,
|
|
10
10
|
years: parseInt(t[1] ?? "0", 10),
|
|
@@ -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 { a7 as _, _ as u } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-Ssy7Zaqp.js";
|
|
3
3
|
const g = { class: "link-wrapper" }, f = /* @__PURE__ */ s({
|
|
4
4
|
__name: "LinkControl",
|
|
5
5
|
props: {
|
|
@@ -18,7 +18,7 @@ const g = { class: "link-wrapper" }, f = /* @__PURE__ */ s({
|
|
|
18
18
|
}));
|
|
19
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
20
|
return (c, h) => (p(), d("div", g, [
|
|
21
|
-
m(n(
|
|
21
|
+
m(n(_), {
|
|
22
22
|
class: "link-button",
|
|
23
23
|
label: o.control.label,
|
|
24
24
|
to: n(a),
|
|
@@ -29,7 +29,7 @@ const g = { class: "link-wrapper" }, f = /* @__PURE__ */ s({
|
|
|
29
29
|
}, null, 8, ["label", "to", "leading-icon", "trailing-icon"])
|
|
30
30
|
]));
|
|
31
31
|
}
|
|
32
|
-
}), x = /* @__PURE__ */
|
|
32
|
+
}), x = /* @__PURE__ */ u(f, [["__scopeId", "data-v-d1973605"]]);
|
|
33
33
|
export {
|
|
34
34
|
x as default
|
|
35
35
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
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 { a1 as _ } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-
|
|
3
|
-
const
|
|
2
|
+
import { a1 as _ } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-Ssy7Zaqp.js";
|
|
3
|
+
const L = /* @__PURE__ */ v({
|
|
4
4
|
__name: "LoadingDropdown",
|
|
5
5
|
props: {
|
|
6
6
|
possibleValues: {},
|
|
@@ -41,7 +41,7 @@ const T = /* @__PURE__ */ v({
|
|
|
41
41
|
};
|
|
42
42
|
return (a, l) => (V(), f(y(_), g(a.$attrs, {
|
|
43
43
|
id: e.id,
|
|
44
|
-
|
|
44
|
+
ariaLabel: e.ariaLabel,
|
|
45
45
|
"model-value": d.value,
|
|
46
46
|
disabled: b.value,
|
|
47
47
|
"possible-values": o.value,
|
|
@@ -49,9 +49,9 @@ const T = /* @__PURE__ */ v({
|
|
|
49
49
|
placeholder: c.value,
|
|
50
50
|
error: e.error,
|
|
51
51
|
"onUpdate:modelValue": m
|
|
52
|
-
}), null, 16, ["id", "
|
|
52
|
+
}), null, 16, ["id", "ariaLabel", "model-value", "disabled", "possible-values", "loading", "placeholder", "error"]));
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
55
|
export {
|
|
56
|
-
|
|
56
|
+
L as _
|
|
57
57
|
};
|
|
@@ -0,0 +1,72 @@
|
|
|
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 { a3 as I } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-Ssy7Zaqp.js";
|
|
3
|
+
import { m as r } from "./index-Blg1O3Fz.js";
|
|
4
|
+
import { a as M, u as v } from "./usePossibleValues-ItF87hxE.js";
|
|
5
|
+
import { t as F } from "./toKdsPossibleValues-BklBg3gG.js";
|
|
6
|
+
import { u as L } from "./useUnknownValuesInTwinlist-B8gDSha9.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
|
+
isValid: { type: Boolean },
|
|
15
|
+
onRegisterValidation: { type: Function },
|
|
16
|
+
labelForId: {}
|
|
17
|
+
},
|
|
18
|
+
setup(o) {
|
|
19
|
+
const n = o, { excludedLabel: m, includedLabel: p } = M(
|
|
20
|
+
i(n, "control")
|
|
21
|
+
), { possibleValues: c } = v(
|
|
22
|
+
i(n, "control")
|
|
23
|
+
), b = t(
|
|
24
|
+
() => F(c.value ?? [])
|
|
25
|
+
), { selectedAndDeselected: u, setCurrentManualFilter: f } = L({
|
|
26
|
+
data: t(() => ({ manualFilter: n.control.data })),
|
|
27
|
+
possibleValueIds: t(
|
|
28
|
+
() => c.value?.map(({ id: e }) => e) ?? null
|
|
29
|
+
)
|
|
30
|
+
}), y = (e) => {
|
|
31
|
+
const d = r(n.control.data, e);
|
|
32
|
+
n.changeValue(d), f(d);
|
|
33
|
+
};
|
|
34
|
+
let l = null;
|
|
35
|
+
const g = () => {
|
|
36
|
+
if (l !== null) {
|
|
37
|
+
const e = l;
|
|
38
|
+
l = null, y(e);
|
|
39
|
+
}
|
|
40
|
+
}, s = (e) => {
|
|
41
|
+
l === null ? (l = e, queueMicrotask(g)) : l = r(
|
|
42
|
+
l,
|
|
43
|
+
e
|
|
44
|
+
);
|
|
45
|
+
}, V = (e) => {
|
|
46
|
+
s({ manuallySelected: e });
|
|
47
|
+
}, w = (e) => {
|
|
48
|
+
s({ manuallyDeselected: e });
|
|
49
|
+
}, h = (e) => {
|
|
50
|
+
e !== null && s({ includeUnknownColumns: e });
|
|
51
|
+
};
|
|
52
|
+
return (e, d) => (C(), U(a(I), x(e.$attrs, {
|
|
53
|
+
id: o.labelForId,
|
|
54
|
+
ariaLabel: o.control.label,
|
|
55
|
+
disabled: o.disabled,
|
|
56
|
+
"manually-included": a(u).selected ?? [],
|
|
57
|
+
"manually-excluded": a(u).deselected ?? [],
|
|
58
|
+
"include-unknown-values": o.control.data.includeUnknownColumns,
|
|
59
|
+
"possible-values": b.value,
|
|
60
|
+
loading: a(u).selected === null,
|
|
61
|
+
"exclude-label": a(m),
|
|
62
|
+
"include-label": a(p),
|
|
63
|
+
error: !n.isValid,
|
|
64
|
+
"onUpdate:manuallyIncluded": V,
|
|
65
|
+
"onUpdate:manuallyExcluded": w,
|
|
66
|
+
"onUpdate:includeUnknownValues": h
|
|
67
|
+
}), null, 16, ["id", "ariaLabel", "disabled", "manually-included", "manually-excluded", "include-unknown-values", "possible-values", "loading", "exclude-label", "include-label", "error"]));
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
export {
|
|
71
|
+
K as default
|
|
72
|
+
};
|
package/dist/{MultiSelectListBoxControl-CmcedEDZ.js → MultiSelectListBoxControl-DbJWOUtn.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as t, toRef as i, openBlock as n, createBlock as s, unref as l } from "vue";
|
|
2
|
-
import { u as d } from "./usePossibleValues-
|
|
3
|
-
import { M as u } from "./MultiselectListBox-
|
|
2
|
+
import { u as d } from "./usePossibleValues-ItF87hxE.js";
|
|
3
|
+
import { M as u } from "./MultiselectListBox-DpL-Z03B.js";
|
|
4
4
|
const f = /* @__PURE__ */ t({
|
|
5
5
|
__name: "MultiSelectListBoxControl",
|
|
6
6
|
props: {
|
|
@@ -0,0 +1,157 @@
|
|
|
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 { a9 as r, a3 as G } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-Ssy7Zaqp.js";
|
|
3
|
+
import { m as g } from "./index-Blg1O3Fz.js";
|
|
4
|
+
import { u as X, a as Y } from "./usePossibleValues-ItF87hxE.js";
|
|
5
|
+
import { t as W } from "./toKdsPossibleValues-BklBg3gG.js";
|
|
6
|
+
import { u as q } from "./useUnknownValuesInTwinlist-B8gDSha9.js";
|
|
7
|
+
const O = /* @__PURE__ */ A({
|
|
8
|
+
__name: "MultimodeTwinlistControl",
|
|
9
|
+
props: {
|
|
10
|
+
control: {},
|
|
11
|
+
handleChange: {},
|
|
12
|
+
changeValue: {},
|
|
13
|
+
disabled: { type: Boolean },
|
|
14
|
+
isValid: { type: Boolean },
|
|
15
|
+
onRegisterValidation: {},
|
|
16
|
+
labelForId: {},
|
|
17
|
+
showUnknownValues: { type: Boolean, default: !1 },
|
|
18
|
+
showTypeFilter: { type: Boolean, default: !1 }
|
|
19
|
+
},
|
|
20
|
+
setup(n) {
|
|
21
|
+
const t = n, { possibleValues: i } = X(
|
|
22
|
+
b(t, "control")
|
|
23
|
+
), { excludedLabel: T, includedLabel: C } = Y(
|
|
24
|
+
b(t, "control")
|
|
25
|
+
), { selectedAndDeselected: p, setCurrentManualFilter: U } = q({
|
|
26
|
+
data: c(() => t.control.data),
|
|
27
|
+
possibleValueIds: c(
|
|
28
|
+
() => i.value?.map(({ id: e }) => e) ?? null
|
|
29
|
+
)
|
|
30
|
+
}), s = (e) => {
|
|
31
|
+
const a = g(t.control.data, e);
|
|
32
|
+
t.changeValue(a), U(a.manualFilter);
|
|
33
|
+
}, w = c(
|
|
34
|
+
() => W(i.value ?? [])
|
|
35
|
+
);
|
|
36
|
+
let o = null;
|
|
37
|
+
const M = () => {
|
|
38
|
+
if (o !== null) {
|
|
39
|
+
const e = o;
|
|
40
|
+
o = null, s(e);
|
|
41
|
+
}
|
|
42
|
+
}, m = (e) => {
|
|
43
|
+
o === null ? (o = e, queueMicrotask(M)) : o = g(
|
|
44
|
+
o,
|
|
45
|
+
e
|
|
46
|
+
);
|
|
47
|
+
}, k = (e) => {
|
|
48
|
+
m({
|
|
49
|
+
manualFilter: { manuallySelected: e },
|
|
50
|
+
selected: e
|
|
51
|
+
});
|
|
52
|
+
}, E = (e) => {
|
|
53
|
+
m({
|
|
54
|
+
manualFilter: { manuallyDeselected: e }
|
|
55
|
+
});
|
|
56
|
+
}, v = (e) => {
|
|
57
|
+
e !== null && m({
|
|
58
|
+
manualFilter: { includeUnknownColumns: e }
|
|
59
|
+
});
|
|
60
|
+
}, y = c(() => {
|
|
61
|
+
switch (t.control.data.mode.toUpperCase()) {
|
|
62
|
+
case "WILDCARD":
|
|
63
|
+
case "REGEX":
|
|
64
|
+
return r.PATTERN;
|
|
65
|
+
case "TYPE":
|
|
66
|
+
return r.TYPE;
|
|
67
|
+
default:
|
|
68
|
+
return r.MANUAL;
|
|
69
|
+
}
|
|
70
|
+
}), f = c(
|
|
71
|
+
() => t.control.data.mode.toUpperCase() === "REGEX"
|
|
72
|
+
), x = (e) => {
|
|
73
|
+
let a;
|
|
74
|
+
switch (e) {
|
|
75
|
+
case r.PATTERN:
|
|
76
|
+
a = f.value ? "REGEX" : "WILDCARD";
|
|
77
|
+
break;
|
|
78
|
+
case r.TYPE:
|
|
79
|
+
a = "TYPE";
|
|
80
|
+
break;
|
|
81
|
+
default:
|
|
82
|
+
a = "MANUAL";
|
|
83
|
+
}
|
|
84
|
+
s({ mode: a });
|
|
85
|
+
}, F = (e) => {
|
|
86
|
+
y.value === r.PATTERN && s({ mode: e ? "REGEX" : "WILDCARD" });
|
|
87
|
+
}, R = (e) => {
|
|
88
|
+
s({ patternFilter: { pattern: e } });
|
|
89
|
+
}, V = (e) => {
|
|
90
|
+
s({ patternFilter: { isInverted: e } });
|
|
91
|
+
}, D = (e) => {
|
|
92
|
+
s({ patternFilter: { isCaseSensitive: e } });
|
|
93
|
+
}, I = () => {
|
|
94
|
+
const e = t.control.data.typeFilter;
|
|
95
|
+
if (!e)
|
|
96
|
+
return [];
|
|
97
|
+
const a = e.selectedTypes, l = new Map(
|
|
98
|
+
(e.typeDisplays ?? []).map(({ id: d, text: L }) => [d, L])
|
|
99
|
+
);
|
|
100
|
+
return a.map((d) => ({
|
|
101
|
+
id: d,
|
|
102
|
+
text: l.get(d) || d
|
|
103
|
+
}));
|
|
104
|
+
}, h = c(() => {
|
|
105
|
+
if (!t.showTypeFilter)
|
|
106
|
+
return;
|
|
107
|
+
const e = /* @__PURE__ */ new Map();
|
|
108
|
+
return i.value?.forEach((a) => {
|
|
109
|
+
a.type && e.set(a.type.id, a.type.text);
|
|
110
|
+
}), I().forEach(({ id: a, text: l }) => {
|
|
111
|
+
e.has(a) || e.set(a, l);
|
|
112
|
+
}), [...e.entries()].map(([a, l]) => ({
|
|
113
|
+
id: a,
|
|
114
|
+
text: l,
|
|
115
|
+
accessory: { type: "dataType", name: a }
|
|
116
|
+
}));
|
|
117
|
+
}), P = (e) => {
|
|
118
|
+
const a = (h.value ?? []).filter((l) => e.includes(l.id)).map(({ id: l, text: d }) => ({ id: l, text: d }));
|
|
119
|
+
s({
|
|
120
|
+
typeFilter: { selectedTypes: e, typeDisplays: a }
|
|
121
|
+
});
|
|
122
|
+
};
|
|
123
|
+
return (e, a) => (B(), S(u(G), N(e.$attrs, {
|
|
124
|
+
id: n.labelForId,
|
|
125
|
+
ariaLabel: n.control.label,
|
|
126
|
+
disabled: n.disabled,
|
|
127
|
+
mode: y.value,
|
|
128
|
+
"manually-included": u(p).selected ?? [],
|
|
129
|
+
"manually-excluded": u(p).deselected ?? [],
|
|
130
|
+
"include-unknown-values": t.showUnknownValues ? t.control.data.manualFilter.includeUnknownColumns : null,
|
|
131
|
+
pattern: n.control.data.patternFilter.pattern,
|
|
132
|
+
"case-sensitive": n.control.data.patternFilter.isCaseSensitive,
|
|
133
|
+
"exclude-matches": n.control.data.patternFilter.isInverted,
|
|
134
|
+
"use-regex": f.value,
|
|
135
|
+
"selected-types": n.control.data.typeFilter?.selectedTypes ?? [],
|
|
136
|
+
"possible-values": w.value,
|
|
137
|
+
"filter-types": h.value,
|
|
138
|
+
"enable-pattern-filter": !0,
|
|
139
|
+
loading: u(p).selected === null,
|
|
140
|
+
"exclude-label": u(T),
|
|
141
|
+
"include-label": u(C),
|
|
142
|
+
error: !t.isValid,
|
|
143
|
+
"onUpdate:mode": x,
|
|
144
|
+
"onUpdate:manuallyIncluded": k,
|
|
145
|
+
"onUpdate:manuallyExcluded": E,
|
|
146
|
+
"onUpdate:includeUnknownValues": v,
|
|
147
|
+
"onUpdate:pattern": R,
|
|
148
|
+
"onUpdate:caseSensitive": D,
|
|
149
|
+
"onUpdate:excludeMatches": V,
|
|
150
|
+
"onUpdate:useRegex": F,
|
|
151
|
+
"onUpdate:selectedTypes": P
|
|
152
|
+
}), null, 16, ["id", "ariaLabel", "disabled", "mode", "manually-included", "manually-excluded", "include-unknown-values", "pattern", "case-sensitive", "exclude-matches", "use-regex", "selected-types", "possible-values", "filter-types", "loading", "exclude-label", "include-label", "error"]));
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
export {
|
|
156
|
+
O as _
|
|
157
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { toRef as x, watch as S, resolveComponent as p, openBlock as h, createElementBlock as u, normalizeStyle as y, normalizeClass as I, createElementVNode as m, mergeProps as C, withKeys as a, withModifiers as d, normalizeProps as v, guardReactiveProps as w, Fragment as V, renderList as k, createBlock as g, withCtx as D, renderSlot as H, resolveDynamicComponent as B, toDisplayString as K, createCommentVNode as b, createVNode as N } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { S as O } from "./StyledListItem-
|
|
2
|
+
import { a8 as L, Q as A, _ as T } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-Ssy7Zaqp.js";
|
|
3
|
+
import { S as O } from "./StyledListItem-DA8cbCw1.js";
|
|
4
4
|
const z = (e, t) => {
|
|
5
5
|
let i, r = 0;
|
|
6
6
|
return (...l) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as n, openBlock as o, createBlock as t, mergeProps as
|
|
2
|
-
import
|
|
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-BzIvunuA.js";
|
|
3
3
|
const u = /* @__PURE__ */ n({
|
|
4
4
|
__name: "NameFilter",
|
|
5
5
|
props: {
|
|
@@ -11,8 +11,8 @@ const u = /* @__PURE__ */ n({
|
|
|
11
11
|
onRegisterValidation: { type: Function },
|
|
12
12
|
labelForId: {}
|
|
13
13
|
},
|
|
14
|
-
setup(
|
|
15
|
-
return (e,
|
|
14
|
+
setup(s) {
|
|
15
|
+
return (e, r) => (o(), t(l, a({ ...e.$props, ...e.$attrs }, {
|
|
16
16
|
"unknown-values-text": "Any unknown value",
|
|
17
17
|
"show-unknown-values": "",
|
|
18
18
|
"empty-state-label": "No values in this list"
|
|
@@ -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-Bb4FK9RQ.js";
|
|
3
3
|
const s = /* @__PURE__ */ o({
|
|
4
4
|
__name: "NumberControl",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as m, computed as
|
|
2
|
-
import { a2 as x } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-
|
|
3
|
-
import { u as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as m, computed as l, openBlock as u, createBlock as d, unref as p } from "vue";
|
|
2
|
+
import { a2 as x } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-Ssy7Zaqp.js";
|
|
3
|
+
import { u as b } from "./useBuiltinValidations-LGrGrHzT.js";
|
|
4
|
+
const E = 1, v = 0.1, h = /* @__PURE__ */ m({
|
|
5
5
|
__name: "NumberControlBase",
|
|
6
6
|
props: {
|
|
7
7
|
control: {},
|
|
@@ -14,25 +14,26 @@ const v = 1, f = 0.1, F = /* @__PURE__ */ m({
|
|
|
14
14
|
type: {}
|
|
15
15
|
},
|
|
16
16
|
setup(a) {
|
|
17
|
-
const o = a, i =
|
|
18
|
-
() => o.control.uischema.options?.stepSize ?? (o.type === "integer" ?
|
|
19
|
-
),
|
|
17
|
+
const o = a, i = l(
|
|
18
|
+
() => o.control.uischema.options?.stepSize ?? (o.type === "integer" ? E : v)
|
|
19
|
+
), s = b(
|
|
20
20
|
{
|
|
21
21
|
min: ({ min: e, isExclusive: t }) => (n) => isNaN(n) || (t ? n > e : n >= e),
|
|
22
22
|
max: ({ max: e, isExclusive: t }) => (n) => isNaN(n) || (t ? n < e : n <= e)
|
|
23
23
|
},
|
|
24
24
|
o
|
|
25
|
-
), r =
|
|
26
|
-
const e =
|
|
25
|
+
), r = l(() => {
|
|
26
|
+
const e = s.value.min;
|
|
27
27
|
if (!(!e || e.min === null))
|
|
28
28
|
return e.min + (e.isExclusive ? i.value : 0);
|
|
29
|
-
}), c =
|
|
30
|
-
const e =
|
|
29
|
+
}), c = l(() => {
|
|
30
|
+
const e = s.value.max;
|
|
31
31
|
if (!(!e || e.max === null))
|
|
32
32
|
return e.max - (e.isExclusive ? i.value : 0);
|
|
33
33
|
});
|
|
34
34
|
return (e, t) => (u(), d(p(x), {
|
|
35
35
|
id: a.labelForId,
|
|
36
|
+
ariaLabel: a.control.label,
|
|
36
37
|
class: "number-input",
|
|
37
38
|
disabled: a.disabled,
|
|
38
39
|
"model-value": a.control.data,
|
|
@@ -41,9 +42,9 @@ const v = 1, f = 0.1, F = /* @__PURE__ */ m({
|
|
|
41
42
|
step: i.value,
|
|
42
43
|
error: !a.isValid,
|
|
43
44
|
"onUpdate:modelValue": a.changeValue
|
|
44
|
-
}, null, 8, ["id", "disabled", "model-value", "min", "max", "step", "error", "onUpdate:modelValue"]));
|
|
45
|
+
}, null, 8, ["id", "ariaLabel", "disabled", "model-value", "min", "max", "step", "error", "onUpdate:modelValue"]));
|
|
45
46
|
}
|
|
46
47
|
});
|
|
47
48
|
export {
|
|
48
|
-
|
|
49
|
+
h as _
|
|
49
50
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as r, computed as s, openBlock as d, createBlock as u, unref as n } from "vue";
|
|
2
|
-
import { a1 as c } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-
|
|
2
|
+
import { a1 as c } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-Ssy7Zaqp.js";
|
|
3
3
|
import { o as p } from "./index-Blg1O3Fz.js";
|
|
4
4
|
const g = /* @__PURE__ */ r({
|
|
5
5
|
__name: "OneOfDropdown",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as V, computed as
|
|
2
|
-
import {
|
|
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 { ac as L } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-Ssy7Zaqp.js";
|
|
3
3
|
const M = ["innerHTML"], B = ["innerHTML"], C = ["innerHTML"], x = /* @__PURE__ */ V({
|
|
4
4
|
__name: "RadioButtonsWithDescriptionControl",
|
|
5
5
|
props: {
|
|
@@ -13,12 +13,12 @@ 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 =
|
|
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
19
|
price: h,
|
|
20
20
|
description: f
|
|
21
|
-
})) || []), p =
|
|
21
|
+
})) || []), p = s(() => !o.control.enabled), d = s(
|
|
22
22
|
() => o.control.uischema.options?.footnote || null
|
|
23
23
|
), m = (a) => {
|
|
24
24
|
o.changeValue(a);
|
|
@@ -44,10 +44,10 @@ const M = ["innerHTML"], B = ["innerHTML"], C = ["innerHTML"], x = /* @__PURE__
|
|
|
44
44
|
innerHTML: e.price
|
|
45
45
|
}, null, 10, B)
|
|
46
46
|
]))), 128)),
|
|
47
|
-
|
|
47
|
+
d.value ? (n(), t("div", {
|
|
48
48
|
key: 0,
|
|
49
49
|
class: "footnote",
|
|
50
|
-
innerHTML:
|
|
50
|
+
innerHTML: d.value
|
|
51
51
|
}, null, 8, C)) : y("", !0)
|
|
52
52
|
], 64));
|
|
53
53
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, openBlock as n, createBlock as t, mergeProps as a } from "vue";
|
|
2
|
-
import { _ as r } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as p } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-
|
|
2
|
+
import { _ as r } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-CsEFu5wd.js";
|
|
3
|
+
import { _ as p } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-Ssy7Zaqp.js";
|
|
4
4
|
const i = /* @__PURE__ */ e({
|
|
5
5
|
__name: "RadioControl",
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as r, computed as d, ref as p, toRef as b, onMounted as v, openBlock as t, createElementBlock as V, Fragment as f, createBlock as i, unref as s, createCommentVNode as h } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { aa as y, ab as g } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-Ssy7Zaqp.js";
|
|
3
3
|
import { o as B } from "./index-Blg1O3Fz.js";
|
|
4
|
-
import { u as F } from "./usePossibleValues-
|
|
4
|
+
import { u as F } from "./usePossibleValues-ItF87hxE.js";
|
|
5
5
|
const U = /* @__PURE__ */ r({
|
|
6
6
|
__name: "RadioControlBase",
|
|
7
7
|
props: {
|