@knime/jsonforms 1.10.0 → 1.10.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 +8 -0
- package/dist/{AnyOfTwinlist-DeqIlR2B.js → AnyOfTwinlist-CAyoczAB.js} +1 -1
- package/dist/{Button-CN9kOg52.js → Button-BzZgjDcV.js} +1 -1
- package/dist/{Checkbox-BECqYUi7.js → Checkbox-C_i21GaA.js} +1 -1
- package/dist/{CheckboxControl-YAifFlUs.js → CheckboxControl-DDoLA6Vd.js} +2 -2
- package/dist/{Checkboxes-SN0Gyz3F.js → Checkboxes-C_e0UeAC.js} +2 -2
- package/dist/{CheckboxesControl-B9FhxSt0.js → CheckboxesControl-mSVKQ6CW.js} +2 -2
- package/dist/{ComboBoxControl-CLROGipS.js → ComboBoxControl-BY9Wb-2K.js} +5 -5
- package/dist/{DateControl-BMIbCzdJ.js → DateControl-YjVx-aFd.js} +1 -1
- package/dist/{DateTimeControl-CxFb7-M5.js → DateTimeControl-D5Z7nHgz.js} +2 -2
- package/dist/{DateTimeFormatInput-BoT3Fq6o.js → DateTimeFormatInput-DP9GTXiX.js} +57 -57
- package/dist/{DateTimeFormatPickerControl-Bh6dVZmY.js → DateTimeFormatPickerControl-DdIvsCjx.js} +2 -2
- package/dist/{DateTimeFormatPickerWithTypeControl-7Z0nCv1N.js → DateTimeFormatPickerWithTypeControl-CrrpUdTR.js} +3 -3
- package/dist/{DateTimeInput-C4Nh_2EL.js → DateTimeInput-BSUVtZ_C.js} +1182 -1182
- package/dist/{Dropdown-3hPIkzit.js → Dropdown-DP_F92tv.js} +86 -87
- package/dist/{DropdownControl-UjRCUZHh.js → DropdownControl-GMJULpL6.js} +4 -4
- package/dist/{HorizontalLayout-CJ_o8Fs4.js → HorizontalLayout-COzD3yLU.js} +1 -1
- package/dist/{InputField-dinsVJC1.js → InputField-BF7vTszr.js} +39 -39
- package/dist/{IntegerControl-DYv-Y9M7.js → IntegerControl-CKIl5Rfi.js} +1 -1
- package/dist/{IntervalControl-ETsNbmWj.js → IntervalControl-C2ykMH4V.js} +129 -129
- package/dist/{LoadingDropdown-BBu6y57e.js → LoadingDropdown-CxqiKfdN.js} +3 -3
- package/dist/{MultimodeTwinlistControl-B-Fm5b9C.js → MultimodeTwinlistControl-BM744sO6.js} +27 -27
- package/dist/{MultiselectListBox-DiY_1JbY.js → MultiselectListBox-DwBSUb9V.js} +23 -25
- package/dist/{NameFilter-ByVouGxz.js → NameFilter-Dgf1mtuH.js} +1 -1
- package/dist/{NumberControl-8pxttJYW.js → NumberControl-Cp0OiNDl.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-0MWDRFG4.js → NumberControlBase.vue_vue_type_script_setup_true_lang-B7BnKygX.js} +2 -2
- package/dist/{NumberInput-BsI5jyyt.js → NumberInput-H3BZ_gou.js} +2 -2
- package/dist/{OneOfDropdown-wSdpOv-h.js → OneOfDropdown-DbkVGpS-.js} +1 -1
- package/dist/{RadioControl-DrHwFQHw.js → RadioControl-9cZ9L-XZ.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-E93Q0_oH.js → RadioControlBase.vue_vue_type_script_setup_true_lang-DXLEuMzn.js} +2 -2
- package/dist/{RichTextControl-C0MHCvEi.js → RichTextControl-B6KPOKpK.js} +1915 -1915
- package/dist/{SectionHeading-Dupn5jB4.js → SectionHeading-BMWemtGd.js} +1 -1
- package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-u8QsGw29.js → SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js} +3747 -3746
- package/dist/{SectionLayout-B1wqBbiJ.js → SectionLayout-DR_wqkbw.js} +3 -3
- package/dist/{SettingsSubPanel-CENkQVK4.js → SettingsSubPanel-TN03TZ-e.js} +1 -1
- package/dist/SettingsSubPanelLayout-DxJd3igq.js +61 -0
- package/dist/{SimpleButtonControl-C5XhU03v.js → SimpleButtonControl-BBy1H52n.js} +3 -3
- package/dist/{SimpleTwinlistControl-B0LaCmtv.js → SimpleTwinlistControl-lyNwPBvG.js} +2 -2
- package/dist/{SingleSelectControl-CK4-CrfC.js → SingleSelectControl-BRjpWFqk.js} +2 -2
- package/dist/{SortListControl-D-JHzIyw.js → SortListControl-BTrDdu9O.js} +121 -121
- package/dist/{TextAreaControl-CVjex7AA.js → TextAreaControl-B1-g-8ug.js} +1 -1
- package/dist/{TextControl-E0OK9u3d.js → TextControl-NsT1R1rk.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-DIBicKjn.js → TextControl.vue_vue_type_script_setup_true_lang-Dgyo9rJ-.js} +4 -4
- package/dist/{TimeControl-CjoQmYQT.js → TimeControl-CWjNnOHM.js} +2 -2
- package/dist/{TwinlistControlBase-BRT_sYid.js → TwinlistControlBase-Dam1VsbM.js} +3 -3
- package/dist/{TwinlistLoadingInfo-BHR4sp2h.js → TwinlistLoadingInfo-y6JvMoCY.js} +301 -301
- package/dist/{TypedStringFilter-C7u3z9EA.js → TypedStringFilter-BjzWIu-L.js} +1 -1
- package/dist/ValueSwitch-DZ5LB9vA.js +131 -0
- package/dist/{ValueSwitchControl-DRC37vZO.js → ValueSwitchControl-BCpz0Ya4.js} +1 -1
- package/dist/{VerticalLayout-HTwvzYs2.js → VerticalLayout-WkUU2XH3.js} +2 -2
- package/dist/{VerticalLayoutBase-CaUHhg4c.js → VerticalLayoutBase-413o9U_2.js} +1 -1
- package/dist/{ZonedDateTimeControl-Dry6mj8Q.js → ZonedDateTimeControl-6u9Nbw2f.js} +4 -4
- package/dist/{_baseEach-qp9WwRfp.js → _baseEach-D8bWEfeT.js} +2 -2
- package/dist/{_baseIteratee-D1BrioPy.js → _baseIteratee-c38lvCZS.js} +3 -3
- package/dist/{_getTag-D8q3h3ou.js → _getTag-DwDUrDKD.js} +1 -1
- package/dist/arrow-dropdown-DdgjzLAO.js +17 -0
- package/dist/arrow-next-CIOU5o42.js +17 -0
- package/dist/close-BuY4mhXV.js +17 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +73 -73
- package/dist/{localTimeUtils-BAL2gOb_.js → localTimeUtils-Bpn7Hjtc.js} +1 -1
- package/dist/{magic-string.es-BNAF4une.js → magic-string.es-Dlayy_3o.js} +1 -1
- package/dist/reload-BVbCGubF.js +17 -0
- package/dist/src/JsonFormsDialog.vue.d.ts +11 -20
- package/dist/src/higherOrderComponents/control/LabeledControl.vue.d.ts +3 -12
- package/dist/src/higherOrderComponents/control/errorMessage/ErrorLine.vue.d.ts +3 -12
- package/dist/src/higherOrderComponents/control/errorMessage/ErrorMessages.vue.d.ts +4 -25
- package/dist/src/layoutComponents/Form.vue.d.ts +1 -1
- package/dist/src/layoutComponents/HorizontalLayout.vue.d.ts +1 -10
- package/dist/src/layoutComponents/SectionLayout.vue.d.ts +1 -10
- package/dist/src/layoutComponents/SettingsSubPanelLayout.vue.d.ts +1 -10
- package/dist/src/layoutComponents/VerticalLayout.vue.d.ts +1 -10
- package/dist/src/layoutComponents/VerticalLayoutBase.vue.d.ts +3 -12
- package/dist/src/layoutComponents/section/SectionHeading.vue.d.ts +3 -12
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +3 -28
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanelBackArrow.vue.d.ts +2 -2
- package/dist/src/loading/LoadingDialog.vue.d.ts +1 -1
- package/dist/src/renderers/defaultRenderers.d.ts +106 -1095
- package/dist/src/renderers/dropdownRenderer.d.ts +3 -219
- package/dist/src/renderers/fallbackRenderers.d.ts +4 -262
- package/dist/src/renderers/horizontalLayoutRenderer.d.ts +1 -43
- package/dist/src/renderers/sectionLayoutRenderer.d.ts +3 -87
- package/dist/src/renderers/sectionSubPanelLayoutRenderer.d.ts +1 -43
- package/dist/src/renderers/sortListRenderer.d.ts +85 -282
- package/dist/src/renderers/textMessageRenderer.d.ts +1 -109
- package/dist/src/renderers/textRenderer.d.ts +3 -219
- package/dist/src/renderers/verticalLayoutRenderer.d.ts +2 -86
- package/dist/src/uiComponents/CheckboxControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/CheckboxesControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/ComboBoxControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/DateControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/DateTimeControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/DateTimeFormatPickerControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/DateTimeFormatPickerWithTypeControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/DropdownControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/DynamicIcon.vue.d.ts +3 -12
- package/dist/src/uiComponents/IntegerControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/IntervalControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/NumberControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/NumberControlBase.vue.d.ts +3 -12
- package/dist/src/uiComponents/OneOfDropdown.vue.d.ts +1 -10
- package/dist/src/uiComponents/RadioControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/RadioControlBase.vue.d.ts +3 -12
- package/dist/src/uiComponents/SingleSelectControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/SortListControl.vue.d.ts +8 -73
- package/dist/src/uiComponents/TextAreaControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/TextControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/TextMessageControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/TimeControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/ValueSwitchControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/ZonedDateTimeControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/composables/usePossibleValues.d.ts +3 -1
- package/dist/src/uiComponents/composables/useProvidedState.d.ts +1 -1
- package/dist/src/uiComponents/loading/LoadingDropdown.vue.d.ts +1 -10
- package/dist/src/uiComponents/loading/TwinlistLoadingInfo.vue.d.ts +1 -1
- package/dist/src/uiComponents/richTextControl/DialogLinkModal.vue.d.ts +1 -10
- package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/twinlist/AnyOfTwinlist.vue.d.ts +1 -10
- package/dist/src/uiComponents/twinlist/MultimodeTwinlistControl.vue.d.ts +4 -31
- package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +1 -10
- package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/twinlist/TwinlistControlBase.vue.d.ts +4 -25
- package/dist/src/uiComponents/twinlist/TypedStringFilter.vue.d.ts +1 -10
- package/dist/src/uiComponents/twinlist/useUnknownValuesInTwinlist.d.ts +6 -0
- package/dist/{svgWithTitle-BomcA1vs.js → svgWithTitle-CEHRG42c.js} +2 -2
- package/dist/testUtils/component.d.ts +10 -10
- package/dist/testing.js +4395 -4085
- package/dist/{toString-DkTEiU39.js → toString-BC2RXvs0.js} +1 -1
- package/dist/{useBuiltinValidations-DXisZ150.js → useBuiltinValidations-BsKhdvbW.js} +1 -1
- package/dist/{usePossibleValues-BYX8n8sq.js → usePossibleValues-D12PcddT.js} +1 -1
- package/package.json +6 -6
- package/dist/SettingsSubPanelLayout-BzokvPPl.js +0 -61
- package/dist/ValueSwitch-CTCKgRvt.js +0 -138
- package/dist/arrow-dropdown-DjUxzjqC.js +0 -17
- package/dist/arrow-next-Qa8PNb04.js +0 -17
- package/dist/close-h7XT0ja0.js +0 -17
- package/dist/reload-BhzcZRFp.js +0 -17
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as u, ref as i, openBlock as l, createElementBlock as m, createVNode as s, withCtx as r, renderSlot as p, createBlock as d, unref as c } from "vue";
|
|
2
|
-
import { r as f, _ as y } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
3
|
-
import { V as h } from "./VerticalLayoutBase-
|
|
4
|
-
import { S as v } from "./SectionHeading-
|
|
2
|
+
import { r as f, _ as y } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js";
|
|
3
|
+
import { V as h } from "./VerticalLayoutBase-413o9U_2.js";
|
|
4
|
+
import { S as v } from "./SectionHeading-BMWemtGd.js";
|
|
5
5
|
const b = /* @__PURE__ */ u({
|
|
6
6
|
__name: "SectionLayout",
|
|
7
7
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as s, x as a } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
1
|
+
import { _ as s, x as a } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js";
|
|
2
2
|
const _ = /* @__PURE__ */ s(a, [["__scopeId", "data-v-110037e2"]]);
|
|
3
3
|
export {
|
|
4
4
|
_ as S
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { defineComponent as i, openBlock as n, createBlock as s, withCtx as t, createVNode as a, unref as l, createElementVNode as m } from "vue";
|
|
2
|
+
import { q as c, r as p, _ as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js";
|
|
3
|
+
import { N as f } from "./arrow-next-CIOU5o42.js";
|
|
4
|
+
import { V as h } from "./VerticalLayoutBase-413o9U_2.js";
|
|
5
|
+
import { S as y } from "./SectionHeading-BMWemtGd.js";
|
|
6
|
+
import { S as b } from "./SettingsSubPanel-TN03TZ-e.js";
|
|
7
|
+
const S = /* @__PURE__ */ i({
|
|
8
|
+
__name: "SettingsSubPanelLayout",
|
|
9
|
+
props: {
|
|
10
|
+
layout: {}
|
|
11
|
+
},
|
|
12
|
+
setup(g) {
|
|
13
|
+
return (e, r) => (n(), s(b, {
|
|
14
|
+
"show-back-arrow": "",
|
|
15
|
+
"background-color-override": "var(--knime-gray-ultra-light"
|
|
16
|
+
}, {
|
|
17
|
+
"expand-button": t(({ expand: o }) => [
|
|
18
|
+
a(y, {
|
|
19
|
+
"title-text": e.layout.uischema.label
|
|
20
|
+
}, {
|
|
21
|
+
"right-buttons": t(() => [
|
|
22
|
+
a(l(c), {
|
|
23
|
+
compact: "",
|
|
24
|
+
class: "set-button",
|
|
25
|
+
onClick: o
|
|
26
|
+
}, {
|
|
27
|
+
default: t(() => [
|
|
28
|
+
r[0] || (r[0] = m("span", null, "Set", -1)),
|
|
29
|
+
a(l(f))
|
|
30
|
+
]),
|
|
31
|
+
_: 2
|
|
32
|
+
}, 1032, ["onClick"])
|
|
33
|
+
]),
|
|
34
|
+
_: 2
|
|
35
|
+
}, 1032, ["title-text"])
|
|
36
|
+
]),
|
|
37
|
+
default: t(() => [
|
|
38
|
+
a(h, {
|
|
39
|
+
elements: e.layout.uischema.elements
|
|
40
|
+
}, {
|
|
41
|
+
default: t(({ element: o, index: u }) => [
|
|
42
|
+
(n(), s(l(p), {
|
|
43
|
+
key: `${e.layout.path}-${u}`,
|
|
44
|
+
schema: e.layout.schema,
|
|
45
|
+
uischema: o,
|
|
46
|
+
path: e.layout.path,
|
|
47
|
+
enabled: e.layout.enabled,
|
|
48
|
+
renderers: e.layout.renderers,
|
|
49
|
+
cells: e.layout.cells
|
|
50
|
+
}, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]))
|
|
51
|
+
]),
|
|
52
|
+
_: 1
|
|
53
|
+
}, 8, ["elements"])
|
|
54
|
+
]),
|
|
55
|
+
_: 1
|
|
56
|
+
}));
|
|
57
|
+
}
|
|
58
|
+
}), v = /* @__PURE__ */ d(S, [["__scopeId", "data-v-eab8ed9f"]]);
|
|
59
|
+
export {
|
|
60
|
+
v as default
|
|
61
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as u, openBlock as s, createBlock as p, resolveDynamicComponent as f, computed as r, ref as g, createElementBlock as _, createVNode as b, unref as y, withCtx as B, createCommentVNode as C, createTextVNode as h, toDisplayString as I, renderSlot as V } from "vue";
|
|
2
|
-
import { y as k, _ as F } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
3
|
-
import { R as S } from "./reload-
|
|
4
|
-
import { B as $ } from "./Button-
|
|
2
|
+
import { y as k, _ as F } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js";
|
|
3
|
+
import { R as S } from "./reload-BVbCGubF.js";
|
|
4
|
+
import { B as $ } from "./Button-BzZgjDcV.js";
|
|
5
5
|
const x = /* @__PURE__ */ u({
|
|
6
6
|
__name: "DynamicIcon",
|
|
7
7
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as s, toRef as l, openBlock as a, createBlock as r, mergeProps as i, 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-D12PcddT.js";
|
|
3
|
+
import { T as u } from "./TwinlistControlBase-Dam1VsbM.js";
|
|
4
4
|
const y = /* @__PURE__ */ s({
|
|
5
5
|
__name: "SimpleTwinlistControl",
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as v, computed as r, openBlock as I, createBlock as y } from "vue";
|
|
2
|
-
import { u as F } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
3
|
-
import { L as P } from "./LoadingDropdown-
|
|
2
|
+
import { u as F } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js";
|
|
3
|
+
import { L as P } from "./LoadingDropdown-CxqiKfdN.js";
|
|
4
4
|
const i = "__special__", a = "__regular__", B = /* @__PURE__ */ v({
|
|
5
5
|
__name: "SingleSelectControl",
|
|
6
6
|
props: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { openBlock as C, createElementBlock as S, createElementVNode as
|
|
2
|
-
import { q as
|
|
1
|
+
import { openBlock as C, createElementBlock as S, createElementVNode as k, defineComponent as W, computed as V, ref as F, watch as q, Fragment as z, createVNode as c, withKeys as B, withModifiers as M, unref as p, withCtx as f, nextTick as re, onMounted as ie, createTextVNode as $, renderSlot as H, normalizeClass as ue } from "vue";
|
|
2
|
+
import { q as E, _ as Y, u as de, L as ce, E as me } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js";
|
|
3
3
|
import { i as pe } from "./navigator-D_R-txCf.js";
|
|
4
|
-
import { M as fe } from "./MultiselectListBox-
|
|
5
|
-
import { g as
|
|
6
|
-
import { b as
|
|
7
|
-
import { b as
|
|
8
|
-
import { i as
|
|
9
|
-
import { c as
|
|
10
|
-
import { B as N } from "./Button-
|
|
4
|
+
import { M as fe } from "./MultiselectListBox-DwBSUb9V.js";
|
|
5
|
+
import { g as ve } from "./_getTag-DwDUrDKD.js";
|
|
6
|
+
import { b as we } from "./_baseEach-D8bWEfeT.js";
|
|
7
|
+
import { b as be } from "./_baseIteratee-c38lvCZS.js";
|
|
8
|
+
import { i as he } from "./isArray-WzO_os3q.js";
|
|
9
|
+
import { c as ge } from "./createMissingItem-B00Kg95q.js";
|
|
10
|
+
import { B as N } from "./Button-BzZgjDcV.js";
|
|
11
11
|
const R = {
|
|
12
12
|
ArrowUp: "↑",
|
|
13
13
|
ArrowDown: "↓",
|
|
@@ -17,7 +17,7 @@ const R = {
|
|
|
17
17
|
" ": "Space",
|
|
18
18
|
// we use event.key and there space is an actual space not the code "Space"
|
|
19
19
|
CtrlOrCmd: "Ctrl"
|
|
20
|
-
},
|
|
20
|
+
}, Ve = {
|
|
21
21
|
Shift: "⇧",
|
|
22
22
|
Delete: "⌫",
|
|
23
23
|
CtrlOrCmd: "⌘",
|
|
@@ -25,15 +25,15 @@ const R = {
|
|
|
25
25
|
Alt: "⌥",
|
|
26
26
|
Enter: "↩"
|
|
27
27
|
}, G = (t) => {
|
|
28
|
-
const e = (i) => (r) => i[r] ?? r, a = ((...i) => i.reduce((r,
|
|
29
|
-
e(
|
|
28
|
+
const e = (i) => (r) => i[r] ?? r, a = ((...i) => i.reduce((r, w) => (_) => w(r(_))))(
|
|
29
|
+
e(Ve),
|
|
30
30
|
e(R)
|
|
31
31
|
), s = e(R);
|
|
32
32
|
return pe() ? a(t) : s(t);
|
|
33
|
-
}, J = () => " ",
|
|
33
|
+
}, J = () => " ", ke = (t, e = J) => t.map(G).join(e()), _e = { formatHotkeys: ke, formatHotkey: G, getDefaultSeparator: J };
|
|
34
34
|
var Z = function() {
|
|
35
35
|
try {
|
|
36
|
-
var t =
|
|
36
|
+
var t = ve(Object, "defineProperty");
|
|
37
37
|
return t({}, "", {}), t;
|
|
38
38
|
} catch {
|
|
39
39
|
}
|
|
@@ -72,14 +72,14 @@ function ye(t, e, o, a) {
|
|
|
72
72
|
return a;
|
|
73
73
|
}
|
|
74
74
|
function Le(t, e, o, a) {
|
|
75
|
-
return
|
|
75
|
+
return we(t, function(s, i, r) {
|
|
76
76
|
e(a, s, o(s), r);
|
|
77
77
|
}), a;
|
|
78
78
|
}
|
|
79
79
|
function Q(t, e) {
|
|
80
80
|
return function(o, a) {
|
|
81
|
-
var s =
|
|
82
|
-
return s(o, t,
|
|
81
|
+
var s = he(o) ? ye : Le, i = e ? e() : {};
|
|
82
|
+
return s(o, t, be(a), i);
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
function X(t, e, o) {
|
|
@@ -102,36 +102,36 @@ const Me = {
|
|
|
102
102
|
stroke: "#000",
|
|
103
103
|
"stroke-linejoin": "round",
|
|
104
104
|
viewBox: "0 0 32 32"
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
]
|
|
108
|
-
|
|
109
|
-
|
|
105
|
+
};
|
|
106
|
+
function Ee(t, e) {
|
|
107
|
+
return C(), S("svg", Me, e[0] || (e[0] = [
|
|
108
|
+
k("path", { d: "m27 17.1-11 11-11-11m11 11V3.9" }, null, -1)
|
|
109
|
+
]));
|
|
110
110
|
}
|
|
111
|
-
const
|
|
111
|
+
const Te = { render: Ee }, $e = {
|
|
112
112
|
xmlns: "http://www.w3.org/2000/svg",
|
|
113
113
|
fill: "none",
|
|
114
114
|
stroke: "#000",
|
|
115
115
|
viewBox: "0 0 32 32"
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
]
|
|
119
|
-
|
|
120
|
-
|
|
116
|
+
};
|
|
117
|
+
function Ne(t, e) {
|
|
118
|
+
return C(), S("svg", $e, e[0] || (e[0] = [
|
|
119
|
+
k("path", { d: "M23.4 13.4 16 20.8l-7.4-7.4m7.4 7.4V4.5m12.5 23h-25" }, null, -1)
|
|
120
|
+
]));
|
|
121
121
|
}
|
|
122
|
-
const j = { render:
|
|
122
|
+
const j = { render: Ne }, Fe = {
|
|
123
123
|
xmlns: "http://www.w3.org/2000/svg",
|
|
124
124
|
fill: "none",
|
|
125
125
|
stroke: "#000",
|
|
126
126
|
"stroke-linejoin": "round",
|
|
127
127
|
viewBox: "0 0 32 32"
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
]
|
|
131
|
-
|
|
132
|
-
|
|
128
|
+
};
|
|
129
|
+
function Ke(t, e) {
|
|
130
|
+
return C(), S("svg", Fe, e[0] || (e[0] = [
|
|
131
|
+
k("path", { d: "m5 14.9 11-11 11 11m-11-11v24.2" }, null, -1)
|
|
132
|
+
]));
|
|
133
133
|
}
|
|
134
|
-
const
|
|
134
|
+
const De = { render: Ke }, Pe = { class: "buttons" }, Oe = /* @__PURE__ */ W({
|
|
135
135
|
__name: "SortList",
|
|
136
136
|
props: {
|
|
137
137
|
modelValue: {},
|
|
@@ -142,112 +142,112 @@ const je = { render: Ze }, We = { class: "buttons" }, qe = /* @__PURE__ */ W({
|
|
|
142
142
|
},
|
|
143
143
|
emits: ["update:modelValue"],
|
|
144
144
|
setup(t, { emit: e }) {
|
|
145
|
-
const o = t, a = e, s =
|
|
145
|
+
const o = t, a = e, s = V(() => Ue(o.possibleValues, "id")), i = V(
|
|
146
146
|
() => o.modelValue.map(
|
|
147
|
-
(l) => s.value[l] ??
|
|
147
|
+
(l) => s.value[l] ?? ge(l)
|
|
148
148
|
)
|
|
149
149
|
), r = F([]);
|
|
150
150
|
q(
|
|
151
151
|
() => o.modelValue,
|
|
152
152
|
(l) => {
|
|
153
|
-
const
|
|
154
|
-
r.value = r.value.filter((
|
|
153
|
+
const d = new Set(l);
|
|
154
|
+
r.value = r.value.filter((m) => d.has(m));
|
|
155
155
|
}
|
|
156
156
|
);
|
|
157
|
-
const
|
|
158
|
-
l.slice(0,
|
|
159
|
-
l.slice(
|
|
160
|
-
l.slice(
|
|
157
|
+
const w = V(() => r.value.length === 0), _ = (l, d, m) => [
|
|
158
|
+
l.slice(0, d),
|
|
159
|
+
l.slice(d, m),
|
|
160
|
+
l.slice(m)
|
|
161
161
|
], I = (l) => {
|
|
162
|
-
let
|
|
163
|
-
return (
|
|
164
|
-
}, y = (l,
|
|
162
|
+
let d = 0;
|
|
163
|
+
return (m) => l(m, d++);
|
|
164
|
+
}, y = (l, d) => Be(
|
|
165
165
|
l,
|
|
166
|
-
I((
|
|
167
|
-
), n = F(null),
|
|
168
|
-
const
|
|
166
|
+
I((m, g) => d(g))
|
|
167
|
+
), n = F(null), u = (l) => ({ to: d } = {}) => {
|
|
168
|
+
const m = r.value.map((h) => X(o.modelValue, h)).sort((h, U) => h - U), g = (l === "up" ? d : null) ?? Math.max(m[0] - 1, 0), T = (l === "down" ? d : null) ?? m[m.length - 1] + 1, [ee, te, oe] = _(
|
|
169
169
|
o.modelValue,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
), ne = new Set(
|
|
170
|
+
g,
|
|
171
|
+
T + 1
|
|
172
|
+
), ne = new Set(m), [K, D] = y(
|
|
173
173
|
te,
|
|
174
|
-
(
|
|
174
|
+
(h) => ne.has(h + g)
|
|
175
175
|
), [le, se] = l === "up" ? [K, D] : [D, K], ae = ee.concat(le, se, oe);
|
|
176
176
|
a("update:modelValue", ae), re(() => {
|
|
177
|
-
var
|
|
178
|
-
l === "up" ? ((
|
|
177
|
+
var h, U, P, O;
|
|
178
|
+
l === "up" ? ((h = n.value) == null || h.scrollUpIntoView(g - 1), (U = n.value) == null || U.setCurrentKeyNavIndex(g)) : ((P = n.value) == null || P.scrollDownIntoView(T + 1), (O = n.value) == null || O.setCurrentKeyNavIndex(T));
|
|
179
179
|
});
|
|
180
|
-
},
|
|
181
|
-
return (l,
|
|
182
|
-
|
|
180
|
+
}, v = u("up"), x = u("down"), L = () => v({ to: 0 }), A = () => x({ to: o.modelValue.length }), b = (l, d) => `${l} (${_e.formatHotkeys(d)})`;
|
|
181
|
+
return (l, d) => (C(), S(z, null, [
|
|
182
|
+
c(fe, {
|
|
183
183
|
id: l.id,
|
|
184
184
|
ref_key: "listBox",
|
|
185
185
|
ref: n,
|
|
186
186
|
modelValue: r.value,
|
|
187
|
-
"onUpdate:modelValue":
|
|
187
|
+
"onUpdate:modelValue": d[0] || (d[0] = (m) => r.value = m),
|
|
188
188
|
"possible-values": i.value,
|
|
189
189
|
ariaLabel: `sortListBox_${l.ariaLabel}`,
|
|
190
190
|
"with-is-empty-state": !0,
|
|
191
191
|
"empty-state-label": "Empty",
|
|
192
192
|
size: 10,
|
|
193
193
|
onKeydown: [
|
|
194
|
-
B(M(
|
|
195
|
-
B(M(
|
|
194
|
+
B(M(p(x), ["alt"]), ["down"]),
|
|
195
|
+
B(M(p(v), ["alt"]), ["up"]),
|
|
196
196
|
B(M(L, ["alt"]), ["home"]),
|
|
197
197
|
B(M(A, ["alt"]), ["end"])
|
|
198
198
|
]
|
|
199
199
|
}, null, 8, ["id", "modelValue", "possible-values", "ariaLabel", "onKeydown"]),
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
disabled:
|
|
203
|
-
title:
|
|
200
|
+
k("div", Pe, [
|
|
201
|
+
c(E, {
|
|
202
|
+
disabled: w.value,
|
|
203
|
+
title: b("Move to top", ["Alt", "Home"]),
|
|
204
204
|
compact: "",
|
|
205
205
|
onClick: L
|
|
206
206
|
}, {
|
|
207
207
|
default: f(() => [
|
|
208
|
-
|
|
208
|
+
c(p(j), { class: "rotated" })
|
|
209
209
|
]),
|
|
210
210
|
_: 1
|
|
211
211
|
}, 8, ["disabled", "title"]),
|
|
212
|
-
|
|
213
|
-
disabled:
|
|
214
|
-
title:
|
|
212
|
+
c(E, {
|
|
213
|
+
disabled: w.value,
|
|
214
|
+
title: b("Move to bottom", ["Alt", "End"]),
|
|
215
215
|
compact: "",
|
|
216
216
|
onClick: A
|
|
217
217
|
}, {
|
|
218
218
|
default: f(() => [
|
|
219
|
-
|
|
219
|
+
c(p(j))
|
|
220
220
|
]),
|
|
221
221
|
_: 1
|
|
222
222
|
}, 8, ["disabled", "title"]),
|
|
223
|
-
|
|
224
|
-
disabled:
|
|
225
|
-
title:
|
|
223
|
+
c(E, {
|
|
224
|
+
disabled: w.value,
|
|
225
|
+
title: b("Move up", ["Alt", "ArrowUp"]),
|
|
226
226
|
compact: "",
|
|
227
|
-
onClick:
|
|
227
|
+
onClick: p(v)
|
|
228
228
|
}, {
|
|
229
229
|
default: f(() => [
|
|
230
|
-
|
|
230
|
+
c(p(De))
|
|
231
231
|
]),
|
|
232
232
|
_: 1
|
|
233
233
|
}, 8, ["disabled", "title", "onClick"]),
|
|
234
|
-
|
|
235
|
-
disabled:
|
|
236
|
-
title:
|
|
234
|
+
c(E, {
|
|
235
|
+
disabled: w.value,
|
|
236
|
+
title: b("Move down", ["Alt", "ArrowDown"]),
|
|
237
237
|
compact: "",
|
|
238
|
-
onClick:
|
|
238
|
+
onClick: p(x)
|
|
239
239
|
}, {
|
|
240
240
|
default: f(() => [
|
|
241
|
-
|
|
241
|
+
c(p(Te))
|
|
242
242
|
]),
|
|
243
243
|
_: 1
|
|
244
244
|
}, 8, ["disabled", "title", "onClick"])
|
|
245
245
|
])
|
|
246
246
|
], 64));
|
|
247
247
|
}
|
|
248
|
-
}),
|
|
249
|
-
class: /* @__PURE__ */
|
|
250
|
-
},
|
|
248
|
+
}), He = /* @__PURE__ */ Y(Oe, [["__scopeId", "data-v-116782be"]]), Re = {
|
|
249
|
+
class: /* @__PURE__ */ ue(["flex", "space-between"])
|
|
250
|
+
}, Ze = { class: "flex" }, je = "<any unknown new column>", We = /* @__PURE__ */ W({
|
|
251
251
|
__name: "SortListControl",
|
|
252
252
|
props: {
|
|
253
253
|
control: {},
|
|
@@ -258,13 +258,13 @@ const je = { render: Ze }, We = { class: "buttons" }, qe = /* @__PURE__ */ W({
|
|
|
258
258
|
isValid: { type: Boolean },
|
|
259
259
|
messages: {},
|
|
260
260
|
onRegisterValidation: {},
|
|
261
|
-
anyUnknownValuesId: { default:
|
|
261
|
+
anyUnknownValuesId: { default: je },
|
|
262
262
|
anyUnknownValuesText: { default: "Any unknown column" }
|
|
263
263
|
},
|
|
264
264
|
setup(t) {
|
|
265
|
-
const e = t, o =
|
|
265
|
+
const e = t, o = V(() => e.control.data), a = V(
|
|
266
266
|
() => e.control.uischema.options.choicesProvider
|
|
267
|
-
), s =
|
|
267
|
+
), s = de(a, e.control.uischema.options.possibleValues ?? []), i = V(
|
|
268
268
|
() => s.value.concat({
|
|
269
269
|
id: e.anyUnknownValuesId,
|
|
270
270
|
text: e.anyUnknownValuesText,
|
|
@@ -275,70 +275,70 @@ const je = { render: Ze }, We = { class: "buttons" }, qe = /* @__PURE__ */ W({
|
|
|
275
275
|
I();
|
|
276
276
|
return;
|
|
277
277
|
}
|
|
278
|
-
const
|
|
279
|
-
if (
|
|
278
|
+
const u = X(o.value, e.anyUnknownValuesId);
|
|
279
|
+
if (u === -1)
|
|
280
280
|
throw new Error(
|
|
281
281
|
`SortList data have to contain the value "${e.anyUnknownValuesId}"`
|
|
282
282
|
);
|
|
283
|
-
const
|
|
284
|
-
A.length > 0 && e.changeValue(
|
|
283
|
+
const v = o.value.slice(0, u + 1), x = o.value.slice(u + 1), L = new Set(o.value), A = n.map(({ id: b }) => b).filter((b) => !L.has(b));
|
|
284
|
+
A.length > 0 && e.changeValue(v.concat(A, x));
|
|
285
285
|
};
|
|
286
286
|
ie(() => {
|
|
287
287
|
r(s.value);
|
|
288
288
|
}), q(() => s.value, r);
|
|
289
|
-
const
|
|
290
|
-
e.changeValue(o.value.toSorted((n,
|
|
291
|
-
},
|
|
292
|
-
e.changeValue(o.value.toSorted((n,
|
|
289
|
+
const w = () => {
|
|
290
|
+
e.changeValue(o.value.toSorted((n, u) => n.localeCompare(u)));
|
|
291
|
+
}, _ = () => {
|
|
292
|
+
e.changeValue(o.value.toSorted((n, u) => u.localeCompare(n)));
|
|
293
293
|
}, I = () => {
|
|
294
294
|
e.changeValue(i.value.map(({ id: n }) => n));
|
|
295
295
|
}, y = F(null);
|
|
296
|
-
return (n,
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
296
|
+
return (n, u) => (C(), S(z, null, [
|
|
297
|
+
k("div", Re, [
|
|
298
|
+
k("div", Ze, [
|
|
299
|
+
c(p(N), {
|
|
300
300
|
"with-border": "",
|
|
301
301
|
compact: "",
|
|
302
|
-
onClick:
|
|
302
|
+
onClick: w
|
|
303
303
|
}, {
|
|
304
|
-
default: f(() => [
|
|
305
|
-
|
|
306
|
-
]),
|
|
304
|
+
default: f(() => u[0] || (u[0] = [
|
|
305
|
+
$("A - Z")
|
|
306
|
+
])),
|
|
307
307
|
_: 1
|
|
308
308
|
}),
|
|
309
|
-
|
|
309
|
+
c(p(N), {
|
|
310
310
|
"with-border": "",
|
|
311
311
|
compact: "",
|
|
312
|
-
onClick:
|
|
312
|
+
onClick: _
|
|
313
313
|
}, {
|
|
314
|
-
default: f(() => [
|
|
315
|
-
|
|
316
|
-
]),
|
|
314
|
+
default: f(() => u[1] || (u[1] = [
|
|
315
|
+
$("Z - A")
|
|
316
|
+
])),
|
|
317
317
|
_: 1
|
|
318
318
|
})
|
|
319
319
|
]),
|
|
320
|
-
|
|
320
|
+
c(p(N), {
|
|
321
321
|
"with-border": "",
|
|
322
322
|
compact: "",
|
|
323
323
|
onClick: I
|
|
324
324
|
}, {
|
|
325
|
-
default: f(() => [
|
|
326
|
-
|
|
327
|
-
]),
|
|
325
|
+
default: f(() => u[2] || (u[2] = [
|
|
326
|
+
$("Reset all")
|
|
327
|
+
])),
|
|
328
328
|
_: 1
|
|
329
329
|
})
|
|
330
330
|
]),
|
|
331
|
-
|
|
331
|
+
c(ce, {
|
|
332
332
|
label: n.control.label,
|
|
333
333
|
onControllingFlowVariableSet: n.changeValue
|
|
334
334
|
}, {
|
|
335
|
-
default: f(({ labelForId:
|
|
336
|
-
|
|
335
|
+
default: f(({ labelForId: v }) => [
|
|
336
|
+
c(me, {
|
|
337
337
|
errors: n.messages.errors
|
|
338
338
|
}, {
|
|
339
339
|
default: f(() => [
|
|
340
|
-
|
|
341
|
-
id:
|
|
340
|
+
c(p(He), {
|
|
341
|
+
id: v ?? void 0,
|
|
342
342
|
ref_key: "controlElement",
|
|
343
343
|
ref: y,
|
|
344
344
|
"possible-values": i.value,
|
|
@@ -354,9 +354,9 @@ const je = { render: Ze }, We = { class: "buttons" }, qe = /* @__PURE__ */ W({
|
|
|
354
354
|
icon: f(() => [
|
|
355
355
|
H(n.$slots, "icon", {}, void 0, !0)
|
|
356
356
|
]),
|
|
357
|
-
buttons: f(({ hover:
|
|
357
|
+
buttons: f(({ hover: v }) => [
|
|
358
358
|
H(n.$slots, "buttons", {
|
|
359
|
-
hover:
|
|
359
|
+
hover: v,
|
|
360
360
|
controlHTMLElement: y.value
|
|
361
361
|
}, void 0, !0)
|
|
362
362
|
]),
|
|
@@ -364,8 +364,8 @@ const je = { render: Ze }, We = { class: "buttons" }, qe = /* @__PURE__ */ W({
|
|
|
364
364
|
}, 8, ["label", "onControllingFlowVariableSet"])
|
|
365
365
|
], 64));
|
|
366
366
|
}
|
|
367
|
-
}),
|
|
367
|
+
}), nt = /* @__PURE__ */ Y(We, [["__scopeId", "data-v-a6dc87f4"]]);
|
|
368
368
|
export {
|
|
369
|
-
|
|
370
|
-
|
|
369
|
+
je as DEFAULT_ANY_UNKNOWN_VALUES_ID,
|
|
370
|
+
nt as default
|
|
371
371
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as a, createElementBlock as o, normalizeClass as r, createElementVNode as u, mergeProps as c, createCommentVNode as m, defineComponent as p, createBlock as f, unref as V } from "vue";
|
|
2
|
-
import { _ as i } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { _ as i } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js";
|
|
3
3
|
const y = {
|
|
4
4
|
name: "TextArea",
|
|
5
5
|
props: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as k, ref as y, computed as m, openBlock as d, createBlock as i, withCtx as t, unref as r, normalizeProps as E, mergeProps as B, createCommentVNode as u, createVNode as F, renderSlot as h } from "vue";
|
|
2
|
-
import { u as L, L as P, E as w } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
3
|
-
import { u as N } from "./useBuiltinValidations-
|
|
2
|
+
import { u as L, L as P, E as w } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js";
|
|
3
|
+
import { u as N } from "./useBuiltinValidations-BsKhdvbW.js";
|
|
4
4
|
import { u as $ } from "./useHideOnNull-CCfNP3O7.js";
|
|
5
|
-
import { C as H } from "./Checkbox-
|
|
6
|
-
import { I } from "./InputField-
|
|
5
|
+
import { C as H } from "./Checkbox-C_i21GaA.js";
|
|
6
|
+
import { I } from "./InputField-BF7vTszr.js";
|
|
7
7
|
const z = /* @__PURE__ */ k({
|
|
8
8
|
__name: "TextControl",
|
|
9
9
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as r, computed as s, openBlock as m, createBlock as u, unref as l } from "vue";
|
|
2
|
-
import { D as p } from "./DateTimeInput-
|
|
3
|
-
import { l as a } from "./localTimeUtils-
|
|
2
|
+
import { D as p } from "./DateTimeInput-BSUVtZ_C.js";
|
|
3
|
+
import { l as a } from "./localTimeUtils-Bpn7Hjtc.js";
|
|
4
4
|
const g = /* @__PURE__ */ r({
|
|
5
5
|
__name: "TimeControl",
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as t, markRaw as d, toRef as p, openBlock as r, createBlock as u, unref as l } from "vue";
|
|
2
|
-
import { a as m } from "./usePossibleValues-
|
|
3
|
-
import { T as b, a as c } from "./TwinlistLoadingInfo-
|
|
4
|
-
import { _ as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { a as m } from "./usePossibleValues-D12PcddT.js";
|
|
3
|
+
import { T as b, a as c } from "./TwinlistLoadingInfo-y6JvMoCY.js";
|
|
4
|
+
import { _ as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js";
|
|
5
5
|
const h = /* @__PURE__ */ t({
|
|
6
6
|
__name: "TwinlistControlBase",
|
|
7
7
|
props: {
|