@knime/jsonforms 1.6.10 → 1.7.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 +22 -0
- package/dist/AnyOfTwinlist-D7gkxtYi.js +22 -0
- package/dist/{BaseButton-DRXubmlD.js → BaseButton-nH3iSIOK.js} +1 -1
- package/dist/{Button-nRJkSaBC.js → Button-DnQZFkaO.js} +2 -2
- package/dist/{Checkbox-bWqzeYko.js → Checkbox-DB9YeQa-.js} +1 -1
- package/dist/{CheckboxControl-B4kwAvLf.js → CheckboxControl-hkHWMBsv.js} +2 -2
- package/dist/{Checkboxes-C0WemzK0.js → Checkboxes-C_qM6Iao.js} +2 -2
- package/dist/{CheckboxesControl-BcBsTMGJ.js → CheckboxesControl-DRNda60A.js} +3 -3
- package/dist/{ComboBoxControl-Dz4VWUbr.js → ComboBoxControl-Dd0UZdMx.js} +77 -89
- package/dist/{DateControl-DvPEzSbD.js → DateControl-BmqofCSf.js} +1 -1
- package/dist/{DateTimeControl-Buq_H47Q.js → DateTimeControl-B7uvqC1s.js} +2 -2
- package/dist/{DateTimeFormatInput-BLX9j412.js → DateTimeFormatInput-CsEAVqAA.js} +3 -3
- package/dist/{DateTimeFormatPickerControl-CQi49UrA.js → DateTimeFormatPickerControl-BK80kZf0.js} +2 -2
- package/dist/{DateTimeFormatPickerWithTypeControl-BcK2N4NI.js → DateTimeFormatPickerWithTypeControl-CS8APLBp.js} +3 -3
- package/dist/{DateTimeInput-C5Oyw-Bz.js → DateTimeInput-DP2yHD9r.js} +14 -13
- package/dist/{Dropdown-CIDjugP6.js → Dropdown-D8qp_4wZ.js} +30 -29
- package/dist/DropdownControl-B2fs1yBj.js +84 -0
- package/dist/{FunctionButton-6rf73qNS.js → FunctionButton-Bo0NcfGh.js} +2 -2
- package/dist/{HorizontalLayout-Bq5hSQkC.js → HorizontalLayout-Bg5vYcO1.js} +1 -1
- package/dist/{InputField-BZzeUMVs.js → InputField-DRLCzzDf.js} +1 -1
- package/dist/{IntegerControl-DtEJ9jaq.js → IntegerControl-HLRox7w7.js} +1 -1
- package/dist/{IntervalControl-uNaB8SlU.js → IntervalControl-D-xUIRW3.js} +4 -4
- package/dist/LoadingDropdown-DkxltiwQ.js +40 -0
- package/dist/MultimodeTwinlistControl-CV2v4Y5n.js +526 -0
- package/dist/{MultiselectListBox-B0o19vqK.js → MultiselectListBox-BFQxtoyR.js} +1 -1
- package/dist/{NameFilter-C24OdpHy.js → NameFilter-BxfjNVu-.js} +1 -1
- package/dist/{NumberControl-BGSO6wof.js → NumberControl-Df91UAXl.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-B7TqcQCe.js → NumberControlBase.vue_vue_type_script_setup_true_lang-DLqtcp04.js} +2 -2
- package/dist/{NumberInput-DCbMtXhN.js → NumberInput-BLlTeOig.js} +1 -1
- package/dist/OneOfDropdown-CLPbmMt7.js +34 -0
- package/dist/{RadioControl-1ymKFtE9.js → RadioControl-CDi8WbsE.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-CplSbUri.js → RadioControlBase.vue_vue_type_script_setup_true_lang-B6clHvd5.js} +3 -3
- package/dist/{RichTextControl-IMoFZ4yN.js → RichTextControl-YMNSyY3O.js} +6 -6
- package/dist/{SectionHeading-C9ojqc26.js → SectionHeading-D8h1zy67.js} +1 -1
- package/dist/{SectionLayout-CG6GUoC4.js → SectionLayout-DBiG5Ubc.js} +3 -3
- package/dist/{SettingsSubPanel-D2qmyQRj.js → SettingsSubPanel--LD_hsgG.js} +2 -2
- package/dist/{SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BKc2bf4r.js → SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js} +439 -442
- package/dist/{SettingsSubPanelLayout-C4jPUZqS.js → SettingsSubPanelLayout-By5U2J68.js} +5 -5
- package/dist/{SimpleButtonControl-CZXA-sOd.js → SimpleButtonControl-B47jBtrM.js} +6 -6
- package/dist/SimpleTwinlistControl-DoRJkKPs.js +22 -0
- package/dist/SingleSelectControl-zE9ck9JX.js +58 -0
- package/dist/SortListControl-C5DXqqPG.js +372 -0
- package/dist/{TextAreaControl-CAj56e3W.js → TextAreaControl-D2-nyO1m.js} +1 -1
- package/dist/{TextControl-_Wx3rzZd.js → TextControl-Ss9_5V2f.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-BlZ-3BwP.js → TextControl.vue_vue_type_script_setup_true_lang-DaEoFVBw.js} +4 -4
- package/dist/{TimeControl-B-xivFCg.js → TimeControl-CblSq-0a.js} +2 -2
- package/dist/TwinlistControlBase-Xe8xQAyG.js +40 -0
- package/dist/{TwinlistLoadingInfo-BGRl50bt.js → TwinlistLoadingInfo-BHhpo_7N.js} +12 -11
- package/dist/TypedNameFilter-N2eeG2VM.js +25 -0
- package/dist/{ValueSwitch-ChvWwn2P.js → ValueSwitch-BI5z5U3F.js} +1 -1
- package/dist/{ValueSwitchControl-BIi3Dylq.js → ValueSwitchControl-CixwDXQs.js} +1 -1
- package/dist/{VerticalLayout-fN3TpOhN.js → VerticalLayout-B8RzC8Vj.js} +2 -2
- package/dist/{VerticalLayoutBase-Ci94-Lwd.js → VerticalLayoutBase-Bj_upYbt.js} +1 -1
- package/dist/{ZonedDateTimeControl-Cqki5Y3R.js → ZonedDateTimeControl-CZdpjJEK.js} +4 -4
- package/dist/_baseEach-FP8ISlsz.js +31 -0
- package/dist/_baseIteratee-DhaGkQLM.js +518 -0
- package/dist/_getTag-DiktJuv_.js +132 -0
- package/dist/index-Blg1O3Fz.js +15 -0
- package/dist/isArray-WzO_os3q.js +4 -0
- package/dist/isObjectLike-BatpeCIi.js +29 -0
- package/dist/isSymbol-C3_SC0Qp.js +8 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +8 -8
- package/dist/{localTimeUtils-xLrZjUnt.js → localTimeUtils-Dp9bEJDh.js} +1 -1
- package/dist/{magic-string.es-lf2rq-mj.js → magic-string.es-CeNBRh1A.js} +1 -1
- package/dist/src/constants/inputFormats.d.ts +2 -2
- package/dist/src/renderers/defaultRenderers.d.ts +24 -589
- package/dist/src/renderers/dropdownRenderer.d.ts +55 -115
- package/dist/src/renderers/fallbackRenderers.d.ts +1 -241
- package/dist/src/renderers/nameFilterRenderer.d.ts +1 -1
- package/dist/src/renderers/singleSelectRenderer.d.ts +8 -0
- package/dist/src/renderers/sortListRenderer.d.ts +0 -8
- package/dist/src/renderers/twinlistRenderer.d.ts +1 -1
- package/dist/src/renderers/typedNameFilterRenderer.d.ts +1 -0
- package/dist/src/types/ChoicesUiSchema.d.ts +7 -12
- package/dist/src/types/provided.d.ts +0 -2
- package/dist/src/uiComponents/DropdownControl.vue.d.ts +2 -86
- package/dist/src/uiComponents/OneOfDropdown.vue.d.ts +2 -13
- package/dist/src/uiComponents/SingleSelectControl.vue.d.ts +20 -0
- package/dist/src/uiComponents/SortListControl.vue.d.ts +4 -4
- package/dist/src/uiComponents/composables/usePossibleValues.d.ts +24 -0
- package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +1 -1
- package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +2 -99
- package/dist/src/uiComponents/twinlist/TwinlistControlBase.vue.d.ts +36 -0
- package/dist/src/uiComponents/twinlist/{ColumnFilter.vue.d.ts → TypedNameFilter.vue.d.ts} +1 -1
- package/dist/src/uiComponents/twinlist/useUnknownValuesInTwinlist.d.ts +1 -1
- package/dist/src/utils/index.d.ts +0 -2
- package/dist/{svgWithTitle-CS5C7Mz8.js → svgWithTitle-B5FsAPop.js} +1 -1
- package/dist/testUtils/component.d.ts +4 -0
- package/dist/testing.js +80 -63
- package/dist/toString-B9O7P854.js +26 -0
- package/dist/{useBuiltinValidations-yPAysvI4.js → useBuiltinValidations-8VwUv3RT.js} +1 -1
- package/dist/usePossibleValues-CrNcBbpN.js +26 -0
- package/package.json +5 -5
- package/dist/AnyOfTwinlist-D6jRLlC9.js +0 -22
- package/dist/ColumnFilter-BSW3HQiz.js +0 -24
- package/dist/ColumnSelect-BT6NX4nN.js +0 -68
- package/dist/DropdownControl-CRr853C_.js +0 -4
- package/dist/DropdownControl.vue_vue_type_script_setup_true_lang-C56gUC45.js +0 -237
- package/dist/OneOfDropdown-oecnOh5j.js +0 -35
- package/dist/SimpleTwinlistControl-DQeky-AX.js +0 -50
- package/dist/SortListControl-D4yMhrbk.js +0 -366
- package/dist/TwinlistControl-BZaEVT9H.js +0 -554
- package/dist/_baseAssignValue-BPMLYzDH.js +0 -19
- package/dist/_baseEach-B8N_Gx8P.js +0 -31
- package/dist/_baseIsEqual-DmkT9Nkc.js +0 -248
- package/dist/_baseIteratee-DvBmrhnf.js +0 -104
- package/dist/_getTag-DS8v0_uf.js +0 -312
- package/dist/getPossibleValuesFromUiSchema-hQj1TCOR.js +0 -39
- package/dist/index-hm05O8UX.js +0 -16
- package/dist/isSymbol-OFe5xy2f.js +0 -34
- package/dist/src/renderers/columnFilterRenderer.d.ts +0 -1
- package/dist/src/renderers/columnSelectRenderer.d.ts +0 -265
- package/dist/src/uiComponents/ColumnSelect.vue.d.ts +0 -26
- package/dist/src/utils/getPossibleValuesFromUiSchema.d.ts +0 -10
- package/dist/toString-DkbNkGT4.js +0 -25
- /package/dist/src/uiComponents/twinlist/{TwinlistControl.vue.d.ts → MultimodeTwinlistControl.vue.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @knime/json-forms
|
|
2
2
|
|
|
3
|
+
## 1.7.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [4bda98c]
|
|
8
|
+
- @knime/styles@1.4.0
|
|
9
|
+
- @knime/components@1.24.2
|
|
10
|
+
- @knime/rich-text-editor@1.4.2
|
|
11
|
+
- @knime/utils@1.3.3
|
|
12
|
+
|
|
13
|
+
## 1.7.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- 28e1942: Introduce SingleSelection jsonforms control. Therefore remove special choices handling from other choices controls.
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [803a5b9]
|
|
22
|
+
- @knime/components@1.24.1
|
|
23
|
+
- @knime/rich-text-editor@1.4.1
|
|
24
|
+
|
|
3
25
|
## 1.6.10
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineComponent as s, openBlock as t, createBlock as p, mergeProps as a, unref as l } from "vue";
|
|
2
|
+
import { o as r } from "./index-Blg1O3Fz.js";
|
|
3
|
+
import { T as i } from "./TwinlistControlBase-Xe8xQAyG.js";
|
|
4
|
+
const y = /* @__PURE__ */ s({
|
|
5
|
+
__name: "AnyOfTwinlist",
|
|
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(o) {
|
|
16
|
+
const e = o.control.schema.anyOf.map(r);
|
|
17
|
+
return (n, u) => (t(), p(i, a(n.$props, { "possible-values": l(e) }), null, 16, ["possible-values"]));
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
export {
|
|
21
|
+
y as default
|
|
22
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, useSlots as l, h as a, getCurrentInstance as c, openBlock as f, createBlock as p, resolveDynamicComponent as m, mergeProps as d, withCtx as h, renderSlot as C } from "vue";
|
|
2
|
-
import { _ as k } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-
|
|
2
|
+
import { _ as k } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
|
|
3
3
|
const u = () => {
|
|
4
4
|
const t = c();
|
|
5
5
|
return t == null ? void 0 : t.appContext.app;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as o, resolveComponent as a, openBlock as s, createBlock as n, normalizeClass as r, withCtx as l, renderSlot as d } from "vue";
|
|
2
|
-
import { B as i } from "./BaseButton-
|
|
3
|
-
import { _ as p } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-
|
|
2
|
+
import { B as i } from "./BaseButton-nH3iSIOK.js";
|
|
3
|
+
import { _ as p } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
|
|
4
4
|
const c = o({
|
|
5
5
|
name: "Button",
|
|
6
6
|
components: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as s, createElementBlock as i, normalizeClass as o, createElementVNode as d, renderSlot as c } from "vue";
|
|
2
|
-
import { _ as u } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-
|
|
2
|
+
import { _ as u } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
|
|
3
3
|
const r = {
|
|
4
4
|
name: "Checkbox",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as a, ref as r, openBlock as s, createElementBlock as d, createVNode as u, unref as i, withCtx as p, createTextVNode as c, toDisplayString as m, renderSlot as n } from "vue";
|
|
2
|
-
import { C as f } from "./Checkbox-
|
|
3
|
-
import { _ as v } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-
|
|
2
|
+
import { C as f } from "./Checkbox-DB9YeQa-.js";
|
|
3
|
+
import { _ as v } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
|
|
4
4
|
const b = /* @__PURE__ */ a({
|
|
5
5
|
__name: "CheckboxControl",
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as c } from "./Checkbox-
|
|
1
|
+
import { C as c } from "./Checkbox-DB9YeQa-.js";
|
|
2
2
|
import { resolveComponent as u, openBlock as l, createElementBlock as s, normalizeClass as f, Fragment as m, renderList as h, createBlock as p, withCtx as x, createTextVNode as b, toDisplayString as V } from "vue";
|
|
3
|
-
import { _ as y } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-
|
|
3
|
+
import { _ as y } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
|
|
4
4
|
const _ = {
|
|
5
5
|
name: "Checkboxes",
|
|
6
6
|
components: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as t, computed as s, ref as i, onMounted as c, openBlock as d, createBlock as r, unref as p, createCommentVNode as u } from "vue";
|
|
2
|
-
import { o as m } from "./index-
|
|
3
|
-
import { C as b } from "./Checkboxes-
|
|
4
|
-
import { _ as h } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-
|
|
2
|
+
import { o as m } from "./index-Blg1O3Fz.js";
|
|
3
|
+
import { C as b } from "./Checkboxes-C_qM6Iao.js";
|
|
4
|
+
import { _ as h } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
|
|
5
5
|
const f = /* @__PURE__ */ t({
|
|
6
6
|
__name: "CheckboxesControl",
|
|
7
7
|
props: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { resolveComponent as
|
|
2
|
-
import {
|
|
3
|
-
import { _ as E, u as H } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BKc2bf4r.js";
|
|
1
|
+
import { resolveComponent as f, openBlock as d, createElementBlock as V, normalizeClass as w, withKeys as r, withModifiers as a, renderSlot as E, createElementVNode as p, toDisplayString as g, createVNode as h, withDirectives as I, normalizeStyle as A, Fragment as k, renderList as D, createBlock as S, withCtx as O, createTextVNode as $, vShow as P, defineComponent as M, vModelText as R, ref as F, toRef as z, onMounted as U, computed as B, unref as N, createCommentVNode as L } from "vue";
|
|
2
|
+
import { u as H } from "./usePossibleValues-CrNcBbpN.js";
|
|
4
3
|
import { C as K } from "./close-h7XT0ja0.js";
|
|
5
|
-
import { F as j } from "./FunctionButton-
|
|
4
|
+
import { F as j } from "./FunctionButton-Bo0NcfGh.js";
|
|
6
5
|
/* empty css */
|
|
7
6
|
import { u as W } from "./index-Bf0xDq3g.js";
|
|
8
7
|
import { A as G } from "./arrow-dropdown-DjUxzjqC.js";
|
|
9
|
-
import { C as X } from "./Checkbox-
|
|
8
|
+
import { C as X } from "./Checkbox-DB9YeQa-.js";
|
|
9
|
+
import { _ as C } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
|
|
10
10
|
import { c as q } from "./createMissingItem-B00Kg95q.js";
|
|
11
11
|
const y = 1, J = 28.5, Q = 8, Y = {
|
|
12
12
|
name: "Multiselect",
|
|
@@ -240,56 +240,56 @@ const y = 1, J = 28.5, Q = 8, Y = {
|
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
}, Z = { key: 1 };
|
|
243
|
-
function _(e, t, i, n,
|
|
244
|
-
const
|
|
245
|
-
return d(),
|
|
243
|
+
function _(e, t, i, n, m, o) {
|
|
244
|
+
const c = f("DropdownIcon"), u = f("Checkbox");
|
|
245
|
+
return d(), V("div", {
|
|
246
246
|
ref: "multiselect",
|
|
247
|
-
class:
|
|
247
|
+
class: w(["multiselect", { collapsed: m.collapsed, invalid: !i.isValid, compact: i.compact }]),
|
|
248
248
|
onKeydown: [
|
|
249
|
-
t[2] || (t[2] =
|
|
250
|
-
t[3] || (t[3] =
|
|
251
|
-
t[4] || (t[4] =
|
|
249
|
+
t[2] || (t[2] = r((...s) => o.closeOptionsAndStop && o.closeOptionsAndStop(...s), ["esc"])),
|
|
250
|
+
t[3] || (t[3] = r(a((...s) => o.onUp && o.onUp(...s), ["stop", "prevent"]), ["up"])),
|
|
251
|
+
t[4] || (t[4] = r(a((...s) => o.onDown && o.onDown(...s), ["stop", "prevent"]), ["down"]))
|
|
252
252
|
],
|
|
253
|
-
onFocusout: t[5] || (t[5] = a((...s) =>
|
|
254
|
-
onMousedown: t[6] || (t[6] = (...s) =>
|
|
253
|
+
onFocusout: t[5] || (t[5] = a((...s) => o.onFocusOut && o.onFocusOut(...s), ["stop"])),
|
|
254
|
+
onMousedown: t[6] || (t[6] = (...s) => o.onMousedown && o.onMousedown(...s))
|
|
255
255
|
}, [
|
|
256
|
-
i.useCustomListBox ?
|
|
256
|
+
i.useCustomListBox ? E(e.$slots, "listBox", { key: 0 }, void 0, !0) : (d(), V("div", Z, [
|
|
257
257
|
p("div", {
|
|
258
258
|
ref: "toggle",
|
|
259
259
|
role: "button",
|
|
260
260
|
tabindex: "0",
|
|
261
|
-
class:
|
|
262
|
-
onClick: t[0] || (t[0] = (...s) =>
|
|
263
|
-
onKeydown: t[1] || (t[1] =
|
|
264
|
-
},
|
|
265
|
-
|
|
261
|
+
class: w({ placeholder: !i.modelValue.length }),
|
|
262
|
+
onClick: t[0] || (t[0] = (...s) => o.toggle && o.toggle(...s)),
|
|
263
|
+
onKeydown: t[1] || (t[1] = r(a((...s) => o.toggle && o.toggle(...s), ["prevent"]), ["space"]))
|
|
264
|
+
}, g(o.summary), 35),
|
|
265
|
+
h(c, { class: "icon" })
|
|
266
266
|
])),
|
|
267
|
-
|
|
267
|
+
I(p("div", {
|
|
268
268
|
class: "options",
|
|
269
|
-
style: A(
|
|
269
|
+
style: A(o.optionsHeight)
|
|
270
270
|
}, [
|
|
271
|
-
(d(!0),
|
|
271
|
+
(d(!0), V(k, null, D(i.possibleValues, (s, l) => (d(), S(u, {
|
|
272
272
|
ref_for: !0,
|
|
273
273
|
ref: "option",
|
|
274
274
|
key: `multiselect-${s.id}`,
|
|
275
|
-
"data-index":
|
|
276
|
-
"model-value":
|
|
275
|
+
"data-index": l,
|
|
276
|
+
"model-value": o.isChecked(s.id),
|
|
277
277
|
disabled: s.disabled,
|
|
278
278
|
class: "boxes",
|
|
279
|
-
"onUpdate:modelValue": (
|
|
279
|
+
"onUpdate:modelValue": (b) => o.onUpdateModelValue(s.id, b)
|
|
280
280
|
}, {
|
|
281
281
|
default: O(() => [
|
|
282
|
-
$(
|
|
282
|
+
$(g(s.text), 1)
|
|
283
283
|
]),
|
|
284
284
|
_: 2
|
|
285
285
|
}, 1032, ["data-index", "model-value", "disabled", "onUpdate:modelValue"]))), 128)),
|
|
286
|
-
|
|
286
|
+
E(e.$slots, "selectAction", {}, void 0, !0)
|
|
287
287
|
], 4), [
|
|
288
|
-
[
|
|
288
|
+
[P, o.showOptions]
|
|
289
289
|
])
|
|
290
290
|
], 34);
|
|
291
291
|
}
|
|
292
|
-
const ee = /* @__PURE__ */
|
|
292
|
+
const ee = /* @__PURE__ */ C(Y, [["render", _], ["__scopeId", "data-v-e722538a"]]), v = "draft-id-combobox-preview-item", te = M({
|
|
293
293
|
name: "ComboBox",
|
|
294
294
|
components: {
|
|
295
295
|
Multiselect: ee,
|
|
@@ -388,7 +388,7 @@ const ee = /* @__PURE__ */ E(Y, [["render", _], ["__scopeId", "data-v-e722538a"]
|
|
|
388
388
|
({ id: i, text: n }) => n.toLowerCase().includes(this.trimmedLowerCasedSearchValue) || i === this.trimmedSearchValue
|
|
389
389
|
);
|
|
390
390
|
return this.allowNewValues && !e && !this.isSearchEmpty ? [
|
|
391
|
-
{ id:
|
|
391
|
+
{ id: v, text: `${this.trimmedSearchValue} (new item)` },
|
|
392
392
|
...t
|
|
393
393
|
] : t;
|
|
394
394
|
},
|
|
@@ -442,7 +442,7 @@ const ee = /* @__PURE__ */ E(Y, [["render", _], ["__scopeId", "data-v-e722538a"]
|
|
|
442
442
|
this.inputOrOptionsFocussed || this.$refs.combobox.toggle(), this.inputOrOptionsFocussed = !0, this.$refs.combobox.updateFocusOptions();
|
|
443
443
|
},
|
|
444
444
|
updateSelectedIds(e) {
|
|
445
|
-
if (!e.includes(
|
|
445
|
+
if (!e.includes(v)) {
|
|
446
446
|
this.emitNewSelection(e);
|
|
447
447
|
return;
|
|
448
448
|
}
|
|
@@ -451,7 +451,7 @@ const ee = /* @__PURE__ */ E(Y, [["render", _], ["__scopeId", "data-v-e722538a"]
|
|
|
451
451
|
text: this.trimmedSearchValue
|
|
452
452
|
};
|
|
453
453
|
this.allPossibleItems.push(i), this.emitNewSelection(
|
|
454
|
-
e.map((n) => n ===
|
|
454
|
+
e.map((n) => n === v ? i.id : n)
|
|
455
455
|
);
|
|
456
456
|
},
|
|
457
457
|
removeTag(e) {
|
|
@@ -477,9 +477,9 @@ const ee = /* @__PURE__ */ E(Y, [["render", _], ["__scopeId", "data-v-e722538a"]
|
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
479
|
}), se = ["title"], oe = ["maxlength"], le = { class: "icon-right" };
|
|
480
|
-
function ie(e, t, i, n,
|
|
481
|
-
const
|
|
482
|
-
return d(),
|
|
480
|
+
function ie(e, t, i, n, m, o) {
|
|
481
|
+
const c = f("CloseIcon"), u = f("FunctionButton"), s = f("Multiselect");
|
|
482
|
+
return d(), S(s, {
|
|
483
483
|
ref: "combobox",
|
|
484
484
|
"model-value": e.modelValue,
|
|
485
485
|
"possible-values": e.searchResults,
|
|
@@ -498,74 +498,74 @@ function ie(e, t, i, n, h, l) {
|
|
|
498
498
|
ref: "listBox",
|
|
499
499
|
class: "summary-input-icon-wrapper",
|
|
500
500
|
tabindex: "0",
|
|
501
|
-
onKeydown: t[8] || (t[8] =
|
|
501
|
+
onKeydown: t[8] || (t[8] = r(a((...l) => e.focusInput && e.focusInput(...l), ["prevent", "self"]), ["enter"]))
|
|
502
502
|
}, [
|
|
503
503
|
p("div", {
|
|
504
|
-
class:
|
|
504
|
+
class: w([
|
|
505
505
|
"summary-input-wrapper",
|
|
506
506
|
{ "with-icon-right": e.hasSelection, compact: e.compact }
|
|
507
507
|
]),
|
|
508
|
-
onClick: t[7] || (t[7] = a((...
|
|
508
|
+
onClick: t[7] || (t[7] = a((...l) => e.focusInput && e.focusInput(...l), ["stop"]))
|
|
509
509
|
}, [
|
|
510
|
-
(d(!0),
|
|
510
|
+
(d(!0), V(k, null, D(e.selectedValues, ({ id: l, text: b, invalid: x }, T) => (d(), V("div", {
|
|
511
511
|
key: `item.id${T}`,
|
|
512
512
|
class: "tag",
|
|
513
|
-
title:
|
|
513
|
+
title: b
|
|
514
514
|
}, [
|
|
515
515
|
p("span", {
|
|
516
|
-
class:
|
|
517
|
-
},
|
|
518
|
-
|
|
516
|
+
class: w(["text", { invalid: x }])
|
|
517
|
+
}, g(b), 3),
|
|
518
|
+
h(u, {
|
|
519
519
|
class: "remove-tag-button",
|
|
520
520
|
compact: e.compact,
|
|
521
|
-
onClick: a((ue) => e.removeTag(
|
|
521
|
+
onClick: a((ue) => e.removeTag(l), ["stop"])
|
|
522
522
|
}, {
|
|
523
523
|
default: O(() => [
|
|
524
|
-
|
|
524
|
+
h(c, { class: "remove-tag-button-icon" })
|
|
525
525
|
]),
|
|
526
526
|
_: 2
|
|
527
527
|
}, 1032, ["compact", "onClick"])
|
|
528
528
|
], 8, se))), 128)),
|
|
529
|
-
|
|
529
|
+
I(p("input", {
|
|
530
530
|
ref: "searchInput",
|
|
531
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
531
|
+
"onUpdate:modelValue": t[0] || (t[0] = (l) => e.searchValue = l),
|
|
532
532
|
class: "search-input",
|
|
533
533
|
type: "text",
|
|
534
534
|
style: A(e.inputWidth),
|
|
535
535
|
maxlength: e.maxCharactersPerItem,
|
|
536
|
-
onFocus: t[1] || (t[1] = (...
|
|
537
|
-
onInput: t[2] || (t[2] = (...
|
|
536
|
+
onFocus: t[1] || (t[1] = (...l) => e.onInputFocus && e.onInputFocus(...l)),
|
|
537
|
+
onInput: t[2] || (t[2] = (...l) => e.onInput && e.onInput(...l)),
|
|
538
538
|
onKeydown: [
|
|
539
|
-
t[3] || (t[3] =
|
|
540
|
-
t[4] || (t[4] =
|
|
541
|
-
t[5] || (t[5] =
|
|
542
|
-
t[6] || (t[6] =
|
|
539
|
+
t[3] || (t[3] = r(a((...l) => e.onEnter && e.onEnter(...l), ["prevent"]), ["enter"])),
|
|
540
|
+
t[4] || (t[4] = r((...l) => e.onBackspace && e.onBackspace(...l), ["backspace"])),
|
|
541
|
+
t[5] || (t[5] = r(a((...l) => e.onDown && e.onDown(...l), ["stop", "prevent"]), ["down"])),
|
|
542
|
+
t[6] || (t[6] = r((...l) => e.closeOptionsAndStop && e.closeOptionsAndStop(...l), ["esc"]))
|
|
543
543
|
]
|
|
544
544
|
}, null, 44, oe), [
|
|
545
545
|
[R, e.searchValue]
|
|
546
546
|
])
|
|
547
547
|
], 2),
|
|
548
|
-
|
|
549
|
-
|
|
548
|
+
I(p("div", le, [
|
|
549
|
+
h(u, {
|
|
550
550
|
ref: "removeAllTags",
|
|
551
551
|
class: "remove-all-tags-button",
|
|
552
552
|
compact: e.compact,
|
|
553
553
|
onClick: a(e.removeAllTags, ["stop"])
|
|
554
554
|
}, {
|
|
555
555
|
default: O(() => [
|
|
556
|
-
|
|
556
|
+
h(c)
|
|
557
557
|
]),
|
|
558
558
|
_: 1
|
|
559
559
|
}, 8, ["compact", "onClick"])
|
|
560
560
|
], 512), [
|
|
561
|
-
[
|
|
561
|
+
[P, e.hasSelection]
|
|
562
562
|
])
|
|
563
563
|
], 544)
|
|
564
564
|
]),
|
|
565
565
|
_: 1
|
|
566
566
|
}, 8, ["model-value", "possible-values", "size-visible-options", "parent-focus-element", "parent-refocus-element-on-close", "close-dropdown-on-selection", "is-valid", "compact", "onFocusOutside", "onUpdate:modelValue"]);
|
|
567
567
|
}
|
|
568
|
-
const ne = /* @__PURE__ */
|
|
568
|
+
const ne = /* @__PURE__ */ C(te, [["render", ie], ["__scopeId", "data-v-418fb7c5"]]), ae = /* @__PURE__ */ M({
|
|
569
569
|
__name: "ComboBoxControl",
|
|
570
570
|
props: {
|
|
571
571
|
control: {},
|
|
@@ -577,41 +577,29 @@ const ne = /* @__PURE__ */ E(te, [["render", ie], ["__scopeId", "data-v-418fb7c5
|
|
|
577
577
|
labelForId: {}
|
|
578
578
|
},
|
|
579
579
|
setup(e) {
|
|
580
|
-
const t = e, i =
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
return (o = (s = t.control.uischema) == null ? void 0 : s.options) == null ? void 0 : o.choicesProvider;
|
|
584
|
-
}
|
|
585
|
-
), n = L(
|
|
586
|
-
H(i, []),
|
|
587
|
-
t.control
|
|
588
|
-
), h = B([]), l = B(!1);
|
|
589
|
-
z(() => {
|
|
590
|
-
var s, o;
|
|
591
|
-
h.value = t.control.data, i.value || (n.value = (o = (s = t.control.uischema) == null ? void 0 : s.options) == null ? void 0 : o.possibleValues), l.value = !0;
|
|
580
|
+
const t = e, i = F([]), n = F(!1), { possibleValues: m } = H(z(t, "control"));
|
|
581
|
+
U(() => {
|
|
582
|
+
i.value = t.control.data, n.value = !0;
|
|
592
583
|
});
|
|
593
|
-
const
|
|
594
|
-
() =>
|
|
595
|
-
), c =
|
|
596
|
-
() =>
|
|
597
|
-
var s;
|
|
598
|
-
return t.disabled || r.value || ((s = n.value) == null ? void 0 : s.length) === 0;
|
|
599
|
-
}
|
|
584
|
+
const o = B(
|
|
585
|
+
() => m.value === null || m.value.length === 0
|
|
586
|
+
), c = B(
|
|
587
|
+
() => t.disabled || o.value
|
|
600
588
|
);
|
|
601
|
-
return (
|
|
589
|
+
return (u, s) => n.value ? (d(), S(N(ne), {
|
|
602
590
|
key: 0,
|
|
603
|
-
id:
|
|
604
|
-
"allow-new-values":
|
|
605
|
-
"aria-label":
|
|
591
|
+
id: u.labelForId,
|
|
592
|
+
"allow-new-values": o.value ? "" : !1,
|
|
593
|
+
"aria-label": u.control.label,
|
|
606
594
|
disabled: c.value,
|
|
607
|
-
"possible-values":
|
|
608
|
-
"model-value":
|
|
609
|
-
"is-valid":
|
|
595
|
+
"possible-values": N(m) ?? [],
|
|
596
|
+
"model-value": i.value,
|
|
597
|
+
"is-valid": u.isValid,
|
|
610
598
|
compact: "",
|
|
611
|
-
"onUpdate:modelValue":
|
|
612
|
-
}, null, 8, ["id", "allow-new-values", "aria-label", "disabled", "possible-values", "model-value", "is-valid"])) :
|
|
599
|
+
"onUpdate:modelValue": s[0] || (s[0] = (l) => u.changeValue(l))
|
|
600
|
+
}, null, 8, ["id", "allow-new-values", "aria-label", "disabled", "possible-values", "model-value", "is-valid"])) : L("", !0);
|
|
613
601
|
}
|
|
614
|
-
}),
|
|
602
|
+
}), we = /* @__PURE__ */ C(ae, [["__scopeId", "data-v-33a5967b"]]);
|
|
615
603
|
export {
|
|
616
|
-
|
|
604
|
+
we as default
|
|
617
605
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as h, computed as a, openBlock as f, createBlock as w, unref as V } from "vue";
|
|
2
|
-
import { D as T } from "./DateTimeInput-
|
|
3
|
-
import { t as i, f as b } from "./localTimeUtils-
|
|
2
|
+
import { D as T } from "./DateTimeInput-DP2yHD9r.js";
|
|
3
|
+
import { t as i, f as b } from "./localTimeUtils-Dp9bEJDh.js";
|
|
4
4
|
const y = /* @__PURE__ */ h({
|
|
5
5
|
__name: "DateTimeControl",
|
|
6
6
|
props: {
|
|
@@ -2,9 +2,9 @@ import { openBlock as m, createElementBlock as p, createElementVNode as v, defin
|
|
|
2
2
|
import { o as te } from "./index-Bf0xDq3g.js";
|
|
3
3
|
import { u as oe, o as le, s as ae, f as se, a as ne } from "./floating-ui.vue-B-MrqKCT.js";
|
|
4
4
|
import { u as ie } from "./useDropdownNavigation-D6ZenVxz.js";
|
|
5
|
-
import { L as re } from "./svgWithTitle-
|
|
6
|
-
import { V as N } from "./ValueSwitch-
|
|
7
|
-
import { _ as O } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-
|
|
5
|
+
import { L as re } from "./svgWithTitle-B5FsAPop.js";
|
|
6
|
+
import { V as N } from "./ValueSwitch-BI5z5U3F.js";
|
|
7
|
+
import { _ as O } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
|
|
8
8
|
const ce = {
|
|
9
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10
10
|
fill: "none",
|
package/dist/{DateTimeFormatPickerControl-CQi49UrA.js → DateTimeFormatPickerControl-BK80kZf0.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as m, computed as o, openBlock as p, createBlock as c, unref as n } from "vue";
|
|
2
|
-
import { u as f } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-
|
|
3
|
-
import { D as F } from "./DateTimeFormatInput-
|
|
2
|
+
import { u as f } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
|
|
3
|
+
import { D as F } from "./DateTimeFormatInput-CsEAVqAA.js";
|
|
4
4
|
const b = /* @__PURE__ */ m({
|
|
5
5
|
__name: "DateTimeFormatPickerControl",
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as f, computed as t, openBlock as v, createElementBlock as T, createVNode as r, unref as d } from "vue";
|
|
2
|
-
import { u as V, _ as b } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-
|
|
3
|
-
import { V as y } from "./ValueSwitch-
|
|
4
|
-
import { D as F } from "./DateTimeFormatInput-
|
|
2
|
+
import { u as V, _ as b } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
|
|
3
|
+
import { V as y } from "./ValueSwitch-BI5z5U3F.js";
|
|
4
|
+
import { D as F } from "./DateTimeFormatInput-CsEAVqAA.js";
|
|
5
5
|
const h = ["id"], D = /* @__PURE__ */ f({
|
|
6
6
|
__name: "DateTimeFormatPickerWithTypeControl",
|
|
7
7
|
props: {
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { resolveComponent as je, openBlock as C, createElementBlock as E, normalizeClass as te, createElementVNode as j, createCommentVNode as ee, withModifiers as Nt, createVNode as z, reactive as Ia, computed as _, defineComponent as Oe, ref as we, watch as Ae, onMounted as rn, onUnmounted as Sa, toRefs as Iu, inject as wr, watchEffect as Ls, provide as br, nextTick as dr, unref as M, createBlock as Pe, resolveDynamicComponent as Ea, normalizeProps as hr, mergeProps as Mt, renderSlot as Dr, withCtx as Te, toDisplayString as Le, Fragment as Ce, renderList as Ge, normalizeStyle as mr, withKeys as Lr, withDirectives as Hs, toRef as Nr, guardReactiveProps as Un, createTextVNode as Na, isRef as ir, Transition as Rs, resolveDirective as Su, toHandlers as js, pushScopeId as Eu, popScopeId as Nu } from "vue";
|
|
2
2
|
import { c as Au } from "./popper-CRR--9mA.js";
|
|
3
|
-
import { r as Wu } from "./BaseButton-
|
|
4
|
-
import { D as Uu } from "./Dropdown-
|
|
3
|
+
import { r as Wu } from "./BaseButton-nH3iSIOK.js";
|
|
4
|
+
import { D as Uu } from "./Dropdown-D8qp_4wZ.js";
|
|
5
5
|
import { A as Fu } from "./arrow-dropdown-DjUxzjqC.js";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import { _ as Vs, q as nn } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-
|
|
8
|
-
import {
|
|
9
|
-
import { b as
|
|
10
|
-
import { b as
|
|
11
|
-
import {
|
|
7
|
+
import { _ as Vs, q as nn } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
|
|
8
|
+
import { a as Lu } from "./toString-B9O7P854.js";
|
|
9
|
+
import { b as Hu } from "./_baseIteratee-DhaGkQLM.js";
|
|
10
|
+
import { b as Ru } from "./_baseEach-FP8ISlsz.js";
|
|
11
|
+
import { i as ju } from "./_getTag-DiktJuv_.js";
|
|
12
|
+
import { i as Vu } from "./isArray-WzO_os3q.js";
|
|
12
13
|
function it(e) {
|
|
13
14
|
"@babel/helpers - typeof";
|
|
14
15
|
return it = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
@@ -2624,14 +2625,14 @@ const Lt = (e, t) => t ? (e = zs(e) ? e : new Date(Date.UTC(0, 0)), Gc(e, {
|
|
|
2624
2625
|
return !1;
|
|
2625
2626
|
}, Xc = () => Intl.DateTimeFormat().resolvedOptions().timeZone, Qc = (e) => Math.max(Math.floor(Math.log10(Math.abs(e))), 0) + 1;
|
|
2626
2627
|
function Jc(e, t) {
|
|
2627
|
-
var r = -1, n =
|
|
2628
|
-
return
|
|
2628
|
+
var r = -1, n = ju(e) ? Array(e.length) : [];
|
|
2629
|
+
return Ru(e, function(a, s, i) {
|
|
2629
2630
|
n[++r] = t(a, s, i);
|
|
2630
2631
|
}), n;
|
|
2631
2632
|
}
|
|
2632
2633
|
function ed(e, t) {
|
|
2633
|
-
var r =
|
|
2634
|
-
return r(e,
|
|
2634
|
+
var r = Vu(e) ? Lu : Jc;
|
|
2635
|
+
return r(e, Hu(t));
|
|
2635
2636
|
}
|
|
2636
2637
|
const td = 200, rd = 50, nd = 1, ad = {
|
|
2637
2638
|
name: "TimePartInput",
|
|
@@ -11179,9 +11180,9 @@ function yP(e, t, r, n, a, s) {
|
|
|
11179
11180
|
], 2)) : ee("", !0)
|
|
11180
11181
|
]);
|
|
11181
11182
|
}
|
|
11182
|
-
const
|
|
11183
|
+
const xP = /* @__PURE__ */ Vs(sP, [["render", yP], ["__scopeId", "data-v-50cb1067"]]);
|
|
11183
11184
|
export {
|
|
11184
|
-
|
|
11185
|
+
xP as D,
|
|
11185
11186
|
Ju as a,
|
|
11186
11187
|
il as b,
|
|
11187
11188
|
rl as c,
|