@knime/scripting-editor 0.0.129 → 0.0.131
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AnyOfTwinlist-Chx0nmt3-DPMbiVZd.js → AnyOfTwinlist-DEv6xgTn-BV0O3had.js} +1 -1
- package/dist/{ArrayLayout-C2-4wxkT.js → ArrayLayout-xpUEX4UY.js} +54 -54
- package/dist/{ButtonControl-Dga3IomB.js → ButtonControl-BFG84O1r.js} +11 -11
- package/dist/{CheckboxControl-B8b1Di4k-CEkOsWEu.js → CheckboxControl-Yqf7_a5P--lSSti7m.js} +5 -5
- package/dist/{CheckboxesControl-DWUnPGdN-BOSX_stf.js → CheckboxesControl-Cx7qUDbd-ByGOCDtp.js} +2 -2
- package/dist/{CodeEditorControl-CN4ltMvy.js → CodeEditorControl-DAfgzg-h.js} +3 -3
- package/dist/{ColorControl-ByE5ku7u-C12pZ0rg.js → ColorControl-BjIoBGby-B54hb0gK.js} +1 -1
- package/dist/{ColorPreviewControl-XiKZ4jfn-CLIjX6M_.js → ColorPreviewControl-Cmpb3_o4--muSe_be.js} +9 -9
- package/dist/{ComboBoxControl-zSceYlyZ-BgpAi7q9.js → ComboBoxControl-DJsbSwD6-xuE8rZyf.js} +7 -7
- package/dist/{ConfigurationNodeNotSupported-B27grebd.js → ConfigurationNodeNotSupported-Bkfoi87W.js} +3 -3
- package/dist/{ControlWithSubParameters-ROJGaqDF.js → ControlWithSubParameters-B9TiQfTU.js} +12 -12
- package/dist/{CredentialsControl-B6jczlBv.js → CredentialsControl-CqulYPUL.js} +4 -4
- package/dist/{CredentialsControlBase-CdNdAngd.js → CredentialsControlBase-x4zTZK8u.js} +19 -19
- package/dist/{DateControl-BBGpEVpr-yZP_TZnE.js → DateControl-CcuCk97j-CdiO3xtM.js} +1 -1
- package/dist/{DateTimeControl-CymOURq5-Ca0mT1HW.js → DateTimeControl-CuB6aWlL-CgLiloF4.js} +3 -3
- package/dist/{DateTimeFormatPickerControl-Bx19jwpr-Bd0xBs4D.js → DateTimeFormatPickerControl-CpaOPUR6-J_PpzzAB.js} +1 -1
- package/dist/{DateTimeFormatPickerWithTypeControl-Byo_0cTq-C0ZfMqtp.js → DateTimeFormatPickerWithTypeControl-BQKDIoYn-Vw11sEhI.js} +65 -65
- package/dist/{DialogFileExplorer-BmT2YlVn.js → DialogFileExplorer-CiOfUL_M.js} +33 -33
- package/dist/{DirtyTrackerRenderer-BG451zZD.js → DirtyTrackerRenderer-6k1ego1B.js} +1 -1
- package/dist/{DropdownControl-C6ffVYyf-hy0i8nDV.js → DropdownControl-CpSZxjr1-C804I9fG.js} +2 -2
- package/dist/DynamicInputControl-Bc99HU8j.js +6 -0
- package/dist/{ExecutorCoresControl-D9FZ-g9O-Dws9IhAs.js → ExecutorCoresControl-DoG2-XCx-BC0pTSv1.js} +8 -8
- package/dist/{ExecutorMemoryControl-__P80Lkb-DxQZ2IuA.js → ExecutorMemoryControl-DqYRmLt2-DgmK5cxY.js} +7 -7
- package/dist/{FileChooserControl-BBbay7zU.js → FileChooserControl-Cv9Nvwrw.js} +2 -2
- package/dist/{FileChooserControlBase-DpYYK3eE.js → FileChooserControlBase-C4WoqeuQ.js} +50 -50
- package/dist/{FileChooserControlForMultiFile-6NLYZKbt.js → FileChooserControlForMultiFile-DJydfSjI.js} +1 -1
- package/dist/{FileUploadControl-DWs4PhOj-BvByW-Tq.js → FileUploadControl-IAwE26IH-LLTdmWyW.js} +52 -52
- package/dist/{GridSelectionControl-WcJ4y6Fs-BoxSk0VG.js → GridSelectionControl-DUVIpMsY-CuyLvikR.js} +27 -27
- package/dist/{HorizontalLayout-ByB5A7X3-BURAMMFG.js → HorizontalLayout-92oHZT6R--JjwD9hI.js} +2 -2
- package/dist/{IntegerControl-aveswmbr-50_b6vGY.js → IntegerControl-B2TyUPGu-BLpffmEs.js} +1 -1
- package/dist/{IntervalControl-B4Eqs1Jf-CiB2D52B.js → IntervalControl-BbIwNXK3-DcVnnDMh.js} +13 -13
- package/dist/{LabeledGroup-BONZ_GLo.js → LabeledGroup-oOuEM_pN.js} +2 -2
- package/dist/{LegacyCredentialsControl-DaIrvNBd.js → LegacyCredentialsControl-DAZOUpou.js} +8 -8
- package/dist/{LinkControl-DD56lOiw-CDy6OBu8.js → LinkControl-Cmk_qiO_-CF2rBAA7.js} +8 -8
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-CscatDmg-BaroyBA0.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-C0YzJo8M-DJVLdb5q.js} +1 -1
- package/dist/{ManualTwinlistControl-DBZ5RZgW-BV5qOGau.js → ManualTwinlistControl-DTl3XPje-CnoltRZh.js} +3 -3
- package/dist/{MultiFileChooserControl-cyndOpF7.js → MultiFileChooserControl-1YghP5YI.js} +21 -21
- package/dist/{MultiRuleWrapper-Db-W_o1f.js → MultiRuleWrapper-BnwWI1WL.js} +1 -1
- package/dist/{MultiSelectListBoxControl-BMsPvxGQ-5ua-fVR8.js → MultiSelectListBoxControl-DIV0UiGV-CN3b9J9V.js} +31 -31
- package/dist/{MultimodeTwinlistControl-thO1be1r-8kc-JSH1.js → MultimodeTwinlistControl-F1L7mwSB-GnzFL4Xl.js} +3 -3
- package/dist/{NameFilter-DBMVmZmk-DnB-5f39.js → NameFilter-Crwz1wiJ-CU1s2b7c.js} +1 -1
- package/dist/{NumberControl-BPVO5l6t--nrQcx4m.js → NumberControl-CTycpm1q-SsW1E9e6.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-CR61f6d6-Df5EPyns.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CRNO3Yp4-DIZHQaJH.js} +4 -4
- package/dist/{OneOfDropdown-DBG8ZcpV-cZs_ptrT.js → OneOfDropdown-B7KrUOWD-DAFKZmqZ.js} +1 -1
- package/dist/{RadioButtonsWithDescriptionControl-BsqMTEB5-COGPhNPs.js → RadioButtonsWithDescriptionControl-UmWLsOmL-BjelKrcC.js} +18 -18
- package/dist/{RadioControl-ClJmr0EQ-BzjoXaZ3.js → RadioControl-BAoCJNMH-VuiN6M_V.js} +1 -1
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-Bm4EUEvw-Cabfycg_.js → RadioControlBase.vue_vue_type_script_setup_true_lang-DKx6ts7n-BNr3sbHh.js} +2 -2
- package/dist/{ResourceControlBase-CeXYJeR1-DSmxhV0s.js → ResourceControlBase-97R2-qQ7-BBi11JJj.js} +32 -32
- package/dist/{RichTextControl-DvYkBpzH-CtMZq2re.js → RichTextControl-D4ItwmZa-CV9QLVR2.js} +2 -2
- package/dist/{SectionLayout-CwRO3UXc-d5rFpCRN.js → SectionLayout-DS6gpiV1-BN6brreP.js} +9 -9
- package/dist/{SettingsSubPanelLayout-CV6y2bcX-OzpF07vB.js → SettingsSubPanelLayout-CJeD408x-yH9r1jii.js} +1 -1
- package/dist/{SimpleTwinlistControl-BSON5VYy-BaAaU86G.js → SimpleTwinlistControl-L1tY6QlY-Dvmt0hp3.js} +2 -2
- package/dist/{SingleSelectControl-BSqORMYm-CBP_mVGB.js → SingleSelectControl-Ce9RLMjD-CTQ6TVF0.js} +2 -2
- package/dist/{SingleSelectListBoxControl-CFdKzbOK-CruT9yt-.js → SingleSelectListBoxControl-Dv-XXwO4-BrMTb8AD.js} +3 -3
- package/dist/{SortListControl-DZIHeQmn-CKRyT1hN.js → SortListControl-BlsAnJjH-tbIOGxZ_.js} +10 -10
- package/dist/{StringFileChooserControl-Br8gZTku.js → StringFileChooserControl-BUYM9fmT.js} +3 -3
- package/dist/{StyledListItem--sgmJ3W_-Bo6f-_9B.js → StyledListItem-DjdZOUWD-BMILJImI.js} +1 -1
- package/dist/{TeamAndSpacesControl-DiMyDT-5-Br-Lq0ki.js → TeamAndSpacesControl-CEdzSJPJ-45d6LeCk.js} +13 -13
- package/dist/{TeamResourceControl-Bag_dwA1-PdtnhxEi.js → TeamResourceControl-Cd0UTItF-Coo1MGve.js} +1 -1
- package/dist/{TextAreaControl-B52P0DAa-McfOgZWn.js → TextAreaControl-B-AfgqCE-BxgZnZ7G.js} +1 -1
- package/dist/TextControl-DfrjuKwf-2f9eJp4g.js +54247 -0
- package/dist/{TimeControl-Cu12_qpz-CK1bxhya.js → TimeControl-DOs9b4bm-B7dozTCB.js} +1 -1
- package/dist/{TimeframesControl-DhdC8OS1-DYseJbBV.js → TimeframesControl-4JGOYGkE-DfsHVFg9.js} +8 -8
- package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-t1I2qxJz-DU6yd1RM.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-C_u035me-DAGCRygG.js} +2 -2
- package/dist/{TypedStringFilter-zJOICQei-B-5z8atp.js → TypedStringFilter-C6N8H2Xj-CI1wXgVk.js} +1 -1
- package/dist/{ValueSwitchControl-CEVWJH7z-DzuxqLvy.js → ValueSwitchControl-BO6x8fsi-B4Fuvawe.js} +1 -1
- package/dist/{VennDiagramLayout-DyTZ5EJ9.js → VennDiagramLayout-HkmFaxWm.js} +42 -42
- package/dist/{VerticalLayout-D_13xb_m-BfU1M3IE.js → VerticalLayout-AMSQYCUV-HYDBzl_2.js} +5 -5
- package/dist/{ZonedDateTimeControl-C-vO6fC1-XngmuFqW.js → ZonedDateTimeControl-1lHvcaQc-X46S4Ze5.js} +14 -14
- package/dist/{ai-bar-DDtzX23v.js → ai-bar-CsJhfKpB.js} +132 -111
- package/dist/auto-configure-BU7AIhL7-DE_6PIkb.js +22 -0
- package/dist/auto-configure-BU7AIhL7-DLFpEOFL.js +22 -0
- package/dist/cell-renderer-DGnkQWTq-DNy5Gelw.js +22 -0
- package/dist/cell-renderer-DGnkQWTq-KxiKOXy8.js +22 -0
- package/dist/cell-renderer-DGnkQWTq-S8TXb3dZ-DdvVP9ON.js +22 -0
- package/dist/column-width-Cjb-6nqI-BiwF2Fo6.js +22 -0
- package/dist/column-width-Cjb-6nqI-CjSkGKDp.js +22 -0
- package/dist/column-width-Cjb-6nqI-DQNnYUv--CdTB6acc.js +22 -0
- package/dist/{copy-DAYm6-mo-BpCGSMKR.js → copy-D43FaHi--BZ5AZnoF.js} +2 -2
- package/dist/{copy-DAYm6-mo-Dl2ExZqW.js → copy-D43FaHi--_rKoTTiD.js} +2 -2
- package/dist/duplicate-Mtq886XD-B74_P6q_.js +22 -0
- package/dist/duplicate-Mtq886XD-D99AWOtC.js +22 -0
- package/dist/folder-move-6L5NfoIs-0YMKVtTx.js +22 -0
- package/dist/folder-move-6L5NfoIs-0hcyIJwE.js +22 -0
- package/dist/initial-data-service-browser-mock.js +47 -18
- package/dist/linked-component-BOb5aj87-Ca_6IaxH.js +22 -0
- package/dist/linked-component-BOb5aj87-CwLntkxi.js +22 -0
- package/dist/main.js +12500 -9495
- package/dist/parameters.js +1 -1
- package/dist/path-separator-DRnUilGA-CKpP4SMF.js +22 -0
- package/dist/path-separator-DRnUilGA-CyCV3Plv-CL0w7lk2.js +22 -0
- package/dist/path-separator-DRnUilGA-DOTNAKkO.js +22 -0
- package/dist/src/components/InputOutputItem.vue.d.ts +21 -0
- package/dist/src/components/TemporaryValuePanel.vue.d.ts +7 -26
- package/dist/src/components/TemporaryValuePanelHeader.vue.d.ts +1 -0
- package/dist/src/components/ai-assistant/AiButton.vue.d.ts +24 -4
- package/dist/src/scripting-service.d.ts +16 -1
- package/dist/table-statistics-y-P6EXGX-BWJsLgcD.js +22 -0
- package/dist/table-statistics-y-P6EXGX-DppblZjy.js +22 -0
- package/dist/table-statistics-y-P6EXGX-Dr_wYI1l-BswNMs4S.js +22 -0
- package/dist/{useFileChooserBackend-CLdJ1RU1.js → useFileChooserBackend-uDGm68hp.js} +1 -1
- package/dist/{usePossibleValues-DiYOmnZW-CaSLjdK-.js → usePossibleValues-CsJuQ591-r_2wYQe_.js} +2 -2
- package/package.json +3 -3
- package/dist/DynamicInputControl-W23Zexge.js +0 -6
- package/dist/TextControl-52n-sttB-DssWw4KP.js +0 -50962
- /package/dist/{useUnknownValuesInTwinlist-BhhirtmX-D2ve7iXH.js → useUnknownValuesInTwinlist-DuLcQlCx-D2ve7iXH.js} +0 -0
package/dist/parameters.js
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
stroke: "currentColor",
|
|
6
|
+
"stroke-linecap": "round",
|
|
7
|
+
"stroke-linejoin": "round",
|
|
8
|
+
viewBox: "0 0 12 12"
|
|
9
|
+
};
|
|
10
|
+
function l(s, e) {
|
|
11
|
+
return t(), o("svg", n, [...e[0] || (e[0] = [
|
|
12
|
+
r("path", {
|
|
13
|
+
d: "m4.5 10 2.75-8",
|
|
14
|
+
"vector-effect": "non-scaling-stroke"
|
|
15
|
+
}, null, -1)
|
|
16
|
+
])]);
|
|
17
|
+
}
|
|
18
|
+
const a = { render: l };
|
|
19
|
+
export {
|
|
20
|
+
a as default,
|
|
21
|
+
l as render
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createElementBlock as n, openBlock as o, createElementVNode as r } from "vue";
|
|
2
|
+
const t = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
stroke: "currentColor",
|
|
6
|
+
"stroke-linecap": "round",
|
|
7
|
+
"stroke-linejoin": "round",
|
|
8
|
+
viewBox: "0 0 12 12"
|
|
9
|
+
};
|
|
10
|
+
function l(s, e) {
|
|
11
|
+
return o(), n("svg", t, [...e[0] || (e[0] = [
|
|
12
|
+
r("path", {
|
|
13
|
+
d: "m4.5 10 2.75-8",
|
|
14
|
+
"vector-effect": "non-scaling-stroke"
|
|
15
|
+
}, null, -1)
|
|
16
|
+
])]);
|
|
17
|
+
}
|
|
18
|
+
const a = { render: l };
|
|
19
|
+
export {
|
|
20
|
+
a as default,
|
|
21
|
+
l as render
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
stroke: "currentColor",
|
|
6
|
+
"stroke-linecap": "round",
|
|
7
|
+
"stroke-linejoin": "round",
|
|
8
|
+
viewBox: "0 0 12 12"
|
|
9
|
+
};
|
|
10
|
+
function l(s, e) {
|
|
11
|
+
return t(), o("svg", n, [...e[0] || (e[0] = [
|
|
12
|
+
r("path", {
|
|
13
|
+
d: "m4.5 10 2.75-8",
|
|
14
|
+
"vector-effect": "non-scaling-stroke"
|
|
15
|
+
}, null, -1)
|
|
16
|
+
])]);
|
|
17
|
+
}
|
|
18
|
+
const a = { render: l };
|
|
19
|
+
export {
|
|
20
|
+
a as default,
|
|
21
|
+
l as render
|
|
22
|
+
};
|
|
@@ -60,6 +60,27 @@ export type InputOutputModel = {
|
|
|
60
60
|
* List of SubItems for this I/O-Object
|
|
61
61
|
*/
|
|
62
62
|
subItems?: SubItem<Record<string, any>>[];
|
|
63
|
+
/**
|
|
64
|
+
* Imperative insertion hook. When set, this replaces the Handlebars
|
|
65
|
+
* `subItemCodeAliasTemplate` for double-click, Enter, and drag insertions:
|
|
66
|
+
* the returned `insertionText` is what gets inserted.
|
|
67
|
+
*
|
|
68
|
+
* For double-click and Enter insertions, `onInsertion` (if present) fires
|
|
69
|
+
* immediately after the insertion event is dispatched. For drag insertions,
|
|
70
|
+
* `onInsertion` is deferred until dragend on a successful drop.
|
|
71
|
+
*
|
|
72
|
+
* This API is intended to be a self-contained replacement for the
|
|
73
|
+
* Handlebars template — consumers that need side effects (e.g., injecting
|
|
74
|
+
* imports, mutating dialog state) should drive them from `onInsertion`.
|
|
75
|
+
*
|
|
76
|
+
* `requiredImport` is orthogonal to this hook: it is still threaded
|
|
77
|
+
* separately through the insertion event's `extraArgs`, not returned from
|
|
78
|
+
* the handler.
|
|
79
|
+
*/
|
|
80
|
+
getInsertionHandler?: (subItems: SubItem<Record<string, any>>[]) => {
|
|
81
|
+
insertionText: string;
|
|
82
|
+
onInsertion?: () => void;
|
|
83
|
+
};
|
|
63
84
|
};
|
|
64
85
|
export declare const INPUT_OUTPUT_DRAG_EVENT_ID = "input_output_drag_event";
|
|
65
86
|
export declare const COLUMN_INSERTION_EVENT = "columnInsertion";
|
|
@@ -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;
|
|
@@ -2,6 +2,7 @@ import { MonacoLSPConnection } from '@knime/core-ui/src/nodeDialog/uiComponents/
|
|
|
2
2
|
import { AlertParams, AlertingService, JsonDataService } from '@knime/ui-extension-service';
|
|
3
3
|
import { PortConfig } from './initial-data-service';
|
|
4
4
|
import { PublicAPI } from './types/public-api';
|
|
5
|
+
import type * as monaco from "monaco-editor";
|
|
5
6
|
type UnknownUsageData = {
|
|
6
7
|
type: "UNKNOWN";
|
|
7
8
|
};
|
|
@@ -49,7 +50,21 @@ export declare class ScriptingService {
|
|
|
49
50
|
}): Promise<unknown>;
|
|
50
51
|
getOutputPreviewTableInitialData(): Promise<string | undefined>;
|
|
51
52
|
registerEventHandler(type: string, handler: (args: any) => void): void;
|
|
52
|
-
|
|
53
|
+
/**
|
|
54
|
+
* Connect this scripting service's language server to a Monaco model.
|
|
55
|
+
*
|
|
56
|
+
* @param editorModel the model the LSP should drive (completions, diagnostics,
|
|
57
|
+
* etc.). If omitted, falls back to `useMainCodeEditorStore().value?.editorModel`
|
|
58
|
+
* for backwards compatibility with consumers that register their editor as
|
|
59
|
+
* the main code editor. New consumers should pass the model explicitly so
|
|
60
|
+
* the scripting service doesn't depend on the main-editor singleton.
|
|
61
|
+
*
|
|
62
|
+
* TODO move this logic somewhere else to remove the dependency from the
|
|
63
|
+
* scripting-service to the main editor state. The explicit `editorModel`
|
|
64
|
+
* param is a halfway step — the fallback still couples this service to the
|
|
65
|
+
* main-editor singleton.
|
|
66
|
+
*/
|
|
67
|
+
connectToLanguageServer(editorModel?: monaco.editor.ITextModel): Promise<MonacoLSPConnection>;
|
|
53
68
|
isCallKnimeUiApiAvailable(portToTestFor: PortConfig): Promise<boolean>;
|
|
54
69
|
isKaiEnabled(): Promise<boolean>;
|
|
55
70
|
isLoggedIntoHub(): Promise<boolean>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createElementBlock as t, openBlock as o, createElementVNode as n } from "vue";
|
|
2
|
+
const r = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
stroke: "currentColor",
|
|
6
|
+
"stroke-linecap": "round",
|
|
7
|
+
"stroke-linejoin": "round",
|
|
8
|
+
viewBox: "0 0 12 12"
|
|
9
|
+
};
|
|
10
|
+
function l(s, e) {
|
|
11
|
+
return o(), t("svg", r, [...e[0] || (e[0] = [
|
|
12
|
+
n("path", {
|
|
13
|
+
d: "M4.286 8.453V4.646M6 8.453v-.761m1.714.761V6.169M3.531 1.25h-.388A1.14 1.14 0 0 0 2 2.395v7.462C2 10.488 2.512 11 3.143 11h5.714C9.488 11 10 10.488 10 9.857V2.395A1.146 1.146 0 0 0 8.857 1.25h-.326m-5 0c0 .354.287.64.64.64h3.72a.64.64 0 0 0 .64-.64m-5 0a.61.61 0 0 1 .61-.61h3.78a.61.61 0 0 1 .61.61",
|
|
14
|
+
"vector-effect": "non-scaling-stroke"
|
|
15
|
+
}, null, -1)
|
|
16
|
+
])]);
|
|
17
|
+
}
|
|
18
|
+
const a = { render: l };
|
|
19
|
+
export {
|
|
20
|
+
a as default,
|
|
21
|
+
l as render
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createElementBlock as t, openBlock as o, createElementVNode as n } from "vue";
|
|
2
|
+
const r = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
stroke: "currentColor",
|
|
6
|
+
"stroke-linecap": "round",
|
|
7
|
+
"stroke-linejoin": "round",
|
|
8
|
+
viewBox: "0 0 12 12"
|
|
9
|
+
};
|
|
10
|
+
function l(s, e) {
|
|
11
|
+
return o(), t("svg", r, [...e[0] || (e[0] = [
|
|
12
|
+
n("path", {
|
|
13
|
+
d: "M4.286 8.453V4.646M6 8.453v-.761m1.714.761V6.169M3.531 1.25h-.388A1.14 1.14 0 0 0 2 2.395v7.462C2 10.488 2.512 11 3.143 11h5.714C9.488 11 10 10.488 10 9.857V2.395A1.146 1.146 0 0 0 8.857 1.25h-.326m-5 0c0 .354.287.64.64.64h3.72a.64.64 0 0 0 .64-.64m-5 0a.61.61 0 0 1 .61-.61h3.78a.61.61 0 0 1 .61.61",
|
|
14
|
+
"vector-effect": "non-scaling-stroke"
|
|
15
|
+
}, null, -1)
|
|
16
|
+
])]);
|
|
17
|
+
}
|
|
18
|
+
const a = { render: l };
|
|
19
|
+
export {
|
|
20
|
+
a as default,
|
|
21
|
+
l as render
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as n, createElementVNode as r } from "vue";
|
|
2
|
+
const t = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
stroke: "currentColor",
|
|
6
|
+
"stroke-linecap": "round",
|
|
7
|
+
"stroke-linejoin": "round",
|
|
8
|
+
viewBox: "0 0 12 12"
|
|
9
|
+
};
|
|
10
|
+
function l(c, e) {
|
|
11
|
+
return n(), o("svg", t, [...e[0] || (e[0] = [
|
|
12
|
+
r("path", {
|
|
13
|
+
d: "M4.286 8.453V4.646M6 8.453v-.761m1.714.761V6.169M3.531 1.25h-.388A1.14 1.14 0 0 0 2 2.395v7.462C2 10.488 2.512 11 3.143 11h5.714C9.488 11 10 10.488 10 9.857V2.395A1.146 1.146 0 0 0 8.857 1.25h-.326m-5 0c0 .354.287.64.64.64h3.72a.64.64 0 0 0 .64-.64m-5 0a.61.61 0 0 1 .61-.61h3.78a.61.61 0 0 1 .61.61",
|
|
14
|
+
"vector-effect": "non-scaling-stroke"
|
|
15
|
+
}, null, -1)
|
|
16
|
+
])]);
|
|
17
|
+
}
|
|
18
|
+
const a = { render: l };
|
|
19
|
+
export {
|
|
20
|
+
a as default,
|
|
21
|
+
l as render
|
|
22
|
+
};
|
|
@@ -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 { n as L, z as A } from "./TextControl-DfrjuKwf-2f9eJp4g.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 ?? [
|
package/dist/{usePossibleValues-DiYOmnZW-CaSLjdK-.js → usePossibleValues-CsJuQ591-r_2wYQe_.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed as s } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { n } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
|
|
3
3
|
const c = (o, e) => {
|
|
4
|
-
const l = s(() => o.value.uischema), u =
|
|
4
|
+
const l = s(() => o.value.uischema), u = n(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);
|
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.131",
|
|
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.29.1",
|
|
15
|
+
"@knime/kds-styles": "0.29.1",
|
|
16
16
|
"@knime/styles": "1.15.1",
|
|
17
17
|
"@knime/ui-extension-renderer": "2.5.19",
|
|
18
18
|
"@knime/utils": "1.11.0",
|