@knime/jsonforms 3.0.0 → 3.1.1
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 +29 -0
- package/dist/AnyOfTwinlist-iPxS5C9Y.js +24 -0
- package/dist/CheckboxControl-C99OdmDL.js +41 -0
- package/dist/CheckboxesControl-BZhMhT9x.js +47 -0
- package/dist/ColorControl-D1dNnNbO.js +38 -0
- package/dist/ColorPreviewControl-B4zix2kb.js +67 -0
- package/dist/ComboBoxControl-BGWAD9IW.js +47 -0
- package/dist/DateControl-D0HfVrtz.js +49 -0
- package/dist/DateTimeControl-kTQZI9JC.js +103 -0
- package/dist/DateTimeFormatPickerControl-BiYcsKSn.js +44 -0
- package/dist/DropdownControl-jsayV3N5.js +42 -0
- package/dist/ExecutorCoresControl-DNo2SaC6.js +26 -0
- package/dist/ExecutorMemoryControl-C8RLYQdd.js +26 -0
- package/dist/FileUploadControl-Cv3xWTAS.js +58 -0
- package/dist/GridSelectionControl-BqtaGQYg.js +86 -0
- package/dist/HorizontalLayout-B_lETfCu.js +29 -0
- package/dist/IntegerControl-Cr8SO0xH.js +22 -0
- package/dist/IntervalControl-BdjKEwLy.js +53 -0
- package/dist/LinkControl-QMwkCJlj.js +37 -0
- package/dist/LoadingDropdown-BpU4Uiin.js +61 -0
- package/dist/ManualTwinlistControl-CPILp7H_.js +75 -0
- package/dist/NameFilter-CYYPRj-2.js +29 -0
- package/dist/NumberControl-ODy5GAlR.js +22 -0
- package/dist/NumberControlBase-Cl3QcvzB.js +56 -0
- package/dist/OneOfDropdown-CMPRAraI.js +44 -0
- package/dist/ProgressButtonControl-BimHrSZd.js +51 -0
- package/dist/RadioButtonsWithDescriptionControl-DJu3ODo7.js +58 -0
- package/dist/RadioControl-D_NE5s4n.js +22 -0
- package/dist/RadioControlBase-knF86px0.js +69 -0
- package/dist/ResourceControlBase-BVMVVYns.js +64 -0
- package/dist/RichTextControl-JIM904_P.js +72 -0
- package/dist/SectionLayout-BDYjoUXM.js +41 -0
- package/dist/SettingsSubPanelLayout-DVw_AsU6.js +53 -0
- package/dist/SimpleTwinlistControl-BNnOmbN-.js +24 -0
- package/dist/SingleSelectControl-CJV9VMZm.js +58 -0
- package/dist/SortListControl-D-ifoRva.js +71 -0
- package/dist/TeamAndSpacesControl-D1FvyeCV.js +56 -0
- package/dist/TeamResourceControl-DyCO6-Nk.js +26 -0
- package/dist/TextAreaControl-7QziyTgn.js +40 -0
- package/dist/TimeControl-B29iTlhP.js +71 -0
- package/dist/TimeframesControl-Wvu--J0V.js +46 -0
- package/dist/TwinlistControlBase-300a_qUR.js +55 -0
- package/dist/TypedStringFilter-Ek7bQ-7j.js +35 -0
- package/dist/ValueSwitchControl-H2t2Wgo6.js +22 -0
- package/dist/VerticalLayout-zV890HYr.js +32 -0
- package/dist/ZonedDateTimeControl-DoE2T9iz.js +88 -0
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
- package/dist/inject-DEsHVs5q.js +5 -0
- package/dist/knime-jsonforms.css +2 -1
- package/dist/knime-jsonforms.d.ts +1 -1
- package/dist/knime-jsonforms.js +3 -219
- package/dist/plainDateTimeUtils-5uOCJ4N5.js +58 -0
- package/dist/rolldown-runtime-Dy4uBu1J.js +11 -0
- package/dist/src/JsonFormsDialog.vue.d.ts +53 -435
- package/dist/src/higherOrderComponents/control/DescriptionPopover.vue.d.ts +2 -1
- package/dist/src/higherOrderComponents/control/LabeledControl.vue.d.ts +21 -21
- package/dist/src/layoutComponents/Form.vue.d.ts +9 -12
- package/dist/src/layoutComponents/HorizontalLayout.vue.d.ts +2 -1
- package/dist/src/layoutComponents/SectionLayout.vue.d.ts +9 -13
- package/dist/src/layoutComponents/SettingsSubPanelLayout.vue.d.ts +9 -13
- package/dist/src/layoutComponents/VerticalLayout.vue.d.ts +2 -1
- package/dist/src/layoutComponents/VerticalLayoutBase.vue.d.ts +10 -14
- package/dist/src/layoutComponents/section/SectionHeading.vue.d.ts +7 -15
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +11 -10
- package/dist/src/layoutComponents/simpleArrayLayout/SimpleArrayLayout.vue.d.ts +2 -1
- package/dist/src/layoutComponents/simpleArrayLayout/SimpleArrayLayoutItemControls.vue.d.ts +3 -2
- package/dist/src/loading/LoadingDialog.vue.d.ts +2 -1
- package/dist/src/renderers/checkboxRenderer.d.ts +5 -4
- package/dist/src/renderers/colorPreviewRenderer.d.ts +1 -1
- package/dist/src/renderers/defaultRenderers.d.ts +22 -21
- package/dist/src/renderers/fallbackRenderers.d.ts +6 -5
- package/dist/src/renderers/horizontalLayoutRenderer.d.ts +1 -1
- package/dist/src/renderers/linkRenderer.d.ts +1 -1
- package/dist/src/renderers/progressButtonRenderer.d.ts +3 -3
- package/dist/src/renderers/sectionLayoutRenderer.d.ts +3 -3
- package/dist/src/renderers/sectionSubPanelLayoutRenderer.d.ts +3 -3
- package/dist/src/renderers/simpleButtonRenderer.d.ts +3 -3
- package/dist/src/renderers/verticalLayoutRenderer.d.ts +2 -2
- package/dist/src/uiComponents/CheckboxControl.vue.d.ts +11 -14
- package/dist/src/uiComponents/CheckboxesControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/ColorControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/ColorPreviewControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/ComboBoxControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/DateControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/DateTimeControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/DateTimeFormatPickerControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/DropdownControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/FieldControl.vue.d.ts +12 -7
- package/dist/src/uiComponents/FieldRenderer.vue.d.ts +12 -7
- package/dist/src/uiComponents/FileUploadControl.vue.d.ts +2 -3
- package/dist/src/uiComponents/GridSelectionControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/IntegerControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/IntervalControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/LinkControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/NumberControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/NumberControlBase.vue.d.ts +2 -1
- package/dist/src/uiComponents/OneOfDropdown.vue.d.ts +2 -1
- package/dist/src/uiComponents/PasswordControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/ProgressButtonControl.vue.d.ts +9 -13
- package/dist/src/uiComponents/QuantityControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/RadioButtonsWithDescriptionControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/RadioControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/RadioControlBase.vue.d.ts +2 -1
- package/dist/src/uiComponents/SimpleButtonControl.vue.d.ts +9 -13
- package/dist/src/uiComponents/SingleSelectControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/SortListControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/TeamAndSpacesControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/TextAreaControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/TextControl.vue.d.ts +3 -454
- package/dist/src/uiComponents/TextMessageControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/TimeControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/TimeframesControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/UsernameControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/ValueSwitchControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/ZonedDateTimeControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/colorPreview/ColorPreviewEmptyState.vue.d.ts +2 -1
- package/dist/src/uiComponents/colorPreview/GradientPreview.vue.d.ts +2 -1
- package/dist/src/uiComponents/colorPreview/PalettePreview.vue.d.ts +2 -1
- package/dist/src/uiComponents/loading/LoadingDropdown.vue.d.ts +3 -2
- package/dist/src/uiComponents/resourceControls/ExecutorCoresControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/resourceControls/ExecutorMemoryControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/resourceControls/ResourceControlBase.vue.d.ts +2 -1
- package/dist/src/uiComponents/resourceControls/TeamResourceControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +2 -141
- package/dist/src/uiComponents/twinlist/AnyOfTwinlist.vue.d.ts +2 -1
- package/dist/src/uiComponents/twinlist/ManualTwinlistControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/twinlist/MultimodeTwinlistControl.vue.d.ts +3 -2
- package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +2 -1
- package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/twinlist/TwinlistControlBase.vue.d.ts +2 -1
- package/dist/src/uiComponents/twinlist/TypedStringFilter.vue.d.ts +2 -1
- package/dist/src-DwqijroM.js +1269 -0
- package/dist/temporal-polyfill-D4u1I_Z-.js +3114 -0
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +108 -19153
- package/dist/toKdsPossibleValues-Dd_qzlUI.js +14 -0
- package/dist/useBuiltinValidations-B_Drc2y-.js +43 -0
- package/dist/usePossibleValues-Cx6iSt_X.js +15 -0
- package/dist/useProvidedState-478_KXOe.js +26 -0
- package/dist/useUnknownValuesInTwinlist-BvCTc3hC.js +205 -0
- package/dist/utils-DmZLgn8X.js +12 -0
- package/package.json +21 -11
- package/dist/AnyOfTwinlist-CcodfEXw.js +0 -23
- package/dist/CheckboxControl-B_MAR82s.js +0 -41
- package/dist/CheckboxesControl--bG4aF6O.js +0 -39
- package/dist/ColorControl-CEp2Ei7R.js +0 -29
- package/dist/ColorPreviewControl-j0uQH95J.js +0 -90
- package/dist/ComboBoxControl-BpJzwiv6.js +0 -39
- package/dist/DateControl-83Fi6P5y.js +0 -44
- package/dist/DateTimeControl-C-D8bFm3.js +0 -103
- package/dist/DateTimeFormatPickerControl-B9gl_66T.js +0 -35
- package/dist/DropdownControl-CtveoldX.js +0 -32
- package/dist/ExecutorCoresControl-CErHidL7.js +0 -39
- package/dist/ExecutorMemoryControl-DgSM86Yg.js +0 -35
- package/dist/FileUploadControl-BBfnxURy.js +0 -56
- package/dist/GridSelectionControl-BaI4j0Jj.js +0 -117
- package/dist/HorizontalLayout-D1SRCyhL.js +0 -26
- package/dist/IntegerControl-v93Xw4DJ.js +0 -21
- package/dist/IntervalControl-CVlO_mFO.js +0 -52
- package/dist/LinkControl-j8GrcZZG.js +0 -36
- package/dist/LoadingDropdown.vue_vue_type_script_setup_true_lang-DFSHuMQ6.js +0 -57
- package/dist/ManualTwinlistControl-BzJehuHs.js +0 -74
- package/dist/MultimodeTwinlistControl-Br0DrpsZ.js +0 -4
- package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-CHcU__0y.js +0 -159
- package/dist/NameFilter-BjuVseuX.js +0 -25
- package/dist/NumberControl-BF76FEhD.js +0 -21
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-DMTsK83k.js +0 -52
- package/dist/OneOfDropdown-DpXmZauV.js +0 -35
- package/dist/ProgressButtonControl-t8QMA22a.js +0 -52
- package/dist/RadioButtonsWithDescriptionControl-CeZ4qYCr.js +0 -58
- package/dist/RadioControl-DOn1Kre5.js +0 -21
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-CExBvDXt.js +0 -57
- package/dist/ResourceControlBase-CX97xRiy.js +0 -70
- package/dist/RichTextControl-BrVmkMgh.js +0 -60
- package/dist/SectionHeading-YAJTwOE4.js +0 -61
- package/dist/SectionLayout-BYOxuxY2.js +0 -47
- package/dist/SettingsSubPanel-DgISjowU.js +0 -5
- package/dist/SettingsSubPanelLayout-BQJCnTqx.js +0 -69
- package/dist/SimpleButtonControl-GTX19t2_.js +0 -50
- package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Ccuf283K.js +0 -1284
- package/dist/SimpleTwinlistControl-DOH1_L25.js +0 -23
- package/dist/SingleSelectControl-mY_yYOyk.js +0 -58
- package/dist/SortListControl-D-Um5gEW.js +0 -81
- package/dist/TeamAndSpacesControl-fGumynvr.js +0 -66
- package/dist/TeamResourceControl--1Sj3-Ks.js +0 -35
- package/dist/TextAreaControl-Cwq-lNBk.js +0 -30
- package/dist/TextControl-MvbrNTGW.js +0 -4
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-Cbv0bM2X.js +0 -53
- package/dist/TimeControl-WG0SC4_b.js +0 -71
- package/dist/TimeframesControl-CX5eKOGZ.js +0 -53
- package/dist/TwinlistControlBase.vue_vue_type_script_setup_true_lang-BKCvZF3X.js +0 -45
- package/dist/TypedStringFilter-BnWygKQJ.js +0 -27
- package/dist/ValueSwitchControl-BByKe7NK.js +0 -21
- package/dist/VerticalLayout-DIBkvSZ9.js +0 -30
- package/dist/VerticalLayoutBase-BEDnWcoh.js +0 -20
- package/dist/ZonedDateTimeControl-B45OygrC.js +0 -97
- package/dist/index-Blg1O3Fz.js +0 -15
- package/dist/index-_VUHzju5.js +0 -3210
- package/dist/magic-string.es-uPKorP4O.js +0 -663
- package/dist/plainDateTimeUtils-BZSKqp9i.js +0 -52
- package/dist/toKdsPossibleValues-BklBg3gG.js +0 -14
- package/dist/useBuiltinValidations-_4IBMopQ.js +0 -74
- package/dist/usePossibleValues-CXVLf00v.js +0 -16
- package/dist/useUnknownValuesInTwinlist-uXOCQkVS.js +0 -65
package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Ccuf283K.js
DELETED
|
@@ -1,1284 +0,0 @@
|
|
|
1
|
-
import { defineComponent as x, ref as P, inject as Q, watch as ee, computed as d, openBlock as g, createElementBlock as B, Fragment as X, renderSlot as O, createBlock as $, Teleport as ke, unref as l, createVNode as M, Transition as Be, withCtx as Y, createElementVNode as K, createCommentVNode as I, provide as Fe, onMounted as te, nextTick as Ve, useId as Pe, normalizeClass as $e, toRef as le, h as V, toValue as se, reactive as ie, defineAsyncComponent as c, normalizeStyle as Ae, renderList as ce, toRaw as Me } from "vue";
|
|
2
|
-
import { KdsPanel as Ie, kdsToggleSwitchSize as Oe, KdsLabel as me, KdsToggleSwitch as Ee, KdsInfoToggleButton as Ue, KdsDescription as _e, KdsPasswordInput as He, KdsNumberInput as ze, KdsButton as H, KdsInlineMessage as Ne, KdsUsernameInput as We } from "@knime/kds-components";
|
|
3
|
-
import { useJsonFormsControl as pe, rendererProps as oe, useJsonFormsLayout as qe, useJsonFormsArrayControl as Ke, DispatchRenderer as je } from "@jsonforms/vue";
|
|
4
|
-
import { rankWith as s, schemaMatches as ve, hasType as Ge, and as C, isControl as F, isIntegerControl as z, isBooleanControl as Je, isNumberControl as fe, isStringControl as ne, uiTypeIs as U, isAnyOfControl as Ze, isDateTimeControl as Qe, isOneOfControl as re, composePaths as Z, not as Xe } from "@jsonforms/core";
|
|
5
|
-
const j = (e, o) => {
|
|
6
|
-
const t = e.__vccOpts || e;
|
|
7
|
-
for (const [n, r] of o)
|
|
8
|
-
t[n] = r;
|
|
9
|
-
return t;
|
|
10
|
-
}, Ye = ["aria-label"], et = { class: "settings-sub-panel-body" }, tt = {
|
|
11
|
-
key: 0,
|
|
12
|
-
class: "settings-sub-panel-footer"
|
|
13
|
-
}, he = /* @__PURE__ */ Symbol("subPanelDestInjectionKey"), Hn = (e) => Fe(he, e), zn = /* @__PURE__ */ x({
|
|
14
|
-
__name: "SettingsSubPanel",
|
|
15
|
-
props: {
|
|
16
|
-
showBackArrow: { type: Boolean, default: !0 },
|
|
17
|
-
backButtonLabel: { default: "Back" },
|
|
18
|
-
ariaLabel: { default: () => {
|
|
19
|
-
} }
|
|
20
|
-
},
|
|
21
|
-
setup(e, { expose: o }) {
|
|
22
|
-
const t = P(!1), n = P(null), r = P(null), a = () => {
|
|
23
|
-
r.value = document.activeElement ?? null, t.value = !0;
|
|
24
|
-
}, u = () => {
|
|
25
|
-
t.value = !1;
|
|
26
|
-
};
|
|
27
|
-
o({ expand: a, close: u });
|
|
28
|
-
const m = Q("setSubPanelExpanded", void 0);
|
|
29
|
-
ee(t, (T) => {
|
|
30
|
-
m?.({ isExpanded: T }), !T && r.value && (r.value.focus(), r.value = null);
|
|
31
|
-
});
|
|
32
|
-
const h = () => {
|
|
33
|
-
n.value?.focus();
|
|
34
|
-
}, S = Q(he), w = d(() => e.ariaLabel ?? e.backButtonLabel), D = d(
|
|
35
|
-
() => e.showBackArrow ? {
|
|
36
|
-
type: "button",
|
|
37
|
-
props: {
|
|
38
|
-
label: e.backButtonLabel,
|
|
39
|
-
leadingIcon: "back",
|
|
40
|
-
variant: "transparent"
|
|
41
|
-
},
|
|
42
|
-
onClick: u
|
|
43
|
-
} : void 0
|
|
44
|
-
);
|
|
45
|
-
return (T, A) => (g(), B(X, null, [
|
|
46
|
-
O(T.$slots, "expand-button", { expand: a }, void 0, !0),
|
|
47
|
-
(g(), $(ke, { to: l(S) }, [
|
|
48
|
-
M(Be, {
|
|
49
|
-
name: "slide",
|
|
50
|
-
onAfterEnter: h
|
|
51
|
-
}, {
|
|
52
|
-
default: Y(() => [
|
|
53
|
-
t.value ? (g(), B("aside", {
|
|
54
|
-
key: 0,
|
|
55
|
-
ref_key: "panelRef",
|
|
56
|
-
ref: n,
|
|
57
|
-
class: "settings-sub-panel",
|
|
58
|
-
"aria-label": w.value,
|
|
59
|
-
tabindex: "-1"
|
|
60
|
-
}, [
|
|
61
|
-
M(l(Ie), {
|
|
62
|
-
headline: D.value,
|
|
63
|
-
"body-variant": "plain",
|
|
64
|
-
"body-overflow": "hidden"
|
|
65
|
-
}, {
|
|
66
|
-
default: Y(() => [
|
|
67
|
-
K("div", et, [
|
|
68
|
-
O(T.$slots, "default", {}, void 0, !0)
|
|
69
|
-
])
|
|
70
|
-
]),
|
|
71
|
-
_: 3
|
|
72
|
-
}, 8, ["headline"]),
|
|
73
|
-
T.$slots["bottom-content"] ? (g(), B("div", tt, [
|
|
74
|
-
O(T.$slots, "bottom-content", {}, void 0, !0)
|
|
75
|
-
])) : I("", !0)
|
|
76
|
-
], 8, Ye)) : I("", !0)
|
|
77
|
-
]),
|
|
78
|
-
_: 3
|
|
79
|
-
})
|
|
80
|
-
], 8, ["to"]))
|
|
81
|
-
], 64));
|
|
82
|
-
}
|
|
83
|
-
}), ot = (e) => Q(e), ae = (e) => ot(e), be = (e, o, t = null) => {
|
|
84
|
-
const n = ae("addStateProviderListener"), r = P(
|
|
85
|
-
// @ts-expect-error options is of type object and cannot be indexed with K
|
|
86
|
-
e.value.options?.[o] ?? t
|
|
87
|
-
), a = l(e), u = "scope" in a ? { scope: a.scope } : { id: a.id };
|
|
88
|
-
return te(() => {
|
|
89
|
-
(e.value.providedOptions ?? []).includes(o) && n(
|
|
90
|
-
{ ...u, providedOptionName: o },
|
|
91
|
-
(m) => {
|
|
92
|
-
r.value = m;
|
|
93
|
-
}
|
|
94
|
-
);
|
|
95
|
-
}), r;
|
|
96
|
-
}, nt = (e, o, t = null) => {
|
|
97
|
-
const n = ae("addStateProviderListener"), r = P(t), a = l(e);
|
|
98
|
-
return te(() => {
|
|
99
|
-
n(
|
|
100
|
-
{ ...a, providedOptionName: o },
|
|
101
|
-
(u) => {
|
|
102
|
-
r.value = u;
|
|
103
|
-
}
|
|
104
|
-
);
|
|
105
|
-
}), r;
|
|
106
|
-
}, rt = ({
|
|
107
|
-
control: e,
|
|
108
|
-
disabled: o,
|
|
109
|
-
changeValue: t,
|
|
110
|
-
controlElement: n
|
|
111
|
-
}) => {
|
|
112
|
-
const r = d(
|
|
113
|
-
() => l(e).uischema
|
|
114
|
-
), a = d(
|
|
115
|
-
() => r.value?.options?.hideOnNull ?? !1
|
|
116
|
-
), u = be(r, "default"), m = d(
|
|
117
|
-
() => l(e).data === null || typeof l(e).data > "u"
|
|
118
|
-
), h = d(() => !(a.value && m.value)), S = d(
|
|
119
|
-
() => l(e).data === u.value
|
|
120
|
-
), w = l(e).label;
|
|
121
|
-
ee(
|
|
122
|
-
() => h.value,
|
|
123
|
-
(k) => {
|
|
124
|
-
k && Ve(() => n.value?.focus?.());
|
|
125
|
-
}
|
|
126
|
-
);
|
|
127
|
-
const D = (k) => t(k ? u.value : null), T = () => {
|
|
128
|
-
o.value || (h.value ? S.value && D(!1) : D(!0));
|
|
129
|
-
}, A = d(() => m.value ? `Show ${w ?? "this"} field` : `Hide ${w ?? "this"} field`);
|
|
130
|
-
return {
|
|
131
|
-
showToggle: a,
|
|
132
|
-
showControl: h,
|
|
133
|
-
onLabelClick: T,
|
|
134
|
-
toggleProps: d(
|
|
135
|
-
() => ({
|
|
136
|
-
modelValue: !m.value,
|
|
137
|
-
"onUpdate:modelValue": (k) => D(k),
|
|
138
|
-
disabled: l(o),
|
|
139
|
-
class: "toggle-hide-on-null",
|
|
140
|
-
size: Oe.SMALL,
|
|
141
|
-
ariaLabel: A.value
|
|
142
|
-
})
|
|
143
|
-
)
|
|
144
|
-
};
|
|
145
|
-
}, at = { class: "control-header" }, lt = { class: "left" }, st = /* @__PURE__ */ x({
|
|
146
|
-
__name: "LabeledControl",
|
|
147
|
-
props: {
|
|
148
|
-
label: {},
|
|
149
|
-
hideControlHeader: { type: Boolean },
|
|
150
|
-
fill: { type: Boolean },
|
|
151
|
-
large: { type: Boolean },
|
|
152
|
-
onLabelClick: { type: Function }
|
|
153
|
-
},
|
|
154
|
-
setup(e) {
|
|
155
|
-
const o = e, t = P(!1), n = Pe(), r = d(() => o.label === "" ? " " : o.label);
|
|
156
|
-
return (a, u) => e.hideControlHeader ? O(a.$slots, "default", {
|
|
157
|
-
key: 0,
|
|
158
|
-
labelForId: ""
|
|
159
|
-
}, void 0, !0) : (g(), B("div", {
|
|
160
|
-
key: 1,
|
|
161
|
-
class: $e(["dialog-label", { fill: e.fill }]),
|
|
162
|
-
onMouseover: u[0] || (u[0] = (m) => t.value = !0),
|
|
163
|
-
onMouseleave: u[1] || (u[1] = (m) => t.value = !1)
|
|
164
|
-
}, [
|
|
165
|
-
K("div", at, [
|
|
166
|
-
K("div", lt, [
|
|
167
|
-
M(l(me), {
|
|
168
|
-
id: "label-" + l(n),
|
|
169
|
-
for: l(n),
|
|
170
|
-
label: r.value,
|
|
171
|
-
onClick: e.onLabelClick
|
|
172
|
-
}, null, 8, ["id", "for", "label", "onClick"]),
|
|
173
|
-
O(a.$slots, "icon", {}, void 0, !0)
|
|
174
|
-
]),
|
|
175
|
-
O(a.$slots, "buttons", { hover: t.value }, void 0, !0),
|
|
176
|
-
O(a.$slots, "after-buttons", {}, void 0, !0)
|
|
177
|
-
]),
|
|
178
|
-
O(a.$slots, "default", { labelForId: l(n) }, void 0, !0)
|
|
179
|
-
], 34));
|
|
180
|
-
}
|
|
181
|
-
}), it = /* @__PURE__ */ j(st, [["__scopeId", "data-v-dcb388eb"]]), N = (e) => async () => {
|
|
182
|
-
e.name === "AsyncComponentWrapper" && await e.setup();
|
|
183
|
-
}, ct = {
|
|
184
|
-
control: {
|
|
185
|
-
type: Object,
|
|
186
|
-
required: !0
|
|
187
|
-
},
|
|
188
|
-
handleChange: {
|
|
189
|
-
type: Function,
|
|
190
|
-
required: !0
|
|
191
|
-
},
|
|
192
|
-
changeValue: {
|
|
193
|
-
type: Function,
|
|
194
|
-
required: !0
|
|
195
|
-
},
|
|
196
|
-
disabled: {
|
|
197
|
-
type: Boolean,
|
|
198
|
-
required: !0
|
|
199
|
-
},
|
|
200
|
-
error: {
|
|
201
|
-
type: Boolean,
|
|
202
|
-
required: !0
|
|
203
|
-
},
|
|
204
|
-
subText: {
|
|
205
|
-
type: String
|
|
206
|
-
},
|
|
207
|
-
onRegisterValidation: {
|
|
208
|
-
type: Function,
|
|
209
|
-
required: !0
|
|
210
|
-
}
|
|
211
|
-
}, ye = (e) => x(e, {
|
|
212
|
-
props: ct
|
|
213
|
-
}), ut = (e) => (o) => Object.entries(o).reduce(
|
|
214
|
-
(t, [n, { control: r, name: a, tester: u, __asyncSetup: m }]) => (t[n] = {
|
|
215
|
-
control: e(r, n),
|
|
216
|
-
name: a,
|
|
217
|
-
tester: u,
|
|
218
|
-
__asyncSetup: m || N(r)
|
|
219
|
-
}, t),
|
|
220
|
-
{}
|
|
221
|
-
), dt = (e) => (o) => Object.entries(o).reduce(
|
|
222
|
-
(t, [n, { layout: r, name: a, tester: u, __asyncSetup: m }]) => (t[n] = {
|
|
223
|
-
layout: e(r, n),
|
|
224
|
-
name: a,
|
|
225
|
-
tester: u,
|
|
226
|
-
__asyncSetup: m || N(r)
|
|
227
|
-
}, t),
|
|
228
|
-
{}
|
|
229
|
-
), mt = (e) => ({
|
|
230
|
-
control: o,
|
|
231
|
-
tester: t,
|
|
232
|
-
name: n,
|
|
233
|
-
__asyncSetup: r
|
|
234
|
-
}) => ({
|
|
235
|
-
name: n,
|
|
236
|
-
tester: t,
|
|
237
|
-
__asyncSetup: r || N(o),
|
|
238
|
-
control: e(o)
|
|
239
|
-
}), pt = ({
|
|
240
|
-
fill: e
|
|
241
|
-
} = { fill: !1 }) => (o) => ye((t, { slots: n }) => {
|
|
242
|
-
const r = P(
|
|
243
|
-
null
|
|
244
|
-
), a = d(
|
|
245
|
-
() => t.control.uischema.options?.hideControlHeader
|
|
246
|
-
), { toggleProps: u, showToggle: m, showControl: h, onLabelClick: S } = rt({
|
|
247
|
-
control: le(t, "control"),
|
|
248
|
-
controlElement: r,
|
|
249
|
-
changeValue: t.changeValue,
|
|
250
|
-
disabled: le(t, "disabled")
|
|
251
|
-
});
|
|
252
|
-
return () => a.value ? V(o, { ...t, labelForId: "" }) : V(
|
|
253
|
-
it,
|
|
254
|
-
{
|
|
255
|
-
label: t.control.label,
|
|
256
|
-
fill: e,
|
|
257
|
-
onLabelClick: m.value ? S : void 0
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
"after-buttons": () => m.value ? V(Ee, u.value) : null,
|
|
261
|
-
default: ({ labelForId: w }) => h.value ? V(o, {
|
|
262
|
-
...t,
|
|
263
|
-
labelForId: w,
|
|
264
|
-
ref: r
|
|
265
|
-
}) : null,
|
|
266
|
-
buttons: ({ hover: w }) => n.buttons ? n.buttons({
|
|
267
|
-
hover: w,
|
|
268
|
-
controlHTMLElement: r.value
|
|
269
|
-
}) : null,
|
|
270
|
-
icon: n.icon
|
|
271
|
-
}
|
|
272
|
-
);
|
|
273
|
-
}), v = (e = { fill: !1 }) => mt(pt(e));
|
|
274
|
-
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
275
|
-
const ue = () => {
|
|
276
|
-
};
|
|
277
|
-
function vt(e, o) {
|
|
278
|
-
function t(...n) {
|
|
279
|
-
return new Promise((r, a) => {
|
|
280
|
-
Promise.resolve(e(() => o.apply(this, n), {
|
|
281
|
-
fn: o,
|
|
282
|
-
thisArg: this,
|
|
283
|
-
args: n
|
|
284
|
-
})).then(r).catch(a);
|
|
285
|
-
});
|
|
286
|
-
}
|
|
287
|
-
return t;
|
|
288
|
-
}
|
|
289
|
-
function ft(e, o = {}) {
|
|
290
|
-
let t, n, r = ue;
|
|
291
|
-
const a = (h) => {
|
|
292
|
-
clearTimeout(h), r(), r = ue;
|
|
293
|
-
};
|
|
294
|
-
let u;
|
|
295
|
-
return (h) => {
|
|
296
|
-
const S = se(e), w = se(o.maxWait);
|
|
297
|
-
return t && a(t), S <= 0 || w !== void 0 && w <= 0 ? (n && (a(n), n = void 0), Promise.resolve(h())) : new Promise((D, T) => {
|
|
298
|
-
r = o.rejectOnCancel ? T : D, u = h, w && !n && (n = setTimeout(() => {
|
|
299
|
-
t && a(t), n = void 0, D(u());
|
|
300
|
-
}, w)), t = setTimeout(() => {
|
|
301
|
-
n && a(n), n = void 0, D(h());
|
|
302
|
-
}, S);
|
|
303
|
-
});
|
|
304
|
-
};
|
|
305
|
-
}
|
|
306
|
-
// @__NO_SIDE_EFFECTS__
|
|
307
|
-
function Ce(e, o = 200, t = {}) {
|
|
308
|
-
return vt(ft(o, t), e);
|
|
309
|
-
}
|
|
310
|
-
const ht = 500, bt = ({
|
|
311
|
-
data: e,
|
|
312
|
-
uischema: o
|
|
313
|
-
}) => {
|
|
314
|
-
const t = P(null), n = nt(
|
|
315
|
-
o,
|
|
316
|
-
"validatorId"
|
|
317
|
-
), r = ae("validate"), a = async (m) => {
|
|
318
|
-
n?.value ? t.value = await r(
|
|
319
|
-
n.value,
|
|
320
|
-
m
|
|
321
|
-
) : t.value = null;
|
|
322
|
-
};
|
|
323
|
-
return ee(
|
|
324
|
-
() => n.value,
|
|
325
|
-
() => a(e.value),
|
|
326
|
-
{ immediate: !0 }
|
|
327
|
-
), {
|
|
328
|
-
customValidationMessage: t,
|
|
329
|
-
performCustomValidationDebounced: /* @__PURE__ */ Ce((m) => {
|
|
330
|
-
a(m).catch((h) => {
|
|
331
|
-
});
|
|
332
|
-
}, ht)
|
|
333
|
-
};
|
|
334
|
-
}, yt = 500, Ct = ({
|
|
335
|
-
data: e,
|
|
336
|
-
options: o,
|
|
337
|
-
performExternalValidation: t,
|
|
338
|
-
customValidationMessage: n
|
|
339
|
-
}) => {
|
|
340
|
-
const r = d(
|
|
341
|
-
() => !!o.value?.externalValidationHandler
|
|
342
|
-
), a = ie({}), u = ie({});
|
|
343
|
-
let m = 0;
|
|
344
|
-
const h = (R) => {
|
|
345
|
-
const L = String(m++);
|
|
346
|
-
return a[L] = R, () => {
|
|
347
|
-
delete a[L];
|
|
348
|
-
};
|
|
349
|
-
}, S = (R, L) => {
|
|
350
|
-
L === null ? delete u[R] : u[R] = L;
|
|
351
|
-
}, w = async (R) => {
|
|
352
|
-
if (r.value && typeof t == "function") {
|
|
353
|
-
const L = o.value.externalValidationHandler, y = await t(
|
|
354
|
-
L,
|
|
355
|
-
R
|
|
356
|
-
);
|
|
357
|
-
S(
|
|
358
|
-
L,
|
|
359
|
-
y
|
|
360
|
-
);
|
|
361
|
-
}
|
|
362
|
-
}, D = /* @__PURE__ */ Ce((R) => {
|
|
363
|
-
w(R);
|
|
364
|
-
}, yt), T = d(
|
|
365
|
-
() => Object.values(a).map(
|
|
366
|
-
(R) => l(R)?.(e.value)
|
|
367
|
-
)
|
|
368
|
-
), A = d(
|
|
369
|
-
() => Object.values(u)
|
|
370
|
-
), k = d(() => ({
|
|
371
|
-
errors: [
|
|
372
|
-
...T.value.flatMap(
|
|
373
|
-
({ errors: R } = { errors: [] }) => R
|
|
374
|
-
),
|
|
375
|
-
...A.value,
|
|
376
|
-
...n?.value ? [n.value] : []
|
|
377
|
-
]
|
|
378
|
-
})), _ = d(() => k.value.errors.length === 0);
|
|
379
|
-
return {
|
|
380
|
-
messages: k,
|
|
381
|
-
isValid: _,
|
|
382
|
-
onRegisterValidation: h,
|
|
383
|
-
performExternalValidationDebounced: D
|
|
384
|
-
};
|
|
385
|
-
}, gt = ({
|
|
386
|
-
component: e,
|
|
387
|
-
asyncSetup: o,
|
|
388
|
-
config: t = {}
|
|
389
|
-
}) => x(
|
|
390
|
-
async (n, r) => {
|
|
391
|
-
const a = pe(n), u = d(() => a.control.value.visible), m = d(() => a.control.value.data), h = d(
|
|
392
|
-
() => a.control.value.uischema || {}
|
|
393
|
-
), { customValidationMessage: S, performCustomValidationDebounced: w } = bt({ data: m, uischema: h }), D = d(() => h.value.options || {}), {
|
|
394
|
-
messages: T,
|
|
395
|
-
isValid: A,
|
|
396
|
-
onRegisterValidation: k,
|
|
397
|
-
performExternalValidationDebounced: _
|
|
398
|
-
} = Ct({
|
|
399
|
-
data: m,
|
|
400
|
-
options: D,
|
|
401
|
-
performExternalValidation: t?.performExternalValidation,
|
|
402
|
-
customValidationMessage: S
|
|
403
|
-
});
|
|
404
|
-
await (o || N(e))?.();
|
|
405
|
-
const R = (L, y) => {
|
|
406
|
-
a.handleChange(L, y), _(y), w(y);
|
|
407
|
-
};
|
|
408
|
-
return () => u.value ? V(
|
|
409
|
-
e,
|
|
410
|
-
{
|
|
411
|
-
handleChange: R,
|
|
412
|
-
control: a.control.value,
|
|
413
|
-
disabled: !a.control.value.enabled,
|
|
414
|
-
changeValue: (L) => {
|
|
415
|
-
R(a.control.value.path, L);
|
|
416
|
-
},
|
|
417
|
-
error: !A.value,
|
|
418
|
-
subText: T.value.errors.at(-1),
|
|
419
|
-
onRegisterValidation: k
|
|
420
|
-
},
|
|
421
|
-
r.slots
|
|
422
|
-
) : null;
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
props: oe()
|
|
426
|
-
}
|
|
427
|
-
), wt = { class: "description-wrapper" }, Tt = /* @__PURE__ */ x({
|
|
428
|
-
__name: "DescriptionPopover",
|
|
429
|
-
props: {
|
|
430
|
-
html: {},
|
|
431
|
-
hover: { type: Boolean, default: !1 }
|
|
432
|
-
},
|
|
433
|
-
setup(e) {
|
|
434
|
-
return (o, t) => (g(), $(l(Ue), {
|
|
435
|
-
hidden: !e.hover
|
|
436
|
-
}, {
|
|
437
|
-
default: Y(() => [
|
|
438
|
-
K("div", wt, [
|
|
439
|
-
M(l(_e), {
|
|
440
|
-
text: e.html ?? "",
|
|
441
|
-
"render-as-html": ""
|
|
442
|
-
}, null, 8, ["text"])
|
|
443
|
-
])
|
|
444
|
-
]),
|
|
445
|
-
_: 1
|
|
446
|
-
}, 8, ["hidden"]));
|
|
447
|
-
}
|
|
448
|
-
}), ge = /* @__PURE__ */ j(Tt, [["__scopeId", "data-v-36483899"]]), Rt = (e) => ye((o, t) => {
|
|
449
|
-
const n = d(() => o.control.description);
|
|
450
|
-
return () => V(e, o, {
|
|
451
|
-
...t.slots,
|
|
452
|
-
buttons: (r) => {
|
|
453
|
-
const a = typeof n.value < "u" && n.value !== "";
|
|
454
|
-
return [
|
|
455
|
-
...t.slots.buttons ? [t.slots.buttons(r)] : [],
|
|
456
|
-
...a ? [
|
|
457
|
-
V(ge, {
|
|
458
|
-
html: n.value,
|
|
459
|
-
hover: r.hover
|
|
460
|
-
})
|
|
461
|
-
] : []
|
|
462
|
-
];
|
|
463
|
-
}
|
|
464
|
-
});
|
|
465
|
-
}), St = (e, o) => x(
|
|
466
|
-
async (t, n) => {
|
|
467
|
-
const { layout: r } = qe(t), a = d(() => r.value.visible);
|
|
468
|
-
return await (o || N(e))?.(), () => a.value ? (
|
|
469
|
-
// @ts-expect-error No overload matches this call.
|
|
470
|
-
V(e, { layout: r.value }, n.slots)
|
|
471
|
-
) : null;
|
|
472
|
-
},
|
|
473
|
-
{
|
|
474
|
-
props: oe()
|
|
475
|
-
}
|
|
476
|
-
), Dt = {
|
|
477
|
-
layout: {
|
|
478
|
-
type: Object,
|
|
479
|
-
required: !0
|
|
480
|
-
}
|
|
481
|
-
}, Lt = (e) => x(e, {
|
|
482
|
-
props: Dt
|
|
483
|
-
}), xt = (e) => Lt((o, t) => {
|
|
484
|
-
const n = d(() => o.layout.uischema.description);
|
|
485
|
-
return () => V(e, o, {
|
|
486
|
-
...t.slots,
|
|
487
|
-
buttons: (r) => {
|
|
488
|
-
const a = n.value !== void 0 && n.value !== "";
|
|
489
|
-
return [
|
|
490
|
-
...t.slots.buttons ? [t.slots.buttons(r)] : [],
|
|
491
|
-
...a ? [
|
|
492
|
-
V(ge, {
|
|
493
|
-
html: n.value,
|
|
494
|
-
hover: r.hover
|
|
495
|
-
})
|
|
496
|
-
] : []
|
|
497
|
-
];
|
|
498
|
-
}
|
|
499
|
-
});
|
|
500
|
-
}), p = {
|
|
501
|
-
singleSelect: "singleSelection",
|
|
502
|
-
dropDown: "dropDown",
|
|
503
|
-
radio: "radio",
|
|
504
|
-
valueSwitch: "valueSwitch",
|
|
505
|
-
checkboxes: "checkboxes",
|
|
506
|
-
integer: "integer",
|
|
507
|
-
number: "number",
|
|
508
|
-
quantity: "quantity",
|
|
509
|
-
typedStringFilter: "typedStringFilter",
|
|
510
|
-
nameFilter: "nameFilter",
|
|
511
|
-
richTextInput: "richTextInput",
|
|
512
|
-
twinList: "twinList",
|
|
513
|
-
manualTwinlist: "manualTwinlist",
|
|
514
|
-
comboBox: "comboBox",
|
|
515
|
-
sortList: "sortList",
|
|
516
|
-
simpleButton: "simpleButton",
|
|
517
|
-
progressButton: "progressButton",
|
|
518
|
-
textArea: "textArea",
|
|
519
|
-
textMessage: "textMessage",
|
|
520
|
-
localTime: "localTime",
|
|
521
|
-
localDate: "localDate",
|
|
522
|
-
zonedDateTime: "zonedDateTime",
|
|
523
|
-
dateTime: "dateTime",
|
|
524
|
-
interval: "interval",
|
|
525
|
-
dateTimeFormat: "dateTimeFormat",
|
|
526
|
-
color: "color",
|
|
527
|
-
colorPreview: "colorPreview",
|
|
528
|
-
gridSelection: "gridSelection",
|
|
529
|
-
timeframes: "timeframes",
|
|
530
|
-
link: "linkButton",
|
|
531
|
-
username: "username",
|
|
532
|
-
password: "password",
|
|
533
|
-
// custom hub formats
|
|
534
|
-
executionContextDropdown: "executionContextDropdown",
|
|
535
|
-
dockerImageDropdown: "dockerImageDropdown",
|
|
536
|
-
radioButtonsWithDescription: "radioButtonsWithDescription",
|
|
537
|
-
fileUpload: "fileUpload",
|
|
538
|
-
teamResources: "teamResources",
|
|
539
|
-
executorCoresResources: "executorCoresResources",
|
|
540
|
-
executorMemoryResources: "executorMemoryResources",
|
|
541
|
-
teamAndSpacesDropdown: "teamAndSpacesDropdown"
|
|
542
|
-
}, f = (e) => (o) => o.options?.format === e, i = {
|
|
543
|
-
fallback: 10,
|
|
544
|
-
default: 100
|
|
545
|
-
}, kt = c(
|
|
546
|
-
() => import("./CheckboxesControl--bG4aF6O.js")
|
|
547
|
-
), Bt = v()({
|
|
548
|
-
name: "CheckboxesControl",
|
|
549
|
-
control: kt,
|
|
550
|
-
tester: s(i.default, f(p.checkboxes))
|
|
551
|
-
}), Ft = c(
|
|
552
|
-
() => import("./ColorPreviewControl-j0uQH95J.js")
|
|
553
|
-
), Vt = {
|
|
554
|
-
name: "ColorPreviewControl",
|
|
555
|
-
control: Ft,
|
|
556
|
-
tester: s(i.default, f(p.colorPreview))
|
|
557
|
-
}, Pt = c(
|
|
558
|
-
() => import("./ColorControl-CEp2Ei7R.js")
|
|
559
|
-
), $t = v()({
|
|
560
|
-
name: "ColorControl",
|
|
561
|
-
control: Pt,
|
|
562
|
-
tester: s(i.default, f(p.color))
|
|
563
|
-
}), At = c(
|
|
564
|
-
() => import("./ComboBoxControl-BpJzwiv6.js")
|
|
565
|
-
), Mt = ve((e) => Ge(e, "array")), It = f(p.comboBox), Ot = C(Mt, It), Et = v()({
|
|
566
|
-
name: "ComboBoxControl",
|
|
567
|
-
control: At,
|
|
568
|
-
tester: s(i.default, Ot)
|
|
569
|
-
}), Ut = c(
|
|
570
|
-
() => import("./DateTimeFormatPickerControl-B9gl_66T.js")
|
|
571
|
-
), _t = v()({
|
|
572
|
-
name: "DateTimeFormatPickerControl",
|
|
573
|
-
control: Ut,
|
|
574
|
-
tester: s(
|
|
575
|
-
i.default,
|
|
576
|
-
C(F, f(p.dateTimeFormat))
|
|
577
|
-
)
|
|
578
|
-
}), Ht = c({
|
|
579
|
-
loader: () => import("./DateTimeControl-C-D8bFm3.js")
|
|
580
|
-
}), we = v()({
|
|
581
|
-
name: "DateTimeControl",
|
|
582
|
-
control: Ht,
|
|
583
|
-
tester: s(i.default, f(p.dateTime))
|
|
584
|
-
}), zt = c({
|
|
585
|
-
loader: () => import("./DropdownControl-CtveoldX.js")
|
|
586
|
-
}), Nt = v()({
|
|
587
|
-
name: "DropdownControl",
|
|
588
|
-
control: zt,
|
|
589
|
-
tester: s(
|
|
590
|
-
i.default,
|
|
591
|
-
C(F, f(p.dropDown))
|
|
592
|
-
)
|
|
593
|
-
}), Wt = c(
|
|
594
|
-
() => import("./ExecutorCoresControl-CErHidL7.js")
|
|
595
|
-
), qt = v()({
|
|
596
|
-
name: "ExecutorCoresControl",
|
|
597
|
-
control: Wt,
|
|
598
|
-
tester: s(
|
|
599
|
-
i.default,
|
|
600
|
-
C(z, f(p.executorCoresResources))
|
|
601
|
-
)
|
|
602
|
-
}), Kt = c(
|
|
603
|
-
() => import("./ExecutorMemoryControl-DgSM86Yg.js")
|
|
604
|
-
), jt = v()({
|
|
605
|
-
name: "ExecutorMemoryControl",
|
|
606
|
-
control: Kt,
|
|
607
|
-
tester: s(
|
|
608
|
-
i.default,
|
|
609
|
-
C(z, f(p.executorMemoryResources))
|
|
610
|
-
)
|
|
611
|
-
}), Gt = c(
|
|
612
|
-
() => import("./CheckboxControl-B_MAR82s.js")
|
|
613
|
-
), Jt = {
|
|
614
|
-
name: "CheckboxControl",
|
|
615
|
-
control: Gt,
|
|
616
|
-
tester: s(i.fallback, Je)
|
|
617
|
-
}, Zt = c(
|
|
618
|
-
() => import("./IntegerControl-v93Xw4DJ.js")
|
|
619
|
-
), Te = v()({
|
|
620
|
-
name: "IntegerControl",
|
|
621
|
-
control: Zt,
|
|
622
|
-
tester: s(
|
|
623
|
-
i.default,
|
|
624
|
-
C(z, f(p.integer))
|
|
625
|
-
)
|
|
626
|
-
}), Qt = c(
|
|
627
|
-
() => import("./NumberControl-BF76FEhD.js")
|
|
628
|
-
), Re = v()({
|
|
629
|
-
name: "NumberControl",
|
|
630
|
-
control: Qt,
|
|
631
|
-
tester: s(
|
|
632
|
-
i.default,
|
|
633
|
-
C(fe, f(p.number))
|
|
634
|
-
)
|
|
635
|
-
}), Xt = c(
|
|
636
|
-
() => import("./TextControl-MvbrNTGW.js")
|
|
637
|
-
), Yt = v()({
|
|
638
|
-
name: "TextControl",
|
|
639
|
-
control: Xt,
|
|
640
|
-
tester: s(i.fallback, ne)
|
|
641
|
-
}), Se = c(
|
|
642
|
-
() => import("./VerticalLayout-DIBkvSZ9.js")
|
|
643
|
-
), eo = {
|
|
644
|
-
name: "VerticalLayout",
|
|
645
|
-
layout: Se,
|
|
646
|
-
tester: s(i.default, U("VerticalLayout"))
|
|
647
|
-
}, to = {
|
|
648
|
-
name: "VerticalLayout",
|
|
649
|
-
layout: Se,
|
|
650
|
-
tester: s(
|
|
651
|
-
i.fallback,
|
|
652
|
-
// @ts-expect-error Argument of type 'undefined' is not assignable to parameter of type 'string'.
|
|
653
|
-
U(void 0)
|
|
654
|
-
)
|
|
655
|
-
}, oo = c(
|
|
656
|
-
() => import("./OneOfDropdown-DpXmZauV.js")
|
|
657
|
-
), no = c(
|
|
658
|
-
() => import("./AnyOfTwinlist-CcodfEXw.js")
|
|
659
|
-
), ro = {
|
|
660
|
-
oneOfDropdownRenderer: v()({
|
|
661
|
-
name: "OneOfDropdown",
|
|
662
|
-
control: oo,
|
|
663
|
-
tester: s(i.fallback, re)
|
|
664
|
-
}),
|
|
665
|
-
dateTimeFallbackRenderer: {
|
|
666
|
-
...we,
|
|
667
|
-
tester: s(i.fallback, Qe)
|
|
668
|
-
},
|
|
669
|
-
textRenderer: Yt,
|
|
670
|
-
checkboxRenderer: Jt,
|
|
671
|
-
anyOfTwinlistRenderer: v()({
|
|
672
|
-
name: "AnyOfTwinlist",
|
|
673
|
-
control: no,
|
|
674
|
-
tester: s(i.fallback, Ze)
|
|
675
|
-
}),
|
|
676
|
-
numberFallbackRenderer: {
|
|
677
|
-
...Re,
|
|
678
|
-
tester: s(i.fallback, fe)
|
|
679
|
-
},
|
|
680
|
-
integerFallbackRenderer: {
|
|
681
|
-
...Te,
|
|
682
|
-
tester: s(i.fallback, z)
|
|
683
|
-
}
|
|
684
|
-
}, ao = {
|
|
685
|
-
verticalLayoutFallbackRenderer: to
|
|
686
|
-
}, lo = c(
|
|
687
|
-
() => import("./FileUploadControl-BBfnxURy.js")
|
|
688
|
-
), so = v()({
|
|
689
|
-
name: "FileUploadRenderer",
|
|
690
|
-
control: lo,
|
|
691
|
-
tester: s(
|
|
692
|
-
i.default,
|
|
693
|
-
C(F, f(p.fileUpload))
|
|
694
|
-
)
|
|
695
|
-
}), io = c(
|
|
696
|
-
() => import("./GridSelectionControl-BaI4j0Jj.js")
|
|
697
|
-
), co = v()({
|
|
698
|
-
name: "GridSelectionRenderer",
|
|
699
|
-
control: io,
|
|
700
|
-
tester: s(
|
|
701
|
-
i.default,
|
|
702
|
-
C(F, f(p.gridSelection))
|
|
703
|
-
)
|
|
704
|
-
}), uo = c(
|
|
705
|
-
() => import("./HorizontalLayout-D1SRCyhL.js")
|
|
706
|
-
), mo = U("HorizontalLayout"), po = {
|
|
707
|
-
name: "HorizontalLayout",
|
|
708
|
-
layout: uo,
|
|
709
|
-
tester: s(i.default, mo)
|
|
710
|
-
}, vo = c(
|
|
711
|
-
() => import("./IntervalControl-CVlO_mFO.js")
|
|
712
|
-
), fo = v()({
|
|
713
|
-
name: "IntervalControl",
|
|
714
|
-
control: vo,
|
|
715
|
-
tester: s(
|
|
716
|
-
i.default,
|
|
717
|
-
C(F, f(p.interval))
|
|
718
|
-
)
|
|
719
|
-
}), ho = c(
|
|
720
|
-
() => import("./LinkControl-j8GrcZZG.js")
|
|
721
|
-
), bo = {
|
|
722
|
-
name: "LinkRenderer",
|
|
723
|
-
control: ho,
|
|
724
|
-
tester: s(i.default, f(p.link))
|
|
725
|
-
}, yo = c({
|
|
726
|
-
loader: () => import("./DateControl-83Fi6P5y.js")
|
|
727
|
-
}), Co = v()({
|
|
728
|
-
name: "DateControl",
|
|
729
|
-
control: yo,
|
|
730
|
-
tester: s(i.default, f(p.localDate))
|
|
731
|
-
}), go = c({
|
|
732
|
-
loader: () => import("./TimeControl-WG0SC4_b.js")
|
|
733
|
-
}), wo = v()({
|
|
734
|
-
name: "TimeControl",
|
|
735
|
-
control: go,
|
|
736
|
-
tester: s(i.default, f(p.localTime))
|
|
737
|
-
}), To = c(
|
|
738
|
-
() => import("./NameFilter-BjuVseuX.js")
|
|
739
|
-
), Ro = v()({
|
|
740
|
-
name: "NameFilter",
|
|
741
|
-
control: To,
|
|
742
|
-
tester: s(
|
|
743
|
-
i.default,
|
|
744
|
-
C(F, f(p.nameFilter))
|
|
745
|
-
)
|
|
746
|
-
}), So = "*************", Do = /* @__PURE__ */ x({
|
|
747
|
-
__name: "PasswordControl",
|
|
748
|
-
props: {
|
|
749
|
-
control: {},
|
|
750
|
-
handleChange: { type: Function },
|
|
751
|
-
changeValue: { type: Function },
|
|
752
|
-
disabled: { type: Boolean },
|
|
753
|
-
error: { type: Boolean },
|
|
754
|
-
subText: {},
|
|
755
|
-
onRegisterValidation: { type: Function },
|
|
756
|
-
labelForId: {}
|
|
757
|
-
},
|
|
758
|
-
setup(e) {
|
|
759
|
-
const o = e, t = P(""), n = d(
|
|
760
|
-
() => o.control.uischema.options?.variant ?? "password"
|
|
761
|
-
), r = d(
|
|
762
|
-
() => o.control.uischema.options?.usePasswordPlaceholder ?? !1
|
|
763
|
-
), a = d(
|
|
764
|
-
() => r.value ? So : o.control.uischema.options?.passwordPlaceholder ?? "Password"
|
|
765
|
-
), u = d(
|
|
766
|
-
() => t.value !== "" && !o.disabled
|
|
767
|
-
), m = (h) => {
|
|
768
|
-
t.value = h, o.handleChange(o.control.path, t.value);
|
|
769
|
-
};
|
|
770
|
-
return te(() => {
|
|
771
|
-
t.value = o.control.data ?? "";
|
|
772
|
-
}), (h, S) => (g(), $(l(He), {
|
|
773
|
-
id: e.labelForId,
|
|
774
|
-
"model-value": t.value,
|
|
775
|
-
"show-visibility-toggle": u.value,
|
|
776
|
-
placeholder: a.value,
|
|
777
|
-
variant: n.value,
|
|
778
|
-
disabled: e.disabled,
|
|
779
|
-
error: e.error,
|
|
780
|
-
"sub-text": e.subText,
|
|
781
|
-
"onUpdate:modelValue": m
|
|
782
|
-
}, null, 8, ["id", "model-value", "show-visibility-toggle", "placeholder", "variant", "disabled", "error", "sub-text"]));
|
|
783
|
-
}
|
|
784
|
-
}), Lo = v()({
|
|
785
|
-
name: "PasswordRenderer",
|
|
786
|
-
control: Do,
|
|
787
|
-
tester: s(i.default, f(p.password))
|
|
788
|
-
}), xo = c(
|
|
789
|
-
() => import("./ProgressButtonControl-t8QMA22a.js")
|
|
790
|
-
), ko = {
|
|
791
|
-
name: "ProgressButtonControl",
|
|
792
|
-
control: xo,
|
|
793
|
-
tester: s(
|
|
794
|
-
i.default,
|
|
795
|
-
f(p.progressButton)
|
|
796
|
-
)
|
|
797
|
-
}, Bo = /* @__PURE__ */ x({
|
|
798
|
-
__name: "QuantityControl",
|
|
799
|
-
props: {
|
|
800
|
-
control: {},
|
|
801
|
-
handleChange: { type: Function },
|
|
802
|
-
changeValue: { type: Function },
|
|
803
|
-
disabled: { type: Boolean },
|
|
804
|
-
error: { type: Boolean },
|
|
805
|
-
subText: {},
|
|
806
|
-
onRegisterValidation: { type: Function },
|
|
807
|
-
labelForId: {}
|
|
808
|
-
},
|
|
809
|
-
setup(e) {
|
|
810
|
-
const o = e, t = d(() => o.control.schema.minimum ?? 0), n = d(() => o.control.schema.maximum ?? 1 / 0), r = d(() => o.control.uischema.options?.step ?? 1), a = d(() => o.control.uischema.options?.unit || ""), u = (m) => {
|
|
811
|
-
o.handleChange(o.control.path, m);
|
|
812
|
-
};
|
|
813
|
-
return (m, h) => (g(), $(l(ze), {
|
|
814
|
-
id: e.labelForId,
|
|
815
|
-
ariaLabel: e.control.label,
|
|
816
|
-
"model-value": e.control.data,
|
|
817
|
-
min: t.value,
|
|
818
|
-
max: n.value,
|
|
819
|
-
step: r.value,
|
|
820
|
-
unit: a.value,
|
|
821
|
-
disabled: e.disabled,
|
|
822
|
-
error: e.error,
|
|
823
|
-
"sub-text": e.subText,
|
|
824
|
-
"onUpdate:modelValue": u
|
|
825
|
-
}, null, 8, ["id", "ariaLabel", "model-value", "min", "max", "step", "unit", "disabled", "error", "sub-text"]));
|
|
826
|
-
}
|
|
827
|
-
}), Fo = v()({
|
|
828
|
-
name: "QuantityControl",
|
|
829
|
-
control: Bo,
|
|
830
|
-
tester: s(i.default, f(p.quantity))
|
|
831
|
-
}), Vo = c(
|
|
832
|
-
() => import("./RadioControl-DOn1Kre5.js")
|
|
833
|
-
), Po = v()({
|
|
834
|
-
name: "RadioControl",
|
|
835
|
-
control: Vo,
|
|
836
|
-
tester: s(i.default, f(p.radio))
|
|
837
|
-
}), $o = c(
|
|
838
|
-
() => import("./RadioButtonsWithDescriptionControl-CeZ4qYCr.js")
|
|
839
|
-
), Ao = {
|
|
840
|
-
name: "RadioButtonsWithDescriptionControl",
|
|
841
|
-
control: $o,
|
|
842
|
-
tester: s(
|
|
843
|
-
i.default,
|
|
844
|
-
C(re, f(p.radioButtonsWithDescription))
|
|
845
|
-
)
|
|
846
|
-
}, Mo = c(
|
|
847
|
-
() => import("./RichTextControl-BrVmkMgh.js")
|
|
848
|
-
), Io = v({ fill: !0 })({
|
|
849
|
-
name: "RichTextControl",
|
|
850
|
-
control: Mo,
|
|
851
|
-
tester: s(
|
|
852
|
-
i.default,
|
|
853
|
-
C(ne, f(p.richTextInput))
|
|
854
|
-
)
|
|
855
|
-
}), Oo = c(
|
|
856
|
-
() => import("./SectionLayout-BYOxuxY2.js")
|
|
857
|
-
), Eo = U("Section"), Uo = {
|
|
858
|
-
name: "SectionLayout",
|
|
859
|
-
layout: Oo,
|
|
860
|
-
tester: s(i.default, Eo)
|
|
861
|
-
}, _o = c(
|
|
862
|
-
() => import("./SettingsSubPanelLayout-BQJCnTqx.js")
|
|
863
|
-
), Ho = U("SettingsSubPanelLayout"), zo = {
|
|
864
|
-
name: "SettingsSubPanelLayout",
|
|
865
|
-
layout: _o,
|
|
866
|
-
tester: s(i.default, Ho)
|
|
867
|
-
}, No = /* @__PURE__ */ x({
|
|
868
|
-
__name: "SimpleArrayLayoutItemControls",
|
|
869
|
-
props: {
|
|
870
|
-
isFirst: { type: Boolean, default: !1 },
|
|
871
|
-
isLast: { type: Boolean, default: !1 },
|
|
872
|
-
showSortControls: { type: Boolean, default: !1 },
|
|
873
|
-
showDuplicateButton: { type: Boolean, default: !1 },
|
|
874
|
-
isHidingControlHeader: { type: Boolean, default: !1 }
|
|
875
|
-
},
|
|
876
|
-
emits: ["moveUp", "moveDown", "duplicate", "delete"],
|
|
877
|
-
setup(e) {
|
|
878
|
-
return (o, t) => (g(), B("div", {
|
|
879
|
-
class: "item-controls",
|
|
880
|
-
style: Ae({ marginTop: e.isHidingControlHeader ? "0px" : "20px" })
|
|
881
|
-
}, [
|
|
882
|
-
e.showSortControls ? (g(), $(l(H), {
|
|
883
|
-
key: 0,
|
|
884
|
-
disabled: e.isFirst,
|
|
885
|
-
size: "small",
|
|
886
|
-
variant: "transparent",
|
|
887
|
-
"leading-icon": "arrow-up",
|
|
888
|
-
tooltip: "Move up",
|
|
889
|
-
ariaLabel: "Move up",
|
|
890
|
-
onClick: t[0] || (t[0] = (n) => o.$emit("moveUp"))
|
|
891
|
-
}, null, 8, ["disabled"])) : I("", !0),
|
|
892
|
-
e.showSortControls ? (g(), $(l(H), {
|
|
893
|
-
key: 1,
|
|
894
|
-
disabled: e.isLast,
|
|
895
|
-
size: "small",
|
|
896
|
-
variant: "transparent",
|
|
897
|
-
"leading-icon": "arrow-down",
|
|
898
|
-
tooltip: "Move down",
|
|
899
|
-
ariaLabel: "Move down",
|
|
900
|
-
onClick: t[1] || (t[1] = (n) => o.$emit("moveDown"))
|
|
901
|
-
}, null, 8, ["disabled"])) : I("", !0),
|
|
902
|
-
e.showDuplicateButton ? (g(), $(l(H), {
|
|
903
|
-
key: 2,
|
|
904
|
-
size: "small",
|
|
905
|
-
variant: "transparent",
|
|
906
|
-
"leading-icon": "copy",
|
|
907
|
-
tooltip: "Duplicate",
|
|
908
|
-
ariaLabel: "Duplicate",
|
|
909
|
-
onClick: t[2] || (t[2] = (n) => o.$emit("duplicate"))
|
|
910
|
-
})) : I("", !0),
|
|
911
|
-
M(l(H), {
|
|
912
|
-
size: "small",
|
|
913
|
-
class: "trashButton",
|
|
914
|
-
"leading-icon": "trash",
|
|
915
|
-
variant: "transparent",
|
|
916
|
-
tooltip: "Remove",
|
|
917
|
-
ariaLabel: "Remove",
|
|
918
|
-
onClick: t[3] || (t[3] = (n) => o.$emit("delete"))
|
|
919
|
-
})
|
|
920
|
-
], 4));
|
|
921
|
-
}
|
|
922
|
-
}), de = /* @__PURE__ */ j(No, [["__scopeId", "data-v-9f37d47c"]]), Wo = {
|
|
923
|
-
key: 0,
|
|
924
|
-
class: "simple-array"
|
|
925
|
-
}, qo = {
|
|
926
|
-
key: 0,
|
|
927
|
-
class: "item-header"
|
|
928
|
-
}, Ko = /* @__PURE__ */ x({
|
|
929
|
-
__name: "SimpleArrayLayout",
|
|
930
|
-
props: oe(),
|
|
931
|
-
setup(e) {
|
|
932
|
-
const o = e, { control: t, addItem: n, moveUp: r, moveDown: a, removeItems: u } = Ke(o), { handleChange: m } = pe(o), h = d(() => t.value.uischema.options ?? {}), S = d(
|
|
933
|
-
() => h.value.showSortButtons ?? !1
|
|
934
|
-
), w = d(
|
|
935
|
-
() => h.value.showDuplicateButton ?? !1
|
|
936
|
-
), D = d(
|
|
937
|
-
() => Object.entries(
|
|
938
|
-
h.value.detail ?? {}
|
|
939
|
-
)
|
|
940
|
-
), T = d(
|
|
941
|
-
() => "arrayElementTitle" in h.value
|
|
942
|
-
), A = d(
|
|
943
|
-
() => h.value.hideControlHeader ?? !1
|
|
944
|
-
), k = (y) => {
|
|
945
|
-
const W = ["integer", "number", "boolean", "string"], q = Array.isArray(y.type) ? y.type[0] : y.type;
|
|
946
|
-
if (!y.properties && W.includes(q ?? ""))
|
|
947
|
-
return y.default;
|
|
948
|
-
const b = y.properties && !Array.isArray(y.properties) ? y.properties : void 0;
|
|
949
|
-
return b ? Object.fromEntries(
|
|
950
|
-
Object.entries(b).map(([E, G]) => [E, G.default])
|
|
951
|
-
) : y.default ?? {};
|
|
952
|
-
}, _ = () => {
|
|
953
|
-
n(t.value.path, k(t.value.schema))();
|
|
954
|
-
}, R = (y) => `${h.value.arrayElementTitle ?? ""} ${y + 1}`, L = (y) => {
|
|
955
|
-
if (y in t.value.data) {
|
|
956
|
-
const W = Me(t.value.data[y]), q = structuredClone(W), b = [...t.value.data];
|
|
957
|
-
b.splice(y + 1, 0, q), m(t.value.path, b);
|
|
958
|
-
}
|
|
959
|
-
};
|
|
960
|
-
return (y, W) => l(t).visible ? (g(), B("div", Wo, [
|
|
961
|
-
(g(!0), B(X, null, ce(l(t).data, (q, b) => (g(), B("div", {
|
|
962
|
-
key: `${l(t).path}-${b}`
|
|
963
|
-
}, [
|
|
964
|
-
T.value ? (g(), B("div", qo, [
|
|
965
|
-
M(l(me), {
|
|
966
|
-
id: `${l(t).path}-${b}-title`,
|
|
967
|
-
label: R(b)
|
|
968
|
-
}, null, 8, ["id", "label"]),
|
|
969
|
-
M(de, {
|
|
970
|
-
"is-first": b === 0,
|
|
971
|
-
"is-last": b === l(t).data.length - 1,
|
|
972
|
-
"show-sort-controls": S.value,
|
|
973
|
-
"show-duplicate-button": w.value,
|
|
974
|
-
"is-hiding-control-header": A.value,
|
|
975
|
-
onMoveUp: (E) => l(r)(l(t).path, b)(),
|
|
976
|
-
onMoveDown: (E) => l(a)(l(t).path, b)(),
|
|
977
|
-
onDuplicate: (E) => L(b),
|
|
978
|
-
onDelete: (E) => l(u)(l(Z)(l(t).path, ""), [b])()
|
|
979
|
-
}, null, 8, ["is-first", "is-last", "show-sort-controls", "show-duplicate-button", "is-hiding-control-header", "onMoveUp", "onMoveDown", "onDuplicate", "onDelete"])
|
|
980
|
-
])) : I("", !0),
|
|
981
|
-
(g(!0), B(X, null, ce(D.value, ([E, G], xe) => (g(), B("div", {
|
|
982
|
-
key: `${l(t).path}-${b}-${E}`,
|
|
983
|
-
class: "element"
|
|
984
|
-
}, [
|
|
985
|
-
M(l(je), {
|
|
986
|
-
class: "form-component",
|
|
987
|
-
schema: l(t).schema,
|
|
988
|
-
uischema: G,
|
|
989
|
-
path: l(Z)(l(t).path, `${b}`),
|
|
990
|
-
enabled: l(t).enabled,
|
|
991
|
-
renderers: l(t).renderers,
|
|
992
|
-
cells: l(t).cells
|
|
993
|
-
}, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]),
|
|
994
|
-
xe === 0 && !T.value ? (g(), $(de, {
|
|
995
|
-
key: 0,
|
|
996
|
-
"is-first": b === 0,
|
|
997
|
-
"is-last": b === l(t).data.length - 1,
|
|
998
|
-
"show-sort-controls": S.value,
|
|
999
|
-
"show-duplicate-button": w.value,
|
|
1000
|
-
"is-hiding-control-header": A.value,
|
|
1001
|
-
onMoveUp: (J) => l(r)(l(t).path, b)(),
|
|
1002
|
-
onMoveDown: (J) => l(a)(l(t).path, b)(),
|
|
1003
|
-
onDuplicate: (J) => L(b),
|
|
1004
|
-
onDelete: (J) => l(u)(l(Z)(l(t).path, ""), [b])()
|
|
1005
|
-
}, null, 8, ["is-first", "is-last", "show-sort-controls", "show-duplicate-button", "is-hiding-control-header", "onMoveUp", "onMoveDown", "onDuplicate", "onDelete"])) : I("", !0)
|
|
1006
|
-
]))), 128))
|
|
1007
|
-
]))), 128)),
|
|
1008
|
-
M(l(H), {
|
|
1009
|
-
label: h.value.addButtonText,
|
|
1010
|
-
"leading-icon": "plus",
|
|
1011
|
-
size: "small",
|
|
1012
|
-
variant: "outlined",
|
|
1013
|
-
onClick: _
|
|
1014
|
-
}, null, 8, ["label"])
|
|
1015
|
-
])) : I("", !0);
|
|
1016
|
-
}
|
|
1017
|
-
}), jo = /* @__PURE__ */ j(Ko, [["__scopeId", "data-v-7737a235"]]), Go = U("SimpleArrayLayout"), Jo = {
|
|
1018
|
-
name: "SimpleArrayLayout",
|
|
1019
|
-
tester: s(i.default, Go),
|
|
1020
|
-
renderer: jo
|
|
1021
|
-
}, Zo = c(
|
|
1022
|
-
() => import("./SimpleButtonControl-GTX19t2_.js")
|
|
1023
|
-
), Qo = {
|
|
1024
|
-
name: "SimpleButtonControl",
|
|
1025
|
-
control: Zo,
|
|
1026
|
-
tester: s(i.default, f(p.simpleButton))
|
|
1027
|
-
}, Xo = c(
|
|
1028
|
-
() => import("./SingleSelectControl-mY_yYOyk.js")
|
|
1029
|
-
), Yo = v()({
|
|
1030
|
-
name: "SingleSelectControl",
|
|
1031
|
-
control: Xo,
|
|
1032
|
-
tester: s(i.default, f(p.singleSelect))
|
|
1033
|
-
}), en = c(
|
|
1034
|
-
() => import("./SortListControl-D-Um5gEW.js")
|
|
1035
|
-
), tn = v()({
|
|
1036
|
-
name: "SortListControl",
|
|
1037
|
-
control: en,
|
|
1038
|
-
tester: s(
|
|
1039
|
-
i.default,
|
|
1040
|
-
C(F, f(p.sortList))
|
|
1041
|
-
)
|
|
1042
|
-
}), on = c(
|
|
1043
|
-
() => import("./TeamAndSpacesControl-fGumynvr.js")
|
|
1044
|
-
), nn = ({ options: e }) => e?.format === p.teamAndSpacesDropdown && e?.hasOwnProperty("possibleSpaces") && e?.hasOwnProperty("possibleTeams"), rn = v()({
|
|
1045
|
-
name: "TeamAndSpacesDropdownControl",
|
|
1046
|
-
control: on,
|
|
1047
|
-
tester: s(
|
|
1048
|
-
i.default,
|
|
1049
|
-
C(F, nn)
|
|
1050
|
-
)
|
|
1051
|
-
}), an = c(
|
|
1052
|
-
() => import("./TeamResourceControl--1Sj3-Ks.js")
|
|
1053
|
-
), ln = v()({
|
|
1054
|
-
name: "TeamResourceControl",
|
|
1055
|
-
control: an,
|
|
1056
|
-
tester: s(
|
|
1057
|
-
i.default,
|
|
1058
|
-
C(z, f(p.teamResources))
|
|
1059
|
-
)
|
|
1060
|
-
}), sn = c(
|
|
1061
|
-
() => import("./TextAreaControl-Cwq-lNBk.js")
|
|
1062
|
-
), cn = v()({
|
|
1063
|
-
name: "TextAreaControl",
|
|
1064
|
-
control: sn,
|
|
1065
|
-
tester: s(
|
|
1066
|
-
i.default,
|
|
1067
|
-
C(ne, f(p.textArea))
|
|
1068
|
-
)
|
|
1069
|
-
}), un = /* @__PURE__ */ x({
|
|
1070
|
-
__name: "TextMessageControl",
|
|
1071
|
-
props: {
|
|
1072
|
-
control: {},
|
|
1073
|
-
handleChange: { type: Function },
|
|
1074
|
-
changeValue: { type: Function },
|
|
1075
|
-
disabled: { type: Boolean },
|
|
1076
|
-
labelForId: {},
|
|
1077
|
-
error: { type: Boolean },
|
|
1078
|
-
subText: {},
|
|
1079
|
-
onRegisterValidation: { type: Function }
|
|
1080
|
-
},
|
|
1081
|
-
setup(e) {
|
|
1082
|
-
const o = e, t = d(
|
|
1083
|
-
() => o.control.uischema
|
|
1084
|
-
), n = be(t, "message");
|
|
1085
|
-
return (r, a) => l(n) ? (g(), $(l(Ne), {
|
|
1086
|
-
key: 0,
|
|
1087
|
-
variant: l(n).type.toLowerCase(),
|
|
1088
|
-
headline: l(n).title,
|
|
1089
|
-
description: l(n).description
|
|
1090
|
-
}, null, 8, ["variant", "headline", "description"])) : I("", !0);
|
|
1091
|
-
}
|
|
1092
|
-
}), dn = {
|
|
1093
|
-
name: "TextMessageControl",
|
|
1094
|
-
control: un,
|
|
1095
|
-
tester: s(i.default, f(p.textMessage))
|
|
1096
|
-
}, mn = c(
|
|
1097
|
-
() => import("./TimeframesControl-CX5eKOGZ.js")
|
|
1098
|
-
), pn = v()({
|
|
1099
|
-
name: "TimeframesRenderer",
|
|
1100
|
-
control: mn,
|
|
1101
|
-
tester: s(
|
|
1102
|
-
i.default,
|
|
1103
|
-
C(F, f(p.timeframes))
|
|
1104
|
-
)
|
|
1105
|
-
}), vn = c(
|
|
1106
|
-
() => import("./MultimodeTwinlistControl-Br0DrpsZ.js")
|
|
1107
|
-
), fn = c(
|
|
1108
|
-
() => import("./SimpleTwinlistControl-DOH1_L25.js")
|
|
1109
|
-
), hn = c(
|
|
1110
|
-
() => import("./ManualTwinlistControl-BzJehuHs.js")
|
|
1111
|
-
), De = ve(
|
|
1112
|
-
(e) => !!(e.hasOwnProperty("properties") && e.properties?.hasOwnProperty("selected"))
|
|
1113
|
-
), Le = (e) => F(e) && e.options?.format === p.twinList, bn = C(Le, De), yn = v()({
|
|
1114
|
-
name: "TwinlistControl",
|
|
1115
|
-
control: vn,
|
|
1116
|
-
tester: s(i.default, bn)
|
|
1117
|
-
}), Cn = C(Le, Xe(De)), gn = v()({
|
|
1118
|
-
name: "SimpleTwinlistControl",
|
|
1119
|
-
control: fn,
|
|
1120
|
-
tester: s(i.default, Cn)
|
|
1121
|
-
}), wn = f("manualTwinlist"), Tn = v()({
|
|
1122
|
-
name: "ManualTwinlistControl",
|
|
1123
|
-
control: hn,
|
|
1124
|
-
tester: s(i.default, wn)
|
|
1125
|
-
}), Rn = c(
|
|
1126
|
-
() => import("./TypedStringFilter-BnWygKQJ.js")
|
|
1127
|
-
), Sn = v()({
|
|
1128
|
-
name: "TypedStringFilter",
|
|
1129
|
-
control: Rn,
|
|
1130
|
-
tester: s(
|
|
1131
|
-
i.default,
|
|
1132
|
-
C(F, f(p.typedStringFilter))
|
|
1133
|
-
)
|
|
1134
|
-
}), Dn = /* @__PURE__ */ x({
|
|
1135
|
-
__name: "UsernameControl",
|
|
1136
|
-
props: {
|
|
1137
|
-
control: {},
|
|
1138
|
-
handleChange: { type: Function },
|
|
1139
|
-
changeValue: { type: Function },
|
|
1140
|
-
disabled: { type: Boolean },
|
|
1141
|
-
error: { type: Boolean },
|
|
1142
|
-
subText: {},
|
|
1143
|
-
onRegisterValidation: { type: Function },
|
|
1144
|
-
labelForId: {}
|
|
1145
|
-
},
|
|
1146
|
-
setup(e) {
|
|
1147
|
-
const o = e, t = P(o.control.data), n = (r) => {
|
|
1148
|
-
o.handleChange(o.control.path, r);
|
|
1149
|
-
};
|
|
1150
|
-
return (r, a) => (g(), $(l(We), {
|
|
1151
|
-
id: e.labelForId,
|
|
1152
|
-
"model-value": t.value,
|
|
1153
|
-
disabled: e.disabled,
|
|
1154
|
-
error: e.error,
|
|
1155
|
-
"sub-text": e.subText,
|
|
1156
|
-
"onUpdate:modelValue": n
|
|
1157
|
-
}, null, 8, ["id", "model-value", "disabled", "error", "sub-text"]));
|
|
1158
|
-
}
|
|
1159
|
-
}), Ln = v()({
|
|
1160
|
-
name: "UsernameRenderer",
|
|
1161
|
-
control: Dn,
|
|
1162
|
-
tester: s(i.default, f(p.username))
|
|
1163
|
-
}), xn = c(
|
|
1164
|
-
() => import("./ValueSwitchControl-BByKe7NK.js")
|
|
1165
|
-
), kn = v()({
|
|
1166
|
-
name: "ValueSwitchControl",
|
|
1167
|
-
control: xn,
|
|
1168
|
-
tester: s(
|
|
1169
|
-
i.default,
|
|
1170
|
-
C(re, f(p.valueSwitch))
|
|
1171
|
-
)
|
|
1172
|
-
}), Bn = c({
|
|
1173
|
-
loader: () => import("./ZonedDateTimeControl-B45OygrC.js")
|
|
1174
|
-
}), Fn = (e) => e.options?.format === p.zonedDateTime, Vn = v()({
|
|
1175
|
-
name: "ZonedDateTimeControl",
|
|
1176
|
-
control: Bn,
|
|
1177
|
-
tester: s(i.default, Fn)
|
|
1178
|
-
}), Pn = {
|
|
1179
|
-
checkboxesRenderer: Bt,
|
|
1180
|
-
colorPreviewRenderer: Vt,
|
|
1181
|
-
colorRenderer: $t,
|
|
1182
|
-
typedStringFilterRenderer: Sn,
|
|
1183
|
-
comboBoxRenderer: Et,
|
|
1184
|
-
dateTimeRenderer: we,
|
|
1185
|
-
dateTimeFormatPickerRenderer: _t,
|
|
1186
|
-
integerRenderer: Te,
|
|
1187
|
-
intervalRenderer: fo,
|
|
1188
|
-
localDateRenderer: Co,
|
|
1189
|
-
localTimeRenderer: wo,
|
|
1190
|
-
nameFilterRenderer: Ro,
|
|
1191
|
-
numberRenderer: Re,
|
|
1192
|
-
radioRenderer: Po,
|
|
1193
|
-
richTextRenderer: Io,
|
|
1194
|
-
simpleTwinlistRenderer: gn,
|
|
1195
|
-
sortListRenderer: tn,
|
|
1196
|
-
textAreaRenderer: cn,
|
|
1197
|
-
twinlistRenderer: yn,
|
|
1198
|
-
manualTwinlistRenderer: Tn,
|
|
1199
|
-
valueSwitchRenderer: kn,
|
|
1200
|
-
zonedDateTimeRenderer: Vn,
|
|
1201
|
-
singleSelectRenderer: Yo,
|
|
1202
|
-
gridSelectionRenderer: co,
|
|
1203
|
-
timeframesRenderer: pn,
|
|
1204
|
-
quantityRenderer: Fo,
|
|
1205
|
-
usernameRenderer: Ln,
|
|
1206
|
-
passwordRenderer: Lo,
|
|
1207
|
-
// without label:
|
|
1208
|
-
simpleButtonRenderer: Qo,
|
|
1209
|
-
progressButtonRenderer: ko,
|
|
1210
|
-
textMessageRenderer: dn,
|
|
1211
|
-
linkRenderer: bo,
|
|
1212
|
-
/**
|
|
1213
|
-
* Containing an optional checkbox. Keep Label in control until we have a framework for that.
|
|
1214
|
-
*/
|
|
1215
|
-
dropdownRenderer: Nt,
|
|
1216
|
-
// custom hub renderers
|
|
1217
|
-
radioWithDescriptionRenderer: Ao,
|
|
1218
|
-
fileUploadRenderer: so,
|
|
1219
|
-
teamResourceRenderer: ln,
|
|
1220
|
-
executorCoresResourceRenderer: qt,
|
|
1221
|
-
executorMemoryResourceRenderer: jt,
|
|
1222
|
-
teamAndSpacesDropdownRenderer: rn,
|
|
1223
|
-
...ro
|
|
1224
|
-
}, $n = ut(Rt)(Pn), An = {
|
|
1225
|
-
horizontalLayoutRenderer: po,
|
|
1226
|
-
verticalLayoutRenderer: eo,
|
|
1227
|
-
sectionLayoutRenderer: Uo,
|
|
1228
|
-
settingsSubPanelLayoutRenderer: zo,
|
|
1229
|
-
...ao
|
|
1230
|
-
}, Mn = dt(xt)(An), In = ({
|
|
1231
|
-
renderers: e,
|
|
1232
|
-
controls: o,
|
|
1233
|
-
layouts: t,
|
|
1234
|
-
config: n = {}
|
|
1235
|
-
}) => Object.freeze([
|
|
1236
|
-
...e,
|
|
1237
|
-
...o.map(({ name: r, tester: a, control: u, __asyncSetup: m }) => ({
|
|
1238
|
-
name: r,
|
|
1239
|
-
tester: a,
|
|
1240
|
-
renderer: gt({
|
|
1241
|
-
component: u,
|
|
1242
|
-
asyncSetup: m,
|
|
1243
|
-
config: n
|
|
1244
|
-
})
|
|
1245
|
-
})),
|
|
1246
|
-
...t.map(({ name: r, tester: a, layout: u, __asyncSetup: m }) => ({
|
|
1247
|
-
name: r,
|
|
1248
|
-
tester: a,
|
|
1249
|
-
renderer: St(u, m)
|
|
1250
|
-
}))
|
|
1251
|
-
]), Nn = In({
|
|
1252
|
-
renderers: [Jo],
|
|
1253
|
-
controls: Object.values($n),
|
|
1254
|
-
layouts: Object.values(Mn)
|
|
1255
|
-
});
|
|
1256
|
-
export {
|
|
1257
|
-
it as L,
|
|
1258
|
-
jo as S,
|
|
1259
|
-
j as _,
|
|
1260
|
-
gt as a,
|
|
1261
|
-
Pn as b,
|
|
1262
|
-
ct as c,
|
|
1263
|
-
Nn as d,
|
|
1264
|
-
ye as e,
|
|
1265
|
-
Lt as f,
|
|
1266
|
-
N as g,
|
|
1267
|
-
mt as h,
|
|
1268
|
-
p as i,
|
|
1269
|
-
St as j,
|
|
1270
|
-
An as k,
|
|
1271
|
-
Dt as l,
|
|
1272
|
-
ut as m,
|
|
1273
|
-
dt as n,
|
|
1274
|
-
i as o,
|
|
1275
|
-
Hn as p,
|
|
1276
|
-
xt as q,
|
|
1277
|
-
v as r,
|
|
1278
|
-
he as s,
|
|
1279
|
-
In as t,
|
|
1280
|
-
be as u,
|
|
1281
|
-
ae as v,
|
|
1282
|
-
Rt as w,
|
|
1283
|
-
zn as x
|
|
1284
|
-
};
|