@knime/scripting-editor 0.0.81 → 0.0.82
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/initial-data-service-browser-mock.js +22 -10
- package/dist/lib/main.d.ts +2 -2
- package/dist/main.js +6 -6
- package/dist/node_modules/@knime/components/src/components/Buttons/Button.vue.d.ts +131 -0
- package/dist/node_modules/@knime/components/src/components/Buttons/PlusButton.vue.d.ts +28 -0
- package/dist/node_modules/@knime/components/src/components/Buttons/SplitButton.vue.d.ts +9 -0
- package/dist/node_modules/@knime/components/src/components/Carousel/Carousel.vue.d.ts +22 -0
- package/dist/node_modules/@knime/components/src/components/FileExplorer/components/FileExplorer.vue.d.ts +216 -0
- package/dist/node_modules/@knime/components/src/components/FileExplorer/components/FileExplorerContextMenu.vue.d.ts +40 -0
- package/dist/node_modules/@knime/components/src/components/FileExplorer/components/FileExplorerItem.vue.d.ts +78 -0
- package/dist/node_modules/@knime/components/src/components/FileExplorer/components/FileExplorerItemBack.vue.d.ts +12 -0
- package/dist/node_modules/@knime/components/src/components/FileExplorer/components/FileExplorerItemBase.vue.d.ts +20 -0
- package/dist/node_modules/@knime/components/src/components/LinkList/LinkList.vue.d.ts +27 -0
- package/dist/node_modules/@knime/components/src/components/Modal/Modal.vue.d.ts +66 -0
- package/dist/node_modules/@knime/components/src/components/Pill/Pill.vue.d.ts +36 -0
- package/dist/node_modules/@knime/components/src/components/SubMenu/SubMenu.vue.d.ts +199 -0
- package/dist/node_modules/@knime/components/src/components/Tag/Tag.vue.d.ts +45 -0
- package/dist/node_modules/@knime/components/src/components/Tag/TagList.vue.d.ts +82 -0
- package/dist/node_modules/@knime/components/src/components/Toast/components/Toast.vue.d.ts +51 -0
- package/dist/node_modules/@knime/components/src/components/Toast/components/ToastButton.vue.d.ts +27 -0
- package/dist/node_modules/@knime/components/src/components/Toast/components/ToastStack.vue.d.ts +30 -0
- package/dist/node_modules/@knime/components/src/components/base/Button/BaseButton.vue.d.ts +90 -0
- package/dist/node_modules/@knime/components/src/components/base/MenuItem/BaseMenuItem.vue.d.ts +28 -0
- package/dist/node_modules/@knime/components/src/components/base/MenuItem/BaseMenuItemText.vue.d.ts +19 -0
- package/dist/node_modules/@knime/components/src/components/base/MenuItem/BaseMenuItems.vue.d.ts +123 -0
- package/dist/node_modules/@knime/components/src/components/base/MenuItem/MenuItems.vue.d.ts +96 -0
- package/dist/node_modules/@knime/components/src/components/base/Modal/BaseModal.vue.d.ts +66 -0
- package/dist/node_modules/@knime/components/src/components/forms/ComboBox/ComboBox.vue.d.ts +150 -0
- package/dist/node_modules/@knime/components/src/components/forms/Dropdown/Dropdown.vue.d.ts +203 -0
- package/dist/node_modules/@knime/components/src/components/forms/MultiModeTwinlist/MultiModeTwinlist.vue.d.ts +299 -0
- package/dist/node_modules/@knime/components/src/components/forms/MultiselectListBox/MultiselectListBox.vue.d.ts +279 -0
- package/dist/node_modules/@knime/components/src/components/forms/NumberInput/NumberInput.vue.d.ts +166 -0
- package/dist/node_modules/@knime/components/src/components/forms/QuantityInput/QuantityInput.vue.d.ts +45 -0
- package/dist/node_modules/@knime/components/src/components/forms/RadioButtons/BaseRadioButtons.vue.d.ts +66 -0
- package/dist/node_modules/@knime/components/src/components/forms/SearchableCheckboxes/SearchableCheckboxes.vue.d.ts +267 -0
- package/dist/node_modules/@knime/components/src/components/forms/SearchableList/SearchableList.vue.d.ts +285 -0
- package/dist/node_modules/@knime/components/src/components/forms/SortList/SortList.vue.d.ts +26 -0
- package/dist/node_modules/@knime/components/src/components/forms/Twinlist/Twinlist.vue.d.ts +381 -0
- package/dist/node_modules/@knime/components/src/components/forms/ValueSwitch/ValueSwitch.vue.d.ts +65 -0
- package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtIFrame.vue.d.ts +27 -0
- package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtShadowApp.vue.d.ts +41 -0
- package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtension.vue.d.ts +49 -0
- package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtensionAlerts.vue.d.ts +34 -0
- package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtensionErrorOverlay.vue.d.ts +41 -0
- package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtensionWarningButton.vue.d.ts +34 -0
- package/dist/src/initial-data-service-browser-mock.d.ts +2 -1
- package/dist/src/initial-data-service.d.ts +14 -1
- package/package.json +1 -1
|
@@ -20,6 +20,17 @@ const o = [
|
|
|
20
20
|
}
|
|
21
21
|
]
|
|
22
22
|
}
|
|
23
|
+
], n = [
|
|
24
|
+
{
|
|
25
|
+
// flow variable port
|
|
26
|
+
status: "OK",
|
|
27
|
+
isOptional: !0
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
// input port
|
|
31
|
+
status: "OK",
|
|
32
|
+
isOptional: !1
|
|
33
|
+
}
|
|
23
34
|
], r = [
|
|
24
35
|
{
|
|
25
36
|
name: "Output table 1",
|
|
@@ -45,7 +56,7 @@ const o = [
|
|
|
45
56
|
supported: !1
|
|
46
57
|
}
|
|
47
58
|
]
|
|
48
|
-
},
|
|
59
|
+
}, i = {
|
|
49
60
|
inputPorts: [
|
|
50
61
|
{
|
|
51
62
|
nodeId: "root",
|
|
@@ -66,26 +77,27 @@ const o = [
|
|
|
66
77
|
]
|
|
67
78
|
}
|
|
68
79
|
]
|
|
69
|
-
},
|
|
80
|
+
}, s = {
|
|
70
81
|
inputObjects: o,
|
|
71
82
|
outputObjects: r,
|
|
72
83
|
flowVariables: a,
|
|
73
|
-
inputPortConfigs:
|
|
84
|
+
inputPortConfigs: i,
|
|
74
85
|
kAiConfig: {
|
|
75
86
|
codeAssistantEnabled: !0,
|
|
76
87
|
codeAssistantInstalled: !0,
|
|
77
88
|
hubId: "My Mocked KNIME Hub"
|
|
78
89
|
},
|
|
79
|
-
|
|
80
|
-
}, l = (
|
|
81
|
-
typeof consola > "u" ? console.log(
|
|
82
|
-
},
|
|
83
|
-
getInitialData: () => (l("Called initial data service mock getInitialData"), Promise.resolve(
|
|
90
|
+
inputConnectionInfo: n
|
|
91
|
+
}, l = (t, ...e) => {
|
|
92
|
+
typeof consola > "u" ? console.log(t, ...e) : consola.log(t, ...e);
|
|
93
|
+
}, p = (t) => ({
|
|
94
|
+
getInitialData: () => (l("Called initial data service mock getInitialData"), Promise.resolve(t ?? s))
|
|
84
95
|
});
|
|
85
96
|
export {
|
|
86
97
|
a as DEFAULT_FLOW_VARIABLE_INPUTS,
|
|
87
|
-
|
|
98
|
+
s as DEFAULT_INITIAL_DATA,
|
|
88
99
|
o as DEFAULT_INPUT_OBJECTS,
|
|
89
100
|
r as DEFAULT_OUTPUT_OBJECTS,
|
|
90
|
-
|
|
101
|
+
n as DEFAULT_PORT_INFORMATION,
|
|
102
|
+
p as createInitialDataServiceMock
|
|
91
103
|
};
|
package/dist/lib/main.d.ts
CHANGED
|
@@ -12,8 +12,8 @@ import { getScriptingService, ScriptingServiceType } from '../src/scripting-serv
|
|
|
12
12
|
import { setActiveEditorStoreForAi } from '../src/store/ai-bar';
|
|
13
13
|
import { insertionEventHelper, InsertionEvent } from '../src/components/utils/insertionEventHelper';
|
|
14
14
|
import { default as OutputTablePreview } from '../src/components/OutputTablePreview.vue';
|
|
15
|
-
import { getInitialDataService, InitialDataServiceType, GenericInitialData, KAIConfig, PortConfigs } from '../src/initial-data-service';
|
|
15
|
+
import { getInitialDataService, InitialDataServiceType, GenericInitialData, KAIConfig, PortConfigs, InputConnectionInfo } from '../src/initial-data-service';
|
|
16
16
|
import { GenericNodeSettings, getSettingsService } from '../src/settings-service';
|
|
17
17
|
|
|
18
18
|
export { COLUMN_INSERTION_EVENT, CompactTabBar, consoleHandler, editor, getInitialDataService, getScriptingService, getSettingsService, insertionEventHelper, MIN_WIDTH_FOR_DISPLAYING_LEFT_PANE, MIN_WIDTH_FOR_DISPLAYING_PANES, OutputConsole, OutputTablePreview, ScriptingEditor, setActiveEditorStoreForAi, useShouldFocusBePainted, useReadonlyStore, };
|
|
19
|
-
export type { ConsoleHandler, ConsoleText, GenericInitialData, GenericNodeSettings, InitialDataServiceType, InputOutputModel, InsertionEvent, KAIConfig, PortConfigs, ScriptingServiceType, SettingsMenuItem, UseCodeEditorParams, UseCodeEditorReturn, UseDiffEditorParams, UseDiffEditorReturn, };
|
|
19
|
+
export type { ConsoleHandler, ConsoleText, GenericInitialData, GenericNodeSettings, InitialDataServiceType, InputOutputModel, InsertionEvent, KAIConfig, PortConfigs, InputConnectionInfo, ScriptingServiceType, SettingsMenuItem, UseCodeEditorParams, UseCodeEditorReturn, UseDiffEditorParams, UseDiffEditorReturn, };
|
package/dist/main.js
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
* The original design remains. The terminal itself
|
|
30
30
|
* has been extended to include xterm CSI codes, among
|
|
31
31
|
* other features.
|
|
32
|
-
*/.xterm{cursor:text;position:relative;-moz-user-select:none;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{-webkit-text-decoration:underline;text-decoration:underline}.xterm-underline-2{text-decoration:underline;-webkit-text-decoration:double underline;text-decoration:double underline}.xterm-underline-3{text-decoration:underline;-webkit-text-decoration:wavy underline;text-decoration:wavy underline}.xterm-underline-4{text-decoration:underline;-webkit-text-decoration:dotted underline;text-decoration:dotted underline}.xterm-underline-5{text-decoration:underline;-webkit-text-decoration:dashed underline;text-decoration:dashed underline}.xterm-overline{-webkit-text-decoration:overline;text-decoration:overline}.xterm-overline.xterm-underline-1{-webkit-text-decoration:overline underline;text-decoration:overline underline}.xterm-overline.xterm-underline-2{-webkit-text-decoration:overline double underline;text-decoration:overline double underline}.xterm-overline.xterm-underline-3{-webkit-text-decoration:overline wavy underline;text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{-webkit-text-decoration:overline dotted underline;text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{-webkit-text-decoration:overline dashed underline;text-decoration:overline dashed underline}.xterm-strikethrough{-webkit-text-decoration:line-through;text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}.console[data-v-b91197b7]{height:100%}.terminal.focus-painted[data-v-b91197b7]:focus-within>div:first-of-type:after{content:"";position:absolute;top:-3px;right:-3px;bottom:-3px;left:-3px;pointer-events:none;z-index:1;border:2px solid var(--knime-cornflower)}.terminal[data-v-b91197b7]{height:100%}.splitpanes{display:flex;width:100%;height:100%}.splitpanes--vertical{flex-direction:row}.splitpanes--horizontal{flex-direction:column}.splitpanes--dragging *{-webkit-user-select:none;-moz-user-select:none;user-select:none}.splitpanes__pane{width:100%;height:100%;overflow:hidden}.splitpanes--vertical .splitpanes__pane{transition:width .2s ease-out}.splitpanes--horizontal .splitpanes__pane{transition:height .2s ease-out}.splitpanes--dragging .splitpanes__pane{transition:none}.splitpanes__splitter{touch-action:none}.splitpanes--vertical>.splitpanes__splitter{min-width:1px;cursor:col-resize}.splitpanes--horizontal>.splitpanes__splitter{min-height:1px;cursor:row-resize}.splitpanes.default-theme .splitpanes__pane{background-color:#f2f2f2}.splitpanes.default-theme .splitpanes__splitter{background-color:#fff;box-sizing:border-box;position:relative;flex-shrink:0}.splitpanes.default-theme .splitpanes__splitter:before,.splitpanes.default-theme .splitpanes__splitter:after{content:"";position:absolute;top:50%;left:50%;background-color:#00000026;transition:background-color .3s}.splitpanes.default-theme .splitpanes__splitter:hover:before,.splitpanes.default-theme .splitpanes__splitter:hover:after{background-color:#00000040}.splitpanes.default-theme .splitpanes__splitter:first-child{cursor:auto}.default-theme.splitpanes .splitpanes .splitpanes__splitter{z-index:1}.default-theme.splitpanes--vertical>.splitpanes__splitter,.default-theme .splitpanes--vertical>.splitpanes__splitter{width:7px;border-left:1px solid #eee;margin-left:-1px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{transform:translateY(-50%);width:1px;height:30px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:before{margin-left:-2px}.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{margin-left:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter,.default-theme .splitpanes--horizontal>.splitpanes__splitter{height:7px;border-top:1px solid #eee;margin-top:-1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{transform:translate(-50%);width:30px;height:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before{margin-top:-2px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{margin-top:1px}.container[data-v-952b4bfa]{justify-content:space-between;height:var(--controls-height);background-color:var(--knime-porcelain);border-bottom:1px solid var(--knime-silver-sand);display:flex;flex-wrap:nowrap}.title[data-v-952b4bfa]{margin-left:10px;height:var(--controls-height);line-height:var(--controls-height);display:flex;align-items:center}.open-icon[data-v-952b4bfa]{width:25px;height:50px;margin:auto}.menu[data-v-952b4bfa]{margin:var(--space-4);margin-right:var(--space-8);flex:0 1 1px;justify-content:center}.top-card[data-v-28264c6d]{--in-out-item-icon-size: 12px;min-height:28px;background-color:var(--knime-porcelain);padding-left:var(--space-8);position:relative;margin:0;font-size:13px;font-weight:700;display:flex;flex-direction:row;justify-content:space-between;gap:var(--space-8);align-items:center;line-height:26px;overflow:auto;padding-right:var(--space-32)}.port-icon-container[data-v-28264c6d]{width:var(--in-out-item-icon-size);min-width:var(--in-out-item-icon-size);height:var(--in-out-item-icon-size);display:inline-block;overflow:hidden;position:relative;margin-right:var(--space-4)}.port-icon-container svg[data-v-28264c6d]{width:var(--in-out-item-icon-size);height:var(--in-out-item-icon-size);display:block;top:0;left:0;margin:0}.subitem-type[data-v-28264c6d]{font-style:italic}.title[data-v-28264c6d]{flex-basis:calc(100px + var(--in-out-item-icon-size) + var(--space-4));min-width:60px;align-items:center;display:flex;text-wrap:nowrap;text-overflow:ellipsis;padding-right:2px;font-weight:500}.collapser-content[data-v-28264c6d]{font-size:11px;width:100%}.sub-item[data-v-28264c6d]{width:100%;border-bottom:1px solid var(--knime-porcelain);display:flex;flex-direction:row;justify-content:space-between;height:22px;line-height:18px;align-items:center}.sub-item.disabled[data-v-28264c6d]{opacity:.5;pointer-events:none}.selected[data-v-28264c6d]{background-color:var(--knime-cornflower-semi)}.clickable-sub-item[data-v-28264c6d]{cursor:grab}.clickable-sub-item[data-v-28264c6d]:active{cursor:grabbing}.clickable-sub-item[data-v-28264c6d]:hover{box-shadow:1px 1px 4px 1px #82868766}.cell[data-v-28264c6d]{padding:10px;overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}.code-alias[data-v-28264c6d]{font-family:monospace;font-weight:400;font-size:12px;padding-left:var(--space-8);padding-right:var(--space-8);text-overflow:ellipsis;overflow:hidden;flex-shrink:10;cursor:grab}.code-alias[data-v-28264c6d]:active{cursor:grabbing}.code-alias-dragging[data-v-28264c6d]{background-color:var(--knime-cornflower-semi);box-shadow:1px 1px 4px 1px #82868766}.code-alias-not-dragging[data-v-28264c6d]:hover{background-color:var(--knime-stone-light);box-shadow:1px 1px 4px 1px #82868766}.collapser[data-v-28264c6d]{position:relative;z-index:10}.collapser[data-v-28264c6d] .dropdown{width:14px;height:14px;top:7px}.collapser[data-v-28264c6d] .dropdown .dropdown-icon{width:10px;height:10px}.collapser[data-v-28264c6d] .panel:hover{overflow:visible}.bottom-border[data-v-28264c6d]{border-bottom:1px solid var(--knime-white)}.monaco-editor .markdown-docs h1,.monaco-hover h1{font-size:1.5em}.monaco-editor .markdown-docs h2,.monaco-hover h2{font-size:1.3em}.monaco-editor .markdown-docs h3,.monaco-hover h3{font-size:1.1em}.monaco-editor .markdown-docs h4,.monaco-hover h4{font-size:1em}.monaco-editor .markdown-docs h5,.monaco-hover h5{font-size:.9em}.monaco-editor .markdown-docs h6,.monaco-hover h6{font-size:.8em}.monaco-editor .markdown-docs h1,.monaco-hover h1,.monaco-editor .markdown-docs h2,.monaco-hover h2,.monaco-editor .markdown-docs h3,.monaco-hover h3,.monaco-editor .markdown-docs h4,.monaco-hover h4,.monaco-editor .markdown-docs h5,.monaco-hover h5,.monaco-editor .markdown-docs h6,.monaco-hover h6{line-height:normal;margin-top:0}.in-out-container[data-v-7437a844]{display:flex;flex-direction:column;min-width:150px}.in-out-container[data-v-7437a844]:focus-within .focus-painted.keyboard-selected:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:2px solid var(--knime-cornflower);pointer-events:none;z-index:1}.in-out-container[data-v-7437a844]:focus{outline:none}.settings-title[data-v-afb50e89]{display:flex;flex-direction:row;justify-content:left;width:100%;height:120px;background-color:var(--knime-white);align-items:center}.settings-title .back-button[data-v-afb50e89]{padding-right:var(--space-16)}.settings-title .arrow-left[data-v-afb50e89]{border-right:1px solid var(--knime-silver-sand)}.settings-title .button svg[data-v-afb50e89]{height:31px;width:31px}.settings-title h3[data-v-afb50e89]{font-size:28px;margin-left:0}.settings-content[data-v-afb50e89]{width:100%;height:100%;display:flex;flex-direction:column;justify-content:flex-start;background-color:var(--knime-gray-ultra-light)}.code-editor{height:100%}.editor-container{height:100%;min-height:0}.infinity-loading[data-v-8742e2de]{--loading-bar-background-color: var(--knime-silver-sand);--loading-bar-foreground-color: var(--knime-yellow);background-color:var(--loading-bar-background-color);height:4px;width:100%;position:relative;overflow:hidden}.infinity-loading[data-v-8742e2de]:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-color:var(--loading-bar-foreground-color);z-index:1;animation:loading-8742e2de 1.5s linear infinite}@keyframes loading-8742e2de{0%{left:-50%;right:100%}to{left:100%;right:-50%}}.suggestion-container[data-v-e1291f05]{display:flex;flex-direction:column;position:relative}.suggestion-container .diff-editor[data-v-e1291f05]{flex-grow:1;overflow:hidden;border-radius:var(--ai-bar-corner-radius);position:absolute;top:0;right:0;bottom:0;left:0}.suggestion-container .accept-decline-buttons[data-v-e1291f05]{position:absolute;bottom:15px;right:15px}.suggestion-container .accept-decline-buttons .button[data-v-e1291f05]{float:right;margin-top:var(--ai-bar-margin)}.disclaimer-container[data-v-f2265532]{display:flex;flex-direction:column}.disclaimer-container .disclaimer-text[data-v-f2265532]{margin:var(--space-8);line-height:20px;padding:var(--space-4);background-color:var(--knime-white);border-radius:var(--ai-bar-corner-radius)}.disclaimer-container .disclaimer-button-container[data-v-f2265532]{display:flex;justify-content:right}.disclaimer-container .disclaimer-button-container>button[data-v-f2265532]{margin-top:0}.notification-button[data-v-f2265532]{height:30px;margin:var(--space-8);margin-right:var(--space-16)}.disclaimer-slide-fade-leave-active[data-v-f2265532]{transition:all .2s cubic-bezier(1,.5,.8,1)}.disclaimer-slide-fade-enter-from[data-v-f2265532],.disclaimer-slide-fade-leave-to[data-v-f2265532]{transform:translateY(30px);opacity:0}.slide-fade-enter-active[data-v-9598ecc6]{transition:all .3s ease-out}.slide-fade-leave-active[data-v-9598ecc6]{transition:all .8s cubic-bezier(1,.5,.8,1)}.slide-fade-enter-from[data-v-9598ecc6],.slide-fade-leave-to[data-v-9598ecc6]{transform:translateY(30px);opacity:0}.popup-content[data-v-9598ecc6]{--ai-bar-margin: var(--space-8);--ai-bar-corner-radius: 8px;display:flex;flex-direction:column;background-color:var(--knime-gray-ultra-light);border:1px solid var(--knime-porcelain);border-radius:8px;border-radius:var(--ai-bar-corner-radius);font-size:13px;line-height:27px;z-index:11;box-shadow:var(--shadow-elevation-2);transition:width .2s ease-in-out;overflow:hidden}.popup-content .subtitle[data-v-9598ecc6]{color:var(--knime-black);margin-top:var(--space-8);font-style:italic;display:flex;justify-content:flex-start;align-items:baseline;flex-direction:row}.popup-content .subtitle .text[data-v-9598ecc6]{margin-right:var(--space-4)}.popup-content .subtitle .button[data-v-9598ecc6]{position:absolute;bottom:4px;right:79px}.popup-content .subtitle .button.primary[data-v-9598ecc6]{right:4px}.popup-content .ai-suggestion[data-v-9598ecc6]{margin:var(--ai-bar-margin);min-height:200px;height:40vh}.popup-content .chat-controls-border-top[data-v-9598ecc6]{border-top:1px solid var(--knime-porcelain)}.popup-content .chat-controls[data-v-9598ecc6]{display:flex;flex-direction:column;position:relative}.popup-content .chat-controls .prompt-bar[data-v-9598ecc6]{margin-top:var(--ai-bar-margin);margin-right:var(--ai-bar-margin);margin-left:var(--ai-bar-margin);line-height:15.23px;word-wrap:break-word}.popup-content .chat-controls .error-message[data-v-9598ecc6]{color:var(--knime-coral-dark);z-index:12;margin:0 var(--ai-bar-margin) var(--ai-bar-margin) var(--ai-bar-margin);line-height:15.23px;display:flex;align-items:center;flex-wrap:nowrap}.popup-content .chat-controls .error-message .error-icon[data-v-9598ecc6]{stroke:var(--knime-coral-dark);width:13px;min-width:13px;height:13px;margin-right:var(--space-8)}.popup-content .chat-controls .error-message .error-text[data-v-9598ecc6]{white-space:normal;word-wrap:break-word;font-size:12px}.popup-content .chat-controls .chat-controls-text-input[data-v-9598ecc6]{display:flex;flex-flow:row nowrap;align-items:center;z-index:12}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-9598ecc6]{flex-grow:1;border:2px solid var(--knime-porcelain);resize:none;border-radius:0;padding:var(--space-8);margin:var(--ai-bar-margin);color:var(--knime-masala);font-size:13px;font-weight:lighter;font-family:Roboto,sans-serif;overflow:hidden;text-wrap:soft}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-9598ecc6]::-moz-placeholder{color:var(--knime-dove-gray)}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-9598ecc6]::placeholder{color:var(--knime-dove-gray)}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-9598ecc6]:disabled{opacity:.5}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-9598ecc6]:focus{outline:none}.popup-content .chat-controls .chat-controls-text-input .chat-controls-buttons[data-v-9598ecc6]{margin:var(--ai-bar-margin);margin-left:0}.popup-content .notification-bar[data-v-9598ecc6]{display:flex;justify-content:space-between;vertical-align:middle;border-top:1px solid var(--knime-porcelain);position:relative;height:49px}.notification[data-v-9598ecc6]{line-height:15.23px;margin:var(--space-16)}.notification-button[data-v-9598ecc6]{height:30px;margin:var(--space-8);margin-right:var(--space-16)}.abort-button[data-v-9598ecc6]{border:1px solid var(--knime-silver-sand)}.popup-anchor[data-v-813b25ad]{position:relative;display:flex;width:100%}.popup-anchor .ai-popup[data-v-813b25ad]{--default-ai-bar-width: 65vw;--arrow-size: 18px;z-index:10;--left-hang: 150px;--left-hang-correction-for-left-pane: max( 0px, calc(var(--left-hang) - var(--left-splitter-position)) );--left-hang-correction-for-arrow: var(--arrow-size);width:65vw;width:var(--default-ai-bar-width);max-width:1000px;position:absolute;left:50%;top:-20px;top:calc(-1 * (var(--arrow-size) + 2px));transform:translateY(-100%) translate(calc(var(--left-hang-correction-for-left-pane) - 150px - 18px));transform:translateY(-100%) translate(calc(var(--left-hang-correction-for-left-pane) - var(--left-hang) - var(--left-hang-correction-for-arrow)))}.popup-anchor .ai-popup .arrow[data-v-813b25ad]{width:var(--arrow-size);height:var(--arrow-size);content:"";position:absolute;background-color:var(--knime-gray-ultra-light);bottom:0;z-index:1;border-right:1px solid var(--knime-porcelain);border-top:1px solid var(--knime-porcelain);clip-path:polygon(0 calc(0px - 100vw),calc(100% + 100vw) calc(0px - 100vw),calc(100% + 100vw) 100%,0 100%);box-shadow:var(--shadow-elevation-2);transform:translate(calc(var(--left-hang) - var(--arrow-size) / 2 - var(--left-hang-correction-for-left-pane) + var(--left-hang-correction-for-arrow))) translateY(50%) rotate(135deg)}.hide-button-text[data-v-54ab6860] svg{margin-right:0}.controls[data-v-54ab6860]{display:flex;flex-wrap:wrap;align-content:center;justify-content:space-between;place-content:center space-between;align-items:center;padding:var(--space-4) var(--space-8);background-color:var(--knime-gray-light-semi);border-top:1px solid var(--knime-silver-sand);height:var(--controls-height);width:100%}.button-controls[data-v-54ab6860]{display:flex;justify-content:right;flex-wrap:wrap;row-gap:var(--space-4)}.button-active.compact[data-v-54ab6860]{color:var(--knime-white);background-color:var(--knime-masala)}.button-active.compact svg[data-v-54ab6860]{stroke:var(--knime-white)}.ui-ext-shadow-app[data-v-81b653ab]{overflow:hidden}iframe[data-v-fde252c4]{width:100%;height:100%;border:none;display:block}.port-table[data-v-141fbe4e]{height:100%}.view-value-switch[data-v-266b66cd]{display:flex;justify-content:center}.scripting-editor-bottom-pane[data-v-6dbbd5db]{display:flex;flex-direction:column;height:100%}.scripting-editor-bottom-pane .tab-content[data-v-6dbbd5db]{display:flex;height:100%;flex-direction:column;position:relative;min-height:0;padding:0 var(--space-8)}.scripting-editor-bottom-pane .tab-bar-and-buttons[data-v-6dbbd5db]{display:flex;align-items:center;position:relative;padding:0 var(--space-8);border-bottom:1px solid var(--color-border);height:var(--space-48);flex-grow:1}.scripting-editor-bottom-pane .tab-bar-and-buttons .tab-bar-buttons[data-v-6dbbd5db]{position:absolute;right:var(--space-16);top:var(--space-4);display:flex;flex-wrap:nowrap}.scripting-editor-bottom-pane .tab-bar-and-buttons .scripting-editor-tab-bar[data-v-6dbbd5db]{flex-grow:1}.common-splitter[data-v-c6557ce0] .splitpanes__splitter{min-width:11px;min-height:11px;background-color:var(--knime-porcelain);background-repeat:no-repeat;background-position:center;border-color:var(--knime-silver-sand);border-style:solid}.common-splitter.slim-mode[data-v-c6557ce0] .splitpanes__splitter{display:none;pointer-events:none}.collapse-left-pane[data-v-c6557ce0]>.splitpanes__splitter{display:none;pointer-events:none}.common-splitter.slim-splitter[data-v-c6557ce0] .splitpanes__splitter{position:relative;min-width:2px;border-width:0 0 0 1px}.common-splitter.slim-splitter[data-v-c6557ce0] .splitpanes__splitter:before{content:"";position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%);width:11px;height:100%;background:transparent;cursor:ew-resize;z-index:1}.splitpanes--vertical[data-v-c6557ce0]>.splitpanes__splitter{border-width:0 1px}.splitpanes--horizontal[data-v-c6557ce0]>.splitpanes__splitter{border-width:1px 0}.left-facing-splitter[data-v-c6557ce0]>.splitpanes__splitter{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%20fill='none'%20stroke='%23000'%20stroke-linejoin='round'%3e%3cpath%20d='M21.5%2027l-11-11%2011-11'/%3e%3c/svg%3e")}.right-facing-splitter[data-v-c6557ce0]>.splitpanes__splitter{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%20fill='none'%20stroke='%23000'%20stroke-linejoin='round'%3e%3cpath%20d='M10.5%205l11%2011-11%2011'/%3e%3c/svg%3e")}.down-facing-splitter[data-v-c6557ce0]>.splitpanes__splitter{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%20stroke='%23000'%20fill='none'%20stroke-linejoin='round'%3e%3cpath%20d='M28.7%209.7L16%2022.3%203.3%209.7'/%3e%3c/svg%3e")}.up-facing-splitter[data-v-c6557ce0]>.splitpanes__splitter{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%20stroke='%23000'%20fill='none'%20stroke-linejoin='round'%3e%3cpath%20d='M28.7%209.7L16%2022.3%203.3%209.7'/%3e%3c/svg%3e");transform:scaleY(-1)}.splitpanes__pane[data-v-c6557ce0]{transition:none 0s ease 0s;transition:initial;overflow:visible;min-width:0;min-height:0}.main-splitpane[data-v-c6557ce0]{overflow:hidden}.main-splitpane[data-v-c6557ce0]>.splitpanes__splitter:hover{border-right:1px solid var(--knime-masala)}.horizontal-splitpane[data-v-c6557ce0]>.splitpanes__splitter:hover{border-top:1px solid var(--knime-masala)}.vertical-splitpane[data-v-c6557ce0]>.splitpanes__splitter:hover{border-left:1px solid var(--knime-masala)}.layout[data-v-c6557ce0]{display:flex;flex-direction:column;height:100vh;width:100%;flex-grow:0;overflow:hidden;position:relative}.editor-and-control-bar[data-v-c6557ce0]{height:100%;display:flex;flex-direction:column}.editor-and-control-bar .multi-editor-container[data-v-c6557ce0]{display:flex;flex-direction:column;width:100%;flex-grow:1;min-height:0}.editor-and-control-bar .multi-editor-container .editor-slot-container[data-v-c6557ce0]{display:flex;flex-direction:column;height:100%;overflow-y:auto;flex-grow:1}.editor-and-control-bar .multi-editor-container .run-button-panel[data-v-c6557ce0]{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;height:-moz-fit-content;height:fit-content;margin:0;background-color:var(--knime-gray-light-semi);background-clip:padding-box}.right-pane[data-v-c6557ce0]{background-color:var(--knime-gray-ultra-light)}.scrollable-y[data-v-c6557ce0]{overflow-y:auto}.output-table-preview[data-v-b1b42247]{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0}.pre-evaluation-sign[data-v-b1b42247]{display:flex;height:35px;justify-content:center;border-radius:10px}.output-table[data-v-b1b42247]{height:100%;width:100%}.preview-background[data-v-b1b42247]{width:100%;background-color:var(--knime-cornflower-semi);padding:var(--space-4) 0;display:flex;justify-content:center;align-items:center;box-sizing:border-box}.preview-warning-text[data-v-b1b42247]{background-color:#fff;color:#000;padding:var(--space-4) var(--space-8);border-radius:999vw;box-shadow:0 4px 8px #0000001a;text-align:center;font-size:small;vertical-align:middle}`)),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
32
|
+
*/.xterm{cursor:text;position:relative;-moz-user-select:none;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{-webkit-text-decoration:underline;text-decoration:underline}.xterm-underline-2{text-decoration:underline;-webkit-text-decoration:double underline;text-decoration:double underline}.xterm-underline-3{text-decoration:underline;-webkit-text-decoration:wavy underline;text-decoration:wavy underline}.xterm-underline-4{text-decoration:underline;-webkit-text-decoration:dotted underline;text-decoration:dotted underline}.xterm-underline-5{text-decoration:underline;-webkit-text-decoration:dashed underline;text-decoration:dashed underline}.xterm-overline{-webkit-text-decoration:overline;text-decoration:overline}.xterm-overline.xterm-underline-1{-webkit-text-decoration:overline underline;text-decoration:overline underline}.xterm-overline.xterm-underline-2{-webkit-text-decoration:overline double underline;text-decoration:overline double underline}.xterm-overline.xterm-underline-3{-webkit-text-decoration:overline wavy underline;text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{-webkit-text-decoration:overline dotted underline;text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{-webkit-text-decoration:overline dashed underline;text-decoration:overline dashed underline}.xterm-strikethrough{-webkit-text-decoration:line-through;text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}.console[data-v-b91197b7]{height:100%}.terminal.focus-painted[data-v-b91197b7]:focus-within>div:first-of-type:after{content:"";position:absolute;top:-3px;right:-3px;bottom:-3px;left:-3px;pointer-events:none;z-index:1;border:2px solid var(--knime-cornflower)}.terminal[data-v-b91197b7]{height:100%}.splitpanes{display:flex;width:100%;height:100%}.splitpanes--vertical{flex-direction:row}.splitpanes--horizontal{flex-direction:column}.splitpanes--dragging *{-webkit-user-select:none;-moz-user-select:none;user-select:none}.splitpanes__pane{width:100%;height:100%;overflow:hidden}.splitpanes--vertical .splitpanes__pane{transition:width .2s ease-out}.splitpanes--horizontal .splitpanes__pane{transition:height .2s ease-out}.splitpanes--dragging .splitpanes__pane{transition:none}.splitpanes__splitter{touch-action:none}.splitpanes--vertical>.splitpanes__splitter{min-width:1px;cursor:col-resize}.splitpanes--horizontal>.splitpanes__splitter{min-height:1px;cursor:row-resize}.splitpanes.default-theme .splitpanes__pane{background-color:#f2f2f2}.splitpanes.default-theme .splitpanes__splitter{background-color:#fff;box-sizing:border-box;position:relative;flex-shrink:0}.splitpanes.default-theme .splitpanes__splitter:before,.splitpanes.default-theme .splitpanes__splitter:after{content:"";position:absolute;top:50%;left:50%;background-color:#00000026;transition:background-color .3s}.splitpanes.default-theme .splitpanes__splitter:hover:before,.splitpanes.default-theme .splitpanes__splitter:hover:after{background-color:#00000040}.splitpanes.default-theme .splitpanes__splitter:first-child{cursor:auto}.default-theme.splitpanes .splitpanes .splitpanes__splitter{z-index:1}.default-theme.splitpanes--vertical>.splitpanes__splitter,.default-theme .splitpanes--vertical>.splitpanes__splitter{width:7px;border-left:1px solid #eee;margin-left:-1px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{transform:translateY(-50%);width:1px;height:30px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:before{margin-left:-2px}.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{margin-left:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter,.default-theme .splitpanes--horizontal>.splitpanes__splitter{height:7px;border-top:1px solid #eee;margin-top:-1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{transform:translate(-50%);width:30px;height:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before{margin-top:-2px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{margin-top:1px}.container[data-v-952b4bfa]{justify-content:space-between;height:var(--controls-height);background-color:var(--knime-porcelain);border-bottom:1px solid var(--knime-silver-sand);display:flex;flex-wrap:nowrap}.title[data-v-952b4bfa]{margin-left:10px;height:var(--controls-height);line-height:var(--controls-height);display:flex;align-items:center}.open-icon[data-v-952b4bfa]{width:25px;height:50px;margin:auto}.menu[data-v-952b4bfa]{margin:var(--space-4);margin-right:var(--space-8);flex:0 1 1px;justify-content:center}.top-card[data-v-28264c6d]{--in-out-item-icon-size: 12px;min-height:28px;background-color:var(--knime-porcelain);padding-left:var(--space-8);position:relative;margin:0;font-size:13px;font-weight:700;display:flex;flex-direction:row;justify-content:space-between;gap:var(--space-8);align-items:center;line-height:26px;overflow:auto;padding-right:var(--space-32)}.port-icon-container[data-v-28264c6d]{width:var(--in-out-item-icon-size);min-width:var(--in-out-item-icon-size);height:var(--in-out-item-icon-size);display:inline-block;overflow:hidden;position:relative;margin-right:var(--space-4)}.port-icon-container svg[data-v-28264c6d]{width:var(--in-out-item-icon-size);height:var(--in-out-item-icon-size);display:block;top:0;left:0;margin:0}.subitem-type[data-v-28264c6d]{font-style:italic}.title[data-v-28264c6d]{flex-basis:calc(100px + var(--in-out-item-icon-size) + var(--space-4));min-width:60px;align-items:center;display:flex;text-wrap:nowrap;text-overflow:ellipsis;padding-right:2px;font-weight:500}.collapser-content[data-v-28264c6d]{font-size:11px;width:100%}.sub-item[data-v-28264c6d]{width:100%;border-bottom:1px solid var(--knime-porcelain);display:flex;flex-direction:row;justify-content:space-between;height:22px;line-height:18px;align-items:center}.sub-item.disabled[data-v-28264c6d]{opacity:.5;pointer-events:none}.selected[data-v-28264c6d]{background-color:var(--knime-cornflower-semi)}.clickable-sub-item[data-v-28264c6d]{cursor:grab}.clickable-sub-item[data-v-28264c6d]:active{cursor:grabbing}.clickable-sub-item[data-v-28264c6d]:hover{box-shadow:1px 1px 4px 1px #82868766}.cell[data-v-28264c6d]{padding:10px;overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}.code-alias[data-v-28264c6d]{font-family:monospace;font-weight:400;font-size:12px;padding-left:var(--space-8);padding-right:var(--space-8);text-overflow:ellipsis;overflow:hidden;flex-shrink:10;cursor:grab}.code-alias[data-v-28264c6d]:active{cursor:grabbing}.code-alias-dragging[data-v-28264c6d]{background-color:var(--knime-cornflower-semi);box-shadow:1px 1px 4px 1px #82868766}.code-alias-not-dragging[data-v-28264c6d]:hover{background-color:var(--knime-stone-light);box-shadow:1px 1px 4px 1px #82868766}.collapser[data-v-28264c6d]{position:relative;z-index:10}.collapser[data-v-28264c6d] .dropdown{width:14px;height:14px;top:7px}.collapser[data-v-28264c6d] .dropdown .dropdown-icon{width:10px;height:10px}.collapser[data-v-28264c6d] .panel:hover{overflow:visible}.bottom-border[data-v-28264c6d]{border-bottom:1px solid var(--knime-white)}.monaco-editor .markdown-docs h1,.monaco-hover h1{font-size:1.5em}.monaco-editor .markdown-docs h2,.monaco-hover h2{font-size:1.3em}.monaco-editor .markdown-docs h3,.monaco-hover h3{font-size:1.1em}.monaco-editor .markdown-docs h4,.monaco-hover h4{font-size:1em}.monaco-editor .markdown-docs h5,.monaco-hover h5{font-size:.9em}.monaco-editor .markdown-docs h6,.monaco-hover h6{font-size:.8em}.monaco-editor .markdown-docs h1,.monaco-hover h1,.monaco-editor .markdown-docs h2,.monaco-hover h2,.monaco-editor .markdown-docs h3,.monaco-hover h3,.monaco-editor .markdown-docs h4,.monaco-hover h4,.monaco-editor .markdown-docs h5,.monaco-hover h5,.monaco-editor .markdown-docs h6,.monaco-hover h6{line-height:normal;margin-top:0}.in-out-container[data-v-7437a844]{display:flex;flex-direction:column;min-width:150px}.in-out-container[data-v-7437a844]:focus-within .focus-painted.keyboard-selected:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:2px solid var(--knime-cornflower);pointer-events:none;z-index:1}.in-out-container[data-v-7437a844]:focus{outline:none}.settings-title[data-v-afb50e89]{display:flex;flex-direction:row;justify-content:left;width:100%;height:120px;background-color:var(--knime-white);align-items:center}.settings-title .back-button[data-v-afb50e89]{padding-right:var(--space-16)}.settings-title .arrow-left[data-v-afb50e89]{border-right:1px solid var(--knime-silver-sand)}.settings-title .button svg[data-v-afb50e89]{height:31px;width:31px}.settings-title h3[data-v-afb50e89]{font-size:28px;margin-left:0}.settings-content[data-v-afb50e89]{width:100%;height:100%;display:flex;flex-direction:column;justify-content:flex-start;background-color:var(--knime-gray-ultra-light)}.code-editor{height:100%}.editor-container{height:100%;min-height:0}.infinity-loading[data-v-8742e2de]{--loading-bar-background-color: var(--knime-silver-sand);--loading-bar-foreground-color: var(--knime-yellow);background-color:var(--loading-bar-background-color);height:4px;width:100%;position:relative;overflow:hidden}.infinity-loading[data-v-8742e2de]:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-color:var(--loading-bar-foreground-color);z-index:1;animation:loading-8742e2de 1.5s linear infinite}@keyframes loading-8742e2de{0%{left:-50%;right:100%}to{left:100%;right:-50%}}.suggestion-container[data-v-e1291f05]{display:flex;flex-direction:column;position:relative}.suggestion-container .diff-editor[data-v-e1291f05]{flex-grow:1;overflow:hidden;border-radius:var(--ai-bar-corner-radius);position:absolute;top:0;right:0;bottom:0;left:0}.suggestion-container .accept-decline-buttons[data-v-e1291f05]{position:absolute;bottom:15px;right:15px}.suggestion-container .accept-decline-buttons .button[data-v-e1291f05]{float:right;margin-top:var(--ai-bar-margin)}.disclaimer-container[data-v-f2265532]{display:flex;flex-direction:column}.disclaimer-container .disclaimer-text[data-v-f2265532]{margin:var(--space-8);line-height:20px;padding:var(--space-4);background-color:var(--knime-white);border-radius:var(--ai-bar-corner-radius)}.disclaimer-container .disclaimer-button-container[data-v-f2265532]{display:flex;justify-content:right}.disclaimer-container .disclaimer-button-container>button[data-v-f2265532]{margin-top:0}.notification-button[data-v-f2265532]{height:30px;margin:var(--space-8);margin-right:var(--space-16)}.disclaimer-slide-fade-leave-active[data-v-f2265532]{transition:all .2s cubic-bezier(1,.5,.8,1)}.disclaimer-slide-fade-enter-from[data-v-f2265532],.disclaimer-slide-fade-leave-to[data-v-f2265532]{transform:translateY(30px);opacity:0}.slide-fade-enter-active[data-v-9598ecc6]{transition:all .3s ease-out}.slide-fade-leave-active[data-v-9598ecc6]{transition:all .8s cubic-bezier(1,.5,.8,1)}.slide-fade-enter-from[data-v-9598ecc6],.slide-fade-leave-to[data-v-9598ecc6]{transform:translateY(30px);opacity:0}.popup-content[data-v-9598ecc6]{--ai-bar-margin: var(--space-8);--ai-bar-corner-radius: 8px;display:flex;flex-direction:column;background-color:var(--knime-gray-ultra-light);border:1px solid var(--knime-porcelain);border-radius:8px;border-radius:var(--ai-bar-corner-radius);font-size:13px;line-height:27px;z-index:11;box-shadow:var(--shadow-elevation-2);transition:width .2s ease-in-out;overflow:hidden}.popup-content .subtitle[data-v-9598ecc6]{color:var(--knime-black);margin-top:var(--space-8);font-style:italic;display:flex;justify-content:flex-start;align-items:baseline;flex-direction:row}.popup-content .subtitle .text[data-v-9598ecc6]{margin-right:var(--space-4)}.popup-content .subtitle .button[data-v-9598ecc6]{position:absolute;bottom:4px;right:79px}.popup-content .subtitle .button.primary[data-v-9598ecc6]{right:4px}.popup-content .ai-suggestion[data-v-9598ecc6]{margin:var(--ai-bar-margin);min-height:200px;height:40vh}.popup-content .chat-controls-border-top[data-v-9598ecc6]{border-top:1px solid var(--knime-porcelain)}.popup-content .chat-controls[data-v-9598ecc6]{display:flex;flex-direction:column;position:relative}.popup-content .chat-controls .prompt-bar[data-v-9598ecc6]{margin-top:var(--ai-bar-margin);margin-right:var(--ai-bar-margin);margin-left:var(--ai-bar-margin);line-height:15.23px;word-wrap:break-word}.popup-content .chat-controls .error-message[data-v-9598ecc6]{color:var(--knime-coral-dark);z-index:12;margin:0 var(--ai-bar-margin) var(--ai-bar-margin) var(--ai-bar-margin);line-height:15.23px;display:flex;align-items:center;flex-wrap:nowrap}.popup-content .chat-controls .error-message .error-icon[data-v-9598ecc6]{stroke:var(--knime-coral-dark);width:13px;min-width:13px;height:13px;margin-right:var(--space-8)}.popup-content .chat-controls .error-message .error-text[data-v-9598ecc6]{white-space:normal;word-wrap:break-word;font-size:12px}.popup-content .chat-controls .chat-controls-text-input[data-v-9598ecc6]{display:flex;flex-flow:row nowrap;align-items:center;z-index:12}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-9598ecc6]{flex-grow:1;border:2px solid var(--knime-porcelain);resize:none;border-radius:0;padding:var(--space-8);margin:var(--ai-bar-margin);color:var(--knime-masala);font-size:13px;font-weight:lighter;font-family:Roboto,sans-serif;overflow:hidden;text-wrap:soft}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-9598ecc6]::-moz-placeholder{color:var(--knime-dove-gray)}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-9598ecc6]::placeholder{color:var(--knime-dove-gray)}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-9598ecc6]:disabled{opacity:.5}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-9598ecc6]:focus{outline:none}.popup-content .chat-controls .chat-controls-text-input .chat-controls-buttons[data-v-9598ecc6]{margin:var(--ai-bar-margin);margin-left:0}.popup-content .notification-bar[data-v-9598ecc6]{display:flex;justify-content:space-between;vertical-align:middle;border-top:1px solid var(--knime-porcelain);position:relative;height:49px}.notification[data-v-9598ecc6]{line-height:15.23px;margin:var(--space-16)}.notification-button[data-v-9598ecc6]{height:30px;margin:var(--space-8);margin-right:var(--space-16)}.abort-button[data-v-9598ecc6]{border:1px solid var(--knime-silver-sand)}.popup-anchor[data-v-a2f12940]{position:relative;display:flex;width:100%}.popup-anchor .ai-popup[data-v-a2f12940]{--default-ai-bar-width: 65vw;--arrow-size: 18px;z-index:10;--left-hang: 150px;--left-hang-correction-for-left-pane: max( 0px, calc(var(--left-hang) - var(--left-splitter-position)) );--left-hang-correction-for-arrow: var(--arrow-size);width:65vw;width:var(--default-ai-bar-width);max-width:1000px;position:absolute;left:50%;top:-20px;top:calc(-1 * (var(--arrow-size) + 2px));transform:translateY(-100%) translate(calc(var(--left-hang-correction-for-left-pane) - 150px - 18px));transform:translateY(-100%) translate(calc(var(--left-hang-correction-for-left-pane) - var(--left-hang) - var(--left-hang-correction-for-arrow)))}.popup-anchor .ai-popup .arrow[data-v-a2f12940]{width:var(--arrow-size);height:var(--arrow-size);content:"";position:absolute;background-color:var(--knime-gray-ultra-light);bottom:0;z-index:1;border-right:1px solid var(--knime-porcelain);border-top:1px solid var(--knime-porcelain);clip-path:polygon(0 calc(0px - 100vw),calc(100% + 100vw) calc(0px - 100vw),calc(100% + 100vw) 100%,0 100%);box-shadow:var(--shadow-elevation-2);transform:translate(calc(var(--left-hang) - var(--arrow-size) / 2 - var(--left-hang-correction-for-left-pane) + var(--left-hang-correction-for-arrow))) translateY(50%) rotate(135deg)}.hide-button-text[data-v-54ab6860] svg{margin-right:0}.controls[data-v-54ab6860]{display:flex;flex-wrap:wrap;align-content:center;justify-content:space-between;place-content:center space-between;align-items:center;padding:var(--space-4) var(--space-8);background-color:var(--knime-gray-light-semi);border-top:1px solid var(--knime-silver-sand);height:var(--controls-height);width:100%}.button-controls[data-v-54ab6860]{display:flex;justify-content:right;flex-wrap:wrap;row-gap:var(--space-4)}.button-active.compact[data-v-54ab6860]{color:var(--knime-white);background-color:var(--knime-masala)}.button-active.compact svg[data-v-54ab6860]{stroke:var(--knime-white)}.ui-ext-shadow-app[data-v-81b653ab]{overflow:hidden}iframe[data-v-fde252c4]{width:100%;height:100%;border:none;display:block}.port-table[data-v-141fbe4e]{height:100%}.view-value-switch[data-v-266b66cd]{display:flex;justify-content:center}.scripting-editor-bottom-pane[data-v-6dbbd5db]{display:flex;flex-direction:column;height:100%}.scripting-editor-bottom-pane .tab-content[data-v-6dbbd5db]{display:flex;height:100%;flex-direction:column;position:relative;min-height:0;padding:0 var(--space-8)}.scripting-editor-bottom-pane .tab-bar-and-buttons[data-v-6dbbd5db]{display:flex;align-items:center;position:relative;padding:0 var(--space-8);border-bottom:1px solid var(--color-border);height:var(--space-48);flex-grow:1}.scripting-editor-bottom-pane .tab-bar-and-buttons .tab-bar-buttons[data-v-6dbbd5db]{position:absolute;right:var(--space-16);top:var(--space-4);display:flex;flex-wrap:nowrap}.scripting-editor-bottom-pane .tab-bar-and-buttons .scripting-editor-tab-bar[data-v-6dbbd5db]{flex-grow:1}.common-splitter[data-v-c6557ce0] .splitpanes__splitter{min-width:11px;min-height:11px;background-color:var(--knime-porcelain);background-repeat:no-repeat;background-position:center;border-color:var(--knime-silver-sand);border-style:solid}.common-splitter.slim-mode[data-v-c6557ce0] .splitpanes__splitter{display:none;pointer-events:none}.collapse-left-pane[data-v-c6557ce0]>.splitpanes__splitter{display:none;pointer-events:none}.common-splitter.slim-splitter[data-v-c6557ce0] .splitpanes__splitter{position:relative;min-width:2px;border-width:0 0 0 1px}.common-splitter.slim-splitter[data-v-c6557ce0] .splitpanes__splitter:before{content:"";position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%);width:11px;height:100%;background:transparent;cursor:ew-resize;z-index:1}.splitpanes--vertical[data-v-c6557ce0]>.splitpanes__splitter{border-width:0 1px}.splitpanes--horizontal[data-v-c6557ce0]>.splitpanes__splitter{border-width:1px 0}.left-facing-splitter[data-v-c6557ce0]>.splitpanes__splitter{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%20fill='none'%20stroke='%23000'%20stroke-linejoin='round'%3e%3cpath%20d='M21.5%2027l-11-11%2011-11'/%3e%3c/svg%3e")}.right-facing-splitter[data-v-c6557ce0]>.splitpanes__splitter{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%20fill='none'%20stroke='%23000'%20stroke-linejoin='round'%3e%3cpath%20d='M10.5%205l11%2011-11%2011'/%3e%3c/svg%3e")}.down-facing-splitter[data-v-c6557ce0]>.splitpanes__splitter{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%20stroke='%23000'%20fill='none'%20stroke-linejoin='round'%3e%3cpath%20d='M28.7%209.7L16%2022.3%203.3%209.7'/%3e%3c/svg%3e")}.up-facing-splitter[data-v-c6557ce0]>.splitpanes__splitter{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%20stroke='%23000'%20fill='none'%20stroke-linejoin='round'%3e%3cpath%20d='M28.7%209.7L16%2022.3%203.3%209.7'/%3e%3c/svg%3e");transform:scaleY(-1)}.splitpanes__pane[data-v-c6557ce0]{transition:none 0s ease 0s;transition:initial;overflow:visible;min-width:0;min-height:0}.main-splitpane[data-v-c6557ce0]{overflow:hidden}.main-splitpane[data-v-c6557ce0]>.splitpanes__splitter:hover{border-right:1px solid var(--knime-masala)}.horizontal-splitpane[data-v-c6557ce0]>.splitpanes__splitter:hover{border-top:1px solid var(--knime-masala)}.vertical-splitpane[data-v-c6557ce0]>.splitpanes__splitter:hover{border-left:1px solid var(--knime-masala)}.layout[data-v-c6557ce0]{display:flex;flex-direction:column;height:100vh;width:100%;flex-grow:0;overflow:hidden;position:relative}.editor-and-control-bar[data-v-c6557ce0]{height:100%;display:flex;flex-direction:column}.editor-and-control-bar .multi-editor-container[data-v-c6557ce0]{display:flex;flex-direction:column;width:100%;flex-grow:1;min-height:0}.editor-and-control-bar .multi-editor-container .editor-slot-container[data-v-c6557ce0]{display:flex;flex-direction:column;height:100%;overflow-y:auto;flex-grow:1}.editor-and-control-bar .multi-editor-container .run-button-panel[data-v-c6557ce0]{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;height:-moz-fit-content;height:fit-content;margin:0;background-color:var(--knime-gray-light-semi);background-clip:padding-box}.right-pane[data-v-c6557ce0]{background-color:var(--knime-gray-ultra-light)}.scrollable-y[data-v-c6557ce0]{overflow-y:auto}.output-table-preview[data-v-b1b42247]{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0}.pre-evaluation-sign[data-v-b1b42247]{display:flex;height:35px;justify-content:center;border-radius:10px}.output-table[data-v-b1b42247]{height:100%;width:100%}.preview-background[data-v-b1b42247]{width:100%;background-color:var(--knime-cornflower-semi);padding:var(--space-4) 0;display:flex;justify-content:center;align-items:center;box-sizing:border-box}.preview-warning-text[data-v-b1b42247]{background-color:#fff;color:#000;padding:var(--space-4) var(--space-8);border-radius:999vw;box-shadow:0 4px 8px #0000001a;text-align:center;font-size:small;vertical-align:middle}`)),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
33
33
|
var rh = Object.defineProperty;
|
|
34
34
|
var nh = (e, t, s) => t in e ? rh(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
|
|
35
35
|
var st = (e, t, s) => nh(e, typeof t != "symbol" ? t + "" : t, s);
|
|
@@ -18973,7 +18973,7 @@ const a1 = { render: o1 }, c1 = { class: "suggestion-container" }, l1 = { class:
|
|
|
18973
18973
|
])
|
|
18974
18974
|
]));
|
|
18975
18975
|
}
|
|
18976
|
-
}), I1 = /* @__PURE__ */ ge(x1, [["__scopeId", "data-v-9598ecc6"]]), O1 = (e) => (Pn("data-v-
|
|
18976
|
+
}), I1 = /* @__PURE__ */ ge(x1, [["__scopeId", "data-v-9598ecc6"]]), O1 = (e) => (Pn("data-v-a2f12940"), e = e(), Ln(), e), B1 = { class: "button-container" }, N1 = { class: "popup-anchor" }, H1 = /* @__PURE__ */ O1(() => /* @__PURE__ */ J("div", { class: "arrow" }, null, -1)), F1 = {}, q1 = /* @__PURE__ */ Se({
|
|
18977
18977
|
...F1,
|
|
18978
18978
|
__name: "AiButton",
|
|
18979
18979
|
props: {
|
|
@@ -18985,7 +18985,7 @@ const a1 = { render: o1 }, c1 = { class: "suggestion-container" }, l1 = { class:
|
|
|
18985
18985
|
async () => (await xi().getInitialData()).kAiConfig.codeAssistantEnabled,
|
|
18986
18986
|
!1
|
|
18987
18987
|
), r = os(
|
|
18988
|
-
async () => (await xi().getInitialData()).
|
|
18988
|
+
async () => (await xi().getInitialData()).inputConnectionInfo[1].status === "OK",
|
|
18989
18989
|
!1
|
|
18990
18990
|
), o = Q(null), u = Q(null), p = e, i = () => {
|
|
18991
18991
|
const a = [
|
|
@@ -19042,7 +19042,7 @@ const a1 = { render: o1 }, c1 = { class: "suggestion-container" }, l1 = { class:
|
|
|
19042
19042
|
}, 8, ["disabled", "class"])) : Le("", !0)
|
|
19043
19043
|
]));
|
|
19044
19044
|
}
|
|
19045
|
-
}), j1 = /* @__PURE__ */ ge(q1, [["__scopeId", "data-v-
|
|
19045
|
+
}), j1 = /* @__PURE__ */ ge(q1, [["__scopeId", "data-v-a2f12940"]]), W1 = { class: "controls" }, $1 = { class: "button-controls" }, z1 = /* @__PURE__ */ Se({
|
|
19046
19046
|
__name: "CodeEditorControlBar",
|
|
19047
19047
|
props: {
|
|
19048
19048
|
currentPaneSizes: {
|
|
@@ -19169,7 +19169,7 @@ const Y1 = { render: J1 }, lr = {}, Z1 = () => ({
|
|
|
19169
19169
|
props: {
|
|
19170
19170
|
resourceLocation: {},
|
|
19171
19171
|
apiLayer: {},
|
|
19172
|
-
style: {
|
|
19172
|
+
style: { default: null }
|
|
19173
19173
|
},
|
|
19174
19174
|
emits: ["serviceCreated"],
|
|
19175
19175
|
setup(e, { emit: t }) {
|
|
@@ -19233,7 +19233,7 @@ const Y1 = { render: J1 }, lr = {}, Z1 = () => ({
|
|
|
19233
19233
|
initialSharedData: { default: null },
|
|
19234
19234
|
isReporting: { type: Boolean },
|
|
19235
19235
|
isDialogLayout: { type: Boolean },
|
|
19236
|
-
shadowAppStyle: {
|
|
19236
|
+
shadowAppStyle: { default: null }
|
|
19237
19237
|
},
|
|
19238
19238
|
setup(e) {
|
|
19239
19239
|
const t = e, s = Q(0);
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* @see {@link BaseButton.vue}
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* show button with border
|
|
7
|
+
*/
|
|
8
|
+
withBorder: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* switches colors to use button on a dark background
|
|
14
|
+
*/
|
|
15
|
+
onDark: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* switches colors
|
|
21
|
+
*/
|
|
22
|
+
primary: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* smaller font size and padding
|
|
28
|
+
*/
|
|
29
|
+
compact: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* show button in an error state
|
|
35
|
+
* - requires withBorder
|
|
36
|
+
* - doesnt work onDark
|
|
37
|
+
*/
|
|
38
|
+
withWarning: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
disabled: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
}, unknown, unknown, {
|
|
47
|
+
classes(): (string | {
|
|
48
|
+
primary: boolean;
|
|
49
|
+
"with-border"?: undefined;
|
|
50
|
+
"with-warning"?: undefined;
|
|
51
|
+
"on-dark"?: undefined;
|
|
52
|
+
compact?: undefined;
|
|
53
|
+
} | {
|
|
54
|
+
"with-border": boolean;
|
|
55
|
+
primary?: undefined;
|
|
56
|
+
"with-warning"?: undefined;
|
|
57
|
+
"on-dark"?: undefined;
|
|
58
|
+
compact?: undefined;
|
|
59
|
+
} | {
|
|
60
|
+
"with-warning": boolean;
|
|
61
|
+
primary?: undefined;
|
|
62
|
+
"with-border"?: undefined;
|
|
63
|
+
"on-dark"?: undefined;
|
|
64
|
+
compact?: undefined;
|
|
65
|
+
} | {
|
|
66
|
+
"on-dark": boolean;
|
|
67
|
+
primary?: undefined;
|
|
68
|
+
"with-border"?: undefined;
|
|
69
|
+
"with-warning"?: undefined;
|
|
70
|
+
compact?: undefined;
|
|
71
|
+
} | {
|
|
72
|
+
compact: boolean;
|
|
73
|
+
primary?: undefined;
|
|
74
|
+
"with-border"?: undefined;
|
|
75
|
+
"with-warning"?: undefined;
|
|
76
|
+
"on-dark"?: undefined;
|
|
77
|
+
})[];
|
|
78
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
79
|
+
/**
|
|
80
|
+
* @see {@link BaseButton.vue}
|
|
81
|
+
*/
|
|
82
|
+
/**
|
|
83
|
+
* show button with border
|
|
84
|
+
*/
|
|
85
|
+
withBorder: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* switches colors to use button on a dark background
|
|
91
|
+
*/
|
|
92
|
+
onDark: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* switches colors
|
|
98
|
+
*/
|
|
99
|
+
primary: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* smaller font size and padding
|
|
105
|
+
*/
|
|
106
|
+
compact: {
|
|
107
|
+
type: BooleanConstructor;
|
|
108
|
+
default: boolean;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* show button in an error state
|
|
112
|
+
* - requires withBorder
|
|
113
|
+
* - doesnt work onDark
|
|
114
|
+
*/
|
|
115
|
+
withWarning: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
|
+
disabled: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
default: boolean;
|
|
122
|
+
};
|
|
123
|
+
}>>, {
|
|
124
|
+
disabled: boolean;
|
|
125
|
+
withBorder: boolean;
|
|
126
|
+
onDark: boolean;
|
|
127
|
+
primary: boolean;
|
|
128
|
+
compact: boolean;
|
|
129
|
+
withWarning: boolean;
|
|
130
|
+
}, {}>;
|
|
131
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* @see {@link Button.vue}
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Button's title rendered as tooltip
|
|
7
|
+
* if null, the tooltip won't be rendered
|
|
8
|
+
*/
|
|
9
|
+
title: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: null;
|
|
12
|
+
};
|
|
13
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
|
+
/**
|
|
15
|
+
* @see {@link Button.vue}
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Button's title rendered as tooltip
|
|
19
|
+
* if null, the tooltip won't be rendered
|
|
20
|
+
*/
|
|
21
|
+
title: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: null;
|
|
24
|
+
};
|
|
25
|
+
}>>, {
|
|
26
|
+
title: string;
|
|
27
|
+
}, {}>;
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
tabindex: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: null;
|
|
5
|
+
};
|
|
6
|
+
}, unknown, {
|
|
7
|
+
isMouseDown: boolean;
|
|
8
|
+
wasDragged: boolean;
|
|
9
|
+
}, {}, {
|
|
10
|
+
onMouseDown(e: MouseEvent): void;
|
|
11
|
+
onMouseEnd(e: MouseEvent): void;
|
|
12
|
+
onMouseMove(e: MouseEvent): void;
|
|
13
|
+
onDragStart(e: MouseEvent): void;
|
|
14
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
15
|
+
tabindex: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: null;
|
|
18
|
+
};
|
|
19
|
+
}>>, {
|
|
20
|
+
tabindex: number;
|
|
21
|
+
}, {}>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import { FileExplorerItem as FileExplorerItemType, FileExplorerContextMenu as FileExplorerContextMenuNamespace } from '../types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Component that handles FileExplorer interactions.
|
|
5
|
+
*
|
|
6
|
+
* NOTE: Do not add store bindings to component to keep it as reusable as possible
|
|
7
|
+
*/
|
|
8
|
+
interface Props {
|
|
9
|
+
mode?: "normal" | "mini";
|
|
10
|
+
/**
|
|
11
|
+
* full path of the currently displayed directory. This is used to
|
|
12
|
+
* track when the path has changed and do actions based on that. e.g reset the
|
|
13
|
+
* selection, close menus, etc
|
|
14
|
+
*/
|
|
15
|
+
fullPath?: string;
|
|
16
|
+
/**
|
|
17
|
+
* List of items to be rendered for the displayed directory
|
|
18
|
+
*/
|
|
19
|
+
items: Array<FileExplorerItemType>;
|
|
20
|
+
/**
|
|
21
|
+
* Determines whether the "back" item should be rendered or not
|
|
22
|
+
*/
|
|
23
|
+
isRootFolder?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Used to externally bind which item should be in the "rename" state.
|
|
26
|
+
* This prop is not required but it's useful
|
|
27
|
+
* if you want to externally activate the rename state (e.g via the store)
|
|
28
|
+
*/
|
|
29
|
+
activeRenamedItemId?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Disable the context menu completely
|
|
32
|
+
*/
|
|
33
|
+
disableContextMenu?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Disable multi-selection
|
|
36
|
+
*/
|
|
37
|
+
disableMultiSelect?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Disables selection completely. (Regardless of the value of the disableMultiSelect prop)
|
|
40
|
+
*/
|
|
41
|
+
disableSelection?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Disable dragging completely
|
|
44
|
+
*/
|
|
45
|
+
disableDragging?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Controls the behavior of the custom drag ghosts as you move items around
|
|
48
|
+
*
|
|
49
|
+
* "auto" -> will automatically remove the ghosts after interactions
|
|
50
|
+
* "manual" -> requires that you call an `onComplete` callback upon
|
|
51
|
+
*
|
|
52
|
+
* `dragend` and/or `drop` events. This is useful for async operations, in which
|
|
53
|
+
* you might not know whether a move was successful or not
|
|
54
|
+
*
|
|
55
|
+
* `disabled` will only use the native browser drag ghost
|
|
56
|
+
*
|
|
57
|
+
* Note: this prop will have no effect if `disableDragging` is true
|
|
58
|
+
*/
|
|
59
|
+
draggingAnimationMode?: "auto" | "manual" | "disabled";
|
|
60
|
+
/**
|
|
61
|
+
* Pass in an html elements here which, when clicked, should not unset the current selection.
|
|
62
|
+
*/
|
|
63
|
+
clickOutsideException?: HTMLElement | null;
|
|
64
|
+
/**
|
|
65
|
+
* Selected item ids
|
|
66
|
+
*/
|
|
67
|
+
selectedItemIds?: string[];
|
|
68
|
+
}
|
|
69
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
70
|
+
mode: string;
|
|
71
|
+
fullPath: string;
|
|
72
|
+
isRootFolder: boolean;
|
|
73
|
+
activeRenamedItemId: null;
|
|
74
|
+
disableContextMenu: boolean;
|
|
75
|
+
disableMultiSelect: boolean;
|
|
76
|
+
disableSelection: boolean;
|
|
77
|
+
disableDragging: boolean;
|
|
78
|
+
draggingAnimationMode: string;
|
|
79
|
+
clickOutsideException: null;
|
|
80
|
+
selectedItemIds: () => never[];
|
|
81
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
82
|
+
"update:selectedItemIds": (selectedItemIds: string[]) => void;
|
|
83
|
+
changeDirectory: (pathId: string) => void;
|
|
84
|
+
openFile: (item: FileExplorerItemType) => void;
|
|
85
|
+
deleteItems: (payload: {
|
|
86
|
+
items: FileExplorerItemType[];
|
|
87
|
+
}) => void;
|
|
88
|
+
moveItems: (payload: {
|
|
89
|
+
sourceItems: string[];
|
|
90
|
+
targetItem: string;
|
|
91
|
+
onComplete: (isSuccessfulMove: boolean) => void;
|
|
92
|
+
}) => void;
|
|
93
|
+
dragend: (payload: {
|
|
94
|
+
event: DragEvent;
|
|
95
|
+
sourceItem: FileExplorerItemType;
|
|
96
|
+
onComplete: (isSuccessfulMove: boolean) => void;
|
|
97
|
+
}) => void;
|
|
98
|
+
drag: (payload: {
|
|
99
|
+
event: DragEvent;
|
|
100
|
+
item: FileExplorerItemType;
|
|
101
|
+
}) => void;
|
|
102
|
+
renameFile: (payload: {
|
|
103
|
+
itemId: string;
|
|
104
|
+
newName: string;
|
|
105
|
+
}) => void;
|
|
106
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
107
|
+
mode: string;
|
|
108
|
+
fullPath: string;
|
|
109
|
+
isRootFolder: boolean;
|
|
110
|
+
activeRenamedItemId: null;
|
|
111
|
+
disableContextMenu: boolean;
|
|
112
|
+
disableMultiSelect: boolean;
|
|
113
|
+
disableSelection: boolean;
|
|
114
|
+
disableDragging: boolean;
|
|
115
|
+
draggingAnimationMode: string;
|
|
116
|
+
clickOutsideException: null;
|
|
117
|
+
selectedItemIds: () => never[];
|
|
118
|
+
}>>> & {
|
|
119
|
+
onDrag?: ((payload: {
|
|
120
|
+
event: DragEvent;
|
|
121
|
+
item: FileExplorerItemType;
|
|
122
|
+
}) => any) | undefined;
|
|
123
|
+
onDragend?: ((payload: {
|
|
124
|
+
event: DragEvent;
|
|
125
|
+
sourceItem: FileExplorerItemType;
|
|
126
|
+
onComplete: (isSuccessfulMove: boolean) => void;
|
|
127
|
+
}) => any) | undefined;
|
|
128
|
+
onMoveItems?: ((payload: {
|
|
129
|
+
sourceItems: string[];
|
|
130
|
+
targetItem: string;
|
|
131
|
+
onComplete: (isSuccessfulMove: boolean) => void;
|
|
132
|
+
}) => any) | undefined;
|
|
133
|
+
"onUpdate:selectedItemIds"?: ((selectedItemIds: string[]) => any) | undefined;
|
|
134
|
+
onChangeDirectory?: ((pathId: string) => any) | undefined;
|
|
135
|
+
onOpenFile?: ((item: FileExplorerItemType) => any) | undefined;
|
|
136
|
+
onDeleteItems?: ((payload: {
|
|
137
|
+
items: FileExplorerItemType[];
|
|
138
|
+
}) => any) | undefined;
|
|
139
|
+
onRenameFile?: ((payload: {
|
|
140
|
+
itemId: string;
|
|
141
|
+
newName: string;
|
|
142
|
+
}) => any) | undefined;
|
|
143
|
+
}, {
|
|
144
|
+
mode: "normal" | "mini";
|
|
145
|
+
fullPath: string;
|
|
146
|
+
isRootFolder: boolean;
|
|
147
|
+
activeRenamedItemId: string | null;
|
|
148
|
+
disableContextMenu: boolean;
|
|
149
|
+
disableMultiSelect: boolean;
|
|
150
|
+
disableSelection: boolean;
|
|
151
|
+
disableDragging: boolean;
|
|
152
|
+
draggingAnimationMode: "disabled" | "manual" | "auto";
|
|
153
|
+
clickOutsideException: HTMLElement | null;
|
|
154
|
+
selectedItemIds: string[];
|
|
155
|
+
}, {}>, {
|
|
156
|
+
itemIcon?(_: {
|
|
157
|
+
item: FileExplorerItemType;
|
|
158
|
+
}): any;
|
|
159
|
+
itemContent?(_: {
|
|
160
|
+
item: FileExplorerItemType;
|
|
161
|
+
isRenameActive: boolean;
|
|
162
|
+
isSelected: boolean;
|
|
163
|
+
}): any;
|
|
164
|
+
emptyFolder?(_: {}): any;
|
|
165
|
+
customDragPreview?(_: {}): any;
|
|
166
|
+
contextMenu?(_: {
|
|
167
|
+
items: FileExplorerContextMenuNamespace.MenuItem[];
|
|
168
|
+
createRenameOption: FileExplorerContextMenuNamespace.CreateDefaultMenuOption;
|
|
169
|
+
createDeleteOption: FileExplorerContextMenuNamespace.CreateDefaultMenuOption;
|
|
170
|
+
onItemClick: (menuItem: import('@knime/components').MenuItem<any, any>) => void;
|
|
171
|
+
isContextMenuVisible: true;
|
|
172
|
+
position: {
|
|
173
|
+
x: number;
|
|
174
|
+
y: number;
|
|
175
|
+
};
|
|
176
|
+
anchor: {
|
|
177
|
+
item: {
|
|
178
|
+
id: string;
|
|
179
|
+
name: string;
|
|
180
|
+
isOpen: boolean;
|
|
181
|
+
isDirectory: boolean;
|
|
182
|
+
isOpenableFile: boolean;
|
|
183
|
+
canBeRenamed: boolean;
|
|
184
|
+
canBeDeleted: boolean;
|
|
185
|
+
meta?: Record<string, any> | undefined;
|
|
186
|
+
};
|
|
187
|
+
index: number;
|
|
188
|
+
element: HTMLElement;
|
|
189
|
+
};
|
|
190
|
+
closeContextMenu: () => void;
|
|
191
|
+
isMultipleSelectionActive: boolean;
|
|
192
|
+
}): any;
|
|
193
|
+
}>;
|
|
194
|
+
export default _default;
|
|
195
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
196
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
197
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
198
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
199
|
+
} : {
|
|
200
|
+
type: import('vue').PropType<T[K]>;
|
|
201
|
+
required: true;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
type __VLS_WithDefaults<P, D> = {
|
|
205
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
206
|
+
default: D[K];
|
|
207
|
+
}> : P[K];
|
|
208
|
+
};
|
|
209
|
+
type __VLS_Prettify<T> = {
|
|
210
|
+
[K in keyof T]: T[K];
|
|
211
|
+
} & {};
|
|
212
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
213
|
+
new (): {
|
|
214
|
+
$slots: S;
|
|
215
|
+
};
|
|
216
|
+
};
|