@knime/scripting-editor 0.0.149 → 0.0.150
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AnyOfTwinlist-DdcxtAjb-CaN_HwzO.js → AnyOfTwinlist-DdcxtAjb-QRuNcffK.js} +3 -3
- package/dist/{ArrayLayout-Cqct4YS3.js → ArrayLayout-CiNvK2R8.js} +204 -193
- package/dist/ButtonControl-XAPpl7GY.js +116 -0
- package/dist/{CheckboxControl-C99OdmDL-CDrrcyc8.js → CheckboxControl-C99OdmDL-Do7Fm1Hf.js} +12 -12
- package/dist/{CheckboxesControl-BZhMhT9x-DX6Wv2OC.js → CheckboxesControl-BZhMhT9x-Pc8YrIvQ.js} +3 -3
- package/dist/{CodeEditorControl-C0nEU4Bk.js → CodeEditorControl-BZlds1_z.js} +1 -1
- package/dist/{ColorControl-D1dNnNbO-ZnPFuKHS.js → ColorControl-D1dNnNbO-D2ewwNgx.js} +1 -1
- package/dist/{ColorPreviewControl-B4zix2kb-lDW3LcbF.js → ColorPreviewControl-B4zix2kb-C8iUsUfi.js} +10 -10
- package/dist/{ComboBoxControl-BGWAD9IW-CYGoHz_u.js → ComboBoxControl-BGWAD9IW-Dqnlk__Q.js} +2 -2
- package/dist/{ConfigurationNodeNotSupported-D-Rxn0Gi.js → ConfigurationNodeNotSupported-CGclvYAj.js} +6 -6
- package/dist/{ControlWithSubParameters-C3O8tagW.js → ControlWithSubParameters-D_0dvLqM.js} +10 -10
- package/dist/{CredentialsControl-DaEBQpvd.js → CredentialsControl-uYcyYidL.js} +2 -2
- package/dist/{CredentialsControlBase-BivCOrno.js → CredentialsControlBase-u4DXxRC0.js} +7 -7
- package/dist/{DateControl-D0HfVrtz-9eE4B_fe.js → DateControl-D0HfVrtz-Bt1CkhVc.js} +3 -3
- package/dist/{DateTimeControl-kTQZI9JC-DmnFBKmN.js → DateTimeControl-kTQZI9JC-DT157PDM.js} +3 -3
- package/dist/{DateTimeFormatPickerControl-BiYcsKSn-xVSLrwBl.js → DateTimeFormatPickerControl-BiYcsKSn-CMda9u5J.js} +5 -5
- package/dist/{DirtyTrackerRenderer-DMDmrGOs.js → DirtyTrackerRenderer-BePhAn76.js} +3 -3
- package/dist/{DropdownControl-jsayV3N5-8v3EQUz3.js → DropdownControl-jsayV3N5-Dsha5hge.js} +3 -3
- package/dist/{ExecutorCoresControl-DNo2SaC6-BoEm-W4r.js → ExecutorCoresControl-DNo2SaC6-BkcAA9UN.js} +2 -2
- package/dist/{ExecutorMemoryControl-C8RLYQdd-B8ZEGYAX.js → ExecutorMemoryControl-C8RLYQdd-Cedm5trN.js} +2 -2
- package/dist/{FileChooserControl-DNfgbEr3.js → FileChooserControl-Ct51fY7Z.js} +1 -1
- package/dist/{FileChooserControlBase-BozmAfJW.js → FileChooserControlBase-CGo0zU3e.js} +35 -35
- package/dist/{FileChooserControlForMultiFile-B21mwjMa.js → FileChooserControlForMultiFile-Dh_WXtgn.js} +1 -1
- package/dist/{FileUploadControl-D5QfM3Wa-DXqlNHXY.js → FileUploadControl-D5QfM3Wa-7kqQRO4-.js} +1 -1
- package/dist/FlowVariableButtonWrapper-mLnms8yQ.js +466 -0
- package/dist/FlowVariableSelector-C4IiVzue.js +162 -0
- package/dist/{GridSelectionControl-RKdnWWGk-CqxxipH6.js → GridSelectionControl-RKdnWWGk-naGGUZCh.js} +13 -13
- package/dist/{HorizontalLayout-B_lETfCu-CQVlABjY.js → HorizontalLayout-B_lETfCu-BZK7jH4z.js} +2 -2
- package/dist/{IntegerControl-Cr8SO0xH-DmFardsB.js → IntegerControl-Cr8SO0xH-lclR3djp.js} +2 -2
- package/dist/{IntervalControl-BdjKEwLy-CRGsrkTU.js → IntervalControl-BdjKEwLy-C_LCaU8r.js} +6 -6
- package/dist/{LabeledGroup-BSlRYaIO.js → LabeledGroup-C4WOU_qE.js} +1 -1
- package/dist/{LegacyCredentialsControl-DDppdKDf.js → LegacyCredentialsControl-CuFuBunJ.js} +11 -11
- package/dist/{LinkControl-QMwkCJlj-D7KOgNqO.js → LinkControl-QMwkCJlj-DZRZvKsJ.js} +8 -8
- package/dist/{LoadingDropdown-BpU4Uiin-DDrrGAtm.js → LoadingDropdown-BpU4Uiin-DpT8YNnA.js} +1 -1
- package/dist/{ManualTwinlistControl-5dfnmQZ--BLDAtepu.js → ManualTwinlistControl-5dfnmQZ--9BVHFNRR.js} +5 -5
- package/dist/{MultiFileChooserControl-yLU6lVm6.js → MultiFileChooserControl-Buzeme6N.js} +54 -54
- package/dist/{NameFilter-DzqgrcaF-BHDDEtD7.js → NameFilter-DzqgrcaF-Cl38kTPw.js} +2 -2
- package/dist/{NumberControl-ODy5GAlR-DqeFhQlG.js → NumberControl-ODy5GAlR-IQBNh99B.js} +2 -2
- package/dist/{NumberControlBase-Cl3QcvzB-CLt8mpCC.js → NumberControlBase-Cl3QcvzB-DLl4RMsa.js} +5 -5
- package/dist/{OneOfDropdown-CMPRAraI-D0fD0jJG.js → OneOfDropdown-CMPRAraI-DyOs4qXq.js} +2 -2
- package/dist/{ProgressButtonControl-hlI6JZ-z-iW0cQ79f.js → ProgressButtonControl-hlI6JZ-z-C3y7IOhk.js} +12 -12
- package/dist/{RadioButtonsWithDescriptionControl-DJu3ODo7-BVxmFTjy.js → RadioButtonsWithDescriptionControl-DJu3ODo7-BvOWhYc3.js} +9 -9
- package/dist/{RadioControl-D_NE5s4n-CBhjB07g.js → RadioControl-D_NE5s4n-DQ3orr8G.js} +2 -2
- package/dist/{RadioControlBase-knF86px0-M-iKdCgZ.js → RadioControlBase-knF86px0-CNYDwFjA.js} +3 -3
- package/dist/{ResourceControlBase-BVMVVYns-CCmfdMoZ.js → ResourceControlBase-BVMVVYns-DHo4NA_m.js} +17 -17
- package/dist/{RichTextControl-JIM904_P-Cz7wPLpv.js → RichTextControl-JIM904_P-CCTpWWMW.js} +2717 -2697
- package/dist/{SectionLayout-Ca6XH3w3-C31MJtZ9.js → SectionLayout-Ca6XH3w3-Civ901Ea.js} +3 -3
- package/dist/{SettingsSubPanelLayout-B7QJ7YhZ-BVhurigk.js → SettingsSubPanelLayout-B7QJ7YhZ-Dmgm0Ir9.js} +20 -20
- package/dist/{SimpleTwinlistControl-CQ4tSh0c-D-AFsdOr.js → SimpleTwinlistControl-CQ4tSh0c-Ce_hUVf7.js} +3 -3
- package/dist/{SingleSelectControl-CJV9VMZm-jwZqt2tP.js → SingleSelectControl-CJV9VMZm-Bk8t6TSw.js} +3 -3
- package/dist/{SortListControl-D-ifoRva-VjNJfqzM.js → SortListControl-D-ifoRva-CJZ3kNt9.js} +5 -5
- package/dist/{StringFileChooserControl-BWoTwYp2.js → StringFileChooserControl-HEpT7Ip7.js} +8 -8
- package/dist/{TeamAndSpacesControl-D1FvyeCV-QFi264Nj.js → TeamAndSpacesControl-D1FvyeCV-DnRJHhj4.js} +9 -9
- package/dist/{TeamResourceControl-DyCO6-Nk-DHNrRSMY.js → TeamResourceControl-DyCO6-Nk-BI-LwsIM.js} +2 -2
- package/dist/{TextAreaControl-7QziyTgn-BniXqehe.js → TextAreaControl-7QziyTgn-BtBO7YNu.js} +1 -1
- package/dist/{TimeControl-B29iTlhP-eYfkjPai.js → TimeControl-B29iTlhP-e7HifMYl.js} +3 -3
- package/dist/{TimeframesControl-Wvu--J0V-DhhqpxZS.js → TimeframesControl-Wvu--J0V-BuY4sciw.js} +9 -9
- package/dist/{TwinlistControlBase-CaRdq20R-BspKBwDU.js → TwinlistControlBase-CaRdq20R-Dc80qJgM.js} +3 -3
- package/dist/{TypedStringFilter-B3ZMqGIC-D3eyvWTQ.js → TypedStringFilter-B3ZMqGIC-ByKsSSQ4.js} +2 -2
- package/dist/{ValueSwitchControl-H2t2Wgo6-Dkr6ED74.js → ValueSwitchControl-H2t2Wgo6-CQw22eR0.js} +2 -2
- package/dist/{VennDiagramLayout-rZsnxKb8.js → VennDiagramLayout-BiBLF_be.js} +15 -15
- package/dist/{VerticalLayout-sPAmI_XK-BHSQFbh5.js → VerticalLayout-sPAmI_XK-BZz3aVLy.js} +2 -2
- package/dist/{ZonedDateTimeControl-Co3v2EVv-fcHef5TR.js → ZonedDateTimeControl-Co3v2EVv-mFgzT9ZR.js} +2 -2
- package/dist/{_plugin-vue_export-helper-B3ysoDQm-C4BqYrqY.js → _plugin-vue_export-helper-B3ysoDQm-jCLY2oWQ.js} +1 -1
- package/dist/elementCheckboxRenderer-BTDQ1ITf.js +117 -0
- package/dist/{fileChooserRenderer-CqIzTlME.js → fileChooserRenderer-C9ULvJjo.js} +3 -3
- package/dist/{inject-DEsHVs5q-zP4nUeAa.js → inject-DEsHVs5q-ChUMe45j.js} +1 -1
- package/dist/lib/main.d.ts +5 -3
- package/dist/main.js +764 -692
- package/dist/parameters.js +469 -647
- package/dist/{paths-DH9g52IX.js → paths-daLajhdU.js} +9 -6
- package/dist/{plainDateTimeUtils-5uOCJ4N5-DRHKOepZ.js → plainDateTimeUtils-5uOCJ4N5-3VUpuprJ.js} +2 -2
- package/dist/{rolldown-runtime-Dy4uBu1J-Cwht8A8-.js → rolldown-runtime-Dy4uBu1J-DiUrVT6I.js} +1 -1
- package/dist/settings-service-browser-mock.js +13 -5
- package/dist/src/components/MainEditorPane.vue.d.ts +74 -7
- package/dist/src/components/ScriptingEditor.vue.d.ts +0 -23
- package/dist/src/editor.d.ts +1 -1
- package/dist/src/settings-service-browser-mock.d.ts +3 -4
- package/dist/src/settings-service.d.ts +3 -35
- package/dist/src/store/settings.d.ts +52 -0
- package/dist/src-pw1LRAdm-uu-I1-YX.js +1246 -0
- package/dist/{temporal-polyfill-D4u1I_Z--enRiDjrC.js → temporal-polyfill-D4u1I_Z--B8F1flcx.js} +1 -1
- package/dist/{toKdsPossibleValues-BAEvyJCk-COlZpol8.js → toKdsPossibleValues-BAEvyJCk-Dww9tu-1.js} +1 -1
- package/dist/useArrayIds-CpJmT5_d.js +28 -0
- package/dist/{useBuiltinValidations-B_Drc2y--BIe8Vj_8.js → useBuiltinValidations-B_Drc2y--vtgmNI5H.js} +2 -2
- package/dist/{useDirtySettings-C_JB8Tb9.js → useDirtySettings-DVDbAZgX.js} +1 -1
- package/dist/{useFileChooserBrowseOptions-l1i9z66C.js → useFileChooserBrowseOptions-ClAKTcw1.js} +16 -16
- package/dist/{useFlowVariables-BFaB9PV-.js → useFlowVariables-BPi2ZpWk.js} +8 -8
- package/dist/{usePossibleValues-Cx6iSt_X-BlD7PZcJ.js → usePossibleValues-Cx6iSt_X-Ch5oJkDE.js} +2 -2
- package/dist/{useProvideForFlowVariables-AgNwtMFv.js → useProvideForFlowVariables-Ck3YUR2C.js} +2 -2
- package/dist/{useProvidedState-478_KXOe-KGpEF13j.js → useProvidedState-478_KXOe-Dpb35s5s.js} +2 -2
- package/dist/{useSideDrawerContent-Bl7nrXfr.js → useSideDrawerContent-BKwzHoq0.js} +2 -2
- package/dist/{useUnknownValuesInTwinlist-CHB8kt9t-Bak4ZAxt.js → useUnknownValuesInTwinlist-CHB8kt9t-C4bjDxVB.js} +30 -30
- package/dist/{useUpdates-Binc_B7h.js → useUpdates-Db1ELMwP.js} +60 -60
- package/dist/{utils-DmZLgn8X-D9PS3NK4.js → utils-DmZLgn8X-yDkNNqcu.js} +1 -1
- package/package.json +2 -2
- package/dist/ButtonControl-JfX5cPMH.js +0 -117
- package/dist/ai-bar-DEyz4yf0.js +0 -332
- package/dist/elementCheckboxRenderer-CfYz9-5L.js +0 -214
- package/dist/src-pw1LRAdm-BUOXZfmX.js +0 -1246
- package/dist/useArrayIds-CvcfiogC.js +0 -29
- package/dist/v4-Dd9glBki.js +0 -30
package/dist/parameters.js
CHANGED
|
@@ -1,31 +1,29 @@
|
|
|
1
1
|
import { r as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import {
|
|
4
|
-
import { a as
|
|
5
|
-
import { i as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import {
|
|
15
|
-
import { t as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import
|
|
19
|
-
import {
|
|
20
|
-
import
|
|
21
|
-
import { Fragment as nt, computed as I, createBlock as L, createCommentVNode as R, createElementBlock as z, createElementVNode as B, createTextVNode as rt, createVNode as it, defineAsyncComponent as V, defineComponent as H, h as U, inject as at, mergeProps as ot, nextTick as st, normalizeProps as ct, onMounted as lt, openBlock as W, provide as ut, reactive as dt, ref as G, renderList as ft, renderSlot as pt, resolveDynamicComponent as mt, toDisplayString as ht, unref as K, watchEffect as gt, withCtx as _t, withModifiers as vt } from "vue";
|
|
22
|
-
import { DefaultSettingComparator as yt, JsonDataService as bt, ResourceService as xt } from "@knime/ui-extension-service";
|
|
3
|
+
import { _ as n, a as r, c as i, s as a, t as o, v as s } from "./FlowVariableButtonWrapper-mLnms8yQ.js";
|
|
4
|
+
import { a as c, o as l } from "./useFlowVariables-BPi2ZpWk.js";
|
|
5
|
+
import { i as ee } from "./paths-daLajhdU.js";
|
|
6
|
+
import { n as u } from "./useDirtySettings-DVDbAZgX.js";
|
|
7
|
+
import { Y as d, x as te } from "./dist-iAFUw6uq.js";
|
|
8
|
+
import { a as f, c as p, d as m, f as h, g as ne, h as g, i as _, l as re, m as ie, p as v, r as ae, s as y, u as oe } from "./_toKey-d3bPBoxN.js";
|
|
9
|
+
import { i as b, n as se, r as ce, t as le } from "./set-DhBYVp3B.js";
|
|
10
|
+
import { a as ue, i as de, r as fe, t as pe } from "./useUpdates-Db1ELMwP.js";
|
|
11
|
+
import { n as me } from "./useProvidedState-478_KXOe-Dpb35s5s.js";
|
|
12
|
+
import { C as x, D as S, E as he, h as ge, l as _e, t as ve, x as ye, y as C } from "./jsonforms-vue.esm-B9eODaNM.js";
|
|
13
|
+
import { C as w, D as be, E as xe, O as Se, S as Ce, T as we, _ as Te, a as Ee, b as T, c as E, d as D, f as De, g as O, h as k, i as Oe, k as ke, l as Ae, m as je, n as A, o as j, p as Me, r as M, s as Ne, t as N, u as Pe, v as Fe, w as P, x as F, y as Ie } from "./src-pw1LRAdm-uu-I1-YX.js";
|
|
14
|
+
import { t as Le, u as Re } from "./useArrayIds-CpJmT5_d.js";
|
|
15
|
+
import { t as ze } from "./utils-Cq7tM0Xv.js";
|
|
16
|
+
import { i as Be, n as Ve, o as He } from "./elementCheckboxRenderer-BTDQ1ITf.js";
|
|
17
|
+
import { a as I, i as L, n as Ue, r as We } from "./fileChooserRenderer-C9ULvJjo.js";
|
|
18
|
+
import * as Ge from "vue";
|
|
19
|
+
import { computed as R, createBlock as z, createCommentVNode as Ke, createElementVNode as qe, defineAsyncComponent as B, defineComponent as V, h as H, inject as Je, mergeProps as Ye, nextTick as Xe, normalizeProps as Ze, onMounted as Qe, onUnmounted as $e, openBlock as U, provide as et, reactive as tt, ref as W, renderSlot as nt, resolveDynamicComponent as rt, unref as G, withCtx as it, withModifiers as at } from "vue";
|
|
20
|
+
import { DefaultSettingComparator as ot, JsonDataService as st, ResourceService as ct } from "@knime/ui-extension-service";
|
|
23
21
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js
|
|
24
|
-
var
|
|
22
|
+
var lt = y(g, "WeakMap"), ut = Object.create, dt = function() {
|
|
25
23
|
function e() {}
|
|
26
24
|
return function(t) {
|
|
27
|
-
if (!
|
|
28
|
-
if (
|
|
25
|
+
if (!oe(t)) return {};
|
|
26
|
+
if (ut) return ut(t);
|
|
29
27
|
e.prototype = t;
|
|
30
28
|
var n = new e();
|
|
31
29
|
return e.prototype = void 0, n;
|
|
@@ -33,208 +31,208 @@ var St = h(l, "WeakMap"), Ct = Object.create, wt = function() {
|
|
|
33
31
|
}();
|
|
34
32
|
//#endregion
|
|
35
33
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js
|
|
36
|
-
function
|
|
34
|
+
function ft(e, t) {
|
|
37
35
|
var n = -1, r = e.length;
|
|
38
36
|
for (t ||= Array(r); ++n < r;) t[n] = e[n];
|
|
39
37
|
return t;
|
|
40
38
|
}
|
|
41
39
|
//#endregion
|
|
42
40
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js
|
|
43
|
-
function
|
|
41
|
+
function pt(e, t) {
|
|
44
42
|
for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1;);
|
|
45
43
|
return e;
|
|
46
44
|
}
|
|
47
45
|
//#endregion
|
|
48
46
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js
|
|
49
|
-
function
|
|
47
|
+
function K(e, t, n, r) {
|
|
50
48
|
var i = !n;
|
|
51
49
|
n ||= {};
|
|
52
50
|
for (var a = -1, o = t.length; ++a < o;) {
|
|
53
51
|
var s = t[a], c = r ? r(n[s], e[s], s, n, e) : void 0;
|
|
54
|
-
c === void 0 && (c = e[s]), i ?
|
|
52
|
+
c === void 0 && (c = e[s]), i ? ce(n, s, c) : se(n, s, c);
|
|
55
53
|
}
|
|
56
54
|
return n;
|
|
57
55
|
}
|
|
58
56
|
//#endregion
|
|
59
57
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.js
|
|
60
|
-
var
|
|
61
|
-
function
|
|
62
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <=
|
|
58
|
+
var mt = 9007199254740991;
|
|
59
|
+
function ht(e) {
|
|
60
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= mt;
|
|
63
61
|
}
|
|
64
62
|
//#endregion
|
|
65
63
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js
|
|
66
|
-
function
|
|
67
|
-
return e != null &&
|
|
64
|
+
function gt(e) {
|
|
65
|
+
return e != null && ht(e.length) && !re(e);
|
|
68
66
|
}
|
|
69
67
|
//#endregion
|
|
70
68
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js
|
|
71
|
-
var
|
|
72
|
-
function
|
|
69
|
+
var _t = Object.prototype;
|
|
70
|
+
function vt(e) {
|
|
73
71
|
var t = e && e.constructor;
|
|
74
|
-
return e === (typeof t == "function" && t.prototype ||
|
|
72
|
+
return e === (typeof t == "function" && t.prototype || _t);
|
|
75
73
|
}
|
|
76
74
|
//#endregion
|
|
77
75
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js
|
|
78
|
-
function
|
|
76
|
+
function yt(e, t) {
|
|
79
77
|
for (var n = -1, r = Array(e); ++n < e;) r[n] = t(n);
|
|
80
78
|
return r;
|
|
81
79
|
}
|
|
82
80
|
//#endregion
|
|
83
81
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js
|
|
84
|
-
var
|
|
85
|
-
function
|
|
86
|
-
return
|
|
82
|
+
var bt = "[object Arguments]";
|
|
83
|
+
function xt(e) {
|
|
84
|
+
return h(e) && v(e) == bt;
|
|
87
85
|
}
|
|
88
86
|
//#endregion
|
|
89
87
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js
|
|
90
|
-
var
|
|
88
|
+
var St = Object.prototype, Ct = St.hasOwnProperty, wt = St.propertyIsEnumerable, Tt = xt(function() {
|
|
91
89
|
return arguments;
|
|
92
|
-
}()) ?
|
|
93
|
-
return
|
|
90
|
+
}()) ? xt : function(e) {
|
|
91
|
+
return h(e) && Ct.call(e, "callee") && !wt.call(e, "callee");
|
|
94
92
|
};
|
|
95
93
|
//#endregion
|
|
96
94
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js
|
|
97
|
-
function
|
|
95
|
+
function Et() {
|
|
98
96
|
return !1;
|
|
99
97
|
}
|
|
100
98
|
//#endregion
|
|
101
99
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js
|
|
102
|
-
var
|
|
103
|
-
q[
|
|
104
|
-
function
|
|
105
|
-
return
|
|
100
|
+
var Dt = typeof exports == "object" && exports && !exports.nodeType && exports, Ot = Dt && typeof module == "object" && module && !module.nodeType && module, kt = Ot && Ot.exports === Dt ? g.Buffer : void 0, At = (kt ? kt.isBuffer : void 0) || Et, jt = "[object Arguments]", Mt = "[object Array]", Nt = "[object Boolean]", Pt = "[object Date]", Ft = "[object Error]", It = "[object Function]", Lt = "[object Map]", Rt = "[object Number]", zt = "[object Object]", Bt = "[object RegExp]", Vt = "[object Set]", Ht = "[object String]", Ut = "[object WeakMap]", Wt = "[object ArrayBuffer]", Gt = "[object DataView]", Kt = "[object Float32Array]", qt = "[object Float64Array]", Jt = "[object Int8Array]", Yt = "[object Int16Array]", Xt = "[object Int32Array]", Zt = "[object Uint8Array]", Qt = "[object Uint8ClampedArray]", $t = "[object Uint16Array]", en = "[object Uint32Array]", q = {};
|
|
101
|
+
q[Kt] = q[qt] = q[Jt] = q[Yt] = q[Xt] = q[Zt] = q[Qt] = q[$t] = q[en] = !0, q[jt] = q[Mt] = q[Wt] = q[Nt] = q[Gt] = q[Pt] = q[Ft] = q[It] = q[Lt] = q[Rt] = q[zt] = q[Bt] = q[Vt] = q[Ht] = q[Ut] = !1;
|
|
102
|
+
function tn(e) {
|
|
103
|
+
return h(e) && ht(e.length) && !!q[v(e)];
|
|
106
104
|
}
|
|
107
105
|
//#endregion
|
|
108
106
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js
|
|
109
|
-
function
|
|
107
|
+
function nn(e) {
|
|
110
108
|
return function(t) {
|
|
111
109
|
return e(t);
|
|
112
110
|
};
|
|
113
111
|
}
|
|
114
112
|
//#endregion
|
|
115
113
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js
|
|
116
|
-
var
|
|
114
|
+
var rn = typeof exports == "object" && exports && !exports.nodeType && exports, J = rn && typeof module == "object" && module && !module.nodeType && module, an = J && J.exports === rn && ne.process, Y = function() {
|
|
117
115
|
try {
|
|
118
|
-
return J && J.require && J.require("util").types ||
|
|
116
|
+
return J && J.require && J.require("util").types || an && an.binding && an.binding("util");
|
|
119
117
|
} catch {}
|
|
120
|
-
}(),
|
|
121
|
-
function
|
|
122
|
-
var n =
|
|
123
|
-
for (var
|
|
124
|
-
return
|
|
118
|
+
}(), on = Y && Y.isTypedArray, sn = on ? nn(on) : tn, cn = Object.prototype.hasOwnProperty;
|
|
119
|
+
function ln(e, t) {
|
|
120
|
+
var n = m(e), r = !n && Tt(e), i = !n && !r && At(e), a = !n && !r && !i && sn(e), o = n || r || i || a, s = o ? yt(e.length, String) : [], c = s.length;
|
|
121
|
+
for (var l in e) (t || cn.call(e, l)) && !(o && (l == "length" || i && (l == "offset" || l == "parent") || a && (l == "buffer" || l == "byteLength" || l == "byteOffset") || b(l, c))) && s.push(l);
|
|
122
|
+
return s;
|
|
125
123
|
}
|
|
126
124
|
//#endregion
|
|
127
125
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js
|
|
128
|
-
function
|
|
126
|
+
function un(e, t) {
|
|
129
127
|
return function(n) {
|
|
130
128
|
return e(t(n));
|
|
131
129
|
};
|
|
132
130
|
}
|
|
133
131
|
//#endregion
|
|
134
132
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js
|
|
135
|
-
var
|
|
136
|
-
function
|
|
137
|
-
if (!
|
|
133
|
+
var dn = un(Object.keys, Object), fn = Object.prototype.hasOwnProperty;
|
|
134
|
+
function pn(e) {
|
|
135
|
+
if (!vt(e)) return dn(e);
|
|
138
136
|
var t = [];
|
|
139
|
-
for (var n in Object(e))
|
|
137
|
+
for (var n in Object(e)) fn.call(e, n) && n != "constructor" && t.push(n);
|
|
140
138
|
return t;
|
|
141
139
|
}
|
|
142
140
|
//#endregion
|
|
143
141
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.js
|
|
144
|
-
function
|
|
145
|
-
return
|
|
142
|
+
function mn(e) {
|
|
143
|
+
return gt(e) ? ln(e) : pn(e);
|
|
146
144
|
}
|
|
147
145
|
//#endregion
|
|
148
146
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js
|
|
149
|
-
function
|
|
147
|
+
function hn(e) {
|
|
150
148
|
var t = [];
|
|
151
149
|
if (e != null) for (var n in Object(e)) t.push(n);
|
|
152
150
|
return t;
|
|
153
151
|
}
|
|
154
152
|
//#endregion
|
|
155
153
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js
|
|
156
|
-
var
|
|
157
|
-
function
|
|
158
|
-
if (!
|
|
159
|
-
var t =
|
|
160
|
-
for (var r in e) r == "constructor" && (t || !
|
|
154
|
+
var gn = Object.prototype.hasOwnProperty;
|
|
155
|
+
function _n(e) {
|
|
156
|
+
if (!oe(e)) return hn(e);
|
|
157
|
+
var t = vt(e), n = [];
|
|
158
|
+
for (var r in e) r == "constructor" && (t || !gn.call(e, r)) || n.push(r);
|
|
161
159
|
return n;
|
|
162
160
|
}
|
|
163
161
|
//#endregion
|
|
164
162
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js
|
|
165
|
-
function
|
|
166
|
-
return
|
|
163
|
+
function vn(e) {
|
|
164
|
+
return gt(e) ? ln(e, !0) : _n(e);
|
|
167
165
|
}
|
|
168
166
|
//#endregion
|
|
169
167
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js
|
|
170
|
-
function
|
|
168
|
+
function yn(e, t) {
|
|
171
169
|
for (var n = -1, r = t.length, i = e.length; ++n < r;) e[i + n] = t[n];
|
|
172
170
|
return e;
|
|
173
171
|
}
|
|
174
172
|
//#endregion
|
|
175
173
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js
|
|
176
|
-
var
|
|
174
|
+
var bn = un(Object.getPrototypeOf, Object);
|
|
177
175
|
//#endregion
|
|
178
176
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js
|
|
179
|
-
function
|
|
180
|
-
this.__data__ = new
|
|
177
|
+
function xn() {
|
|
178
|
+
this.__data__ = new f(), this.size = 0;
|
|
181
179
|
}
|
|
182
180
|
//#endregion
|
|
183
181
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js
|
|
184
|
-
function
|
|
182
|
+
function Sn(e) {
|
|
185
183
|
var t = this.__data__, n = t.delete(e);
|
|
186
184
|
return this.size = t.size, n;
|
|
187
185
|
}
|
|
188
186
|
//#endregion
|
|
189
187
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js
|
|
190
|
-
function
|
|
188
|
+
function Cn(e) {
|
|
191
189
|
return this.__data__.get(e);
|
|
192
190
|
}
|
|
193
191
|
//#endregion
|
|
194
192
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js
|
|
195
|
-
function
|
|
193
|
+
function wn(e) {
|
|
196
194
|
return this.__data__.has(e);
|
|
197
195
|
}
|
|
198
196
|
//#endregion
|
|
199
197
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js
|
|
200
|
-
var
|
|
201
|
-
function
|
|
198
|
+
var Tn = 200;
|
|
199
|
+
function En(e, t) {
|
|
202
200
|
var n = this.__data__;
|
|
203
|
-
if (n instanceof
|
|
201
|
+
if (n instanceof f) {
|
|
204
202
|
var r = n.__data__;
|
|
205
|
-
if (!
|
|
206
|
-
n = this.__data__ = new
|
|
203
|
+
if (!_ || r.length < Tn - 1) return r.push([e, t]), this.size = ++n.size, this;
|
|
204
|
+
n = this.__data__ = new ae(r);
|
|
207
205
|
}
|
|
208
206
|
return n.set(e, t), this.size = n.size, this;
|
|
209
207
|
}
|
|
210
208
|
//#endregion
|
|
211
209
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js
|
|
212
210
|
function X(e) {
|
|
213
|
-
var t = this.__data__ = new
|
|
211
|
+
var t = this.__data__ = new f(e);
|
|
214
212
|
this.size = t.size;
|
|
215
213
|
}
|
|
216
|
-
X.prototype.clear =
|
|
214
|
+
X.prototype.clear = xn, X.prototype.delete = Sn, X.prototype.get = Cn, X.prototype.has = wn, X.prototype.set = En;
|
|
217
215
|
//#endregion
|
|
218
216
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js
|
|
219
|
-
function
|
|
220
|
-
return e &&
|
|
217
|
+
function Dn(e, t) {
|
|
218
|
+
return e && K(t, mn(t), e);
|
|
221
219
|
}
|
|
222
220
|
//#endregion
|
|
223
221
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js
|
|
224
|
-
function
|
|
225
|
-
return e &&
|
|
222
|
+
function On(e, t) {
|
|
223
|
+
return e && K(t, vn(t), e);
|
|
226
224
|
}
|
|
227
225
|
//#endregion
|
|
228
226
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js
|
|
229
|
-
var
|
|
230
|
-
function
|
|
227
|
+
var kn = typeof exports == "object" && exports && !exports.nodeType && exports, An = kn && typeof module == "object" && module && !module.nodeType && module, jn = An && An.exports === kn ? g.Buffer : void 0, Mn = jn ? jn.allocUnsafe : void 0;
|
|
228
|
+
function Nn(e, t) {
|
|
231
229
|
if (t) return e.slice();
|
|
232
|
-
var n = e.length, r =
|
|
230
|
+
var n = e.length, r = Mn ? Mn(n) : new e.constructor(n);
|
|
233
231
|
return e.copy(r), r;
|
|
234
232
|
}
|
|
235
233
|
//#endregion
|
|
236
234
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js
|
|
237
|
-
function
|
|
235
|
+
function Pn(e, t) {
|
|
238
236
|
for (var n = -1, r = e == null ? 0 : e.length, i = 0, a = []; ++n < r;) {
|
|
239
237
|
var o = e[n];
|
|
240
238
|
t(o, n, e) && (a[i++] = o);
|
|
@@ -243,227 +241,221 @@ function Jn(e, t) {
|
|
|
243
241
|
}
|
|
244
242
|
//#endregion
|
|
245
243
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js
|
|
246
|
-
function
|
|
244
|
+
function Fn() {
|
|
247
245
|
return [];
|
|
248
246
|
}
|
|
249
247
|
//#endregion
|
|
250
248
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js
|
|
251
|
-
var
|
|
252
|
-
return e == null ? [] : (e = Object(e),
|
|
253
|
-
return
|
|
249
|
+
var In = Object.prototype.propertyIsEnumerable, Ln = Object.getOwnPropertySymbols, Rn = Ln ? function(e) {
|
|
250
|
+
return e == null ? [] : (e = Object(e), Pn(Ln(e), function(t) {
|
|
251
|
+
return In.call(e, t);
|
|
254
252
|
}));
|
|
255
|
-
} :
|
|
253
|
+
} : Fn;
|
|
256
254
|
//#endregion
|
|
257
255
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js
|
|
258
|
-
function
|
|
259
|
-
return
|
|
256
|
+
function zn(e, t) {
|
|
257
|
+
return K(e, Rn(e), t);
|
|
260
258
|
}
|
|
261
259
|
//#endregion
|
|
262
260
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js
|
|
263
|
-
var
|
|
264
|
-
for (var t = []; e;)
|
|
261
|
+
var Bn = Object.getOwnPropertySymbols ? function(e) {
|
|
262
|
+
for (var t = []; e;) yn(t, Rn(e)), e = bn(e);
|
|
265
263
|
return t;
|
|
266
|
-
} :
|
|
264
|
+
} : Fn;
|
|
267
265
|
//#endregion
|
|
268
266
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js
|
|
269
|
-
function
|
|
270
|
-
return
|
|
267
|
+
function Vn(e, t) {
|
|
268
|
+
return K(e, Bn(e), t);
|
|
271
269
|
}
|
|
272
270
|
//#endregion
|
|
273
271
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js
|
|
274
|
-
function
|
|
272
|
+
function Hn(e, t, n) {
|
|
275
273
|
var r = t(e);
|
|
276
|
-
return
|
|
274
|
+
return m(e) ? r : yn(r, n(e));
|
|
277
275
|
}
|
|
278
276
|
//#endregion
|
|
279
277
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js
|
|
280
|
-
function
|
|
281
|
-
return
|
|
278
|
+
function Un(e) {
|
|
279
|
+
return Hn(e, mn, Rn);
|
|
282
280
|
}
|
|
283
281
|
//#endregion
|
|
284
282
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js
|
|
285
|
-
function
|
|
286
|
-
return
|
|
283
|
+
function Wn(e) {
|
|
284
|
+
return Hn(e, vn, Bn);
|
|
287
285
|
}
|
|
288
286
|
//#endregion
|
|
289
287
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js
|
|
290
|
-
var
|
|
291
|
-
(
|
|
292
|
-
var t =
|
|
288
|
+
var Gn = y(g, "DataView"), Kn = y(g, "Promise"), qn = y(g, "Set"), Jn = "[object Map]", Yn = "[object Object]", Xn = "[object Promise]", Zn = "[object Set]", Qn = "[object WeakMap]", $n = "[object DataView]", er = p(Gn), tr = p(_), nr = p(Kn), rr = p(qn), ir = p(lt), Z = v;
|
|
289
|
+
(Gn && Z(new Gn(/* @__PURE__ */ new ArrayBuffer(1))) != $n || _ && Z(new _()) != Jn || Kn && Z(Kn.resolve()) != Xn || qn && Z(new qn()) != Zn || lt && Z(new lt()) != Qn) && (Z = function(e) {
|
|
290
|
+
var t = v(e), n = t == Yn ? e.constructor : void 0, r = n ? p(n) : "";
|
|
293
291
|
if (r) switch (r) {
|
|
294
|
-
case
|
|
295
|
-
case
|
|
296
|
-
case
|
|
297
|
-
case
|
|
298
|
-
case
|
|
292
|
+
case er: return $n;
|
|
293
|
+
case tr: return Jn;
|
|
294
|
+
case nr: return Xn;
|
|
295
|
+
case rr: return Zn;
|
|
296
|
+
case ir: return Qn;
|
|
299
297
|
}
|
|
300
298
|
return t;
|
|
301
299
|
});
|
|
302
|
-
var
|
|
303
|
-
function
|
|
300
|
+
var ar = Z, or = Object.prototype.hasOwnProperty;
|
|
301
|
+
function sr(e) {
|
|
304
302
|
var t = e.length, n = new e.constructor(t);
|
|
305
|
-
return t && typeof e[0] == "string" &&
|
|
303
|
+
return t && typeof e[0] == "string" && or.call(e, "index") && (n.index = e.index, n.input = e.input), n;
|
|
306
304
|
}
|
|
307
305
|
//#endregion
|
|
308
306
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js
|
|
309
|
-
var
|
|
307
|
+
var cr = g.Uint8Array;
|
|
310
308
|
//#endregion
|
|
311
309
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js
|
|
312
|
-
function
|
|
310
|
+
function lr(e) {
|
|
313
311
|
var t = new e.constructor(e.byteLength);
|
|
314
|
-
return new
|
|
312
|
+
return new cr(t).set(new cr(e)), t;
|
|
315
313
|
}
|
|
316
314
|
//#endregion
|
|
317
315
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js
|
|
318
|
-
function
|
|
319
|
-
var n = t ?
|
|
316
|
+
function ur(e, t) {
|
|
317
|
+
var n = t ? lr(e.buffer) : e.buffer;
|
|
320
318
|
return new e.constructor(n, e.byteOffset, e.byteLength);
|
|
321
319
|
}
|
|
322
320
|
//#endregion
|
|
323
321
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js
|
|
324
|
-
var
|
|
325
|
-
function
|
|
326
|
-
var t = new e.constructor(e.source,
|
|
322
|
+
var dr = /\w*$/;
|
|
323
|
+
function fr(e) {
|
|
324
|
+
var t = new e.constructor(e.source, dr.exec(e));
|
|
327
325
|
return t.lastIndex = e.lastIndex, t;
|
|
328
326
|
}
|
|
329
327
|
//#endregion
|
|
330
328
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js
|
|
331
|
-
var
|
|
332
|
-
function
|
|
333
|
-
return
|
|
329
|
+
var pr = ie ? ie.prototype : void 0, mr = pr ? pr.valueOf : void 0;
|
|
330
|
+
function hr(e) {
|
|
331
|
+
return mr ? Object(mr.call(e)) : {};
|
|
334
332
|
}
|
|
335
333
|
//#endregion
|
|
336
334
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js
|
|
337
|
-
function
|
|
338
|
-
var n = t ?
|
|
335
|
+
function gr(e, t) {
|
|
336
|
+
var n = t ? lr(e.buffer) : e.buffer;
|
|
339
337
|
return new e.constructor(n, e.byteOffset, e.length);
|
|
340
338
|
}
|
|
341
339
|
//#endregion
|
|
342
340
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js
|
|
343
|
-
var
|
|
344
|
-
function
|
|
341
|
+
var _r = "[object Boolean]", vr = "[object Date]", yr = "[object Map]", br = "[object Number]", xr = "[object RegExp]", Sr = "[object Set]", Cr = "[object String]", wr = "[object Symbol]", Tr = "[object ArrayBuffer]", Er = "[object DataView]", Dr = "[object Float32Array]", Or = "[object Float64Array]", kr = "[object Int8Array]", Ar = "[object Int16Array]", jr = "[object Int32Array]", Mr = "[object Uint8Array]", Nr = "[object Uint8ClampedArray]", Pr = "[object Uint16Array]", Fr = "[object Uint32Array]";
|
|
342
|
+
function Ir(e, t, n) {
|
|
345
343
|
var r = e.constructor;
|
|
346
344
|
switch (t) {
|
|
347
|
-
case
|
|
345
|
+
case Tr: return lr(e);
|
|
346
|
+
case _r:
|
|
347
|
+
case vr: return new r(+e);
|
|
348
|
+
case Er: return ur(e, n);
|
|
349
|
+
case Dr:
|
|
350
|
+
case Or:
|
|
351
|
+
case kr:
|
|
352
|
+
case Ar:
|
|
348
353
|
case jr:
|
|
349
|
-
case Mr:
|
|
350
|
-
case
|
|
351
|
-
case Vr:
|
|
352
|
-
case Hr:
|
|
353
|
-
case Ur:
|
|
354
|
-
case Wr:
|
|
355
|
-
case Gr:
|
|
356
|
-
case Kr:
|
|
357
|
-
case qr:
|
|
358
|
-
case Jr:
|
|
359
|
-
case Yr: return Ar(e, n);
|
|
360
|
-
case Nr: return new r();
|
|
354
|
+
case Mr:
|
|
355
|
+
case Nr:
|
|
361
356
|
case Pr:
|
|
362
|
-
case
|
|
363
|
-
case
|
|
364
|
-
case
|
|
365
|
-
case
|
|
357
|
+
case Fr: return gr(e, n);
|
|
358
|
+
case yr: return new r();
|
|
359
|
+
case br:
|
|
360
|
+
case Cr: return new r(e);
|
|
361
|
+
case xr: return fr(e);
|
|
362
|
+
case Sr: return new r();
|
|
363
|
+
case wr: return hr(e);
|
|
366
364
|
}
|
|
367
365
|
}
|
|
368
366
|
//#endregion
|
|
369
367
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js
|
|
370
|
-
function
|
|
371
|
-
return typeof e.constructor == "function" && !
|
|
368
|
+
function Lr(e) {
|
|
369
|
+
return typeof e.constructor == "function" && !vt(e) ? dt(bn(e)) : {};
|
|
372
370
|
}
|
|
373
371
|
//#endregion
|
|
374
372
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js
|
|
375
|
-
var
|
|
376
|
-
function
|
|
377
|
-
return
|
|
373
|
+
var Rr = "[object Map]";
|
|
374
|
+
function zr(e) {
|
|
375
|
+
return h(e) && ar(e) == Rr;
|
|
378
376
|
}
|
|
379
377
|
//#endregion
|
|
380
378
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isMap.js
|
|
381
|
-
var
|
|
382
|
-
function
|
|
383
|
-
return
|
|
379
|
+
var Br = Y && Y.isMap, Vr = Br ? nn(Br) : zr, Hr = "[object Set]";
|
|
380
|
+
function Ur(e) {
|
|
381
|
+
return h(e) && ar(e) == Hr;
|
|
384
382
|
}
|
|
385
383
|
//#endregion
|
|
386
384
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSet.js
|
|
387
|
-
var
|
|
388
|
-
Q[
|
|
389
|
-
function
|
|
390
|
-
var
|
|
391
|
-
if (n && (
|
|
392
|
-
if (!
|
|
393
|
-
var
|
|
394
|
-
if (
|
|
395
|
-
if (
|
|
385
|
+
var Wr = Y && Y.isSet, Gr = Wr ? nn(Wr) : Ur, Kr = 1, qr = 2, Jr = 4, Yr = "[object Arguments]", Xr = "[object Array]", Zr = "[object Boolean]", Qr = "[object Date]", $r = "[object Error]", ei = "[object Function]", ti = "[object GeneratorFunction]", ni = "[object Map]", ri = "[object Number]", ii = "[object Object]", ai = "[object RegExp]", oi = "[object Set]", si = "[object String]", ci = "[object Symbol]", li = "[object WeakMap]", ui = "[object ArrayBuffer]", di = "[object DataView]", fi = "[object Float32Array]", pi = "[object Float64Array]", mi = "[object Int8Array]", hi = "[object Int16Array]", gi = "[object Int32Array]", _i = "[object Uint8Array]", vi = "[object Uint8ClampedArray]", yi = "[object Uint16Array]", bi = "[object Uint32Array]", Q = {};
|
|
386
|
+
Q[Yr] = Q[Xr] = Q[ui] = Q[di] = Q[Zr] = Q[Qr] = Q[fi] = Q[pi] = Q[mi] = Q[hi] = Q[gi] = Q[ni] = Q[ri] = Q[ii] = Q[ai] = Q[oi] = Q[si] = Q[ci] = Q[_i] = Q[vi] = Q[yi] = Q[bi] = !0, Q[$r] = Q[ei] = Q[li] = !1;
|
|
387
|
+
function xi(e, t, n, r, i, a) {
|
|
388
|
+
var o, s = t & Kr, c = t & qr, l = t & Jr;
|
|
389
|
+
if (n && (o = i ? n(e, r, i, a) : n(e)), o !== void 0) return o;
|
|
390
|
+
if (!oe(e)) return e;
|
|
391
|
+
var ee = m(e);
|
|
392
|
+
if (ee) {
|
|
393
|
+
if (o = sr(e), !s) return ft(e, o);
|
|
396
394
|
} else {
|
|
397
|
-
var
|
|
398
|
-
if (
|
|
399
|
-
if (
|
|
400
|
-
if (
|
|
395
|
+
var u = ar(e), d = u == ei || u == ti;
|
|
396
|
+
if (At(e)) return Nn(e, s);
|
|
397
|
+
if (u == ii || u == Yr || d && !i) {
|
|
398
|
+
if (o = c || d ? {} : Lr(e), !s) return c ? Vn(e, On(o, e)) : zn(e, Dn(o, e));
|
|
401
399
|
} else {
|
|
402
|
-
if (!Q[
|
|
403
|
-
|
|
400
|
+
if (!Q[u]) return i ? e : {};
|
|
401
|
+
o = Ir(e, u, s);
|
|
404
402
|
}
|
|
405
403
|
}
|
|
406
404
|
a ||= new X();
|
|
407
|
-
var
|
|
408
|
-
if (
|
|
409
|
-
a.set(e,
|
|
410
|
-
|
|
411
|
-
}) :
|
|
412
|
-
|
|
405
|
+
var te = a.get(e);
|
|
406
|
+
if (te) return te;
|
|
407
|
+
a.set(e, o), Gr(e) ? e.forEach(function(r) {
|
|
408
|
+
o.add(xi(r, t, n, r, e, a));
|
|
409
|
+
}) : Vr(e) && e.forEach(function(r, i) {
|
|
410
|
+
o.set(i, xi(r, t, n, i, e, a));
|
|
413
411
|
});
|
|
414
|
-
var
|
|
415
|
-
return
|
|
416
|
-
|
|
417
|
-
}),
|
|
412
|
+
var f = ee ? void 0 : (l ? c ? Wn : Un : c ? vn : mn)(e);
|
|
413
|
+
return pt(f || e, function(r, i) {
|
|
414
|
+
f && (i = r, r = e[i]), se(o, i, xi(r, t, n, i, e, a));
|
|
415
|
+
}), o;
|
|
418
416
|
}
|
|
419
417
|
//#endregion
|
|
420
418
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js
|
|
421
|
-
var
|
|
422
|
-
function
|
|
423
|
-
return
|
|
424
|
-
}
|
|
425
|
-
//#endregion
|
|
426
|
-
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.
|
|
427
|
-
var
|
|
428
|
-
FieldControl: () =>
|
|
429
|
-
Form: () =>
|
|
430
|
-
JsonFormsDialog: () =>
|
|
431
|
-
LabeledControl: () =>
|
|
432
|
-
SectionHeading: () =>
|
|
419
|
+
var Si = 1, Ci = 4;
|
|
420
|
+
function wi(e) {
|
|
421
|
+
return xi(e, Si | Ci);
|
|
422
|
+
}
|
|
423
|
+
//#endregion
|
|
424
|
+
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.18_type_8d51cc9ea2721872177fa4b0010b5104/node_modules/@knime/jsonforms/dist/knime-jsonforms.js
|
|
425
|
+
var Ti = /* @__PURE__ */ e({
|
|
426
|
+
FieldControl: () => De,
|
|
427
|
+
Form: () => je,
|
|
428
|
+
JsonFormsDialog: () => Ne,
|
|
429
|
+
LabeledControl: () => E,
|
|
430
|
+
SectionHeading: () => M,
|
|
433
431
|
SettingsSubPanel: () => Ee,
|
|
434
|
-
SimpleArrayLayout: () =>
|
|
435
|
-
SimpleButtonControl: () =>
|
|
436
|
-
TextControl: () =>
|
|
437
|
-
VerticalLayoutBase: () =>
|
|
438
|
-
controlProps: () =>
|
|
432
|
+
SimpleArrayLayout: () => Pe,
|
|
433
|
+
SimpleButtonControl: () => Me,
|
|
434
|
+
TextControl: () => Ae,
|
|
435
|
+
VerticalLayoutBase: () => Oe,
|
|
436
|
+
controlProps: () => D,
|
|
439
437
|
controlToRenderer: () => xe,
|
|
440
438
|
controls: () => Ce,
|
|
441
|
-
defaultRenderers: () =>
|
|
442
|
-
defineControl: () =>
|
|
443
|
-
defineLayout: () =>
|
|
439
|
+
defaultRenderers: () => Fe,
|
|
440
|
+
defineControl: () => j,
|
|
441
|
+
defineLayout: () => F,
|
|
444
442
|
getAsyncSetupMethod: () => we,
|
|
445
443
|
handleAsyncComponents: () => be,
|
|
446
|
-
inputFormats: () =>
|
|
447
|
-
layoutProps: () =>
|
|
444
|
+
inputFormats: () => O,
|
|
445
|
+
layoutProps: () => Ie,
|
|
448
446
|
layoutToRenderer: () => Se,
|
|
449
447
|
layouts: () => Te,
|
|
450
|
-
mapControls: () =>
|
|
451
|
-
mapLayouts: () =>
|
|
452
|
-
priorityRanks: () =>
|
|
453
|
-
toDataPathSegments: () =>
|
|
454
|
-
toRenderers: () =>
|
|
455
|
-
useProvidedState: () =>
|
|
456
|
-
withDescriptionButton: () =>
|
|
457
|
-
withDescriptionButtonLayout: () =>
|
|
458
|
-
withLabel: () =>
|
|
459
|
-
}),
|
|
460
|
-
|
|
461
|
-
options: [JSON.stringify(n), t.split(".")]
|
|
462
|
-
}), Vi = (e, t, n) => e({
|
|
463
|
-
method: "flowVariables.getFlowVariableOverrideValue",
|
|
464
|
-
options: [JSON.stringify(n), t.split(".")]
|
|
465
|
-
}), Hi = () => {
|
|
466
|
-
let e = G(null), t = G(null);
|
|
448
|
+
mapControls: () => A,
|
|
449
|
+
mapLayouts: () => T,
|
|
450
|
+
priorityRanks: () => N,
|
|
451
|
+
toDataPathSegments: () => he,
|
|
452
|
+
toRenderers: () => ke,
|
|
453
|
+
useProvidedState: () => me,
|
|
454
|
+
withDescriptionButton: () => w,
|
|
455
|
+
withDescriptionButtonLayout: () => P,
|
|
456
|
+
withLabel: () => k
|
|
457
|
+
}), Ei = () => {
|
|
458
|
+
let e = W(null), t = W(null);
|
|
467
459
|
return {
|
|
468
460
|
setCurrentData: (t) => {
|
|
469
461
|
e.value = t;
|
|
@@ -477,22 +469,22 @@ var zi = /* @__PURE__ */ e({
|
|
|
477
469
|
},
|
|
478
470
|
getInitialValue: (e) => {
|
|
479
471
|
if (t.value === null) throw Error("No initial data are set.");
|
|
480
|
-
return
|
|
472
|
+
return ue(t.value, e);
|
|
481
473
|
}
|
|
482
474
|
};
|
|
483
|
-
},
|
|
484
|
-
let t =
|
|
485
|
-
return
|
|
486
|
-
},
|
|
475
|
+
}, Di = /* @__PURE__ */ new Map(), Oi = (e) => {
|
|
476
|
+
let t = crypto.randomUUID();
|
|
477
|
+
return Di.set(e, t), () => Di.get(e) === t;
|
|
478
|
+
}, ki = (e) => JSON.stringify({
|
|
487
479
|
watcherId: e.registeredWatcher.id,
|
|
488
480
|
indexIds: e.indexIds
|
|
489
|
-
}),
|
|
490
|
-
let t =
|
|
481
|
+
}), Ai = (e) => {
|
|
482
|
+
let t = W([]), n = (e, t) => e.registeredWatcher.id === t.registeredWatcher.id && e.indexIds.join(".") === t.indexIds.join("."), r = (n) => {
|
|
491
483
|
let r = [], i = n.split(".");
|
|
492
484
|
for (let n of t.value) {
|
|
493
|
-
let t =
|
|
485
|
+
let t = fe(n.dataPaths, i);
|
|
494
486
|
if (t !== null) {
|
|
495
|
-
let i =
|
|
487
|
+
let i = Re(t.indices, t.dataPath, e);
|
|
496
488
|
r.push({
|
|
497
489
|
registeredWatcher: n,
|
|
498
490
|
indexIds: i
|
|
@@ -503,7 +495,7 @@ var zi = /* @__PURE__ */ e({
|
|
|
503
495
|
}, i = async (e, t) => {
|
|
504
496
|
let i = e.flatMap(r).reduce((e, t) => e.some((e) => n(e, t)) ? e : [...e, t], []), a = [], o = i.map((e) => ({
|
|
505
497
|
...e,
|
|
506
|
-
isToBeApplied:
|
|
498
|
+
isToBeApplied: Oi(ki(e))
|
|
507
499
|
}));
|
|
508
500
|
for (let { registeredWatcher: e, indexIds: n, isToBeApplied: r } of o) {
|
|
509
501
|
let i = await e.transformSettings(n)(t);
|
|
@@ -518,9 +510,9 @@ var zi = /* @__PURE__ */ e({
|
|
|
518
510
|
updateDataMultiplePaths: i,
|
|
519
511
|
registerWatcher: ({ transformSettings: e, dependencies: n }) => {
|
|
520
512
|
let r = {
|
|
521
|
-
id:
|
|
513
|
+
id: crypto.randomUUID(),
|
|
522
514
|
transformSettings: e,
|
|
523
|
-
dataPaths: n.map(
|
|
515
|
+
dataPaths: n.map(de)
|
|
524
516
|
};
|
|
525
517
|
return t.value.push(r), () => {
|
|
526
518
|
t.value = t.value.filter((e) => e.id !== r.id);
|
|
@@ -528,14 +520,14 @@ var zi = /* @__PURE__ */ e({
|
|
|
528
520
|
},
|
|
529
521
|
registeredWatchers: t
|
|
530
522
|
};
|
|
531
|
-
},
|
|
523
|
+
}, ji = ({ indexIds: e }) => e, Mi = ({ indices: e }) => e, Ni = (e) => (t) => (n) => "id" in t && "scope" in n || "scope" in t && "id" in n || t.providedOptionName !== n.providedOptionName || JSON.stringify(t.settingsId) !== JSON.stringify(n.settingsId) || "id" in t && "id" in n && t.id !== n.id || "scope" in t && "scope" in n && t.scope !== n.scope || e(t).length > e(n).length ? !1 : e(t).every((t, r) => e(n)[r] === t), Pi = (e) => (t) => (n) => Ni(e)(n)(t), Fi = (e) => (t) => Array.from(e.entries()).filter(([e]) => t(e)).map(([, e]) => e), Ii = (e) => ({
|
|
532
524
|
...e,
|
|
533
525
|
indexIds: e.indexIds ?? []
|
|
534
|
-
}),
|
|
526
|
+
}), Li = (e) => ({
|
|
535
527
|
...e,
|
|
536
528
|
indices: e.indices ?? []
|
|
537
|
-
}),
|
|
538
|
-
let e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = (t) =>
|
|
529
|
+
}), Ri = () => {
|
|
530
|
+
let e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = (t) => Fi(e)(Ni(ji)(t)), a = (e) => Fi(t)(Ni(Mi)(e)), o = (e) => Fi(n)(Pi(ji)(e)), s = (e) => Fi(r)(Pi(Mi)(e)), c = (e, t, n) => {
|
|
539
531
|
e.has(t) ? e.get(t).push(n) : e.set(t, [n]);
|
|
540
532
|
}, l = (e, t) => {
|
|
541
533
|
let n = o(e);
|
|
@@ -543,20 +535,20 @@ var zi = /* @__PURE__ */ e({
|
|
|
543
535
|
};
|
|
544
536
|
return {
|
|
545
537
|
addStateProviderListener: (n, r) => {
|
|
546
|
-
let i =
|
|
538
|
+
let i = Ii(n);
|
|
547
539
|
c(e, i, r);
|
|
548
|
-
let a =
|
|
540
|
+
let a = Li(n);
|
|
549
541
|
c(t, a, r), l(i, a).forEach(r);
|
|
550
542
|
},
|
|
551
543
|
callStateProviderListener: (e, t) => {
|
|
552
|
-
let r =
|
|
544
|
+
let r = Ii(e);
|
|
553
545
|
n.set(r, t), i(r).flatMap((e) => e).forEach((e) => e(t));
|
|
554
546
|
},
|
|
555
547
|
callStateProviderListenerByIndices: (e, t) => {
|
|
556
548
|
r.set(e, t), a(e).flatMap((e) => e).forEach((e) => e(t));
|
|
557
549
|
}
|
|
558
550
|
};
|
|
559
|
-
},
|
|
551
|
+
}, zi = () => {
|
|
560
552
|
let e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map(), n = (e, t) => e ? `dynamicsettings(${e.settingsId}):atPath(${e.currentParentPathSegments}):${t}` : t;
|
|
561
553
|
return {
|
|
562
554
|
registerTrigger: (r, i, a, o) => {
|
|
@@ -573,185 +565,38 @@ var zi = /* @__PURE__ */ e({
|
|
|
573
565
|
return o(r ?? []);
|
|
574
566
|
}
|
|
575
567
|
};
|
|
576
|
-
},
|
|
577
|
-
let i =
|
|
578
|
-
return n.control.uischema.scope && !i &&
|
|
579
|
-
dataPath:
|
|
580
|
-
value:
|
|
568
|
+
}, Bi = (e) => "readOnly" in e && !!e.readOnly, Vi = (e, t) => j((n, r) => {
|
|
569
|
+
let i = Bi(n.control.schema);
|
|
570
|
+
return n.control.uischema.scope && !i && He({
|
|
571
|
+
dataPath: R(() => n.control.path),
|
|
572
|
+
value: R(() => n.control.data),
|
|
581
573
|
valueComparator: t?.()
|
|
582
|
-
}), () =>
|
|
574
|
+
}), () => H(e, {
|
|
583
575
|
...n,
|
|
584
576
|
disabled: n.disabled || i
|
|
585
577
|
}, r.slots);
|
|
586
|
-
}),
|
|
578
|
+
}), Hi = class extends ot {
|
|
587
579
|
toInternalState(e) {
|
|
588
580
|
return JSON.stringify(e, (e, t) => e === "selected" ? void 0 : t);
|
|
589
581
|
}
|
|
590
582
|
equals(e, t) {
|
|
591
583
|
return e === t;
|
|
592
584
|
}
|
|
593
|
-
},
|
|
594
|
-
twinlistRenderer: () => new
|
|
595
|
-
typedStringFilterRenderer: () => new
|
|
585
|
+
}, Ui = {
|
|
586
|
+
twinlistRenderer: () => new Hi(),
|
|
587
|
+
typedStringFilterRenderer: () => new Hi(),
|
|
596
588
|
multiFileChooserRenderer: () => ({
|
|
597
589
|
setSettings: (e) => {},
|
|
598
590
|
isModified: (e) => !1
|
|
599
591
|
})
|
|
600
|
-
},
|
|
601
|
-
let
|
|
602
|
-
|
|
603
|
-
return [...new Set(t)];
|
|
604
|
-
});
|
|
605
|
-
return { deprecatedSetConfigPaths: I(() => {
|
|
606
|
-
let e = r.value.flatMap(n);
|
|
607
|
-
return [...new Set(e)];
|
|
608
|
-
}) };
|
|
609
|
-
}, ca = (e) => {
|
|
610
|
-
let t = N(), { getSettingStateFlowVariables: n } = M(), { exposed: { get: r } } = n(), i = I(() => t[e]), a = I(() => i.value?.exposedFlowVariableName ?? ""), o = (e, t) => {
|
|
611
|
-
let n = r(e);
|
|
612
|
-
t === null ? n?.unset() : n?.set(t);
|
|
613
|
-
};
|
|
614
|
-
return {
|
|
615
|
-
exposedFlowVariableName: a,
|
|
616
|
-
setExposedFlowVariable: ({ path: e, flowVariableName: n }) => {
|
|
617
|
-
let r = n.trim() ? n : null;
|
|
618
|
-
if (o(e, r), r === null && !t[e]?.controllingFlowVariableName) delete t[e];
|
|
619
|
-
else {
|
|
620
|
-
let n = t[e] || {};
|
|
621
|
-
n.exposedFlowVariableName = r, t[e] = n;
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
};
|
|
625
|
-
}, la = /* @__PURE__ */ H({
|
|
626
|
-
__name: "UnsetDeprecatedFlowVariableButton",
|
|
627
|
-
props: { path: {} },
|
|
628
|
-
setup(e) {
|
|
629
|
-
let t = e, { controllingFlowVariableName: n, unsetControllingFlowVariable: r } = Ze(t.path), { exposedFlowVariableName: i, setExposedFlowVariable: a } = ca(t.path), o = N(), s = () => {
|
|
630
|
-
n.value && r(t), i.value && a({
|
|
631
|
-
path: t.path,
|
|
632
|
-
flowVariableName: ""
|
|
633
|
-
}), delete o[t.path];
|
|
634
|
-
};
|
|
635
|
-
return (e, t) => (W(), L(K(_e), {
|
|
636
|
-
label: "Unset",
|
|
637
|
-
variant: "outlined",
|
|
638
|
-
size: "small",
|
|
639
|
-
onClick: s
|
|
640
|
-
}));
|
|
641
|
-
}
|
|
642
|
-
}), ua = ["value"], da = /*#__PURE__*/ t(/* @__PURE__ */ H({
|
|
643
|
-
__name: "DeprecatedFlowVariables",
|
|
644
|
-
setup(e) {
|
|
645
|
-
let { deprecatedSetConfigPaths: t } = sa(), n = N(), r = (e) => n[e].controllingFlowVariableName ?? n[e].exposedFlowVariableName, i = (e) => e.replace(/<dot>/g, ".");
|
|
646
|
-
return (e, n) => (W(), z(nt, null, [n[0] ||= B("p", null, "The following set flow variables are deprecated:", -1), (W(!0), z(nt, null, ft(K(t), (e) => (W(), z("div", { key: e }, [B("ul", null, [B("li", null, [B("p", null, [rt(" \"" + ht(i(e)) + "\": ", 1), B("input", {
|
|
647
|
-
disabled: "",
|
|
648
|
-
value: r(e)
|
|
649
|
-
}, null, 8, ua)]), it(la, { path: e }, null, 8, ["path"])])])]))), 128))], 64));
|
|
650
|
-
}
|
|
651
|
-
}), [["__scopeId", "data-v-70e7b98f"]]), fa = /* @__PURE__ */ H({
|
|
652
|
-
__name: "FlowVariableExposer",
|
|
653
|
-
props: {
|
|
654
|
-
label: {},
|
|
655
|
-
persistPath: {}
|
|
656
|
-
},
|
|
657
|
-
setup(e) {
|
|
658
|
-
let t = e, { setExposedFlowVariable: n, exposedFlowVariableName: r } = ca(t.persistPath), i = G("");
|
|
659
|
-
gt(() => {
|
|
660
|
-
(r.value !== "" || i.value.trim() !== "") && (i.value = r.value);
|
|
661
|
-
});
|
|
662
|
-
let a = I(() => i.value === "" || !!i.value.trim()), o = (e) => {
|
|
663
|
-
i.value = e, n({
|
|
664
|
-
path: t.persistPath,
|
|
665
|
-
flowVariableName: e
|
|
666
|
-
});
|
|
667
|
-
};
|
|
668
|
-
return (e, n) => (W(), L(K(he), {
|
|
669
|
-
"model-value": i.value,
|
|
670
|
-
error: !a.value,
|
|
671
|
-
"sub-text": a.value ? void 0 : "Flow variable name must not be blank.",
|
|
672
|
-
label: t.label,
|
|
673
|
-
placeholder: "No flow variable set",
|
|
674
|
-
"onUpdate:modelValue": o
|
|
675
|
-
}, null, 8, [
|
|
676
|
-
"model-value",
|
|
677
|
-
"error",
|
|
678
|
-
"sub-text",
|
|
679
|
-
"label"
|
|
680
|
-
]));
|
|
681
|
-
}
|
|
682
|
-
}), pa = {
|
|
683
|
-
key: 1,
|
|
684
|
-
class: "popover"
|
|
685
|
-
}, ma = {
|
|
686
|
-
key: 0,
|
|
687
|
-
class: "variable-group"
|
|
688
|
-
}, ha = /*#__PURE__*/ t(/* @__PURE__ */ H({
|
|
689
|
-
__name: "FlowVariablePopover",
|
|
690
|
-
emits: ["controllingFlowVariableSet"],
|
|
691
|
-
setup(e, { emit: t }) {
|
|
692
|
-
let { configPaths: n } = M(), { deprecatedSetConfigPaths: r } = sa(), i = I(() => We(n.value.map((e) => e.configPath).filter((e) => e !== null)).length), a = (e) => e.slice(i.value).replace(/<dot>/g, "."), o = t;
|
|
693
|
-
return (e, t) => K(r).length ? (W(), L(da, { key: 0 })) : (W(), z("div", pa, [(W(!0), z(nt, null, ft(K(n), (e) => (W(), z(nt, { key: e.configPath }, [e.configPath ? (W(), z("div", ma, [e.exposeOnly ? R("", !0) : (W(), L(Ye, {
|
|
694
|
-
key: 0,
|
|
695
|
-
label: K(n).length === 1 ? "Overwrite with flow variable" : `Overwrite ${a(e.configPath)}`,
|
|
696
|
-
"data-path": e.dataPath,
|
|
697
|
-
"persist-path": e.configPath,
|
|
698
|
-
onControllingFlowVariableSet: t[0] ||= (e, t, n) => o("controllingFlowVariableSet", e, t, n)
|
|
699
|
-
}, null, 8, [
|
|
700
|
-
"label",
|
|
701
|
-
"data-path",
|
|
702
|
-
"persist-path"
|
|
703
|
-
])), it(fa, {
|
|
704
|
-
label: K(n).length === 1 ? "Output as flow variable" : `Output ${a(e.configPath)}`,
|
|
705
|
-
"persist-path": e.configPath
|
|
706
|
-
}, null, 8, ["label", "persist-path"])])) : R("", !0)], 64))), 128))]));
|
|
707
|
-
}
|
|
708
|
-
}), [["__scopeId", "data-v-dea485b5"]]), ga = /* @__PURE__ */ H({
|
|
709
|
-
__name: "FlowVariableButton",
|
|
710
|
-
props: { hover: { type: Boolean } },
|
|
711
|
-
emits: ["controllingFlowVariableSet"],
|
|
712
|
-
setup(e, { emit: t }) {
|
|
713
|
-
let n = t, { configPaths: r, flowSettings: i } = M(), a = I(() => !!i.value?.controllingFlowVariableName), o = I(() => !!i.value?.exposedFlowVariableName), s = I(() => !!i.value?.controllingFlowVariableName && i.value?.controllingFlowVariableAvailable === !1), c = I(() => !!i.value?.controllingFlowVariableName && i.value?.controllingFlowVariableOfCorrectType === !1), l = I(() => s.value || c.value), { deprecatedSetConfigPaths: u } = sa(), d = I(() => r.value.filter((e) => e.configPath !== null)), f = qe(), p = I(() => f?.value ?? !1);
|
|
714
|
-
return (e, t) => !p.value && (d.value.length > 0 || K(u).length > 0) ? (W(), L(K(me), {
|
|
715
|
-
key: 0,
|
|
716
|
-
"in-set": a.value,
|
|
717
|
-
"out-set": o.value,
|
|
718
|
-
error: l.value,
|
|
719
|
-
hidden: !e.hover && !a.value && !o.value && !l.value
|
|
720
|
-
}, {
|
|
721
|
-
default: _t(() => [it(ha, { onControllingFlowVariableSet: t[0] ||= (e, t, r) => n("controllingFlowVariableSet", e, t, r) })]),
|
|
722
|
-
_: 1
|
|
723
|
-
}, 8, [
|
|
724
|
-
"in-set",
|
|
725
|
-
"out-set",
|
|
726
|
-
"error",
|
|
727
|
-
"hidden"
|
|
728
|
-
])) : R("", !0);
|
|
729
|
-
}
|
|
730
|
-
}), _a = /* @__PURE__ */ H({
|
|
731
|
-
__name: "FlowVariableButtonWrapper",
|
|
732
|
-
props: {
|
|
733
|
-
hover: { type: Boolean },
|
|
734
|
-
dataPath: {},
|
|
735
|
-
configPaths: {},
|
|
736
|
-
flowSettings: {},
|
|
737
|
-
flowVariablesForSettings: {}
|
|
738
|
-
},
|
|
739
|
-
emits: ["controllingFlowVariableSet"],
|
|
740
|
-
setup(e, { emit: t }) {
|
|
741
|
-
let n = e, r = t;
|
|
742
|
-
return Qe(n), (e, t) => (W(), L(ga, {
|
|
743
|
-
hover: e.hover,
|
|
744
|
-
onControllingFlowVariableSet: t[0] ||= (e, t, n) => r("controllingFlowVariableSet", e, t, n)
|
|
745
|
-
}, null, 8, ["hover"]));
|
|
746
|
-
}
|
|
747
|
-
}), va = (e) => O((t, n) => {
|
|
748
|
-
let r = I(() => t.control.path), { configPaths: i, flowSettings: a, disabledByFlowVariables: o } = Ie({ path: r });
|
|
749
|
-
return () => U(e, {
|
|
592
|
+
}, Wi = A((e, t) => Vi(e, Ui[t])), Gi = (e) => j((t, n) => {
|
|
593
|
+
let r = R(() => t.control.path), { configPaths: i, flowSettings: a, disabledByFlowVariables: s } = c({ path: r });
|
|
594
|
+
return () => H(e, {
|
|
750
595
|
...t,
|
|
751
|
-
disabled: t.disabled ||
|
|
596
|
+
disabled: t.disabled || s.value
|
|
752
597
|
}, {
|
|
753
598
|
...n.slots,
|
|
754
|
-
buttons: (e) => [...n.slots.buttons ? [n.slots.buttons(e)] : [],
|
|
599
|
+
buttons: (e) => [...n.slots.buttons ? [n.slots.buttons(e)] : [], H(o, {
|
|
755
600
|
hover: e.hover,
|
|
756
601
|
dataPath: r.value,
|
|
757
602
|
configPaths: i,
|
|
@@ -759,54 +604,54 @@ var zi = /* @__PURE__ */ e({
|
|
|
759
604
|
onControllingFlowVariableSet: t.handleChange
|
|
760
605
|
})]
|
|
761
606
|
});
|
|
762
|
-
}),
|
|
607
|
+
}), Ki = {
|
|
763
608
|
simpleButtonRenderer: !0,
|
|
764
609
|
textMessageRenderer: !0,
|
|
765
610
|
progressButtonRenderer: !0
|
|
766
|
-
},
|
|
611
|
+
}, qi = A((e, t) => Ki[t] ? e : Gi(e)), Ji = /*#__PURE__*/ t(/* @__PURE__ */ V({
|
|
767
612
|
__name: "StyledReexecutionIcon",
|
|
768
613
|
setup(e) {
|
|
769
|
-
return (e, t) => (
|
|
614
|
+
return (e, t) => (U(), z(G(d), {
|
|
770
615
|
name: "reload",
|
|
771
616
|
size: "xsmall",
|
|
772
617
|
class: "reexecution-icon"
|
|
773
618
|
}));
|
|
774
619
|
}
|
|
775
|
-
}), [["__scopeId", "data-v-ffedb260"]]),
|
|
776
|
-
let r =
|
|
777
|
-
return () =>
|
|
620
|
+
}), [["__scopeId", "data-v-ffedb260"]]), Yi = (e) => j((t, n) => {
|
|
621
|
+
let r = R(() => t.control.uischema.scope?.startsWith("#/properties/model"));
|
|
622
|
+
return () => H(e, t, {
|
|
778
623
|
...n.slots,
|
|
779
|
-
...r.value && { icon: () =>
|
|
624
|
+
...r.value && { icon: () => H(Ji) }
|
|
780
625
|
});
|
|
781
|
-
}),
|
|
782
|
-
function
|
|
783
|
-
return
|
|
626
|
+
}), Xi = {};
|
|
627
|
+
function Zi(e, t) {
|
|
628
|
+
return nt(e.$slots, "default");
|
|
784
629
|
}
|
|
785
|
-
var
|
|
786
|
-
renderer:
|
|
630
|
+
var Qi = /*#__PURE__*/ t(Xi, [["render", Zi], ["__scopeId", "data-v-99d7290f"]]), $i = (e, t, n) => e ? t ? H(Qi, n()) : null : n(), ea = (e) => (t) => j((n, r) => () => $i(n.control.uischema.options?.isAdvanced, G(e), () => H(t, n, r.slots))), ta = (e) => (t) => F((n, r) => () => $i(n.layout.uischema.options?.isAdvanced, G(e), () => H(t, n, r.slots))), na = (e) => (t, n) => V(async (r) => (await n(), () => $i(r.uischema.options?.isAdvanced, G(e), () => H(t, r))), { props: ve() }), ra = B(() => import("./ArrayLayout-CiNvK2R8.js")), ia = C, aa = {
|
|
631
|
+
renderer: ra,
|
|
787
632
|
name: "ArrayLayout",
|
|
788
|
-
tester:
|
|
789
|
-
},
|
|
633
|
+
tester: x(N.default, ia)
|
|
634
|
+
}, oa = {
|
|
790
635
|
name: "ButtonControl",
|
|
791
|
-
control:
|
|
792
|
-
tester:
|
|
793
|
-
},
|
|
636
|
+
control: B(() => import("./ButtonControl-XAPpl7GY.js")),
|
|
637
|
+
tester: x(N.default, L(I.button))
|
|
638
|
+
}, sa = B(() => import("./CodeEditorControl-BZlds1_z.js")), ca = k()({
|
|
794
639
|
name: "CodeEditorControl",
|
|
795
|
-
control:
|
|
796
|
-
tester:
|
|
797
|
-
}),
|
|
640
|
+
control: sa,
|
|
641
|
+
tester: x(N.default, L(I.codeEditor))
|
|
642
|
+
}), la = B(() => import("./ConfigurationNodeNotSupported-CGclvYAj.js")), ua = S("ConfigurationNodeNotSupported"), da = {
|
|
798
643
|
name: "ConfigurationNodeNotSupported",
|
|
799
|
-
renderer:
|
|
800
|
-
tester:
|
|
801
|
-
},
|
|
644
|
+
renderer: la,
|
|
645
|
+
tester: x(N.default, ua)
|
|
646
|
+
}, fa = {
|
|
802
647
|
name: "ControlWithSubParameters",
|
|
803
|
-
layout:
|
|
804
|
-
tester:
|
|
805
|
-
},
|
|
648
|
+
layout: B(() => import("./ControlWithSubParameters-D_0dvLqM.js")),
|
|
649
|
+
tester: x(N.default, S("ControlWithSubParameters"))
|
|
650
|
+
}, pa = B(() => import("./CredentialsControl-uYcyYidL.js")), ma = k()({
|
|
806
651
|
name: "CredentialsControl",
|
|
807
|
-
control:
|
|
808
|
-
tester:
|
|
809
|
-
}), $ = {},
|
|
652
|
+
control: pa,
|
|
653
|
+
tester: x(N.default, (e) => e.options?.format === I.credentials)
|
|
654
|
+
}), $ = {}, ha = () => ({
|
|
810
655
|
dynamicImport: async (e, t = !1) => ((!$[e] || t) && ($[e] = await import(
|
|
811
656
|
/* @vite-ignore */
|
|
812
657
|
e
|
|
@@ -814,9 +659,9 @@ var Ta = /*#__PURE__*/ t(Ca, [["render", wa], ["__scopeId", "data-v-99d7290f"]])
|
|
|
814
659
|
clearCache: () => {
|
|
815
660
|
Object.keys($).forEach((e) => delete $[e]);
|
|
816
661
|
}
|
|
817
|
-
}),
|
|
662
|
+
}), ga = {
|
|
818
663
|
name: "CustomWidget",
|
|
819
|
-
control: /* @__PURE__ */
|
|
664
|
+
control: /* @__PURE__ */ V({
|
|
820
665
|
__name: "CustomWidget",
|
|
821
666
|
props: {
|
|
822
667
|
control: {},
|
|
@@ -829,104 +674,104 @@ var Ta = /*#__PURE__*/ t(Ca, [["render", wa], ["__scopeId", "data-v-99d7290f"]])
|
|
|
829
674
|
onRegisterValidation: { type: Function }
|
|
830
675
|
},
|
|
831
676
|
setup(e) {
|
|
832
|
-
window.Vue =
|
|
833
|
-
let t =
|
|
677
|
+
window.Vue = Ge, window.knimeJsonforms = Ti;
|
|
678
|
+
let t = Je("getKnimeService"), n = Je("shadowRoot"), { dynamicImport: r } = ha(), i = W(null), a = e, o = a.control.uischema.options?.rpcServiceName;
|
|
834
679
|
if (o) {
|
|
835
|
-
let e = new
|
|
680
|
+
let e = new st(t()), n = new Proxy({}, { get(t, n) {
|
|
836
681
|
return typeof n == "string" ? (...t) => e.data({
|
|
837
682
|
method: `${o}.${n}`,
|
|
838
683
|
options: t
|
|
839
684
|
}) : null;
|
|
840
685
|
} });
|
|
841
|
-
|
|
686
|
+
et("rpcService", n);
|
|
842
687
|
}
|
|
843
|
-
return
|
|
844
|
-
let e = a.control.uischema.options?.widgetResource, o = new
|
|
688
|
+
return Qe(async () => {
|
|
689
|
+
let e = a.control.uischema.options?.widgetResource, o = new ct(t()), s = await r(await o.getResourceUrl(`uiext/defaultdialog/customWidget/${e}`));
|
|
845
690
|
i.value = s, s.injectStyles && n && s.injectStyles(n);
|
|
846
|
-
}), (e, t) => i.value ? (
|
|
691
|
+
}), (e, t) => i.value ? (U(), z(rt(i.value.default), Ze(Ye({ key: 0 }, e.$props)), null, 16)) : Ke("", !0);
|
|
847
692
|
}
|
|
848
693
|
}),
|
|
849
|
-
tester:
|
|
850
|
-
},
|
|
851
|
-
control:
|
|
694
|
+
tester: x(N.default, L(I.custom))
|
|
695
|
+
}, _a = {
|
|
696
|
+
control: B(() => import("./DirtyTrackerRenderer-BePhAn76.js")),
|
|
852
697
|
name: "DirtyTrackerRenderer",
|
|
853
|
-
tester:
|
|
854
|
-
},
|
|
698
|
+
tester: x(N.default, L(I.dirtyTracker))
|
|
699
|
+
}, va = {
|
|
855
700
|
name: "DynamicInputControl",
|
|
856
|
-
control:
|
|
857
|
-
tester:
|
|
858
|
-
},
|
|
701
|
+
control: B(() => import("./useUpdates-Db1ELMwP.js").then((e) => e.n)),
|
|
702
|
+
tester: x(N.default, _e(ge, L(I.dynamicInput)))
|
|
703
|
+
}, ya = {
|
|
859
704
|
name: "LabeledGroup",
|
|
860
|
-
layout:
|
|
861
|
-
tester:
|
|
862
|
-
},
|
|
705
|
+
layout: B(() => import("./LabeledGroup-C4WOU_qE.js")),
|
|
706
|
+
tester: x(N.default, S("Group"))
|
|
707
|
+
}, ba = B(() => import("./LegacyCredentialsControl-CuFuBunJ.js")), xa = k()({
|
|
863
708
|
name: "LegacyCredentialsControl",
|
|
864
|
-
control:
|
|
865
|
-
tester:
|
|
866
|
-
}),
|
|
709
|
+
control: ba,
|
|
710
|
+
tester: x(N.default, L(I.legacyCredentials))
|
|
711
|
+
}), Sa = {
|
|
867
712
|
name: "MultiFileChooserControl",
|
|
868
|
-
control:
|
|
869
|
-
tester:
|
|
870
|
-
},
|
|
713
|
+
control: B(() => import("./MultiFileChooserControl-Buzeme6N.js")),
|
|
714
|
+
tester: x(N.default, L(I.multiFileChooser))
|
|
715
|
+
}, Ca = {
|
|
871
716
|
name: "MultiRuleWrapper",
|
|
872
|
-
layout:
|
|
873
|
-
tester:
|
|
874
|
-
},
|
|
717
|
+
layout: B(() => import("./MultiRuleWrapper-CjOrxgil.js")),
|
|
718
|
+
tester: x(N.default, S("MultiRuleWrapper"))
|
|
719
|
+
}, wa = B(() => import("./StringFileChooserControl-HEpT7Ip7.js")), Ta = k()({
|
|
875
720
|
name: "StringFileChooserControl",
|
|
876
|
-
control:
|
|
877
|
-
tester:
|
|
878
|
-
}),
|
|
721
|
+
control: wa,
|
|
722
|
+
tester: x(N.default, _e(ye, L(I.stringFileChooser)))
|
|
723
|
+
}), Ea = B(() => import("./VennDiagramLayout-BiBLF_be.js")), Da = S("VennDiagram"), Oa = {
|
|
879
724
|
name: "VennDiagramLayout",
|
|
880
|
-
renderer:
|
|
881
|
-
tester:
|
|
882
|
-
},
|
|
883
|
-
buttonRenderer:
|
|
884
|
-
codeEditorRenderer:
|
|
885
|
-
stringFileChooserRenderer:
|
|
886
|
-
fileChooserRenderer:
|
|
887
|
-
multiFileChooserRenderer:
|
|
888
|
-
customWidgetRenderer:
|
|
889
|
-
fileChooserForMultiFileRenderer:
|
|
890
|
-
dynamicInputRenderer:
|
|
891
|
-
credentialsRenderer:
|
|
892
|
-
legacyCredentialsRenderer:
|
|
893
|
-
elementCheckboxRenderer:
|
|
894
|
-
dirtyTrackerRenderer:
|
|
895
|
-
},
|
|
896
|
-
labeledGroupRenderer:
|
|
897
|
-
controlWithSubParametersRenderer:
|
|
898
|
-
multiRuleWrapperRenderer:
|
|
899
|
-
},
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
],
|
|
725
|
+
renderer: Ea,
|
|
726
|
+
tester: x(N.default, Da)
|
|
727
|
+
}, ka = {
|
|
728
|
+
buttonRenderer: oa,
|
|
729
|
+
codeEditorRenderer: ca,
|
|
730
|
+
stringFileChooserRenderer: Ta,
|
|
731
|
+
fileChooserRenderer: We,
|
|
732
|
+
multiFileChooserRenderer: Sa,
|
|
733
|
+
customWidgetRenderer: ga,
|
|
734
|
+
fileChooserForMultiFileRenderer: Ue,
|
|
735
|
+
dynamicInputRenderer: va,
|
|
736
|
+
credentialsRenderer: ma,
|
|
737
|
+
legacyCredentialsRenderer: xa,
|
|
738
|
+
elementCheckboxRenderer: Ve,
|
|
739
|
+
dirtyTrackerRenderer: _a
|
|
740
|
+
}, Aa = {
|
|
741
|
+
labeledGroupRenderer: ya,
|
|
742
|
+
controlWithSubParametersRenderer: fa,
|
|
743
|
+
multiRuleWrapperRenderer: Ca
|
|
744
|
+
}, ja = [
|
|
745
|
+
aa,
|
|
746
|
+
Oa,
|
|
747
|
+
da,
|
|
748
|
+
Be
|
|
749
|
+
], Ma = {
|
|
905
750
|
...Ce,
|
|
906
|
-
...
|
|
907
|
-
},
|
|
908
|
-
let n =
|
|
909
|
-
return n =
|
|
910
|
-
},
|
|
751
|
+
...ka
|
|
752
|
+
}, Na = ({ hasNodeView: e, showAdvancedSettings: t }) => {
|
|
753
|
+
let n = Ma;
|
|
754
|
+
return n = qi(A(w)(n)), n = Wi(n), n = A(ea(t))(n), e && (n = A(Yi)(n)), n;
|
|
755
|
+
}, Pa = {
|
|
911
756
|
...Te,
|
|
912
|
-
...
|
|
913
|
-
},
|
|
914
|
-
let t =
|
|
915
|
-
return t =
|
|
916
|
-
},
|
|
757
|
+
...Aa
|
|
758
|
+
}, Fa = ({ showAdvancedSettings: e }) => {
|
|
759
|
+
let t = Pa;
|
|
760
|
+
return t = T(P)(t), t = T(ta(e))(t), t;
|
|
761
|
+
}, Ia = (e = {
|
|
917
762
|
hasNodeView: !1,
|
|
918
763
|
showAdvancedSettings: !1,
|
|
919
764
|
performExternalValidation: () => Promise.resolve(null)
|
|
920
|
-
}) =>
|
|
921
|
-
renderers:
|
|
765
|
+
}) => ke({
|
|
766
|
+
renderers: ja.map(({ name: t, tester: n, renderer: r }) => ({
|
|
922
767
|
name: t,
|
|
923
768
|
tester: n,
|
|
924
|
-
renderer:
|
|
769
|
+
renderer: na(e.showAdvancedSettings)(r, we(r))
|
|
925
770
|
})),
|
|
926
|
-
controls: Object.values(
|
|
927
|
-
layouts: Object.values(
|
|
771
|
+
controls: Object.values(Na(e)),
|
|
772
|
+
layouts: Object.values(Fa(e)),
|
|
928
773
|
config: { performExternalValidation: e.performExternalValidation }
|
|
929
|
-
}),
|
|
774
|
+
}), La = class {
|
|
930
775
|
handlers = /* @__PURE__ */ new Map();
|
|
931
776
|
polling = !1;
|
|
932
777
|
stopRequested = !1;
|
|
@@ -951,7 +796,7 @@ var Ta = /*#__PURE__*/ t(Ca, [["render", wa], ["__scopeId", "data-v-99d7290f"]])
|
|
|
951
796
|
this.polling = !1;
|
|
952
797
|
}
|
|
953
798
|
}
|
|
954
|
-
},
|
|
799
|
+
}, Ra = /*#__PURE__*/ t(/* @__PURE__ */ V({
|
|
955
800
|
__name: "NodeDialogCore",
|
|
956
801
|
props: {
|
|
957
802
|
initialData: {},
|
|
@@ -966,148 +811,148 @@ var Ta = /*#__PURE__*/ t(Ca, [["render", wa], ["__scopeId", "data-v-99d7290f"]])
|
|
|
966
811
|
"set-controls-visibility"
|
|
967
812
|
],
|
|
968
813
|
setup(e, { expose: t, emit: n }) {
|
|
969
|
-
let r = e,
|
|
970
|
-
data:
|
|
971
|
-
flowVariableSettings:
|
|
972
|
-
}),
|
|
814
|
+
let r = e, o = n, { setCurrentData: s, setInitialData: c, getCurrentData: d, getInitialValue: f } = Ei(), p = l(), m = () => ({
|
|
815
|
+
data: d(),
|
|
816
|
+
flowVariableSettings: p
|
|
817
|
+
}), h = () => o("publishData", d()), ne = (e) => o("alert", e), g = (e) => ne({
|
|
973
818
|
message: e.message,
|
|
974
819
|
type: e.type === "error" ? "error" : "warn",
|
|
975
820
|
details: e.details
|
|
976
|
-
}),
|
|
977
|
-
let r =
|
|
821
|
+
}), _ = {}, { addStateProviderListener: re, callStateProviderListener: ie, callStateProviderListenerByIndices: v } = Ri(), { registerWatcher: ae, updateData: y, updateDataMultiplePaths: oe } = Ai(_), b = r.callRpcMethod, se = async ({ transformSettings: e, init: t, dependencies: n }) => {
|
|
822
|
+
let r = ae({
|
|
978
823
|
transformSettings: () => async (t) => {
|
|
979
824
|
let n = await e(t);
|
|
980
825
|
return (e) => (n?.(e), e);
|
|
981
826
|
},
|
|
982
827
|
dependencies: n
|
|
983
828
|
});
|
|
984
|
-
return typeof t == "function" && await t(
|
|
985
|
-
},
|
|
829
|
+
return typeof t == "function" && await t(d()), r;
|
|
830
|
+
}, ce = (e) => y(e, d()), ue = (e) => oe(e, d()), { registerTrigger: de, getTriggerCallback: fe, getTriggerIsActiveCallback: me } = zi(), x = async (e) => (await e(d()))(d()), S = (e) => x(fe(e)), he = (e, t) => S(e).then(() => t?.()), ge = (e) => me(e)(d()), _e = W(null), ve = () => _e.value ?? {}, ye = (e) => ee({
|
|
986
831
|
path: e,
|
|
987
|
-
persistSchema:
|
|
988
|
-
}).flatMap(({ configPath: e, deprecatedConfigPaths: t }) => [...e === null ? [] : [e], ...t ?? []]).map((e) => !!
|
|
989
|
-
|
|
990
|
-
}, { registerUpdates: be, resolveUpdateResults: xe } =
|
|
991
|
-
callStateProviderListener:
|
|
992
|
-
callStateProviderListenerByIndices:
|
|
993
|
-
registerTrigger:
|
|
994
|
-
registerWatcher:
|
|
995
|
-
updateData:
|
|
996
|
-
sendAlert:
|
|
997
|
-
pathIsControlledByFlowVariable:
|
|
998
|
-
setValueAtPath:
|
|
999
|
-
globalArrayIdsRecord:
|
|
1000
|
-
callDataService:
|
|
1001
|
-
}), Se = (e, t) => xe(e,
|
|
832
|
+
persistSchema: ve()
|
|
833
|
+
}).flatMap(({ configPath: e, deprecatedConfigPaths: t }) => [...e === null ? [] : [e], ...t ?? []]).map((e) => !!p[e]?.controllingFlowVariableName).includes(!0), C = W(null), w = async (e, t) => {
|
|
834
|
+
C.value ? await C.value?.updateData?.(e, t) : (le(d(), e, t), h());
|
|
835
|
+
}, { registerUpdates: be, resolveUpdateResults: xe } = pe({
|
|
836
|
+
callStateProviderListener: ie,
|
|
837
|
+
callStateProviderListenerByIndices: v,
|
|
838
|
+
registerTrigger: de,
|
|
839
|
+
registerWatcher: ae,
|
|
840
|
+
updateData: ue,
|
|
841
|
+
sendAlert: ne,
|
|
842
|
+
pathIsControlledByFlowVariable: ye,
|
|
843
|
+
setValueAtPath: w,
|
|
844
|
+
globalArrayIdsRecord: _,
|
|
845
|
+
callDataService: b
|
|
846
|
+
}), Se = (e, t) => xe(e, d(), [], t), Ce = (e, t) => {
|
|
1002
847
|
let n = be(e, t);
|
|
1003
|
-
n &&
|
|
1004
|
-
|
|
848
|
+
n && Xe(() => {
|
|
849
|
+
x(n);
|
|
1005
850
|
});
|
|
1006
851
|
}, we = ({ settingsIdContext: e, updates: t }) => {
|
|
1007
852
|
Se(t.initialUpdates ?? [], e), Ce(t.globalUpdates ?? [], e);
|
|
1008
|
-
}, { setRegisterSettingsMethod: Te } =
|
|
1009
|
-
|
|
1010
|
-
},
|
|
1011
|
-
e[t].controllingFlowVariableName && (
|
|
1012
|
-
}), e),
|
|
1013
|
-
let n = (t) => e.includes(t), { data: r, flowVariableSettings:
|
|
1014
|
-
[...
|
|
1015
|
-
n(e) || delete
|
|
853
|
+
}, { setRegisterSettingsMethod: Te } = u(), Ee = ({ isExpanded: e }) => {
|
|
854
|
+
o("set-controls-visibility", !e);
|
|
855
|
+
}, T = W(!1), E = W(/* @__PURE__ */ new Set()), D = W(/* @__PURE__ */ new Set()), De = W(null), O = W(null), k = (e) => a(b, e, m()), Oe = ({ flowVariableSettings: e }) => (Object.keys(e).forEach((t) => {
|
|
856
|
+
e[t].controllingFlowVariableName && (D.value.add(t), delete e[t].controllingFlowVariableFlawed);
|
|
857
|
+
}), e), ke = async (e, t) => {
|
|
858
|
+
let n = (t) => e.includes(t), { data: r, flowVariableSettings: a } = wi(m());
|
|
859
|
+
[...E.value, ...D.value].forEach((e) => {
|
|
860
|
+
n(e) || delete a[e];
|
|
1016
861
|
});
|
|
1017
|
-
let
|
|
862
|
+
let o = await i(b, t, {
|
|
1018
863
|
data: r,
|
|
1019
|
-
flowVariableSettings:
|
|
1020
|
-
}),
|
|
1021
|
-
return e.filter((e) =>
|
|
1022
|
-
let t =
|
|
1023
|
-
|
|
1024
|
-
}),
|
|
1025
|
-
},
|
|
1026
|
-
|
|
1027
|
-
},
|
|
864
|
+
flowVariableSettings: a
|
|
865
|
+
}), s = o !== void 0;
|
|
866
|
+
return e.filter((e) => p[e]).forEach((e) => {
|
|
867
|
+
let t = p[e];
|
|
868
|
+
s ? delete t.controllingFlowVariableFlawed : t.controllingFlowVariableFlawed = !0, E.value[s ? "delete" : "add"](e), D.value.delete(e);
|
|
869
|
+
}), o;
|
|
870
|
+
}, Ae = (e) => {
|
|
871
|
+
E.value.delete(e), D.value.delete(e);
|
|
872
|
+
}, je = async (e, t) => (await b({
|
|
1028
873
|
method: "settings.performExternalValidation",
|
|
1029
874
|
options: [e, t]
|
|
1030
|
-
})).result || null,
|
|
875
|
+
})).result || null, A = async (e, t) => (await b({
|
|
1031
876
|
method: "settings.performCustomValidation",
|
|
1032
877
|
options: [e, t]
|
|
1033
|
-
})).result || null,
|
|
1034
|
-
e && (
|
|
1035
|
-
},
|
|
1036
|
-
|
|
1037
|
-
},
|
|
1038
|
-
t ?
|
|
1039
|
-
},
|
|
1040
|
-
|
|
1041
|
-
|
|
878
|
+
})).result || null, j = ({ data: e }) => {
|
|
879
|
+
e && (s(e), h());
|
|
880
|
+
}, Me = () => {
|
|
881
|
+
T.value = !T.value;
|
|
882
|
+
}, M = tt(/* @__PURE__ */ new Set()), N = (e, t) => {
|
|
883
|
+
t ? M.add(e) : M.delete(e);
|
|
884
|
+
}, Pe = R(() => O.value ? M.size > 0 || ze(O.value) : !1), Fe = W(null), P = W(!1);
|
|
885
|
+
Qe(() => {
|
|
886
|
+
De.value = r.initialData.schema, O.value = r.initialData.ui_schema, c(wi(r.initialData.data)), Oe({ flowVariableSettings: p }), s(r.initialData.data), Te(r.registerSettings), _e.value = r.initialData.persist, Ce(r.initialData.globalUpdates ?? []), Se(r.initialData.initialUpdates ?? []), Fe.value = Ia({
|
|
1042
887
|
hasNodeView: r.hasNodeView,
|
|
1043
|
-
showAdvancedSettings:
|
|
1044
|
-
performExternalValidation:
|
|
1045
|
-
}),
|
|
888
|
+
showAdvancedSettings: T,
|
|
889
|
+
performExternalValidation: je
|
|
890
|
+
}), P.value = !0;
|
|
1046
891
|
});
|
|
1047
|
-
let
|
|
1048
|
-
isTriggerActive:
|
|
1049
|
-
registerWatcher:
|
|
1050
|
-
getData:
|
|
892
|
+
let F = W(null), Ie = new La(b), Re = {
|
|
893
|
+
isTriggerActive: ge,
|
|
894
|
+
registerWatcher: se,
|
|
895
|
+
getData: b,
|
|
1051
896
|
applyData: r.callApplyData,
|
|
1052
897
|
flowVariablesApi: {
|
|
1053
|
-
getAvailableFlowVariables:
|
|
1054
|
-
getFlowVariableOverrideValue:
|
|
1055
|
-
clearControllingFlowVariable:
|
|
898
|
+
getAvailableFlowVariables: k,
|
|
899
|
+
getFlowVariableOverrideValue: ke,
|
|
900
|
+
clearControllingFlowVariable: Ae
|
|
1056
901
|
},
|
|
1057
|
-
getPersistSchema:
|
|
1058
|
-
createArrayAtPath: (e) =>
|
|
1059
|
-
getDialogPopoverTeleportDest: () =>
|
|
902
|
+
getPersistSchema: ve,
|
|
903
|
+
createArrayAtPath: (e) => Le(_, e),
|
|
904
|
+
getDialogPopoverTeleportDest: () => F.value,
|
|
1060
905
|
setSubPanelExpanded: Ee,
|
|
1061
|
-
updateData:
|
|
1062
|
-
getInitialValue:
|
|
906
|
+
updateData: ce,
|
|
907
|
+
getInitialValue: f,
|
|
1063
908
|
processUpdates: we,
|
|
1064
|
-
setAdvancedDynamicParameters:
|
|
1065
|
-
lspEventDispatcher:
|
|
909
|
+
setAdvancedDynamicParameters: N,
|
|
910
|
+
lspEventDispatcher: Ie
|
|
1066
911
|
};
|
|
1067
|
-
return Object.entries(
|
|
1068
|
-
|
|
912
|
+
return Object.entries(Re).forEach(([e, t]) => {
|
|
913
|
+
et(e, t);
|
|
1069
914
|
}), t({
|
|
1070
|
-
...
|
|
1071
|
-
setCurrentData:
|
|
1072
|
-
getCurrentData:
|
|
1073
|
-
sendAlert:
|
|
1074
|
-
schema:
|
|
1075
|
-
getAvailableFlowVariables:
|
|
1076
|
-
getFlowVariableOverrideValue:
|
|
1077
|
-
trigger:
|
|
1078
|
-
addStateProviderListener:
|
|
1079
|
-
flawedControllingVariablePaths:
|
|
1080
|
-
possiblyFlawedControllingVariablePaths:
|
|
1081
|
-
getDataAndFlowVariableSettings:
|
|
1082
|
-
setValueAtPath:
|
|
1083
|
-
}), (e, t) =>
|
|
915
|
+
...Re,
|
|
916
|
+
setCurrentData: s,
|
|
917
|
+
getCurrentData: d,
|
|
918
|
+
sendAlert: ne,
|
|
919
|
+
schema: De,
|
|
920
|
+
getAvailableFlowVariables: k,
|
|
921
|
+
getFlowVariableOverrideValue: ke,
|
|
922
|
+
trigger: S,
|
|
923
|
+
addStateProviderListener: re,
|
|
924
|
+
flawedControllingVariablePaths: E,
|
|
925
|
+
possiblyFlawedControllingVariablePaths: D,
|
|
926
|
+
getDataAndFlowVariableSettings: m,
|
|
927
|
+
setValueAtPath: w
|
|
928
|
+
}), (e, t) => P.value ? (U(), z(G(Ne), {
|
|
1084
929
|
key: 0,
|
|
1085
930
|
ref_key: "jsonforms",
|
|
1086
|
-
ref:
|
|
1087
|
-
data:
|
|
1088
|
-
ready:
|
|
1089
|
-
schema:
|
|
1090
|
-
uischema:
|
|
1091
|
-
renderers:
|
|
1092
|
-
validate:
|
|
1093
|
-
onChange:
|
|
1094
|
-
onAlert:
|
|
1095
|
-
onTrigger:
|
|
1096
|
-
onUpdateData:
|
|
1097
|
-
onStateProviderListener:
|
|
931
|
+
ref: C,
|
|
932
|
+
data: G(d)(),
|
|
933
|
+
ready: P.value,
|
|
934
|
+
schema: De.value,
|
|
935
|
+
uischema: O.value,
|
|
936
|
+
renderers: Fe.value,
|
|
937
|
+
validate: A,
|
|
938
|
+
onChange: j,
|
|
939
|
+
onAlert: g,
|
|
940
|
+
onTrigger: he,
|
|
941
|
+
onUpdateData: ce,
|
|
942
|
+
onStateProviderListener: G(re)
|
|
1098
943
|
}, {
|
|
1099
|
-
top:
|
|
944
|
+
top: it(() => [qe("div", {
|
|
1100
945
|
ref_key: "dialogPopoverTeleportDest",
|
|
1101
|
-
ref:
|
|
946
|
+
ref: F,
|
|
1102
947
|
class: "popover-container"
|
|
1103
948
|
}, null, 512)]),
|
|
1104
|
-
bottom:
|
|
949
|
+
bottom: it(() => [Pe.value ? (U(), z(G(te), {
|
|
1105
950
|
key: 0,
|
|
1106
951
|
class: "advanced-options",
|
|
1107
952
|
to: "#",
|
|
1108
|
-
label: `${
|
|
1109
|
-
onClick:
|
|
1110
|
-
}, null, 8, ["label"])) :
|
|
953
|
+
label: `${T.value ? "Hide" : "Show"} advanced settings`,
|
|
954
|
+
onClick: at(Me, ["prevent"])
|
|
955
|
+
}, null, 8, ["label"])) : Ke("", !0)]),
|
|
1111
956
|
_: 1
|
|
1112
957
|
}, 8, [
|
|
1113
958
|
"data",
|
|
@@ -1116,47 +961,24 @@ var Ta = /*#__PURE__*/ t(Ca, [["render", wa], ["__scopeId", "data-v-99d7290f"]])
|
|
|
1116
961
|
"uischema",
|
|
1117
962
|
"renderers",
|
|
1118
963
|
"onStateProviderListener"
|
|
1119
|
-
])) :
|
|
964
|
+
])) : Ke("", !0);
|
|
1120
965
|
}
|
|
1121
|
-
}), [["__scopeId", "data-v-3d82e367"]]),
|
|
1122
|
-
let { flowVariablesMap: n, setInitialFlowVariablesMap: r } = Le(), i = () => ({
|
|
1123
|
-
data: t(),
|
|
1124
|
-
flowVariableSettings: n
|
|
1125
|
-
});
|
|
1126
|
-
return ut("flowVariablesApi", {
|
|
1127
|
-
getAvailableFlowVariables: (t) => Bi(e, t, i()),
|
|
1128
|
-
getFlowVariableOverrideValue: (t, n) => Vi(e, n, i()),
|
|
1129
|
-
clearControllingFlowVariable: () => {}
|
|
1130
|
-
}), {
|
|
1131
|
-
flowVariablesMap: n,
|
|
1132
|
-
setInitialFlowVariablesMap: r
|
|
1133
|
-
};
|
|
1134
|
-
}, mo = /* @__PURE__ */ H({
|
|
966
|
+
}), [["__scopeId", "data-v-3d82e367"]]), za = /* @__PURE__ */ V({
|
|
1135
967
|
__name: "NodeParametersPanel",
|
|
1136
968
|
setup(e, { expose: t }) {
|
|
1137
|
-
let i = n(), a =
|
|
1138
|
-
|
|
1139
|
-
type: "error",
|
|
1140
|
-
message: "Settings initial data is undefined"
|
|
1141
|
-
}), t({
|
|
969
|
+
let i = n(), a = s(), o = W(null), c = i.callRpcMethod.bind(i), l = a.getSettingsInitialData();
|
|
970
|
+
return t({
|
|
1142
971
|
getDataAndFlowVariableSettings: () => o.value?.getDataAndFlowVariableSettings(),
|
|
1143
972
|
setValueAtPath: (e, t) => o.value?.setValueAtPath?.(e, t) ?? Promise.resolve(),
|
|
1144
973
|
updateData: (e) => o.value?.updateData?.(e)
|
|
1145
|
-
})
|
|
1146
|
-
let { setInitialFlowVariablesMap: l } = po({
|
|
1147
|
-
callRpcMethod: s,
|
|
1148
|
-
getCurrentData: () => o.value?.getCurrentData() ?? {}
|
|
1149
|
-
});
|
|
1150
|
-
return lt(() => {
|
|
1151
|
-
l(c.flowVariableSettings);
|
|
1152
|
-
}), (e, t) => (W(), L(fo, {
|
|
974
|
+
}), r(() => o.value?.getCurrentData() ?? l.data), $e(() => r(null)), (e, t) => (U(), z(Ra, {
|
|
1153
975
|
ref_key: "coreComponent",
|
|
1154
976
|
ref: o,
|
|
1155
|
-
"initial-data":
|
|
977
|
+
"initial-data": G(l),
|
|
1156
978
|
"has-node-view": !1,
|
|
1157
|
-
"call-rpc-method":
|
|
1158
|
-
"register-settings":
|
|
1159
|
-
onAlert: t[0] ||= (e) =>
|
|
979
|
+
"call-rpc-method": G(c),
|
|
980
|
+
"register-settings": G(a).registerSettings.bind(G(a)),
|
|
981
|
+
onAlert: t[0] ||= (e) => G(i).sendAlert.bind(G(i))
|
|
1160
982
|
}, null, 8, [
|
|
1161
983
|
"initial-data",
|
|
1162
984
|
"call-rpc-method",
|
|
@@ -1165,4 +987,4 @@ var Ta = /*#__PURE__*/ t(Ca, [["render", wa], ["__scopeId", "data-v-99d7290f"]])
|
|
|
1165
987
|
}
|
|
1166
988
|
});
|
|
1167
989
|
//#endregion
|
|
1168
|
-
export {
|
|
990
|
+
export { za as NodeParametersPanel };
|