@knime/scripting-editor 0.0.129 → 0.0.131
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/dist/{AnyOfTwinlist-Chx0nmt3-DPMbiVZd.js → AnyOfTwinlist-DEv6xgTn-BV0O3had.js} +1 -1
- package/dist/{ArrayLayout-C2-4wxkT.js → ArrayLayout-xpUEX4UY.js} +54 -54
- package/dist/{ButtonControl-Dga3IomB.js → ButtonControl-BFG84O1r.js} +11 -11
- package/dist/{CheckboxControl-B8b1Di4k-CEkOsWEu.js → CheckboxControl-Yqf7_a5P--lSSti7m.js} +5 -5
- package/dist/{CheckboxesControl-DWUnPGdN-BOSX_stf.js → CheckboxesControl-Cx7qUDbd-ByGOCDtp.js} +2 -2
- package/dist/{CodeEditorControl-CN4ltMvy.js → CodeEditorControl-DAfgzg-h.js} +3 -3
- package/dist/{ColorControl-ByE5ku7u-C12pZ0rg.js → ColorControl-BjIoBGby-B54hb0gK.js} +1 -1
- package/dist/{ColorPreviewControl-XiKZ4jfn-CLIjX6M_.js → ColorPreviewControl-Cmpb3_o4--muSe_be.js} +9 -9
- package/dist/{ComboBoxControl-zSceYlyZ-BgpAi7q9.js → ComboBoxControl-DJsbSwD6-xuE8rZyf.js} +7 -7
- package/dist/{ConfigurationNodeNotSupported-B27grebd.js → ConfigurationNodeNotSupported-Bkfoi87W.js} +3 -3
- package/dist/{ControlWithSubParameters-ROJGaqDF.js → ControlWithSubParameters-B9TiQfTU.js} +12 -12
- package/dist/{CredentialsControl-B6jczlBv.js → CredentialsControl-CqulYPUL.js} +4 -4
- package/dist/{CredentialsControlBase-CdNdAngd.js → CredentialsControlBase-x4zTZK8u.js} +19 -19
- package/dist/{DateControl-BBGpEVpr-yZP_TZnE.js → DateControl-CcuCk97j-CdiO3xtM.js} +1 -1
- package/dist/{DateTimeControl-CymOURq5-Ca0mT1HW.js → DateTimeControl-CuB6aWlL-CgLiloF4.js} +3 -3
- package/dist/{DateTimeFormatPickerControl-Bx19jwpr-Bd0xBs4D.js → DateTimeFormatPickerControl-CpaOPUR6-J_PpzzAB.js} +1 -1
- package/dist/{DateTimeFormatPickerWithTypeControl-Byo_0cTq-C0ZfMqtp.js → DateTimeFormatPickerWithTypeControl-BQKDIoYn-Vw11sEhI.js} +65 -65
- package/dist/{DialogFileExplorer-BmT2YlVn.js → DialogFileExplorer-CiOfUL_M.js} +33 -33
- package/dist/{DirtyTrackerRenderer-BG451zZD.js → DirtyTrackerRenderer-6k1ego1B.js} +1 -1
- package/dist/{DropdownControl-C6ffVYyf-hy0i8nDV.js → DropdownControl-CpSZxjr1-C804I9fG.js} +2 -2
- package/dist/DynamicInputControl-Bc99HU8j.js +6 -0
- package/dist/{ExecutorCoresControl-D9FZ-g9O-Dws9IhAs.js → ExecutorCoresControl-DoG2-XCx-BC0pTSv1.js} +8 -8
- package/dist/{ExecutorMemoryControl-__P80Lkb-DxQZ2IuA.js → ExecutorMemoryControl-DqYRmLt2-DgmK5cxY.js} +7 -7
- package/dist/{FileChooserControl-BBbay7zU.js → FileChooserControl-Cv9Nvwrw.js} +2 -2
- package/dist/{FileChooserControlBase-DpYYK3eE.js → FileChooserControlBase-C4WoqeuQ.js} +50 -50
- package/dist/{FileChooserControlForMultiFile-6NLYZKbt.js → FileChooserControlForMultiFile-DJydfSjI.js} +1 -1
- package/dist/{FileUploadControl-DWs4PhOj-BvByW-Tq.js → FileUploadControl-IAwE26IH-LLTdmWyW.js} +52 -52
- package/dist/{GridSelectionControl-WcJ4y6Fs-BoxSk0VG.js → GridSelectionControl-DUVIpMsY-CuyLvikR.js} +27 -27
- package/dist/{HorizontalLayout-ByB5A7X3-BURAMMFG.js → HorizontalLayout-92oHZT6R--JjwD9hI.js} +2 -2
- package/dist/{IntegerControl-aveswmbr-50_b6vGY.js → IntegerControl-B2TyUPGu-BLpffmEs.js} +1 -1
- package/dist/{IntervalControl-B4Eqs1Jf-CiB2D52B.js → IntervalControl-BbIwNXK3-DcVnnDMh.js} +13 -13
- package/dist/{LabeledGroup-BONZ_GLo.js → LabeledGroup-oOuEM_pN.js} +2 -2
- package/dist/{LegacyCredentialsControl-DaIrvNBd.js → LegacyCredentialsControl-DAZOUpou.js} +8 -8
- package/dist/{LinkControl-DD56lOiw-CDy6OBu8.js → LinkControl-Cmk_qiO_-CF2rBAA7.js} +8 -8
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-CscatDmg-BaroyBA0.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-C0YzJo8M-DJVLdb5q.js} +1 -1
- package/dist/{ManualTwinlistControl-DBZ5RZgW-BV5qOGau.js → ManualTwinlistControl-DTl3XPje-CnoltRZh.js} +3 -3
- package/dist/{MultiFileChooserControl-cyndOpF7.js → MultiFileChooserControl-1YghP5YI.js} +21 -21
- package/dist/{MultiRuleWrapper-Db-W_o1f.js → MultiRuleWrapper-BnwWI1WL.js} +1 -1
- package/dist/{MultiSelectListBoxControl-BMsPvxGQ-5ua-fVR8.js → MultiSelectListBoxControl-DIV0UiGV-CN3b9J9V.js} +31 -31
- package/dist/{MultimodeTwinlistControl-thO1be1r-8kc-JSH1.js → MultimodeTwinlistControl-F1L7mwSB-GnzFL4Xl.js} +3 -3
- package/dist/{NameFilter-DBMVmZmk-DnB-5f39.js → NameFilter-Crwz1wiJ-CU1s2b7c.js} +1 -1
- package/dist/{NumberControl-BPVO5l6t--nrQcx4m.js → NumberControl-CTycpm1q-SsW1E9e6.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-CR61f6d6-Df5EPyns.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CRNO3Yp4-DIZHQaJH.js} +4 -4
- package/dist/{OneOfDropdown-DBG8ZcpV-cZs_ptrT.js → OneOfDropdown-B7KrUOWD-DAFKZmqZ.js} +1 -1
- package/dist/{RadioButtonsWithDescriptionControl-BsqMTEB5-COGPhNPs.js → RadioButtonsWithDescriptionControl-UmWLsOmL-BjelKrcC.js} +18 -18
- package/dist/{RadioControl-ClJmr0EQ-BzjoXaZ3.js → RadioControl-BAoCJNMH-VuiN6M_V.js} +1 -1
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-Bm4EUEvw-Cabfycg_.js → RadioControlBase.vue_vue_type_script_setup_true_lang-DKx6ts7n-BNr3sbHh.js} +2 -2
- package/dist/{ResourceControlBase-CeXYJeR1-DSmxhV0s.js → ResourceControlBase-97R2-qQ7-BBi11JJj.js} +32 -32
- package/dist/{RichTextControl-DvYkBpzH-CtMZq2re.js → RichTextControl-D4ItwmZa-CV9QLVR2.js} +2 -2
- package/dist/{SectionLayout-CwRO3UXc-d5rFpCRN.js → SectionLayout-DS6gpiV1-BN6brreP.js} +9 -9
- package/dist/{SettingsSubPanelLayout-CV6y2bcX-OzpF07vB.js → SettingsSubPanelLayout-CJeD408x-yH9r1jii.js} +1 -1
- package/dist/{SimpleTwinlistControl-BSON5VYy-BaAaU86G.js → SimpleTwinlistControl-L1tY6QlY-Dvmt0hp3.js} +2 -2
- package/dist/{SingleSelectControl-BSqORMYm-CBP_mVGB.js → SingleSelectControl-Ce9RLMjD-CTQ6TVF0.js} +2 -2
- package/dist/{SingleSelectListBoxControl-CFdKzbOK-CruT9yt-.js → SingleSelectListBoxControl-Dv-XXwO4-BrMTb8AD.js} +3 -3
- package/dist/{SortListControl-DZIHeQmn-CKRyT1hN.js → SortListControl-BlsAnJjH-tbIOGxZ_.js} +10 -10
- package/dist/{StringFileChooserControl-Br8gZTku.js → StringFileChooserControl-BUYM9fmT.js} +3 -3
- package/dist/{StyledListItem--sgmJ3W_-Bo6f-_9B.js → StyledListItem-DjdZOUWD-BMILJImI.js} +1 -1
- package/dist/{TeamAndSpacesControl-DiMyDT-5-Br-Lq0ki.js → TeamAndSpacesControl-CEdzSJPJ-45d6LeCk.js} +13 -13
- package/dist/{TeamResourceControl-Bag_dwA1-PdtnhxEi.js → TeamResourceControl-Cd0UTItF-Coo1MGve.js} +1 -1
- package/dist/{TextAreaControl-B52P0DAa-McfOgZWn.js → TextAreaControl-B-AfgqCE-BxgZnZ7G.js} +1 -1
- package/dist/TextControl-DfrjuKwf-2f9eJp4g.js +54247 -0
- package/dist/{TimeControl-Cu12_qpz-CK1bxhya.js → TimeControl-DOs9b4bm-B7dozTCB.js} +1 -1
- package/dist/{TimeframesControl-DhdC8OS1-DYseJbBV.js → TimeframesControl-4JGOYGkE-DfsHVFg9.js} +8 -8
- package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-t1I2qxJz-DU6yd1RM.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-C_u035me-DAGCRygG.js} +2 -2
- package/dist/{TypedStringFilter-zJOICQei-B-5z8atp.js → TypedStringFilter-C6N8H2Xj-CI1wXgVk.js} +1 -1
- package/dist/{ValueSwitchControl-CEVWJH7z-DzuxqLvy.js → ValueSwitchControl-BO6x8fsi-B4Fuvawe.js} +1 -1
- package/dist/{VennDiagramLayout-DyTZ5EJ9.js → VennDiagramLayout-HkmFaxWm.js} +42 -42
- package/dist/{VerticalLayout-D_13xb_m-BfU1M3IE.js → VerticalLayout-AMSQYCUV-HYDBzl_2.js} +5 -5
- package/dist/{ZonedDateTimeControl-C-vO6fC1-XngmuFqW.js → ZonedDateTimeControl-1lHvcaQc-X46S4Ze5.js} +14 -14
- package/dist/{ai-bar-DDtzX23v.js → ai-bar-CsJhfKpB.js} +132 -111
- package/dist/auto-configure-BU7AIhL7-DE_6PIkb.js +22 -0
- package/dist/auto-configure-BU7AIhL7-DLFpEOFL.js +22 -0
- package/dist/cell-renderer-DGnkQWTq-DNy5Gelw.js +22 -0
- package/dist/cell-renderer-DGnkQWTq-KxiKOXy8.js +22 -0
- package/dist/cell-renderer-DGnkQWTq-S8TXb3dZ-DdvVP9ON.js +22 -0
- package/dist/column-width-Cjb-6nqI-BiwF2Fo6.js +22 -0
- package/dist/column-width-Cjb-6nqI-CjSkGKDp.js +22 -0
- package/dist/column-width-Cjb-6nqI-DQNnYUv--CdTB6acc.js +22 -0
- package/dist/{copy-DAYm6-mo-BpCGSMKR.js → copy-D43FaHi--BZ5AZnoF.js} +2 -2
- package/dist/{copy-DAYm6-mo-Dl2ExZqW.js → copy-D43FaHi--_rKoTTiD.js} +2 -2
- package/dist/duplicate-Mtq886XD-B74_P6q_.js +22 -0
- package/dist/duplicate-Mtq886XD-D99AWOtC.js +22 -0
- package/dist/folder-move-6L5NfoIs-0YMKVtTx.js +22 -0
- package/dist/folder-move-6L5NfoIs-0hcyIJwE.js +22 -0
- package/dist/initial-data-service-browser-mock.js +47 -18
- package/dist/linked-component-BOb5aj87-Ca_6IaxH.js +22 -0
- package/dist/linked-component-BOb5aj87-CwLntkxi.js +22 -0
- package/dist/main.js +12500 -9495
- package/dist/parameters.js +1 -1
- package/dist/path-separator-DRnUilGA-CKpP4SMF.js +22 -0
- package/dist/path-separator-DRnUilGA-CyCV3Plv-CL0w7lk2.js +22 -0
- package/dist/path-separator-DRnUilGA-DOTNAKkO.js +22 -0
- package/dist/src/components/InputOutputItem.vue.d.ts +21 -0
- package/dist/src/components/TemporaryValuePanel.vue.d.ts +7 -26
- package/dist/src/components/TemporaryValuePanelHeader.vue.d.ts +1 -0
- package/dist/src/components/ai-assistant/AiButton.vue.d.ts +24 -4
- package/dist/src/scripting-service.d.ts +16 -1
- package/dist/table-statistics-y-P6EXGX-BWJsLgcD.js +22 -0
- package/dist/table-statistics-y-P6EXGX-DppblZjy.js +22 -0
- package/dist/table-statistics-y-P6EXGX-Dr_wYI1l-BswNMs4S.js +22 -0
- package/dist/{useFileChooserBackend-CLdJ1RU1.js → useFileChooserBackend-uDGm68hp.js} +1 -1
- package/dist/{usePossibleValues-DiYOmnZW-CaSLjdK-.js → usePossibleValues-CsJuQ591-r_2wYQe_.js} +2 -2
- package/package.json +3 -3
- package/dist/DynamicInputControl-W23Zexge.js +0 -6
- package/dist/TextControl-52n-sttB-DssWw4KP.js +0 -50962
- /package/dist/{useUnknownValuesInTwinlist-BhhirtmX-D2ve7iXH.js → useUnknownValuesInTwinlist-DuLcQlCx-D2ve7iXH.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as b, computed as u, createElementBlock as y, openBlock as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as b, computed as u, createElementBlock as y, openBlock as s, createBlock as l, createCommentVNode as f, unref as a, withCtx as o, createVNode as c } from "vue";
|
|
2
|
+
import { n as k, A as m, _ as C, v, N as P } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
|
|
3
3
|
import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const _ = { class: "control-with-sub-parameters" }, $ = /* @__PURE__ */ b({
|
|
5
5
|
__name: "ControlWithSubParameters",
|
|
@@ -12,8 +12,8 @@ const _ = { class: "control-with-sub-parameters" }, $ = /* @__PURE__ */ b({
|
|
|
12
12
|
"showSubParameters",
|
|
13
13
|
!0
|
|
14
14
|
);
|
|
15
|
-
return (e, g) => (
|
|
16
|
-
(
|
|
15
|
+
return (e, g) => (s(), y("div", _, [
|
|
16
|
+
(s(), l(a(m), {
|
|
17
17
|
key: `${e.layout.path}-control`,
|
|
18
18
|
schema: e.layout.schema,
|
|
19
19
|
uischema: n.value,
|
|
@@ -22,8 +22,8 @@ const _ = { class: "control-with-sub-parameters" }, $ = /* @__PURE__ */ b({
|
|
|
22
22
|
renderers: e.layout.renderers,
|
|
23
23
|
cells: e.layout.cells
|
|
24
24
|
}, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"])),
|
|
25
|
-
a(h) ? (
|
|
26
|
-
"expand-button": o(({ expand:
|
|
25
|
+
a(h) ? (s(), l(a(C), { key: 0 }, {
|
|
26
|
+
"expand-button": o(({ expand: t }) => [
|
|
27
27
|
c(a(P), {
|
|
28
28
|
class: "settings-button",
|
|
29
29
|
variant: "transparent",
|
|
@@ -31,7 +31,7 @@ const _ = { class: "control-with-sub-parameters" }, $ = /* @__PURE__ */ b({
|
|
|
31
31
|
"leading-icon": "settings",
|
|
32
32
|
ariaLabel: "Settings",
|
|
33
33
|
disabled: !e.layout.enabled,
|
|
34
|
-
onClick:
|
|
34
|
+
onClick: t
|
|
35
35
|
}, null, 8, ["disabled", "onClick"])
|
|
36
36
|
]),
|
|
37
37
|
default: o(() => [
|
|
@@ -39,11 +39,11 @@ const _ = { class: "control-with-sub-parameters" }, $ = /* @__PURE__ */ b({
|
|
|
39
39
|
class: "sub-parameters",
|
|
40
40
|
elements: i.value
|
|
41
41
|
}, {
|
|
42
|
-
default: o(({ element:
|
|
43
|
-
(
|
|
42
|
+
default: o(({ element: t, index: p }) => [
|
|
43
|
+
(s(), l(a(m), {
|
|
44
44
|
key: `${e.layout.path}-${p}`,
|
|
45
45
|
schema: e.layout.schema,
|
|
46
|
-
uischema:
|
|
46
|
+
uischema: t,
|
|
47
47
|
path: e.layout.path,
|
|
48
48
|
enabled: e.layout.enabled,
|
|
49
49
|
renderers: e.layout.renderers,
|
|
@@ -57,7 +57,7 @@ const _ = { class: "control-with-sub-parameters" }, $ = /* @__PURE__ */ b({
|
|
|
57
57
|
})) : f("", !0)
|
|
58
58
|
]));
|
|
59
59
|
}
|
|
60
|
-
}),
|
|
60
|
+
}), V = /* @__PURE__ */ S($, [["__scopeId", "data-v-b614df7f"]]);
|
|
61
61
|
export {
|
|
62
|
-
|
|
62
|
+
V as default
|
|
63
63
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as r, computed as a, createBlock as l, openBlock as s, unref as i } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { C as p } from "./CredentialsControlBase-
|
|
4
|
-
const
|
|
2
|
+
import { s as d } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
|
|
3
|
+
import { C as p } from "./CredentialsControlBase-x4zTZK8u.js";
|
|
4
|
+
const m = /* @__PURE__ */ r({
|
|
5
5
|
__name: "CredentialsControl",
|
|
6
6
|
props: {
|
|
7
7
|
control: {},
|
|
@@ -29,5 +29,5 @@ const g = /* @__PURE__ */ r({
|
|
|
29
29
|
}
|
|
30
30
|
});
|
|
31
31
|
export {
|
|
32
|
-
|
|
32
|
+
m as default
|
|
33
33
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import { _ as
|
|
4
|
-
const $ = ["id"], g = "*****************",
|
|
1
|
+
import { defineComponent as H, computed as a, watch as D, ref as E, createElementBlock as I, openBlock as n, createBlock as c, createCommentVNode as u, unref as l } from "vue";
|
|
2
|
+
import { n as b, R as N, S as w, U as i } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
|
|
3
|
+
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
const $ = ["id"], g = "*****************", M = /* @__PURE__ */ H({
|
|
5
5
|
__name: "CredentialsControlBase",
|
|
6
6
|
props: {
|
|
7
7
|
control: {},
|
|
@@ -21,14 +21,14 @@ const $ = ["id"], g = "*****************", O = /* @__PURE__ */ N({
|
|
|
21
21
|
r("change", i(o.value, { username: e }));
|
|
22
22
|
}, C = (e) => {
|
|
23
23
|
r("change", i(o.value, { password: e, isHiddenPassword: !1 }));
|
|
24
|
-
},
|
|
24
|
+
}, S = (e) => {
|
|
25
25
|
r(
|
|
26
26
|
"change",
|
|
27
27
|
i(o.value, { secondFactor: e, isHiddenSecondFactor: !1 })
|
|
28
28
|
);
|
|
29
|
-
},
|
|
29
|
+
}, y = a(() => o.value.isHiddenPassword ? g : o.value.password), k = a(() => o.value.isHiddenSecondFactor ? g : o.value.secondFactor), d = a(() => t.control.uischema), s = a(() => d.value.options ?? {}), P = b(d, "hasUsername", !0), p = b(d, "hasPassword", !0), U = a(
|
|
30
30
|
() => p.value && (s.value.showSecondFactor ?? !1)
|
|
31
|
-
),
|
|
31
|
+
), B = a(
|
|
32
32
|
() => {
|
|
33
33
|
var e;
|
|
34
34
|
return ((e = s.value) == null ? void 0 : e.usernameLabel) ?? "Username";
|
|
@@ -43,26 +43,26 @@ const $ = ["id"], g = "*****************", O = /* @__PURE__ */ N({
|
|
|
43
43
|
var e;
|
|
44
44
|
return ((e = s.value) == null ? void 0 : e.secondFactorLabel) ?? "Second authentication factor";
|
|
45
45
|
}
|
|
46
|
-
),
|
|
46
|
+
), L = a(
|
|
47
47
|
() => {
|
|
48
48
|
var e;
|
|
49
49
|
return (e = t.flowSettings) == null ? void 0 : e.controllingFlowVariableName;
|
|
50
50
|
}
|
|
51
51
|
);
|
|
52
|
-
|
|
53
|
-
() =>
|
|
52
|
+
D(
|
|
53
|
+
() => L.value,
|
|
54
54
|
(e) => e || r("change", m())
|
|
55
55
|
);
|
|
56
|
-
const V =
|
|
57
|
-
return (e,
|
|
56
|
+
const V = E(null);
|
|
57
|
+
return (e, Q) => (n(), I("div", {
|
|
58
58
|
id: e.labelForId ?? void 0,
|
|
59
59
|
ref_key: "controlElement",
|
|
60
60
|
ref: V,
|
|
61
61
|
class: "credentials-input-wrapper"
|
|
62
62
|
}, [
|
|
63
|
-
l(P) ? (n(), c(l(
|
|
63
|
+
l(P) ? (n(), c(l(N), {
|
|
64
64
|
key: 0,
|
|
65
|
-
placeholder:
|
|
65
|
+
placeholder: B.value,
|
|
66
66
|
"model-value": o.value.username,
|
|
67
67
|
disabled: e.disabled,
|
|
68
68
|
error: e.error,
|
|
@@ -73,12 +73,12 @@ const $ = ["id"], g = "*****************", O = /* @__PURE__ */ N({
|
|
|
73
73
|
variant: "password",
|
|
74
74
|
placeholder: v.value,
|
|
75
75
|
"toggle-label": v.value,
|
|
76
|
-
"model-value":
|
|
76
|
+
"model-value": y.value,
|
|
77
77
|
disabled: e.disabled,
|
|
78
78
|
error: e.error,
|
|
79
79
|
"onUpdate:modelValue": C
|
|
80
80
|
}, null, 8, ["placeholder", "toggle-label", "model-value", "disabled", "error"])) : u("", !0),
|
|
81
|
-
|
|
81
|
+
U.value ? (n(), c(l(w), {
|
|
82
82
|
key: 2,
|
|
83
83
|
variant: "key",
|
|
84
84
|
placeholder: h.value,
|
|
@@ -86,11 +86,11 @@ const $ = ["id"], g = "*****************", O = /* @__PURE__ */ N({
|
|
|
86
86
|
"model-value": k.value,
|
|
87
87
|
disabled: e.disabled,
|
|
88
88
|
error: e.error,
|
|
89
|
-
"onUpdate:modelValue":
|
|
89
|
+
"onUpdate:modelValue": S
|
|
90
90
|
}, null, 8, ["placeholder", "toggle-label", "model-value", "disabled", "error"])) : u("", !0)
|
|
91
91
|
], 8, $));
|
|
92
92
|
}
|
|
93
|
-
}),
|
|
93
|
+
}), A = /* @__PURE__ */ R(M, [["__scopeId", "data-v-87f85e6a"]]);
|
|
94
94
|
export {
|
|
95
|
-
|
|
95
|
+
A as C
|
|
96
96
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as n, computed as d, createBlock as u, openBlock as i, unref as p } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { Z as c } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
|
|
3
3
|
import { u as m } from "./plainDateTimeUtils-CR0UhpkD-DU-LM4_V.js";
|
|
4
4
|
import { D as s } from "./classApi-CHpAZrj3-BptMrhKH.js";
|
|
5
5
|
const x = /* @__PURE__ */ n({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as V, computed as l, createElementBlock as C, openBlock as m, normalizeClass as D, createVNode as T, createBlock as U, createCommentVNode as B, unref as a } from "vue";
|
|
2
|
-
import { P as F,
|
|
2
|
+
import { P as F, Z as P, Q as k } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
|
|
3
3
|
import { G as L } from "./usePlainDateTimeBatch-Bd2G-GY9-DO2Zu0Mj.js";
|
|
4
4
|
import { u as i } from "./plainDateTimeUtils-CR0UhpkD-DU-LM4_V.js";
|
|
5
5
|
import { D as _ } from "./classApi-CHpAZrj3-BptMrhKH.js";
|
|
@@ -83,7 +83,7 @@ const G = /* @__PURE__ */ V({
|
|
|
83
83
|
}, null, 8, ["ariaLabel", "model-value", "granularity", "max-granularity", "disabled", "error", "onUpdate:modelValue", "onUpdate:granularity"])) : B("", !0)
|
|
84
84
|
], 2));
|
|
85
85
|
}
|
|
86
|
-
}),
|
|
86
|
+
}), Q = /* @__PURE__ */ F(G, [["__scopeId", "data-v-e52553e7"]]);
|
|
87
87
|
export {
|
|
88
|
-
|
|
88
|
+
Q as default
|
|
89
89
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as s, computed as a, createBlock as i, openBlock as m, unref as r } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { n as c, X as p } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
|
|
3
3
|
const h = /* @__PURE__ */ s({
|
|
4
4
|
__name: "DateTimeFormatPickerControl",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as M, computed as T, createElementBlock as f, openBlock as c, createVNode as k, unref as g, resolveComponent as X, createBlock as A, normalizeClass as
|
|
2
|
-
import { P as
|
|
1
|
+
import { defineComponent as M, computed as T, createElementBlock as f, openBlock as c, createVNode as k, unref as g, resolveComponent as X, createBlock as A, normalizeClass as z, withCtx as Z, renderSlot as j, normalizeProps as Y, guardReactiveProps as ee, mergeModels as ae, useModel as le, ref as w, createElementVNode as v, createCommentVNode as F, withDirectives as te, vModelText as oe, normalizeStyle as ne, Fragment as R, renderList as K, toDisplayString as B, useCssVars as se, watch as S, reactive as re, onMounted as ie, nextTick as H, onUnmounted as de, h as ue } from "vue";
|
|
2
|
+
import { P as I, n as me, H as ce, l as pe } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
|
|
3
3
|
import { a as ve, t as fe, n as ye, r as he, i as be, o as Te, e as ge } from "./useDropdownNavigation-CdrbT-CQ-Dxb_y1Fq.js";
|
|
4
4
|
const we = {
|
|
5
5
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -24,13 +24,13 @@ const Ve = { render: Ee }, xe = (e, o) => ({
|
|
|
24
24
|
const o = xe(Ve, "Loading…");
|
|
25
25
|
return (s, d) => (c(), A(g(o)));
|
|
26
26
|
}
|
|
27
|
-
}), ke = /* @__PURE__ */
|
|
27
|
+
}), ke = /* @__PURE__ */ I(_e, [["__scopeId", "data-v-6b552b81"]]), Me = {
|
|
28
28
|
xmlns: "http://www.w3.org/2000/svg",
|
|
29
29
|
fill: "none",
|
|
30
30
|
"stroke-linejoin": "round",
|
|
31
31
|
viewBox: "0 0 32 32"
|
|
32
32
|
};
|
|
33
|
-
function
|
|
33
|
+
function Ie(e, o) {
|
|
34
34
|
return c(), f("svg", Me, [...o[0] || (o[0] = [
|
|
35
35
|
v("path", {
|
|
36
36
|
fill: "#000",
|
|
@@ -38,7 +38,7 @@ function ze(e, o) {
|
|
|
38
38
|
}, null, -1)
|
|
39
39
|
])]);
|
|
40
40
|
}
|
|
41
|
-
const
|
|
41
|
+
const ze = { render: Ie }, De = M({
|
|
42
42
|
name: "BaseRadioButtons",
|
|
43
43
|
props: {
|
|
44
44
|
id: {
|
|
@@ -84,7 +84,7 @@ function Ce(e, o, s, d, E, V) {
|
|
|
84
84
|
}, [
|
|
85
85
|
(c(!0), f(R, null, K(e.possibleValues, (n) => (c(), f("label", {
|
|
86
86
|
key: `radio-${n.id}`,
|
|
87
|
-
class:
|
|
87
|
+
class: z({ disabled: e.disabled || n.disabled })
|
|
88
88
|
}, [
|
|
89
89
|
v("input", {
|
|
90
90
|
ref_for: !0,
|
|
@@ -107,7 +107,7 @@ function Ce(e, o, s, d, E, V) {
|
|
|
107
107
|
], 2))), 128))
|
|
108
108
|
], 8, Ae);
|
|
109
109
|
}
|
|
110
|
-
const Se = /* @__PURE__ */
|
|
110
|
+
const Se = /* @__PURE__ */ I(De, [["render", Ce], ["__scopeId", "data-v-2bbebb4b"]]), Re = M({
|
|
111
111
|
name: "ValueSwitch",
|
|
112
112
|
components: {
|
|
113
113
|
BaseRadioButtons: Se
|
|
@@ -149,7 +149,7 @@ function Ne(e, o, s, d, E, V) {
|
|
|
149
149
|
"model-value": e.modelValue,
|
|
150
150
|
name: e.name,
|
|
151
151
|
disabled: e.disabled,
|
|
152
|
-
class:
|
|
152
|
+
class: z(["value-switch", {
|
|
153
153
|
disabled: e.disabled,
|
|
154
154
|
compact: e.compact,
|
|
155
155
|
normal: !e.compact
|
|
@@ -162,7 +162,7 @@ function Ne(e, o, s, d, E, V) {
|
|
|
162
162
|
_: 3
|
|
163
163
|
}, 8, ["id", "possible-values", "model-value", "name", "disabled", "class"]);
|
|
164
164
|
}
|
|
165
|
-
const N = /* @__PURE__ */
|
|
165
|
+
const N = /* @__PURE__ */ I(Re, [["render", Ne], ["__scopeId", "data-v-83231815"]]), Pe = { class: "popover" }, Oe = { class: "formats-container-border-host" }, Ue = {
|
|
166
166
|
key: 0,
|
|
167
167
|
class: "no-formats-available"
|
|
168
168
|
}, $e = {
|
|
@@ -226,11 +226,11 @@ const N = /* @__PURE__ */ z(Re, [["render", Ne], ["__scopeId", "data-v-83231815"
|
|
|
226
226
|
() => {
|
|
227
227
|
var a;
|
|
228
228
|
return ((a = d.allFormats) == null ? void 0 : a.filter(
|
|
229
|
-
(
|
|
229
|
+
(l) => l.category === i.value && l.temporalType === m.value
|
|
230
230
|
)) ?? null;
|
|
231
231
|
}
|
|
232
|
-
), h = w(null), b = re({}), x = (a) => `${a.format}-${a.category}-${a.temporalType}`, q = (a) => (
|
|
233
|
-
b[x(a)] =
|
|
232
|
+
), h = w(null), b = re({}), x = (a) => `${a.format}-${a.category}-${a.temporalType}`, q = (a) => (l) => {
|
|
233
|
+
b[x(a)] = l;
|
|
234
234
|
}, _ = (a) => ({
|
|
235
235
|
format: a.format,
|
|
236
236
|
temporalType: a.temporalType
|
|
@@ -258,23 +258,23 @@ const N = /* @__PURE__ */ z(Re, [["render", Ne], ["__scopeId", "data-v-83231815"
|
|
|
258
258
|
)
|
|
259
259
|
};
|
|
260
260
|
},
|
|
261
|
-
getNextElement: (a,
|
|
262
|
-
if (a = a === null || a === -1 ? null : a,
|
|
263
|
-
const
|
|
261
|
+
getNextElement: (a, l) => {
|
|
262
|
+
if (a = a === null || a === -1 ? null : a, l === 1) {
|
|
263
|
+
const t = ((a ?? -1) + 1) % r.value.length;
|
|
264
264
|
return {
|
|
265
|
-
index:
|
|
265
|
+
index: t,
|
|
266
266
|
onClick: () => s(
|
|
267
267
|
"commit",
|
|
268
|
-
_(r.value[
|
|
268
|
+
_(r.value[t])
|
|
269
269
|
)
|
|
270
270
|
};
|
|
271
271
|
} else {
|
|
272
|
-
const
|
|
272
|
+
const t = ((a ?? 0) - 1 + r.value.length) % r.value.length;
|
|
273
273
|
return {
|
|
274
|
-
index:
|
|
274
|
+
index: t,
|
|
275
275
|
onClick: () => s(
|
|
276
276
|
"commit",
|
|
277
|
-
_(r.value[
|
|
277
|
+
_(r.value[t])
|
|
278
278
|
)
|
|
279
279
|
};
|
|
280
280
|
}
|
|
@@ -283,16 +283,16 @@ const N = /* @__PURE__ */ z(Re, [["render", Ne], ["__scopeId", "data-v-83231815"
|
|
|
283
283
|
s("cancel");
|
|
284
284
|
}
|
|
285
285
|
}), W = (a) => {
|
|
286
|
-
const
|
|
287
|
-
if (
|
|
288
|
-
const
|
|
289
|
-
y > p ?
|
|
286
|
+
const l = a.parentElement;
|
|
287
|
+
if (l && l.scrollHeight > l.clientHeight) {
|
|
288
|
+
const t = l.offsetTop + L, p = l.clientHeight + l.scrollTop, y = a.offsetTop + a.offsetHeight - t;
|
|
289
|
+
y > p ? l.scrollTop = y - l.clientHeight : a.offsetTop - l.scrollTop < t && (l.scrollTop = a.offsetTop - t);
|
|
290
290
|
}
|
|
291
291
|
}, U = (a) => {
|
|
292
|
-
const
|
|
293
|
-
|
|
294
|
-
}, $ = async (a,
|
|
295
|
-
m.value =
|
|
292
|
+
const l = b[`${a}-${i.value}-${m.value}`];
|
|
293
|
+
l && W(l);
|
|
294
|
+
}, $ = async (a, l, t) => {
|
|
295
|
+
m.value = l ?? m.value, i.value = t ?? i.value, await H(), u.value = a, U(a);
|
|
296
296
|
const p = r.value.findIndex(
|
|
297
297
|
(y) => y.format === a
|
|
298
298
|
);
|
|
@@ -305,14 +305,14 @@ const N = /* @__PURE__ */ z(Re, [["render", Ne], ["__scopeId", "data-v-83231815"
|
|
|
305
305
|
});
|
|
306
306
|
};
|
|
307
307
|
S(P, (a) => {
|
|
308
|
-
var
|
|
308
|
+
var t, p;
|
|
309
309
|
if (a === null)
|
|
310
310
|
return;
|
|
311
|
-
const
|
|
312
|
-
|
|
311
|
+
const l = (p = (t = r.value) == null ? void 0 : t[a]) == null ? void 0 : p.format;
|
|
312
|
+
l && U(l);
|
|
313
313
|
}), S([m, i], () => {
|
|
314
|
-
var a,
|
|
315
|
-
m.value === ((a = n.value) == null ? void 0 : a.temporalType) && i.value === ((
|
|
314
|
+
var a, l;
|
|
315
|
+
m.value === ((a = n.value) == null ? void 0 : a.temporalType) && i.value === ((l = n.value) == null ? void 0 : l.category) ? $(
|
|
316
316
|
n.value.format,
|
|
317
317
|
n.value.temporalType,
|
|
318
318
|
n.value.category
|
|
@@ -327,32 +327,32 @@ const N = /* @__PURE__ */ z(Re, [["render", Ne], ["__scopeId", "data-v-83231815"
|
|
|
327
327
|
"STANDARD",
|
|
328
328
|
"EUROPEAN",
|
|
329
329
|
"AMERICAN"
|
|
330
|
-
],
|
|
331
|
-
(
|
|
330
|
+
], l = d.allFormats.filter((t) => d.initialSelectedPattern === t.format).filter(
|
|
331
|
+
(t) => (
|
|
332
332
|
// if the type switch is hidden, filter to only formats with the same type
|
|
333
|
-
d.selectedType ===
|
|
333
|
+
d.selectedType === t.temporalType || d.showTypeSwitch
|
|
334
334
|
)
|
|
335
|
-
).sort((
|
|
336
|
-
const y = a.indexOf(
|
|
335
|
+
).sort((t, p) => {
|
|
336
|
+
const y = a.indexOf(t.category), C = a.indexOf(p.category);
|
|
337
337
|
return y - C;
|
|
338
338
|
});
|
|
339
|
-
if (
|
|
340
|
-
const
|
|
341
|
-
await $(
|
|
339
|
+
if (l.length > 0) {
|
|
340
|
+
const t = l[0].format, p = l[0].temporalType, y = l[0].category;
|
|
341
|
+
await $(t, p, y);
|
|
342
342
|
const C = r.value.findIndex(
|
|
343
|
-
(Q) => Q.format ===
|
|
343
|
+
(Q) => Q.format === t
|
|
344
344
|
);
|
|
345
345
|
n.value = {
|
|
346
|
-
format:
|
|
346
|
+
format: t,
|
|
347
347
|
index: C,
|
|
348
348
|
category: y,
|
|
349
349
|
temporalType: p
|
|
350
350
|
};
|
|
351
351
|
}
|
|
352
352
|
H(() => D.value = !0);
|
|
353
|
-
}), de(() => D.value = !1), (a,
|
|
353
|
+
}), de(() => D.value = !1), (a, l) => (c(), A(g(ge), {
|
|
354
354
|
active: D.value,
|
|
355
|
-
"onUpdate:active":
|
|
355
|
+
"onUpdate:active": l[3] || (l[3] = (t) => D.value = t),
|
|
356
356
|
"initial-focus": () => h.value ?? !1
|
|
357
357
|
}, {
|
|
358
358
|
default: Z(() => [
|
|
@@ -362,7 +362,7 @@ const N = /* @__PURE__ */ z(Re, [["render", Ne], ["__scopeId", "data-v-83231815"
|
|
|
362
362
|
id: "selectedFormatType",
|
|
363
363
|
ref: "typeSwitchRef",
|
|
364
364
|
modelValue: m.value,
|
|
365
|
-
"onUpdate:modelValue":
|
|
365
|
+
"onUpdate:modelValue": l[0] || (l[0] = (t) => m.value = t),
|
|
366
366
|
compact: "",
|
|
367
367
|
"possible-values": V.value,
|
|
368
368
|
class: "filter-switch"
|
|
@@ -371,7 +371,7 @@ const N = /* @__PURE__ */ z(Re, [["render", Ne], ["__scopeId", "data-v-83231815"
|
|
|
371
371
|
id: "selectedFormatStandard",
|
|
372
372
|
ref: "standardSwitchRef",
|
|
373
373
|
modelValue: i.value,
|
|
374
|
-
"onUpdate:modelValue":
|
|
374
|
+
"onUpdate:modelValue": l[1] || (l[1] = (t) => i.value = t),
|
|
375
375
|
compact: "",
|
|
376
376
|
"possible-values": E.value,
|
|
377
377
|
class: "filter-switch"
|
|
@@ -384,26 +384,26 @@ const N = /* @__PURE__ */ z(Re, [["render", Ne], ["__scopeId", "data-v-83231815"
|
|
|
384
384
|
class: "formats-container",
|
|
385
385
|
tabindex: "0",
|
|
386
386
|
role: "menu",
|
|
387
|
-
onKeydown:
|
|
388
|
-
(...
|
|
387
|
+
onKeydown: l[2] || (l[2] = //@ts-ignore
|
|
388
|
+
(...t) => g(O) && g(O)(...t))
|
|
389
389
|
}, [
|
|
390
390
|
r.value === null ? (c(), f("div", Ue, [
|
|
391
391
|
k(ke, { class: "loading-spinner" })
|
|
392
|
-
])) : r.value.length === 0 ? (c(), f("div", $e, " No formats available ")) : (c(!0), f(R, { key: 2 }, K(r.value, (
|
|
392
|
+
])) : r.value.length === 0 ? (c(), f("div", $e, " No formats available ")) : (c(!0), f(R, { key: 2 }, K(r.value, (t, p) => {
|
|
393
393
|
var y;
|
|
394
394
|
return c(), f("div", {
|
|
395
|
-
key: x(
|
|
395
|
+
key: x(t),
|
|
396
396
|
ref_for: !0,
|
|
397
|
-
ref: q(
|
|
398
|
-
class:
|
|
397
|
+
ref: q(t),
|
|
398
|
+
class: z([{
|
|
399
399
|
highlighted: p === g(P),
|
|
400
|
-
applied: p === ((y = n.value) == null ? void 0 : y.index) &&
|
|
400
|
+
applied: p === ((y = n.value) == null ? void 0 : y.index) && t.category === n.value.category && t.temporalType === n.value.temporalType
|
|
401
401
|
}, "single-format"]),
|
|
402
402
|
role: "menuitem",
|
|
403
|
-
onClick: () => s("commit", _(
|
|
403
|
+
onClick: () => s("commit", _(t))
|
|
404
404
|
}, [
|
|
405
|
-
v("span", Le, B(
|
|
406
|
-
v("span", Ze, B(
|
|
405
|
+
v("span", Le, B(t.format), 1),
|
|
406
|
+
v("span", Ze, B(t.example), 1)
|
|
407
407
|
], 10, He);
|
|
408
408
|
}), 128))
|
|
409
409
|
], 544)
|
|
@@ -413,7 +413,7 @@ const N = /* @__PURE__ */ z(Re, [["render", Ne], ["__scopeId", "data-v-83231815"
|
|
|
413
413
|
_: 1
|
|
414
414
|
}, 8, ["active", "initial-focus"]));
|
|
415
415
|
}
|
|
416
|
-
}), Ke = /* @__PURE__ */
|
|
416
|
+
}), Ke = /* @__PURE__ */ I(je, [["__scopeId", "data-v-8bb40d8b"]]), qe = { class: "input-fields" }, Ge = ["disabled"], Je = {
|
|
417
417
|
key: 0,
|
|
418
418
|
class: "invalid-marker"
|
|
419
419
|
}, We = ["disabled"], Qe = {}, Xe = /* @__PURE__ */ M({
|
|
@@ -442,7 +442,7 @@ const N = /* @__PURE__ */ z(Re, [["render", Ne], ["__scopeId", "data-v-83231815"
|
|
|
442
442
|
}),
|
|
443
443
|
emits: ["update:modelValue"],
|
|
444
444
|
setup(e) {
|
|
445
|
-
const o = e, s =
|
|
445
|
+
const o = e, s = le(e, "modelValue"), d = T({
|
|
446
446
|
get: () => s.value.format,
|
|
447
447
|
set: (h) => {
|
|
448
448
|
s.value = {
|
|
@@ -477,10 +477,10 @@ const N = /* @__PURE__ */ z(Re, [["render", Ne], ["__scopeId", "data-v-83231815"
|
|
|
477
477
|
);
|
|
478
478
|
return (h, b) => (c(), f("div", null, [
|
|
479
479
|
v("div", {
|
|
480
|
-
class:
|
|
480
|
+
class: z(["wrapper", { disabled: e.disabled, compact: e.compact }])
|
|
481
481
|
}, [
|
|
482
482
|
v("span", qe, [
|
|
483
|
-
|
|
483
|
+
te(v("input", {
|
|
484
484
|
"onUpdate:modelValue": b[0] || (b[0] = (x) => d.value = x),
|
|
485
485
|
type: "text",
|
|
486
486
|
disabled: e.disabled,
|
|
@@ -494,11 +494,11 @@ const N = /* @__PURE__ */ z(Re, [["render", Ne], ["__scopeId", "data-v-83231815"
|
|
|
494
494
|
v("button", {
|
|
495
495
|
ref_key: "togglePopoverButtonRef",
|
|
496
496
|
ref: n,
|
|
497
|
-
class:
|
|
497
|
+
class: z(["trigger-popover-button", { active: i.value }]),
|
|
498
498
|
disabled: e.disabled,
|
|
499
499
|
onClick: b[2] || (b[2] = (x) => i.value = !i.value)
|
|
500
500
|
}, [
|
|
501
|
-
k(g(
|
|
501
|
+
k(g(ze))
|
|
502
502
|
], 10, We)
|
|
503
503
|
])
|
|
504
504
|
], 2),
|
|
@@ -520,7 +520,7 @@ const N = /* @__PURE__ */ z(Re, [["render", Ne], ["__scopeId", "data-v-83231815"
|
|
|
520
520
|
], 4)) : F("", !0)
|
|
521
521
|
]));
|
|
522
522
|
}
|
|
523
|
-
}), Ye = /* @__PURE__ */
|
|
523
|
+
}), Ye = /* @__PURE__ */ I(Xe, [["__scopeId", "data-v-1577d5ce"]]), ea = ["id"], aa = /* @__PURE__ */ M({
|
|
524
524
|
__name: "DateTimeFormatPickerWithTypeControl",
|
|
525
525
|
props: {
|
|
526
526
|
control: {},
|
|
@@ -592,7 +592,7 @@ const N = /* @__PURE__ */ z(Re, [["render", Ne], ["__scopeId", "data-v-83231815"
|
|
|
592
592
|
}, null, 8, ["modelValue", "disabled", "allowed-formats", "all-default-formats"])
|
|
593
593
|
], 8, ea));
|
|
594
594
|
}
|
|
595
|
-
}), na = /* @__PURE__ */
|
|
595
|
+
}), na = /* @__PURE__ */ I(aa, [["__scopeId", "data-v-f6f7c887"]]);
|
|
596
596
|
export {
|
|
597
597
|
na as default
|
|
598
598
|
};
|