@knime/scripting-editor 0.0.127 → 0.0.129
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-C0gjxeQW-C5wsbDLK.js → AnyOfTwinlist-Chx0nmt3-DPMbiVZd.js} +5 -4
- package/dist/{ArrayLayout-U4hs5LA_.js → ArrayLayout-C2-4wxkT.js} +39 -39
- package/dist/{ButtonControl-B8WGWs_m.js → ButtonControl-Dga3IomB.js} +26 -26
- package/dist/CheckboxControl-B8b1Di4k-CEkOsWEu.js +40 -0
- package/dist/CheckboxesControl-DWUnPGdN-BOSX_stf.js +42 -0
- package/dist/CodeEditorControl-CN4ltMvy.js +133 -0
- package/dist/{ColorControl-DeSwgyjS-BW1FBjqa.js → ColorControl-ByE5ku7u-C12pZ0rg.js} +10 -8
- package/dist/ColorPreviewControl-XiKZ4jfn-CLIjX6M_.js +89 -0
- package/dist/ComboBoxControl-zSceYlyZ-BgpAi7q9.js +42 -0
- package/dist/{ConfigurationNodeNotSupported-Bg2W0ik5.js → ConfigurationNodeNotSupported-B27grebd.js} +3 -3
- package/dist/ControlWithSubParameters-ROJGaqDF.js +63 -0
- package/dist/CredentialsControl-B6jczlBv.js +33 -0
- package/dist/CredentialsControlBase-CdNdAngd.js +96 -0
- package/dist/DateControl-BBGpEVpr-yZP_TZnE.js +44 -0
- package/dist/DateTimeControl-CymOURq5-Ca0mT1HW.js +89 -0
- package/dist/DateTimeFormatPickerControl-Bx19jwpr-Bd0xBs4D.js +37 -0
- package/dist/DateTimeFormatPickerWithTypeControl-Byo_0cTq-C0ZfMqtp.js +598 -0
- package/dist/{DialogFileExplorer-Bi0DVFut.js → DialogFileExplorer-BmT2YlVn.js} +2 -2
- package/dist/{DirtyTrackerRenderer-CDcL-lwX.js → DirtyTrackerRenderer-BG451zZD.js} +10 -10
- package/dist/DropdownControl-C6ffVYyf-hy0i8nDV.js +32 -0
- package/dist/DynamicInputControl-W23Zexge.js +6 -0
- package/dist/ExecutorCoresControl-D9FZ-g9O-Dws9IhAs.js +51 -0
- package/dist/ExecutorMemoryControl-__P80Lkb-DxQZ2IuA.js +44 -0
- package/dist/{FileChooserControl-BR84kEXy.js → FileChooserControl-BBbay7zU.js} +4 -3
- package/dist/{FileChooserControlBase-1oayQJzv.js → FileChooserControlBase-DpYYK3eE.js} +147 -143
- package/dist/{FileChooserControlForMultiFile-ChQtkmps.js → FileChooserControlForMultiFile-6NLYZKbt.js} +5 -4
- package/dist/FileUploadControl-DWs4PhOj-BvByW-Tq.js +545 -0
- package/dist/GridSelectionControl-WcJ4y6Fs-BoxSk0VG.js +117 -0
- package/dist/{HorizontalLayout-DwdPdBTW-w5bjgNga.js → HorizontalLayout-ByB5A7X3-BURAMMFG.js} +5 -5
- package/dist/{IntegerControl-D8OzxbRA-D9mR5ahj.js → IntegerControl-aveswmbr-50_b6vGY.js} +5 -4
- package/dist/IntervalControl-B4Eqs1Jf-CiB2D52B.js +51 -0
- package/dist/{LabeledGroup-BzXUTco4.js → LabeledGroup-BONZ_GLo.js} +3 -3
- package/dist/LegacyCredentialsControl-DaIrvNBd.js +88 -0
- package/dist/{LinkControl-BvBBTFCs-DojlONSA.js → LinkControl-DD56lOiw-CDy6OBu8.js} +10 -10
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-BLSG6Lpo-CtYj2B6v.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-CscatDmg-BaroyBA0.js} +1 -1
- package/dist/ManualTwinlistControl-DBZ5RZgW-BV5qOGau.js +77 -0
- package/dist/MultiFileChooserControl-cyndOpF7.js +341 -0
- package/dist/{MultiRuleWrapper-TvQw5Kaj.js → MultiRuleWrapper-Db-W_o1f.js} +1 -1
- package/dist/{MultiSelectListBoxControl-nmvLP18g-feO16jJ4.js → MultiSelectListBoxControl-BMsPvxGQ-5ua-fVR8.js} +10 -9
- package/dist/{MultimodeTwinlistControl-yCdeWH2E-DG6GXu0l.js → MultimodeTwinlistControl-thO1be1r-8kc-JSH1.js} +64 -62
- package/dist/{NameFilter-D1TMJydD-Db00pnR3.js → NameFilter-DBMVmZmk-DnB-5f39.js} +7 -6
- package/dist/{NumberControl-uLMOLEbg-B_H33dGY.js → NumberControl-BPVO5l6t--nrQcx4m.js} +8 -7
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-CR61f6d6-Df5EPyns.js +54 -0
- package/dist/OneOfDropdown-DBG8ZcpV-cZs_ptrT.js +36 -0
- package/dist/{RadioButtonsWithDescriptionControl-5M_6G7Qk-BHHWv0Y0.js → RadioButtonsWithDescriptionControl-BsqMTEB5-COGPhNPs.js} +17 -17
- package/dist/RadioControl-ClJmr0EQ-BzjoXaZ3.js +21 -0
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-Bm4EUEvw-Cabfycg_.js +64 -0
- package/dist/ResourceControlBase-CeXYJeR1-DSmxhV0s.js +113 -0
- package/dist/{RichTextControl-D9QD2_uO-OY669heQ.js → RichTextControl-DvYkBpzH-CtMZq2re.js} +7876 -6699
- package/dist/{SectionLayout-DY27pAtG-BIZg0kiA.js → SectionLayout-CwRO3UXc-d5rFpCRN.js} +5 -5
- package/dist/SettingsSubPanelLayout-CV6y2bcX-OzpF07vB.js +64 -0
- package/dist/{SimpleTwinlistControl-P4KEYOq0-97VRLEr4.js → SimpleTwinlistControl-BSON5VYy-BaAaU86G.js} +7 -6
- package/dist/SingleSelectControl-BSqORMYm-CBP_mVGB.js +58 -0
- package/dist/{SingleSelectListBoxControl-oMWH0vEE-Ewf1HUGa.js → SingleSelectListBoxControl-CFdKzbOK-CruT9yt-.js} +14 -13
- package/dist/{SortListControl-4v3T2j_9-BkTlN-H5.js → SortListControl-DZIHeQmn-CKRyT1hN.js} +41 -39
- package/dist/{StringFileChooserControl-BVH5iHNM.js → StringFileChooserControl-Br8gZTku.js} +33 -30
- package/dist/{StyledListItem-D3LSfgGV-B9rTS8WT.js → StyledListItem--sgmJ3W_-Bo6f-_9B.js} +1 -1
- package/dist/{TeamAndSpacesControl-CH5ImByy-aTqgKpBn.js → TeamAndSpacesControl-DiMyDT-5-Br-Lq0ki.js} +21 -20
- package/dist/TeamResourceControl-Bag_dwA1-PdtnhxEi.js +44 -0
- package/dist/{TextAreaControl-CrsZSU_f-CNj59YPm.js → TextAreaControl-B52P0DAa-McfOgZWn.js} +10 -8
- package/dist/TextControl-52n-sttB-DssWw4KP.js +50962 -0
- package/dist/TimeControl-Cu12_qpz-CK1bxhya.js +71 -0
- package/dist/TimeframesControl-DhdC8OS1-DYseJbBV.js +352 -0
- package/dist/TwinlistControlBase.vue_vue_type_script_setup_true_lang-t1I2qxJz-DU6yd1RM.js +45 -0
- package/dist/{TypedStringFilter-ry7fTUTx-CCJRabai.js → TypedStringFilter-zJOICQei-B-5z8atp.js} +7 -6
- package/dist/{ValueSwitchControl-aVx7pUi9-7kuEbp3H.js → ValueSwitchControl-CEVWJH7z-DzuxqLvy.js} +7 -6
- package/dist/{VennDiagramLayout-D8s5yYbT.js → VennDiagramLayout-DyTZ5EJ9.js} +24 -24
- package/dist/{VerticalLayout-Bv-LJOZ0-BTrnMnQu.js → VerticalLayout-D_13xb_m-BfU1M3IE.js} +7 -7
- package/dist/ZonedDateTimeControl-C-vO6fC1-XngmuFqW.js +82 -0
- package/dist/{ai-bar-DLr5A9ZW.js → ai-bar-DDtzX23v.js} +775 -732
- package/dist/classApi-CHpAZrj3-BptMrhKH.js +3328 -0
- package/dist/collection-BBXRVj4b-DhO8c3tP.js +22 -0
- package/dist/collection-BBXRVj4b-DzRZ2FYd-COyFmQqa.js +22 -0
- package/dist/collection-BBXRVj4b-grENCIdl.js +22 -0
- package/dist/main.js +9977 -13304
- package/dist/parameters.js +1 -1
- package/dist/plainDateTimeUtils-CR0UhpkD-DU-LM4_V.js +52 -0
- package/dist/src/components/ScriptingEditor.vue.d.ts +6 -4
- package/dist/src/components/SettingsPage.vue.d.ts +5 -4
- package/dist/src/scripting-service.d.ts +1 -1
- package/dist/useDropdownNavigation-CdrbT-CQ-Dxb_y1Fq.js +2003 -0
- package/dist/{useFileChooserBackend-Bs7hx7xH.js → useFileChooserBackend-CLdJ1RU1.js} +6 -6
- package/dist/usePlainDateTimeBatch-Bd2G-GY9-DO2Zu0Mj.js +34 -0
- package/dist/{usePossibleValues-B-W6u-1T-DcglK6MY.js → usePossibleValues-DiYOmnZW-CaSLjdK-.js} +4 -4
- package/package.json +3 -3
- package/dist/CheckboxControl-CS6iXHnF-DLCN_obF.js +0 -38
- package/dist/CheckboxesControl-CPKIkyWt-BgPFZcJW.js +0 -40
- package/dist/CodeEditorControl-DM7k0B2q.js +0 -103
- package/dist/ColorPreviewControl-CntI0nTL-qVTX4e1m.js +0 -89
- package/dist/ComboBoxControl-DBYnBkC4-1oOLCCms.js +0 -40
- package/dist/ControlWithSubParameters-DgJhqCMe.js +0 -80
- package/dist/CredentialsControl-CuHgBJQY.js +0 -32
- package/dist/CredentialsControlBase-14mA9Xg5.js +0 -96
- package/dist/DateControl-Cx_CwvNB-Cnu4FwAv.js +0 -35
- package/dist/DateTimeControl-BJsDzufC-BLhNM1JR.js +0 -56
- package/dist/DateTimeFormatPickerControl-C80v1qfK-0bjg1c9X.js +0 -35
- package/dist/DateTimeFormatPickerWithTypeControl-Dt-FKtYV-x-IJKc_b.js +0 -475
- package/dist/DropdownControl-D_BnA4-1-BWnnlfiI.js +0 -30
- package/dist/DynamicInputControl-u5VOv3zx.js +0 -6
- package/dist/ExecutorCoresControl-BnglyGMR-CagN3N5j.js +0 -56
- package/dist/ExecutorMemoryControl-CRATGs9C-Dsj7vG41.js +0 -50
- package/dist/FileUploadControl-D42rjpJg-DIoT6HeI.js +0 -221
- package/dist/GridSelectionControl-BJk8-yiM-CvDVlby0.js +0 -116
- package/dist/IntervalControl-Drljrv-b-WpTsaCtp.js +0 -751
- package/dist/LegacyCredentialsControl-C5OmuHPe.js +0 -87
- package/dist/ManualTwinlistControl-By0Hur_m-zZbz98JO.js +0 -75
- package/dist/MultiFileChooserControl-BDBYwcSY.js +0 -401
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-VVQDBYw7-FEqHVnFo.js +0 -52
- package/dist/OneOfDropdown-CDwwxb3h-DAK0CMDe.js +0 -34
- package/dist/RadioControl-C73s-icb-DSF6WESw.js +0 -24
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-BScekfhl-oNoT_40f.js +0 -60
- package/dist/ResourceControlBase-Bqq1PAX_-5gNwtS9Y.js +0 -183
- package/dist/SettingsSubPanelLayout-82gMWhpv-DwWBU76p.js +0 -70
- package/dist/SingleSelectControl-C_ZKkV5m-nfkmmDbp.js +0 -56
- package/dist/TeamResourceControl-BFMuyWnk-DvcyxCqW.js +0 -47
- package/dist/TextControl-B0ag-3Pv-nwKlVRtp.js +0 -54671
- package/dist/TimeControl-Bt5OcjBc-KiaYQH-m.js +0 -41
- package/dist/TimePartInput-CvwAzDuY-CuNpUUqj.js +0 -253
- package/dist/TimeframesControl-BE3LFgyl-hQJ_5QVJ.js +0 -94
- package/dist/Tooltip-UlemzxdS-Dfhzj7no.js +0 -24
- package/dist/TwinlistControlBase.vue_vue_type_script_setup_true_lang-B5lCsIOD-KqyVUaZj.js +0 -42
- package/dist/ValueSwitch-BXaDBm2C-Ba93O_aZ.js +0 -130
- package/dist/ZonedDateTimeControl-6MUvXzd3-B1B9FPa7.js +0 -72
- package/dist/_Uint8Array-C_ozLuQF-DBc0hZkr.js +0 -349
- package/dist/arrow-dropdown-DMFBPPcK-uCJYJfqE.js +0 -17
- package/dist/arrow-next-BQULX8HT-DDsCfA5A.js +0 -17
- package/dist/floating-ui.vue-Fx4CxKut-DAsMxBCU.js +0 -1057
- package/dist/isArray-WzO_os3q-ClnPWjBY.js +0 -4
- package/dist/localTimeUtils-DBMwKtLh-CTshgG3l.js +0 -12470
- package/dist/src/lsp/completion.d.ts +0 -7
- package/dist/src/lsp/connection.d.ts +0 -56
- package/dist/src/lsp/diagnostics.d.ts +0 -4
- package/dist/src/lsp/doc-sync.d.ts +0 -5
- package/dist/src/lsp/hover.d.ts +0 -5
- package/dist/src/lsp/knime-io.d.ts +0 -22
- package/dist/src/lsp/mapping-utils.d.ts +0 -8
- package/dist/src/lsp/signature-help.d.ts +0 -5
- package/dist/toString-C-CNeuJl-jseUiiTM.js +0 -949
- package/dist/useDropdownNavigation-2Yhk7zes-75raAHpT.js +0 -821
- /package/dist/{useUnknownValuesInTwinlist-BbwGcno5-D2ve7iXH.js → useUnknownValuesInTwinlist-BhhirtmX-D2ve7iXH.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as o, createBlock as n, openBlock as t, mergeProps as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as o, createBlock as n, openBlock as t, mergeProps as r } from "vue";
|
|
2
|
+
import { V as p } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-CR61f6d6-Df5EPyns.js";
|
|
3
3
|
const c = /* @__PURE__ */ o({
|
|
4
4
|
__name: "IntegerControl",
|
|
5
5
|
props: {
|
|
@@ -7,12 +7,13 @@ const c = /* @__PURE__ */ o({
|
|
|
7
7
|
handleChange: { type: Function },
|
|
8
8
|
changeValue: { type: Function },
|
|
9
9
|
disabled: { type: Boolean },
|
|
10
|
-
|
|
10
|
+
error: { type: Boolean },
|
|
11
|
+
subText: {},
|
|
11
12
|
onRegisterValidation: { type: Function },
|
|
12
13
|
labelForId: {}
|
|
13
14
|
},
|
|
14
15
|
setup(l) {
|
|
15
|
-
return (e, a) => (t(), n(
|
|
16
|
+
return (e, a) => (t(), n(p, r(e.$props, { type: "integer" }), null, 16));
|
|
16
17
|
}
|
|
17
18
|
});
|
|
18
19
|
export {
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { defineComponent as p, computed as r, createBlock as b, openBlock as f, unref as l } from "vue";
|
|
2
|
+
import { t as n, Q as g } from "./TextControl-52n-sttB-DssWw4KP.js";
|
|
3
|
+
import { D as v } from "./classApi-CHpAZrj3-BptMrhKH.js";
|
|
4
|
+
const F = /* @__PURE__ */ p({
|
|
5
|
+
__name: "IntervalControl",
|
|
6
|
+
props: {
|
|
7
|
+
control: {},
|
|
8
|
+
handleChange: { type: Function },
|
|
9
|
+
changeValue: { type: Function },
|
|
10
|
+
disabled: { type: Boolean },
|
|
11
|
+
error: { type: Boolean },
|
|
12
|
+
subText: {},
|
|
13
|
+
onRegisterValidation: { type: Function },
|
|
14
|
+
labelForId: {}
|
|
15
|
+
},
|
|
16
|
+
setup(t) {
|
|
17
|
+
const o = t, a = r(
|
|
18
|
+
() => o.control.uischema
|
|
19
|
+
), u = n(
|
|
20
|
+
a,
|
|
21
|
+
"intervalType",
|
|
22
|
+
"DATE_OR_TIME"
|
|
23
|
+
), d = r(() => u.value.toLowerCase()), i = n(a, "allowDescending", !0), s = (e) => {
|
|
24
|
+
if (!e)
|
|
25
|
+
return null;
|
|
26
|
+
try {
|
|
27
|
+
return v.Duration.from(e);
|
|
28
|
+
} catch {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
}, c = r(
|
|
32
|
+
() => s(o.control.data)
|
|
33
|
+
), m = (e) => {
|
|
34
|
+
o.changeValue((e == null ? void 0 : e.toString()) ?? "");
|
|
35
|
+
};
|
|
36
|
+
return (e, y) => (f(), b(l(g), {
|
|
37
|
+
id: t.labelForId,
|
|
38
|
+
ariaLabel: o.control.label,
|
|
39
|
+
"model-value": c.value,
|
|
40
|
+
"allow-descending": l(i),
|
|
41
|
+
disabled: t.disabled,
|
|
42
|
+
error: t.error,
|
|
43
|
+
format: d.value,
|
|
44
|
+
"sub-text": t.subText,
|
|
45
|
+
"onUpdate:modelValue": m
|
|
46
|
+
}, null, 8, ["id", "ariaLabel", "model-value", "allow-descending", "disabled", "error", "format", "sub-text"]));
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
export {
|
|
50
|
+
F as default
|
|
51
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as n, createBlock as t, openBlock as r, unref as l, withCtx as o, createVNode as u, renderSlot as p } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as d, v as m, x as c } from "./TextControl-52n-sttB-DssWw4KP.js";
|
|
3
3
|
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const b = /* @__PURE__ */ n({
|
|
5
5
|
__name: "LabeledGroup",
|
|
6
6
|
props: {
|
|
7
7
|
layout: {}
|
|
8
8
|
},
|
|
9
|
-
setup(
|
|
10
|
-
return (e,
|
|
9
|
+
setup(i) {
|
|
10
|
+
return (e, f) => (r(), t(l(d), {
|
|
11
11
|
label: e.layout.label,
|
|
12
12
|
large: ""
|
|
13
13
|
}, {
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { defineComponent as b, onMounted as m, computed as F, createElementBlock as h, openBlock as C, Fragment as y, createVNode as p, unref as S } from "vue";
|
|
2
|
+
import { a0 as u, a1 as P, a2 as v, a3 as N, m as B, a4 as L, n as M } from "./TextControl-52n-sttB-DssWw4KP.js";
|
|
3
|
+
import { C as _ } from "./CredentialsControlBase-CdNdAngd.js";
|
|
4
|
+
const k = /* @__PURE__ */ b({
|
|
5
|
+
__name: "LegacyFlowVariableHandler",
|
|
6
|
+
props: {
|
|
7
|
+
flowVariableName: {}
|
|
8
|
+
},
|
|
9
|
+
emits: ["flowVariableSet"],
|
|
10
|
+
setup(n, { emit: a }) {
|
|
11
|
+
const { configPaths: t } = u(), r = P(), { getSettingStateFlowVariables: i } = u(), { getFlowVariableOverrideValue: s } = v("flowVariablesApi"), c = n, e = a;
|
|
12
|
+
return m(() => {
|
|
13
|
+
const o = c.flowVariableName;
|
|
14
|
+
o && setTimeout(async () => {
|
|
15
|
+
const { setControllingFlowVariable: l, invalidateSetFlowVariable: w } = N({
|
|
16
|
+
flowVariablesMap: r,
|
|
17
|
+
getSettingStateFlowVariables: i
|
|
18
|
+
}), { configPath: d, dataPath: V } = t.value[0];
|
|
19
|
+
if (!d)
|
|
20
|
+
return;
|
|
21
|
+
const g = {
|
|
22
|
+
path: d,
|
|
23
|
+
flowVariableName: o,
|
|
24
|
+
cleanPreserving: !0
|
|
25
|
+
};
|
|
26
|
+
l(g);
|
|
27
|
+
const f = await s(
|
|
28
|
+
d,
|
|
29
|
+
V
|
|
30
|
+
);
|
|
31
|
+
typeof f > "u" && w(g), e("flowVariableSet", f);
|
|
32
|
+
}, 0);
|
|
33
|
+
}), () => {
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
}), j = /* @__PURE__ */ b({
|
|
37
|
+
__name: "LegacyCredentialsControl",
|
|
38
|
+
props: {
|
|
39
|
+
control: {},
|
|
40
|
+
handleChange: { type: Function },
|
|
41
|
+
changeValue: { type: Function },
|
|
42
|
+
disabled: { type: Boolean },
|
|
43
|
+
error: { type: Boolean },
|
|
44
|
+
subText: {},
|
|
45
|
+
onRegisterValidation: { type: Function },
|
|
46
|
+
labelForId: {}
|
|
47
|
+
},
|
|
48
|
+
setup(n) {
|
|
49
|
+
const a = n, { flowSettings: t, configPaths: r } = B({
|
|
50
|
+
path: F(() => a.control.path)
|
|
51
|
+
});
|
|
52
|
+
L({
|
|
53
|
+
flowSettings: t,
|
|
54
|
+
configPaths: r,
|
|
55
|
+
dataPath: a.control.path
|
|
56
|
+
});
|
|
57
|
+
const { getSettingState: i } = M(), s = (e) => {
|
|
58
|
+
a.changeValue({ credentials: e, flowVarName: null });
|
|
59
|
+
}, c = (e) => {
|
|
60
|
+
var l;
|
|
61
|
+
const o = {
|
|
62
|
+
credentials: e ?? a.control.data.credentials,
|
|
63
|
+
flowVarName: null
|
|
64
|
+
};
|
|
65
|
+
a.changeValue(o), (l = i(a.control.path)) == null || l(o, {
|
|
66
|
+
cleanPreserving: !0
|
|
67
|
+
});
|
|
68
|
+
};
|
|
69
|
+
return (e, o) => (C(), h(y, null, [
|
|
70
|
+
p(_, {
|
|
71
|
+
control: e.control,
|
|
72
|
+
data: e.control.data.credentials,
|
|
73
|
+
"flow-settings": S(t),
|
|
74
|
+
disabled: e.disabled,
|
|
75
|
+
"label-for-id": e.labelForId,
|
|
76
|
+
error: e.error,
|
|
77
|
+
onChange: s
|
|
78
|
+
}, null, 8, ["control", "data", "flow-settings", "disabled", "label-for-id", "error"]),
|
|
79
|
+
p(k, {
|
|
80
|
+
"flow-variable-name": e.control.data.flowVarName,
|
|
81
|
+
onFlowVariableSet: c
|
|
82
|
+
}, null, 8, ["flow-variable-name"])
|
|
83
|
+
], 64));
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
export {
|
|
87
|
+
j as default
|
|
88
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
const b = { class: "link-wrapper" }, h = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as s, useCssVars as p, unref as n, createElementBlock as d, openBlock as u, createVNode as g } from "vue";
|
|
2
|
+
import { P as m, d as f } from "./TextControl-52n-sttB-DssWw4KP.js";
|
|
3
|
+
const b = { class: "link-wrapper" }, h = /* @__PURE__ */ s({
|
|
4
4
|
__name: "LinkControl",
|
|
5
5
|
props: {
|
|
6
6
|
control: {},
|
|
@@ -8,18 +8,18 @@ const b = { class: "link-wrapper" }, h = /* @__PURE__ */ c({
|
|
|
8
8
|
changeValue: { type: Function },
|
|
9
9
|
disabled: { type: Boolean },
|
|
10
10
|
labelForId: {},
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
error: { type: Boolean },
|
|
12
|
+
subText: {},
|
|
13
13
|
onRegisterValidation: { type: Function }
|
|
14
14
|
},
|
|
15
15
|
setup(e) {
|
|
16
16
|
var t;
|
|
17
|
-
p((
|
|
17
|
+
p((c) => ({
|
|
18
18
|
bc3ff08c: n(a)
|
|
19
19
|
}));
|
|
20
20
|
const o = e, a = ((t = o.control.uischema.options) == null ? void 0 : t.alignment) === "right" ? "flex-end" : "flex-start", { to: l, leadingIcon: i, trailingIcon: r } = o.control.uischema.options || {};
|
|
21
|
-
return (
|
|
22
|
-
|
|
21
|
+
return (c, k) => (u(), d("div", b, [
|
|
22
|
+
g(n(f), {
|
|
23
23
|
class: "link-button",
|
|
24
24
|
label: e.control.label,
|
|
25
25
|
to: n(l),
|
|
@@ -30,7 +30,7 @@ const b = { class: "link-wrapper" }, h = /* @__PURE__ */ c({
|
|
|
30
30
|
}, null, 8, ["label", "to", "leading-icon", "trailing-icon"])
|
|
31
31
|
]));
|
|
32
32
|
}
|
|
33
|
-
}),
|
|
33
|
+
}), B = /* @__PURE__ */ m(h, [["__scopeId", "data-v-d1973605"]]);
|
|
34
34
|
export {
|
|
35
|
-
|
|
35
|
+
B as default
|
|
36
36
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as V, computed as o, createBlock as y, openBlock as f, unref as g, mergeProps as x } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { e as L } from "./TextControl-52n-sttB-DssWw4KP.js";
|
|
3
3
|
const T = /* @__PURE__ */ V({
|
|
4
4
|
__name: "LoadingDropdown",
|
|
5
5
|
props: {
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { defineComponent as v, toRef as s, computed as r, createBlock as w, openBlock as C, unref as a, mergeProps as U } from "vue";
|
|
2
|
+
import { b as V } from "./TextControl-52n-sttB-DssWw4KP.js";
|
|
3
|
+
import { i } from "./index-Blg1O3Fz-CGafpkU1.js";
|
|
4
|
+
import { c as h, t as B } from "./usePossibleValues-DiYOmnZW-CaSLjdK-.js";
|
|
5
|
+
import { p as I } from "./toKdsPossibleValues-BklBg3gG-Dr1D12GJ.js";
|
|
6
|
+
import { F as L } from "./useUnknownValuesInTwinlist-BhhirtmX-D2ve7iXH.js";
|
|
7
|
+
const q = /* @__PURE__ */ v({
|
|
8
|
+
__name: "ManualTwinlistControl",
|
|
9
|
+
props: {
|
|
10
|
+
control: {},
|
|
11
|
+
handleChange: { type: Function },
|
|
12
|
+
changeValue: { type: Function },
|
|
13
|
+
disabled: { type: Boolean },
|
|
14
|
+
error: { type: Boolean },
|
|
15
|
+
subText: {},
|
|
16
|
+
onRegisterValidation: { type: Function },
|
|
17
|
+
labelForId: {}
|
|
18
|
+
},
|
|
19
|
+
setup(l) {
|
|
20
|
+
const o = l, { excludedLabel: m, includedLabel: p } = h(
|
|
21
|
+
s(o, "control")
|
|
22
|
+
), { possibleValues: c } = B(
|
|
23
|
+
s(o, "control")
|
|
24
|
+
), b = r(
|
|
25
|
+
() => I(c.value ?? [])
|
|
26
|
+
), { selectedAndDeselected: u, setCurrentManualFilter: y } = L({
|
|
27
|
+
data: r(() => ({ manualFilter: o.control.data })),
|
|
28
|
+
possibleValueIds: r(
|
|
29
|
+
() => {
|
|
30
|
+
var e;
|
|
31
|
+
return ((e = c.value) == null ? void 0 : e.map(({ id: t }) => t)) ?? null;
|
|
32
|
+
}
|
|
33
|
+
)
|
|
34
|
+
}), f = (e) => {
|
|
35
|
+
const t = i(o.control.data, e);
|
|
36
|
+
o.changeValue(t), y(t);
|
|
37
|
+
};
|
|
38
|
+
let n = null;
|
|
39
|
+
const x = () => {
|
|
40
|
+
if (n !== null) {
|
|
41
|
+
const e = n;
|
|
42
|
+
n = null, f(e);
|
|
43
|
+
}
|
|
44
|
+
}, d = (e) => {
|
|
45
|
+
n === null ? (n = e, queueMicrotask(x)) : n = i(
|
|
46
|
+
n,
|
|
47
|
+
e
|
|
48
|
+
);
|
|
49
|
+
}, g = (e) => {
|
|
50
|
+
d({ manuallySelected: e });
|
|
51
|
+
}, k = (e) => {
|
|
52
|
+
d({ manuallyDeselected: e });
|
|
53
|
+
}, F = (e) => {
|
|
54
|
+
e !== null && d({ includeUnknownColumns: e });
|
|
55
|
+
};
|
|
56
|
+
return (e, t) => (C(), w(a(V), U(e.$attrs, {
|
|
57
|
+
id: l.labelForId,
|
|
58
|
+
ariaLabel: l.control.label,
|
|
59
|
+
disabled: l.disabled,
|
|
60
|
+
"manually-included": a(u).selected ?? [],
|
|
61
|
+
"manually-excluded": a(u).deselected ?? [],
|
|
62
|
+
"include-unknown-values": l.control.data.includeUnknownColumns,
|
|
63
|
+
"possible-values": b.value,
|
|
64
|
+
loading: a(u).selected === null,
|
|
65
|
+
"exclude-label": a(m),
|
|
66
|
+
"include-label": a(p),
|
|
67
|
+
error: l.error,
|
|
68
|
+
"sub-text": l.subText,
|
|
69
|
+
"onUpdate:manuallyIncluded": g,
|
|
70
|
+
"onUpdate:manuallyExcluded": k,
|
|
71
|
+
"onUpdate:includeUnknownValues": F
|
|
72
|
+
}), null, 16, ["id", "ariaLabel", "disabled", "manually-included", "manually-excluded", "include-unknown-values", "possible-values", "loading", "exclude-label", "include-label", "error", "sub-text"]));
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
export {
|
|
76
|
+
q as default
|
|
77
|
+
};
|
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
import { defineComponent as I, createPropsRestProxy as V, computed as n, ref as y, watch as L, createElementBlock as _, openBlock as f, createVNode as F, createCommentVNode as O, unref as g, toDisplayString as W, createBlock as C, Fragment as x, withCtx as A, createElementVNode as K, normalizeProps as U, mergeProps as Q } from "vue";
|
|
2
|
+
import { ab as j, ac as N, x as z, w as H, s as $, _ as q, t as G, ad as D, ae as J } from "./TextControl-52n-sttB-DssWw4KP.js";
|
|
3
|
+
import { u as X, g as Y, a as Z } from "./useFileChooserBackend-CLdJ1RU1.js";
|
|
4
|
+
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
const ee = { class: "container" }, te = ["title"], oe = /* @__PURE__ */ I({
|
|
6
|
+
__name: "FileSelectionPreview",
|
|
7
|
+
props: {
|
|
8
|
+
previewData: {},
|
|
9
|
+
filterMode: {},
|
|
10
|
+
expandByDefault: { type: Boolean, default: !1 },
|
|
11
|
+
isLoading: { type: Boolean, default: !1 },
|
|
12
|
+
trailingButton: {}
|
|
13
|
+
},
|
|
14
|
+
setup(c) {
|
|
15
|
+
const e = V(c, ["expandByDefault", "isLoading"]), l = n(
|
|
16
|
+
() => e.previewData.resultType === "SUCCESS" ? e.previewData.itemsAfterFiltering : []
|
|
17
|
+
), u = n(() => {
|
|
18
|
+
switch (e.filterMode) {
|
|
19
|
+
case "FILES_AND_FOLDERS":
|
|
20
|
+
return "files/folders";
|
|
21
|
+
case "FOLDERS":
|
|
22
|
+
return "folders";
|
|
23
|
+
default:
|
|
24
|
+
return "files";
|
|
25
|
+
}
|
|
26
|
+
}), r = n(() => {
|
|
27
|
+
if (e.previewData.resultType === "ERROR")
|
|
28
|
+
return `Error loading ${u.value}`;
|
|
29
|
+
const a = l.value.length, s = e.previewData.numItemsBeforeFiltering, v = `${a}${e.previewData.numFilesAfterFilteringIsOnlyLowerBound ? "+" : ""}`, m = `${s}${e.previewData.numFilesBeforeFilteringIsOnlyLowerBound ? "+" : ""}`;
|
|
30
|
+
return `${v} of ${m} ${u.value}`;
|
|
31
|
+
}), i = n(
|
|
32
|
+
() => e.previewData.resultType === "ERROR" ? "circle-error" : "file"
|
|
33
|
+
), p = n(
|
|
34
|
+
() => l.value.map((a, s) => ({ id: `${s}-${a}`, text: a }))
|
|
35
|
+
), d = y(c.expandByDefault);
|
|
36
|
+
return L(
|
|
37
|
+
() => c.expandByDefault,
|
|
38
|
+
(a) => {
|
|
39
|
+
d.value = a;
|
|
40
|
+
}
|
|
41
|
+
), (a, s) => (f(), _("div", ee, [
|
|
42
|
+
F(g(j), {
|
|
43
|
+
expanded: d.value,
|
|
44
|
+
"onUpdate:expanded": s[0] || (s[0] = (v) => d.value = v),
|
|
45
|
+
headline: r.value,
|
|
46
|
+
"leading-icon": i.value,
|
|
47
|
+
loading: a.isLoading,
|
|
48
|
+
items: p.value,
|
|
49
|
+
"empty-state-headline": "No files",
|
|
50
|
+
"trailing-button": a.trailingButton
|
|
51
|
+
}, null, 8, ["expanded", "headline", "leading-icon", "loading", "items", "trailing-button"]),
|
|
52
|
+
a.previewData.resultType === "ERROR" ? (f(), _("div", {
|
|
53
|
+
key: 0,
|
|
54
|
+
class: "flexible-error-message-container",
|
|
55
|
+
"data-test-id": "error-message",
|
|
56
|
+
title: a.previewData.errorMessage
|
|
57
|
+
}, W(a.previewData.errorMessage), 9, te)) : O("", !0)
|
|
58
|
+
]));
|
|
59
|
+
}
|
|
60
|
+
}), T = /* @__PURE__ */ B(oe, [["__scopeId", "data-v-28a36301"]]), ne = /* @__PURE__ */ I({
|
|
61
|
+
__name: "FieldRenderer",
|
|
62
|
+
props: {
|
|
63
|
+
control: {},
|
|
64
|
+
fieldName: {},
|
|
65
|
+
uischema: {}
|
|
66
|
+
},
|
|
67
|
+
setup(c) {
|
|
68
|
+
const e = c, l = n(() => N(e.control.path, e.fieldName)), u = n(
|
|
69
|
+
() => {
|
|
70
|
+
var r;
|
|
71
|
+
return (r = e.control.schema.properties) == null ? void 0 : r[e.fieldName];
|
|
72
|
+
}
|
|
73
|
+
);
|
|
74
|
+
return (r, i) => (f(), C(g(z), {
|
|
75
|
+
key: l.value,
|
|
76
|
+
schema: u.value,
|
|
77
|
+
uischema: r.uischema,
|
|
78
|
+
path: l.value,
|
|
79
|
+
enabled: r.control.enabled,
|
|
80
|
+
renderers: r.control.renderers,
|
|
81
|
+
cells: r.control.cells
|
|
82
|
+
}, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]));
|
|
83
|
+
}
|
|
84
|
+
}), P = "filters", le = /* @__PURE__ */ I({
|
|
85
|
+
__name: "FilterSettings",
|
|
86
|
+
props: {
|
|
87
|
+
control: {},
|
|
88
|
+
handleChange: { type: Function }
|
|
89
|
+
},
|
|
90
|
+
setup(c, { expose: e }) {
|
|
91
|
+
const l = c, u = n(() => N(l.control.path, P)), r = n(
|
|
92
|
+
() => {
|
|
93
|
+
var i;
|
|
94
|
+
return (i = l.control.uischema.options) == null ? void 0 : i.filters.uiSchema;
|
|
95
|
+
}
|
|
96
|
+
);
|
|
97
|
+
return e({
|
|
98
|
+
/**
|
|
99
|
+
* Resets the filter settings to their default values. NOT the same as discarding them
|
|
100
|
+
* and returning to the saved state.
|
|
101
|
+
*/
|
|
102
|
+
resetFilters: () => {
|
|
103
|
+
var i;
|
|
104
|
+
l.handleChange(u.value, {
|
|
105
|
+
...(i = l.control.schema.default) == null ? void 0 : i[P],
|
|
106
|
+
filterMode: l.control.data.filters.filterMode
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
}), (i, p) => (f(), C(ne, {
|
|
110
|
+
control: i.control,
|
|
111
|
+
"field-name": P,
|
|
112
|
+
"handle-change": i.handleChange,
|
|
113
|
+
uischema: r.value
|
|
114
|
+
}, null, 8, ["control", "handle-change", "uischema"]));
|
|
115
|
+
}
|
|
116
|
+
}), ae = ({
|
|
117
|
+
backendType: c,
|
|
118
|
+
filterOptions: e,
|
|
119
|
+
additionalFilterOptionsClassIdentifier: l,
|
|
120
|
+
includeSubFolders: u
|
|
121
|
+
}) => {
|
|
122
|
+
const r = H("getData");
|
|
123
|
+
return {
|
|
124
|
+
listItemsForPreview: (d, a) => {
|
|
125
|
+
const s = [
|
|
126
|
+
c.value,
|
|
127
|
+
d,
|
|
128
|
+
a,
|
|
129
|
+
u.value,
|
|
130
|
+
{
|
|
131
|
+
additionalFilterOptions: e.value,
|
|
132
|
+
additionalFilterOptionsClassIdentifier: l
|
|
133
|
+
}
|
|
134
|
+
];
|
|
135
|
+
return r({
|
|
136
|
+
method: "fileFilterPreview.listItemsForPreview",
|
|
137
|
+
options: s
|
|
138
|
+
});
|
|
139
|
+
},
|
|
140
|
+
resolveRelativePath: (d, a) => r({
|
|
141
|
+
method: "fileChooser.resolveRelativePath",
|
|
142
|
+
options: [c.value, d, a]
|
|
143
|
+
})
|
|
144
|
+
};
|
|
145
|
+
}, re = { class: "filter-settings-drawer-content" }, ie = /* @__PURE__ */ I({
|
|
146
|
+
__name: "FilterPreview",
|
|
147
|
+
props: {
|
|
148
|
+
control: {},
|
|
149
|
+
handleChange: { type: Function },
|
|
150
|
+
changeValue: { type: Function },
|
|
151
|
+
disabled: { type: Boolean },
|
|
152
|
+
labelForId: {},
|
|
153
|
+
error: { type: Boolean },
|
|
154
|
+
subText: {},
|
|
155
|
+
onRegisterValidation: { type: Function }
|
|
156
|
+
},
|
|
157
|
+
setup(c) {
|
|
158
|
+
var o;
|
|
159
|
+
const e = c, l = n(() => {
|
|
160
|
+
var t;
|
|
161
|
+
return (t = e.control.data) == null ? void 0 : t.includeSubfolders;
|
|
162
|
+
}), u = n(
|
|
163
|
+
() => e.control.uischema
|
|
164
|
+
), { portIndex: r } = X(u), i = n(
|
|
165
|
+
() => Y(e.control.data.path.fsCategory, r.value)
|
|
166
|
+
), p = y({
|
|
167
|
+
itemsAfterFiltering: [],
|
|
168
|
+
numItemsBeforeFiltering: 0,
|
|
169
|
+
numFilesAfterFilteringIsOnlyLowerBound: !1,
|
|
170
|
+
numFilesBeforeFilteringIsOnlyLowerBound: !1,
|
|
171
|
+
resultType: "SUCCESS"
|
|
172
|
+
}), d = y(!0), a = y(null), s = n(() => {
|
|
173
|
+
var t;
|
|
174
|
+
return (t = e.control.data) == null ? void 0 : t.filters;
|
|
175
|
+
}), v = ae({
|
|
176
|
+
backendType: i,
|
|
177
|
+
includeSubFolders: l,
|
|
178
|
+
filterOptions: s,
|
|
179
|
+
additionalFilterOptionsClassIdentifier: (o = e.control.uischema.options) == null ? void 0 : o.filters.classId
|
|
180
|
+
}), m = n(() => e.control.data.path), w = n(() => e.control.data.filterMode), R = y(0), b = async () => {
|
|
181
|
+
var M, k;
|
|
182
|
+
d.value = !0, ++R.value;
|
|
183
|
+
let t = m.value.path;
|
|
184
|
+
m.value.fsCategory === "relative-to-workflow" && ((k = (M = u.value.options) == null ? void 0 : M.spaceFSOptions) != null && k.relativeWorkflowPath) && (t = await v.resolveRelativePath(
|
|
185
|
+
t,
|
|
186
|
+
u.value.options.spaceFSOptions.relativeWorkflowPath
|
|
187
|
+
));
|
|
188
|
+
const E = R.value, h = await v.listItemsForPreview(
|
|
189
|
+
t,
|
|
190
|
+
w.value
|
|
191
|
+
);
|
|
192
|
+
E === R.value && (p.value = h, d.value = !1);
|
|
193
|
+
};
|
|
194
|
+
L(
|
|
195
|
+
w,
|
|
196
|
+
(t) => {
|
|
197
|
+
e.control.data.filters.filterMode !== t && e.handleChange(
|
|
198
|
+
$($(e.control.path, "filters"), "filterMode"),
|
|
199
|
+
t
|
|
200
|
+
);
|
|
201
|
+
},
|
|
202
|
+
{ immediate: !0 }
|
|
203
|
+
), L(
|
|
204
|
+
[l, s, m],
|
|
205
|
+
() => b(),
|
|
206
|
+
{
|
|
207
|
+
deep: !0
|
|
208
|
+
}
|
|
209
|
+
);
|
|
210
|
+
const S = y(null);
|
|
211
|
+
return (t, E) => (f(), _(x, null, [
|
|
212
|
+
F(T, {
|
|
213
|
+
"preview-data": p.value,
|
|
214
|
+
"is-loading": d.value,
|
|
215
|
+
"filter-mode": w.value,
|
|
216
|
+
"trailing-button": {
|
|
217
|
+
label: "Edit filters",
|
|
218
|
+
trailingIcon: "chevron-right",
|
|
219
|
+
onClick: () => {
|
|
220
|
+
var h;
|
|
221
|
+
return (h = a.value) == null ? void 0 : h.expand();
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}, null, 8, ["preview-data", "is-loading", "filter-mode", "trailing-button"]),
|
|
225
|
+
F(g(q), {
|
|
226
|
+
ref_key: "filterPanelRef",
|
|
227
|
+
ref: a,
|
|
228
|
+
"show-back-arrow": ""
|
|
229
|
+
}, {
|
|
230
|
+
default: A(() => [
|
|
231
|
+
K("div", re, [
|
|
232
|
+
F(T, {
|
|
233
|
+
"preview-data": p.value,
|
|
234
|
+
"filter-mode": w.value,
|
|
235
|
+
"is-loading": d.value,
|
|
236
|
+
"expand-by-default": "",
|
|
237
|
+
"trailing-button": {
|
|
238
|
+
label: "Reset all filters",
|
|
239
|
+
destructive: !0,
|
|
240
|
+
onClick: () => {
|
|
241
|
+
var h;
|
|
242
|
+
return (h = S.value) == null ? void 0 : h.resetFilters();
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}, null, 8, ["preview-data", "filter-mode", "is-loading", "trailing-button"]),
|
|
246
|
+
F(le, {
|
|
247
|
+
ref_key: "filterSettingsRef",
|
|
248
|
+
ref: S,
|
|
249
|
+
control: t.control,
|
|
250
|
+
"handle-change": t.handleChange
|
|
251
|
+
}, null, 8, ["control", "handle-change"])
|
|
252
|
+
])
|
|
253
|
+
]),
|
|
254
|
+
_: 1
|
|
255
|
+
}, 512)
|
|
256
|
+
], 64));
|
|
257
|
+
}
|
|
258
|
+
}), se = /* @__PURE__ */ B(ie, [["__scopeId", "data-v-4942b033"]]), ce = { class: "flex-column" }, ue = /* @__PURE__ */ I({
|
|
259
|
+
__name: "MultiFileChooserControl",
|
|
260
|
+
props: {
|
|
261
|
+
control: {},
|
|
262
|
+
handleChange: { type: Function },
|
|
263
|
+
changeValue: { type: Function },
|
|
264
|
+
disabled: { type: Boolean },
|
|
265
|
+
labelForId: {},
|
|
266
|
+
error: { type: Boolean },
|
|
267
|
+
subText: {},
|
|
268
|
+
onRegisterValidation: { type: Function }
|
|
269
|
+
},
|
|
270
|
+
setup(c) {
|
|
271
|
+
const e = c, l = n(
|
|
272
|
+
() => e.control.uischema
|
|
273
|
+
), u = G(l, "connectedFSOptions"), r = n(() => {
|
|
274
|
+
var t;
|
|
275
|
+
const o = (t = e.control.data) == null ? void 0 : t.filterMode;
|
|
276
|
+
return o === "WORKFLOW" ? "WORKFLOW" : o === "FILE" ? "FILE" : "FOLDER";
|
|
277
|
+
}), i = n(() => {
|
|
278
|
+
var t;
|
|
279
|
+
const o = (t = e.control.data) == null ? void 0 : t.filterMode;
|
|
280
|
+
return o !== "FILE" && o !== "FOLDER";
|
|
281
|
+
}), p = n(() => {
|
|
282
|
+
var o;
|
|
283
|
+
return {
|
|
284
|
+
...l.value.options,
|
|
285
|
+
connectedFSOptions: u.value ?? ((o = l.value.options) == null ? void 0 : o.connectedFSOptions),
|
|
286
|
+
selectionMode: r.value
|
|
287
|
+
};
|
|
288
|
+
}), d = {
|
|
289
|
+
FILE: "File",
|
|
290
|
+
WORKFLOW: "Workflow",
|
|
291
|
+
FOLDER: "Folder",
|
|
292
|
+
FILES_AND_FOLDERS: "Files and folders",
|
|
293
|
+
FILES_IN_FOLDERS: "Files in folders",
|
|
294
|
+
FOLDERS: "Folders"
|
|
295
|
+
}, a = (o) => ({
|
|
296
|
+
id: o,
|
|
297
|
+
text: d[o]
|
|
298
|
+
}), s = n(
|
|
299
|
+
() => {
|
|
300
|
+
var o, t;
|
|
301
|
+
return ((t = (o = l.value.options) == null ? void 0 : o.possibleFilterModes) == null ? void 0 : t.map(
|
|
302
|
+
a
|
|
303
|
+
)) ?? [];
|
|
304
|
+
}
|
|
305
|
+
), v = n(() => ({
|
|
306
|
+
possibleValues: s.value
|
|
307
|
+
})), m = n(() => s.value.length > 1), w = n(
|
|
308
|
+
() => s.value.length > 2 ? "radio" : "valueSwitch"
|
|
309
|
+
), { isConnectedButNoFileConnectionIsAvailable: R, isConnected: b } = Z(p), S = n(
|
|
310
|
+
() => {
|
|
311
|
+
var o;
|
|
312
|
+
return R.value || !b.value && ((o = e.control.data) == null ? void 0 : o.path.fsCategory) === "CONNECTED";
|
|
313
|
+
}
|
|
314
|
+
);
|
|
315
|
+
return (o, t) => (f(), _("div", ce, [
|
|
316
|
+
m.value ? (f(), C(g(D), {
|
|
317
|
+
key: 0,
|
|
318
|
+
"field-name": "filterMode",
|
|
319
|
+
format: w.value,
|
|
320
|
+
options: v.value,
|
|
321
|
+
control: o.control
|
|
322
|
+
}, null, 8, ["format", "options", "control"])) : O("", !0),
|
|
323
|
+
F(g(D), {
|
|
324
|
+
"field-name": "path",
|
|
325
|
+
format: g(J),
|
|
326
|
+
options: p.value,
|
|
327
|
+
control: o.control
|
|
328
|
+
}, null, 8, ["format", "options", "control"]),
|
|
329
|
+
i.value ? (f(), _(x, { key: 1 }, [
|
|
330
|
+
F(g(D), {
|
|
331
|
+
"field-name": "includeSubfolders",
|
|
332
|
+
control: o.control
|
|
333
|
+
}, null, 8, ["control"]),
|
|
334
|
+
S.value ? O("", !0) : (f(), C(se, U(Q({ key: 0 }, e)), null, 16))
|
|
335
|
+
], 64)) : O("", !0)
|
|
336
|
+
]));
|
|
337
|
+
}
|
|
338
|
+
}), me = /* @__PURE__ */ B(ue, [["__scopeId", "data-v-3709134c"]]);
|
|
339
|
+
export {
|
|
340
|
+
me as default
|
|
341
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as t, createElementBlock as n, openBlock as r, Fragment as s, renderList as o, createBlock as u, unref as m } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { x as p } from "./TextControl-52n-sttB-DssWw4KP.js";
|
|
3
3
|
const y = /* @__PURE__ */ t({
|
|
4
4
|
__name: "MultiRuleWrapper",
|
|
5
5
|
props: {
|