@knime/jsonforms 1.18.10 → 1.18.11
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 +6 -0
- package/dist/{AnyOfTwinlist-_Sr9IKrq.js → AnyOfTwinlist-H8itABcU.js} +1 -1
- package/dist/{Button-RAaPECE7.js → Button-CsbepB41.js} +1 -1
- package/dist/{Checkbox-hzgHGyqr.js → Checkbox-DjZxP5CK.js} +1 -1
- package/dist/{CheckboxControl-LBnX_sq8.js → CheckboxControl-DVfH74ao.js} +6 -6
- package/dist/{CheckboxesControl-4FhNF8e_.js → CheckboxesControl-DbPSppM6.js} +2 -2
- package/dist/{ComboBoxControl-CTNUQs_Y.js → ComboBoxControl-CQrCQDnm.js} +3 -3
- package/dist/{DateControl-BvNGaVP7.js → DateControl-C37NzdMk.js} +1 -1
- package/dist/{DateTimeControl-BOnkzwV5.js → DateTimeControl-DcIfSFnl.js} +1 -1
- package/dist/{DateTimeFormatInput-DMwVeX_K.js → DateTimeFormatInput-B37nJ7WZ.js} +22 -22
- package/dist/{DateTimeFormatPickerControl-CfaDye3g.js → DateTimeFormatPickerControl-CobCN_mb.js} +2 -2
- package/dist/{DateTimeFormatPickerWithTypeControl-CicLQ0uK.js → DateTimeFormatPickerWithTypeControl-Cgrpo4jj.js} +3 -3
- package/dist/{Dropdown-BoH5Dixs.js → Dropdown-BObDeUax.js} +21 -21
- package/dist/{DropdownControl-CvLqpt0t.js → DropdownControl-DRyS3Hwj.js} +3 -3
- package/dist/{HorizontalLayout-yYr-7Yrz.js → HorizontalLayout-DFDAqPrb.js} +1 -1
- package/dist/{InputField-BfAdSnU8.js → InputField-nmAOvFZq.js} +1 -1
- package/dist/{IntegerControl-D78hD1BN.js → IntegerControl-B4595SGV.js} +1 -1
- package/dist/IntervalControl-DQCAGoNo.js +767 -0
- package/dist/{Label-BnvMjL3_.js → Label-BPo4EJ9a.js} +1 -1
- package/dist/{LoadingDropdown-EtGhXYdJ.js → LoadingDropdown-Dg_LTPYt.js} +3 -3
- package/dist/{LoadingIcon-DV2OQM0C.js → LoadingIcon-DR8NKUY6.js} +1 -1
- package/dist/{ManualTwinlistControl-BCv95-8-.js → ManualTwinlistControl-CYYXpBTF.js} +4 -4
- package/dist/{MultiSelectListBoxControl-DQJRQHYQ.js → MultiSelectListBoxControl-BlNxjx6z.js} +2 -2
- package/dist/{MultimodeTwinlistControl-B0S4Ek61.js → MultimodeTwinlistControl-jV_w7lgr.js} +14 -14
- package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-rM_JAo3H.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-6idDahSz.js} +2 -2
- package/dist/{MultiselectListBox-BAzB2KkR.js → MultiselectListBox-BQIhu3EK.js} +4 -4
- package/dist/{NameFilter-C8IPUCWk.js → NameFilter-Dau_bS4b.js} +1 -1
- package/dist/{NumberControl-DNoajc_6.js → NumberControl-0o_GgOG4.js} +1 -1
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-j08h2BDc.js +49 -0
- package/dist/{OneOfDropdown-zxzryRzf.js → OneOfDropdown-DaJGTKfI.js} +1 -1
- package/dist/{RadioControl-IrrHMLoF.js → RadioControl-WBCcOARB.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-DSNXnLSc.js → RadioControlBase.vue_vue_type_script_setup_true_lang-Dgt56ocW.js} +2 -2
- package/dist/{RichTextControl-Dqm_9Xm0.js → RichTextControl-CnyjUXWF.js} +6 -6
- package/dist/{SectionHeading-D0yfY8w4.js → SectionHeading-BSx9A0he.js} +1 -1
- package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CMZSLOQX.js +17513 -0
- package/dist/{SectionLayout-BwOjzscd.js → SectionLayout-X2--otVm.js} +3 -3
- package/dist/SettingsSubPanel-5m02HX25.js +5 -0
- package/dist/{SettingsSubPanelLayout-DxGYEnG_.js → SettingsSubPanelLayout-66qY7ALu.js} +6 -6
- package/dist/{SimpleButtonControl-4Tnj9jbl.js → SimpleButtonControl-uIPmwR6D.js} +2 -2
- package/dist/{SimpleTwinlistControl-BrOu0Dto.js → SimpleTwinlistControl-3fRPJik5.js} +2 -2
- package/dist/{SingleSelectControl-mPu0nBjI.js → SingleSelectControl-CVKlUerW.js} +2 -2
- package/dist/{SingleSelectListBoxControl-BdORWlmz.js → SingleSelectListBoxControl-BFOKfOuZ.js} +3 -3
- package/dist/{SortListControl-C468mLf-.js → SortListControl-D0ZmuLEc.js} +28 -28
- package/dist/{StyledListItem-MSj_zT8t.js → StyledListItem-1yi8cwAc.js} +1 -1
- package/dist/TextAreaControl-CMSLwtK5.js +27 -0
- package/dist/{TextControl-3w_mtjoY.js → TextControl-D38OA8zM.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-BYm9ohHY.js → TextControl.vue_vue_type_script_setup_true_lang-tQkTpiEu.js} +14 -16
- package/dist/{TimeControl-BCbRBMLL.js → TimeControl-D_qFhFcO.js} +1 -1
- package/dist/{TwinlistControlBase-CgVpKUVq.js → TwinlistControlBase-BoWr0icR.js} +3 -3
- package/dist/{TwinlistLoadingInfo-DDd-1UnR.js → TwinlistLoadingInfo-DScu9gNb.js} +13 -13
- package/dist/{TypedStringFilter-3v1FOYIP.js → TypedStringFilter-BX1diH1I.js} +1 -1
- package/dist/{ValueSwitch-Dbi9Zyo3.js → ValueSwitch-BKwWC7oO.js} +4 -4
- package/dist/{ValueSwitchControl--qc6Ir21.js → ValueSwitchControl-B0UEbXJS.js} +1 -1
- package/dist/{VerticalLayout-LTEVfknI.js → VerticalLayout-xxxNQVy2.js} +2 -2
- package/dist/{VerticalLayoutBase-Dd0Xt_rh.js → VerticalLayoutBase-C_zizW_W.js} +1 -1
- package/dist/{ZonedDateTimeControl-Dc6U58m6.js → ZonedDateTimeControl-DPi-I4Be.js} +3 -3
- package/dist/{_baseEach-CThGMqaf.js → _baseEach-BdW4qQGA.js} +2 -2
- package/dist/{_baseIteratee-DI1w5DnJ.js → _baseIteratee-dsxxjyPK.js} +3 -3
- package/dist/{_getTag-DdBbCZn7.js → _getTag-P-acvVg7.js} +10 -10
- package/dist/cloud-pending-changes-BooMof3w-CPJyy-Ev.js +22 -0
- package/dist/{cloud-synced-Cjce2vj8-DDAB0E3R.js → cloud-synced-BLkZpZpi-DksE46gj.js} +4 -4
- package/dist/deploy-D2iGlU6g-DzOC-qkj.js +23 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +7 -7
- package/dist/{localTimeUtils-d0I3Ig8P.js → localTimeUtils-Dhde1usg.js} +6 -6
- package/dist/service-BT3SUkgO-Duty0VTm.js +22 -0
- package/dist/src/uiComponents/NumberControlBase.vue.d.ts +1 -1
- package/dist/src/uiComponents/TextAreaControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/TextControl.vue.d.ts +3 -193
- package/dist/testing.js +2 -2
- package/dist/{toString-nxdVTxAC.js → toString-BauPm1xP.js} +1 -1
- package/dist/{useBuiltinValidations-pCxT7o8_.js → useBuiltinValidations-BkGavbHL.js} +1 -1
- package/dist/{usePossibleValues-Bu21MMCR.js → usePossibleValues-CRl5e6t8.js} +1 -1
- package/package.json +4 -4
- package/dist/IntervalControl-0amOuiuG.js +0 -543
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-CntdmdGl.js +0 -56
- package/dist/NumberInput-B_5xNEia.js +0 -231
- package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-D6erQfqE.js +0 -16682
- package/dist/SettingsSubPanel-Cq8N7ec5.js +0 -5
- package/dist/TextAreaControl-CbHXEyos.js +0 -108
- package/dist/cloud-pending-changes-BrwTyYkH-Dz2wUJ-Q.js +0 -22
- package/dist/deploy-BHUT6hCi-CuMB4J-Y.js +0 -22
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as s, openBlock as t, createBlock as p, mergeProps as a, unref as l } from "vue";
|
|
2
2
|
import { o as r } from "./index-Blg1O3Fz.js";
|
|
3
|
-
import { T as i } from "./TwinlistControlBase-
|
|
3
|
+
import { T as i } from "./TwinlistControlBase-BoWr0icR.js";
|
|
4
4
|
const y = /* @__PURE__ */ s({
|
|
5
5
|
__name: "AnyOfTwinlist",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, resolveComponent as a, openBlock as s, createBlock as n, normalizeClass as r, withCtx as l, renderSlot as i } from "vue";
|
|
2
|
-
import { B as p, _ as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-
|
|
2
|
+
import { B as p, _ as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CMZSLOQX.js";
|
|
3
3
|
const c = o({
|
|
4
4
|
name: "Button",
|
|
5
5
|
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 "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-
|
|
2
|
+
import { _ as u } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CMZSLOQX.js";
|
|
3
3
|
const r = {
|
|
4
4
|
name: "Checkbox",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as s, ref as d, openBlock as r, createElementBlock as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as s, ref as d, openBlock as r, createElementBlock as i, createElementVNode as u, createVNode as c, unref as v, renderSlot as a } from "vue";
|
|
2
|
+
import { ah as m, _ as b } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CMZSLOQX.js";
|
|
3
3
|
const f = { class: "checkbox-container" }, p = /* @__PURE__ */ s({
|
|
4
4
|
__name: "CheckboxControl",
|
|
5
5
|
props: {
|
|
@@ -14,13 +14,13 @@ const f = { class: "checkbox-container" }, p = /* @__PURE__ */ s({
|
|
|
14
14
|
},
|
|
15
15
|
setup(o) {
|
|
16
16
|
const l = d(!1);
|
|
17
|
-
return (n, e) => (r(),
|
|
17
|
+
return (n, e) => (r(), i("div", {
|
|
18
18
|
class: "checkbox-input",
|
|
19
19
|
onMouseover: e[1] || (e[1] = (t) => l.value = !0),
|
|
20
20
|
onMouseleave: e[2] || (e[2] = (t) => l.value = !1)
|
|
21
21
|
}, [
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
u("div", f, [
|
|
23
|
+
c(v(m), {
|
|
24
24
|
class: "checkbox",
|
|
25
25
|
disabled: o.disabled,
|
|
26
26
|
"model-value": o.control.data,
|
|
@@ -32,7 +32,7 @@ const f = { class: "checkbox-container" }, p = /* @__PURE__ */ s({
|
|
|
32
32
|
a(n.$slots, "buttons", { hover: l.value }, void 0, !0)
|
|
33
33
|
], 32));
|
|
34
34
|
}
|
|
35
|
-
}), V = /* @__PURE__ */
|
|
35
|
+
}), V = /* @__PURE__ */ b(p, [["__scopeId", "data-v-cd984837"]]);
|
|
36
36
|
export {
|
|
37
37
|
V as default
|
|
38
38
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as c, computed as n, ref as i, toRef as r, onMounted as u, openBlock as d, createBlock as m, unref as p, createCommentVNode as b } from "vue";
|
|
2
|
-
import { K as f, _ as h } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-
|
|
2
|
+
import { K as f, _ as h } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CMZSLOQX.js";
|
|
3
3
|
import { o as v } from "./index-Blg1O3Fz.js";
|
|
4
|
-
import { u as V } from "./usePossibleValues-
|
|
4
|
+
import { u as V } from "./usePossibleValues-CRl5e6t8.js";
|
|
5
5
|
const y = /* @__PURE__ */ c({
|
|
6
6
|
__name: "CheckboxesControl",
|
|
7
7
|
props: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { resolveComponent as f, openBlock as r, createElementBlock as b, withModifiers as a, withKeys as u, normalizeClass as w, renderSlot as F, createElementVNode as p, toDisplayString as S, createVNode as h, withDirectives as C, normalizeStyle as A, Fragment as D, renderList as P, createBlock as E, withCtx as O, createTextVNode as T, vShow as k, defineComponent as x, vModelText as $, toRef as z, computed as y, unref as N } from "vue";
|
|
2
|
-
import { u as U } from "./usePossibleValues-
|
|
2
|
+
import { u as U } from "./usePossibleValues-CRl5e6t8.js";
|
|
3
3
|
import { C as L } from "./close-CwP2mh9x.js";
|
|
4
|
-
import { _ as B,
|
|
4
|
+
import { _ as B, H } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CMZSLOQX.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { A as K } from "./arrow-dropdown-DMFBPPcK.js";
|
|
7
|
-
import { C as j } from "./Checkbox-
|
|
7
|
+
import { C as j } from "./Checkbox-DjZxP5CK.js";
|
|
8
8
|
import { c as W } from "./createMissingItem-B00Kg95q.js";
|
|
9
9
|
const g = () => {
|
|
10
10
|
let e = document?.activeElement;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as d, computed as i, openBlock as r, createBlock as u, unref as m } from "vue";
|
|
2
|
-
import { f as s, t as c, D as p } from "./localTimeUtils-
|
|
2
|
+
import { f as s, t as c, D as p } from "./localTimeUtils-Dhde1usg.js";
|
|
3
3
|
const b = /* @__PURE__ */ d({
|
|
4
4
|
__name: "DateControl",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as c, computed as a, openBlock as r, createBlock as p, unref as v } from "vue";
|
|
2
|
-
import { t as i, f as h, D as f } from "./localTimeUtils-
|
|
2
|
+
import { t as i, f as h, D as f } from "./localTimeUtils-Dhde1usg.js";
|
|
3
3
|
const T = /* @__PURE__ */ c({
|
|
4
4
|
__name: "DateTimeControl",
|
|
5
5
|
props: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { openBlock as m, createElementBlock as y, createElementVNode as p, defineComponent as O, useCssVars as q, computed as F, ref as f, watch as
|
|
2
|
-
import { _ as U,
|
|
1
|
+
import { openBlock as m, createElementBlock as y, createElementVNode as p, defineComponent as O, useCssVars as q, computed as F, ref as f, watch as _, reactive as G, onMounted as J, nextTick as N, onUnmounted as Q, createBlock as P, unref as E, withCtx as X, createCommentVNode as z, createVNode as M, Fragment as Y, renderList as ee, normalizeClass as C, toDisplayString as B, useModel as te, withDirectives as oe, vModelText as le, normalizeStyle as ae, mergeModels as se } from "vue";
|
|
2
|
+
import { _ as U, I as ne } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CMZSLOQX.js";
|
|
3
3
|
import { u as ie, a as re, o as ce, s as de, f as ue } from "./floating-ui.vue-Fx4CxKut.js";
|
|
4
4
|
import { u as me, F as pe } from "./useDropdownNavigation-2Yhk7zes.js";
|
|
5
|
-
import { L as ve } from "./LoadingIcon-
|
|
6
|
-
import { V as $ } from "./ValueSwitch-
|
|
5
|
+
import { L as ve } from "./LoadingIcon-DR8NKUY6.js";
|
|
6
|
+
import { V as $ } from "./ValueSwitch-BKwWC7oO.js";
|
|
7
7
|
const fe = {
|
|
8
8
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9
9
|
fill: "none",
|
|
@@ -72,7 +72,7 @@ const he = { render: ye }, Te = { class: "popover" }, ge = { class: "formats-con
|
|
|
72
72
|
text: "Zoned date & time"
|
|
73
73
|
}
|
|
74
74
|
]), i = f(null), h = f(null), a = f("RECENT"), u = f(c.selectedType);
|
|
75
|
-
|
|
75
|
+
_(
|
|
76
76
|
() => c.selectedType,
|
|
77
77
|
(e) => {
|
|
78
78
|
h.value = e;
|
|
@@ -157,12 +157,12 @@ const he = { render: ye }, Te = { class: "popover" }, ge = { class: "formats-con
|
|
|
157
157
|
)
|
|
158
158
|
});
|
|
159
159
|
};
|
|
160
|
-
|
|
160
|
+
_(V, (e) => {
|
|
161
161
|
if (e === null)
|
|
162
162
|
return;
|
|
163
163
|
const t = s.value?.[e]?.format;
|
|
164
164
|
t && A(t);
|
|
165
|
-
}),
|
|
165
|
+
}), _([u, a], () => {
|
|
166
166
|
u.value === i.value?.temporalType && a.value === i.value?.category ? R(
|
|
167
167
|
i.value.format,
|
|
168
168
|
i.value.temporalType,
|
|
@@ -184,18 +184,18 @@ const he = { render: ye }, Te = { class: "popover" }, ge = { class: "formats-con
|
|
|
184
184
|
c.selectedType === o.temporalType || c.showTypeSwitch
|
|
185
185
|
)
|
|
186
186
|
).sort((o, l) => {
|
|
187
|
-
const v = e.indexOf(o.category),
|
|
188
|
-
return v -
|
|
187
|
+
const v = e.indexOf(o.category), I = e.indexOf(l.category);
|
|
188
|
+
return v - I;
|
|
189
189
|
});
|
|
190
190
|
if (t.length > 0) {
|
|
191
191
|
const o = t[0].format, l = t[0].temporalType, v = t[0].category;
|
|
192
192
|
await R(o, l, v);
|
|
193
|
-
const
|
|
193
|
+
const I = s.value.findIndex(
|
|
194
194
|
(j) => j.format === o
|
|
195
195
|
);
|
|
196
196
|
i.value = {
|
|
197
197
|
format: o,
|
|
198
|
-
index:
|
|
198
|
+
index: I,
|
|
199
199
|
category: v,
|
|
200
200
|
temporalType: l
|
|
201
201
|
};
|
|
@@ -217,7 +217,7 @@ const he = { render: ye }, Te = { class: "popover" }, ge = { class: "formats-con
|
|
|
217
217
|
compact: "",
|
|
218
218
|
"possible-values": b.value,
|
|
219
219
|
class: "filter-switch"
|
|
220
|
-
}, null, 8, ["modelValue", "possible-values"])) :
|
|
220
|
+
}, null, 8, ["modelValue", "possible-values"])) : z("", !0),
|
|
221
221
|
M($, {
|
|
222
222
|
id: "selectedFormatStandard",
|
|
223
223
|
ref: "standardSwitchRef",
|
|
@@ -244,7 +244,7 @@ const he = { render: ye }, Te = { class: "popover" }, ge = { class: "formats-con
|
|
|
244
244
|
key: g(o),
|
|
245
245
|
ref_for: !0,
|
|
246
246
|
ref: L(o),
|
|
247
|
-
class:
|
|
247
|
+
class: C([{
|
|
248
248
|
highlighted: l === E(V),
|
|
249
249
|
applied: l === i.value?.index && o.category === i.value.category && o.temporalType === i.value.temporalType
|
|
250
250
|
}, "single-format"]),
|
|
@@ -261,11 +261,11 @@ const he = { render: ye }, Te = { class: "popover" }, ge = { class: "formats-con
|
|
|
261
261
|
_: 1
|
|
262
262
|
}, 8, ["active", "initial-focus"]));
|
|
263
263
|
}
|
|
264
|
-
}), De = /* @__PURE__ */ U(Me, [["__scopeId", "data-v-8bb40d8b"]]), be = { class: "input-fields" },
|
|
264
|
+
}), De = /* @__PURE__ */ U(Me, [["__scopeId", "data-v-8bb40d8b"]]), be = { class: "input-fields" }, Ie = ["disabled"], _e = {
|
|
265
265
|
key: 0,
|
|
266
266
|
class: "invalid-marker"
|
|
267
|
-
},
|
|
268
|
-
...
|
|
267
|
+
}, ze = ["disabled"], Ce = {}, Ve = /* @__PURE__ */ O({
|
|
268
|
+
...Ce,
|
|
269
269
|
__name: "DateTimeFormatInput",
|
|
270
270
|
props: /* @__PURE__ */ se({
|
|
271
271
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -325,7 +325,7 @@ const he = { render: ye }, Te = { class: "popover" }, ge = { class: "formats-con
|
|
|
325
325
|
);
|
|
326
326
|
return (T, d) => (m(), y("div", null, [
|
|
327
327
|
p("div", {
|
|
328
|
-
class:
|
|
328
|
+
class: C(["wrapper", { disabled: r.disabled, compact: r.compact }])
|
|
329
329
|
}, [
|
|
330
330
|
p("span", be, [
|
|
331
331
|
oe(p("input", {
|
|
@@ -335,19 +335,19 @@ const he = { render: ye }, Te = { class: "popover" }, ge = { class: "formats-con
|
|
|
335
335
|
placeholder: D,
|
|
336
336
|
spellcheck: "false",
|
|
337
337
|
onFocus: d[1] || (d[1] = (g) => a.value = !1)
|
|
338
|
-
}, null, 40,
|
|
338
|
+
}, null, 40, Ie), [
|
|
339
339
|
[le, c.value]
|
|
340
340
|
]),
|
|
341
|
-
b.value ?
|
|
341
|
+
b.value ? z("", !0) : (m(), y("span", _e)),
|
|
342
342
|
p("button", {
|
|
343
343
|
ref_key: "togglePopoverButtonRef",
|
|
344
344
|
ref: i,
|
|
345
|
-
class:
|
|
345
|
+
class: C(["trigger-popover-button", { active: a.value }]),
|
|
346
346
|
disabled: r.disabled,
|
|
347
347
|
onClick: d[2] || (d[2] = (g) => a.value = !a.value)
|
|
348
348
|
}, [
|
|
349
349
|
M(E(he))
|
|
350
|
-
], 10,
|
|
350
|
+
], 10, ze)
|
|
351
351
|
])
|
|
352
352
|
], 2),
|
|
353
353
|
a.value ? (m(), y("div", {
|
|
@@ -365,7 +365,7 @@ const he = { render: ye }, Te = { class: "popover" }, ge = { class: "formats-con
|
|
|
365
365
|
onCommit: u,
|
|
366
366
|
onCancel: d[3] || (d[3] = (g) => a.value = !1)
|
|
367
367
|
}, null, 8, ["all-formats", "initial-selected-pattern", "selected-type", "show-type-switch"])
|
|
368
|
-
], 4)) :
|
|
368
|
+
], 4)) : z("", !0)
|
|
369
369
|
]));
|
|
370
370
|
}
|
|
371
371
|
}), $e = /* @__PURE__ */ U(Ve, [["__scopeId", "data-v-1577d5ce"]]);
|
package/dist/{DateTimeFormatPickerControl-CfaDye3g.js → DateTimeFormatPickerControl-CobCN_mb.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as c, computed as e, openBlock as p, createBlock as f, unref as s } from "vue";
|
|
2
|
-
import { u as F } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-
|
|
3
|
-
import { D as v } from "./DateTimeFormatInput-
|
|
2
|
+
import { u as F } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CMZSLOQX.js";
|
|
3
|
+
import { D as v } from "./DateTimeFormatInput-B37nJ7WZ.js";
|
|
4
4
|
const b = /* @__PURE__ */ c({
|
|
5
5
|
__name: "DateTimeFormatPickerControl",
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as v, computed as t, openBlock as T, createElementBlock as V, createVNode as r, unref as i } from "vue";
|
|
2
|
-
import { u as F, _ as b } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-
|
|
3
|
-
import { V as h } from "./ValueSwitch-
|
|
4
|
-
import { D as y } from "./DateTimeFormatInput-
|
|
2
|
+
import { u as F, _ as b } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CMZSLOQX.js";
|
|
3
|
+
import { V as h } from "./ValueSwitch-BKwWC7oO.js";
|
|
4
|
+
import { D as y } from "./DateTimeFormatInput-B37nJ7WZ.js";
|
|
5
5
|
const D = ["id"], w = /* @__PURE__ */ v({
|
|
6
6
|
__name: "DateTimeFormatPickerWithTypeControl",
|
|
7
7
|
props: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as G, shallowRef as _, h as z, watch as B, toValue as p, computed as P, unref as U, nextTick as X, toRefs as q, ref as E, resolveComponent as V, openBlock as c, createBlock as S, withCtx as O, createElementVNode as m, normalizeClass as y, normalizeStyle as J, createElementBlock as h, withModifiers as x, renderSlot as C, toDisplayString as D, createCommentVNode as v, withKeys as Q, createVNode as M, withDirectives as Z, Fragment as w, renderList as N, createTextVNode as $, vShow as ee } from "vue";
|
|
2
|
+
import { I as te, O as se, P as R, Q as K, R as k, T as ie, V as ne, W as le, H as ae, J as oe, _ as re } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CMZSLOQX.js";
|
|
3
3
|
import { A as de } from "./arrow-dropdown-DMFBPPcK.js";
|
|
4
4
|
import { C as ue } from "./close-CwP2mh9x.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { u as ce } from "./useSearch-hpyYQ_6y.js";
|
|
7
7
|
import { i as he } from "./hotkeys-rxnt4egK.js";
|
|
8
|
-
import { c as fe, a as pe, b as me, i as ge, e as ye, h as Ve, d as xe } from "./_getTag-
|
|
8
|
+
import { c as fe, a as pe, b as me, i as ge, e as ye, h as Ve, d as xe } from "./_getTag-P-acvVg7.js";
|
|
9
9
|
import { i as ve } from "./isArray-WzO_os3q.js";
|
|
10
10
|
var we = "[object Map]", be = "[object Set]", Ee = Object.prototype, Se = Ee.hasOwnProperty;
|
|
11
11
|
function Oe(e) {
|
|
@@ -23,7 +23,7 @@ function Oe(e) {
|
|
|
23
23
|
return !1;
|
|
24
24
|
return !0;
|
|
25
25
|
}
|
|
26
|
-
const Ce = /* @__PURE__ */
|
|
26
|
+
const Ce = /* @__PURE__ */ G({
|
|
27
27
|
name: "OnClickOutside",
|
|
28
28
|
props: ["as", "options"],
|
|
29
29
|
emits: ["trigger"],
|
|
@@ -45,7 +45,7 @@ function ke(e) {
|
|
|
45
45
|
function Te(...e) {
|
|
46
46
|
const t = [], s = () => {
|
|
47
47
|
t.forEach((l) => l()), t.length = 0;
|
|
48
|
-
}, n = (l, a, o, u) => (l.addEventListener(a, o, u), () => l.removeEventListener(a, o, u)), r =
|
|
48
|
+
}, n = (l, a, o, u) => (l.addEventListener(a, o, u), () => l.removeEventListener(a, o, u)), r = P(() => {
|
|
49
49
|
const l = k(p(e[0])).filter((a) => a != null);
|
|
50
50
|
return l.every((a) => typeof a != "string") ? l : void 0;
|
|
51
51
|
}), i = ie(
|
|
@@ -66,7 +66,7 @@ function Te(...e) {
|
|
|
66
66
|
t.push(
|
|
67
67
|
...l.flatMap(
|
|
68
68
|
(d) => a.flatMap(
|
|
69
|
-
(g) => o.map((
|
|
69
|
+
(g) => o.map((j) => n(d, g, j, b))
|
|
70
70
|
)
|
|
71
71
|
)
|
|
72
72
|
);
|
|
@@ -123,7 +123,7 @@ function _e(e, t = !1) {
|
|
|
123
123
|
const l = T(p(e));
|
|
124
124
|
!l || !s.value || (K && n?.(), l.style.overflow = r, I.delete(l), s.value = !1);
|
|
125
125
|
};
|
|
126
|
-
return R(f),
|
|
126
|
+
return R(f), P({
|
|
127
127
|
get() {
|
|
128
128
|
return s.value;
|
|
129
129
|
},
|
|
@@ -144,7 +144,7 @@ function Be() {
|
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
146
|
Be();
|
|
147
|
-
const H = "ArrowDown", L = "ArrowUp", F = "Home", W = "End",
|
|
147
|
+
const H = "ArrowDown", L = "ArrowUp", F = "Home", W = "End", Pe = "Escape", Y = "Enter", Me = [H, L, F, W, Y], Ne = {
|
|
148
148
|
name: "Dropdown",
|
|
149
149
|
components: {
|
|
150
150
|
DropdownIcon: de,
|
|
@@ -233,7 +233,7 @@ const H = "ArrowDown", L = "ArrowUp", F = "Home", W = "End", Ne = "Escape", Y =
|
|
|
233
233
|
},
|
|
234
234
|
emits: ["update:modelValue"],
|
|
235
235
|
setup(e) {
|
|
236
|
-
const { caseSensitiveSearch: t, possibleValues: s } = q(e), n = E(!1), r =
|
|
236
|
+
const { caseSensitiveSearch: t, possibleValues: s } = q(e), n = E(!1), r = P(() => {
|
|
237
237
|
const a = {};
|
|
238
238
|
for (const o of s.value)
|
|
239
239
|
a[o.id] = o.text;
|
|
@@ -426,10 +426,10 @@ const H = "ArrowDown", L = "ArrowUp", F = "Home", W = "End", Ne = "Escape", Y =
|
|
|
426
426
|
},
|
|
427
427
|
/* NOTE: we use a single keyDown method because @keydown.up bindings are not testable. */
|
|
428
428
|
handleKeyDownButton(e) {
|
|
429
|
-
this.isExpanded ? this.handleKeyDownOnExpanded(e) : he(e,
|
|
429
|
+
this.isExpanded ? this.handleKeyDownOnExpanded(e) : he(e, Me) && (this.expand(), e.preventDefault());
|
|
430
430
|
},
|
|
431
431
|
handleKeyDownOnExpanded(e) {
|
|
432
|
-
e.key === H && (this.onArrowDown(), e.preventDefault()), e.key === L && (this.onArrowUp(), e.preventDefault()), e.key === W && (this.onEndKey(), e.preventDefault()), e.key === F && (this.onHomeKey(), e.preventDefault()), e.key ===
|
|
432
|
+
e.key === H && (this.onArrowDown(), e.preventDefault()), e.key === L && (this.onArrowUp(), e.preventDefault()), e.key === W && (this.onEndKey(), e.preventDefault()), e.key === F && (this.onHomeKey(), e.preventDefault()), e.key === Pe && (this.collapse(), e.preventDefault(), e.stopPropagation()), e.key === Y && (this.onEnter(), e.preventDefault());
|
|
433
433
|
},
|
|
434
434
|
hasSelection() {
|
|
435
435
|
return !!(this.modelValue && !this.isMissing);
|
|
@@ -463,7 +463,7 @@ const H = "ArrowDown", L = "ArrowUp", F = "Home", W = "End", Ne = "Escape", Y =
|
|
|
463
463
|
}, We = ["aria-activedescendant"], Ye = {
|
|
464
464
|
key: 0,
|
|
465
465
|
class: "empty-state"
|
|
466
|
-
},
|
|
466
|
+
}, je = ["id", "title", "aria-selected", "onMouseenter", "onClick"], Ge = ["id", "name", "value"];
|
|
467
467
|
function ze(e, t, s, n, r, i) {
|
|
468
468
|
const f = V("CloseIcon"), l = V("FunctionButton"), a = V("DropdownIcon"), o = V("OnClickOutside");
|
|
469
469
|
return c(), S(o, { onTrigger: i.closeDropdown }, {
|
|
@@ -491,7 +491,7 @@ function ze(e, t, s, n, r, i) {
|
|
|
491
491
|
missing: i.isMissing && !n.isExpanded,
|
|
492
492
|
"has-option-template": i.hasOptionTemplate && !n.isExpanded
|
|
493
493
|
}),
|
|
494
|
-
style:
|
|
494
|
+
style: J({
|
|
495
495
|
...n.isExpanded && i.hasOptionTemplate && {
|
|
496
496
|
height: `calc(${r.slotContainerHeight}px + 0 * var(--form-border-width))`,
|
|
497
497
|
boxSizing: "content-box"
|
|
@@ -536,12 +536,12 @@ function ze(e, t, s, n, r, i) {
|
|
|
536
536
|
tabindex: "0",
|
|
537
537
|
class: "button",
|
|
538
538
|
compact: s.compact,
|
|
539
|
-
onKeydown: t[2] || (t[2] =
|
|
539
|
+
onKeydown: t[2] || (t[2] = Q(x(() => {
|
|
540
540
|
}, ["stop"]), ["enter"])),
|
|
541
541
|
onClick: x(i.handleResetInput, ["stop"])
|
|
542
542
|
}, {
|
|
543
543
|
default: O(() => [
|
|
544
|
-
|
|
544
|
+
M(f, { class: "icon" })
|
|
545
545
|
]),
|
|
546
546
|
_: 1
|
|
547
547
|
}, 8, ["compact", "onClick"])) : v("", !0),
|
|
@@ -555,7 +555,7 @@ function ze(e, t, s, n, r, i) {
|
|
|
555
555
|
onClick: x(i.toggleExpanded, ["stop"])
|
|
556
556
|
}, {
|
|
557
557
|
default: O(() => [
|
|
558
|
-
|
|
558
|
+
M(a, {
|
|
559
559
|
class: y(["dropdown-icon", "icon"])
|
|
560
560
|
})
|
|
561
561
|
]),
|
|
@@ -571,9 +571,9 @@ function ze(e, t, s, n, r, i) {
|
|
|
571
571
|
class: y({ "drops-upwards": s.direction === "up" })
|
|
572
572
|
}, [
|
|
573
573
|
i.hasNoFilteredPossibleValues ? (c(), h("div", Ye, D(r.emptyState), 1)) : v("", !0),
|
|
574
|
-
(c(!0), h(w, null,
|
|
574
|
+
(c(!0), h(w, null, N(i.orderedGroupedValues, (u, b) => (c(), h(w, { key: b }, [
|
|
575
575
|
t[5] || (t[5] = m("span", { class: "group-divider" }, null, -1)),
|
|
576
|
-
(c(!0), h(w, null,
|
|
576
|
+
(c(!0), h(w, null, N(u.items, (d) => (c(), h("li", {
|
|
577
577
|
id: i.generateId("option", d.id),
|
|
578
578
|
key: `listbox-${d.id}`,
|
|
579
579
|
ref_for: !0,
|
|
@@ -598,7 +598,7 @@ function ze(e, t, s, n, r, i) {
|
|
|
598
598
|
}) : (c(), h(w, { key: 1 }, [
|
|
599
599
|
$(D(d.text), 1)
|
|
600
600
|
], 64))
|
|
601
|
-
], 42,
|
|
601
|
+
], 42, je))), 128))
|
|
602
602
|
], 64))), 128))
|
|
603
603
|
], 10, We), [
|
|
604
604
|
[ee, n.isExpanded]
|
|
@@ -608,13 +608,13 @@ function ze(e, t, s, n, r, i) {
|
|
|
608
608
|
type: "hidden",
|
|
609
609
|
name: s.name,
|
|
610
610
|
value: s.modelValue
|
|
611
|
-
}, null, 8,
|
|
611
|
+
}, null, 8, Ge)
|
|
612
612
|
], 10, Ke)
|
|
613
613
|
]),
|
|
614
614
|
_: 3
|
|
615
615
|
}, 8, ["onTrigger"]);
|
|
616
616
|
}
|
|
617
|
-
const st = /* @__PURE__ */ re(
|
|
617
|
+
const st = /* @__PURE__ */ re(Ne, [["render", ze], ["__scopeId", "data-v-0a20a161"]]);
|
|
618
618
|
export {
|
|
619
619
|
st as D
|
|
620
620
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as s, toRef as c, computed as n, openBlock as d, createBlock as t, unref as i } from "vue";
|
|
2
|
-
import { u as m } from "./usePossibleValues-
|
|
3
|
-
import { L as r } from "./LoadingDropdown-
|
|
4
|
-
import { I as b } from "./InputField-
|
|
2
|
+
import { u as m } from "./usePossibleValues-CRl5e6t8.js";
|
|
3
|
+
import { L as r } from "./LoadingDropdown-Dg_LTPYt.js";
|
|
4
|
+
import { I as b } from "./InputField-nmAOvFZq.js";
|
|
5
5
|
const p = /* @__PURE__ */ s({
|
|
6
6
|
__name: "DropdownControl",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as a, createElementBlock as t, Fragment as r, renderList as c, createBlock as s, unref as u } from "vue";
|
|
2
|
-
import { a as m, _ as i } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-
|
|
2
|
+
import { a as m, _ as i } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CMZSLOQX.js";
|
|
3
3
|
const d = { class: "horizontal" }, h = /* @__PURE__ */ o({
|
|
4
4
|
__name: "HorizontalLayout",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
import { openBlock as i, createElementBlock as s, normalizeClass as r, renderSlot as u, createCommentVNode as o, createElementVNode as d, mergeProps as f } from "vue";
|
|
3
|
-
import { _ as p } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-
|
|
3
|
+
import { _ as p } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CMZSLOQX.js";
|
|
4
4
|
const c = {
|
|
5
5
|
name: "InputField",
|
|
6
6
|
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-j08h2BDc.js";
|
|
3
3
|
const s = /* @__PURE__ */ o({
|
|
4
4
|
__name: "IntegerControl",
|
|
5
5
|
props: {
|