@knime/jsonforms 5.1.3 → 5.1.4
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/CHANGELOG.md +6 -0
- package/dist/{SectionLayout-5BjIATUj.js → SectionLayout-D8-5LK-D.js} +1 -1
- package/dist/{SettingsSubPanelLayout-BqZeW71Q.js → SettingsSubPanelLayout-C8N16Fwp.js} +1 -1
- package/dist/{VerticalLayout-BIZtZryd.js → VerticalLayout-CBc-Csbc.js} +1 -1
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +1 -1
- package/dist/{src-D4ieymcC.js → src-BzUVP7g4.js} +218 -217
- package/dist/testing.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as e, u as t } from "./src-
|
|
1
|
+
import { d as e, u as t } from "./src-BzUVP7g4.js";
|
|
2
2
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
3
|
import { createBlock as r, createElementBlock as i, createVNode as a, defineComponent as o, openBlock as s, ref as c, renderSlot as l, unref as u, withCtx as d } from "vue";
|
|
4
4
|
import { DispatchRenderer as f } from "@jsonforms/vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as e, k as t, u as n } from "./src-
|
|
1
|
+
import { d as e, k as t, u as n } from "./src-BzUVP7g4.js";
|
|
2
2
|
import { t as r } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
3
|
import { computed as i, createBlock as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, openBlock as u, ref as d, renderSlot as f, unref as p, withCtx as m } from "vue";
|
|
4
4
|
import { DispatchRenderer as h } from "@jsonforms/vue";
|
package/dist/knime-jsonforms.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.flex-wrapper[data-v-2d34194b]{flex-direction:column;height:100%;display:flex}.form{&[data-v-2d34194b]{--horizontal-dialog-padding:var(--kds-spacing-container-0-75x);padding:0 var(--horizontal-dialog-padding) var(--kds-spacing-container-0-75x);flex-direction:column;flex-grow:1;display:flex;overflow:hidden auto}&[data-v-2d34194b]:focus{outline:none}}.settings-sub-panel{&[data-v-
|
|
1
|
+
.flex-wrapper[data-v-2d34194b]{flex-direction:column;height:100%;display:flex}.form{&[data-v-2d34194b]{--horizontal-dialog-padding:var(--kds-spacing-container-0-75x);padding:0 var(--horizontal-dialog-padding) var(--kds-spacing-container-0-75x);flex-direction:column;flex-grow:1;display:flex;overflow:hidden auto}&[data-v-2d34194b]:focus{outline:none}}.settings-sub-panel{&[data-v-449c4251]{z-index:3;background-color:var(--kds-color-surface-default);width:100%;box-shadow:var(--kds-elevation-level-3);flex-direction:column;display:flex;position:absolute;top:0;bottom:0;right:0}&[data-v-449c4251]:focus{outline:none}}.settings-sub-panel-body[data-v-449c4251]{--horizontal-dialog-padding:var(--kds-spacing-container-0-75x);height:100%;padding:0 var(--horizontal-dialog-padding) var(--horizontal-dialog-padding);flex-direction:column;display:flex;overflow:hidden auto}.settings-sub-panel-footer[data-v-449c4251]{flex:none}.slide-enter-active[data-v-449c4251],.slide-leave-active[data-v-449c4251]{transition:transform .2s}.slide-enter-from[data-v-449c4251],.slide-leave-to[data-v-449c4251]{transform:translateX(calc(100% + var(--kds-spacing-container-0-5x)))}.loading-dialog{&[data-v-6920196f]{gap:var(--kds-spacing-container-1x);height:100%;padding:var(--kds-spacing-container-2x) var(--kds-spacing-container-1x);flex-direction:column;display:flex}& .two-columns[data-v-6920196f]{gap:var(--kds-spacing-container-1x);margin-bottom:var(--kds-spacing-container-3x);grid-template-columns:1fr 1fr;display:grid}}.dialog[data-v-acd25041]{background-color:var(--kds-color-surface-default);flex-direction:column;justify-content:space-between;height:100%;display:flex;position:relative;overflow-x:hidden}.dialog-label{&[data-v-dcb388eb]{flex-direction:column;width:100%;display:flex;position:relative}&.fill[data-v-dcb388eb]{flex-grow:1}& .control-header{&[data-v-dcb388eb]{max-width:100%;min-height:calc(var(--kds-spacing-input-label-spacing-bottom) + var(--kds-dimension-component-height-1x));display:flex}& .left{&[data-v-dcb388eb]{flex:1;justify-content:flex-start;min-width:0;display:flex}& .label[data-v-dcb388eb]{white-space:pre;flex-shrink:1;min-width:0}}&[data-v-dcb388eb] .toggle-hide-on-null{padding-bottom:var(--kds-spacing-input-label-spacing-bottom);margin-left:var(--kds-spacing-container-0-12x)}&[data-v-dcb388eb]:has(.left .label:hover) .toggle-hide-on-null:not(.disabled) .control{background:var(--bg-hover)}}&[data-v-dcb388eb] .label-text{display:inline-block}}.description-wrapper[data-v-36483899]{pointer-events:auto;max-height:300px;overflow:auto}.vertical-layout{&[data-v-abc3717c]{--vertical-padding:var(--kds-spacing-container-0-5x);flex-direction:column;display:flex}&[data-v-abc3717c]:last-child{flex:1}&[data-v-abc3717c]:not(:has(:first-child>.section:first-child)){gap:var(--kds-spacing-container-0-75x);padding-top:var(--vertical-padding)}}.section-header-sentinel[data-v-04e52739]{height:1px;margin-bottom:-1px}.section-header{&[data-v-04e52739]{z-index:1;margin:0 calc(-1 * var(--horizontal-dialog-padding,0));background-color:var(--kds-color-surface-default);position:sticky;top:0}& .section-header-layout-container{&[data-v-04e52739]{gap:var(--kds-spacing-container-0-5x);width:calc(100% - var(--horizontal-dialog-padding,0) * 2);padding-top:var(--kds-spacing-container-0-25x);padding-bottom:var(--kds-spacing-container-0-12x);margin:0 var(--horizontal-dialog-padding,0);justify-content:space-between;align-items:center;display:flex}& h3[data-v-04e52739]{font:var(--kds-font-base-title-medium-strong);color:var(--kds-color-text-and-icon-neutral);margin:0}& .section-header-buttons[data-v-04e52739]{gap:var(--kds-spacing-container-0-25x);align-items:center;display:flex}}&.is-sticking .section-header-layout-container[data-v-04e52739]{border-bottom:var(--kds-border-base-subtle)}}.item-controls[data-v-9f37d47c]{gap:var(--kds-spacing-container-0-25x);margin-bottom:var(--kds-spacing-container-0-12x);display:flex}.simple-array{& .item-header[data-v-7737a235]{margin-top:var(--kds-spacing-container-0-5x);margin-bottom:var(--kds-spacing-container-0-5x);justify-content:space-between;align-items:baseline;display:flex}& .element{&[data-v-7737a235]{gap:var(--kds-spacing-container-0-25x);margin-bottom:var(--kds-spacing-container-1x);align-items:end;display:flex}& .form-component[data-v-7737a235]{flex-grow:1;min-width:0}}&[data-v-7737a235]>:last-child>*{margin-bottom:0}}.simple-button-input[data-v-c79c6b71]{margin-bottom:var(--kds-spacing-container-0-5x);place-content:center space-between;display:flex;position:relative}.empty-state-wrapper[data-v-7a09310d]{background:var(--kds-color-surface-muted);border:var(--kds-border-base-subtle);border-radius:var(--kds-border-radius-container-0-25x);justify-content:center;align-items:center;display:flex}.gradient-preview{&[data-v-8a745225]{height:var(--kds-dimension-component-height-1-5x)}& .gradient-bar[data-v-8a745225]{border-radius:var(--kds-border-radius-container-0-25x)}&[data-v-8a745225]>*{height:100%}}.palette-preview{&[data-v-ad83046f]{--palette-grid-entry-height:var(--kds-dimension-component-height-1-5x);--palette-grid-gap:var(--kds-spacing-container-0-25x);min-height:calc(2 * var(--palette-grid-entry-height) + var(--palette-grid-gap))}& .palette-grid{&[data-v-ad83046f]{--min-grid-rows:2;grid-template-rows:repeat(var(--min-grid-rows), var(--palette-grid-entry-height));grid-auto-rows:var(--palette-grid-entry-height);gap:var(--palette-grid-gap);display:grid}& .color-cell[data-v-ad83046f]{height:var(--palette-grid-entry-height);border-radius:var(--kds-border-radius-container-0-25x)}}& .empty-state[data-v-ad83046f]{height:var(--palette-grid-entry-height)}}.input-wrapper{&[data-v-3a916a8e]{gap:var(--kds-spacing-container-1x);flex-direction:column;display:flex}& .chart[data-v-3a916a8e]{gap:var(--kds-spacing-container-0-75x);flex-direction:row;align-items:center;display:flex}}.checkbox-input{&[data-v-4f590a2d]{display:flex;position:relative}& .checkbox-container[data-v-4f590a2d]{flex:1;min-width:0;display:flex}}.reexecution-icon[data-v-4f590a2d]{vertical-align:top;height:10px;margin:3px 0 1px 5px;display:inline-block}.grid-list{&[data-v-7a7a1a2e]{width:var(--v61e65c73)}& .grid-list-container[data-v-7a7a1a2e]{place-items:stretch stretch;display:grid}& .button{&[data-v-7a7a1a2e]{min-width:36px;margin-bottom:var(--kds-spacing-container-0-5x)}&.invert[data-v-7a7a1a2e]{margin-top:var(--kds-spacing-container-0-75x);margin-left:0}}& .checkbox[data-v-7a7a1a2e]{margin-top:var(--kds-spacing-container-0-37x)}}.horizontal[data-v-61af9466]{gap:var(--kds-spacing-container-0-25x);justify-content:space-between;width:100%;display:flex}.horizontal-element[data-v-61af9466]{flex:1;width:0}.link-wrapper[data-v-c55bc56b]{justify-content:var(--v7f757bb0);width:100%;display:flex}.progress-button-input[data-v-549c4426]{place-content:center space-between;display:flex}.radio-wrapper{&[data-v-d327df7b]{flex-direction:row;gap:20px;display:flex}& .radio-button[data-v-d327df7b]{flex:0 0 90px;position:relative}& .description[data-v-d327df7b],& .price[data-v-d327df7b]{font:var(--kds-font-base-body-small)}& .description[data-v-d327df7b]{flex:auto}& .price{&[data-v-d327df7b]{flex:0 0 110px}&.selected[data-v-d327df7b]{font-weight:500}}}.footnote[data-v-d327df7b]{font:var(--kds-font-base-body-small)}.editor[data-v-0d780c9f]{height:100%}.section{&[data-v-33f353d4]:not(:first-child){padding-top:var(--kds-spacing-container-1x)}}.flex-row[data-v-dc2400b4]{gap:var(--kds-spacing-container-0-5x);flex-direction:row;justify-content:flex-end;align-items:center;display:flex}.team-and-space{&[data-v-40e43c08]{transition:opacity .3s ease-in-out}& .team[data-v-40e43c08],& .space[data-v-40e43c08]{float:left;width:calc(50% - 5px);margin-right:5px}}.timeframe{&[data-v-f38723b8]{flex-direction:row;gap:20px;display:flex}&[data-v-f38723b8]>*{flex:auto}}
|
|
2
2
|
/*$vite$:1*/
|
package/dist/knime-jsonforms.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { C as e, D as t, E as n, O as r, S as i, T as a, _ as o, a as s, b as c, c as l, d as u, f as d, g as f, h as p, i as m, j as h, k as g, l as _, m as v, n as y, o as b, p as x, r as S, s as C, t as w, u as T, v as E, w as D, x as O, y as k } from "./src-
|
|
1
|
+
import { C as e, D as t, E as n, O as r, S as i, T as a, _ as o, a as s, b as c, c as l, d as u, f as d, g as f, h as p, i as m, j as h, k as g, l as _, m as v, n as y, o as b, p as x, r as S, s as C, t as w, u as T, v as E, w as D, x as O, y as k } from "./src-BzUVP7g4.js";
|
|
2
2
|
import { n as A } from "./useProvidedState-478_KXOe.js";
|
|
3
3
|
export { m as FieldControl, h as Form, r as JsonFormsDialog, t as LabeledControl, T as SectionHeading, g as SettingsSubPanel, _ as SimpleArrayLayout, S as SimpleButtonControl, y as TextControl, u as VerticalLayoutBase, O as controlProps, k as controlToRenderer, s as controls, b as defaultRenderers, i as defineControl, p as defineLayout, n as getAsyncSetupMethod, e as handleAsyncComponents, x as inputFormats, f as layoutProps, o as layoutToRenderer, C as layouts, D as mapControls, a as mapLayouts, d as priorityRanks, w as toDataPathSegments, l as toRenderers, A as useProvidedState, E as withDescriptionButton, v as withDescriptionButtonLayout, c as withLabel };
|
|
@@ -7,16 +7,17 @@ import { Fragment as o, Suspense as s, Teleport as c, Transition as l, computed
|
|
|
7
7
|
import { Actions as le, UPDATE_DATA as ue, and as j, composePaths as M, hasType as de, isAnyOfControl as fe, isBooleanControl as pe, isControl as N, isDateTimeControl as me, isIntegerControl as P, isNumberControl as he, isOneOfControl as F, isStringControl as I, not as ge, rankWith as L, schemaMatches as _e, toDataPathSegments as ve, uiTypeIs as R } from "@jsonforms/core";
|
|
8
8
|
import { DispatchRenderer as ye, JsonForms as be, rendererProps as z, useJsonFormsArrayControl as xe, useJsonFormsControl as B, useJsonFormsLayout as Se } from "@jsonforms/vue";
|
|
9
9
|
import { KdsButton as V, KdsDescription as Ce, KdsInfoToggleButton as we, KdsInlineMessage as Te, KdsLabel as Ee, KdsLoadingSkeleton as H, KdsNumberInput as De, KdsPanel as Oe, KdsPasswordInput as ke, KdsTextInput as Ae, KdsToggleSwitch as je, KdsUsernameInput as Me, kdsToggleSwitchSize as Ne } from "@knime/kds-components";
|
|
10
|
+
import { getDeepActiveElement as Pe } from "@knime/utils";
|
|
10
11
|
import { useDebounceFn as U } from "@vueuse/core";
|
|
11
12
|
//#region src/layoutComponents/Form.vue
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
return w(), p("div",
|
|
13
|
+
var Fe = {}, Ie = { class: "flex-wrapper" }, Le = { class: "form" };
|
|
14
|
+
function Re(e, t) {
|
|
15
|
+
return w(), p("div", Ie, [m("div", Le, [D(e.$slots, "default", {}, void 0, !0)]), D(e.$slots, "bottom-content", {}, void 0, !0)]);
|
|
15
16
|
}
|
|
16
|
-
var W = /*#__PURE__*/ t(
|
|
17
|
+
var W = /*#__PURE__*/ t(Fe, [["render", Re], ["__scopeId", "data-v-2d34194b"]]), ze = ["aria-label"], Be = { class: "settings-sub-panel-body" }, Ve = {
|
|
17
18
|
key: 0,
|
|
18
19
|
class: "settings-sub-panel-footer"
|
|
19
|
-
}, G = Symbol("subPanelDestInjectionKey"),
|
|
20
|
+
}, G = Symbol("subPanelDestInjectionKey"), He = (e) => ne(G, e), Ue = /*#__PURE__*/ t(/* @__PURE__ */ _({
|
|
20
21
|
__name: "SettingsSubPanel",
|
|
21
22
|
props: {
|
|
22
23
|
showBackArrow: {
|
|
@@ -28,7 +29,7 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
28
29
|
},
|
|
29
30
|
setup(e, { expose: t }) {
|
|
30
31
|
let n = T(!1), r = T(null), i = T(null), a = () => {
|
|
31
|
-
i.value =
|
|
32
|
+
i.value = Pe() ?? null, n.value = !0;
|
|
32
33
|
}, s = () => {
|
|
33
34
|
n.value = !1;
|
|
34
35
|
};
|
|
@@ -67,36 +68,36 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
67
68
|
"body-variant": "plain",
|
|
68
69
|
"body-overflow": "hidden"
|
|
69
70
|
}, {
|
|
70
|
-
default: A(() => [m("div",
|
|
71
|
+
default: A(() => [m("div", Be, [D(e.$slots, "default", {}, void 0, !0)])]),
|
|
71
72
|
_: 3
|
|
72
|
-
}, 8, ["headline"]), e.$slots["bottom-content"] ? (w(), p("div",
|
|
73
|
+
}, 8, ["headline"]), e.$slots["bottom-content"] ? (w(), p("div", Ve, [D(e.$slots, "bottom-content", {}, void 0, !0)])) : f("", !0)], 8, ze)) : f("", !0)]),
|
|
73
74
|
_: 3
|
|
74
75
|
})], 8, ["to"]))], 64));
|
|
75
76
|
}
|
|
76
|
-
}), [["__scopeId", "data-v-
|
|
77
|
+
}), [["__scopeId", "data-v-449c4251"]]), We = {
|
|
77
78
|
key: 0,
|
|
78
79
|
class: "loading-dialog"
|
|
79
|
-
},
|
|
80
|
+
}, Ge = { class: "two-columns" }, Ke = 200, qe = /*#__PURE__*/ t(/* @__PURE__ */ _({
|
|
80
81
|
__name: "LoadingDialog",
|
|
81
82
|
setup(e) {
|
|
82
83
|
let t = T(!1);
|
|
83
84
|
return te(() => {
|
|
84
85
|
setTimeout(() => {
|
|
85
86
|
t.value = !0;
|
|
86
|
-
},
|
|
87
|
-
}), (e, n) => t.value ? (w(), p("div",
|
|
87
|
+
}, Ke);
|
|
88
|
+
}), (e, n) => t.value ? (w(), p("div", We, [
|
|
88
89
|
h(O(H), {
|
|
89
90
|
variant: "input-with-label",
|
|
90
91
|
repeat: 3
|
|
91
92
|
}),
|
|
92
|
-
m("div",
|
|
93
|
+
m("div", Ge, [h(O(H), { variant: "input-with-label" }), h(O(H), { variant: "input-with-label" })]),
|
|
93
94
|
h(O(H), {
|
|
94
95
|
variant: "input-with-label",
|
|
95
96
|
repeat: 3
|
|
96
97
|
})
|
|
97
98
|
])) : f("", !0);
|
|
98
99
|
}
|
|
99
|
-
}), [["__scopeId", "data-v-6920196f"]]),
|
|
100
|
+
}), [["__scopeId", "data-v-6920196f"]]), Je = { class: "dialog" }, Ye = /*#__PURE__*/ t(/* @__PURE__ */ _({
|
|
100
101
|
__name: "JsonFormsDialog",
|
|
101
102
|
props: {
|
|
102
103
|
schema: {},
|
|
@@ -149,7 +150,7 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
149
150
|
}), await v);
|
|
150
151
|
} });
|
|
151
152
|
let S = T(null);
|
|
152
|
-
|
|
153
|
+
He(S);
|
|
153
154
|
let C = u(() => ({
|
|
154
155
|
data: e.data,
|
|
155
156
|
schema: e.schema,
|
|
@@ -158,11 +159,11 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
158
159
|
middleware: a,
|
|
159
160
|
...e.ajv ? { ajv: e.ajv } : {}
|
|
160
161
|
}));
|
|
161
|
-
return (e, t) => (w(), p("div",
|
|
162
|
+
return (e, t) => (w(), p("div", Je, [m("div", {
|
|
162
163
|
ref_key: "subPanelTeleportDest",
|
|
163
164
|
ref: S
|
|
164
165
|
}, null, 512), (w(), d(s, null, {
|
|
165
|
-
fallback: A(() => [h(
|
|
166
|
+
fallback: A(() => [h(qe)]),
|
|
166
167
|
default: A(() => [h(W, null, {
|
|
167
168
|
default: A(() => [
|
|
168
169
|
D(e.$slots, "top", {}, void 0, !0),
|
|
@@ -177,7 +178,7 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
177
178
|
_: 3
|
|
178
179
|
}))]));
|
|
179
180
|
}
|
|
180
|
-
}), [["__scopeId", "data-v-acd25041"]]),
|
|
181
|
+
}), [["__scopeId", "data-v-acd25041"]]), Xe = ({ control: e, disabled: t, changeValue: n, controlElement: i }) => {
|
|
181
182
|
let a = u(() => O(e).uischema), o = u(() => a.value?.options?.hideOnNull ?? !1), s = r(a, "default"), c = u(() => O(e).data === null || O(e).data === void 0), l = u(() => !(o.value && c.value)), d = u(() => O(e).data === s.value), f = O(e).label;
|
|
182
183
|
k(() => l.value, (e) => {
|
|
183
184
|
e && x(() => i.value?.focus?.());
|
|
@@ -198,7 +199,7 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
198
199
|
ariaLabel: h.value
|
|
199
200
|
}))
|
|
200
201
|
};
|
|
201
|
-
},
|
|
202
|
+
}, Ze = { class: "control-header" }, Qe = { class: "left" }, K = /*#__PURE__*/ t(/* @__PURE__ */ _({
|
|
202
203
|
__name: "LabeledControl",
|
|
203
204
|
props: {
|
|
204
205
|
label: {},
|
|
@@ -214,8 +215,8 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
214
215
|
class: S(["dialog-label", { fill: e.fill }]),
|
|
215
216
|
onMouseover: a[0] ||= (e) => n.value = !0,
|
|
216
217
|
onMouseleave: a[1] ||= (e) => n.value = !1
|
|
217
|
-
}, [m("div",
|
|
218
|
-
m("div",
|
|
218
|
+
}, [m("div", Ze, [
|
|
219
|
+
m("div", Qe, [h(O(Ee), {
|
|
219
220
|
id: "label-" + O(r),
|
|
220
221
|
for: O(r),
|
|
221
222
|
label: i.value,
|
|
@@ -232,7 +233,7 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
232
233
|
}
|
|
233
234
|
}), [["__scopeId", "data-v-dcb388eb"]]), q = (e) => async () => {
|
|
234
235
|
e.name === "AsyncComponentWrapper" && await e.setup();
|
|
235
|
-
},
|
|
236
|
+
}, $e = {
|
|
236
237
|
control: {
|
|
237
238
|
type: Object,
|
|
238
239
|
required: !0
|
|
@@ -258,23 +259,23 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
258
259
|
type: Function,
|
|
259
260
|
required: !0
|
|
260
261
|
}
|
|
261
|
-
}, J = (e) => _(e, { props:
|
|
262
|
+
}, J = (e) => _(e, { props: $e }), et = (e) => (t) => Object.entries(t).reduce((t, [n, { control: r, name: i, tester: a, __asyncSetup: o }]) => (t[n] = {
|
|
262
263
|
control: e(r, n),
|
|
263
264
|
name: i,
|
|
264
265
|
tester: a,
|
|
265
266
|
__asyncSetup: o || q(r)
|
|
266
|
-
}, t), {}),
|
|
267
|
+
}, t), {}), tt = (e) => (t) => Object.entries(t).reduce((t, [n, { layout: r, name: i, tester: a, __asyncSetup: o }]) => (t[n] = {
|
|
267
268
|
layout: e(r, n),
|
|
268
269
|
name: i,
|
|
269
270
|
tester: a,
|
|
270
271
|
__asyncSetup: o || q(r)
|
|
271
|
-
}, t), {}),
|
|
272
|
+
}, t), {}), nt = (e) => ({ control: t, tester: n, name: r, __asyncSetup: i }) => ({
|
|
272
273
|
name: r,
|
|
273
274
|
tester: n,
|
|
274
275
|
__asyncSetup: i || q(t),
|
|
275
276
|
control: e(t)
|
|
276
|
-
}),
|
|
277
|
-
let i = T(null), a = u(() => n.control.uischema.options?.hideControlHeader), { toggleProps: o, showToggle: s, showControl: c, onLabelClick: l } =
|
|
277
|
+
}), rt = ({ fill: e } = { fill: !1 }) => (t) => J((n, { slots: r }) => {
|
|
278
|
+
let i = T(null), a = u(() => n.control.uischema.options?.hideControlHeader), { toggleProps: o, showToggle: s, showControl: c, onLabelClick: l } = Xe({
|
|
278
279
|
control: oe(n, "control"),
|
|
279
280
|
controlElement: i,
|
|
280
281
|
changeValue: n.changeValue,
|
|
@@ -300,7 +301,7 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
300
301
|
}) : null,
|
|
301
302
|
icon: r.icon
|
|
302
303
|
});
|
|
303
|
-
}), Y = (e = { fill: !1 }) =>
|
|
304
|
+
}), Y = (e = { fill: !1 }) => nt(rt(e)), it = 500, at = ({ data: e, uischema: t }) => {
|
|
304
305
|
let r = T(null), a = i(t, "validatorId"), o = n("validate"), s = async (e) => {
|
|
305
306
|
a?.value ? r.value = await o(a.value, e) : r.value = null;
|
|
306
307
|
};
|
|
@@ -308,9 +309,9 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
308
309
|
customValidationMessage: r,
|
|
309
310
|
performCustomValidationDebounced: U((e) => {
|
|
310
311
|
s(e).catch((e) => {});
|
|
311
|
-
},
|
|
312
|
+
}, it)
|
|
312
313
|
};
|
|
313
|
-
},
|
|
314
|
+
}, ot = 500, st = ({ data: e, options: t, performExternalValidation: n, customValidationMessage: r }) => {
|
|
314
315
|
let i = u(() => !!t.value?.externalValidationHandler), a = re({}), o = re({}), s = 0, c = (e) => {
|
|
315
316
|
let t = String(s++);
|
|
316
317
|
return a[t] = e, () => {
|
|
@@ -325,7 +326,7 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
325
326
|
}
|
|
326
327
|
}, f = U((e) => {
|
|
327
328
|
d(e);
|
|
328
|
-
},
|
|
329
|
+
}, ot), p = u(() => Object.values(a).map((t) => O(t)?.(e.value))), m = u(() => Object.values(o)), h = u(() => ({ errors: [
|
|
329
330
|
...p.value.flatMap(({ errors: e } = { errors: [] }) => e),
|
|
330
331
|
...m.value,
|
|
331
332
|
...r?.value ? [r.value] : []
|
|
@@ -336,11 +337,11 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
336
337
|
onRegisterValidation: c,
|
|
337
338
|
performExternalValidationDebounced: f
|
|
338
339
|
};
|
|
339
|
-
},
|
|
340
|
-
let a = B(r), o = u(() => a.control.value.visible), s = u(() => a.control.value.data), c = u(() => a.control.value.uischema || {}), { customValidationMessage: l, performCustomValidationDebounced: d } =
|
|
340
|
+
}, ct = ({ component: e, asyncSetup: t, config: n = {} }) => _(async (r, i) => {
|
|
341
|
+
let a = B(r), o = u(() => a.control.value.visible), s = u(() => a.control.value.data), c = u(() => a.control.value.uischema || {}), { customValidationMessage: l, performCustomValidationDebounced: d } = at({
|
|
341
342
|
data: s,
|
|
342
343
|
uischema: c
|
|
343
|
-
}), { messages: f, isValid: p, onRegisterValidation: m, performExternalValidationDebounced: h } =
|
|
344
|
+
}), { messages: f, isValid: p, onRegisterValidation: m, performExternalValidationDebounced: h } = st({
|
|
344
345
|
data: s,
|
|
345
346
|
options: u(() => c.value.options || {}),
|
|
346
347
|
performExternalValidation: n?.performExternalValidation,
|
|
@@ -361,7 +362,7 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
361
362
|
subText: f.value.errors.at(-1),
|
|
362
363
|
onRegisterValidation: m
|
|
363
364
|
}, i.slots) : null;
|
|
364
|
-
}, { props: z() }),
|
|
365
|
+
}, { props: z() }), lt = { class: "description-wrapper" }, X = /*#__PURE__*/ t(/* @__PURE__ */ _({
|
|
365
366
|
__name: "DescriptionPopover",
|
|
366
367
|
props: {
|
|
367
368
|
html: {},
|
|
@@ -372,14 +373,14 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
372
373
|
},
|
|
373
374
|
setup(e) {
|
|
374
375
|
return (t, n) => (w(), d(O(we), { hidden: !e.hover }, {
|
|
375
|
-
default: A(() => [m("div",
|
|
376
|
+
default: A(() => [m("div", lt, [h(O(Ce), {
|
|
376
377
|
text: e.html ?? "",
|
|
377
378
|
"render-as-html": ""
|
|
378
379
|
}, null, 8, ["text"])])]),
|
|
379
380
|
_: 1
|
|
380
381
|
}, 8, ["hidden"]));
|
|
381
382
|
}
|
|
382
|
-
}), [["__scopeId", "data-v-36483899"]]),
|
|
383
|
+
}), [["__scopeId", "data-v-36483899"]]), ut = (e) => J((t, n) => {
|
|
383
384
|
let r = u(() => t.control.description);
|
|
384
385
|
return () => v(e, t, {
|
|
385
386
|
...n.slots,
|
|
@@ -391,13 +392,13 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
391
392
|
})] : []];
|
|
392
393
|
}
|
|
393
394
|
});
|
|
394
|
-
}),
|
|
395
|
+
}), dt = (e, t) => _(async (n, r) => {
|
|
395
396
|
let { layout: i } = Se(n), a = u(() => i.value.visible);
|
|
396
397
|
return await (t || q(e))?.(), () => a.value ? v(e, { layout: i.value }, r.slots) : null;
|
|
397
|
-
}, { props: z() }),
|
|
398
|
+
}, { props: z() }), ft = { layout: {
|
|
398
399
|
type: Object,
|
|
399
400
|
required: !0
|
|
400
|
-
} },
|
|
401
|
+
} }, pt = (e) => _(e, { props: ft }), mt = (e) => pt((t, n) => {
|
|
401
402
|
let r = u(() => t.layout.uischema.description);
|
|
402
403
|
return () => v(e, t, {
|
|
403
404
|
...n.slots,
|
|
@@ -453,124 +454,124 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
453
454
|
}, Q = (e) => (t) => t.options?.format === e, $ = {
|
|
454
455
|
fallback: 10,
|
|
455
456
|
default: 100
|
|
456
|
-
},
|
|
457
|
+
}, ht = g(() => import("./CheckboxesControl-BZhMhT9x.js")), gt = Y()({
|
|
457
458
|
name: "CheckboxesControl",
|
|
458
|
-
control:
|
|
459
|
+
control: ht,
|
|
459
460
|
tester: L($.default, Q(Z.checkboxes))
|
|
460
|
-
}),
|
|
461
|
+
}), _t = {
|
|
461
462
|
name: "ColorPreviewControl",
|
|
462
463
|
control: g(() => import("./ColorPreviewControl-B4zix2kb.js")),
|
|
463
464
|
tester: L($.default, Q(Z.colorPreview))
|
|
464
|
-
},
|
|
465
|
+
}, vt = g(() => import("./ColorControl-D1dNnNbO.js")), yt = Y()({
|
|
465
466
|
name: "ColorControl",
|
|
466
|
-
control:
|
|
467
|
+
control: vt,
|
|
467
468
|
tester: L($.default, Q(Z.color))
|
|
468
|
-
}),
|
|
469
|
+
}), bt = g(() => import("./ComboBoxControl-BGWAD9IW.js")), xt = j(_e((e) => de(e, "array")), Q(Z.comboBox)), St = Y()({
|
|
469
470
|
name: "ComboBoxControl",
|
|
470
|
-
control:
|
|
471
|
-
tester: L($.default,
|
|
472
|
-
}),
|
|
471
|
+
control: bt,
|
|
472
|
+
tester: L($.default, xt)
|
|
473
|
+
}), Ct = g(() => import("./DateTimeFormatPickerControl-BiYcsKSn.js")), wt = Y()({
|
|
473
474
|
name: "DateTimeFormatPickerControl",
|
|
474
|
-
control:
|
|
475
|
+
control: Ct,
|
|
475
476
|
tester: L($.default, j(N, Q(Z.dateTimeFormat)))
|
|
476
|
-
}),
|
|
477
|
+
}), Tt = g({ loader: () => import("./DateTimeControl-kTQZI9JC.js") }), Et = Y()({
|
|
477
478
|
name: "DateTimeControl",
|
|
478
|
-
control:
|
|
479
|
+
control: Tt,
|
|
479
480
|
tester: L($.default, Q(Z.dateTime))
|
|
480
|
-
}),
|
|
481
|
+
}), Dt = g({ loader: () => import("./DropdownControl-jsayV3N5.js") }), Ot = Y()({
|
|
481
482
|
name: "DropdownControl",
|
|
482
|
-
control:
|
|
483
|
+
control: Dt,
|
|
483
484
|
tester: L($.default, j(N, Q(Z.dropDown)))
|
|
484
|
-
}),
|
|
485
|
+
}), kt = g(() => import("./ExecutorCoresControl-DNo2SaC6.js")), At = Y()({
|
|
485
486
|
name: "ExecutorCoresControl",
|
|
486
|
-
control:
|
|
487
|
+
control: kt,
|
|
487
488
|
tester: L($.default, j(P, Q(Z.executorCoresResources)))
|
|
488
|
-
}),
|
|
489
|
+
}), jt = g(() => import("./ExecutorMemoryControl-C8RLYQdd.js")), Mt = Y()({
|
|
489
490
|
name: "ExecutorMemoryControl",
|
|
490
|
-
control:
|
|
491
|
+
control: jt,
|
|
491
492
|
tester: L($.default, j(P, Q(Z.executorMemoryResources)))
|
|
492
|
-
}),
|
|
493
|
+
}), Nt = {
|
|
493
494
|
name: "CheckboxControl",
|
|
494
495
|
control: g(() => import("./CheckboxControl-C99OdmDL.js")),
|
|
495
496
|
tester: L($.fallback, pe)
|
|
496
|
-
},
|
|
497
|
+
}, Pt = g(() => import("./IntegerControl-Cr8SO0xH.js")), Ft = Y()({
|
|
497
498
|
name: "IntegerControl",
|
|
498
|
-
control:
|
|
499
|
+
control: Pt,
|
|
499
500
|
tester: L($.default, j(P, Q(Z.integer)))
|
|
500
|
-
}),
|
|
501
|
+
}), It = g(() => import("./NumberControl-ODy5GAlR.js")), Lt = Y()({
|
|
501
502
|
name: "NumberControl",
|
|
502
|
-
control:
|
|
503
|
+
control: It,
|
|
503
504
|
tester: L($.default, j(he, Q(Z.number)))
|
|
504
|
-
}),
|
|
505
|
+
}), Rt = g(() => Promise.resolve().then(() => Or)), zt = Y()({
|
|
505
506
|
name: "TextControl",
|
|
506
|
-
control:
|
|
507
|
+
control: Rt,
|
|
507
508
|
tester: L($.fallback, I)
|
|
508
|
-
}),
|
|
509
|
+
}), Bt = g(() => import("./VerticalLayout-CBc-Csbc.js")), Vt = {
|
|
509
510
|
name: "VerticalLayout",
|
|
510
|
-
layout:
|
|
511
|
+
layout: Bt,
|
|
511
512
|
tester: L($.default, R("VerticalLayout"))
|
|
512
|
-
},
|
|
513
|
+
}, Ht = {
|
|
513
514
|
name: "VerticalLayout",
|
|
514
|
-
layout:
|
|
515
|
+
layout: Bt,
|
|
515
516
|
tester: L($.fallback, R(void 0))
|
|
516
|
-
},
|
|
517
|
+
}, Ut = g(() => import("./OneOfDropdown-CMPRAraI.js")), Wt = g(() => import("./AnyOfTwinlist-DdcxtAjb.js")), Gt = {
|
|
517
518
|
oneOfDropdownRenderer: Y()({
|
|
518
519
|
name: "OneOfDropdown",
|
|
519
|
-
control:
|
|
520
|
+
control: Ut,
|
|
520
521
|
tester: L($.fallback, F)
|
|
521
522
|
}),
|
|
522
523
|
dateTimeFallbackRenderer: {
|
|
523
|
-
...
|
|
524
|
+
...Et,
|
|
524
525
|
tester: L($.fallback, me)
|
|
525
526
|
},
|
|
526
|
-
textRenderer:
|
|
527
|
-
checkboxRenderer:
|
|
527
|
+
textRenderer: zt,
|
|
528
|
+
checkboxRenderer: Nt,
|
|
528
529
|
anyOfTwinlistRenderer: Y()({
|
|
529
530
|
name: "AnyOfTwinlist",
|
|
530
|
-
control:
|
|
531
|
+
control: Wt,
|
|
531
532
|
tester: L($.fallback, fe)
|
|
532
533
|
}),
|
|
533
534
|
numberFallbackRenderer: {
|
|
534
|
-
...
|
|
535
|
+
...Lt,
|
|
535
536
|
tester: L($.fallback, he)
|
|
536
537
|
},
|
|
537
538
|
integerFallbackRenderer: {
|
|
538
|
-
...
|
|
539
|
+
...Ft,
|
|
539
540
|
tester: L($.fallback, P)
|
|
540
541
|
}
|
|
541
|
-
},
|
|
542
|
+
}, Kt = { verticalLayoutFallbackRenderer: Ht }, qt = g(() => import("./FileUploadControl-D5QfM3Wa.js")), Jt = Y()({
|
|
542
543
|
name: "FileUploadRenderer",
|
|
543
|
-
control:
|
|
544
|
+
control: qt,
|
|
544
545
|
tester: L($.default, j(N, Q(Z.fileUpload)))
|
|
545
|
-
}),
|
|
546
|
+
}), Yt = g(() => import("./GridSelectionControl-RKdnWWGk.js")), Xt = Y()({
|
|
546
547
|
name: "GridSelectionRenderer",
|
|
547
|
-
control:
|
|
548
|
+
control: Yt,
|
|
548
549
|
tester: L($.default, j(N, Q(Z.gridSelection)))
|
|
549
|
-
}),
|
|
550
|
+
}), Zt = g(() => import("./HorizontalLayout-CG8M5KHj.js")), Qt = R("HorizontalLayout"), $t = {
|
|
550
551
|
name: "HorizontalLayout",
|
|
551
|
-
layout:
|
|
552
|
-
tester: L($.default,
|
|
553
|
-
},
|
|
552
|
+
layout: Zt,
|
|
553
|
+
tester: L($.default, Qt)
|
|
554
|
+
}, en = g(() => import("./IntervalControl-BdjKEwLy.js")), tn = Y()({
|
|
554
555
|
name: "IntervalControl",
|
|
555
|
-
control:
|
|
556
|
+
control: en,
|
|
556
557
|
tester: L($.default, j(N, Q(Z.interval)))
|
|
557
|
-
}),
|
|
558
|
+
}), nn = {
|
|
558
559
|
name: "LinkRenderer",
|
|
559
560
|
control: g(() => import("./LinkControl-QMwkCJlj.js")),
|
|
560
561
|
tester: L($.default, Q(Z.link))
|
|
561
|
-
},
|
|
562
|
+
}, rn = g({ loader: () => import("./DateControl-D0HfVrtz.js") }), an = Y()({
|
|
562
563
|
name: "DateControl",
|
|
563
|
-
control:
|
|
564
|
+
control: rn,
|
|
564
565
|
tester: L($.default, Q(Z.localDate))
|
|
565
|
-
}),
|
|
566
|
+
}), on = g({ loader: () => import("./TimeControl-B29iTlhP.js") }), sn = Y()({
|
|
566
567
|
name: "TimeControl",
|
|
567
|
-
control:
|
|
568
|
+
control: on,
|
|
568
569
|
tester: L($.default, Q(Z.localTime))
|
|
569
|
-
}),
|
|
570
|
+
}), cn = g(() => import("./NameFilter-DzqgrcaF.js")), ln = Y()({
|
|
570
571
|
name: "NameFilter",
|
|
571
|
-
control:
|
|
572
|
+
control: cn,
|
|
572
573
|
tester: L($.default, j(N, Q(Z.nameFilter)))
|
|
573
|
-
}),
|
|
574
|
+
}), un = "*************", dn = /* @__PURE__ */ _({
|
|
574
575
|
__name: "PasswordControl",
|
|
575
576
|
props: {
|
|
576
577
|
control: {},
|
|
@@ -583,7 +584,7 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
583
584
|
labelForId: {}
|
|
584
585
|
},
|
|
585
586
|
setup(e) {
|
|
586
|
-
let t = e, n = T(""), r = u(() => t.control.uischema.options?.variant ?? "password"), i = u(() => t.control.uischema.options?.usePasswordPlaceholder ?? !1), a = u(() => i.value ?
|
|
587
|
+
let t = e, n = T(""), r = u(() => t.control.uischema.options?.variant ?? "password"), i = u(() => t.control.uischema.options?.usePasswordPlaceholder ?? !1), a = u(() => i.value ? un : t.control.uischema.options?.passwordPlaceholder ?? "Password"), o = u(() => n.value !== "" && !t.disabled), s = (e) => {
|
|
587
588
|
n.value = e, t.handleChange(t.control.path, n.value);
|
|
588
589
|
};
|
|
589
590
|
return te(() => {
|
|
@@ -609,15 +610,15 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
609
610
|
"sub-text"
|
|
610
611
|
]));
|
|
611
612
|
}
|
|
612
|
-
}),
|
|
613
|
+
}), fn = Y()({
|
|
613
614
|
name: "PasswordRenderer",
|
|
614
|
-
control:
|
|
615
|
+
control: dn,
|
|
615
616
|
tester: L($.default, Q(Z.password))
|
|
616
|
-
}),
|
|
617
|
+
}), pn = {
|
|
617
618
|
name: "ProgressButtonControl",
|
|
618
619
|
control: g(() => import("./ProgressButtonControl-hlI6JZ-z.js")),
|
|
619
620
|
tester: L($.default, Q(Z.progressButton))
|
|
620
|
-
},
|
|
621
|
+
}, mn = /* @__PURE__ */ _({
|
|
621
622
|
__name: "QuantityControl",
|
|
622
623
|
props: {
|
|
623
624
|
control: {},
|
|
@@ -658,40 +659,40 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
658
659
|
"sub-text"
|
|
659
660
|
]));
|
|
660
661
|
}
|
|
661
|
-
}),
|
|
662
|
+
}), hn = Y()({
|
|
662
663
|
name: "QuantityControl",
|
|
663
|
-
control:
|
|
664
|
+
control: mn,
|
|
664
665
|
tester: L($.default, Q(Z.quantity))
|
|
665
|
-
}),
|
|
666
|
+
}), gn = g(() => import("./RadioControl-D_NE5s4n.js")), _n = Y()({
|
|
666
667
|
name: "RadioControl",
|
|
667
|
-
control:
|
|
668
|
+
control: gn,
|
|
668
669
|
tester: L($.default, Q(Z.radio))
|
|
669
|
-
}),
|
|
670
|
+
}), vn = {
|
|
670
671
|
name: "RadioButtonsWithDescriptionControl",
|
|
671
672
|
control: g(() => import("./RadioButtonsWithDescriptionControl-DJu3ODo7.js")),
|
|
672
673
|
tester: L($.default, j(F, Q(Z.radioButtonsWithDescription)))
|
|
673
|
-
},
|
|
674
|
+
}, yn = g(() => import("./RichTextControl-JIM904_P.js")), bn = Y({ fill: !0 })({
|
|
674
675
|
name: "RichTextControl",
|
|
675
|
-
control:
|
|
676
|
+
control: yn,
|
|
676
677
|
tester: L($.default, j(I, Q(Z.richTextInput)))
|
|
677
|
-
}),
|
|
678
|
+
}), xn = g(() => import("./SectionLayout-D8-5LK-D.js")), Sn = R("Section"), Cn = {
|
|
678
679
|
name: "SectionLayout",
|
|
679
|
-
layout:
|
|
680
|
-
tester: L($.default,
|
|
681
|
-
},
|
|
680
|
+
layout: xn,
|
|
681
|
+
tester: L($.default, Sn)
|
|
682
|
+
}, wn = g(() => import("./SettingsSubPanelLayout-C8N16Fwp.js")), Tn = R("SettingsSubPanelLayout"), En = {
|
|
682
683
|
name: "SettingsSubPanelLayout",
|
|
683
|
-
layout:
|
|
684
|
-
tester: L($.default,
|
|
685
|
-
},
|
|
684
|
+
layout: wn,
|
|
685
|
+
tester: L($.default, Tn)
|
|
686
|
+
}, Dn = { class: "vertical-layout" }, On = /*#__PURE__*/ t(/* @__PURE__ */ _({
|
|
686
687
|
__name: "VerticalLayoutBase",
|
|
687
688
|
props: { elements: {} },
|
|
688
689
|
setup(e) {
|
|
689
|
-
return (t, n) => (w(), p("div",
|
|
690
|
+
return (t, n) => (w(), p("div", Dn, [(w(!0), p(o, null, E(e.elements, (e, n) => D(t.$slots, "default", {
|
|
690
691
|
element: e,
|
|
691
692
|
index: n
|
|
692
693
|
}, void 0, !0, n)), 128))]));
|
|
693
694
|
}
|
|
694
|
-
}), [["__scopeId", "data-v-abc3717c"]]),
|
|
695
|
+
}), [["__scopeId", "data-v-abc3717c"]]), kn = { class: "section-header-layout-container" }, An = { class: "section-header-buttons" }, jn = /*#__PURE__*/ t(/* @__PURE__ */ _({
|
|
695
696
|
__name: "SectionHeading",
|
|
696
697
|
props: { titleText: {} },
|
|
697
698
|
setup(e) {
|
|
@@ -725,9 +726,9 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
725
726
|
ref: t,
|
|
726
727
|
class: "section-header-sentinel",
|
|
727
728
|
"aria-hidden": "true"
|
|
728
|
-
}, null, 512), m("div", b({ class: ["section-header", { "is-sticking": n.value }] }, r.$attrs), [m("div",
|
|
729
|
+
}, null, 512), m("div", b({ class: ["section-header", { "is-sticking": n.value }] }, r.$attrs), [m("div", kn, [m("h3", null, ie(e.titleText), 1), m("div", An, [D(r.$slots, "right-buttons", {}, void 0, !0)])])], 16)], 64));
|
|
729
730
|
}
|
|
730
|
-
}), [["__scopeId", "data-v-04e52739"]]),
|
|
731
|
+
}), [["__scopeId", "data-v-04e52739"]]), Mn = /*#__PURE__*/ t(/* @__PURE__ */ _({
|
|
731
732
|
__name: "SimpleArrayLayoutItemControls",
|
|
732
733
|
props: {
|
|
733
734
|
isFirst: {
|
|
@@ -802,13 +803,13 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
802
803
|
})
|
|
803
804
|
], 4));
|
|
804
805
|
}
|
|
805
|
-
}), [["__scopeId", "data-v-9f37d47c"]]),
|
|
806
|
+
}), [["__scopeId", "data-v-9f37d47c"]]), Nn = {
|
|
806
807
|
key: 0,
|
|
807
808
|
class: "simple-array"
|
|
808
|
-
},
|
|
809
|
+
}, Pn = {
|
|
809
810
|
key: 0,
|
|
810
811
|
class: "item-header"
|
|
811
|
-
},
|
|
812
|
+
}, Fn = /*#__PURE__*/ t(/* @__PURE__ */ _({
|
|
812
813
|
__name: "SimpleArrayLayout",
|
|
813
814
|
props: z(),
|
|
814
815
|
setup(e) {
|
|
@@ -830,10 +831,10 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
830
831
|
i.splice(e + 1, 0, r), c(n.value.path, i);
|
|
831
832
|
}
|
|
832
833
|
};
|
|
833
|
-
return (e, t) => O(n).visible ? (w(), p("div",
|
|
834
|
+
return (e, t) => O(n).visible ? (w(), p("div", Nn, [(w(!0), p(o, null, E(O(n).data, (e, t) => (w(), p("div", { key: `${O(n).path}-${t}` }, [v.value ? (w(), p("div", Pn, [h(O(Ee), {
|
|
834
835
|
id: `${O(n).path}-${t}-title`,
|
|
835
836
|
label: S(t)
|
|
836
|
-
}, null, 8, ["id", "label"]), h(
|
|
837
|
+
}, null, 8, ["id", "label"]), h(Mn, {
|
|
837
838
|
"is-first": t === 0,
|
|
838
839
|
"is-last": t === O(n).data.length - 1,
|
|
839
840
|
"show-sort-controls": m.value,
|
|
@@ -871,7 +872,7 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
871
872
|
"enabled",
|
|
872
873
|
"renderers",
|
|
873
874
|
"cells"
|
|
874
|
-
]), o === 0 && !v.value ? (w(), d(
|
|
875
|
+
]), o === 0 && !v.value ? (w(), d(Mn, {
|
|
875
876
|
key: 0,
|
|
876
877
|
"is-first": t === 0,
|
|
877
878
|
"is-last": t === O(n).data.length - 1,
|
|
@@ -900,35 +901,35 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
900
901
|
onClick: x
|
|
901
902
|
}, null, 8, ["label"])])) : f("", !0);
|
|
902
903
|
}
|
|
903
|
-
}), [["__scopeId", "data-v-7737a235"]]),
|
|
904
|
+
}), [["__scopeId", "data-v-7737a235"]]), In = R("SimpleArrayLayout"), Ln = {
|
|
904
905
|
name: "SimpleArrayLayout",
|
|
905
|
-
tester: L($.default,
|
|
906
|
-
renderer:
|
|
907
|
-
},
|
|
906
|
+
tester: L($.default, In),
|
|
907
|
+
renderer: Fn
|
|
908
|
+
}, Rn = {
|
|
908
909
|
name: "SimpleButtonControl",
|
|
909
|
-
control: g(() => Promise.resolve().then(() =>
|
|
910
|
+
control: g(() => Promise.resolve().then(() => Tr)),
|
|
910
911
|
tester: L($.default, Q(Z.simpleButton))
|
|
911
|
-
},
|
|
912
|
+
}, zn = g(() => import("./SingleSelectControl-CJV9VMZm.js")), Bn = Y()({
|
|
912
913
|
name: "SingleSelectControl",
|
|
913
|
-
control:
|
|
914
|
+
control: zn,
|
|
914
915
|
tester: L($.default, Q(Z.singleSelect))
|
|
915
|
-
}),
|
|
916
|
+
}), Vn = g(() => import("./SortListControl-D-ifoRva.js")), Hn = Y()({
|
|
916
917
|
name: "SortListControl",
|
|
917
|
-
control:
|
|
918
|
+
control: Vn,
|
|
918
919
|
tester: L($.default, j(N, Q(Z.sortList)))
|
|
919
|
-
}),
|
|
920
|
+
}), Un = g(() => import("./TeamAndSpacesControl-D1FvyeCV.js")), Wn = Y()({
|
|
920
921
|
name: "TeamAndSpacesDropdownControl",
|
|
921
|
-
control:
|
|
922
|
+
control: Un,
|
|
922
923
|
tester: L($.default, j(N, ({ options: e }) => e?.format === Z.teamAndSpacesDropdown && e?.hasOwnProperty("possibleSpaces") && e?.hasOwnProperty("possibleTeams")))
|
|
923
|
-
}),
|
|
924
|
+
}), Gn = g(() => import("./TeamResourceControl-DyCO6-Nk.js")), Kn = Y()({
|
|
924
925
|
name: "TeamResourceControl",
|
|
925
|
-
control:
|
|
926
|
+
control: Gn,
|
|
926
927
|
tester: L($.default, j(P, Q(Z.teamResources)))
|
|
927
|
-
}),
|
|
928
|
+
}), qn = g(() => import("./TextAreaControl-7QziyTgn.js")), Jn = Y()({
|
|
928
929
|
name: "TextAreaControl",
|
|
929
|
-
control:
|
|
930
|
+
control: qn,
|
|
930
931
|
tester: L($.default, j(I, Q(Z.textArea)))
|
|
931
|
-
}),
|
|
932
|
+
}), Yn = {
|
|
932
933
|
name: "TextMessageControl",
|
|
933
934
|
control: /* @__PURE__ */ _({
|
|
934
935
|
__name: "TextMessageControl",
|
|
@@ -974,27 +975,27 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
974
975
|
}
|
|
975
976
|
}),
|
|
976
977
|
tester: L($.default, Q(Z.textMessage))
|
|
977
|
-
},
|
|
978
|
+
}, Xn = g(() => import("./TimeframesControl-Wvu--J0V.js")), Zn = Y()({
|
|
978
979
|
name: "TimeframesRenderer",
|
|
979
|
-
control:
|
|
980
|
+
control: Xn,
|
|
980
981
|
tester: L($.default, j(N, Q(Z.timeframes)))
|
|
981
|
-
}),
|
|
982
|
+
}), Qn = g(() => import("./useUnknownValuesInTwinlist-CHB8kt9t.js").then((e) => e.r)), $n = g(() => import("./SimpleTwinlistControl-CQ4tSh0c.js")), er = g(() => import("./ManualTwinlistControl-5dfnmQZ-.js")), tr = _e((e) => !!(e.hasOwnProperty("properties") && e.properties?.hasOwnProperty("selected"))), nr = (e) => N(e) && e.options?.format === Z.twinList, rr = j(nr, tr), ir = Y()({
|
|
982
983
|
name: "TwinlistControl",
|
|
983
|
-
control: Zn,
|
|
984
|
-
tester: L($.default, nr)
|
|
985
|
-
}), ir = j(tr, ge(er)), ar = Y()({
|
|
986
|
-
name: "SimpleTwinlistControl",
|
|
987
984
|
control: Qn,
|
|
988
|
-
tester: L($.default,
|
|
989
|
-
}),
|
|
990
|
-
name: "
|
|
985
|
+
tester: L($.default, rr)
|
|
986
|
+
}), ar = j(nr, ge(tr)), or = Y()({
|
|
987
|
+
name: "SimpleTwinlistControl",
|
|
991
988
|
control: $n,
|
|
992
|
-
tester: L($.default,
|
|
993
|
-
}),
|
|
989
|
+
tester: L($.default, ar)
|
|
990
|
+
}), sr = Q("manualTwinlist"), cr = Y()({
|
|
991
|
+
name: "ManualTwinlistControl",
|
|
992
|
+
control: er,
|
|
993
|
+
tester: L($.default, sr)
|
|
994
|
+
}), lr = g(() => import("./TypedStringFilter-B3ZMqGIC.js")), ur = Y()({
|
|
994
995
|
name: "TypedStringFilter",
|
|
995
|
-
control:
|
|
996
|
+
control: lr,
|
|
996
997
|
tester: L($.default, j(N, Q(Z.typedStringFilter)))
|
|
997
|
-
}),
|
|
998
|
+
}), dr = /* @__PURE__ */ _({
|
|
998
999
|
__name: "UsernameControl",
|
|
999
1000
|
props: {
|
|
1000
1001
|
control: {},
|
|
@@ -1025,71 +1026,71 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
1025
1026
|
"sub-text"
|
|
1026
1027
|
]));
|
|
1027
1028
|
}
|
|
1028
|
-
}),
|
|
1029
|
+
}), fr = Y()({
|
|
1029
1030
|
name: "UsernameRenderer",
|
|
1030
|
-
control:
|
|
1031
|
+
control: dr,
|
|
1031
1032
|
tester: L($.default, Q(Z.username))
|
|
1032
|
-
}),
|
|
1033
|
+
}), pr = g(() => import("./ValueSwitchControl-H2t2Wgo6.js")), mr = Y()({
|
|
1033
1034
|
name: "ValueSwitchControl",
|
|
1034
|
-
control:
|
|
1035
|
+
control: pr,
|
|
1035
1036
|
tester: L($.default, j(F, Q(Z.valueSwitch)))
|
|
1036
|
-
}),
|
|
1037
|
-
checkboxesRenderer:
|
|
1038
|
-
colorPreviewRenderer:
|
|
1039
|
-
colorRenderer:
|
|
1040
|
-
typedStringFilterRenderer:
|
|
1041
|
-
comboBoxRenderer:
|
|
1042
|
-
dateTimeRenderer:
|
|
1043
|
-
dateTimeFormatPickerRenderer:
|
|
1044
|
-
integerRenderer:
|
|
1045
|
-
intervalRenderer:
|
|
1046
|
-
localDateRenderer:
|
|
1047
|
-
localTimeRenderer:
|
|
1048
|
-
nameFilterRenderer:
|
|
1049
|
-
numberRenderer:
|
|
1050
|
-
radioRenderer:
|
|
1051
|
-
richTextRenderer:
|
|
1052
|
-
simpleTwinlistRenderer:
|
|
1053
|
-
sortListRenderer:
|
|
1054
|
-
textAreaRenderer:
|
|
1055
|
-
twinlistRenderer:
|
|
1056
|
-
manualTwinlistRenderer:
|
|
1057
|
-
valueSwitchRenderer:
|
|
1037
|
+
}), hr = g({ loader: () => import("./ZonedDateTimeControl-Co3v2EVv.js") }), gr = {
|
|
1038
|
+
checkboxesRenderer: gt,
|
|
1039
|
+
colorPreviewRenderer: _t,
|
|
1040
|
+
colorRenderer: yt,
|
|
1041
|
+
typedStringFilterRenderer: ur,
|
|
1042
|
+
comboBoxRenderer: St,
|
|
1043
|
+
dateTimeRenderer: Et,
|
|
1044
|
+
dateTimeFormatPickerRenderer: wt,
|
|
1045
|
+
integerRenderer: Ft,
|
|
1046
|
+
intervalRenderer: tn,
|
|
1047
|
+
localDateRenderer: an,
|
|
1048
|
+
localTimeRenderer: sn,
|
|
1049
|
+
nameFilterRenderer: ln,
|
|
1050
|
+
numberRenderer: Lt,
|
|
1051
|
+
radioRenderer: _n,
|
|
1052
|
+
richTextRenderer: bn,
|
|
1053
|
+
simpleTwinlistRenderer: or,
|
|
1054
|
+
sortListRenderer: Hn,
|
|
1055
|
+
textAreaRenderer: Jn,
|
|
1056
|
+
twinlistRenderer: ir,
|
|
1057
|
+
manualTwinlistRenderer: cr,
|
|
1058
|
+
valueSwitchRenderer: mr,
|
|
1058
1059
|
zonedDateTimeRenderer: Y()({
|
|
1059
1060
|
name: "ZonedDateTimeControl",
|
|
1060
|
-
control:
|
|
1061
|
+
control: hr,
|
|
1061
1062
|
tester: L($.default, (e) => e.options?.format === Z.zonedDateTime)
|
|
1062
1063
|
}),
|
|
1063
|
-
singleSelectRenderer:
|
|
1064
|
-
gridSelectionRenderer:
|
|
1065
|
-
timeframesRenderer:
|
|
1066
|
-
quantityRenderer:
|
|
1067
|
-
usernameRenderer:
|
|
1068
|
-
passwordRenderer:
|
|
1069
|
-
simpleButtonRenderer:
|
|
1070
|
-
progressButtonRenderer:
|
|
1071
|
-
textMessageRenderer:
|
|
1072
|
-
linkRenderer:
|
|
1073
|
-
dropdownRenderer:
|
|
1074
|
-
radioWithDescriptionRenderer:
|
|
1075
|
-
fileUploadRenderer:
|
|
1076
|
-
teamResourceRenderer:
|
|
1077
|
-
executorCoresResourceRenderer:
|
|
1078
|
-
executorMemoryResourceRenderer:
|
|
1079
|
-
teamAndSpacesDropdownRenderer:
|
|
1080
|
-
...Wt
|
|
1081
|
-
}, gr = $e(lt)(hr), _r = {
|
|
1082
|
-
horizontalLayoutRenderer: Qt,
|
|
1083
|
-
verticalLayoutRenderer: Bt,
|
|
1084
|
-
sectionLayoutRenderer: Sn,
|
|
1085
|
-
settingsSubPanelLayoutRenderer: Tn,
|
|
1064
|
+
singleSelectRenderer: Bn,
|
|
1065
|
+
gridSelectionRenderer: Xt,
|
|
1066
|
+
timeframesRenderer: Zn,
|
|
1067
|
+
quantityRenderer: hn,
|
|
1068
|
+
usernameRenderer: fr,
|
|
1069
|
+
passwordRenderer: fn,
|
|
1070
|
+
simpleButtonRenderer: Rn,
|
|
1071
|
+
progressButtonRenderer: pn,
|
|
1072
|
+
textMessageRenderer: Yn,
|
|
1073
|
+
linkRenderer: nn,
|
|
1074
|
+
dropdownRenderer: Ot,
|
|
1075
|
+
radioWithDescriptionRenderer: vn,
|
|
1076
|
+
fileUploadRenderer: Jt,
|
|
1077
|
+
teamResourceRenderer: Kn,
|
|
1078
|
+
executorCoresResourceRenderer: At,
|
|
1079
|
+
executorMemoryResourceRenderer: Mt,
|
|
1080
|
+
teamAndSpacesDropdownRenderer: Wn,
|
|
1086
1081
|
...Gt
|
|
1087
|
-
},
|
|
1082
|
+
}, _r = et(ut)(gr), vr = {
|
|
1083
|
+
horizontalLayoutRenderer: $t,
|
|
1084
|
+
verticalLayoutRenderer: Vt,
|
|
1085
|
+
sectionLayoutRenderer: Cn,
|
|
1086
|
+
settingsSubPanelLayoutRenderer: En,
|
|
1087
|
+
...Kt
|
|
1088
|
+
}, yr = tt(mt)(vr), br = ({ renderers: e, controls: t, layouts: n, config: r = {} }) => Object.freeze([
|
|
1088
1089
|
...e,
|
|
1089
1090
|
...t.map(({ name: e, tester: t, control: n, __asyncSetup: i }) => ({
|
|
1090
1091
|
name: e,
|
|
1091
1092
|
tester: t,
|
|
1092
|
-
renderer:
|
|
1093
|
+
renderer: ct({
|
|
1093
1094
|
component: n,
|
|
1094
1095
|
asyncSetup: i,
|
|
1095
1096
|
config: r
|
|
@@ -1098,13 +1099,13 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
1098
1099
|
...n.map(({ name: e, tester: t, layout: n, __asyncSetup: r }) => ({
|
|
1099
1100
|
name: e,
|
|
1100
1101
|
tester: t,
|
|
1101
|
-
renderer:
|
|
1102
|
+
renderer: dt(n, r)
|
|
1102
1103
|
}))
|
|
1103
|
-
]),
|
|
1104
|
-
renderers: [
|
|
1105
|
-
controls: Object.values(
|
|
1106
|
-
layouts: Object.values(
|
|
1107
|
-
}),
|
|
1104
|
+
]), xr = br({
|
|
1105
|
+
renderers: [Ln],
|
|
1106
|
+
controls: Object.values(_r),
|
|
1107
|
+
layouts: Object.values(yr)
|
|
1108
|
+
}), Sr = /* @__PURE__ */ _({
|
|
1108
1109
|
__name: "FieldRenderer",
|
|
1109
1110
|
props: {
|
|
1110
1111
|
control: {},
|
|
@@ -1130,7 +1131,7 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
1130
1131
|
"cells"
|
|
1131
1132
|
]));
|
|
1132
1133
|
}
|
|
1133
|
-
}),
|
|
1134
|
+
}), Cr = /* @__PURE__ */ _({
|
|
1134
1135
|
__name: "FieldControl",
|
|
1135
1136
|
props: {
|
|
1136
1137
|
control: {},
|
|
@@ -1147,7 +1148,7 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
1147
1148
|
format: t.format
|
|
1148
1149
|
}
|
|
1149
1150
|
}));
|
|
1150
|
-
return (t, r) => (w(), d(
|
|
1151
|
+
return (t, r) => (w(), d(Sr, {
|
|
1151
1152
|
"field-name": e.fieldName,
|
|
1152
1153
|
uischema: n.value,
|
|
1153
1154
|
control: e.control
|
|
@@ -1157,7 +1158,7 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
1157
1158
|
"control"
|
|
1158
1159
|
]));
|
|
1159
1160
|
}
|
|
1160
|
-
}),
|
|
1161
|
+
}), wr = /*@__PURE__*/ _({
|
|
1161
1162
|
__name: "SimpleButtonControl",
|
|
1162
1163
|
props: {
|
|
1163
1164
|
control: {},
|
|
@@ -1194,7 +1195,7 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
1194
1195
|
"leading-icon"
|
|
1195
1196
|
]), D(t.$slots, "buttons", { hover: _.value }, void 0, !0)], 32));
|
|
1196
1197
|
}
|
|
1197
|
-
}),
|
|
1198
|
+
}), Tr = /* @__PURE__ */ e({ default: () => Er }), Er = /*#__PURE__*/ t(wr, [["__scopeId", "data-v-c79c6b71"]]), Dr = /*@__PURE__*/ _({
|
|
1198
1199
|
__name: "TextControl",
|
|
1199
1200
|
props: {
|
|
1200
1201
|
control: {},
|
|
@@ -1243,6 +1244,6 @@ var W = /*#__PURE__*/ t(Pe, [["render", Le], ["__scopeId", "data-v-2d34194b"]]),
|
|
|
1243
1244
|
"onUpdate:modelValue"
|
|
1244
1245
|
]));
|
|
1245
1246
|
}
|
|
1246
|
-
}),
|
|
1247
|
+
}), Or = /* @__PURE__ */ e({ default: () => kr }), kr = Dr;
|
|
1247
1248
|
//#endregion
|
|
1248
|
-
export { G as A,
|
|
1249
|
+
export { G as A, nt as C, K as D, q as E, Ye as O, J as S, tt as T, dt as _, gr as a, Y as b, br as c, On as d, $ as f, ft as g, pt as h, Cr as i, W as j, Ue as k, Fn as l, mt as m, kr as n, xr as o, Z as p, Er as r, vr as s, ve as t, jn as u, ut as v, et as w, $e as x, ct as y };
|
package/dist/testing.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/jsonforms",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.4",
|
|
4
4
|
"description": "JSONForms integration for KNIME frontends",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@knime/kds-code-editor": "^13.
|
|
40
|
-
"@knime/kds-components": "^13.
|
|
41
|
-
"@knime/kds-rich-text-editor": "^13.
|
|
42
|
-
"@knime/kds-styles": "^13.
|
|
39
|
+
"@knime/kds-code-editor": "^13.2.0",
|
|
40
|
+
"@knime/kds-components": "^13.2.0",
|
|
41
|
+
"@knime/kds-rich-text-editor": "^13.2.0",
|
|
42
|
+
"@knime/kds-styles": "^13.2.0",
|
|
43
43
|
"@storybook/addon-docs": "^10.6.2",
|
|
44
44
|
"@storybook/vue3-vite": "^10.6.2",
|
|
45
45
|
"@vitejs/plugin-vue": "^6.0.8",
|