@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
@@ -0,0 +1,45 @@
1
+ import { defineComponent as c, computed as s, useTemplateRef as p, openBlock as m, createBlock as h, unref as a } from "vue";
2
+ import { u as f, K as g } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
3
+ import { u as x } from "./useBuiltinValidations-zKGc6Pdt.js";
4
+ const y = /* @__PURE__ */ c({
5
+ __name: "TextControl",
6
+ props: {
7
+ control: {},
8
+ handleChange: { type: Function },
9
+ changeValue: { type: Function },
10
+ disabled: { type: Boolean },
11
+ isValid: { type: Boolean },
12
+ onRegisterValidation: { type: Function },
13
+ labelForId: {}
14
+ },
15
+ setup(e, { expose: d }) {
16
+ const n = e;
17
+ x(
18
+ {
19
+ pattern: ({ pattern: t }) => {
20
+ const o = new RegExp(`^(${t})$`);
21
+ return (u) => o.test(u ?? "");
22
+ },
23
+ minLength: ({ minLength: t }) => (o) => (o?.length ?? 0) >= t,
24
+ maxLength: ({ maxLength: t }) => (o) => (o?.length ?? 0) <= t
25
+ },
26
+ n
27
+ );
28
+ const i = s(() => n.control.uischema), r = f(i, "placeholder", ""), l = p("inputField");
29
+ return d({
30
+ focus: () => l.value?.focus()
31
+ }), (t, o) => (m(), h(a(g), {
32
+ id: e.labelForId,
33
+ ref_key: "inputField",
34
+ ref: l,
35
+ placeholder: a(r),
36
+ "model-value": e.control.data,
37
+ disabled: e.disabled,
38
+ error: !e.isValid,
39
+ "onUpdate:modelValue": e.changeValue
40
+ }, null, 8, ["id", "placeholder", "model-value", "disabled", "error", "onUpdate:modelValue"]));
41
+ }
42
+ });
43
+ export {
44
+ y as _
45
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, computed as o, openBlock as r, createBlock as m, unref as s } from "vue";
2
- import { l as i, D as h } from "./localTimeUtils-LXk5i7aP.js";
2
+ import { l as i, D as h } from "./localTimeUtils-C7kma5fB.js";
3
3
  const v = /* @__PURE__ */ u({
4
4
  __name: "TimeControl",
5
5
  props: {
@@ -0,0 +1,254 @@
1
+ import { A as f } from "./arrow-dropdown-DMFBPPcK.js";
2
+ /* empty css */
3
+ import { resolveComponent as V, openBlock as m, createElementBlock as h, normalizeClass as a, createElementVNode as o, createCommentVNode as c, withModifiers as r, createVNode as p } from "vue";
4
+ import { _ as v } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
5
+ const g = (t) => Math.max(Math.floor(Math.log10(Math.abs(t))), 0) + 1, b = 200, I = 50, E = 1, N = {
6
+ name: "TimePartInput",
7
+ components: {
8
+ ArrowIcon: f
9
+ },
10
+ props: {
11
+ modelValue: {
12
+ default: 0,
13
+ type: [Number, String]
14
+ },
15
+ id: {
16
+ type: String,
17
+ default: null
18
+ },
19
+ min: {
20
+ default: Number.MIN_SAFE_INTEGER,
21
+ type: Number
22
+ },
23
+ max: {
24
+ default: Number.MAX_SAFE_INTEGER,
25
+ type: Number
26
+ },
27
+ /**
28
+ * Minimum number of digits shown, non existent digits will be filled with zeros (0)
29
+ * e.g 3 -> 001, no leading zeros with the default 0
30
+ */
31
+ minDigits: {
32
+ default: 0,
33
+ type: Number
34
+ },
35
+ /**
36
+ * Validity controlled by the parent component to be flexible.
37
+ */
38
+ isValid: {
39
+ default: !0,
40
+ type: Boolean
41
+ },
42
+ inputClasses: {
43
+ default: "",
44
+ type: String
45
+ },
46
+ disabled: {
47
+ default: !1,
48
+ type: Boolean
49
+ },
50
+ compact: {
51
+ default: !1,
52
+ type: Boolean
53
+ }
54
+ },
55
+ emits: ["update:modelValue", "bounds"],
56
+ data() {
57
+ return {
58
+ clicked: !1,
59
+ // false to prevent unintended 'mouseup' or 'mouseleave' events.
60
+ hovered: !1,
61
+ // if the input field is currently hovered or not
62
+ /* @type {String|Number} */
63
+ localValue: this.modelValue
64
+ // value with leading zeros
65
+ };
66
+ },
67
+ computed: {
68
+ stepSize() {
69
+ return E;
70
+ },
71
+ inputClassList() {
72
+ let t = this.inputClasses;
73
+ return this.hovered && (t += " hover"), t;
74
+ }
75
+ },
76
+ watch: {
77
+ modelValue: {
78
+ handler(t) {
79
+ this.localValue = this.padValue(t);
80
+ },
81
+ immediate: !0
82
+ }
83
+ },
84
+ /**
85
+ * The reference to the timeout which is set when
86
+ * a user clicks one of the numeric spinner wheels. This
87
+ * Timeout will trigger the spinnerArrowInterval.
88
+ */
89
+ spinnerArrowTimeout: null,
90
+ /**
91
+ * This interval rapid calls the change value method until the
92
+ * user releases the mouse.
93
+ */
94
+ spinnerArrowInterval: null,
95
+ mounted() {
96
+ this.initialValue = this.modelValue;
97
+ },
98
+ methods: {
99
+ /**
100
+ * Check min/max limits and return details about it
101
+ * @param {Number} value - value to check for min/max bounds
102
+ * @returns {Object} - bounds info object also used for @bounds event
103
+ */
104
+ limitBounds(t) {
105
+ return t < this.min ? {
106
+ type: "min",
107
+ limit: this.min,
108
+ input: t,
109
+ value: this.min
110
+ } : t > this.max ? {
111
+ type: "max",
112
+ limit: this.max,
113
+ input: t,
114
+ value: this.max
115
+ } : {
116
+ value: t
117
+ };
118
+ },
119
+ /**
120
+ * Pad with zeros based on minDigits prop
121
+ *
122
+ * @param {Number} value
123
+ * @returns {String|Number}
124
+ */
125
+ padValue(t) {
126
+ if (isNaN(t) || !t && t !== 0 || t < 0)
127
+ return t;
128
+ const e = t.toString(10);
129
+ return this.minDigits < 1 ? e : e.padStart(this.minDigits, "0");
130
+ },
131
+ getValue() {
132
+ return parseInt(this.$refs.input.value, 10);
133
+ },
134
+ onBlur() {
135
+ this.localValue = this.padValue(this.modelValue);
136
+ },
137
+ onInput(t) {
138
+ const e = t.target.value, i = parseInt(e, 10);
139
+ if (e === "")
140
+ this.localValue = "";
141
+ else {
142
+ const u = i.toString(10).length;
143
+ if (e === "")
144
+ return;
145
+ if (isNaN(i) || u > g(this.max)) {
146
+ this.$refs.input.value = this.padValue(this.localValue);
147
+ return;
148
+ }
149
+ }
150
+ const l = this.limitBounds(i);
151
+ l.type ? this.$emit("bounds", l) : this.$emit("update:modelValue", l.value);
152
+ },
153
+ validate(t) {
154
+ let e = !0, i;
155
+ return t = typeof t > "u" ? this.getValue() : t, typeof t != "number" || isNaN(t) ? (e = !1, i = "Current value is not a number.") : (this.min > t || this.max < t) && (e = !1, i = "Current value is outside allowed range."), { isValid: e, errorMessage: i };
156
+ },
157
+ /**
158
+ * Change value updates the actual value of the input field if a valid new value
159
+ * can be found. It prevents users from further invalidating the value in the input
160
+ * by moving in the wrong direction (lower than min/higher than max).
161
+ *
162
+ * @param {Number} increment - the amount by which to change the current value.
163
+ * @returns {undefined}
164
+ */
165
+ changeValue(t) {
166
+ let e = this.getValue();
167
+ this.validate(e).isValid || (e < this.min ? e = this.min : e > this.max ? e = this.max : e = this.initialValue);
168
+ let i = e + t;
169
+ if (i = Math.round(i * 10) / 10, this.validate(i).isValid)
170
+ this.$refs.input.value = this.padValue(i), this.onInput({ target: this.$refs.input });
171
+ else {
172
+ const l = this.limitBounds(i);
173
+ l.type && this.$emit("bounds", l);
174
+ }
175
+ },
176
+ /**
177
+ * This method is the callback handler for mouse events on the input field controls.
178
+ * It is fired when either the up-arrow or down-arrow is pressed by the user. It manages
179
+ * both mousedown and mouseup events. It clears any existing timeouts or intervals which
180
+ * may have been set previously. It also recognizes when the mouse leaves the button
181
+ * (which could cause a mouseup event to be missed) and therefore uses the this.clicked
182
+ * data property to ensure it doesn't get stuck in an interval.
183
+ *
184
+ * @param {Event} e - the DOM event object which triggered the handler.
185
+ * @param {String} type - the type of button pressed (either 'increased' or 'decreased').
186
+ * @returns {undefined}
187
+ */
188
+ mouseEvent(t, e) {
189
+ if (this.disabled)
190
+ return;
191
+ clearTimeout(this.spinnerArrowInterval), clearInterval(this.spinnerArrowTimeout);
192
+ let i = this.stepSize;
193
+ if (e === "decrease" && (i *= -1), t.type === "mousedown") {
194
+ this.clicked = !0, this.spinnerArrowTimeout = setTimeout(() => {
195
+ this.spinnerArrowInterval = setInterval(() => {
196
+ this.changeValue(i);
197
+ }, I);
198
+ }, b);
199
+ return;
200
+ }
201
+ this.clicked && (this.clicked = !1, this.changeValue(i));
202
+ },
203
+ toggleHover() {
204
+ this.hovered = !this.hovered;
205
+ }
206
+ }
207
+ }, M = ["id", "value", "min", "max", "step", "disabled"], y = {
208
+ key: 0,
209
+ class: "invalid-marker"
210
+ };
211
+ function A(t, e, i, l, u, n) {
212
+ const d = V("ArrowIcon");
213
+ return m(), h("div", {
214
+ class: a(["wrapper", { disabled: i.disabled, compact: i.compact }])
215
+ }, [
216
+ o("input", {
217
+ id: i.id,
218
+ ref: "input",
219
+ type: "number",
220
+ role: "spinButton",
221
+ value: u.localValue,
222
+ min: i.min,
223
+ max: i.max,
224
+ step: n.stepSize,
225
+ class: a(n.inputClassList),
226
+ disabled: i.disabled,
227
+ onInput: e[0] || (e[0] = (...s) => n.onInput && n.onInput(...s)),
228
+ onBlur: e[1] || (e[1] = (...s) => n.onBlur && n.onBlur(...s)),
229
+ onMouseenter: e[2] || (e[2] = (...s) => n.toggleHover && n.toggleHover(...s)),
230
+ onMouseleave: e[3] || (e[3] = (...s) => n.toggleHover && n.toggleHover(...s))
231
+ }, null, 42, M),
232
+ i.isValid ? c("", !0) : (m(), h("span", y)),
233
+ o("span", {
234
+ class: a(["increase", { disabled: i.disabled }]),
235
+ onMousedown: e[4] || (e[4] = r((s) => n.mouseEvent(s, "increase"), ["prevent"])),
236
+ onMouseup: e[5] || (e[5] = r((s) => n.mouseEvent(s, "increase"), ["prevent"])),
237
+ onMouseleave: e[6] || (e[6] = (s) => n.mouseEvent(s, "increase"))
238
+ }, [
239
+ p(d)
240
+ ], 34),
241
+ o("span", {
242
+ class: a(["decrease", { disabled: i.disabled }]),
243
+ onMousedown: e[7] || (e[7] = r((s) => n.mouseEvent(s, "decrease"), ["prevent"])),
244
+ onMouseup: e[8] || (e[8] = r((s) => n.mouseEvent(s, "decrease"), ["prevent"])),
245
+ onMouseleave: e[9] || (e[9] = (s) => n.mouseEvent(s, "decrease"))
246
+ }, [
247
+ p(d)
248
+ ], 34)
249
+ ], 2);
250
+ }
251
+ const B = /* @__PURE__ */ v(N, [["render", A], ["__scopeId", "data-v-bf742de5"]]);
252
+ export {
253
+ B as T
254
+ };
@@ -0,0 +1,87 @@
1
+ import { defineComponent as g, openBlock as x, createElementBlock as V, createVNode as o, unref as a, withCtx as v, createElementVNode as i } from "vue";
2
+ import { T as r } from "./TimePartInput-BbHxGv7L.js";
3
+ import { a5 as c, _ as b } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
4
+ const B = { class: "timeframe" }, N = { class: "input-wrapper" }, C = { class: "input-wrapper" }, F = /* @__PURE__ */ g({
5
+ __name: "TimeframesControl",
6
+ props: {
7
+ control: {},
8
+ handleChange: { type: Function },
9
+ changeValue: { type: Function },
10
+ disabled: { type: Boolean },
11
+ isValid: { type: Boolean },
12
+ onRegisterValidation: { type: Function },
13
+ labelForId: {}
14
+ },
15
+ setup(l) {
16
+ const p = ["hh", "mm", "ss"].length, m = l, e = (u, t, d) => {
17
+ const n = u?.value ?? u, f = Number(n), I = Number.isNaN(f) ? 0 : f, s = (m.control.data?.[t] ?? "00:00:00").split(":");
18
+ for (; s.length < p; )
19
+ s.push("00");
20
+ s[d] = String(I).padStart(2, "0"), t === "end" && (s[2] = "59");
21
+ const T = {
22
+ ...m.control.data,
23
+ [t]: s.slice(0, p).join(":")
24
+ };
25
+ m.changeValue(T);
26
+ };
27
+ return (u, t) => (x(), V("div", B, [
28
+ o(a(c), { text: "Between" }, {
29
+ default: v(({ labelForId: d }) => [
30
+ i("div", N, [
31
+ o(a(r), {
32
+ id: d,
33
+ min: 0,
34
+ max: 23,
35
+ "min-digits": 2,
36
+ compact: "",
37
+ "model-value": parseInt((l.control.data?.start ?? "00:00:00").split(":")[0], 10),
38
+ "onUpdate:modelValue": t[0] || (t[0] = (n) => e(n, "start", 0)),
39
+ onBounds: t[1] || (t[1] = (n) => e(n, "start", 0))
40
+ }, null, 8, ["id", "model-value"]),
41
+ t[8] || (t[8] = i("span", null, ":", -1)),
42
+ o(a(r), {
43
+ min: 0,
44
+ max: 59,
45
+ "min-digits": 2,
46
+ compact: "",
47
+ "model-value": parseInt((l.control.data?.start ?? "00:00:00").split(":")[1], 10),
48
+ "onUpdate:modelValue": t[2] || (t[2] = (n) => e(n, "start", 1)),
49
+ onBounds: t[3] || (t[3] = (n) => e(n, "start", 1))
50
+ }, null, 8, ["model-value"])
51
+ ])
52
+ ]),
53
+ _: 1
54
+ }),
55
+ o(a(c), { text: "and" }, {
56
+ default: v(({ labelForId: d }) => [
57
+ i("div", C, [
58
+ o(a(r), {
59
+ id: d,
60
+ min: 0,
61
+ max: 23,
62
+ "min-digits": 2,
63
+ compact: "",
64
+ "model-value": parseInt((l.control.data?.end ?? "00:00:00").split(":")[0], 10),
65
+ "onUpdate:modelValue": t[4] || (t[4] = (n) => e(n, "end", 0)),
66
+ onBounds: t[5] || (t[5] = (n) => e(n, "end", 0))
67
+ }, null, 8, ["id", "model-value"]),
68
+ t[9] || (t[9] = i("span", null, ":", -1)),
69
+ o(a(r), {
70
+ min: 0,
71
+ max: 59,
72
+ "min-digits": 2,
73
+ compact: "",
74
+ "model-value": parseInt((l.control.data?.end ?? "00:00:00").split(":")[1], 10),
75
+ "onUpdate:modelValue": t[6] || (t[6] = (n) => e(n, "end", 1)),
76
+ onBounds: t[7] || (t[7] = (n) => e(n, "end", 1))
77
+ }, null, 8, ["model-value"])
78
+ ])
79
+ ]),
80
+ _: 1
81
+ })
82
+ ]));
83
+ }
84
+ }), R = /* @__PURE__ */ b(F, [["__scopeId", "data-v-fef66a7b"]]);
85
+ export {
86
+ R as default
87
+ };
@@ -0,0 +1,24 @@
1
+ import { openBlock as e, createElementBlock as o, renderSlot as s, toDisplayString as n, createCommentVNode as c } from "vue";
2
+ import { _ as a } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
3
+ const i = {
4
+ name: "Tooltip",
5
+ props: {
6
+ text: {
7
+ type: String,
8
+ required: !0
9
+ }
10
+ }
11
+ }, d = { class: "tooltip" }, p = {
12
+ key: 0,
13
+ class: "text"
14
+ };
15
+ function _(r, l, t, m, u, f) {
16
+ return e(), o("div", d, [
17
+ s(r.$slots, "default", {}, void 0, !0),
18
+ t.text ? (e(), o("span", p, n(t.text), 1)) : c("", !0)
19
+ ]);
20
+ }
21
+ const k = /* @__PURE__ */ a(i, [["render", _], ["__scopeId", "data-v-64e1cb84"]]);
22
+ export {
23
+ k as T
24
+ };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as u, markRaw as r, toRef as m, computed as p, openBlock as b, createBlock as f, unref as l, createSlots as h, withCtx as y, createElementVNode as i, normalizeClass as V, createVNode as w, toDisplayString as v } from "vue";
2
- import { a0 as g, _ as T } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CYe4TfJy.js";
3
- import { a as x } from "./usePossibleValues-D16WFE9l.js";
4
- import { T as z, a as B } from "./TwinlistLoadingInfo-x51VCOej.js";
2
+ import { a3 as g, _ as T } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
3
+ import { a as x } from "./usePossibleValues-DhdKca4Z.js";
4
+ import { T as z, a as B } from "./TwinlistLoadingInfo-aB5QCSFX.js";
5
5
  const C = /* @__PURE__ */ u({
6
6
  __name: "TwinlistControlBase",
7
7
  props: {
@@ -1,12 +1,12 @@
1
- import { openBlock as u, createElementBlock as v, createElementVNode as r, computed as a, nextTick as te, resolveComponent as w, createBlock as x, normalizeClass as L, withCtx as k, createVNode as I, createCommentVNode as y, renderSlot as H, defineComponent as Z, useCssVars as X, ref as E, normalizeStyle as D, Fragment as ne, renderList as le, unref as N, toRef as O, toDisplayString as R, normalizeProps as P, guardReactiveProps as K } from "vue";
1
+ import { openBlock as u, createElementBlock as v, createElementVNode as r, computed as a, nextTick as te, resolveComponent as w, createBlock as x, normalizeClass as L, withCtx as k, createVNode as I, createCommentVNode as y, renderSlot as N, defineComponent as Z, useCssVars as X, ref as E, normalizeStyle as D, Fragment as ne, renderList as le, unref as H, toRef as O, toDisplayString as R, normalizeProps as P, guardReactiveProps as K } from "vue";
2
2
  import { N as se } from "./arrow-next-BQULX8HT.js";
3
3
  import { u as W } from "./useSearch-hpyYQ_6y.js";
4
- import { A as oe, a1 as ie, _ as T, J as ae } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CYe4TfJy.js";
5
- import { I as ue, L as ce } from "./Label-Vxe-id5C.js";
6
- import { M as de } from "./MultiselectListBox-DijeK4wH.js";
7
- import { C as re } from "./close-CwP2mh9x.js";
4
+ import { C as oe, a4 as ie, _ as T, N as ae, a5 as ue } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
5
+ import { M as ce } from "./MultiselectListBox-BJqQv0AT.js";
6
+ import { C as de } from "./close-CwP2mh9x.js";
7
+ import { I as re } from "./InputField-Gw6K93vY.js";
8
8
  import { c as F } from "./createMissingItem-B00Kg95q.js";
9
- import { L as he } from "./LoadingIcon-BhelL9SM.js";
9
+ import { L as he } from "./LoadingIcon-B0S8ig5H.js";
10
10
  const me = {
11
11
  xmlns: "http://www.w3.org/2000/svg",
12
12
  fill: "none",
@@ -91,9 +91,9 @@ const Be = { render: ke }, xe = {
91
91
  }, Ve = {
92
92
  name: "SearchInput",
93
93
  components: {
94
- InputField: ue,
94
+ InputField: re,
95
95
  FunctionButton: ae,
96
- CloseIcon: re,
96
+ CloseIcon: de,
97
97
  LensIcon: fe,
98
98
  InverseSearchIcon: ye,
99
99
  UpperLowerCaseIcon: Be
@@ -231,7 +231,7 @@ function Me(e, t, n, s, o, l) {
231
231
  }, {
232
232
  icon: k(() => [
233
233
  n.disabled ? y("", !0) : (u(), v("div", Ce, [
234
- H(e.$slots, "icon", {}, () => [
234
+ N(e.$slots, "icon", {}, () => [
235
235
  I(h)
236
236
  ], !0)
237
237
  ]))
@@ -299,12 +299,12 @@ const De = { render: Ae }, ze = {
299
299
  "stroke-linejoin": "round",
300
300
  viewBox: "0 0 32 32"
301
301
  };
302
- function He(e, t) {
302
+ function Ne(e, t) {
303
303
  return u(), v("svg", ze, [...t[0] || (t[0] = [
304
304
  r("path", { d: "m17.2 27-11-11 11-11m8.6 22-11-11 11-11" }, null, -1)
305
305
  ])]);
306
306
  }
307
- const Ne = { render: He }, Ue = 10, G = "2px", Oe = /* @__PURE__ */ Z({
307
+ const He = { render: Ne }, Ue = 10, G = "2px", Oe = /* @__PURE__ */ Z({
308
308
  __name: "ResizeHandle",
309
309
  props: {
310
310
  numberOfHandles: {},
@@ -356,7 +356,7 @@ const Ne = { render: He }, Ue = 10, G = "2px", Oe = /* @__PURE__ */ Z({
356
356
  onPointerdown: p,
357
357
  onPointerup: i,
358
358
  onPointermove: _[0] || (_[0] = //@ts-ignore
359
- (...C) => N(B) && N(B)(...C)),
359
+ (...C) => H(B) && H(B)(...C)),
360
360
  onLostpointercapture: i
361
361
  }, [..._[1] || (_[1] = [
362
362
  r("div", { class: "handle" }, null, -1)
@@ -393,10 +393,10 @@ const Ne = { render: He }, Ue = 10, G = "2px", Oe = /* @__PURE__ */ Z({
393
393
  components: {
394
394
  ArrowNextDoubleIcon: De,
395
395
  ArrowNextIcon: se,
396
- ArrowPrevDoubleIcon: Ne,
396
+ ArrowPrevDoubleIcon: He,
397
397
  ArrowPrevIcon: be,
398
- MultiselectListBox: de,
399
- Label: ce,
398
+ MultiselectListBox: ce,
399
+ Label: ue,
400
400
  SearchInput: Ee,
401
401
  ResizeHandle: Pe
402
402
  },
@@ -857,7 +857,7 @@ function lt(e, t, n, s, o, l) {
857
857
  "onUpdate:modelValue": l.onLeftInput
858
858
  }, {
859
859
  option: k((i) => [
860
- H(e.$slots, "option", P(K(i)), void 0, !0)
860
+ N(e.$slots, "option", P(K(i)), void 0, !0)
861
861
  ]),
862
862
  _: 3
863
863
  }, 8, ["with-is-empty-state", "empty-state-label", "empty-state-component", "size", "min-size", "model-value", "with-bottom-value", "bottom-value", "is-valid", "possible-values", "ariaLabel", "disabled", "onDoubleClickOnItem", "onDoubleClickShift", "onKeyArrowRight", "onUpdate:modelValue"]),
@@ -923,7 +923,7 @@ function lt(e, t, n, s, o, l) {
923
923
  "onUpdate:modelValue": l.onRightInput
924
924
  }, {
925
925
  option: k((i) => [
926
- H(e.$slots, "option", P(K(i)), void 0, !0)
926
+ N(e.$slots, "option", P(K(i)), void 0, !0)
927
927
  ]),
928
928
  _: 3
929
929
  }, 8, ["class", "model-value", "with-bottom-value", "bottom-value", "with-is-empty-state", "empty-state-label", "empty-state-component", "possible-values", "size", "min-size", "ariaLabel", "disabled", "onDoubleClickOnItem", "onDoubleClickShift", "onKeyArrowLeft", "onUpdate:modelValue"])
@@ -944,7 +944,7 @@ const ft = /* @__PURE__ */ T(U, [["render", lt], ["__scopeId", "data-v-f35c5f48"
944
944
  setup(e) {
945
945
  return (t, n) => (u(), v("div", st, [
946
946
  n[0] || (n[0] = r("span", null, "Loading...", -1)),
947
- I(N(he), { class: "icon" })
947
+ I(H(he), { class: "icon" })
948
948
  ]));
949
949
  }
950
950
  }), wt = /* @__PURE__ */ T(ot, [["__scopeId", "data-v-60f14601"]]);
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as l, computed as i, openBlock as a, createBlock as s, mergeProps as p } from "vue";
2
- import r from "./MultimodeTwinlistControl-DTuLtZRx.js";
2
+ import r from "./MultimodeTwinlistControl-aL0Jr_Hp.js";
3
3
  const d = /* @__PURE__ */ l({
4
4
  __name: "TypedStringFilter",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, openBlock as o, createElementBlock as d, Fragment as n, renderList as v, normalizeClass as i, createElementVNode as s, toDisplayString as r, renderSlot as p, createCommentVNode as V, resolveComponent as B, createBlock as $, withCtx as g, normalizeProps as h, guardReactiveProps as S } from "vue";
2
- import { O as k, _ as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CYe4TfJy.js";
2
+ import { Q as k, _ as m } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
3
3
  const w = u({
4
4
  name: "BaseRadioButtons",
5
5
  props: {
@@ -102,7 +102,7 @@ const P = /* @__PURE__ */ m(w, [["render", A], ["__scopeId", "data-v-2bbebb4b"]]
102
102
  },
103
103
  emits: ["update:modelValue"]
104
104
  });
105
- function O(e, a, f, b, c, y) {
105
+ function z(e, a, f, b, c, y) {
106
106
  const l = B("BaseRadioButtons");
107
107
  return o(), $(l, {
108
108
  id: e.id,
@@ -124,7 +124,7 @@ function O(e, a, f, b, c, y) {
124
124
  _: 3
125
125
  }, 8, ["id", "possible-values", "model-value", "name", "disabled", "class"]);
126
126
  }
127
- const N = /* @__PURE__ */ m(_, [["render", O], ["__scopeId", "data-v-a7eec631"]]);
127
+ const O = /* @__PURE__ */ m(_, [["render", z], ["__scopeId", "data-v-a7eec631"]]);
128
128
  export {
129
- N as V
129
+ O as V
130
130
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, openBlock as n, createBlock as t, mergeProps as a } from "vue";
2
- import { _ as p } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-C7JiVgxq.js";
2
+ import { _ as p } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-CuOORFSE.js";
3
3
  const s = /* @__PURE__ */ o({
4
4
  __name: "ValueSwitchControl",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as n, openBlock as a, createBlock as t, withCtx as r, unref as u } from "vue";
2
- import { a as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CYe4TfJy.js";
3
- import { V as o } from "./VerticalLayoutBase-COwlULuo.js";
2
+ import { a as m } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
3
+ import { V as o } from "./VerticalLayoutBase-Dq_p4WmZ.js";
4
4
  const f = /* @__PURE__ */ n({
5
5
  __name: "VerticalLayout",
6
6
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as n, openBlock as t, createElementBlock as r, Fragment as c, renderList as l, renderSlot as _ } from "vue";
2
- import { _ as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CYe4TfJy.js";
2
+ import { _ as m } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
3
3
  const u = { class: "vertical-layout" }, i = /* @__PURE__ */ n({
4
4
  __name: "VerticalLayoutBase",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as v, computed as a, openBlock as p, createElementBlock as b, createVNode as m, unref as c } from "vue";
2
- import { f as V, t as f, D as h } from "./localTimeUtils-LXk5i7aP.js";
3
- import { $ as T, _ as g } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CYe4TfJy.js";
2
+ import { f as V, t as f, D as h } from "./localTimeUtils-C7kma5fB.js";
3
+ import { a1 as T, _ as g } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
4
4
  const w = ["id"], C = /* @__PURE__ */ v({
5
5
  __name: "ZonedDateTimeControl",
6
6
  props: {