@knime/scripting-editor 0.0.128 → 0.0.130
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-SXwBBRp2-Bqhgogiq.js → AnyOfTwinlist-C0HXLfC3-Ci4bGaZk.js} +1 -1
- package/dist/{ArrayLayout-Dh1QLh8H.js → ArrayLayout-ClHcSa0n.js} +66 -66
- package/dist/{ButtonControl-CaaKmrFb.js → ButtonControl-DUuQr7Xp.js} +8 -8
- package/dist/{CheckboxControl-CbWn843V-BTn1nVWQ.js → CheckboxControl-DnsRdf8z-d30sXCML.js} +7 -7
- package/dist/{CheckboxesControl-BiQOMrsp-BCRpKfZV.js → CheckboxesControl-BVesT8eM-BM1WJsof.js} +4 -4
- package/dist/{CodeEditorControl-BhQdOlWM.js → CodeEditorControl-Dr2RjC_A.js} +6 -6
- package/dist/{ColorControl-B_mQdOCs-Dl3vNMVD.js → ColorControl-Cdpprmlz-DI4MLR3_.js} +1 -1
- package/dist/{ColorPreviewControl-BREwhSO9-uTvGtvF_.js → ColorPreviewControl-CoKXaJR8-D1RrxdHg.js} +13 -13
- package/dist/{ComboBoxControl-BIZlnizm-7kcBjn_F.js → ComboBoxControl-Bpy8p1Dt-l95pMyZo.js} +5 -5
- package/dist/{ConfigurationNodeNotSupported-CILWy-1v.js → ConfigurationNodeNotSupported-whPbEgmo.js} +3 -3
- package/dist/ControlWithSubParameters-DhorTw81.js +63 -0
- package/dist/{CredentialsControl-DYI2eHZH.js → CredentialsControl-DVLH9Dz6.js} +2 -2
- package/dist/{CredentialsControlBase-Be_pBbr8.js → CredentialsControlBase-01Hvu0Lz.js} +11 -11
- package/dist/{DateControl-vkwY-8Qy-D35WLbKn.js → DateControl-CnoLTpxX-Ccaqcv6v.js} +5 -5
- package/dist/{DateTimeControl-CtXV6_D2-yc6SBo7d.js → DateTimeControl-yMiwCIoT-DgeTxjv7.js} +10 -10
- package/dist/{DateTimeFormatPickerControl-a7MPaNFN-CerJZl-s.js → DateTimeFormatPickerControl-DPvdaftr-Czj3ANAz.js} +7 -7
- package/dist/{DateTimeFormatPickerWithTypeControl-B9Nu0dh1-B3FsqcQG.js → DateTimeFormatPickerWithTypeControl-BPLIjaa8-DHoLusxP.js} +54 -54
- package/dist/{DialogFileExplorer-BZuisQeJ.js → DialogFileExplorer-DIs5byAi.js} +19 -19
- package/dist/{DirtyTrackerRenderer-qBfv19cz.js → DirtyTrackerRenderer-Cv8tbYsF.js} +6 -6
- package/dist/{DropdownControl-BUwovb4K-DZFITmfl.js → DropdownControl-B6vdbTUR-BQQUZkPE.js} +2 -2
- package/dist/DynamicInputControl-B7BBTlf5.js +6 -0
- package/dist/{ExecutorCoresControl-DN-1o1XJ-B6JZf8lR.js → ExecutorCoresControl-CqupO0EH-CVfjqXCJ.js} +1 -1
- package/dist/{ExecutorMemoryControl-UzqzP4hI-DEOR9ioJ.js → ExecutorMemoryControl-BUTHn5-2-B1_v3-3K.js} +1 -1
- package/dist/{FileChooserControl-UiGh3RA6.js → FileChooserControl-BSSpdoEl.js} +2 -2
- package/dist/{FileChooserControlBase-C0jKG7YK.js → FileChooserControlBase-CO4lHb4o.js} +56 -56
- package/dist/{FileChooserControlForMultiFile-Di4Pk53x.js → FileChooserControlForMultiFile-B5MKCKeP.js} +1 -1
- package/dist/{FileUploadControl-WC8TFQHe-BuGo0ZRQ.js → FileUploadControl-D3_Tik3K-Bg0F-c9C.js} +93 -93
- package/dist/GridSelectionControl-B-0p89Ar-DNH_LEfs.js +117 -0
- package/dist/{HorizontalLayout-CESRA3YR-DDxfF6ry.js → HorizontalLayout-DzisCoIO-DwZd-d-q.js} +5 -5
- package/dist/{IntegerControl-DKXN0mcE-DGJ3KRkb.js → IntegerControl-DRg3adTS-B-GjZfTq.js} +1 -1
- package/dist/{IntervalControl-BswGPjcV-BmiAjHOy.js → IntervalControl-U10ZzART-DdBvX4BP.js} +10 -10
- package/dist/{LabeledGroup-5xwthvS8.js → LabeledGroup-CvscnZ53.js} +3 -3
- package/dist/{LegacyCredentialsControl-DjJGg7vr.js → LegacyCredentialsControl-Cl_XSilW.js} +7 -7
- package/dist/{LinkControl-DTqOfnTg-BA_L4RtV.js → LinkControl-3Tb-HmaU-DgonBgM3.js} +8 -8
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-Cic7UEOM-RBq7a_S3.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-BJTyzJDs-CmHu4dUn.js} +5 -5
- package/dist/{ManualTwinlistControl-CoZdPu6n-BF9bz65d.js → ManualTwinlistControl-BsQ4eF_T-TuCpqIyQ.js} +7 -7
- package/dist/{MultiFileChooserControl-BFW6QI_y.js → MultiFileChooserControl-BFzwZPxO.js} +14 -15
- package/dist/{MultiRuleWrapper-B2ISI9_F.js → MultiRuleWrapper-CK_VVu1z.js} +1 -1
- package/dist/{MultiSelectListBoxControl-CjM94miu-DiufrbYU.js → MultiSelectListBoxControl-BXZigXaD-Cef4P2rb.js} +5 -5
- package/dist/{MultimodeTwinlistControl-NMnPBn6a-DQkdp8td.js → MultimodeTwinlistControl-B806J5Bs-BIjcleOK.js} +18 -18
- package/dist/{NameFilter-DuVJG0SF-DAH98lDD.js → NameFilter-sEy-bXsQ-ChUle3hn.js} +1 -1
- package/dist/{NumberControl-NMJmxuze-Bih_-Og_.js → NumberControl-D4eVvYI5-D86cUs8w.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-bph2Cze8-BGSxRVVz.js → NumberControlBase.vue_vue_type_script_setup_true_lang-BY_lIkOW-C_fOcMzj.js} +4 -4
- package/dist/{OneOfDropdown-CwJemyYo-Do-MOPV7.js → OneOfDropdown-D95vlsXG-DUbrsEaV.js} +1 -1
- package/dist/RadioButtonsWithDescriptionControl-D9TQhEQl-CG1IFY0H.js +63 -0
- package/dist/{RadioControl-ts1-JozG-Bt4Ssbnx.js → RadioControl-BnjHIvPY-CLnsW3wU.js} +1 -1
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-jxw_5dVt-B1RfPe72.js → RadioControlBase.vue_vue_type_script_setup_true_lang-COF69Ewk-JK7EtdNf.js} +12 -12
- package/dist/{ResourceControlBase-FDiyHyQi-n4PYam8s.js → ResourceControlBase-BayVTGW8-Cu26JdXk.js} +38 -38
- package/dist/{RichTextControl-DH6GqUeF-DhVLA7bv.js → RichTextControl-ChVZO70R-Pva6-8eH.js} +2787 -2616
- package/dist/{SectionLayout-Cb3_L9Te-Ch2TL8Ns.js → SectionLayout-BiHs1sn5-93PtnU8N.js} +8 -8
- package/dist/SettingsSubPanelLayout-uKjawSBL-BWvNQ5xU.js +64 -0
- package/dist/{SimpleTwinlistControl-CnBe4qsI-QQXdW90w.js → SimpleTwinlistControl-Dsl6K8R4-IaD41FM5.js} +2 -2
- package/dist/{SingleSelectControl-C4Qzk2Ki-B4KRT-4U.js → SingleSelectControl-CgyNTJCv-D-CSUSbA.js} +2 -2
- package/dist/{SingleSelectListBoxControl-sLe2Y67h-aYZGPc-_.js → SingleSelectListBoxControl-B7a_x6AR-CCtCeWFw.js} +5 -5
- package/dist/{SortListControl-ChpYm3CZ-BHWX9fRm.js → SortListControl-DSy6AZdN-CthYapD1.js} +13 -13
- package/dist/{StringFileChooserControl-BGMU3nOp.js → StringFileChooserControl-B-jhIo2L.js} +3 -3
- package/dist/{StyledListItem-BJEJoIzr-5JeRrk8P.js → StyledListItem-Epyl0QFE-BRuJcfHs.js} +1 -1
- package/dist/{TeamAndSpacesControl-7ZXPUwBb-DdkrLxnT.js → TeamAndSpacesControl-CJ0rphn6-S60ptfM4.js} +18 -18
- package/dist/{TeamResourceControl-BZDXMRLZ-Moa_pv2o.js → TeamResourceControl-CWzSwuA--COJnO0xA.js} +1 -1
- package/dist/{TextAreaControl-BDGtgWys-B5coKRJL.js → TextAreaControl-BwRYrvP3-bTnY245O.js} +2 -2
- package/dist/{TextControl-8jfyOJKb-BkT4AwNP.js → TextControl-CzWuv-09-DD8fsitV.js} +22609 -22295
- package/dist/{TimeControl-Dvt5U7xN-CTkb_kae.js → TimeControl-DrXsfSOW-Cs4KnAeZ.js} +1 -1
- package/dist/{TimeframesControl-DcUxC3kX-1e3a-BRE.js → TimeframesControl-B9py1LZW-DRvxhEvS.js} +13 -13
- package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-Buo-KA0N-tQDZulBA.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-B_JLzzPW-CDC4Z3rp.js} +2 -2
- package/dist/{TypedStringFilter-Cx8OCQcE-Cx82QY6q.js → TypedStringFilter-Bh5HKR6x-qaUr73_C.js} +1 -1
- package/dist/{ValueSwitchControl-1ax1yKbk-Dssrj-K0.js → ValueSwitchControl-BK4MEpfr-Dj7oLFLs.js} +1 -1
- package/dist/{VennDiagramLayout-TqRKYgWl.js → VennDiagramLayout-BNRmNZcp.js} +58 -58
- package/dist/{VerticalLayout-DnyoqTeh-COL0gWjl.js → VerticalLayout-BoLk9KU--07fA38Os.js} +5 -5
- package/dist/{ZonedDateTimeControl-mIIRwaHz-BSWCo5dl.js → ZonedDateTimeControl-oXUgeq8e-CGaumVHL.js} +12 -12
- package/dist/collection-BBXRVj4b-DzRZ2FYd-COyFmQqa.js +22 -0
- package/dist/main.js +4676 -4711
- package/dist/parameters.js +1 -1
- package/dist/src/components/ScriptingEditor.vue.d.ts +6 -4
- package/dist/src/components/SettingsPage.vue.d.ts +5 -4
- 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/{useFileChooserBackend-DeqNZEZE.js → useFileChooserBackend-De-voAqd.js} +5 -5
- package/dist/{usePossibleValues-CtPV4Cjp-B6UlAJ8A.js → usePossibleValues-Cim2IK8S-CZ6seeKT.js} +3 -3
- package/package.json +3 -3
- package/dist/ControlWithSubParameters-DNFQ_0Ol.js +0 -80
- package/dist/DynamicInputControl-Br_sRCEw.js +0 -6
- package/dist/GridSelectionControl-BgqT1t9d-BRz6UGC9.js +0 -117
- package/dist/RadioButtonsWithDescriptionControl-BK3UCreL-qWSS1DwX.js +0 -63
- package/dist/SettingsSubPanelLayout-DruWJjQA-BPDZqGKD.js +0 -70
- package/dist/arrow-next-BQULX8HT-DDsCfA5A.js +0 -17
- /package/dist/{useUnknownValuesInTwinlist-BCbqJg7j-D2ve7iXH.js → useUnknownValuesInTwinlist-BgKXJtz6-D2ve7iXH.js} +0 -0
package/dist/parameters.js
CHANGED
|
@@ -49,8 +49,9 @@ declare function __VLS_template(): {
|
|
|
49
49
|
[key: `bottomPaneTabControlsSlot:${string}`]: () => any;
|
|
50
50
|
"left-pane": () => any;
|
|
51
51
|
editor: () => any;
|
|
52
|
-
"settings-
|
|
53
|
-
|
|
52
|
+
"settings-content": (props: {
|
|
53
|
+
closeSettingsPage: () => void;
|
|
54
|
+
}) => any;
|
|
54
55
|
"right-pane": () => any;
|
|
55
56
|
"code-editor-controls": (props: {
|
|
56
57
|
showButtonText: boolean;
|
|
@@ -63,8 +64,9 @@ declare function __VLS_template(): {
|
|
|
63
64
|
[key: `bottomPaneTabControlsSlot:${string}`]: () => any;
|
|
64
65
|
"left-pane": () => any;
|
|
65
66
|
editor: () => any;
|
|
66
|
-
"settings-
|
|
67
|
-
|
|
67
|
+
"settings-content": (props: {
|
|
68
|
+
closeSettingsPage: () => void;
|
|
69
|
+
}) => any;
|
|
68
70
|
"right-pane": () => any;
|
|
69
71
|
"code-editor-controls": (props: {
|
|
70
72
|
showButtonText: boolean;
|
|
@@ -5,18 +5,19 @@ export interface SettingsMenuItem extends MenuItem {
|
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
6
|
attrs: Partial<{}>;
|
|
7
7
|
slots: {
|
|
8
|
-
'settings-
|
|
9
|
-
|
|
8
|
+
'settings-content'?(_: {
|
|
9
|
+
closeSettingsPage: () => void;
|
|
10
|
+
}): any;
|
|
10
11
|
};
|
|
11
12
|
refs: {};
|
|
12
|
-
rootEl:
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
13
14
|
};
|
|
14
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
16
|
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
16
17
|
"close-settings-page": () => any;
|
|
17
18
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
18
19
|
"onClose-settings-page"?: (() => any) | undefined;
|
|
19
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
20
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
20
21
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
22
|
export default _default;
|
|
22
23
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
export type ColumnSizes = [
|
|
1
|
+
export type ColumnSizes = [
|
|
2
|
+
nameWidth: number,
|
|
3
|
+
typeWidth: number,
|
|
4
|
+
valueWidth: number
|
|
5
|
+
];
|
|
2
6
|
export interface TemporaryValue {
|
|
3
7
|
name: string;
|
|
4
8
|
type: string;
|
|
@@ -9,26 +13,9 @@ type __VLS_Props = {
|
|
|
9
13
|
resetEnabled: boolean;
|
|
10
14
|
emptyStateDescription?: string;
|
|
11
15
|
itemTitle: string;
|
|
16
|
+
showValueColumn?: boolean;
|
|
12
17
|
};
|
|
13
|
-
declare
|
|
14
|
-
attrs: Partial<{}>;
|
|
15
|
-
slots: {
|
|
16
|
-
header?(_: {
|
|
17
|
-
containerWidth: number;
|
|
18
|
-
onUpdateHeaderWidths: (e: ColumnSizes) => void;
|
|
19
|
-
}): any;
|
|
20
|
-
body?(_: {
|
|
21
|
-
columnWidths: [number, number, number];
|
|
22
|
-
}): any;
|
|
23
|
-
};
|
|
24
|
-
refs: {
|
|
25
|
-
resizeContainer: HTMLDivElement;
|
|
26
|
-
workspaceRef: HTMLDivElement;
|
|
27
|
-
};
|
|
28
|
-
rootEl: any;
|
|
29
|
-
};
|
|
30
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
31
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
18
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
32
19
|
"clicked-value": (name: string) => any;
|
|
33
20
|
"reset-values": () => any;
|
|
34
21
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
@@ -38,10 +25,4 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
38
25
|
resizeContainer: HTMLDivElement;
|
|
39
26
|
workspaceRef: HTMLDivElement;
|
|
40
27
|
}, any>;
|
|
41
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
42
28
|
export default _default;
|
|
43
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
44
|
-
new (): {
|
|
45
|
-
$slots: S;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
@@ -12,14 +12,24 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
12
12
|
aiBarPopupRef: HTMLDivElement;
|
|
13
13
|
aiButtonRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<({
|
|
14
14
|
modelValue?: boolean;
|
|
15
|
-
} & import('node_modules/@knime/kds-components/dist/src/
|
|
15
|
+
} & import('node_modules/@knime/kds-components/dist/src/types/testId').WithTestId & {
|
|
16
|
+
size?: import('@knime/kds-components').KdsButtonSize;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
title?: string;
|
|
19
|
+
variant?: import('@knime/kds-components').KdsToggleButtonVariant | undefined;
|
|
20
|
+
} & {
|
|
16
21
|
label: string;
|
|
17
22
|
leadingIcon?: import('@knime/kds-components').KdsIconName;
|
|
18
23
|
trailingIcon?: import('@knime/kds-components').KdsIconName;
|
|
19
24
|
ariaLabel?: never;
|
|
20
25
|
}) | ({
|
|
21
26
|
modelValue?: boolean;
|
|
22
|
-
} & import('node_modules/@knime/kds-components/dist/src/
|
|
27
|
+
} & import('node_modules/@knime/kds-components/dist/src/types/testId').WithTestId & {
|
|
28
|
+
size?: import('@knime/kds-components').KdsButtonSize;
|
|
29
|
+
disabled?: boolean;
|
|
30
|
+
title?: string;
|
|
31
|
+
variant?: import('@knime/kds-components').KdsToggleButtonVariant | undefined;
|
|
32
|
+
} & {
|
|
23
33
|
label?: never;
|
|
24
34
|
leadingIcon: import('@knime/kds-components').KdsIconName;
|
|
25
35
|
trailingIcon?: never;
|
|
@@ -37,14 +47,24 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
37
47
|
Defaults: {};
|
|
38
48
|
}, {} & (Readonly<({
|
|
39
49
|
modelValue?: boolean;
|
|
40
|
-
} & import('node_modules/@knime/kds-components/dist/src/
|
|
50
|
+
} & import('node_modules/@knime/kds-components/dist/src/types/testId').WithTestId & {
|
|
51
|
+
size?: import('@knime/kds-components').KdsButtonSize;
|
|
52
|
+
disabled?: boolean;
|
|
53
|
+
title?: string;
|
|
54
|
+
variant?: import('@knime/kds-components').KdsToggleButtonVariant | undefined;
|
|
55
|
+
} & {
|
|
41
56
|
label: string;
|
|
42
57
|
leadingIcon?: import('@knime/kds-components').KdsIconName;
|
|
43
58
|
trailingIcon?: import('@knime/kds-components').KdsIconName;
|
|
44
59
|
ariaLabel?: never;
|
|
45
60
|
}) | ({
|
|
46
61
|
modelValue?: boolean;
|
|
47
|
-
} & import('node_modules/@knime/kds-components/dist/src/
|
|
62
|
+
} & import('node_modules/@knime/kds-components/dist/src/types/testId').WithTestId & {
|
|
63
|
+
size?: import('@knime/kds-components').KdsButtonSize;
|
|
64
|
+
disabled?: boolean;
|
|
65
|
+
title?: string;
|
|
66
|
+
variant?: import('@knime/kds-components').KdsToggleButtonVariant | undefined;
|
|
67
|
+
} & {
|
|
48
68
|
label?: never;
|
|
49
69
|
leadingIcon: import('@knime/kds-components').KdsIconName;
|
|
50
70
|
trailingIcon?: never;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as n, ref as f, watch as E, onMounted as b } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { r as L, y as A } from "./TextControl-CzWuv-09-DD8fsitV.js";
|
|
3
3
|
const B = (o) => o.charAt(0).toUpperCase() + o.slice(1).toLowerCase(), I = (o) => {
|
|
4
4
|
const t = n(
|
|
5
5
|
() => o.value.fileSystems ?? [
|
|
@@ -68,17 +68,17 @@ const B = (o) => o.charAt(0).toUpperCase() + o.slice(1).toLowerCase(), I = (o) =
|
|
|
68
68
|
// eslint-disable-next-line no-undefined
|
|
69
69
|
void 0
|
|
70
70
|
)
|
|
71
|
-
),
|
|
71
|
+
), y = n(
|
|
72
72
|
() => B(
|
|
73
73
|
l(t.value) ? t.value.fileSystemType ?? "Connected file system" : "Connected file system"
|
|
74
74
|
)
|
|
75
|
-
), C = f(!1),
|
|
75
|
+
), C = f(!1), D = (e) => {
|
|
76
76
|
d.value = [e], i.value = e, C.value = !0;
|
|
77
77
|
}, N = L(o, "fileExtension");
|
|
78
78
|
return E(
|
|
79
79
|
N,
|
|
80
80
|
(e) => {
|
|
81
|
-
e &&
|
|
81
|
+
e && D(e);
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
84
|
immediate: !0
|
|
@@ -103,7 +103,7 @@ const B = (o) => o.charAt(0).toUpperCase() + o.slice(1).toLowerCase(), I = (o) =
|
|
|
103
103
|
relativeWorkflowPath: F,
|
|
104
104
|
isConnected: r,
|
|
105
105
|
portIndex: P,
|
|
106
|
-
portFileSystemName:
|
|
106
|
+
portFileSystemName: y,
|
|
107
107
|
fileSystems: m
|
|
108
108
|
};
|
|
109
109
|
}, R = ({
|
package/dist/{usePossibleValues-CtPV4Cjp-B6UlAJ8A.js → usePossibleValues-Cim2IK8S-CZ6seeKT.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { computed as s } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { r as i } from "./TextControl-CzWuv-09-DD8fsitV.js";
|
|
3
3
|
const c = (o, e) => {
|
|
4
4
|
const l = s(() => o.value.uischema), u = i(l, "possibleValues");
|
|
5
5
|
return { possibleValues: s(() => {
|
|
6
6
|
var a, d;
|
|
7
7
|
return (a = l.value.providedOptions) != null && a.includes("possibleValues") ? u.value : ((d = l.value.options) == null ? void 0 : d.possibleValues) ?? (typeof (e == null ? void 0 : e.defaultOnNonProvided) > "u" ? [] : e == null ? void 0 : e.defaultOnNonProvided);
|
|
8
8
|
}) };
|
|
9
|
-
},
|
|
9
|
+
}, r = (o) => {
|
|
10
10
|
var l, u;
|
|
11
11
|
const e = s(() => o.value.uischema.options);
|
|
12
12
|
return {
|
|
@@ -15,6 +15,6 @@ const c = (o, e) => {
|
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
r as c,
|
|
19
19
|
c as t
|
|
20
20
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/scripting-editor",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.130",
|
|
5
5
|
"description": "Shared Scripting Editor components for KNIME",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"author": "KNIME AG, Zurich, Switzerland",
|
|
12
12
|
"license": "See the file license.txt",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@knime/kds-components": "0.
|
|
15
|
-
"@knime/kds-styles": "0.
|
|
14
|
+
"@knime/kds-components": "0.28.4",
|
|
15
|
+
"@knime/kds-styles": "0.28.4",
|
|
16
16
|
"@knime/styles": "1.15.1",
|
|
17
17
|
"@knime/ui-extension-renderer": "2.5.19",
|
|
18
18
|
"@knime/utils": "1.11.0",
|
|
@@ -1,80 +0,0 @@
|
|
|
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
|
-
import { FunctionButton as C } from "@knime/components";
|
|
4
|
-
import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
const B = {
|
|
6
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
-
fill: "none",
|
|
8
|
-
stroke: "#000",
|
|
9
|
-
"stroke-linejoin": "round",
|
|
10
|
-
viewBox: "0 0 32 32"
|
|
11
|
-
};
|
|
12
|
-
function P(u, a) {
|
|
13
|
-
return o(), i("svg", B, a[0] || (a[0] = [
|
|
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
|
-
]));
|
|
16
|
-
}
|
|
17
|
-
const S = { render: P }, $ = { class: "control-with-sub-parameters" }, V = /* @__PURE__ */ v({
|
|
18
|
-
__name: "ControlWithSubParameters",
|
|
19
|
-
props: {
|
|
20
|
-
layout: {}
|
|
21
|
-
},
|
|
22
|
-
setup(u) {
|
|
23
|
-
const a = u, c = m(() => a.layout.uischema.control), h = m(() => a.layout.uischema.elements), p = k(
|
|
24
|
-
c,
|
|
25
|
-
"showSubParameters",
|
|
26
|
-
!0
|
|
27
|
-
);
|
|
28
|
-
return (e, z) => (o(), i("div", $, [
|
|
29
|
-
(o(), l(t(d), {
|
|
30
|
-
key: `${e.layout.path}-control`,
|
|
31
|
-
schema: e.layout.schema,
|
|
32
|
-
uischema: c.value,
|
|
33
|
-
path: e.layout.path,
|
|
34
|
-
enabled: e.layout.enabled,
|
|
35
|
-
renderers: e.layout.renderers,
|
|
36
|
-
cells: e.layout.cells
|
|
37
|
-
}, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"])),
|
|
38
|
-
t(p) ? (o(), l(t(w), {
|
|
39
|
-
key: 0,
|
|
40
|
-
"background-color-override": "var(--knime-gray-ultra-light)"
|
|
41
|
-
}, {
|
|
42
|
-
"expand-button": r(({ expand: s }) => [
|
|
43
|
-
n(t(C), {
|
|
44
|
-
class: "settings-button",
|
|
45
|
-
disabled: !e.layout.enabled,
|
|
46
|
-
onClick: s
|
|
47
|
-
}, {
|
|
48
|
-
default: r(() => [
|
|
49
|
-
n(t(S))
|
|
50
|
-
]),
|
|
51
|
-
_: 2
|
|
52
|
-
}, 1032, ["disabled", "onClick"])
|
|
53
|
-
]),
|
|
54
|
-
default: r(() => [
|
|
55
|
-
n(t(g), {
|
|
56
|
-
class: "sub-parameters",
|
|
57
|
-
elements: h.value
|
|
58
|
-
}, {
|
|
59
|
-
default: r(({ element: s, index: y }) => [
|
|
60
|
-
(o(), l(t(d), {
|
|
61
|
-
key: `${e.layout.path}-${y}`,
|
|
62
|
-
schema: e.layout.schema,
|
|
63
|
-
uischema: s,
|
|
64
|
-
path: e.layout.path,
|
|
65
|
-
enabled: e.layout.enabled,
|
|
66
|
-
renderers: e.layout.renderers,
|
|
67
|
-
cells: e.layout.cells
|
|
68
|
-
}, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]))
|
|
69
|
-
]),
|
|
70
|
-
_: 1
|
|
71
|
-
}, 8, ["elements"])
|
|
72
|
-
]),
|
|
73
|
-
_: 1
|
|
74
|
-
})) : f("", !0)
|
|
75
|
-
]));
|
|
76
|
-
}
|
|
77
|
-
}), W = /* @__PURE__ */ _(V, [["__scopeId", "data-v-1c3e309e"]]);
|
|
78
|
-
export {
|
|
79
|
-
W as default
|
|
80
|
-
};
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import { defineComponent as z, useCssVars as L, unref as o, ref as S, computed as r, createElementBlock as c, watch as f, openBlock as u, createCommentVNode as m, createBlock as b, normalizeStyle as U, Fragment as N, renderList as W, createVNode as $, withModifiers as j } from "vue";
|
|
2
|
-
import { E as q, u as A, d as G, f as H } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
|
|
3
|
-
const P = { class: "grid-list" }, R = {
|
|
4
|
-
key: 1,
|
|
5
|
-
class: "checkbox"
|
|
6
|
-
}, T = 7, X = "auto", Z = "Invert selection", D = /* @__PURE__ */ z({
|
|
7
|
-
__name: "GridSelectionControl",
|
|
8
|
-
props: {
|
|
9
|
-
handleChange: { type: Function },
|
|
10
|
-
control: {},
|
|
11
|
-
changeValue: { type: Function },
|
|
12
|
-
disabled: { type: Boolean },
|
|
13
|
-
error: { type: Boolean },
|
|
14
|
-
subText: {},
|
|
15
|
-
onRegisterValidation: { type: Function },
|
|
16
|
-
labelForId: {}
|
|
17
|
-
},
|
|
18
|
-
setup(y) {
|
|
19
|
-
L((e) => ({
|
|
20
|
-
v38af777e: o(x)
|
|
21
|
-
}));
|
|
22
|
-
const i = y, {
|
|
23
|
-
control: { path: V, uischema: { options: k } = {} },
|
|
24
|
-
handleChange: C
|
|
25
|
-
} = i, {
|
|
26
|
-
possibleValues: n = [],
|
|
27
|
-
columnCount: w = T,
|
|
28
|
-
gridWidth: x = X,
|
|
29
|
-
toggleLabel: p = Z,
|
|
30
|
-
renderLastItemAsCheckbox: d = !1
|
|
31
|
-
} = k, l = S(/* @__PURE__ */ new Map()), E = r(() => ({
|
|
32
|
-
"grid-template-columns": `repeat(${w}, 1fr)`
|
|
33
|
-
})), F = r(
|
|
34
|
-
() => n.filter(
|
|
35
|
-
(e, a) => !(d && a === n.length - 1)
|
|
36
|
-
)
|
|
37
|
-
), s = r(
|
|
38
|
-
() => d ? n[n.length - 1] : null
|
|
39
|
-
), B = () => {
|
|
40
|
-
const e = /* @__PURE__ */ new Map();
|
|
41
|
-
l.value.forEach(
|
|
42
|
-
({ active: a }, t) => {
|
|
43
|
-
e.set(t, {
|
|
44
|
-
active: !a
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
), l.value = e;
|
|
48
|
-
}, I = () => {
|
|
49
|
-
const e = /* @__PURE__ */ new Map();
|
|
50
|
-
return n.forEach(({ id: a }) => {
|
|
51
|
-
var t;
|
|
52
|
-
e.set(a, { active: ((t = i.control.data) == null ? void 0 : t.includes(a)) ?? !1 });
|
|
53
|
-
}), e;
|
|
54
|
-
}, g = r(() => {
|
|
55
|
-
const e = [];
|
|
56
|
-
return l.value.forEach(
|
|
57
|
-
({ active: a }, t) => {
|
|
58
|
-
a && e.push(t);
|
|
59
|
-
}
|
|
60
|
-
), e;
|
|
61
|
-
}), M = r(() => i.control.data ?? []), h = r(() => {
|
|
62
|
-
const e = g.value, a = M.value;
|
|
63
|
-
if (e.length !== a.length)
|
|
64
|
-
return !0;
|
|
65
|
-
const t = new Set(a);
|
|
66
|
-
return e.some((v) => !t.has(v));
|
|
67
|
-
});
|
|
68
|
-
return f(
|
|
69
|
-
() => i.control.data,
|
|
70
|
-
() => {
|
|
71
|
-
h.value && (l.value = I());
|
|
72
|
-
},
|
|
73
|
-
{ immediate: !0, deep: !0 }
|
|
74
|
-
), f(
|
|
75
|
-
() => l.value,
|
|
76
|
-
() => {
|
|
77
|
-
h.value && C(V, g.value);
|
|
78
|
-
},
|
|
79
|
-
{ deep: !0 }
|
|
80
|
-
), (e, a) => (u(), c("div", P, [
|
|
81
|
-
o(n).length ? (u(), c("div", {
|
|
82
|
-
key: 0,
|
|
83
|
-
class: "grid-list-container",
|
|
84
|
-
style: U(E.value)
|
|
85
|
-
}, [
|
|
86
|
-
(u(!0), c(N, null, W(F.value, ({ id: t, text: v }) => (u(), b(o(A), {
|
|
87
|
-
key: `grid-item-${t}`,
|
|
88
|
-
modelValue: l.value.get(t).active,
|
|
89
|
-
"onUpdate:modelValue": (_) => l.value.get(t).active = _,
|
|
90
|
-
class: "overwrite-legacy-styles",
|
|
91
|
-
label: v,
|
|
92
|
-
variant: "outlined",
|
|
93
|
-
size: "xsmall"
|
|
94
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label"]))), 128))
|
|
95
|
-
], 4)) : m("", !0),
|
|
96
|
-
o(d) && s.value ? (u(), c("div", R, [
|
|
97
|
-
$(o(G), {
|
|
98
|
-
modelValue: l.value.get(s.value.id).active,
|
|
99
|
-
"onUpdate:modelValue": a[0] || (a[0] = (t) => l.value.get(s.value.id).active = t),
|
|
100
|
-
label: s.value.text
|
|
101
|
-
}, null, 8, ["modelValue", "label"])
|
|
102
|
-
])) : m("", !0),
|
|
103
|
-
o(p) ? (u(), b(o(H), {
|
|
104
|
-
key: 2,
|
|
105
|
-
variant: "outlined",
|
|
106
|
-
size: "xsmall",
|
|
107
|
-
label: o(p),
|
|
108
|
-
"leading-icon": "replace",
|
|
109
|
-
class: "invert overwrite-legacy-styles",
|
|
110
|
-
onClick: j(B, ["prevent"])
|
|
111
|
-
}, null, 8, ["label"])) : m("", !0)
|
|
112
|
-
]));
|
|
113
|
-
}
|
|
114
|
-
}), O = /* @__PURE__ */ q(D, [["__scopeId", "data-v-7c90b0fa"]]);
|
|
115
|
-
export {
|
|
116
|
-
O as default
|
|
117
|
-
};
|
|
@@ -1,63 +0,0 @@
|
|
|
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
|
-
__name: "RadioButtonsWithDescriptionControl",
|
|
5
|
-
props: {
|
|
6
|
-
control: {},
|
|
7
|
-
handleChange: { type: Function },
|
|
8
|
-
changeValue: { type: Function },
|
|
9
|
-
disabled: { type: Boolean },
|
|
10
|
-
labelForId: {},
|
|
11
|
-
error: { type: Boolean },
|
|
12
|
-
subText: {},
|
|
13
|
-
onRegisterValidation: { type: Function }
|
|
14
|
-
},
|
|
15
|
-
setup(a) {
|
|
16
|
-
const n = a, u = r(() => {
|
|
17
|
-
var o;
|
|
18
|
-
return ((o = n.control.schema.oneOf) == null ? void 0 : o.map(({ const: d, title: e, price: v, description: x }) => ({
|
|
19
|
-
id: d,
|
|
20
|
-
text: e,
|
|
21
|
-
price: v,
|
|
22
|
-
description: x
|
|
23
|
-
}))) || [];
|
|
24
|
-
}), p = r(() => !n.control.enabled), i = r(
|
|
25
|
-
() => {
|
|
26
|
-
var o;
|
|
27
|
-
return ((o = n.control.uischema.options) == null ? void 0 : o.footnote) || null;
|
|
28
|
-
}
|
|
29
|
-
), m = (o) => {
|
|
30
|
-
n.changeValue(o);
|
|
31
|
-
};
|
|
32
|
-
return (o, d) => (l(), t(c, null, [
|
|
33
|
-
(l(!0), t(c, null, T(u.value, (e) => (l(), t("label", {
|
|
34
|
-
key: `radio-${e.id}`,
|
|
35
|
-
class: "radio-wrapper"
|
|
36
|
-
}, [
|
|
37
|
-
V(h(H), {
|
|
38
|
-
class: "radio-button",
|
|
39
|
-
"model-value": a.control.data === e.id,
|
|
40
|
-
text: e.text,
|
|
41
|
-
disabled: p.value,
|
|
42
|
-
"onUpdate:modelValue": () => m(e.id)
|
|
43
|
-
}, null, 8, ["model-value", "text", "disabled", "onUpdate:modelValue"]),
|
|
44
|
-
s("div", {
|
|
45
|
-
class: "description",
|
|
46
|
-
innerHTML: e.description
|
|
47
|
-
}, null, 8, L),
|
|
48
|
-
s("div", {
|
|
49
|
-
class: y(["price", { selected: a.control.data === e.id }]),
|
|
50
|
-
innerHTML: e.price
|
|
51
|
-
}, null, 10, g)
|
|
52
|
-
]))), 128)),
|
|
53
|
-
i.value ? (l(), t("div", {
|
|
54
|
-
key: 0,
|
|
55
|
-
class: "footnote",
|
|
56
|
-
innerHTML: i.value
|
|
57
|
-
}, null, 8, M)) : f("", !0)
|
|
58
|
-
], 64));
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
export {
|
|
62
|
-
F as default
|
|
63
|
-
};
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { defineComponent as v, computed as u, ref as f, createElementBlock as y, openBlock as c, createVNode as a, withCtx as o, createBlock as k, unref as s, createElementVNode as i, renderSlot as x, toDisplayString as _ } from "vue";
|
|
2
|
-
import { E as g, _ as B, v as S, n as w, o as C, q as E } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
|
|
3
|
-
import { i as V } from "./arrow-next-BQULX8HT-DDsCfA5A.js";
|
|
4
|
-
const $ = { class: "flex-row" }, L = /* @__PURE__ */ v({
|
|
5
|
-
__name: "SettingsSubPanelLayout",
|
|
6
|
-
props: {
|
|
7
|
-
layout: {}
|
|
8
|
-
},
|
|
9
|
-
setup(e) {
|
|
10
|
-
const d = e, r = u(() => d.layout.uischema.options ?? {}), m = u(() => r.value.setText ?? "Set"), p = u(
|
|
11
|
-
() => r.value.backButtonLabel ?? "Back to node configuration"
|
|
12
|
-
), n = f(!1);
|
|
13
|
-
return (b, l) => (c(), y("div", {
|
|
14
|
-
onMouseover: l[0] || (l[0] = (t) => n.value = !0),
|
|
15
|
-
onMouseleave: l[1] || (l[1] = (t) => n.value = !1)
|
|
16
|
-
}, [
|
|
17
|
-
a(B, {
|
|
18
|
-
"show-back-arrow": "",
|
|
19
|
-
"back-button-label": p.value,
|
|
20
|
-
"background-color-override": "var(--knime-gray-ultra-light)"
|
|
21
|
-
}, {
|
|
22
|
-
"expand-button": o(({ expand: t }) => [
|
|
23
|
-
a(C, {
|
|
24
|
-
"title-text": e.layout.uischema.label
|
|
25
|
-
}, {
|
|
26
|
-
"right-buttons": o(() => [
|
|
27
|
-
i("div", $, [
|
|
28
|
-
x(b.$slots, "buttons", { hover: n.value }, void 0, !0),
|
|
29
|
-
a(s(E), {
|
|
30
|
-
compact: "",
|
|
31
|
-
class: "set-button",
|
|
32
|
-
onClick: t
|
|
33
|
-
}, {
|
|
34
|
-
default: o(() => [
|
|
35
|
-
i("span", null, _(m.value), 1),
|
|
36
|
-
a(s(V))
|
|
37
|
-
]),
|
|
38
|
-
_: 1
|
|
39
|
-
}, 8, ["onClick"])
|
|
40
|
-
])
|
|
41
|
-
]),
|
|
42
|
-
_: 2
|
|
43
|
-
}, 1032, ["title-text"])
|
|
44
|
-
]),
|
|
45
|
-
default: o(() => [
|
|
46
|
-
a(S, {
|
|
47
|
-
elements: e.layout.uischema.elements
|
|
48
|
-
}, {
|
|
49
|
-
default: o(({ element: t, index: h }) => [
|
|
50
|
-
(c(), k(s(w), {
|
|
51
|
-
key: `${e.layout.path}-${h}`,
|
|
52
|
-
schema: e.layout.schema,
|
|
53
|
-
uischema: t,
|
|
54
|
-
path: e.layout.path,
|
|
55
|
-
enabled: e.layout.enabled,
|
|
56
|
-
renderers: e.layout.renderers,
|
|
57
|
-
cells: e.layout.cells
|
|
58
|
-
}, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]))
|
|
59
|
-
]),
|
|
60
|
-
_: 1
|
|
61
|
-
}, 8, ["elements"])
|
|
62
|
-
]),
|
|
63
|
-
_: 3
|
|
64
|
-
}, 8, ["back-button-label"])
|
|
65
|
-
], 32));
|
|
66
|
-
}
|
|
67
|
-
}), q = /* @__PURE__ */ g(L, [["__scopeId", "data-v-7ec268f9"]]);
|
|
68
|
-
export {
|
|
69
|
-
q as default
|
|
70
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { createElementBlock as o, openBlock as n, createElementVNode as t } from "vue";
|
|
2
|
-
const r = {
|
|
3
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
-
fill: "none",
|
|
5
|
-
stroke: "#000",
|
|
6
|
-
"stroke-linejoin": "round",
|
|
7
|
-
viewBox: "0 0 32 32"
|
|
8
|
-
};
|
|
9
|
-
function l(s, e) {
|
|
10
|
-
return n(), o("svg", r, [...e[0] || (e[0] = [
|
|
11
|
-
t("path", { d: "m10.5 5 11 11-11 11" }, null, -1)
|
|
12
|
-
])]);
|
|
13
|
-
}
|
|
14
|
-
const i = { render: l };
|
|
15
|
-
export {
|
|
16
|
-
i
|
|
17
|
-
};
|
|
File without changes
|