@knime/scripting-editor 0.0.105 → 0.0.106
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/main.js +559 -553
- package/package.json +3 -3
package/dist/main.js
CHANGED
|
@@ -29,23 +29,23 @@
|
|
|
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:not(.debug),.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::-moz-selection{color:transparent}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{-webkit-user-select:text;-moz-user-select:text;user-select:text;white-space:pre}.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-7c6287c5]{height:100%}.terminal.focus-painted[data-v-7c6287c5]: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-7c6287c5]{height:100%}iframe[data-v-6e19da22]{width:100%;height:100%;border:none;display:block}.ui-ext-shadow-app[data-v-a045009d]{overflow:hidden}.output-table-preview[data-v-83035ffa]{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0}.pre-evaluation-sign[data-v-83035ffa]{display:flex;height:35px;justify-content:center;border-radius:10px}.output-table[data-v-83035ffa]{height:100%;width:100%}.preview-background[data-v-83035ffa]{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-83035ffa]{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}.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}.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%}}.disclaimer-container[data-v-8497e928]{display:flex;flex-direction:column}.disclaimer-container .disclaimer-box[data-v-8497e928]{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-box .content[data-v-8497e928]{word-wrap:break-word;white-space:pre-wrap}.disclaimer-container .disclaimer-button-container[data-v-8497e928]{display:flex;justify-content:right}.disclaimer-container .disclaimer-button-container>button[data-v-8497e928]{margin-top:0}.notification-button[data-v-8497e928]{height:30px;margin:var(--space-8);margin-right:var(--space-16)}.disclaimer-slide-fade-leave-active[data-v-8497e928]{transition:all .2s cubic-bezier(1,.5,.8,1)}.disclaimer-slide-fade-enter-from[data-v-8497e928],.disclaimer-slide-fade-leave-to[data-v-8497e928]{transform:translateY(30px);opacity:0}.suggestion-container[data-v-fadc461b]{display:flex;flex-direction:column;position:relative}.suggestion-container .diff-editor[data-v-fadc461b]{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-fadc461b]{position:absolute;bottom:15px;right:15px}.suggestion-container .accept-decline-buttons .button[data-v-fadc461b]{float:right;margin-top:var(--ai-bar-margin)}.slide-fade-enter-active[data-v-0e0ef208]{transition:all .3s ease-out}.slide-fade-leave-active[data-v-0e0ef208]{transition:all .8s cubic-bezier(1,.5,.8,1)}.slide-fade-enter-from[data-v-0e0ef208],.slide-fade-leave-to[data-v-0e0ef208]{transform:translateY(30px);opacity:0}.popup-content[data-v-0e0ef208]{--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-0e0ef208]{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-0e0ef208]{margin-right:var(--space-4)}.popup-content .subtitle .button[data-v-0e0ef208]{position:absolute;bottom:4px;right:79px}.popup-content .subtitle .button.primary[data-v-0e0ef208]{right:4px}.popup-content .ai-suggestion[data-v-0e0ef208]{margin:var(--ai-bar-margin);min-height:200px;height:40vh}.popup-content .chat-controls-border-top[data-v-0e0ef208]{border-top:1px solid var(--knime-porcelain)}.popup-content .chat-controls[data-v-0e0ef208]{display:flex;flex-direction:column;position:relative}.popup-content .chat-controls .prompt-bar[data-v-0e0ef208]{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;max-height:100px;text-overflow:ellipsis;overflow:hidden;line-clamp:5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5}.popup-content .chat-controls .error-message[data-v-0e0ef208]{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-0e0ef208]{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-0e0ef208]{white-space:normal;word-wrap:break-word;font-size:12px}.popup-content .chat-controls .chat-controls-text-input[data-v-0e0ef208]{display:flex;flex-flow:row nowrap;align-items:center;z-index:12}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-0e0ef208]{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-x:hidden;overflow-y:auto;overflow:hidden auto;max-height:100px}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-0e0ef208]::-moz-placeholder{color:var(--knime-dove-gray)}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-0e0ef208]::placeholder{color:var(--knime-dove-gray)}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-0e0ef208]:disabled{opacity:.5}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-0e0ef208]:focus{outline:none}.popup-content .chat-controls .chat-controls-text-input .chat-controls-buttons[data-v-0e0ef208]{margin:var(--ai-bar-margin);margin-left:0}.popup-content .notification-bar[data-v-0e0ef208]{display:flex;justify-content:space-between;vertical-align:middle;border-top:1px solid var(--knime-porcelain);position:relative;height:49px}.notification[data-v-0e0ef208]{line-height:15.23px;margin:var(--space-16)}.notification-button[data-v-0e0ef208]{height:30px;margin:var(--space-8);margin-right:var(--space-16)}.abort-button[data-v-0e0ef208]{border:1px solid var(--knime-silver-sand)}.popup-anchor[data-v-b578cf5e]{position:relative;display:flex;width:100%}.popup-anchor .ai-popup[data-v-b578cf5e]{--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-b578cf5e]{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-7ab3671a] svg{margin-right:0}.controls[data-v-7ab3671a]{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-7ab3671a]{display:flex;justify-content:right;flex-wrap:wrap;row-gap:var(--space-4)}.button-active.compact[data-v-7ab3671a]{color:var(--knime-white);background-color:var(--knime-masala)}.button-active.compact svg[data-v-7ab3671a]{stroke:var(--knime-white)}.container[data-v-6a45038d]{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-6a45038d]{margin-left:10px;height:var(--controls-height);line-height:var(--controls-height);display:flex;align-items:center}.open-icon[data-v-6a45038d]{width:18px;height:18px;margin:auto}.menu[data-v-6a45038d]{margin:var(--space-4);margin-right:var(--space-8);flex:0 1 1px;justify-content:center}.code-editor{height:100%}.editor-container{height:100%;min-height:0}.port-table[data-v-ce4e7cd0]{height:100%}.view-value-switch[data-v-ad87bfef]{display:flex;justify-content:center}.scripting-editor-bottom-pane[data-v-006cb00f]{display:flex;flex-direction:column;height:100%}.scripting-editor-bottom-pane .tab-content[data-v-006cb00f]{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-006cb00f]{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-006cb00f]{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-006cb00f]{flex-grow:1}.settings-title[data-v-1037c6a3]{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-1037c6a3]{padding-right:var(--space-16)}.settings-title .arrow-left[data-v-1037c6a3]{border-right:1px solid var(--knime-silver-sand)}.settings-title .button svg[data-v-1037c6a3]{height:31px;width:31px}.settings-title h3[data-v-1037c6a3]{font-size:28px;margin-left:0}.settings-content[data-v-1037c6a3]{width:100%;height:100%;display:flex;flex-direction:column;justify-content:flex-start;background-color:var(--knime-gray-ultra-light)}.common-splitter[data-v-03f93ffa] .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-03f93ffa] .splitpanes__splitter{display:none;pointer-events:none}.collapse-left-pane[data-v-03f93ffa]>.splitpanes__splitter{display:none;pointer-events:none}.slim-mode .bottom-pane.splitpanes__pane[data-v-03f93ffa],.slim-mode .right-pane.splitpanes__pane[data-v-03f93ffa]{display:none;pointer-events:none}.common-splitter.slim-splitter[data-v-03f93ffa] .splitpanes__splitter{position:relative;min-width:2px;border-width:0 0 0 1px}.common-splitter.slim-splitter[data-v-03f93ffa] .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-03f93ffa]>.splitpanes__splitter{border-width:0 1px}.splitpanes--horizontal[data-v-03f93ffa]>.splitpanes__splitter{border-width:1px 0}.left-facing-splitter[data-v-03f93ffa]>.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-03f93ffa]>.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-03f93ffa]>.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-03f93ffa]>.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-03f93ffa]{transition:none 0s ease 0s;transition:initial;overflow:visible;min-width:0;min-height:0}.main-splitpane[data-v-03f93ffa]{overflow:hidden}.main-splitpane[data-v-03f93ffa]>.splitpanes__splitter:hover{border-right:1px solid var(--knime-masala)}.horizontal-splitpane[data-v-03f93ffa]>.splitpanes__splitter:hover{border-top:1px solid var(--knime-masala)}.vertical-splitpane[data-v-03f93ffa]>.splitpanes__splitter:hover{border-left:1px solid var(--knime-masala)}.layout[data-v-03f93ffa]{display:flex;flex-direction:column;height:100vh;width:100%;flex-grow:0;overflow:hidden;position:relative}.editor-and-control-bar[data-v-03f93ffa]{height:100%;display:flex;flex-direction:column}.editor-and-control-bar .multi-editor-container[data-v-03f93ffa]{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-03f93ffa]{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-03f93ffa]{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-03f93ffa]{background-color:var(--knime-gray-ultra-light)}.scrollable-y[data-v-03f93ffa]{overflow-y:auto}`)),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:not(.debug),.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::-moz-selection{color:transparent}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{-webkit-user-select:text;-moz-user-select:text;user-select:text;white-space:pre}.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-7c6287c5]{height:100%}.terminal.focus-painted[data-v-7c6287c5]: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-7c6287c5]{height:100%}iframe[data-v-191a007e]{width:100%;height:100%;border:none;display:block}.ui-ext-shadow-app[data-v-a045009d]{overflow:hidden}.output-table-preview[data-v-83035ffa]{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0}.pre-evaluation-sign[data-v-83035ffa]{display:flex;height:35px;justify-content:center;border-radius:10px}.output-table[data-v-83035ffa]{height:100%;width:100%}.preview-background[data-v-83035ffa]{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-83035ffa]{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}.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}.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%}}.disclaimer-container[data-v-8497e928]{display:flex;flex-direction:column}.disclaimer-container .disclaimer-box[data-v-8497e928]{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-box .content[data-v-8497e928]{word-wrap:break-word;white-space:pre-wrap}.disclaimer-container .disclaimer-button-container[data-v-8497e928]{display:flex;justify-content:right}.disclaimer-container .disclaimer-button-container>button[data-v-8497e928]{margin-top:0}.notification-button[data-v-8497e928]{height:30px;margin:var(--space-8);margin-right:var(--space-16)}.disclaimer-slide-fade-leave-active[data-v-8497e928]{transition:all .2s cubic-bezier(1,.5,.8,1)}.disclaimer-slide-fade-enter-from[data-v-8497e928],.disclaimer-slide-fade-leave-to[data-v-8497e928]{transform:translateY(30px);opacity:0}.suggestion-container[data-v-fadc461b]{display:flex;flex-direction:column;position:relative}.suggestion-container .diff-editor[data-v-fadc461b]{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-fadc461b]{position:absolute;bottom:15px;right:15px}.suggestion-container .accept-decline-buttons .button[data-v-fadc461b]{float:right;margin-top:var(--ai-bar-margin)}.slide-fade-enter-active[data-v-0e0ef208]{transition:all .3s ease-out}.slide-fade-leave-active[data-v-0e0ef208]{transition:all .8s cubic-bezier(1,.5,.8,1)}.slide-fade-enter-from[data-v-0e0ef208],.slide-fade-leave-to[data-v-0e0ef208]{transform:translateY(30px);opacity:0}.popup-content[data-v-0e0ef208]{--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-0e0ef208]{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-0e0ef208]{margin-right:var(--space-4)}.popup-content .subtitle .button[data-v-0e0ef208]{position:absolute;bottom:4px;right:79px}.popup-content .subtitle .button.primary[data-v-0e0ef208]{right:4px}.popup-content .ai-suggestion[data-v-0e0ef208]{margin:var(--ai-bar-margin);min-height:200px;height:40vh}.popup-content .chat-controls-border-top[data-v-0e0ef208]{border-top:1px solid var(--knime-porcelain)}.popup-content .chat-controls[data-v-0e0ef208]{display:flex;flex-direction:column;position:relative}.popup-content .chat-controls .prompt-bar[data-v-0e0ef208]{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;max-height:100px;text-overflow:ellipsis;overflow:hidden;line-clamp:5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5}.popup-content .chat-controls .error-message[data-v-0e0ef208]{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-0e0ef208]{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-0e0ef208]{white-space:normal;word-wrap:break-word;font-size:12px}.popup-content .chat-controls .chat-controls-text-input[data-v-0e0ef208]{display:flex;flex-flow:row nowrap;align-items:center;z-index:12}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-0e0ef208]{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-x:hidden;overflow-y:auto;overflow:hidden auto;max-height:100px}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-0e0ef208]::-moz-placeholder{color:var(--knime-dove-gray)}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-0e0ef208]::placeholder{color:var(--knime-dove-gray)}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-0e0ef208]:disabled{opacity:.5}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-0e0ef208]:focus{outline:none}.popup-content .chat-controls .chat-controls-text-input .chat-controls-buttons[data-v-0e0ef208]{margin:var(--ai-bar-margin);margin-left:0}.popup-content .notification-bar[data-v-0e0ef208]{display:flex;justify-content:space-between;vertical-align:middle;border-top:1px solid var(--knime-porcelain);position:relative;height:49px}.notification[data-v-0e0ef208]{line-height:15.23px;margin:var(--space-16)}.notification-button[data-v-0e0ef208]{height:30px;margin:var(--space-8);margin-right:var(--space-16)}.abort-button[data-v-0e0ef208]{border:1px solid var(--knime-silver-sand)}.popup-anchor[data-v-b578cf5e]{position:relative;display:flex;width:100%}.popup-anchor .ai-popup[data-v-b578cf5e]{--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-b578cf5e]{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-7ab3671a] svg{margin-right:0}.controls[data-v-7ab3671a]{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-7ab3671a]{display:flex;justify-content:right;flex-wrap:wrap;row-gap:var(--space-4)}.button-active.compact[data-v-7ab3671a]{color:var(--knime-white);background-color:var(--knime-masala)}.button-active.compact svg[data-v-7ab3671a]{stroke:var(--knime-white)}.container[data-v-6a45038d]{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-6a45038d]{margin-left:10px;height:var(--controls-height);line-height:var(--controls-height);display:flex;align-items:center}.open-icon[data-v-6a45038d]{width:18px;height:18px;margin:auto}.menu[data-v-6a45038d]{margin:var(--space-4);margin-right:var(--space-8);flex:0 1 1px;justify-content:center}.code-editor{height:100%}.editor-container{height:100%;min-height:0}.port-table[data-v-ce4e7cd0]{height:100%}.view-value-switch[data-v-ad87bfef]{display:flex;justify-content:center}.scripting-editor-bottom-pane[data-v-006cb00f]{display:flex;flex-direction:column;height:100%}.scripting-editor-bottom-pane .tab-content[data-v-006cb00f]{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-006cb00f]{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-006cb00f]{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-006cb00f]{flex-grow:1}.settings-title[data-v-1037c6a3]{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-1037c6a3]{padding-right:var(--space-16)}.settings-title .arrow-left[data-v-1037c6a3]{border-right:1px solid var(--knime-silver-sand)}.settings-title .button svg[data-v-1037c6a3]{height:31px;width:31px}.settings-title h3[data-v-1037c6a3]{font-size:28px;margin-left:0}.settings-content[data-v-1037c6a3]{width:100%;height:100%;display:flex;flex-direction:column;justify-content:flex-start;background-color:var(--knime-gray-ultra-light)}.common-splitter[data-v-03f93ffa] .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-03f93ffa] .splitpanes__splitter{display:none;pointer-events:none}.collapse-left-pane[data-v-03f93ffa]>.splitpanes__splitter{display:none;pointer-events:none}.slim-mode .bottom-pane.splitpanes__pane[data-v-03f93ffa],.slim-mode .right-pane.splitpanes__pane[data-v-03f93ffa]{display:none;pointer-events:none}.common-splitter.slim-splitter[data-v-03f93ffa] .splitpanes__splitter{position:relative;min-width:2px;border-width:0 0 0 1px}.common-splitter.slim-splitter[data-v-03f93ffa] .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-03f93ffa]>.splitpanes__splitter{border-width:0 1px}.splitpanes--horizontal[data-v-03f93ffa]>.splitpanes__splitter{border-width:1px 0}.left-facing-splitter[data-v-03f93ffa]>.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-03f93ffa]>.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-03f93ffa]>.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-03f93ffa]>.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-03f93ffa]{transition:none 0s ease 0s;transition:initial;overflow:visible;min-width:0;min-height:0}.main-splitpane[data-v-03f93ffa]{overflow:hidden}.main-splitpane[data-v-03f93ffa]>.splitpanes__splitter:hover{border-right:1px solid var(--knime-masala)}.horizontal-splitpane[data-v-03f93ffa]>.splitpanes__splitter:hover{border-top:1px solid var(--knime-masala)}.vertical-splitpane[data-v-03f93ffa]>.splitpanes__splitter:hover{border-left:1px solid var(--knime-masala)}.layout[data-v-03f93ffa]{display:flex;flex-direction:column;height:100vh;width:100%;flex-grow:0;overflow:hidden;position:relative}.editor-and-control-bar[data-v-03f93ffa]{height:100%;display:flex;flex-direction:column}.editor-and-control-bar .multi-editor-container[data-v-03f93ffa]{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-03f93ffa]{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-03f93ffa]{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-03f93ffa]{background-color:var(--knime-gray-ultra-light)}.scrollable-y[data-v-03f93ffa]{overflow-y:auto}`)),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
33
33
|
var Pl = Object.defineProperty;
|
|
34
34
|
var Dl = (e, t, f) => t in e ? Pl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: f }) : e[t] = f;
|
|
35
35
|
var tt = (e, t, f) => Dl(e, typeof t != "symbol" ? t + "" : t, f);
|
|
36
|
-
import { getCurrentScope as Ll, onScopeDispose as Tl, onMounted as Xe, nextTick as Xi, toRef as ao, readonly as Es, ref as ue, customRef as Ml, watch as Je, getCurrentInstance as co, toValue as it, computed as ve, shallowRef as Fe, isRef as lo, watchEffect as Ac, unref as J, onUnmounted as Kt, defineComponent as Oe, createBlock as Ae, openBlock as Q, normalizeClass as Ge, createElementBlock as ne, createElementVNode as ee, reactive as Ti, withCtx as Se, createCommentVNode as Ie, Fragment as sr, renderList as nr, resolveDynamicComponent as Al, mergeProps as Il, toDisplayString as qe, createTextVNode as jt, createVNode as fe, withDirectives as dt, normalizeStyle as Yi, markRaw as
|
|
37
|
-
import { TabBar as
|
|
36
|
+
import { getCurrentScope as Ll, onScopeDispose as Tl, onMounted as Xe, nextTick as Xi, toRef as ao, readonly as Es, ref as ue, customRef as Ml, watch as Je, getCurrentInstance as co, toValue as it, computed as ve, shallowRef as Fe, isRef as lo, watchEffect as Ac, unref as J, onUnmounted as Kt, defineComponent as Oe, createBlock as Ae, openBlock as Q, normalizeClass as Ge, createElementBlock as ne, createElementVNode as ee, reactive as Ti, withCtx as Se, createCommentVNode as Ie, Fragment as sr, renderList as nr, resolveDynamicComponent as Al, mergeProps as Il, toDisplayString as qe, createTextVNode as jt, createVNode as fe, withDirectives as dt, onBeforeUnmount as Ol, normalizeStyle as Yi, markRaw as xl, toRaw as us, h as Bl, renderSlot as We, vShow as Bt, Transition as hs, vModelText as Nl, resolveComponent as Ro, mergeModels as Hl, useModel as Fl, useSlots as Po, createSlots as ql } from "vue";
|
|
37
|
+
import { TabBar as jl, useMultiSelection as Wl, Collapser as zl, PortIcon as Do, Button as ri, FunctionButton as Lo, SubMenu as Ul, ValueSwitch as $l } from "@knime/components";
|
|
38
38
|
import * as ot from "monaco-editor";
|
|
39
|
-
import { languages as Ue, MarkerTag as To, MarkerSeverity as Or, editor as
|
|
39
|
+
import { languages as Ue, MarkerTag as To, MarkerSeverity as Or, editor as Vl } from "monaco-editor";
|
|
40
40
|
import { JsonDataService as _r, AlertingService as Ic, DialogService as Oc } from "@knime/ui-extension-service";
|
|
41
41
|
function uo(e) {
|
|
42
42
|
return Ll() ? (Tl(e), !0) : !1;
|
|
43
43
|
}
|
|
44
44
|
const xc = typeof window < "u" && typeof document < "u";
|
|
45
45
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
46
|
-
const
|
|
47
|
-
},
|
|
48
|
-
function
|
|
46
|
+
const Kl = (e) => typeof e < "u", Gl = (e) => e != null, Jl = Object.prototype.toString, Xl = (e) => Jl.call(e) === "[object Object]", yt = () => {
|
|
47
|
+
}, Yl = /* @__PURE__ */ Zl();
|
|
48
|
+
function Zl() {
|
|
49
49
|
var e, t;
|
|
50
50
|
return xc && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
|
|
51
51
|
}
|
|
@@ -55,7 +55,7 @@ function Mo(...e) {
|
|
|
55
55
|
const t = e[0];
|
|
56
56
|
return typeof t == "function" ? Es(Ml(() => ({ get: t, set: yt }))) : ue(t);
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function Ql(e, t) {
|
|
59
59
|
function f(...l) {
|
|
60
60
|
return new Promise((u, v) => {
|
|
61
61
|
Promise.resolve(e(() => t.apply(this, l), { fn: t, thisArg: this, args: l })).then(u).catch(v);
|
|
@@ -63,7 +63,7 @@ function Zl(e, t) {
|
|
|
63
63
|
}
|
|
64
64
|
return f;
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function eu(e, t = {}) {
|
|
67
67
|
let f, l, u = yt;
|
|
68
68
|
const v = (i) => {
|
|
69
69
|
clearTimeout(i), u(), u = yt;
|
|
@@ -83,19 +83,19 @@ function Ql(e, t = {}) {
|
|
|
83
83
|
function ki(e) {
|
|
84
84
|
return Array.isArray(e) ? e : [e];
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function tu(e) {
|
|
87
87
|
return co();
|
|
88
88
|
}
|
|
89
|
-
function
|
|
90
|
-
return
|
|
91
|
-
|
|
89
|
+
function ru(e, t = 200, f = {}) {
|
|
90
|
+
return Ql(
|
|
91
|
+
eu(t, f),
|
|
92
92
|
e
|
|
93
93
|
);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
96
|
-
|
|
95
|
+
function iu(e, t = !0, f) {
|
|
96
|
+
tu() ? Xe(e, f) : t ? e() : Xi(e);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function su(e, t, f) {
|
|
99
99
|
return Je(
|
|
100
100
|
e,
|
|
101
101
|
t,
|
|
@@ -153,7 +153,7 @@ function pr(...e) {
|
|
|
153
153
|
}, l = (r, i, s, c) => (r.addEventListener(i, s, c), () => r.removeEventListener(i, s, c)), u = ve(() => {
|
|
154
154
|
const r = ki(it(e[0])).filter((i) => i != null);
|
|
155
155
|
return r.every((i) => typeof i != "string") ? r : void 0;
|
|
156
|
-
}), v =
|
|
156
|
+
}), v = su(
|
|
157
157
|
() => {
|
|
158
158
|
var r, i;
|
|
159
159
|
return [
|
|
@@ -167,7 +167,7 @@ function pr(...e) {
|
|
|
167
167
|
([r, i, s, c]) => {
|
|
168
168
|
if (f(), !(r != null && r.length) || !(i != null && i.length) || !(s != null && s.length))
|
|
169
169
|
return;
|
|
170
|
-
const h =
|
|
170
|
+
const h = Xl(c) ? { ...c } : c;
|
|
171
171
|
t.push(
|
|
172
172
|
...r.flatMap(
|
|
173
173
|
(n) => i.flatMap(
|
|
@@ -183,11 +183,11 @@ function pr(...e) {
|
|
|
183
183
|
return uo(f), m;
|
|
184
184
|
}
|
|
185
185
|
let Ao = !1;
|
|
186
|
-
function
|
|
186
|
+
function nu(e, t, f = {}) {
|
|
187
187
|
const { window: l = cr, ignore: u = [], capture: v = !0, detectIframe: m = !1, controls: r = !1 } = f;
|
|
188
188
|
if (!l)
|
|
189
189
|
return r ? { stop: yt, cancel: yt, trigger: yt } : yt;
|
|
190
|
-
if (
|
|
190
|
+
if (Yl && !Ao) {
|
|
191
191
|
Ao = !0;
|
|
192
192
|
const a = { passive: !0 };
|
|
193
193
|
Array.from(l.document.body.children).forEach((p) => p.addEventListener("click", yt, a)), l.document.documentElement.addEventListener("click", yt, a);
|
|
@@ -248,23 +248,23 @@ function su(e, t, f = {}) {
|
|
|
248
248
|
}
|
|
249
249
|
} : y;
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function ou() {
|
|
252
252
|
const e = Fe(!1), t = co();
|
|
253
253
|
return t && Xe(() => {
|
|
254
254
|
e.value = !0;
|
|
255
255
|
}, t), e;
|
|
256
256
|
}
|
|
257
257
|
function Bc(e) {
|
|
258
|
-
const t =
|
|
258
|
+
const t = ou();
|
|
259
259
|
return ve(() => (t.value, !!e()));
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function au(e, t, f = {}) {
|
|
262
262
|
const { window: l = cr, ...u } = f;
|
|
263
263
|
let v;
|
|
264
264
|
const m = Bc(() => l && "MutationObserver" in l), r = () => {
|
|
265
265
|
v && (v.disconnect(), v = void 0);
|
|
266
266
|
}, i = ve(() => {
|
|
267
|
-
const n = it(e), d = ki(n).map(Ct).filter(
|
|
267
|
+
const n = it(e), d = ki(n).map(Ct).filter(Gl);
|
|
268
268
|
return new Set(d);
|
|
269
269
|
}), s = Je(
|
|
270
270
|
() => i.value,
|
|
@@ -281,7 +281,7 @@ function ou(e, t, f = {}) {
|
|
|
281
281
|
takeRecords: c
|
|
282
282
|
};
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function cu(e) {
|
|
285
285
|
return typeof e == "function" ? e : typeof e == "string" ? (t) => t.key === e : Array.isArray(e) ? (t) => e.includes(t.key) : () => !0;
|
|
286
286
|
}
|
|
287
287
|
function Io(...e) {
|
|
@@ -292,12 +292,12 @@ function Io(...e) {
|
|
|
292
292
|
eventName: v = "keydown",
|
|
293
293
|
passive: m = !1,
|
|
294
294
|
dedupe: r = !1
|
|
295
|
-
} = l, i =
|
|
295
|
+
} = l, i = cu(t);
|
|
296
296
|
return pr(u, v, (c) => {
|
|
297
297
|
c.repeat && it(r) || i(c) && f(c);
|
|
298
298
|
}, m);
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function lu(e) {
|
|
301
301
|
return JSON.parse(JSON.stringify(e));
|
|
302
302
|
}
|
|
303
303
|
function ho(e, t, f = {}) {
|
|
@@ -346,9 +346,9 @@ function Oo(e, t = {}) {
|
|
|
346
346
|
function a() {
|
|
347
347
|
m === "sync" ? y() : m === "next-frame" && requestAnimationFrame(() => y());
|
|
348
348
|
}
|
|
349
|
-
return ho(e, a), Je(() => Ct(e), (p) => !p && a()),
|
|
349
|
+
return ho(e, a), Je(() => Ct(e), (p) => !p && a()), au(e, a, {
|
|
350
350
|
attributeFilter: ["style", "class"]
|
|
351
|
-
}), u && pr("scroll", a, { capture: !0, passive: !0 }), l && pr("resize", a, { passive: !0 }),
|
|
351
|
+
}), u && pr("scroll", a, { capture: !0, passive: !0 }), l && pr("resize", a, { passive: !0 }), iu(() => {
|
|
352
352
|
v && a();
|
|
353
353
|
}), {
|
|
354
354
|
height: r,
|
|
@@ -362,10 +362,10 @@ function Oo(e, t = {}) {
|
|
|
362
362
|
update: a
|
|
363
363
|
};
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function uu(e = cr, t) {
|
|
366
366
|
e && typeof e.requestAnimationFrame == "function" ? e.requestAnimationFrame(t) : t();
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function hu(e = {}) {
|
|
369
369
|
var t, f;
|
|
370
370
|
const { window: l = cr } = e, u = Mo(e == null ? void 0 : e.element), v = Mo((t = e == null ? void 0 : e.input) != null ? t : ""), m = (f = e == null ? void 0 : e.styleProp) != null ? f : "height", r = Fe(1), i = Fe(0);
|
|
371
371
|
function s() {
|
|
@@ -381,7 +381,7 @@ function uu(e = {}) {
|
|
|
381
381
|
var c;
|
|
382
382
|
return (c = e == null ? void 0 : e.onResize) == null ? void 0 : c.call(e);
|
|
383
383
|
}), ho(u, ([{ contentRect: c }]) => {
|
|
384
|
-
i.value !== c.width &&
|
|
384
|
+
i.value !== c.width && uu(l, () => {
|
|
385
385
|
i.value = c.width, s();
|
|
386
386
|
});
|
|
387
387
|
}), e != null && e.watch && Je(e.watch, s, { immediate: !0, deep: !0 }), {
|
|
@@ -390,7 +390,7 @@ function uu(e = {}) {
|
|
|
390
390
|
triggerResize: s
|
|
391
391
|
};
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function du(e, t, f, l = {}) {
|
|
394
394
|
var u, v, m;
|
|
395
395
|
const {
|
|
396
396
|
clone: r = !1,
|
|
@@ -402,7 +402,7 @@ function hu(e, t, f, l = {}) {
|
|
|
402
402
|
} = l, d = co(), g = f || (d == null ? void 0 : d.emit) || ((u = d == null ? void 0 : d.$emit) == null ? void 0 : u.bind(d)) || ((m = (v = d == null ? void 0 : d.proxy) == null ? void 0 : v.$emit) == null ? void 0 : m.bind(d == null ? void 0 : d.proxy));
|
|
403
403
|
let y = s;
|
|
404
404
|
y = y || `update:${t.toString()}`;
|
|
405
|
-
const a = (_) => r ? typeof r == "function" ? r(_) :
|
|
405
|
+
const a = (_) => r ? typeof r == "function" ? r(_) : lu(_) : _, p = () => Kl(e[t]) ? a(e[t]) : h, o = (_) => {
|
|
406
406
|
n ? n(_) && g(y, _) : g(y, _);
|
|
407
407
|
};
|
|
408
408
|
if (i) {
|
|
@@ -430,7 +430,7 @@ function hu(e, t, f, l = {}) {
|
|
|
430
430
|
}
|
|
431
431
|
});
|
|
432
432
|
}
|
|
433
|
-
const
|
|
433
|
+
const fu = [
|
|
434
434
|
"Tab",
|
|
435
435
|
"ArrowUp",
|
|
436
436
|
"ArrowDown",
|
|
@@ -440,7 +440,7 @@ const du = [
|
|
|
440
440
|
"Enter"
|
|
441
441
|
], Zi = () => {
|
|
442
442
|
const e = ue(!1), t = (l) => {
|
|
443
|
-
|
|
443
|
+
fu.includes(l.key) && (e.value = !0);
|
|
444
444
|
}, f = () => {
|
|
445
445
|
e.value = !1;
|
|
446
446
|
};
|
|
@@ -449,7 +449,7 @@ const du = [
|
|
|
449
449
|
}), Kt(() => {
|
|
450
450
|
document.removeEventListener("keydown", t), document.removeEventListener("mousedown", f);
|
|
451
451
|
}), e;
|
|
452
|
-
},
|
|
452
|
+
}, pu = /* @__PURE__ */ Oe({
|
|
453
453
|
__name: "CompactTabBar",
|
|
454
454
|
props: {
|
|
455
455
|
disabled: {
|
|
@@ -471,8 +471,8 @@ const du = [
|
|
|
471
471
|
},
|
|
472
472
|
emits: ["update:modelValue"],
|
|
473
473
|
setup(e, { emit: t }) {
|
|
474
|
-
const f = e, u =
|
|
475
|
-
return (m, r) => (Q(), Ae(J(
|
|
474
|
+
const f = e, u = du(f, "modelValue", t), v = Zi();
|
|
475
|
+
return (m, r) => (Q(), Ae(J(jl), {
|
|
476
476
|
modelValue: J(u),
|
|
477
477
|
"onUpdate:modelValue": r[0] || (r[0] = (i) => lo(u) ? u.value = i : null),
|
|
478
478
|
class: Ge(["scripting-editor-tab-bar", { "focus-painted": J(v) }]),
|
|
@@ -485,12 +485,12 @@ const du = [
|
|
|
485
485
|
for (const [l, u] of t)
|
|
486
486
|
f[l] = u;
|
|
487
487
|
return f;
|
|
488
|
-
},
|
|
488
|
+
}, _u = /* @__PURE__ */ Be(pu, [["__scopeId", "data-v-be68c5c4"]]);
|
|
489
489
|
var rt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
490
|
-
function
|
|
490
|
+
function gu(e) {
|
|
491
491
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
492
492
|
}
|
|
493
|
-
function
|
|
493
|
+
function vu(e) {
|
|
494
494
|
if (e.__esModule) return e;
|
|
495
495
|
var t = e.default;
|
|
496
496
|
if (typeof t == "function") {
|
|
@@ -512,13 +512,13 @@ function gu(e) {
|
|
|
512
512
|
var ks = { exports: {} }, Rs = { exports: {} }, ct = {}, Ce = {};
|
|
513
513
|
Ce.__esModule = !0;
|
|
514
514
|
Ce.extend = Nc;
|
|
515
|
-
Ce.indexOf =
|
|
516
|
-
Ce.escapeExpression =
|
|
517
|
-
Ce.isEmpty =
|
|
518
|
-
Ce.createFrame =
|
|
519
|
-
Ce.blockParams =
|
|
520
|
-
Ce.appendContextPath =
|
|
521
|
-
var
|
|
515
|
+
Ce.indexOf = Cu;
|
|
516
|
+
Ce.escapeExpression = wu;
|
|
517
|
+
Ce.isEmpty = Eu;
|
|
518
|
+
Ce.createFrame = ku;
|
|
519
|
+
Ce.blockParams = Ru;
|
|
520
|
+
Ce.appendContextPath = Pu;
|
|
521
|
+
var mu = {
|
|
522
522
|
"&": "&",
|
|
523
523
|
"<": "<",
|
|
524
524
|
">": ">",
|
|
@@ -526,9 +526,9 @@ var vu = {
|
|
|
526
526
|
"'": "'",
|
|
527
527
|
"`": "`",
|
|
528
528
|
"=": "="
|
|
529
|
-
},
|
|
530
|
-
function
|
|
531
|
-
return
|
|
529
|
+
}, Su = /[&<>"'`=]/g, yu = /[&<>"'`=]/;
|
|
530
|
+
function bu(e) {
|
|
531
|
+
return mu[e];
|
|
532
532
|
}
|
|
533
533
|
function Nc(e) {
|
|
534
534
|
for (var t = 1; t < arguments.length; t++)
|
|
@@ -549,13 +549,13 @@ var Hc = Array.isArray || function(e) {
|
|
|
549
549
|
return e && typeof e == "object" ? fo.call(e) === "[object Array]" : !1;
|
|
550
550
|
};
|
|
551
551
|
Ce.isArray = Hc;
|
|
552
|
-
function
|
|
552
|
+
function Cu(e, t) {
|
|
553
553
|
for (var f = 0, l = e.length; f < l; f++)
|
|
554
554
|
if (e[f] === t)
|
|
555
555
|
return f;
|
|
556
556
|
return -1;
|
|
557
557
|
}
|
|
558
|
-
function
|
|
558
|
+
function wu(e) {
|
|
559
559
|
if (typeof e != "string") {
|
|
560
560
|
if (e && e.toHTML)
|
|
561
561
|
return e.toHTML();
|
|
@@ -565,19 +565,19 @@ function Cu(e) {
|
|
|
565
565
|
return e + "";
|
|
566
566
|
e = "" + e;
|
|
567
567
|
}
|
|
568
|
-
return
|
|
568
|
+
return yu.test(e) ? e.replace(Su, bu) : e;
|
|
569
569
|
}
|
|
570
|
-
function
|
|
570
|
+
function Eu(e) {
|
|
571
571
|
return !e && e !== 0 ? !0 : !!(Hc(e) && e.length === 0);
|
|
572
572
|
}
|
|
573
|
-
function
|
|
573
|
+
function ku(e) {
|
|
574
574
|
var t = Nc({}, e);
|
|
575
575
|
return t._parent = e, t;
|
|
576
576
|
}
|
|
577
|
-
function
|
|
577
|
+
function Ru(e, t) {
|
|
578
578
|
return e.path = t, e;
|
|
579
579
|
}
|
|
580
|
-
function
|
|
580
|
+
function Pu(e, t) {
|
|
581
581
|
return (e ? e + "." : "") + t;
|
|
582
582
|
}
|
|
583
583
|
var Ds = { exports: {} };
|
|
@@ -624,7 +624,7 @@ var pt = Ds.exports, ii = {}, Ls = { exports: {} };
|
|
|
624
624
|
});
|
|
625
625
|
}, e.exports = t.default;
|
|
626
626
|
})(Ls, Ls.exports);
|
|
627
|
-
var
|
|
627
|
+
var Du = Ls.exports, Ts = { exports: {} };
|
|
628
628
|
(function(e, t) {
|
|
629
629
|
t.__esModule = !0;
|
|
630
630
|
function f(m) {
|
|
@@ -664,7 +664,7 @@ var Pu = Ls.exports, Ts = { exports: {} };
|
|
|
664
664
|
});
|
|
665
665
|
}, e.exports = t.default;
|
|
666
666
|
})(Ts, Ts.exports);
|
|
667
|
-
var
|
|
667
|
+
var Lu = Ts.exports, Ms = { exports: {} };
|
|
668
668
|
(function(e, t) {
|
|
669
669
|
t.__esModule = !0;
|
|
670
670
|
function f(v) {
|
|
@@ -678,7 +678,7 @@ var Du = Ts.exports, Ms = { exports: {} };
|
|
|
678
678
|
});
|
|
679
679
|
}, e.exports = t.default;
|
|
680
680
|
})(Ms, Ms.exports);
|
|
681
|
-
var
|
|
681
|
+
var Tu = Ms.exports, As = { exports: {} };
|
|
682
682
|
(function(e, t) {
|
|
683
683
|
t.__esModule = !0;
|
|
684
684
|
function f(m) {
|
|
@@ -701,7 +701,7 @@ var Lu = Ms.exports, As = { exports: {} };
|
|
|
701
701
|
});
|
|
702
702
|
}, e.exports = t.default;
|
|
703
703
|
})(As, As.exports);
|
|
704
|
-
var
|
|
704
|
+
var Mu = As.exports, Is = { exports: {} };
|
|
705
705
|
(function(e, t) {
|
|
706
706
|
t.__esModule = !0, t.default = function(f) {
|
|
707
707
|
f.registerHelper("log", function() {
|
|
@@ -712,7 +712,7 @@ var Tu = As.exports, Is = { exports: {} };
|
|
|
712
712
|
});
|
|
713
713
|
}, e.exports = t.default;
|
|
714
714
|
})(Is, Is.exports);
|
|
715
|
-
var
|
|
715
|
+
var Au = Is.exports, Os = { exports: {} };
|
|
716
716
|
(function(e, t) {
|
|
717
717
|
t.__esModule = !0, t.default = function(f) {
|
|
718
718
|
f.registerHelper("lookup", function(l, u, v) {
|
|
@@ -720,7 +720,7 @@ var Mu = Is.exports, Os = { exports: {} };
|
|
|
720
720
|
});
|
|
721
721
|
}, e.exports = t.default;
|
|
722
722
|
})(Os, Os.exports);
|
|
723
|
-
var
|
|
723
|
+
var Iu = Os.exports, xs = { exports: {} };
|
|
724
724
|
(function(e, t) {
|
|
725
725
|
t.__esModule = !0;
|
|
726
726
|
function f(m) {
|
|
@@ -743,18 +743,18 @@ var Au = Os.exports, xs = { exports: {} };
|
|
|
743
743
|
});
|
|
744
744
|
}, e.exports = t.default;
|
|
745
745
|
})(xs, xs.exports);
|
|
746
|
-
var
|
|
746
|
+
var Ou = xs.exports;
|
|
747
747
|
ii.__esModule = !0;
|
|
748
|
-
ii.registerDefaultHelpers =
|
|
749
|
-
ii.moveHelperToHooks =
|
|
748
|
+
ii.registerDefaultHelpers = Ju;
|
|
749
|
+
ii.moveHelperToHooks = Xu;
|
|
750
750
|
function lr(e) {
|
|
751
751
|
return e && e.__esModule ? e : { default: e };
|
|
752
752
|
}
|
|
753
|
-
var
|
|
754
|
-
function
|
|
755
|
-
|
|
753
|
+
var xu = Du, Bu = lr(xu), Nu = Lu, Hu = lr(Nu), Fu = Tu, qu = lr(Fu), ju = Mu, Wu = lr(ju), zu = Au, Uu = lr(zu), $u = Iu, Vu = lr($u), Ku = Ou, Gu = lr(Ku);
|
|
754
|
+
function Ju(e) {
|
|
755
|
+
Bu.default(e), Hu.default(e), qu.default(e), Wu.default(e), Uu.default(e), Vu.default(e), Gu.default(e);
|
|
756
756
|
}
|
|
757
|
-
function
|
|
757
|
+
function Xu(e, t, f) {
|
|
758
758
|
e.helpers[t] && (e.hooks[t] = e.helpers[t], f || delete e.helpers[t]);
|
|
759
759
|
}
|
|
760
760
|
var po = {}, Bs = { exports: {} };
|
|
@@ -773,15 +773,15 @@ var po = {}, Bs = { exports: {} };
|
|
|
773
773
|
});
|
|
774
774
|
}, e.exports = t.default;
|
|
775
775
|
})(Bs, Bs.exports);
|
|
776
|
-
var
|
|
776
|
+
var Yu = Bs.exports;
|
|
777
777
|
po.__esModule = !0;
|
|
778
|
-
po.registerDefaultDecorators =
|
|
779
|
-
function
|
|
778
|
+
po.registerDefaultDecorators = th;
|
|
779
|
+
function Zu(e) {
|
|
780
780
|
return e && e.__esModule ? e : { default: e };
|
|
781
781
|
}
|
|
782
|
-
var
|
|
783
|
-
function
|
|
784
|
-
|
|
782
|
+
var Qu = Yu, eh = Zu(Qu);
|
|
783
|
+
function th(e) {
|
|
784
|
+
eh.default(e);
|
|
785
785
|
}
|
|
786
786
|
var Ns = { exports: {} };
|
|
787
787
|
(function(e, t) {
|
|
@@ -812,22 +812,22 @@ var Ns = { exports: {} };
|
|
|
812
812
|
})(Ns, Ns.exports);
|
|
813
813
|
var Fc = Ns.exports, Mr = {}, _o = {};
|
|
814
814
|
_o.__esModule = !0;
|
|
815
|
-
_o.createNewLookupObject =
|
|
816
|
-
var
|
|
817
|
-
function
|
|
815
|
+
_o.createNewLookupObject = ih;
|
|
816
|
+
var rh = Ce;
|
|
817
|
+
function ih() {
|
|
818
818
|
for (var e = arguments.length, t = Array(e), f = 0; f < e; f++)
|
|
819
819
|
t[f] = arguments[f];
|
|
820
|
-
return
|
|
820
|
+
return rh.extend.apply(void 0, [/* @__PURE__ */ Object.create(null)].concat(t));
|
|
821
821
|
}
|
|
822
822
|
Mr.__esModule = !0;
|
|
823
|
-
Mr.createProtoAccessControl =
|
|
824
|
-
Mr.resultIsAllowed =
|
|
825
|
-
Mr.resetLoggedProperties =
|
|
826
|
-
function
|
|
823
|
+
Mr.createProtoAccessControl = ah;
|
|
824
|
+
Mr.resultIsAllowed = ch;
|
|
825
|
+
Mr.resetLoggedProperties = uh;
|
|
826
|
+
function sh(e) {
|
|
827
827
|
return e && e.__esModule ? e : { default: e };
|
|
828
828
|
}
|
|
829
|
-
var xo = _o,
|
|
830
|
-
function
|
|
829
|
+
var xo = _o, nh = Fc, oh = sh(nh), Ai = /* @__PURE__ */ Object.create(null);
|
|
830
|
+
function ah(e) {
|
|
831
831
|
var t = /* @__PURE__ */ Object.create(null);
|
|
832
832
|
t.constructor = !1, t.__defineGetter__ = !1, t.__defineSetter__ = !1, t.__lookupGetter__ = !1;
|
|
833
833
|
var f = /* @__PURE__ */ Object.create(null);
|
|
@@ -842,18 +842,18 @@ function oh(e) {
|
|
|
842
842
|
}
|
|
843
843
|
};
|
|
844
844
|
}
|
|
845
|
-
function
|
|
845
|
+
function ch(e, t, f) {
|
|
846
846
|
return Bo(typeof e == "function" ? t.methods : t.properties, f);
|
|
847
847
|
}
|
|
848
848
|
function Bo(e, t) {
|
|
849
|
-
return e.whitelist[t] !== void 0 ? e.whitelist[t] === !0 : e.defaultValue !== void 0 ? e.defaultValue : (
|
|
849
|
+
return e.whitelist[t] !== void 0 ? e.whitelist[t] === !0 : e.defaultValue !== void 0 ? e.defaultValue : (lh(t), !1);
|
|
850
850
|
}
|
|
851
|
-
function
|
|
852
|
-
Ai[e] !== !0 && (Ai[e] = !0,
|
|
851
|
+
function lh(e) {
|
|
852
|
+
Ai[e] !== !0 && (Ai[e] = !0, oh.default.log("error", 'Handlebars: Access has been denied to resolve the property "' + e + `" because it is not an "own property" of its parent.
|
|
853
853
|
You can add a runtime option to disable the check or this warning:
|
|
854
854
|
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`));
|
|
855
855
|
}
|
|
856
|
-
function
|
|
856
|
+
function uh() {
|
|
857
857
|
Object.keys(Ai).forEach(function(e) {
|
|
858
858
|
delete Ai[e];
|
|
859
859
|
});
|
|
@@ -863,13 +863,13 @@ ct.HandlebarsEnvironment = Hs;
|
|
|
863
863
|
function qc(e) {
|
|
864
864
|
return e && e.__esModule ? e : { default: e };
|
|
865
865
|
}
|
|
866
|
-
var er = Ce,
|
|
867
|
-
ct.VERSION =
|
|
868
|
-
var
|
|
869
|
-
ct.COMPILER_REVISION =
|
|
870
|
-
var
|
|
871
|
-
ct.LAST_COMPATIBLE_COMPILER_REVISION =
|
|
872
|
-
var
|
|
866
|
+
var er = Ce, hh = pt, ds = qc(hh), dh = ii, fh = po, ph = Fc, Ii = qc(ph), _h = Mr, gh = "4.7.8";
|
|
867
|
+
ct.VERSION = gh;
|
|
868
|
+
var vh = 8;
|
|
869
|
+
ct.COMPILER_REVISION = vh;
|
|
870
|
+
var mh = 7;
|
|
871
|
+
ct.LAST_COMPATIBLE_COMPILER_REVISION = mh;
|
|
872
|
+
var Sh = {
|
|
873
873
|
1: "<= 1.0.rc.2",
|
|
874
874
|
// 1.0.rc.2 is actually rev2 but doesn't report it
|
|
875
875
|
2: "== 1.0.0-rc.3",
|
|
@@ -880,10 +880,10 @@ var mh = {
|
|
|
880
880
|
7: ">= 4.0.0 <4.3.0",
|
|
881
881
|
8: ">= 4.3.0"
|
|
882
882
|
};
|
|
883
|
-
ct.REVISION_CHANGES =
|
|
883
|
+
ct.REVISION_CHANGES = Sh;
|
|
884
884
|
var fs = "[object Object]";
|
|
885
885
|
function Hs(e, t, f) {
|
|
886
|
-
this.helpers = e || {}, this.partials = t || {}, this.decorators = f || {},
|
|
886
|
+
this.helpers = e || {}, this.partials = t || {}, this.decorators = f || {}, dh.registerDefaultHelpers(this), fh.registerDefaultDecorators(this);
|
|
887
887
|
}
|
|
888
888
|
Hs.prototype = {
|
|
889
889
|
constructor: Hs,
|
|
@@ -928,11 +928,11 @@ Hs.prototype = {
|
|
|
928
928
|
* @deprecated should only be used in handlebars test-cases
|
|
929
929
|
*/
|
|
930
930
|
resetLoggedPropertyAccesses: function() {
|
|
931
|
-
|
|
931
|
+
_h.resetLoggedProperties();
|
|
932
932
|
}
|
|
933
933
|
};
|
|
934
|
-
var
|
|
935
|
-
ct.log =
|
|
934
|
+
var yh = Ii.default.log;
|
|
935
|
+
ct.log = yh;
|
|
936
936
|
ct.createFrame = er.createFrame;
|
|
937
937
|
ct.logger = Ii.default;
|
|
938
938
|
var Fs = { exports: {} };
|
|
@@ -945,10 +945,10 @@ var Fs = { exports: {} };
|
|
|
945
945
|
return "" + this.string;
|
|
946
946
|
}, t.default = f, e.exports = t.default;
|
|
947
947
|
})(Fs, Fs.exports);
|
|
948
|
-
var
|
|
948
|
+
var bh = Fs.exports, Gt = {}, go = {};
|
|
949
949
|
go.__esModule = !0;
|
|
950
|
-
go.wrapHelper =
|
|
951
|
-
function
|
|
950
|
+
go.wrapHelper = Ch;
|
|
951
|
+
function Ch(e, t) {
|
|
952
952
|
if (typeof e != "function")
|
|
953
953
|
return e;
|
|
954
954
|
var f = function() {
|
|
@@ -958,16 +958,16 @@ function bh(e, t) {
|
|
|
958
958
|
return f;
|
|
959
959
|
}
|
|
960
960
|
Gt.__esModule = !0;
|
|
961
|
-
Gt.checkRevision =
|
|
962
|
-
Gt.template =
|
|
961
|
+
Gt.checkRevision = Dh;
|
|
962
|
+
Gt.template = Lh;
|
|
963
963
|
Gt.wrapProgram = Ri;
|
|
964
|
-
Gt.resolvePartial =
|
|
965
|
-
Gt.invokePartial =
|
|
964
|
+
Gt.resolvePartial = Th;
|
|
965
|
+
Gt.invokePartial = Mh;
|
|
966
966
|
Gt.noop = jc;
|
|
967
|
-
function
|
|
967
|
+
function wh(e) {
|
|
968
968
|
return e && e.__esModule ? e : { default: e };
|
|
969
969
|
}
|
|
970
|
-
function
|
|
970
|
+
function Eh(e) {
|
|
971
971
|
if (e && e.__esModule)
|
|
972
972
|
return e;
|
|
973
973
|
var t = {};
|
|
@@ -976,8 +976,8 @@ function wh(e) {
|
|
|
976
976
|
Object.prototype.hasOwnProperty.call(e, f) && (t[f] = e[f]);
|
|
977
977
|
return t.default = e, t;
|
|
978
978
|
}
|
|
979
|
-
var
|
|
980
|
-
function
|
|
979
|
+
var kh = Ce, At = Eh(kh), Rh = pt, It = wh(Rh), Ot = ct, No = ii, Ph = go, Ho = Mr;
|
|
980
|
+
function Dh(e) {
|
|
981
981
|
var t = e && e[0] || 1, f = Ot.COMPILER_REVISION;
|
|
982
982
|
if (!(t >= Ot.LAST_COMPATIBLE_COMPILER_REVISION && t <= Ot.COMPILER_REVISION))
|
|
983
983
|
if (t < Ot.LAST_COMPATIBLE_COMPILER_REVISION) {
|
|
@@ -986,7 +986,7 @@ function Ph(e) {
|
|
|
986
986
|
} else
|
|
987
987
|
throw new It.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version (" + e[1] + ").");
|
|
988
988
|
}
|
|
989
|
-
function
|
|
989
|
+
function Lh(e, t) {
|
|
990
990
|
if (!t)
|
|
991
991
|
throw new It.default("No environment passed to template");
|
|
992
992
|
if (!e || !e.main)
|
|
@@ -1061,7 +1061,7 @@ function Dh(e, t) {
|
|
|
1061
1061
|
};
|
|
1062
1062
|
function v(m) {
|
|
1063
1063
|
var r = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], i = r.data;
|
|
1064
|
-
v._setup(r), !r.partial && e.useData && (i =
|
|
1064
|
+
v._setup(r), !r.partial && e.useData && (i = Ah(m, i));
|
|
1065
1065
|
var s = void 0, c = e.useBlockParams ? [] : void 0;
|
|
1066
1066
|
e.useDepths && (r.depths ? s = m != r.depths[0] ? [m].concat(r.depths) : r.depths : s = [m]);
|
|
1067
1067
|
function h(n) {
|
|
@@ -1074,7 +1074,7 @@ function Dh(e, t) {
|
|
|
1074
1074
|
u.protoAccessControl = m.protoAccessControl, u.helpers = m.helpers, u.partials = m.partials, u.decorators = m.decorators, u.hooks = m.hooks;
|
|
1075
1075
|
else {
|
|
1076
1076
|
var r = At.extend({}, t.helpers, m.helpers);
|
|
1077
|
-
|
|
1077
|
+
Ih(r, u), u.helpers = r, e.usePartial && (u.partials = u.mergeIfNeeded(m.partials, t.partials)), (e.usePartial || e.useDecorators) && (u.decorators = At.extend({}, t.decorators, m.decorators)), u.hooks = {}, u.protoAccessControl = Ho.createProtoAccessControl(m);
|
|
1078
1078
|
var i = m.allowCallsToHelperMissing || f;
|
|
1079
1079
|
No.moveHelperToHooks(u, "helperMissing", i), No.moveHelperToHooks(u, "blockHelperMissing", i);
|
|
1080
1080
|
}
|
|
@@ -1093,10 +1093,10 @@ function Ri(e, t, f, l, u, v, m) {
|
|
|
1093
1093
|
}
|
|
1094
1094
|
return r = Wc(f, r, e, m, l, v), r.program = t, r.depth = m ? m.length : 0, r.blockParams = u || 0, r;
|
|
1095
1095
|
}
|
|
1096
|
-
function
|
|
1096
|
+
function Th(e, t, f) {
|
|
1097
1097
|
return e ? !e.call && !f.name && (f.name = e, e = f.partials[e]) : f.name === "@partial-block" ? e = f.data["partial-block"] : e = f.partials[f.name], e;
|
|
1098
1098
|
}
|
|
1099
|
-
function
|
|
1099
|
+
function Mh(e, t, f) {
|
|
1100
1100
|
var l = f.data && f.data["partial-block"];
|
|
1101
1101
|
f.partial = !0, f.ids && (f.data.contextPath = f.ids[0] || f.data.contextPath);
|
|
1102
1102
|
var u = void 0;
|
|
@@ -1115,7 +1115,7 @@ function Th(e, t, f) {
|
|
|
1115
1115
|
function jc() {
|
|
1116
1116
|
return "";
|
|
1117
1117
|
}
|
|
1118
|
-
function
|
|
1118
|
+
function Ah(e, t) {
|
|
1119
1119
|
return (!t || !("root" in t)) && (t = t ? Ot.createFrame(t) : {}, t.root = e), t;
|
|
1120
1120
|
}
|
|
1121
1121
|
function Wc(e, t, f, l, u, v) {
|
|
@@ -1125,15 +1125,15 @@ function Wc(e, t, f, l, u, v) {
|
|
|
1125
1125
|
}
|
|
1126
1126
|
return t;
|
|
1127
1127
|
}
|
|
1128
|
-
function
|
|
1128
|
+
function Ih(e, t) {
|
|
1129
1129
|
Object.keys(e).forEach(function(f) {
|
|
1130
1130
|
var l = e[f];
|
|
1131
|
-
e[f] =
|
|
1131
|
+
e[f] = Oh(l, t);
|
|
1132
1132
|
});
|
|
1133
1133
|
}
|
|
1134
|
-
function
|
|
1134
|
+
function Oh(e, t) {
|
|
1135
1135
|
var f = t.lookupProperty;
|
|
1136
|
-
return
|
|
1136
|
+
return Ph.wrapHelper(e, function(l) {
|
|
1137
1137
|
return At.extend({ lookupProperty: f }, l);
|
|
1138
1138
|
});
|
|
1139
1139
|
}
|
|
@@ -1166,7 +1166,7 @@ var zc = qs.exports;
|
|
|
1166
1166
|
Object.prototype.hasOwnProperty.call(o, S) && (_[S] = o[S]);
|
|
1167
1167
|
return _.default = o, _;
|
|
1168
1168
|
}
|
|
1169
|
-
var u = ct, v = l(u), m =
|
|
1169
|
+
var u = ct, v = l(u), m = bh, r = f(m), i = pt, s = f(i), c = Ce, h = l(c), n = Gt, d = l(n), g = zc, y = f(g);
|
|
1170
1170
|
function a() {
|
|
1171
1171
|
var o = new v.HandlebarsEnvironment();
|
|
1172
1172
|
return h.extend(o, v), o.SafeString = r.default, o.Exception = s.default, o.Utils = h, o.escapeExpression = h.escapeExpression, o.VM = d, o.template = function(_) {
|
|
@@ -1176,7 +1176,7 @@ var zc = qs.exports;
|
|
|
1176
1176
|
var p = a();
|
|
1177
1177
|
p.create = a, y.default(p), p.default = p, t.default = p, e.exports = t.default;
|
|
1178
1178
|
})(Rs, Rs.exports);
|
|
1179
|
-
var
|
|
1179
|
+
var xh = Rs.exports, js = { exports: {} };
|
|
1180
1180
|
(function(e, t) {
|
|
1181
1181
|
t.__esModule = !0;
|
|
1182
1182
|
var f = {
|
|
@@ -1691,7 +1691,7 @@ Expecting ` + M.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : A = "
|
|
|
1691
1691
|
}();
|
|
1692
1692
|
t.default = f, e.exports = t.default;
|
|
1693
1693
|
})(Ws, Ws.exports);
|
|
1694
|
-
var
|
|
1694
|
+
var Bh = Ws.exports, zs = { exports: {} }, Us = { exports: {} };
|
|
1695
1695
|
(function(e, t) {
|
|
1696
1696
|
t.__esModule = !0;
|
|
1697
1697
|
function f(s) {
|
|
@@ -1866,29 +1866,29 @@ var $c = Us.exports;
|
|
|
1866
1866
|
}
|
|
1867
1867
|
t.default = v, e.exports = t.default;
|
|
1868
1868
|
})(zs, zs.exports);
|
|
1869
|
-
var
|
|
1869
|
+
var Nh = zs.exports, lt = {};
|
|
1870
1870
|
lt.__esModule = !0;
|
|
1871
|
-
lt.SourceLocation =
|
|
1872
|
-
lt.id =
|
|
1873
|
-
lt.stripFlags =
|
|
1874
|
-
lt.stripComment =
|
|
1875
|
-
lt.preparePath =
|
|
1876
|
-
lt.prepareMustache =
|
|
1877
|
-
lt.prepareRawBlock =
|
|
1878
|
-
lt.prepareBlock =
|
|
1879
|
-
lt.prepareProgram =
|
|
1880
|
-
lt.preparePartialBlock =
|
|
1881
|
-
function
|
|
1871
|
+
lt.SourceLocation = qh;
|
|
1872
|
+
lt.id = jh;
|
|
1873
|
+
lt.stripFlags = Wh;
|
|
1874
|
+
lt.stripComment = zh;
|
|
1875
|
+
lt.preparePath = Uh;
|
|
1876
|
+
lt.prepareMustache = $h;
|
|
1877
|
+
lt.prepareRawBlock = Vh;
|
|
1878
|
+
lt.prepareBlock = Kh;
|
|
1879
|
+
lt.prepareProgram = Gh;
|
|
1880
|
+
lt.preparePartialBlock = Jh;
|
|
1881
|
+
function Hh(e) {
|
|
1882
1882
|
return e && e.__esModule ? e : { default: e };
|
|
1883
1883
|
}
|
|
1884
|
-
var
|
|
1884
|
+
var Fh = pt, vo = Hh(Fh);
|
|
1885
1885
|
function mo(e, t) {
|
|
1886
1886
|
if (t = t.path ? t.path.original : t, e.path.original !== t) {
|
|
1887
1887
|
var f = { loc: e.path.loc };
|
|
1888
1888
|
throw new vo.default(e.path.original + " doesn't match " + t, f);
|
|
1889
1889
|
}
|
|
1890
1890
|
}
|
|
1891
|
-
function
|
|
1891
|
+
function qh(e, t) {
|
|
1892
1892
|
this.source = e, this.start = {
|
|
1893
1893
|
line: t.first_line,
|
|
1894
1894
|
column: t.first_column
|
|
@@ -1897,19 +1897,19 @@ function Fh(e, t) {
|
|
|
1897
1897
|
column: t.last_column
|
|
1898
1898
|
};
|
|
1899
1899
|
}
|
|
1900
|
-
function
|
|
1900
|
+
function jh(e) {
|
|
1901
1901
|
return /^\[.*\]$/.test(e) ? e.substring(1, e.length - 1) : e;
|
|
1902
1902
|
}
|
|
1903
|
-
function
|
|
1903
|
+
function Wh(e, t) {
|
|
1904
1904
|
return {
|
|
1905
1905
|
open: e.charAt(2) === "~",
|
|
1906
1906
|
close: t.charAt(t.length - 3) === "~"
|
|
1907
1907
|
};
|
|
1908
1908
|
}
|
|
1909
|
-
function
|
|
1909
|
+
function zh(e) {
|
|
1910
1910
|
return e.replace(/^\{\{~?!-?-?/, "").replace(/-?-?~?\}\}$/, "");
|
|
1911
1911
|
}
|
|
1912
|
-
function
|
|
1912
|
+
function Uh(e, t, f) {
|
|
1913
1913
|
f = this.locInfo(f);
|
|
1914
1914
|
for (var l = e ? "@" : "", u = [], v = 0, m = 0, r = t.length; m < r; m++) {
|
|
1915
1915
|
var i = t[m].part, s = t[m].original !== i;
|
|
@@ -1929,7 +1929,7 @@ function zh(e, t, f) {
|
|
|
1929
1929
|
loc: f
|
|
1930
1930
|
};
|
|
1931
1931
|
}
|
|
1932
|
-
function
|
|
1932
|
+
function $h(e, t, f, l, u, v) {
|
|
1933
1933
|
var m = l.charAt(3) || l.charAt(2), r = m !== "{" && m !== "&", i = /\*/.test(l);
|
|
1934
1934
|
return {
|
|
1935
1935
|
type: i ? "Decorator" : "MustacheStatement",
|
|
@@ -1941,7 +1941,7 @@ function Uh(e, t, f, l, u, v) {
|
|
|
1941
1941
|
loc: this.locInfo(v)
|
|
1942
1942
|
};
|
|
1943
1943
|
}
|
|
1944
|
-
function
|
|
1944
|
+
function Vh(e, t, f, l) {
|
|
1945
1945
|
mo(e, f), l = this.locInfo(l);
|
|
1946
1946
|
var u = {
|
|
1947
1947
|
type: "Program",
|
|
@@ -1961,7 +1961,7 @@ function $h(e, t, f, l) {
|
|
|
1961
1961
|
loc: l
|
|
1962
1962
|
};
|
|
1963
1963
|
}
|
|
1964
|
-
function
|
|
1964
|
+
function Kh(e, t, f, l, u, v) {
|
|
1965
1965
|
l && l.path && mo(e, l);
|
|
1966
1966
|
var m = /\*/.test(e.open);
|
|
1967
1967
|
t.blockParams = e.blockParams;
|
|
@@ -1984,7 +1984,7 @@ function Vh(e, t, f, l, u, v) {
|
|
|
1984
1984
|
loc: this.locInfo(v)
|
|
1985
1985
|
};
|
|
1986
1986
|
}
|
|
1987
|
-
function
|
|
1987
|
+
function Gh(e, t) {
|
|
1988
1988
|
if (!t && e.length) {
|
|
1989
1989
|
var f = e[0].loc, l = e[e.length - 1].loc;
|
|
1990
1990
|
f && l && (t = {
|
|
@@ -2006,7 +2006,7 @@ function Kh(e, t) {
|
|
|
2006
2006
|
loc: t
|
|
2007
2007
|
};
|
|
2008
2008
|
}
|
|
2009
|
-
function
|
|
2009
|
+
function Jh(e, t, f, l) {
|
|
2010
2010
|
return mo(e, f), {
|
|
2011
2011
|
type: "PartialBlockStatement",
|
|
2012
2012
|
name: e.path,
|
|
@@ -2020,8 +2020,8 @@ function Gh(e, t, f, l) {
|
|
|
2020
2020
|
}
|
|
2021
2021
|
si.__esModule = !0;
|
|
2022
2022
|
si.parseWithoutProcessing = Kc;
|
|
2023
|
-
si.parse =
|
|
2024
|
-
function
|
|
2023
|
+
si.parse = id;
|
|
2024
|
+
function Xh(e) {
|
|
2025
2025
|
if (e && e.__esModule)
|
|
2026
2026
|
return e;
|
|
2027
2027
|
var t = {};
|
|
@@ -2033,10 +2033,10 @@ function Jh(e) {
|
|
|
2033
2033
|
function Vc(e) {
|
|
2034
2034
|
return e && e.__esModule ? e : { default: e };
|
|
2035
2035
|
}
|
|
2036
|
-
var
|
|
2036
|
+
var Yh = Bh, $s = Vc(Yh), Zh = Nh, Qh = Vc(Zh), ed = lt, td = Xh(ed), rd = Ce;
|
|
2037
2037
|
si.parser = $s.default;
|
|
2038
2038
|
var Pi = {};
|
|
2039
|
-
|
|
2039
|
+
rd.extend(Pi, td);
|
|
2040
2040
|
function Kc(e, t) {
|
|
2041
2041
|
if (e.type === "Program")
|
|
2042
2042
|
return e;
|
|
@@ -2046,19 +2046,19 @@ function Kc(e, t) {
|
|
|
2046
2046
|
var f = $s.default.parse(e);
|
|
2047
2047
|
return f;
|
|
2048
2048
|
}
|
|
2049
|
-
function
|
|
2050
|
-
var f = Kc(e, t), l = new
|
|
2049
|
+
function id(e, t) {
|
|
2050
|
+
var f = Kc(e, t), l = new Qh.default(t);
|
|
2051
2051
|
return l.accept(f);
|
|
2052
2052
|
}
|
|
2053
2053
|
var ni = {};
|
|
2054
2054
|
ni.__esModule = !0;
|
|
2055
2055
|
ni.Compiler = Vs;
|
|
2056
|
-
ni.precompile =
|
|
2057
|
-
ni.compile =
|
|
2056
|
+
ni.precompile = ad;
|
|
2057
|
+
ni.compile = cd;
|
|
2058
2058
|
function Gc(e) {
|
|
2059
2059
|
return e && e.__esModule ? e : { default: e };
|
|
2060
2060
|
}
|
|
2061
|
-
var
|
|
2061
|
+
var sd = pt, zr = Gc(sd), $r = Ce, nd = Uc, xr = Gc(nd), od = [].slice;
|
|
2062
2062
|
function Vs() {
|
|
2063
2063
|
}
|
|
2064
2064
|
Vs.prototype = {
|
|
@@ -2201,7 +2201,7 @@ Vs.prototype = {
|
|
|
2201
2201
|
opcode: function(t) {
|
|
2202
2202
|
this.opcodes.push({
|
|
2203
2203
|
opcode: t,
|
|
2204
|
-
args:
|
|
2204
|
+
args: od.call(arguments, 1),
|
|
2205
2205
|
loc: this.sourceNode[0].loc
|
|
2206
2206
|
});
|
|
2207
2207
|
},
|
|
@@ -2248,14 +2248,14 @@ Vs.prototype = {
|
|
|
2248
2248
|
}
|
|
2249
2249
|
}
|
|
2250
2250
|
};
|
|
2251
|
-
function
|
|
2251
|
+
function ad(e, t, f) {
|
|
2252
2252
|
if (e == null || typeof e != "string" && e.type !== "Program")
|
|
2253
2253
|
throw new zr.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed " + e);
|
|
2254
2254
|
t = t || {}, "data" in t || (t.data = !0), t.compat && (t.useDepths = !0);
|
|
2255
2255
|
var l = f.parse(e, t), u = new f.Compiler().compile(l, t);
|
|
2256
2256
|
return new f.JavaScriptCompiler().compile(u, t);
|
|
2257
2257
|
}
|
|
2258
|
-
function
|
|
2258
|
+
function cd(e, t, f) {
|
|
2259
2259
|
if (t === void 0 && (t = {}), e == null || typeof e != "string" && e.type !== "Program")
|
|
2260
2260
|
throw new zr.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed " + e);
|
|
2261
2261
|
t = $r.extend({}, t), "data" in t || (t.data = !0), t.compat && (t.useDepths = !0);
|
|
@@ -2297,7 +2297,7 @@ function Fo(e) {
|
|
|
2297
2297
|
}
|
|
2298
2298
|
}
|
|
2299
2299
|
var Ks = { exports: {} }, Gs = { exports: {} }, Br = {}, ps = {}, bi = {}, Ci = {}, qo;
|
|
2300
|
-
function
|
|
2300
|
+
function ld() {
|
|
2301
2301
|
if (qo) return Ci;
|
|
2302
2302
|
qo = 1;
|
|
2303
2303
|
var e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
|
|
@@ -2314,7 +2314,7 @@ var jo;
|
|
|
2314
2314
|
function Xc() {
|
|
2315
2315
|
if (jo) return bi;
|
|
2316
2316
|
jo = 1;
|
|
2317
|
-
var e =
|
|
2317
|
+
var e = ld(), t = 5, f = 1 << t, l = f - 1, u = f;
|
|
2318
2318
|
function v(r) {
|
|
2319
2319
|
return r < 0 ? (-r << 1) + 1 : (r << 1) + 0;
|
|
2320
2320
|
}
|
|
@@ -2512,7 +2512,7 @@ function Yc() {
|
|
|
2512
2512
|
}, gs.ArraySet = l, gs;
|
|
2513
2513
|
}
|
|
2514
2514
|
var vs = {}, Uo;
|
|
2515
|
-
function
|
|
2515
|
+
function ud() {
|
|
2516
2516
|
if (Uo) return vs;
|
|
2517
2517
|
Uo = 1;
|
|
2518
2518
|
var e = oi();
|
|
@@ -2535,7 +2535,7 @@ var $o;
|
|
|
2535
2535
|
function Zc() {
|
|
2536
2536
|
if ($o) return ps;
|
|
2537
2537
|
$o = 1;
|
|
2538
|
-
var e = Xc(), t = oi(), f = Yc().ArraySet, l =
|
|
2538
|
+
var e = Xc(), t = oi(), f = Yc().ArraySet, l = ud().MappingList;
|
|
2539
2539
|
function u(v) {
|
|
2540
2540
|
v || (v = {}), this._file = t.getArg(v, "file", null), this._sourceRoot = t.getArg(v, "sourceRoot", null), this._skipValidation = t.getArg(v, "skipValidation", !1), this._sources = new f(), this._names = new f(), this._mappings = new l(), this._sourcesContents = null;
|
|
2541
2541
|
}
|
|
@@ -2651,7 +2651,7 @@ function Zc() {
|
|
|
2651
2651
|
}, ps.SourceMapGenerator = u, ps;
|
|
2652
2652
|
}
|
|
2653
2653
|
var Nr = {}, ms = {}, Vo;
|
|
2654
|
-
function
|
|
2654
|
+
function hd() {
|
|
2655
2655
|
return Vo || (Vo = 1, function(e) {
|
|
2656
2656
|
e.GREATEST_LOWER_BOUND = 1, e.LEAST_UPPER_BOUND = 2;
|
|
2657
2657
|
function t(f, l, u, v, m, r) {
|
|
@@ -2678,7 +2678,7 @@ function ud() {
|
|
|
2678
2678
|
}(ms)), ms;
|
|
2679
2679
|
}
|
|
2680
2680
|
var Ss = {}, Ko;
|
|
2681
|
-
function
|
|
2681
|
+
function dd() {
|
|
2682
2682
|
if (Ko) return Ss;
|
|
2683
2683
|
Ko = 1;
|
|
2684
2684
|
function e(l, u, v) {
|
|
@@ -2704,10 +2704,10 @@ function hd() {
|
|
|
2704
2704
|
}, Ss;
|
|
2705
2705
|
}
|
|
2706
2706
|
var Go;
|
|
2707
|
-
function
|
|
2707
|
+
function fd() {
|
|
2708
2708
|
if (Go) return Nr;
|
|
2709
2709
|
Go = 1;
|
|
2710
|
-
var e = oi(), t =
|
|
2710
|
+
var e = oi(), t = hd(), f = Yc().ArraySet, l = Xc(), u = dd().quickSort;
|
|
2711
2711
|
function v(s, c) {
|
|
2712
2712
|
var h = s;
|
|
2713
2713
|
return typeof s == "string" && (h = e.parseSourceMapInput(s)), h.sections != null ? new i(h, c) : new m(h, c);
|
|
@@ -3073,7 +3073,7 @@ function dd() {
|
|
|
3073
3073
|
}, Nr.IndexedSourceMapConsumer = i, Nr;
|
|
3074
3074
|
}
|
|
3075
3075
|
var ys = {}, Jo;
|
|
3076
|
-
function
|
|
3076
|
+
function pd() {
|
|
3077
3077
|
if (Jo) return ys;
|
|
3078
3078
|
Jo = 1;
|
|
3079
3079
|
var e = Zc().SourceMapGenerator, t = oi(), f = /(\r?\n)/, l = 10, u = "$$$isSourceNode$$$";
|
|
@@ -3219,14 +3219,14 @@ function fd() {
|
|
|
3219
3219
|
}, ys.SourceNode = v, ys;
|
|
3220
3220
|
}
|
|
3221
3221
|
var Xo;
|
|
3222
|
-
function
|
|
3223
|
-
return Xo || (Xo = 1, Br.SourceMapGenerator = Zc().SourceMapGenerator, Br.SourceMapConsumer =
|
|
3222
|
+
function _d() {
|
|
3223
|
+
return Xo || (Xo = 1, Br.SourceMapGenerator = Zc().SourceMapGenerator, Br.SourceMapConsumer = fd().SourceMapConsumer, Br.SourceNode = pd().SourceNode), Br;
|
|
3224
3224
|
}
|
|
3225
3225
|
(function(e, t) {
|
|
3226
3226
|
t.__esModule = !0;
|
|
3227
3227
|
var f = Ce, l = void 0;
|
|
3228
3228
|
try {
|
|
3229
|
-
var u =
|
|
3229
|
+
var u = _d();
|
|
3230
3230
|
l = u.SourceNode;
|
|
3231
3231
|
} catch {
|
|
3232
3232
|
}
|
|
@@ -3313,13 +3313,13 @@ function pd() {
|
|
|
3313
3313
|
}
|
|
3314
3314
|
}, t.default = m, e.exports = t.default;
|
|
3315
3315
|
})(Gs, Gs.exports);
|
|
3316
|
-
var
|
|
3316
|
+
var gd = Gs.exports;
|
|
3317
3317
|
(function(e, t) {
|
|
3318
3318
|
t.__esModule = !0;
|
|
3319
3319
|
function f(n) {
|
|
3320
3320
|
return n && n.__esModule ? n : { default: n };
|
|
3321
3321
|
}
|
|
3322
|
-
var l = ct, u = pt, v = f(u), m = Ce, r =
|
|
3322
|
+
var l = ct, u = pt, v = f(u), m = Ce, r = gd, i = f(r);
|
|
3323
3323
|
function s(n) {
|
|
3324
3324
|
this.value = n;
|
|
3325
3325
|
}
|
|
@@ -3825,13 +3825,13 @@ var _d = Gs.exports;
|
|
|
3825
3825
|
}
|
|
3826
3826
|
t.default = c, e.exports = t.default;
|
|
3827
3827
|
})(Ks, Ks.exports);
|
|
3828
|
-
var
|
|
3828
|
+
var vd = Ks.exports;
|
|
3829
3829
|
(function(e, t) {
|
|
3830
3830
|
t.__esModule = !0;
|
|
3831
3831
|
function f(o) {
|
|
3832
3832
|
return o && o.__esModule ? o : { default: o };
|
|
3833
3833
|
}
|
|
3834
|
-
var l =
|
|
3834
|
+
var l = xh, u = f(l), v = Uc, m = f(v), r = si, i = ni, s = vd, c = f(s), h = $c, n = f(h), d = zc, g = f(d), y = u.default.create;
|
|
3835
3835
|
function a() {
|
|
3836
3836
|
var o = y();
|
|
3837
3837
|
return o.compile = function(_, S) {
|
|
@@ -3843,15 +3843,15 @@ var gd = Ks.exports;
|
|
|
3843
3843
|
var p = a();
|
|
3844
3844
|
p.create = a, g.default(p), p.Visitor = n.default, p.default = p, t.default = p, e.exports = t.default;
|
|
3845
3845
|
})(ks, ks.exports);
|
|
3846
|
-
var
|
|
3847
|
-
const Yo = /* @__PURE__ */
|
|
3846
|
+
var md = ks.exports;
|
|
3847
|
+
const Yo = /* @__PURE__ */ gu(md), Sd = {
|
|
3848
3848
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3849
3849
|
fill: "none",
|
|
3850
3850
|
stroke: "#000",
|
|
3851
3851
|
viewBox: "0 0 32 32"
|
|
3852
3852
|
};
|
|
3853
|
-
function
|
|
3854
|
-
return Q(), ne("svg",
|
|
3853
|
+
function yd(e, t) {
|
|
3854
|
+
return Q(), ne("svg", Sd, t[0] || (t[0] = [
|
|
3855
3855
|
ee("path", {
|
|
3856
3856
|
"stroke-linejoin": "round",
|
|
3857
3857
|
d: "M29.604 16c0-2.2-4.4-9-13.5-9s-13.5 6.8-13.5 9m27 0c0 2.2-4.4 9-13.5 9s-13.5-6.8-13.5-9"
|
|
@@ -3862,7 +3862,7 @@ function Sd(e, t) {
|
|
|
3862
3862
|
}, null, -1)
|
|
3863
3863
|
]));
|
|
3864
3864
|
}
|
|
3865
|
-
const Zo = { render:
|
|
3865
|
+
const Zo = { render: yd }, bd = () => {
|
|
3866
3866
|
const e = {};
|
|
3867
3867
|
return {
|
|
3868
3868
|
getInsertionEventHelper: (f) => (e[f] || (e[f] = []), {
|
|
@@ -3874,11 +3874,11 @@ const Zo = { render: Sd }, yd = () => {
|
|
|
3874
3874
|
}
|
|
3875
3875
|
})
|
|
3876
3876
|
};
|
|
3877
|
-
}, Js =
|
|
3877
|
+
}, Js = bd(), Cd = Ti({}), Qc = () => Cd, wd = ue(!1), Di = () => wd;
|
|
3878
3878
|
function So(e, t) {
|
|
3879
3879
|
Object.assign(e.style, t);
|
|
3880
3880
|
}
|
|
3881
|
-
const
|
|
3881
|
+
const Ed = (e) => {
|
|
3882
3882
|
const t = document.createElement("div"), f = 99;
|
|
3883
3883
|
return t.innerText = e <= f ? e.toString() : "99+", So(t, {
|
|
3884
3884
|
background: "var(--knime-masala)",
|
|
@@ -3897,7 +3897,7 @@ const wd = (e) => {
|
|
|
3897
3897
|
padding: "5px",
|
|
3898
3898
|
pointerEvents: "none"
|
|
3899
3899
|
}), t;
|
|
3900
|
-
},
|
|
3900
|
+
}, kd = (e) => e.map(({ text: f }) => {
|
|
3901
3901
|
const l = document.createElement("div");
|
|
3902
3902
|
l.innerText = f;
|
|
3903
3903
|
const u = `${Math.floor(100 / e.length)}%`;
|
|
@@ -3924,38 +3924,38 @@ const wd = (e) => {
|
|
|
3924
3924
|
fontSize: "11px",
|
|
3925
3925
|
flexDirection: "row",
|
|
3926
3926
|
...f ? { "font-family": f } : {}
|
|
3927
|
-
}), document.body.appendChild(l),
|
|
3927
|
+
}), document.body.appendChild(l), kd(e).forEach((v) => {
|
|
3928
3928
|
l.appendChild(v);
|
|
3929
3929
|
}), t > 1) {
|
|
3930
|
-
const v =
|
|
3930
|
+
const v = Ed(t);
|
|
3931
3931
|
l.appendChild(v);
|
|
3932
3932
|
}
|
|
3933
3933
|
return l;
|
|
3934
3934
|
}, ea = () => {
|
|
3935
3935
|
const e = document.getElementById("drag-ghost");
|
|
3936
3936
|
e != null && e.parentNode && e.parentNode.removeChild(e);
|
|
3937
|
-
},
|
|
3937
|
+
}, Rd = { class: "top-card has-collapser" }, Pd = { class: "title" }, Dd = { class: "port-icon-container" }, Ld = {
|
|
3938
3938
|
key: 1,
|
|
3939
3939
|
viewBox: "-6 -6 12 12"
|
|
3940
|
-
},
|
|
3940
|
+
}, Td = ["draggable"], Md = {
|
|
3941
3941
|
key: 0,
|
|
3942
3942
|
class: "collapser-content"
|
|
3943
|
-
},
|
|
3943
|
+
}, Ad = {
|
|
3944
3944
|
key: 0,
|
|
3945
3945
|
class: "sub-item-icon"
|
|
3946
|
-
},
|
|
3946
|
+
}, Id = ["draggable", "onDragstart", "onClick", "onDblclick"], Od = { class: "subitem-type" }, xd = {
|
|
3947
3947
|
key: 1,
|
|
3948
3948
|
class: "top-card bottom-border"
|
|
3949
|
-
},
|
|
3949
|
+
}, Bd = { class: "title" }, Nd = { class: "port-icon-container" }, Hd = {
|
|
3950
3950
|
key: 1,
|
|
3951
3951
|
viewBox: "-6 -6 12 12"
|
|
3952
|
-
},
|
|
3952
|
+
}, Fd = ["draggable"], Xs = "input_output_drag_event", Ys = "columnInsertion", qd = /* @__PURE__ */ Oe({
|
|
3953
3953
|
__name: "InputOutputItem",
|
|
3954
3954
|
props: {
|
|
3955
3955
|
inputOutputItem: {}
|
|
3956
3956
|
},
|
|
3957
3957
|
setup(e, { expose: t }) {
|
|
3958
|
-
const l = e, u =
|
|
3958
|
+
const l = e, u = Wl({
|
|
3959
3959
|
singleSelectionOnly: ue(!l.inputOutputItem.multiSelection)
|
|
3960
3960
|
});
|
|
3961
3961
|
Yo.registerHelper("escapeDblQuotes", (b) => b.replace("\\", "\\\\").replace(/"/g, '\\"'));
|
|
@@ -4047,7 +4047,7 @@ const wd = (e) => {
|
|
|
4047
4047
|
}, S = Di();
|
|
4048
4048
|
return (b, w) => {
|
|
4049
4049
|
var E, C;
|
|
4050
|
-
return (E = b.inputOutputItem.subItems) != null && E.length ? (Q(), Ae(J(
|
|
4050
|
+
return (E = b.inputOutputItem.subItems) != null && E.length ? (Q(), Ae(J(zl), {
|
|
4051
4051
|
key: 0,
|
|
4052
4052
|
ref_key: "collapserRef",
|
|
4053
4053
|
ref: r,
|
|
@@ -4055,10 +4055,10 @@ const wd = (e) => {
|
|
|
4055
4055
|
class: "collapser bottom-border"
|
|
4056
4056
|
}, {
|
|
4057
4057
|
title: Se(() => [
|
|
4058
|
-
ee("div",
|
|
4059
|
-
ee("div",
|
|
4060
|
-
ee("div",
|
|
4061
|
-
b.inputOutputItem.portType === "view" ? (Q(), Ae(J(Zo), { key: 0 })) : (Q(), ne("svg",
|
|
4058
|
+
ee("div", Rd, [
|
|
4059
|
+
ee("div", Pd, [
|
|
4060
|
+
ee("div", Dd, [
|
|
4061
|
+
b.inputOutputItem.portType === "view" ? (Q(), Ae(J(Zo), { key: 0 })) : (Q(), ne("svg", Ld, [
|
|
4062
4062
|
fe(J(Do), {
|
|
4063
4063
|
type: b.inputOutputItem.portType,
|
|
4064
4064
|
color: b.inputOutputItem.portIconColor
|
|
@@ -4078,18 +4078,18 @@ const wd = (e) => {
|
|
|
4078
4078
|
onDblclick: d,
|
|
4079
4079
|
onDragstart: w[1] || (w[1] = (k) => o(k, b.inputOutputItem.codeAlias)),
|
|
4080
4080
|
onDragend: _
|
|
4081
|
-
}, qe(b.inputOutputItem.codeAlias), 43,
|
|
4081
|
+
}, qe(b.inputOutputItem.codeAlias), 43, Td)) : Ie("", !0)
|
|
4082
4082
|
])
|
|
4083
4083
|
]),
|
|
4084
4084
|
default: Se(() => [
|
|
4085
|
-
l.inputOutputItem.subItems ? (Q(), ne("div",
|
|
4085
|
+
l.inputOutputItem.subItems ? (Q(), ne("div", Md, [
|
|
4086
4086
|
(Q(!0), ne(sr, null, nr(l.inputOutputItem.subItems, (k, T) => (Q(), ne("div", {
|
|
4087
4087
|
key: T,
|
|
4088
4088
|
class: Ge(["sub-item", {
|
|
4089
4089
|
disabled: !k.supported || J(S)
|
|
4090
4090
|
}])
|
|
4091
4091
|
}, [
|
|
4092
|
-
typeof k.icon < "u" ? (Q(), ne("div",
|
|
4092
|
+
typeof k.icon < "u" ? (Q(), ne("div", Ad, [
|
|
4093
4093
|
(Q(), Ae(Al(k.icon.component), Il({ ref_for: !0 }, k.icon.props), null, 16))
|
|
4094
4094
|
])) : Ie("", !0),
|
|
4095
4095
|
ee("span", {
|
|
@@ -4108,16 +4108,16 @@ const wd = (e) => {
|
|
|
4108
4108
|
selected: l.inputOutputItem.subItemCodeAliasTemplate && l.inputOutputItem.multiSelection && J(u).isSelected(T) && k.supported
|
|
4109
4109
|
}])
|
|
4110
4110
|
}, qe(k.name), 3),
|
|
4111
|
-
ee("span",
|
|
4112
|
-
], 42,
|
|
4111
|
+
ee("span", Od, qe(k.type), 1)
|
|
4112
|
+
], 42, Id)
|
|
4113
4113
|
], 2))), 128))
|
|
4114
4114
|
])) : Ie("", !0)
|
|
4115
4115
|
]),
|
|
4116
4116
|
_: 1
|
|
4117
|
-
}, 8, ["initially-expanded"])) : (Q(), ne("div",
|
|
4118
|
-
ee("div",
|
|
4119
|
-
ee("div",
|
|
4120
|
-
b.inputOutputItem.portType === "view" ? (Q(), Ae(J(Zo), { key: 0 })) : (Q(), ne("svg",
|
|
4117
|
+
}, 8, ["initially-expanded"])) : (Q(), ne("div", xd, [
|
|
4118
|
+
ee("div", Bd, [
|
|
4119
|
+
ee("div", Nd, [
|
|
4120
|
+
b.inputOutputItem.portType === "view" ? (Q(), Ae(J(Zo), { key: 0 })) : (Q(), ne("svg", Hd, [
|
|
4121
4121
|
fe(J(Do), {
|
|
4122
4122
|
type: b.inputOutputItem.portType,
|
|
4123
4123
|
color: b.inputOutputItem.portIconColor
|
|
@@ -4136,11 +4136,11 @@ const wd = (e) => {
|
|
|
4136
4136
|
onMousedown: w[2] || (w[2] = (k) => h(k)),
|
|
4137
4137
|
onDragstart: w[3] || (w[3] = (k) => o(k, b.inputOutputItem.codeAlias)),
|
|
4138
4138
|
onDragend: _
|
|
4139
|
-
}, qe(b.inputOutputItem.codeAlias), 43,
|
|
4139
|
+
}, qe(b.inputOutputItem.codeAlias), 43, Fd)) : Ie("", !0)
|
|
4140
4140
|
]));
|
|
4141
4141
|
};
|
|
4142
4142
|
}
|
|
4143
|
-
}),
|
|
4143
|
+
}), jd = /* @__PURE__ */ Be(qd, [["__scopeId", "data-v-25e213c2"]]);
|
|
4144
4144
|
var Mc;
|
|
4145
4145
|
(Mc = document.fonts) == null || Mc.ready.then(() => {
|
|
4146
4146
|
ot.editor.remeasureFonts();
|
|
@@ -4166,12 +4166,12 @@ const el = {
|
|
|
4166
4166
|
scrollbar: {
|
|
4167
4167
|
alwaysConsumeMouseWheel: !1
|
|
4168
4168
|
}
|
|
4169
|
-
},
|
|
4169
|
+
}, Wd = {
|
|
4170
4170
|
...el,
|
|
4171
4171
|
renderOverviewRuler: !1,
|
|
4172
4172
|
overviewRulerBorder: !1,
|
|
4173
4173
|
originalEditable: !1
|
|
4174
|
-
},
|
|
4174
|
+
}, zd = (e) => {
|
|
4175
4175
|
if ("editorModel" in e)
|
|
4176
4176
|
return e.editorModel;
|
|
4177
4177
|
{
|
|
@@ -4201,7 +4201,7 @@ const el = {
|
|
|
4201
4201
|
e.value && e.value.dispose();
|
|
4202
4202
|
for (const f of t)
|
|
4203
4203
|
f.isAttachedToEditor() || f.dispose();
|
|
4204
|
-
},
|
|
4204
|
+
}, Ud = (e) => (t, f) => {
|
|
4205
4205
|
var u, v, m, r, i, s, c, h;
|
|
4206
4206
|
if ((u = e.value) != null && u.getOption(ot.editor.EditorOption.readOnly))
|
|
4207
4207
|
return;
|
|
@@ -4216,7 +4216,7 @@ const el = {
|
|
|
4216
4216
|
text: t,
|
|
4217
4217
|
forceMoveMarkers: !0
|
|
4218
4218
|
}), (s = (i = e.value) == null ? void 0 : i.getModel()) == null || s.pushEditOperations([], l, () => null), (h = (c = e.value) == null ? void 0 : c.getModel()) == null || h.pushStackElement();
|
|
4219
|
-
},
|
|
4219
|
+
}, $d = (e) => (t) => {
|
|
4220
4220
|
var l, u, v, m, r, i;
|
|
4221
4221
|
if ((l = e.value) != null && l.getOption(ot.editor.EditorOption.readOnly))
|
|
4222
4222
|
return;
|
|
@@ -4229,7 +4229,7 @@ const el = {
|
|
|
4229
4229
|
];
|
|
4230
4230
|
(m = (v = e.value) == null ? void 0 : v.getModel()) == null || m.pushEditOperations([], f, () => null), (i = (r = e.value) == null ? void 0 : r.getModel()) == null || i.pushStackElement();
|
|
4231
4231
|
}, sl = (e) => {
|
|
4232
|
-
const t = Fe(), f =
|
|
4232
|
+
const t = Fe(), f = zd(e), l = ue(""), u = ue("");
|
|
4233
4233
|
return Xe(() => {
|
|
4234
4234
|
rl(e.container), t.value = ot.editor.create(e.container.value, {
|
|
4235
4235
|
model: f,
|
|
@@ -4250,11 +4250,11 @@ const el = {
|
|
|
4250
4250
|
editorModel: f,
|
|
4251
4251
|
selection: Es(l),
|
|
4252
4252
|
selectedLines: Es(u),
|
|
4253
|
-
insertColumnReference:
|
|
4254
|
-
insertText:
|
|
4253
|
+
insertColumnReference: Ud(t),
|
|
4254
|
+
insertText: $d(t),
|
|
4255
4255
|
...tl(f)
|
|
4256
4256
|
};
|
|
4257
|
-
},
|
|
4257
|
+
}, Vd = (e) => {
|
|
4258
4258
|
const t = Fe(), f = e.originalModel, l = ot.editor.createModel(
|
|
4259
4259
|
"",
|
|
4260
4260
|
f.getLanguageId(),
|
|
@@ -4262,28 +4262,28 @@ const el = {
|
|
|
4262
4262
|
), u = { original: f, modified: l };
|
|
4263
4263
|
Xe(() => {
|
|
4264
4264
|
rl(e.container), t.value = ot.editor.createDiffEditor(e.container.value, {
|
|
4265
|
-
...
|
|
4265
|
+
...Wd,
|
|
4266
4266
|
...e.extraEditorOptions ?? {}
|
|
4267
4267
|
}), t.value.setModel(u);
|
|
4268
4268
|
}), Kt(il(t, [f, l]));
|
|
4269
4269
|
const { text: v, setInitialText: m } = tl(l);
|
|
4270
4270
|
return { editor: t, editorModel: u, modifiedText: v, setInitialModifiedText: m };
|
|
4271
|
-
}, nl = Fe(), Qi = () => nl,
|
|
4271
|
+
}, nl = Fe(), Qi = () => nl, Kd = (e) => {
|
|
4272
4272
|
const t = sl(e);
|
|
4273
4273
|
return nl.value = t, t;
|
|
4274
|
-
},
|
|
4274
|
+
}, Gd = {
|
|
4275
4275
|
useCodeEditor: sl,
|
|
4276
|
-
useDiffEditor:
|
|
4276
|
+
useDiffEditor: Vd,
|
|
4277
4277
|
useMainCodeEditorStore: Qi
|
|
4278
4278
|
}, Zs = Ti(
|
|
4279
4279
|
{}
|
|
4280
|
-
), ol = () => Zs,
|
|
4280
|
+
), ol = () => Zs, Jd = () => {
|
|
4281
4281
|
typeof Zs.promptResponse < "u" && delete Zs.promptResponse;
|
|
4282
|
-
}, Hr = ue(!0), Oi = Fe(),
|
|
4282
|
+
}, Hr = ue(!0), Oi = Fe(), Xd = (e) => {
|
|
4283
4283
|
Oi.value = e;
|
|
4284
4284
|
};
|
|
4285
|
-
Je(() => Qi().value,
|
|
4286
|
-
const al = ue([]),
|
|
4285
|
+
Je(() => Qi().value, Xd);
|
|
4286
|
+
const al = ue([]), Yd = /* @__PURE__ */ Oe({
|
|
4287
4287
|
__name: "InputOutputPane",
|
|
4288
4288
|
props: {
|
|
4289
4289
|
inputOutputItems: { default: () => [] }
|
|
@@ -4363,7 +4363,7 @@ const al = ue([]), Xd = /* @__PURE__ */ Oe({
|
|
|
4363
4363
|
"aria-role": "menu",
|
|
4364
4364
|
onKeydown: n
|
|
4365
4365
|
}, [
|
|
4366
|
-
(Q(!0), ne(sr, null, nr(l.inputOutputItems, (a, p) => dt((Q(), Ae(
|
|
4366
|
+
(Q(!0), ne(sr, null, nr(l.inputOutputItems, (a, p) => dt((Q(), Ae(jd, {
|
|
4367
4367
|
key: a.name,
|
|
4368
4368
|
ref_for: !0,
|
|
4369
4369
|
ref_key: "selectableItems",
|
|
@@ -4379,7 +4379,7 @@ const al = ue([]), Xd = /* @__PURE__ */ Oe({
|
|
|
4379
4379
|
])), 128))
|
|
4380
4380
|
], 32));
|
|
4381
4381
|
}
|
|
4382
|
-
}),
|
|
4382
|
+
}), Zd = /* @__PURE__ */ Be(Yd, [["__scopeId", "data-v-0e34bbfb"]]);
|
|
4383
4383
|
var cl = { exports: {} };
|
|
4384
4384
|
(function(e, t) {
|
|
4385
4385
|
(function(f, l) {
|
|
@@ -4411,7 +4411,7 @@ var cl = { exports: {} };
|
|
|
4411
4411
|
})(), f;
|
|
4412
4412
|
})());
|
|
4413
4413
|
})(cl);
|
|
4414
|
-
var
|
|
4414
|
+
var Qd = cl.exports, ll = { exports: {} };
|
|
4415
4415
|
(function(e, t) {
|
|
4416
4416
|
(function(f, l) {
|
|
4417
4417
|
e.exports = l();
|
|
@@ -4593,7 +4593,7 @@ var Zd = cl.exports, ll = { exports: {} };
|
|
|
4593
4593
|
})(), v;
|
|
4594
4594
|
})());
|
|
4595
4595
|
})(ll);
|
|
4596
|
-
var
|
|
4596
|
+
var ef = ll.exports, ul = { exports: {} };
|
|
4597
4597
|
(function(e, t) {
|
|
4598
4598
|
(function(f, l) {
|
|
4599
4599
|
e.exports = l();
|
|
@@ -10690,8 +10690,8 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
10690
10690
|
})(), v;
|
|
10691
10691
|
})());
|
|
10692
10692
|
})(ul);
|
|
10693
|
-
var
|
|
10694
|
-
const
|
|
10693
|
+
var tf = ul.exports;
|
|
10694
|
+
const rf = "hsl(0, 0%, 100%)", sf = "hsl(206, 74%, 90%)", ta = "hsl(0, 3%, 12%)", nf = "hsl(0, 0%, 53.3%)", of = "\x1B[48;5;224m\x1B[30m", af = "\x1B[47m\x1B[30m", ra = "\x1B[0m", cf = 300, lf = /* @__PURE__ */ Oe({
|
|
10695
10695
|
__name: "OutputConsole",
|
|
10696
10696
|
emits: ["console-created"],
|
|
10697
10697
|
setup(e, { emit: t }) {
|
|
@@ -10706,19 +10706,19 @@ const tf = "hsl(0, 0%, 100%)", rf = "hsl(206, 74%, 90%)", ta = "hsl(0, 3%, 12%)"
|
|
|
10706
10706
|
disableStdin: !0,
|
|
10707
10707
|
cursorBlink: !1,
|
|
10708
10708
|
theme: {
|
|
10709
|
-
background:
|
|
10709
|
+
background: rf,
|
|
10710
10710
|
foreground: ta,
|
|
10711
|
-
selectionBackground:
|
|
10712
|
-
cursor:
|
|
10711
|
+
selectionBackground: sf,
|
|
10712
|
+
cursor: nf,
|
|
10713
10713
|
black: ta
|
|
10714
10714
|
}
|
|
10715
|
-
}, u = new
|
|
10715
|
+
}, u = new tf.Terminal(l), v = ue(null), m = new ef.Unicode11Addon();
|
|
10716
10716
|
u.loadAddon(m), u.unicode.activeVersion = "11";
|
|
10717
|
-
const r = new
|
|
10717
|
+
const r = new Qd.FitAddon();
|
|
10718
10718
|
u.loadAddon(r);
|
|
10719
|
-
const i =
|
|
10719
|
+
const i = ru(() => {
|
|
10720
10720
|
r.fit();
|
|
10721
|
-
},
|
|
10721
|
+
}, cf);
|
|
10722
10722
|
ho(v, () => {
|
|
10723
10723
|
i();
|
|
10724
10724
|
});
|
|
@@ -10737,7 +10737,7 @@ const tf = "hsl(0, 0%, 100%)", rf = "hsl(206, 74%, 90%)", ta = "hsl(0, 3%, 12%)"
|
|
|
10737
10737
|
}
|
|
10738
10738
|
return !0;
|
|
10739
10739
|
}), u.onWriteParsed(() => u.scrollToBottom());
|
|
10740
|
-
const c = t, h = (d) => "error" in d ? `❌ ${
|
|
10740
|
+
const c = t, h = (d) => "error" in d ? `❌ ${of}${d.error}${ra}` : "warning" in d ? `⚠️ ${af}${d.warning}${ra}` : d.text;
|
|
10741
10741
|
Xe(() => {
|
|
10742
10742
|
u.open(v.value), c("console-created", {
|
|
10743
10743
|
write: (g) => u.write(h(g)),
|
|
@@ -10757,8 +10757,8 @@ const tf = "hsl(0, 0%, 100%)", rf = "hsl(206, 74%, 90%)", ta = "hsl(0, 3%, 12%)"
|
|
|
10757
10757
|
class: Ge(["terminal", { "focus-painted": J(n) }])
|
|
10758
10758
|
}, null, 2));
|
|
10759
10759
|
}
|
|
10760
|
-
}),
|
|
10761
|
-
class
|
|
10760
|
+
}), Fg = /* @__PURE__ */ Be(lf, [["__scopeId", "data-v-7c6287c5"]]);
|
|
10761
|
+
class uf {
|
|
10762
10762
|
constructor() {
|
|
10763
10763
|
this.map = /* @__PURE__ */ new Map();
|
|
10764
10764
|
}
|
|
@@ -10777,9 +10777,9 @@ class lf {
|
|
|
10777
10777
|
return this.map.get(t) ?? [];
|
|
10778
10778
|
}
|
|
10779
10779
|
}
|
|
10780
|
-
class
|
|
10780
|
+
class hf {
|
|
10781
10781
|
constructor() {
|
|
10782
|
-
this.callbacksMap = new
|
|
10782
|
+
this.callbacksMap = new uf();
|
|
10783
10783
|
}
|
|
10784
10784
|
addPushEventListener(t, f) {
|
|
10785
10785
|
return this.callbacksMap.add(
|
|
@@ -10797,8 +10797,8 @@ class uf {
|
|
|
10797
10797
|
const dl = (e) => ({
|
|
10798
10798
|
callKnimeUiApi: () => Promise.resolve({ isSome: !1 }),
|
|
10799
10799
|
...e
|
|
10800
|
-
}),
|
|
10801
|
-
const t = new
|
|
10800
|
+
}), df = (e) => {
|
|
10801
|
+
const t = new hf();
|
|
10802
10802
|
return {
|
|
10803
10803
|
service: {
|
|
10804
10804
|
...e,
|
|
@@ -10806,19 +10806,19 @@ const dl = (e) => ({
|
|
|
10806
10806
|
},
|
|
10807
10807
|
dispatchPushEvent: t.dispatchPushEvent.bind(t)
|
|
10808
10808
|
};
|
|
10809
|
-
},
|
|
10809
|
+
}, ff = (e) => df(dl(e)), pf = (e, t) => ({
|
|
10810
10810
|
type: t,
|
|
10811
10811
|
payload: e
|
|
10812
|
-
}),
|
|
10813
|
-
class
|
|
10812
|
+
}), _f = "UIExtensionPushEvent", gf = (e) => pf(e, _f);
|
|
10813
|
+
class vf {
|
|
10814
10814
|
constructor(t) {
|
|
10815
10815
|
this.contentWindow = t;
|
|
10816
10816
|
}
|
|
10817
10817
|
dispatchPushEvent(t) {
|
|
10818
|
-
this.contentWindow.postMessage(
|
|
10818
|
+
this.contentWindow.postMessage(gf(t), "*");
|
|
10819
10819
|
}
|
|
10820
10820
|
}
|
|
10821
|
-
const
|
|
10821
|
+
const mf = (e, t) => {
|
|
10822
10822
|
const f = (v) => {
|
|
10823
10823
|
var m;
|
|
10824
10824
|
return ((m = v.data) == null ? void 0 : m.type) === "UIExtensionRequest";
|
|
@@ -10847,50 +10847,54 @@ const vf = (e, t) => {
|
|
|
10847
10847
|
});
|
|
10848
10848
|
};
|
|
10849
10849
|
return window.addEventListener("message", u), () => e.removeEventListener("message", u);
|
|
10850
|
-
},
|
|
10850
|
+
}, Sf = (e) => new Promise((t) => {
|
|
10851
10851
|
const f = (l) => {
|
|
10852
10852
|
l.source === e && l.data.type === "UIExtensionReady" && (window.removeEventListener("message", f), t());
|
|
10853
10853
|
};
|
|
10854
10854
|
window.addEventListener("message", f);
|
|
10855
|
-
}),
|
|
10856
|
-
|
|
10857
|
-
const f = new
|
|
10858
|
-
return await
|
|
10855
|
+
}), yf = async (e, t) => {
|
|
10856
|
+
mf(t, dl(e));
|
|
10857
|
+
const f = new vf(t);
|
|
10858
|
+
return await Sf(t), {
|
|
10859
10859
|
dispatchPushEvent: f.dispatchPushEvent.bind(f)
|
|
10860
10860
|
};
|
|
10861
|
-
},
|
|
10861
|
+
}, bf = ["src"], Cf = /* @__PURE__ */ Oe({
|
|
10862
10862
|
__name: "UIExtIFrame",
|
|
10863
10863
|
props: {
|
|
10864
10864
|
resourceLocation: {},
|
|
10865
10865
|
apiLayer: {}
|
|
10866
10866
|
},
|
|
10867
|
-
emits: ["serviceCreated"],
|
|
10867
|
+
emits: ["serviceCreated", "escapePressed"],
|
|
10868
10868
|
setup(e, { emit: t }) {
|
|
10869
10869
|
const f = e, l = ue(null);
|
|
10870
10870
|
let u = [], v;
|
|
10871
|
-
const m = t
|
|
10871
|
+
const m = t, r = (i) => {
|
|
10872
|
+
i.data.type === "UIExtensionEscapePressed" && m("escapePressed");
|
|
10873
|
+
};
|
|
10872
10874
|
return Xe(() => {
|
|
10873
|
-
|
|
10874
|
-
v =
|
|
10875
|
-
(
|
|
10875
|
+
yf(f.apiLayer, l.value.contentWindow).then((s) => {
|
|
10876
|
+
v = s, u && (u.forEach(
|
|
10877
|
+
(c) => v.dispatchPushEvent(c)
|
|
10876
10878
|
), u = null);
|
|
10877
10879
|
}).catch(() => {
|
|
10878
|
-
}), m("serviceCreated", { dispatchPushEvent: (
|
|
10880
|
+
}), m("serviceCreated", { dispatchPushEvent: (s) => {
|
|
10879
10881
|
if (v) {
|
|
10880
|
-
v.dispatchPushEvent(
|
|
10882
|
+
v.dispatchPushEvent(s);
|
|
10881
10883
|
return;
|
|
10882
10884
|
}
|
|
10883
|
-
u && u.push(
|
|
10884
|
-
} });
|
|
10885
|
-
}), (
|
|
10885
|
+
u && u.push(s);
|
|
10886
|
+
} }), window.addEventListener("message", r);
|
|
10887
|
+
}), Ol(() => {
|
|
10888
|
+
window.removeEventListener("message", r);
|
|
10889
|
+
}), (i, s) => (Q(), ne("iframe", {
|
|
10886
10890
|
ref_key: "iframe",
|
|
10887
10891
|
ref: l,
|
|
10888
10892
|
title: "UIExtension Iframe",
|
|
10889
|
-
src:
|
|
10893
|
+
src: i.resourceLocation,
|
|
10890
10894
|
sandbox: "allow-downloads allow-scripts allow-same-origin"
|
|
10891
|
-
}, null, 8,
|
|
10895
|
+
}, null, 8, bf));
|
|
10892
10896
|
}
|
|
10893
|
-
}),
|
|
10897
|
+
}), wf = /* @__PURE__ */ Be(Cf, [["__scopeId", "data-v-191a007e"]]), Fr = {}, Ef = () => ({
|
|
10894
10898
|
dynamicImport: async (f, l = !1) => ((!Fr[f] || l) && (Fr[f] = await import(
|
|
10895
10899
|
/* @vite-ignore */
|
|
10896
10900
|
f
|
|
@@ -10898,7 +10902,7 @@ const vf = (e, t) => {
|
|
|
10898
10902
|
clearCache: () => {
|
|
10899
10903
|
Object.keys(Fr).forEach((f) => delete Fr[f]);
|
|
10900
10904
|
}
|
|
10901
|
-
}),
|
|
10905
|
+
}), kf = /* @__PURE__ */ Oe({
|
|
10902
10906
|
__name: "UIExtShadowApp",
|
|
10903
10907
|
props: {
|
|
10904
10908
|
resourceLocation: {},
|
|
@@ -10907,13 +10911,13 @@ const vf = (e, t) => {
|
|
|
10907
10911
|
},
|
|
10908
10912
|
emits: ["serviceCreated"],
|
|
10909
10913
|
setup(e, { emit: t }) {
|
|
10910
|
-
const { dynamicImport: f } =
|
|
10914
|
+
const { dynamicImport: f } = Ef(), l = e, u = t, v = ue(null), m = ue(null);
|
|
10911
10915
|
let r = null;
|
|
10912
10916
|
const i = () => {
|
|
10913
10917
|
if (r !== null)
|
|
10914
10918
|
return;
|
|
10915
|
-
const c =
|
|
10916
|
-
r =
|
|
10919
|
+
const c = ff(l.apiLayer);
|
|
10920
|
+
r = xl(c.service), u("serviceCreated", c);
|
|
10917
10921
|
}, s = async () => {
|
|
10918
10922
|
i();
|
|
10919
10923
|
const c = await f(l.resourceLocation);
|
|
@@ -10933,7 +10937,7 @@ const vf = (e, t) => {
|
|
|
10933
10937
|
style: Yi(c.style)
|
|
10934
10938
|
}, null, 4));
|
|
10935
10939
|
}
|
|
10936
|
-
}),
|
|
10940
|
+
}), Rf = /* @__PURE__ */ Be(kf, [["__scopeId", "data-v-a045009d"]]), fl = /* @__PURE__ */ Oe({
|
|
10937
10941
|
__name: "UIExtension",
|
|
10938
10942
|
props: {
|
|
10939
10943
|
apiLayer: {},
|
|
@@ -10944,6 +10948,7 @@ const vf = (e, t) => {
|
|
|
10944
10948
|
isDialogLayout: { type: Boolean },
|
|
10945
10949
|
shadowAppStyle: { type: [Boolean, null, String, Object, Array], default: null }
|
|
10946
10950
|
},
|
|
10951
|
+
emits: ["escapePressed"],
|
|
10947
10952
|
setup(e) {
|
|
10948
10953
|
const t = e, f = ue(0);
|
|
10949
10954
|
let l;
|
|
@@ -10978,17 +10983,18 @@ const vf = (e, t) => {
|
|
|
10978
10983
|
r(t.extensionConfig.nodeInfo);
|
|
10979
10984
|
}), Kt(() => {
|
|
10980
10985
|
l == null || l();
|
|
10981
|
-
}), (i, s) => u.value ? (Q(), Ae(
|
|
10986
|
+
}), (i, s) => u.value ? (Q(), Ae(Rf, {
|
|
10982
10987
|
key: `comp_${f.value}`,
|
|
10983
10988
|
"api-layer": v.value,
|
|
10984
10989
|
style: Yi(i.shadowAppStyle),
|
|
10985
10990
|
"resource-location": i.resourceLocation,
|
|
10986
10991
|
onServiceCreated: m
|
|
10987
|
-
}, null, 8, ["api-layer", "style", "resource-location"])) : (Q(), Ae(
|
|
10992
|
+
}, null, 8, ["api-layer", "style", "resource-location"])) : (Q(), Ae(wf, {
|
|
10988
10993
|
key: `iframe_${f.value}`,
|
|
10989
10994
|
"api-layer": v.value,
|
|
10990
10995
|
"resource-location": i.resourceLocation,
|
|
10991
|
-
onServiceCreated: m
|
|
10996
|
+
onServiceCreated: m,
|
|
10997
|
+
onEscapePressed: s[0] || (s[0] = (c) => i.$emit("escapePressed"))
|
|
10992
10998
|
}, null, 8, ["api-layer", "resource-location"]));
|
|
10993
10999
|
}
|
|
10994
11000
|
});
|
|
@@ -10997,7 +11003,7 @@ let pl = {
|
|
|
10997
11003
|
write: (e) => consola.error("Console not yet initialized", e),
|
|
10998
11004
|
clear: () => consola.error("Console not yet initialized")
|
|
10999
11005
|
};
|
|
11000
|
-
const
|
|
11006
|
+
const qg = (e) => {
|
|
11001
11007
|
pl = e;
|
|
11002
11008
|
};
|
|
11003
11009
|
var he = {}, ur = {}, yo = {}, bs = {}, ie = {}, He = {}, ia;
|
|
@@ -11491,7 +11497,7 @@ function gl() {
|
|
|
11491
11497
|
return Lt.LRUCache = l, Lt;
|
|
11492
11498
|
}
|
|
11493
11499
|
var qr = {}, oa;
|
|
11494
|
-
function
|
|
11500
|
+
function Pf() {
|
|
11495
11501
|
if (oa) return qr;
|
|
11496
11502
|
oa = 1, Object.defineProperty(qr, "__esModule", { value: !0 }), qr.Disposable = void 0;
|
|
11497
11503
|
var e;
|
|
@@ -11663,7 +11669,7 @@ function bo() {
|
|
|
11663
11669
|
return Zt.CancellationTokenSource = m, Zt;
|
|
11664
11670
|
}
|
|
11665
11671
|
var Qt = {}, ua;
|
|
11666
|
-
function
|
|
11672
|
+
function Df() {
|
|
11667
11673
|
if (ua) return Qt;
|
|
11668
11674
|
ua = 1, Object.defineProperty(Qt, "__esModule", { value: !0 }), Qt.SharedArrayReceiverStrategy = Qt.SharedArraySenderStrategy = void 0;
|
|
11669
11675
|
const e = bo();
|
|
@@ -11770,7 +11776,7 @@ function vl() {
|
|
|
11770
11776
|
return jr.Semaphore = t, jr;
|
|
11771
11777
|
}
|
|
11772
11778
|
var da;
|
|
11773
|
-
function
|
|
11779
|
+
function Lf() {
|
|
11774
11780
|
if (da) return Tt;
|
|
11775
11781
|
da = 1, Object.defineProperty(Tt, "__esModule", { value: !0 }), Tt.ReadableStreamMessageReader = Tt.AbstractMessageReader = Tt.MessageReader = void 0;
|
|
11776
11782
|
const e = hr(), t = ai(), f = ci(), l = vl();
|
|
@@ -11898,7 +11904,7 @@ ${JSON.stringify(Object.fromEntries(h))}`));
|
|
|
11898
11904
|
return Tt.ReadableStreamMessageReader = r, Tt;
|
|
11899
11905
|
}
|
|
11900
11906
|
var Mt = {}, fa;
|
|
11901
|
-
function
|
|
11907
|
+
function Tf() {
|
|
11902
11908
|
if (fa) return Mt;
|
|
11903
11909
|
fa = 1, Object.defineProperty(Mt, "__esModule", { value: !0 }), Mt.WriteableStreamMessageWriter = Mt.AbstractMessageWriter = Mt.MessageWriter = void 0;
|
|
11904
11910
|
const e = hr(), t = ai(), f = vl(), l = ci(), u = "Content-Length: ", v = `\r
|
|
@@ -11971,7 +11977,7 @@ function Lf() {
|
|
|
11971
11977
|
return Mt.WriteableStreamMessageWriter = s, Mt;
|
|
11972
11978
|
}
|
|
11973
11979
|
var Wr = {}, pa;
|
|
11974
|
-
function
|
|
11980
|
+
function Mf() {
|
|
11975
11981
|
if (pa) return Wr;
|
|
11976
11982
|
pa = 1, Object.defineProperty(Wr, "__esModule", { value: !0 }), Wr.AbstractMessageBuffer = void 0;
|
|
11977
11983
|
const e = 13, t = 10, f = `\r
|
|
@@ -12077,7 +12083,7 @@ ${g}`);
|
|
|
12077
12083
|
return Wr.AbstractMessageBuffer = l, Wr;
|
|
12078
12084
|
}
|
|
12079
12085
|
var Cs = {}, _a;
|
|
12080
|
-
function
|
|
12086
|
+
function Af() {
|
|
12081
12087
|
return _a || (_a = 1, function(e) {
|
|
12082
12088
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.createMessageConnection = e.ConnectionOptions = e.MessageStrategy = e.CancellationStrategy = e.CancellationSenderStrategy = e.CancellationReceiverStrategy = e.RequestCancellationReceiverStrategy = e.IdCancellationReceiverStrategy = e.ConnectionStrategy = e.ConnectionError = e.ConnectionErrors = e.LogTraceNotification = e.SetTraceNotification = e.TraceFormat = e.TraceValues = e.Trace = e.NullLogger = e.ProgressType = e.ProgressToken = void 0;
|
|
12083
12089
|
const t = hr(), f = ai(), l = _l(), u = gl(), v = ci(), m = bo();
|
|
@@ -12877,7 +12883,7 @@ function Qs() {
|
|
|
12877
12883
|
} }), Object.defineProperty(e, "Touch", { enumerable: !0, get: function() {
|
|
12878
12884
|
return f.Touch;
|
|
12879
12885
|
} });
|
|
12880
|
-
const l =
|
|
12886
|
+
const l = Pf();
|
|
12881
12887
|
Object.defineProperty(e, "Disposable", { enumerable: !0, get: function() {
|
|
12882
12888
|
return l.Disposable;
|
|
12883
12889
|
} });
|
|
@@ -12893,13 +12899,13 @@ function Qs() {
|
|
|
12893
12899
|
} }), Object.defineProperty(e, "CancellationToken", { enumerable: !0, get: function() {
|
|
12894
12900
|
return v.CancellationToken;
|
|
12895
12901
|
} });
|
|
12896
|
-
const m =
|
|
12902
|
+
const m = Df();
|
|
12897
12903
|
Object.defineProperty(e, "SharedArraySenderStrategy", { enumerable: !0, get: function() {
|
|
12898
12904
|
return m.SharedArraySenderStrategy;
|
|
12899
12905
|
} }), Object.defineProperty(e, "SharedArrayReceiverStrategy", { enumerable: !0, get: function() {
|
|
12900
12906
|
return m.SharedArrayReceiverStrategy;
|
|
12901
12907
|
} });
|
|
12902
|
-
const r =
|
|
12908
|
+
const r = Lf();
|
|
12903
12909
|
Object.defineProperty(e, "MessageReader", { enumerable: !0, get: function() {
|
|
12904
12910
|
return r.MessageReader;
|
|
12905
12911
|
} }), Object.defineProperty(e, "AbstractMessageReader", { enumerable: !0, get: function() {
|
|
@@ -12907,7 +12913,7 @@ function Qs() {
|
|
|
12907
12913
|
} }), Object.defineProperty(e, "ReadableStreamMessageReader", { enumerable: !0, get: function() {
|
|
12908
12914
|
return r.ReadableStreamMessageReader;
|
|
12909
12915
|
} });
|
|
12910
|
-
const i =
|
|
12916
|
+
const i = Tf();
|
|
12911
12917
|
Object.defineProperty(e, "MessageWriter", { enumerable: !0, get: function() {
|
|
12912
12918
|
return i.MessageWriter;
|
|
12913
12919
|
} }), Object.defineProperty(e, "AbstractMessageWriter", { enumerable: !0, get: function() {
|
|
@@ -12915,11 +12921,11 @@ function Qs() {
|
|
|
12915
12921
|
} }), Object.defineProperty(e, "WriteableStreamMessageWriter", { enumerable: !0, get: function() {
|
|
12916
12922
|
return i.WriteableStreamMessageWriter;
|
|
12917
12923
|
} });
|
|
12918
|
-
const s =
|
|
12924
|
+
const s = Mf();
|
|
12919
12925
|
Object.defineProperty(e, "AbstractMessageBuffer", { enumerable: !0, get: function() {
|
|
12920
12926
|
return s.AbstractMessageBuffer;
|
|
12921
12927
|
} });
|
|
12922
|
-
const c =
|
|
12928
|
+
const c = Af();
|
|
12923
12929
|
Object.defineProperty(e, "ConnectionStrategy", { enumerable: !0, get: function() {
|
|
12924
12930
|
return c.ConnectionStrategy;
|
|
12925
12931
|
} }), Object.defineProperty(e, "ConnectionOptions", { enumerable: !0, get: function() {
|
|
@@ -12982,7 +12988,7 @@ class es extends bt.AbstractMessageBuffer {
|
|
|
12982
12988
|
}
|
|
12983
12989
|
}
|
|
12984
12990
|
es.emptyBuffer = new Uint8Array(0);
|
|
12985
|
-
class
|
|
12991
|
+
class If {
|
|
12986
12992
|
constructor(t) {
|
|
12987
12993
|
this.socket = t, this._onData = new bt.Emitter(), this._messageListener = (f) => {
|
|
12988
12994
|
f.data.arrayBuffer().then((u) => {
|
|
@@ -13005,7 +13011,7 @@ class Af {
|
|
|
13005
13011
|
return this._onData.event(t);
|
|
13006
13012
|
}
|
|
13007
13013
|
}
|
|
13008
|
-
class
|
|
13014
|
+
class Of {
|
|
13009
13015
|
constructor(t) {
|
|
13010
13016
|
this.socket = t;
|
|
13011
13017
|
}
|
|
@@ -13031,7 +13037,7 @@ class If {
|
|
|
13031
13037
|
this.socket.close();
|
|
13032
13038
|
}
|
|
13033
13039
|
}
|
|
13034
|
-
const
|
|
13040
|
+
const xf = new TextEncoder(), ml = Object.freeze({
|
|
13035
13041
|
messageBuffer: Object.freeze({
|
|
13036
13042
|
create: (e) => new es(e)
|
|
13037
13043
|
}),
|
|
@@ -13041,7 +13047,7 @@ const Of = new TextEncoder(), ml = Object.freeze({
|
|
|
13041
13047
|
encode: (e, t) => {
|
|
13042
13048
|
if (t.charset !== "utf-8")
|
|
13043
13049
|
throw new Error(`In a Browser environments only utf-8 text encoding is supported. But got encoding: ${t.charset}`);
|
|
13044
|
-
return Promise.resolve(
|
|
13050
|
+
return Promise.resolve(xf.encode(JSON.stringify(e, void 0, 0)));
|
|
13045
13051
|
}
|
|
13046
13052
|
}),
|
|
13047
13053
|
decoder: Object.freeze({
|
|
@@ -13054,8 +13060,8 @@ const Of = new TextEncoder(), ml = Object.freeze({
|
|
|
13054
13060
|
})
|
|
13055
13061
|
}),
|
|
13056
13062
|
stream: Object.freeze({
|
|
13057
|
-
asReadableStream: (e) => new
|
|
13058
|
-
asWritableStream: (e) => new
|
|
13063
|
+
asReadableStream: (e) => new If(e),
|
|
13064
|
+
asWritableStream: (e) => new Of(e)
|
|
13059
13065
|
}),
|
|
13060
13066
|
console,
|
|
13061
13067
|
timer: Object.freeze({
|
|
@@ -13525,7 +13531,7 @@ class ma {
|
|
|
13525
13531
|
return this._counter++, this._counter.toString();
|
|
13526
13532
|
}
|
|
13527
13533
|
}
|
|
13528
|
-
class
|
|
13534
|
+
class Bf {
|
|
13529
13535
|
constructor(t) {
|
|
13530
13536
|
this._textEditChanges = /* @__PURE__ */ Object.create(null), t !== void 0 ? (this._workspaceEdit = t, t.documentChanges ? (this._changeAnnotations = new ma(t.changeAnnotations), t.changeAnnotations = this._changeAnnotations.all(), t.documentChanges.forEach((f) => {
|
|
13531
13537
|
if (Jr.is(f)) {
|
|
@@ -14038,13 +14044,13 @@ var eo;
|
|
|
14038
14044
|
}
|
|
14039
14045
|
e.is = t;
|
|
14040
14046
|
})(eo || (eo = {}));
|
|
14041
|
-
const
|
|
14047
|
+
const Nf = [`
|
|
14042
14048
|
`, `\r
|
|
14043
14049
|
`, "\r"];
|
|
14044
14050
|
var to;
|
|
14045
14051
|
(function(e) {
|
|
14046
14052
|
function t(v, m, r, i) {
|
|
14047
|
-
return new
|
|
14053
|
+
return new Hf(v, m, r, i);
|
|
14048
14054
|
}
|
|
14049
14055
|
e.create = t;
|
|
14050
14056
|
function f(v) {
|
|
@@ -14083,7 +14089,7 @@ var to;
|
|
|
14083
14089
|
return v;
|
|
14084
14090
|
}
|
|
14085
14091
|
})(to || (to = {}));
|
|
14086
|
-
class
|
|
14092
|
+
class Hf {
|
|
14087
14093
|
constructor(t, f, l, u) {
|
|
14088
14094
|
this._uri = t, this._languageId = f, this._version = l, this._content = u, this._lineOffsets = void 0;
|
|
14089
14095
|
}
|
|
@@ -14193,7 +14199,7 @@ var q;
|
|
|
14193
14199
|
}
|
|
14194
14200
|
e.typedArray = n;
|
|
14195
14201
|
})(q || (q = {}));
|
|
14196
|
-
const
|
|
14202
|
+
const Ff = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14197
14203
|
__proto__: null,
|
|
14198
14204
|
get AnnotatedTextEdit() {
|
|
14199
14205
|
return xt;
|
|
@@ -14282,7 +14288,7 @@ const Hf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14282
14288
|
get DocumentUri() {
|
|
14283
14289
|
return tn;
|
|
14284
14290
|
},
|
|
14285
|
-
EOL:
|
|
14291
|
+
EOL: Nf,
|
|
14286
14292
|
get FoldingRange() {
|
|
14287
14293
|
return cn;
|
|
14288
14294
|
},
|
|
@@ -14418,7 +14424,7 @@ const Hf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14418
14424
|
get VersionedTextDocumentIdentifier() {
|
|
14419
14425
|
return fn;
|
|
14420
14426
|
},
|
|
14421
|
-
WorkspaceChange:
|
|
14427
|
+
WorkspaceChange: Bf,
|
|
14422
14428
|
get WorkspaceEdit() {
|
|
14423
14429
|
return Hi;
|
|
14424
14430
|
},
|
|
@@ -14434,7 +14440,7 @@ const Hf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14434
14440
|
get uinteger() {
|
|
14435
14441
|
return Vr;
|
|
14436
14442
|
}
|
|
14437
|
-
}, Symbol.toStringTag, { value: "Module" })), Co = /* @__PURE__ */
|
|
14443
|
+
}, Symbol.toStringTag, { value: "Module" })), Co = /* @__PURE__ */ vu(Ff);
|
|
14438
14444
|
var de = {};
|
|
14439
14445
|
Object.defineProperty(de, "__esModule", { value: !0 });
|
|
14440
14446
|
de.ProtocolNotificationType = de.ProtocolNotificationType0 = de.ProtocolRequestType = de.ProtocolRequestType0 = de.RegistrationType = de.MessageDirection = void 0;
|
|
@@ -14443,75 +14449,75 @@ var Sa;
|
|
|
14443
14449
|
(function(e) {
|
|
14444
14450
|
e.clientToServer = "clientToServer", e.serverToClient = "serverToClient", e.both = "both";
|
|
14445
14451
|
})(Sa || (de.MessageDirection = Sa = {}));
|
|
14446
|
-
class
|
|
14452
|
+
class qf {
|
|
14447
14453
|
constructor(t) {
|
|
14448
14454
|
this.method = t;
|
|
14449
14455
|
}
|
|
14450
14456
|
}
|
|
14451
|
-
de.RegistrationType =
|
|
14452
|
-
class
|
|
14457
|
+
de.RegistrationType = qf;
|
|
14458
|
+
class jf extends yr.RequestType0 {
|
|
14453
14459
|
constructor(t) {
|
|
14454
14460
|
super(t);
|
|
14455
14461
|
}
|
|
14456
14462
|
}
|
|
14457
|
-
de.ProtocolRequestType0 =
|
|
14458
|
-
class
|
|
14463
|
+
de.ProtocolRequestType0 = jf;
|
|
14464
|
+
class Wf extends yr.RequestType {
|
|
14459
14465
|
constructor(t) {
|
|
14460
14466
|
super(t, yr.ParameterStructures.byName);
|
|
14461
14467
|
}
|
|
14462
14468
|
}
|
|
14463
|
-
de.ProtocolRequestType =
|
|
14464
|
-
class
|
|
14469
|
+
de.ProtocolRequestType = Wf;
|
|
14470
|
+
class zf extends yr.NotificationType0 {
|
|
14465
14471
|
constructor(t) {
|
|
14466
14472
|
super(t);
|
|
14467
14473
|
}
|
|
14468
14474
|
}
|
|
14469
|
-
de.ProtocolNotificationType0 =
|
|
14470
|
-
class
|
|
14475
|
+
de.ProtocolNotificationType0 = zf;
|
|
14476
|
+
class Uf extends yr.NotificationType {
|
|
14471
14477
|
constructor(t) {
|
|
14472
14478
|
super(t, yr.ParameterStructures.byName);
|
|
14473
14479
|
}
|
|
14474
14480
|
}
|
|
14475
|
-
de.ProtocolNotificationType =
|
|
14481
|
+
de.ProtocolNotificationType = Uf;
|
|
14476
14482
|
var yl = {}, Re = {};
|
|
14477
14483
|
Object.defineProperty(Re, "__esModule", { value: !0 });
|
|
14478
14484
|
Re.objectLiteral = Re.typedArray = Re.stringArray = Re.array = Re.func = Re.error = Re.number = Re.string = Re.boolean = void 0;
|
|
14479
|
-
function
|
|
14485
|
+
function $f(e) {
|
|
14480
14486
|
return e === !0 || e === !1;
|
|
14481
14487
|
}
|
|
14482
|
-
Re.boolean =
|
|
14488
|
+
Re.boolean = $f;
|
|
14483
14489
|
function bl(e) {
|
|
14484
14490
|
return typeof e == "string" || e instanceof String;
|
|
14485
14491
|
}
|
|
14486
14492
|
Re.string = bl;
|
|
14487
|
-
function
|
|
14493
|
+
function Vf(e) {
|
|
14488
14494
|
return typeof e == "number" || e instanceof Number;
|
|
14489
14495
|
}
|
|
14490
|
-
Re.number =
|
|
14491
|
-
function
|
|
14496
|
+
Re.number = Vf;
|
|
14497
|
+
function Kf(e) {
|
|
14492
14498
|
return e instanceof Error;
|
|
14493
14499
|
}
|
|
14494
|
-
Re.error =
|
|
14495
|
-
function
|
|
14500
|
+
Re.error = Kf;
|
|
14501
|
+
function Gf(e) {
|
|
14496
14502
|
return typeof e == "function";
|
|
14497
14503
|
}
|
|
14498
|
-
Re.func =
|
|
14504
|
+
Re.func = Gf;
|
|
14499
14505
|
function Cl(e) {
|
|
14500
14506
|
return Array.isArray(e);
|
|
14501
14507
|
}
|
|
14502
14508
|
Re.array = Cl;
|
|
14503
|
-
function
|
|
14509
|
+
function Jf(e) {
|
|
14504
14510
|
return Cl(e) && e.every((t) => bl(t));
|
|
14505
14511
|
}
|
|
14506
|
-
Re.stringArray =
|
|
14507
|
-
function
|
|
14512
|
+
Re.stringArray = Jf;
|
|
14513
|
+
function Xf(e, t) {
|
|
14508
14514
|
return Array.isArray(e) && e.every(t);
|
|
14509
14515
|
}
|
|
14510
|
-
Re.typedArray =
|
|
14511
|
-
function
|
|
14516
|
+
Re.typedArray = Xf;
|
|
14517
|
+
function Yf(e) {
|
|
14512
14518
|
return e !== null && typeof e == "object";
|
|
14513
14519
|
}
|
|
14514
|
-
Re.objectLiteral =
|
|
14520
|
+
Re.objectLiteral = Yf;
|
|
14515
14521
|
var ts = {};
|
|
14516
14522
|
Object.defineProperty(ts, "__esModule", { value: !0 });
|
|
14517
14523
|
ts.ImplementationRequest = void 0;
|
|
@@ -14591,10 +14597,10 @@ var xa;
|
|
|
14591
14597
|
var Wt = {};
|
|
14592
14598
|
Object.defineProperty(Wt, "__esModule", { value: !0 });
|
|
14593
14599
|
Wt.WorkDoneProgressCancelNotification = Wt.WorkDoneProgressCreateRequest = Wt.WorkDoneProgress = void 0;
|
|
14594
|
-
const
|
|
14600
|
+
const Zf = ur, $i = de;
|
|
14595
14601
|
var Ba;
|
|
14596
14602
|
(function(e) {
|
|
14597
|
-
e.type = new
|
|
14603
|
+
e.type = new Zf.ProgressType();
|
|
14598
14604
|
function t(f) {
|
|
14599
14605
|
return f === e.type;
|
|
14600
14606
|
}
|
|
@@ -14763,12 +14769,12 @@ var _c;
|
|
|
14763
14769
|
var nt = {};
|
|
14764
14770
|
Object.defineProperty(nt, "__esModule", { value: !0 });
|
|
14765
14771
|
nt.DiagnosticRefreshRequest = nt.WorkspaceDiagnosticRequest = nt.DocumentDiagnosticRequest = nt.DocumentDiagnosticReportKind = nt.DiagnosticServerCancellationData = void 0;
|
|
14766
|
-
const wl = ur,
|
|
14772
|
+
const wl = ur, Qf = Re, Dr = de;
|
|
14767
14773
|
var gc;
|
|
14768
14774
|
(function(e) {
|
|
14769
14775
|
function t(f) {
|
|
14770
14776
|
const l = f;
|
|
14771
|
-
return l &&
|
|
14777
|
+
return l && Qf.boolean(l.retriggerRequest);
|
|
14772
14778
|
}
|
|
14773
14779
|
e.is = t;
|
|
14774
14780
|
})(gc || (nt.DiagnosticServerCancellationData = gc = {}));
|
|
@@ -15391,10 +15397,10 @@ var ls = {};
|
|
|
15391
15397
|
Object.defineProperty(ls, "__esModule", { value: !0 });
|
|
15392
15398
|
ls.createProtocolConnection = void 0;
|
|
15393
15399
|
const Lc = ur;
|
|
15394
|
-
function
|
|
15400
|
+
function ep(e, t, f, l) {
|
|
15395
15401
|
return Lc.ConnectionStrategy.is(l) && (l = { connectionStrategy: l }), (0, Lc.createMessageConnection)(e, t, f, l);
|
|
15396
15402
|
}
|
|
15397
|
-
ls.createProtocolConnection =
|
|
15403
|
+
ls.createProtocolConnection = ep;
|
|
15398
15404
|
(function(e) {
|
|
15399
15405
|
var t = rt && rt.__createBinding || (Object.create ? function(v, m, r, i) {
|
|
15400
15406
|
i === void 0 && (i = r);
|
|
@@ -15437,7 +15443,7 @@ ls.createProtocolConnection = Qf;
|
|
|
15437
15443
|
}
|
|
15438
15444
|
e.createProtocolConnection = u;
|
|
15439
15445
|
})(he);
|
|
15440
|
-
const
|
|
15446
|
+
const tp = (e) => ({
|
|
15441
15447
|
line: e.lineNumber - 1,
|
|
15442
15448
|
character: e.column - 1
|
|
15443
15449
|
}), ti = (e) => {
|
|
@@ -15452,7 +15458,7 @@ const ep = (e) => ({
|
|
|
15452
15458
|
startColumn: e.start.character + 1,
|
|
15453
15459
|
endLineNumber: e.end.line + 1,
|
|
15454
15460
|
endColumn: e.end.character + 1
|
|
15455
|
-
}),
|
|
15461
|
+
}), rp = (e) => ({
|
|
15456
15462
|
start: {
|
|
15457
15463
|
line: e.startLineNumber - 1,
|
|
15458
15464
|
character: e.startColumn - 1
|
|
@@ -15465,8 +15471,8 @@ const ep = (e) => ({
|
|
|
15465
15471
|
uri: e.uri.toString()
|
|
15466
15472
|
}), Eo = (e, t) => ({
|
|
15467
15473
|
textDocument: wo(e),
|
|
15468
|
-
position:
|
|
15469
|
-
}),
|
|
15474
|
+
position: tp(t)
|
|
15475
|
+
}), ip = (e, t) => {
|
|
15470
15476
|
const f = e.getWordUntilPosition(t);
|
|
15471
15477
|
return {
|
|
15472
15478
|
startLineNumber: t.lineNumber,
|
|
@@ -15474,10 +15480,10 @@ const ep = (e) => ({
|
|
|
15474
15480
|
endLineNumber: t.lineNumber,
|
|
15475
15481
|
endColumn: f.endColumn
|
|
15476
15482
|
};
|
|
15477
|
-
},
|
|
15483
|
+
}, sp = (e) => {
|
|
15478
15484
|
const t = Object.keys(he.CompletionItemKind).find((f) => he.CompletionItemKind[f] === e);
|
|
15479
15485
|
return t ? Ue.CompletionItemKind[t] : Ue.CompletionItemKind.Text;
|
|
15480
|
-
},
|
|
15486
|
+
}, np = (e) => e.flatMap((t) => t === he.CompletionItemTag.Deprecated ? [Ue.CompletionItemTag.Deprecated] : []), op = (e) => {
|
|
15481
15487
|
switch (e) {
|
|
15482
15488
|
case Ue.CompletionTriggerKind.Invoke:
|
|
15483
15489
|
return he.CompletionTriggerKind.Invoked;
|
|
@@ -15488,8 +15494,8 @@ const ep = (e) => ({
|
|
|
15488
15494
|
default:
|
|
15489
15495
|
return he.CompletionTriggerKind.Invoked;
|
|
15490
15496
|
}
|
|
15491
|
-
},
|
|
15492
|
-
triggerKind:
|
|
15497
|
+
}, ap = (e) => ({
|
|
15498
|
+
triggerKind: op(e.triggerKind),
|
|
15493
15499
|
triggerCharacter: e.triggerCharacter
|
|
15494
15500
|
}), so = (e, t) => {
|
|
15495
15501
|
var v, m;
|
|
@@ -15497,12 +15503,12 @@ const ep = (e) => ({
|
|
|
15497
15503
|
label: e.label,
|
|
15498
15504
|
detail: (v = e.labelDetails) == null ? void 0 : v.detail,
|
|
15499
15505
|
description: (m = e.labelDetails) == null ? void 0 : m.description
|
|
15500
|
-
}, l =
|
|
15506
|
+
}, l = np(e.tags ?? []);
|
|
15501
15507
|
e.deprecated && l.push(Ue.CompletionItemTag.Deprecated);
|
|
15502
15508
|
let u = Ue.CompletionItemInsertTextRule.None;
|
|
15503
15509
|
return e.insertTextFormat === he.InsertTextFormat.Snippet ? u = Ue.CompletionItemInsertTextRule.InsertAsSnippet : e.insertTextMode === he.InsertTextMode.adjustIndentation && (u = Ue.CompletionItemInsertTextRule.KeepWhitespace), {
|
|
15504
15510
|
label: f,
|
|
15505
|
-
kind:
|
|
15511
|
+
kind: sp(e.kind ?? he.CompletionItemKind.Text),
|
|
15506
15512
|
tags: l,
|
|
15507
15513
|
detail: e.detail,
|
|
15508
15514
|
...e.documentation ? { documentation: ti(e.documentation) } : {},
|
|
@@ -15515,7 +15521,7 @@ const ep = (e) => ({
|
|
|
15515
15521
|
commitCharacters: e.commitCharacters,
|
|
15516
15522
|
data: e.data
|
|
15517
15523
|
};
|
|
15518
|
-
},
|
|
15524
|
+
}, cp = {
|
|
15519
15525
|
dynamicRegistration: !1,
|
|
15520
15526
|
completionItem: {
|
|
15521
15527
|
commitCharactersSupport: !0,
|
|
@@ -15532,23 +15538,23 @@ const ep = (e) => ({
|
|
|
15532
15538
|
},
|
|
15533
15539
|
insertTextMode: he.InsertTextMode.asIs,
|
|
15534
15540
|
contextSupport: !1
|
|
15535
|
-
},
|
|
15541
|
+
}, lp = (e, t, f) => ({
|
|
15536
15542
|
...Eo(e, t),
|
|
15537
|
-
context:
|
|
15538
|
-
}),
|
|
15539
|
-
const l =
|
|
15543
|
+
context: ap(f)
|
|
15544
|
+
}), up = (e, t, f) => {
|
|
15545
|
+
const l = ip(t, f);
|
|
15540
15546
|
return Array.isArray(e) ? {
|
|
15541
15547
|
suggestions: e.map((u) => so(u, l))
|
|
15542
15548
|
} : {
|
|
15543
15549
|
suggestions: e.items.map((u) => so(u, l)),
|
|
15544
15550
|
incomplete: e.isIncomplete
|
|
15545
15551
|
};
|
|
15546
|
-
},
|
|
15552
|
+
}, hp = (e) => {
|
|
15547
15553
|
const t = {
|
|
15548
15554
|
label: typeof e.label == "string" ? e.label : e.label.label
|
|
15549
15555
|
};
|
|
15550
15556
|
return "data" in e && (t.data = e.data), t;
|
|
15551
|
-
},
|
|
15557
|
+
}, dp = (e, t) => so(e, t), fp = (e) => {
|
|
15552
15558
|
switch (e) {
|
|
15553
15559
|
case he.DiagnosticSeverity.Error:
|
|
15554
15560
|
return Or.Error;
|
|
@@ -15561,7 +15567,7 @@ const ep = (e) => ({
|
|
|
15561
15567
|
default:
|
|
15562
15568
|
return Or.Info;
|
|
15563
15569
|
}
|
|
15564
|
-
},
|
|
15570
|
+
}, pp = (e) => e.flatMap((t) => {
|
|
15565
15571
|
switch (t) {
|
|
15566
15572
|
case he.DiagnosticTag.Unnecessary:
|
|
15567
15573
|
return [To.Unnecessary];
|
|
@@ -15570,7 +15576,7 @@ const ep = (e) => ({
|
|
|
15570
15576
|
default:
|
|
15571
15577
|
return [];
|
|
15572
15578
|
}
|
|
15573
|
-
}),
|
|
15579
|
+
}), _p = {
|
|
15574
15580
|
relatedInformation: !1,
|
|
15575
15581
|
codeDescriptionSupport: !1,
|
|
15576
15582
|
versionSupport: !1,
|
|
@@ -15578,45 +15584,45 @@ const ep = (e) => ({
|
|
|
15578
15584
|
tagSupport: {
|
|
15579
15585
|
valueSet: [he.DiagnosticTag.Unnecessary, he.DiagnosticTag.Deprecated]
|
|
15580
15586
|
}
|
|
15581
|
-
},
|
|
15587
|
+
}, gp = (e) => {
|
|
15582
15588
|
const t = (f) => {
|
|
15583
15589
|
let l;
|
|
15584
15590
|
return f.code && (typeof f.code == "number" ? l = `${f.code}` : l = f.code), {
|
|
15585
15591
|
code: l,
|
|
15586
|
-
severity:
|
|
15592
|
+
severity: fp(
|
|
15587
15593
|
f.severity ?? he.DiagnosticSeverity.Information
|
|
15588
15594
|
),
|
|
15589
15595
|
message: f.message,
|
|
15590
15596
|
source: f.source,
|
|
15591
|
-
tags:
|
|
15597
|
+
tags: pp(f.tags ?? []),
|
|
15592
15598
|
...El(f.range)
|
|
15593
15599
|
};
|
|
15594
15600
|
};
|
|
15595
15601
|
return e.map(t);
|
|
15596
|
-
},
|
|
15602
|
+
}, vp = {
|
|
15597
15603
|
dynamicRegistration: !1,
|
|
15598
15604
|
willSave: !1,
|
|
15599
15605
|
willSaveWaitUntil: !1
|
|
15600
|
-
},
|
|
15601
|
-
range:
|
|
15606
|
+
}, mp = (e) => ({
|
|
15607
|
+
range: rp(e.range),
|
|
15602
15608
|
text: e.text
|
|
15603
|
-
}),
|
|
15609
|
+
}), Sp = (e) => ({
|
|
15604
15610
|
textDocument: {
|
|
15605
15611
|
...wo(e),
|
|
15606
15612
|
languageId: e.getLanguageId(),
|
|
15607
15613
|
version: e.getVersionId(),
|
|
15608
15614
|
text: e.getValue()
|
|
15609
15615
|
}
|
|
15610
|
-
}),
|
|
15616
|
+
}), yp = (e, t) => ({
|
|
15611
15617
|
textDocument: {
|
|
15612
15618
|
...wo(e),
|
|
15613
15619
|
version: t.versionId
|
|
15614
15620
|
},
|
|
15615
|
-
contentChanges: t.changes.map(
|
|
15616
|
-
}),
|
|
15621
|
+
contentChanges: t.changes.map(mp)
|
|
15622
|
+
}), bp = {
|
|
15617
15623
|
dynamicRegistration: !1,
|
|
15618
15624
|
contentFormat: ["markdown", "plaintext"]
|
|
15619
|
-
},
|
|
15625
|
+
}, Cp = (e, t) => Eo(e, t), wp = (e) => {
|
|
15620
15626
|
const t = (l) => {
|
|
15621
15627
|
let u;
|
|
15622
15628
|
return typeof l == "string" ? u = l : u = `\`\`\`${l.language}
|
|
@@ -15642,7 +15648,7 @@ ${l.value}
|
|
|
15642
15648
|
};
|
|
15643
15649
|
} else
|
|
15644
15650
|
throw Error(`Got invalid hover result: ${JSON.stringify(e)}`);
|
|
15645
|
-
},
|
|
15651
|
+
}, Ep = {
|
|
15646
15652
|
dynamicRegistration: !1,
|
|
15647
15653
|
contextSupport: !0,
|
|
15648
15654
|
signatureInformation: {
|
|
@@ -15651,7 +15657,7 @@ ${l.value}
|
|
|
15651
15657
|
labelOffsetSupport: !0
|
|
15652
15658
|
}
|
|
15653
15659
|
}
|
|
15654
|
-
},
|
|
15660
|
+
}, kp = (e) => {
|
|
15655
15661
|
switch (e) {
|
|
15656
15662
|
case Ue.SignatureHelpTriggerKind.Invoke:
|
|
15657
15663
|
return he.SignatureHelpTriggerKind.Invoked;
|
|
@@ -15662,27 +15668,27 @@ ${l.value}
|
|
|
15662
15668
|
default:
|
|
15663
15669
|
return he.SignatureHelpTriggerKind.Invoked;
|
|
15664
15670
|
}
|
|
15665
|
-
},
|
|
15666
|
-
triggerKind:
|
|
15671
|
+
}, Rp = (e) => ({
|
|
15672
|
+
triggerKind: kp(e.triggerKind),
|
|
15667
15673
|
triggerCharacter: e.triggerCharacter,
|
|
15668
15674
|
isRetrigger: e.isRetrigger
|
|
15669
|
-
}),
|
|
15675
|
+
}), Pp = (e) => ({
|
|
15670
15676
|
label: e.label,
|
|
15671
15677
|
...e.documentation ? { documentation: ti(e.documentation) } : {}
|
|
15672
|
-
}),
|
|
15678
|
+
}), Dp = (e) => ({
|
|
15673
15679
|
label: e.label,
|
|
15674
15680
|
...e.documentation ? { documentation: ti(e.documentation) } : {},
|
|
15675
|
-
parameters: e.parameters ? e.parameters.map(
|
|
15681
|
+
parameters: e.parameters ? e.parameters.map(Pp) : [],
|
|
15676
15682
|
activeParameter: e.activeParameter
|
|
15677
|
-
}),
|
|
15678
|
-
signatures: e.signatures.map(
|
|
15683
|
+
}), Lp = (e) => ({
|
|
15684
|
+
signatures: e.signatures.map(Dp),
|
|
15679
15685
|
activeSignature: e.activeSignature ?? 0,
|
|
15680
15686
|
activeParameter: e.activeParameter ?? 0
|
|
15681
|
-
}),
|
|
15687
|
+
}), Tp = (e, t, f) => ({
|
|
15682
15688
|
...Eo(e, t),
|
|
15683
|
-
context:
|
|
15684
|
-
}),
|
|
15685
|
-
value:
|
|
15689
|
+
context: Rp(f)
|
|
15690
|
+
}), Mp = (e) => ({
|
|
15691
|
+
value: Lp(e),
|
|
15686
15692
|
dispose: () => {
|
|
15687
15693
|
}
|
|
15688
15694
|
});
|
|
@@ -15737,11 +15743,11 @@ class ko {
|
|
|
15737
15743
|
processId: null,
|
|
15738
15744
|
capabilities: {
|
|
15739
15745
|
textDocument: {
|
|
15740
|
-
hover:
|
|
15741
|
-
completion:
|
|
15742
|
-
publishDiagnostics:
|
|
15743
|
-
signatureHelp:
|
|
15744
|
-
synchronization:
|
|
15746
|
+
hover: bp,
|
|
15747
|
+
completion: cp,
|
|
15748
|
+
publishDiagnostics: _p,
|
|
15749
|
+
signatureHelp: Ep,
|
|
15750
|
+
synchronization: vp
|
|
15745
15751
|
},
|
|
15746
15752
|
workspace: {
|
|
15747
15753
|
configuration: !1,
|
|
@@ -15765,11 +15771,11 @@ class ko {
|
|
|
15765
15771
|
syncDocument() {
|
|
15766
15772
|
this._connection.sendNotification(
|
|
15767
15773
|
he.DidOpenTextDocumentNotification.type,
|
|
15768
|
-
|
|
15774
|
+
Sp(this._editorModel)
|
|
15769
15775
|
), this._editorModel.onDidChangeContent((t) => {
|
|
15770
15776
|
this._onChangeLock = this._connection.sendNotification(
|
|
15771
15777
|
he.DidChangeTextDocumentNotification.type,
|
|
15772
|
-
|
|
15778
|
+
yp(this._editorModel, t)
|
|
15773
15779
|
);
|
|
15774
15780
|
});
|
|
15775
15781
|
}
|
|
@@ -15782,9 +15788,9 @@ class ko {
|
|
|
15782
15788
|
await this._onChangeLock;
|
|
15783
15789
|
const l = await this._connection.sendRequest(
|
|
15784
15790
|
he.HoverRequest.type,
|
|
15785
|
-
|
|
15791
|
+
Cp(t, f)
|
|
15786
15792
|
);
|
|
15787
|
-
return l === null ? null :
|
|
15793
|
+
return l === null ? null : wp(l);
|
|
15788
15794
|
}
|
|
15789
15795
|
});
|
|
15790
15796
|
}
|
|
@@ -15798,16 +15804,16 @@ class ko {
|
|
|
15798
15804
|
await this._onChangeLock;
|
|
15799
15805
|
const v = await this._connection.sendRequest(
|
|
15800
15806
|
he.CompletionRequest.type,
|
|
15801
|
-
|
|
15807
|
+
lp(f, l, u)
|
|
15802
15808
|
);
|
|
15803
|
-
return v === null ? null :
|
|
15809
|
+
return v === null ? null : up(v, f, l);
|
|
15804
15810
|
},
|
|
15805
15811
|
resolveCompletionItem: async (f) => {
|
|
15806
15812
|
const l = await this._connection.sendRequest(
|
|
15807
15813
|
he.CompletionResolveRequest.type,
|
|
15808
|
-
|
|
15814
|
+
hp(f)
|
|
15809
15815
|
);
|
|
15810
|
-
return
|
|
15816
|
+
return dp(l, f.range);
|
|
15811
15817
|
}
|
|
15812
15818
|
});
|
|
15813
15819
|
}
|
|
@@ -15822,9 +15828,9 @@ class ko {
|
|
|
15822
15828
|
await this._onChangeLock;
|
|
15823
15829
|
const m = await this._connection.sendRequest(
|
|
15824
15830
|
he.SignatureHelpRequest.type,
|
|
15825
|
-
|
|
15831
|
+
Tp(f, l, v)
|
|
15826
15832
|
);
|
|
15827
|
-
return m === null ? null :
|
|
15833
|
+
return m === null ? null : Mp(m);
|
|
15828
15834
|
}
|
|
15829
15835
|
});
|
|
15830
15836
|
}
|
|
@@ -15835,16 +15841,16 @@ class ko {
|
|
|
15835
15841
|
this._connection.onNotification(
|
|
15836
15842
|
he.PublishDiagnosticsNotification.type,
|
|
15837
15843
|
(t) => {
|
|
15838
|
-
|
|
15844
|
+
Vl.setModelMarkers(
|
|
15839
15845
|
this._editorModel,
|
|
15840
15846
|
"lsp-diagnostics",
|
|
15841
|
-
|
|
15847
|
+
gp(t.diagnostics)
|
|
15842
15848
|
);
|
|
15843
15849
|
}
|
|
15844
15850
|
);
|
|
15845
15851
|
}
|
|
15846
15852
|
}
|
|
15847
|
-
class
|
|
15853
|
+
class Ap extends he.AbstractMessageReader {
|
|
15848
15854
|
constructor() {
|
|
15849
15855
|
super();
|
|
15850
15856
|
tt(this, "messageCache", []);
|
|
@@ -15874,7 +15880,7 @@ class Mp extends he.AbstractMessageReader {
|
|
|
15874
15880
|
this.messageCache.push(f);
|
|
15875
15881
|
}
|
|
15876
15882
|
}
|
|
15877
|
-
class
|
|
15883
|
+
class Ip extends he.AbstractMessageWriter {
|
|
15878
15884
|
// eslint-disable-next-line class-methods-use-this -- required for the interface
|
|
15879
15885
|
async write(t) {
|
|
15880
15886
|
await Nt().sendToService("sendLanguageServerMessage", [
|
|
@@ -15943,7 +15949,7 @@ const rr = class rr {
|
|
|
15943
15949
|
};
|
|
15944
15950
|
tt(rr, "instance");
|
|
15945
15951
|
let Gi = rr;
|
|
15946
|
-
const
|
|
15952
|
+
const Op = {
|
|
15947
15953
|
sendToService(e, t) {
|
|
15948
15954
|
return Gi.getInstance().sendToService(e, t);
|
|
15949
15955
|
},
|
|
@@ -15963,8 +15969,8 @@ const Ip = {
|
|
|
15963
15969
|
if (t.status === "RUNNING")
|
|
15964
15970
|
return ko.create(
|
|
15965
15971
|
e,
|
|
15966
|
-
new
|
|
15967
|
-
new
|
|
15972
|
+
new Ap(),
|
|
15973
|
+
new Ip()
|
|
15968
15974
|
);
|
|
15969
15975
|
throw Error(t.message ?? "Starting the language server failed");
|
|
15970
15976
|
},
|
|
@@ -15980,21 +15986,21 @@ const Ip = {
|
|
|
15980
15986
|
getAiDisclaimer() {
|
|
15981
15987
|
return this.sendToService("getAiDisclaimer");
|
|
15982
15988
|
}
|
|
15983
|
-
}, Nt = () =>
|
|
15989
|
+
}, Nt = () => Op, jg = () => {
|
|
15984
15990
|
Nt().registerEventHandler("console", pl.write);
|
|
15985
|
-
},
|
|
15991
|
+
}, xp = {
|
|
15986
15992
|
key: 0,
|
|
15987
15993
|
class: "output-table"
|
|
15988
|
-
},
|
|
15994
|
+
}, Bp = { class: "output-table-preview" }, Np = { class: "preview-background" }, Hp = {
|
|
15989
15995
|
key: 0,
|
|
15990
15996
|
class: "preview-warning-text"
|
|
15991
|
-
},
|
|
15997
|
+
}, Fp = {
|
|
15992
15998
|
key: 1,
|
|
15993
15999
|
class: "preview-warning-text"
|
|
15994
|
-
},
|
|
16000
|
+
}, qp = {
|
|
15995
16001
|
key: 1,
|
|
15996
16002
|
class: "output-table-preview pre-evaluation-sign"
|
|
15997
|
-
},
|
|
16003
|
+
}, jp = /* @__PURE__ */ Oe({
|
|
15998
16004
|
__name: "OutputTablePreview",
|
|
15999
16005
|
emits: ["output-table-updated"],
|
|
16000
16006
|
setup(e, { emit: t }) {
|
|
@@ -16071,10 +16077,10 @@ const Ip = {
|
|
|
16071
16077
|
await h(d), v.value = !0, m.value = { ...g }, r("output-table-updated");
|
|
16072
16078
|
}
|
|
16073
16079
|
);
|
|
16074
|
-
}), (n, d) => v.value === !0 && l.value !== null ? (Q(), ne("div",
|
|
16075
|
-
ee("div",
|
|
16076
|
-
ee("div",
|
|
16077
|
-
m.value.numberOfRows != m.value.totalNumberOfRows ? (Q(), ne("div",
|
|
16080
|
+
}), (n, d) => v.value === !0 && l.value !== null ? (Q(), ne("div", xp, [
|
|
16081
|
+
ee("div", Bp, [
|
|
16082
|
+
ee("div", Np, [
|
|
16083
|
+
m.value.numberOfRows != m.value.totalNumberOfRows ? (Q(), ne("div", Hp, " Preview computed on first " + qe(m.value.numberOfRows) + " " + qe(m.value.numberOfRows === 1 ? "row" : "rows") + " of " + qe(m.value.totalNumberOfRows) + " " + qe(m.value.totalNumberOfRows === 1 ? "row" : "rows"), 1)) : (Q(), ne("div", Fp, " Preview computed on all rows. "))
|
|
16078
16084
|
]),
|
|
16079
16085
|
fe(J(fl), {
|
|
16080
16086
|
"api-layer": c,
|
|
@@ -16083,9 +16089,9 @@ const Ip = {
|
|
|
16083
16089
|
"shadow-app-style": { height: "100%", width: "100%" }
|
|
16084
16090
|
}, null, 8, ["extension-config", "resource-location"])
|
|
16085
16091
|
])
|
|
16086
|
-
])) : (Q(), ne("div",
|
|
16092
|
+
])) : (Q(), ne("div", qp, " To see the preview, evaluate the expression using the button above. "));
|
|
16087
16093
|
}
|
|
16088
|
-
}),
|
|
16094
|
+
}), Wg = /* @__PURE__ */ Be(jp, [["__scopeId", "data-v-83035ffa"]]), ws = {
|
|
16089
16095
|
name: "splitpanes",
|
|
16090
16096
|
emits: ["ready", "resize", "resized", "pane-click", "pane-maximize", "pane-add", "pane-remove", "splitter-click"],
|
|
16091
16097
|
props: {
|
|
@@ -16347,7 +16353,7 @@ const Ip = {
|
|
|
16347
16353
|
this.container = this.$refs.container, this.checkSplitpanesNodes(), this.redoSplitters(), this.resetPaneSizes(), this.$emit("ready"), this.ready = !0;
|
|
16348
16354
|
},
|
|
16349
16355
|
render() {
|
|
16350
|
-
return
|
|
16356
|
+
return Bl(
|
|
16351
16357
|
"div",
|
|
16352
16358
|
{
|
|
16353
16359
|
ref: "container",
|
|
@@ -16362,12 +16368,12 @@ const Ip = {
|
|
|
16362
16368
|
this.$slots.default()
|
|
16363
16369
|
);
|
|
16364
16370
|
}
|
|
16365
|
-
},
|
|
16371
|
+
}, Wp = (e, t) => {
|
|
16366
16372
|
const f = e.__vccOpts || e;
|
|
16367
16373
|
for (const [l, u] of t)
|
|
16368
16374
|
f[l] = u;
|
|
16369
16375
|
return f;
|
|
16370
|
-
},
|
|
16376
|
+
}, zp = {
|
|
16371
16377
|
name: "pane",
|
|
16372
16378
|
inject: ["requestUpdate", "onPaneAdd", "onPaneRemove", "onPaneClick"],
|
|
16373
16379
|
props: {
|
|
@@ -16412,7 +16418,7 @@ const Ip = {
|
|
|
16412
16418
|
}
|
|
16413
16419
|
}
|
|
16414
16420
|
};
|
|
16415
|
-
function
|
|
16421
|
+
function Up(e, t, f, l, u, v) {
|
|
16416
16422
|
return Q(), ne("div", {
|
|
16417
16423
|
class: "splitpanes__pane",
|
|
16418
16424
|
onClick: t[0] || (t[0] = (m) => v.onPaneClick(m, e._.uid)),
|
|
@@ -16421,13 +16427,13 @@ function zp(e, t, f, l, u, v) {
|
|
|
16421
16427
|
We(e.$slots, "default")
|
|
16422
16428
|
], 4);
|
|
16423
16429
|
}
|
|
16424
|
-
const fr = /* @__PURE__ */
|
|
16430
|
+
const fr = /* @__PURE__ */ Wp(zp, [["render", Up]]), $p = 576, Vp = 992, Kp = 400, Ur = ue("small");
|
|
16425
16431
|
Oc.getInstance().then((e) => {
|
|
16426
16432
|
Ur.value = e.getInitialDisplayMode(), e.addOnDisplayModeChangeCallback(({ mode: t }) => {
|
|
16427
16433
|
Ur.value = t;
|
|
16428
16434
|
});
|
|
16429
16435
|
});
|
|
16430
|
-
const
|
|
16436
|
+
const Gp = ({
|
|
16431
16437
|
initialPaneSizes: e,
|
|
16432
16438
|
rightPaneMinimumWidthInPixel: t,
|
|
16433
16439
|
rightPaneLayout: f,
|
|
@@ -16443,11 +16449,11 @@ const Kp = ({
|
|
|
16443
16449
|
right: e.right,
|
|
16444
16450
|
bottom: e.bottom
|
|
16445
16451
|
}), r = ve(
|
|
16446
|
-
() => Ur.value === "small" || l.width.value <= Up
|
|
16447
|
-
), i = ve(
|
|
16448
16452
|
() => Ur.value === "small" || l.width.value <= $p
|
|
16453
|
+
), i = ve(
|
|
16454
|
+
() => Ur.value === "small" || l.width.value <= Vp
|
|
16449
16455
|
), s = ve(
|
|
16450
|
-
() => Ur.value === "small" || u.width.value >
|
|
16456
|
+
() => Ur.value === "small" || u.width.value > Kp
|
|
16451
16457
|
), c = ve(
|
|
16452
16458
|
() => t / (l.width.value * (100 - v.left) / 100) * 100
|
|
16453
16459
|
), h = ve(() => r.value ? {
|
|
@@ -16540,47 +16546,47 @@ const Kp = ({
|
|
|
16540
16546
|
};
|
|
16541
16547
|
tt(ir, "instance");
|
|
16542
16548
|
let oo = ir;
|
|
16543
|
-
const Ji = () => oo.getInstance(),
|
|
16544
|
-
getInitialData: () =>
|
|
16545
|
-
}, Tr = () =>
|
|
16546
|
-
getSettings: () =>
|
|
16549
|
+
const Ji = () => oo.getInstance(), Jp = Ji().getInitialDataAndSettings().then((e) => e.initialData), Xp = {
|
|
16550
|
+
getInitialData: () => Jp
|
|
16551
|
+
}, Tr = () => Xp, Yp = ue(!1), Zp = Ji().getInitialDataAndSettings().then((e) => (Yp.value = !0, e.settings)), Qp = {
|
|
16552
|
+
getSettings: () => Zp,
|
|
16547
16553
|
registerSettingsGetterForApply: (e) => Ji().registerApplyListener(e),
|
|
16548
16554
|
registerSettings: (e) => Ji().registerSettings(e)
|
|
16549
|
-
}, Li = () =>
|
|
16555
|
+
}, Li = () => Qp, e_ = {
|
|
16550
16556
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16551
16557
|
fill: "none",
|
|
16552
16558
|
stroke: "#000",
|
|
16553
16559
|
"stroke-linejoin": "round",
|
|
16554
16560
|
viewBox: "0 0 32 32"
|
|
16555
16561
|
};
|
|
16556
|
-
function
|
|
16557
|
-
return Q(), ne("svg",
|
|
16562
|
+
function t_(e, t) {
|
|
16563
|
+
return Q(), ne("svg", e_, t[0] || (t[0] = [
|
|
16558
16564
|
ee("path", { d: "m19.632 19.85-.08.202-.203.08-3.482 1.368 3.482 1.368.203.08.08.203L21 26.633l1.368-3.482.08-.203.203-.08 3.482-1.368-3.482-1.368-.203-.08-.08-.203L21 16.368z" }, null, -1),
|
|
16559
16565
|
ee("path", { d: "M3.5 17v13h26V4h-13" }, null, -1),
|
|
16560
16566
|
ee("path", { d: "m8.232 8.402-.078.252-.252.078L2.191 10.5l5.711 1.768.252.078.078.252L10 18.309l1.768-5.711.078-.252.252-.078 5.711-1.768-5.711-1.768-.252-.078-.078-.252L10 2.691z" }, null, -1)
|
|
16561
16567
|
]));
|
|
16562
16568
|
}
|
|
16563
|
-
const
|
|
16569
|
+
const r_ = { render: t_ }, i_ = {
|
|
16564
16570
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16565
16571
|
fill: "none",
|
|
16566
16572
|
stroke: "#000",
|
|
16567
16573
|
"stroke-linejoin": "round",
|
|
16568
16574
|
viewBox: "0 0 32 32"
|
|
16569
16575
|
};
|
|
16570
|
-
function
|
|
16571
|
-
return Q(), ne("svg",
|
|
16576
|
+
function s_(e, t) {
|
|
16577
|
+
return Q(), ne("svg", i_, t[0] || (t[0] = [
|
|
16572
16578
|
ee("path", { d: "M4.9 5.183 27 26.917M26.817 5 5.083 27.1" }, null, -1)
|
|
16573
16579
|
]));
|
|
16574
16580
|
}
|
|
16575
|
-
const
|
|
16581
|
+
const n_ = { render: s_ }, o_ = {
|
|
16576
16582
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16577
16583
|
fill: "none",
|
|
16578
16584
|
stroke: "#000",
|
|
16579
16585
|
"stroke-linejoin": "round",
|
|
16580
16586
|
viewBox: "0 0 32 32"
|
|
16581
16587
|
};
|
|
16582
|
-
function
|
|
16583
|
-
return Q(), ne("svg",
|
|
16588
|
+
function a_(e, t) {
|
|
16589
|
+
return Q(), ne("svg", o_, t[0] || (t[0] = [
|
|
16584
16590
|
ee("circle", {
|
|
16585
16591
|
cx: "16",
|
|
16586
16592
|
cy: "16",
|
|
@@ -16593,23 +16599,23 @@ function o_(e, t) {
|
|
|
16593
16599
|
}, null, -1)
|
|
16594
16600
|
]));
|
|
16595
16601
|
}
|
|
16596
|
-
const Tc = { render:
|
|
16602
|
+
const Tc = { render: a_ }, c_ = {
|
|
16597
16603
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16598
16604
|
fill: "none",
|
|
16599
16605
|
stroke: "#000",
|
|
16600
16606
|
"stroke-linejoin": "round",
|
|
16601
16607
|
viewBox: "0 0 32 32"
|
|
16602
16608
|
};
|
|
16603
|
-
function
|
|
16604
|
-
return Q(), ne("svg",
|
|
16609
|
+
function l_(e, t) {
|
|
16610
|
+
return Q(), ne("svg", c_, t[0] || (t[0] = [
|
|
16605
16611
|
ee("path", { d: "M2.5 14.393 29.5 2.5l-11.663 27-5.926-9.408zm9.387 5.72L24.524 7.476" }, null, -1)
|
|
16606
16612
|
]));
|
|
16607
16613
|
}
|
|
16608
|
-
const
|
|
16609
|
-
function
|
|
16610
|
-
return Q(), ne("div",
|
|
16614
|
+
const u_ = { render: l_ }, h_ = {}, d_ = { class: "infinity-loading" };
|
|
16615
|
+
function f_(e, t) {
|
|
16616
|
+
return Q(), ne("div", d_);
|
|
16611
16617
|
}
|
|
16612
|
-
const kl = /* @__PURE__ */ Be(
|
|
16618
|
+
const kl = /* @__PURE__ */ Be(h_, [["render", f_], ["__scopeId", "data-v-8742e2de"]]), p_ = { class: "disclaimer-container" }, __ = { class: "disclaimer-box" }, g_ = { class: "content" }, v_ = { class: "disclaimer-button-container" }, m_ = { key: 1 }, S_ = /* @__PURE__ */ Oe({
|
|
16613
16619
|
__name: "AiDisclaimer",
|
|
16614
16620
|
emits: ["accept-disclaimer"],
|
|
16615
16621
|
setup(e, { emit: t }) {
|
|
@@ -16618,13 +16624,13 @@ const kl = /* @__PURE__ */ Be(u_, [["render", d_], ["__scopeId", "data-v-8742e2d
|
|
|
16618
16624
|
f.value = await Nt().getAiDisclaimer();
|
|
16619
16625
|
});
|
|
16620
16626
|
const l = t;
|
|
16621
|
-
return (u, v) => (Q(), ne("div",
|
|
16627
|
+
return (u, v) => (Q(), ne("div", p_, [
|
|
16622
16628
|
f.value ? (Q(), ne(sr, { key: 0 }, [
|
|
16623
|
-
ee("div",
|
|
16629
|
+
ee("div", __, [
|
|
16624
16630
|
v[1] || (v[1] = ee("p", { style: { "font-weight": "bold" } }, "Disclaimer", -1)),
|
|
16625
|
-
ee("p",
|
|
16631
|
+
ee("p", g_, qe(f.value), 1)
|
|
16626
16632
|
]),
|
|
16627
|
-
ee("div",
|
|
16633
|
+
ee("div", v_, [
|
|
16628
16634
|
fe(J(ri), {
|
|
16629
16635
|
compact: "",
|
|
16630
16636
|
primary: "",
|
|
@@ -16639,19 +16645,19 @@ const kl = /* @__PURE__ */ Be(u_, [["render", d_], ["__scopeId", "data-v-8742e2d
|
|
|
16639
16645
|
__: [2]
|
|
16640
16646
|
})
|
|
16641
16647
|
])
|
|
16642
|
-
], 64)) : (Q(), ne("div",
|
|
16648
|
+
], 64)) : (Q(), ne("div", m_, [
|
|
16643
16649
|
fe(kl)
|
|
16644
16650
|
]))
|
|
16645
16651
|
]));
|
|
16646
16652
|
}
|
|
16647
|
-
}),
|
|
16653
|
+
}), y_ = /* @__PURE__ */ Be(S_, [["__scopeId", "data-v-8497e928"]]), b_ = {
|
|
16648
16654
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16649
16655
|
fill: "none",
|
|
16650
16656
|
stroke: "#000",
|
|
16651
16657
|
viewBox: "0 0 32 32"
|
|
16652
16658
|
};
|
|
16653
|
-
function
|
|
16654
|
-
return Q(), ne("svg",
|
|
16659
|
+
function C_(e, t) {
|
|
16660
|
+
return Q(), ne("svg", b_, t[0] || (t[0] = [
|
|
16655
16661
|
ee("path", {
|
|
16656
16662
|
"stroke-linejoin": "round",
|
|
16657
16663
|
d: "M15.267 26.055H4.445V6.175h10.822"
|
|
@@ -16666,11 +16672,11 @@ function b_(e, t) {
|
|
|
16666
16672
|
}, null, -1)
|
|
16667
16673
|
]));
|
|
16668
16674
|
}
|
|
16669
|
-
const
|
|
16675
|
+
const w_ = { render: C_ }, E_ = { class: "suggestion-container" }, k_ = { class: "accept-decline-buttons" }, R_ = /* @__PURE__ */ Oe({
|
|
16670
16676
|
__name: "AiSuggestion",
|
|
16671
16677
|
emits: ["accept-suggestion"],
|
|
16672
16678
|
setup(e, { emit: t }) {
|
|
16673
|
-
const f = t, l = ue(), u =
|
|
16679
|
+
const f = t, l = ue(), u = Gd.useDiffEditor({
|
|
16674
16680
|
container: l,
|
|
16675
16681
|
originalModel: Oi.value.editorModel,
|
|
16676
16682
|
modifiedFileName: "ai-suggestion"
|
|
@@ -16688,20 +16694,20 @@ const C_ = { render: b_ }, w_ = { class: "suggestion-container" }, E_ = { class:
|
|
|
16688
16694
|
const m = () => {
|
|
16689
16695
|
f("accept-suggestion", u.modifiedText.value);
|
|
16690
16696
|
};
|
|
16691
|
-
return (r, i) => (Q(), ne("div",
|
|
16697
|
+
return (r, i) => (Q(), ne("div", E_, [
|
|
16692
16698
|
ee("div", {
|
|
16693
16699
|
ref_key: "diffEditorContainer",
|
|
16694
16700
|
ref: l,
|
|
16695
16701
|
class: "diff-editor"
|
|
16696
16702
|
}, null, 512),
|
|
16697
|
-
ee("div",
|
|
16703
|
+
ee("div", k_, [
|
|
16698
16704
|
fe(J(ri), {
|
|
16699
16705
|
"with-border": "",
|
|
16700
16706
|
compact: "",
|
|
16701
16707
|
onClick: m
|
|
16702
16708
|
}, {
|
|
16703
16709
|
default: Se(() => [
|
|
16704
|
-
fe(J(
|
|
16710
|
+
fe(J(w_)),
|
|
16705
16711
|
i[0] || (i[0] = jt(" Insert "))
|
|
16706
16712
|
]),
|
|
16707
16713
|
_: 1,
|
|
@@ -16710,22 +16716,22 @@ const C_ = { render: b_ }, w_ = { class: "suggestion-container" }, E_ = { class:
|
|
|
16710
16716
|
])
|
|
16711
16717
|
]));
|
|
16712
16718
|
}
|
|
16713
|
-
}),
|
|
16719
|
+
}), P_ = /* @__PURE__ */ Be(R_, [["__scopeId", "data-v-fadc461b"]]), D_ = { class: "popup-content" }, L_ = { class: "notification-bar" }, T_ = { class: "notification-bar" }, M_ = { class: "notification-bar" }, A_ = {
|
|
16714
16720
|
key: 0,
|
|
16715
16721
|
class: "prompt-bar"
|
|
16716
|
-
},
|
|
16722
|
+
}, I_ = { class: "chat-controls-text-input" }, O_ = ["disabled"], x_ = { class: "chat-controls-buttons" }, B_ = {
|
|
16717
16723
|
key: 1,
|
|
16718
16724
|
class: "error-message"
|
|
16719
|
-
},
|
|
16725
|
+
}, N_ = { class: "error-text" }, H_ = {
|
|
16720
16726
|
key: 2,
|
|
16721
16727
|
class: "error-message"
|
|
16722
|
-
},
|
|
16723
|
-
...
|
|
16728
|
+
}, F_ = {}, q_ = /* @__PURE__ */ Oe({
|
|
16729
|
+
...F_,
|
|
16724
16730
|
__name: "AiPopupContent",
|
|
16725
16731
|
emits: ["request-close"],
|
|
16726
16732
|
setup(e, { emit: t }) {
|
|
16727
16733
|
var w;
|
|
16728
|
-
const { textarea: f, input: l } =
|
|
16734
|
+
const { textarea: f, input: l } = hu({
|
|
16729
16735
|
// Note that useTextareaAutosize does not set the size correctly if the
|
|
16730
16736
|
// textarea has a border and "box-sizing: border-box". This is a workaround
|
|
16731
16737
|
// to take the border into account
|
|
@@ -16765,7 +16771,7 @@ const C_ = { render: b_ }, w_ = { class: "suggestion-container" }, E_ = { class:
|
|
|
16765
16771
|
}, g = (E) => {
|
|
16766
16772
|
E.key === "Enter" && !E.shiftKey && (E.preventDefault(), m.value !== "waiting" && d()), E.key === "ArrowUp" && !l.value && (l.value = i.length ? i[i.length - 1].content : "");
|
|
16767
16773
|
}, y = (E) => {
|
|
16768
|
-
i.push(r), m.value = "idle", Oi.value.text.value = E,
|
|
16774
|
+
i.push(r), m.value = "idle", Oi.value.text.value = E, Jd(), u("request-close");
|
|
16769
16775
|
};
|
|
16770
16776
|
Xe(async () => {
|
|
16771
16777
|
const [E, C, k] = await Promise.all([
|
|
@@ -16787,13 +16793,13 @@ const C_ = { render: b_ }, w_ = { class: "suggestion-container" }, E_ = { class:
|
|
|
16787
16793
|
return Tr().getInitialData().then((E) => {
|
|
16788
16794
|
const C = E.kAiConfig.hubId;
|
|
16789
16795
|
C !== null && (b.value = C);
|
|
16790
|
-
}), (E, C) => (Q(), ne("div",
|
|
16791
|
-
dt(ee("div",
|
|
16796
|
+
}), (E, C) => (Q(), ne("div", D_, [
|
|
16797
|
+
dt(ee("div", L_, C[3] || (C[3] = [
|
|
16792
16798
|
ee("span", { class: "notification" }, " K-AI has been disabled. ", -1)
|
|
16793
16799
|
]), 512), [
|
|
16794
16800
|
[Bt, m.value === "newlyDisabled"]
|
|
16795
16801
|
]),
|
|
16796
|
-
dt(ee("div",
|
|
16802
|
+
dt(ee("div", T_, [
|
|
16797
16803
|
C[4] || (C[4] = ee("span", { class: "notification" }, [
|
|
16798
16804
|
jt(" To start generating code with our AI assistant, please log into your "),
|
|
16799
16805
|
ee("i", null, "KNIME Hub"),
|
|
@@ -16813,7 +16819,7 @@ const C_ = { render: b_ }, w_ = { class: "suggestion-container" }, E_ = { class:
|
|
|
16813
16819
|
], 512), [
|
|
16814
16820
|
[Bt, m.value === "unauthorized"]
|
|
16815
16821
|
]),
|
|
16816
|
-
dt(ee("div",
|
|
16822
|
+
dt(ee("div", M_, C[5] || (C[5] = [
|
|
16817
16823
|
ee("span", { class: "notification" }, " Script is overwritten by a flow variable. ", -1)
|
|
16818
16824
|
]), 512), [
|
|
16819
16825
|
[Bt, m.value === "readonly"]
|
|
@@ -16821,7 +16827,7 @@ const C_ = { render: b_ }, w_ = { class: "suggestion-container" }, E_ = { class:
|
|
|
16821
16827
|
dt(ee("div", null, [
|
|
16822
16828
|
fe(hs, { name: "disclaimer-slide-fade" }, {
|
|
16823
16829
|
default: Se(() => [
|
|
16824
|
-
J(Hr) ? (Q(), Ae(
|
|
16830
|
+
J(Hr) ? (Q(), Ae(y_, {
|
|
16825
16831
|
key: 0,
|
|
16826
16832
|
onAcceptDisclaimer: C[1] || (C[1] = (k) => Hr.value = !1)
|
|
16827
16833
|
})) : Ie("", !0)
|
|
@@ -16830,7 +16836,7 @@ const C_ = { render: b_ }, w_ = { class: "suggestion-container" }, E_ = { class:
|
|
|
16830
16836
|
}),
|
|
16831
16837
|
fe(hs, { name: "slide-fade" }, {
|
|
16832
16838
|
default: Se(() => [
|
|
16833
|
-
J(v).promptResponse ? (Q(), Ae(
|
|
16839
|
+
J(v).promptResponse ? (Q(), Ae(P_, {
|
|
16834
16840
|
key: 0,
|
|
16835
16841
|
class: "ai-suggestion",
|
|
16836
16842
|
onAcceptSuggestion: y
|
|
@@ -16843,12 +16849,12 @@ const C_ = { render: b_ }, w_ = { class: "suggestion-container" }, E_ = { class:
|
|
|
16843
16849
|
}, [
|
|
16844
16850
|
fe(hs, { name: "slide-fade" }, {
|
|
16845
16851
|
default: Se(() => [
|
|
16846
|
-
J(v).promptResponse ? (Q(), ne("div",
|
|
16852
|
+
J(v).promptResponse ? (Q(), ne("div", A_, qe(J(v).promptResponse.message.content), 1)) : Ie("", !0)
|
|
16847
16853
|
]),
|
|
16848
16854
|
_: 1
|
|
16849
16855
|
}),
|
|
16850
16856
|
m.value === "waiting" ? (Q(), Ae(kl, { key: 0 })) : Ie("", !0),
|
|
16851
|
-
ee("div",
|
|
16857
|
+
ee("div", I_, [
|
|
16852
16858
|
dt(ee("textarea", {
|
|
16853
16859
|
ref_key: "textarea",
|
|
16854
16860
|
ref: f,
|
|
@@ -16858,10 +16864,10 @@ const C_ = { render: b_ }, w_ = { class: "suggestion-container" }, E_ = { class:
|
|
|
16858
16864
|
placeholder: "Describe your task",
|
|
16859
16865
|
wrap: "soft",
|
|
16860
16866
|
onKeydown: g
|
|
16861
|
-
}, null, 40,
|
|
16862
|
-
[
|
|
16867
|
+
}, null, 40, O_), [
|
|
16868
|
+
[Nl, J(l)]
|
|
16863
16869
|
]),
|
|
16864
|
-
ee("div",
|
|
16870
|
+
ee("div", x_, [
|
|
16865
16871
|
m.value === "error" || m.value === "idle" ? (Q(), Ae(J(Lo), {
|
|
16866
16872
|
key: 0,
|
|
16867
16873
|
ref: "sendButton",
|
|
@@ -16872,7 +16878,7 @@ const C_ = { render: b_ }, w_ = { class: "suggestion-container" }, E_ = { class:
|
|
|
16872
16878
|
onClick: d
|
|
16873
16879
|
}, {
|
|
16874
16880
|
default: Se(() => [
|
|
16875
|
-
fe(J(
|
|
16881
|
+
fe(J(u_), { class: "icon" })
|
|
16876
16882
|
]),
|
|
16877
16883
|
_: 1
|
|
16878
16884
|
}, 8, ["disabled"])) : Ie("", !0),
|
|
@@ -16884,17 +16890,17 @@ const C_ = { render: b_ }, w_ = { class: "suggestion-container" }, E_ = { class:
|
|
|
16884
16890
|
onClick: c
|
|
16885
16891
|
}, {
|
|
16886
16892
|
default: Se(() => [
|
|
16887
|
-
fe(J(
|
|
16893
|
+
fe(J(n_), { class: "icon" })
|
|
16888
16894
|
]),
|
|
16889
16895
|
_: 1
|
|
16890
16896
|
}, 512)) : Ie("", !0)
|
|
16891
16897
|
])
|
|
16892
16898
|
]),
|
|
16893
|
-
m.value === "error" ? (Q(), ne("div",
|
|
16899
|
+
m.value === "error" ? (Q(), ne("div", B_, [
|
|
16894
16900
|
fe(J(Tc), { class: "error-icon" }),
|
|
16895
|
-
ee("span",
|
|
16901
|
+
ee("span", N_, qe(h.value), 1)
|
|
16896
16902
|
])) : Ie("", !0),
|
|
16897
|
-
S.value ? (Q(), ne("div",
|
|
16903
|
+
S.value ? (Q(), ne("div", H_, [
|
|
16898
16904
|
fe(J(Tc), { class: "error-icon" }),
|
|
16899
16905
|
ee("span", { class: "error-text" }, ' "The prompt is too long. Please shorten it to ' + qe(_) + ' characters or less." ')
|
|
16900
16906
|
])) : Ie("", !0)
|
|
@@ -16907,8 +16913,8 @@ const C_ = { render: b_ }, w_ = { class: "suggestion-container" }, E_ = { class:
|
|
|
16907
16913
|
])
|
|
16908
16914
|
]));
|
|
16909
16915
|
}
|
|
16910
|
-
}),
|
|
16911
|
-
...
|
|
16916
|
+
}), j_ = /* @__PURE__ */ Be(q_, [["__scopeId", "data-v-0e0ef208"]]), W_ = { class: "button-container" }, z_ = { class: "popup-anchor" }, U_ = {}, $_ = /* @__PURE__ */ Oe({
|
|
16917
|
+
...U_,
|
|
16912
16918
|
__name: "AiButton",
|
|
16913
16919
|
props: {
|
|
16914
16920
|
currentPaneSizes: {},
|
|
@@ -16924,7 +16930,7 @@ const C_ = { render: b_ }, w_ = { class: "suggestion-container" }, E_ = { class:
|
|
|
16924
16930
|
const s = [
|
|
16925
16931
|
...document.querySelectorAll(".splitpanes__splitter")
|
|
16926
16932
|
];
|
|
16927
|
-
|
|
16933
|
+
nu(
|
|
16928
16934
|
u,
|
|
16929
16935
|
() => {
|
|
16930
16936
|
t.value = !1;
|
|
@@ -16936,8 +16942,8 @@ const C_ = { render: b_ }, w_ = { class: "suggestion-container" }, E_ = { class:
|
|
|
16936
16942
|
);
|
|
16937
16943
|
return Xe(() => {
|
|
16938
16944
|
r();
|
|
16939
|
-
}), (s, c) => (Q(), ne("div",
|
|
16940
|
-
ee("div",
|
|
16945
|
+
}), (s, c) => (Q(), ne("div", W_, [
|
|
16946
|
+
ee("div", z_, [
|
|
16941
16947
|
t.value ? (Q(), ne("div", {
|
|
16942
16948
|
key: 0,
|
|
16943
16949
|
ref_key: "aiBarPopupRef",
|
|
@@ -16948,7 +16954,7 @@ const C_ = { render: b_ }, w_ = { class: "suggestion-container" }, E_ = { class:
|
|
|
16948
16954
|
"--left-splitter-position": `${i.value}vw`
|
|
16949
16955
|
})
|
|
16950
16956
|
}, [
|
|
16951
|
-
fe(
|
|
16957
|
+
fe(j_, {
|
|
16952
16958
|
onRequestClose: c[0] || (c[0] = (h) => t.value = !1)
|
|
16953
16959
|
}),
|
|
16954
16960
|
c[2] || (c[2] = ee("div", { class: "arrow" }, null, -1))
|
|
@@ -16968,14 +16974,14 @@ const C_ = { render: b_ }, w_ = { class: "suggestion-container" }, E_ = { class:
|
|
|
16968
16974
|
onClick: c[1] || (c[1] = (h) => t.value = !t.value)
|
|
16969
16975
|
}, {
|
|
16970
16976
|
default: Se(() => [
|
|
16971
|
-
fe(J(
|
|
16977
|
+
fe(J(r_), { viewBox: "0 0 32 32" }),
|
|
16972
16978
|
jt(" " + qe(s.showButtonText ? "Ask K-AI" : ""), 1)
|
|
16973
16979
|
]),
|
|
16974
16980
|
_: 1
|
|
16975
16981
|
}, 8, ["disabled", "class"])) : Ie("", !0)
|
|
16976
16982
|
]));
|
|
16977
16983
|
}
|
|
16978
|
-
}),
|
|
16984
|
+
}), V_ = /* @__PURE__ */ Be($_, [["__scopeId", "data-v-b578cf5e"]]), K_ = { class: "controls" }, G_ = { class: "button-controls" }, J_ = /* @__PURE__ */ Oe({
|
|
16979
16985
|
__name: "CodeEditorControlBar",
|
|
16980
16986
|
props: {
|
|
16981
16987
|
currentPaneSizes: {
|
|
@@ -16989,33 +16995,33 @@ const C_ = { render: b_ }, w_ = { class: "suggestion-container" }, E_ = { class:
|
|
|
16989
16995
|
},
|
|
16990
16996
|
setup(e) {
|
|
16991
16997
|
const t = e;
|
|
16992
|
-
return (f, l) => (Q(), ne("div",
|
|
16993
|
-
fe(
|
|
16998
|
+
return (f, l) => (Q(), ne("div", K_, [
|
|
16999
|
+
fe(V_, {
|
|
16994
17000
|
"current-pane-sizes": t.currentPaneSizes,
|
|
16995
17001
|
"show-button-text": e.showButtonText
|
|
16996
17002
|
}, null, 8, ["current-pane-sizes", "show-button-text"]),
|
|
16997
|
-
ee("div",
|
|
17003
|
+
ee("div", G_, [
|
|
16998
17004
|
We(f.$slots, "controls", {}, void 0, !0)
|
|
16999
17005
|
])
|
|
17000
17006
|
]));
|
|
17001
17007
|
}
|
|
17002
|
-
}),
|
|
17008
|
+
}), X_ = /* @__PURE__ */ Be(J_, [["__scopeId", "data-v-7ab3671a"]]), Y_ = {
|
|
17003
17009
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17004
17010
|
fill: "none",
|
|
17005
17011
|
stroke: "#000",
|
|
17006
17012
|
"stroke-linecap": "round",
|
|
17007
17013
|
viewBox: "0 0 32 32"
|
|
17008
17014
|
};
|
|
17009
|
-
function
|
|
17010
|
-
return Q(), ne("svg",
|
|
17015
|
+
function Z_(e, t) {
|
|
17016
|
+
return Q(), ne("svg", Y_, t[0] || (t[0] = [
|
|
17011
17017
|
ee("line", { transform: "matrix(3 0 0 3 16 8)" }, null, -1),
|
|
17012
17018
|
ee("line", { transform: "matrix(3 0 0 3 16 16)" }, null, -1),
|
|
17013
17019
|
ee("line", { transform: "matrix(3 0 0 3 16 24)" }, null, -1)
|
|
17014
17020
|
]));
|
|
17015
17021
|
}
|
|
17016
|
-
const
|
|
17022
|
+
const Q_ = { render: Z_ }, eg = Oe({
|
|
17017
17023
|
name: "HeaderBar",
|
|
17018
|
-
components: { SubMenu:
|
|
17024
|
+
components: { SubMenu: Ul, MenuIcon: Q_ },
|
|
17019
17025
|
props: {
|
|
17020
17026
|
title: {
|
|
17021
17027
|
type: String,
|
|
@@ -17037,15 +17043,15 @@ const Z_ = { render: Y_ }, Q_ = Oe({
|
|
|
17037
17043
|
this.$emit("menu-item-click", { event: e, item: t });
|
|
17038
17044
|
}
|
|
17039
17045
|
}
|
|
17040
|
-
}),
|
|
17046
|
+
}), tg = { class: "container" }, rg = { class: "title" }, ig = {
|
|
17041
17047
|
key: 0,
|
|
17042
17048
|
class: "menu"
|
|
17043
17049
|
};
|
|
17044
|
-
function
|
|
17050
|
+
function sg(e, t, f, l, u, v) {
|
|
17045
17051
|
const m = Ro("MenuIcon"), r = Ro("SubMenu");
|
|
17046
|
-
return Q(), ne("div",
|
|
17047
|
-
ee("div",
|
|
17048
|
-
e.hasMenu ? (Q(), ne("div",
|
|
17052
|
+
return Q(), ne("div", tg, [
|
|
17053
|
+
ee("div", rg, qe(e.title), 1),
|
|
17054
|
+
e.hasMenu ? (Q(), ne("div", ig, [
|
|
17049
17055
|
fe(r, {
|
|
17050
17056
|
items: e.menuItems,
|
|
17051
17057
|
onItemClick: e.menuItemClicked
|
|
@@ -17058,7 +17064,7 @@ function ig(e, t, f, l, u, v) {
|
|
|
17058
17064
|
])) : Ie("", !0)
|
|
17059
17065
|
]);
|
|
17060
17066
|
}
|
|
17061
|
-
const
|
|
17067
|
+
const ng = /* @__PURE__ */ Be(eg, [["render", sg], ["__scopeId", "data-v-6a45038d"]]), og = { class: "editor-container" }, ag = /* @__PURE__ */ Oe({
|
|
17062
17068
|
__name: "MainEditorPane",
|
|
17063
17069
|
props: {
|
|
17064
17070
|
showControlBar: { type: Boolean },
|
|
@@ -17070,7 +17076,7 @@ const sg = /* @__PURE__ */ Be(Q_, [["render", ig], ["__scopeId", "data-v-6a45038
|
|
|
17070
17076
|
modelOrView: {}
|
|
17071
17077
|
},
|
|
17072
17078
|
setup(e) {
|
|
17073
|
-
const t = e, f = ue(), l =
|
|
17079
|
+
const t = e, f = ue(), l = Kd({
|
|
17074
17080
|
container: f,
|
|
17075
17081
|
fileName: t.fileName,
|
|
17076
17082
|
language: t.language
|
|
@@ -17105,7 +17111,7 @@ const sg = /* @__PURE__ */ Be(Q_, [["render", ig], ["__scopeId", "data-v-6a45038
|
|
|
17105
17111
|
(navigator.userAgent.toLowerCase().includes("mac") ? u.metaKey : u.ctrlKey) && ((m = l.editor.value) == null || m.trigger("window", "undo", {}));
|
|
17106
17112
|
}), Li().registerSettingsGetterForApply(
|
|
17107
17113
|
() => t.toSettings({ script: l.text.value ?? "" })
|
|
17108
|
-
), (u, v) => (Q(), ne("div",
|
|
17114
|
+
), (u, v) => (Q(), ne("div", og, [
|
|
17109
17115
|
ee("div", {
|
|
17110
17116
|
ref_key: "editorRef",
|
|
17111
17117
|
ref: f,
|
|
@@ -17114,7 +17120,7 @@ const sg = /* @__PURE__ */ Be(Q_, [["render", ig], ["__scopeId", "data-v-6a45038
|
|
|
17114
17120
|
}, null, 544)
|
|
17115
17121
|
]));
|
|
17116
17122
|
}
|
|
17117
|
-
}),
|
|
17123
|
+
}), cg = { class: "port-table" }, lg = { key: 1 }, ug = /* @__PURE__ */ Oe({
|
|
17118
17124
|
__name: "InputPortTableView",
|
|
17119
17125
|
props: {
|
|
17120
17126
|
inputNodeId: {},
|
|
@@ -17205,17 +17211,17 @@ const sg = /* @__PURE__ */ Be(Q_, [["render", ig], ["__scopeId", "data-v-6a45038
|
|
|
17205
17211
|
viewIdx: t.viewIdx
|
|
17206
17212
|
});
|
|
17207
17213
|
}), f.value = !1;
|
|
17208
|
-
}), (i, s) => (Q(), ne("div",
|
|
17214
|
+
}), (i, s) => (Q(), ne("div", cg, [
|
|
17209
17215
|
f.value ? (Q(), Ae(J(fl), {
|
|
17210
17216
|
key: 0,
|
|
17211
17217
|
"api-layer": r,
|
|
17212
17218
|
"extension-config": l.value,
|
|
17213
17219
|
"resource-location": u.value,
|
|
17214
17220
|
"shadow-app-style": { height: "100%", width: "100%", overflowX: "scroll" }
|
|
17215
|
-
}, null, 8, ["extension-config", "resource-location"])) : (Q(), ne("div",
|
|
17221
|
+
}, null, 8, ["extension-config", "resource-location"])) : (Q(), ne("div", lg, "No data available"))
|
|
17216
17222
|
]));
|
|
17217
17223
|
}
|
|
17218
|
-
}),
|
|
17224
|
+
}), hg = /* @__PURE__ */ Be(ug, [["__scopeId", "data-v-ce4e7cd0"]]), dg = { style: { height: "100%", width: "100%" } }, fg = { class: "view-value-switch" }, pg = /* @__PURE__ */ Oe({
|
|
17219
17225
|
__name: "InputPortTables",
|
|
17220
17226
|
props: {
|
|
17221
17227
|
inputNodeId: {},
|
|
@@ -17234,9 +17240,9 @@ const sg = /* @__PURE__ */ Be(Q_, [["render", ig], ["__scopeId", "data-v-6a45038
|
|
|
17234
17240
|
return (v = t.portViewConfigs.find((m) => m.label === l.value)) == null ? void 0 : v.portViewIdx;
|
|
17235
17241
|
}
|
|
17236
17242
|
);
|
|
17237
|
-
return (v, m) => (Q(), ne("div",
|
|
17238
|
-
ee("div",
|
|
17239
|
-
fe(J(
|
|
17243
|
+
return (v, m) => (Q(), ne("div", dg, [
|
|
17244
|
+
ee("div", fg, [
|
|
17245
|
+
fe(J($l), {
|
|
17240
17246
|
modelValue: l.value,
|
|
17241
17247
|
"onUpdate:modelValue": m[0] || (m[0] = (r) => l.value = r),
|
|
17242
17248
|
name: `port-view-config-selector-${t.portIdx}`,
|
|
@@ -17244,7 +17250,7 @@ const sg = /* @__PURE__ */ Be(Q_, [["render", ig], ["__scopeId", "data-v-6a45038
|
|
|
17244
17250
|
"possible-values": f.value
|
|
17245
17251
|
}, null, 8, ["modelValue", "name", "possible-values"])
|
|
17246
17252
|
]),
|
|
17247
|
-
u.value ? (Q(), Ae(
|
|
17253
|
+
u.value ? (Q(), Ae(hg, {
|
|
17248
17254
|
key: 0,
|
|
17249
17255
|
"input-node-id": t.inputNodeId,
|
|
17250
17256
|
"port-idx": t.portIdx,
|
|
@@ -17252,9 +17258,9 @@ const sg = /* @__PURE__ */ Be(Q_, [["render", ig], ["__scopeId", "data-v-6a45038
|
|
|
17252
17258
|
}, null, 8, ["input-node-id", "port-idx", "view-idx"])) : Ie("", !0)
|
|
17253
17259
|
]));
|
|
17254
17260
|
}
|
|
17255
|
-
}),
|
|
17261
|
+
}), _g = /* @__PURE__ */ Be(pg, [["__scopeId", "data-v-ad87bfef"]]), gg = { class: "scripting-editor-bottom-pane" }, vg = { class: "tab-bar-and-buttons" }, mg = { class: "tab-bar-buttons" }, Sg = /* @__PURE__ */ Oe({
|
|
17256
17262
|
__name: "ScriptingEditorBottomPane",
|
|
17257
|
-
props: /* @__PURE__ */
|
|
17263
|
+
props: /* @__PURE__ */ Hl({
|
|
17258
17264
|
slottedTabs: { default: () => [] }
|
|
17259
17265
|
}, {
|
|
17260
17266
|
modelValue: {},
|
|
@@ -17262,7 +17268,7 @@ const sg = /* @__PURE__ */ Be(Q_, [["render", ig], ["__scopeId", "data-v-6a45038
|
|
|
17262
17268
|
}),
|
|
17263
17269
|
emits: ["update:modelValue"],
|
|
17264
17270
|
setup(e) {
|
|
17265
|
-
const t = Zi(), f = e, l = (c, h) => `bottomPaneTabSlot:${c}-${h}`, u = (c) => l(c.nodeId, c.portIdx), v =
|
|
17271
|
+
const t = Zi(), f = e, l = (c, h) => `bottomPaneTabSlot:${c}-${h}`, u = (c) => l(c.nodeId, c.portIdx), v = Fl(e, "modelValue"), m = (c) => () => {
|
|
17266
17272
|
v.value = c;
|
|
17267
17273
|
}, r = Mi(
|
|
17268
17274
|
async () => {
|
|
@@ -17285,15 +17291,15 @@ const sg = /* @__PURE__ */ Be(Q_, [["render", ig], ["__scopeId", "data-v-6a45038
|
|
|
17285
17291
|
label: c.label
|
|
17286
17292
|
})
|
|
17287
17293
|
));
|
|
17288
|
-
return (c, h) => (Q(), ne("div",
|
|
17289
|
-
ee("span",
|
|
17290
|
-
fe(
|
|
17294
|
+
return (c, h) => (Q(), ne("div", gg, [
|
|
17295
|
+
ee("span", vg, [
|
|
17296
|
+
fe(_u, {
|
|
17291
17297
|
modelValue: v.value,
|
|
17292
17298
|
"onUpdate:modelValue": h[0] || (h[0] = (n) => v.value = n),
|
|
17293
17299
|
class: Ge(["scripting-editor-tab-bar", { "focus-painted": J(t) }]),
|
|
17294
17300
|
"possible-values": s.value
|
|
17295
17301
|
}, null, 8, ["modelValue", "possible-values", "class"]),
|
|
17296
|
-
ee("span",
|
|
17302
|
+
ee("span", mg, [
|
|
17297
17303
|
We(c.$slots, "status-label", {}, void 0, !0),
|
|
17298
17304
|
(Q(!0), ne(sr, null, nr(f.slottedTabs, (n) => dt((Q(), ne("div", {
|
|
17299
17305
|
key: n.value
|
|
@@ -17304,7 +17310,7 @@ const sg = /* @__PURE__ */ Be(Q_, [["render", ig], ["__scopeId", "data-v-6a45038
|
|
|
17304
17310
|
])), 128))
|
|
17305
17311
|
])
|
|
17306
17312
|
]),
|
|
17307
|
-
(Q(!0), ne(sr, null, nr(J(r).inputPorts, (n) => dt((Q(), Ae(
|
|
17313
|
+
(Q(!0), ne(sr, null, nr(J(r).inputPorts, (n) => dt((Q(), Ae(_g, {
|
|
17308
17314
|
key: n.portName,
|
|
17309
17315
|
"input-node-id": n.nodeId,
|
|
17310
17316
|
"port-idx": n.portIdx,
|
|
@@ -17324,33 +17330,33 @@ const sg = /* @__PURE__ */ Be(Q_, [["render", ig], ["__scopeId", "data-v-6a45038
|
|
|
17324
17330
|
])), 128))
|
|
17325
17331
|
]));
|
|
17326
17332
|
}
|
|
17327
|
-
}),
|
|
17333
|
+
}), yg = /* @__PURE__ */ Be(Sg, [["__scopeId", "data-v-006cb00f"]]), bg = {
|
|
17328
17334
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17329
17335
|
fill: "none",
|
|
17330
17336
|
stroke: "#000",
|
|
17331
17337
|
"stroke-linejoin": "round",
|
|
17332
17338
|
viewBox: "0 0 32 32"
|
|
17333
17339
|
};
|
|
17334
|
-
function
|
|
17335
|
-
return Q(), ne("svg",
|
|
17340
|
+
function Cg(e, t) {
|
|
17341
|
+
return Q(), ne("svg", bg, t[0] || (t[0] = [
|
|
17336
17342
|
ee("path", { d: "m14.9 27-11-11 11-11m-11 11h24.2" }, null, -1)
|
|
17337
17343
|
]));
|
|
17338
17344
|
}
|
|
17339
|
-
const
|
|
17345
|
+
const wg = { render: Cg }, Eg = { class: "settings-title" }, kg = { class: "arrow-left" }, Rg = { class: "settings-content" }, Pg = /* @__PURE__ */ Oe({
|
|
17340
17346
|
__name: "SettingsPage",
|
|
17341
17347
|
emits: ["close-settings-page"],
|
|
17342
17348
|
setup(e, { emit: t }) {
|
|
17343
17349
|
const f = t;
|
|
17344
17350
|
return (l, u) => (Q(), ne(sr, null, [
|
|
17345
|
-
ee("div",
|
|
17351
|
+
ee("div", Eg, [
|
|
17346
17352
|
fe(J(ri), {
|
|
17347
17353
|
class: "back-button",
|
|
17348
17354
|
"with-border": !1,
|
|
17349
17355
|
onClick: u[0] || (u[0] = (v) => f("close-settings-page"))
|
|
17350
17356
|
}, {
|
|
17351
17357
|
default: Se(() => [
|
|
17352
|
-
ee("div",
|
|
17353
|
-
fe(J(
|
|
17358
|
+
ee("div", kg, [
|
|
17359
|
+
fe(J(wg))
|
|
17354
17360
|
])
|
|
17355
17361
|
]),
|
|
17356
17362
|
_: 1
|
|
@@ -17359,15 +17365,15 @@ const Cg = { render: bg }, wg = { class: "settings-title" }, Eg = { class: "arro
|
|
|
17359
17365
|
We(l.$slots, "settings-title", {}, void 0, !0)
|
|
17360
17366
|
])
|
|
17361
17367
|
]),
|
|
17362
|
-
ee("div",
|
|
17368
|
+
ee("div", Rg, [
|
|
17363
17369
|
We(l.$slots, "settings-content", {}, void 0, !0)
|
|
17364
17370
|
])
|
|
17365
17371
|
], 64));
|
|
17366
17372
|
}
|
|
17367
|
-
}),
|
|
17373
|
+
}), Dg = /* @__PURE__ */ Be(Pg, [["__scopeId", "data-v-1037c6a3"]]), Lg = { class: "layout" }, Tg = { class: "editor-and-control-bar" }, Mg = {
|
|
17368
17374
|
key: 0,
|
|
17369
17375
|
class: "editor-slot-container"
|
|
17370
|
-
},
|
|
17376
|
+
}, Ag = { class: "run-button-panel" }, Ig = /* @__PURE__ */ Oe({
|
|
17371
17377
|
__name: "ScriptingEditor",
|
|
17372
17378
|
props: {
|
|
17373
17379
|
title: { default: null },
|
|
@@ -17408,7 +17414,7 @@ const Cg = { render: bg }, wg = { class: "settings-title" }, Eg = { class: "arro
|
|
|
17408
17414
|
usedHorizontalCodeEditorPaneSize: E,
|
|
17409
17415
|
usedMainPaneSize: C,
|
|
17410
17416
|
usedVerticalCodeEditorPaneSize: k
|
|
17411
|
-
} =
|
|
17417
|
+
} = Gp({
|
|
17412
17418
|
initialPaneSizes: l.initialPaneSizes,
|
|
17413
17419
|
rightPaneMinimumWidthInPixel: l.rightPaneMinimumWidthInPixel,
|
|
17414
17420
|
rightPaneLayout: l.rightPaneLayout,
|
|
@@ -17432,14 +17438,14 @@ const Cg = { render: bg }, wg = { class: "settings-title" }, Eg = { class: "arro
|
|
|
17432
17438
|
return F.outputObjects && z.push(...F.outputObjects), z;
|
|
17433
17439
|
}
|
|
17434
17440
|
}, []);
|
|
17435
|
-
return (F, z) => (Q(), ne("div",
|
|
17436
|
-
!J(a) && F.title !== null ? (Q(), Ae(
|
|
17441
|
+
return (F, z) => (Q(), ne("div", Lg, [
|
|
17442
|
+
!J(a) && F.title !== null ? (Q(), Ae(ng, {
|
|
17437
17443
|
key: 0,
|
|
17438
17444
|
title: F.title,
|
|
17439
17445
|
"menu-items": [...f, ...F.menuItems],
|
|
17440
17446
|
onMenuItemClick: R
|
|
17441
17447
|
}, null, 8, ["title", "menu-items"])) : Ie("", !0),
|
|
17442
|
-
A.value ? (Q(), Ae(
|
|
17448
|
+
A.value ? (Q(), Ae(Dg, {
|
|
17443
17449
|
key: 1,
|
|
17444
17450
|
onCloseSettingsPage: z[0] || (z[0] = (K) => A.value = !1)
|
|
17445
17451
|
}, {
|
|
@@ -17478,7 +17484,7 @@ const Cg = { render: bg }, wg = { class: "settings-title" }, Eg = { class: "arro
|
|
|
17478
17484
|
}, {
|
|
17479
17485
|
default: Se(() => [
|
|
17480
17486
|
We(F.$slots, "left-pane", {}, () => [
|
|
17481
|
-
fe(
|
|
17487
|
+
fe(Zd, {
|
|
17482
17488
|
"input-output-items": J(j),
|
|
17483
17489
|
onDropEventHandlerCreated: M
|
|
17484
17490
|
}, null, 8, ["input-output-items"])
|
|
@@ -17532,15 +17538,15 @@ const Cg = { render: bg }, wg = { class: "settings-title" }, Eg = { class: "arro
|
|
|
17532
17538
|
"min-size": "25"
|
|
17533
17539
|
}, {
|
|
17534
17540
|
default: Se(() => [
|
|
17535
|
-
ee("div",
|
|
17541
|
+
ee("div", Tg, [
|
|
17536
17542
|
ee("div", {
|
|
17537
17543
|
class: Ge(["multi-editor-container", {
|
|
17538
17544
|
"has-control-bar": B.value
|
|
17539
17545
|
}])
|
|
17540
17546
|
}, [
|
|
17541
|
-
F.$slots.editor ? (Q(), ne("div",
|
|
17547
|
+
F.$slots.editor ? (Q(), ne("div", Mg, [
|
|
17542
17548
|
We(F.$slots, "editor", {}, void 0, !0)
|
|
17543
|
-
])) : (Q(), Ae(
|
|
17549
|
+
])) : (Q(), Ae(ag, {
|
|
17544
17550
|
key: 1,
|
|
17545
17551
|
"file-name": l.fileName,
|
|
17546
17552
|
language: l.language,
|
|
@@ -17549,8 +17555,8 @@ const Cg = { render: bg }, wg = { class: "settings-title" }, Eg = { class: "arro
|
|
|
17549
17555
|
"to-settings": l.toSettings,
|
|
17550
17556
|
"model-or-view": l.modelOrView
|
|
17551
17557
|
}, null, 8, ["file-name", "language", "show-control-bar", "drop-event-handler", "to-settings", "model-or-view"])),
|
|
17552
|
-
ee("div",
|
|
17553
|
-
B.value ? (Q(), Ae(
|
|
17558
|
+
ee("div", Ag, [
|
|
17559
|
+
B.value ? (Q(), Ae(X_, {
|
|
17554
17560
|
key: 0,
|
|
17555
17561
|
"current-pane-sizes": J(y),
|
|
17556
17562
|
"show-button-text": J(o)
|
|
@@ -17589,7 +17595,7 @@ const Cg = { render: bg }, wg = { class: "settings-title" }, Eg = { class: "arro
|
|
|
17589
17595
|
size: J(y).bottom
|
|
17590
17596
|
}, {
|
|
17591
17597
|
default: Se(() => [
|
|
17592
|
-
fe(
|
|
17598
|
+
fe(yg, { "slotted-tabs": F.additionalBottomPaneTabContent }, ql({
|
|
17593
17599
|
"status-label": Se(() => [
|
|
17594
17600
|
We(F.$slots, "bottom-pane-status-label", {}, void 0, !0)
|
|
17595
17601
|
]),
|
|
@@ -17624,26 +17630,26 @@ const Cg = { render: bg }, wg = { class: "settings-title" }, Eg = { class: "arro
|
|
|
17624
17630
|
])
|
|
17625
17631
|
]));
|
|
17626
17632
|
}
|
|
17627
|
-
}),
|
|
17633
|
+
}), zg = /* @__PURE__ */ Be(Ig, [["__scopeId", "data-v-03f93ffa"]]);
|
|
17628
17634
|
export {
|
|
17629
17635
|
Ys as COLUMN_INSERTION_EVENT,
|
|
17630
|
-
|
|
17631
|
-
|
|
17632
|
-
|
|
17633
|
-
|
|
17634
|
-
|
|
17635
|
-
|
|
17636
|
-
|
|
17636
|
+
_u as CompactTabBar,
|
|
17637
|
+
Zd as InputOutputPane,
|
|
17638
|
+
Vp as MIN_WIDTH_FOR_DISPLAYING_LEFT_PANE,
|
|
17639
|
+
$p as MIN_WIDTH_FOR_DISPLAYING_PANES,
|
|
17640
|
+
Fg as OutputConsole,
|
|
17641
|
+
Wg as OutputTablePreview,
|
|
17642
|
+
zg as ScriptingEditor,
|
|
17637
17643
|
pl as consoleHandler,
|
|
17638
17644
|
Ur as displayMode,
|
|
17639
|
-
|
|
17645
|
+
Gd as editor,
|
|
17640
17646
|
Tr as getInitialDataService,
|
|
17641
17647
|
Nt as getScriptingService,
|
|
17642
17648
|
Li as getSettingsService,
|
|
17643
|
-
|
|
17649
|
+
jg as initConsoleEventHandler,
|
|
17644
17650
|
Js as insertionEventHelper,
|
|
17645
|
-
|
|
17646
|
-
|
|
17651
|
+
Xd as setActiveEditorStoreForAi,
|
|
17652
|
+
qg as setConsoleHandler,
|
|
17647
17653
|
Di as useReadonlyStore,
|
|
17648
17654
|
Zi as useShouldFocusBePainted
|
|
17649
17655
|
};
|