@farris/ui-vue 1.3.1 → 1.3.3
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/accordion/index.esm.js +103 -99
- package/components/accordion/index.umd.cjs +1 -1
- package/components/avatar/index.esm.js +301 -351
- package/components/avatar/index.umd.cjs +1 -1
- package/components/binding-selector/index.esm.js +444 -0
- package/components/binding-selector/index.umd.cjs +1 -0
- package/components/binding-selector/package.json +8 -0
- package/components/border-editor/index.esm.js +5 -3
- package/components/border-editor/index.umd.cjs +1 -1
- package/components/button-edit/index.esm.js +143 -139
- package/components/button-edit/index.umd.cjs +1 -1
- package/components/calendar/index.esm.js +407 -396
- package/components/calendar/index.umd.cjs +1 -1
- package/components/capsule/index.esm.js +266 -255
- package/components/capsule/index.umd.cjs +1 -1
- package/components/checkbox/index.esm.js +628 -641
- package/components/checkbox/index.umd.cjs +1 -1
- package/components/color-picker/index.esm.js +379 -374
- package/components/color-picker/index.umd.cjs +2 -2
- package/components/combo-list/index.esm.js +471 -471
- package/components/combo-list/index.umd.cjs +1 -1
- package/components/combo-tree/index.esm.js +155 -148
- package/components/combo-tree/index.umd.cjs +1 -1
- package/components/common/index.esm.js +487 -478
- package/components/common/index.umd.cjs +1 -1
- package/components/component/index.esm.js +330 -279
- package/components/component/index.umd.cjs +1 -1
- package/components/condition/index.esm.js +1171 -1277
- package/components/condition/index.umd.cjs +1 -1
- package/components/content-container/index.esm.js +220 -204
- package/components/content-container/index.umd.cjs +1 -1
- package/components/data-grid/index.esm.js +4743 -4641
- package/components/data-grid/index.umd.cjs +1 -1
- package/components/data-view/index.esm.js +2916 -3019
- package/components/data-view/index.umd.cjs +1 -1
- package/components/date-picker/index.esm.js +2375 -2590
- package/components/date-picker/index.umd.cjs +1 -1
- package/components/designer-canvas/index.css +1 -1
- package/components/designer-canvas/index.esm.js +9518 -1198
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/designer-outline/index.esm.js +2 -1
- package/components/designer-outline/index.umd.cjs +1 -1
- package/components/drawer/index.esm.js +34 -38
- package/components/drawer/index.umd.cjs +1 -1
- package/components/dropdown/index.esm.js +149 -138
- package/components/dropdown/index.umd.cjs +2 -2
- package/components/dynamic-form/index.esm.js +1602 -1740
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/dynamic-resolver/index.esm.js +159 -151
- package/components/dynamic-resolver/index.umd.cjs +1 -1
- package/components/dynamic-view/index.esm.js +218 -218
- package/components/dynamic-view/index.umd.cjs +1 -1
- package/components/event-parameter/index.esm.js +311 -0
- package/components/event-parameter/index.umd.cjs +1 -0
- package/components/event-parameter/package.json +8 -0
- package/components/events-editor/index.css +1 -1
- package/components/events-editor/index.esm.js +533 -563
- package/components/events-editor/index.umd.cjs +1 -1
- package/components/expression-editor/index.esm.js +95 -91
- package/components/expression-editor/index.umd.cjs +1 -1
- package/components/external-container/index.esm.js +2356 -2455
- package/components/external-container/index.umd.cjs +1 -1
- package/components/field-selector/index.esm.js +3048 -3308
- package/components/field-selector/index.umd.cjs +1 -1
- package/components/filter-bar/index.css +1 -1
- package/components/filter-bar/index.esm.js +10537 -3249
- package/components/filter-bar/index.umd.cjs +1 -1
- package/components/flow-canvas/index.css +1 -1
- package/components/flow-canvas/index.esm.js +9781 -1327
- package/components/flow-canvas/index.umd.cjs +1 -1
- package/components/image-cropper/index.esm.js +353 -341
- package/components/image-cropper/index.umd.cjs +1 -1
- package/components/input-group/index.esm.js +510 -827
- package/components/input-group/index.umd.cjs +1 -1
- package/components/layout/index.esm.js +278 -268
- package/components/layout/index.umd.cjs +1 -1
- package/components/list-nav/index.esm.js +144 -136
- package/components/list-nav/index.umd.cjs +1 -1
- package/components/list-view/index.esm.js +2139 -2237
- package/components/list-view/index.umd.cjs +1 -1
- package/components/lookup/index.esm.js +6414 -6367
- package/components/lookup/index.umd.cjs +1 -1
- package/components/mapping-editor/index.esm.js +5216 -5114
- package/components/mapping-editor/index.umd.cjs +1 -1
- package/components/message-box/index.esm.js +252 -252
- package/components/message-box/index.umd.cjs +1 -1
- package/components/modal/index.esm.js +70 -70
- package/components/modal/index.umd.cjs +1 -1
- package/components/nav/index.esm.js +486 -984
- package/components/nav/index.umd.cjs +3 -3
- package/components/number-range/index.esm.js +446 -498
- package/components/number-range/index.umd.cjs +1 -1
- package/components/number-spinner/index.esm.js +363 -388
- package/components/number-spinner/index.umd.cjs +1 -1
- package/components/order/index.esm.js +1050 -1308
- package/components/order/index.umd.cjs +1 -1
- package/components/page-footer/index.esm.js +134 -131
- package/components/page-footer/index.umd.cjs +1 -1
- package/components/page-header/index.esm.js +1072 -1082
- package/components/page-header/index.umd.cjs +1 -1
- package/components/pagination/index.esm.js +412 -910
- package/components/pagination/index.umd.cjs +1 -1
- package/components/progress/index.esm.js +214 -203
- package/components/progress/index.umd.cjs +3 -3
- package/components/property-editor/index.esm.js +1361 -1536
- package/components/property-editor/index.umd.cjs +2 -2
- package/components/property-panel/index.esm.js +650 -677
- package/components/property-panel/index.umd.cjs +1 -1
- package/components/query-solution/index.css +1 -1
- package/components/query-solution/index.esm.js +12344 -5048
- package/components/query-solution/index.umd.cjs +6 -1
- package/components/radio-button/index.esm.js +97 -97
- package/components/radio-button/index.umd.cjs +1 -1
- package/components/radio-group/index.css +1 -1
- package/components/radio-group/index.esm.js +1821 -565
- package/components/radio-group/index.umd.cjs +1 -1
- package/components/rate/index.esm.js +251 -244
- package/components/rate/index.umd.cjs +1 -1
- package/components/response-layout/index.esm.js +151 -140
- package/components/response-layout/index.umd.cjs +1 -1
- package/components/response-layout-editor/index.esm.js +707 -676
- package/components/response-layout-editor/index.umd.cjs +1 -1
- package/components/response-toolbar/index.esm.js +719 -740
- package/components/response-toolbar/index.umd.cjs +1 -1
- package/components/schema-selector/index.esm.js +4977 -5249
- package/components/schema-selector/index.umd.cjs +2 -2
- package/components/search-box/index.esm.js +145 -134
- package/components/search-box/index.umd.cjs +1 -1
- package/components/section/index.esm.js +348 -337
- package/components/section/index.umd.cjs +1 -1
- package/components/smoke-detector/index.esm.js +141 -130
- package/components/smoke-detector/index.umd.cjs +1 -1
- package/components/splitter/index.esm.js +311 -301
- package/components/splitter/index.umd.cjs +1 -1
- package/components/step/index.esm.js +231 -220
- package/components/step/index.umd.cjs +1 -1
- package/components/switch/index.esm.js +385 -432
- package/components/switch/index.umd.cjs +1 -1
- package/components/tabs/index.esm.js +1932 -1914
- package/components/tabs/index.umd.cjs +1 -1
- package/components/tags/index.esm.js +351 -340
- package/components/tags/index.umd.cjs +1 -1
- package/components/text/index.esm.js +209 -199
- package/components/text/index.umd.cjs +1 -1
- package/components/textarea/index.esm.js +388 -415
- package/components/textarea/index.umd.cjs +1 -1
- package/components/time-picker/index.esm.js +619 -666
- package/components/time-picker/index.umd.cjs +1 -1
- package/components/transfer/index.esm.js +493 -486
- package/components/transfer/index.umd.cjs +1 -1
- package/components/tree-grid/index.esm.js +3169 -3278
- package/components/tree-grid/index.umd.cjs +1 -1
- package/components/tree-view/index.esm.js +2320 -2418
- package/components/tree-view/index.umd.cjs +1 -1
- package/components/uploader/index.esm.js +563 -554
- package/components/uploader/index.umd.cjs +2 -2
- package/components/verify-detail/index.esm.js +287 -276
- package/components/verify-detail/index.umd.cjs +1 -1
- package/components/video/index.esm.js +368 -324
- package/components/video/index.umd.cjs +1 -1
- package/components/weather/index.esm.js +498 -487
- package/components/weather/index.umd.cjs +5 -5
- package/farris.all.esm.js +51302 -47651
- package/farris.all.umd.cjs +14 -9
- package/index.css +1 -1
- package/package.json +1 -1
- package/types/binding-selector/index.d.ts +55 -0
- package/types/binding-selector/src/binding-selector.component.d.ts +11 -0
- package/types/binding-selector/src/binding-selector.props.d.ts +52 -0
- package/types/binding-selector/src/components/binding-selector-container.component.d.ts +13 -0
- package/types/binding-selector/src/composition/use-field-selection.d.ts +9 -0
- package/types/combo-list/src/components/list-container.component.d.ts +6 -6
- package/types/combo-list/src/components/list-container.props.d.ts +1 -1
- package/types/combo-tree/src/components/tree-container.component.d.ts +5 -5
- package/types/common/entity/entity-schema.d.ts +26 -11
- package/types/common/index.d.ts +1 -0
- package/types/common/types.d.ts +2 -2
- package/types/condition/src/condition-fields.design.component.d.ts +18 -0
- package/types/condition/src/types.d.ts +6 -6
- package/types/data-grid/src/composition/data-grid-component-creator.service.d.ts +20 -0
- package/types/data-grid/src/{designer/data-grid-column.props.d.ts → data-grid-column.props.d.ts} +1 -1
- package/types/data-grid/src/data-grid.props.d.ts +2 -2
- package/types/data-grid/src/designer/grid-field-editor.component.d.ts +14 -14
- package/types/data-grid/src/schema/schema-resolver.d.ts +1 -1
- package/types/data-view/composition/types.d.ts +2 -2
- package/types/date-picker/src/components/calendar/calendar.component.d.ts +3 -3
- package/types/date-picker/src/components/month/month.component.d.ts +3 -3
- package/types/date-picker/src/components/year/year.component.d.ts +3 -3
- package/types/designer-canvas/index.d.ts +2 -1
- package/types/designer-canvas/src/composition/dg-control.d.ts +5 -0
- package/types/designer-canvas/src/composition/function/drag-resolve.d.ts +5 -0
- package/types/designer-canvas/src/composition/types.d.ts +49 -40
- package/types/designer-canvas/src/types.d.ts +8 -20
- package/types/dynamic-form/index.d.ts +1 -1
- package/types/dynamic-form/src/designer/form-group-use-designer-rules.d.ts +3 -0
- package/types/dynamic-form/src/schema/{schema-resolver.d.ts → response-form-schema-resolver.d.ts} +1 -1
- package/types/dynamic-form/src/types.d.ts +1 -1
- package/types/dynamic-resolver/src/common/toolbar-resolver.d.ts +5 -0
- package/types/dynamic-resolver/src/converter/row-number.converter.d.ts +3 -0
- package/types/entity-binding-selector/composition/use-entity-tree.d.ts +7 -0
- package/types/entity-binding-selector/entity-binding-selector.component.d.ts +11 -0
- package/types/entity-binding-selector/entity-binding-selector.props.d.ts +3 -0
- package/types/enum-editor/src/components/enum-editor-container.component.d.ts +3 -3
- package/types/enum-editor/src/enum-editor.component.d.ts +3 -3
- package/types/event-parameter/index.d.ts +31 -0
- package/types/event-parameter/src/composition/type.d.ts +77 -0
- package/types/event-parameter/src/composition/use-editor-combotree.d.ts +3 -0
- package/types/event-parameter/src/composition/use-editor-input.d.ts +3 -0
- package/types/event-parameter/src/composition/use-editor-select.d.ts +3 -0
- package/types/event-parameter/src/composition/use-editor-switch.d.ts +3 -0
- package/types/event-parameter/src/composition/use-editor.d.ts +3 -0
- package/types/event-parameter/src/event-parameter.component.d.ts +8 -0
- package/types/event-parameter/src/event-parameter.props.d.ts +34 -0
- package/types/external-container/src/designer/import-external-schema.component.d.ts +1 -1
- package/types/field-selector/src/field-selector.component.d.ts +1 -2
- package/types/field-selector/src/field-selector.props.d.ts +0 -9
- package/types/input-group/src/designer/use-input-group-rules.d.ts +1 -2
- package/types/list-view/src/designer/list-view-table.design.component.d.ts +15 -0
- package/types/list-view/src/list-view-table.component.d.ts +15 -0
- package/types/lookup/src/composition/use-user-data.d.ts +2 -2
- package/types/lookup/src/property-config/lookup.property-config.d.ts +2 -6
- package/types/modal/src/composition/modal.service.d.ts +2 -1
- package/types/page-header/src/designer/page-header.design.component.d.ts +1 -1
- package/types/page-header/src/page-header.component.d.ts +1 -1
- package/types/property-panel/index.d.ts +2 -1
- package/types/property-panel/src/composition/entity/property-entity.d.ts +1 -1
- package/types/property-panel/src/composition/type.d.ts +0 -13
- package/types/query-solution/src/composition/types.d.ts +35 -4
- package/types/query-solution/src/composition/use-header.d.ts +21 -0
- package/types/query-solution/src/composition/{use-filter.d.ts → use-http.d.ts} +2 -2
- package/types/query-solution/src/composition/use-solution.d.ts +20 -0
- package/types/query-solution/src/designer/query-solution-config/composition/types.d.ts +17 -16
- package/types/query-solution/src/designer/query-solution-config/query-solution-config.props.d.ts +14 -14
- package/types/query-solution/src/property-config/query-solution.property-config.d.ts +3 -51
- package/types/query-solution/src/query-solution.d.ts +10 -2
- package/types/radio-group/src/designer/item-collection-editor-inner.component.d.ts +29 -0
- package/types/radio-group/src/designer/item-collection-editor.component.d.ts +29 -0
- package/types/radio-group/src/designer/item-collection-editor.props.d.ts +21 -0
- package/types/radio-group/src/schema/schema-mapper.d.ts +1 -0
- package/types/radio-group/src/schema/schema-resolver.d.ts +1 -0
- package/types/response-toolbar/src/property-config/response-toolbar.property-config.d.ts +1 -0
- package/types/section/src/property-config/section.property-config.d.ts +17 -17
- package/types/section/src/schema/schema-resolver.d.ts +1 -2
- package/types/section/src/schema/toolbar-resolver.d.ts +1 -1
- package/types/tabs/src/composition/types.d.ts +4 -1
- package/types/tabs/src/property-config/tab-page.property-config.d.ts +9 -59
- package/types/tabs/src/property-config/tabs.property-config.d.ts +8 -71
- package/types/tabs/src/schema/schema-resolver.d.ts +1 -2
- package/types/text/src/composition/types.d.ts +4 -4
- package/types/textarea/src/property-config/textarea.property-config.d.ts +23 -0
- package/types/weather/src/composition/use-weather-charts.d.ts +15 -0
- package/types/weather/src/composition/use-weather-color.d.ts +15 -0
- package/types/weather/src/composition/use-weather-data.d.ts +15 -0
- package/types/weather/src/composition/use-weather-format-number.d.ts +15 -0
- package/types/property-panel/src/composition/entity/use-input-rules.d.ts +0 -3
- package/types/tree-grid/src/schema/column-resolver.d.ts +0 -3
- package/types/weather/src/composition/types.d.ts +0 -2
- /package/types/dynamic-form/src/designer/{use-designer-rules.d.ts → response-form-use-designer-rules.d.ts} +0 -0
- /package/types/dynamic-form/src/property-config/{form.property-config.d.ts → response-form.property-config.d.ts} +0 -0
|
@@ -1,54 +1,58 @@
|
|
|
1
|
-
import { defineComponent as j, createVNode as N, nextTick as
|
|
2
|
-
import { isPlainObject as E, cloneDeep as
|
|
1
|
+
import { defineComponent as j, createVNode as N, nextTick as q, ref as k, inject as S, computed as G, onMounted as W } from "vue";
|
|
2
|
+
import { isPlainObject as E, cloneDeep as _ } from "lodash-es";
|
|
3
3
|
import "bignumber.js";
|
|
4
4
|
const O = {}, V = {};
|
|
5
|
-
function A(
|
|
6
|
-
const { properties: e, title: t, ignore:
|
|
7
|
-
|
|
5
|
+
function A(n) {
|
|
6
|
+
const { properties: e, title: t, ignore: r } = n, o = r && Array.isArray(r), c = Object.keys(e).reduce((a, u) => ((!o || !r.find((y) => y === u)) && (a[u] = e[u].type === "object" && e[u].properties ? A(e[u]) : _(e[u].default)), a), {});
|
|
7
|
+
if (t && (!o || !r.find((a) => a === "id"))) {
|
|
8
|
+
const a = t.toLowerCase().replace(/-/g, "_");
|
|
9
|
+
c.id = `${a}_${Math.random().toString().slice(2, 6)}`;
|
|
10
|
+
}
|
|
11
|
+
return c;
|
|
8
12
|
}
|
|
9
|
-
function $(
|
|
10
|
-
const
|
|
11
|
-
if (
|
|
12
|
-
let
|
|
13
|
-
const c = V[
|
|
14
|
-
return
|
|
13
|
+
function $(n, e = {}, t) {
|
|
14
|
+
const r = O[n];
|
|
15
|
+
if (r) {
|
|
16
|
+
let o = A(r);
|
|
17
|
+
const c = V[n];
|
|
18
|
+
return o = c ? c({ getSchemaByType: $ }, o, e, t) : o, o;
|
|
15
19
|
}
|
|
16
20
|
return null;
|
|
17
21
|
}
|
|
18
|
-
function
|
|
22
|
+
function U(n, e) {
|
|
19
23
|
const t = A(e);
|
|
20
|
-
return Object.keys(
|
|
24
|
+
return Object.keys(t).reduce((r, o) => (r[o] && E(r[o]) && E(n[o] || !n[o]) ? Object.assign(r[o], n[o] || {}) : r[o] = n[o], r), t), t;
|
|
21
25
|
}
|
|
22
|
-
function
|
|
23
|
-
return Object.keys(
|
|
24
|
-
if (e.has(
|
|
25
|
-
const c = e.get(
|
|
26
|
+
function z(n, e) {
|
|
27
|
+
return Object.keys(n).filter((r) => n[r] != null).reduce((r, o) => {
|
|
28
|
+
if (e.has(o)) {
|
|
29
|
+
const c = e.get(o);
|
|
26
30
|
if (typeof c == "string")
|
|
27
|
-
|
|
31
|
+
r[c] = n[o];
|
|
28
32
|
else {
|
|
29
|
-
const
|
|
30
|
-
Object.assign(
|
|
33
|
+
const a = c(o, n[o], n);
|
|
34
|
+
Object.assign(r, a);
|
|
31
35
|
}
|
|
32
36
|
} else
|
|
33
|
-
|
|
34
|
-
return
|
|
37
|
+
r[o] = n[o];
|
|
38
|
+
return r;
|
|
35
39
|
}, {});
|
|
36
40
|
}
|
|
37
|
-
function
|
|
38
|
-
const
|
|
39
|
-
return
|
|
41
|
+
function Q(n, e, t = /* @__PURE__ */ new Map()) {
|
|
42
|
+
const r = U(n, e);
|
|
43
|
+
return z(r, t);
|
|
40
44
|
}
|
|
41
|
-
function
|
|
45
|
+
function J(n = {}) {
|
|
42
46
|
function e(i, s, l, p) {
|
|
43
47
|
if (typeof l == "number")
|
|
44
48
|
return p[i].length === l;
|
|
45
49
|
if (typeof l == "object") {
|
|
46
|
-
const
|
|
47
|
-
if (
|
|
50
|
+
const m = Object.keys(l)[0], h = l[m];
|
|
51
|
+
if (m === "not")
|
|
48
52
|
return Number(p[i].length) !== Number(h);
|
|
49
|
-
if (
|
|
53
|
+
if (m === "moreThan")
|
|
50
54
|
return Number(p[i].length) >= Number(h);
|
|
51
|
-
if (
|
|
55
|
+
if (m === "lessThan")
|
|
52
56
|
return Number(p[i].length) <= Number(h);
|
|
53
57
|
}
|
|
54
58
|
return !1;
|
|
@@ -56,43 +60,43 @@ function Q(r = {}) {
|
|
|
56
60
|
function t(i, s, l, p) {
|
|
57
61
|
return p[i] && p[i].propertyValue && String(p[i].propertyValue.value) === String(l);
|
|
58
62
|
}
|
|
59
|
-
const
|
|
63
|
+
const r = /* @__PURE__ */ new Map([
|
|
60
64
|
["length", e],
|
|
61
65
|
["getProperty", t]
|
|
62
66
|
]);
|
|
63
|
-
Object.keys(
|
|
64
|
-
function
|
|
67
|
+
Object.keys(n).reduce((i, s) => (i.set(s, n[s]), i), r);
|
|
68
|
+
function o(i, s) {
|
|
65
69
|
const l = i;
|
|
66
70
|
return typeof s == "number" ? [{ target: l, operator: "length", param: null, value: Number(s) }] : typeof s == "boolean" ? [{ target: l, operator: "getProperty", param: i, value: !!s }] : typeof s == "object" ? Object.keys(s).map((p) => {
|
|
67
71
|
if (p === "length")
|
|
68
72
|
return { target: l, operator: "length", param: null, value: s[p] };
|
|
69
|
-
const
|
|
70
|
-
return { target: l, operator: "getProperty", param:
|
|
73
|
+
const m = p, h = s[p];
|
|
74
|
+
return { target: l, operator: "getProperty", param: m, value: h };
|
|
71
75
|
}) : [];
|
|
72
76
|
}
|
|
73
77
|
function c(i) {
|
|
74
78
|
return Object.keys(i).reduce((l, p) => {
|
|
75
|
-
const
|
|
76
|
-
return l.push(...
|
|
79
|
+
const m = o(p, i[p]);
|
|
80
|
+
return l.push(...m), l;
|
|
77
81
|
}, []);
|
|
78
82
|
}
|
|
79
|
-
function
|
|
80
|
-
if (
|
|
81
|
-
const l =
|
|
83
|
+
function a(i, s) {
|
|
84
|
+
if (r.has(i.operator)) {
|
|
85
|
+
const l = r.get(i.operator);
|
|
82
86
|
return l && l(i.target, i.param, i.value, s) || !1;
|
|
83
87
|
}
|
|
84
88
|
return !1;
|
|
85
89
|
}
|
|
86
90
|
function u(i, s) {
|
|
87
|
-
return c(i).reduce((
|
|
91
|
+
return c(i).reduce((m, h) => m && a(h, s), !0);
|
|
88
92
|
}
|
|
89
93
|
function y(i, s) {
|
|
90
|
-
const l = Object.keys(i), p = l.includes("allOf"),
|
|
91
|
-
return p ? !
|
|
94
|
+
const l = Object.keys(i), p = l.includes("allOf"), m = l.includes("anyOf"), h = p || m, C = (h ? i[h ? p ? "allOf" : "anyOf" : "allOf"] : [i]).map((w) => u(w, s));
|
|
95
|
+
return p ? !C.includes(!1) : C.includes(!0);
|
|
92
96
|
}
|
|
93
97
|
return { parseValueSchema: y };
|
|
94
98
|
}
|
|
95
|
-
const
|
|
99
|
+
const T = {
|
|
96
100
|
button: { type: "button", name: "按钮", icon: "Button" },
|
|
97
101
|
"response-toolbar": { type: "response-toolbar", name: "工具栏", icon: "ButtonGroup" },
|
|
98
102
|
"response-toolbar-item": { type: "response-toolbar-item", name: "按钮", icon: "Button" },
|
|
@@ -130,16 +134,17 @@ const g = {
|
|
|
130
134
|
"page-header": { type: "page-header", name: "页头", icon: "Header" },
|
|
131
135
|
"page-footer": { type: "page-footer", name: "页脚", icon: "ModalFooter" },
|
|
132
136
|
"tab-toolbar": { type: "tab-toolbar", name: "标签页工具栏", icon: "TabToolbar" },
|
|
133
|
-
fieldset: { type: "fieldset", name: "分组", icon: "fieldset" }
|
|
137
|
+
fieldset: { type: "fieldset", name: "分组", icon: "fieldset" },
|
|
138
|
+
"query-solution": { type: "query-solution", name: "筛选方案", icon: "QueryScheme" }
|
|
134
139
|
}, X = {}, Y = {};
|
|
135
|
-
|
|
136
|
-
function Z(
|
|
137
|
-
return O[e.title] = e, V[e.title] =
|
|
138
|
-
const u =
|
|
140
|
+
J();
|
|
141
|
+
function Z(n, e, t = /* @__PURE__ */ new Map(), r = (a, u, y, i) => u, o = {}, c = (a) => a) {
|
|
142
|
+
return O[e.title] = e, V[e.title] = r, X[e.title] = o, Y[e.title] = c, (a = {}) => {
|
|
143
|
+
const u = Q(a, e, t), y = Object.keys(n).reduce((i, s) => (i[s] = n[s].default, i), {});
|
|
139
144
|
return Object.assign(y, u);
|
|
140
145
|
};
|
|
141
146
|
}
|
|
142
|
-
function H(
|
|
147
|
+
function H(n, e) {
|
|
143
148
|
return { customClass: e.class, customStyle: e.style };
|
|
144
149
|
}
|
|
145
150
|
const K = /* @__PURE__ */ new Map([
|
|
@@ -190,18 +195,18 @@ const K = /* @__PURE__ */ new Map([
|
|
|
190
195
|
type: "boolean",
|
|
191
196
|
default: !0
|
|
192
197
|
}
|
|
193
|
-
},
|
|
198
|
+
}, ae = [
|
|
194
199
|
"id",
|
|
195
200
|
"type",
|
|
196
201
|
"contents"
|
|
197
|
-
],
|
|
202
|
+
], re = {
|
|
198
203
|
$schema: x,
|
|
199
204
|
$id: I,
|
|
200
205
|
title: ee,
|
|
201
206
|
description: te,
|
|
202
207
|
type: ne,
|
|
203
208
|
properties: oe,
|
|
204
|
-
required:
|
|
209
|
+
required: ae
|
|
205
210
|
}, ce = "content-container", ie = "A Farris Container Component", se = "object", le = {
|
|
206
211
|
basic: {
|
|
207
212
|
description: "Basic Infomation",
|
|
@@ -251,293 +256,304 @@ const K = /* @__PURE__ */ new Map([
|
|
|
251
256
|
type: se,
|
|
252
257
|
categories: le
|
|
253
258
|
};
|
|
254
|
-
function ue(
|
|
259
|
+
function ue(n, e, t) {
|
|
255
260
|
return e;
|
|
256
261
|
}
|
|
257
262
|
const P = {
|
|
258
263
|
customClass: { type: String, default: "" },
|
|
259
264
|
customStyle: { type: String, default: "" }
|
|
260
|
-
}, B = Z(P,
|
|
265
|
+
}, B = Z(P, re, K, ue, pe), L = /* @__PURE__ */ j({
|
|
261
266
|
name: "FContentContainer",
|
|
262
267
|
props: P,
|
|
263
268
|
emits: [],
|
|
264
|
-
setup(
|
|
269
|
+
setup(n, e) {
|
|
265
270
|
return () => N("div", {
|
|
266
|
-
class:
|
|
267
|
-
style:
|
|
271
|
+
class: n.customClass,
|
|
272
|
+
style: n.customStyle
|
|
268
273
|
}, [e.slots.default && e.slots.default()]);
|
|
269
274
|
}
|
|
270
275
|
});
|
|
271
276
|
function fe() {
|
|
272
|
-
function
|
|
273
|
-
var
|
|
277
|
+
function n(e, t) {
|
|
278
|
+
var a;
|
|
274
279
|
if (!e)
|
|
275
280
|
return !1;
|
|
276
|
-
const
|
|
277
|
-
if (!
|
|
281
|
+
const r = ((a = e.targetContainer) == null ? void 0 : a.componentInstance) && e.targetContainer.componentInstance.value;
|
|
282
|
+
if (!r)
|
|
278
283
|
return !1;
|
|
279
|
-
const
|
|
280
|
-
return !((e.
|
|
284
|
+
const o = r.schema.type, c = t == null ? void 0 : t.formSchemaUtils.getComponentById(r.belongedComponentId);
|
|
285
|
+
return !((e.componentCategory === "input" || e.componentType === "form-group") && ![T["response-layout-item"].type, T["response-form"].type].includes(o) || (e.componentType === T.tabs.type || e.componentType === T.section.type) && ((c == null ? void 0 : c.componentType) !== "frame" || ![T["content-container"].type, T["splitter-pane"].type, T["response-layout-item"].type].includes(o)));
|
|
281
286
|
}
|
|
282
287
|
return {
|
|
283
|
-
basalDragulaRuleForContainer:
|
|
288
|
+
basalDragulaRuleForContainer: n
|
|
284
289
|
};
|
|
285
290
|
}
|
|
286
291
|
class me {
|
|
287
292
|
getTemplateRule(e, t) {
|
|
288
|
-
const
|
|
289
|
-
if (!
|
|
293
|
+
const r = t == null ? void 0 : t.formSchemaUtils, o = r == null ? void 0 : r.getFormTemplateRule(), c = { canAccept: !0, canDelete: !0, canMove: !0 };
|
|
294
|
+
if (!o)
|
|
290
295
|
return c;
|
|
291
|
-
const
|
|
292
|
-
return
|
|
293
|
-
if (!y || !
|
|
296
|
+
const a = this.getComponentContext(e), { componentClassList: u } = a;
|
|
297
|
+
return u.forEach((y) => {
|
|
298
|
+
if (!y || !o[y])
|
|
294
299
|
return;
|
|
295
|
-
const { canMove: i, canDelete: s, canAccept: l } =
|
|
296
|
-
c.canMove = c.canMove && this.resolveRuleValue(i,
|
|
300
|
+
const { canMove: i, canDelete: s, canAccept: l } = o[y];
|
|
301
|
+
c.canMove = c.canMove && this.resolveRuleValue(i, a), c.canDelete = c.canDelete && this.resolveRuleValue(s, a), c.canAccept = c.canAccept && this.resolveRuleValue(l, a);
|
|
297
302
|
}), c;
|
|
298
303
|
}
|
|
299
304
|
resolveRuleValue(e, t) {
|
|
300
305
|
return typeof e == "boolean" ? e : this.parseRuleValueSchema(e, t);
|
|
301
306
|
}
|
|
302
307
|
parseRuleValueSchema(e, t) {
|
|
303
|
-
const
|
|
304
|
-
let
|
|
305
|
-
for (const c of
|
|
308
|
+
const r = e.invalidContext || [];
|
|
309
|
+
let o = !0;
|
|
310
|
+
for (const c of r) {
|
|
306
311
|
if (c.firstLevelChild) {
|
|
307
312
|
if (c.firstLevelChild.class) {
|
|
308
|
-
const
|
|
309
|
-
if (
|
|
310
|
-
|
|
313
|
+
const { firstLevelChildClassList: a } = t;
|
|
314
|
+
if (a && !a.includes(c.firstLevelChild.class)) {
|
|
315
|
+
o = !1;
|
|
311
316
|
continue;
|
|
312
317
|
}
|
|
313
318
|
}
|
|
314
319
|
if (c.firstLevelChild.type) {
|
|
315
|
-
const
|
|
316
|
-
if (
|
|
317
|
-
|
|
320
|
+
const { firstLevelChildSchema: a } = t;
|
|
321
|
+
if (!a || a.type !== c.firstLevelChild.type) {
|
|
322
|
+
o = !1;
|
|
318
323
|
continue;
|
|
319
324
|
}
|
|
320
325
|
}
|
|
321
326
|
}
|
|
322
327
|
if (c.secondLevelChild) {
|
|
323
328
|
if (c.secondLevelChild.class) {
|
|
324
|
-
const
|
|
325
|
-
if (
|
|
326
|
-
|
|
329
|
+
const { secondLevelChildClassList: a } = t;
|
|
330
|
+
if (a && !a.includes(c.secondLevelChild.class)) {
|
|
331
|
+
o = !1;
|
|
327
332
|
continue;
|
|
328
333
|
}
|
|
329
334
|
}
|
|
330
335
|
if (c.secondLevelChild.type) {
|
|
331
|
-
const
|
|
332
|
-
if (
|
|
333
|
-
|
|
336
|
+
const { secondLevelChildSchema: a } = t;
|
|
337
|
+
if (!a || a.type !== c.secondLevelChild.type) {
|
|
338
|
+
o = !1;
|
|
334
339
|
continue;
|
|
335
340
|
}
|
|
336
341
|
}
|
|
337
342
|
}
|
|
338
343
|
if (c.parent) {
|
|
339
344
|
if (c.parent.class) {
|
|
340
|
-
const
|
|
341
|
-
if (
|
|
342
|
-
|
|
345
|
+
const { parentClassList: a } = t;
|
|
346
|
+
if (a && !a.includes(c.parent.class)) {
|
|
347
|
+
o = !1;
|
|
343
348
|
continue;
|
|
344
349
|
}
|
|
345
350
|
}
|
|
346
351
|
if (c.parent.type) {
|
|
347
|
-
const
|
|
348
|
-
if (
|
|
349
|
-
|
|
352
|
+
const { parentSchema: a } = t;
|
|
353
|
+
if (a && a.type !== c.parent.type) {
|
|
354
|
+
o = !1;
|
|
350
355
|
continue;
|
|
351
356
|
}
|
|
352
357
|
}
|
|
353
358
|
}
|
|
354
|
-
|
|
359
|
+
o = !0;
|
|
355
360
|
break;
|
|
356
361
|
}
|
|
357
|
-
return !
|
|
362
|
+
return !o;
|
|
358
363
|
}
|
|
359
364
|
getComponentContext(e) {
|
|
360
|
-
var
|
|
361
|
-
const t = e.schema,
|
|
365
|
+
var g, D, C, M;
|
|
366
|
+
const t = e.schema, r = t.appearance && t.appearance.class || "", o = r.split(" ") || [], c = t.contents || [], a = c.length ? c[0] : null, u = a && a.appearance ? a.appearance.class : "", y = u ? u.split(" ") : [], i = (g = a == null ? void 0 : a.contents) != null && g.length ? a == null ? void 0 : a.contents[0] : null, s = i && i.appearance ? i.appearance.class : "", l = s ? s.split(" ") : [], p = t.type === "component" ? (C = (D = e.parent) == null ? void 0 : D.parent) == null ? void 0 : C.schema : (M = e.parent) == null ? void 0 : M.schema, m = p && p.appearance && p.appearance.class || "", h = m ? m.split(" ") : [];
|
|
362
367
|
return {
|
|
363
|
-
componentClass:
|
|
364
|
-
componentClassList:
|
|
368
|
+
componentClass: r,
|
|
369
|
+
componentClassList: o,
|
|
365
370
|
childContents: c,
|
|
366
|
-
firstLevelChildSchema:
|
|
371
|
+
firstLevelChildSchema: a,
|
|
367
372
|
firstLevelChildClass: u,
|
|
368
373
|
firstLevelChildClassList: y,
|
|
369
374
|
secondLevelChildSchema: i,
|
|
370
375
|
secondLevelChildClass: s,
|
|
371
376
|
secondLevelChildClassList: l,
|
|
372
377
|
parentSchema: p,
|
|
373
|
-
parentClass:
|
|
378
|
+
parentClass: m,
|
|
374
379
|
parentClassList: h
|
|
375
380
|
};
|
|
376
381
|
}
|
|
377
382
|
}
|
|
378
|
-
function ye(
|
|
379
|
-
const t =
|
|
380
|
-
function
|
|
381
|
-
|
|
383
|
+
function ye(n, e) {
|
|
384
|
+
const t = n.schema, r = new me();
|
|
385
|
+
function o(s) {
|
|
386
|
+
if (!fe().basalDragulaRuleForContainer(s, e))
|
|
387
|
+
return !1;
|
|
388
|
+
const { canAccept: p } = r.getTemplateRule(n, e);
|
|
389
|
+
return p;
|
|
382
390
|
}
|
|
383
|
-
function
|
|
384
|
-
|
|
391
|
+
function c(s) {
|
|
392
|
+
q();
|
|
385
393
|
}
|
|
386
|
-
function
|
|
394
|
+
function a() {
|
|
387
395
|
return t.componentType ? "display:inherit;flex-direction:inherit;margin-bottom:10px" : "";
|
|
388
396
|
}
|
|
389
|
-
function
|
|
390
|
-
|
|
397
|
+
function u() {
|
|
398
|
+
const { canMove: s } = r.getTemplateRule(n, e);
|
|
399
|
+
return s;
|
|
391
400
|
}
|
|
392
|
-
function
|
|
393
|
-
|
|
401
|
+
function y() {
|
|
402
|
+
const { canDelete: s } = r.getTemplateRule(n, e);
|
|
403
|
+
return s;
|
|
394
404
|
}
|
|
395
|
-
function
|
|
396
|
-
|
|
405
|
+
function i() {
|
|
406
|
+
const { canMove: s, canDelete: l } = r.getTemplateRule(n, e);
|
|
407
|
+
return !s && !l;
|
|
397
408
|
}
|
|
398
409
|
return {
|
|
399
|
-
canAccepts:
|
|
400
|
-
getStyles:
|
|
401
|
-
onAcceptMovedChildElement:
|
|
402
|
-
checkCanMoveComponent:
|
|
403
|
-
checkCanDeleteComponent:
|
|
404
|
-
hideNestedPaddingInDesginerView:
|
|
410
|
+
canAccepts: o,
|
|
411
|
+
getStyles: a,
|
|
412
|
+
onAcceptMovedChildElement: c,
|
|
413
|
+
checkCanMoveComponent: u,
|
|
414
|
+
checkCanDeleteComponent: y,
|
|
415
|
+
hideNestedPaddingInDesginerView: i
|
|
405
416
|
};
|
|
406
417
|
}
|
|
407
|
-
function he(
|
|
418
|
+
function he(n, e, t) {
|
|
408
419
|
var F;
|
|
420
|
+
const r = t && t.getStyles && t.getStyles() || "", o = t && t.getDesignerClass && t.getDesignerClass() || "", c = k();
|
|
409
421
|
function a() {
|
|
410
|
-
t != null && t.resolveComponentContext && t.resolveComponentContext();
|
|
411
|
-
}
|
|
412
|
-
a();
|
|
413
|
-
const n = t && t.getStyles && t.getStyles() || "", c = t && t.getDesignerClass && t.getDesignerClass() || "", o = M();
|
|
414
|
-
function u() {
|
|
415
422
|
return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 : t && t.checkCanMoveComponent ? t.checkCanMoveComponent() : !0;
|
|
416
423
|
}
|
|
417
|
-
function
|
|
424
|
+
function u() {
|
|
418
425
|
return !1;
|
|
419
426
|
}
|
|
420
|
-
function
|
|
427
|
+
function y() {
|
|
421
428
|
return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 : t && t.checkCanDeleteComponent ? t.checkCanDeleteComponent() : !0;
|
|
422
429
|
}
|
|
423
|
-
function
|
|
430
|
+
function i() {
|
|
424
431
|
return (e == null ? void 0 : e.schema.componentType) === "frame" ? !0 : t && t.hideNestedPaddingInDesginerView ? t.hideNestedPaddingInDesginerView() : !1;
|
|
425
432
|
}
|
|
426
|
-
function
|
|
427
|
-
if (!
|
|
433
|
+
function s(f) {
|
|
434
|
+
if (!f || !f.value)
|
|
428
435
|
return null;
|
|
429
|
-
if (
|
|
430
|
-
return
|
|
431
|
-
const d =
|
|
432
|
-
return
|
|
436
|
+
if (f.value.schema && f.value.schema.type === "component")
|
|
437
|
+
return f.value;
|
|
438
|
+
const d = k(f == null ? void 0 : f.value.parent), b = s(d);
|
|
439
|
+
return b || null;
|
|
433
440
|
}
|
|
434
|
-
function
|
|
435
|
-
const { componentInstance: d, designerItemElementRef:
|
|
436
|
-
return !d || !d.value ? null : d.value.canMove ?
|
|
441
|
+
function l(f = e) {
|
|
442
|
+
const { componentInstance: d, designerItemElementRef: b } = f;
|
|
443
|
+
return !d || !d.value ? null : d.value.canMove ? b : l(f.parent);
|
|
437
444
|
}
|
|
438
|
-
function f
|
|
439
|
-
return !!t && t.canAccepts(
|
|
445
|
+
function p(f) {
|
|
446
|
+
return !!t && t.canAccepts(f);
|
|
440
447
|
}
|
|
441
|
-
function
|
|
448
|
+
function m() {
|
|
442
449
|
return (e == null ? void 0 : e.schema.label) || (e == null ? void 0 : e.schema.title) || (e == null ? void 0 : e.schema.name);
|
|
443
450
|
}
|
|
444
|
-
function
|
|
451
|
+
function h() {
|
|
445
452
|
}
|
|
446
|
-
function
|
|
453
|
+
function g(f, d) {
|
|
447
454
|
d && t != null && t.onAcceptMovedChildElement && t.onAcceptMovedChildElement(d);
|
|
448
455
|
}
|
|
449
|
-
function
|
|
450
|
-
const { componentType:
|
|
451
|
-
let v = $(
|
|
452
|
-
t && t.onResolveNewComponentSchema && (v = t.onResolveNewComponentSchema(
|
|
453
|
-
const
|
|
454
|
-
return v && !v.id && v.type ===
|
|
456
|
+
function D(f, d) {
|
|
457
|
+
const { componentType: b } = f;
|
|
458
|
+
let v = $(b, f, d);
|
|
459
|
+
t && t.onResolveNewComponentSchema && (v = t.onResolveNewComponentSchema(f, v));
|
|
460
|
+
const R = b.toLowerCase().replace(/-/g, "_");
|
|
461
|
+
return v && !v.id && v.type === b && (v.id = `${R}_${Math.random().toString().slice(2, 6)}`), v;
|
|
455
462
|
}
|
|
456
|
-
function
|
|
463
|
+
function C(f) {
|
|
457
464
|
}
|
|
458
|
-
function
|
|
465
|
+
function M(...f) {
|
|
459
466
|
if (t && t.getPropsConfig)
|
|
460
|
-
return t.getPropsConfig(...
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
+
return t.getPropsConfig(...f);
|
|
468
|
+
}
|
|
469
|
+
function w() {
|
|
470
|
+
t && t.onRemoveComponent && t.onRemoveComponent(), e != null && e.schema.contents && e.schema.contents.map((f) => {
|
|
471
|
+
var v;
|
|
472
|
+
let d = f.id;
|
|
473
|
+
f.type === "component-ref" && (d = f.component);
|
|
474
|
+
const b = n.value.querySelector(`#${d}-design-item`);
|
|
475
|
+
(v = b == null ? void 0 : b.componentInstance) != null && v.value.onRemoveComponent && b.componentInstance.value.onRemoveComponent();
|
|
476
|
+
});
|
|
477
|
+
}
|
|
478
|
+
return c.value = {
|
|
479
|
+
canMove: a(),
|
|
480
|
+
canSelectParent: u(),
|
|
481
|
+
canDelete: y(),
|
|
482
|
+
canNested: !i(),
|
|
467
483
|
contents: e == null ? void 0 : e.schema.contents,
|
|
468
|
-
elementRef:
|
|
484
|
+
elementRef: n,
|
|
469
485
|
parent: (F = e == null ? void 0 : e.parent) == null ? void 0 : F.componentInstance,
|
|
470
486
|
schema: e == null ? void 0 : e.schema,
|
|
471
|
-
styles:
|
|
472
|
-
designerClass:
|
|
473
|
-
canAccepts:
|
|
474
|
-
getBelongedComponentInstance:
|
|
475
|
-
getDraggableDesignItemElement:
|
|
476
|
-
getDraggingDisplayText:
|
|
477
|
-
getPropConfig:
|
|
478
|
-
getDragScopeElement:
|
|
479
|
-
onAcceptMovedChildElement:
|
|
480
|
-
onChildElementMovedOut:
|
|
481
|
-
addNewChildComponentSchema:
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
},
|
|
487
|
+
styles: r,
|
|
488
|
+
designerClass: o,
|
|
489
|
+
canAccepts: p,
|
|
490
|
+
getBelongedComponentInstance: s,
|
|
491
|
+
getDraggableDesignItemElement: l,
|
|
492
|
+
getDraggingDisplayText: m,
|
|
493
|
+
getPropConfig: M,
|
|
494
|
+
getDragScopeElement: h,
|
|
495
|
+
onAcceptMovedChildElement: g,
|
|
496
|
+
onChildElementMovedOut: C,
|
|
497
|
+
addNewChildComponentSchema: D,
|
|
498
|
+
triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || k(!1),
|
|
499
|
+
triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || k(!1),
|
|
500
|
+
onRemoveComponent: w
|
|
501
|
+
}, c;
|
|
486
502
|
}
|
|
487
503
|
const de = ["moz", "ms", "webkit"];
|
|
488
|
-
function
|
|
489
|
-
let
|
|
504
|
+
function be() {
|
|
505
|
+
let n = 0;
|
|
490
506
|
return (e) => {
|
|
491
|
-
const t = (/* @__PURE__ */ new Date()).getTime(),
|
|
492
|
-
e(t +
|
|
493
|
-
},
|
|
494
|
-
return
|
|
507
|
+
const t = (/* @__PURE__ */ new Date()).getTime(), r = Math.max(0, 16 - (t - n)), o = setTimeout(() => {
|
|
508
|
+
e(t + r);
|
|
509
|
+
}, r);
|
|
510
|
+
return n = t + r, o;
|
|
495
511
|
};
|
|
496
512
|
}
|
|
497
|
-
function
|
|
513
|
+
function ve() {
|
|
498
514
|
if (typeof window > "u")
|
|
499
515
|
return () => 0;
|
|
500
516
|
if (window.requestAnimationFrame)
|
|
501
517
|
return window.requestAnimationFrame.bind(window);
|
|
502
|
-
const
|
|
503
|
-
return
|
|
518
|
+
const n = de.filter((e) => `${e}RequestAnimationFrame` in window)[0];
|
|
519
|
+
return n ? window[`${n}RequestAnimationFrame`] : be();
|
|
504
520
|
}
|
|
505
|
-
|
|
506
|
-
function
|
|
507
|
-
return ((e == null ? void 0 : e.split(" ")) || []).reduce((
|
|
521
|
+
ve();
|
|
522
|
+
function Ce(n, e) {
|
|
523
|
+
return ((e == null ? void 0 : e.split(" ")) || []).reduce((r, o) => (o && (r[o] = !0), r), n), n;
|
|
508
524
|
}
|
|
509
|
-
const
|
|
525
|
+
const Te = /* @__PURE__ */ j({
|
|
510
526
|
name: "FContentContainerDesign",
|
|
511
527
|
props: P,
|
|
512
528
|
emits: [],
|
|
513
|
-
setup(
|
|
514
|
-
const t =
|
|
529
|
+
setup(n, e) {
|
|
530
|
+
const t = k(), r = S("designer-host-service"), o = S("design-item-context"), c = ye(o, r), a = he(t, o, c), u = G(() => Ce({
|
|
515
531
|
"drag-container": !0
|
|
516
|
-
},
|
|
532
|
+
}, n == null ? void 0 : n.customClass));
|
|
517
533
|
return W(() => {
|
|
518
|
-
t.value.componentInstance =
|
|
519
|
-
}), e.expose(
|
|
534
|
+
t.value.componentInstance = a;
|
|
535
|
+
}), e.expose(a.value), () => N("div", {
|
|
520
536
|
ref: t,
|
|
521
537
|
class: u.value,
|
|
522
|
-
style:
|
|
523
|
-
"data-dragref": `${
|
|
538
|
+
style: n.customStyle,
|
|
539
|
+
"data-dragref": `${o.schema.id}-container`
|
|
524
540
|
}, [e.slots.default && e.slots.default()]);
|
|
525
541
|
}
|
|
526
|
-
}),
|
|
527
|
-
install(
|
|
528
|
-
|
|
542
|
+
}), ke = {
|
|
543
|
+
install(n) {
|
|
544
|
+
n.component(L.name, L);
|
|
529
545
|
},
|
|
530
|
-
register(
|
|
531
|
-
|
|
546
|
+
register(n, e, t, r) {
|
|
547
|
+
n["content-container"] = L, e["content-container"] = B;
|
|
532
548
|
},
|
|
533
|
-
registerDesigner(
|
|
534
|
-
|
|
549
|
+
registerDesigner(n, e, t) {
|
|
550
|
+
n["content-container"] = Te, e["content-container"] = B;
|
|
535
551
|
}
|
|
536
552
|
};
|
|
537
553
|
export {
|
|
538
|
-
|
|
539
|
-
|
|
554
|
+
L as ContentContainer,
|
|
555
|
+
Te as ContentContainerDesign,
|
|
540
556
|
P as contentContainerProps,
|
|
541
|
-
|
|
557
|
+
ke as default,
|
|
542
558
|
B as propsResolver
|
|
543
559
|
};
|