@knime/jsonforms 1.19.6 → 1.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/{AnyOfTwinlist-DXjbNRLq.js → AnyOfTwinlist-CosNPUKG.js} +1 -1
  3. package/dist/{Checkbox-CZIoPAZU.js → Checkbox-BLHyWo4X.js} +1 -1
  4. package/dist/{CheckboxControl-D6LP2SAg.js → CheckboxControl-DyBcYCFe.js} +1 -1
  5. package/dist/{CheckboxesControl-D9DA7-T0.js → CheckboxesControl-DqcN6RcZ.js} +2 -2
  6. package/dist/{ColorControl-rCN_X6Wk.js → ColorControl-CPklP_Ox.js} +1 -1
  7. package/dist/{ColorPreviewControl-Dv7_mc6t.js → ColorPreviewControl-BhbI9XDV.js} +1 -1
  8. package/dist/{ComboBoxControl-DUaaxMZ_.js → ComboBoxControl-DR9x8i0b.js} +8 -8
  9. package/dist/{DateControl-5AuxnnvM.js → DateControl-DJxV5wzs.js} +1 -1
  10. package/dist/DateTimeControl-CoNsGbev.js +44 -0
  11. package/dist/{DateTimeFormatPickerControl-CbLnDDbr.js → DateTimeFormatPickerControl-BmtxQjzI.js} +1 -1
  12. package/dist/{DateTimeFormatPickerWithTypeControl-BBpPB5TM.js → DateTimeFormatPickerWithTypeControl-CK7LsO-R.js} +12 -12
  13. package/dist/{DropdownControl-2UdsfufQ.js → DropdownControl-nLA0kshc.js} +5 -5
  14. package/dist/ExecutorCoresControl-BgB0R_Xv.js +42 -0
  15. package/dist/ExecutorMemoryControl-Ck5naUl2.js +41 -0
  16. package/dist/FileUploadControl-CByhtwi1.js +197 -0
  17. package/dist/GridSelectionControl-8g--blrX.js +115 -0
  18. package/dist/{HorizontalLayout-ao9JZxiP.js → HorizontalLayout-Bc4F2xJR.js} +6 -6
  19. package/dist/InputField-Gw6K93vY.js +148 -0
  20. package/dist/{IntegerControl-wq8pma-E.js → IntegerControl-CAh031mO.js} +1 -1
  21. package/dist/{IntervalControl-DuI-4Y1d.js → IntervalControl-ocjzEBto.js} +168 -184
  22. package/dist/LinkControl-BML6cXj-.js +35 -0
  23. package/dist/LoadingDropdown.vue_vue_type_script_setup_true_lang-C2sH3IaG.js +57 -0
  24. package/dist/{LoadingIcon-BhelL9SM.js → LoadingIcon-B0S8ig5H.js} +1 -1
  25. package/dist/{ManualTwinlistControl-rP4L1RP6.js → ManualTwinlistControl-BdbrjZtS.js} +4 -4
  26. package/dist/{MultiSelectListBoxControl-iUqimLmu.js → MultiSelectListBoxControl-0M1iLfXZ.js} +2 -2
  27. package/dist/{MultimodeTwinlistControl-DTuLtZRx.js → MultimodeTwinlistControl-aL0Jr_Hp.js} +19 -20
  28. package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-DhQuoNrM.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-C61plPNM.js} +2 -2
  29. package/dist/{MultiselectListBox-DijeK4wH.js → MultiselectListBox-BJqQv0AT.js} +5 -5
  30. package/dist/{NameFilter-C1_u0chZ.js → NameFilter-DvoXjvd8.js} +1 -1
  31. package/dist/{NumberControl-BYvfrBJs.js → NumberControl-BEYR3aHU.js} +1 -1
  32. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-DBbHZCg_.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CSwuzJVa.js} +2 -2
  33. package/dist/{OneOfDropdown-BcqrG6U3.js → OneOfDropdown-Bg1JOuCZ.js} +1 -1
  34. package/dist/RadioButtonsWithDescriptionControl-Cmzn6X0W.js +57 -0
  35. package/dist/{RadioControl-BNB_hYVd.js → RadioControl-D4invwra.js} +2 -2
  36. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-C7JiVgxq.js → RadioControlBase.vue_vue_type_script_setup_true_lang-CuOORFSE.js} +2 -2
  37. package/dist/ResourceControlBase-BCx6cBBz.js +158 -0
  38. package/dist/{RichTextControl-BIjtuTf7.js → RichTextControl-TbANBneT.js} +2059 -1991
  39. package/dist/{SectionHeading-CUxdd2GX.js → SectionHeading-DoNDREK2.js} +1 -1
  40. package/dist/{SectionLayout-NqTBT8Al.js → SectionLayout-Dsd4wFck.js} +3 -3
  41. package/dist/SettingsSubPanel-sQPONy-U.js +5 -0
  42. package/dist/{SettingsSubPanelLayout-Biu_QPw1.js → SettingsSubPanelLayout-DbYqmGOS.js} +7 -7
  43. package/dist/{SimpleButtonControl-B0cnKTy4.js → SimpleButtonControl-DhM4t6v3.js} +6 -6
  44. package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js +26176 -0
  45. package/dist/{SimpleTwinlistControl-BIIN8GzH.js → SimpleTwinlistControl-Chay0D48.js} +2 -2
  46. package/dist/{SingleSelectControl-GbRcLm19.js → SingleSelectControl-BRfqeLOh.js} +2 -2
  47. package/dist/{SingleSelectListBoxControl-DkRfB8oZ.js → SingleSelectListBoxControl-DyDspddM.js} +5 -5
  48. package/dist/{SortListControl-BTS1lJOo.js → SortListControl-DX0uhRfk.js} +104 -118
  49. package/dist/{StyledListItem-DBa0VNHX.js → StyledListItem-B_FaDixp.js} +1 -1
  50. package/dist/TeamAndSpacesControl-CVGPGpqd.js +64 -0
  51. package/dist/TeamResourceControl-DD-USgie.js +38 -0
  52. package/dist/{TextAreaControl-DrABn8Uh.js → TextAreaControl-BCIrrOzR.js} +1 -1
  53. package/dist/{TextControl-CHyUjofE.js → TextControl-B_2oeFoq.js} +1 -1
  54. package/dist/TextControl.vue_vue_type_script_setup_true_lang-CuCBV4pA.js +45 -0
  55. package/dist/{TimeControl-B4oVEJCX.js → TimeControl-CeL2KxIB.js} +1 -1
  56. package/dist/TimePartInput-BbHxGv7L.js +254 -0
  57. package/dist/TimeframesControl-BBUDxMaB.js +87 -0
  58. package/dist/Tooltip-B5O8iOuG.js +24 -0
  59. package/dist/{TwinlistControlBase-CiK7yseq.js → TwinlistControlBase--CFSodU_.js} +3 -3
  60. package/dist/{TwinlistLoadingInfo-x51VCOej.js → TwinlistLoadingInfo-aB5QCSFX.js} +18 -18
  61. package/dist/{TypedStringFilter-DC6B-Fds.js → TypedStringFilter-BjyKvhn1.js} +1 -1
  62. package/dist/{ValueSwitch-ChY5YK2o.js → ValueSwitch-DYxCMQ9c.js} +4 -4
  63. package/dist/{ValueSwitchControl-CJdAUIwq.js → ValueSwitchControl-CQkiPcwC.js} +1 -1
  64. package/dist/{VerticalLayout-DWbD5oCa.js → VerticalLayout-DygOb7L9.js} +2 -2
  65. package/dist/{VerticalLayoutBase-COwlULuo.js → VerticalLayoutBase-Dq_p4WmZ.js} +1 -1
  66. package/dist/{ZonedDateTimeControl-CLiwgCKR.js → ZonedDateTimeControl-CKyKzTtF.js} +2 -2
  67. package/dist/_Uint8Array-Boy5On8p.js +349 -0
  68. package/dist/_baseAssignValue-CG1hoqdJ.js +19 -0
  69. package/dist/{_baseEach-84mBqaP3.js → _baseEach-LxtQB6N-.js} +1 -1
  70. package/dist/_baseIteratee-BBGehgFZ.js +308 -0
  71. package/dist/floating-ui.vue-Bk6u3tWN.js +1060 -0
  72. package/dist/isArray-WzO_os3q.js +4 -0
  73. package/dist/knime-jsonforms.css +1 -1
  74. package/dist/knime-jsonforms.js +53 -51
  75. package/dist/{localTimeUtils-LXk5i7aP.js → localTimeUtils-C7kma5fB.js} +3163 -3553
  76. package/dist/src/JsonFormsDialog.vue.d.ts +2 -2
  77. package/dist/src/constants/inputFormats.d.ts +14 -0
  78. package/dist/src/higherOrderComponents/control/DescriptionPopover.vue.d.ts +6 -0
  79. package/dist/src/higherOrderComponents/control/index.d.ts +1 -0
  80. package/dist/src/higherOrderComponents/control/withDescription.d.ts +2 -0
  81. package/dist/src/layoutComponents/index.d.ts +2 -1
  82. package/dist/src/layoutComponents/simpleArrayLayout/SimpleArrayLayout.vue.d.ts +74 -0
  83. package/dist/src/layoutComponents/simpleArrayLayout/SimpleArrayLayoutItemControls.vue.d.ts +16 -0
  84. package/dist/src/renderers/defaultRenderers.d.ts +152 -3
  85. package/dist/src/renderers/executorCoresResourceRenderer.d.ts +1 -0
  86. package/dist/src/renderers/executorMemoryResourceRenderer.d.ts +1 -0
  87. package/dist/src/renderers/fileUploadRenderer.d.ts +1 -0
  88. package/dist/src/renderers/gridSelectionRenderer.d.ts +1 -0
  89. package/dist/src/renderers/linkRenderer.d.ts +69 -0
  90. package/dist/src/renderers/passwordRenderer.d.ts +1 -0
  91. package/dist/src/renderers/quantityRenderer.d.ts +1 -0
  92. package/dist/src/renderers/radioWithDescriptionRenderer.d.ts +69 -0
  93. package/dist/src/renderers/simpleArrayLayoutRenderer.d.ts +76 -0
  94. package/dist/src/renderers/sortListRenderer.d.ts +1 -3
  95. package/dist/src/renderers/teamAndSpaceDropdownRenderer.d.ts +3 -0
  96. package/dist/src/renderers/teamResourceRenderer.d.ts +1 -0
  97. package/dist/src/renderers/timeframesRenderer.d.ts +4 -0
  98. package/dist/src/renderers/usernameRenderer.d.ts +1 -0
  99. package/dist/src/types/ChoicesUiSchema.d.ts +13 -1
  100. package/dist/src/uiComponents/DateControl.vue.d.ts +1 -1
  101. package/dist/src/uiComponents/DateTimeControl.vue.d.ts +1 -1
  102. package/dist/src/uiComponents/FileUploadControl.vue.d.ts +6 -0
  103. package/dist/src/uiComponents/GridSelectionControl.vue.d.ts +9 -0
  104. package/dist/src/uiComponents/LinkControl.vue.d.ts +4 -0
  105. package/dist/src/uiComponents/PasswordControl.vue.d.ts +4 -0
  106. package/dist/src/uiComponents/QuantityControl.vue.d.ts +4 -0
  107. package/dist/src/uiComponents/RadioButtonsWithDescriptionControl.vue.d.ts +4 -0
  108. package/dist/src/uiComponents/SortListControl.vue.d.ts +1 -3
  109. package/dist/src/uiComponents/TeamAndSpacesControl.vue.d.ts +4 -0
  110. package/dist/src/uiComponents/TimeControl.vue.d.ts +1 -1
  111. package/dist/src/uiComponents/TimeframesControl.vue.d.ts +8 -0
  112. package/dist/src/uiComponents/UsernameControl.vue.d.ts +4 -0
  113. package/dist/src/uiComponents/configs/executionContexts.config.d.ts +29 -0
  114. package/dist/src/uiComponents/loading/types/LoadingDropdownProps.d.ts +2 -2
  115. package/dist/src/uiComponents/resourceControls/ExecutorCoresControl.vue.d.ts +4 -0
  116. package/dist/src/uiComponents/resourceControls/ExecutorMemoryControl.vue.d.ts +4 -0
  117. package/dist/src/uiComponents/resourceControls/ResourceControlBase.vue.d.ts +19 -0
  118. package/dist/src/uiComponents/resourceControls/SmallDonutChart.vue.d.ts +20 -0
  119. package/dist/src/uiComponents/resourceControls/TeamResourceControl.vue.d.ts +4 -0
  120. package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +1 -3
  121. package/dist/testing.js +2602 -2589
  122. package/dist/toString-Bbm8o0hZ.js +25 -0
  123. package/dist/{useBuiltinValidations-BUVcN7lQ.js → useBuiltinValidations-zKGc6Pdt.js} +1 -1
  124. package/dist/useDropdownNavigation-EOwf_fL0.js +946 -0
  125. package/dist/{usePossibleValues-D16WFE9l.js → usePossibleValues-DhdKca4Z.js} +1 -1
  126. package/package.json +5 -5
  127. package/dist/DateTimeControl-DZjFx11V.js +0 -44
  128. package/dist/Label-Vxe-id5C.js +0 -218
  129. package/dist/LoadingDropdown.vue_vue_type_script_setup_true_lang-DGUZn4wH.js +0 -52
  130. package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CYe4TfJy.js +0 -25430
  131. package/dist/SettingsSubPanel-CO7Sguho.js +0 -5
  132. package/dist/TextControl.vue_vue_type_script_setup_true_lang-yTQu10VH.js +0 -45
  133. package/dist/_baseIteratee-CBFfQfHB.js +0 -640
  134. package/dist/floating-ui.vue-Fx4CxKut.js +0 -1057
  135. package/dist/toString-gvdOTqCo.js +0 -25
  136. package/dist/useDropdownNavigation-2Yhk7zes.js +0 -821
@@ -1,34 +1,17 @@
1
- import { openBlock as m, createElementBlock as f, renderSlot as Ve, toDisplayString as F, createCommentVNode as $, createElementVNode as c, resolveComponent as ye, normalizeClass as b, withModifiers as R, createVNode as I, defineComponent as L, useModel as H, computed as w, Fragment as O, createBlock as ee, withDirectives as D, vShow as S, renderList as K, unref as p, withCtx as W, createTextVNode as xe, mergeModels as U, ref as T, watch as q, withKeys as Ae, vModelText as Me, normalizeStyle as _e } from "vue";
2
- import { _ as C, J as be, N as De, a4 as we, u as Pe } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CYe4TfJy.js";
3
- import { u as Re, a as Ne, s as Se, f as $e, o as Ce } from "./floating-ui.vue-Fx4CxKut.js";
1
+ import { openBlock as p, createElementBlock as E, createElementVNode as c, resolveComponent as ye, normalizeClass as D, createCommentVNode as F, withModifiers as N, createVNode as I, defineComponent as H, useModel as k, computed as P, Fragment as C, createBlock as te, withDirectives as b, vShow as S, renderList as X, unref as m, toDisplayString as K, withCtx as W, createTextVNode as Ae, mergeModels as G, ref as T, watch as z, withKeys as Me, vModelText as we, normalizeStyle as xe } from "vue";
2
+ import { _ as U, N as De, P as be, a9 as Pe, u as q } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
3
+ import { u as Re, a as Ne, s as _e, f as Se, o as Ce } from "./floating-ui.vue-Bk6u3tWN.js";
4
+ import { T as $e } from "./Tooltip-B5O8iOuG.js";
4
5
  import { A as Oe } from "./arrow-dropdown-DMFBPPcK.js";
5
6
  /* empty css */
6
- import { V as z } from "./ValueSwitch-ChY5YK2o.js";
7
- const Be = {
8
- name: "Tooltip",
9
- props: {
10
- text: {
11
- type: String,
12
- required: !0
13
- }
14
- }
15
- }, ke = { class: "tooltip" }, Ge = {
16
- key: 0,
17
- class: "text"
18
- };
19
- function Fe(e, t, a, s, u, n) {
20
- return m(), f("div", ke, [
21
- Ve(e.$slots, "default", {}, void 0, !0),
22
- a.text ? (m(), f("span", Ge, F(a.text), 1)) : $("", !0)
23
- ]);
24
- }
25
- const He = /* @__PURE__ */ C(Be, [["render", Fe], ["__scopeId", "data-v-64e1cb84"]]), te = (e, t) => ({
7
+ import { V as Z } from "./ValueSwitch-DYxCMQ9c.js";
8
+ const ae = (e, t) => ({
26
9
  negative: e,
27
10
  years: parseInt(t[1] ?? "0", 10),
28
11
  months: parseInt(t[2] ?? "0", 10),
29
12
  weeks: parseInt(t[3] ?? "0", 10),
30
13
  days: parseInt(t[4] ?? "0", 10)
31
- }), ae = (e, t) => {
14
+ }), ne = (e, t) => {
32
15
  const a = parseInt(t[4]?.padEnd(3, "0") ?? "0", 10);
33
16
  return {
34
17
  negative: e,
@@ -37,62 +20,62 @@ const He = /* @__PURE__ */ C(Be, [["render", Fe], ["__scopeId", "data-v-64e1cb84
37
20
  seconds: parseInt(t[3] ?? "0", 10),
38
21
  milliseconds: a
39
22
  };
40
- }, 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, B = (e) => {
23
+ }, Y = (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, $ = (e) => {
41
24
  let t = "P";
42
25
  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
- }, _ = (e) => {
26
+ }, x = (e) => {
44
27
  const t = (s, u) => s === 0 ? "" : s === 1 ? `${s} ${u} ` : `${s} ${u}s `;
45
28
  let a = "";
46
29
  if (e.type === "DATE") {
47
- if (Z(e))
30
+ if (Y(e))
48
31
  return "0 days";
49
32
  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
33
  } else {
51
- if (Z(e))
34
+ if (Y(e))
52
35
  return "0 seconds";
53
36
  a += t(e.interval.hours, "hour"), a += t(e.interval.minutes, "minute");
54
37
  const s = e.interval.milliseconds === 0;
55
38
  (e.interval.seconds !== 0 || !s) && (s ? a += t(e.interval.seconds, "second") : a += `${e.interval.seconds}.${e.interval.milliseconds.toString().padStart(3, "0")} seconds `);
56
39
  }
57
40
  return e.interval.negative && (a = `-(${a.trim()})`), a.trim();
58
- }, ne = "(\\d+)\\s*y(?:ears?)?", se = "(\\d+)\\s*m(?:o(?:nths?)?)?", le = "(\\d+)\\s*w(?:eeks?)?", re = "(\\d+)\\s*d(?:ays?)?", ie = "(\\d+)\\s*h(?:ours?)?", oe = "(\\d+)\\s*m(?:in(?:s|utes?)?)?", ue = "(\\d+)(?:[,.](\\d{1,3}))?\\s*s(?:ec(?:s|onds?)?)?", de = new RegExp(
59
- `^(?:${ne})?\\s*(?:${se})?\\s*(?:${le})?\\s*(?:${re})?\\s*$`,
41
+ }, se = "(\\d+)\\s*y(?:ears?)?", le = "(\\d+)\\s*m(?:o(?:nths?)?)?", re = "(\\d+)\\s*w(?:eeks?)?", ie = "(\\d+)\\s*d(?:ays?)?", oe = "(\\d+)\\s*h(?:ours?)?", ue = "(\\d+)\\s*m(?:in(?:s|utes?)?)?", de = "(\\d+)(?:[,.](\\d{1,3}))?\\s*s(?:ec(?:s|onds?)?)?", ce = new RegExp(
42
+ `^(?:${se})?\\s*(?:${le})?\\s*(?:${re})?\\s*(?:${ie})?\\s*$`,
60
43
  "i"
61
- ), ce = new RegExp(
62
- `^(?:${ie})?\\s*(?:${oe})?\\s*(?:${ue})?$`,
44
+ ), me = new RegExp(
45
+ `^(?:${oe})?\\s*(?:${ue})?\\s*(?:${de})?$`,
63
46
  "i"
64
- ), Ue = new RegExp(
65
- `^\\s*-\\s*\\(\\s*${de.source.replace(/[$^]/g, "")}\\s*\\)\\s*$`,
47
+ ), Be = new RegExp(
48
+ `^\\s*-\\s*\\(\\s*${ce.source.replace(/[$^]/g, "")}\\s*\\)\\s*$`,
66
49
  "i"
67
- ), Le = new RegExp(
68
- `^\\s*-\\s*(?:\\s*${ne}|${se}|${le}|${re})\\s*$`,
50
+ ), ke = new RegExp(
51
+ `^\\s*-\\s*(?:\\s*${se}|${le}|${re}|${ie})\\s*$`,
69
52
  "i"
70
- ), Xe = new RegExp(
71
- `^\\s*-\\s*\\(\\s*${ce.source.replace(/[$^]/g, "")}\\s*\\)\\s*$`,
53
+ ), Ge = new RegExp(
54
+ `^\\s*-\\s*\\(\\s*${me.source.replace(/[$^]/g, "")}\\s*\\)\\s*$`,
72
55
  "i"
73
- ), Ke = new RegExp(
74
- `^\\s*-\\s*(?:\\s*${ie}|${oe}|${ue})\\s*$`,
56
+ ), Fe = new RegExp(
57
+ `^\\s*-\\s*(?:\\s*${oe}|${ue}|${de})\\s*$`,
75
58
  "i"
76
- ), me = (e) => {
59
+ ), ve = (e) => {
77
60
  if (e = e?.trim(), !e)
78
61
  throw new Error("Empty interval string");
79
- const t = de.exec(e), a = Ue.exec(e) ?? Le.exec(e), s = ce.exec(e), u = Xe.exec(e) ?? Ke.exec(e), n = t ?? a, d = s ?? u, r = (a ?? u) !== null;
62
+ const t = ce.exec(e), a = Be.exec(e) ?? ke.exec(e), s = me.exec(e), u = Ge.exec(e) ?? Fe.exec(e), n = t ?? a, d = s ?? u, r = (a ?? u) !== null;
80
63
  if (d && n)
81
64
  throw new Error("Ambiguous time format");
82
65
  if (n)
83
66
  return {
84
67
  type: "DATE",
85
- interval: te(r, n)
68
+ interval: ae(r, n)
86
69
  };
87
70
  if (d)
88
71
  return {
89
72
  type: "TIME",
90
- interval: ae(r, d)
73
+ interval: ne(r, d)
91
74
  };
92
75
  throw new Error(`Invalid human readable time: ${e}`);
93
- }, ve = (e, t) => {
76
+ }, pe = (e, t) => {
94
77
  try {
95
- const a = me(e), s = a.type, u = a.interval.negative;
78
+ const a = ve(e), s = a.type, u = a.interval.negative;
96
79
  if (s === t || t === "DATE_OR_TIME")
97
80
  return {
98
81
  valid: !0,
@@ -109,7 +92,7 @@ const He = /* @__PURE__ */ C(Be, [["render", Fe], ["__scopeId", "data-v-64e1cb84
109
92
  if (s)
110
93
  return {
111
94
  type: "DATE",
112
- interval: te(
95
+ interval: ae(
113
96
  e.startsWith("-"),
114
97
  s
115
98
  )
@@ -117,13 +100,13 @@ const He = /* @__PURE__ */ C(Be, [["render", Fe], ["__scopeId", "data-v-64e1cb84
117
100
  if (u)
118
101
  return {
119
102
  type: "TIME",
120
- interval: ae(
103
+ interval: ne(
121
104
  e.startsWith("-"),
122
105
  u
123
106
  )
124
107
  };
125
108
  throw new Error(`Invalid ISO duration: ${e}`);
126
- }, pe = (e, t) => {
109
+ }, fe = (e, t) => {
127
110
  try {
128
111
  const a = y(e), s = a.type, u = a.interval.negative;
129
112
  if (s === t || t === "DATE_OR_TIME")
@@ -135,32 +118,32 @@ const He = /* @__PURE__ */ C(Be, [["render", Fe], ["__scopeId", "data-v-64e1cb84
135
118
  } catch {
136
119
  return { valid: !1 };
137
120
  }
138
- }, We = (e) => {
139
- const t = pe(e, "DATE_OR_TIME"), a = ve(
121
+ }, He = (e) => {
122
+ const t = fe(e, "DATE_OR_TIME"), a = pe(
140
123
  e,
141
124
  "DATE_OR_TIME"
142
125
  );
143
126
  if (t.valid)
144
127
  return y(e);
145
128
  if (a.valid)
146
- return me(e);
129
+ return ve(e);
147
130
  throw new Error(`Invalid interval string: ${e}`);
148
- }, k = (e, t) => {
149
- const a = pe(e, t), s = ve(e, t);
131
+ }, O = (e, t) => {
132
+ const a = fe(e, t), s = pe(e, t);
150
133
  return a.valid ? a : s.valid ? s : { valid: !1 };
151
- }, qe = {
134
+ }, Ue = {
152
135
  xmlns: "http://www.w3.org/2000/svg",
153
136
  fill: "none",
154
137
  stroke: "#000",
155
138
  "stroke-linejoin": "round",
156
139
  viewBox: "0 0 32 32"
157
140
  };
158
- function ze(e, t) {
159
- return m(), f("svg", qe, [...t[0] || (t[0] = [
141
+ function Le(e, t) {
142
+ return p(), E("svg", Ue, [...t[0] || (t[0] = [
160
143
  c("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
144
  ])]);
162
145
  }
163
- const Ze = { render: ze }, Ye = 200, je = 50, Je = 0.1, Qe = 1, et = {
146
+ const Xe = { render: Le }, Ke = 200, We = 50, ze = 0.1, qe = 1, Ze = {
164
147
  name: "NumberInput",
165
148
  components: {
166
149
  ArrowIcon: Oe
@@ -239,7 +222,7 @@ const Ze = { render: ze }, Ye = 200, je = 50, Je = 0.1, Qe = 1, et = {
239
222
  return this.type === "integer";
240
223
  },
241
224
  stepSize() {
242
- return this.step !== null ? this.step : this.isInteger ? Qe : Je;
225
+ return this.step !== null ? this.step : this.isInteger ? qe : ze;
243
226
  },
244
227
  inputClassList() {
245
228
  let e = this.inputClasses;
@@ -328,8 +311,8 @@ const Ze = { render: ze }, Ye = 200, je = 50, Je = 0.1, Qe = 1, et = {
328
311
  this.clicked = !0, this.spinnerArrowTimeout = setTimeout(() => {
329
312
  this.spinnerArrowInterval = setInterval(() => {
330
313
  this.changeValue(a);
331
- }, je);
332
- }, Ye);
314
+ }, We);
315
+ }, Ke);
333
316
  return;
334
317
  }
335
318
  this.clicked && (this.clicked = !1, this.changeValue(a));
@@ -338,14 +321,14 @@ const Ze = { render: ze }, Ye = 200, je = 50, Je = 0.1, Qe = 1, et = {
338
321
  this.hovered = !this.hovered;
339
322
  }
340
323
  }
341
- }, tt = ["id", "name", "value", "min", "max", "step", "disabled"], at = {
324
+ }, Ye = ["id", "name", "value", "min", "max", "step", "disabled"], je = {
342
325
  key: 0,
343
326
  class: "invalid-marker"
344
327
  };
345
- function nt(e, t, a, s, u, n) {
328
+ function Je(e, t, a, s, u, n) {
346
329
  const d = ye("ArrowIcon");
347
- return m(), f("div", {
348
- class: b(["wrapper", { disabled: a.disabled, compact: a.compact }])
330
+ return p(), E("div", {
331
+ class: D(["wrapper", { disabled: a.disabled, compact: a.compact }])
349
332
  }, [
350
333
  c("input", {
351
334
  id: a.id,
@@ -357,38 +340,38 @@ function nt(e, t, a, s, u, n) {
357
340
  min: a.min,
358
341
  max: a.max,
359
342
  step: n.stepSize,
360
- class: b(n.inputClassList),
343
+ class: D(n.inputClassList),
361
344
  disabled: a.disabled,
362
345
  onInput: t[0] || (t[0] = (r) => n.onInput(r)),
363
346
  onBlur: t[1] || (t[1] = (...r) => n.onBlur && n.onBlur(...r)),
364
347
  onMouseenter: t[2] || (t[2] = (...r) => n.toggleHover && n.toggleHover(...r)),
365
348
  onMouseleave: t[3] || (t[3] = (...r) => n.toggleHover && n.toggleHover(...r))
366
- }, null, 42, tt),
367
- a.isValid ? $("", !0) : (m(), f("span", at)),
349
+ }, null, 42, Ye),
350
+ a.isValid ? F("", !0) : (p(), E("span", je)),
368
351
  c("span", {
369
- class: b(["increase", { disabled: a.disabled }]),
370
- onMousedown: t[4] || (t[4] = R((r) => n.mouseEvent(r, "increase"), ["prevent"])),
371
- onMouseup: t[5] || (t[5] = R((r) => n.mouseEvent(r, "increase"), ["prevent"])),
352
+ class: D(["increase", { disabled: a.disabled }]),
353
+ onMousedown: t[4] || (t[4] = N((r) => n.mouseEvent(r, "increase"), ["prevent"])),
354
+ onMouseup: t[5] || (t[5] = N((r) => n.mouseEvent(r, "increase"), ["prevent"])),
372
355
  onMouseleave: t[6] || (t[6] = (r) => n.mouseEvent(r, "increase"))
373
356
  }, [
374
357
  I(d)
375
358
  ], 34),
376
359
  c("span", {
377
- class: b(["decrease", { disabled: a.disabled }]),
378
- onMousedown: t[7] || (t[7] = R((r) => n.mouseEvent(r, "decrease"), ["prevent"])),
379
- onMouseup: t[8] || (t[8] = R((r) => n.mouseEvent(r, "decrease"), ["prevent"])),
360
+ class: D(["decrease", { disabled: a.disabled }]),
361
+ onMousedown: t[7] || (t[7] = N((r) => n.mouseEvent(r, "decrease"), ["prevent"])),
362
+ onMouseup: t[8] || (t[8] = N((r) => n.mouseEvent(r, "decrease"), ["prevent"])),
380
363
  onMouseleave: t[9] || (t[9] = (r) => n.mouseEvent(r, "decrease"))
381
364
  }, [
382
365
  I(d)
383
366
  ], 34)
384
367
  ], 2);
385
368
  }
386
- const Y = /* @__PURE__ */ C(et, [["render", nt], ["__scopeId", "data-v-0ce77f1e"]]), j = [
369
+ const j = /* @__PURE__ */ U(Ze, [["render", Je], ["__scopeId", "data-v-0ce77f1e"]]), J = [
387
370
  "years",
388
371
  "months",
389
372
  "weeks",
390
373
  "days"
391
- ], J = [
374
+ ], Q = [
392
375
  "hours",
393
376
  "minutes",
394
377
  "seconds",
@@ -402,21 +385,21 @@ const Y = /* @__PURE__ */ C(et, [["render", nt], ["__scopeId", "data-v-0ce77f1e"
402
385
  minutes: { min: 0, max: Number.MAX_SAFE_INTEGER },
403
386
  seconds: { min: 0, max: Number.MAX_SAFE_INTEGER },
404
387
  milliseconds: { min: 0, max: 999 }
405
- }, Q = (e, t) => t === "DATE" ? {
388
+ }, ee = (e, t) => t === "DATE" ? {
406
389
  type: "DATE",
407
390
  interval: e.periodPart
408
391
  } : {
409
392
  type: "TIME",
410
393
  interval: e.durationPart
411
- }, N = (e, t) => e.type === "DATE" ? {
394
+ }, _ = (e, t) => e.type === "DATE" ? {
412
395
  ...t,
413
396
  periodPart: e.interval
414
397
  } : {
415
398
  ...t,
416
399
  durationPart: e.interval
417
- }, G = (e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase(), st = { class: "header" }, lt = { class: "ascending-descending-switch-container" }, rt = { class: "input-grid" }, it = { class: "input-label" }, ot = { class: "input-label" }, ut = { class: "accept-controls" }, dt = /* @__PURE__ */ L({
400
+ }, B = (e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase(), Qe = { class: "header" }, et = { class: "ascending-descending-switch-container" }, tt = { class: "input-grid" }, at = { class: "input-label" }, nt = { class: "input-label" }, st = { class: "accept-controls" }, lt = /* @__PURE__ */ H({
418
401
  __name: "IntervalInputPopoverContent",
419
- props: /* @__PURE__ */ U({
402
+ props: /* @__PURE__ */ G({
420
403
  format: {},
421
404
  allowDescending: { type: Boolean }
422
405
  }, {
@@ -429,31 +412,31 @@ const Y = /* @__PURE__ */ C(et, [["render", nt], ["__scopeId", "data-v-0ce77f1e"
429
412
  },
430
413
  modelModifiers: {}
431
414
  }),
432
- emits: /* @__PURE__ */ U(["commit"], ["update:usedFormat", "update:modelValue"]),
415
+ emits: /* @__PURE__ */ G(["commit"], ["update:usedFormat", "update:modelValue"]),
433
416
  setup(e, { emit: t }) {
434
- const a = t, s = e, u = H(e, "usedFormat"), n = H(e, "modelValue"), d = w(() => {
435
- const h = u.value === "DATE" ? j : J, v = u.value === "DATE" ? h.map(
417
+ const a = t, s = e, u = k(e, "usedFormat"), n = k(e, "modelValue"), d = P(() => {
418
+ const f = u.value === "DATE" ? J : Q, v = u.value === "DATE" ? f.map(
436
419
  (i) => n.value.periodPart[i]
437
- ) : h.map(
420
+ ) : f.map(
438
421
  (i) => n.value.durationPart[i]
439
422
  );
440
423
  for (let i = 0; i < v.length; i++) {
441
- const g = h[i], A = v[i];
442
- if (isNaN(A) || A < V[g].min || A > V[g].max)
424
+ const g = f[i], M = v[i];
425
+ if (isNaN(M) || M < V[g].min || M > V[g].max)
443
426
  return {
444
427
  valid: !1,
445
- reason: `${G(g)} out of bounds.`
428
+ reason: `${B(g)} out of bounds.`
446
429
  };
447
430
  }
448
431
  return { valid: !0 };
449
- }), r = w({
432
+ }), r = P({
450
433
  get() {
451
434
  return s.allowDescending ? u.value === "DATE" ? n.value.periodPart.negative ? "DESCENDING" : "ASCENDING" : n.value.durationPart.negative ? "DESCENDING" : "ASCENDING" : "ASCENDING";
452
435
  },
453
- set(h) {
454
- n.value.periodPart.negative = h === "DESCENDING", n.value.durationPart.negative = h === "DESCENDING";
436
+ set(f) {
437
+ n.value.periodPart.negative = f === "DESCENDING", n.value.durationPart.negative = f === "DESCENDING";
455
438
  }
456
- }), x = () => {
439
+ }), A = () => {
457
440
  a(
458
441
  "commit",
459
442
  u.value,
@@ -461,10 +444,10 @@ const Y = /* @__PURE__ */ C(et, [["render", nt], ["__scopeId", "data-v-0ce77f1e"
461
444
  r.value
462
445
  );
463
446
  };
464
- return (h, v) => (m(), f(O, null, [
465
- c("span", st, [
447
+ return (f, v) => (p(), E(C, null, [
448
+ c("span", Qe, [
466
449
  v[2] || (v[2] = c("span", { class: "input-title" }, "Interval", -1)),
467
- s.format === "DATE_OR_TIME" ? (m(), ee(z, {
450
+ s.format === "DATE_OR_TIME" ? (p(), te(Z, {
468
451
  key: 0,
469
452
  modelValue: u.value,
470
453
  "onUpdate:modelValue": v[0] || (v[0] = (i) => u.value = i),
@@ -473,10 +456,10 @@ const Y = /* @__PURE__ */ C(et, [["render", nt], ["__scopeId", "data-v-0ce77f1e"
473
456
  { id: "TIME", text: "Time" }
474
457
  ],
475
458
  compact: ""
476
- }, null, 8, ["modelValue"])) : $("", !0)
459
+ }, null, 8, ["modelValue"])) : F("", !0)
477
460
  ]),
478
- D(c("div", lt, [
479
- I(z, {
461
+ b(c("div", et, [
462
+ I(Z, {
480
463
  modelValue: r.value,
481
464
  "onUpdate:modelValue": v[1] || (v[1] = (i) => r.value = i),
482
465
  compact: "",
@@ -488,32 +471,32 @@ const Y = /* @__PURE__ */ C(et, [["render", nt], ["__scopeId", "data-v-0ce77f1e"
488
471
  ], 512), [
489
472
  [S, e.allowDescending]
490
473
  ]),
491
- c("div", rt, [
492
- (m(!0), f(O, null, K(p(j), (i) => D((m(), f("span", {
474
+ c("div", tt, [
475
+ (p(!0), E(C, null, X(m(J), (i) => b((p(), E("span", {
493
476
  key: i,
494
477
  class: "labeled-date-time-input"
495
478
  }, [
496
- c("span", it, F(p(G)(i)), 1),
497
- I(Y, {
479
+ c("span", at, K(m(B)(i)), 1),
480
+ I(j, {
498
481
  modelValue: n.value.periodPart[i],
499
482
  "onUpdate:modelValue": (g) => n.value.periodPart[i] = g,
500
- min: p(V)[i].min,
501
- max: p(V)[i].max,
483
+ min: m(V)[i].min,
484
+ max: m(V)[i].max,
502
485
  compact: "",
503
486
  type: "integer"
504
487
  }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max"])
505
488
  ], 512)), [
506
489
  [S, u.value === "DATE"]
507
490
  ])), 128)),
508
- (m(!0), f(O, null, K(p(J), (i) => D((m(), f("span", {
491
+ (p(!0), E(C, null, X(m(Q), (i) => b((p(), E("span", {
509
492
  key: i,
510
493
  class: "labeled-date-time-input"
511
494
  }, [
512
- c("span", ot, F(p(G)(i)), 1),
513
- I(Y, {
495
+ c("span", nt, K(m(B)(i)), 1),
496
+ I(j, {
514
497
  "model-value": n.value.durationPart[i],
515
- min: p(V)[i].min,
516
- max: p(V)[i].max,
498
+ min: m(V)[i].min,
499
+ max: m(V)[i].max,
517
500
  compact: "",
518
501
  type: "integer",
519
502
  "onUpdate:modelValue": (g) => {
@@ -524,18 +507,18 @@ const Y = /* @__PURE__ */ C(et, [["render", nt], ["__scopeId", "data-v-0ce77f1e"
524
507
  [S, u.value === "TIME"]
525
508
  ])), 128))
526
509
  ]),
527
- c("div", ut, [
528
- I(He, {
510
+ c("div", st, [
511
+ I($e, {
529
512
  text: d.value.valid ? "" : d.value.reason
530
513
  }, {
531
514
  default: W(() => [
532
- I(be, {
515
+ I(De, {
533
516
  primary: "",
534
517
  disabled: !d.value.valid,
535
- onClick: x
518
+ onClick: A
536
519
  }, {
537
520
  default: W(() => [...v[3] || (v[3] = [
538
- xe(" Set ", -1)
521
+ Ae(" Set ", -1)
539
522
  ])]),
540
523
  _: 1
541
524
  }, 8, ["disabled"])
@@ -545,13 +528,13 @@ const Y = /* @__PURE__ */ C(et, [["render", nt], ["__scopeId", "data-v-0ce77f1e"
545
528
  ])
546
529
  ], 64));
547
530
  }
548
- }), ct = /* @__PURE__ */ C(dt, [["__scopeId", "data-v-a372cf12"]]), mt = { class: "input-fields" }, vt = ["disabled", "placeholder"], pt = {
531
+ }), rt = /* @__PURE__ */ U(lt, [["__scopeId", "data-v-a372cf12"]]), it = { class: "input-fields" }, ot = ["disabled", "placeholder"], ut = {
549
532
  key: 0,
550
533
  class: "invalid-marker"
551
- }, ft = ["disabled"], ht = {}, Et = /* @__PURE__ */ L({
552
- ...ht,
534
+ }, dt = ["disabled"], ct = {}, mt = /* @__PURE__ */ H({
535
+ ...ct,
553
536
  __name: "IntervalInput",
554
- props: /* @__PURE__ */ U({
537
+ props: /* @__PURE__ */ G({
555
538
  format: { default: "DATE_OR_TIME" },
556
539
  allowDescending: { type: Boolean, default: !0 },
557
540
  disabled: { type: Boolean, default: !1 },
@@ -564,10 +547,10 @@ const Y = /* @__PURE__ */ C(et, [["render", nt], ["__scopeId", "data-v-0ce77f1e"
564
547
  }),
565
548
  emits: ["update:modelValue"],
566
549
  setup(e) {
567
- const t = e, a = H(e, "modelValue"), s = T(
550
+ const t = e, a = k(e, "modelValue"), s = T(
568
551
  (() => {
569
552
  if (t.format === "DATE_OR_TIME") {
570
- const o = k(
553
+ const o = O(
571
554
  a.value,
572
555
  "DATE_OR_TIME"
573
556
  );
@@ -575,12 +558,12 @@ const Y = /* @__PURE__ */ C(et, [["render", nt], ["__scopeId", "data-v-0ce77f1e"
575
558
  } else
576
559
  return t.format;
577
560
  })()
578
- ), u = w(() => s.value === "DATE" ? "ISO-8601, whole words (1 year), single letters (1y)" : "ISO-8601, whole words (1 hour), single letters (1h)"), n = T(
561
+ ), u = P(() => s.value === "DATE" ? "ISO-8601, whole words (1 year), single letters (1y)" : "ISO-8601, whole words (1 hour), single letters (1h)"), n = T(
579
562
  (() => {
580
563
  const o = y(
581
564
  a.value
582
565
  );
583
- return N(o, {
566
+ return _(o, {
584
567
  periodPart: {
585
568
  negative: !1,
586
569
  years: 0,
@@ -598,72 +581,72 @@ const Y = /* @__PURE__ */ C(et, [["render", nt], ["__scopeId", "data-v-0ce77f1e"
598
581
  });
599
582
  })()
600
583
  ), d = T(
601
- _(
584
+ x(
602
585
  y(a.value)
603
586
  )
604
- ), r = w(() => {
605
- const o = k(
587
+ ), r = P(() => {
588
+ const o = O(
606
589
  d.value,
607
590
  "DATE_OR_TIME"
608
591
  );
609
592
  return o.valid && (t.allowDescending || !o.negative) && (o.type === s.value || t.format === "DATE_OR_TIME");
610
- }), x = T(null), h = T(null), v = T(null), i = (o, l) => {
611
- const E = Q(
593
+ }), A = T(null), f = T(null), v = T(null), i = (o, l) => {
594
+ const h = ee(
612
595
  o,
613
596
  l
614
597
  );
615
- d.value = _(E), a.value = B(E), s.value = l, n.value = o;
598
+ d.value = x(h), a.value = $(h), s.value = l, n.value = o;
616
599
  }, g = () => {
617
- n.value = N(
600
+ n.value = _(
618
601
  y(a.value),
619
602
  n.value
620
603
  );
621
- }, A = (o) => {
622
- const l = k(
604
+ }, M = (o) => {
605
+ const l = O(
623
606
  o,
624
607
  "DATE_OR_TIME"
625
608
  );
626
609
  if (!l.valid || !t.allowDescending && l.negative || l.type !== s.value && t.format !== "DATE_OR_TIME")
627
610
  return;
628
- const E = We(
611
+ const h = He(
629
612
  o
630
613
  );
631
- n.value = N(
632
- E,
614
+ n.value = _(
615
+ h,
633
616
  n.value
634
- ), a.value = B(E), s.value = l.type, d.value = _(E);
635
- }, fe = (o) => {
617
+ ), a.value = $(h), s.value = l.type, d.value = x(h);
618
+ }, he = (o) => {
636
619
  const l = y(o);
637
- d.value = _(l), n.value = N(
620
+ d.value = x(l), n.value = _(
638
621
  l,
639
622
  n.value
640
623
  ), a.value = o;
641
- }, he = (o) => {
642
- const l = Q(
624
+ }, Ee = (o) => {
625
+ const l = ee(
643
626
  n.value,
644
627
  o
645
628
  );
646
- d.value = _(l), a.value = B(l), s.value = o;
647
- }, Ee = (o) => {
648
- o !== "DATE_OR_TIME" && he(o);
649
- }, M = T(!1);
650
- q(() => t.format, Ee), q(a, fe);
651
- const X = (o) => {
652
- A(o);
653
- }, P = (o, l) => {
629
+ d.value = x(l), a.value = $(l), s.value = o;
630
+ }, ge = (o) => {
631
+ o !== "DATE_OR_TIME" && Ee(o);
632
+ }, w = T(!1);
633
+ z(() => t.format, ge), z(a, he);
634
+ const L = (o) => {
635
+ M(o);
636
+ }, R = (o, l) => {
654
637
  o && l ? i(
655
638
  l.popoverValues,
656
639
  l.usedFormat
657
- ) : g(), M.value = !1;
640
+ ) : g(), w.value = !1;
658
641
  };
659
- De(x, () => P(!1), {
660
- ignore: [h]
661
- }), we("Escape", () => P(!1));
662
- const { floatingStyles: ge, update: Ie } = Re(h, x, {
642
+ be(A, () => R(!1), {
643
+ ignore: [f]
644
+ }), Pe("Escape", () => R(!1));
645
+ const { floatingStyles: Ie, update: Te } = Re(f, A, {
663
646
  middleware: [
664
- Se(),
647
+ _e(),
665
648
  // move left/right to keep it on screen
666
- $e({
649
+ Se({
667
650
  // flip it vertically to keep it on screen
668
651
  mainAxis: !0,
669
652
  crossAxis: !1
@@ -679,61 +662,61 @@ const Y = /* @__PURE__ */ C(et, [["render", nt], ["__scopeId", "data-v-0ce77f1e"
679
662
  placement: "top-end",
680
663
  whileElementsMounted: Ne
681
664
  });
682
- return (o, l) => (m(), f("div", null, [
665
+ return (o, l) => (p(), E("div", null, [
683
666
  c("div", {
684
- class: b(["wrapper", { disabled: e.disabled, compact: e.compact }])
667
+ class: D(["wrapper", { disabled: e.disabled, compact: e.compact }])
685
668
  }, [
686
- c("span", mt, [
687
- D(c("input", {
669
+ c("span", it, [
670
+ b(c("input", {
688
671
  ref_key: "inputTextFieldRef",
689
672
  ref: v,
690
- "onUpdate:modelValue": l[0] || (l[0] = (E) => d.value = E),
673
+ "onUpdate:modelValue": l[0] || (l[0] = (h) => d.value = h),
691
674
  type: "text",
692
675
  disabled: e.disabled,
693
676
  placeholder: u.value,
694
677
  spellcheck: "false",
695
- onFocus: l[1] || (l[1] = (E) => M.value = !1),
696
- onFocusout: l[2] || (l[2] = () => X(d.value)),
697
- onKeypress: l[3] || (l[3] = Ae(() => X(d.value), ["enter"]))
698
- }, null, 40, vt), [
699
- [Me, d.value]
678
+ onFocus: l[1] || (l[1] = (h) => w.value = !1),
679
+ onFocusout: l[2] || (l[2] = () => L(d.value)),
680
+ onKeypress: l[3] || (l[3] = Me(() => L(d.value), ["enter"]))
681
+ }, null, 40, ot), [
682
+ [we, d.value]
700
683
  ]),
701
- r.value ? $("", !0) : (m(), f("span", pt)),
684
+ r.value ? F("", !0) : (p(), E("span", ut)),
702
685
  c("button", {
703
686
  ref_key: "togglePopoverButtonRef",
704
- ref: h,
687
+ ref: f,
705
688
  class: "trigger-popover-button",
706
689
  disabled: e.disabled,
707
690
  onClick: l[4] || (l[4] = () => {
708
- M.value ? P(!1) : (M.value = !0, p(Ie)());
691
+ w.value ? R(!1) : (w.value = !0, m(Te)());
709
692
  })
710
693
  }, [
711
- I(p(Ze))
712
- ], 8, ft)
694
+ I(m(Xe))
695
+ ], 8, dt)
713
696
  ])
714
697
  ], 2),
715
- D(c("div", {
698
+ b(c("div", {
716
699
  ref_key: "durationInputPopoverRef",
717
- ref: x,
700
+ ref: A,
718
701
  class: "control-popup",
719
- style: _e(p(ge))
702
+ style: xe(m(Ie))
720
703
  }, [
721
- I(ct, {
704
+ I(rt, {
722
705
  "model-value": n.value,
723
706
  "used-format": s.value,
724
707
  format: t.format,
725
708
  "allow-descending": t.allowDescending,
726
- onCommit: l[5] || (l[5] = (E, Te, It) => P(!0, {
727
- usedFormat: E,
728
- popoverValues: Te
709
+ onCommit: l[5] || (l[5] = (h, Ve, pt) => R(!0, {
710
+ usedFormat: h,
711
+ popoverValues: Ve
729
712
  }))
730
713
  }, null, 8, ["model-value", "used-format", "format", "allow-descending"])
731
714
  ], 4), [
732
- [S, M.value]
715
+ [S, w.value]
733
716
  ])
734
717
  ]));
735
718
  }
736
- }), gt = /* @__PURE__ */ C(Et, [["__scopeId", "data-v-f37d874a"]]), _t = /* @__PURE__ */ L({
719
+ }), vt = /* @__PURE__ */ U(mt, [["__scopeId", "data-v-f37d874a"]]), yt = /* @__PURE__ */ H({
737
720
  __name: "IntervalControl",
738
721
  props: {
739
722
  control: {},
@@ -745,23 +728,24 @@ const Y = /* @__PURE__ */ C(et, [["render", nt], ["__scopeId", "data-v-0ce77f1e"
745
728
  labelForId: {}
746
729
  },
747
730
  setup(e) {
748
- const t = e, a = w(
731
+ const t = e, a = P(
749
732
  () => t.control.uischema
750
- ), s = Pe(
733
+ ), s = q(
751
734
  a,
752
735
  "intervalType",
753
736
  "DATE_OR_TIME"
754
- );
755
- return (u, n) => (m(), ee(p(gt), {
737
+ ), u = q(a, "allowDescending", !0);
738
+ return (n, d) => (p(), te(m(vt), {
756
739
  id: e.labelForId,
757
740
  compact: "",
741
+ "allow-descending": m(u),
758
742
  disabled: e.disabled,
759
743
  "model-value": e.control.data,
760
- format: p(s),
744
+ format: m(s),
761
745
  "onUpdate:modelValue": e.changeValue
762
- }, null, 8, ["id", "disabled", "model-value", "format", "onUpdate:modelValue"]));
746
+ }, null, 8, ["id", "allow-descending", "disabled", "model-value", "format", "onUpdate:modelValue"]));
763
747
  }
764
748
  });
765
749
  export {
766
- _t as default
750
+ yt as default
767
751
  };