@knime/jsonforms 1.19.5 → 1.20.0
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 +27 -0
- package/dist/{AnyOfTwinlist-gIm_R7yi.js → AnyOfTwinlist-CosNPUKG.js} +1 -1
- package/dist/{Checkbox-D1QZ8D8U.js → Checkbox-BLHyWo4X.js} +1 -1
- package/dist/{CheckboxControl-DitntAd8.js → CheckboxControl-DyBcYCFe.js} +1 -1
- package/dist/{CheckboxesControl-C_Wwb06j.js → CheckboxesControl-DqcN6RcZ.js} +2 -2
- package/dist/{ColorControl-86_aeUMf.js → ColorControl-CPklP_Ox.js} +1 -1
- package/dist/{ColorPreviewControl-HgbFwMCE.js → ColorPreviewControl-BhbI9XDV.js} +1 -1
- package/dist/{ComboBoxControl-CGwWGyDl.js → ComboBoxControl-DR9x8i0b.js} +8 -8
- package/dist/{DateControl-BofbO5lM.js → DateControl-DJxV5wzs.js} +1 -1
- package/dist/DateTimeControl-CoNsGbev.js +44 -0
- package/dist/{DateTimeFormatPickerControl-7KTdYrMN.js → DateTimeFormatPickerControl-BmtxQjzI.js} +1 -1
- package/dist/{DateTimeFormatPickerWithTypeControl-DmevlqK8.js → DateTimeFormatPickerWithTypeControl-CK7LsO-R.js} +12 -12
- package/dist/{DropdownControl-XAeknlV2.js → DropdownControl-nLA0kshc.js} +5 -5
- package/dist/ExecutorCoresControl-BgB0R_Xv.js +42 -0
- package/dist/ExecutorMemoryControl-Ck5naUl2.js +41 -0
- package/dist/FileUploadControl-CByhtwi1.js +197 -0
- package/dist/GridSelectionControl-8g--blrX.js +115 -0
- package/dist/{HorizontalLayout-BQFvLK2X.js → HorizontalLayout-Bc4F2xJR.js} +6 -6
- package/dist/InputField-Gw6K93vY.js +148 -0
- package/dist/{IntegerControl-XNoJU3s2.js → IntegerControl-CAh031mO.js} +1 -1
- package/dist/{IntervalControl-DaQTfsx8.js → IntervalControl-ocjzEBto.js} +168 -184
- package/dist/LinkControl-BML6cXj-.js +35 -0
- package/dist/LoadingDropdown.vue_vue_type_script_setup_true_lang-C2sH3IaG.js +57 -0
- package/dist/{LoadingIcon-D3kls_iA.js → LoadingIcon-B0S8ig5H.js} +1 -1
- package/dist/{ManualTwinlistControl-BCgJbfp5.js → ManualTwinlistControl-BdbrjZtS.js} +4 -4
- package/dist/{MultiSelectListBoxControl-B6tvY3Al.js → MultiSelectListBoxControl-0M1iLfXZ.js} +2 -2
- package/dist/{MultimodeTwinlistControl-CUWzYCUm.js → MultimodeTwinlistControl-aL0Jr_Hp.js} +19 -20
- package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-C8itN9TE.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-C61plPNM.js} +2 -2
- package/dist/{MultiselectListBox-C1rI0rOG.js → MultiselectListBox-BJqQv0AT.js} +5 -5
- package/dist/{NameFilter-CaPBJKzh.js → NameFilter-DvoXjvd8.js} +1 -1
- package/dist/{NumberControl-DOnwoK8Z.js → NumberControl-BEYR3aHU.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-IP3X2jko.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CSwuzJVa.js} +2 -2
- package/dist/{OneOfDropdown-CHt7_dgU.js → OneOfDropdown-Bg1JOuCZ.js} +1 -1
- package/dist/RadioButtonsWithDescriptionControl-Cmzn6X0W.js +57 -0
- package/dist/{RadioControl-CP7QiYX1.js → RadioControl-D4invwra.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-qv1xOkqz.js → RadioControlBase.vue_vue_type_script_setup_true_lang-CuOORFSE.js} +2 -2
- package/dist/ResourceControlBase-BCx6cBBz.js +158 -0
- package/dist/{RichTextControl-DKlFtbdd.js → RichTextControl-TbANBneT.js} +2059 -1991
- package/dist/{SectionHeading-DbcAkyOk.js → SectionHeading-DoNDREK2.js} +1 -1
- package/dist/{SectionLayout-BRfbEX0H.js → SectionLayout-Dsd4wFck.js} +3 -3
- package/dist/SettingsSubPanel-sQPONy-U.js +5 -0
- package/dist/{SettingsSubPanelLayout-nMEM9Js5.js → SettingsSubPanelLayout-DbYqmGOS.js} +7 -7
- package/dist/{SimpleButtonControl-Cs9fDA9V.js → SimpleButtonControl-DhM4t6v3.js} +10 -9
- package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js +26176 -0
- package/dist/{SimpleTwinlistControl-CMJCJOPx.js → SimpleTwinlistControl-Chay0D48.js} +2 -2
- package/dist/{SingleSelectControl-DrqxOX0c.js → SingleSelectControl-BRfqeLOh.js} +2 -2
- package/dist/{SingleSelectListBoxControl-2ORQoAtg.js → SingleSelectListBoxControl-DyDspddM.js} +5 -5
- package/dist/{SortListControl-BLWFLyUn.js → SortListControl-DX0uhRfk.js} +104 -118
- package/dist/{StyledListItem-DhsQSwUn.js → StyledListItem-B_FaDixp.js} +1 -1
- package/dist/TeamAndSpacesControl-CVGPGpqd.js +64 -0
- package/dist/TeamResourceControl-DD-USgie.js +38 -0
- package/dist/{TextAreaControl-v3fhzCGm.js → TextAreaControl-BCIrrOzR.js} +1 -1
- package/dist/{TextControl-CNlNwI8q.js → TextControl-B_2oeFoq.js} +1 -1
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-CuCBV4pA.js +45 -0
- package/dist/{TimeControl-uBNUovJi.js → TimeControl-CeL2KxIB.js} +1 -1
- package/dist/TimePartInput-BbHxGv7L.js +254 -0
- package/dist/TimeframesControl-BBUDxMaB.js +87 -0
- package/dist/Tooltip-B5O8iOuG.js +24 -0
- package/dist/{TwinlistControlBase-BfsU0lp4.js → TwinlistControlBase--CFSodU_.js} +3 -3
- package/dist/{TwinlistLoadingInfo-CZpH6CqT.js → TwinlistLoadingInfo-aB5QCSFX.js} +18 -18
- package/dist/{TypedStringFilter-ElEPYctF.js → TypedStringFilter-BjyKvhn1.js} +1 -1
- package/dist/{ValueSwitch-BfYlPI2B.js → ValueSwitch-DYxCMQ9c.js} +4 -4
- package/dist/{ValueSwitchControl-DyV85jLv.js → ValueSwitchControl-CQkiPcwC.js} +1 -1
- package/dist/{VerticalLayout-CFGNNSaB.js → VerticalLayout-DygOb7L9.js} +2 -2
- package/dist/{VerticalLayoutBase-CCtK1J1U.js → VerticalLayoutBase-Dq_p4WmZ.js} +1 -1
- package/dist/{ZonedDateTimeControl-BtPeUK4M.js → ZonedDateTimeControl-CKyKzTtF.js} +2 -2
- package/dist/_Uint8Array-Boy5On8p.js +349 -0
- package/dist/_baseAssignValue-CG1hoqdJ.js +19 -0
- package/dist/{_baseEach-DR1qyPMo.js → _baseEach-LxtQB6N-.js} +1 -1
- package/dist/_baseIteratee-BBGehgFZ.js +308 -0
- package/dist/floating-ui.vue-Bk6u3tWN.js +1060 -0
- package/dist/isArray-WzO_os3q.js +4 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +53 -51
- package/dist/{localTimeUtils-C1z-tWPY.js → localTimeUtils-C7kma5fB.js} +3163 -3553
- package/dist/src/constants/inputFormats.d.ts +14 -0
- package/dist/src/higherOrderComponents/control/DescriptionPopover.vue.d.ts +6 -0
- package/dist/src/higherOrderComponents/control/index.d.ts +1 -0
- package/dist/src/higherOrderComponents/control/withDescription.d.ts +2 -0
- package/dist/src/layoutComponents/index.d.ts +2 -1
- package/dist/src/layoutComponents/simpleArrayLayout/SimpleArrayLayout.vue.d.ts +74 -0
- package/dist/src/layoutComponents/simpleArrayLayout/SimpleArrayLayoutItemControls.vue.d.ts +16 -0
- package/dist/src/renderers/defaultRenderers.d.ts +152 -3
- package/dist/src/renderers/executorCoresResourceRenderer.d.ts +1 -0
- package/dist/src/renderers/executorMemoryResourceRenderer.d.ts +1 -0
- package/dist/src/renderers/fileUploadRenderer.d.ts +1 -0
- package/dist/src/renderers/gridSelectionRenderer.d.ts +1 -0
- package/dist/src/renderers/linkRenderer.d.ts +69 -0
- package/dist/src/renderers/passwordRenderer.d.ts +1 -0
- package/dist/src/renderers/quantityRenderer.d.ts +1 -0
- package/dist/src/renderers/radioWithDescriptionRenderer.d.ts +69 -0
- package/dist/src/renderers/simpleArrayLayoutRenderer.d.ts +76 -0
- package/dist/src/renderers/sortListRenderer.d.ts +1 -3
- package/dist/src/renderers/teamAndSpaceDropdownRenderer.d.ts +3 -0
- package/dist/src/renderers/teamResourceRenderer.d.ts +1 -0
- package/dist/src/renderers/timeframesRenderer.d.ts +4 -0
- package/dist/src/renderers/usernameRenderer.d.ts +1 -0
- package/dist/src/types/ChoicesUiSchema.d.ts +13 -1
- package/dist/src/uiComponents/DateControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/DateTimeControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/FileUploadControl.vue.d.ts +6 -0
- package/dist/src/uiComponents/GridSelectionControl.vue.d.ts +9 -0
- package/dist/src/uiComponents/LinkControl.vue.d.ts +4 -0
- package/dist/src/uiComponents/PasswordControl.vue.d.ts +4 -0
- package/dist/src/uiComponents/QuantityControl.vue.d.ts +4 -0
- package/dist/src/uiComponents/RadioButtonsWithDescriptionControl.vue.d.ts +4 -0
- package/dist/src/uiComponents/SortListControl.vue.d.ts +1 -3
- package/dist/src/uiComponents/TeamAndSpacesControl.vue.d.ts +4 -0
- package/dist/src/uiComponents/TimeControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/TimeframesControl.vue.d.ts +8 -0
- package/dist/src/uiComponents/UsernameControl.vue.d.ts +4 -0
- package/dist/src/uiComponents/configs/executionContexts.config.d.ts +29 -0
- package/dist/src/uiComponents/loading/types/LoadingDropdownProps.d.ts +2 -2
- package/dist/src/uiComponents/resourceControls/ExecutorCoresControl.vue.d.ts +4 -0
- package/dist/src/uiComponents/resourceControls/ExecutorMemoryControl.vue.d.ts +4 -0
- package/dist/src/uiComponents/resourceControls/ResourceControlBase.vue.d.ts +19 -0
- package/dist/src/uiComponents/resourceControls/SmallDonutChart.vue.d.ts +20 -0
- package/dist/src/uiComponents/resourceControls/TeamResourceControl.vue.d.ts +4 -0
- package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +1 -3
- package/dist/testing.js +2602 -2589
- package/dist/toString-Bbm8o0hZ.js +25 -0
- package/dist/{useBuiltinValidations-CXYzLTj1.js → useBuiltinValidations-zKGc6Pdt.js} +1 -1
- package/dist/useDropdownNavigation-EOwf_fL0.js +946 -0
- package/dist/{usePossibleValues-BGGWIVzM.js → usePossibleValues-DhdKca4Z.js} +1 -1
- package/package.json +2 -2
- package/dist/DateTimeControl-BzWk51J8.js +0 -44
- package/dist/Label-BckcZVsr.js +0 -218
- package/dist/LoadingDropdown.vue_vue_type_script_setup_true_lang-M581gyEa.js +0 -48
- package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js +0 -25430
- package/dist/SettingsSubPanel-Bw-wC4JV.js +0 -5
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-BQReBqLi.js +0 -45
- package/dist/_baseIteratee-DrBvc1GG.js +0 -640
- package/dist/floating-ui.vue-Fx4CxKut.js +0 -1057
- package/dist/toString-lufkO4XX.js +0 -25
- package/dist/useDropdownNavigation-2Yhk7zes.js +0 -821
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as s, toRef as i, openBlock as l, createBlock as a, mergeProps as r, unref as p } from "vue";
|
|
2
|
-
import { u as c } from "./usePossibleValues-
|
|
3
|
-
import { T as u } from "./TwinlistControlBase
|
|
2
|
+
import { u as c } from "./usePossibleValues-DhdKca4Z.js";
|
|
3
|
+
import { T as u } from "./TwinlistControlBase--CFSodU_.js";
|
|
4
4
|
const h = /* @__PURE__ */ s({
|
|
5
5
|
__name: "SimpleTwinlistControl",
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as x, computed as c, toRef as y, openBlock as _, createBlock as v } from "vue";
|
|
2
|
-
import { u as $ } from "./usePossibleValues-
|
|
3
|
-
import { _ as F } from "./LoadingDropdown.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as $ } from "./usePossibleValues-DhdKca4Z.js";
|
|
3
|
+
import { _ as F } from "./LoadingDropdown.vue_vue_type_script_setup_true_lang-C2sH3IaG.js";
|
|
4
4
|
const i = "__special__", a = "__regular__", P = /* @__PURE__ */ x({
|
|
5
5
|
__name: "SingleSelectControl",
|
|
6
6
|
props: {
|
package/dist/{SingleSelectListBoxControl-2ORQoAtg.js → SingleSelectListBoxControl-DyDspddM.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolveComponent as x, openBlock as a, createElementBlock as c, normalizeClass as u, createElementVNode as V, normalizeStyle as h, Fragment as p, renderList as y, createBlock as f, defineComponent as I, toRef as g, unref as o, createCommentVNode as v } from "vue";
|
|
2
|
-
import { u as S } from "./usePossibleValues-
|
|
3
|
-
import { S as C } from "./StyledListItem-
|
|
4
|
-
import { _ as L,
|
|
2
|
+
import { u as S } from "./usePossibleValues-DhdKca4Z.js";
|
|
3
|
+
import { S as C } from "./StyledListItem-B_FaDixp.js";
|
|
4
|
+
import { _ as L, Q as B } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
|
|
5
5
|
const w = 40, H = 38, T = 36, K = 35, k = {
|
|
6
6
|
name: "ListBox",
|
|
7
7
|
components: {
|
|
@@ -201,7 +201,7 @@ function z(e, t, l, n, d, s) {
|
|
|
201
201
|
], 44, D)
|
|
202
202
|
], 2);
|
|
203
203
|
}
|
|
204
|
-
const A = /* @__PURE__ */ L(k, [["render", z], ["__scopeId", "data-v-a437d16b"]]),
|
|
204
|
+
const A = /* @__PURE__ */ L(k, [["render", z], ["__scopeId", "data-v-a437d16b"]]), N = /* @__PURE__ */ I({
|
|
205
205
|
__name: "SingleSelectListBoxControl",
|
|
206
206
|
props: {
|
|
207
207
|
control: {},
|
|
@@ -228,5 +228,5 @@ const A = /* @__PURE__ */ L(k, [["render", z], ["__scopeId", "data-v-a437d16b"]]
|
|
|
228
228
|
}
|
|
229
229
|
});
|
|
230
230
|
export {
|
|
231
|
-
|
|
231
|
+
N as default
|
|
232
232
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { openBlock as V, createElementBlock as
|
|
2
|
-
import {
|
|
3
|
-
import { i as
|
|
4
|
-
import { M as
|
|
5
|
-
import {
|
|
6
|
-
import { b as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { openBlock as V, createElementBlock as x, createElementVNode as g, defineComponent as H, computed as b, ref as N, watch as Z, Fragment as U, createVNode as c, withKeys as B, withModifiers as E, unref as d, withCtx as h, renderSlot as T, normalizeProps as se, guardReactiveProps as ie, nextTick as re, onMounted as ue, createSlots as ce, normalizeClass as j, toDisplayString as z, createBlock as de, createCommentVNode as me } from "vue";
|
|
2
|
+
import { N as M, _ as W, u as pe, y as F, L as ve, E as fe, a3 as P } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
|
|
3
|
+
import { i as we } from "./navigator-e30QQMkl.js";
|
|
4
|
+
import { M as be } from "./MultiselectListBox-BJqQv0AT.js";
|
|
5
|
+
import { b as he } from "./_baseAssignValue-CG1hoqdJ.js";
|
|
6
|
+
import { b as ge } from "./_baseEach-LxtQB6N-.js";
|
|
7
|
+
import { b as Ve } from "./_baseIteratee-BBGehgFZ.js";
|
|
8
|
+
import { i as ke } from "./isArray-WzO_os3q.js";
|
|
9
|
+
import { c as xe } from "./createMissingItem-B00Kg95q.js";
|
|
9
10
|
const O = {
|
|
10
11
|
ArrowUp: "↑",
|
|
11
12
|
ArrowDown: "↓",
|
|
@@ -15,7 +16,7 @@ const O = {
|
|
|
15
16
|
" ": "Space",
|
|
16
17
|
// we use event.key and there space is an actual space not the code "Space"
|
|
17
18
|
CtrlOrCmd: "Ctrl"
|
|
18
|
-
},
|
|
19
|
+
}, ye = {
|
|
19
20
|
Shift: "⇧",
|
|
20
21
|
Delete: "⌫",
|
|
21
22
|
CtrlOrCmd: "⌘",
|
|
@@ -23,113 +24,98 @@ const O = {
|
|
|
23
24
|
Alt: "⌥",
|
|
24
25
|
Enter: "↩"
|
|
25
26
|
}, Y = (e) => {
|
|
26
|
-
const t = (u) => (i) => u[i] ?? i, l = ((...u) => u.reduce((i, p) => (
|
|
27
|
-
t(
|
|
27
|
+
const t = (u) => (i) => u[i] ?? i, l = ((...u) => u.reduce((i, p) => (y) => p(i(y))))(
|
|
28
|
+
t(ye),
|
|
28
29
|
t(O)
|
|
29
30
|
), a = t(O);
|
|
30
|
-
return
|
|
31
|
+
return we() ? l(e) : a(e);
|
|
31
32
|
}, q = () => " ", Se = (e, t = q) => e.map(Y).join(t()), Ae = { formatHotkeys: Se, formatHotkey: Y, getDefaultSeparator: q };
|
|
32
|
-
|
|
33
|
-
try {
|
|
34
|
-
var e = ge(Object, "defineProperty");
|
|
35
|
-
return e({}, "", {}), e;
|
|
36
|
-
} catch {
|
|
37
|
-
}
|
|
38
|
-
})();
|
|
39
|
-
function Ce(e, t, n, l) {
|
|
33
|
+
function _e(e, t, n, l) {
|
|
40
34
|
for (var a = e.length, u = n + -1; ++u < a; )
|
|
41
35
|
if (t(e[u], u, e))
|
|
42
36
|
return u;
|
|
43
37
|
return -1;
|
|
44
38
|
}
|
|
45
|
-
function
|
|
39
|
+
function Ce(e) {
|
|
46
40
|
return e !== e;
|
|
47
41
|
}
|
|
48
|
-
function
|
|
42
|
+
function Le(e, t, n) {
|
|
49
43
|
for (var l = n - 1, a = e.length; ++l < a; )
|
|
50
44
|
if (e[l] === t)
|
|
51
45
|
return l;
|
|
52
46
|
return -1;
|
|
53
47
|
}
|
|
54
|
-
function
|
|
55
|
-
return t === t ?
|
|
56
|
-
}
|
|
57
|
-
function Me(e, t, n) {
|
|
58
|
-
t == "__proto__" && R ? R(e, t, {
|
|
59
|
-
configurable: !0,
|
|
60
|
-
enumerable: !0,
|
|
61
|
-
value: n,
|
|
62
|
-
writable: !0
|
|
63
|
-
}) : e[t] = n;
|
|
48
|
+
function Be(e, t, n) {
|
|
49
|
+
return t === t ? Le(e, t, n) : _e(e, Ce, n);
|
|
64
50
|
}
|
|
65
|
-
function
|
|
51
|
+
function Ee(e, t, n, l) {
|
|
66
52
|
for (var a = -1, u = e == null ? 0 : e.length; ++a < u; ) {
|
|
67
53
|
var i = e[a];
|
|
68
54
|
t(l, i, n(i), e);
|
|
69
55
|
}
|
|
70
56
|
return l;
|
|
71
57
|
}
|
|
72
|
-
function
|
|
73
|
-
return
|
|
58
|
+
function Me(e, t, n, l) {
|
|
59
|
+
return ge(e, function(a, u, i) {
|
|
74
60
|
t(l, a, n(a), i);
|
|
75
61
|
}), l;
|
|
76
62
|
}
|
|
77
63
|
function G(e, t) {
|
|
78
64
|
return function(n, l) {
|
|
79
|
-
var a =
|
|
65
|
+
var a = ke(n) ? Ee : Me, u = t ? t() : {};
|
|
80
66
|
return a(n, e, Ve(l), u);
|
|
81
67
|
};
|
|
82
68
|
}
|
|
83
|
-
function
|
|
69
|
+
function J(e, t, n) {
|
|
84
70
|
var l = e == null ? 0 : e.length;
|
|
85
71
|
if (!l)
|
|
86
72
|
return -1;
|
|
87
73
|
var a = 0;
|
|
88
|
-
return
|
|
74
|
+
return Be(e, t, a);
|
|
89
75
|
}
|
|
90
|
-
var
|
|
91
|
-
|
|
92
|
-
}),
|
|
76
|
+
var Ue = G(function(e, t, n) {
|
|
77
|
+
he(e, n, t);
|
|
78
|
+
}), $e = G(function(e, t, n) {
|
|
93
79
|
e[n ? 0 : 1].push(t);
|
|
94
80
|
}, function() {
|
|
95
81
|
return [[], []];
|
|
96
82
|
});
|
|
97
|
-
const
|
|
83
|
+
const Ie = {
|
|
98
84
|
xmlns: "http://www.w3.org/2000/svg",
|
|
99
85
|
fill: "none",
|
|
100
86
|
stroke: "#000",
|
|
101
87
|
"stroke-linejoin": "round",
|
|
102
88
|
viewBox: "0 0 32 32"
|
|
103
89
|
};
|
|
104
|
-
function
|
|
105
|
-
return V(),
|
|
90
|
+
function Fe(e, t) {
|
|
91
|
+
return V(), x("svg", Ie, [...t[0] || (t[0] = [
|
|
106
92
|
g("path", { d: "m27 17.1-11 11-11-11m11 11V3.9" }, null, -1)
|
|
107
93
|
])]);
|
|
108
94
|
}
|
|
109
|
-
const
|
|
95
|
+
const Ne = { render: Fe }, Te = {
|
|
110
96
|
xmlns: "http://www.w3.org/2000/svg",
|
|
111
97
|
fill: "none",
|
|
112
98
|
stroke: "#000",
|
|
113
99
|
viewBox: "0 0 32 32"
|
|
114
100
|
};
|
|
115
|
-
function
|
|
116
|
-
return V(),
|
|
101
|
+
function De(e, t) {
|
|
102
|
+
return V(), x("svg", Te, [...t[0] || (t[0] = [
|
|
117
103
|
g("path", { d: "M23.4 13.4 16 20.8l-7.4-7.4m7.4 7.4V4.5m12.5 23h-25" }, null, -1)
|
|
118
104
|
])]);
|
|
119
105
|
}
|
|
120
|
-
const
|
|
106
|
+
const R = { render: De }, Ke = {
|
|
121
107
|
xmlns: "http://www.w3.org/2000/svg",
|
|
122
108
|
fill: "none",
|
|
123
109
|
stroke: "#000",
|
|
124
110
|
"stroke-linejoin": "round",
|
|
125
111
|
viewBox: "0 0 32 32"
|
|
126
112
|
};
|
|
127
|
-
function
|
|
128
|
-
return V(),
|
|
113
|
+
function ze(e, t) {
|
|
114
|
+
return V(), x("svg", Ke, [...t[0] || (t[0] = [
|
|
129
115
|
g("path", { d: "m5 14.9 11-11 11 11m-11-11v24.2" }, null, -1)
|
|
130
116
|
])]);
|
|
131
117
|
}
|
|
132
|
-
const
|
|
118
|
+
const Pe = { render: ze }, Oe = { class: "buttons" }, Re = /* @__PURE__ */ H({
|
|
133
119
|
__name: "SortList",
|
|
134
120
|
props: {
|
|
135
121
|
modelValue: {},
|
|
@@ -140,46 +126,46 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
|
|
|
140
126
|
},
|
|
141
127
|
emits: ["update:modelValue"],
|
|
142
128
|
setup(e, { emit: t }) {
|
|
143
|
-
const n = e, l = t, a = b(() =>
|
|
129
|
+
const n = e, l = t, a = b(() => Ue(n.possibleValues, "id")), u = b(
|
|
144
130
|
() => n.modelValue.map(
|
|
145
|
-
(o) => a.value[o] ??
|
|
131
|
+
(o) => a.value[o] ?? xe(o)
|
|
146
132
|
)
|
|
147
|
-
), i =
|
|
148
|
-
|
|
133
|
+
), i = N([]);
|
|
134
|
+
Z(
|
|
149
135
|
() => n.modelValue,
|
|
150
136
|
(o) => {
|
|
151
137
|
const r = new Set(o);
|
|
152
138
|
i.value = i.value.filter((s) => r.has(s));
|
|
153
139
|
}
|
|
154
140
|
);
|
|
155
|
-
const p = b(() => i.value.length === 0),
|
|
141
|
+
const p = b(() => i.value.length === 0), y = (o, r, s) => [
|
|
156
142
|
o.slice(0, r),
|
|
157
143
|
o.slice(r, s),
|
|
158
144
|
o.slice(s)
|
|
159
145
|
], C = (o) => {
|
|
160
146
|
let r = 0;
|
|
161
147
|
return (s) => o(s, r++);
|
|
162
|
-
}, $ = (o, r) =>
|
|
148
|
+
}, $ = (o, r) => $e(
|
|
163
149
|
o,
|
|
164
150
|
C((s, w) => r(w))
|
|
165
|
-
),
|
|
166
|
-
const s = i.value.map((
|
|
151
|
+
), k = N(null), L = (o) => ({ to: r } = {}) => {
|
|
152
|
+
const s = i.value.map((_) => J(n.modelValue, _)).sort((_, ae) => _ - ae), w = (o === "up" ? r : null) ?? Math.max(s[0] - 1, 0), I = (o === "down" ? r : null) ?? s[s.length - 1] + 1, [Q, X, ee] = y(
|
|
167
153
|
n.modelValue,
|
|
168
154
|
w,
|
|
169
155
|
I + 1
|
|
170
|
-
),
|
|
171
|
-
|
|
172
|
-
(
|
|
173
|
-
), [
|
|
174
|
-
l("update:modelValue",
|
|
175
|
-
o === "up" ? (
|
|
156
|
+
), te = new Set(s), [D, K] = $(
|
|
157
|
+
X,
|
|
158
|
+
(_) => te.has(_ + w)
|
|
159
|
+
), [ne, oe] = o === "up" ? [D, K] : [K, D], le = Q.concat(ne, oe, ee);
|
|
160
|
+
l("update:modelValue", le), re(() => {
|
|
161
|
+
o === "up" ? (k.value?.scrollUpIntoView(w - 1), k.value?.setCurrentKeyNavIndex(w)) : (k.value?.scrollDownIntoView(I + 1), k.value?.setCurrentKeyNavIndex(I));
|
|
176
162
|
});
|
|
177
|
-
},
|
|
178
|
-
return (o, r) => (V(),
|
|
179
|
-
c(
|
|
163
|
+
}, S = L("up"), A = L("down"), m = () => S({ to: 0 }), v = () => A({ to: n.modelValue.length }), f = (o, r) => `${o} (${Ae.formatHotkeys(r)})`;
|
|
164
|
+
return (o, r) => (V(), x(U, null, [
|
|
165
|
+
c(be, {
|
|
180
166
|
id: e.id,
|
|
181
167
|
ref_key: "listBox",
|
|
182
|
-
ref:
|
|
168
|
+
ref: k,
|
|
183
169
|
modelValue: i.value,
|
|
184
170
|
"onUpdate:modelValue": r[0] || (r[0] = (s) => i.value = s),
|
|
185
171
|
"possible-values": u.value,
|
|
@@ -188,18 +174,18 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
|
|
|
188
174
|
"empty-state-label": "Empty",
|
|
189
175
|
size: 10,
|
|
190
176
|
onKeydown: [
|
|
191
|
-
B(E(d(
|
|
192
|
-
B(E(d(
|
|
177
|
+
B(E(d(A), ["alt"]), ["down"]),
|
|
178
|
+
B(E(d(S), ["alt"]), ["up"]),
|
|
193
179
|
B(E(m, ["alt"]), ["home"]),
|
|
194
180
|
B(E(v, ["alt"]), ["end"])
|
|
195
181
|
]
|
|
196
182
|
}, {
|
|
197
183
|
option: h((s) => [
|
|
198
|
-
|
|
184
|
+
T(o.$slots, "option", se(ie(s)), void 0, !0)
|
|
199
185
|
]),
|
|
200
186
|
_: 3
|
|
201
187
|
}, 8, ["id", "modelValue", "possible-values", "ariaLabel", "onKeydown"]),
|
|
202
|
-
g("div",
|
|
188
|
+
g("div", Oe, [
|
|
203
189
|
c(M, {
|
|
204
190
|
disabled: p.value,
|
|
205
191
|
title: f("Move to top", ["Alt", "Home"]),
|
|
@@ -207,7 +193,7 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
|
|
|
207
193
|
onClick: m
|
|
208
194
|
}, {
|
|
209
195
|
default: h(() => [
|
|
210
|
-
c(d(
|
|
196
|
+
c(d(R), { class: "rotated" })
|
|
211
197
|
]),
|
|
212
198
|
_: 1
|
|
213
199
|
}, 8, ["disabled", "title"]),
|
|
@@ -218,7 +204,7 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
|
|
|
218
204
|
onClick: v
|
|
219
205
|
}, {
|
|
220
206
|
default: h(() => [
|
|
221
|
-
c(d(
|
|
207
|
+
c(d(R))
|
|
222
208
|
]),
|
|
223
209
|
_: 1
|
|
224
210
|
}, 8, ["disabled", "title"]),
|
|
@@ -226,10 +212,10 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
|
|
|
226
212
|
disabled: p.value,
|
|
227
213
|
title: f("Move up", ["Alt", "ArrowUp"]),
|
|
228
214
|
compact: "",
|
|
229
|
-
onClick: d(
|
|
215
|
+
onClick: d(S)
|
|
230
216
|
}, {
|
|
231
217
|
default: h(() => [
|
|
232
|
-
c(d(
|
|
218
|
+
c(d(Pe))
|
|
233
219
|
]),
|
|
234
220
|
_: 1
|
|
235
221
|
}, 8, ["disabled", "title", "onClick"]),
|
|
@@ -237,19 +223,19 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
|
|
|
237
223
|
disabled: p.value,
|
|
238
224
|
title: f("Move down", ["Alt", "ArrowDown"]),
|
|
239
225
|
compact: "",
|
|
240
|
-
onClick: d(
|
|
226
|
+
onClick: d(A)
|
|
241
227
|
}, {
|
|
242
228
|
default: h(() => [
|
|
243
|
-
c(d(
|
|
229
|
+
c(d(Ne))
|
|
244
230
|
]),
|
|
245
231
|
_: 1
|
|
246
232
|
}, 8, ["disabled", "title", "onClick"])
|
|
247
233
|
])
|
|
248
234
|
], 64));
|
|
249
235
|
}
|
|
250
|
-
}),
|
|
251
|
-
class: /* @__PURE__ */
|
|
252
|
-
},
|
|
236
|
+
}), He = /* @__PURE__ */ W(Re, [["__scopeId", "data-v-a05c0d25"]]), Ze = {
|
|
237
|
+
class: /* @__PURE__ */ j(["flex", "space-between"])
|
|
238
|
+
}, je = { class: "flex" }, We = "<any unknown new column>", Ye = /* @__PURE__ */ H({
|
|
253
239
|
__name: "SortListControl",
|
|
254
240
|
props: {
|
|
255
241
|
control: {},
|
|
@@ -265,16 +251,16 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
|
|
|
265
251
|
const t = e, n = b(() => t.control.data), l = b(
|
|
266
252
|
() => t.control.uischema
|
|
267
253
|
), a = b(
|
|
268
|
-
() => l.value.options?.unknownElementId ??
|
|
254
|
+
() => l.value.options?.unknownElementId ?? We
|
|
269
255
|
), u = b(
|
|
270
256
|
() => l.value.options?.unknownElementLabel ?? "Any unknown column"
|
|
271
257
|
), i = b(
|
|
272
258
|
() => l.value.options?.resetSortButtonLabel ?? "Reset all"
|
|
273
|
-
), p =
|
|
259
|
+
), p = pe(
|
|
274
260
|
l,
|
|
275
261
|
"possibleValues",
|
|
276
262
|
[]
|
|
277
|
-
),
|
|
263
|
+
), y = b(
|
|
278
264
|
() => p.value.concat({
|
|
279
265
|
id: a.value,
|
|
280
266
|
text: u.value,
|
|
@@ -282,10 +268,10 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
|
|
|
282
268
|
})
|
|
283
269
|
), C = (m) => {
|
|
284
270
|
if (n.value.length === 0) {
|
|
285
|
-
|
|
271
|
+
S();
|
|
286
272
|
return;
|
|
287
273
|
}
|
|
288
|
-
const v =
|
|
274
|
+
const v = J(n.value, a.value);
|
|
289
275
|
if (v === -1)
|
|
290
276
|
throw new Error(
|
|
291
277
|
`SortList data have to contain the value "${a.value}"`
|
|
@@ -293,28 +279,28 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
|
|
|
293
279
|
const f = n.value.slice(0, v + 1), o = n.value.slice(v + 1), r = new Set(n.value), s = m.map(({ id: w }) => w).filter((w) => !r.has(w));
|
|
294
280
|
s.length > 0 && t.changeValue(f.concat(s, o));
|
|
295
281
|
};
|
|
296
|
-
|
|
282
|
+
ue(() => {
|
|
297
283
|
C(p.value);
|
|
298
284
|
});
|
|
299
285
|
const $ = b(
|
|
300
286
|
() => !!p.value?.[0]?.hasOwnProperty("type")
|
|
301
287
|
);
|
|
302
|
-
|
|
303
|
-
const
|
|
288
|
+
Z(() => p.value, C);
|
|
289
|
+
const k = () => {
|
|
304
290
|
t.changeValue(n.value.toSorted((m, v) => m.localeCompare(v)));
|
|
305
291
|
}, L = () => {
|
|
306
292
|
t.changeValue(n.value.toSorted((m, v) => v.localeCompare(m)));
|
|
307
|
-
},
|
|
308
|
-
t.changeValue(
|
|
309
|
-
},
|
|
310
|
-
return (m, v) => (V(),
|
|
311
|
-
g("div",
|
|
312
|
-
g("div",
|
|
293
|
+
}, S = () => {
|
|
294
|
+
t.changeValue(y.value.map(({ id: m }) => m));
|
|
295
|
+
}, A = N(null);
|
|
296
|
+
return (m, v) => (V(), x(U, null, [
|
|
297
|
+
g("div", Ze, [
|
|
298
|
+
g("div", je, [
|
|
313
299
|
c(d(F), {
|
|
314
300
|
variant: "outlined",
|
|
315
301
|
size: "small",
|
|
316
302
|
label: "A - Z",
|
|
317
|
-
onClick:
|
|
303
|
+
onClick: k
|
|
318
304
|
}),
|
|
319
305
|
c(d(F), {
|
|
320
306
|
variant: "outlined",
|
|
@@ -327,33 +313,33 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
|
|
|
327
313
|
variant: "outlined",
|
|
328
314
|
size: "small",
|
|
329
315
|
label: i.value,
|
|
330
|
-
onClick:
|
|
316
|
+
onClick: S
|
|
331
317
|
}, null, 8, ["label"])
|
|
332
318
|
]),
|
|
333
|
-
c(
|
|
319
|
+
c(ve, {
|
|
334
320
|
label: e.control.label,
|
|
335
321
|
onControllingFlowVariableSet: e.changeValue
|
|
336
322
|
}, {
|
|
337
323
|
default: h(({ labelForId: f }) => [
|
|
338
|
-
c(
|
|
324
|
+
c(fe, {
|
|
339
325
|
errors: e.messages.errors
|
|
340
326
|
}, {
|
|
341
327
|
default: h(() => [
|
|
342
|
-
c(d(
|
|
328
|
+
c(d(He), {
|
|
343
329
|
id: f ?? void 0,
|
|
344
330
|
ref_key: "controlElement",
|
|
345
|
-
ref:
|
|
346
|
-
"possible-values":
|
|
331
|
+
ref: A,
|
|
332
|
+
"possible-values": y.value,
|
|
347
333
|
"model-value": n.value,
|
|
348
334
|
ariaLabel: e.control.label,
|
|
349
335
|
disabled: e.disabled,
|
|
350
336
|
"onUpdate:modelValue": e.changeValue
|
|
351
|
-
},
|
|
337
|
+
}, ce({ _: 2 }, [
|
|
352
338
|
$.value ? {
|
|
353
339
|
name: "option",
|
|
354
340
|
fn: h(({ slotItem: o }) => [
|
|
355
341
|
g("div", {
|
|
356
|
-
class:
|
|
342
|
+
class: j([
|
|
357
343
|
"data-type-entry",
|
|
358
344
|
{
|
|
359
345
|
invalid: o.invalid,
|
|
@@ -362,17 +348,17 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
|
|
|
362
348
|
}
|
|
363
349
|
])
|
|
364
350
|
}, [
|
|
365
|
-
o.invalid ? (V(),
|
|
366
|
-
c(d(
|
|
367
|
-
g("span", null,
|
|
368
|
-
], 64)) : (V(),
|
|
369
|
-
o.type?.id ? (V(),
|
|
351
|
+
o.invalid ? (V(), x(U, { key: 0 }, [
|
|
352
|
+
c(d(P), { size: "small" }),
|
|
353
|
+
g("span", null, z(o.text), 1)
|
|
354
|
+
], 64)) : (V(), x(U, { key: 1 }, [
|
|
355
|
+
o.type?.id ? (V(), de(d(P), {
|
|
370
356
|
key: 0,
|
|
371
357
|
"icon-name": o.type.id,
|
|
372
358
|
"icon-title": o.type.text,
|
|
373
359
|
size: "small"
|
|
374
|
-
}, null, 8, ["icon-name", "icon-title"])) :
|
|
375
|
-
g("span", null,
|
|
360
|
+
}, null, 8, ["icon-name", "icon-title"])) : me("", !0),
|
|
361
|
+
g("span", null, z(o.text), 1)
|
|
376
362
|
], 64))
|
|
377
363
|
], 2)
|
|
378
364
|
]),
|
|
@@ -384,20 +370,20 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
|
|
|
384
370
|
}, 1032, ["errors"])
|
|
385
371
|
]),
|
|
386
372
|
icon: h(() => [
|
|
387
|
-
|
|
373
|
+
T(m.$slots, "icon", {}, void 0, !0)
|
|
388
374
|
]),
|
|
389
375
|
buttons: h(({ hover: f }) => [
|
|
390
|
-
|
|
376
|
+
T(m.$slots, "buttons", {
|
|
391
377
|
hover: f,
|
|
392
|
-
controlHTMLElement:
|
|
378
|
+
controlHTMLElement: A.value
|
|
393
379
|
}, void 0, !0)
|
|
394
380
|
]),
|
|
395
381
|
_: 3
|
|
396
382
|
}, 8, ["label", "onControllingFlowVariableSet"])
|
|
397
383
|
], 64));
|
|
398
384
|
}
|
|
399
|
-
}),
|
|
385
|
+
}), lt = /* @__PURE__ */ W(Ye, [["__scopeId", "data-v-5d998b47"]]);
|
|
400
386
|
export {
|
|
401
|
-
|
|
402
|
-
|
|
387
|
+
We as DEFAULT_ANY_UNKNOWN_VALUES_ID,
|
|
388
|
+
lt as default
|
|
403
389
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as s, createElementBlock as n, mergeProps as d, withModifiers as o, renderSlot as a, createTextVNode as m, toDisplayString as f } from "vue";
|
|
2
|
-
import { _ as u } from "./
|
|
2
|
+
import { _ as u } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
|
|
3
3
|
const r = {
|
|
4
4
|
name: "StyledListItem",
|
|
5
5
|
props: {
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { defineComponent as T, ref as r, computed as l, openBlock as I, createElementBlock as y, createElementVNode as m, createVNode as v, unref as b } from "vue";
|
|
2
|
+
import { a1 as V, _ as C } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
|
|
3
|
+
const B = { class: "team-and-space" }, F = { class: "team" }, N = { class: "space" }, x = /* @__PURE__ */ T({
|
|
4
|
+
__name: "TeamAndSpacesControl",
|
|
5
|
+
props: {
|
|
6
|
+
control: {},
|
|
7
|
+
handleChange: { type: Function },
|
|
8
|
+
changeValue: { type: Function },
|
|
9
|
+
disabled: { type: Boolean },
|
|
10
|
+
isValid: { type: Boolean },
|
|
11
|
+
onRegisterValidation: { type: Function },
|
|
12
|
+
labelForId: {}
|
|
13
|
+
},
|
|
14
|
+
setup(d) {
|
|
15
|
+
const o = d, n = r(""), a = r(""), f = l(
|
|
16
|
+
() => o.control.uischema
|
|
17
|
+
), u = l(() => f.value.options), i = l(() => u.value?.possibleTeams ?? []), p = l(() => u.value?.possibleSpaces ?? []), c = l(
|
|
18
|
+
() => p.value.find(({ id: s }) => s === n.value)?.spaces ?? []
|
|
19
|
+
), h = l(() => !o.control.enabled || i.value.length === 0), _ = l(() => !o.control.enabled || c.value.length === 0), g = () => {
|
|
20
|
+
if (o.control.data) {
|
|
21
|
+
a.value = o.control.data;
|
|
22
|
+
const s = p.value.find(
|
|
23
|
+
({ spaces: e }) => e.some(({ id: t }) => t === a.value)
|
|
24
|
+
);
|
|
25
|
+
s && (n.value = s.id);
|
|
26
|
+
}
|
|
27
|
+
}, S = () => {
|
|
28
|
+
a.value = c.value[0]?.id ?? "", o.changeValue(a.value);
|
|
29
|
+
};
|
|
30
|
+
return g(), (s, e) => (I(), y("div", B, [
|
|
31
|
+
m("div", F, [
|
|
32
|
+
v(b(V), {
|
|
33
|
+
modelValue: n.value,
|
|
34
|
+
"onUpdate:modelValue": [
|
|
35
|
+
e[0] || (e[0] = (t) => n.value = t),
|
|
36
|
+
S
|
|
37
|
+
],
|
|
38
|
+
label: "Team",
|
|
39
|
+
"aria-label": "account-id",
|
|
40
|
+
disabled: h.value,
|
|
41
|
+
"possible-values": i.value,
|
|
42
|
+
placeholder: "No team selected"
|
|
43
|
+
}, null, 8, ["modelValue", "disabled", "possible-values"])
|
|
44
|
+
]),
|
|
45
|
+
m("div", N, [
|
|
46
|
+
v(b(V), {
|
|
47
|
+
modelValue: a.value,
|
|
48
|
+
"onUpdate:modelValue": [
|
|
49
|
+
e[1] || (e[1] = (t) => a.value = t),
|
|
50
|
+
e[2] || (e[2] = () => d.changeValue(a.value))
|
|
51
|
+
],
|
|
52
|
+
label: "Space",
|
|
53
|
+
"aria-label": "space-id",
|
|
54
|
+
disabled: _.value,
|
|
55
|
+
"possible-values": c.value,
|
|
56
|
+
placeholder: "No space selected"
|
|
57
|
+
}, null, 8, ["modelValue", "disabled", "possible-values"])
|
|
58
|
+
])
|
|
59
|
+
]));
|
|
60
|
+
}
|
|
61
|
+
}), D = /* @__PURE__ */ C(x, [["__scopeId", "data-v-c51d9a0e"]]);
|
|
62
|
+
export {
|
|
63
|
+
D as default
|
|
64
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { defineComponent as l, computed as t, openBlock as d, createBlock as u, normalizeProps as p, guardReactiveProps as m, withCtx as _, createElementVNode as e, toDisplayString as n } from "vue";
|
|
2
|
+
import { R as h } from "./ResourceControlBase-BCx6cBBz.js";
|
|
3
|
+
import { _ as f } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
|
|
4
|
+
const v = { class: "info-container" }, x = { class: "chart-title" }, g = { class: "chart-description" }, y = /* @__PURE__ */ l({
|
|
5
|
+
__name: "TeamResourceControl",
|
|
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(a) {
|
|
16
|
+
const o = a, c = t(
|
|
17
|
+
() => o.control.uischema.options?.donutTitle || ""
|
|
18
|
+
), s = t(
|
|
19
|
+
() => o.control.uischema.options?.donutText || ""
|
|
20
|
+
), r = t(
|
|
21
|
+
() => o.control.uischema.options?.currentUsage ?? 0
|
|
22
|
+
), i = t(
|
|
23
|
+
() => o.control.data === -1 ? "unlimited" : o.control.data
|
|
24
|
+
);
|
|
25
|
+
return (C, R) => (d(), u(h, p(m(o)), {
|
|
26
|
+
"donut-info": _(() => [
|
|
27
|
+
e("div", v, [
|
|
28
|
+
e("div", x, n(c.value), 1),
|
|
29
|
+
e("div", g, n(`${r.value} of ${i.value} ${s.value}`), 1)
|
|
30
|
+
])
|
|
31
|
+
]),
|
|
32
|
+
_: 1
|
|
33
|
+
}, 16));
|
|
34
|
+
}
|
|
35
|
+
}), V = /* @__PURE__ */ f(y, [["__scopeId", "data-v-2658cbca"]]);
|
|
36
|
+
export {
|
|
37
|
+
V as default
|
|
38
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as a, createBlock as l, unref as n } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { ar as t } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
|
|
3
3
|
const u = /* @__PURE__ */ o({
|
|
4
4
|
__name: "TextAreaControl",
|
|
5
5
|
props: {
|