@knime/scripting-editor 0.0.132 → 0.0.133
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-DEv6xgTn-BV0O3had.js → AnyOfTwinlist-CKNl_Xwk-DpdmD6Y_.js} +1 -1
- package/dist/{ArrayLayout-xpUEX4UY.js → ArrayLayout-XksJXnhS.js} +51 -51
- package/dist/{ButtonControl-BFG84O1r.js → ButtonControl-CGN4of4k.js} +5 -5
- package/dist/{CheckboxControl-Yqf7_a5P--lSSti7m.js → CheckboxControl-Doj5Pl3W-Dk3mHCwf.js} +1 -1
- package/dist/{CheckboxesControl-Cx7qUDbd-ByGOCDtp.js → CheckboxesControl-of1RkErM-Depvhzov.js} +2 -2
- package/dist/{CodeEditorControl-DAfgzg-h.js → CodeEditorControl-Cw_Gj8Kn.js} +28 -28
- package/dist/{ColorControl-BjIoBGby-B54hb0gK.js → ColorControl-CYp6665w-Cz3T7gFq.js} +1 -1
- package/dist/{ColorPreviewControl-Cmpb3_o4--muSe_be.js → ColorPreviewControl-DASvbRv2-BcvEXrhU.js} +24 -24
- package/dist/{ComboBoxControl-DJsbSwD6-xuE8rZyf.js → ComboBoxControl-CDsmu2re-DX4k5SqO.js} +7 -7
- package/dist/{ConfigurationNodeNotSupported-Bkfoi87W.js → ConfigurationNodeNotSupported-DyQhBiW9.js} +3 -3
- package/dist/{ControlWithSubParameters-B9TiQfTU.js → ControlWithSubParameters-zcN9X0gF.js} +18 -14
- package/dist/{CredentialsControl-CqulYPUL.js → CredentialsControl-B0awnzBc.js} +2 -2
- package/dist/{CredentialsControlBase-x4zTZK8u.js → CredentialsControlBase-CMeDxKBK.js} +14 -14
- package/dist/{DateControl-CcuCk97j-CdiO3xtM.js → DateControl-CQqgNnLT-BwpIpPwC.js} +5 -5
- package/dist/DateTimeControl-CREQEjeO-DvTO-X97.js +112 -0
- package/dist/{DateTimeFormatPickerControl-CpaOPUR6-J_PpzzAB.js → DateTimeFormatPickerControl-C8vEg2z6-COYnZjFW.js} +1 -1
- package/dist/DialogFileExplorer-zbo5DDXP.js +433 -0
- package/dist/{DirtyTrackerRenderer-6k1ego1B.js → DirtyTrackerRenderer-DC192nyo.js} +1 -1
- package/dist/{DropdownControl-CpSZxjr1-C804I9fG.js → DropdownControl-CtwmuEsb-Cyfs0JQW.js} +2 -2
- package/dist/DynamicInputControl-DXw5qoOq.js +6 -0
- package/dist/{ExecutorCoresControl-DoG2-XCx-BC0pTSv1.js → ExecutorCoresControl-CoEYfg6t-Cc6LPHHw.js} +1 -1
- package/dist/{ExecutorMemoryControl-DqYRmLt2-DgmK5cxY.js → ExecutorMemoryControl-BljLEdwM-CJXpm-_6.js} +1 -1
- package/dist/{FileChooserControl-Cv9Nvwrw.js → FileChooserControl-B0tWVocx.js} +2 -2
- package/dist/{FileChooserControlBase-C4WoqeuQ.js → FileChooserControlBase-xHnkds47.js} +91 -91
- package/dist/{FileChooserControlForMultiFile-DJydfSjI.js → FileChooserControlForMultiFile-C_v0Qlrw.js} +1 -1
- package/dist/{FileUploadControl-IAwE26IH-LLTdmWyW.js → FileUploadControl-BN1ZcIOy-81dPQCFP.js} +138 -138
- package/dist/{GridSelectionControl-DUVIpMsY-CuyLvikR.js → GridSelectionControl-llAAbmgk-CX0TsQ0E.js} +32 -32
- package/dist/{HorizontalLayout-92oHZT6R--JjwD9hI.js → HorizontalLayout-jN2ocYG5-CrErZyTw.js} +5 -5
- package/dist/{IntegerControl-B2TyUPGu-BLpffmEs.js → IntegerControl-CaIxt1i8-DEsNKUHq.js} +1 -1
- package/dist/{IntervalControl-BbIwNXK3-DcVnnDMh.js → IntervalControl-t714rU_V-MGYedhl3.js} +3 -3
- package/dist/{LabeledGroup-oOuEM_pN.js → LabeledGroup-LQTFxJnW.js} +6 -6
- package/dist/{LegacyCredentialsControl-DAZOUpou.js → LegacyCredentialsControl-B7HDTB-Y.js} +24 -20
- package/dist/{LinkControl-Cmk_qiO_-CF2rBAA7.js → LinkControl-DHge9xPr-DJ2ZdJgk.js} +1 -1
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-C0YzJo8M-DJVLdb5q.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-Cj3ak4Kd-CGPIwlnR.js} +1 -1
- package/dist/{ManualTwinlistControl-DTl3XPje-CnoltRZh.js → ManualTwinlistControl-DDabLDpL-CBO85_R7.js} +13 -13
- package/dist/{MultiFileChooserControl-1YghP5YI.js → MultiFileChooserControl-Bir5CRJ9.js} +15 -15
- package/dist/{MultiRuleWrapper-BnwWI1WL.js → MultiRuleWrapper-DwJa92_U.js} +1 -1
- package/dist/{MultiSelectListBoxControl-DIV0UiGV-CN3b9J9V.js → MultiSelectListBoxControl-DdWI84_Z-S4a3Gqjz.js} +32 -32
- package/dist/{MultimodeTwinlistControl-F1L7mwSB-GnzFL4Xl.js → MultimodeTwinlistControl-Da66Qd_9-Bbml7WCJ.js} +27 -27
- package/dist/{NameFilter-Crwz1wiJ-CU1s2b7c.js → NameFilter-CGftAGoS-eES5XN_m.js} +1 -1
- package/dist/{NumberControl-CTycpm1q-SsW1E9e6.js → NumberControl-D6IUlr0F-BY4ied5y.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-CRNO3Yp4-DIZHQaJH.js → NumberControlBase.vue_vue_type_script_setup_true_lang-E8FQgjrx-D0v57kFS.js} +3 -3
- package/dist/{OneOfDropdown-B7KrUOWD-DAFKZmqZ.js → OneOfDropdown-C67MhziA-CpMIH2JQ.js} +5 -5
- package/dist/ProgressButtonControl-CxH6Cipu-C6HhyVpC.js +54 -0
- package/dist/{RadioButtonsWithDescriptionControl-UmWLsOmL-BjelKrcC.js → RadioButtonsWithDescriptionControl-CbJxLwdI-BoB6XMXH.js} +7 -7
- package/dist/{RadioControl-BAoCJNMH-VuiN6M_V.js → RadioControl-DcUIHhJC-BwptwkBW.js} +1 -1
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-DKx6ts7n-BNr3sbHh.js → RadioControlBase.vue_vue_type_script_setup_true_lang-CWUPk9t_-DNZ6dVPk.js} +7 -7
- package/dist/{ResourceControlBase-97R2-qQ7-BBi11JJj.js → ResourceControlBase-BQY6errk-u3DjtQtM.js} +18 -18
- package/dist/RichTextControl-Mcxf362n-DdOUSE6M.js +19683 -0
- package/dist/{SectionLayout-DS6gpiV1-BN6brreP.js → SectionLayout-DyslAsrB-CUKYruK6.js} +13 -13
- package/dist/{SettingsSubPanelLayout-CJeD408x-yH9r1jii.js → SettingsSubPanelLayout-Cay8i6NA-DbMFWTQS.js} +7 -7
- package/dist/{SimpleTwinlistControl-L1tY6QlY-Dvmt0hp3.js → SimpleTwinlistControl-D4BFF9jE-CLzhAZh8.js} +2 -2
- package/dist/{SingleSelectControl-Ce9RLMjD-CTQ6TVF0.js → SingleSelectControl-D-yUZtl2-BUEaZUuq.js} +2 -2
- package/dist/{SingleSelectListBoxControl-Dv-XXwO4-BrMTb8AD.js → SingleSelectListBoxControl-BpC-WEID-Fkrf5Nzh.js} +11 -11
- package/dist/{SortListControl-BlsAnJjH-tbIOGxZ_.js → SortListControl-7mmEkodd-CNOnx3jy.js} +17 -17
- package/dist/{StringFileChooserControl-BUYM9fmT.js → StringFileChooserControl-Bx5y6IUS.js} +11 -11
- package/dist/{StyledListItem-DjdZOUWD-BMILJImI.js → StyledListItem-BmNDGGnr-Bq-z-rsZ.js} +17 -17
- package/dist/{TeamAndSpacesControl-CEdzSJPJ-45d6LeCk.js → TeamAndSpacesControl-BI4anOSY-M-p6tIeU.js} +20 -20
- package/dist/{TeamResourceControl-Cd0UTItF-Coo1MGve.js → TeamResourceControl-s9NfKZEk-YrY32KjS.js} +1 -1
- package/dist/{TextAreaControl-B-AfgqCE-BxgZnZ7G.js → TextAreaControl-DSBystkT-BSHORNXB.js} +4 -4
- package/dist/TextControl-DBIt0sjP-BIZDsHMy.js +59813 -0
- package/dist/{TimeControl-DOs9b4bm-B7dozTCB.js → TimeControl-COlrx8kC-BcVH6ODv.js} +5 -5
- package/dist/{TimeframesControl-4JGOYGkE-DfsHVFg9.js → TimeframesControl-Cg12Kpcx-C7dGpAT6.js} +13 -13
- package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-C_u035me-DAGCRygG.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-_TYZPooB-Dfpkfwo6.js} +4 -4
- package/dist/{TypedStringFilter-C6N8H2Xj-CI1wXgVk.js → TypedStringFilter-CX3YoFa7-C1x-NGyu.js} +1 -1
- package/dist/{ValueSwitchControl-BO6x8fsi-B4Fuvawe.js → ValueSwitchControl-DpxEagdS-C4QFBVRx.js} +1 -1
- package/dist/{VennDiagramLayout-HkmFaxWm.js → VennDiagramLayout-DUW0acFP.js} +39 -39
- package/dist/{VerticalLayout-AMSQYCUV-HYDBzl_2.js → VerticalLayout-X4PVwPsF-b_ZcHKaF.js} +4 -4
- package/dist/ZonedDateTimeControl-CWeuMH0t-Dt7Rxkqb.js +100 -0
- package/dist/auto-configure-BU7AIhL7-7W3z7Vjz-6q91a8j9.js +22 -0
- package/dist/copy-D43FaHi--Bqzsv-mJ-7FU3jkgQ.js +22 -0
- package/dist/duplicate-Mtq886XD-BDwFp0vh-CIu7W6h6.js +22 -0
- package/dist/feedback-CSzO39Ck-BS5Fxtel.js +22 -0
- package/dist/feedback-CSzO39Ck-CKiwRjzw.js +22 -0
- package/dist/feedback-CSzO39Ck-_5Kb5BA8-CKe-zu3t.js +22 -0
- package/dist/{copy-DAYm6-mo-CDvX8jVa-B9UCeqRZ.js → folder-move-6L5NfoIs-CCvXkj23-BYHDrg6P.js} +5 -5
- package/dist/import-table-BaqmTPnF-CZCiPNmS.js +22 -0
- package/dist/import-table-BaqmTPnF-D0en45ie.js +22 -0
- package/dist/import-table-BaqmTPnF-KBTO9jUb-Bpwci1gw.js +22 -0
- package/dist/linked-component-BOb5aj87-VJSVKxb2-DMjL90PX.js +22 -0
- package/dist/login-DGaxAy8E-D6O36glE.js +22 -0
- package/dist/login-DGaxAy8E-DplCH1d8-6sF6_FhA.js +22 -0
- package/dist/login-DGaxAy8E-_ybELmwN.js +22 -0
- package/dist/main.js +601 -596
- package/dist/parameters.js +1 -1
- package/dist/random-seed-BmLMj_2x-DINXvCyu-wqk9PzlG.js +22 -0
- package/dist/random-seed-BmLMj_2x-DKTVdNoj.js +22 -0
- package/dist/random-seed-BmLMj_2x-qRFs8Sbo.js +22 -0
- package/dist/table-Pffb9Oig-CvTPEL4F.js +22 -0
- package/dist/table-Pffb9Oig-Qm0Lnd2q-C-VWjB_D.js +22 -0
- package/dist/table-Pffb9Oig-TCq5zt91.js +22 -0
- package/dist/update-file-5lTfm97G-BGdh5udY.js +22 -0
- package/dist/update-file-5lTfm97G-BwwZevAR.js +22 -0
- package/dist/update-file-5lTfm97G-mHppEON3-CqyuH0wP.js +22 -0
- package/dist/{useFileChooserBackend-uDGm68hp.js → useFileChooserBackend-Cnk4jIty.js} +9 -9
- package/dist/{usePossibleValues-CsJuQ591-r_2wYQe_.js → usePossibleValues-BbkYA3Ri-phbvmDoC.js} +2 -2
- package/dist/validate-CD0_eO0m-8oVXNF5a-JUzgUSW_.js +22 -0
- package/dist/validate-CD0_eO0m-Dsn7xOmd.js +22 -0
- package/dist/validate-CD0_eO0m-DxUbUuun.js +22 -0
- package/package.json +3 -3
- package/dist/DateTimeControl-CuB6aWlL-CgLiloF4.js +0 -89
- package/dist/DateTimeFormatPickerWithTypeControl-BQKDIoYn-Vw11sEhI.js +0 -598
- package/dist/DialogFileExplorer-CiOfUL_M.js +0 -501
- package/dist/DynamicInputControl-Bc99HU8j.js +0 -6
- package/dist/RichTextControl-D4ItwmZa-CV9QLVR2.js +0 -19326
- package/dist/TextControl-DfrjuKwf-2f9eJp4g.js +0 -54247
- package/dist/ZonedDateTimeControl-1lHvcaQc-X46S4Ze5.js +0 -82
- package/dist/useDropdownNavigation-CdrbT-CQ-Dxb_y1Fq.js +0 -2003
- package/dist/usePlainDateTimeBatch-Bd2G-GY9-DO2Zu0Mj.js +0 -34
- /package/dist/{useUnknownValuesInTwinlist-DuLcQlCx-D2ve7iXH.js → useUnknownValuesInTwinlist-uBQ8vniL-D2ve7iXH.js} +0 -0
package/dist/{ConfigurationNodeNotSupported-Bkfoi87W.js → ConfigurationNodeNotSupported-DyQhBiW9.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as p, computed as o, createBlock as d, openBlock as c, unref as u } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
2
|
+
import { L as l, M as m, N as f } from "./TextControl-DBIt0sjP-BIZDsHMy.js";
|
|
3
|
+
const _ = /* @__PURE__ */ p({
|
|
4
4
|
__name: "ConfigurationNodeNotSupported",
|
|
5
5
|
props: l(),
|
|
6
6
|
setup(r) {
|
|
@@ -20,5 +20,5 @@ const N = /* @__PURE__ */ p({
|
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
_ as default
|
|
24
24
|
};
|
|
@@ -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 t, createBlock as l, createCommentVNode as f, unref as a, withCtx as o, createVNode as c } from "vue";
|
|
2
|
+
import { T as k, a2 as m, _ as v, v as C, a3 as P } from "./TextControl-DBIt0sjP-BIZDsHMy.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",
|
|
@@ -7,13 +7,17 @@ const _ = { class: "control-with-sub-parameters" }, $ = /* @__PURE__ */ b({
|
|
|
7
7
|
layout: {}
|
|
8
8
|
},
|
|
9
9
|
setup(d) {
|
|
10
|
-
const r = d, n = u(
|
|
10
|
+
const r = d, n = u(
|
|
11
|
+
() => r.layout.uischema.control
|
|
12
|
+
), i = u(
|
|
13
|
+
() => r.layout.uischema.elements
|
|
14
|
+
), h = k(
|
|
11
15
|
n,
|
|
12
16
|
"showSubParameters",
|
|
13
17
|
!0
|
|
14
18
|
);
|
|
15
|
-
return (e, g) => (
|
|
16
|
-
(
|
|
19
|
+
return (e, g) => (t(), y("div", _, [
|
|
20
|
+
(t(), l(a(m), {
|
|
17
21
|
key: `${e.layout.path}-control`,
|
|
18
22
|
schema: e.layout.schema,
|
|
19
23
|
uischema: n.value,
|
|
@@ -22,8 +26,8 @@ const _ = { class: "control-with-sub-parameters" }, $ = /* @__PURE__ */ b({
|
|
|
22
26
|
renderers: e.layout.renderers,
|
|
23
27
|
cells: e.layout.cells
|
|
24
28
|
}, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"])),
|
|
25
|
-
a(h) ? (
|
|
26
|
-
"expand-button": o(({ expand:
|
|
29
|
+
a(h) ? (t(), l(a(v), { key: 0 }, {
|
|
30
|
+
"expand-button": o(({ expand: s }) => [
|
|
27
31
|
c(a(P), {
|
|
28
32
|
class: "settings-button",
|
|
29
33
|
variant: "transparent",
|
|
@@ -31,19 +35,19 @@ const _ = { class: "control-with-sub-parameters" }, $ = /* @__PURE__ */ b({
|
|
|
31
35
|
"leading-icon": "settings",
|
|
32
36
|
ariaLabel: "Settings",
|
|
33
37
|
disabled: !e.layout.enabled,
|
|
34
|
-
onClick:
|
|
38
|
+
onClick: s
|
|
35
39
|
}, null, 8, ["disabled", "onClick"])
|
|
36
40
|
]),
|
|
37
41
|
default: o(() => [
|
|
38
|
-
c(a(
|
|
42
|
+
c(a(C), {
|
|
39
43
|
class: "sub-parameters",
|
|
40
44
|
elements: i.value
|
|
41
45
|
}, {
|
|
42
|
-
default: o(({ element:
|
|
43
|
-
(
|
|
46
|
+
default: o(({ element: s, index: p }) => [
|
|
47
|
+
(t(), l(a(m), {
|
|
44
48
|
key: `${e.layout.path}-${p}`,
|
|
45
49
|
schema: e.layout.schema,
|
|
46
|
-
uischema:
|
|
50
|
+
uischema: s,
|
|
47
51
|
path: e.layout.path,
|
|
48
52
|
enabled: e.layout.enabled,
|
|
49
53
|
renderers: e.layout.renderers,
|
|
@@ -57,7 +61,7 @@ const _ = { class: "control-with-sub-parameters" }, $ = /* @__PURE__ */ b({
|
|
|
57
61
|
})) : f("", !0)
|
|
58
62
|
]));
|
|
59
63
|
}
|
|
60
|
-
}),
|
|
64
|
+
}), T = /* @__PURE__ */ S($, [["__scopeId", "data-v-91fda27b"]]);
|
|
61
65
|
export {
|
|
62
|
-
|
|
66
|
+
T as default
|
|
63
67
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
2
|
+
import { P as d } from "./TextControl-DBIt0sjP-BIZDsHMy.js";
|
|
3
|
+
import { C as p } from "./CredentialsControlBase-CMeDxKBK.js";
|
|
4
4
|
const m = /* @__PURE__ */ r({
|
|
5
5
|
__name: "CredentialsControl",
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as H, computed as a, watch as
|
|
2
|
-
import {
|
|
3
|
-
import { _ as
|
|
4
|
-
const $ = ["id"], g = "*****************",
|
|
1
|
+
import { defineComponent as H, computed as a, watch as N, ref as D, createElementBlock as E, openBlock as n, createBlock as c, createCommentVNode as u, unref as l } from "vue";
|
|
2
|
+
import { T as b, a4 as I, a5 as w, a6 as i } from "./TextControl-DBIt0sjP-BIZDsHMy.js";
|
|
3
|
+
import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
const $ = ["id"], g = "*****************", j = /* @__PURE__ */ H({
|
|
5
5
|
__name: "CredentialsControlBase",
|
|
6
6
|
props: {
|
|
7
7
|
control: {},
|
|
@@ -26,9 +26,9 @@ const $ = ["id"], g = "*****************", M = /* @__PURE__ */ H({
|
|
|
26
26
|
"change",
|
|
27
27
|
i(o.value, { secondFactor: e, isHiddenSecondFactor: !1 })
|
|
28
28
|
);
|
|
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),
|
|
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), B = a(
|
|
30
30
|
() => p.value && (s.value.showSecondFactor ?? !1)
|
|
31
|
-
),
|
|
31
|
+
), U = a(
|
|
32
32
|
() => {
|
|
33
33
|
var e;
|
|
34
34
|
return ((e = s.value) == null ? void 0 : e.usernameLabel) ?? "Username";
|
|
@@ -49,20 +49,20 @@ const $ = ["id"], g = "*****************", M = /* @__PURE__ */ H({
|
|
|
49
49
|
return (e = t.flowSettings) == null ? void 0 : e.controllingFlowVariableName;
|
|
50
50
|
}
|
|
51
51
|
);
|
|
52
|
-
|
|
52
|
+
N(
|
|
53
53
|
() => L.value,
|
|
54
54
|
(e) => e || r("change", m())
|
|
55
55
|
);
|
|
56
|
-
const V =
|
|
57
|
-
return (e,
|
|
56
|
+
const V = D(null);
|
|
57
|
+
return (e, q) => (n(), E("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(I), {
|
|
64
64
|
key: 0,
|
|
65
|
-
placeholder:
|
|
65
|
+
placeholder: U.value,
|
|
66
66
|
"model-value": o.value.username,
|
|
67
67
|
disabled: e.disabled,
|
|
68
68
|
error: e.error,
|
|
@@ -78,7 +78,7 @@ const $ = ["id"], g = "*****************", M = /* @__PURE__ */ H({
|
|
|
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
|
+
B.value ? (n(), c(l(w), {
|
|
82
82
|
key: 2,
|
|
83
83
|
variant: "key",
|
|
84
84
|
placeholder: h.value,
|
|
@@ -90,7 +90,7 @@ const $ = ["id"], g = "*****************", M = /* @__PURE__ */ H({
|
|
|
90
90
|
}, null, 8, ["placeholder", "toggle-label", "model-value", "disabled", "error"])) : u("", !0)
|
|
91
91
|
], 8, $));
|
|
92
92
|
}
|
|
93
|
-
}),
|
|
93
|
+
}), J = /* @__PURE__ */ T(j, [["__scopeId", "data-v-87f85e6a"]]);
|
|
94
94
|
export {
|
|
95
|
-
|
|
95
|
+
J as C
|
|
96
96
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as l, computed as d, createBlock as u, openBlock as i, unref as p } from "vue";
|
|
2
|
+
import { n as c } from "./TextControl-DBIt0sjP-BIZDsHMy.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
|
-
const x = /* @__PURE__ */
|
|
5
|
+
const x = /* @__PURE__ */ l({
|
|
6
6
|
__name: "DateControl",
|
|
7
7
|
props: {
|
|
8
8
|
control: {},
|
|
@@ -25,7 +25,7 @@ const x = /* @__PURE__ */ n({
|
|
|
25
25
|
}
|
|
26
26
|
}, t = d(
|
|
27
27
|
() => a(r.control.data)
|
|
28
|
-
),
|
|
28
|
+
), n = (e) => {
|
|
29
29
|
r.changeValue((e == null ? void 0 : e.toString()) ?? "");
|
|
30
30
|
};
|
|
31
31
|
return (e, b) => (i(), u(p(c), {
|
|
@@ -35,7 +35,7 @@ const x = /* @__PURE__ */ n({
|
|
|
35
35
|
disabled: o.disabled,
|
|
36
36
|
error: o.error,
|
|
37
37
|
"sub-text": o.subText,
|
|
38
|
-
"onUpdate:modelValue":
|
|
38
|
+
"onUpdate:modelValue": n
|
|
39
39
|
}, null, 8, ["id", "ariaLabel", "model-value", "disabled", "error", "sub-text"]));
|
|
40
40
|
}
|
|
41
41
|
});
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { defineComponent as U, computed as r, ref as C, createBlock as p, openBlock as y, unref as x } from "vue";
|
|
2
|
+
import { Y as G, n as I } from "./TextControl-DBIt0sjP-BIZDsHMy.js";
|
|
3
|
+
import { u as l } from "./plainDateTimeUtils-CR0UhpkD-DU-LM4_V.js";
|
|
4
|
+
import { D as h } from "./classApi-CHpAZrj3-BptMrhKH.js";
|
|
5
|
+
const $ = /* @__PURE__ */ U({
|
|
6
|
+
__name: "DateTimeControl",
|
|
7
|
+
props: {
|
|
8
|
+
control: {},
|
|
9
|
+
handleChange: { type: Function },
|
|
10
|
+
changeValue: { type: Function },
|
|
11
|
+
disabled: { type: Boolean },
|
|
12
|
+
error: { type: Boolean },
|
|
13
|
+
subText: {},
|
|
14
|
+
onRegisterValidation: { type: Function },
|
|
15
|
+
labelForId: {}
|
|
16
|
+
},
|
|
17
|
+
setup(a) {
|
|
18
|
+
const t = a, o = r(() => t.control.uischema.options), V = r(() => {
|
|
19
|
+
var e;
|
|
20
|
+
return ((e = o.value) == null ? void 0 : e.showTime) ?? !0;
|
|
21
|
+
}), S = r(
|
|
22
|
+
() => l.getMaxGranularity(o.value, {
|
|
23
|
+
showMilliseconds: !1
|
|
24
|
+
})
|
|
25
|
+
), c = (e) => {
|
|
26
|
+
if (typeof e != "string" || e === "")
|
|
27
|
+
return null;
|
|
28
|
+
try {
|
|
29
|
+
return h.PlainDate.from(e);
|
|
30
|
+
} catch {
|
|
31
|
+
return l.fromString(e).date;
|
|
32
|
+
}
|
|
33
|
+
}, b = r(
|
|
34
|
+
() => {
|
|
35
|
+
var e;
|
|
36
|
+
return c((e = o.value) == null ? void 0 : e.minimum);
|
|
37
|
+
}
|
|
38
|
+
), f = r(
|
|
39
|
+
() => {
|
|
40
|
+
var e;
|
|
41
|
+
return c((e = o.value) == null ? void 0 : e.maximum);
|
|
42
|
+
}
|
|
43
|
+
), d = C(
|
|
44
|
+
l.detectGranularity(t.control.data)
|
|
45
|
+
), T = r(() => {
|
|
46
|
+
const { date: e, time: u } = l.fromString(t.control.data);
|
|
47
|
+
return e === null ? null : e.toPlainDateTime(u ?? h.PlainTime.from("00:00:00"));
|
|
48
|
+
}), D = r(
|
|
49
|
+
() => l.fromString(t.control.data).date
|
|
50
|
+
);
|
|
51
|
+
let n, i, m = !1;
|
|
52
|
+
const F = () => {
|
|
53
|
+
m = !1;
|
|
54
|
+
const e = i ?? d.value, u = n !== void 0, L = i !== void 0, s = n;
|
|
55
|
+
if (n = void 0, i = void 0, d.value = e, u) {
|
|
56
|
+
if (s === null) {
|
|
57
|
+
t.changeValue("");
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
t.changeValue(
|
|
61
|
+
l.toString(
|
|
62
|
+
s.toPlainDate(),
|
|
63
|
+
s.toPlainTime(),
|
|
64
|
+
e
|
|
65
|
+
)
|
|
66
|
+
);
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
if (L) {
|
|
70
|
+
const { date: g, time: M } = l.fromString(t.control.data);
|
|
71
|
+
g && t.changeValue(l.toString(g, M, e));
|
|
72
|
+
}
|
|
73
|
+
}, v = () => {
|
|
74
|
+
m || (m = !0, queueMicrotask(F));
|
|
75
|
+
}, k = (e) => {
|
|
76
|
+
n = e, v();
|
|
77
|
+
}, B = (e) => {
|
|
78
|
+
i = e, v();
|
|
79
|
+
}, P = (e) => {
|
|
80
|
+
t.changeValue(e === null ? "" : e.toString());
|
|
81
|
+
};
|
|
82
|
+
return (e, u) => V.value ? (y(), p(x(G), {
|
|
83
|
+
key: 0,
|
|
84
|
+
id: a.labelForId,
|
|
85
|
+
ariaLabel: a.control.label,
|
|
86
|
+
"model-value": T.value,
|
|
87
|
+
"min-date": b.value,
|
|
88
|
+
"max-date": f.value,
|
|
89
|
+
granularity: d.value,
|
|
90
|
+
"max-granularity": S.value,
|
|
91
|
+
disabled: a.disabled,
|
|
92
|
+
error: a.error,
|
|
93
|
+
"sub-text": a.subText,
|
|
94
|
+
"onUpdate:modelValue": k,
|
|
95
|
+
"onUpdate:granularity": B
|
|
96
|
+
}, null, 8, ["id", "ariaLabel", "model-value", "min-date", "max-date", "granularity", "max-granularity", "disabled", "error", "sub-text"])) : (y(), p(x(I), {
|
|
97
|
+
key: 1,
|
|
98
|
+
id: a.labelForId,
|
|
99
|
+
ariaLabel: a.control.label,
|
|
100
|
+
"model-value": D.value,
|
|
101
|
+
"min-date": b.value,
|
|
102
|
+
"max-date": f.value,
|
|
103
|
+
disabled: a.disabled,
|
|
104
|
+
error: a.error,
|
|
105
|
+
"sub-text": a.subText,
|
|
106
|
+
"onUpdate:modelValue": P
|
|
107
|
+
}, null, 8, ["id", "ariaLabel", "model-value", "min-date", "max-date", "disabled", "error", "sub-text"]));
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
export {
|
|
111
|
+
$ as default
|
|
112
|
+
};
|
|
@@ -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 { T as c, K as p } from "./TextControl-DBIt0sjP-BIZDsHMy.js";
|
|
3
3
|
const h = /* @__PURE__ */ s({
|
|
4
4
|
__name: "DateTimeFormatPickerControl",
|
|
5
5
|
props: {
|