@knime/scripting-editor 0.0.126 → 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-DdmyqOPW.js → AnyOfTwinlist-SXwBBRp2-Bqhgogiq.js} +5 -4
- package/dist/{ArrayLayout-0R2_c1hY.js → ArrayLayout-Dh1QLh8H.js} +41 -41
- package/dist/{ButtonControl-CAZYfYSF.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-D4t0Ool5.js → ColorControl-B_mQdOCs-Dl3vNMVD.js} +10 -8
- package/dist/{ColorPreviewControl-CntI0nTL-B4W3C2Y0.js → ColorPreviewControl-BREwhSO9-uTvGtvF_.js} +21 -21
- package/dist/ComboBoxControl-BIZlnizm-7kcBjn_F.js +42 -0
- package/dist/{ConfigurationNodeNotSupported-DlGIHCIw.js → ConfigurationNodeNotSupported-CILWy-1v.js} +1 -1
- package/dist/{ControlWithSubParameters-yO5GSBha.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-LqJqncub.js → DialogFileExplorer-BZuisQeJ.js} +2 -2
- package/dist/{DirtyTrackerRenderer-UW-Cxf7s.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-D3xMMTLF.js → FileChooserControl-UiGh3RA6.js} +4 -3
- package/dist/{FileChooserControlBase-CI3pdTpr.js → FileChooserControlBase-C0jKG7YK.js} +148 -144
- package/dist/{FileChooserControlForMultiFile-DuAaeTcz.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-DNqvkBZ6.js → HorizontalLayout-CESRA3YR-DDxfF6ry.js} +7 -7
- package/dist/{IntegerControl-D8OzxbRA-DLAl4Ar6.js → IntegerControl-DKXN0mcE-DGJ3KRkb.js} +5 -4
- package/dist/IntervalControl-BswGPjcV-BmiAjHOy.js +51 -0
- package/dist/{LabeledGroup-CGcLflGw.js → LabeledGroup-5xwthvS8.js} +5 -5
- package/dist/LegacyCredentialsControl-DjJGg7vr.js +88 -0
- package/dist/{LinkControl-BvBBTFCs-B4x8DZjr.js → LinkControl-DTqOfnTg-BA_L4RtV.js} +10 -10
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-BLSG6Lpo-DtWE26ZK.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-BYA-GGQr.js → MultiRuleWrapper-B2ISI9_F.js} +1 -1
- package/dist/{MultiSelectListBoxControl-nmvLP18g-fumwGYev.js → MultiSelectListBoxControl-CjM94miu-DiufrbYU.js} +9 -8
- package/dist/{MultimodeTwinlistControl-yCdeWH2E-BiXMa7PW.js → MultimodeTwinlistControl-NMnPBn6a-DQkdp8td.js} +68 -66
- package/dist/{NameFilter-D1TMJydD-fZcEEzXz.js → NameFilter-DuVJG0SF-DAH98lDD.js} +7 -6
- package/dist/{NumberControl-uLMOLEbg-DEvsj1Mn.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-ChulOTPN.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-XEpxJaH_.js → RichTextControl-DH6GqUeF-DhVLA7bv.js} +7748 -6742
- package/dist/{SectionLayout-DY27pAtG-D9m5lyoN.js → SectionLayout-Cb3_L9Te-Ch2TL8Ns.js} +5 -5
- package/dist/{SettingsSubPanelLayout-82gMWhpv-CmIBNBVs.js → SettingsSubPanelLayout-DruWJjQA-BPDZqGKD.js} +22 -22
- package/dist/{SimpleTwinlistControl-P4KEYOq0-RZuXJS5p.js → SimpleTwinlistControl-CnBe4qsI-QQXdW90w.js} +7 -6
- package/dist/SingleSelectControl-C4Qzk2Ki-B4KRT-4U.js +58 -0
- package/dist/{SingleSelectListBoxControl-oMWH0vEE-CozC-ARB.js → SingleSelectListBoxControl-sLe2Y67h-aYZGPc-_.js} +14 -13
- package/dist/SortListControl-ChpYm3CZ-BHWX9fRm.js +112 -0
- package/dist/{StringFileChooserControl-CbuY9W_N.js → StringFileChooserControl-BGMU3nOp.js} +33 -30
- package/dist/{StyledListItem-D3LSfgGV-D8iKceFt.js → StyledListItem-BJEJoIzr-5JeRrk8P.js} +1 -1
- package/dist/{TeamAndSpacesControl-CH5ImByy-XXNR9HMn.js → TeamAndSpacesControl-7ZXPUwBb-DdkrLxnT.js} +21 -20
- package/dist/TeamResourceControl-BZDXMRLZ-Moa_pv2o.js +44 -0
- package/dist/{TextAreaControl-CrsZSU_f-D43BOhiB.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-DoWlznIt.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-Buo-KA0N-tQDZulBA.js} +16 -13
- package/dist/{TypedStringFilter-ry7fTUTx-BqgMPUbD.js → TypedStringFilter-Cx8OCQcE-Cx82QY6q.js} +7 -6
- package/dist/{ValueSwitchControl-aVx7pUi9-BQVaMPgo.js → ValueSwitchControl-1ax1yKbk-Dssrj-K0.js} +7 -6
- package/dist/{VennDiagramLayout-Bh7M9sdS.js → VennDiagramLayout-TqRKYgWl.js} +42 -42
- package/dist/{VerticalLayout-Bv-LJOZ0-Bhthjlig.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-Cf-ZWfup.js → useFileChooserBackend-DeqNZEZE.js} +6 -6
- package/dist/usePlainDateTimeBatch-Bd2G-GY9-DO2Zu0Mj.js +34 -0
- package/dist/{usePossibleValues-B-W6u-1T-CRO8qQzd.js → usePossibleValues-CtPV4Cjp-B6UlAJ8A.js} +3 -3
- package/package.json +6 -8
- package/dist/CheckboxControl-CS6iXHnF-aIaqHkPz.js +0 -38
- package/dist/CheckboxesControl-CPKIkyWt-Dfc5NCOp.js +0 -40
- package/dist/CodeEditorControl-BfC_vRfK.js +0 -103
- package/dist/ComboBoxControl-DBYnBkC4-YvQjV2xd.js +0 -40
- package/dist/CredentialsControl-BUdDVnKd.js +0 -32
- package/dist/CredentialsControlBase-CtiUUF6O.js +0 -96
- package/dist/DateControl-Cx_CwvNB-C6ZnNH2a.js +0 -35
- package/dist/DateTimeControl-BJsDzufC-BmyUPQid.js +0 -56
- package/dist/DateTimeFormatPickerControl-C80v1qfK-CksyyT9D.js +0 -35
- package/dist/DateTimeFormatPickerWithTypeControl-Dt-FKtYV-gb4KLPWO.js +0 -475
- package/dist/DropdownControl-D_BnA4-1-CZ3UBEZH.js +0 -30
- package/dist/DynamicInputControl-BW5MedWv.js +0 -6
- package/dist/ExecutorCoresControl-BnglyGMR-DCluaRJt.js +0 -56
- package/dist/ExecutorMemoryControl-CRATGs9C-BVornFOp.js +0 -50
- package/dist/FileUploadControl-D42rjpJg-BV-xemVF.js +0 -221
- package/dist/GridSelectionControl-BJk8-yiM-B-qEAJYS.js +0 -116
- package/dist/IntervalControl-Drljrv-b-HGlNWiOa.js +0 -751
- package/dist/LegacyCredentialsControl-SuSGcr6Q.js +0 -87
- package/dist/ManualTwinlistControl-By0Hur_m-CZ6mwit-.js +0 -75
- package/dist/MultiFileChooserControl-CnC8Sgqt.js +0 -401
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-VVQDBYw7-DCpZfhmB.js +0 -52
- package/dist/OneOfDropdown-CDwwxb3h-1Z26R3-a.js +0 -34
- package/dist/RadioControl-C73s-icb-BvMjmtnc.js +0 -24
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-BScekfhl-Cu_jwWBt.js +0 -60
- package/dist/ResourceControlBase-Bqq1PAX_-Dr521i_s.js +0 -183
- package/dist/SingleSelectControl-C_ZKkV5m-DnVAQEBt.js +0 -56
- package/dist/SortListControl-4v3T2j_9-Dd2NciQI.js +0 -110
- package/dist/TeamResourceControl-BFMuyWnk-BjuVm4u6.js +0 -47
- package/dist/TextControl-B0ag-3Pv-CVDIw3MG.js +0 -54656
- package/dist/TimeControl-Bt5OcjBc-Bb-uwA5L.js +0 -41
- package/dist/TimePartInput-CvwAzDuY-BVy_Fjvr.js +0 -253
- package/dist/TimeframesControl-BE3LFgyl-BlMPvvjh.js +0 -94
- package/dist/Tooltip-UlemzxdS-CT790DKa.js +0 -24
- package/dist/ValueSwitch-BXaDBm2C-CKjAMq9f.js +0 -130
- package/dist/ZonedDateTimeControl-6MUvXzd3-CoRMMPNO.js +0 -72
- package/dist/_Uint8Array-C_ozLuQF-D-SZhESZ.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-C93hA6Y8.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-BV68kR4E.js +0 -949
- package/dist/useDropdownNavigation-2Yhk7zes-75raAHpT.js +0 -821
- /package/dist/{useUnknownValuesInTwinlist-BbwGcno5-D2ve7iXH.js → useUnknownValuesInTwinlist-BCbqJg7j-D2ve7iXH.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as y, toRef as x, createBlock as g, openBlock as h, unref as b, resolveComponent as S, createElementBlock as c, normalizeStyle as v, normalizeClass as I, createElementVNode as m, createCommentVNode as f, mergeProps as C, withKeys as a, withModifiers as d, normalizeProps as V, guardReactiveProps as w, Fragment as k, renderList as D, withCtx as H, renderSlot as K, resolveDynamicComponent as B, toDisplayString as N, createVNode as A, watch as z } from "vue";
|
|
2
|
-
import { t as O } from "./usePossibleValues-
|
|
3
|
-
import {
|
|
4
|
-
import { p as T } from "./StyledListItem-
|
|
2
|
+
import { t as O } from "./usePossibleValues-CtPV4Cjp-B6UlAJ8A.js";
|
|
3
|
+
import { E as L, l as P, S as R } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
|
|
4
|
+
import { p as T } from "./StyledListItem-BJEJoIzr-5JeRrk8P.js";
|
|
5
5
|
const M = (e, t) => {
|
|
6
6
|
let i, n = 0;
|
|
7
7
|
return (...l) => {
|
|
@@ -447,7 +447,7 @@ const M = (e, t) => {
|
|
|
447
447
|
key: 1,
|
|
448
448
|
role: "bottom-box"
|
|
449
449
|
};
|
|
450
|
-
function
|
|
450
|
+
function q(e, t, i, n, l, o) {
|
|
451
451
|
const r = S("StyledListItem");
|
|
452
452
|
return h(), c("div", {
|
|
453
453
|
class: I(["multiselect-list-box", { invalid: !i.isValid, disabled: i.disabled }]),
|
|
@@ -518,14 +518,15 @@ function Y(e, t, i, n, l, o) {
|
|
|
518
518
|
])
|
|
519
519
|
], 6);
|
|
520
520
|
}
|
|
521
|
-
const
|
|
521
|
+
const G = /* @__PURE__ */ L($, [["render", q], ["__scopeId", "data-v-4ee62d65"]]), Z = /* @__PURE__ */ y({
|
|
522
522
|
__name: "MultiSelectListBoxControl",
|
|
523
523
|
props: {
|
|
524
524
|
control: {},
|
|
525
525
|
handleChange: { type: Function },
|
|
526
526
|
changeValue: { type: Function },
|
|
527
527
|
disabled: { type: Boolean },
|
|
528
|
-
|
|
528
|
+
error: { type: Boolean },
|
|
529
|
+
subText: {},
|
|
529
530
|
onRegisterValidation: { type: Function },
|
|
530
531
|
labelForId: {}
|
|
531
532
|
},
|
|
@@ -533,12 +534,12 @@ const q = /* @__PURE__ */ L($, [["render", Y], ["__scopeId", "data-v-4ee62d65"]]
|
|
|
533
534
|
const t = e, { possibleValues: i } = O(x(t, "control"));
|
|
534
535
|
return (n, l) => {
|
|
535
536
|
var o;
|
|
536
|
-
return h(), g(b(
|
|
537
|
+
return h(), g(b(G), {
|
|
537
538
|
id: e.labelForId,
|
|
538
539
|
"possible-values": b(i) || [],
|
|
539
540
|
disabled: e.disabled,
|
|
540
541
|
"model-value": e.control.data,
|
|
541
|
-
"is-valid": e.
|
|
542
|
+
"is-valid": !e.error,
|
|
542
543
|
ariaLabel: e.control.label,
|
|
543
544
|
size: (o = e.control.uischema.options) == null ? void 0 : o.size,
|
|
544
545
|
"onUpdate:modelValue": e.changeValue
|
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import { i as
|
|
4
|
-
import { t as
|
|
5
|
-
import { p as
|
|
6
|
-
import { F as W } from "./useUnknownValuesInTwinlist-
|
|
7
|
-
const J = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as V, toRef as x, computed as d, createBlock as B, openBlock as N, unref as u, mergeProps as G } from "vue";
|
|
2
|
+
import { aM as i, T as S } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
|
|
3
|
+
import { i as T } from "./index-Blg1O3Fz-CGafpkU1.js";
|
|
4
|
+
import { t as X, c as Y } from "./usePossibleValues-CtPV4Cjp-B6UlAJ8A.js";
|
|
5
|
+
import { p as $ } from "./toKdsPossibleValues-BklBg3gG-Dr1D12GJ.js";
|
|
6
|
+
import { F as W } from "./useUnknownValuesInTwinlist-BCbqJg7j-D2ve7iXH.js";
|
|
7
|
+
const J = /* @__PURE__ */ V({
|
|
8
8
|
__name: "MultimodeTwinlistControl",
|
|
9
9
|
props: {
|
|
10
10
|
control: {},
|
|
11
11
|
handleChange: {},
|
|
12
12
|
changeValue: {},
|
|
13
13
|
disabled: { type: Boolean },
|
|
14
|
-
|
|
14
|
+
error: { type: Boolean },
|
|
15
|
+
subText: {},
|
|
15
16
|
onRegisterValidation: {},
|
|
16
17
|
labelForId: {},
|
|
17
18
|
showUnknownValues: { type: Boolean, default: !1 },
|
|
18
19
|
showTypeFilter: { type: Boolean, default: !1 }
|
|
19
20
|
},
|
|
20
21
|
setup(o) {
|
|
21
|
-
const a = o, { possibleValues: c } =
|
|
22
|
-
|
|
23
|
-
), { excludedLabel:
|
|
24
|
-
|
|
22
|
+
const a = o, { possibleValues: c } = X(
|
|
23
|
+
x(a, "control")
|
|
24
|
+
), { excludedLabel: v, includedLabel: F } = Y(
|
|
25
|
+
x(a, "control")
|
|
25
26
|
), { selectedAndDeselected: p, setCurrentManualFilter: E } = W({
|
|
26
27
|
data: d(() => a.control.data),
|
|
27
28
|
possibleValueIds: d(
|
|
@@ -30,33 +31,33 @@ const J = /* @__PURE__ */ P({
|
|
|
30
31
|
return ((e = c.value) == null ? void 0 : e.map(({ id: l }) => l)) ?? null;
|
|
31
32
|
}
|
|
32
33
|
)
|
|
33
|
-
}),
|
|
34
|
-
const l =
|
|
34
|
+
}), r = (e) => {
|
|
35
|
+
const l = T(a.control.data, e);
|
|
35
36
|
a.changeValue(l), E(l.manualFilter);
|
|
36
|
-
},
|
|
37
|
-
() =>
|
|
37
|
+
}, U = d(
|
|
38
|
+
() => $(c.value ?? [])
|
|
38
39
|
);
|
|
39
|
-
let
|
|
40
|
-
const
|
|
41
|
-
if (
|
|
42
|
-
const e =
|
|
43
|
-
|
|
40
|
+
let s = null;
|
|
41
|
+
const w = () => {
|
|
42
|
+
if (s !== null) {
|
|
43
|
+
const e = s;
|
|
44
|
+
s = null, r(e);
|
|
44
45
|
}
|
|
45
46
|
}, m = (e) => {
|
|
46
|
-
|
|
47
|
-
|
|
47
|
+
s === null ? (s = e, queueMicrotask(w)) : s = T(
|
|
48
|
+
s,
|
|
48
49
|
e
|
|
49
50
|
);
|
|
50
|
-
},
|
|
51
|
+
}, h = (e) => {
|
|
51
52
|
m({
|
|
52
53
|
manualFilter: { manuallySelected: e },
|
|
53
54
|
selected: e
|
|
54
55
|
});
|
|
55
|
-
},
|
|
56
|
+
}, k = (e) => {
|
|
56
57
|
m({
|
|
57
58
|
manualFilter: { manuallyDeselected: e }
|
|
58
59
|
});
|
|
59
|
-
},
|
|
60
|
+
}, C = (e) => {
|
|
60
61
|
e !== null && m({
|
|
61
62
|
manualFilter: { includeUnknownColumns: e }
|
|
62
63
|
});
|
|
@@ -64,54 +65,54 @@ const J = /* @__PURE__ */ P({
|
|
|
64
65
|
switch (a.control.data.mode.toUpperCase()) {
|
|
65
66
|
case "WILDCARD":
|
|
66
67
|
case "REGEX":
|
|
67
|
-
return
|
|
68
|
+
return i.PATTERN;
|
|
68
69
|
case "TYPE":
|
|
69
|
-
return
|
|
70
|
+
return i.TYPE;
|
|
70
71
|
default:
|
|
71
|
-
return
|
|
72
|
+
return i.MANUAL;
|
|
72
73
|
}
|
|
73
|
-
}),
|
|
74
|
+
}), b = d(
|
|
74
75
|
() => a.control.data.mode.toUpperCase() === "REGEX"
|
|
75
|
-
),
|
|
76
|
+
), R = (e) => {
|
|
76
77
|
let l;
|
|
77
78
|
switch (e) {
|
|
78
|
-
case
|
|
79
|
-
l =
|
|
79
|
+
case i.PATTERN:
|
|
80
|
+
l = b.value ? "REGEX" : "WILDCARD";
|
|
80
81
|
break;
|
|
81
|
-
case
|
|
82
|
+
case i.TYPE:
|
|
82
83
|
l = "TYPE";
|
|
83
84
|
break;
|
|
84
85
|
default:
|
|
85
86
|
l = "MANUAL";
|
|
86
87
|
}
|
|
87
|
-
|
|
88
|
-
}, D = (e) => {
|
|
89
|
-
y.value === u.PATTERN && s({ mode: e ? "REGEX" : "WILDCARD" });
|
|
88
|
+
r({ mode: l });
|
|
90
89
|
}, g = (e) => {
|
|
91
|
-
|
|
90
|
+
y.value === i.PATTERN && r({ mode: e ? "REGEX" : "WILDCARD" });
|
|
92
91
|
}, A = (e) => {
|
|
93
|
-
|
|
94
|
-
},
|
|
95
|
-
|
|
96
|
-
}, I = () => {
|
|
92
|
+
r({ patternFilter: { pattern: e } });
|
|
93
|
+
}, D = (e) => {
|
|
94
|
+
r({ patternFilter: { isInverted: e } });
|
|
95
|
+
}, I = (e) => {
|
|
96
|
+
r({ patternFilter: { isCaseSensitive: e } });
|
|
97
|
+
}, M = () => {
|
|
97
98
|
const e = a.control.data.typeFilter;
|
|
98
99
|
if (!e)
|
|
99
100
|
return [];
|
|
100
101
|
const l = e.selectedTypes, t = new Map(
|
|
101
|
-
(e.typeDisplays ?? []).map(({ id: n, text:
|
|
102
|
+
(e.typeDisplays ?? []).map(({ id: n, text: P }) => [n, P])
|
|
102
103
|
);
|
|
103
104
|
return l.map((n) => ({
|
|
104
105
|
id: n,
|
|
105
106
|
text: t.get(n) || n
|
|
106
107
|
}));
|
|
107
|
-
},
|
|
108
|
+
}, f = d(() => {
|
|
108
109
|
var l;
|
|
109
110
|
if (!a.showTypeFilter)
|
|
110
111
|
return;
|
|
111
112
|
const e = /* @__PURE__ */ new Map();
|
|
112
113
|
return (l = c.value) == null || l.forEach((t) => {
|
|
113
114
|
t.type && e.set(t.type.id, t.type.text);
|
|
114
|
-
}),
|
|
115
|
+
}), M().forEach(({ id: t, text: n }) => {
|
|
115
116
|
e.has(t) || e.set(t, n);
|
|
116
117
|
}), [...e.entries()].map(([t, n]) => ({
|
|
117
118
|
id: t,
|
|
@@ -119,43 +120,44 @@ const J = /* @__PURE__ */ P({
|
|
|
119
120
|
accessory: { type: "dataType", name: t }
|
|
120
121
|
}));
|
|
121
122
|
}), L = (e) => {
|
|
122
|
-
const l = (
|
|
123
|
-
|
|
123
|
+
const l = (f.value ?? []).filter((t) => e.includes(t.id)).map(({ id: t, text: n }) => ({ id: t, text: n }));
|
|
124
|
+
r({
|
|
124
125
|
typeFilter: { selectedTypes: e, typeDisplays: l }
|
|
125
126
|
});
|
|
126
127
|
};
|
|
127
128
|
return (e, l) => {
|
|
128
129
|
var t;
|
|
129
|
-
return N(), B(
|
|
130
|
+
return N(), B(u(S), G(e.$attrs, {
|
|
130
131
|
id: o.labelForId,
|
|
131
132
|
ariaLabel: o.control.label,
|
|
132
133
|
disabled: o.disabled,
|
|
133
134
|
mode: y.value,
|
|
134
|
-
"manually-included":
|
|
135
|
-
"manually-excluded":
|
|
135
|
+
"manually-included": u(p).selected ?? [],
|
|
136
|
+
"manually-excluded": u(p).deselected ?? [],
|
|
136
137
|
"include-unknown-values": a.showUnknownValues ? a.control.data.manualFilter.includeUnknownColumns : null,
|
|
137
138
|
pattern: o.control.data.patternFilter.pattern,
|
|
138
139
|
"case-sensitive": o.control.data.patternFilter.isCaseSensitive,
|
|
139
140
|
"exclude-matches": o.control.data.patternFilter.isInverted,
|
|
140
|
-
"use-regex":
|
|
141
|
+
"use-regex": b.value,
|
|
141
142
|
"selected-types": ((t = o.control.data.typeFilter) == null ? void 0 : t.selectedTypes) ?? [],
|
|
142
|
-
"possible-values":
|
|
143
|
-
"filter-types":
|
|
143
|
+
"possible-values": U.value,
|
|
144
|
+
"filter-types": f.value,
|
|
144
145
|
"enable-pattern-filter": !0,
|
|
145
|
-
loading:
|
|
146
|
-
"exclude-label":
|
|
147
|
-
"include-label":
|
|
148
|
-
error:
|
|
149
|
-
"
|
|
150
|
-
"onUpdate:
|
|
151
|
-
"onUpdate:
|
|
152
|
-
"onUpdate:
|
|
153
|
-
"onUpdate:
|
|
154
|
-
"onUpdate:
|
|
155
|
-
"onUpdate:
|
|
156
|
-
"onUpdate:
|
|
146
|
+
loading: u(p).selected === null,
|
|
147
|
+
"exclude-label": u(v),
|
|
148
|
+
"include-label": u(F),
|
|
149
|
+
error: o.error,
|
|
150
|
+
"sub-text": o.subText,
|
|
151
|
+
"onUpdate:mode": R,
|
|
152
|
+
"onUpdate:manuallyIncluded": h,
|
|
153
|
+
"onUpdate:manuallyExcluded": k,
|
|
154
|
+
"onUpdate:includeUnknownValues": C,
|
|
155
|
+
"onUpdate:pattern": A,
|
|
156
|
+
"onUpdate:caseSensitive": I,
|
|
157
|
+
"onUpdate:excludeMatches": D,
|
|
158
|
+
"onUpdate:useRegex": g,
|
|
157
159
|
"onUpdate:selectedTypes": L
|
|
158
|
-
}), null, 16, ["id", "ariaLabel", "disabled", "mode", "manually-included", "manually-excluded", "include-unknown-values", "pattern", "case-sensitive", "exclude-matches", "use-regex", "selected-types", "possible-values", "filter-types", "loading", "exclude-label", "include-label", "error"]);
|
|
160
|
+
}), null, 16, ["id", "ariaLabel", "disabled", "mode", "manually-included", "manually-excluded", "include-unknown-values", "pattern", "case-sensitive", "exclude-matches", "use-regex", "selected-types", "possible-values", "filter-types", "loading", "exclude-label", "include-label", "error", "sub-text"]);
|
|
159
161
|
};
|
|
160
162
|
}
|
|
161
163
|
});
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { defineComponent as n, createBlock as o, openBlock as t, mergeProps as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as n, createBlock as o, openBlock as t, mergeProps as l } from "vue";
|
|
2
|
+
import a from "./MultimodeTwinlistControl-NMnPBn6a-DQkdp8td.js";
|
|
3
|
+
const i = /* @__PURE__ */ n({
|
|
4
4
|
__name: "NameFilter",
|
|
5
5
|
props: {
|
|
6
6
|
control: {},
|
|
7
7
|
handleChange: { type: Function },
|
|
8
8
|
changeValue: { type: Function },
|
|
9
9
|
disabled: { type: Boolean },
|
|
10
|
-
|
|
10
|
+
error: { type: Boolean },
|
|
11
|
+
subText: {},
|
|
11
12
|
onRegisterValidation: { type: Function },
|
|
12
13
|
labelForId: {}
|
|
13
14
|
},
|
|
14
15
|
setup(r) {
|
|
15
|
-
return (e, s) => (t(), o(
|
|
16
|
+
return (e, s) => (t(), o(a, l({ ...e.$props, ...e.$attrs }, {
|
|
16
17
|
"unknown-values-text": "Any unknown value",
|
|
17
18
|
"show-unknown-values": "",
|
|
18
19
|
"empty-state-label": "No values in this list"
|
|
@@ -20,5 +21,5 @@ const u = /* @__PURE__ */ n({
|
|
|
20
21
|
}
|
|
21
22
|
});
|
|
22
23
|
export {
|
|
23
|
-
|
|
24
|
+
i as default
|
|
24
25
|
};
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { defineComponent as o, createBlock as n, openBlock as t, mergeProps as
|
|
2
|
-
import { h as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as o, createBlock as n, openBlock as t, mergeProps as r } from "vue";
|
|
2
|
+
import { h as l } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-bph2Cze8-BGSxRVVz.js";
|
|
3
|
+
const c = /* @__PURE__ */ o({
|
|
4
4
|
__name: "NumberControl",
|
|
5
5
|
props: {
|
|
6
6
|
control: {},
|
|
7
7
|
handleChange: { type: Function },
|
|
8
8
|
changeValue: { type: Function },
|
|
9
9
|
disabled: { type: Boolean },
|
|
10
|
-
|
|
10
|
+
error: { type: Boolean },
|
|
11
|
+
subText: {},
|
|
11
12
|
onRegisterValidation: { type: Function },
|
|
12
13
|
labelForId: {}
|
|
13
14
|
},
|
|
14
|
-
setup(
|
|
15
|
-
return (e, a) => (t(), n(
|
|
15
|
+
setup(p) {
|
|
16
|
+
return (e, a) => (t(), n(l, r(e.$props, { type: "double" }), null, 16));
|
|
16
17
|
}
|
|
17
18
|
});
|
|
18
19
|
export {
|
|
19
|
-
|
|
20
|
+
c as default
|
|
20
21
|
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { defineComponent as m, computed as r, createBlock as c, openBlock as d, unref as p } from "vue";
|
|
2
|
+
import { O as x, B as b } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
|
|
3
|
+
const v = 1, y = 0.1, h = /* @__PURE__ */ m({
|
|
4
|
+
__name: "NumberControlBase",
|
|
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
|
+
type: {}
|
|
15
|
+
},
|
|
16
|
+
setup(l) {
|
|
17
|
+
const n = l, i = r(
|
|
18
|
+
() => {
|
|
19
|
+
var e;
|
|
20
|
+
return ((e = n.control.uischema.options) == null ? void 0 : e.stepSize) ?? (n.type === "integer" ? v : y);
|
|
21
|
+
}
|
|
22
|
+
), t = x(
|
|
23
|
+
{
|
|
24
|
+
min: ({ min: e, isExclusive: o }) => (a) => isNaN(a) || (o ? a > e : a >= e),
|
|
25
|
+
max: ({ max: e, isExclusive: o }) => (a) => isNaN(a) || (o ? a < e : a <= e)
|
|
26
|
+
},
|
|
27
|
+
n
|
|
28
|
+
), u = r(() => {
|
|
29
|
+
const e = t.value.min;
|
|
30
|
+
if (!(!e || e.min === null))
|
|
31
|
+
return e.min + (e.isExclusive ? i.value : 0);
|
|
32
|
+
}), s = r(() => {
|
|
33
|
+
const e = t.value.max;
|
|
34
|
+
if (!(!e || e.max === null))
|
|
35
|
+
return e.max - (e.isExclusive ? i.value : 0);
|
|
36
|
+
});
|
|
37
|
+
return (e, o) => (d(), c(p(b), {
|
|
38
|
+
id: l.labelForId,
|
|
39
|
+
ariaLabel: l.control.label,
|
|
40
|
+
class: "number-input",
|
|
41
|
+
disabled: l.disabled,
|
|
42
|
+
"model-value": l.control.data,
|
|
43
|
+
min: u.value,
|
|
44
|
+
max: s.value,
|
|
45
|
+
step: i.value,
|
|
46
|
+
error: l.error,
|
|
47
|
+
"sub-text": l.subText,
|
|
48
|
+
"onUpdate:modelValue": l.changeValue
|
|
49
|
+
}, null, 8, ["id", "ariaLabel", "disabled", "model-value", "min", "max", "step", "error", "sub-text", "onUpdate:modelValue"]));
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
export {
|
|
53
|
+
h
|
|
54
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { defineComponent as u, computed as i, createBlock as p, openBlock as c, unref as r } from "vue";
|
|
2
|
+
import { k as b } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
|
|
3
|
+
import { c as m } from "./index-Blg1O3Fz-CGafpkU1.js";
|
|
4
|
+
const h = /* @__PURE__ */ u({
|
|
5
|
+
__name: "OneOfDropdown",
|
|
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
|
+
var l, t;
|
|
18
|
+
const o = e, d = ((t = (l = o.control.schema) == null ? void 0 : l.oneOf) == null ? void 0 : t.map(m)) ?? [], a = i({
|
|
19
|
+
get: () => o.control.data ?? "",
|
|
20
|
+
set: o.changeValue
|
|
21
|
+
});
|
|
22
|
+
return (f, n) => (c(), p(r(b), {
|
|
23
|
+
id: e.labelForId,
|
|
24
|
+
modelValue: a.value,
|
|
25
|
+
"onUpdate:modelValue": n[0] || (n[0] = (s) => a.value = s),
|
|
26
|
+
"possible-values": r(d),
|
|
27
|
+
ariaLabel: e.control.label,
|
|
28
|
+
disabled: e.disabled,
|
|
29
|
+
error: e.error,
|
|
30
|
+
"sub-text": e.subText
|
|
31
|
+
}, null, 8, ["id", "modelValue", "possible-values", "ariaLabel", "disabled", "error", "sub-text"]));
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
export {
|
|
35
|
+
h as default
|
|
36
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as b, computed as r, createElementBlock as t, openBlock as l, Fragment as c, createCommentVNode as f, renderList as T, createVNode as V, createElementVNode as s, unref as h, normalizeClass as y } from "vue";
|
|
2
|
+
import { x as H } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
|
|
3
|
+
const L = ["innerHTML"], g = ["innerHTML"], M = ["innerHTML"], F = /* @__PURE__ */ b({
|
|
4
4
|
__name: "RadioButtonsWithDescriptionControl",
|
|
5
5
|
props: {
|
|
6
6
|
control: {},
|
|
@@ -8,20 +8,20 @@ const x = ["innerHTML"], B = ["innerHTML"], C = ["innerHTML"], F = /* @__PURE__
|
|
|
8
8
|
changeValue: { type: Function },
|
|
9
9
|
disabled: { type: Boolean },
|
|
10
10
|
labelForId: {},
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
error: { type: Boolean },
|
|
12
|
+
subText: {},
|
|
13
13
|
onRegisterValidation: { type: Function }
|
|
14
14
|
},
|
|
15
15
|
setup(a) {
|
|
16
|
-
const n = a, u =
|
|
16
|
+
const n = a, u = r(() => {
|
|
17
17
|
var o;
|
|
18
|
-
return ((o = n.control.schema.oneOf) == null ? void 0 : o.map(({ const: d, title: e, price: v, description:
|
|
18
|
+
return ((o = n.control.schema.oneOf) == null ? void 0 : o.map(({ const: d, title: e, price: v, description: x }) => ({
|
|
19
19
|
id: d,
|
|
20
20
|
text: e,
|
|
21
21
|
price: v,
|
|
22
|
-
description:
|
|
22
|
+
description: x
|
|
23
23
|
}))) || [];
|
|
24
|
-
}), p =
|
|
24
|
+
}), p = r(() => !n.control.enabled), i = r(
|
|
25
25
|
() => {
|
|
26
26
|
var o;
|
|
27
27
|
return ((o = n.control.uischema.options) == null ? void 0 : o.footnote) || null;
|
|
@@ -30,11 +30,11 @@ const x = ["innerHTML"], B = ["innerHTML"], C = ["innerHTML"], F = /* @__PURE__
|
|
|
30
30
|
n.changeValue(o);
|
|
31
31
|
};
|
|
32
32
|
return (o, d) => (l(), t(c, null, [
|
|
33
|
-
(l(!0), t(c, null,
|
|
33
|
+
(l(!0), t(c, null, T(u.value, (e) => (l(), t("label", {
|
|
34
34
|
key: `radio-${e.id}`,
|
|
35
35
|
class: "radio-wrapper"
|
|
36
36
|
}, [
|
|
37
|
-
|
|
37
|
+
V(h(H), {
|
|
38
38
|
class: "radio-button",
|
|
39
39
|
"model-value": a.control.data === e.id,
|
|
40
40
|
text: e.text,
|
|
@@ -44,17 +44,17 @@ const x = ["innerHTML"], B = ["innerHTML"], C = ["innerHTML"], F = /* @__PURE__
|
|
|
44
44
|
s("div", {
|
|
45
45
|
class: "description",
|
|
46
46
|
innerHTML: e.description
|
|
47
|
-
}, null, 8,
|
|
47
|
+
}, null, 8, L),
|
|
48
48
|
s("div", {
|
|
49
|
-
class:
|
|
49
|
+
class: y(["price", { selected: a.control.data === e.id }]),
|
|
50
50
|
innerHTML: e.price
|
|
51
|
-
}, null, 10,
|
|
51
|
+
}, null, 10, g)
|
|
52
52
|
]))), 128)),
|
|
53
|
-
|
|
53
|
+
i.value ? (l(), t("div", {
|
|
54
54
|
key: 0,
|
|
55
55
|
class: "footnote",
|
|
56
|
-
innerHTML:
|
|
57
|
-
}, null, 8,
|
|
56
|
+
innerHTML: i.value
|
|
57
|
+
}, null, 8, M)) : f("", !0)
|
|
58
58
|
], 64));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { defineComponent as o, createBlock as n, openBlock as t, mergeProps as r } from "vue";
|
|
2
|
+
import { T as p } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-jxw_5dVt-B1RfPe72.js";
|
|
3
|
+
const c = /* @__PURE__ */ o({
|
|
4
|
+
__name: "RadioControl",
|
|
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(a) {
|
|
16
|
+
return (e, l) => (t(), n(p, r(e.$props, { type: "radio" }), null, 16));
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
export {
|
|
20
|
+
c as default
|
|
21
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { defineComponent as v, useAttrs as f, computed as u, ref as y, toRef as h, createElementBlock as x, createCommentVNode as V, onMounted as g, openBlock as n, Fragment as C, createBlock as i, unref as t, mergeProps as m } from "vue";
|
|
2
|
+
import { C as F, m as k } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
|
|
3
|
+
import { c as B } from "./index-Blg1O3Fz-CGafpkU1.js";
|
|
4
|
+
import { t as T } from "./usePossibleValues-CtPV4Cjp-B6UlAJ8A.js";
|
|
5
|
+
const A = /* @__PURE__ */ v({
|
|
6
|
+
inheritAttrs: !1,
|
|
7
|
+
__name: "RadioControlBase",
|
|
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
|
+
type: {}
|
|
18
|
+
},
|
|
19
|
+
setup(e) {
|
|
20
|
+
const d = f(), l = e, p = u(() => {
|
|
21
|
+
var o;
|
|
22
|
+
return (o = l.control.uischema.options) == null ? void 0 : o.radioLayout;
|
|
23
|
+
}), c = (o) => ({
|
|
24
|
+
id: o.id,
|
|
25
|
+
text: o.text,
|
|
26
|
+
...o.disabled ? { disabled: !0 } : {}
|
|
27
|
+
}), s = y(null), { possibleValues: b } = T(h(l, "control"), {
|
|
28
|
+
defaultOnNonProvided: null
|
|
29
|
+
}), a = u(
|
|
30
|
+
() => {
|
|
31
|
+
var o;
|
|
32
|
+
return (o = b.value ?? s.value) == null ? void 0 : o.map(c);
|
|
33
|
+
}
|
|
34
|
+
);
|
|
35
|
+
return g(() => {
|
|
36
|
+
var o, r;
|
|
37
|
+
s.value = (r = (o = l.control) == null ? void 0 : o.schema) != null && r.oneOf ? l.control.schema.oneOf.map(B) : null;
|
|
38
|
+
}), (o, r) => a.value ? (n(), x(C, { key: 0 }, [
|
|
39
|
+
l.type === "valueSwitch" ? (n(), i(t(F), m({ key: 0 }, t(d), {
|
|
40
|
+
id: e.labelForId,
|
|
41
|
+
"possible-values": a.value,
|
|
42
|
+
disabled: e.disabled,
|
|
43
|
+
"model-value": e.control.data,
|
|
44
|
+
error: e.error,
|
|
45
|
+
"sub-text": e.subText,
|
|
46
|
+
size: "small",
|
|
47
|
+
variant: "muted",
|
|
48
|
+
"onUpdate:modelValue": e.changeValue
|
|
49
|
+
}), null, 16, ["id", "possible-values", "disabled", "model-value", "error", "sub-text", "onUpdate:modelValue"])) : (n(), i(t(k), m({ key: 1 }, t(d), {
|
|
50
|
+
id: e.labelForId,
|
|
51
|
+
"possible-values": a.value,
|
|
52
|
+
alignment: p.value,
|
|
53
|
+
disabled: e.disabled,
|
|
54
|
+
"model-value": e.control.data,
|
|
55
|
+
error: e.error,
|
|
56
|
+
"sub-text": e.subText,
|
|
57
|
+
"onUpdate:modelValue": e.changeValue
|
|
58
|
+
}), null, 16, ["id", "possible-values", "alignment", "disabled", "model-value", "error", "sub-text", "onUpdate:modelValue"]))
|
|
59
|
+
], 64)) : V("", !0);
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
export {
|
|
63
|
+
A as T
|
|
64
|
+
};
|