@knime/jsonforms 1.17.5 → 1.18.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 +12 -0
- package/dist/{AnyOfTwinlist-CSbFqiiy.js → AnyOfTwinlist-Dk_ou9W9.js} +1 -1
- package/dist/{Button-BfZfHt8q.js → Button-D8mgaxLU.js} +1 -1
- package/dist/{Checkbox-M2rFIZY0.js → Checkbox-DD4pKL3h.js} +1 -1
- package/dist/{CheckboxControl-Dz65huic.js → CheckboxControl-NTWDDTuK.js} +1 -1
- package/dist/{Checkboxes-Qc7Wn4p8.js → Checkboxes-BZyTWKxA.js} +2 -2
- package/dist/{CheckboxesControl-52GcYYsS.js → CheckboxesControl-DYSMiVtJ.js} +3 -3
- package/dist/{ComboBoxControl-BSrtnamE.js → ComboBoxControl-LCX4h3aU.js} +3 -3
- package/dist/{DateControl-B9h4p2F5.js → DateControl-DI6h7HP8.js} +1 -1
- package/dist/{DateTimeControl-BsPKGDFA.js → DateTimeControl-VgDOif_C.js} +1 -1
- package/dist/{DateTimeFormatInput-bkxjAG8p.js → DateTimeFormatInput-DkqacscY.js} +5 -6
- package/dist/{DateTimeFormatPickerControl-SZNaksRz.js → DateTimeFormatPickerControl-BSrOOnCs.js} +2 -2
- package/dist/{DateTimeFormatPickerWithTypeControl-CAEt6y2T.js → DateTimeFormatPickerWithTypeControl-hk-FzFiP.js} +3 -3
- package/dist/{Dropdown-6eVZoGpG.js → Dropdown-DCj9CrKC.js} +30 -31
- package/dist/{DropdownControl-mDfFM4Ka.js → DropdownControl-CCP_1uip.js} +3 -3
- package/dist/{HorizontalLayout-TMNv34K1.js → HorizontalLayout-BYLOtJxA.js} +1 -1
- package/dist/{InputField-OKgaETDx.js → InputField-Dvezbm7O.js} +1 -1
- package/dist/{IntegerControl-xaXhFuiQ.js → IntegerControl-CVJrLhsi.js} +1 -1
- package/dist/{IntervalControl-Bdoki_MC.js → IntervalControl-CkUZmAS3.js} +38 -39
- package/dist/{LoadingDropdown-edN4VitH.js → LoadingDropdown-BI_31sRO.js} +5 -5
- package/dist/{LoadingIcon-DMHNXXmQ.js → LoadingIcon-DlQBrbLr.js} +1 -1
- package/dist/{ManualTwinlistControl-DEBn3XgS.js → ManualTwinlistControl-DZnXKbOp.js} +4 -4
- package/dist/{MultiSelectListBoxControl-BmRzZUI_.js → MultiSelectListBoxControl-CI5uZ6q4.js} +2 -2
- package/dist/{MultimodeTwinlistControl-P0Bj7FYU.js → MultimodeTwinlistControl-VeD41Gre.js} +12 -12
- package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-McCAyYfA.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-DQ6N2rm-.js} +2 -2
- package/dist/{MultiselectListBox-Ivk-_tly.js → MultiselectListBox-Dl_jpzqo.js} +6 -7
- package/dist/{NameFilter-SAlJdnm7.js → NameFilter-CYgrV7af.js} +1 -1
- package/dist/{NumberControl-C_VElIjG.js → NumberControl-ByeZpXkg.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-Bcc2XPBa.js → NumberControlBase.vue_vue_type_script_setup_true_lang-BwL1OLQ_.js} +2 -2
- package/dist/{NumberInput-CHeMUEcJ.js → NumberInput-BNOfmKVa.js} +1 -1
- package/dist/{OneOfDropdown-DZgSOLLJ.js → OneOfDropdown-CoyhfG0y.js} +1 -1
- package/dist/{RadioControl-xm6uqnsz.js → RadioControl-CGDyH1c0.js} +5 -5
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-cwi1lPmz.js → RadioControlBase.vue_vue_type_script_setup_true_lang-BfNBgOGr.js} +16 -16
- package/dist/{RichTextControl-Bx9uzTcU.js → RichTextControl-CkXcfkrB.js} +13 -14
- package/dist/{SectionHeading-ChmLXMcT.js → SectionHeading-CQ5ZhHbM.js} +1 -1
- package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CQxP1EIA.js +16726 -0
- package/dist/{SectionLayout-DlR3VVwY.js → SectionLayout-k5W0xxod.js} +3 -3
- package/dist/SettingsSubPanel-C4se578b.js +5 -0
- package/dist/{SettingsSubPanelLayout-DFSdKm29.js → SettingsSubPanelLayout-BmLlsA43.js} +9 -9
- package/dist/{SimpleButtonControl-0nEpHoVU.js → SimpleButtonControl-DkywfxOh.js} +2 -2
- package/dist/{SimpleTwinlistControl-BlS_kAjd.js → SimpleTwinlistControl-CpfNxe_A.js} +2 -2
- package/dist/{SingleSelectControl-CN-n21yb.js → SingleSelectControl-Cn4i_dQA.js} +2 -2
- package/dist/{SingleSelectListBoxControl-CCI8zCX8.js → SingleSelectListBoxControl-FSDzcglF.js} +3 -3
- package/dist/{SortListControl-BulTKISX.js → SortListControl-DoMyixya.js} +26 -26
- package/dist/{StyledListItem-CQwlzLP2.js → StyledListItem-CAnXva6A.js} +1 -1
- package/dist/{TextAreaControl-CXKJWxR3.js → TextAreaControl-zDaBkP9F.js} +1 -1
- package/dist/{TextControl-CgsdWiFw.js → TextControl-C_xVOyqJ.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-BTqu_S1c.js → TextControl.vue_vue_type_script_setup_true_lang-C_ayUzXZ.js} +3 -3
- package/dist/{TimeControl-OsnqrTKz.js → TimeControl-BFW6Jbz3.js} +1 -1
- package/dist/{TwinlistControlBase-BEEFVvf6.js → TwinlistControlBase-hU63N9DI.js} +7 -7
- package/dist/{TwinlistLoadingInfo-BFWX5bru.js → TwinlistLoadingInfo-CEKS8EK-.js} +25 -25
- package/dist/{TypedStringFilter-CAXArbh6.js → TypedStringFilter-D0CV_lR9.js} +1 -1
- package/dist/{ValueSwitch-BmW_v2r_.js → ValueSwitch-BX_4vNxr.js} +4 -4
- package/dist/{ValueSwitchControl-F9EBfMSY.js → ValueSwitchControl-uuYwunJW.js} +1 -1
- package/dist/{VerticalLayout-DEFdoJSU.js → VerticalLayout-DuBfkHiD.js} +2 -2
- package/dist/{VerticalLayoutBase-DiZEVSbM.js → VerticalLayoutBase-BzGelHRs.js} +1 -1
- package/dist/{ZonedDateTimeControl-TJvHA6Rm.js → ZonedDateTimeControl-BuxRP-bI.js} +3 -3
- package/dist/{_baseEach-BxODVDA6.js → _baseEach-Bo6-9-dg.js} +2 -2
- package/dist/{_baseIteratee-C5Hf2GDl.js → _baseIteratee-Cn5QShGO.js} +3 -3
- package/dist/{_getTag-DTjoqLoo.js → _getTag-Bvm_nCSV.js} +1 -1
- package/dist/circle-error-BKcmt7Jv-EwT8EkbM.js +22 -0
- package/dist/circle-info-UvZ8z7Uk-DygBesk-.js +23 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +135 -90
- package/dist/local-filesystem-hArfE0_N-CbgY_UQS.js +22 -0
- package/dist/{localTimeUtils-BsjK2bfg.js → localTimeUtils-D8YXvgUG.js} +6 -6
- package/dist/minimize-side-panel-Brx7aXNg-Bk7ePyhf.js +22 -0
- package/dist/src/renderers/defaultRenderers.d.ts +2 -2
- package/dist/src/renderers/radioRenderer.d.ts +1 -1
- package/dist/src/renderers/valueSwitchRenderer.d.ts +1 -1
- package/dist/src/uiComponents/FieldControl.vue.d.ts +19 -0
- package/dist/src/uiComponents/FieldRenderer.vue.d.ts +21 -0
- package/dist/src/uiComponents/RadioControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/RadioControlBase.vue.d.ts +1 -1
- package/dist/src/uiComponents/ValueSwitchControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/index.d.ts +2 -1
- package/dist/testing.js +2 -2
- package/dist/{toString-DJjlKbCy.js → toString-QZrKsF0R.js} +1 -1
- package/dist/{useBuiltinValidations-Dx6fNtgz.js → useBuiltinValidations-BuK2jQ92.js} +1 -1
- package/dist/{usePossibleValues-CJPCrHNK.js → usePossibleValues-mDlctZMJ.js} +1 -1
- package/package.json +4 -4
- package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-08LS7x5p.js +0 -16088
- package/dist/SettingsSubPanel-BE_UKIFi.js +0 -5
- package/dist/circle-error-DSKuwq8B-CWvOjP4j.js +0 -22
- package/dist/circle-info-DL9BFZEc-BlUxsw1S.js +0 -22
- package/dist/index-CZ-Na6c0.js +0 -376
- package/dist/local-filesystem-D9Znqo5U-U94FQxJl.js +0 -22
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as s, createBlock as t, openBlock 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-hU63N9DI.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, createBlock as s, openBlock 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-CQxP1EIA.js";
|
|
3
3
|
const c = o({
|
|
4
4
|
name: "Button",
|
|
5
5
|
components: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementBlock as s, openBlock 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-CQxP1EIA.js";
|
|
3
3
|
const r = {
|
|
4
4
|
name: "Checkbox",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as s, ref as d, createElementBlock as r, openBlock as c, createElementVNode as i, renderSlot as a, createVNode as u, unref as v } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { ad as b, _ as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CQxP1EIA.js";
|
|
3
3
|
const p = { class: "checkbox-container" }, f = /* @__PURE__ */ s({
|
|
4
4
|
__name: "CheckboxControl",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as c } from "./Checkbox-
|
|
1
|
+
import { C as c } from "./Checkbox-DD4pKL3h.js";
|
|
2
2
|
import { resolveComponent as u, createElementBlock as s, openBlock as o, normalizeClass as f, Fragment as m, renderList as h, createBlock as p, withCtx as x, renderSlot as b, createTextVNode as V, toDisplayString as y } from "vue";
|
|
3
|
-
import { _ as k } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-
|
|
3
|
+
import { _ as k } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CQxP1EIA.js";
|
|
4
4
|
const _ = {
|
|
5
5
|
name: "Checkboxes",
|
|
6
6
|
components: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as c, computed as t, ref as i, toRef as u, onMounted as d, createBlock as r, createCommentVNode as m, openBlock as p, unref as b } from "vue";
|
|
2
2
|
import { o as f } from "./index-Blg1O3Fz.js";
|
|
3
|
-
import { u as h } from "./usePossibleValues-
|
|
4
|
-
import { C as v } from "./Checkboxes-
|
|
5
|
-
import { _ as V } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-
|
|
3
|
+
import { u as h } from "./usePossibleValues-mDlctZMJ.js";
|
|
4
|
+
import { C as v } from "./Checkboxes-BZyTWKxA.js";
|
|
5
|
+
import { _ as V } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CQxP1EIA.js";
|
|
6
6
|
const y = /* @__PURE__ */ c({
|
|
7
7
|
__name: "CheckboxesControl",
|
|
8
8
|
props: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { resolveComponent as f, createElementBlock as b, openBlock as r, withModifiers as a, withKeys as u, normalizeClass as w, renderSlot as F, withDirectives as S, createElementVNode as p, createVNode as h, toDisplayString 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-mDlctZMJ.js";
|
|
3
3
|
import { C as L } from "./close-W1x27NhZ.js";
|
|
4
|
-
import { _ as B,
|
|
4
|
+
import { _ as B, G as H } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CQxP1EIA.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { A as K } from "./arrow-dropdown-BHK4j8GT.js";
|
|
7
|
-
import { C as j } from "./Checkbox-
|
|
7
|
+
import { C as j } from "./Checkbox-DD4pKL3h.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, createBlock as r, openBlock as u, unref as m } from "vue";
|
|
2
|
-
import { t as s, f as c, D as p } from "./localTimeUtils-
|
|
2
|
+
import { t as s, f as c, D as p } from "./localTimeUtils-D8YXvgUG.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, createBlock as r, openBlock 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-D8YXvgUG.js";
|
|
3
3
|
const T = /* @__PURE__ */ c({
|
|
4
4
|
__name: "DateTimeControl",
|
|
5
5
|
props: {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { createElementBlock as y, openBlock as m, createElementVNode as p, defineComponent as O, useCssVars as q, computed as F, ref as f, watch as z, reactive as G, onMounted as J, nextTick as N, onUnmounted as Q, createBlock as P, unref as E, withCtx as X, createCommentVNode as C, createVNode as M, Fragment as Y, renderList as ee, normalizeClass as I, toDisplayString as B, mergeModels as te, useModel as oe, withDirectives as le, vModelText as ae, normalizeStyle as se } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { _ as U, H as ne } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CQxP1EIA.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-Bh9C9QlY.js";
|
|
5
|
-
import { L as ve } from "./LoadingIcon-
|
|
6
|
-
import { V as $ } from "./ValueSwitch-
|
|
7
|
-
import { _ as U } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-08LS7x5p.js";
|
|
5
|
+
import { L as ve } from "./LoadingIcon-DlQBrbLr.js";
|
|
6
|
+
import { V as $ } from "./ValueSwitch-BX_4vNxr.js";
|
|
8
7
|
const fe = {
|
|
9
8
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10
9
|
fill: "none",
|
|
@@ -369,7 +368,7 @@ const he = { render: ye }, Te = { class: "popover" }, ge = { class: "formats-con
|
|
|
369
368
|
], 4)) : C("", !0)
|
|
370
369
|
]));
|
|
371
370
|
}
|
|
372
|
-
}),
|
|
371
|
+
}), $e = /* @__PURE__ */ U(Ve, [["__scopeId", "data-v-1577d5ce"]]);
|
|
373
372
|
export {
|
|
374
|
-
|
|
373
|
+
$e as D
|
|
375
374
|
};
|
package/dist/{DateTimeFormatPickerControl-SZNaksRz.js → DateTimeFormatPickerControl-BSrOOnCs.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as c, computed as e, createBlock as p, openBlock 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-CQxP1EIA.js";
|
|
3
|
+
import { D as v } from "./DateTimeFormatInput-DkqacscY.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, createElementBlock as T, openBlock 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-CQxP1EIA.js";
|
|
3
|
+
import { V as h } from "./ValueSwitch-BX_4vNxr.js";
|
|
4
|
+
import { D as y } from "./DateTimeFormatInput-DkqacscY.js";
|
|
5
5
|
const D = ["id"], w = /* @__PURE__ */ v({
|
|
6
6
|
__name: "DateTimeFormatPickerWithTypeControl",
|
|
7
7
|
props: {
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { defineComponent as j, shallowRef as _, h as z, watch as B, toValue as p, computed as M, unref as U, nextTick as X, toRefs as q, ref as E, resolveComponent as V, createBlock as S, openBlock as c, withCtx as
|
|
2
|
-
import {
|
|
3
|
-
import { A as
|
|
4
|
-
import { C as
|
|
1
|
+
import { defineComponent as j, shallowRef as _, h as z, watch as B, toValue as p, computed as M, unref as U, nextTick as X, toRefs as q, ref as E, resolveComponent as V, createBlock as S, openBlock as c, withCtx as O, createElementVNode as m, normalizeClass as y, withDirectives as Q, normalizeStyle as J, createElementBlock as h, withModifiers as x, renderSlot as C, toDisplayString as D, createCommentVNode as v, withKeys as Z, createVNode as N, Fragment as w, renderList as P, createTextVNode as $, vShow as ee } from "vue";
|
|
2
|
+
import { H as te, M as se, N as R, O as K, P as k, Q as ie, R as ne, T as le, G as ae, I as oe, _ as re } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CQxP1EIA.js";
|
|
3
|
+
import { A as de } from "./arrow-dropdown-BHK4j8GT.js";
|
|
4
|
+
import { C as ue } from "./close-W1x27NhZ.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { u as
|
|
7
|
-
import { D as de, G as ue, _ as ce } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-08LS7x5p.js";
|
|
6
|
+
import { u as ce } from "./useSearch-hpyYQ_6y.js";
|
|
8
7
|
import { i as he } from "./hotkeys-rxnt4egK.js";
|
|
9
|
-
import { d as fe, a as pe, b as me, i as ge, e as ye, h as Ve, c as xe } from "./_getTag-
|
|
8
|
+
import { d as fe, a as pe, b as me, i as ge, e as ye, h as Ve, c as xe } from "./_getTag-Bvm_nCSV.js";
|
|
10
9
|
import { i as ve } from "./isArray-WzO_os3q.js";
|
|
11
10
|
var we = "[object Map]", be = "[object Set]", Ee = Object.prototype, Se = Ee.hasOwnProperty;
|
|
12
|
-
function
|
|
11
|
+
function Oe(e) {
|
|
13
12
|
if (e == null)
|
|
14
13
|
return !0;
|
|
15
14
|
if (fe(e) && (ve(e) || typeof e == "string" || typeof e.splice == "function" || pe(e) || me(e) || ge(e)))
|
|
@@ -24,7 +23,7 @@ function Ce(e) {
|
|
|
24
23
|
return !1;
|
|
25
24
|
return !0;
|
|
26
25
|
}
|
|
27
|
-
const
|
|
26
|
+
const Ce = /* @__PURE__ */ j({
|
|
28
27
|
name: "OnClickOutside",
|
|
29
28
|
props: ["as", "options"],
|
|
30
29
|
emits: ["trigger"],
|
|
@@ -145,19 +144,19 @@ function Be() {
|
|
|
145
144
|
};
|
|
146
145
|
}
|
|
147
146
|
Be();
|
|
148
|
-
const
|
|
147
|
+
const H = "ArrowDown", L = "ArrowUp", F = "Home", W = "End", Me = "Escape", Y = "Enter", Ne = [H, L, F, W, Y], Pe = {
|
|
149
148
|
name: "Dropdown",
|
|
150
149
|
components: {
|
|
151
|
-
DropdownIcon:
|
|
152
|
-
OnClickOutside:
|
|
153
|
-
FunctionButton:
|
|
154
|
-
CloseIcon:
|
|
150
|
+
DropdownIcon: de,
|
|
151
|
+
OnClickOutside: Ce,
|
|
152
|
+
FunctionButton: ae,
|
|
153
|
+
CloseIcon: ue
|
|
155
154
|
},
|
|
156
155
|
props: {
|
|
157
156
|
id: {
|
|
158
157
|
type: String,
|
|
159
158
|
default() {
|
|
160
|
-
return `Dropdown-${
|
|
159
|
+
return `Dropdown-${oe()}`;
|
|
161
160
|
}
|
|
162
161
|
},
|
|
163
162
|
modelValue: {
|
|
@@ -246,7 +245,7 @@ const L = "ArrowDown", H = "ArrowUp", F = "Home", W = "End", Me = "Escape", Y =
|
|
|
246
245
|
f.value || (i.value = r.value[a]);
|
|
247
246
|
}
|
|
248
247
|
);
|
|
249
|
-
const l =
|
|
248
|
+
const l = ce(
|
|
250
249
|
i,
|
|
251
250
|
t,
|
|
252
251
|
s,
|
|
@@ -321,7 +320,7 @@ const L = "ArrowDown", H = "ArrowUp", F = "Home", W = "End", Me = "Escape", Y =
|
|
|
321
320
|
},
|
|
322
321
|
hasOptionTemplate() {
|
|
323
322
|
return this.possibleValues.length === 0 ? !1 : this.possibleValues.every(
|
|
324
|
-
(e) => e.slotData && !
|
|
323
|
+
(e) => e.slotData && !Oe(e.slotData)
|
|
325
324
|
);
|
|
326
325
|
},
|
|
327
326
|
selectedOption() {
|
|
@@ -430,7 +429,7 @@ const L = "ArrowDown", H = "ArrowUp", F = "Home", W = "End", Me = "Escape", Y =
|
|
|
430
429
|
this.isExpanded ? this.handleKeyDownOnExpanded(e) : he(e, Ne) && (this.expand(), e.preventDefault());
|
|
431
430
|
},
|
|
432
431
|
handleKeyDownOnExpanded(e) {
|
|
433
|
-
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 === Me && (this.collapse(), e.preventDefault(), e.stopPropagation()), e.key === Y && (this.onEnter(), e.preventDefault());
|
|
434
433
|
},
|
|
435
434
|
hasSelection() {
|
|
436
435
|
return !!(this.modelValue && !this.isMissing);
|
|
@@ -458,7 +457,7 @@ const L = "ArrowDown", H = "ArrowUp", F = "Home", W = "End", Me = "Escape", Y =
|
|
|
458
457
|
this.searchValue = "", this.getSearchInput().focus();
|
|
459
458
|
}
|
|
460
459
|
}
|
|
461
|
-
}, Ke = ["id"], Re = ["id", "aria-label", "aria-labelledby", "aria-expanded"], Ae = ["value"],
|
|
460
|
+
}, Ke = ["id"], Re = ["id", "aria-label", "aria-labelledby", "aria-expanded"], Ae = ["value"], He = { key: 1 }, Le = { class: "right" }, Fe = {
|
|
462
461
|
key: 0,
|
|
463
462
|
class: "loading-icon"
|
|
464
463
|
}, We = ["aria-activedescendant"], Ye = {
|
|
@@ -468,7 +467,7 @@ const L = "ArrowDown", H = "ArrowUp", F = "Home", W = "End", Me = "Escape", Y =
|
|
|
468
467
|
function ze(e, t, s, n, r, i) {
|
|
469
468
|
const f = V("CloseIcon"), l = V("FunctionButton"), a = V("DropdownIcon"), o = V("OnClickOutside");
|
|
470
469
|
return c(), S(o, { onTrigger: i.closeDropdown }, {
|
|
471
|
-
default:
|
|
470
|
+
default: O(() => [
|
|
472
471
|
m("div", {
|
|
473
472
|
id: s.id,
|
|
474
473
|
class: y([
|
|
@@ -492,7 +491,7 @@ function ze(e, t, s, n, r, i) {
|
|
|
492
491
|
missing: i.isMissing && !n.isExpanded,
|
|
493
492
|
"has-option-template": i.hasOptionTemplate && !n.isExpanded
|
|
494
493
|
}),
|
|
495
|
-
style:
|
|
494
|
+
style: J({
|
|
496
495
|
...n.isExpanded && i.hasOptionTemplate && {
|
|
497
496
|
height: `calc(${r.slotContainerHeight}px + 0 * var(--form-border-width))`,
|
|
498
497
|
boxSizing: "content-box"
|
|
@@ -515,8 +514,8 @@ function ze(e, t, s, n, r, i) {
|
|
|
515
514
|
onClick: t[0] || (t[0] = x(() => {
|
|
516
515
|
}, ["stop"])),
|
|
517
516
|
onInput: t[1] || (t[1] = (u) => i.handleSearch(u.target.value))
|
|
518
|
-
}, null, 40, Ae)) : i.hasOptionTemplate ? (c(), h("div",
|
|
519
|
-
|
|
517
|
+
}, null, 40, Ae)) : i.hasOptionTemplate ? (c(), h("div", He, [
|
|
518
|
+
C(e.$slots, "option", {
|
|
520
519
|
slotData: i.selectedOption?.slotData,
|
|
521
520
|
isMissing: i.isMissing,
|
|
522
521
|
selectedValue: s.modelValue,
|
|
@@ -526,9 +525,9 @@ function ze(e, t, s, n, r, i) {
|
|
|
526
525
|
key: 2,
|
|
527
526
|
ref: "span"
|
|
528
527
|
}, D(i.displayText), 513)),
|
|
529
|
-
m("div",
|
|
528
|
+
m("div", Le, [
|
|
530
529
|
i.hasRightIcon ? (c(), h("div", Fe, [
|
|
531
|
-
|
|
530
|
+
C(e.$slots, "icon-right")
|
|
532
531
|
])) : v("", !0),
|
|
533
532
|
n.isExpanded && i.nonEmptySearchValue ? (c(), S(l, {
|
|
534
533
|
key: 1,
|
|
@@ -541,7 +540,7 @@ function ze(e, t, s, n, r, i) {
|
|
|
541
540
|
}, ["stop"]), ["enter"])),
|
|
542
541
|
onClick: x(i.handleResetInput, ["stop"])
|
|
543
542
|
}, {
|
|
544
|
-
default:
|
|
543
|
+
default: O(() => [
|
|
545
544
|
N(f, { class: "icon" })
|
|
546
545
|
]),
|
|
547
546
|
_: 1
|
|
@@ -555,7 +554,7 @@ function ze(e, t, s, n, r, i) {
|
|
|
555
554
|
tabindex: n.isExpanded ? 0 : -1,
|
|
556
555
|
onClick: x(i.toggleExpanded, ["stop"])
|
|
557
556
|
}, {
|
|
558
|
-
default:
|
|
557
|
+
default: O(() => [
|
|
559
558
|
N(a, {
|
|
560
559
|
class: y(["dropdown-icon", "icon"])
|
|
561
560
|
})
|
|
@@ -564,7 +563,7 @@ function ze(e, t, s, n, r, i) {
|
|
|
564
563
|
}, 8, ["compact", "disabled", "title", "tabindex", "onClick"])) : v("", !0)
|
|
565
564
|
])
|
|
566
565
|
], 46, Re),
|
|
567
|
-
|
|
566
|
+
Q(m("ul", {
|
|
568
567
|
ref: "ul",
|
|
569
568
|
role: "listbox",
|
|
570
569
|
tabindex: "-1",
|
|
@@ -592,7 +591,7 @@ function ze(e, t, s, n, r, i) {
|
|
|
592
591
|
onMouseenter: (g) => i.updateCandidate(d.id),
|
|
593
592
|
onClick: (g) => i.emitAndClose(d.id)
|
|
594
593
|
}, [
|
|
595
|
-
i.hasOptionTemplate ?
|
|
594
|
+
i.hasOptionTemplate ? C(e.$slots, "option", {
|
|
596
595
|
key: 0,
|
|
597
596
|
slotData: d.slotData,
|
|
598
597
|
expanded: !0
|
|
@@ -615,7 +614,7 @@ function ze(e, t, s, n, r, i) {
|
|
|
615
614
|
_: 3
|
|
616
615
|
}, 8, ["onTrigger"]);
|
|
617
616
|
}
|
|
618
|
-
const
|
|
617
|
+
const st = /* @__PURE__ */ re(Pe, [["render", ze], ["__scopeId", "data-v-0a20a161"]]);
|
|
619
618
|
export {
|
|
620
|
-
|
|
619
|
+
st as D
|
|
621
620
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as s, toRef as c, computed as n, createBlock as d, openBlock 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-mDlctZMJ.js";
|
|
3
|
+
import { L as r } from "./LoadingDropdown-BI_31sRO.js";
|
|
4
|
+
import { I as b } from "./InputField-Dvezbm7O.js";
|
|
5
5
|
const p = /* @__PURE__ */ s({
|
|
6
6
|
__name: "DropdownControl",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, createElementBlock as t, openBlock as a, Fragment as r, renderList as c, createBlock as s, unref as u } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a as m, _ as i } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CQxP1EIA.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 { createElementBlock as i, openBlock as s, normalizeClass as r, createCommentVNode as u, createElementVNode as o, renderSlot 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-CQxP1EIA.js";
|
|
4
4
|
const c = {
|
|
5
5
|
name: "InputField",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, createBlock as n, openBlock 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-BwL1OLQ_.js";
|
|
3
3
|
const s = /* @__PURE__ */ o({
|
|
4
4
|
__name: "IntegerControl",
|
|
5
5
|
props: {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { createElementBlock as E, openBlock as m, renderSlot as Te, createCommentVNode as B, toDisplayString as O, createElementVNode as v, defineComponent as F, mergeModels as G, useModel as k, computed as R, Fragment as N, withDirectives as $, createBlock as J, createVNode as h, vShow as b, renderList as K, unref as c, withCtx as X, createTextVNode as he, ref as T, watch as W, normalizeClass as xe, withKeys as
|
|
2
|
-
import { _ as H,
|
|
3
|
-
import { o as $e, e as Re } from "./index-CZ-Na6c0.js";
|
|
1
|
+
import { createElementBlock as E, openBlock as m, renderSlot as Te, createCommentVNode as B, toDisplayString as O, createElementVNode as v, defineComponent as F, mergeModels as G, useModel as k, computed as R, Fragment as N, withDirectives as $, createBlock as J, createVNode as h, vShow as b, renderList as K, unref as c, withCtx as X, createTextVNode as he, ref as T, watch as W, normalizeClass as xe, withKeys as ye, vModelText as De, normalizeStyle as _e } from "vue";
|
|
2
|
+
import { _ as H, G as Me, H as Pe, Z as $e, u as Re } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CQxP1EIA.js";
|
|
4
3
|
import { u as Ae, a as we, s as be, f as Ne, o as Ve } from "./floating-ui.vue-Fx4CxKut.js";
|
|
5
|
-
import { N as q } from "./NumberInput-
|
|
6
|
-
import { V as
|
|
4
|
+
import { N as q } from "./NumberInput-BNOfmKVa.js";
|
|
5
|
+
import { V as Z } from "./ValueSwitch-BX_4vNxr.js";
|
|
7
6
|
const Se = {
|
|
8
7
|
name: "Tooltip",
|
|
9
8
|
props: {
|
|
@@ -37,18 +36,18 @@ const ke = /* @__PURE__ */ H(Se, [["render", Ge], ["__scopeId", "data-v-64e1cb84
|
|
|
37
36
|
seconds: parseInt(t[3] ?? "0", 10),
|
|
38
37
|
milliseconds: a
|
|
39
38
|
};
|
|
40
|
-
},
|
|
39
|
+
}, z = (e) => e.type === "DATE" ? e.interval.years === 0 && e.interval.months === 0 && e.interval.weeks === 0 && e.interval.days === 0 : e.interval.hours === 0 && e.interval.minutes === 0 && e.interval.seconds === 0 && e.interval.milliseconds === 0, V = (e) => {
|
|
41
40
|
let t = "P";
|
|
42
41
|
return e.type === "DATE" ? t += `${e.interval.years}Y${e.interval.months}M${e.interval.weeks}W${e.interval.days}D` : t += `T${e.interval.hours}H${e.interval.minutes}M${e.interval.seconds}.${e.interval.milliseconds.toString().padStart(3, "0")}S`, e.interval.negative && (t = `-${t}`), t;
|
|
43
42
|
}, P = (e) => {
|
|
44
43
|
const t = (n, i) => n === 0 ? "" : n === 1 ? `${n} ${i} ` : `${n} ${i}s `;
|
|
45
44
|
let a = "";
|
|
46
45
|
if (e.type === "DATE") {
|
|
47
|
-
if (
|
|
46
|
+
if (z(e))
|
|
48
47
|
return "0 days";
|
|
49
48
|
a += t(e.interval.years, "year"), a += t(e.interval.months, "month"), a += t(e.interval.weeks, "week"), a += t(e.interval.days, "day");
|
|
50
49
|
} else {
|
|
51
|
-
if (
|
|
50
|
+
if (z(e))
|
|
52
51
|
return "0 seconds";
|
|
53
52
|
a += t(e.interval.hours, "hour"), a += t(e.interval.minutes, "minute");
|
|
54
53
|
const n = e.interval.milliseconds === 0;
|
|
@@ -102,7 +101,7 @@ const ke = /* @__PURE__ */ H(Se, [["render", Ge], ["__scopeId", "data-v-64e1cb84
|
|
|
102
101
|
} catch {
|
|
103
102
|
return { valid: !1 };
|
|
104
103
|
}
|
|
105
|
-
},
|
|
104
|
+
}, y = (e) => {
|
|
106
105
|
if (e = e?.trim(), ["", "P", "PT", "-", "-P", "-PT"].includes(e))
|
|
107
106
|
throw new Error("Empty ISO duration");
|
|
108
107
|
const t = /^-?P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)W)?(?:(\d+)D)?$/, a = /^-?PT(?:(\d+)H)?(?:(\d+)M)?(?:(\d+)(?:[,.](\d{1,3}))?S)?$/, n = t.exec(e), i = a.exec(e);
|
|
@@ -125,7 +124,7 @@ const ke = /* @__PURE__ */ H(Se, [["render", Ge], ["__scopeId", "data-v-64e1cb84
|
|
|
125
124
|
throw new Error(`Invalid ISO duration: ${e}`);
|
|
126
125
|
}, ve = (e, t) => {
|
|
127
126
|
try {
|
|
128
|
-
const a =
|
|
127
|
+
const a = y(e), n = a.type, i = a.interval.negative;
|
|
129
128
|
if (n === t || t === "DATE_OR_TIME")
|
|
130
129
|
return {
|
|
131
130
|
valid: !0,
|
|
@@ -141,7 +140,7 @@ const ke = /* @__PURE__ */ H(Se, [["render", Ge], ["__scopeId", "data-v-64e1cb84
|
|
|
141
140
|
"DATE_OR_TIME"
|
|
142
141
|
);
|
|
143
142
|
if (t.valid)
|
|
144
|
-
return
|
|
143
|
+
return y(e);
|
|
145
144
|
if (a.valid)
|
|
146
145
|
return ue(e);
|
|
147
146
|
throw new Error(`Invalid interval string: ${e}`);
|
|
@@ -160,12 +159,12 @@ function We(e, t) {
|
|
|
160
159
|
v("path", { d: "m19.7 17-4.6-2.6V8.7m6.3 15.6h8.7m-3.2-3.2 3.2 3.2-3.2 3.2m-18-5.4c-2.2-1.8-3.6-4.6-3.6-7.7 0-5.5 4.4-9.9 9.9-9.9S25 8.9 25 14.4s-4.4 9.9-9.9 9.9H1.9" }, null, -1)
|
|
161
160
|
])]);
|
|
162
161
|
}
|
|
163
|
-
const qe = { render: We },
|
|
162
|
+
const qe = { render: We }, L = [
|
|
164
163
|
"years",
|
|
165
164
|
"months",
|
|
166
165
|
"weeks",
|
|
167
166
|
"days"
|
|
168
|
-
],
|
|
167
|
+
], Y = [
|
|
169
168
|
"hours",
|
|
170
169
|
"minutes",
|
|
171
170
|
"seconds",
|
|
@@ -191,7 +190,7 @@ const qe = { render: We }, Y = [
|
|
|
191
190
|
} : {
|
|
192
191
|
...t,
|
|
193
192
|
durationPart: e.interval
|
|
194
|
-
}, C = (e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase(),
|
|
193
|
+
}, C = (e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase(), Ze = { class: "header" }, ze = { class: "ascending-descending-switch-container" }, Le = { class: "input-grid" }, Ye = { class: "input-label" }, je = { class: "input-label" }, Je = { class: "accept-controls" }, Qe = /* @__PURE__ */ F({
|
|
195
194
|
__name: "IntervalInputPopoverContent",
|
|
196
195
|
props: /* @__PURE__ */ G({
|
|
197
196
|
format: {},
|
|
@@ -209,7 +208,7 @@ const qe = { render: We }, Y = [
|
|
|
209
208
|
emits: /* @__PURE__ */ G(["commit"], ["update:usedFormat", "update:modelValue"]),
|
|
210
209
|
setup(e, { emit: t }) {
|
|
211
210
|
const a = t, n = e, i = k(e, "usedFormat"), r = k(e, "modelValue"), d = R(() => {
|
|
212
|
-
const p = i.value === "DATE" ?
|
|
211
|
+
const p = i.value === "DATE" ? L : Y, u = i.value === "DATE" ? p.map(
|
|
213
212
|
(l) => r.value.periodPart[l]
|
|
214
213
|
) : p.map(
|
|
215
214
|
(l) => r.value.durationPart[l]
|
|
@@ -230,7 +229,7 @@ const qe = { render: We }, Y = [
|
|
|
230
229
|
set(p) {
|
|
231
230
|
r.value.periodPart.negative = p === "DESCENDING", r.value.durationPart.negative = p === "DESCENDING";
|
|
232
231
|
}
|
|
233
|
-
}),
|
|
232
|
+
}), D = () => {
|
|
234
233
|
a(
|
|
235
234
|
"commit",
|
|
236
235
|
i.value,
|
|
@@ -239,9 +238,9 @@ const qe = { render: We }, Y = [
|
|
|
239
238
|
);
|
|
240
239
|
};
|
|
241
240
|
return (p, u) => (m(), E(N, null, [
|
|
242
|
-
v("span",
|
|
241
|
+
v("span", Ze, [
|
|
243
242
|
u[2] || (u[2] = v("span", { class: "input-title" }, "Interval", -1)),
|
|
244
|
-
n.format === "DATE_OR_TIME" ? (m(), J(
|
|
243
|
+
n.format === "DATE_OR_TIME" ? (m(), J(Z, {
|
|
245
244
|
key: 0,
|
|
246
245
|
modelValue: i.value,
|
|
247
246
|
"onUpdate:modelValue": u[0] || (u[0] = (l) => i.value = l),
|
|
@@ -252,8 +251,8 @@ const qe = { render: We }, Y = [
|
|
|
252
251
|
compact: ""
|
|
253
252
|
}, null, 8, ["modelValue"])) : B("", !0)
|
|
254
253
|
]),
|
|
255
|
-
$(v("div",
|
|
256
|
-
h(
|
|
254
|
+
$(v("div", ze, [
|
|
255
|
+
h(Z, {
|
|
257
256
|
modelValue: I.value,
|
|
258
257
|
"onUpdate:modelValue": u[1] || (u[1] = (l) => I.value = l),
|
|
259
258
|
compact: "",
|
|
@@ -265,12 +264,12 @@ const qe = { render: We }, Y = [
|
|
|
265
264
|
], 512), [
|
|
266
265
|
[b, e.allowDescending]
|
|
267
266
|
]),
|
|
268
|
-
v("div",
|
|
269
|
-
(m(!0), E(N, null, K(c(
|
|
267
|
+
v("div", Le, [
|
|
268
|
+
(m(!0), E(N, null, K(c(L), (l) => $((m(), E("span", {
|
|
270
269
|
key: l,
|
|
271
270
|
class: "labeled-date-time-input"
|
|
272
271
|
}, [
|
|
273
|
-
v("span",
|
|
272
|
+
v("span", Ye, O(c(C)(l)), 1),
|
|
274
273
|
h(q, {
|
|
275
274
|
modelValue: r.value.periodPart[l],
|
|
276
275
|
"onUpdate:modelValue": (g) => r.value.periodPart[l] = g,
|
|
@@ -282,7 +281,7 @@ const qe = { render: We }, Y = [
|
|
|
282
281
|
], 512)), [
|
|
283
282
|
[b, i.value === "DATE"]
|
|
284
283
|
])), 128)),
|
|
285
|
-
(m(!0), E(N, null, K(c(
|
|
284
|
+
(m(!0), E(N, null, K(c(Y), (l) => $((m(), E("span", {
|
|
286
285
|
key: l,
|
|
287
286
|
class: "labeled-date-time-input"
|
|
288
287
|
}, [
|
|
@@ -309,7 +308,7 @@ const qe = { render: We }, Y = [
|
|
|
309
308
|
h(Me, {
|
|
310
309
|
primary: "",
|
|
311
310
|
disabled: !d.value.valid,
|
|
312
|
-
onClick:
|
|
311
|
+
onClick: D
|
|
313
312
|
}, {
|
|
314
313
|
default: X(() => [...u[3] || (u[3] = [
|
|
315
314
|
he(" Set ", -1)
|
|
@@ -354,7 +353,7 @@ const qe = { render: We }, Y = [
|
|
|
354
353
|
})()
|
|
355
354
|
), i = R(() => n.value === "DATE" ? "ISO-8601, whole words (1 year), single letters (1y)" : "ISO-8601, whole words (1 hour), single letters (1h)"), r = T(
|
|
356
355
|
(() => {
|
|
357
|
-
const o =
|
|
356
|
+
const o = y(
|
|
358
357
|
a.value
|
|
359
358
|
);
|
|
360
359
|
return w(o, {
|
|
@@ -376,7 +375,7 @@ const qe = { render: We }, Y = [
|
|
|
376
375
|
})()
|
|
377
376
|
), d = T(
|
|
378
377
|
P(
|
|
379
|
-
|
|
378
|
+
y(a.value)
|
|
380
379
|
)
|
|
381
380
|
), I = R(() => {
|
|
382
381
|
const o = S(
|
|
@@ -384,7 +383,7 @@ const qe = { render: We }, Y = [
|
|
|
384
383
|
"DATE_OR_TIME"
|
|
385
384
|
);
|
|
386
385
|
return o.valid && (t.allowDescending || !o.negative) && (o.type === n.value || t.format === "DATE_OR_TIME");
|
|
387
|
-
}),
|
|
386
|
+
}), D = T(null), p = T(null), u = T(null), l = (o, s) => {
|
|
388
387
|
const f = j(
|
|
389
388
|
o,
|
|
390
389
|
s
|
|
@@ -392,7 +391,7 @@ const qe = { render: We }, Y = [
|
|
|
392
391
|
d.value = P(f), a.value = V(f), n.value = s, r.value = o;
|
|
393
392
|
}, g = () => {
|
|
394
393
|
r.value = w(
|
|
395
|
-
|
|
394
|
+
y(a.value),
|
|
396
395
|
r.value
|
|
397
396
|
);
|
|
398
397
|
}, _ = (o) => {
|
|
@@ -410,7 +409,7 @@ const qe = { render: We }, Y = [
|
|
|
410
409
|
r.value
|
|
411
410
|
), a.value = V(f), n.value = s.type, d.value = P(f);
|
|
412
411
|
}, me = (o) => {
|
|
413
|
-
const s =
|
|
412
|
+
const s = y(o);
|
|
414
413
|
d.value = P(s), r.value = w(
|
|
415
414
|
s,
|
|
416
415
|
r.value
|
|
@@ -433,10 +432,10 @@ const qe = { render: We }, Y = [
|
|
|
433
432
|
s.usedFormat
|
|
434
433
|
) : g(), M.value = !1;
|
|
435
434
|
};
|
|
436
|
-
|
|
435
|
+
Pe(D, () => A(!1), {
|
|
437
436
|
ignore: [p]
|
|
438
|
-
}),
|
|
439
|
-
const { floatingStyles: Ee, update: ge } = Ae(p,
|
|
437
|
+
}), $e("Escape", () => A(!1));
|
|
438
|
+
const { floatingStyles: Ee, update: ge } = Ae(p, D, {
|
|
440
439
|
middleware: [
|
|
441
440
|
be(),
|
|
442
441
|
// move left/right to keep it on screen
|
|
@@ -471,9 +470,9 @@ const qe = { render: We }, Y = [
|
|
|
471
470
|
spellcheck: "false",
|
|
472
471
|
onFocus: s[1] || (s[1] = (f) => M.value = !1),
|
|
473
472
|
onFocusout: s[2] || (s[2] = () => U(d.value)),
|
|
474
|
-
onKeypress: s[3] || (s[3] =
|
|
473
|
+
onKeypress: s[3] || (s[3] = ye(() => U(d.value), ["enter"]))
|
|
475
474
|
}, null, 40, at), [
|
|
476
|
-
[
|
|
475
|
+
[De, d.value]
|
|
477
476
|
]),
|
|
478
477
|
I.value ? B("", !0) : (m(), E("span", nt)),
|
|
479
478
|
v("button", {
|
|
@@ -491,7 +490,7 @@ const qe = { render: We }, Y = [
|
|
|
491
490
|
], 2),
|
|
492
491
|
$(v("div", {
|
|
493
492
|
ref_key: "durationInputPopoverRef",
|
|
494
|
-
ref:
|
|
493
|
+
ref: D,
|
|
495
494
|
class: "control-popup",
|
|
496
495
|
style: _e(c(Ee))
|
|
497
496
|
}, [
|
|
@@ -510,7 +509,7 @@ const qe = { render: We }, Y = [
|
|
|
510
509
|
])
|
|
511
510
|
]));
|
|
512
511
|
}
|
|
513
|
-
}), rt = /* @__PURE__ */ H(ot, [["__scopeId", "data-v-f37d874a"]]),
|
|
512
|
+
}), rt = /* @__PURE__ */ H(ot, [["__scopeId", "data-v-f37d874a"]]), pt = /* @__PURE__ */ F({
|
|
514
513
|
__name: "IntervalControl",
|
|
515
514
|
props: {
|
|
516
515
|
control: {},
|
|
@@ -524,7 +523,7 @@ const qe = { render: We }, Y = [
|
|
|
524
523
|
setup(e) {
|
|
525
524
|
const t = e, a = R(
|
|
526
525
|
() => t.control.uischema
|
|
527
|
-
), n =
|
|
526
|
+
), n = Re(
|
|
528
527
|
a,
|
|
529
528
|
"intervalType",
|
|
530
529
|
"DATE_OR_TIME"
|
|
@@ -540,5 +539,5 @@ const qe = { render: We }, Y = [
|
|
|
540
539
|
}
|
|
541
540
|
});
|
|
542
541
|
export {
|
|
543
|
-
|
|
542
|
+
pt as default
|
|
544
543
|
};
|