@knime/scripting-editor 0.0.129 → 0.0.131
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AnyOfTwinlist-Chx0nmt3-DPMbiVZd.js → AnyOfTwinlist-DEv6xgTn-BV0O3had.js} +1 -1
- package/dist/{ArrayLayout-C2-4wxkT.js → ArrayLayout-xpUEX4UY.js} +54 -54
- package/dist/{ButtonControl-Dga3IomB.js → ButtonControl-BFG84O1r.js} +11 -11
- package/dist/{CheckboxControl-B8b1Di4k-CEkOsWEu.js → CheckboxControl-Yqf7_a5P--lSSti7m.js} +5 -5
- package/dist/{CheckboxesControl-DWUnPGdN-BOSX_stf.js → CheckboxesControl-Cx7qUDbd-ByGOCDtp.js} +2 -2
- package/dist/{CodeEditorControl-CN4ltMvy.js → CodeEditorControl-DAfgzg-h.js} +3 -3
- package/dist/{ColorControl-ByE5ku7u-C12pZ0rg.js → ColorControl-BjIoBGby-B54hb0gK.js} +1 -1
- package/dist/{ColorPreviewControl-XiKZ4jfn-CLIjX6M_.js → ColorPreviewControl-Cmpb3_o4--muSe_be.js} +9 -9
- package/dist/{ComboBoxControl-zSceYlyZ-BgpAi7q9.js → ComboBoxControl-DJsbSwD6-xuE8rZyf.js} +7 -7
- package/dist/{ConfigurationNodeNotSupported-B27grebd.js → ConfigurationNodeNotSupported-Bkfoi87W.js} +3 -3
- package/dist/{ControlWithSubParameters-ROJGaqDF.js → ControlWithSubParameters-B9TiQfTU.js} +12 -12
- package/dist/{CredentialsControl-B6jczlBv.js → CredentialsControl-CqulYPUL.js} +4 -4
- package/dist/{CredentialsControlBase-CdNdAngd.js → CredentialsControlBase-x4zTZK8u.js} +19 -19
- package/dist/{DateControl-BBGpEVpr-yZP_TZnE.js → DateControl-CcuCk97j-CdiO3xtM.js} +1 -1
- package/dist/{DateTimeControl-CymOURq5-Ca0mT1HW.js → DateTimeControl-CuB6aWlL-CgLiloF4.js} +3 -3
- package/dist/{DateTimeFormatPickerControl-Bx19jwpr-Bd0xBs4D.js → DateTimeFormatPickerControl-CpaOPUR6-J_PpzzAB.js} +1 -1
- package/dist/{DateTimeFormatPickerWithTypeControl-Byo_0cTq-C0ZfMqtp.js → DateTimeFormatPickerWithTypeControl-BQKDIoYn-Vw11sEhI.js} +65 -65
- package/dist/{DialogFileExplorer-BmT2YlVn.js → DialogFileExplorer-CiOfUL_M.js} +33 -33
- package/dist/{DirtyTrackerRenderer-BG451zZD.js → DirtyTrackerRenderer-6k1ego1B.js} +1 -1
- package/dist/{DropdownControl-C6ffVYyf-hy0i8nDV.js → DropdownControl-CpSZxjr1-C804I9fG.js} +2 -2
- package/dist/DynamicInputControl-Bc99HU8j.js +6 -0
- package/dist/{ExecutorCoresControl-D9FZ-g9O-Dws9IhAs.js → ExecutorCoresControl-DoG2-XCx-BC0pTSv1.js} +8 -8
- package/dist/{ExecutorMemoryControl-__P80Lkb-DxQZ2IuA.js → ExecutorMemoryControl-DqYRmLt2-DgmK5cxY.js} +7 -7
- package/dist/{FileChooserControl-BBbay7zU.js → FileChooserControl-Cv9Nvwrw.js} +2 -2
- package/dist/{FileChooserControlBase-DpYYK3eE.js → FileChooserControlBase-C4WoqeuQ.js} +50 -50
- package/dist/{FileChooserControlForMultiFile-6NLYZKbt.js → FileChooserControlForMultiFile-DJydfSjI.js} +1 -1
- package/dist/{FileUploadControl-DWs4PhOj-BvByW-Tq.js → FileUploadControl-IAwE26IH-LLTdmWyW.js} +52 -52
- package/dist/{GridSelectionControl-WcJ4y6Fs-BoxSk0VG.js → GridSelectionControl-DUVIpMsY-CuyLvikR.js} +27 -27
- package/dist/{HorizontalLayout-ByB5A7X3-BURAMMFG.js → HorizontalLayout-92oHZT6R--JjwD9hI.js} +2 -2
- package/dist/{IntegerControl-aveswmbr-50_b6vGY.js → IntegerControl-B2TyUPGu-BLpffmEs.js} +1 -1
- package/dist/{IntervalControl-B4Eqs1Jf-CiB2D52B.js → IntervalControl-BbIwNXK3-DcVnnDMh.js} +13 -13
- package/dist/{LabeledGroup-BONZ_GLo.js → LabeledGroup-oOuEM_pN.js} +2 -2
- package/dist/{LegacyCredentialsControl-DaIrvNBd.js → LegacyCredentialsControl-DAZOUpou.js} +8 -8
- package/dist/{LinkControl-DD56lOiw-CDy6OBu8.js → LinkControl-Cmk_qiO_-CF2rBAA7.js} +8 -8
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-CscatDmg-BaroyBA0.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-C0YzJo8M-DJVLdb5q.js} +1 -1
- package/dist/{ManualTwinlistControl-DBZ5RZgW-BV5qOGau.js → ManualTwinlistControl-DTl3XPje-CnoltRZh.js} +3 -3
- package/dist/{MultiFileChooserControl-cyndOpF7.js → MultiFileChooserControl-1YghP5YI.js} +21 -21
- package/dist/{MultiRuleWrapper-Db-W_o1f.js → MultiRuleWrapper-BnwWI1WL.js} +1 -1
- package/dist/{MultiSelectListBoxControl-BMsPvxGQ-5ua-fVR8.js → MultiSelectListBoxControl-DIV0UiGV-CN3b9J9V.js} +31 -31
- package/dist/{MultimodeTwinlistControl-thO1be1r-8kc-JSH1.js → MultimodeTwinlistControl-F1L7mwSB-GnzFL4Xl.js} +3 -3
- package/dist/{NameFilter-DBMVmZmk-DnB-5f39.js → NameFilter-Crwz1wiJ-CU1s2b7c.js} +1 -1
- package/dist/{NumberControl-BPVO5l6t--nrQcx4m.js → NumberControl-CTycpm1q-SsW1E9e6.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-CR61f6d6-Df5EPyns.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CRNO3Yp4-DIZHQaJH.js} +4 -4
- package/dist/{OneOfDropdown-DBG8ZcpV-cZs_ptrT.js → OneOfDropdown-B7KrUOWD-DAFKZmqZ.js} +1 -1
- package/dist/{RadioButtonsWithDescriptionControl-BsqMTEB5-COGPhNPs.js → RadioButtonsWithDescriptionControl-UmWLsOmL-BjelKrcC.js} +18 -18
- package/dist/{RadioControl-ClJmr0EQ-BzjoXaZ3.js → RadioControl-BAoCJNMH-VuiN6M_V.js} +1 -1
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-Bm4EUEvw-Cabfycg_.js → RadioControlBase.vue_vue_type_script_setup_true_lang-DKx6ts7n-BNr3sbHh.js} +2 -2
- package/dist/{ResourceControlBase-CeXYJeR1-DSmxhV0s.js → ResourceControlBase-97R2-qQ7-BBi11JJj.js} +32 -32
- package/dist/{RichTextControl-DvYkBpzH-CtMZq2re.js → RichTextControl-D4ItwmZa-CV9QLVR2.js} +2 -2
- package/dist/{SectionLayout-CwRO3UXc-d5rFpCRN.js → SectionLayout-DS6gpiV1-BN6brreP.js} +9 -9
- package/dist/{SettingsSubPanelLayout-CV6y2bcX-OzpF07vB.js → SettingsSubPanelLayout-CJeD408x-yH9r1jii.js} +1 -1
- package/dist/{SimpleTwinlistControl-BSON5VYy-BaAaU86G.js → SimpleTwinlistControl-L1tY6QlY-Dvmt0hp3.js} +2 -2
- package/dist/{SingleSelectControl-BSqORMYm-CBP_mVGB.js → SingleSelectControl-Ce9RLMjD-CTQ6TVF0.js} +2 -2
- package/dist/{SingleSelectListBoxControl-CFdKzbOK-CruT9yt-.js → SingleSelectListBoxControl-Dv-XXwO4-BrMTb8AD.js} +3 -3
- package/dist/{SortListControl-DZIHeQmn-CKRyT1hN.js → SortListControl-BlsAnJjH-tbIOGxZ_.js} +10 -10
- package/dist/{StringFileChooserControl-Br8gZTku.js → StringFileChooserControl-BUYM9fmT.js} +3 -3
- package/dist/{StyledListItem--sgmJ3W_-Bo6f-_9B.js → StyledListItem-DjdZOUWD-BMILJImI.js} +1 -1
- package/dist/{TeamAndSpacesControl-DiMyDT-5-Br-Lq0ki.js → TeamAndSpacesControl-CEdzSJPJ-45d6LeCk.js} +13 -13
- package/dist/{TeamResourceControl-Bag_dwA1-PdtnhxEi.js → TeamResourceControl-Cd0UTItF-Coo1MGve.js} +1 -1
- package/dist/{TextAreaControl-B52P0DAa-McfOgZWn.js → TextAreaControl-B-AfgqCE-BxgZnZ7G.js} +1 -1
- package/dist/TextControl-DfrjuKwf-2f9eJp4g.js +54247 -0
- package/dist/{TimeControl-Cu12_qpz-CK1bxhya.js → TimeControl-DOs9b4bm-B7dozTCB.js} +1 -1
- package/dist/{TimeframesControl-DhdC8OS1-DYseJbBV.js → TimeframesControl-4JGOYGkE-DfsHVFg9.js} +8 -8
- package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-t1I2qxJz-DU6yd1RM.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-C_u035me-DAGCRygG.js} +2 -2
- package/dist/{TypedStringFilter-zJOICQei-B-5z8atp.js → TypedStringFilter-C6N8H2Xj-CI1wXgVk.js} +1 -1
- package/dist/{ValueSwitchControl-CEVWJH7z-DzuxqLvy.js → ValueSwitchControl-BO6x8fsi-B4Fuvawe.js} +1 -1
- package/dist/{VennDiagramLayout-DyTZ5EJ9.js → VennDiagramLayout-HkmFaxWm.js} +42 -42
- package/dist/{VerticalLayout-D_13xb_m-BfU1M3IE.js → VerticalLayout-AMSQYCUV-HYDBzl_2.js} +5 -5
- package/dist/{ZonedDateTimeControl-C-vO6fC1-XngmuFqW.js → ZonedDateTimeControl-1lHvcaQc-X46S4Ze5.js} +14 -14
- package/dist/{ai-bar-DDtzX23v.js → ai-bar-CsJhfKpB.js} +132 -111
- package/dist/auto-configure-BU7AIhL7-DE_6PIkb.js +22 -0
- package/dist/auto-configure-BU7AIhL7-DLFpEOFL.js +22 -0
- package/dist/cell-renderer-DGnkQWTq-DNy5Gelw.js +22 -0
- package/dist/cell-renderer-DGnkQWTq-KxiKOXy8.js +22 -0
- package/dist/cell-renderer-DGnkQWTq-S8TXb3dZ-DdvVP9ON.js +22 -0
- package/dist/column-width-Cjb-6nqI-BiwF2Fo6.js +22 -0
- package/dist/column-width-Cjb-6nqI-CjSkGKDp.js +22 -0
- package/dist/column-width-Cjb-6nqI-DQNnYUv--CdTB6acc.js +22 -0
- package/dist/{copy-DAYm6-mo-BpCGSMKR.js → copy-D43FaHi--BZ5AZnoF.js} +2 -2
- package/dist/{copy-DAYm6-mo-Dl2ExZqW.js → copy-D43FaHi--_rKoTTiD.js} +2 -2
- package/dist/duplicate-Mtq886XD-B74_P6q_.js +22 -0
- package/dist/duplicate-Mtq886XD-D99AWOtC.js +22 -0
- package/dist/folder-move-6L5NfoIs-0YMKVtTx.js +22 -0
- package/dist/folder-move-6L5NfoIs-0hcyIJwE.js +22 -0
- package/dist/initial-data-service-browser-mock.js +47 -18
- package/dist/linked-component-BOb5aj87-Ca_6IaxH.js +22 -0
- package/dist/linked-component-BOb5aj87-CwLntkxi.js +22 -0
- package/dist/main.js +12500 -9495
- package/dist/parameters.js +1 -1
- package/dist/path-separator-DRnUilGA-CKpP4SMF.js +22 -0
- package/dist/path-separator-DRnUilGA-CyCV3Plv-CL0w7lk2.js +22 -0
- package/dist/path-separator-DRnUilGA-DOTNAKkO.js +22 -0
- package/dist/src/components/InputOutputItem.vue.d.ts +21 -0
- package/dist/src/components/TemporaryValuePanel.vue.d.ts +7 -26
- package/dist/src/components/TemporaryValuePanelHeader.vue.d.ts +1 -0
- package/dist/src/components/ai-assistant/AiButton.vue.d.ts +24 -4
- package/dist/src/scripting-service.d.ts +16 -1
- package/dist/table-statistics-y-P6EXGX-BWJsLgcD.js +22 -0
- package/dist/table-statistics-y-P6EXGX-DppblZjy.js +22 -0
- package/dist/table-statistics-y-P6EXGX-Dr_wYI1l-BswNMs4S.js +22 -0
- package/dist/{useFileChooserBackend-CLdJ1RU1.js → useFileChooserBackend-uDGm68hp.js} +1 -1
- package/dist/{usePossibleValues-DiYOmnZW-CaSLjdK-.js → usePossibleValues-CsJuQ591-r_2wYQe_.js} +2 -2
- package/package.json +3 -3
- package/dist/DynamicInputControl-W23Zexge.js +0 -6
- package/dist/TextControl-52n-sttB-DssWw4KP.js +0 -50962
- /package/dist/{useUnknownValuesInTwinlist-BhhirtmX-D2ve7iXH.js → useUnknownValuesInTwinlist-DuLcQlCx-D2ve7iXH.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as t, createBlock as r, openBlock as l, mergeProps as p, unref as a } from "vue";
|
|
2
2
|
import { c as s } from "./index-Blg1O3Fz-CGafpkU1.js";
|
|
3
|
-
import { L as i } from "./TwinlistControlBase.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { L as i } from "./TwinlistControlBase.vue_vue_type_script_setup_true_lang-C_u035me-DAGCRygG.js";
|
|
4
4
|
const f = /* @__PURE__ */ t({
|
|
5
5
|
__name: "AnyOfTwinlist",
|
|
6
6
|
props: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as U, computed as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as U, computed as L, createBlock as S, createElementBlock as v, openBlock as c, unref as p, createElementVNode as A, createCommentVNode as w, toDisplayString as _, inject as Z, provide as b, onMounted as j, Fragment as N, renderSlot as D, normalizeStyle as x, createVNode as B, renderList as q, ref as M, watch as O, nextTick as ee, toRaw as te, resolveComponent as $, normalizeClass as W, withCtx as F, mergeProps as oe } from "vue";
|
|
2
|
+
import { n as z, C as ae, z as C, ag as se, ah as ne, ai as re, y as R, aj as ie, ak as le, N as k, al as de, m as ue, am as ce, A as me, an as K, ao as pe, af as he, ap as ye, aq as ve, ar as fe, as as ge, at as we, au as Ee } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
|
|
3
3
|
import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
-
const
|
|
4
|
+
const Se = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "vertical"
|
|
7
|
-
},
|
|
7
|
+
}, Ie = { class: "title-container" }, Ae = ["title"], Le = { key: 0 }, Ce = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "sub-title"
|
|
10
10
|
}, G = "topLevelElementScope", De = /* @__PURE__ */ U({
|
|
@@ -16,27 +16,27 @@ const Ie = {
|
|
|
16
16
|
useSectionLayout: { type: Boolean }
|
|
17
17
|
},
|
|
18
18
|
setup(e) {
|
|
19
|
-
const o = e, t = o.titleConfig, s =
|
|
19
|
+
const o = e, t = o.titleConfig, s = L(() => ({
|
|
20
20
|
...o.arrayUiSchema,
|
|
21
21
|
scope: G
|
|
22
|
-
})), n = t.type === "provided" ? z(s, "arrayElementTitle", "") : t.title, r =
|
|
22
|
+
})), n = t.type === "provided" ? z(s, "arrayElementTitle", "") : t.title, r = L(
|
|
23
23
|
() => t.type === "provided" ? null : o.index + 1
|
|
24
24
|
), l = z(
|
|
25
25
|
s,
|
|
26
26
|
"elementSubTitle",
|
|
27
27
|
""
|
|
28
28
|
);
|
|
29
|
-
return (a, d) => a.useSectionLayout ? (c(),
|
|
29
|
+
return (a, d) => a.useSectionLayout ? (c(), S(p(ae), {
|
|
30
30
|
key: 0,
|
|
31
31
|
"title-text": p(t).type === "enumerated" && r.value ? `${p(n)} ${r.value}` : p(n),
|
|
32
32
|
class: "section-heading"
|
|
33
|
-
}, null, 8, ["title-text"])) : (c(), v("div",
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
}, null, 8, ["title-text"])) : (c(), v("div", Se, [
|
|
34
|
+
A("div", Ie, [
|
|
35
|
+
A("span", {
|
|
36
36
|
class: "title",
|
|
37
37
|
title: p(n)
|
|
38
|
-
}, _(p(n)), 9,
|
|
39
|
-
r.value ? (c(), v("span",
|
|
38
|
+
}, _(p(n)), 9, Ae),
|
|
39
|
+
r.value ? (c(), v("span", Le, " " + _(r.value), 1)) : w("", !0)
|
|
40
40
|
]),
|
|
41
41
|
p(l) ? (c(), v("span", Ce, _(p(l)), 1)) : w("", !0)
|
|
42
42
|
]));
|
|
@@ -46,7 +46,7 @@ const Ie = {
|
|
|
46
46
|
return { id: `${o}/items${e.id.replace(/^#/, "")}` };
|
|
47
47
|
const t = e.scope;
|
|
48
48
|
return t ? t === G ? { scope: o } : { scope: `${o}/items${t.replace(/^#/, "")}` } : { scope: t };
|
|
49
|
-
},
|
|
49
|
+
}, ke = (e, o, t) => {
|
|
50
50
|
const s = "addStateProviderListener", n = C(s), r = Symbol("arrayParentScope"), l = Z(r) ?? t, a = ({
|
|
51
51
|
indexIds: d = [],
|
|
52
52
|
indices: u = [],
|
|
@@ -65,10 +65,10 @@ const Ie = {
|
|
|
65
65
|
},
|
|
66
66
|
f
|
|
67
67
|
);
|
|
68
|
-
|
|
69
|
-
},
|
|
68
|
+
b(r, l), b(s, a);
|
|
69
|
+
}, be = (e) => {
|
|
70
70
|
const o = "trigger", t = C(o);
|
|
71
|
-
|
|
71
|
+
b(o, (a) => {
|
|
72
72
|
const {
|
|
73
73
|
id: d,
|
|
74
74
|
indexIds: u = [],
|
|
@@ -80,7 +80,7 @@ const Ie = {
|
|
|
80
80
|
});
|
|
81
81
|
});
|
|
82
82
|
const n = "isTriggerActive", r = C(n);
|
|
83
|
-
|
|
83
|
+
b(n, ({ id: a, indexIds: d = [], settingsId: u }) => r(u ? { id: a, indexIds: d, settingsId: u } : {
|
|
84
84
|
id: a,
|
|
85
85
|
indexIds: [e, ...d]
|
|
86
86
|
}));
|
|
@@ -107,14 +107,14 @@ const Ie = {
|
|
|
107
107
|
const t = e, { resetElementDirtyState: s } = se({
|
|
108
108
|
isNewElement: t.isNewElement
|
|
109
109
|
});
|
|
110
|
-
|
|
110
|
+
ke(t.id, t.index, t.arrayUiSchema.scope), be(t.id);
|
|
111
111
|
const n = ne(t.idsRecord, t.id);
|
|
112
|
-
|
|
112
|
+
b(
|
|
113
113
|
"createArrayAtPath",
|
|
114
114
|
(a) => re(n, a)
|
|
115
115
|
);
|
|
116
|
-
const r =
|
|
117
|
-
return
|
|
116
|
+
const r = L(() => R(t.path, `${t.index}`)), l = C("sendAlert");
|
|
117
|
+
return j(() => {
|
|
118
118
|
!t.arrayElementTitle && t.elements.length > 1 && l({
|
|
119
119
|
message: "For displaying more than one row of widgets within an array layout element, the configuration must provide a title for an element.",
|
|
120
120
|
type: "error"
|
|
@@ -127,8 +127,8 @@ const Ie = {
|
|
|
127
127
|
s();
|
|
128
128
|
}
|
|
129
129
|
}), (a, d) => (a.useCardLayout || a.useSectionLayout) && a.arrayElementTitle ? (c(), v(N, { key: 0 }, [
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
A("div", Be, [
|
|
131
|
+
A("div", {
|
|
132
132
|
class: "left",
|
|
133
133
|
style: x({
|
|
134
134
|
alignItems: a.subTitleProvider ? "normal" : "center",
|
|
@@ -155,7 +155,7 @@ const Ie = {
|
|
|
155
155
|
], 4),
|
|
156
156
|
D(a.$slots, "controls", {}, void 0, !0)
|
|
157
157
|
]),
|
|
158
|
-
|
|
158
|
+
A("div", Me, [
|
|
159
159
|
(c(!0), v(N, null, q(a.elements, ([u, m]) => D(a.$slots, "renderer", {
|
|
160
160
|
key: `${r.value}-${u}`,
|
|
161
161
|
path: r.value,
|
|
@@ -163,18 +163,18 @@ const Ie = {
|
|
|
163
163
|
}, void 0, !0)), 128))
|
|
164
164
|
])
|
|
165
165
|
], 64)) : (c(), v("div", Re, [
|
|
166
|
-
|
|
166
|
+
A("div", Ne, [
|
|
167
167
|
D(a.$slots, "renderer", {
|
|
168
168
|
element: a.elements[0][1],
|
|
169
169
|
path: r.value
|
|
170
170
|
}, void 0, !0)
|
|
171
171
|
]),
|
|
172
|
-
|
|
172
|
+
A("div", Ue, [
|
|
173
173
|
D(a.$slots, "controls", {}, void 0, !0)
|
|
174
174
|
])
|
|
175
175
|
]));
|
|
176
176
|
}
|
|
177
|
-
}), Ve = /* @__PURE__ */ P(Pe, [["__scopeId", "data-v-
|
|
177
|
+
}), Ve = /* @__PURE__ */ P(Pe, [["__scopeId", "data-v-5b18d158"]]), _e = { class: "item-controls" }, Fe = /* @__PURE__ */ U({
|
|
178
178
|
__name: "ArrayLayoutItemControls",
|
|
179
179
|
props: {
|
|
180
180
|
isFirst: { type: Boolean, default: !1 },
|
|
@@ -188,7 +188,7 @@ const Ie = {
|
|
|
188
188
|
const t = o;
|
|
189
189
|
return (s, n) => (c(), v("div", _e, [
|
|
190
190
|
D(s.$slots, "before", {}, void 0, !0),
|
|
191
|
-
s.showSortControls ? (c(),
|
|
191
|
+
s.showSortControls ? (c(), S(p(k), {
|
|
192
192
|
key: 0,
|
|
193
193
|
"leading-icon": "arrow-up",
|
|
194
194
|
size: "small",
|
|
@@ -198,7 +198,7 @@ const Ie = {
|
|
|
198
198
|
ariaLabel: "Move up",
|
|
199
199
|
onClick: n[0] || (n[0] = (r) => t("moveUp"))
|
|
200
200
|
}, null, 8, ["disabled"])) : w("", !0),
|
|
201
|
-
s.showSortControls ? (c(),
|
|
201
|
+
s.showSortControls ? (c(), S(p(k), {
|
|
202
202
|
key: 1,
|
|
203
203
|
"leading-icon": "arrow-down",
|
|
204
204
|
size: "small",
|
|
@@ -208,7 +208,7 @@ const Ie = {
|
|
|
208
208
|
ariaLabel: "Move down",
|
|
209
209
|
onClick: n[1] || (n[1] = (r) => t("moveDown"))
|
|
210
210
|
}, null, 8, ["disabled"])) : w("", !0),
|
|
211
|
-
s.showDuplicateButton ? (c(),
|
|
211
|
+
s.showDuplicateButton ? (c(), S(p(k), {
|
|
212
212
|
key: 2,
|
|
213
213
|
"leading-icon": "copy",
|
|
214
214
|
size: "small",
|
|
@@ -217,7 +217,7 @@ const Ie = {
|
|
|
217
217
|
ariaLabel: "Duplicate",
|
|
218
218
|
onClick: n[2] || (n[2] = (r) => t("duplicate"))
|
|
219
219
|
})) : w("", !0),
|
|
220
|
-
s.showDeleteButton ? (c(),
|
|
220
|
+
s.showDeleteButton ? (c(), S(p(k), {
|
|
221
221
|
key: 3,
|
|
222
222
|
"leading-icon": "trash",
|
|
223
223
|
size: "small",
|
|
@@ -228,19 +228,19 @@ const Ie = {
|
|
|
228
228
|
})) : w("", !0)
|
|
229
229
|
]));
|
|
230
230
|
}
|
|
231
|
-
}), Ke = /* @__PURE__ */ P(Fe, [["__scopeId", "data-v-
|
|
231
|
+
}), Ke = /* @__PURE__ */ P(Fe, [["__scopeId", "data-v-912b9206"]]), J = 200, Oe = (e) => e.every((o) => typeof o == "string"), ze = (e) => Oe(e) ? e.reduce((o, t) => o + t, "") : !1, We = (e, o) => {
|
|
232
232
|
const t = M(/* @__PURE__ */ new Map()), s = M(!1), n = C("isTriggerActive"), r = () => {
|
|
233
233
|
let a = !1;
|
|
234
234
|
n({ id: de }).then((d) => {
|
|
235
235
|
a = !0, d.state === "SUCCESS" && (t.value = d.result.reduce((u, { indices: m, isActive: f }) => (u.set(m[0], f), u), /* @__PURE__ */ new Map()), s.value = !1);
|
|
236
236
|
}), setTimeout(() => {
|
|
237
237
|
a || (s.value = !0);
|
|
238
|
-
},
|
|
238
|
+
}, J), s.value = !1;
|
|
239
239
|
}, l = M(!1);
|
|
240
|
-
return
|
|
240
|
+
return j(() => {
|
|
241
241
|
setTimeout(() => {
|
|
242
242
|
l.value || (s.value = !0);
|
|
243
|
-
},
|
|
243
|
+
}, J);
|
|
244
244
|
}), O(
|
|
245
245
|
() => ze(o.value),
|
|
246
246
|
(a) => {
|
|
@@ -248,11 +248,11 @@ const Ie = {
|
|
|
248
248
|
},
|
|
249
249
|
{ immediate: !0 }
|
|
250
250
|
), { isEdited: t, isEditedIsLoading: s };
|
|
251
|
-
},
|
|
251
|
+
}, Je = U({
|
|
252
252
|
name: "ArrayLayout",
|
|
253
253
|
components: {
|
|
254
254
|
DispatchRenderer: me,
|
|
255
|
-
KdsButton:
|
|
255
|
+
KdsButton: k,
|
|
256
256
|
KdsEmptyState: ce,
|
|
257
257
|
ArrayLayoutItemControls: Ke,
|
|
258
258
|
ArrayLayoutItem: Ve
|
|
@@ -263,18 +263,18 @@ const Ie = {
|
|
|
263
263
|
setup(e) {
|
|
264
264
|
const { handleChange: o, control: t } = he(
|
|
265
265
|
e
|
|
266
|
-
), s =
|
|
266
|
+
), s = L(() => {
|
|
267
267
|
var i;
|
|
268
268
|
return ((i = t.value.data) == null ? void 0 : i.length) ?? 0;
|
|
269
269
|
}), r = C("getInitialValue")(
|
|
270
270
|
t.value.path
|
|
271
271
|
), l = M((r == null ? void 0 : r.length) ?? 0), a = z(
|
|
272
|
-
|
|
272
|
+
L(() => t.value.uischema),
|
|
273
273
|
"elementDefaultValue",
|
|
274
274
|
null
|
|
275
275
|
);
|
|
276
276
|
ye({
|
|
277
|
-
dataPath:
|
|
277
|
+
dataPath: L(() => t.value.path),
|
|
278
278
|
value: s,
|
|
279
279
|
initialValue: l.value ?? 0,
|
|
280
280
|
valueComparator: {
|
|
@@ -299,7 +299,7 @@ const Ie = {
|
|
|
299
299
|
},
|
|
300
300
|
{ immediate: !0 }
|
|
301
301
|
);
|
|
302
|
-
const f =
|
|
302
|
+
const f = L(() => t.value.data.map(({ _id: i }) => i)), T = (i) => i.reduce((y, h) => (y ?? "<noId>") + (h ?? "<noId>"), "");
|
|
303
303
|
O(
|
|
304
304
|
() => f.value,
|
|
305
305
|
(i, y) => {
|
|
@@ -311,14 +311,14 @@ const Ie = {
|
|
|
311
311
|
t.value.uischema.options.withEditAndReset,
|
|
312
312
|
f
|
|
313
313
|
), {
|
|
314
|
-
addItem:
|
|
314
|
+
addItem: I,
|
|
315
315
|
moveDown: V,
|
|
316
316
|
moveUp: H,
|
|
317
317
|
removeItems: Q,
|
|
318
318
|
control: X
|
|
319
319
|
} = we(e);
|
|
320
320
|
return {
|
|
321
|
-
addItem:
|
|
321
|
+
addItem: I,
|
|
322
322
|
moveDown: V,
|
|
323
323
|
moveUp: H,
|
|
324
324
|
removeItems: Q,
|
|
@@ -447,7 +447,7 @@ const Ie = {
|
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
449
|
});
|
|
450
|
-
function
|
|
450
|
+
function je(e, o, t, s, n, r) {
|
|
451
451
|
var f, T;
|
|
452
452
|
const l = $("DispatchRenderer"), a = $("ArrayLayoutItemControls"), d = $("ArrayLayoutItem"), u = $("KdsButton"), m = $("KdsEmptyState");
|
|
453
453
|
return e.control.visible ? (c(), v("div", {
|
|
@@ -474,10 +474,10 @@ function Je(e, o, t, s, n, r) {
|
|
|
474
474
|
"use-card-layout": e.useCardLayout,
|
|
475
475
|
"use-section-layout": e.useSectionLayout
|
|
476
476
|
}, {
|
|
477
|
-
renderer: F(({ element:
|
|
477
|
+
renderer: F(({ element: I, path: V }) => [
|
|
478
478
|
B(l, {
|
|
479
479
|
schema: e.control.schema,
|
|
480
|
-
uischema:
|
|
480
|
+
uischema: I,
|
|
481
481
|
path: V
|
|
482
482
|
}, null, 8, ["schema", "uischema", "path"])
|
|
483
483
|
]),
|
|
@@ -488,13 +488,13 @@ function Je(e, o, t, s, n, r) {
|
|
|
488
488
|
"show-sort-controls": e.showSortControls,
|
|
489
489
|
"show-duplicate-button": e.showDuplicateButton,
|
|
490
490
|
"show-delete-button": e.showAddAndDeleteButtons,
|
|
491
|
-
onMoveUp: (
|
|
492
|
-
onMoveDown: (
|
|
493
|
-
onDuplicate: (
|
|
494
|
-
onDelete: (
|
|
491
|
+
onMoveUp: (I) => e.moveItemUp(g),
|
|
492
|
+
onMoveDown: (I) => e.moveItemDown(g),
|
|
493
|
+
onDuplicate: (I) => e.duplicateItem(g),
|
|
494
|
+
onDelete: (I) => e.deleteItem(g)
|
|
495
495
|
}, {
|
|
496
496
|
before: F(() => [
|
|
497
|
-
e.showEditAndResetControls ? (c(),
|
|
497
|
+
e.showEditAndResetControls ? (c(), S(l, oe({
|
|
498
498
|
key: 0,
|
|
499
499
|
ref_for: !0
|
|
500
500
|
}, e.control, {
|
|
@@ -523,7 +523,7 @@ function Je(e, o, t, s, n, r) {
|
|
|
523
523
|
_: 2
|
|
524
524
|
}, 1032, ["id", "ids-record", "array-ui-schema", "elements", "array-element-title", "path", "index", "is-new-element", "element-checkbox-scope", "use-card-layout", "use-section-layout"])
|
|
525
525
|
], 2))), 128)),
|
|
526
|
-
e.showAddAndDeleteButtons ? (c(),
|
|
526
|
+
e.showAddAndDeleteButtons ? (c(), S(u, {
|
|
527
527
|
key: 0,
|
|
528
528
|
variant: "outlined",
|
|
529
529
|
size: "small",
|
|
@@ -531,7 +531,7 @@ function Je(e, o, t, s, n, r) {
|
|
|
531
531
|
label: e.control.uischema.options.addButtonText || "New",
|
|
532
532
|
onClick: e.addDefaultItem
|
|
533
533
|
}, null, 8, ["label", "onClick"])) : w("", !0)
|
|
534
|
-
], 64)) : (c(),
|
|
534
|
+
], 64)) : (c(), S(m, {
|
|
535
535
|
key: 1,
|
|
536
536
|
class: "empty-array",
|
|
537
537
|
button: e.showAddAndDeleteButtons ? {
|
|
@@ -546,7 +546,7 @@ function Je(e, o, t, s, n, r) {
|
|
|
546
546
|
}, null, 8, ["button", "description", "headline"]))
|
|
547
547
|
], 2)) : w("", !0);
|
|
548
548
|
}
|
|
549
|
-
const Qe = /* @__PURE__ */ P(
|
|
549
|
+
const Qe = /* @__PURE__ */ P(Je, [["render", je], ["__scopeId", "data-v-58b139bd"]]);
|
|
550
550
|
export {
|
|
551
551
|
Qe as default
|
|
552
552
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as z, ref as l, computed as _, onMounted as H, createElementBlock as S, openBlock as m, createVNode as q, createBlock as L, createCommentVNode as C, unref as b, withCtx as T, createElementVNode as U, toDisplayString as B } from "vue";
|
|
2
2
|
import { FunctionButton as W, LoadingIcon as j } from "@knime/components";
|
|
3
|
-
import {
|
|
3
|
+
import { z as f, a5 as P, a6 as G } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
|
|
4
4
|
import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const k = ({ view: u, model: i }) => ({
|
|
6
6
|
...u,
|
|
@@ -8,7 +8,7 @@ const k = ({ view: u, model: i }) => ({
|
|
|
8
8
|
}), K = { class: "button-wrapper" }, Q = { class: "button-input-text" }, X = {
|
|
9
9
|
key: 1,
|
|
10
10
|
class: "error-message"
|
|
11
|
-
}, Y = /* @__PURE__ */
|
|
11
|
+
}, Y = /* @__PURE__ */ z({
|
|
12
12
|
__name: "ButtonControl",
|
|
13
13
|
props: {
|
|
14
14
|
control: {},
|
|
@@ -25,26 +25,26 @@ const k = ({ view: u, model: i }) => ({
|
|
|
25
25
|
r.value = null;
|
|
26
26
|
}, h = l({}), v = (t) => {
|
|
27
27
|
h.value = k(t);
|
|
28
|
-
}, s = l({}),
|
|
28
|
+
}, s = l({}), E = _(
|
|
29
29
|
() => {
|
|
30
30
|
var t;
|
|
31
31
|
return ((t = n.control.uischema.options) == null ? void 0 : t.states) ?? [];
|
|
32
32
|
}
|
|
33
33
|
), y = (t) => {
|
|
34
|
-
V(), s.value =
|
|
35
|
-
}, E = (t) => {
|
|
36
|
-
setTimeout(() => n.changeValue(t));
|
|
34
|
+
V(), s.value = E.value.find(({ id: e }) => e === t);
|
|
37
35
|
}, F = (t) => {
|
|
36
|
+
setTimeout(() => n.changeValue(t));
|
|
37
|
+
}, w = (t) => {
|
|
38
38
|
if (t === null)
|
|
39
39
|
return;
|
|
40
40
|
const { settingValue: e, setSettingValue: o, buttonState: a } = t;
|
|
41
|
-
o &&
|
|
41
|
+
o && F(e), y(a);
|
|
42
42
|
}, D = (t, e = () => {
|
|
43
43
|
}) => {
|
|
44
44
|
var a;
|
|
45
45
|
const { state: o } = t;
|
|
46
46
|
if (o === "SUCCESS") {
|
|
47
|
-
|
|
47
|
+
w(t.result);
|
|
48
48
|
return;
|
|
49
49
|
}
|
|
50
50
|
o === "FAIL" && (r.value = (a = t.message) == null ? void 0 : a[0]), e();
|
|
@@ -90,7 +90,7 @@ const k = ({ view: u, model: i }) => ({
|
|
|
90
90
|
a
|
|
91
91
|
);
|
|
92
92
|
};
|
|
93
|
-
|
|
93
|
+
H(() => {
|
|
94
94
|
var e, o, a;
|
|
95
95
|
i({
|
|
96
96
|
init: A,
|
|
@@ -110,7 +110,7 @@ const k = ({ view: u, model: i }) => ({
|
|
|
110
110
|
}
|
|
111
111
|
);
|
|
112
112
|
return (t, e) => (m(), S("div", K, [
|
|
113
|
-
|
|
113
|
+
q(b(W), {
|
|
114
114
|
disabled: s.value.disabled,
|
|
115
115
|
class: "button-input",
|
|
116
116
|
primary: s.value.primary,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as n, ref as s, createElementBlock as c, openBlock as
|
|
2
|
-
import { P as p, r as v } from "./TextControl-
|
|
1
|
+
import { defineComponent as n, ref as s, createElementBlock as c, openBlock as d, createElementVNode as u, renderSlot as r, createVNode as i, unref as b } from "vue";
|
|
2
|
+
import { P as p, r as v } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
|
|
3
3
|
const m = { class: "checkbox-container" }, f = /* @__PURE__ */ n({
|
|
4
4
|
__name: "CheckboxControl",
|
|
5
5
|
props: {
|
|
@@ -14,12 +14,12 @@ const m = { class: "checkbox-container" }, f = /* @__PURE__ */ n({
|
|
|
14
14
|
},
|
|
15
15
|
setup(e) {
|
|
16
16
|
const l = s(!1);
|
|
17
|
-
return (a, o) => (
|
|
17
|
+
return (a, o) => (d(), c("div", {
|
|
18
18
|
class: "checkbox-input",
|
|
19
19
|
onMouseover: o[1] || (o[1] = (t) => l.value = !0),
|
|
20
20
|
onMouseleave: o[2] || (o[2] = (t) => l.value = !1)
|
|
21
21
|
}, [
|
|
22
|
-
|
|
22
|
+
u("div", m, [
|
|
23
23
|
i(b(v), {
|
|
24
24
|
class: "checkbox",
|
|
25
25
|
disabled: e.disabled,
|
|
@@ -34,7 +34,7 @@ const m = { class: "checkbox-container" }, f = /* @__PURE__ */ n({
|
|
|
34
34
|
r(a.$slots, "buttons", { hover: l.value }, void 0, !0)
|
|
35
35
|
], 32));
|
|
36
36
|
}
|
|
37
|
-
}), k = /* @__PURE__ */ p(f, [["__scopeId", "data-v-
|
|
37
|
+
}), k = /* @__PURE__ */ p(f, [["__scopeId", "data-v-4f590a2d"]]);
|
|
38
38
|
export {
|
|
39
39
|
k as default
|
|
40
40
|
};
|
package/dist/{CheckboxesControl-DWUnPGdN-BOSX_stf.js → CheckboxesControl-Cx7qUDbd-ByGOCDtp.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as s, computed as n, ref as c, toRef as d, createBlock as i, createCommentVNode as m, onMounted as p, openBlock as b, unref as f } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { K as h } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
|
|
3
3
|
import { c as v } from "./index-Blg1O3Fz-CGafpkU1.js";
|
|
4
|
-
import { t as y } from "./usePossibleValues-
|
|
4
|
+
import { t as y } from "./usePossibleValues-CsJuQ591-r_2wYQe_.js";
|
|
5
5
|
const C = /* @__PURE__ */ s({
|
|
6
6
|
__name: "CheckboxesControl",
|
|
7
7
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as X, computed as g, useTemplateRef as q, ref as b, watch as m, inject as B, onMounted as I, onUnmounted as J, createElementBlock as Q, openBlock as Y, createElementVNode as v, normalizeClass as Z, toDisplayString as ee, unref as s, createVNode as oe, normalizeStyle as te } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { n as ne, a7 as ae, a8 as re, a9 as se } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
|
|
3
3
|
import { editor as f, MarkerSeverity as ie } from "monaco-editor";
|
|
4
|
-
import { K as le, a as ce, M as de } from "./ai-bar-
|
|
4
|
+
import { K as le, a as ce, M as de } from "./ai-bar-CsJhfKpB.js";
|
|
5
5
|
import { _ as ue } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const pe = { class: "wrapper" }, ge = { class: "title" }, me = { class: "actions" }, ve = ["id"], fe = 18, he = 3, Me = "vs-light", ye = "vs-dark", Ce = /* @__PURE__ */ X({
|
|
7
7
|
__name: "CodeEditorControl",
|
|
@@ -127,7 +127,7 @@ const pe = { class: "wrapper" }, ge = { class: "title" }, me = { class: "actions
|
|
|
127
127
|
}, null, 12, ve)
|
|
128
128
|
]));
|
|
129
129
|
}
|
|
130
|
-
}), ke = /* @__PURE__ */ ue(Ce, [["__scopeId", "data-v-
|
|
130
|
+
}), ke = /* @__PURE__ */ ue(Ce, [["__scopeId", "data-v-33df3f9c"]]);
|
|
131
131
|
export {
|
|
132
132
|
ke as default
|
|
133
133
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, createBlock as a, openBlock as l, unref as r } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { Y as t } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
|
|
3
3
|
const p = /* @__PURE__ */ o({
|
|
4
4
|
__name: "ColorControl",
|
|
5
5
|
props: {
|
package/dist/{ColorPreviewControl-XiKZ4jfn-CLIjX6M_.js → ColorPreviewControl-Cmpb3_o4--muSe_be.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, computed as n, createElementBlock as a, openBlock as e, createBlock as d, unref as p, normalizeStyle as v, Fragment as k, renderList as h, createVNode as w } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { n as b, P as g, $ as P } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
|
|
3
3
|
const f = { class: "empty-state-wrapper" }, C = /* @__PURE__ */ u({
|
|
4
4
|
__name: "ColorPreviewEmptyState",
|
|
5
5
|
setup(l) {
|
|
@@ -7,7 +7,7 @@ const f = { class: "empty-state-wrapper" }, C = /* @__PURE__ */ u({
|
|
|
7
7
|
w(p(P), { headline: "No colors" })
|
|
8
8
|
]));
|
|
9
9
|
}
|
|
10
|
-
}), y = /* @__PURE__ */ g(C, [["__scopeId", "data-v-7a09310d"]]),
|
|
10
|
+
}), y = /* @__PURE__ */ g(C, [["__scopeId", "data-v-7a09310d"]]), $ = { class: "gradient-preview" }, B = /* @__PURE__ */ u({
|
|
11
11
|
__name: "GradientPreview",
|
|
12
12
|
props: {
|
|
13
13
|
gradient: {}
|
|
@@ -19,7 +19,7 @@ const f = { class: "empty-state-wrapper" }, C = /* @__PURE__ */ u({
|
|
|
19
19
|
}), i = n(
|
|
20
20
|
() => `linear-gradient(to right in lab, ${o.value})`
|
|
21
21
|
);
|
|
22
|
-
return (r, c) => (e(), a("div",
|
|
22
|
+
return (r, c) => (e(), a("div", $, [
|
|
23
23
|
s.value ? (e(), a("div", {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "gradient-bar",
|
|
@@ -27,18 +27,18 @@ const f = { class: "empty-state-wrapper" }, C = /* @__PURE__ */ u({
|
|
|
27
27
|
}, null, 4)) : (e(), d(y, { key: 1 }))
|
|
28
28
|
]));
|
|
29
29
|
}
|
|
30
|
-
}),
|
|
30
|
+
}), F = /* @__PURE__ */ g(B, [["__scopeId", "data-v-8a745225"]]), x = { class: "palette-preview" }, I = 8, V = /* @__PURE__ */ u({
|
|
31
31
|
__name: "PalettePreview",
|
|
32
32
|
props: {
|
|
33
33
|
palette: {}
|
|
34
34
|
},
|
|
35
35
|
setup(l) {
|
|
36
36
|
const t = l, s = n(() => t.palette.colors.length > 0), o = n(
|
|
37
|
-
() => Math.max(1, Math.min(
|
|
37
|
+
() => Math.max(1, Math.min(I, t.palette.colors.length))
|
|
38
38
|
), i = n(() => ({
|
|
39
39
|
gridTemplateColumns: `repeat(${o.value}, minmax(0, 1fr))`
|
|
40
40
|
}));
|
|
41
|
-
return (r, c) => (e(), a("div",
|
|
41
|
+
return (r, c) => (e(), a("div", x, [
|
|
42
42
|
s.value ? (e(), a("div", {
|
|
43
43
|
key: 0,
|
|
44
44
|
class: "palette-grid",
|
|
@@ -55,7 +55,7 @@ const f = { class: "empty-state-wrapper" }, C = /* @__PURE__ */ u({
|
|
|
55
55
|
}))
|
|
56
56
|
]));
|
|
57
57
|
}
|
|
58
|
-
}), E = /* @__PURE__ */ g(V, [["__scopeId", "data-v-ad83046f"]]), M = { class: "color-preview" },
|
|
58
|
+
}), E = /* @__PURE__ */ g(V, [["__scopeId", "data-v-ad83046f"]]), M = { class: "color-preview" }, G = /* @__PURE__ */ u({
|
|
59
59
|
__name: "ColorPreviewControl",
|
|
60
60
|
props: {
|
|
61
61
|
control: {},
|
|
@@ -77,7 +77,7 @@ const f = { class: "empty-state-wrapper" }, C = /* @__PURE__ */ u({
|
|
|
77
77
|
i(p(o)) ? (e(), d(E, {
|
|
78
78
|
key: 0,
|
|
79
79
|
palette: p(o)
|
|
80
|
-
}, null, 8, ["palette"])) : (e(), d(
|
|
80
|
+
}, null, 8, ["palette"])) : (e(), d(F, {
|
|
81
81
|
key: 1,
|
|
82
82
|
gradient: p(o)
|
|
83
83
|
}, null, 8, ["gradient"]))
|
|
@@ -85,5 +85,5 @@ const f = { class: "empty-state-wrapper" }, C = /* @__PURE__ */ u({
|
|
|
85
85
|
}
|
|
86
86
|
});
|
|
87
87
|
export {
|
|
88
|
-
|
|
88
|
+
G as default
|
|
89
89
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as p, toRef as c, computed as n, createBlock as b, openBlock as m, unref as i } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { t as V } from "./usePossibleValues-
|
|
2
|
+
import { u as v } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
|
|
3
|
+
import { t as V } from "./usePossibleValues-CsJuQ591-r_2wYQe_.js";
|
|
4
4
|
const g = /* @__PURE__ */ p({
|
|
5
5
|
__name: "ComboBoxControl",
|
|
6
6
|
props: {
|
|
@@ -14,23 +14,23 @@ const g = /* @__PURE__ */ p({
|
|
|
14
14
|
labelForId: {}
|
|
15
15
|
},
|
|
16
16
|
setup(e) {
|
|
17
|
-
const o = e, { possibleValues: l } = V(c(o, "control")),
|
|
17
|
+
const o = e, { possibleValues: l } = V(c(o, "control")), u = n(
|
|
18
18
|
() => l.value === null || l.value.length === 0
|
|
19
|
-
),
|
|
19
|
+
), r = n(
|
|
20
20
|
() => {
|
|
21
21
|
var a, t;
|
|
22
22
|
return ((a = o.control.uischema.providedOptions) == null ? void 0 : a.includes("possibleValues")) || ((t = o.control.uischema.options) == null ? void 0 : t.possibleValues) !== void 0;
|
|
23
23
|
}
|
|
24
24
|
), d = n(
|
|
25
|
-
() => o.disabled ||
|
|
25
|
+
() => o.disabled || u.value && r.value
|
|
26
26
|
);
|
|
27
27
|
return (a, t) => (m(), b(i(v), {
|
|
28
28
|
id: e.labelForId,
|
|
29
29
|
"model-value": e.control.data,
|
|
30
|
-
"allow-new-values": !
|
|
30
|
+
"allow-new-values": !r.value,
|
|
31
31
|
ariaLabel: e.control.label,
|
|
32
32
|
disabled: d.value,
|
|
33
|
-
"possible-values":
|
|
33
|
+
"possible-values": u.value ? e.control.data.map((s) => ({ id: s, text: s })) : i(l),
|
|
34
34
|
error: e.error,
|
|
35
35
|
"sub-text": e.subText,
|
|
36
36
|
"onUpdate:modelValue": e.changeValue
|
package/dist/{ConfigurationNodeNotSupported-B27grebd.js → ConfigurationNodeNotSupported-Bkfoi87W.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as p, computed as o, createBlock as d, openBlock as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as p, computed as o, createBlock as d, openBlock as c, unref as u } from "vue";
|
|
2
|
+
import { m as l, o as m, q as f } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
|
|
3
3
|
const N = /* @__PURE__ */ p({
|
|
4
4
|
__name: "ConfigurationNodeNotSupported",
|
|
5
5
|
props: l(),
|
|
@@ -12,7 +12,7 @@ const N = /* @__PURE__ */ p({
|
|
|
12
12
|
), a = o(() => `Not Supported: ${n.value}`), i = o(
|
|
13
13
|
() => `The node "${n.value}" is not supported in this dialog.`
|
|
14
14
|
);
|
|
15
|
-
return (e, h) => (
|
|
15
|
+
return (e, h) => (c(), d(u(f), {
|
|
16
16
|
headline: a.value,
|
|
17
17
|
description: i.value,
|
|
18
18
|
variant: "error"
|