@knime/jsonforms 1.10.0 → 1.10.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 +8 -0
- package/dist/{AnyOfTwinlist-DeqIlR2B.js → AnyOfTwinlist-CAyoczAB.js} +1 -1
- package/dist/{Button-CN9kOg52.js → Button-BzZgjDcV.js} +1 -1
- package/dist/{Checkbox-BECqYUi7.js → Checkbox-C_i21GaA.js} +1 -1
- package/dist/{CheckboxControl-YAifFlUs.js → CheckboxControl-DDoLA6Vd.js} +2 -2
- package/dist/{Checkboxes-SN0Gyz3F.js → Checkboxes-C_e0UeAC.js} +2 -2
- package/dist/{CheckboxesControl-B9FhxSt0.js → CheckboxesControl-mSVKQ6CW.js} +2 -2
- package/dist/{ComboBoxControl-CLROGipS.js → ComboBoxControl-BY9Wb-2K.js} +5 -5
- package/dist/{DateControl-BMIbCzdJ.js → DateControl-YjVx-aFd.js} +1 -1
- package/dist/{DateTimeControl-CxFb7-M5.js → DateTimeControl-D5Z7nHgz.js} +2 -2
- package/dist/{DateTimeFormatInput-BoT3Fq6o.js → DateTimeFormatInput-DP9GTXiX.js} +57 -57
- package/dist/{DateTimeFormatPickerControl-Bh6dVZmY.js → DateTimeFormatPickerControl-DdIvsCjx.js} +2 -2
- package/dist/{DateTimeFormatPickerWithTypeControl-7Z0nCv1N.js → DateTimeFormatPickerWithTypeControl-CrrpUdTR.js} +3 -3
- package/dist/{DateTimeInput-C4Nh_2EL.js → DateTimeInput-BSUVtZ_C.js} +1182 -1182
- package/dist/{Dropdown-3hPIkzit.js → Dropdown-DP_F92tv.js} +86 -87
- package/dist/{DropdownControl-UjRCUZHh.js → DropdownControl-GMJULpL6.js} +4 -4
- package/dist/{HorizontalLayout-CJ_o8Fs4.js → HorizontalLayout-COzD3yLU.js} +1 -1
- package/dist/{InputField-dinsVJC1.js → InputField-BF7vTszr.js} +39 -39
- package/dist/{IntegerControl-DYv-Y9M7.js → IntegerControl-CKIl5Rfi.js} +1 -1
- package/dist/{IntervalControl-ETsNbmWj.js → IntervalControl-C2ykMH4V.js} +129 -129
- package/dist/{LoadingDropdown-BBu6y57e.js → LoadingDropdown-CxqiKfdN.js} +3 -3
- package/dist/{MultimodeTwinlistControl-B-Fm5b9C.js → MultimodeTwinlistControl-BM744sO6.js} +27 -27
- package/dist/{MultiselectListBox-DiY_1JbY.js → MultiselectListBox-DwBSUb9V.js} +23 -25
- package/dist/{NameFilter-ByVouGxz.js → NameFilter-Dgf1mtuH.js} +1 -1
- package/dist/{NumberControl-8pxttJYW.js → NumberControl-Cp0OiNDl.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-0MWDRFG4.js → NumberControlBase.vue_vue_type_script_setup_true_lang-B7BnKygX.js} +2 -2
- package/dist/{NumberInput-BsI5jyyt.js → NumberInput-H3BZ_gou.js} +2 -2
- package/dist/{OneOfDropdown-wSdpOv-h.js → OneOfDropdown-DbkVGpS-.js} +1 -1
- package/dist/{RadioControl-DrHwFQHw.js → RadioControl-9cZ9L-XZ.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-E93Q0_oH.js → RadioControlBase.vue_vue_type_script_setup_true_lang-DXLEuMzn.js} +2 -2
- package/dist/{RichTextControl-C0MHCvEi.js → RichTextControl-B6KPOKpK.js} +1915 -1915
- package/dist/{SectionHeading-Dupn5jB4.js → SectionHeading-BMWemtGd.js} +1 -1
- package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-u8QsGw29.js → SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js} +3747 -3746
- package/dist/{SectionLayout-B1wqBbiJ.js → SectionLayout-DR_wqkbw.js} +3 -3
- package/dist/{SettingsSubPanel-CENkQVK4.js → SettingsSubPanel-TN03TZ-e.js} +1 -1
- package/dist/SettingsSubPanelLayout-DxJd3igq.js +61 -0
- package/dist/{SimpleButtonControl-C5XhU03v.js → SimpleButtonControl-BBy1H52n.js} +3 -3
- package/dist/{SimpleTwinlistControl-B0LaCmtv.js → SimpleTwinlistControl-lyNwPBvG.js} +2 -2
- package/dist/{SingleSelectControl-CK4-CrfC.js → SingleSelectControl-BRjpWFqk.js} +2 -2
- package/dist/{SortListControl-D-JHzIyw.js → SortListControl-BTrDdu9O.js} +121 -121
- package/dist/{TextAreaControl-CVjex7AA.js → TextAreaControl-B1-g-8ug.js} +1 -1
- package/dist/{TextControl-E0OK9u3d.js → TextControl-NsT1R1rk.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-DIBicKjn.js → TextControl.vue_vue_type_script_setup_true_lang-Dgyo9rJ-.js} +4 -4
- package/dist/{TimeControl-CjoQmYQT.js → TimeControl-CWjNnOHM.js} +2 -2
- package/dist/{TwinlistControlBase-BRT_sYid.js → TwinlistControlBase-Dam1VsbM.js} +3 -3
- package/dist/{TwinlistLoadingInfo-BHR4sp2h.js → TwinlistLoadingInfo-y6JvMoCY.js} +301 -301
- package/dist/{TypedStringFilter-C7u3z9EA.js → TypedStringFilter-BjzWIu-L.js} +1 -1
- package/dist/ValueSwitch-DZ5LB9vA.js +131 -0
- package/dist/{ValueSwitchControl-DRC37vZO.js → ValueSwitchControl-BCpz0Ya4.js} +1 -1
- package/dist/{VerticalLayout-HTwvzYs2.js → VerticalLayout-WkUU2XH3.js} +2 -2
- package/dist/{VerticalLayoutBase-CaUHhg4c.js → VerticalLayoutBase-413o9U_2.js} +1 -1
- package/dist/{ZonedDateTimeControl-Dry6mj8Q.js → ZonedDateTimeControl-6u9Nbw2f.js} +4 -4
- package/dist/{_baseEach-qp9WwRfp.js → _baseEach-D8bWEfeT.js} +2 -2
- package/dist/{_baseIteratee-D1BrioPy.js → _baseIteratee-c38lvCZS.js} +3 -3
- package/dist/{_getTag-D8q3h3ou.js → _getTag-DwDUrDKD.js} +1 -1
- package/dist/arrow-dropdown-DdgjzLAO.js +17 -0
- package/dist/arrow-next-CIOU5o42.js +17 -0
- package/dist/close-BuY4mhXV.js +17 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +73 -73
- package/dist/{localTimeUtils-BAL2gOb_.js → localTimeUtils-Bpn7Hjtc.js} +1 -1
- package/dist/{magic-string.es-BNAF4une.js → magic-string.es-Dlayy_3o.js} +1 -1
- package/dist/reload-BVbCGubF.js +17 -0
- package/dist/src/JsonFormsDialog.vue.d.ts +11 -20
- package/dist/src/higherOrderComponents/control/LabeledControl.vue.d.ts +3 -12
- package/dist/src/higherOrderComponents/control/errorMessage/ErrorLine.vue.d.ts +3 -12
- package/dist/src/higherOrderComponents/control/errorMessage/ErrorMessages.vue.d.ts +4 -25
- package/dist/src/layoutComponents/Form.vue.d.ts +1 -1
- package/dist/src/layoutComponents/HorizontalLayout.vue.d.ts +1 -10
- package/dist/src/layoutComponents/SectionLayout.vue.d.ts +1 -10
- package/dist/src/layoutComponents/SettingsSubPanelLayout.vue.d.ts +1 -10
- package/dist/src/layoutComponents/VerticalLayout.vue.d.ts +1 -10
- package/dist/src/layoutComponents/VerticalLayoutBase.vue.d.ts +3 -12
- package/dist/src/layoutComponents/section/SectionHeading.vue.d.ts +3 -12
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +3 -28
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanelBackArrow.vue.d.ts +2 -2
- package/dist/src/loading/LoadingDialog.vue.d.ts +1 -1
- package/dist/src/renderers/defaultRenderers.d.ts +106 -1095
- package/dist/src/renderers/dropdownRenderer.d.ts +3 -219
- package/dist/src/renderers/fallbackRenderers.d.ts +4 -262
- package/dist/src/renderers/horizontalLayoutRenderer.d.ts +1 -43
- package/dist/src/renderers/sectionLayoutRenderer.d.ts +3 -87
- package/dist/src/renderers/sectionSubPanelLayoutRenderer.d.ts +1 -43
- package/dist/src/renderers/sortListRenderer.d.ts +85 -282
- package/dist/src/renderers/textMessageRenderer.d.ts +1 -109
- package/dist/src/renderers/textRenderer.d.ts +3 -219
- package/dist/src/renderers/verticalLayoutRenderer.d.ts +2 -86
- package/dist/src/uiComponents/CheckboxControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/CheckboxesControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/ComboBoxControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/DateControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/DateTimeControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/DateTimeFormatPickerControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/DateTimeFormatPickerWithTypeControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/DropdownControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/DynamicIcon.vue.d.ts +3 -12
- package/dist/src/uiComponents/IntegerControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/IntervalControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/NumberControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/NumberControlBase.vue.d.ts +3 -12
- package/dist/src/uiComponents/OneOfDropdown.vue.d.ts +1 -10
- package/dist/src/uiComponents/RadioControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/RadioControlBase.vue.d.ts +3 -12
- package/dist/src/uiComponents/SingleSelectControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/SortListControl.vue.d.ts +8 -73
- package/dist/src/uiComponents/TextAreaControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/TextControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/TextMessageControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/TimeControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/ValueSwitchControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/ZonedDateTimeControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/composables/usePossibleValues.d.ts +3 -1
- package/dist/src/uiComponents/composables/useProvidedState.d.ts +1 -1
- package/dist/src/uiComponents/loading/LoadingDropdown.vue.d.ts +1 -10
- package/dist/src/uiComponents/loading/TwinlistLoadingInfo.vue.d.ts +1 -1
- package/dist/src/uiComponents/richTextControl/DialogLinkModal.vue.d.ts +1 -10
- package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/twinlist/AnyOfTwinlist.vue.d.ts +1 -10
- package/dist/src/uiComponents/twinlist/MultimodeTwinlistControl.vue.d.ts +4 -31
- package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +1 -10
- package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/twinlist/TwinlistControlBase.vue.d.ts +4 -25
- package/dist/src/uiComponents/twinlist/TypedStringFilter.vue.d.ts +1 -10
- package/dist/src/uiComponents/twinlist/useUnknownValuesInTwinlist.d.ts +6 -0
- package/dist/{svgWithTitle-BomcA1vs.js → svgWithTitle-CEHRG42c.js} +2 -2
- package/dist/testUtils/component.d.ts +10 -10
- package/dist/testing.js +4395 -4085
- package/dist/{toString-DkTEiU39.js → toString-BC2RXvs0.js} +1 -1
- package/dist/{useBuiltinValidations-DXisZ150.js → useBuiltinValidations-BsKhdvbW.js} +1 -1
- package/dist/{usePossibleValues-BYX8n8sq.js → usePossibleValues-D12PcddT.js} +1 -1
- package/package.json +6 -6
- package/dist/SettingsSubPanelLayout-BzokvPPl.js +0 -61
- package/dist/ValueSwitch-CTCKgRvt.js +0 -138
- package/dist/arrow-dropdown-DjUxzjqC.js +0 -17
- package/dist/arrow-next-Qa8PNb04.js +0 -17
- package/dist/close-h7XT0ja0.js +0 -17
- package/dist/reload-BhzcZRFp.js +0 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as s, openBlock as t, createBlock as p, mergeProps as a, unref as l } from "vue";
|
|
2
2
|
import { o as r } from "./index-Blg1O3Fz.js";
|
|
3
|
-
import { T as i } from "./TwinlistControlBase-
|
|
3
|
+
import { T as i } from "./TwinlistControlBase-Dam1VsbM.js";
|
|
4
4
|
const y = /* @__PURE__ */ s({
|
|
5
5
|
__name: "AnyOfTwinlist",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, resolveComponent as a, openBlock as s, createBlock as n, normalizeClass as r, withCtx as l, renderSlot as d } from "vue";
|
|
2
|
-
import { B as i, _ as p } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { B as i, _ as p } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js";
|
|
3
3
|
const c = o({
|
|
4
4
|
name: "Button",
|
|
5
5
|
components: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as s, createElementBlock as i, normalizeClass as o, createElementVNode as d, renderSlot as c } from "vue";
|
|
2
|
-
import { _ as u } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { _ as u } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js";
|
|
3
3
|
const r = {
|
|
4
4
|
name: "Checkbox",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as a, ref as r, openBlock as s, createElementBlock as d, createVNode as u, unref as i, withCtx as p, createTextVNode as c, toDisplayString as m, renderSlot as n } from "vue";
|
|
2
|
-
import { C as f } from "./Checkbox-
|
|
3
|
-
import { _ as v } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { C as f } from "./Checkbox-C_i21GaA.js";
|
|
3
|
+
import { _ as v } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js";
|
|
4
4
|
const b = /* @__PURE__ */ a({
|
|
5
5
|
__name: "CheckboxControl",
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as c } from "./Checkbox-
|
|
1
|
+
import { C as c } from "./Checkbox-C_i21GaA.js";
|
|
2
2
|
import { resolveComponent as u, openBlock as l, createElementBlock as s, normalizeClass as f, Fragment as m, renderList as h, createBlock as p, withCtx as x, createTextVNode as b, toDisplayString as V } from "vue";
|
|
3
|
-
import { _ as y } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
3
|
+
import { _ as y } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js";
|
|
4
4
|
const _ = {
|
|
5
5
|
name: "Checkboxes",
|
|
6
6
|
components: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as t, computed as s, ref as i, onMounted as c, openBlock as d, createBlock as r, unref as p, createCommentVNode as u } from "vue";
|
|
2
2
|
import { o as m } from "./index-Blg1O3Fz.js";
|
|
3
|
-
import { C as b } from "./Checkboxes-
|
|
4
|
-
import { _ as h } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
3
|
+
import { C as b } from "./Checkboxes-C_e0UeAC.js";
|
|
4
|
+
import { _ as h } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js";
|
|
5
5
|
const f = /* @__PURE__ */ t({
|
|
6
6
|
__name: "CheckboxesControl",
|
|
7
7
|
props: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { resolveComponent as f, openBlock as d, createElementBlock as V, normalizeClass as w, withKeys as r, withModifiers as a, renderSlot as E, createElementVNode as p, toDisplayString as g, createVNode as h, withDirectives as I, normalizeStyle as A, Fragment as k, renderList as D, createBlock as S, withCtx as O, createTextVNode as $, vShow as P, defineComponent as M, vModelText as R, ref as B, toRef as z, onMounted as U, computed as F, unref as N, createCommentVNode as L } from "vue";
|
|
2
|
-
import { u as H } from "./usePossibleValues-
|
|
3
|
-
import { C as K } from "./close-
|
|
4
|
-
import { _ as C, q as j } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { u as H } from "./usePossibleValues-D12PcddT.js";
|
|
3
|
+
import { C as K } from "./close-BuY4mhXV.js";
|
|
4
|
+
import { _ as C, q as j } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { u as W } from "./index-Bf0xDq3g.js";
|
|
7
|
-
import { A as q } from "./arrow-dropdown-
|
|
8
|
-
import { C as G } from "./Checkbox-
|
|
7
|
+
import { A as q } from "./arrow-dropdown-DdgjzLAO.js";
|
|
8
|
+
import { C as G } from "./Checkbox-C_i21GaA.js";
|
|
9
9
|
import { c as X } from "./createMissingItem-B00Kg95q.js";
|
|
10
10
|
const y = 1, J = 28.5, Q = 8, Y = {
|
|
11
11
|
name: "Multiselect",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as h, computed as a, openBlock as f, createBlock as w, unref as V } from "vue";
|
|
2
|
-
import { D as T } from "./DateTimeInput-
|
|
3
|
-
import { t as i, f as b } from "./localTimeUtils-
|
|
2
|
+
import { D as T } from "./DateTimeInput-BSUVtZ_C.js";
|
|
3
|
+
import { t as i, f as b } from "./localTimeUtils-Bpn7Hjtc.js";
|
|
4
4
|
const y = /* @__PURE__ */ h({
|
|
5
5
|
__name: "DateTimeControl",
|
|
6
6
|
props: {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { openBlock as p, createElementBlock as y, createElementVNode as v, defineComponent as O, computed as
|
|
1
|
+
import { openBlock as p, createElementBlock as y, createElementVNode as v, defineComponent as O, computed as F, ref as f, watch as I, 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 k, normalizeStyle as U, Fragment as Y, renderList as ee, normalizeClass as V, toDisplayString as B, mergeModels as te, useModel as oe, withDirectives as le, vModelText as ae } from "vue";
|
|
2
2
|
import { o as se } from "./index-Bf0xDq3g.js";
|
|
3
3
|
import { u as ne, o as ie, s as re, f as de, a as ce } from "./floating-ui.vue-B-MrqKCT.js";
|
|
4
4
|
import { u as me, F as ue } from "./useDropdownNavigation-7o7SRJSo.js";
|
|
5
|
-
import { L as pe } from "./svgWithTitle-
|
|
6
|
-
import { V as
|
|
7
|
-
import { _ as L } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
5
|
+
import { L as pe } from "./svgWithTitle-CEHRG42c.js";
|
|
6
|
+
import { V as $ } from "./ValueSwitch-DZ5LB9vA.js";
|
|
7
|
+
import { _ as L } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js";
|
|
8
8
|
const ve = {
|
|
9
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10
10
|
fill: "none",
|
|
11
11
|
"stroke-linejoin": "round",
|
|
12
12
|
viewBox: "0 0 32 32"
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
};
|
|
14
|
+
function fe(x, g) {
|
|
15
|
+
return p(), y("svg", ve, g[0] || (g[0] = [
|
|
16
|
+
v("path", {
|
|
17
|
+
fill: "#000",
|
|
18
|
+
d: "M2 3.842v-.5a.5.5 0 0 0-.5.5zm22.611 0h.5a.5.5 0 0 0-.5-.5zm-.5 7.48a.5.5 0 1 0 1 0zM2 21.43h-.5a.5.5 0 0 0 .5.5zm10.298.5a.5.5 0 1 0 0-1zm5.283 8.222h-.5a.5.5 0 0 0 .765.424zm3.278-2.046.265.424a.5.5 0 0 0 .235-.424zm0-5.87-.366-.34a.5.5 0 0 0-.134.34zM27.613 15l.366.341a.5.5 0 0 0-.366-.841zm-10.032 7.235h.5a.5.5 0 0 0-.128-.334zM11.063 15v-.5a.5.5 0 0 0-.372.835zm-.69-9.483V2h-1v3.517zM16.155 2v3.517h1V2zM2 4.342h22.611v-1H2zm22.111-.5v7.48h1v-7.48zM2.5 21.43V3.842h-1V21.43zM2 8.362h22.611v-1H2zM12.298 20.93h-6.81v1h6.81zm-6.81 0H2v1h3.488zm12.358 9.646 3.278-2.046-.53-.849-3.278 2.047zm3.513-2.47v-5.87h-1v5.87zm-.135-5.528 6.755-7.236-.731-.682-6.755 7.235zm-4.143-.342v7.916h1v-7.916zm.872-.334-6.519-7.236-.743.67 6.519 7.235zm-6.89-6.401h16.55v-1h-16.55z"
|
|
19
|
+
}, null, -1)
|
|
20
|
+
]));
|
|
21
21
|
}
|
|
22
|
-
const
|
|
22
|
+
const ye = { render: fe }, he = { class: "popover" }, Te = { class: "formats-container-border-host" }, ge = {
|
|
23
23
|
key: 0,
|
|
24
24
|
class: "no-formats-available"
|
|
25
|
-
},
|
|
25
|
+
}, we = {
|
|
26
26
|
key: 1,
|
|
27
27
|
class: "no-formats-available"
|
|
28
|
-
},
|
|
28
|
+
}, Ee = ["onClick"], xe = { class: "format-pattern" }, Fe = { class: "format-preview" }, H = 1, _e = /* @__PURE__ */ O({
|
|
29
29
|
__name: "DateTimeFormatPickerPopover",
|
|
30
30
|
props: {
|
|
31
31
|
allFormats: {},
|
|
@@ -34,8 +34,8 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
|
|
|
34
34
|
showTypeSwitch: { type: Boolean }
|
|
35
35
|
},
|
|
36
36
|
emits: ["commit", "cancel"],
|
|
37
|
-
setup(
|
|
38
|
-
const n =
|
|
37
|
+
setup(x, { emit: g }) {
|
|
38
|
+
const n = g, c = x, M = F(() => [
|
|
39
39
|
{
|
|
40
40
|
id: "RECENT",
|
|
41
41
|
text: "Recent"
|
|
@@ -52,7 +52,7 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
|
|
|
52
52
|
id: "AMERICAN",
|
|
53
53
|
text: "United States"
|
|
54
54
|
}
|
|
55
|
-
]), D =
|
|
55
|
+
]), D = F(() => [
|
|
56
56
|
{
|
|
57
57
|
id: "DATE",
|
|
58
58
|
text: "Date"
|
|
@@ -76,7 +76,7 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
|
|
|
76
76
|
h.value = e;
|
|
77
77
|
}
|
|
78
78
|
);
|
|
79
|
-
const s =
|
|
79
|
+
const s = F(
|
|
80
80
|
() => {
|
|
81
81
|
var e;
|
|
82
82
|
return ((e = c.allFormats) == null ? void 0 : e.filter(
|
|
@@ -85,7 +85,7 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
|
|
|
85
85
|
}
|
|
86
86
|
), r = f(null), m = G({}), T = (e) => `${e.format}-${e.category}-${e.temporalType}`, K = (e) => (t) => {
|
|
87
87
|
m[T(e)] = t;
|
|
88
|
-
},
|
|
88
|
+
}, w = (e) => ({
|
|
89
89
|
format: e.format,
|
|
90
90
|
temporalType: e.temporalType
|
|
91
91
|
}), {
|
|
@@ -99,7 +99,7 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
|
|
|
99
99
|
index: 0,
|
|
100
100
|
onClick: () => n(
|
|
101
101
|
"commit",
|
|
102
|
-
|
|
102
|
+
w(s.value[0])
|
|
103
103
|
)
|
|
104
104
|
}),
|
|
105
105
|
getLastElement: () => {
|
|
@@ -108,7 +108,7 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
|
|
|
108
108
|
index: e,
|
|
109
109
|
onClick: () => n(
|
|
110
110
|
"commit",
|
|
111
|
-
|
|
111
|
+
w(s.value[e])
|
|
112
112
|
)
|
|
113
113
|
};
|
|
114
114
|
},
|
|
@@ -119,7 +119,7 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
|
|
|
119
119
|
index: l,
|
|
120
120
|
onClick: () => n(
|
|
121
121
|
"commit",
|
|
122
|
-
|
|
122
|
+
w(s.value[l])
|
|
123
123
|
)
|
|
124
124
|
};
|
|
125
125
|
} else {
|
|
@@ -128,7 +128,7 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
|
|
|
128
128
|
index: l,
|
|
129
129
|
onClick: () => n(
|
|
130
130
|
"commit",
|
|
131
|
-
|
|
131
|
+
w(s.value[l])
|
|
132
132
|
)
|
|
133
133
|
};
|
|
134
134
|
}
|
|
@@ -154,7 +154,7 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
|
|
|
154
154
|
index: l,
|
|
155
155
|
onClick: () => n(
|
|
156
156
|
"commit",
|
|
157
|
-
|
|
157
|
+
w(s.value[l])
|
|
158
158
|
)
|
|
159
159
|
});
|
|
160
160
|
};
|
|
@@ -172,7 +172,7 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
|
|
|
172
172
|
i.value.category
|
|
173
173
|
) : (h.value = null, Z());
|
|
174
174
|
});
|
|
175
|
-
const
|
|
175
|
+
const _ = f(!1);
|
|
176
176
|
return J(async () => {
|
|
177
177
|
if (!c.allFormats)
|
|
178
178
|
return;
|
|
@@ -203,15 +203,15 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
|
|
|
203
203
|
temporalType: l
|
|
204
204
|
};
|
|
205
205
|
}
|
|
206
|
-
N(() =>
|
|
207
|
-
}), Q(() =>
|
|
208
|
-
active:
|
|
209
|
-
"onUpdate:active": t[3] || (t[3] = (o) =>
|
|
206
|
+
N(() => _.value = !0);
|
|
207
|
+
}), Q(() => _.value = !1), (e, t) => (p(), P(E(ue), {
|
|
208
|
+
active: _.value,
|
|
209
|
+
"onUpdate:active": t[3] || (t[3] = (o) => _.value = o),
|
|
210
210
|
"initial-focus": () => r.value ?? !1
|
|
211
211
|
}, {
|
|
212
212
|
default: X(() => [
|
|
213
|
-
v("div",
|
|
214
|
-
e.showTypeSwitch ? (p(), P(
|
|
213
|
+
v("div", he, [
|
|
214
|
+
e.showTypeSwitch ? (p(), P($, {
|
|
215
215
|
key: 0,
|
|
216
216
|
id: "selectedFormatType",
|
|
217
217
|
ref: "typeSwitchRef",
|
|
@@ -221,7 +221,7 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
|
|
|
221
221
|
"possible-values": D.value,
|
|
222
222
|
class: "filter-switch"
|
|
223
223
|
}, null, 8, ["modelValue", "possible-values"])) : C("", !0),
|
|
224
|
-
k(
|
|
224
|
+
k($, {
|
|
225
225
|
id: "selectedFormatStandard",
|
|
226
226
|
ref: "standardSwitchRef",
|
|
227
227
|
modelValue: a.value,
|
|
@@ -230,7 +230,7 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
|
|
|
230
230
|
"possible-values": M.value,
|
|
231
231
|
class: "filter-switch"
|
|
232
232
|
}, null, 8, ["modelValue", "possible-values"]),
|
|
233
|
-
v("div",
|
|
233
|
+
v("div", Te, [
|
|
234
234
|
v("div", {
|
|
235
235
|
id: "dateFormats",
|
|
236
236
|
ref_key: "formatContainerRef",
|
|
@@ -240,26 +240,26 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
|
|
|
240
240
|
tabindex: "0",
|
|
241
241
|
role: "menu",
|
|
242
242
|
onKeydown: t[2] || (t[2] = //@ts-ignore
|
|
243
|
-
(...o) =>
|
|
243
|
+
(...o) => E(S) && E(S)(...o))
|
|
244
244
|
}, [
|
|
245
|
-
s.value === null ? (p(), y("div",
|
|
245
|
+
s.value === null ? (p(), y("div", ge, [
|
|
246
246
|
k(pe, { class: "loading-spinner" })
|
|
247
|
-
])) : s.value.length === 0 ? (p(), y("div",
|
|
247
|
+
])) : s.value.length === 0 ? (p(), y("div", we, " No formats available ")) : (p(!0), y(Y, { key: 2 }, ee(s.value, (o, l) => {
|
|
248
248
|
var d;
|
|
249
249
|
return p(), y("div", {
|
|
250
250
|
key: T(o),
|
|
251
251
|
ref_for: !0,
|
|
252
252
|
ref: K(o),
|
|
253
253
|
class: V([{
|
|
254
|
-
highlighted: l ===
|
|
254
|
+
highlighted: l === E(b),
|
|
255
255
|
applied: l === ((d = i.value) == null ? void 0 : d.index) && o.category === i.value.category && o.temporalType === i.value.temporalType
|
|
256
256
|
}, "single-format"]),
|
|
257
257
|
role: "menuitem",
|
|
258
|
-
onClick: () => n("commit",
|
|
258
|
+
onClick: () => n("commit", w(o))
|
|
259
259
|
}, [
|
|
260
|
-
v("span",
|
|
261
|
-
v("span",
|
|
262
|
-
], 10,
|
|
260
|
+
v("span", xe, B(o.format), 1),
|
|
261
|
+
v("span", Fe, B(o.example), 1)
|
|
262
|
+
], 10, Ee);
|
|
263
263
|
}), 128))
|
|
264
264
|
], 36)
|
|
265
265
|
])
|
|
@@ -268,11 +268,11 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
|
|
|
268
268
|
_: 1
|
|
269
269
|
}, 8, ["active", "initial-focus"]));
|
|
270
270
|
}
|
|
271
|
-
}),
|
|
271
|
+
}), ke = /* @__PURE__ */ L(_e, [["__scopeId", "data-v-5d20d963"]]), Me = { class: "input-fields" }, De = ["disabled"], ze = {
|
|
272
272
|
key: 0,
|
|
273
273
|
class: "invalid-marker"
|
|
274
|
-
},
|
|
275
|
-
...
|
|
274
|
+
}, Ie = ["disabled"], Ce = {}, Ve = /* @__PURE__ */ O({
|
|
275
|
+
...Ce,
|
|
276
276
|
__name: "DateTimeFormatInput",
|
|
277
277
|
props: /* @__PURE__ */ te({
|
|
278
278
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -296,8 +296,8 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
|
|
|
296
296
|
modelModifiers: {}
|
|
297
297
|
}),
|
|
298
298
|
emits: ["update:modelValue"],
|
|
299
|
-
setup(
|
|
300
|
-
const
|
|
299
|
+
setup(x) {
|
|
300
|
+
const g = x, n = oe(x, "modelValue"), c = F({
|
|
301
301
|
get: () => n.value.format,
|
|
302
302
|
set: (r) => {
|
|
303
303
|
n.value = {
|
|
@@ -305,7 +305,7 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
|
|
|
305
305
|
format: r
|
|
306
306
|
};
|
|
307
307
|
}
|
|
308
|
-
}), M = "Format like 'yyyy-MM-dd'", D =
|
|
308
|
+
}), M = "Format like 'yyyy-MM-dd'", D = F(() => g.isValid), i = f(null), h = f(null), a = f(!1), u = (r) => {
|
|
309
309
|
n.value = r, a.value = !1;
|
|
310
310
|
};
|
|
311
311
|
se(h, () => a.value = !1, {
|
|
@@ -334,7 +334,7 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
|
|
|
334
334
|
v("div", {
|
|
335
335
|
class: V(["wrapper", { disabled: r.disabled, compact: r.compact }])
|
|
336
336
|
}, [
|
|
337
|
-
v("span",
|
|
337
|
+
v("span", Me, [
|
|
338
338
|
le(v("input", {
|
|
339
339
|
"onUpdate:modelValue": m[0] || (m[0] = (T) => c.value = T),
|
|
340
340
|
type: "text",
|
|
@@ -342,10 +342,10 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
|
|
|
342
342
|
placeholder: M,
|
|
343
343
|
spellcheck: "false",
|
|
344
344
|
onFocus: m[1] || (m[1] = (T) => a.value = !1)
|
|
345
|
-
}, null, 40,
|
|
345
|
+
}, null, 40, De), [
|
|
346
346
|
[ae, c.value]
|
|
347
347
|
]),
|
|
348
|
-
D.value ? C("", !0) : (p(), y("span",
|
|
348
|
+
D.value ? C("", !0) : (p(), y("span", ze)),
|
|
349
349
|
v("button", {
|
|
350
350
|
ref_key: "togglePopoverButtonRef",
|
|
351
351
|
ref: i,
|
|
@@ -353,8 +353,8 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
|
|
|
353
353
|
disabled: r.disabled,
|
|
354
354
|
onClick: m[2] || (m[2] = (T) => a.value = !a.value)
|
|
355
355
|
}, [
|
|
356
|
-
k(
|
|
357
|
-
], 10,
|
|
356
|
+
k(E(ye))
|
|
357
|
+
], 10, Ie)
|
|
358
358
|
])
|
|
359
359
|
], 2),
|
|
360
360
|
a.value ? (p(), y("div", {
|
|
@@ -362,9 +362,9 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
|
|
|
362
362
|
ref_key: "floatingPopoverRef",
|
|
363
363
|
ref: h,
|
|
364
364
|
class: "popover",
|
|
365
|
-
style: U(
|
|
365
|
+
style: U(E(s))
|
|
366
366
|
}, [
|
|
367
|
-
k(
|
|
367
|
+
k(ke, {
|
|
368
368
|
"all-formats": r.allDefaultFormats,
|
|
369
369
|
"initial-selected-pattern": n.value.format,
|
|
370
370
|
"selected-type": n.value.temporalType,
|
|
@@ -375,7 +375,7 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
|
|
|
375
375
|
], 4)) : C("", !0)
|
|
376
376
|
]));
|
|
377
377
|
}
|
|
378
|
-
}),
|
|
378
|
+
}), $e = /* @__PURE__ */ L(Ve, [["__scopeId", "data-v-a18d67d3"]]);
|
|
379
379
|
export {
|
|
380
|
-
|
|
380
|
+
$e as D
|
|
381
381
|
};
|
package/dist/{DateTimeFormatPickerControl-Bh6dVZmY.js → DateTimeFormatPickerControl-DdIvsCjx.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as m, computed as o, openBlock as p, createBlock as c, unref as n } from "vue";
|
|
2
|
-
import { u as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
3
|
-
import { D as F } from "./DateTimeFormatInput-
|
|
2
|
+
import { u as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js";
|
|
3
|
+
import { D as F } from "./DateTimeFormatInput-DP9GTXiX.js";
|
|
4
4
|
const b = /* @__PURE__ */ m({
|
|
5
5
|
__name: "DateTimeFormatPickerControl",
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as f, computed as t, openBlock as v, createElementBlock as T, createVNode as r, unref as d } from "vue";
|
|
2
|
-
import { u as V, _ as b } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
3
|
-
import { V as y } from "./ValueSwitch-
|
|
4
|
-
import { D as F } from "./DateTimeFormatInput-
|
|
2
|
+
import { u as V, _ as b } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js";
|
|
3
|
+
import { V as y } from "./ValueSwitch-DZ5LB9vA.js";
|
|
4
|
+
import { D as F } from "./DateTimeFormatInput-DP9GTXiX.js";
|
|
5
5
|
const h = ["id"], D = /* @__PURE__ */ f({
|
|
6
6
|
__name: "DateTimeFormatPickerWithTypeControl",
|
|
7
7
|
props: {
|