@knime/jsonforms 1.5.13 → 1.6.0
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 +27 -0
- package/dist/{AnyOfTwinlist-DOVbLwW2.js → AnyOfTwinlist-DuPzMJFu.js} +1 -1
- package/dist/{BaseButton-vxj49Awp.js → BaseButton-Bqle7Pky.js} +1 -1
- package/dist/{Button-C7z37lgP.js → Button-Bb4_kByn.js} +2 -2
- package/dist/{Checkbox-C8b6Wu69.js → Checkbox-B0dHc2cw.js} +1 -1
- package/dist/{CheckboxControl-BNZnvdxv.js → CheckboxControl-Ds_KzfcZ.js} +2 -2
- package/dist/{Checkboxes-yETxG6fW.js → Checkboxes-BFH5JEO4.js} +2 -2
- package/dist/{CheckboxesControl-BaodIop-.js → CheckboxesControl-C9zw3j-_.js} +2 -2
- package/dist/{ColumnFilter-BHUzi6S7.js → ColumnFilter-CzGvzKW5.js} +1 -1
- package/dist/{ColumnSelect-CmPSOyWL.js → ColumnSelect-BH-oM1GP.js} +2 -2
- package/dist/{ComboBoxControl-D4zglKUU.js → ComboBoxControl-BTaFTuQD.js} +3 -3
- package/dist/{DateControl-BTJXMUeX.js → DateControl-xwRtS9Ug.js} +1 -1
- package/dist/{DateTimeControl-D5yxjrAY.js → DateTimeControl-D5-4KdaD.js} +2 -2
- package/dist/{DateTimeFormatInput-Cg5voSNb.js → DateTimeFormatInput-DB0xVkX3.js} +3 -3
- package/dist/{DateTimeFormatPickerControl-ZQXvkY5g.js → DateTimeFormatPickerControl-Btynl1ef.js} +2 -2
- package/dist/{DateTimeFormatPickerWithTypeControl-Cbq0jgL5.js → DateTimeFormatPickerWithTypeControl-ByIRYguh.js} +3 -3
- package/dist/{DateTimeInput-D5vfk3Jc.js → DateTimeInput-DpYeNAd4.js} +3 -3
- package/dist/{Dropdown-DFmIjwud.js → Dropdown-BYAyjf4X.js} +2 -2
- package/dist/{DropdownControl-T1mQNinC.js → DropdownControl-CA1wGdYy.js} +1 -1
- package/dist/{DropdownControl.vue_vue_type_script_setup_true_lang-C2ZZu7dW.js → DropdownControl.vue_vue_type_script_setup_true_lang-BVYvnwb4.js} +4 -4
- package/dist/{FunctionButton-CBNiE07z.js → FunctionButton-CtbjmsFY.js} +2 -2
- package/dist/{HorizontalLayout-cPD7_zhF.js → HorizontalLayout-uvMqpi6w.js} +1 -1
- package/dist/{InputField-CcGDib2j.js → InputField-C6t2uYCo.js} +1 -1
- package/dist/{IntegerControl-DMnsL6Xl.js → IntegerControl-rTAVtp2j.js} +1 -1
- package/dist/{IntervalControl-DiXZh-L_.js → IntervalControl-DQwMsSeK.js} +183 -186
- package/dist/{MultiselectListBox--TumfhYr.js → MultiselectListBox-Dh6-a8Bu.js} +1 -1
- package/dist/{NameFilter-Dr2uQDkd.js → NameFilter-DJRWez3J.js} +1 -1
- package/dist/{NumberControl-CaQpxH9K.js → NumberControl-DbZrfdhW.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-DVbx9Efz.js → NumberControlBase.vue_vue_type_script_setup_true_lang-BM9SbzdL.js} +2 -2
- package/dist/{NumberInput-CuoIed30.js → NumberInput-1AzGYr5u.js} +1 -1
- package/dist/{OneOfDropdown-DlmrW03w.js → OneOfDropdown-C6nYroSs.js} +1 -1
- package/dist/{RadioControl-CLm_v5RI.js → RadioControl-D_D9B4BI.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-ppuX5d_0.js → RadioControlBase.vue_vue_type_script_setup_true_lang-B1TYbZNG.js} +2 -2
- package/dist/{RichTextControl-4DZGYseH.js → RichTextControl-DkcI5Gex.js} +6 -6
- package/dist/SectionHeading-Kr6DVJJ9.js +19 -0
- package/dist/SectionLayout-D6-WXqLn.js +46 -0
- package/dist/SettingsSubPanel-HFzD5Do7.js +131 -0
- package/dist/{VerticalLayoutBase.vue_vue_type_style_index_0_scoped_99aa13c1_lang-CyYj6nsl.js → SettingsSubPanel.vue_vue_type_style_index_0_scoped_c744f57c_lang-DVYChx12.js} +1493 -1486
- package/dist/SettingsSubPanelLayout-fKsDyDkP.js +58 -0
- package/dist/{SimpleButtonControl-BoATE5ls.js → SimpleButtonControl-36-1h81W.js} +2 -2
- package/dist/{SimpleTwinlistControl-awGHOajc.js → SimpleTwinlistControl-kTW_frQh.js} +2 -2
- package/dist/{SortListControl-DB6MIVgz.js → SortListControl-Dn9e7jfJ.js} +4 -4
- package/dist/{TextAreaControl-LCWNDXOh.js → TextAreaControl-DcY94Clz.js} +1 -1
- package/dist/{TextControl-DL5bxnH4.js → TextControl-B8fDld05.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-CmmuoX43.js → TextControl.vue_vue_type_script_setup_true_lang-BLHNYAUm.js} +3 -3
- package/dist/{TimeControl-D_ostSAE.js → TimeControl-F4qKbGY2.js} +2 -2
- package/dist/{TwinlistControl-vIfCeFyn.js → TwinlistControl-DPJBwXvs.js} +4 -4
- package/dist/{TwinlistLoadingInfo-B5I-g9Jy.js → TwinlistLoadingInfo-CwcBV1cW.js} +6 -6
- package/dist/{ValueSwitch-B8ocGBBM.js → ValueSwitch-Cj7JpVm4.js} +1 -1
- package/dist/{ValueSwitchControl-DTCWN46W.js → ValueSwitchControl-DC9Audd0.js} +1 -1
- package/dist/{VerticalLayout-Cw-Y0pnN.js → VerticalLayout-BTMwIdqH.js} +2 -2
- package/dist/{VerticalLayoutBase-UVSLIX85.js → VerticalLayoutBase-MyHG9994.js} +1 -1
- package/dist/ZonedDateTimeControl-af0yjRxk.js +74 -0
- package/dist/{arrow-next-CvdR0-WC.js → arrow-next-Qa8PNb04.js} +1 -1
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +71 -77
- package/dist/{localTimeUtils-0iyeWfJL.js → localTimeUtils-DAmgbeN-.js} +5 -5
- package/dist/{magic-string.es-CArTHqsx.js → magic-string.es-BblF2zLm.js} +1 -1
- package/dist/src/layoutComponents/SettingsSubPanelLayout.vue.d.ts +12 -0
- package/dist/src/layoutComponents/index.d.ts +2 -1
- package/dist/src/layoutComponents/section/SectionHeading.vue.d.ts +22 -0
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +42 -0
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanelBackArrow.vue.d.ts +6 -0
- package/dist/src/renderers/defaultRenderers.d.ts +47 -0
- package/dist/src/renderers/sectionSubPanelLayoutRenderer.d.ts +47 -0
- package/dist/{svgWithTitle-BZavSoga.js → svgWithTitle-BC4xkxyd.js} +1 -1
- package/dist/testing.js +2 -2
- package/package.json +4 -4
- package/dist/SectionLayout-MIQAFvBX.js +0 -43
- package/dist/ZonedDateTimeControl-qBq0A9E_.js +0 -70
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { openBlock as h, createElementBlock as u, mergeProps as x, withModifiers as a, toDisplayString as y, toRef as p, watch as I, resolveComponent as v, normalizeClass as C, normalizeStyle as w, createElementVNode as f, withKeys as d, normalizeProps as V, guardReactiveProps as k, Fragment as H, renderList as B, createBlock as g, resolveDynamicComponent as D, createCommentVNode as b, createVNode as K } from "vue";
|
|
2
2
|
import { b as N } from "./index-Bf0xDq3g.js";
|
|
3
|
-
import { _ as S } from "./
|
|
3
|
+
import { _ as S } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_c744f57c_lang-DVYChx12.js";
|
|
4
4
|
const A = (e, t) => {
|
|
5
5
|
let i, n = 0;
|
|
6
6
|
return (...r) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as n, createBlock as t, mergeProps as r } from "vue";
|
|
2
|
-
import { _ as a } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as a } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-BM9SbzdL.js";
|
|
3
3
|
const s = /* @__PURE__ */ o({
|
|
4
4
|
__name: "NumberControl",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as b, computed as y, openBlock as h, createBlock as V, unref as i } from "vue";
|
|
2
|
-
import { u as m } from "./
|
|
3
|
-
import { N as g } from "./NumberInput-
|
|
2
|
+
import { u as m } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_c744f57c_lang-DVYChx12.js";
|
|
3
|
+
import { N as g } from "./NumberInput-1AzGYr5u.js";
|
|
4
4
|
const C = /* @__PURE__ */ b({
|
|
5
5
|
__name: "NumberControlBase",
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as p } from "./arrow-dropdown-DjUxzjqC.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import { resolveComponent as h, openBlock as o, createElementBlock as d, normalizeClass as l, createElementVNode as n, createCommentVNode as f, withModifiers as r, createVNode as m } from "vue";
|
|
4
|
-
import { _ as V } from "./
|
|
4
|
+
import { _ as V } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_c744f57c_lang-DVYChx12.js";
|
|
5
5
|
const c = 200, g = 50, v = 0.1, E = 1, I = {
|
|
6
6
|
name: "NumberInput",
|
|
7
7
|
components: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as c, openBlock as m, createBlock as u, mergeProps as d, unref as f, withCtx as t, renderSlot as s } from "vue";
|
|
2
2
|
import { o as y } from "./index-hm05O8UX.js";
|
|
3
|
-
import { _ as h } from "./DropdownControl.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as h } from "./DropdownControl.vue_vue_type_script_setup_true_lang-BVYvnwb4.js";
|
|
4
4
|
const F = /* @__PURE__ */ c({
|
|
5
5
|
__name: "OneOfDropdown",
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, openBlock as n, createBlock as t, mergeProps as a } from "vue";
|
|
2
|
-
import { _ as r } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as p } from "./
|
|
2
|
+
import { _ as r } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-B1TYbZNG.js";
|
|
3
|
+
import { _ as p } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_c744f57c_lang-DVYChx12.js";
|
|
4
4
|
const i = /* @__PURE__ */ e({
|
|
5
5
|
__name: "RadioControl",
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolveComponent as c, openBlock as m, createBlock as p, normalizeClass as b, defineComponent as f, computed as s, ref as v, onMounted as B, resolveDynamicComponent as y, createCommentVNode as V } from "vue";
|
|
2
2
|
import { o as h } from "./index-hm05O8UX.js";
|
|
3
|
-
import { B as _, V as g } from "./ValueSwitch-
|
|
4
|
-
import { _ as C } from "./
|
|
3
|
+
import { B as _, V as g } from "./ValueSwitch-Cj7JpVm4.js";
|
|
4
|
+
import { _ as C } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_c744f57c_lang-DVYChx12.js";
|
|
5
5
|
const R = {
|
|
6
6
|
name: "RadioButtons",
|
|
7
7
|
components: {
|
|
@@ -2,15 +2,15 @@ import { defineComponent as ge, ref as ee, computed as Me, onMounted as On, watc
|
|
|
2
2
|
import { a as Id, c as Dd } from "./popper-CRR--9mA.js";
|
|
3
3
|
import { i as Ka, g as Wa } from "./navigator-DWmzYl-A.js";
|
|
4
4
|
import { C as Rd } from "./close-h7XT0ja0.js";
|
|
5
|
-
import { F as ao } from "./FunctionButton-
|
|
6
|
-
import { _ as Xe, o as Qo } from "./
|
|
7
|
-
import { B as qi } from "./Button-
|
|
8
|
-
import { I as Zo } from "./InputField-
|
|
5
|
+
import { F as ao } from "./FunctionButton-CtbjmsFY.js";
|
|
6
|
+
import { _ as Xe, o as Qo } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_c744f57c_lang-DVYChx12.js";
|
|
7
|
+
import { B as qi } from "./Button-Bb4_kByn.js";
|
|
8
|
+
import { I as Zo } from "./InputField-C6t2uYCo.js";
|
|
9
9
|
import { u as Ua, f as qa, s as Ja, a as Ga } from "./floating-ui.vue-B-MrqKCT.js";
|
|
10
10
|
import { o as Ld } from "./index-Bf0xDq3g.js";
|
|
11
|
-
import {
|
|
11
|
+
import { N as Pd } from "./arrow-next-Qa8PNb04.js";
|
|
12
12
|
import { u as Bd } from "./useDropdownNavigation-D6ZenVxz.js";
|
|
13
|
-
import { C as Fd } from "./Checkbox-
|
|
13
|
+
import { C as Fd } from "./Checkbox-B0dHc2cw.js";
|
|
14
14
|
import { t as $d } from "./toString-DkbNkGT4.js";
|
|
15
15
|
const zd = (n, e) => (n % e + e) % e;
|
|
16
16
|
/*!
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { defineComponent as o, openBlock as n, createElementBlock as s, createElementVNode as t, toDisplayString as r, renderSlot as i } from "vue";
|
|
2
|
+
import { _ as c } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_c744f57c_lang-DVYChx12.js";
|
|
3
|
+
const a = { class: "section-header" }, d = { class: "section-header-layout-container" }, _ = /* @__PURE__ */ o({
|
|
4
|
+
__name: "SectionHeading",
|
|
5
|
+
props: {
|
|
6
|
+
titleText: {}
|
|
7
|
+
},
|
|
8
|
+
setup(l) {
|
|
9
|
+
return (e, p) => (n(), s("div", a, [
|
|
10
|
+
t("div", d, [
|
|
11
|
+
t("h3", null, r(e.titleText), 1),
|
|
12
|
+
i(e.$slots, "right-buttons", {}, void 0, !0)
|
|
13
|
+
])
|
|
14
|
+
]));
|
|
15
|
+
}
|
|
16
|
+
}), f = /* @__PURE__ */ c(_, [["__scopeId", "data-v-625edfbe"]]);
|
|
17
|
+
export {
|
|
18
|
+
f as S
|
|
19
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { defineComponent as u, ref as i, openBlock as l, createElementBlock as m, createVNode as s, withCtx as r, renderSlot as p, createBlock as d, unref as c } from "vue";
|
|
2
|
+
import { n as f, _ as y } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_c744f57c_lang-DVYChx12.js";
|
|
3
|
+
import { V as h } from "./VerticalLayoutBase-MyHG9994.js";
|
|
4
|
+
import { S as v } from "./SectionHeading-Kr6DVJJ9.js";
|
|
5
|
+
const b = /* @__PURE__ */ u({
|
|
6
|
+
__name: "SectionLayout",
|
|
7
|
+
props: {
|
|
8
|
+
layout: {}
|
|
9
|
+
},
|
|
10
|
+
setup($) {
|
|
11
|
+
const a = i(!1);
|
|
12
|
+
return (e, t) => (l(), m("div", {
|
|
13
|
+
class: "section",
|
|
14
|
+
onMouseover: t[0] || (t[0] = (o) => a.value = !0),
|
|
15
|
+
onMouseleave: t[1] || (t[1] = (o) => a.value = !1)
|
|
16
|
+
}, [
|
|
17
|
+
s(v, {
|
|
18
|
+
"title-text": e.layout.uischema.label
|
|
19
|
+
}, {
|
|
20
|
+
buttons: r(() => [
|
|
21
|
+
p(e.$slots, "buttons", { hover: a.value }, void 0, !0)
|
|
22
|
+
]),
|
|
23
|
+
_: 3
|
|
24
|
+
}, 8, ["title-text"]),
|
|
25
|
+
s(h, {
|
|
26
|
+
elements: e.layout.uischema.elements
|
|
27
|
+
}, {
|
|
28
|
+
default: r(({ element: o, index: n }) => [
|
|
29
|
+
(l(), d(c(f), {
|
|
30
|
+
key: `${e.layout.path}-${n}`,
|
|
31
|
+
schema: e.layout.schema,
|
|
32
|
+
uischema: o,
|
|
33
|
+
path: e.layout.path,
|
|
34
|
+
enabled: e.layout.enabled,
|
|
35
|
+
renderers: e.layout.renderers,
|
|
36
|
+
cells: e.layout.cells
|
|
37
|
+
}, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]))
|
|
38
|
+
]),
|
|
39
|
+
_: 1
|
|
40
|
+
}, 8, ["elements"])
|
|
41
|
+
], 32));
|
|
42
|
+
}
|
|
43
|
+
}), V = /* @__PURE__ */ y(b, [["__scopeId", "data-v-b823daba"]]);
|
|
44
|
+
export {
|
|
45
|
+
V as default
|
|
46
|
+
};
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { openBlock as o, createElementBlock as i, createElementVNode as n, renderSlot as a, defineComponent as m, createBlock as f, Transition as $, withCtx as c, normalizeStyle as k, createCommentVNode as w, createVNode as l, unref as _, pushScopeId as x, popScopeId as B, ref as g, inject as h, watch as y, Fragment as E, Teleport as P } from "vue";
|
|
2
|
+
import { _ as u } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_c744f57c_lang-DVYChx12.js";
|
|
3
|
+
import { F as I } from "./FunctionButton-CtbjmsFY.js";
|
|
4
|
+
const C = {}, A = { class: "flex-wrapper" }, F = { class: "form" };
|
|
5
|
+
function N(e, t) {
|
|
6
|
+
return o(), i("div", A, [
|
|
7
|
+
n("div", F, [
|
|
8
|
+
a(e.$slots, "default", {}, void 0, !0)
|
|
9
|
+
]),
|
|
10
|
+
a(e.$slots, "bottom-content", {}, void 0, !0)
|
|
11
|
+
]);
|
|
12
|
+
}
|
|
13
|
+
const O = /* @__PURE__ */ u(C, [["render", N], ["__scopeId", "data-v-c672b17b"]]), V = { class: "content" }, j = {}, z = /* @__PURE__ */ m({
|
|
14
|
+
...j,
|
|
15
|
+
__name: "SideDrawer",
|
|
16
|
+
props: {
|
|
17
|
+
isExpanded: { type: Boolean, default: !1 },
|
|
18
|
+
styleOverrides: { default: () => ({
|
|
19
|
+
position: "fixed",
|
|
20
|
+
width: "500px"
|
|
21
|
+
}) }
|
|
22
|
+
},
|
|
23
|
+
setup(e) {
|
|
24
|
+
return (t, s) => (o(), f($, { name: "slide" }, {
|
|
25
|
+
default: c(() => [
|
|
26
|
+
t.isExpanded ? (o(), i("div", {
|
|
27
|
+
key: 0,
|
|
28
|
+
class: "side-drawer",
|
|
29
|
+
style: k({
|
|
30
|
+
"--position-common-side-drawer": t.styleOverrides.position,
|
|
31
|
+
"--width-common-side-drawer": t.styleOverrides.width
|
|
32
|
+
})
|
|
33
|
+
}, [
|
|
34
|
+
n("div", V, [
|
|
35
|
+
a(t.$slots, "default", {}, void 0, !0)
|
|
36
|
+
])
|
|
37
|
+
], 4)) : w("", !0)
|
|
38
|
+
]),
|
|
39
|
+
_: 3
|
|
40
|
+
}));
|
|
41
|
+
}
|
|
42
|
+
}), D = /* @__PURE__ */ u(z, [["__scopeId", "data-v-fc759edb"]]), T = {
|
|
43
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
44
|
+
fill: "none",
|
|
45
|
+
stroke: "#000",
|
|
46
|
+
"stroke-linejoin": "round",
|
|
47
|
+
viewBox: "0 0 32 32"
|
|
48
|
+
}, L = /* @__PURE__ */ n("path", { d: "m14.9 27-11-11 11-11m-11 11h24.2" }, null, -1), q = [
|
|
49
|
+
L
|
|
50
|
+
];
|
|
51
|
+
function G(e, t) {
|
|
52
|
+
return o(), i("svg", T, [...q]);
|
|
53
|
+
}
|
|
54
|
+
const H = { render: G }, v = (e) => (x("data-v-499ba16d"), e = e(), B(), e), J = { class: "flex-horizontal" }, K = /* @__PURE__ */ v(() => /* @__PURE__ */ n("span", { class: "spacer" }, null, -1)), M = /* @__PURE__ */ v(() => /* @__PURE__ */ n("span", { class: "bold" }, "Back to node configuration", -1)), Q = /* @__PURE__ */ m({
|
|
55
|
+
__name: "SettingsSubPanelBackArrow",
|
|
56
|
+
emits: ["click"],
|
|
57
|
+
setup(e, { emit: t }) {
|
|
58
|
+
const s = t;
|
|
59
|
+
return (p, r) => (o(), i("div", J, [
|
|
60
|
+
l(_(I), {
|
|
61
|
+
class: "arrow-left-button",
|
|
62
|
+
onClick: r[0] || (r[0] = () => s("click"))
|
|
63
|
+
}, {
|
|
64
|
+
default: c(() => [
|
|
65
|
+
l(_(H))
|
|
66
|
+
]),
|
|
67
|
+
_: 1
|
|
68
|
+
}),
|
|
69
|
+
K,
|
|
70
|
+
M
|
|
71
|
+
]));
|
|
72
|
+
}
|
|
73
|
+
}), R = /* @__PURE__ */ u(Q, [["__scopeId", "data-v-499ba16d"]]), U = { class: "side-drawer-content" }, W = { class: "main-content" }, X = { class: "bottom-content" }, Y = /* @__PURE__ */ m({
|
|
74
|
+
__name: "SettingsSubPanel",
|
|
75
|
+
props: {
|
|
76
|
+
showBackArrow: { type: Boolean, default: !1 }
|
|
77
|
+
},
|
|
78
|
+
setup(e, { expose: t }) {
|
|
79
|
+
const s = g(!1), p = () => {
|
|
80
|
+
s.value = !0;
|
|
81
|
+
}, r = () => {
|
|
82
|
+
s.value = !1;
|
|
83
|
+
};
|
|
84
|
+
t({ expand: p, close: r });
|
|
85
|
+
const b = h("setSubPanelExpanded");
|
|
86
|
+
y(
|
|
87
|
+
s,
|
|
88
|
+
// @ts-ignore
|
|
89
|
+
(d) => b({ isExpanded: d })
|
|
90
|
+
);
|
|
91
|
+
const S = h("getPanelsContainer")();
|
|
92
|
+
return (d, Z) => (o(), i(E, null, [
|
|
93
|
+
a(d.$slots, "expand-button", { expand: p }, void 0, !0),
|
|
94
|
+
(o(), f(P, {
|
|
95
|
+
disabled: !s.value,
|
|
96
|
+
to: _(S)
|
|
97
|
+
}, [
|
|
98
|
+
l(_(D), {
|
|
99
|
+
"is-expanded": s.value,
|
|
100
|
+
class: "side-drawer",
|
|
101
|
+
"style-overrides": { width: "100%", position: "absolute" }
|
|
102
|
+
}, {
|
|
103
|
+
default: c(() => [
|
|
104
|
+
n("div", U, [
|
|
105
|
+
n("div", W, [
|
|
106
|
+
l(O, null, {
|
|
107
|
+
default: c(() => [
|
|
108
|
+
d.showBackArrow ? (o(), f(R, {
|
|
109
|
+
key: 0,
|
|
110
|
+
onClick: r
|
|
111
|
+
})) : w("", !0),
|
|
112
|
+
a(d.$slots, "default", {}, void 0, !0)
|
|
113
|
+
]),
|
|
114
|
+
_: 3
|
|
115
|
+
})
|
|
116
|
+
]),
|
|
117
|
+
n("div", X, [
|
|
118
|
+
a(d.$slots, "bottom-content", {}, void 0, !0)
|
|
119
|
+
])
|
|
120
|
+
])
|
|
121
|
+
]),
|
|
122
|
+
_: 3
|
|
123
|
+
}, 8, ["is-expanded"])
|
|
124
|
+
], 8, ["disabled", "to"]))
|
|
125
|
+
], 64));
|
|
126
|
+
}
|
|
127
|
+
}), oe = /* @__PURE__ */ u(Y, [["__scopeId", "data-v-c744f57c"]]);
|
|
128
|
+
export {
|
|
129
|
+
O as F,
|
|
130
|
+
oe as S
|
|
131
|
+
};
|