@knime/jsonforms 1.19.6 → 1.20.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 +28 -0
- package/dist/{AnyOfTwinlist-DXjbNRLq.js → AnyOfTwinlist-CosNPUKG.js} +1 -1
- package/dist/{Checkbox-CZIoPAZU.js → Checkbox-BLHyWo4X.js} +1 -1
- package/dist/{CheckboxControl-D6LP2SAg.js → CheckboxControl-DyBcYCFe.js} +1 -1
- package/dist/{CheckboxesControl-D9DA7-T0.js → CheckboxesControl-DqcN6RcZ.js} +2 -2
- package/dist/{ColorControl-rCN_X6Wk.js → ColorControl-CPklP_Ox.js} +1 -1
- package/dist/{ColorPreviewControl-Dv7_mc6t.js → ColorPreviewControl-BhbI9XDV.js} +1 -1
- package/dist/{ComboBoxControl-DUaaxMZ_.js → ComboBoxControl-DR9x8i0b.js} +8 -8
- package/dist/{DateControl-5AuxnnvM.js → DateControl-DJxV5wzs.js} +1 -1
- package/dist/DateTimeControl-CoNsGbev.js +44 -0
- package/dist/{DateTimeFormatPickerControl-CbLnDDbr.js → DateTimeFormatPickerControl-BmtxQjzI.js} +1 -1
- package/dist/{DateTimeFormatPickerWithTypeControl-BBpPB5TM.js → DateTimeFormatPickerWithTypeControl-CK7LsO-R.js} +12 -12
- package/dist/{DropdownControl-2UdsfufQ.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-ao9JZxiP.js → HorizontalLayout-Bc4F2xJR.js} +6 -6
- package/dist/InputField-Gw6K93vY.js +148 -0
- package/dist/{IntegerControl-wq8pma-E.js → IntegerControl-CAh031mO.js} +1 -1
- package/dist/{IntervalControl-DuI-4Y1d.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-BhelL9SM.js → LoadingIcon-B0S8ig5H.js} +1 -1
- package/dist/{ManualTwinlistControl-rP4L1RP6.js → ManualTwinlistControl-BdbrjZtS.js} +4 -4
- package/dist/{MultiSelectListBoxControl-iUqimLmu.js → MultiSelectListBoxControl-0M1iLfXZ.js} +2 -2
- package/dist/{MultimodeTwinlistControl-DTuLtZRx.js → MultimodeTwinlistControl-aL0Jr_Hp.js} +19 -20
- package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-DhQuoNrM.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-C61plPNM.js} +2 -2
- package/dist/{MultiselectListBox-DijeK4wH.js → MultiselectListBox-BJqQv0AT.js} +5 -5
- package/dist/{NameFilter-C1_u0chZ.js → NameFilter-DvoXjvd8.js} +1 -1
- package/dist/{NumberControl-BYvfrBJs.js → NumberControl-BEYR3aHU.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-DBbHZCg_.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CSwuzJVa.js} +2 -2
- package/dist/{OneOfDropdown-BcqrG6U3.js → OneOfDropdown-Bg1JOuCZ.js} +1 -1
- package/dist/RadioButtonsWithDescriptionControl-Cmzn6X0W.js +57 -0
- package/dist/{RadioControl-BNB_hYVd.js → RadioControl-D4invwra.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-C7JiVgxq.js → RadioControlBase.vue_vue_type_script_setup_true_lang-CuOORFSE.js} +2 -2
- package/dist/ResourceControlBase-BCx6cBBz.js +158 -0
- package/dist/{RichTextControl-BIjtuTf7.js → RichTextControl-TbANBneT.js} +2059 -1991
- package/dist/{SectionHeading-CUxdd2GX.js → SectionHeading-DoNDREK2.js} +1 -1
- package/dist/{SectionLayout-NqTBT8Al.js → SectionLayout-Dsd4wFck.js} +3 -3
- package/dist/SettingsSubPanel-sQPONy-U.js +5 -0
- package/dist/{SettingsSubPanelLayout-Biu_QPw1.js → SettingsSubPanelLayout-DbYqmGOS.js} +7 -7
- package/dist/{SimpleButtonControl-B0cnKTy4.js → SimpleButtonControl-DhM4t6v3.js} +6 -6
- package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js +26176 -0
- package/dist/{SimpleTwinlistControl-BIIN8GzH.js → SimpleTwinlistControl-Chay0D48.js} +2 -2
- package/dist/{SingleSelectControl-GbRcLm19.js → SingleSelectControl-BRfqeLOh.js} +2 -2
- package/dist/{SingleSelectListBoxControl-DkRfB8oZ.js → SingleSelectListBoxControl-DyDspddM.js} +5 -5
- package/dist/{SortListControl-BTS1lJOo.js → SortListControl-DX0uhRfk.js} +104 -118
- package/dist/{StyledListItem-DBa0VNHX.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-DrABn8Uh.js → TextAreaControl-BCIrrOzR.js} +1 -1
- package/dist/{TextControl-CHyUjofE.js → TextControl-B_2oeFoq.js} +1 -1
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-CuCBV4pA.js +45 -0
- package/dist/{TimeControl-B4oVEJCX.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-CiK7yseq.js → TwinlistControlBase--CFSodU_.js} +3 -3
- package/dist/{TwinlistLoadingInfo-x51VCOej.js → TwinlistLoadingInfo-aB5QCSFX.js} +18 -18
- package/dist/{TypedStringFilter-DC6B-Fds.js → TypedStringFilter-BjyKvhn1.js} +1 -1
- package/dist/{ValueSwitch-ChY5YK2o.js → ValueSwitch-DYxCMQ9c.js} +4 -4
- package/dist/{ValueSwitchControl-CJdAUIwq.js → ValueSwitchControl-CQkiPcwC.js} +1 -1
- package/dist/{VerticalLayout-DWbD5oCa.js → VerticalLayout-DygOb7L9.js} +2 -2
- package/dist/{VerticalLayoutBase-COwlULuo.js → VerticalLayoutBase-Dq_p4WmZ.js} +1 -1
- package/dist/{ZonedDateTimeControl-CLiwgCKR.js → ZonedDateTimeControl-CKyKzTtF.js} +2 -2
- package/dist/_Uint8Array-Boy5On8p.js +349 -0
- package/dist/_baseAssignValue-CG1hoqdJ.js +19 -0
- package/dist/{_baseEach-84mBqaP3.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-LXk5i7aP.js → localTimeUtils-C7kma5fB.js} +3163 -3553
- package/dist/src/JsonFormsDialog.vue.d.ts +2 -2
- 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-BUVcN7lQ.js → useBuiltinValidations-zKGc6Pdt.js} +1 -1
- package/dist/useDropdownNavigation-EOwf_fL0.js +946 -0
- package/dist/{usePossibleValues-D16WFE9l.js → usePossibleValues-DhdKca4Z.js} +1 -1
- package/package.json +5 -5
- package/dist/DateTimeControl-DZjFx11V.js +0 -44
- package/dist/Label-Vxe-id5C.js +0 -218
- package/dist/LoadingDropdown.vue_vue_type_script_setup_true_lang-DGUZn4wH.js +0 -52
- package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CYe4TfJy.js +0 -25430
- package/dist/SettingsSubPanel-CO7Sguho.js +0 -5
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-yTQu10VH.js +0 -45
- package/dist/_baseIteratee-CBFfQfHB.js +0 -640
- package/dist/floating-ui.vue-Fx4CxKut.js +0 -1057
- package/dist/toString-gvdOTqCo.js +0 -25
- package/dist/useDropdownNavigation-2Yhk7zes.js +0 -821
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { defineComponent as s, useCssVars as r, unref as n, openBlock as p, createElementBlock as d, createVNode as m } from "vue";
|
|
2
|
+
import { aa as u, _ } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
|
|
3
|
+
const g = { class: "link-wrapper" }, f = /* @__PURE__ */ s({
|
|
4
|
+
__name: "LinkControl",
|
|
5
|
+
props: {
|
|
6
|
+
control: {},
|
|
7
|
+
handleChange: { type: Function },
|
|
8
|
+
changeValue: { type: Function },
|
|
9
|
+
disabled: { type: Boolean },
|
|
10
|
+
labelForId: {},
|
|
11
|
+
isValid: { type: Boolean },
|
|
12
|
+
messages: {},
|
|
13
|
+
onRegisterValidation: { type: Function }
|
|
14
|
+
},
|
|
15
|
+
setup(o) {
|
|
16
|
+
r((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, h) => (p(), d("div", g, [
|
|
21
|
+
m(n(u), {
|
|
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
|
+
}), x = /* @__PURE__ */ _(f, [["__scopeId", "data-v-d1973605"]]);
|
|
33
|
+
export {
|
|
34
|
+
x as default
|
|
35
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
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-DAdzHTim.js";
|
|
3
|
+
const T = /* @__PURE__ */ v({
|
|
4
|
+
__name: "LoadingDropdown",
|
|
5
|
+
props: {
|
|
6
|
+
possibleValues: {},
|
|
7
|
+
modelValue: {},
|
|
8
|
+
id: {},
|
|
9
|
+
ariaLabel: {},
|
|
10
|
+
disabled: { type: Boolean },
|
|
11
|
+
error: { type: Boolean }
|
|
12
|
+
},
|
|
13
|
+
emits: ["update:modelValue"],
|
|
14
|
+
setup(r, { emit: u }) {
|
|
15
|
+
const e = r, n = u, d = s(() => e.possibleValues === null ? "" : e.modelValue), i = s(() => e.possibleValues === null), p = s(
|
|
16
|
+
() => e.possibleValues?.some((a) => a.type !== void 0)
|
|
17
|
+
), o = s(() => {
|
|
18
|
+
if (e.possibleValues === null)
|
|
19
|
+
return [];
|
|
20
|
+
const a = [];
|
|
21
|
+
for (const l of e.possibleValues) {
|
|
22
|
+
if (!l.text)
|
|
23
|
+
continue;
|
|
24
|
+
let t;
|
|
25
|
+
p.value ? t = {
|
|
26
|
+
type: "dataType",
|
|
27
|
+
name: l.type?.id ?? "missing_type"
|
|
28
|
+
} : "accessory" in l && (t = l.accessory), a.push({
|
|
29
|
+
id: l.id,
|
|
30
|
+
text: l.text,
|
|
31
|
+
disabled: l.disabled,
|
|
32
|
+
...l.subText ? { subText: l.subText } : {},
|
|
33
|
+
accessory: t
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
return a;
|
|
37
|
+
}), c = s(() => i.value ? "Loading" : o.value.length > 0 ? "No value selected" : "No values present"), b = s(
|
|
38
|
+
() => e.disabled || o.value.length === 0
|
|
39
|
+
), m = (a) => {
|
|
40
|
+
n("update:modelValue", a ?? "");
|
|
41
|
+
};
|
|
42
|
+
return (a, l) => (V(), f(y(_), g(a.$attrs, {
|
|
43
|
+
id: e.id,
|
|
44
|
+
"aria-label": e.ariaLabel,
|
|
45
|
+
"model-value": d.value,
|
|
46
|
+
disabled: b.value,
|
|
47
|
+
"possible-values": o.value,
|
|
48
|
+
loading: i.value,
|
|
49
|
+
placeholder: c.value,
|
|
50
|
+
error: e.error,
|
|
51
|
+
"onUpdate:modelValue": m
|
|
52
|
+
}), null, 16, ["id", "aria-label", "model-value", "disabled", "possible-values", "loading", "placeholder", "error"]));
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
export {
|
|
56
|
+
T as _
|
|
57
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as r, createElementBlock as c, createElementVNode as s, h as i, defineComponent as l, createBlock as d, unref as a } from "vue";
|
|
2
|
-
import { _ } from "./
|
|
2
|
+
import { _ } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
|
|
3
3
|
const m = {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
5
|
fill: "none",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as C, toRef as c, computed as a, markRaw as I, openBlock as k, createBlock as F, unref as r, mergeProps as x } from "vue";
|
|
2
2
|
import { m as T } from "./index-Blg1O3Fz.js";
|
|
3
|
-
import { u as L, a as U } from "./usePossibleValues-
|
|
4
|
-
import { T as z, a as M } from "./TwinlistLoadingInfo-
|
|
5
|
-
import { u as B } from "./MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-
|
|
6
|
-
import { _ as D } from "./
|
|
3
|
+
import { u as L, a as U } from "./usePossibleValues-DhdKca4Z.js";
|
|
4
|
+
import { T as z, a as M } from "./TwinlistLoadingInfo-aB5QCSFX.js";
|
|
5
|
+
import { u as B } from "./MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-C61plPNM.js";
|
|
6
|
+
import { _ as D } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
|
|
7
7
|
const _ = /* @__PURE__ */ C({
|
|
8
8
|
__name: "ManualTwinlistControl",
|
|
9
9
|
props: {
|
package/dist/{MultiSelectListBoxControl-iUqimLmu.js → MultiSelectListBoxControl-0M1iLfXZ.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-DhdKca4Z.js";
|
|
3
|
+
import { M as u } from "./MultiselectListBox-BJqQv0AT.js";
|
|
4
4
|
const f = /* @__PURE__ */ t({
|
|
5
5
|
__name: "MultiSelectListBoxControl",
|
|
6
6
|
props: {
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { resolveComponent as f, openBlock as m, createElementBlock as S, normalizeClass as M, Fragment as J, renderList as Q, createBlock as g, withCtx as c, renderSlot as k, createTextVNode as X, toDisplayString as I, createElementVNode as V, toRef as L, createVNode as b, createCommentVNode as P, normalizeProps as _, guardReactiveProps as B, mergeProps as A, defineComponent as Y, ref as Z, computed as y, markRaw as $, unref as T, createSlots as ee } from "vue";
|
|
2
|
-
import { _ as U,
|
|
3
|
-
import { m as
|
|
4
|
-
import { u as
|
|
5
|
-
import { a as
|
|
6
|
-
import { u as
|
|
2
|
+
import { _ as U, a5 as te, a3 as z } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
|
|
3
|
+
import { m as ae } from "./index-Blg1O3Fz.js";
|
|
4
|
+
import { u as le, a as ne } from "./usePossibleValues-DhdKca4Z.js";
|
|
5
|
+
import { a as se, S as ie, u as oe, T as de } from "./TwinlistLoadingInfo-aB5QCSFX.js";
|
|
6
|
+
import { u as re } from "./MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-C61plPNM.js";
|
|
7
7
|
import { f as D } from "./useSearch-hpyYQ_6y.js";
|
|
8
|
-
import { C as
|
|
9
|
-
import {
|
|
10
|
-
import { V as ce } from "./ValueSwitch-ChY5YK2o.js";
|
|
8
|
+
import { C as ue } from "./Checkbox-BLHyWo4X.js";
|
|
9
|
+
import { V as ce } from "./ValueSwitch-DYxCMQ9c.js";
|
|
11
10
|
const me = {
|
|
12
11
|
name: "Checkboxes",
|
|
13
12
|
components: {
|
|
14
|
-
Checkbox:
|
|
13
|
+
Checkbox: ue
|
|
15
14
|
},
|
|
16
15
|
props: {
|
|
17
16
|
/**
|
|
@@ -127,12 +126,12 @@ const be = { render: fe }, ve = {
|
|
|
127
126
|
}, we = {
|
|
128
127
|
name: "MultiModeTwinlist",
|
|
129
128
|
components: {
|
|
130
|
-
Label:
|
|
129
|
+
Label: te,
|
|
131
130
|
FilterIcon: be,
|
|
132
|
-
SearchInput:
|
|
131
|
+
SearchInput: ie,
|
|
133
132
|
Checkboxes: he,
|
|
134
133
|
ValueSwitch: ce,
|
|
135
|
-
Twinlist:
|
|
134
|
+
Twinlist: se
|
|
136
135
|
},
|
|
137
136
|
props: {
|
|
138
137
|
/**
|
|
@@ -261,7 +260,7 @@ const be = { render: fe }, ve = {
|
|
|
261
260
|
"update:selected"
|
|
262
261
|
],
|
|
263
262
|
setup(e) {
|
|
264
|
-
const { includedValues: a } =
|
|
263
|
+
const { includedValues: a } = oe(
|
|
265
264
|
L(e, "manualSelection")
|
|
266
265
|
);
|
|
267
266
|
return { manuallySelected: a };
|
|
@@ -466,7 +465,7 @@ const Te = /* @__PURE__ */ U(we, [["render", ge], ["__scopeId", "data-v-a4487686
|
|
|
466
465
|
let t = () => {
|
|
467
466
|
};
|
|
468
467
|
const o = (l) => {
|
|
469
|
-
const r =
|
|
468
|
+
const r = ae(a.control.data, l);
|
|
470
469
|
a.changeValue(r), t?.(r.manualFilter);
|
|
471
470
|
}, s = (l) => {
|
|
472
471
|
o({ selected: l });
|
|
@@ -495,9 +494,9 @@ const Te = /* @__PURE__ */ U(we, [["render", ge], ["__scopeId", "data-v-a4487686
|
|
|
495
494
|
o({ patternFilter: { isInverted: l } });
|
|
496
495
|
}, C = (l) => {
|
|
497
496
|
o({ patternFilter: { isCaseSensitive: l } });
|
|
498
|
-
}, { possibleValues: w } =
|
|
497
|
+
}, { possibleValues: w } = le(
|
|
499
498
|
L(a, "control")
|
|
500
|
-
), u = Z([]), { selectedAndDeselected: F, setCurrentManualFilter: O } =
|
|
499
|
+
), u = Z([]), { selectedAndDeselected: F, setCurrentManualFilter: O } = re({
|
|
501
500
|
data: y(() => a.control.data),
|
|
502
501
|
possibleValueIds: y(
|
|
503
502
|
() => w.value?.map(({ id: l }) => l) ?? null
|
|
@@ -512,7 +511,7 @@ const Te = /* @__PURE__ */ U(we, [["render", ge], ["__scopeId", "data-v-a4487686
|
|
|
512
511
|
includeUnknownValues: a.control.data.manualFilter.includeUnknownColumns
|
|
513
512
|
} : l;
|
|
514
513
|
}), q = y(
|
|
515
|
-
() => F.value.selected === null ? $(
|
|
514
|
+
() => F.value.selected === null ? $(de) : null
|
|
516
515
|
), E = (l) => typeof l > "u" ? {} : l.reduce(
|
|
517
516
|
(r, { id: d, text: h }) => ({ ...r, [d]: h }),
|
|
518
517
|
{}
|
|
@@ -531,7 +530,7 @@ const Te = /* @__PURE__ */ U(we, [["render", ge], ["__scopeId", "data-v-a4487686
|
|
|
531
530
|
u.value = N();
|
|
532
531
|
const j = y(
|
|
533
532
|
() => !!w.value?.[0]?.hasOwnProperty("type")
|
|
534
|
-
), { excludedLabel: H, includedLabel: K } =
|
|
533
|
+
), { excludedLabel: H, includedLabel: K } = ne(
|
|
535
534
|
L(a, "control")
|
|
536
535
|
), W = y(() => H ?? a.twinlistLeftLabel), G = y(() => K ?? a.twinlistRightLabel);
|
|
537
536
|
return (l, r) => (m(), g(T(Te), A(l.$attrs, {
|
|
@@ -593,7 +592,7 @@ const Te = /* @__PURE__ */ U(we, [["render", ge], ["__scopeId", "data-v-a4487686
|
|
|
593
592
|
} : void 0
|
|
594
593
|
]), 1040, ["id", "disabled", "with-types", "selected-types", "additional-possible-types", "pattern", "mode", "case-sensitive-pattern", "empty-state-component", "inverse-pattern", "manual-selection", "include-unknown-values", "possible-values", "size", "left-label", "right-label", "is-valid"]));
|
|
595
594
|
}
|
|
596
|
-
}),
|
|
595
|
+
}), _e = /* @__PURE__ */ U(Se, [["__scopeId", "data-v-0aa76d2b"]]);
|
|
597
596
|
export {
|
|
598
|
-
|
|
597
|
+
_e as default
|
|
599
598
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as v, watch as m } from "vue";
|
|
2
2
|
import { g as S, a as g } from "./index-Blg1O3Fz.js";
|
|
3
|
-
import "./
|
|
4
|
-
import "./TwinlistLoadingInfo-
|
|
3
|
+
import "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
|
|
4
|
+
import "./TwinlistLoadingInfo-aB5QCSFX.js";
|
|
5
5
|
const w = ({
|
|
6
6
|
knownValuesSide: s,
|
|
7
7
|
possibleValueIds: l,
|
|
@@ -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
|
|
2
|
+
import { a6 as L, Q as A, _ as T } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
|
|
3
|
+
import { S as O } from "./StyledListItem-B_FaDixp.js";
|
|
4
4
|
const z = (e, t) => {
|
|
5
5
|
let i, r = 0;
|
|
6
6
|
return (...l) => {
|
|
@@ -13,7 +13,7 @@ const z = (e, t) => {
|
|
|
13
13
|
};
|
|
14
14
|
}, M = 250, P = {
|
|
15
15
|
name: "MultiselectListBox",
|
|
16
|
-
components: { StyledListItem:
|
|
16
|
+
components: { StyledListItem: O },
|
|
17
17
|
props: {
|
|
18
18
|
id: {
|
|
19
19
|
type: String,
|
|
@@ -511,7 +511,7 @@ function j(e, t, i, r, l, s) {
|
|
|
511
511
|
])
|
|
512
512
|
], 6);
|
|
513
513
|
}
|
|
514
|
-
const
|
|
514
|
+
const _ = /* @__PURE__ */ T(P, [["render", j], ["__scopeId", "data-v-4ee62d65"]]);
|
|
515
515
|
export {
|
|
516
|
-
|
|
516
|
+
_ as M
|
|
517
517
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as n, openBlock as o, createBlock as t, mergeProps as l } from "vue";
|
|
2
|
-
import a from "./MultimodeTwinlistControl-
|
|
2
|
+
import a from "./MultimodeTwinlistControl-aL0Jr_Hp.js";
|
|
3
3
|
const u = /* @__PURE__ */ n({
|
|
4
4
|
__name: "NameFilter",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as n, createBlock as t, mergeProps as r } from "vue";
|
|
2
|
-
import { _ as a } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as a } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-CSwuzJVa.js";
|
|
3
3
|
const s = /* @__PURE__ */ o({
|
|
4
4
|
__name: "NumberControl",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as m, computed as s, openBlock as u, createBlock as d, unref as p } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { u as E } from "./useBuiltinValidations-
|
|
2
|
+
import { a2 as x } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
|
|
3
|
+
import { u as E } from "./useBuiltinValidations-zKGc6Pdt.js";
|
|
4
4
|
const v = 1, f = 0.1, F = /* @__PURE__ */ m({
|
|
5
5
|
__name: "NumberControlBase",
|
|
6
6
|
props: {
|
|
@@ -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 {
|
|
2
|
+
import { a1 as c } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
|
|
3
3
|
import { o as p } from "./index-Blg1O3Fz.js";
|
|
4
4
|
const g = /* @__PURE__ */ r({
|
|
5
5
|
__name: "OneOfDropdown",
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { defineComponent as V, computed as d, 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 { ad as L } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
|
|
3
|
+
const M = ["innerHTML"], B = ["innerHTML"], C = ["innerHTML"], x = /* @__PURE__ */ V({
|
|
4
|
+
__name: "RadioButtonsWithDescriptionControl",
|
|
5
|
+
props: {
|
|
6
|
+
control: {},
|
|
7
|
+
handleChange: { type: Function },
|
|
8
|
+
changeValue: { type: Function },
|
|
9
|
+
disabled: { type: Boolean },
|
|
10
|
+
labelForId: {},
|
|
11
|
+
isValid: { type: Boolean },
|
|
12
|
+
messages: {},
|
|
13
|
+
onRegisterValidation: { type: Function }
|
|
14
|
+
},
|
|
15
|
+
setup(l) {
|
|
16
|
+
const o = l, u = d(() => o.control.schema.oneOf?.map(({ const: r, title: e, price: h, description: f }) => ({
|
|
17
|
+
id: r,
|
|
18
|
+
text: e,
|
|
19
|
+
price: h,
|
|
20
|
+
description: f
|
|
21
|
+
})) || []), p = d(() => !o.control.enabled), s = d(
|
|
22
|
+
() => o.control.uischema.options?.footnote || null
|
|
23
|
+
), m = (a) => {
|
|
24
|
+
o.changeValue(a);
|
|
25
|
+
};
|
|
26
|
+
return (a, r) => (n(), t(c, null, [
|
|
27
|
+
(n(!0), t(c, null, v(u.value, (e) => (n(), t("label", {
|
|
28
|
+
key: `radio-${e.id}`,
|
|
29
|
+
class: "radio-wrapper"
|
|
30
|
+
}, [
|
|
31
|
+
b(_(L), {
|
|
32
|
+
class: "radio-button",
|
|
33
|
+
"model-value": l.control.data === e.id,
|
|
34
|
+
text: e.text,
|
|
35
|
+
disabled: p.value,
|
|
36
|
+
"onUpdate:modelValue": () => m(e.id)
|
|
37
|
+
}, null, 8, ["model-value", "text", "disabled", "onUpdate:modelValue"]),
|
|
38
|
+
i("div", {
|
|
39
|
+
class: "description",
|
|
40
|
+
innerHTML: e.description
|
|
41
|
+
}, null, 8, M),
|
|
42
|
+
i("div", {
|
|
43
|
+
class: g(["price", { selected: l.control.data === e.id }]),
|
|
44
|
+
innerHTML: e.price
|
|
45
|
+
}, null, 10, B)
|
|
46
|
+
]))), 128)),
|
|
47
|
+
s.value ? (n(), t("div", {
|
|
48
|
+
key: 0,
|
|
49
|
+
class: "footnote",
|
|
50
|
+
innerHTML: s.value
|
|
51
|
+
}, null, 8, C)) : y("", !0)
|
|
52
|
+
], 64));
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
export {
|
|
56
|
+
x as default
|
|
57
|
+
};
|
|
@@ -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 "./
|
|
2
|
+
import { _ as r } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-CuOORFSE.js";
|
|
3
|
+
import { _ as p } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.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 { ab as y, ac as g } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.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-DhdKca4Z.js";
|
|
5
5
|
const U = /* @__PURE__ */ r({
|
|
6
6
|
__name: "RadioControlBase",
|
|
7
7
|
props: {
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { defineComponent as B, computed as e, openBlock as l, createElementBlock as u, createElementVNode as h, normalizeClass as w, createCommentVNode as M, createBlock as D, resolveDynamicComponent as _, withCtx as T, createVNode as g, unref as F, renderSlot as S } from "vue";
|
|
2
|
+
import { _ as C, a2 as $ } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
|
|
3
|
+
import { T as O } from "./Tooltip-B5O8iOuG.js";
|
|
4
|
+
const R = { class: "donut-container" }, N = ["viewBox"], I = ["r"], U = ["r"], E = ["viewBox"], L = ["r", "stroke-width"], W = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"], K = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"], z = 0.5, o = 22, b = 10, A = /* @__PURE__ */ B({
|
|
5
|
+
__name: "SmallDonutChart",
|
|
6
|
+
props: {
|
|
7
|
+
value: {},
|
|
8
|
+
secondaryValue: { default: 0 },
|
|
9
|
+
maxValue: {},
|
|
10
|
+
acceptValuesLargerThanMax: { type: Boolean, default: !1 },
|
|
11
|
+
animate: { type: Boolean, default: !0 }
|
|
12
|
+
},
|
|
13
|
+
setup(a) {
|
|
14
|
+
const t = e(() => {
|
|
15
|
+
const n = Math.max(0, a.value);
|
|
16
|
+
return a.acceptValuesLargerThanMax ? n : Math.min(n, a.maxValue);
|
|
17
|
+
}), f = e(() => {
|
|
18
|
+
const n = Math.max(0, a.secondaryValue + t.value);
|
|
19
|
+
return a.acceptValuesLargerThanMax ? n : Math.min(n, a.maxValue);
|
|
20
|
+
}), c = e(() => o - b), x = e(
|
|
21
|
+
// to account for rendering inaccuracies the background stroke is slightly smaller than the wedge stroke
|
|
22
|
+
() => c.value - z
|
|
23
|
+
), r = e(() => o - c.value / 2), i = e(() => 2 * o), d = e(() => `0 0 ${i.value} ${i.value}`), s = e(() => 2 * Math.PI * r.value), m = (n) => {
|
|
24
|
+
if (a.maxValue <= 0 || !Number.isFinite(a.maxValue))
|
|
25
|
+
return s.value;
|
|
26
|
+
const V = Math.min(
|
|
27
|
+
n / a.maxValue * s.value,
|
|
28
|
+
s.value
|
|
29
|
+
);
|
|
30
|
+
return Math.max(s.value - V, 0);
|
|
31
|
+
}, y = e(
|
|
32
|
+
() => m(t.value)
|
|
33
|
+
), p = e(
|
|
34
|
+
() => m(f.value)
|
|
35
|
+
), v = e(() => `rotate(-90, ${o}, ${o})`), k = e(() => !Number.isFinite(a.maxValue));
|
|
36
|
+
return (n, V) => (l(), u("div", R, [
|
|
37
|
+
k.value ? (l(), u("svg", {
|
|
38
|
+
key: 0,
|
|
39
|
+
viewBox: d.value,
|
|
40
|
+
class: "donut-chart"
|
|
41
|
+
}, [
|
|
42
|
+
h("circle", {
|
|
43
|
+
class: "disabled-circle",
|
|
44
|
+
cx: o,
|
|
45
|
+
cy: o,
|
|
46
|
+
r: o - 0.5,
|
|
47
|
+
"stroke-width": "1",
|
|
48
|
+
fill: "transparent"
|
|
49
|
+
}, null, 8, I),
|
|
50
|
+
h("circle", {
|
|
51
|
+
class: "disabled-inner-circle",
|
|
52
|
+
cx: o,
|
|
53
|
+
cy: o,
|
|
54
|
+
r: b + 0.5,
|
|
55
|
+
"stroke-width": "1",
|
|
56
|
+
fill: "transparent"
|
|
57
|
+
}, null, 8, U)
|
|
58
|
+
], 8, N)) : (l(), u("svg", {
|
|
59
|
+
key: 1,
|
|
60
|
+
viewBox: d.value,
|
|
61
|
+
class: "donut-chart"
|
|
62
|
+
}, [
|
|
63
|
+
h("circle", {
|
|
64
|
+
class: "background-circle",
|
|
65
|
+
cx: o,
|
|
66
|
+
cy: o,
|
|
67
|
+
r: r.value,
|
|
68
|
+
"stroke-width": x.value,
|
|
69
|
+
fill: "transparent"
|
|
70
|
+
}, null, 8, L),
|
|
71
|
+
a.secondaryValue ? (l(), u("circle", {
|
|
72
|
+
key: 0,
|
|
73
|
+
class: w(["value-wedge", "secondary-segment", { animate: a.animate }]),
|
|
74
|
+
cx: o,
|
|
75
|
+
cy: o,
|
|
76
|
+
r: r.value,
|
|
77
|
+
"stroke-width": c.value,
|
|
78
|
+
"stroke-dasharray": s.value,
|
|
79
|
+
"stroke-dashoffset": p.value,
|
|
80
|
+
fill: "transparent",
|
|
81
|
+
transform: v.value
|
|
82
|
+
}, null, 10, W)) : M("", !0),
|
|
83
|
+
h("circle", {
|
|
84
|
+
class: w(["value-wedge", "primary-segment", { animate: a.animate }]),
|
|
85
|
+
cx: o,
|
|
86
|
+
cy: o,
|
|
87
|
+
r: r.value,
|
|
88
|
+
"stroke-width": c.value,
|
|
89
|
+
"stroke-dasharray": s.value,
|
|
90
|
+
"stroke-dashoffset": y.value,
|
|
91
|
+
fill: "transparent",
|
|
92
|
+
transform: v.value
|
|
93
|
+
}, null, 10, K)
|
|
94
|
+
], 8, E))
|
|
95
|
+
]));
|
|
96
|
+
}
|
|
97
|
+
}), G = /* @__PURE__ */ C(A, [["__scopeId", "data-v-f344a6aa"]]), P = {
|
|
98
|
+
key: 0,
|
|
99
|
+
class: "chart"
|
|
100
|
+
}, j = /* @__PURE__ */ B({
|
|
101
|
+
__name: "ResourceControlBase",
|
|
102
|
+
props: {
|
|
103
|
+
control: {},
|
|
104
|
+
handleChange: { type: Function },
|
|
105
|
+
changeValue: { type: Function },
|
|
106
|
+
disabled: { type: Boolean },
|
|
107
|
+
isValid: { type: Boolean },
|
|
108
|
+
onRegisterValidation: { type: Function },
|
|
109
|
+
labelForId: {}
|
|
110
|
+
},
|
|
111
|
+
setup(a) {
|
|
112
|
+
const t = a, f = e(
|
|
113
|
+
() => t.control.uischema.options?.modelMax ?? !1
|
|
114
|
+
), c = e(
|
|
115
|
+
// if currentUsage is supplied the donut chart should use that since the data will model something else (e.g. the maximum usage)
|
|
116
|
+
() => t.control.uischema.options?.currentUsage ?? t.control.data
|
|
117
|
+
), x = e(
|
|
118
|
+
() => t.control.schema.secondaryValue ?? 0
|
|
119
|
+
), r = e(
|
|
120
|
+
() => f.value ? t.control.data : t.control.uischema.options?.donutMax ?? t.control.schema.maximum
|
|
121
|
+
), i = e(
|
|
122
|
+
() => t.control.uischema.options?.disabledTooltip || ""
|
|
123
|
+
), d = e(() => t.disabled && i.value ? O : "div"), s = e(() => t.control.uischema.options?.animate ?? !0), m = e(
|
|
124
|
+
() => t.control.uischema.options?.showDonut ?? !0
|
|
125
|
+
), y = e(() => t.control.schema.minimum ?? 0), p = e(() => t.control.schema.maximum ?? 1 / 0), v = e(() => t.control.uischema.options?.step ?? 1), k = e(() => t.control.uischema.options?.unit ?? "");
|
|
126
|
+
return (n, V) => (l(), u("div", null, [
|
|
127
|
+
(l(), D(_(d.value), {
|
|
128
|
+
text: i.value,
|
|
129
|
+
class: "input-wrapper"
|
|
130
|
+
}, {
|
|
131
|
+
default: T(() => [
|
|
132
|
+
g(F($), {
|
|
133
|
+
"model-value": a.control.data,
|
|
134
|
+
min: y.value,
|
|
135
|
+
max: p.value,
|
|
136
|
+
step: v.value,
|
|
137
|
+
unit: k.value,
|
|
138
|
+
disabled: a.disabled,
|
|
139
|
+
"onUpdate:modelValue": a.changeValue
|
|
140
|
+
}, null, 8, ["model-value", "min", "max", "step", "unit", "disabled", "onUpdate:modelValue"]),
|
|
141
|
+
m.value ? (l(), u("div", P, [
|
|
142
|
+
g(G, {
|
|
143
|
+
value: c.value,
|
|
144
|
+
"secondary-value": x.value,
|
|
145
|
+
"max-value": r.value,
|
|
146
|
+
animate: s.value
|
|
147
|
+
}, null, 8, ["value", "secondary-value", "max-value", "animate"]),
|
|
148
|
+
S(n.$slots, "donut-info", {}, void 0, !0)
|
|
149
|
+
])) : M("", !0)
|
|
150
|
+
]),
|
|
151
|
+
_: 3
|
|
152
|
+
}, 8, ["text"]))
|
|
153
|
+
]));
|
|
154
|
+
}
|
|
155
|
+
}), Q = /* @__PURE__ */ C(j, [["__scopeId", "data-v-19a71b19"]]);
|
|
156
|
+
export {
|
|
157
|
+
Q as R
|
|
158
|
+
};
|