@knime/scripting-editor 0.0.127 → 0.0.128
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-C0gjxeQW-C5wsbDLK.js → AnyOfTwinlist-SXwBBRp2-Bqhgogiq.js} +5 -4
- package/dist/{ArrayLayout-U4hs5LA_.js → ArrayLayout-Dh1QLh8H.js} +41 -41
- package/dist/{ButtonControl-B8WGWs_m.js → ButtonControl-CaaKmrFb.js} +21 -21
- package/dist/CheckboxControl-CbWn843V-BTn1nVWQ.js +40 -0
- package/dist/CheckboxesControl-BiQOMrsp-BCRpKfZV.js +42 -0
- package/dist/CodeEditorControl-BhQdOlWM.js +133 -0
- package/dist/{ColorControl-DeSwgyjS-BW1FBjqa.js → ColorControl-B_mQdOCs-Dl3vNMVD.js} +10 -8
- package/dist/{ColorPreviewControl-CntI0nTL-qVTX4e1m.js → ColorPreviewControl-BREwhSO9-uTvGtvF_.js} +21 -21
- package/dist/ComboBoxControl-BIZlnizm-7kcBjn_F.js +42 -0
- package/dist/{ConfigurationNodeNotSupported-Bg2W0ik5.js → ConfigurationNodeNotSupported-CILWy-1v.js} +1 -1
- package/dist/{ControlWithSubParameters-DgJhqCMe.js → ControlWithSubParameters-DNFQ_0Ol.js} +4 -4
- package/dist/CredentialsControl-DYI2eHZH.js +33 -0
- package/dist/CredentialsControlBase-Be_pBbr8.js +96 -0
- package/dist/DateControl-vkwY-8Qy-D35WLbKn.js +44 -0
- package/dist/DateTimeControl-CtXV6_D2-yc6SBo7d.js +89 -0
- package/dist/DateTimeFormatPickerControl-a7MPaNFN-CerJZl-s.js +37 -0
- package/dist/DateTimeFormatPickerWithTypeControl-B9Nu0dh1-B3FsqcQG.js +598 -0
- package/dist/{DialogFileExplorer-Bi0DVFut.js → DialogFileExplorer-BZuisQeJ.js} +2 -2
- package/dist/{DirtyTrackerRenderer-CDcL-lwX.js → DirtyTrackerRenderer-qBfv19cz.js} +7 -7
- package/dist/DropdownControl-BUwovb4K-DZFITmfl.js +32 -0
- package/dist/DynamicInputControl-Br_sRCEw.js +6 -0
- package/dist/ExecutorCoresControl-DN-1o1XJ-B6JZf8lR.js +51 -0
- package/dist/ExecutorMemoryControl-UzqzP4hI-DEOR9ioJ.js +44 -0
- package/dist/{FileChooserControl-BR84kEXy.js → FileChooserControl-UiGh3RA6.js} +4 -3
- package/dist/{FileChooserControlBase-1oayQJzv.js → FileChooserControlBase-C0jKG7YK.js} +148 -144
- package/dist/{FileChooserControlForMultiFile-ChQtkmps.js → FileChooserControlForMultiFile-Di4Pk53x.js} +5 -4
- package/dist/FileUploadControl-WC8TFQHe-BuGo0ZRQ.js +545 -0
- package/dist/GridSelectionControl-BgqT1t9d-BRz6UGC9.js +117 -0
- package/dist/{HorizontalLayout-DwdPdBTW-w5bjgNga.js → HorizontalLayout-CESRA3YR-DDxfF6ry.js} +7 -7
- package/dist/{IntegerControl-D8OzxbRA-D9mR5ahj.js → IntegerControl-DKXN0mcE-DGJ3KRkb.js} +5 -4
- package/dist/IntervalControl-BswGPjcV-BmiAjHOy.js +51 -0
- package/dist/{LabeledGroup-BzXUTco4.js → LabeledGroup-5xwthvS8.js} +5 -5
- package/dist/LegacyCredentialsControl-DjJGg7vr.js +88 -0
- package/dist/{LinkControl-BvBBTFCs-DojlONSA.js → LinkControl-DTqOfnTg-BA_L4RtV.js} +10 -10
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-BLSG6Lpo-CtYj2B6v.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-Cic7UEOM-RBq7a_S3.js} +5 -5
- package/dist/ManualTwinlistControl-CoZdPu6n-BF9bz65d.js +77 -0
- package/dist/MultiFileChooserControl-BFW6QI_y.js +342 -0
- package/dist/{MultiRuleWrapper-TvQw5Kaj.js → MultiRuleWrapper-B2ISI9_F.js} +1 -1
- package/dist/{MultiSelectListBoxControl-nmvLP18g-feO16jJ4.js → MultiSelectListBoxControl-CjM94miu-DiufrbYU.js} +9 -8
- package/dist/{MultimodeTwinlistControl-yCdeWH2E-DG6GXu0l.js → MultimodeTwinlistControl-NMnPBn6a-DQkdp8td.js} +68 -66
- package/dist/{NameFilter-D1TMJydD-Db00pnR3.js → NameFilter-DuVJG0SF-DAH98lDD.js} +7 -6
- package/dist/{NumberControl-uLMOLEbg-B_H33dGY.js → NumberControl-NMJmxuze-Bih_-Og_.js} +8 -7
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-bph2Cze8-BGSxRVVz.js +54 -0
- package/dist/OneOfDropdown-CwJemyYo-Do-MOPV7.js +36 -0
- package/dist/{RadioButtonsWithDescriptionControl-5M_6G7Qk-BHHWv0Y0.js → RadioButtonsWithDescriptionControl-BK3UCreL-qWSS1DwX.js} +17 -17
- package/dist/RadioControl-ts1-JozG-Bt4Ssbnx.js +21 -0
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-jxw_5dVt-B1RfPe72.js +64 -0
- package/dist/ResourceControlBase-FDiyHyQi-n4PYam8s.js +113 -0
- package/dist/{RichTextControl-D9QD2_uO-OY669heQ.js → RichTextControl-DH6GqUeF-DhVLA7bv.js} +7748 -6742
- package/dist/{SectionLayout-DY27pAtG-BIZg0kiA.js → SectionLayout-Cb3_L9Te-Ch2TL8Ns.js} +5 -5
- package/dist/{SettingsSubPanelLayout-82gMWhpv-DwWBU76p.js → SettingsSubPanelLayout-DruWJjQA-BPDZqGKD.js} +22 -22
- package/dist/{SimpleTwinlistControl-P4KEYOq0-97VRLEr4.js → SimpleTwinlistControl-CnBe4qsI-QQXdW90w.js} +7 -6
- package/dist/SingleSelectControl-C4Qzk2Ki-B4KRT-4U.js +58 -0
- package/dist/{SingleSelectListBoxControl-oMWH0vEE-Ewf1HUGa.js → SingleSelectListBoxControl-sLe2Y67h-aYZGPc-_.js} +14 -13
- package/dist/SortListControl-ChpYm3CZ-BHWX9fRm.js +112 -0
- package/dist/{StringFileChooserControl-BVH5iHNM.js → StringFileChooserControl-BGMU3nOp.js} +33 -30
- package/dist/{StyledListItem-D3LSfgGV-B9rTS8WT.js → StyledListItem-BJEJoIzr-5JeRrk8P.js} +1 -1
- package/dist/{TeamAndSpacesControl-CH5ImByy-aTqgKpBn.js → TeamAndSpacesControl-7ZXPUwBb-DdkrLxnT.js} +21 -20
- package/dist/TeamResourceControl-BZDXMRLZ-Moa_pv2o.js +44 -0
- package/dist/{TextAreaControl-CrsZSU_f-CNj59YPm.js → TextAreaControl-BDGtgWys-B5coKRJL.js} +11 -9
- package/dist/TextControl-8jfyOJKb-BkT4AwNP.js +50876 -0
- package/dist/TimeControl-Dvt5U7xN-CTkb_kae.js +71 -0
- package/dist/TimeframesControl-DcUxC3kX-1e3a-BRE.js +352 -0
- package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-B5lCsIOD-KqyVUaZj.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-Buo-KA0N-tQDZulBA.js} +16 -13
- package/dist/{TypedStringFilter-ry7fTUTx-CCJRabai.js → TypedStringFilter-Cx8OCQcE-Cx82QY6q.js} +7 -6
- package/dist/{ValueSwitchControl-aVx7pUi9-7kuEbp3H.js → ValueSwitchControl-1ax1yKbk-Dssrj-K0.js} +7 -6
- package/dist/{VennDiagramLayout-D8s5yYbT.js → VennDiagramLayout-TqRKYgWl.js} +42 -42
- package/dist/{VerticalLayout-Bv-LJOZ0-BTrnMnQu.js → VerticalLayout-DnyoqTeh-COL0gWjl.js} +6 -6
- package/dist/ZonedDateTimeControl-mIIRwaHz-BSWCo5dl.js +82 -0
- package/dist/{ai-bar-DLr5A9ZW.js → ai-bar-DDtzX23v.js} +775 -732
- package/dist/classApi-CHpAZrj3-BptMrhKH.js +3328 -0
- package/dist/collection-BBXRVj4b-DhO8c3tP.js +22 -0
- package/dist/collection-BBXRVj4b-grENCIdl.js +22 -0
- package/dist/main.js +9985 -13280
- package/dist/parameters.js +1 -1
- package/dist/plainDateTimeUtils-CR0UhpkD-DU-LM4_V.js +52 -0
- package/dist/src/scripting-service.d.ts +1 -1
- package/dist/useDropdownNavigation-CdrbT-CQ-Dxb_y1Fq.js +2003 -0
- package/dist/{useFileChooserBackend-Bs7hx7xH.js → useFileChooserBackend-DeqNZEZE.js} +6 -6
- package/dist/usePlainDateTimeBatch-Bd2G-GY9-DO2Zu0Mj.js +34 -0
- package/dist/{usePossibleValues-B-W6u-1T-DcglK6MY.js → usePossibleValues-CtPV4Cjp-B6UlAJ8A.js} +3 -3
- package/package.json +3 -3
- package/dist/CheckboxControl-CS6iXHnF-DLCN_obF.js +0 -38
- package/dist/CheckboxesControl-CPKIkyWt-BgPFZcJW.js +0 -40
- package/dist/CodeEditorControl-DM7k0B2q.js +0 -103
- package/dist/ComboBoxControl-DBYnBkC4-1oOLCCms.js +0 -40
- package/dist/CredentialsControl-CuHgBJQY.js +0 -32
- package/dist/CredentialsControlBase-14mA9Xg5.js +0 -96
- package/dist/DateControl-Cx_CwvNB-Cnu4FwAv.js +0 -35
- package/dist/DateTimeControl-BJsDzufC-BLhNM1JR.js +0 -56
- package/dist/DateTimeFormatPickerControl-C80v1qfK-0bjg1c9X.js +0 -35
- package/dist/DateTimeFormatPickerWithTypeControl-Dt-FKtYV-x-IJKc_b.js +0 -475
- package/dist/DropdownControl-D_BnA4-1-BWnnlfiI.js +0 -30
- package/dist/DynamicInputControl-u5VOv3zx.js +0 -6
- package/dist/ExecutorCoresControl-BnglyGMR-CagN3N5j.js +0 -56
- package/dist/ExecutorMemoryControl-CRATGs9C-Dsj7vG41.js +0 -50
- package/dist/FileUploadControl-D42rjpJg-DIoT6HeI.js +0 -221
- package/dist/GridSelectionControl-BJk8-yiM-CvDVlby0.js +0 -116
- package/dist/IntervalControl-Drljrv-b-WpTsaCtp.js +0 -751
- package/dist/LegacyCredentialsControl-C5OmuHPe.js +0 -87
- package/dist/ManualTwinlistControl-By0Hur_m-zZbz98JO.js +0 -75
- package/dist/MultiFileChooserControl-BDBYwcSY.js +0 -401
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-VVQDBYw7-FEqHVnFo.js +0 -52
- package/dist/OneOfDropdown-CDwwxb3h-DAK0CMDe.js +0 -34
- package/dist/RadioControl-C73s-icb-DSF6WESw.js +0 -24
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-BScekfhl-oNoT_40f.js +0 -60
- package/dist/ResourceControlBase-Bqq1PAX_-5gNwtS9Y.js +0 -183
- package/dist/SingleSelectControl-C_ZKkV5m-nfkmmDbp.js +0 -56
- package/dist/SortListControl-4v3T2j_9-BkTlN-H5.js +0 -110
- package/dist/TeamResourceControl-BFMuyWnk-DvcyxCqW.js +0 -47
- package/dist/TextControl-B0ag-3Pv-nwKlVRtp.js +0 -54671
- package/dist/TimeControl-Bt5OcjBc-KiaYQH-m.js +0 -41
- package/dist/TimePartInput-CvwAzDuY-CuNpUUqj.js +0 -253
- package/dist/TimeframesControl-BE3LFgyl-hQJ_5QVJ.js +0 -94
- package/dist/Tooltip-UlemzxdS-Dfhzj7no.js +0 -24
- package/dist/ValueSwitch-BXaDBm2C-Ba93O_aZ.js +0 -130
- package/dist/ZonedDateTimeControl-6MUvXzd3-B1B9FPa7.js +0 -72
- package/dist/_Uint8Array-C_ozLuQF-DBc0hZkr.js +0 -349
- package/dist/arrow-dropdown-DMFBPPcK-uCJYJfqE.js +0 -17
- package/dist/floating-ui.vue-Fx4CxKut-DAsMxBCU.js +0 -1057
- package/dist/isArray-WzO_os3q-ClnPWjBY.js +0 -4
- package/dist/localTimeUtils-DBMwKtLh-CTshgG3l.js +0 -12470
- package/dist/src/lsp/completion.d.ts +0 -7
- package/dist/src/lsp/connection.d.ts +0 -56
- package/dist/src/lsp/diagnostics.d.ts +0 -4
- package/dist/src/lsp/doc-sync.d.ts +0 -5
- package/dist/src/lsp/hover.d.ts +0 -5
- package/dist/src/lsp/knime-io.d.ts +0 -22
- package/dist/src/lsp/mapping-utils.d.ts +0 -8
- package/dist/src/lsp/signature-help.d.ts +0 -5
- package/dist/toString-C-CNeuJl-jseUiiTM.js +0 -949
- package/dist/useDropdownNavigation-2Yhk7zes-75raAHpT.js +0 -821
- /package/dist/{useUnknownValuesInTwinlist-BbwGcno5-D2ve7iXH.js → useUnknownValuesInTwinlist-BCbqJg7j-D2ve7iXH.js} +0 -0
package/dist/{ColorPreviewControl-CntI0nTL-qVTX4e1m.js → ColorPreviewControl-BREwhSO9-uTvGtvF_.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as u, computed as n, createElementBlock as a, openBlock as e, createBlock as d, unref as p, normalizeStyle as
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as u, computed as n, createElementBlock as a, openBlock as e, createBlock as d, unref as p, normalizeStyle as v, Fragment as k, renderList as h, createVNode as w } from "vue";
|
|
2
|
+
import { a as b, E as g, D as f } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
|
|
3
|
+
const C = { class: "empty-state-wrapper" }, B = /* @__PURE__ */ u({
|
|
4
4
|
__name: "ColorPreviewEmptyState",
|
|
5
5
|
setup(l) {
|
|
6
|
-
return (t, s) => (e(), a("div",
|
|
7
|
-
w(p(
|
|
6
|
+
return (t, s) => (e(), a("div", C, [
|
|
7
|
+
w(p(f), { headline: "No colors" })
|
|
8
8
|
]));
|
|
9
9
|
}
|
|
10
|
-
}), y = /* @__PURE__ */
|
|
10
|
+
}), y = /* @__PURE__ */ g(B, [["__scopeId", "data-v-7a09310d"]]), F = { class: "gradient-preview" }, P = /* @__PURE__ */ u({
|
|
11
11
|
__name: "GradientPreview",
|
|
12
12
|
props: {
|
|
13
13
|
gradient: {}
|
|
@@ -23,31 +23,31 @@ const f = { class: "empty-state-wrapper" }, B = /* @__PURE__ */ u({
|
|
|
23
23
|
s.value ? (e(), a("div", {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "gradient-bar",
|
|
26
|
-
style:
|
|
26
|
+
style: v({ background: i.value })
|
|
27
27
|
}, null, 4)) : (e(), d(y, { key: 1 }))
|
|
28
28
|
]));
|
|
29
29
|
}
|
|
30
|
-
}),
|
|
30
|
+
}), x = /* @__PURE__ */ g(P, [["__scopeId", "data-v-8a745225"]]), E = { class: "palette-preview" }, I = 8, $ = /* @__PURE__ */ u({
|
|
31
31
|
__name: "PalettePreview",
|
|
32
32
|
props: {
|
|
33
33
|
palette: {}
|
|
34
34
|
},
|
|
35
35
|
setup(l) {
|
|
36
36
|
const t = l, s = n(() => t.palette.colors.length > 0), r = n(
|
|
37
|
-
() => Math.max(1, Math.min(
|
|
37
|
+
() => Math.max(1, Math.min(I, t.palette.colors.length))
|
|
38
38
|
), i = n(() => ({
|
|
39
39
|
gridTemplateColumns: `repeat(${r.value}, minmax(0, 1fr))`
|
|
40
40
|
}));
|
|
41
|
-
return (o, c) => (e(), a("div",
|
|
41
|
+
return (o, c) => (e(), a("div", E, [
|
|
42
42
|
s.value ? (e(), a("div", {
|
|
43
43
|
key: 0,
|
|
44
44
|
class: "palette-grid",
|
|
45
|
-
style:
|
|
45
|
+
style: v(i.value)
|
|
46
46
|
}, [
|
|
47
|
-
(e(!0), a(
|
|
48
|
-
key:
|
|
47
|
+
(e(!0), a(k, null, h(l.palette.colors, (m, _) => (e(), a("div", {
|
|
48
|
+
key: _,
|
|
49
49
|
class: "color-cell",
|
|
50
|
-
style:
|
|
50
|
+
style: v({ background: m })
|
|
51
51
|
}, null, 4))), 128))
|
|
52
52
|
], 4)) : (e(), d(y, {
|
|
53
53
|
key: 1,
|
|
@@ -55,7 +55,7 @@ const f = { class: "empty-state-wrapper" }, B = /* @__PURE__ */ u({
|
|
|
55
55
|
}))
|
|
56
56
|
]));
|
|
57
57
|
}
|
|
58
|
-
}),
|
|
58
|
+
}), V = /* @__PURE__ */ g($, [["__scopeId", "data-v-ad83046f"]]), D = { class: "color-preview" }, j = /* @__PURE__ */ u({
|
|
59
59
|
__name: "ColorPreviewControl",
|
|
60
60
|
props: {
|
|
61
61
|
control: {},
|
|
@@ -63,21 +63,21 @@ const f = { class: "empty-state-wrapper" }, B = /* @__PURE__ */ u({
|
|
|
63
63
|
changeValue: { type: Function },
|
|
64
64
|
disabled: { type: Boolean },
|
|
65
65
|
labelForId: {},
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
error: { type: Boolean },
|
|
67
|
+
subText: {},
|
|
68
68
|
onRegisterValidation: { type: Function }
|
|
69
69
|
},
|
|
70
70
|
setup(l) {
|
|
71
71
|
const t = l, s = n(
|
|
72
72
|
() => t.control.uischema
|
|
73
|
-
), r =
|
|
73
|
+
), r = b(s, "previewColors", {
|
|
74
74
|
colors: []
|
|
75
75
|
}), i = (o) => !("stops" in o);
|
|
76
|
-
return (o, c) => (e(), a("div",
|
|
77
|
-
i(p(r)) ? (e(), d(
|
|
76
|
+
return (o, c) => (e(), a("div", D, [
|
|
77
|
+
i(p(r)) ? (e(), d(V, {
|
|
78
78
|
key: 0,
|
|
79
79
|
palette: p(r)
|
|
80
|
-
}, null, 8, ["palette"])) : (e(), d(
|
|
80
|
+
}, null, 8, ["palette"])) : (e(), d(x, {
|
|
81
81
|
key: 1,
|
|
82
82
|
gradient: p(r)
|
|
83
83
|
}, null, 8, ["gradient"]))
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { defineComponent as p, toRef as b, computed as n, createBlock as c, openBlock as m, unref as i } from "vue";
|
|
2
|
+
import { b as v } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
|
|
3
|
+
import { t as V } from "./usePossibleValues-CtPV4Cjp-B6UlAJ8A.js";
|
|
4
|
+
const g = /* @__PURE__ */ p({
|
|
5
|
+
__name: "ComboBoxControl",
|
|
6
|
+
props: {
|
|
7
|
+
control: {},
|
|
8
|
+
handleChange: { type: Function },
|
|
9
|
+
changeValue: { type: Function },
|
|
10
|
+
disabled: { type: Boolean },
|
|
11
|
+
error: { type: Boolean },
|
|
12
|
+
subText: {},
|
|
13
|
+
onRegisterValidation: { type: Function },
|
|
14
|
+
labelForId: {}
|
|
15
|
+
},
|
|
16
|
+
setup(e) {
|
|
17
|
+
const o = e, { possibleValues: l } = V(b(o, "control")), r = n(
|
|
18
|
+
() => l.value === null || l.value.length === 0
|
|
19
|
+
), s = n(
|
|
20
|
+
() => {
|
|
21
|
+
var a, t;
|
|
22
|
+
return ((a = o.control.uischema.providedOptions) == null ? void 0 : a.includes("possibleValues")) || ((t = o.control.uischema.options) == null ? void 0 : t.possibleValues) !== void 0;
|
|
23
|
+
}
|
|
24
|
+
), d = n(
|
|
25
|
+
() => o.disabled || r.value && s.value
|
|
26
|
+
);
|
|
27
|
+
return (a, t) => (m(), c(i(v), {
|
|
28
|
+
id: e.labelForId,
|
|
29
|
+
"model-value": e.control.data,
|
|
30
|
+
"allow-new-values": !s.value,
|
|
31
|
+
ariaLabel: e.control.label,
|
|
32
|
+
disabled: d.value,
|
|
33
|
+
"possible-values": r.value ? e.control.data.map((u) => ({ id: u, text: u })) : i(l),
|
|
34
|
+
error: e.error,
|
|
35
|
+
"sub-text": e.subText,
|
|
36
|
+
"onUpdate:modelValue": e.changeValue
|
|
37
|
+
}, null, 8, ["id", "model-value", "allow-new-values", "ariaLabel", "disabled", "possible-values", "error", "sub-text", "onUpdate:modelValue"]));
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
export {
|
|
41
|
+
g as default
|
|
42
|
+
};
|
package/dist/{ConfigurationNodeNotSupported-Bg2W0ik5.js → ConfigurationNodeNotSupported-CILWy-1v.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, computed as o, createBlock as d, openBlock as c, unref as u } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { W as l, X as m, Y as f } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
|
|
3
3
|
const N = /* @__PURE__ */ p({
|
|
4
4
|
__name: "ConfigurationNodeNotSupported",
|
|
5
5
|
props: l(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createElementBlock as i, openBlock as o, createElementVNode as b, defineComponent as
|
|
2
|
-
import {
|
|
1
|
+
import { createElementBlock as i, openBlock as o, createElementVNode as b, defineComponent as v, computed as m, createBlock as l, createCommentVNode as f, unref as t, withCtx as r, createVNode as n } from "vue";
|
|
2
|
+
import { a as k, a3 as d, _ as w, v as g } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
|
|
3
3
|
import { FunctionButton as C } from "@knime/components";
|
|
4
4
|
import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const B = {
|
|
@@ -14,7 +14,7 @@ function P(u, a) {
|
|
|
14
14
|
b("path", { d: "M7 13.5c-1.4 0-2.5 1.1-2.5 2.5s1.1 2.5 2.5 2.5 2.5-1.1 2.5-2.5-1.2-2.5-2.5-2.5zm9 5.1c-1.4 0-2.5 1.1-2.5 2.5s1.1 2.5 2.5 2.5 2.5-1.1 2.5-2.5-1.1-2.5-2.5-2.5zm9-6.8c-1.4 0-2.5 1.1-2.5 2.5s1.1 2.5 2.5 2.5 2.5-1.1 2.5-2.5-1.1-2.5-2.5-2.5zm-9 11.5v4m0-22.6v14.1m-9-.5v9M7 4.7v9m18 2.8v10.8m0-22.6V12" }, null, -1)
|
|
15
15
|
]));
|
|
16
16
|
}
|
|
17
|
-
const S = { render: P }, $ = { class: "control-with-sub-parameters" }, V = /* @__PURE__ */
|
|
17
|
+
const S = { render: P }, $ = { class: "control-with-sub-parameters" }, V = /* @__PURE__ */ v({
|
|
18
18
|
__name: "ControlWithSubParameters",
|
|
19
19
|
props: {
|
|
20
20
|
layout: {}
|
|
@@ -71,7 +71,7 @@ const S = { render: P }, $ = { class: "control-with-sub-parameters" }, V = /* @_
|
|
|
71
71
|
}, 8, ["elements"])
|
|
72
72
|
]),
|
|
73
73
|
_: 1
|
|
74
|
-
})) :
|
|
74
|
+
})) : f("", !0)
|
|
75
75
|
]));
|
|
76
76
|
}
|
|
77
77
|
}), W = /* @__PURE__ */ _(V, [["__scopeId", "data-v-1c3e309e"]]);
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { defineComponent as r, computed as a, createBlock as l, openBlock as s, unref as i } from "vue";
|
|
2
|
+
import { Z as d } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
|
|
3
|
+
import { C as p } from "./CredentialsControlBase-Be_pBbr8.js";
|
|
4
|
+
const m = /* @__PURE__ */ r({
|
|
5
|
+
__name: "CredentialsControl",
|
|
6
|
+
props: {
|
|
7
|
+
control: {},
|
|
8
|
+
handleChange: { type: Function },
|
|
9
|
+
changeValue: { type: Function },
|
|
10
|
+
disabled: { type: Boolean },
|
|
11
|
+
error: { type: Boolean },
|
|
12
|
+
subText: {},
|
|
13
|
+
onRegisterValidation: { type: Function },
|
|
14
|
+
labelForId: {}
|
|
15
|
+
},
|
|
16
|
+
setup(e) {
|
|
17
|
+
const n = e, { flowSettings: t } = d({
|
|
18
|
+
path: a(() => n.control.path)
|
|
19
|
+
});
|
|
20
|
+
return (o, c) => (s(), l(p, {
|
|
21
|
+
control: o.control,
|
|
22
|
+
data: o.control.data,
|
|
23
|
+
"flow-settings": i(t),
|
|
24
|
+
disabled: o.disabled,
|
|
25
|
+
"label-for-id": o.labelForId,
|
|
26
|
+
error: o.error,
|
|
27
|
+
onChange: o.changeValue
|
|
28
|
+
}, null, 8, ["control", "data", "flow-settings", "disabled", "label-for-id", "error", "onChange"]));
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
export {
|
|
32
|
+
m as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,96 @@
|
|
|
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 { a as b, a9 as I, aa as w, ab as i } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
|
|
3
|
+
import { _ as $ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
const M = ["id"], g = "*****************", O = /* @__PURE__ */ H({
|
|
5
|
+
__name: "CredentialsControlBase",
|
|
6
|
+
props: {
|
|
7
|
+
control: {},
|
|
8
|
+
data: {},
|
|
9
|
+
flowSettings: {},
|
|
10
|
+
disabled: { type: Boolean },
|
|
11
|
+
labelForId: {},
|
|
12
|
+
error: { type: Boolean }
|
|
13
|
+
},
|
|
14
|
+
emits: ["change"],
|
|
15
|
+
setup(f, { emit: F }) {
|
|
16
|
+
const t = f, r = F, m = () => ({
|
|
17
|
+
password: "",
|
|
18
|
+
secondFactor: "",
|
|
19
|
+
username: ""
|
|
20
|
+
}), o = a(() => t.data ?? m()), _ = (e) => {
|
|
21
|
+
r("change", i(o.value, { username: e }));
|
|
22
|
+
}, C = (e) => {
|
|
23
|
+
r("change", i(o.value, { password: e, isHiddenPassword: !1 }));
|
|
24
|
+
}, y = (e) => {
|
|
25
|
+
r(
|
|
26
|
+
"change",
|
|
27
|
+
i(o.value, { secondFactor: e, isHiddenSecondFactor: !1 })
|
|
28
|
+
);
|
|
29
|
+
}, S = 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
|
+
() => p.value && (s.value.showSecondFactor ?? !1)
|
|
31
|
+
), U = a(
|
|
32
|
+
() => {
|
|
33
|
+
var e;
|
|
34
|
+
return ((e = s.value) == null ? void 0 : e.usernameLabel) ?? "Username";
|
|
35
|
+
}
|
|
36
|
+
), v = a(
|
|
37
|
+
() => {
|
|
38
|
+
var e;
|
|
39
|
+
return ((e = s.value) == null ? void 0 : e.passwordLabel) ?? "Password";
|
|
40
|
+
}
|
|
41
|
+
), h = a(
|
|
42
|
+
() => {
|
|
43
|
+
var e;
|
|
44
|
+
return ((e = s.value) == null ? void 0 : e.secondFactorLabel) ?? "Second authentication factor";
|
|
45
|
+
}
|
|
46
|
+
), L = a(
|
|
47
|
+
() => {
|
|
48
|
+
var e;
|
|
49
|
+
return (e = t.flowSettings) == null ? void 0 : e.controllingFlowVariableName;
|
|
50
|
+
}
|
|
51
|
+
);
|
|
52
|
+
N(
|
|
53
|
+
() => L.value,
|
|
54
|
+
(e) => e || r("change", m())
|
|
55
|
+
);
|
|
56
|
+
const V = D(null);
|
|
57
|
+
return (e, j) => (n(), E("div", {
|
|
58
|
+
id: e.labelForId ?? void 0,
|
|
59
|
+
ref_key: "controlElement",
|
|
60
|
+
ref: V,
|
|
61
|
+
class: "credentials-input-wrapper"
|
|
62
|
+
}, [
|
|
63
|
+
l(P) ? (n(), c(l(I), {
|
|
64
|
+
key: 0,
|
|
65
|
+
placeholder: U.value,
|
|
66
|
+
"model-value": o.value.username,
|
|
67
|
+
disabled: e.disabled,
|
|
68
|
+
error: e.error,
|
|
69
|
+
"onUpdate:modelValue": _
|
|
70
|
+
}, null, 8, ["placeholder", "model-value", "disabled", "error"])) : u("", !0),
|
|
71
|
+
l(p) ? (n(), c(l(w), {
|
|
72
|
+
key: 1,
|
|
73
|
+
variant: "password",
|
|
74
|
+
placeholder: v.value,
|
|
75
|
+
"toggle-label": v.value,
|
|
76
|
+
"model-value": S.value,
|
|
77
|
+
disabled: e.disabled,
|
|
78
|
+
error: e.error,
|
|
79
|
+
"onUpdate:modelValue": C
|
|
80
|
+
}, null, 8, ["placeholder", "toggle-label", "model-value", "disabled", "error"])) : u("", !0),
|
|
81
|
+
B.value ? (n(), c(l(w), {
|
|
82
|
+
key: 2,
|
|
83
|
+
variant: "key",
|
|
84
|
+
placeholder: h.value,
|
|
85
|
+
"toggle-label": h.value,
|
|
86
|
+
"model-value": k.value,
|
|
87
|
+
disabled: e.disabled,
|
|
88
|
+
error: e.error,
|
|
89
|
+
"onUpdate:modelValue": y
|
|
90
|
+
}, null, 8, ["placeholder", "toggle-label", "model-value", "disabled", "error"])) : u("", !0)
|
|
91
|
+
], 8, M));
|
|
92
|
+
}
|
|
93
|
+
}), G = /* @__PURE__ */ $(O, [["__scopeId", "data-v-b27fc6f2"]]);
|
|
94
|
+
export {
|
|
95
|
+
G as C
|
|
96
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { defineComponent as l, computed as d, createBlock as u, openBlock as i, unref as p } from "vue";
|
|
2
|
+
import { y as c } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
|
|
3
|
+
import { u as m } from "./plainDateTimeUtils-CR0UhpkD-DU-LM4_V.js";
|
|
4
|
+
import { D as s } from "./classApi-CHpAZrj3-BptMrhKH.js";
|
|
5
|
+
const x = /* @__PURE__ */ l({
|
|
6
|
+
__name: "DateControl",
|
|
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(o) {
|
|
18
|
+
const r = o, a = (e) => {
|
|
19
|
+
if (!e)
|
|
20
|
+
return null;
|
|
21
|
+
try {
|
|
22
|
+
return s.PlainDate.from(e);
|
|
23
|
+
} catch {
|
|
24
|
+
return m.fromString(e).date;
|
|
25
|
+
}
|
|
26
|
+
}, t = d(
|
|
27
|
+
() => a(r.control.data)
|
|
28
|
+
), n = (e) => {
|
|
29
|
+
r.changeValue((e == null ? void 0 : e.toString()) ?? "");
|
|
30
|
+
};
|
|
31
|
+
return (e, b) => (i(), u(p(c), {
|
|
32
|
+
id: o.labelForId,
|
|
33
|
+
ariaLabel: r.control.label,
|
|
34
|
+
"model-value": t.value,
|
|
35
|
+
disabled: o.disabled,
|
|
36
|
+
error: o.error,
|
|
37
|
+
"sub-text": o.subText,
|
|
38
|
+
"onUpdate:modelValue": n
|
|
39
|
+
}, null, 8, ["id", "ariaLabel", "model-value", "disabled", "error", "sub-text"]));
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
export {
|
|
43
|
+
x as default
|
|
44
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
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 { E as F, y as k, w } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
|
|
3
|
+
import { G as L } from "./usePlainDateTimeBatch-Bd2G-GY9-DO2Zu0Mj.js";
|
|
4
|
+
import { u as i } from "./plainDateTimeUtils-CR0UhpkD-DU-LM4_V.js";
|
|
5
|
+
import { D as _ } from "./classApi-CHpAZrj3-BptMrhKH.js";
|
|
6
|
+
const E = /* @__PURE__ */ V({
|
|
7
|
+
__name: "DateTimeControl",
|
|
8
|
+
props: {
|
|
9
|
+
control: {},
|
|
10
|
+
handleChange: { type: Function },
|
|
11
|
+
changeValue: { type: Function },
|
|
12
|
+
disabled: { type: Boolean },
|
|
13
|
+
error: { type: Boolean },
|
|
14
|
+
subText: {},
|
|
15
|
+
onRegisterValidation: { type: Function },
|
|
16
|
+
labelForId: {}
|
|
17
|
+
},
|
|
18
|
+
setup(r) {
|
|
19
|
+
const t = r, o = l(() => t.control.uischema.options), n = l(() => {
|
|
20
|
+
var e;
|
|
21
|
+
return ((e = o.value) == null ? void 0 : e.showTime) ?? !0;
|
|
22
|
+
}), s = l(
|
|
23
|
+
() => i.getMaxGranularity(o.value)
|
|
24
|
+
), u = (e) => {
|
|
25
|
+
if (typeof e != "string" || e === "")
|
|
26
|
+
return null;
|
|
27
|
+
try {
|
|
28
|
+
return _.PlainDate.from(e);
|
|
29
|
+
} catch {
|
|
30
|
+
return i.fromString(e).date;
|
|
31
|
+
}
|
|
32
|
+
}, c = l(
|
|
33
|
+
() => {
|
|
34
|
+
var e;
|
|
35
|
+
return u((e = o.value) == null ? void 0 : e.minimum);
|
|
36
|
+
}
|
|
37
|
+
), p = l(
|
|
38
|
+
() => {
|
|
39
|
+
var e;
|
|
40
|
+
return u((e = o.value) == null ? void 0 : e.maximum);
|
|
41
|
+
}
|
|
42
|
+
), {
|
|
43
|
+
datePart: g,
|
|
44
|
+
timePart: y,
|
|
45
|
+
granularity: b,
|
|
46
|
+
onDateChange: v,
|
|
47
|
+
onTimeChange: f,
|
|
48
|
+
onGranularityChange: h
|
|
49
|
+
} = L({
|
|
50
|
+
getDateTime: () => t.control.data,
|
|
51
|
+
commit: (e, d, x) => {
|
|
52
|
+
if (!n.value) {
|
|
53
|
+
t.changeValue(e === null ? "" : e.toString());
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
t.changeValue(i.toString(e, d, x));
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
return (e, d) => (m(), C("div", {
|
|
60
|
+
class: D(["date-time-row", { "date-only": !n.value }])
|
|
61
|
+
}, [
|
|
62
|
+
T(a(k), {
|
|
63
|
+
id: r.labelForId,
|
|
64
|
+
ariaLabel: `${t.control.label} date`,
|
|
65
|
+
"model-value": a(g),
|
|
66
|
+
disabled: r.disabled,
|
|
67
|
+
error: r.error,
|
|
68
|
+
"sub-text": r.subText,
|
|
69
|
+
"min-date": c.value,
|
|
70
|
+
"max-date": p.value,
|
|
71
|
+
"onUpdate:modelValue": a(v)
|
|
72
|
+
}, null, 8, ["id", "ariaLabel", "model-value", "disabled", "error", "sub-text", "min-date", "max-date", "onUpdate:modelValue"]),
|
|
73
|
+
n.value ? (m(), U(a(w), {
|
|
74
|
+
key: 0,
|
|
75
|
+
ariaLabel: `${t.control.label} time`,
|
|
76
|
+
"model-value": a(y),
|
|
77
|
+
granularity: a(b),
|
|
78
|
+
"max-granularity": s.value,
|
|
79
|
+
disabled: r.disabled,
|
|
80
|
+
error: r.error,
|
|
81
|
+
"onUpdate:modelValue": a(f),
|
|
82
|
+
"onUpdate:granularity": a(h)
|
|
83
|
+
}, null, 8, ["ariaLabel", "model-value", "granularity", "max-granularity", "disabled", "error", "onUpdate:modelValue", "onUpdate:granularity"])) : B("", !0)
|
|
84
|
+
], 2));
|
|
85
|
+
}
|
|
86
|
+
}), N = /* @__PURE__ */ F(E, [["__scopeId", "data-v-e52553e7"]]);
|
|
87
|
+
export {
|
|
88
|
+
N as default
|
|
89
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { defineComponent as s, computed as o, createBlock as i, openBlock as m, unref as r } from "vue";
|
|
2
|
+
import { a as c, c as p } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
|
|
3
|
+
const h = /* @__PURE__ */ s({
|
|
4
|
+
__name: "DateTimeFormatPickerControl",
|
|
5
|
+
props: {
|
|
6
|
+
control: {},
|
|
7
|
+
handleChange: { type: Function },
|
|
8
|
+
changeValue: { type: Function },
|
|
9
|
+
disabled: { type: Boolean },
|
|
10
|
+
error: { type: Boolean },
|
|
11
|
+
subText: {},
|
|
12
|
+
onRegisterValidation: { type: Function },
|
|
13
|
+
labelForId: {}
|
|
14
|
+
},
|
|
15
|
+
setup(e) {
|
|
16
|
+
const l = e, t = o(
|
|
17
|
+
() => l.control.uischema
|
|
18
|
+
), n = o(() => t.value.options), d = o(() => {
|
|
19
|
+
var a;
|
|
20
|
+
return (a = n.value) == null ? void 0 : a.allowedFormats;
|
|
21
|
+
}), u = c(t, "dateTimeFormats", []);
|
|
22
|
+
return (a, b) => (m(), i(r(p), {
|
|
23
|
+
id: e.labelForId,
|
|
24
|
+
ariaLabel: e.control.label,
|
|
25
|
+
"model-value": l.control.data,
|
|
26
|
+
disabled: e.disabled,
|
|
27
|
+
"allowed-formats": d.value,
|
|
28
|
+
"all-default-formats": r(u) ?? [],
|
|
29
|
+
error: e.error,
|
|
30
|
+
"sub-text": e.subText,
|
|
31
|
+
"onUpdate:modelValue": e.changeValue
|
|
32
|
+
}, null, 8, ["id", "ariaLabel", "model-value", "disabled", "allowed-formats", "all-default-formats", "error", "sub-text", "onUpdate:modelValue"]));
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
export {
|
|
36
|
+
h as default
|
|
37
|
+
};
|