@farris/ui-vue 1.8.0-alpha.0 → 1.8.0-beta.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/components/avatar/index.esm.js +138 -1526
- package/components/avatar/index.umd.cjs +1 -6
- package/components/button/index.css +1 -1
- package/components/button/index.esm.js +15951 -15410
- package/components/button/index.umd.cjs +27 -27
- package/components/calendar/index.esm.js +269 -255
- package/components/calendar/index.umd.cjs +3 -3
- package/components/collection-property-editor/index.esm.js +243 -229
- package/components/collection-property-editor/index.umd.cjs +2 -2
- package/components/combo-list/index.esm.js +32 -32
- package/components/combo-list/index.umd.cjs +1 -1
- package/components/comment/index.esm.js +473 -456
- package/components/comment/index.umd.cjs +6 -6
- package/components/component/index.css +1 -1
- package/components/component/index.esm.js +2503 -2239
- package/components/component/index.umd.cjs +2 -2
- package/components/condition/index.esm.js +1064 -954
- package/components/condition/index.umd.cjs +2 -2
- package/components/data-grid/index.esm.js +1 -1
- package/components/data-grid/index.umd.cjs +1 -1
- package/components/designer-canvas/index.css +1 -1
- package/components/designer-canvas/index.esm.js +3894 -3058
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/drawer/index.esm.js +91 -77
- package/components/drawer/index.umd.cjs +2 -2
- package/components/dynamic-form/index.esm.js +220 -215
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/dynamic-resolver/index.esm.js +145 -131
- package/components/dynamic-resolver/index.umd.cjs +2 -2
- package/components/dynamic-view/index.esm.js +336 -329
- package/components/dynamic-view/index.umd.cjs +1 -1
- package/components/events-editor/index.esm.js +1611 -1536
- package/components/events-editor/index.umd.cjs +3 -3
- package/components/expression-editor/index.esm.js +219 -219
- package/components/expression-editor/index.umd.cjs +2 -2
- package/components/external-container/index.esm.js +179 -178
- package/components/external-container/index.umd.cjs +1 -1
- package/components/fieldset/index.esm.js +285 -221
- package/components/fieldset/index.umd.cjs +1 -1
- package/components/filter-bar/index.css +1 -0
- package/components/filter-bar/index.esm.js +1512 -1290
- package/components/filter-bar/index.umd.cjs +7 -7
- package/components/filter-condition-editor/index.esm.js +851 -831
- package/components/filter-condition-editor/index.umd.cjs +3 -3
- package/components/flow-canvas/index.esm.js +520 -501
- package/components/flow-canvas/index.umd.cjs +8 -8
- package/components/image/index.esm.js +101 -79
- package/components/image/index.umd.cjs +3 -3
- package/components/language-textbox/index.esm.js +330 -251
- package/components/language-textbox/index.umd.cjs +2 -2
- package/components/list-nav/index.esm.js +399 -313
- package/components/list-nav/index.umd.cjs +1 -1
- package/components/locale/index.esm.js +3 -0
- package/components/locale/index.umd.cjs +1 -1
- package/components/lookup/index.esm.js +997 -976
- package/components/lookup/index.umd.cjs +2 -2
- package/components/mapping-editor/index.esm.js +725 -705
- package/components/mapping-editor/index.umd.cjs +1 -1
- package/components/message-box/index.esm.js +542 -522
- package/components/message-box/index.umd.cjs +1 -1
- package/components/nav/index.esm.js +95 -308
- package/components/nav/index.umd.cjs +1 -1
- package/components/number-range/index.esm.js +115 -107
- package/components/number-range/index.umd.cjs +2 -2
- package/components/order/index.esm.js +56 -54
- package/components/order/index.umd.cjs +1 -1
- package/components/page-footer/index.esm.js +135 -123
- package/components/page-footer/index.umd.cjs +1 -1
- package/components/page-header/index.esm.js +266 -222
- package/components/page-header/index.umd.cjs +1 -1
- package/components/property-panel/index.esm.js +402 -375
- package/components/property-panel/index.umd.cjs +4 -4
- package/components/query-solution/index.esm.js +3171 -3061
- package/components/query-solution/index.umd.cjs +7 -7
- package/components/response-toolbar/index.esm.js +1 -1
- package/components/response-toolbar/index.umd.cjs +1 -1
- package/components/schema-selector/index.esm.js +1620 -1608
- package/components/schema-selector/index.umd.cjs +5 -5
- package/components/scroll-navbar/index.esm.js +150 -136
- package/components/scroll-navbar/index.umd.cjs +2 -2
- package/components/section/index.esm.js +323 -311
- package/components/section/index.umd.cjs +2 -2
- package/components/sort-condition-editor/index.esm.js +850 -830
- package/components/sort-condition-editor/index.umd.cjs +3 -3
- package/components/step/index.esm.js +991 -224
- package/components/step/index.umd.cjs +1 -1
- package/components/tabs/index.esm.js +356 -334
- package/components/tabs/index.umd.cjs +1 -1
- package/components/wizard/index.esm.js +159 -162
- package/components/wizard/index.umd.cjs +1 -1
- package/designer/avatar/index.esm.js +1721 -0
- package/designer/avatar/index.umd.cjs +6 -0
- package/designer/button-edit/index.esm.js +2 -1
- package/designer/button-edit/index.umd.cjs +1 -1
- package/designer/data-grid/index.esm.js +693 -659
- package/designer/data-grid/index.umd.cjs +6 -6
- package/designer/data-view/index.esm.js +90 -78
- package/designer/data-view/index.umd.cjs +2 -2
- package/designer/date-picker/index.esm.js +203 -203
- package/designer/date-picker/index.umd.cjs +1 -1
- package/designer/drawer/index.esm.js +181 -167
- package/designer/drawer/index.umd.cjs +2 -2
- package/designer/dynamic-form/index.esm.js +228 -206
- package/designer/dynamic-form/index.umd.cjs +2 -2
- package/designer/farris-designer.all.esm.js +10014 -9692
- package/designer/farris-designer.all.umd.cjs +18 -18
- package/designer/index.css +1 -1
- package/designer/input-group/index.esm.js +15 -15
- package/designer/input-group/index.umd.cjs +1 -1
- package/designer/nav/index.esm.js +1719 -0
- package/designer/nav/index.umd.cjs +6 -0
- package/designer/number-spinner/index.esm.js +8 -7
- package/designer/number-spinner/index.umd.cjs +1 -1
- package/designer/radio-group/index.esm.js +133 -125
- package/designer/radio-group/index.umd.cjs +2 -2
- package/designer/response-toolbar/index.esm.js +864 -863
- package/designer/response-toolbar/index.umd.cjs +1 -1
- package/designer/section/index.esm.js +245 -183
- package/designer/section/index.umd.cjs +1 -1
- package/designer/tabs/index.css +1 -1
- package/designer/tabs/index.esm.js +3667 -2810
- package/designer/tabs/index.umd.cjs +2 -2
- package/designer/time-picker/index.esm.js +26 -17
- package/designer/time-picker/index.umd.cjs +2 -2
- package/designer/tree-grid/index.esm.js +69 -37
- package/designer/tree-grid/index.umd.cjs +1 -1
- package/designer/wizard/index.esm.js +110 -110
- package/designer/wizard/index.umd.cjs +3 -3
- package/farris.all.esm.js +39993 -39089
- package/farris.all.umd.cjs +36 -36
- package/index.css +1 -1
- package/locales/filter-bar/ui/en.json +1 -0
- package/locales/filter-bar/ui/zh-CHS.json +1 -0
- package/locales/filter-bar/ui/zh-CHT.json +1 -0
- package/locales/ui/en.json +1 -0
- package/locales/ui/zh-CHS.json +1 -0
- package/locales/ui/zh-CHT.json +1 -0
- package/package.json +1 -1
- package/types/avatar/designer.d.ts +28 -0
- package/types/avatar/index.d.ts +0 -15
- package/types/avatar/src/composition/types.d.ts +3 -0
- package/types/avatar/src/composition/use-file.d.ts +19 -0
- package/types/avatar/src/composition/use-image.d.ts +1 -1
- package/types/avatar/src/designer/avatar.design.props.d.ts +24 -0
- package/types/avatar/src/property-config/avatar.property-config.d.ts +11 -13
- package/types/avatar/src/schema/schema-mapper.d.ts +2 -0
- package/types/components.d.ts +3 -0
- package/types/condition/index.d.ts +18 -6
- package/types/condition/src/condition-fields.component.d.ts +9 -3
- package/types/condition/src/condition-fields.design.component.d.ts +9 -3
- package/types/condition/src/condition-list.component.d.ts +9 -3
- package/types/condition/src/condition.props.d.ts +11 -0
- package/types/data-view/designer/property-config/use-appearance.d.ts +17 -10
- package/types/data-view/designer/property-config/use-pagination.d.ts +0 -6
- package/types/designer-canvas/src/composition/dg-control.d.ts +13 -0
- package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.component.d.ts +3 -0
- package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.props.d.ts +4 -0
- package/types/dynamic-resolver/src/converter/tree-auto-check.converter.d.ts +3 -0
- package/types/dynamic-view/src/components/maps.d.ts +130 -4
- package/types/filter-bar/src/composition/types.d.ts +2 -0
- package/types/filter-bar/src/filter-bar.props.d.ts +0 -1
- package/types/filter-bar/src/locale/locale.d.ts +2 -1
- package/types/filter-bar/src/property-config/filter-bar.property-config.d.ts +0 -1
- package/types/language-textbox/index.d.ts +65 -2
- package/types/language-textbox/src/designer/language-textbox.design.component.d.ts +36 -0
- package/types/language-textbox/src/language-textbox.component.d.ts +38 -1
- package/types/language-textbox/src/language-textbox.props.d.ts +20 -0
- package/types/lookup/src/components/popup-container.component.d.ts +3 -3
- package/types/lookup/src/composition/use-compat.d.ts +28 -0
- package/types/lookup/src/composition/use-state.d.ts +1 -0
- package/types/message-box/src/message-box.service.d.ts +2 -1
- package/types/nav/designer.d.ts +28 -0
- package/types/nav/index.d.ts +24 -20
- package/types/nav/src/designer/nav.design.props.d.ts +29 -0
- package/types/nav/src/designer/use-design-rules.d.ts +3 -0
- package/types/nav/src/property-config/nav.property-config.d.ts +9 -0
- package/types/nav/src/schema/schema-mapper.d.ts +4 -0
- package/types/page-footer/src/designer/use-designer-rules.d.ts +2 -2
- package/types/page-header/src/designer/use-designer-rules.d.ts +2 -2
- package/types/property-panel/src/composition/entity/input-base-property.d.ts +1 -0
- package/types/query-solution/src/designer/query-solution-config/composition/use-util.d.ts +1 -1
- package/types/query-solution/src/designer/query-solution-config/query-solution-config.props.d.ts +1 -1
- package/types/section/src/designer/section.design.props.d.ts +4 -0
- package/types/section/src/property-config/section.property-config.d.ts +39 -0
- package/types/section/src/schema/toolbar-resolver.d.ts +0 -1
- package/types/step/src/designer/use-designer-rules.d.ts +3 -0
- package/types/step/src/designer/use-step-creator.d.ts +6 -0
- package/types/step/src/property-config/step.property-config.d.ts +15 -0
- package/types/step/src/schema/schema-resolver.d.ts +2 -1
- package/types/tabs/src/composition/types.d.ts +4 -0
- package/types/tabs/src/tabs.props.d.ts +6 -0
- package/types/tooltip/index.d.ts +3 -3
- package/types/tooltip/src/tooltip.component.d.ts +2 -2
|
@@ -1,155 +1,156 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { getCustomClass as
|
|
1
|
+
import { ref as z, computed as x, createVNode as h, defineComponent as ue, watch as de, onMounted as fe } from "vue";
|
|
2
|
+
import { getCustomClass as H, withInstall as me } from "../common/index.esm.js";
|
|
3
3
|
import { isPlainObject as q, cloneDeep as _ } from "lodash-es";
|
|
4
4
|
import { resolveAppearance as pe } from "../dynamic-resolver/index.esm.js";
|
|
5
5
|
import { DgControl as G } from "../designer-canvas/index.esm.js";
|
|
6
6
|
import ve from "../response-toolbar/index.esm.js";
|
|
7
7
|
import { LocaleService as W } from "../locale/index.esm.js";
|
|
8
|
+
import { commonToolbarItemDesignProps as be } from "../../designer/response-toolbar/index.esm.js";
|
|
8
9
|
function Z(e, t) {
|
|
9
10
|
let n;
|
|
10
11
|
function r(i) {
|
|
11
|
-
const { properties: l, title:
|
|
12
|
-
if (
|
|
13
|
-
const
|
|
14
|
-
|
|
12
|
+
const { properties: l, title: f, ignore: o } = i, a = o && Array.isArray(o), c = Object.keys(l).reduce((p, g) => ((!a || !o.find((w) => w === g)) && (p[g] = l[g].type === "object" && l[g].properties ? r(l[g]) : _(l[g].default)), p), {});
|
|
13
|
+
if (f && (!a || !o.find((p) => p === "id"))) {
|
|
14
|
+
const p = f.toLowerCase().replace(/-/g, "_");
|
|
15
|
+
c.id = `${p}_${Math.random().toString().slice(2, 6)}`;
|
|
15
16
|
}
|
|
16
|
-
return
|
|
17
|
+
return c;
|
|
17
18
|
}
|
|
18
|
-
function
|
|
19
|
-
const { properties: l, title:
|
|
19
|
+
function s(i) {
|
|
20
|
+
const { properties: l, title: f, required: o } = i;
|
|
20
21
|
if (o && Array.isArray(o)) {
|
|
21
|
-
const a = o.reduce((
|
|
22
|
-
if (
|
|
23
|
-
const
|
|
24
|
-
a.id = `${
|
|
22
|
+
const a = o.reduce((c, p) => (c[p] = l[p].type === "object" && l[p].properties ? r(l[p]) : _(l[p].default), c), {});
|
|
23
|
+
if (f && o.find((c) => c === "id")) {
|
|
24
|
+
const c = f.toLowerCase().replace(/-/g, "_");
|
|
25
|
+
a.id = `${c}_${Math.random().toString().slice(2, 6)}`;
|
|
25
26
|
}
|
|
26
27
|
return a;
|
|
27
28
|
}
|
|
28
29
|
return {
|
|
29
|
-
type:
|
|
30
|
+
type: f
|
|
30
31
|
};
|
|
31
32
|
}
|
|
32
|
-
function
|
|
33
|
+
function b(i, l = {}, f) {
|
|
33
34
|
const o = e[i];
|
|
34
35
|
if (o) {
|
|
35
|
-
let a =
|
|
36
|
-
const
|
|
37
|
-
return a =
|
|
36
|
+
let a = s(o);
|
|
37
|
+
const c = t[i];
|
|
38
|
+
return a = c ? c({ getSchemaByType: b }, a, l, f) : a, n != null && n.appendIdentifyForNewControl && n.appendIdentifyForNewControl(a), a;
|
|
38
39
|
}
|
|
39
40
|
return null;
|
|
40
41
|
}
|
|
41
42
|
function d(i, l) {
|
|
42
|
-
const
|
|
43
|
-
return Object.keys(
|
|
43
|
+
const f = r(l);
|
|
44
|
+
return Object.keys(f).reduce((o, a) => (Object.prototype.hasOwnProperty.call(i, a) && (o[a] && q(o[a]) && q(i[a] || !i[a]) ? Object.assign(o[a], i[a] || {}) : o[a] = i[a]), o), f), f;
|
|
44
45
|
}
|
|
45
46
|
function y(i, l) {
|
|
46
47
|
return Object.keys(i).filter((o) => i[o] != null).reduce((o, a) => {
|
|
47
48
|
if (l.has(a)) {
|
|
48
|
-
const
|
|
49
|
-
if (typeof
|
|
50
|
-
o[
|
|
49
|
+
const c = l.get(a);
|
|
50
|
+
if (typeof c == "string")
|
|
51
|
+
o[c] = i[a];
|
|
51
52
|
else {
|
|
52
|
-
const
|
|
53
|
-
Object.assign(o,
|
|
53
|
+
const p = c(a, i[a], i);
|
|
54
|
+
Object.assign(o, p);
|
|
54
55
|
}
|
|
55
56
|
} else
|
|
56
57
|
o[a] = i[a];
|
|
57
58
|
return o;
|
|
58
59
|
}, {});
|
|
59
60
|
}
|
|
60
|
-
function
|
|
61
|
+
function C(i, l, f = /* @__PURE__ */ new Map()) {
|
|
61
62
|
const o = d(i, l);
|
|
62
|
-
return y(o,
|
|
63
|
+
return y(o, f);
|
|
63
64
|
}
|
|
64
65
|
function u(i) {
|
|
65
|
-
var
|
|
66
|
+
var f;
|
|
66
67
|
const l = i.type;
|
|
67
68
|
if (l) {
|
|
68
69
|
const o = e[l];
|
|
69
70
|
if (!o)
|
|
70
71
|
return i;
|
|
71
|
-
const a = d(i, o),
|
|
72
|
-
if (
|
|
73
|
-
const
|
|
72
|
+
const a = d(i, o), c = ((f = i.editor) == null ? void 0 : f.type) || "";
|
|
73
|
+
if (c) {
|
|
74
|
+
const p = e[c], g = d(i.editor, p);
|
|
74
75
|
a.editor = g;
|
|
75
76
|
}
|
|
76
77
|
return a;
|
|
77
78
|
}
|
|
78
79
|
return i;
|
|
79
80
|
}
|
|
80
|
-
function
|
|
81
|
+
function m(i) {
|
|
81
82
|
n = i;
|
|
82
83
|
}
|
|
83
|
-
return { getSchemaByType:
|
|
84
|
+
return { getSchemaByType: b, resolveSchemaWithDefaultValue: u, resolveSchemaToProps: C, mappingSchemaToProps: y, setDesignerContext: m };
|
|
84
85
|
}
|
|
85
|
-
const J = {}, Q = {}, { resolveSchemaWithDefaultValue:
|
|
86
|
-
function
|
|
87
|
-
function t(u,
|
|
86
|
+
const J = {}, Q = {}, { resolveSchemaWithDefaultValue: ge, resolveSchemaToProps: ye, mappingSchemaToProps: Ce } = Z(J, Q);
|
|
87
|
+
function Se(e = {}) {
|
|
88
|
+
function t(u, m, i, l) {
|
|
88
89
|
if (typeof i == "number")
|
|
89
90
|
return l[u].length === i;
|
|
90
91
|
if (typeof i == "object") {
|
|
91
|
-
const
|
|
92
|
-
if (
|
|
92
|
+
const f = Object.keys(i)[0], o = i[f];
|
|
93
|
+
if (f === "not")
|
|
93
94
|
return Number(l[u].length) !== Number(o);
|
|
94
|
-
if (
|
|
95
|
+
if (f === "moreThan")
|
|
95
96
|
return Number(l[u].length) >= Number(o);
|
|
96
|
-
if (
|
|
97
|
+
if (f === "lessThan")
|
|
97
98
|
return Number(l[u].length) <= Number(o);
|
|
98
99
|
}
|
|
99
100
|
return !1;
|
|
100
101
|
}
|
|
101
|
-
function n(u,
|
|
102
|
+
function n(u, m, i, l) {
|
|
102
103
|
return l[u] && l[u].propertyValue && String(l[u].propertyValue.value) === String(i);
|
|
103
104
|
}
|
|
104
105
|
const r = /* @__PURE__ */ new Map([
|
|
105
106
|
["length", t],
|
|
106
107
|
["getProperty", n]
|
|
107
108
|
]);
|
|
108
|
-
Object.keys(e).reduce((u,
|
|
109
|
-
function
|
|
109
|
+
Object.keys(e).reduce((u, m) => (u.set(m, e[m]), u), r);
|
|
110
|
+
function s(u, m) {
|
|
110
111
|
const i = u;
|
|
111
|
-
return typeof
|
|
112
|
+
return typeof m == "number" ? [{ target: i, operator: "length", param: null, value: Number(m) }] : typeof m == "boolean" ? [{ target: i, operator: "getProperty", param: u, value: !!m }] : typeof m == "object" ? Object.keys(m).map((l) => {
|
|
112
113
|
if (l === "length")
|
|
113
|
-
return { target: i, operator: "length", param: null, value:
|
|
114
|
-
const
|
|
115
|
-
return { target: i, operator: "getProperty", param:
|
|
114
|
+
return { target: i, operator: "length", param: null, value: m[l] };
|
|
115
|
+
const f = l, o = m[l];
|
|
116
|
+
return { target: i, operator: "getProperty", param: f, value: o };
|
|
116
117
|
}) : [];
|
|
117
118
|
}
|
|
118
|
-
function
|
|
119
|
+
function b(u) {
|
|
119
120
|
return Object.keys(u).reduce((i, l) => {
|
|
120
|
-
const
|
|
121
|
-
return i.push(...
|
|
121
|
+
const f = s(l, u[l]);
|
|
122
|
+
return i.push(...f), i;
|
|
122
123
|
}, []);
|
|
123
124
|
}
|
|
124
|
-
function d(u,
|
|
125
|
+
function d(u, m) {
|
|
125
126
|
if (r.has(u.operator)) {
|
|
126
127
|
const i = r.get(u.operator);
|
|
127
|
-
return i && i(u.target, u.param, u.value,
|
|
128
|
+
return i && i(u.target, u.param, u.value, m) || !1;
|
|
128
129
|
}
|
|
129
130
|
return !1;
|
|
130
131
|
}
|
|
131
|
-
function y(u,
|
|
132
|
-
return
|
|
132
|
+
function y(u, m) {
|
|
133
|
+
return b(u).reduce((f, o) => f && d(o, m), !0);
|
|
133
134
|
}
|
|
134
|
-
function
|
|
135
|
-
const i = Object.keys(u), l = i.includes("allOf"),
|
|
136
|
-
return l ? !
|
|
135
|
+
function C(u, m) {
|
|
136
|
+
const i = Object.keys(u), l = i.includes("allOf"), f = i.includes("anyOf"), o = l || f, p = (o ? u[o ? l ? "allOf" : "anyOf" : "allOf"] : [u]).map((w) => y(w, m));
|
|
137
|
+
return l ? !p.includes(!1) : p.includes(!0);
|
|
137
138
|
}
|
|
138
|
-
return { parseValueSchema:
|
|
139
|
+
return { parseValueSchema: C };
|
|
139
140
|
}
|
|
140
|
-
const
|
|
141
|
+
const Te = {
|
|
141
142
|
convertTo: (e, t, n, r) => {
|
|
142
143
|
e.appearance || (e.appearance = {}), e.appearance[t] = n;
|
|
143
144
|
},
|
|
144
145
|
convertFrom: (e, t, n) => e.appearance ? e.appearance[t] : e[t]
|
|
145
|
-
}, Te = {
|
|
146
|
-
convertFrom: (e, t, n) => e.buttons && e.buttons.length ? `共 ${e.buttons.length} 项` : "无"
|
|
147
146
|
}, he = {
|
|
147
|
+
convertFrom: (e, t, n) => e.buttons && e.buttons.length ? `共 ${e.buttons.length} 项` : "无"
|
|
148
|
+
}, Fe = {
|
|
148
149
|
convertTo: (e, t, n, r) => {
|
|
149
150
|
e.editor && (e.editor[t] = n);
|
|
150
151
|
},
|
|
151
152
|
convertFrom: (e, t, n) => e.editor && Object.prototype.hasOwnProperty.call(e.editor, t) ? e.editor[t] : e[t]
|
|
152
|
-
},
|
|
153
|
+
}, xe = {
|
|
153
154
|
button: { type: "button", name: "按钮" },
|
|
154
155
|
"response-toolbar": { type: "response-toolbar", name: "工具栏" },
|
|
155
156
|
"response-toolbar-item": { type: "response-toolbar-item", name: "按钮" },
|
|
@@ -195,10 +196,12 @@ const Se = {
|
|
|
195
196
|
drawer: { type: "drawer", name: "抽屉" },
|
|
196
197
|
"external-container": { type: "external-container", name: "外部容器", icon: "content-container" },
|
|
197
198
|
"list-nav": { type: "list-nav", name: "列表导航" },
|
|
199
|
+
nav: { type: "nav", name: "标签类导航" },
|
|
198
200
|
"list-view": { type: "list-view", name: "列表" },
|
|
199
201
|
"filter-bar": { type: "filter-bar", name: "筛选条" },
|
|
200
202
|
"language-textbox": { type: "language-textbox", name: "多语输入框" },
|
|
201
203
|
image: { type: "image", name: "图像" },
|
|
204
|
+
avatar: { type: "avatar", name: "头像" },
|
|
202
205
|
"discussion-editor": { type: "discussion-editor", name: "评论编辑区" },
|
|
203
206
|
"discussion-list": { type: "discussion-list", name: "评论列表" },
|
|
204
207
|
comment: { type: "comment", name: "评论区" },
|
|
@@ -206,19 +209,20 @@ const Se = {
|
|
|
206
209
|
calendar: { type: "calendar", name: "日历", icon: "date-picker" },
|
|
207
210
|
wizard: { type: "wizard", name: "向导", icon: "wizard" },
|
|
208
211
|
"wizard-page": { type: "wizard-page", name: "向导页", icon: "wizard" },
|
|
209
|
-
"wizard-page-detail": { type: "wizard-page-detail", name: "向导详情", icon: "wizard" }
|
|
212
|
+
"wizard-page-detail": { type: "wizard-page-detail", name: "向导详情", icon: "wizard" },
|
|
213
|
+
step: { type: "step", name: "步骤条", icon: "step" }
|
|
210
214
|
}, we = {
|
|
211
215
|
convertFrom: (e, t, n) => {
|
|
212
|
-
var
|
|
216
|
+
var s;
|
|
213
217
|
const r = e.editor && e.editor[t] ? e.editor[t] : e[t];
|
|
214
|
-
return ((
|
|
218
|
+
return ((s = xe[r]) == null ? void 0 : s.name) || r;
|
|
215
219
|
}
|
|
216
|
-
},
|
|
220
|
+
}, ke = {
|
|
217
221
|
convertTo: (e, t, n, r) => {
|
|
218
222
|
e[t] = e[t];
|
|
219
223
|
},
|
|
220
224
|
convertFrom: (e, t, n) => e.editor ? n.getRealEditorType(e.editor.type) : ""
|
|
221
|
-
},
|
|
225
|
+
}, Oe = {
|
|
222
226
|
convertTo: (e, t, n, r) => {
|
|
223
227
|
(e.type === "data-grid-column" || e.type === "tree-grid-column") && (e.formatter ? e.formatter[t] = n : e.formatter = {
|
|
224
228
|
[t]: n
|
|
@@ -297,11 +301,11 @@ const Se = {
|
|
|
297
301
|
]), t === "enableType" && n === "unable" && (e.command.enable = !1);
|
|
298
302
|
},
|
|
299
303
|
convertFrom: (e, t, n) => {
|
|
300
|
-
var r,
|
|
304
|
+
var r, s;
|
|
301
305
|
if (e.command) {
|
|
302
306
|
if (t === "enableType") {
|
|
303
|
-
const
|
|
304
|
-
return e.command.enable ?
|
|
307
|
+
const b = (s = (r = e.command) == null ? void 0 : r.commands) == null ? void 0 : s.find((d) => d.command === "edit" && d.type === "primary");
|
|
308
|
+
return e.command.enable ? b ? "default" : "custom" : "unable";
|
|
305
309
|
}
|
|
306
310
|
if (t === "commands")
|
|
307
311
|
return e.command.enableType === "custom" ? e.command.commands : [];
|
|
@@ -312,7 +316,7 @@ const Se = {
|
|
|
312
316
|
}
|
|
313
317
|
return "";
|
|
314
318
|
}
|
|
315
|
-
},
|
|
319
|
+
}, Me = {
|
|
316
320
|
convertTo: (e, t, n, r) => {
|
|
317
321
|
e.column ? e.column[t] = n : e.column = {
|
|
318
322
|
[t]: n
|
|
@@ -327,7 +331,7 @@ const Se = {
|
|
|
327
331
|
}
|
|
328
332
|
return "";
|
|
329
333
|
}
|
|
330
|
-
},
|
|
334
|
+
}, Re = {
|
|
331
335
|
convertTo: (e, t, n, r) => {
|
|
332
336
|
e.summary ? e.summary[t] = n : e.summary = {
|
|
333
337
|
[t]: n
|
|
@@ -340,7 +344,7 @@ const Se = {
|
|
|
340
344
|
var r;
|
|
341
345
|
return t === "customSummaryStyle" ? e.summary.customSummaryStyle : t === "position" ? ((r = e.summary) == null ? void 0 : r[t]) || "bottom" : e.summary && t === "enable" ? e.summary.enable : e.type === "data-grid-column" ? e.enableSummary === void 0 ? !1 : e.enableSummary : "";
|
|
342
346
|
}
|
|
343
|
-
},
|
|
347
|
+
}, je = {
|
|
344
348
|
convertTo: (e, t, n, r) => {
|
|
345
349
|
e.group ? e.group[t] = n : e.group = {
|
|
346
350
|
[t]: n
|
|
@@ -358,7 +362,7 @@ const Se = {
|
|
|
358
362
|
return e.group.showSummary;
|
|
359
363
|
}
|
|
360
364
|
}
|
|
361
|
-
},
|
|
365
|
+
}, ze = {
|
|
362
366
|
convertFrom: (e, t) => e.binding ? e.binding.path : "",
|
|
363
367
|
convertTo: (e, t, n) => {
|
|
364
368
|
if (n && n.length > 0) {
|
|
@@ -366,12 +370,12 @@ const Se = {
|
|
|
366
370
|
e.binding || (e.binding = {}), e.binding.type = "Form", e.binding.path = r.bindingField, e.binding.field = r.id, e.binding.fullPath = r.path, e.path = r.bindingPath;
|
|
367
371
|
}
|
|
368
372
|
}
|
|
369
|
-
},
|
|
373
|
+
}, Ee = {
|
|
370
374
|
convertTo: (e, t, n, r) => {
|
|
371
375
|
e.pagination || (e.pagination = {}), t === "sizeLimits" ? e.pagination.sizeLimits = n.split(",") : e.pagination[t] = n;
|
|
372
376
|
},
|
|
373
377
|
convertFrom: (e, t, n) => e.pagination ? t === "sizeLimits" ? e.pagination.sizeLimits.join(",") : e.pagination[t] : e[t]
|
|
374
|
-
},
|
|
378
|
+
}, Ae = {
|
|
375
379
|
convertTo: (e, t, n, r) => {
|
|
376
380
|
e.rowNumber || (e.rowNumber = {}), e.rowNumber[t] = n;
|
|
377
381
|
},
|
|
@@ -381,38 +385,38 @@ const Se = {
|
|
|
381
385
|
e.selection || (e.selection = {}), e.selection[t] = n;
|
|
382
386
|
},
|
|
383
387
|
convertFrom: (e, t, n) => {
|
|
384
|
-
var r,
|
|
385
|
-
return t === "showCheckbox" ? (r = e.selection) != null && r.multiSelect ? !0 : (
|
|
388
|
+
var r, s;
|
|
389
|
+
return t === "showCheckbox" ? (r = e.selection) != null && r.multiSelect ? !0 : (s = e.selection) == null ? void 0 : s.showCheckbox : e.selection ? e.selection[t] : e[t];
|
|
386
390
|
}
|
|
387
391
|
}, He = {
|
|
388
392
|
convertFrom: (e, t, n) => e[t] && e[t].length ? `共 ${e[t].length} 项` : ""
|
|
389
|
-
},
|
|
393
|
+
}, Le = {
|
|
390
394
|
convertFrom: (e, t) => e[t] || "",
|
|
391
395
|
convertTo: (e, t, n) => {
|
|
392
396
|
e[t] = n;
|
|
393
397
|
}
|
|
394
|
-
},
|
|
398
|
+
}, Ne = {
|
|
395
399
|
convertTo: (e, t, n, r) => {
|
|
396
400
|
e.size || (e.size = {}), e.size[t] = n;
|
|
397
401
|
},
|
|
398
402
|
convertFrom: (e, t, n) => e.size ? e.size[t] : e[t]
|
|
399
|
-
},
|
|
403
|
+
}, $e = {
|
|
400
404
|
convertFrom: (e, t, n) => {
|
|
401
|
-
var r,
|
|
402
|
-
return (r = e.formatter) != null && r.data && t === "formatterEnumData" && !e.formatterEnumData ? (
|
|
405
|
+
var r, s;
|
|
406
|
+
return (r = e.formatter) != null && r.data && t === "formatterEnumData" && !e.formatterEnumData ? (s = e.formatter) == null ? void 0 : s.data : e.formatterEnumData;
|
|
403
407
|
}
|
|
404
408
|
}, Be = {
|
|
405
409
|
convertTo: (e, t, n, r) => {
|
|
406
410
|
e.sort || (e.sort = {}), e.sort[t] = n;
|
|
407
411
|
},
|
|
408
412
|
convertFrom: (e, t, n) => {
|
|
409
|
-
var r,
|
|
413
|
+
var r, s;
|
|
410
414
|
if (t === "mode")
|
|
411
415
|
return ((r = e.sort) == null ? void 0 : r.mode) || "client";
|
|
412
416
|
if (t === "multiSort")
|
|
413
|
-
return !!((
|
|
417
|
+
return !!((s = e.sort) != null && s.multiSort);
|
|
414
418
|
}
|
|
415
|
-
},
|
|
419
|
+
}, Ie = {
|
|
416
420
|
convertTo: (e, t, n, r) => {
|
|
417
421
|
e.filter || (e.filter = {}), e.filter[t] = n;
|
|
418
422
|
},
|
|
@@ -421,7 +425,7 @@ const Se = {
|
|
|
421
425
|
if (t === "mode")
|
|
422
426
|
return ((r = e.filter) == null ? void 0 : r.mode) || "client";
|
|
423
427
|
}
|
|
424
|
-
},
|
|
428
|
+
}, qe = {
|
|
425
429
|
convertTo: (e, t, n, r) => {
|
|
426
430
|
e.rowOption ? e.rowOption[t] = n : e.rowOption = {
|
|
427
431
|
[t]: n
|
|
@@ -438,7 +442,7 @@ const Se = {
|
|
|
438
442
|
}
|
|
439
443
|
return "";
|
|
440
444
|
}
|
|
441
|
-
},
|
|
445
|
+
}, _e = {
|
|
442
446
|
convertTo: (e, t, n, r) => {
|
|
443
447
|
(e.type === "data-grid-column" || e.type === "tree-grid-column") && (e[t] = n, t === "columnTemplateType" && n === "hyperlink" && (e.onClickLinkCommand ? e.columnTemplate = `
|
|
444
448
|
<span class="f-pretend-link f-cursor-pointer"
|
|
@@ -450,32 +454,43 @@ const Se = {
|
|
|
450
454
|
</span>`), t === "columnTemplateType" && n === "default" && (e.columnTemplate = ""), t === "columnTemplateType" && n === "custom" && (e.columnTemplate = ""));
|
|
451
455
|
},
|
|
452
456
|
convertFrom: (e, t, n) => t === "columnTemplate" ? e.columnTemplate : t === "columnTemplateType" ? e.columnTemplateType ? e.columnTemplateType || "default" : e.columnTemplate && !e.onClickLinkCommand ? "custom" : e.columnTemplate && e.onClickLinkCommand ? "hyperlink" : "default" : ""
|
|
457
|
+
}, Ge = {
|
|
458
|
+
convertTo: (e, t, n, r) => {
|
|
459
|
+
e.hierarchy || (e.hierarchy = {
|
|
460
|
+
cascadeOption: {}
|
|
461
|
+
}), e.hierarchy.cascadeOption || (e.hierarchy.cascadeOption = {}), e.hierarchy.cascadeOption[t] = n;
|
|
462
|
+
},
|
|
463
|
+
convertFrom: (e, t, n) => {
|
|
464
|
+
var r, s;
|
|
465
|
+
return !!((s = (r = e.hierarchy) == null ? void 0 : r.cascadeOption) != null && s[t]);
|
|
466
|
+
}
|
|
453
467
|
};
|
|
454
468
|
function U(e, t, n) {
|
|
455
469
|
const r = /* @__PURE__ */ new Map([
|
|
456
|
-
["/converter/appearance.converter",
|
|
457
|
-
["/converter/buttons.converter",
|
|
458
|
-
["/converter/property-editor.converter",
|
|
470
|
+
["/converter/appearance.converter", Te],
|
|
471
|
+
["/converter/buttons.converter", he],
|
|
472
|
+
["/converter/property-editor.converter", Fe],
|
|
459
473
|
["/converter/items-count.converter", He],
|
|
460
474
|
["/converter/type.converter", we],
|
|
461
|
-
["/converter/change-editor.converter",
|
|
462
|
-
["/converter/change-formatter.converter",
|
|
475
|
+
["/converter/change-editor.converter", ke],
|
|
476
|
+
["/converter/change-formatter.converter", Oe],
|
|
463
477
|
["/converter/column-command.converter", Pe],
|
|
464
|
-
["/converter/column-option.converter",
|
|
465
|
-
["/converter/summary.converter",
|
|
466
|
-
["/converter/group.converter",
|
|
467
|
-
["/converter/form-group-label.converter",
|
|
468
|
-
["/converter/field-selector.converter",
|
|
469
|
-
["/converter/pagination.converter",
|
|
470
|
-
["/converter/row-number.converter",
|
|
478
|
+
["/converter/column-option.converter", Me],
|
|
479
|
+
["/converter/summary.converter", Re],
|
|
480
|
+
["/converter/group.converter", je],
|
|
481
|
+
["/converter/form-group-label.converter", Le],
|
|
482
|
+
["/converter/field-selector.converter", ze],
|
|
483
|
+
["/converter/pagination.converter", Ee],
|
|
484
|
+
["/converter/row-number.converter", Ae],
|
|
471
485
|
["/converter/grid-selection.converter", De],
|
|
472
|
-
["/converter/size.converter",
|
|
473
|
-
["/converter/change-formatter-enum.converter",
|
|
486
|
+
["/converter/size.converter", Ne],
|
|
487
|
+
["/converter/change-formatter-enum.converter", $e],
|
|
474
488
|
["/converter/grid-sort.converter", Be],
|
|
475
|
-
["/converter/grid-filter.converter",
|
|
476
|
-
["/converter/row-option.converter",
|
|
477
|
-
["/converter/change-formatter-type.converter",
|
|
478
|
-
|
|
489
|
+
["/converter/grid-filter.converter", Ie],
|
|
490
|
+
["/converter/row-option.converter", qe],
|
|
491
|
+
["/converter/change-formatter-type.converter", _e],
|
|
492
|
+
["/converter/tree-auto-check.converter", Ge]
|
|
493
|
+
]), s = /* @__PURE__ */ new Map([
|
|
479
494
|
["string", { type: "input-group", enableClear: !1 }],
|
|
480
495
|
["boolean", {
|
|
481
496
|
type: "combo-list",
|
|
@@ -499,182 +514,182 @@ function U(e, t, n) {
|
|
|
499
514
|
["array", { type: "button-edit" }],
|
|
500
515
|
["number", { type: "number-spinner", placeholder: "" }],
|
|
501
516
|
["events-editor", { type: "events-editor", hide: !0 }]
|
|
502
|
-
]),
|
|
517
|
+
]), b = Se();
|
|
503
518
|
function d(o, a) {
|
|
504
|
-
return () =>
|
|
519
|
+
return () => b.parseValueSchema(o, a);
|
|
505
520
|
}
|
|
506
|
-
function y(o, a,
|
|
507
|
-
return o.includes("visible") && a.visible !== void 0 ? typeof a.visible == "boolean" ? () => !!a.visible : a.visible === void 0 ? !0 : d(a.visible,
|
|
521
|
+
function y(o, a, c) {
|
|
522
|
+
return o.includes("visible") && a.visible !== void 0 ? typeof a.visible == "boolean" ? () => !!a.visible : a.visible === void 0 ? !0 : d(a.visible, c) : () => !0;
|
|
508
523
|
}
|
|
509
|
-
function
|
|
510
|
-
return o.includes("readonly") && a.readonly !== void 0 ? typeof a.readonly == "boolean" ? () => !!a.readonly : d(a.readonly,
|
|
524
|
+
function C(o, a, c) {
|
|
525
|
+
return o.includes("readonly") && a.readonly !== void 0 ? typeof a.readonly == "boolean" ? () => !!a.readonly : d(a.readonly, c) : () => !1;
|
|
511
526
|
}
|
|
512
527
|
function u(o, a) {
|
|
513
|
-
const
|
|
514
|
-
return typeof
|
|
528
|
+
const c = o.$converter || a;
|
|
529
|
+
return typeof c == "string" && c && r.has(c) ? r.get(c) || null : c || null;
|
|
515
530
|
}
|
|
516
|
-
function
|
|
517
|
-
return Object.keys(o).map((
|
|
518
|
-
const
|
|
519
|
-
|
|
520
|
-
const
|
|
521
|
-
let
|
|
531
|
+
function m(o, a, c, p, g, w = "", F = "") {
|
|
532
|
+
return Object.keys(o).map((T) => {
|
|
533
|
+
const j = z(1), O = T, S = o[T], v = Object.keys(S), D = S.title, E = S.type, A = s.get(E) || { type: "input-group", enableClear: !1 }, R = S.editor ? Object.assign({}, A, S.editor) : Object.assign({}, A), N = y(v, S, a), L = C(v, S, a);
|
|
534
|
+
R.readonly = R.readonly === void 0 ? L() : R.readonly;
|
|
535
|
+
const $ = S.type === "cascade" ? m(S.properties, a, c, p, g, w, F) : [], B = !0;
|
|
536
|
+
let P = u(S, F);
|
|
522
537
|
const oe = x({
|
|
523
538
|
get() {
|
|
524
|
-
if (
|
|
525
|
-
if (["class", "style"].find((
|
|
526
|
-
return
|
|
527
|
-
const
|
|
528
|
-
return Object.prototype.hasOwnProperty.call(
|
|
539
|
+
if (j.value) {
|
|
540
|
+
if (["class", "style"].find((se) => se === O) && !P && (P = r.get("/converter/appearance.converter") || null), P && P.convertFrom)
|
|
541
|
+
return P.convertFrom(c, T, g, w);
|
|
542
|
+
const M = c[T];
|
|
543
|
+
return Object.prototype.hasOwnProperty.call(S, "defaultValue") && (M === void 0 || typeof M == "string" && M === "") ? S.type === "boolean" ? S.defaultValue : S.defaultValue || "" : M;
|
|
529
544
|
}
|
|
530
545
|
return null;
|
|
531
546
|
},
|
|
532
|
-
set(
|
|
533
|
-
|
|
547
|
+
set(M) {
|
|
548
|
+
j.value += 1, P && P.convertTo ? (P.convertTo(p, T, M, g, w), P.convertTo(c, T, M, g, w)) : (p[T] = M, c[T] = M);
|
|
534
549
|
}
|
|
535
|
-
}), { refreshPanelAfterChanged: ie, description: ae, isExpand: le, parentPropertyID:
|
|
550
|
+
}), { refreshPanelAfterChanged: ie, description: ae, isExpand: le, parentPropertyID: ce } = S, I = { propertyID: O, propertyName: D, propertyType: E, propertyValue: oe, editor: R, visible: N, readonly: L, cascadeConfig: $, hideCascadeTitle: B, refreshPanelAfterChanged: ie, description: ae, isExpand: le, parentPropertyID: ce };
|
|
536
551
|
return a[O] = I, I;
|
|
537
552
|
});
|
|
538
553
|
}
|
|
539
|
-
function i(o, a,
|
|
540
|
-
const
|
|
541
|
-
return g && g.categories ? Object.keys(g.categories).map((
|
|
542
|
-
const
|
|
543
|
-
return { categoryId:
|
|
554
|
+
function i(o, a, c = {}) {
|
|
555
|
+
const p = {}, g = e[o];
|
|
556
|
+
return g && g.categories ? Object.keys(g.categories).map((F) => {
|
|
557
|
+
const k = g.categories[F], T = k == null ? void 0 : k.title, j = m(k.properties || {}, p, {}, c, a);
|
|
558
|
+
return { categoryId: F, categoryName: T, properties: j };
|
|
544
559
|
}) : [];
|
|
545
560
|
}
|
|
546
|
-
function l(o, a,
|
|
547
|
-
const
|
|
548
|
-
if (
|
|
549
|
-
const
|
|
550
|
-
|
|
551
|
-
|
|
561
|
+
function l(o, a, c, p, g = "") {
|
|
562
|
+
const w = a.$ref.schema, F = a.$ref.converter, k = c[w], T = k.type, j = n(k), O = {}, S = e[T];
|
|
563
|
+
if (S && S.categories) {
|
|
564
|
+
const v = S.categories[o], D = v == null ? void 0 : v.title;
|
|
565
|
+
F && Object.keys(v.properties).forEach((R) => {
|
|
566
|
+
v.properties[R].$converter = F;
|
|
552
567
|
});
|
|
553
|
-
const
|
|
554
|
-
return { categoryId: o, categoryName:
|
|
568
|
+
const E = (v == null ? void 0 : v.properties) || {}, A = m(E, O, j, k, p, g);
|
|
569
|
+
return { categoryId: o, categoryName: D, properties: A };
|
|
555
570
|
}
|
|
556
571
|
return { categoryId: o, categoryName: "", properties: [] };
|
|
557
572
|
}
|
|
558
|
-
function
|
|
559
|
-
const
|
|
560
|
-
let
|
|
561
|
-
if (!(
|
|
573
|
+
function f(o, a, c, p, g) {
|
|
574
|
+
const w = o.type, F = n(o), k = {};
|
|
575
|
+
let T = g || e[w];
|
|
576
|
+
if (!(T && Object.keys(T).length > 0) && c && c.getPropConfig && (T = c.getPropConfig(p)), T && T.categories) {
|
|
562
577
|
const O = [];
|
|
563
|
-
return Object.keys(
|
|
564
|
-
const
|
|
565
|
-
if (
|
|
566
|
-
O.push(l(
|
|
578
|
+
return Object.keys(T.categories).map((S) => {
|
|
579
|
+
const v = T.categories[S];
|
|
580
|
+
if (v.$ref) {
|
|
581
|
+
O.push(l(S, v, o, a, p));
|
|
567
582
|
return;
|
|
568
583
|
}
|
|
569
|
-
const
|
|
570
|
-
O.push({ categoryId:
|
|
584
|
+
const D = v == null ? void 0 : v.title, E = v == null ? void 0 : v.tabId, A = v == null ? void 0 : v.tabName, R = v == null ? void 0 : v.hide, N = v == null ? void 0 : v.hideTitle, L = m(v.properties || {}, k, F, o, a, p, v.$converter), { setPropertyRelates: $ } = v, B = v == null ? void 0 : v.parentPropertyID;
|
|
585
|
+
O.push({ categoryId: S, categoryName: D, tabId: E, tabName: A, hide: R, properties: L, hideTitle: N, setPropertyRelates: $, parentPropertyID: B });
|
|
571
586
|
}), O;
|
|
572
587
|
}
|
|
573
588
|
return [];
|
|
574
589
|
}
|
|
575
590
|
return {
|
|
576
|
-
getPropertyConfigBySchema:
|
|
591
|
+
getPropertyConfigBySchema: f,
|
|
577
592
|
getPropertyConfigByType: i,
|
|
578
593
|
propertyConverterMap: r
|
|
579
594
|
};
|
|
580
595
|
}
|
|
581
596
|
const X = {}, Y = {};
|
|
582
|
-
U(X, Y,
|
|
583
|
-
const V = {}, K = {}, { resolveSchemaWithDefaultValue:
|
|
584
|
-
U(ee, te,
|
|
585
|
-
function
|
|
586
|
-
return J[t.title] = t, Q[t.title] = r, X[t.title] =
|
|
597
|
+
U(X, Y, ge);
|
|
598
|
+
const V = {}, K = {}, { resolveSchemaWithDefaultValue: We } = Z(V, K), ee = {}, te = {};
|
|
599
|
+
U(ee, te, We);
|
|
600
|
+
function Ze(e, t, n = /* @__PURE__ */ new Map(), r = (d, y, C, u) => y, s = {}, b = (d) => d) {
|
|
601
|
+
return J[t.title] = t, Q[t.title] = r, X[t.title] = s, Y[t.title] = b, V[t.title] = t, K[t.title] = r, ee[t.title] = s, te[t.title] = b, (d = {}, y = !0) => {
|
|
587
602
|
if (!y)
|
|
588
|
-
return
|
|
589
|
-
const
|
|
590
|
-
return Object.assign(u,
|
|
603
|
+
return Ce(d, n);
|
|
604
|
+
const C = ye(d, t, n), u = Object.keys(e).reduce((m, i) => (m[i] = e[i].default, m), {});
|
|
605
|
+
return Object.assign(u, C);
|
|
591
606
|
};
|
|
592
607
|
}
|
|
593
|
-
function
|
|
608
|
+
function Je(e, t) {
|
|
594
609
|
if (!e || e.length < 1)
|
|
595
610
|
return null;
|
|
596
611
|
for (const n of e) {
|
|
597
612
|
if (n.id === t)
|
|
598
613
|
return n;
|
|
599
614
|
if (n.children) {
|
|
600
|
-
const r = n.children.find((
|
|
615
|
+
const r = n.children.find((s) => s.id === t);
|
|
601
616
|
if (r)
|
|
602
617
|
return r;
|
|
603
618
|
}
|
|
604
619
|
}
|
|
605
620
|
return null;
|
|
606
621
|
}
|
|
607
|
-
function
|
|
622
|
+
function Qe() {
|
|
608
623
|
function e(t, n) {
|
|
609
624
|
var y;
|
|
610
625
|
const r = (y = t.toolbar) == null ? void 0 : y.buttons;
|
|
611
626
|
if (!r || r.length < 1)
|
|
612
627
|
return null;
|
|
613
|
-
const [
|
|
628
|
+
const [s, b] = n.payloads, d = Je(r, b);
|
|
614
629
|
return d ? d.onClick || d.click : null;
|
|
615
630
|
}
|
|
616
631
|
return {
|
|
617
632
|
resolve: e
|
|
618
633
|
};
|
|
619
634
|
}
|
|
620
|
-
function
|
|
635
|
+
function Ue(e, t, n) {
|
|
621
636
|
return t ? { enableAccordion: n.accordionMode } : { enableAccordion: "" };
|
|
622
637
|
}
|
|
623
|
-
function
|
|
624
|
-
var
|
|
625
|
-
|
|
638
|
+
function Xe(e, t) {
|
|
639
|
+
var r, s;
|
|
640
|
+
const n = {
|
|
626
641
|
buttons: t.buttons,
|
|
627
642
|
buttonPosition: t.position,
|
|
628
|
-
buttonsClass: (n = t.appearance) == null ? void 0 : n.class,
|
|
629
643
|
buttonsVisible: t.visible
|
|
630
644
|
};
|
|
645
|
+
return (r = t.appearance) != null && r.class && (n.buttonsClass = (s = t.appearance) == null ? void 0 : s.class), n;
|
|
631
646
|
}
|
|
632
|
-
const
|
|
647
|
+
const Ye = /* @__PURE__ */ new Map([
|
|
633
648
|
["appearance", pe],
|
|
634
649
|
["expanded", "expandStatus"],
|
|
635
|
-
["enableAccordion",
|
|
636
|
-
["toolbar",
|
|
650
|
+
["enableAccordion", Ue],
|
|
651
|
+
["toolbar", Xe]
|
|
637
652
|
]);
|
|
638
|
-
function
|
|
639
|
-
var
|
|
653
|
+
function Ve(e, t) {
|
|
654
|
+
var b, d;
|
|
640
655
|
if (!(t != null && t.schema))
|
|
641
656
|
return;
|
|
642
|
-
const n = ((d = (
|
|
643
|
-
|
|
657
|
+
const n = ((d = (b = t.schema) == null ? void 0 : b.appearance) == null ? void 0 : d.class) || "", r = t.elementRef, s = window.getComputedStyle(r);
|
|
658
|
+
s && s.display === "flex" && !n.includes("f-page-child-fill") && (e.appearance.class += " d-block");
|
|
644
659
|
}
|
|
645
|
-
function
|
|
646
|
-
var
|
|
647
|
-
const n = Math.random().toString().slice(2, 6), r = t.parentComponentInstance,
|
|
648
|
-
Object.assign(
|
|
660
|
+
function Ke(e, t) {
|
|
661
|
+
var C;
|
|
662
|
+
const n = Math.random().toString().slice(2, 6), r = t.parentComponentInstance, s = e.getSchemaByType("section");
|
|
663
|
+
Object.assign(s, {
|
|
649
664
|
id: `section-${n}`,
|
|
650
665
|
appearance: {
|
|
651
666
|
class: "f-section-in-mainsubcard"
|
|
652
667
|
},
|
|
653
|
-
mainTitle: t.mainTitle ||
|
|
668
|
+
mainTitle: t.mainTitle || s.mainTitle || "标题"
|
|
654
669
|
});
|
|
655
|
-
const
|
|
656
|
-
Object.assign(
|
|
670
|
+
const b = e.getSchemaByType("content-container");
|
|
671
|
+
Object.assign(b, {
|
|
657
672
|
id: `container-${n}`,
|
|
658
673
|
appearance: {
|
|
659
674
|
class: "f-struct-wrapper"
|
|
660
675
|
},
|
|
661
|
-
contents: [
|
|
676
|
+
contents: [s]
|
|
662
677
|
});
|
|
663
|
-
const d = r.schema, y = ((
|
|
678
|
+
const d = r.schema, y = ((C = d.appearance) == null ? void 0 : C.class) || "";
|
|
664
679
|
switch (d && d.type) {
|
|
665
680
|
case G["splitter-pane"].type: {
|
|
666
|
-
|
|
681
|
+
s.appearance.class = "f-section-in-main", y.includes("f-page-child-fill") && (b.appearance.class += " f-struct-wrapper-child", s.fill = !0);
|
|
667
682
|
break;
|
|
668
683
|
}
|
|
669
684
|
case G["content-container"].type:
|
|
670
|
-
d.isLikeCardContainer && y.includes("f-struct-like-card-child-fill") && (
|
|
685
|
+
d.isLikeCardContainer && y.includes("f-struct-like-card-child-fill") && (b.appearance.class += " f-struct-wrapper-child", s.fill = !0);
|
|
671
686
|
}
|
|
672
|
-
return
|
|
687
|
+
return Ve(b, r), b;
|
|
673
688
|
}
|
|
674
|
-
function
|
|
675
|
-
return n.parentComponentInstance ?
|
|
689
|
+
function et(e, t, n) {
|
|
690
|
+
return n.parentComponentInstance ? Ke(e, n) : t;
|
|
676
691
|
}
|
|
677
|
-
const
|
|
692
|
+
const tt = "https://json-schema.org/draft/2020-12/schema", nt = "https://farris-design.gitee.io/section.schema.json", rt = "section", ot = "A Farris Container Component", it = "object", at = {
|
|
678
693
|
id: {
|
|
679
694
|
description: "The unique identifier for a Section",
|
|
680
695
|
type: "string"
|
|
@@ -770,7 +785,7 @@ const Ke = "https://json-schema.org/draft/2020-12/schema", et = "https://farris-
|
|
|
770
785
|
type: "string",
|
|
771
786
|
default: ""
|
|
772
787
|
},
|
|
773
|
-
|
|
788
|
+
extendAreaClass: {
|
|
774
789
|
description: "",
|
|
775
790
|
type: "string",
|
|
776
791
|
default: ""
|
|
@@ -853,19 +868,29 @@ const Ke = "https://json-schema.org/draft/2020-12/schema", et = "https://farris-
|
|
|
853
868
|
description: "",
|
|
854
869
|
type: "function",
|
|
855
870
|
default: null
|
|
871
|
+
},
|
|
872
|
+
extendedAreaHtml: {
|
|
873
|
+
description: "",
|
|
874
|
+
type: "string",
|
|
875
|
+
default: ""
|
|
876
|
+
},
|
|
877
|
+
extendAreaRenderFunction: {
|
|
878
|
+
description: "",
|
|
879
|
+
type: "function",
|
|
880
|
+
default: null
|
|
856
881
|
}
|
|
857
|
-
},
|
|
882
|
+
}, lt = [
|
|
858
883
|
"id",
|
|
859
884
|
"type",
|
|
860
885
|
"contents"
|
|
861
|
-
],
|
|
862
|
-
$schema:
|
|
863
|
-
$id:
|
|
864
|
-
title:
|
|
865
|
-
description:
|
|
866
|
-
type:
|
|
867
|
-
properties:
|
|
868
|
-
required:
|
|
886
|
+
], ct = {
|
|
887
|
+
$schema: tt,
|
|
888
|
+
$id: nt,
|
|
889
|
+
title: rt,
|
|
890
|
+
description: ot,
|
|
891
|
+
type: it,
|
|
892
|
+
properties: at,
|
|
893
|
+
required: lt
|
|
869
894
|
}, ne = {
|
|
870
895
|
/** 设置内容区域样式 */
|
|
871
896
|
contentClass: { type: String, default: "" },
|
|
@@ -886,14 +911,16 @@ const Ke = "https://json-schema.org/draft/2020-12/schema", et = "https://farris-
|
|
|
886
911
|
expandLabel: { type: String, default: "展开" },
|
|
887
912
|
/** 收起文本 */
|
|
888
913
|
collapseLabel: { type: String, default: "收起" },
|
|
889
|
-
/**
|
|
914
|
+
/** 头部区域的自定义样式 */
|
|
890
915
|
headerClass: { type: String, default: "" },
|
|
916
|
+
/** 头部内容区域的自定义样式 */
|
|
917
|
+
headerContentClass: { type: String, default: "" },
|
|
891
918
|
/** 设置是否启用最大化 */
|
|
892
919
|
enableMaximize: { type: Boolean, default: !1 },
|
|
893
|
-
/** 头部扩展区域的自定义样式。配置头部扩展区域模板后,此属性有效。 */
|
|
894
|
-
headerContentClass: { type: String, default: "" },
|
|
895
920
|
/** 扩展区域的自定义样式。配置扩展区域模板后,此属性有效。 */
|
|
896
|
-
|
|
921
|
+
extendAreaClass: { type: String, default: "" },
|
|
922
|
+
/** 扩展区域的自定义模版。 */
|
|
923
|
+
extendAreaRenderFunction: { type: Function },
|
|
897
924
|
/** 按钮组 */
|
|
898
925
|
buttons: { type: Array, default: [] },
|
|
899
926
|
/** 按钮组的位置,inHead:头部区域| inContent:内容区域 */
|
|
@@ -925,10 +952,10 @@ const Ke = "https://json-schema.org/draft/2020-12/schema", et = "https://farris-
|
|
|
925
952
|
// toolbarPosition: { type: String, default: '' },
|
|
926
953
|
// toolbarButtons: { type: Array<object>, default: [] },
|
|
927
954
|
// toolbar: { type: Object as PropType<ToolbarConfig>, default: {} }
|
|
928
|
-
},
|
|
929
|
-
function
|
|
955
|
+
}, St = Ze(ne, ct, Ye, et), Tt = Qe();
|
|
956
|
+
function st(e, t, n) {
|
|
930
957
|
let r;
|
|
931
|
-
function
|
|
958
|
+
function s(C = 1) {
|
|
932
959
|
const u = [
|
|
933
960
|
"body>.f-datagrid-settings-simple-host",
|
|
934
961
|
"body>div",
|
|
@@ -939,17 +966,17 @@ function lt(e, t, n) {
|
|
|
939
966
|
"body>.popover.show",
|
|
940
967
|
"body>filter-row-panel>.f-datagrid-filter-panel",
|
|
941
968
|
"body>.f-section-maximize"
|
|
942
|
-
],
|
|
943
|
-
const { display:
|
|
944
|
-
return
|
|
969
|
+
], m = Array.from(document.body.querySelectorAll(u.join(","))).filter((l) => l).map((l) => {
|
|
970
|
+
const { display: f, zIndex: o } = window.getComputedStyle(l);
|
|
971
|
+
return f === "none" ? 0 : parseInt(o, 10);
|
|
945
972
|
}).filter((l) => l);
|
|
946
|
-
let i = Math.max(...
|
|
947
|
-
return i < 1040 && (i = 1040), i +
|
|
973
|
+
let i = Math.max(...m);
|
|
974
|
+
return i < 1040 && (i = 1040), i + C;
|
|
948
975
|
}
|
|
949
|
-
function
|
|
976
|
+
function b() {
|
|
950
977
|
r = e.value.nextElementSibling;
|
|
951
|
-
const
|
|
952
|
-
|
|
978
|
+
const C = document && document.querySelector("body");
|
|
979
|
+
C && (C.appendChild(e.value), e.value.style.zIndex = s());
|
|
953
980
|
}
|
|
954
981
|
function d() {
|
|
955
982
|
r ? t.value.insertBefore(
|
|
@@ -958,169 +985,154 @@ function lt(e, t, n) {
|
|
|
958
985
|
) : t.value.appendChild(e.value), e.value.style.zIndex = null;
|
|
959
986
|
}
|
|
960
987
|
function y() {
|
|
961
|
-
!e || !t.value || (n.value = !n.value, n.value ?
|
|
988
|
+
!e || !t.value || (n.value = !n.value, n.value ? b() : d());
|
|
962
989
|
}
|
|
963
990
|
return { onClickMaxMinIcon: y };
|
|
964
991
|
}
|
|
965
992
|
function re(e, t) {
|
|
966
|
-
const n =
|
|
967
|
-
function d(u,
|
|
968
|
-
t.emit("click", u,
|
|
993
|
+
const n = z(e.buttons), r = x(() => e.buttonPosition === "inHead" ? "right" : "left"), s = x(() => "f-section-toolbar col-6" + (e.buttonPosition === "inHead" ? " f-toolbar f-section-header--toolbar" : " f-section-content--toolbar") + (e.buttonsClass ? " " + e.buttonsClass : "")), b = x(() => e.buttons && e.buttons.length > 0 && e.buttonPosition === "inHead");
|
|
994
|
+
function d(u, m) {
|
|
995
|
+
t.emit("click", u, m);
|
|
969
996
|
}
|
|
970
997
|
function y() {
|
|
971
|
-
return
|
|
972
|
-
customClass:
|
|
998
|
+
return b.value && h(ve, {
|
|
999
|
+
customClass: s.value,
|
|
973
1000
|
items: n.value,
|
|
974
1001
|
onClick: d,
|
|
975
1002
|
alignment: r.value,
|
|
976
1003
|
visible: e.buttonsVisible
|
|
977
1004
|
}, null);
|
|
978
1005
|
}
|
|
979
|
-
function
|
|
980
|
-
return
|
|
981
|
-
class:
|
|
982
|
-
}, [
|
|
1006
|
+
function C() {
|
|
1007
|
+
return h("div", {
|
|
1008
|
+
class: s.value
|
|
1009
|
+
}, [h("div", {
|
|
983
1010
|
class: "w-100",
|
|
984
1011
|
style: "flex:1"
|
|
985
1012
|
}, [e.toolbarRenderFunction()])]);
|
|
986
1013
|
}
|
|
987
|
-
return () => e.toolbarRenderFunction ?
|
|
1014
|
+
return () => e.toolbarRenderFunction ? C() : y();
|
|
988
1015
|
}
|
|
989
|
-
function
|
|
1016
|
+
function ut(e, t, n, r, s, b) {
|
|
990
1017
|
const d = {
|
|
991
1018
|
collapseLabel: W.getRealPropertyValue(e.collapseLabel, "收起", "section.collapseLabel"),
|
|
992
1019
|
expandLabel: W.getRealPropertyValue(e.expandLabel, "展开", "section.expandLabel")
|
|
993
|
-
}, y = x(() => e.buttonPosition),
|
|
1020
|
+
}, y = x(() => e.buttonPosition), C = re(e, t), {
|
|
994
1021
|
onClickMaxMinIcon: u
|
|
995
|
-
} =
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
});
|
|
1001
|
-
function m(h) {
|
|
1002
|
-
h.stopPropagation(), e.enableAccordion !== "" && (n.value = !n.value);
|
|
1022
|
+
} = st(r, s, b), m = x(() => e.enableMaximize), i = x(() => e.enableAccordion !== ""), l = x(() => H({
|
|
1023
|
+
"f-section-header": !0
|
|
1024
|
+
}, e.headerClass));
|
|
1025
|
+
function f(F) {
|
|
1026
|
+
F.stopPropagation(), e.enableAccordion !== "" && (n.value = !n.value);
|
|
1003
1027
|
}
|
|
1004
1028
|
function o() {
|
|
1005
|
-
const
|
|
1029
|
+
const F = x(() => ({
|
|
1006
1030
|
btn: !0,
|
|
1007
1031
|
"f-btn-collapse-expand": !0,
|
|
1008
1032
|
"f-btn-mx": !0,
|
|
1009
1033
|
"f-state-expand": n.value
|
|
1010
|
-
})),
|
|
1034
|
+
})), k = x(() => ({
|
|
1011
1035
|
"f-icon": !0,
|
|
1012
|
-
"f-icon-maximize": !
|
|
1013
|
-
"f-icon-minimize":
|
|
1036
|
+
"f-icon-maximize": !b.value,
|
|
1037
|
+
"f-icon-minimize": b.value
|
|
1014
1038
|
}));
|
|
1015
|
-
return
|
|
1039
|
+
return h("div", {
|
|
1016
1040
|
class: "f-max-accordion"
|
|
1017
|
-
}, [
|
|
1018
|
-
class:
|
|
1041
|
+
}, [m.value ? h("span", {
|
|
1042
|
+
class: k.value,
|
|
1019
1043
|
onClick: u
|
|
1020
|
-
}, null) : "", i.value ?
|
|
1021
|
-
class:
|
|
1022
|
-
onClick:
|
|
1023
|
-
}, [
|
|
1044
|
+
}, null) : "", i.value ? h("button", {
|
|
1045
|
+
class: F.value,
|
|
1046
|
+
onClick: f
|
|
1047
|
+
}, [h("span", null, [n.value ? d.collapseLabel : d.expandLabel])]) : ""]);
|
|
1024
1048
|
}
|
|
1025
1049
|
function a() {
|
|
1026
|
-
return
|
|
1050
|
+
return h("div", {
|
|
1027
1051
|
class: "f-title"
|
|
1028
|
-
}, [
|
|
1052
|
+
}, [h("h4", {
|
|
1029
1053
|
class: "f-title-text"
|
|
1030
|
-
}, [e.mainTitle]), e.subTitle &&
|
|
1054
|
+
}, [e.mainTitle]), e.subTitle && h("span", null, [e.subTitle])]);
|
|
1031
1055
|
}
|
|
1032
|
-
function
|
|
1033
|
-
const
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
})
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
}, [e.headerContentRenderFunction()]) : null;
|
|
1056
|
+
function c() {
|
|
1057
|
+
const F = x(() => H({
|
|
1058
|
+
"f-content": !0
|
|
1059
|
+
}, e.headerContentClass));
|
|
1060
|
+
return t.slots.headerContent ? h("div", {
|
|
1061
|
+
class: F.value
|
|
1062
|
+
}, [t.slots.headerContent()]) : e.headerContentRenderFunction ? h("div", {
|
|
1063
|
+
class: F.value
|
|
1064
|
+
}, [e.headerContentRenderFunction()]) : h("div", {
|
|
1065
|
+
class: F.value
|
|
1066
|
+
}, null);
|
|
1044
1067
|
}
|
|
1045
|
-
function
|
|
1068
|
+
function p() {
|
|
1046
1069
|
return t.slots.headerTitle ? t.slots.headerTitle() : e.headerTitleRenderFunction ? e.headerTitleRenderFunction() : a();
|
|
1047
1070
|
}
|
|
1048
1071
|
function g() {
|
|
1049
|
-
return
|
|
1072
|
+
return h("div", {
|
|
1050
1073
|
class: l.value
|
|
1051
|
-
}, [
|
|
1074
|
+
}, [p(), c(), y.value === "inHead" && C(), (m.value || i.value) && o()]);
|
|
1052
1075
|
}
|
|
1053
|
-
function
|
|
1054
|
-
return t.slots.header ?
|
|
1076
|
+
function w() {
|
|
1077
|
+
return t.slots.header ? h("div", {
|
|
1055
1078
|
class: l.value
|
|
1056
|
-
}, [t.slots.header()]) : e.headerRenderFunction ?
|
|
1079
|
+
}, [t.slots.header()]) : e.headerRenderFunction ? h("div", {
|
|
1057
1080
|
class: l.value
|
|
1058
1081
|
}, [e.headerRenderFunction()]) : g();
|
|
1059
1082
|
}
|
|
1060
|
-
return () => e.showHeader &&
|
|
1083
|
+
return () => e.showHeader && w();
|
|
1061
1084
|
}
|
|
1062
|
-
const
|
|
1085
|
+
const dt = /* @__PURE__ */ ue({
|
|
1063
1086
|
name: "FSection",
|
|
1064
1087
|
props: ne,
|
|
1065
1088
|
emits: ["click"],
|
|
1066
1089
|
setup(e, t) {
|
|
1067
|
-
const n =
|
|
1068
|
-
const
|
|
1090
|
+
const n = z(), r = z(), s = z(e.customClass), b = x(() => e.enableAccordion), d = z(e.expandStatus), y = x(() => e.buttonPosition), C = z(!1), u = ut(e, t, d, n, r, C), m = re(e, t), i = x(() => {
|
|
1091
|
+
const c = {
|
|
1069
1092
|
"f-section": !0,
|
|
1070
|
-
"f-section-accordion":
|
|
1071
|
-
"f-state-collapse":
|
|
1072
|
-
"f-section-custom-accordion":
|
|
1093
|
+
"f-section-accordion": b.value === "default",
|
|
1094
|
+
"f-state-collapse": b.value && !d.value,
|
|
1095
|
+
"f-section-custom-accordion": b.value === "custom",
|
|
1073
1096
|
"f-section-fill": e.fill,
|
|
1074
|
-
"f-section-maximize":
|
|
1097
|
+
"f-section-maximize": C.value
|
|
1075
1098
|
};
|
|
1076
|
-
return
|
|
1077
|
-
}), l = x(() =>
|
|
1099
|
+
return H(c, s.value);
|
|
1100
|
+
}), l = x(() => H({
|
|
1078
1101
|
"f-section-content": !0
|
|
1079
|
-
}, e.contentClass)),
|
|
1102
|
+
}, e.contentClass)), f = x(() => H({
|
|
1080
1103
|
"f-section-extend": !0
|
|
1081
|
-
}, e.
|
|
1104
|
+
}, e.extendAreaClass));
|
|
1082
1105
|
function o() {
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1106
|
+
if (t.slots.extend)
|
|
1107
|
+
return h("div", {
|
|
1108
|
+
class: f.value
|
|
1109
|
+
}, [t.slots.extend()]);
|
|
1110
|
+
if (e.extendAreaRenderFunction)
|
|
1111
|
+
return h("div", {
|
|
1112
|
+
class: f.value
|
|
1113
|
+
}, [e.extendAreaRenderFunction()]);
|
|
1086
1114
|
}
|
|
1087
1115
|
function a() {
|
|
1088
|
-
return
|
|
1116
|
+
return h("div", {
|
|
1089
1117
|
class: l.value
|
|
1090
|
-
}, [y.value === "inContent" &&
|
|
1118
|
+
}, [y.value === "inContent" && m(), t.slots.default && t.slots.default()]);
|
|
1091
1119
|
}
|
|
1092
|
-
return de(() => e.expandStatus, (
|
|
1093
|
-
|
|
1120
|
+
return de(() => e.expandStatus, (c, p) => {
|
|
1121
|
+
c !== p && (d.value = c);
|
|
1094
1122
|
}), fe(() => {
|
|
1095
1123
|
n.value && n.value && (r.value = n.value.parentElement);
|
|
1096
|
-
}), () => e.visible ?
|
|
1124
|
+
}), () => e.visible ? h("div", {
|
|
1097
1125
|
class: i.value,
|
|
1098
1126
|
ref: n,
|
|
1099
1127
|
style: e.customStyle
|
|
1100
1128
|
}, [u(), o(), a()]) : null;
|
|
1101
1129
|
}
|
|
1102
|
-
}),
|
|
1103
|
-
id: { type: String, default: "" },
|
|
1104
|
-
items: { type: Object, default: {} },
|
|
1105
|
-
class: { type: String, default: "" },
|
|
1106
|
-
text: { type: String, default: "" },
|
|
1107
|
-
disabled: { type: Boolean, default: !1 },
|
|
1108
|
-
icon: { type: String, default: "" },
|
|
1109
|
-
componentId: { type: String, default: "" },
|
|
1110
|
-
// 是否展开子级
|
|
1111
|
-
expanded: { type: Boolean, default: !1 },
|
|
1112
|
-
alignment: { Type: String, default: "right" },
|
|
1113
|
-
split: { type: Boolean, default: !1 },
|
|
1114
|
-
// 是否下拉
|
|
1115
|
-
isDP: { type: Boolean, default: !1 },
|
|
1116
|
-
// 是否下拉项
|
|
1117
|
-
isDPItem: { type: Boolean, default: !1 }
|
|
1118
|
-
}, St = me(ct);
|
|
1130
|
+
}), ht = Object.assign({}, be), Ft = me(dt);
|
|
1119
1131
|
export {
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1132
|
+
dt as Section,
|
|
1133
|
+
Ft as default,
|
|
1134
|
+
Tt as eventHandlerResolver,
|
|
1135
|
+
St as propsResolver,
|
|
1124
1136
|
ne as sectionProps,
|
|
1125
|
-
|
|
1137
|
+
ht as sectionToolbarItemProps
|
|
1126
1138
|
};
|