@farris/ui-vue 1.2.9 → 1.3.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/accordion/index.esm.js +64 -64
- package/components/accordion/index.umd.cjs +1 -1
- package/components/avatar/index.esm.js +521 -336
- package/components/avatar/index.umd.cjs +1 -1
- package/components/button-edit/index.css +1 -1
- package/components/button-edit/index.esm.js +99 -97
- package/components/button-edit/index.umd.cjs +1 -1
- package/components/calendar/index.esm.js +496 -504
- package/components/calendar/index.umd.cjs +1 -1
- package/components/capsule/index.esm.js +251 -259
- package/components/capsule/index.umd.cjs +1 -1
- package/components/checkbox/index.esm.js +696 -519
- package/components/checkbox/index.umd.cjs +1 -1
- package/components/color-picker/index.esm.js +368 -376
- package/components/color-picker/index.umd.cjs +2 -2
- package/components/combo-list/index.css +1 -0
- package/components/combo-list/index.esm.js +1141 -340
- package/components/combo-list/index.umd.cjs +1 -1
- package/components/combo-tree/index.esm.js +116 -116
- package/components/combo-tree/index.umd.cjs +1 -1
- package/components/common/index.esm.js +986 -798
- package/components/common/index.umd.cjs +1 -1
- package/components/component/index.esm.js +463 -998
- package/components/component/index.umd.cjs +1 -1
- package/components/condition/index.css +1 -0
- package/components/condition/index.esm.js +2233 -1057
- package/components/condition/index.umd.cjs +1 -1
- package/components/content-container/index.esm.js +335 -1002
- package/components/content-container/index.umd.cjs +1 -1
- package/components/data-grid/index.css +1 -1
- package/components/data-grid/index.esm.js +6193 -4702
- package/components/data-grid/index.umd.cjs +1 -1
- package/components/data-view/index.css +1 -0
- package/components/data-view/index.esm.js +4562 -3294
- package/components/data-view/index.umd.cjs +1 -1
- package/components/date-picker/index.css +1 -1
- package/components/date-picker/index.esm.js +3420 -2623
- package/components/date-picker/index.umd.cjs +1 -1
- package/components/designer-canvas/index.css +1 -1
- package/components/designer-canvas/index.esm.js +914 -883
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/designer-outline/index.esm.js +14 -13
- package/components/designer-outline/index.umd.cjs +1 -1
- package/components/dropdown/index.esm.js +204 -212
- package/components/dropdown/index.umd.cjs +2 -2
- package/components/dynamic-form/index.css +1 -0
- package/components/dynamic-form/index.esm.js +2795 -1835
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/dynamic-resolver/index.esm.js +180 -130
- package/components/dynamic-resolver/index.umd.cjs +1 -1
- package/components/dynamic-view/index.esm.js +303 -290
- package/components/dynamic-view/index.umd.cjs +1 -1
- package/components/events-editor/index.esm.js +328 -336
- package/components/events-editor/index.umd.cjs +1 -1
- package/components/expression-editor/index.esm.js +65 -65
- package/components/expression-editor/index.umd.cjs +1 -1
- package/components/external-container/index.css +1 -1
- package/components/external-container/index.esm.js +3349 -3626
- package/components/external-container/index.umd.cjs +1 -1
- package/components/field-selector/index.css +1 -1
- package/components/field-selector/index.esm.js +5344 -8588
- package/components/field-selector/index.umd.cjs +1 -1
- package/components/filter-bar/index.css +1 -1
- package/components/filter-bar/index.esm.js +2179 -2227
- package/components/filter-bar/index.umd.cjs +1 -1
- package/components/flow-canvas/index.css +1 -1
- package/components/flow-canvas/index.esm.js +684 -675
- package/components/flow-canvas/index.umd.cjs +1 -1
- package/components/image-cropper/index.esm.js +482 -490
- package/components/image-cropper/index.umd.cjs +1 -1
- package/components/input-group/index.esm.js +746 -569
- package/components/input-group/index.umd.cjs +1 -1
- package/components/layout/index.esm.js +409 -385
- package/components/layout/index.umd.cjs +1 -1
- package/components/list-nav/index.esm.js +348 -1019
- package/components/list-nav/index.umd.cjs +1 -1
- package/components/list-view/index.css +1 -1
- package/components/list-view/index.esm.js +3606 -2388
- package/components/list-view/index.umd.cjs +1 -1
- package/components/lookup/index.css +1 -1
- package/components/lookup/index.esm.js +10871 -8970
- package/components/lookup/index.umd.cjs +1 -1
- package/components/mapping-editor/index.css +1 -1
- package/components/mapping-editor/index.esm.js +6019 -5631
- package/components/mapping-editor/index.umd.cjs +1 -1
- package/components/message-box/index.css +1 -1
- package/components/message-box/index.esm.js +511 -471
- package/components/message-box/index.umd.cjs +1 -1
- package/components/modal/index.css +1 -1
- package/components/modal/index.esm.js +438 -398
- package/components/modal/index.umd.cjs +1 -1
- package/components/nav/index.esm.js +912 -1281
- package/components/nav/index.umd.cjs +3 -3
- package/components/notify/index.esm.js +59 -53
- package/components/notify/index.umd.cjs +1 -1
- package/components/number-range/index.esm.js +660 -484
- package/components/number-range/index.umd.cjs +1 -1
- package/components/number-spinner/index.esm.js +682 -506
- package/components/number-spinner/index.umd.cjs +1 -1
- package/components/order/index.css +1 -1
- package/components/order/index.esm.js +1848 -1658
- package/components/order/index.umd.cjs +1 -1
- package/components/page-footer/index.esm.js +100 -100
- package/components/page-footer/index.umd.cjs +1 -1
- package/components/page-header/index.esm.js +1120 -1923
- package/components/page-header/index.umd.cjs +1 -1
- package/components/pagination/index.esm.js +875 -1214
- package/components/pagination/index.umd.cjs +1 -1
- package/components/popover/index.esm.js +71 -70
- package/components/popover/index.umd.cjs +1 -1
- package/components/progress/index.esm.js +229 -237
- package/components/progress/index.umd.cjs +3 -3
- package/components/property-editor/index.css +1 -1
- package/components/property-editor/index.esm.js +2314 -1521
- package/components/property-editor/index.umd.cjs +3 -3
- package/components/property-panel/index.esm.js +867 -868
- package/components/property-panel/index.umd.cjs +1 -1
- package/components/query-solution/index.css +1 -1
- package/components/query-solution/index.esm.js +4332 -3623
- package/components/query-solution/index.umd.cjs +1 -1
- package/components/radio-button/index.esm.js +72 -72
- package/components/radio-button/index.umd.cjs +1 -1
- package/components/radio-group/index.esm.js +613 -437
- package/components/radio-group/index.umd.cjs +1 -1
- package/components/rate/index.esm.js +255 -263
- package/components/rate/index.umd.cjs +1 -1
- package/components/response-layout/index.esm.js +144 -152
- package/components/response-layout/index.umd.cjs +1 -1
- package/components/response-layout-editor/index.css +1 -1
- package/components/response-layout-editor/index.esm.js +1101 -1038
- package/components/response-layout-editor/index.umd.cjs +1 -1
- package/components/response-toolbar/index.esm.js +935 -1750
- package/components/response-toolbar/index.umd.cjs +1 -1
- package/components/schema-selector/index.css +1 -1
- package/components/schema-selector/index.esm.js +5264 -5677
- package/components/schema-selector/index.umd.cjs +2 -2
- package/components/search-box/index.esm.js +151 -154
- package/components/search-box/index.umd.cjs +1 -1
- package/components/section/index.esm.js +438 -1125
- package/components/section/index.umd.cjs +1 -1
- package/components/smoke-detector/index.esm.js +93 -101
- package/components/smoke-detector/index.umd.cjs +1 -1
- package/components/splitter/index.esm.js +563 -1202
- package/components/splitter/index.umd.cjs +1 -1
- package/components/splitter/style.js +2 -0
- package/components/step/index.esm.js +248 -256
- package/components/step/index.umd.cjs +1 -1
- package/components/switch/index.esm.js +549 -373
- package/components/switch/index.umd.cjs +1 -1
- package/components/tabs/index.css +1 -1
- package/components/tabs/index.esm.js +2436 -3110
- package/components/tabs/index.umd.cjs +1 -1
- package/components/tags/index.esm.js +328 -336
- package/components/tags/index.umd.cjs +1 -1
- package/components/text/index.esm.js +339 -347
- package/components/text/index.umd.cjs +1 -1
- package/components/textarea/index.esm.js +554 -378
- package/components/textarea/index.umd.cjs +1 -1
- package/components/time-picker/index.css +1 -1
- package/components/time-picker/index.esm.js +1322 -1144
- package/components/time-picker/index.umd.cjs +1 -1
- package/components/transfer/index.css +1 -1
- package/components/transfer/index.esm.js +537 -543
- package/components/transfer/index.umd.cjs +1 -1
- package/components/tree-grid/index.css +1 -1
- package/components/tree-grid/index.esm.js +5113 -9426
- package/components/tree-grid/index.umd.cjs +1 -1
- package/components/tree-view/index.css +1 -0
- package/components/tree-view/index.esm.js +3900 -2677
- package/components/tree-view/index.umd.cjs +1 -1
- package/components/uploader/index.esm.js +568 -570
- package/components/uploader/index.umd.cjs +2 -2
- package/components/verify-detail/index.esm.js +266 -274
- package/components/verify-detail/index.umd.cjs +1 -1
- package/components/video/index.esm.js +553 -1052
- package/components/video/index.umd.cjs +1 -1
- package/components/weather/index.esm.js +558 -566
- package/components/weather/index.umd.cjs +5 -5
- package/farris.all.esm.js +22009 -22688
- package/farris.all.umd.cjs +9 -9
- package/index.css +1 -1
- package/package.json +1 -1
- package/types/capsule/src/capsule.props.d.ts +2 -2
- package/types/combo-list/src/components/list-container.component.d.ts +0 -3
- package/types/combo-list/src/components/list-container.props.d.ts +0 -4
- package/types/common/directive/area-response.d.ts +10 -0
- package/types/common/index.d.ts +9 -0
- package/types/common/radio-checkbox/radio-checkbox.props.d.ts +1 -0
- package/types/common/types.d.ts +1 -1
- package/types/common/utils/encrypt.d.ts +2 -0
- package/types/common/utils/resolve-field.d.ts +2 -0
- package/types/common/utils/use-class.d.ts +7 -0
- package/types/component/src/component.props.d.ts +7 -0
- package/types/component/src/designer/use-designer-rules.d.ts +2 -2
- package/types/component/src/property-config/component.property-config.d.ts +9 -0
- package/types/components.d.ts +1 -0
- package/types/condition/src/types.d.ts +2 -1
- package/types/content-container/src/designer/use-designer-rules.d.ts +3 -3
- package/types/data-grid/index.d.ts +11 -5
- package/types/data-grid/src/data-grid.component.d.ts +4 -2
- package/types/data-grid/src/data-grid.props.d.ts +1 -0
- package/types/data-grid/src/designer/data-grid.design.component.d.ts +2 -2
- package/types/data-grid/src/designer/use-designer-rules.d.ts +2 -2
- package/types/data-view/components/row/hierarchy-row.component.d.ts +2 -2
- package/types/data-view/composition/data/use-tree-data.d.ts +1 -1
- package/types/data-view/composition/types.d.ts +19 -4
- package/types/data-view/composition/visualization/use-virtual-scroll.d.ts +0 -15
- 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/rule/use-dragula-common-rule.d.ts +4 -0
- package/types/designer-canvas/src/composition/rule/use-template-rule.d.ts +30 -0
- package/types/designer-canvas/src/composition/types.d.ts +2 -3
- package/types/designer-canvas/src/types.d.ts +2 -1
- package/types/dynamic-form/src/composition/use-response-form-layout-setting.d.ts +2 -0
- package/types/dynamic-form/src/designer/response-form-layout-setting.component.d.ts +8 -0
- package/types/dynamic-form/src/designer/response-form-layout-setting.props.d.ts +4 -0
- package/types/dynamic-form/src/designer/response-form.design.component.d.ts +7 -1
- package/types/dynamic-form/src/designer/use-designer-rules.d.ts +1 -1
- package/types/dynamic-form/src/property-config/form.property-config.d.ts +9 -0
- package/types/dynamic-form/src/schema/schema-mapper.d.ts +1 -0
- package/types/dynamic-form/src/schema/schema-resolver.d.ts +1 -0
- package/types/dynamic-form/src/types.d.ts +12 -1
- package/types/dynamic-resolver/index.d.ts +1 -0
- package/types/dynamic-resolver/src/common/toolbar-resolver.d.ts +1 -1
- package/types/dynamic-resolver/src/event-handler-resolver.d.ts +4 -0
- package/types/dynamic-resolver/src/types.d.ts +9 -0
- package/types/dynamic-view/index.d.ts +1 -0
- package/types/dynamic-view/src/event-dispatcher.d.ts +1 -1
- package/types/external-container/src/designer/use-designer-rules.d.ts +3 -3
- package/types/index.d.ts +2 -0
- package/types/layout/src/designer/layout-pane-use-designer-rules.d.ts +3 -3
- package/types/list-nav/src/designer/use-designer-rules.d.ts +3 -0
- package/types/lookup/src/components/favorite/lookup-favorite.component.d.ts +29 -0
- package/types/lookup/src/components/favorite/lookup-favorite.props.d.ts +15 -0
- package/types/lookup/src/components/modal-container.component.d.ts +25 -0
- package/types/lookup/src/components/modal-container.props.d.ts +29 -0
- package/types/lookup/src/composition/types.d.ts +8 -0
- package/types/lookup/src/composition/use-check-props.d.ts +9 -2
- package/types/lookup/src/composition/use-dialog.d.ts +5 -1
- package/types/lookup/src/composition/use-favorite.d.ts +12 -0
- package/types/lookup/src/composition/use-http.d.ts +9 -5
- package/types/lookup/src/composition/use-input-change.d.ts +3 -0
- package/types/lookup/src/composition/use-user-data.d.ts +24 -0
- package/types/lookup/src/property-config/lookup.property-config.d.ts +6 -4
- package/types/mapping-editor/src/mapping-editor.component.d.ts +3 -0
- package/types/mapping-editor/src/mapping-editor.props.d.ts +0 -1
- package/types/modal/src/composition/use-draggable.d.ts +2 -1
- package/types/modal/src/composition/use-shortcut.d.ts +6 -0
- package/types/modal/src/modal.component.d.ts +3 -0
- package/types/modal/src/modal.props.d.ts +4 -0
- package/types/page-header/src/page-header.props.d.ts +1 -0
- package/types/pagination/src/components/buttons/goto-buttons.component.d.ts +2 -2
- package/types/pagination/src/components/buttons/next-buttons.component.d.ts +2 -2
- package/types/pagination/src/components/buttons/previous-buttons.component.d.ts +2 -2
- package/types/pagination/src/components/pages/page-list.component.d.ts +2 -2
- package/types/pagination/src/components/pages/page-number.component.d.ts +2 -2
- package/types/property-panel/index.d.ts +2 -1
- package/types/property-panel/src/composition/entity/base-property.d.ts +8 -0
- package/types/property-panel/src/composition/entity/input-base-property.d.ts +20 -1
- package/types/query-solution/src/designer/query-solution-config/composition/types.d.ts +34 -27
- package/types/query-solution/src/designer/query-solution-config/composition/use-panel.d.ts +2 -16
- package/types/{data-grid/src/designer/use-group-column.d.ts → query-solution/src/designer/query-solution-config/composition/use-property.d.ts} +4 -5
- package/types/query-solution/src/designer/query-solution-config/composition/use-querysolution-rules.d.ts +3 -0
- package/types/query-solution/src/designer/query-solution-config/composition/use-transfer.d.ts +1 -1
- package/types/query-solution/src/property-config/query-solution.property-config.d.ts +60 -0
- package/types/query-solution/src/solutions.d.ts +108 -509
- package/types/response-layout-editor/index.d.ts +3 -1
- package/types/response-layout-editor/src/composition/converter/use-response-layout-editor-setting.d.ts +2 -0
- package/types/response-layout-editor/src/type.d.ts +21 -0
- package/types/response-toolbar/src/designer/use-designer-rules.d.ts +3 -3
- package/types/response-toolbar/src/property-config/response-toolbar-item.property-config.d.ts +1 -0
- package/types/section/src/designer/use-designer-rules.d.ts +3 -3
- package/types/splitter/src/components/splitter-pane.component.d.ts +1 -1
- package/types/splitter/src/designer/splitter-pane-use-designer-rules.d.ts +3 -3
- package/types/splitter/src/designer/splitter-use-designer-rules.d.ts +3 -3
- package/types/tabs/src/designer/tab-page-use-designer-rules.d.ts +3 -3
- package/types/tabs/src/designer/tab-use-designer-rules.d.ts +3 -3
- package/types/tabs/src/tabs.props.d.ts +1 -0
- package/types/tree-grid/index.d.ts +8 -2
- package/types/tree-grid/src/tree-grid.component.d.ts +3 -1
- package/types/designer-canvas/src/composition/rule/use-drag-drop-rules.d.ts +0 -19
- package/types/designer-canvas/src/composition/use-dragula-common-rule.d.ts +0 -4
- package/types/list-nav/src/composition/use-designer-rules.d.ts +0 -3
- package/types/modal/src/composition/use-esc.d.ts +0 -1
- package/types/query-solution/src/designer/query-solution-config/composition/mock-data.d.ts +0 -6
- package/types/response-layout-editor/src/composition/converter/response-layout-editor.converter.d.ts +0 -3
- package/types/response-layout-editor/src/composition/converter/use-convert-property-value.d.ts +0 -20
|
@@ -1,100 +1,100 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { cloneDeep as
|
|
3
|
-
import
|
|
1
|
+
import { ref as v, computed as h, createVNode as b, defineComponent as z, watch as U, onMounted as H, inject as N } from "vue";
|
|
2
|
+
import { isPlainObject as O, cloneDeep as x } from "lodash-es";
|
|
3
|
+
import _ from "../response-toolbar/index.esm.js";
|
|
4
4
|
import "bignumber.js";
|
|
5
|
-
import { withInstall as
|
|
6
|
-
const
|
|
7
|
-
function
|
|
8
|
-
const { properties: e, title:
|
|
9
|
-
return (!
|
|
5
|
+
import { withInstall as Z } from "../common/index.esm.js";
|
|
6
|
+
const V = {}, $ = {};
|
|
7
|
+
function B(n) {
|
|
8
|
+
const { properties: e, title: t, ignore: a } = n, r = a && Array.isArray(a), i = Object.keys(e).reduce((o, p) => ((!r || !a.find((f) => f == p)) && (o[p] = e[p].type === "object" && e[p].properties ? B(e[p]) : x(e[p].default)), o), {});
|
|
9
|
+
return t && (!r || !a.find((o) => o == "id")) && (i.id = `${t}-${Date.now()}`), i;
|
|
10
10
|
}
|
|
11
|
-
function
|
|
12
|
-
const
|
|
13
|
-
if (
|
|
14
|
-
let
|
|
15
|
-
const i =
|
|
16
|
-
return
|
|
11
|
+
function q(n, e = {}, t) {
|
|
12
|
+
const a = V[n];
|
|
13
|
+
if (a) {
|
|
14
|
+
let r = B(a);
|
|
15
|
+
const i = $[n];
|
|
16
|
+
return r = i ? i({ getSchemaByType: q }, r, e, t) : r, r;
|
|
17
17
|
}
|
|
18
18
|
return null;
|
|
19
19
|
}
|
|
20
|
-
function
|
|
21
|
-
const
|
|
22
|
-
return Object.keys(
|
|
20
|
+
function J(n, e) {
|
|
21
|
+
const t = B(e);
|
|
22
|
+
return Object.keys(n).reduce((a, r) => (a[r] && O(a[r]) && O(n[r]) ? Object.assign(a[r], n[r]) : a[r] = n[r], a), t), t;
|
|
23
23
|
}
|
|
24
|
-
function
|
|
25
|
-
return Object.keys(
|
|
26
|
-
if (e.has(
|
|
27
|
-
const i = e.get(
|
|
24
|
+
function Q(n, e) {
|
|
25
|
+
return Object.keys(n).filter((a) => n[a] != null).reduce((a, r) => {
|
|
26
|
+
if (e.has(r)) {
|
|
27
|
+
const i = e.get(r);
|
|
28
28
|
if (typeof i == "string")
|
|
29
|
-
|
|
29
|
+
a[i] = n[r];
|
|
30
30
|
else {
|
|
31
|
-
const
|
|
32
|
-
Object.assign(
|
|
31
|
+
const o = i(r, n[r], n);
|
|
32
|
+
Object.assign(a, o);
|
|
33
33
|
}
|
|
34
34
|
} else
|
|
35
|
-
|
|
36
|
-
return
|
|
35
|
+
a[r] = n[r];
|
|
36
|
+
return a;
|
|
37
37
|
}, {});
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
const
|
|
41
|
-
return
|
|
39
|
+
function X(n, e, t = /* @__PURE__ */ new Map()) {
|
|
40
|
+
const a = J(n, e);
|
|
41
|
+
return Q(a, t);
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
function e(
|
|
45
|
-
if (typeof
|
|
46
|
-
return u[
|
|
47
|
-
if (typeof
|
|
48
|
-
const
|
|
49
|
-
if (
|
|
50
|
-
return Number(u[
|
|
51
|
-
if (
|
|
52
|
-
return Number(u[
|
|
53
|
-
if (
|
|
54
|
-
return Number(u[
|
|
43
|
+
function Y(n = {}) {
|
|
44
|
+
function e(s, c, l, u) {
|
|
45
|
+
if (typeof l == "number")
|
|
46
|
+
return u[s].length === l;
|
|
47
|
+
if (typeof l == "object") {
|
|
48
|
+
const d = Object.keys(l)[0], y = l[d];
|
|
49
|
+
if (d === "not")
|
|
50
|
+
return Number(u[s].length) !== Number(y);
|
|
51
|
+
if (d === "moreThan")
|
|
52
|
+
return Number(u[s].length) >= Number(y);
|
|
53
|
+
if (d === "lessThan")
|
|
54
|
+
return Number(u[s].length) <= Number(y);
|
|
55
55
|
}
|
|
56
56
|
return !1;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
59
|
-
return u[
|
|
58
|
+
function t(s, c, l, u) {
|
|
59
|
+
return u[s] && u[s].propertyValue && String(u[s].propertyValue.value) === String(l);
|
|
60
60
|
}
|
|
61
|
-
const
|
|
61
|
+
const a = /* @__PURE__ */ new Map([
|
|
62
62
|
["length", e],
|
|
63
|
-
["getProperty",
|
|
63
|
+
["getProperty", t]
|
|
64
64
|
]);
|
|
65
|
-
Object.keys(
|
|
66
|
-
function s
|
|
67
|
-
const
|
|
68
|
-
return typeof
|
|
65
|
+
Object.keys(n).reduce((s, c) => (s.set(c, n[c]), s), a);
|
|
66
|
+
function r(s, c) {
|
|
67
|
+
const l = s;
|
|
68
|
+
return typeof c == "number" ? [{ target: l, operator: "length", param: null, value: Number(c) }] : typeof c == "boolean" ? [{ target: l, operator: "getProperty", param: s, value: !!c }] : typeof c == "object" ? Object.keys(c).map((u) => {
|
|
69
69
|
if (u === "length")
|
|
70
|
-
return { target:
|
|
71
|
-
const
|
|
72
|
-
return { target:
|
|
70
|
+
return { target: l, operator: "length", param: null, value: c[u] };
|
|
71
|
+
const d = u, y = c[u];
|
|
72
|
+
return { target: l, operator: "getProperty", param: d, value: y };
|
|
73
73
|
}) : [];
|
|
74
74
|
}
|
|
75
|
-
function i(
|
|
76
|
-
return Object.keys(
|
|
77
|
-
const
|
|
78
|
-
return
|
|
75
|
+
function i(s) {
|
|
76
|
+
return Object.keys(s).reduce((l, u) => {
|
|
77
|
+
const d = r(u, s[u]);
|
|
78
|
+
return l.push(...d), l;
|
|
79
79
|
}, []);
|
|
80
80
|
}
|
|
81
|
-
function
|
|
82
|
-
if (
|
|
83
|
-
const
|
|
84
|
-
return
|
|
81
|
+
function o(s, c) {
|
|
82
|
+
if (a.has(s.operator)) {
|
|
83
|
+
const l = a.get(s.operator);
|
|
84
|
+
return l && l(s.target, s.param, s.value, c) || !1;
|
|
85
85
|
}
|
|
86
86
|
return !1;
|
|
87
87
|
}
|
|
88
|
-
function
|
|
89
|
-
return i(
|
|
88
|
+
function p(s, c) {
|
|
89
|
+
return i(s).reduce((d, y) => d && o(y, c), !0);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
92
|
-
const
|
|
93
|
-
return u ? !
|
|
91
|
+
function f(s, c) {
|
|
92
|
+
const l = Object.keys(s), u = l.includes("allOf"), d = l.includes("anyOf"), y = u || d, S = (y ? s[y ? u ? "allOf" : "anyOf" : "allOf"] : [s]).map((T) => p(T, c));
|
|
93
|
+
return u ? !S.includes(!1) : S.includes(!0);
|
|
94
94
|
}
|
|
95
|
-
return { parseValueSchema:
|
|
95
|
+
return { parseValueSchema: f };
|
|
96
96
|
}
|
|
97
|
-
const
|
|
97
|
+
const k = {
|
|
98
98
|
button: { type: "button", name: "按钮", icon: "Button" },
|
|
99
99
|
"response-toolbar": { type: "response-toolbar", name: "工具栏", icon: "ButtonGroup" },
|
|
100
100
|
"response-toolbar-item": { type: "response-toolbar-item", name: "按钮", icon: "Button" },
|
|
@@ -131,66 +131,67 @@ const ae = {
|
|
|
131
131
|
uploader: { type: "uploader", name: "附件上传", icon: "FileUpload" },
|
|
132
132
|
"page-header": { type: "page-header", name: "页头", icon: "Header" },
|
|
133
133
|
"page-footer": { type: "page-footer", name: "页脚", icon: "ModalFooter" },
|
|
134
|
-
"tab-toolbar": { type: "tab-toolbar", name: "标签页工具栏", icon: "TabToolbar" }
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
134
|
+
"tab-toolbar": { type: "tab-toolbar", name: "标签页工具栏", icon: "TabToolbar" },
|
|
135
|
+
fieldset: { type: "fieldset", name: "分组", icon: "fieldset" }
|
|
136
|
+
}, K = {}, I = {};
|
|
137
|
+
Y();
|
|
138
|
+
function ee(n, e, t = /* @__PURE__ */ new Map(), a = (o, p, f) => p, r = {}, i = (o) => o) {
|
|
139
|
+
return V[e.title] = e, $[e.title] = a, K[e.title] = r, I[e.title] = i, (o = {}) => {
|
|
140
|
+
const p = X(o, e, t), f = Object.keys(n).reduce((s, c) => (s[c] = n[c].default, s), {});
|
|
141
|
+
return Object.assign(f, p);
|
|
141
142
|
};
|
|
142
143
|
}
|
|
143
|
-
function
|
|
144
|
+
function te(n, e) {
|
|
144
145
|
return { customClass: e.class, customStyle: e.style };
|
|
145
146
|
}
|
|
146
|
-
function
|
|
147
|
-
return e ? { enableAccordion:
|
|
147
|
+
function ne(n, e, t) {
|
|
148
|
+
return e ? { enableAccordion: t.accordionMode } : { enableAccordion: "" };
|
|
148
149
|
}
|
|
149
|
-
function
|
|
150
|
-
return e && e.contents && e.contents.length && e.contents.forEach((
|
|
151
|
-
|
|
150
|
+
function oe(n, e) {
|
|
151
|
+
return e && e.contents && e.contents.length && e.contents.forEach((t) => {
|
|
152
|
+
t.title && (t.text = t.title);
|
|
152
153
|
}), {
|
|
153
154
|
buttons: e.contents,
|
|
154
155
|
buttonPosition: e.position
|
|
155
156
|
};
|
|
156
157
|
}
|
|
157
|
-
const
|
|
158
|
-
["appearance",
|
|
158
|
+
const ae = /* @__PURE__ */ new Map([
|
|
159
|
+
["appearance", te],
|
|
159
160
|
["expanded", "expandStatus"],
|
|
160
|
-
["enableAccordion",
|
|
161
|
-
["toolbar",
|
|
161
|
+
["enableAccordion", ne],
|
|
162
|
+
["toolbar", oe]
|
|
162
163
|
]);
|
|
163
|
-
function
|
|
164
|
-
const
|
|
164
|
+
function re(n, e, t, a) {
|
|
165
|
+
const r = Math.random().toString().slice(2, 6), i = t.parentComponentInstance;
|
|
165
166
|
Object.assign(e, {
|
|
166
|
-
id: `section-${
|
|
167
|
+
id: `section-${r}`,
|
|
167
168
|
appearance: {
|
|
168
169
|
class: "f-section-in-mainsubcard"
|
|
169
170
|
},
|
|
170
171
|
enableAccordion: !1,
|
|
171
172
|
mainTitle: e.mainTitle || "标题"
|
|
172
173
|
});
|
|
173
|
-
const
|
|
174
|
-
Object.assign(
|
|
175
|
-
id: `container-${
|
|
174
|
+
const o = n.getSchemaByType("content-container");
|
|
175
|
+
Object.assign(o, {
|
|
176
|
+
id: `container-${r}`,
|
|
176
177
|
appearance: {
|
|
177
178
|
class: "f-struct-wrapper"
|
|
178
179
|
},
|
|
179
180
|
contents: [e]
|
|
180
181
|
});
|
|
181
|
-
const
|
|
182
|
-
switch (
|
|
183
|
-
case
|
|
182
|
+
const p = i.schema;
|
|
183
|
+
switch (p && p.type) {
|
|
184
|
+
case k["splitter-pane"].type: {
|
|
184
185
|
e.appearance.class = "f-section-in-main";
|
|
185
186
|
break;
|
|
186
187
|
}
|
|
187
188
|
}
|
|
188
|
-
return
|
|
189
|
+
return o;
|
|
189
190
|
}
|
|
190
|
-
function
|
|
191
|
-
return
|
|
191
|
+
function ie(n, e, t, a) {
|
|
192
|
+
return t.parentComponentInstance ? re(n, e, t) : e;
|
|
192
193
|
}
|
|
193
|
-
const
|
|
194
|
+
const se = "https://json-schema.org/draft/2020-12/schema", ce = "https://farris-design.gitee.io/section.schema.json", le = "section", ue = "A Farris Container Component", pe = "object", fe = {
|
|
194
195
|
id: {
|
|
195
196
|
description: "The unique identifier for a Section",
|
|
196
197
|
type: "string"
|
|
@@ -315,19 +316,19 @@ const be = "https://json-schema.org/draft/2020-12/schema", me = "https://farris-
|
|
|
315
316
|
},
|
|
316
317
|
default: null
|
|
317
318
|
}
|
|
318
|
-
},
|
|
319
|
+
}, de = [
|
|
319
320
|
"id",
|
|
320
321
|
"type",
|
|
321
322
|
"contents"
|
|
322
|
-
],
|
|
323
|
-
$schema:
|
|
324
|
-
$id:
|
|
325
|
-
title:
|
|
326
|
-
description:
|
|
327
|
-
type:
|
|
328
|
-
properties:
|
|
329
|
-
required:
|
|
330
|
-
},
|
|
323
|
+
], me = {
|
|
324
|
+
$schema: se,
|
|
325
|
+
$id: ce,
|
|
326
|
+
title: le,
|
|
327
|
+
description: ue,
|
|
328
|
+
type: pe,
|
|
329
|
+
properties: fe,
|
|
330
|
+
required: de
|
|
331
|
+
}, F = {
|
|
331
332
|
/** 设置内容区域样式 */
|
|
332
333
|
contentClass: { type: String, default: "" },
|
|
333
334
|
/** 自定义样式 */
|
|
@@ -371,25 +372,25 @@ const be = "https://json-schema.org/draft/2020-12/schema", me = "https://farris-
|
|
|
371
372
|
// toolbarPosition: { type: String, default: '' },
|
|
372
373
|
// toolbarButtons: { type: Array<object>, default: [] },
|
|
373
374
|
// toolbar: { type: Object as PropType<ToolbarConfig>, default: {} }
|
|
374
|
-
},
|
|
375
|
-
function
|
|
376
|
-
let
|
|
377
|
-
function
|
|
378
|
-
!
|
|
375
|
+
}, G = ee(F, me, ae, ie);
|
|
376
|
+
function ye(n, e, t) {
|
|
377
|
+
let a;
|
|
378
|
+
function r() {
|
|
379
|
+
!n || !e.value || (t.value = !t.value, t.value ? i() : o());
|
|
379
380
|
}
|
|
380
381
|
function i() {
|
|
381
|
-
|
|
382
|
-
const
|
|
383
|
-
|
|
382
|
+
a = n.value.nextElementSibling;
|
|
383
|
+
const f = document && document.querySelector("body");
|
|
384
|
+
f && (f.appendChild(n.value), n.value.style.zIndex = p());
|
|
384
385
|
}
|
|
385
|
-
function
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
) : e.value.appendChild(
|
|
386
|
+
function o() {
|
|
387
|
+
a ? e.value.insertBefore(
|
|
388
|
+
n.value,
|
|
389
|
+
a
|
|
390
|
+
) : e.value.appendChild(n.value), n.value.style.zIndex = null;
|
|
390
391
|
}
|
|
391
|
-
function
|
|
392
|
-
const
|
|
392
|
+
function p(f = 1) {
|
|
393
|
+
const s = [
|
|
393
394
|
"body>.f-datagrid-settings-simple-host",
|
|
394
395
|
"body>div",
|
|
395
396
|
"body>farris-dialog>.farris-modal.show",
|
|
@@ -399,915 +400,174 @@ function Ae(t, e, n) {
|
|
|
399
400
|
"body>.popover.show",
|
|
400
401
|
"body>filter-row-panel>.f-datagrid-filter-panel",
|
|
401
402
|
"body>.f-section-maximize"
|
|
402
|
-
],
|
|
403
|
-
const { display:
|
|
404
|
-
return
|
|
403
|
+
], c = Array.from(document.body.querySelectorAll(s.join(","))).filter((u) => u).map((u) => {
|
|
404
|
+
const { display: d, zIndex: y } = window.getComputedStyle(u);
|
|
405
|
+
return d === "none" ? 0 : parseInt(y, 10);
|
|
405
406
|
}).filter((u) => u);
|
|
406
|
-
let
|
|
407
|
-
return
|
|
407
|
+
let l = Math.max(...c);
|
|
408
|
+
return l < 1040 && (l = 1040), l + f;
|
|
408
409
|
}
|
|
409
|
-
return { onClickMaxMinIcon:
|
|
410
|
+
return { onClickMaxMinIcon: r };
|
|
410
411
|
}
|
|
411
|
-
function
|
|
412
|
-
const
|
|
413
|
-
|
|
412
|
+
function j(n, e) {
|
|
413
|
+
const t = v(n.buttons), a = h(() => n.buttonPosition === "inHead" ? "right" : "left"), r = h(() => "f-section-toolbar" + (n.buttonPosition === "inHead" ? " f-section-header--toolbar" : " f-section-content--toolbar")), i = h(() => {
|
|
414
|
+
n.buttons && n.buttons.length > 0 && n.buttonPosition;
|
|
414
415
|
});
|
|
415
|
-
function
|
|
416
|
-
e.emit("Click",
|
|
417
|
-
}
|
|
418
|
-
return () => i &&
|
|
419
|
-
customClass:
|
|
420
|
-
items:
|
|
421
|
-
onClick:
|
|
422
|
-
alignment:
|
|
416
|
+
function o(p) {
|
|
417
|
+
e.emit("Click", p);
|
|
418
|
+
}
|
|
419
|
+
return () => i && b(_, {
|
|
420
|
+
customClass: r.value,
|
|
421
|
+
items: t.value,
|
|
422
|
+
onClick: o,
|
|
423
|
+
alignment: a.value
|
|
423
424
|
}, null);
|
|
424
425
|
}
|
|
425
|
-
function
|
|
426
|
-
|
|
427
|
-
const
|
|
428
|
-
onClickMaxMinIcon:
|
|
429
|
-
} =
|
|
430
|
-
const
|
|
426
|
+
function R(n, e, t, a, r, i) {
|
|
427
|
+
v(n.subTitle);
|
|
428
|
+
const o = h(() => n.buttonPosition), p = j(n, e), {
|
|
429
|
+
onClickMaxMinIcon: f
|
|
430
|
+
} = ye(a, r, i), s = h(() => !!n.subTitle), c = h(() => n.enableMaximize), l = h(() => n.enableAccordion != ""), u = h(() => {
|
|
431
|
+
const T = {
|
|
431
432
|
"f-section-header": !0
|
|
432
433
|
};
|
|
433
|
-
return e.slots.header &&
|
|
434
|
+
return e.slots.header && n.headerClass.split(" ").reduce((m, g) => (m[g] = !0, m), T), T;
|
|
434
435
|
});
|
|
435
|
-
function
|
|
436
|
-
|
|
436
|
+
function d(T) {
|
|
437
|
+
T.stopPropagation(), n.enableAccordion !== "" && (t.value = !t.value);
|
|
437
438
|
}
|
|
438
|
-
function
|
|
439
|
-
const
|
|
439
|
+
function y() {
|
|
440
|
+
const T = h(() => ({
|
|
440
441
|
btn: !0,
|
|
441
442
|
"f-btn-collapse-expand": !0,
|
|
442
443
|
"f-btn-mx": !0,
|
|
443
|
-
"f-state-expand":
|
|
444
|
-
})),
|
|
444
|
+
"f-state-expand": t.value
|
|
445
|
+
})), A = h(() => ({
|
|
445
446
|
"f-icon": !0,
|
|
446
447
|
"f-icon-maximize": !i.value,
|
|
447
448
|
"f-icon-minimize": i.value
|
|
448
449
|
}));
|
|
449
|
-
return
|
|
450
|
+
return b("div", {
|
|
450
451
|
class: "f-max-accordion"
|
|
451
|
-
}, [
|
|
452
|
-
class:
|
|
453
|
-
onClick:
|
|
454
|
-
}, null) : "",
|
|
455
|
-
class:
|
|
456
|
-
onClick:
|
|
457
|
-
}, [
|
|
458
|
-
}
|
|
459
|
-
function
|
|
460
|
-
return e.slots.header ?
|
|
452
|
+
}, [c.value ? b("span", {
|
|
453
|
+
class: A.value,
|
|
454
|
+
onClick: f
|
|
455
|
+
}, null) : "", l.value ? b("button", {
|
|
456
|
+
class: T.value,
|
|
457
|
+
onClick: d
|
|
458
|
+
}, [b("span", null, [t.value ? n.collapseLabel : n.expandLabel])]) : ""]);
|
|
459
|
+
}
|
|
460
|
+
function M() {
|
|
461
|
+
return e.slots.header ? b("div", {
|
|
461
462
|
class: u.value
|
|
462
463
|
}, [e.slots.header()]) : "";
|
|
463
464
|
}
|
|
464
|
-
function
|
|
465
|
-
return
|
|
465
|
+
function C() {
|
|
466
|
+
return b("div", {
|
|
466
467
|
class: "f-title",
|
|
467
|
-
onClick:
|
|
468
|
-
}, [
|
|
468
|
+
onClick: d
|
|
469
|
+
}, [b("h4", {
|
|
469
470
|
class: "f-title-text"
|
|
470
|
-
}, [
|
|
471
|
+
}, [n.mainTitle]), s.value && b("span", null, [n.subTitle])]);
|
|
471
472
|
}
|
|
472
|
-
function
|
|
473
|
-
const
|
|
474
|
-
const
|
|
473
|
+
function S() {
|
|
474
|
+
const T = h(() => {
|
|
475
|
+
const A = {
|
|
475
476
|
"f-content": !0
|
|
476
477
|
};
|
|
477
|
-
return
|
|
478
|
+
return n.headerContentClass && n.headerContentClass.split(" ").reduce((g, D) => (g[D] = !0, g), A), A;
|
|
478
479
|
});
|
|
479
|
-
return e.slots.headerContent ?
|
|
480
|
-
class:
|
|
480
|
+
return e.slots.headerContent ? b("div", {
|
|
481
|
+
class: T.value
|
|
481
482
|
}, [e.slots.headerContent()]) : "";
|
|
482
483
|
}
|
|
483
|
-
function
|
|
484
|
-
return
|
|
484
|
+
function w() {
|
|
485
|
+
return b("div", {
|
|
485
486
|
class: u.value
|
|
486
|
-
}, [e.slots.headerTitle ? e.slots.headerTitle() :
|
|
487
|
+
}, [e.slots.headerTitle ? e.slots.headerTitle() : C(), S(), o.value === "inHead" && p(), (c.value || l.value) && y()]);
|
|
487
488
|
}
|
|
488
|
-
return () =>
|
|
489
|
+
return () => n.showHeader && (e.slots.header ? M() : w());
|
|
489
490
|
}
|
|
490
|
-
const
|
|
491
|
-
function
|
|
492
|
-
let
|
|
491
|
+
const he = ["moz", "ms", "webkit"];
|
|
492
|
+
function be() {
|
|
493
|
+
let n = 0;
|
|
493
494
|
return (e) => {
|
|
494
|
-
const
|
|
495
|
-
e(
|
|
496
|
-
},
|
|
497
|
-
return
|
|
495
|
+
const t = (/* @__PURE__ */ new Date()).getTime(), a = Math.max(0, 16 - (t - n)), r = setTimeout(() => {
|
|
496
|
+
e(t + a);
|
|
497
|
+
}, a);
|
|
498
|
+
return n = t + a, r;
|
|
498
499
|
};
|
|
499
500
|
}
|
|
500
|
-
function
|
|
501
|
+
function ve() {
|
|
501
502
|
if (typeof window > "u")
|
|
502
503
|
return () => 0;
|
|
503
504
|
if (window.requestAnimationFrame)
|
|
504
505
|
return window.requestAnimationFrame.bind(window);
|
|
505
|
-
const
|
|
506
|
-
return
|
|
506
|
+
const n = he.filter((e) => `${e}RequestAnimationFrame` in window)[0];
|
|
507
|
+
return n ? window[`${n}RequestAnimationFrame`] : be();
|
|
507
508
|
}
|
|
508
|
-
|
|
509
|
-
function
|
|
510
|
-
return ((e == null ? void 0 : e.split(" ")) || []).reduce((
|
|
509
|
+
ve();
|
|
510
|
+
function P(n, e) {
|
|
511
|
+
return ((e == null ? void 0 : e.split(" ")) || []).reduce((a, r) => (r && (a[r] = !0), a), n), n;
|
|
511
512
|
}
|
|
512
|
-
const
|
|
513
|
+
const E = /* @__PURE__ */ z({
|
|
513
514
|
name: "FSection",
|
|
514
|
-
props:
|
|
515
|
+
props: F,
|
|
515
516
|
emits: [],
|
|
516
|
-
setup(
|
|
517
|
-
const
|
|
518
|
-
let
|
|
519
|
-
const
|
|
520
|
-
const
|
|
517
|
+
setup(n, e) {
|
|
518
|
+
const t = v();
|
|
519
|
+
let a = v();
|
|
520
|
+
const r = v(n.customClass), i = h(() => n.enableAccordion), o = v(n.expandStatus), p = h(() => n.buttonPosition), f = v(!1), s = R(n, e, o, t, a, f), c = j(n, e), l = h(() => {
|
|
521
|
+
const C = {
|
|
521
522
|
"f-section": !0,
|
|
522
523
|
"f-section-accordion": i.value === "default",
|
|
523
|
-
"f-state-collapse": (i.value === "default" || i.value === "custom") && !
|
|
524
|
+
"f-state-collapse": (i.value === "default" || i.value === "custom") && !o.value,
|
|
524
525
|
"f-section-custom-accordion": i.value === "custom",
|
|
525
|
-
"f-section-fill":
|
|
526
|
-
"f-section-maximize":
|
|
526
|
+
"f-section-fill": n.fill,
|
|
527
|
+
"f-section-maximize": f.value
|
|
527
528
|
};
|
|
528
|
-
return
|
|
529
|
-
}), u =
|
|
529
|
+
return P(C, r.value);
|
|
530
|
+
}), u = h(() => P({
|
|
530
531
|
"f-section-content": !0
|
|
531
|
-
},
|
|
532
|
+
}, n.contentClass)), d = h(() => P({
|
|
532
533
|
"f-section-extend": !0
|
|
533
|
-
},
|
|
534
|
-
function
|
|
535
|
-
return e.slots.extend &&
|
|
536
|
-
class:
|
|
534
|
+
}, d.value));
|
|
535
|
+
function y() {
|
|
536
|
+
return e.slots.extend && b("div", {
|
|
537
|
+
class: d.value
|
|
537
538
|
}, [e.slots.extend()]);
|
|
538
539
|
}
|
|
539
|
-
function
|
|
540
|
-
return
|
|
540
|
+
function M() {
|
|
541
|
+
return b("div", {
|
|
541
542
|
class: u.value
|
|
542
|
-
}, [
|
|
543
|
+
}, [p.value === "inContent" && c(), e.slots.default && e.slots.default()]);
|
|
543
544
|
}
|
|
544
|
-
return
|
|
545
|
-
|
|
546
|
-
}),
|
|
547
|
-
|
|
548
|
-
}), () =>
|
|
549
|
-
class:
|
|
550
|
-
ref:
|
|
551
|
-
}, [
|
|
545
|
+
return U(() => n.expandStatus, (C, S) => {
|
|
546
|
+
C !== S && (o.value = C);
|
|
547
|
+
}), H(() => {
|
|
548
|
+
t && t.value && (a.value = t.value.parentElement);
|
|
549
|
+
}), () => b("div", {
|
|
550
|
+
class: l.value,
|
|
551
|
+
ref: t
|
|
552
|
+
}, [s(), y(), M()]);
|
|
552
553
|
}
|
|
553
554
|
});
|
|
554
|
-
function
|
|
555
|
-
function
|
|
556
|
-
var
|
|
555
|
+
function Ce() {
|
|
556
|
+
function n(e, t) {
|
|
557
|
+
var o;
|
|
557
558
|
if (!e)
|
|
558
559
|
return !1;
|
|
559
|
-
const
|
|
560
|
-
if (!
|
|
560
|
+
const a = ((o = e.targetContainer) == null ? void 0 : o.componentInstance) && e.targetContainer.componentInstance.value;
|
|
561
|
+
if (!a)
|
|
561
562
|
return !1;
|
|
562
|
-
const
|
|
563
|
-
|
|
564
|
-
const y = n.schema.type, m = (y === "response-form" || y === "content-container") && o && o.includes("farris-form");
|
|
565
|
-
if (n.schema.type !== "response-layout-item" && !m)
|
|
566
|
-
return !1;
|
|
567
|
-
}
|
|
568
|
-
return e.controlType !== "field-set";
|
|
563
|
+
const r = a.schema.type, i = t == null ? void 0 : t.formSchemaUtils.getComponentById(a.belongedComponentId);
|
|
564
|
+
return !((e.controlCategory === "input" || e.controlType === "form-group") && ![k["response-layout-item"].type, k["response-form"].type].includes(r) || (e.controlType === k.tabs.type || e.controlType === k.section.type) && ((i == null ? void 0 : i.componentType) !== "frame" || ![k["content-container"].type, k["splitter-pane"].type, k["response-layout-item"].type].includes(r)));
|
|
569
565
|
}
|
|
570
566
|
return {
|
|
571
|
-
basalDragulaRuleForContainer:
|
|
567
|
+
basalDragulaRuleForContainer: n
|
|
572
568
|
};
|
|
573
569
|
}
|
|
574
|
-
const
|
|
575
|
-
"f-page": {
|
|
576
|
-
description: "The root class of page designed by farris.",
|
|
577
|
-
type: "object",
|
|
578
|
-
properties: {
|
|
579
|
-
contents: {
|
|
580
|
-
type: "object",
|
|
581
|
-
properties: {
|
|
582
|
-
"f-page-header": {
|
|
583
|
-
description: "The class of page header designed by farris.",
|
|
584
|
-
type: "string"
|
|
585
|
-
},
|
|
586
|
-
"f-page-main": {
|
|
587
|
-
description: "The class of page body designed by farris.",
|
|
588
|
-
type: "object",
|
|
589
|
-
properties: {
|
|
590
|
-
contents: {
|
|
591
|
-
type: "object",
|
|
592
|
-
properties: {
|
|
593
|
-
"f-struct-like-card": {
|
|
594
|
-
description: "",
|
|
595
|
-
type: "object",
|
|
596
|
-
properties: {
|
|
597
|
-
contents: {
|
|
598
|
-
type: "object",
|
|
599
|
-
properties: {
|
|
600
|
-
"f-struct-form": {
|
|
601
|
-
description: "The class of form component which has a hierarchical structure of component -> section -> respnse-form.",
|
|
602
|
-
type: "object",
|
|
603
|
-
properties: {
|
|
604
|
-
contents: {
|
|
605
|
-
type: "object",
|
|
606
|
-
properties: {
|
|
607
|
-
"f-section-form": {
|
|
608
|
-
description: "The class of section which has wrapped a reponse-form component.",
|
|
609
|
-
type: "object",
|
|
610
|
-
properties: {
|
|
611
|
-
contents: {
|
|
612
|
-
type: "object",
|
|
613
|
-
properties: {
|
|
614
|
-
"f-form-layout": {
|
|
615
|
-
description: "The class of reponse form",
|
|
616
|
-
type: "object",
|
|
617
|
-
properties: {
|
|
618
|
-
rules: {
|
|
619
|
-
type: "object",
|
|
620
|
-
properties: {
|
|
621
|
-
canAccept: {
|
|
622
|
-
type: "boolean",
|
|
623
|
-
const: !0
|
|
624
|
-
},
|
|
625
|
-
fixed: {
|
|
626
|
-
type: "boolean",
|
|
627
|
-
const: !0
|
|
628
|
-
},
|
|
629
|
-
hidePadding: {
|
|
630
|
-
type: "boolean",
|
|
631
|
-
const: !1
|
|
632
|
-
}
|
|
633
|
-
}
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
}
|
|
638
|
-
},
|
|
639
|
-
rules: {
|
|
640
|
-
type: "object",
|
|
641
|
-
properties: {
|
|
642
|
-
canAccept: {
|
|
643
|
-
type: "boolean",
|
|
644
|
-
const: !1
|
|
645
|
-
},
|
|
646
|
-
fixed: {
|
|
647
|
-
type: "boolean",
|
|
648
|
-
const: !0
|
|
649
|
-
},
|
|
650
|
-
hidePadding: {
|
|
651
|
-
type: "boolean",
|
|
652
|
-
const: !0
|
|
653
|
-
}
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
},
|
|
660
|
-
rules: {
|
|
661
|
-
type: "object",
|
|
662
|
-
properties: {
|
|
663
|
-
canAccept: {
|
|
664
|
-
type: "boolean",
|
|
665
|
-
const: !1
|
|
666
|
-
},
|
|
667
|
-
fixed: {
|
|
668
|
-
type: "boolean",
|
|
669
|
-
const: !1
|
|
670
|
-
},
|
|
671
|
-
hidePadding: {
|
|
672
|
-
type: "boolean",
|
|
673
|
-
const: !0
|
|
674
|
-
}
|
|
675
|
-
}
|
|
676
|
-
}
|
|
677
|
-
}
|
|
678
|
-
},
|
|
679
|
-
"f-struct-wrapper": {
|
|
680
|
-
description: "",
|
|
681
|
-
type: "object",
|
|
682
|
-
properties: {
|
|
683
|
-
contents: {
|
|
684
|
-
type: "object",
|
|
685
|
-
properties: {
|
|
686
|
-
"f-section-tabs": {
|
|
687
|
-
description: "The class of section which has wrapped sub-grid tabs.",
|
|
688
|
-
type: "object",
|
|
689
|
-
properties: {
|
|
690
|
-
contents: {
|
|
691
|
-
type: "object",
|
|
692
|
-
properties: {
|
|
693
|
-
"f-tabs-in-card": {
|
|
694
|
-
description: "The class of tabs which contains sub-grid.",
|
|
695
|
-
type: "object",
|
|
696
|
-
properties: {
|
|
697
|
-
contents: {
|
|
698
|
-
type: "object",
|
|
699
|
-
properties: {
|
|
700
|
-
"f-struct-data-grid-in-card": {
|
|
701
|
-
description: "The class of sub-grid component",
|
|
702
|
-
type: "object",
|
|
703
|
-
properties: {
|
|
704
|
-
contents: {
|
|
705
|
-
type: "object",
|
|
706
|
-
properties: {
|
|
707
|
-
"f-grid-is-sub": {
|
|
708
|
-
description: "The class of sub-grid",
|
|
709
|
-
type: "object",
|
|
710
|
-
properties: {
|
|
711
|
-
rules: {
|
|
712
|
-
type: "object",
|
|
713
|
-
properties: {
|
|
714
|
-
canAccept: {
|
|
715
|
-
type: "boolean",
|
|
716
|
-
const: !0
|
|
717
|
-
},
|
|
718
|
-
fixed: {
|
|
719
|
-
type: "boolean",
|
|
720
|
-
const: !0
|
|
721
|
-
},
|
|
722
|
-
hidePadding: {
|
|
723
|
-
type: "boolean",
|
|
724
|
-
const: !1
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
}
|
|
728
|
-
}
|
|
729
|
-
}
|
|
730
|
-
}
|
|
731
|
-
},
|
|
732
|
-
rules: {
|
|
733
|
-
type: "object",
|
|
734
|
-
properties: {
|
|
735
|
-
canAccept: {
|
|
736
|
-
type: "boolean",
|
|
737
|
-
const: !1
|
|
738
|
-
},
|
|
739
|
-
fixed: {
|
|
740
|
-
type: "boolean",
|
|
741
|
-
const: !1
|
|
742
|
-
},
|
|
743
|
-
hidePadding: {
|
|
744
|
-
type: "boolean",
|
|
745
|
-
const: !0
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
},
|
|
753
|
-
rules: {
|
|
754
|
-
type: "object",
|
|
755
|
-
properties: {
|
|
756
|
-
canAccept: {
|
|
757
|
-
type: "boolean",
|
|
758
|
-
const: !1
|
|
759
|
-
},
|
|
760
|
-
fixed: {
|
|
761
|
-
type: "boolean",
|
|
762
|
-
const: !0
|
|
763
|
-
},
|
|
764
|
-
hidePadding: {
|
|
765
|
-
type: "boolean",
|
|
766
|
-
const: !0
|
|
767
|
-
}
|
|
768
|
-
}
|
|
769
|
-
}
|
|
770
|
-
}
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
},
|
|
774
|
-
rules: {
|
|
775
|
-
type: "object",
|
|
776
|
-
properties: {
|
|
777
|
-
canAccept: {
|
|
778
|
-
type: "boolean",
|
|
779
|
-
const: !1
|
|
780
|
-
},
|
|
781
|
-
fixed: {
|
|
782
|
-
type: "boolean",
|
|
783
|
-
const: !0
|
|
784
|
-
},
|
|
785
|
-
hidePadding: {
|
|
786
|
-
type: "boolean",
|
|
787
|
-
const: !0
|
|
788
|
-
}
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
},
|
|
793
|
-
"f-section-in-main": {
|
|
794
|
-
description: "The class of section which has wrapped a reponse-form component.",
|
|
795
|
-
type: "object",
|
|
796
|
-
properties: {
|
|
797
|
-
rules: {
|
|
798
|
-
type: "object",
|
|
799
|
-
properties: {
|
|
800
|
-
canAccept: {
|
|
801
|
-
type: "boolean",
|
|
802
|
-
const: !0
|
|
803
|
-
},
|
|
804
|
-
fixed: {
|
|
805
|
-
type: "boolean",
|
|
806
|
-
const: !0
|
|
807
|
-
},
|
|
808
|
-
hidePadding: {
|
|
809
|
-
type: "boolean",
|
|
810
|
-
const: !1
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
},
|
|
818
|
-
rules: {
|
|
819
|
-
type: "object",
|
|
820
|
-
properties: {
|
|
821
|
-
canAccept: {
|
|
822
|
-
type: "boolean",
|
|
823
|
-
const: !1
|
|
824
|
-
},
|
|
825
|
-
fixed: {
|
|
826
|
-
type: "boolean",
|
|
827
|
-
const: !1
|
|
828
|
-
},
|
|
829
|
-
hidePadding: {
|
|
830
|
-
type: "boolean",
|
|
831
|
-
const: !0
|
|
832
|
-
}
|
|
833
|
-
}
|
|
834
|
-
}
|
|
835
|
-
}
|
|
836
|
-
}
|
|
837
|
-
}
|
|
838
|
-
},
|
|
839
|
-
rules: {
|
|
840
|
-
type: "object",
|
|
841
|
-
properties: {
|
|
842
|
-
canAccept: {
|
|
843
|
-
type: "boolean",
|
|
844
|
-
const: !0
|
|
845
|
-
},
|
|
846
|
-
fixed: {
|
|
847
|
-
type: "boolean",
|
|
848
|
-
const: !0
|
|
849
|
-
},
|
|
850
|
-
hidePadding: {
|
|
851
|
-
type: "object",
|
|
852
|
-
const: {
|
|
853
|
-
allOf: [
|
|
854
|
-
{
|
|
855
|
-
sibling: 0,
|
|
856
|
-
parent: {
|
|
857
|
-
"f-page-main": !0
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
]
|
|
861
|
-
}
|
|
862
|
-
}
|
|
863
|
-
}
|
|
864
|
-
}
|
|
865
|
-
}
|
|
866
|
-
},
|
|
867
|
-
"f-struct-data-grid": {
|
|
868
|
-
description: "",
|
|
869
|
-
type: "object",
|
|
870
|
-
properties: {
|
|
871
|
-
rules: {
|
|
872
|
-
type: "object",
|
|
873
|
-
properties: {
|
|
874
|
-
canAccept: {
|
|
875
|
-
type: "object",
|
|
876
|
-
const: !0
|
|
877
|
-
},
|
|
878
|
-
fixed: {
|
|
879
|
-
type: "boolean",
|
|
880
|
-
const: !0
|
|
881
|
-
},
|
|
882
|
-
hidePadding: {
|
|
883
|
-
type: "boolean",
|
|
884
|
-
const: !0
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
|
-
}
|
|
888
|
-
}
|
|
889
|
-
},
|
|
890
|
-
"f-page-main-content": {
|
|
891
|
-
description: "",
|
|
892
|
-
type: "object",
|
|
893
|
-
properties: {
|
|
894
|
-
contents: {
|
|
895
|
-
type: "object",
|
|
896
|
-
properties: {
|
|
897
|
-
"f-page-content-nav": {
|
|
898
|
-
description: "",
|
|
899
|
-
type: "object",
|
|
900
|
-
properties: {
|
|
901
|
-
contents: {
|
|
902
|
-
type: "object",
|
|
903
|
-
properties: {
|
|
904
|
-
"f-struct-data-grid-in-nav": {
|
|
905
|
-
description: "",
|
|
906
|
-
type: "object",
|
|
907
|
-
properties: {
|
|
908
|
-
contents: {
|
|
909
|
-
type: "object",
|
|
910
|
-
properties: {
|
|
911
|
-
"f-page-content-nav-extend": {
|
|
912
|
-
description: "",
|
|
913
|
-
type: "object"
|
|
914
|
-
},
|
|
915
|
-
"f-section-in-nav": {
|
|
916
|
-
description: "",
|
|
917
|
-
type: "object",
|
|
918
|
-
properties: {
|
|
919
|
-
rules: {
|
|
920
|
-
type: "object",
|
|
921
|
-
properties: {
|
|
922
|
-
canAccept: {
|
|
923
|
-
type: "boolean",
|
|
924
|
-
const: !1
|
|
925
|
-
},
|
|
926
|
-
fixed: {
|
|
927
|
-
type: "boolean",
|
|
928
|
-
const: !0
|
|
929
|
-
},
|
|
930
|
-
hidePadding: {
|
|
931
|
-
type: "boolean",
|
|
932
|
-
const: !1
|
|
933
|
-
}
|
|
934
|
-
}
|
|
935
|
-
}
|
|
936
|
-
}
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
|
-
},
|
|
940
|
-
rules: {
|
|
941
|
-
type: "object",
|
|
942
|
-
properties: {
|
|
943
|
-
canAccept: {
|
|
944
|
-
type: "boolean",
|
|
945
|
-
const: !0
|
|
946
|
-
},
|
|
947
|
-
fixed: {
|
|
948
|
-
type: "boolean",
|
|
949
|
-
const: !1
|
|
950
|
-
},
|
|
951
|
-
hidePadding: {
|
|
952
|
-
type: "boolean",
|
|
953
|
-
const: !0
|
|
954
|
-
}
|
|
955
|
-
}
|
|
956
|
-
}
|
|
957
|
-
}
|
|
958
|
-
}
|
|
959
|
-
}
|
|
960
|
-
}
|
|
961
|
-
}
|
|
962
|
-
},
|
|
963
|
-
"f-page-content-main": {
|
|
964
|
-
description: "",
|
|
965
|
-
type: "object",
|
|
966
|
-
properties: {}
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
}
|
|
970
|
-
}
|
|
971
|
-
},
|
|
972
|
-
"f-page-content": {
|
|
973
|
-
description: "",
|
|
974
|
-
type: "object",
|
|
975
|
-
properties: {
|
|
976
|
-
contents: {
|
|
977
|
-
type: "object",
|
|
978
|
-
properties: {
|
|
979
|
-
"f-page-content-nav": {
|
|
980
|
-
description: "",
|
|
981
|
-
type: "object",
|
|
982
|
-
properties: {
|
|
983
|
-
contents: {
|
|
984
|
-
type: "object",
|
|
985
|
-
properties: {
|
|
986
|
-
"f-list-nav": {
|
|
987
|
-
description: "",
|
|
988
|
-
type: "object"
|
|
989
|
-
},
|
|
990
|
-
"f-list-nav-left": {
|
|
991
|
-
description: "",
|
|
992
|
-
type: "object"
|
|
993
|
-
},
|
|
994
|
-
"f-struct-data-grid-in-nav": {
|
|
995
|
-
description: "",
|
|
996
|
-
type: "object",
|
|
997
|
-
properties: {
|
|
998
|
-
contents: {
|
|
999
|
-
type: "object",
|
|
1000
|
-
properties: {
|
|
1001
|
-
"f-section-form": {
|
|
1002
|
-
description: "",
|
|
1003
|
-
type: "object",
|
|
1004
|
-
properties: {
|
|
1005
|
-
rules: {
|
|
1006
|
-
type: "object",
|
|
1007
|
-
properties: {
|
|
1008
|
-
canAccept: {
|
|
1009
|
-
type: "boolean",
|
|
1010
|
-
const: !1
|
|
1011
|
-
},
|
|
1012
|
-
fixed: {
|
|
1013
|
-
type: "boolean",
|
|
1014
|
-
const: !0
|
|
1015
|
-
},
|
|
1016
|
-
hidePadding: {
|
|
1017
|
-
type: "boolean",
|
|
1018
|
-
const: !0
|
|
1019
|
-
}
|
|
1020
|
-
}
|
|
1021
|
-
}
|
|
1022
|
-
}
|
|
1023
|
-
},
|
|
1024
|
-
"f-section-grid": {
|
|
1025
|
-
description: "",
|
|
1026
|
-
type: "object",
|
|
1027
|
-
properties: {
|
|
1028
|
-
rules: {
|
|
1029
|
-
type: "object",
|
|
1030
|
-
properties: {
|
|
1031
|
-
canAccept: {
|
|
1032
|
-
type: "boolean",
|
|
1033
|
-
const: !1
|
|
1034
|
-
},
|
|
1035
|
-
fixed: {
|
|
1036
|
-
type: "boolean",
|
|
1037
|
-
const: !0
|
|
1038
|
-
},
|
|
1039
|
-
hidePadding: {
|
|
1040
|
-
type: "boolean",
|
|
1041
|
-
const: !0
|
|
1042
|
-
}
|
|
1043
|
-
}
|
|
1044
|
-
}
|
|
1045
|
-
}
|
|
1046
|
-
}
|
|
1047
|
-
}
|
|
1048
|
-
},
|
|
1049
|
-
rules: {
|
|
1050
|
-
type: "object",
|
|
1051
|
-
properties: {
|
|
1052
|
-
canAccept: {
|
|
1053
|
-
type: "boolean",
|
|
1054
|
-
const: !1
|
|
1055
|
-
},
|
|
1056
|
-
fixed: {
|
|
1057
|
-
type: "boolean",
|
|
1058
|
-
const: !0
|
|
1059
|
-
},
|
|
1060
|
-
hidePadding: {
|
|
1061
|
-
type: "boolean",
|
|
1062
|
-
const: !0
|
|
1063
|
-
}
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
}
|
|
1067
|
-
}
|
|
1068
|
-
}
|
|
1069
|
-
}
|
|
1070
|
-
},
|
|
1071
|
-
rules: {
|
|
1072
|
-
type: "object",
|
|
1073
|
-
properties: {
|
|
1074
|
-
canAccept: {
|
|
1075
|
-
type: "boolean",
|
|
1076
|
-
const: !1
|
|
1077
|
-
},
|
|
1078
|
-
fixed: {
|
|
1079
|
-
type: "boolean",
|
|
1080
|
-
const: !0
|
|
1081
|
-
},
|
|
1082
|
-
hidePadding: {
|
|
1083
|
-
type: "boolean",
|
|
1084
|
-
const: !0
|
|
1085
|
-
}
|
|
1086
|
-
}
|
|
1087
|
-
}
|
|
1088
|
-
},
|
|
1089
|
-
"f-page-content-main": {
|
|
1090
|
-
description: "",
|
|
1091
|
-
type: "object",
|
|
1092
|
-
properties: {
|
|
1093
|
-
rules: {
|
|
1094
|
-
type: "object",
|
|
1095
|
-
properties: {
|
|
1096
|
-
canAccept: {
|
|
1097
|
-
type: "boolean",
|
|
1098
|
-
const: !1
|
|
1099
|
-
},
|
|
1100
|
-
fixed: {
|
|
1101
|
-
type: "boolean",
|
|
1102
|
-
const: !1
|
|
1103
|
-
},
|
|
1104
|
-
hidePadding: {
|
|
1105
|
-
type: "boolean",
|
|
1106
|
-
const: !0
|
|
1107
|
-
}
|
|
1108
|
-
}
|
|
1109
|
-
}
|
|
1110
|
-
}
|
|
1111
|
-
}
|
|
1112
|
-
}
|
|
1113
|
-
},
|
|
1114
|
-
rules: {
|
|
1115
|
-
type: "object",
|
|
1116
|
-
properties: {
|
|
1117
|
-
canAccept: {
|
|
1118
|
-
type: "boolean",
|
|
1119
|
-
const: !1
|
|
1120
|
-
},
|
|
1121
|
-
fixed: {
|
|
1122
|
-
type: "boolean",
|
|
1123
|
-
const: !0
|
|
1124
|
-
},
|
|
1125
|
-
hidePadding: {
|
|
1126
|
-
type: "boolean",
|
|
1127
|
-
const: !0
|
|
1128
|
-
}
|
|
1129
|
-
}
|
|
1130
|
-
}
|
|
1131
|
-
}
|
|
1132
|
-
}
|
|
1133
|
-
}
|
|
1134
|
-
},
|
|
1135
|
-
rules: {
|
|
1136
|
-
type: "object",
|
|
1137
|
-
properties: {
|
|
1138
|
-
canAccept: {
|
|
1139
|
-
type: "object",
|
|
1140
|
-
const: {
|
|
1141
|
-
anyOf: [
|
|
1142
|
-
{
|
|
1143
|
-
children: 0
|
|
1144
|
-
},
|
|
1145
|
-
{
|
|
1146
|
-
children: {
|
|
1147
|
-
length: {
|
|
1148
|
-
not: 1
|
|
1149
|
-
},
|
|
1150
|
-
"f-struct-like-card": !0
|
|
1151
|
-
}
|
|
1152
|
-
},
|
|
1153
|
-
{
|
|
1154
|
-
children: {
|
|
1155
|
-
"scroll-spy": !1,
|
|
1156
|
-
"f-page-content": !1,
|
|
1157
|
-
"f-struct-like-card": !1
|
|
1158
|
-
}
|
|
1159
|
-
}
|
|
1160
|
-
]
|
|
1161
|
-
}
|
|
1162
|
-
},
|
|
1163
|
-
fixed: {
|
|
1164
|
-
type: "boolean",
|
|
1165
|
-
const: !0
|
|
1166
|
-
},
|
|
1167
|
-
hidePadding: {
|
|
1168
|
-
type: "boolean",
|
|
1169
|
-
const: !0
|
|
1170
|
-
}
|
|
1171
|
-
}
|
|
1172
|
-
}
|
|
1173
|
-
}
|
|
1174
|
-
},
|
|
1175
|
-
"f-page-footer": {
|
|
1176
|
-
description: "The class of page footer designed by farris.",
|
|
1177
|
-
type: "string"
|
|
1178
|
-
}
|
|
1179
|
-
}
|
|
1180
|
-
},
|
|
1181
|
-
rules: {
|
|
1182
|
-
type: "object",
|
|
1183
|
-
properties: {
|
|
1184
|
-
canAccept: {
|
|
1185
|
-
type: "boolean",
|
|
1186
|
-
const: !1
|
|
1187
|
-
},
|
|
1188
|
-
fixed: {
|
|
1189
|
-
type: "boolean",
|
|
1190
|
-
const: !0
|
|
1191
|
-
},
|
|
1192
|
-
hidePadding: {
|
|
1193
|
-
type: "boolean",
|
|
1194
|
-
const: !0
|
|
1195
|
-
}
|
|
1196
|
-
}
|
|
1197
|
-
}
|
|
1198
|
-
}
|
|
1199
|
-
},
|
|
1200
|
-
"f-page-is-managelist": {
|
|
1201
|
-
description: "The root class of mangement list page.",
|
|
1202
|
-
type: "string"
|
|
1203
|
-
},
|
|
1204
|
-
"f-page-card": {
|
|
1205
|
-
description: "",
|
|
1206
|
-
type: "object"
|
|
1207
|
-
},
|
|
1208
|
-
"f-page-is-mainsubcard": {
|
|
1209
|
-
description: "",
|
|
1210
|
-
type: "object"
|
|
1211
|
-
}
|
|
1212
|
-
}, Fe = {
|
|
1213
|
-
$schema: ke,
|
|
1214
|
-
$id: De,
|
|
1215
|
-
title: Ee,
|
|
1216
|
-
description: Oe,
|
|
1217
|
-
type: xe,
|
|
1218
|
-
properties: Ne
|
|
1219
|
-
}, B = /* @__PURE__ */ new Map();
|
|
1220
|
-
function Be() {
|
|
1221
|
-
function t(r, l, a, p) {
|
|
1222
|
-
var j;
|
|
1223
|
-
if (typeof a == "number")
|
|
1224
|
-
return ((j = p[r]) == null ? void 0 : j.length) === a;
|
|
1225
|
-
if (typeof a == "object") {
|
|
1226
|
-
const d = Object.keys(a)[0], v = a[d];
|
|
1227
|
-
if (d === "not")
|
|
1228
|
-
return Number(p[r].length) !== Number(v);
|
|
1229
|
-
if (d === "moreThan")
|
|
1230
|
-
return Number(p[r].length) >= Number(v);
|
|
1231
|
-
if (d === "lessThan")
|
|
1232
|
-
return Number(p[r].length) <= Number(v);
|
|
1233
|
-
}
|
|
1234
|
-
return !1;
|
|
1235
|
-
}
|
|
1236
|
-
function e(r, l, a, p) {
|
|
1237
|
-
return typeof a == "boolean" ? p.childrenClassList.includes(l) === !!a : !1;
|
|
1238
|
-
}
|
|
1239
|
-
function n(r, l, a, p) {
|
|
1240
|
-
return typeof a == "boolean" ? p.parentClassList.includes(l) === !!a : !1;
|
|
1241
|
-
}
|
|
1242
|
-
function o(r, l, a, p) {
|
|
1243
|
-
return typeof a == "boolean" ? p.parentClassList.includes(l) === !!a : !1;
|
|
1244
|
-
}
|
|
1245
|
-
const s = /* @__PURE__ */ new Map([
|
|
1246
|
-
["length", t],
|
|
1247
|
-
["hasChildren", e],
|
|
1248
|
-
["hasSibling", o],
|
|
1249
|
-
["hasParent", n]
|
|
1250
|
-
]);
|
|
1251
|
-
function i(r, l) {
|
|
1252
|
-
const a = r;
|
|
1253
|
-
return typeof l == "number" ? [{ target: a, operator: "length", param: null, value: Number(l) }] : typeof l == "object" ? Object.keys(l).map((p) => {
|
|
1254
|
-
if (p === "length")
|
|
1255
|
-
return { target: a, operator: "length", param: null, value: l[p] };
|
|
1256
|
-
const j = p, d = l[p];
|
|
1257
|
-
return { target: a, operator: r === "children" ? "hasChildren" : r === "parent" ? "hasParent" : "hasSibling", param: j, value: d };
|
|
1258
|
-
}) : [];
|
|
1259
|
-
}
|
|
1260
|
-
function y(r, l) {
|
|
1261
|
-
if (s.has(r.operator)) {
|
|
1262
|
-
const a = s.get(r.operator);
|
|
1263
|
-
return a && a(r.target, r.param, r.value, l) || !1;
|
|
1264
|
-
}
|
|
1265
|
-
return !1;
|
|
1266
|
-
}
|
|
1267
|
-
function m(r, l) {
|
|
1268
|
-
return Object.keys(r).reduce((d, v) => {
|
|
1269
|
-
const S = i(v, r[v]);
|
|
1270
|
-
return d.push(...S), d;
|
|
1271
|
-
}, []).reduce((d, v) => d && y(v, l), !0);
|
|
1272
|
-
}
|
|
1273
|
-
function C(r, l) {
|
|
1274
|
-
const a = Object.keys(r), p = a.includes("allOf"), j = a.includes("anyOf"), d = p || j, h = (d ? r[d ? p ? "allOf" : "anyOf" : "allOf"] : [r]).map((A) => m(A, l));
|
|
1275
|
-
return p ? !h.includes(!1) : h.includes(!0);
|
|
1276
|
-
}
|
|
1277
|
-
function c(r, l) {
|
|
1278
|
-
const a = r.const;
|
|
1279
|
-
return a ? typeof a == "boolean" ? a : typeof a == "object" ? C(a, l) : !1 : !1;
|
|
1280
|
-
}
|
|
1281
|
-
function b(r) {
|
|
1282
|
-
return (l) => {
|
|
1283
|
-
const a = { canAccept: !0, fixed: !1, hidePadding: !1 };
|
|
1284
|
-
return r && r.properties && Object.keys(r.properties).reduce((p, j) => {
|
|
1285
|
-
const d = r.properties[j];
|
|
1286
|
-
return p[j] = c(d, l), p;
|
|
1287
|
-
}, a), a;
|
|
1288
|
-
};
|
|
1289
|
-
}
|
|
1290
|
-
function f(r, l, a) {
|
|
1291
|
-
if (l.type === "object" && l.properties) {
|
|
1292
|
-
const { rules: p, contents: j } = l.properties;
|
|
1293
|
-
a.set(r, b(p)), j && Object.keys(j.properties).forEach(
|
|
1294
|
-
(d) => f(d, j.properties[d], a)
|
|
1295
|
-
);
|
|
1296
|
-
}
|
|
1297
|
-
}
|
|
1298
|
-
function u() {
|
|
1299
|
-
const { properties: r } = Fe;
|
|
1300
|
-
Object.keys(r).forEach((l) => {
|
|
1301
|
-
f(l, r[l], B);
|
|
1302
|
-
});
|
|
1303
|
-
}
|
|
1304
|
-
function g(r, l) {
|
|
1305
|
-
const a = { canAccept: !0, fixed: !1, hidePadding: !0 };
|
|
1306
|
-
return B.has(r) ? B.get(r)(l) : a;
|
|
1307
|
-
}
|
|
1308
|
-
return u(), { getRuleValue: g };
|
|
1309
|
-
}
|
|
1310
|
-
const $e = {
|
|
570
|
+
const ge = {
|
|
1311
571
|
title: "section",
|
|
1312
572
|
description: "A Farris Container Component",
|
|
1313
573
|
type: "object",
|
|
@@ -1355,11 +615,11 @@ const $e = {
|
|
|
1355
615
|
}
|
|
1356
616
|
}
|
|
1357
617
|
},
|
|
1358
|
-
setPropertyRelates(
|
|
1359
|
-
if (
|
|
1360
|
-
switch (
|
|
618
|
+
setPropertyRelates(n, e) {
|
|
619
|
+
if (n)
|
|
620
|
+
switch (n && n.propertyID) {
|
|
1361
621
|
case "mainTitle": {
|
|
1362
|
-
|
|
622
|
+
n.needRefreshControlTree = !0;
|
|
1363
623
|
break;
|
|
1364
624
|
}
|
|
1365
625
|
}
|
|
@@ -1410,207 +670,260 @@ const $e = {
|
|
|
1410
670
|
}
|
|
1411
671
|
}
|
|
1412
672
|
};
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
673
|
+
class Te {
|
|
674
|
+
getTemplateRule(e, t) {
|
|
675
|
+
const a = t == null ? void 0 : t.formSchemaUtils, r = a == null ? void 0 : a.getFormTemplateRule(), i = { canAccept: !0, canDelete: !0, canMove: !0 };
|
|
676
|
+
if (!r)
|
|
677
|
+
return i;
|
|
678
|
+
const o = this.getComponentContext(e);
|
|
679
|
+
return o.componentClassList.forEach((f) => {
|
|
680
|
+
if (!f || !r[f])
|
|
681
|
+
return;
|
|
682
|
+
const { canMove: s, canDelete: c, canAccept: l } = r[f];
|
|
683
|
+
i.canMove = i.canMove && this.resolveRuleValue(s, o), i.canDelete = i.canDelete && this.resolveRuleValue(c, o), i.canAccept = i.canAccept && this.resolveRuleValue(l, o);
|
|
684
|
+
}), i;
|
|
685
|
+
}
|
|
686
|
+
resolveRuleValue(e, t) {
|
|
687
|
+
return typeof e == "boolean" ? e : this.parseRuleValueSchema(e, t);
|
|
688
|
+
}
|
|
689
|
+
parseRuleValueSchema(e, t) {
|
|
690
|
+
const a = e.invalidContext || [];
|
|
691
|
+
let r = !0;
|
|
692
|
+
for (const i of a) {
|
|
693
|
+
if (i.firstLevelChild) {
|
|
694
|
+
if (i.firstLevelChild.class) {
|
|
695
|
+
const o = t.firstLevelChildClassList;
|
|
696
|
+
if (o && !o.includes(i.firstLevelChild.class)) {
|
|
697
|
+
r = !1;
|
|
698
|
+
continue;
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
if (i.firstLevelChild.type) {
|
|
702
|
+
const o = t.firstLevelChildSchema;
|
|
703
|
+
if (o && o.type !== i.firstLevelChild.type) {
|
|
704
|
+
r = !1;
|
|
705
|
+
continue;
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
if (i.secondLevelChild) {
|
|
710
|
+
if (i.secondLevelChild.class) {
|
|
711
|
+
const o = t.secondLevelChildClassList;
|
|
712
|
+
if (o && !o.includes(i.secondLevelChild.class)) {
|
|
713
|
+
r = !1;
|
|
714
|
+
continue;
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
if (i.secondLevelChild.type) {
|
|
718
|
+
const o = t.secondLevelChildSchema;
|
|
719
|
+
if (o && o.type !== i.secondLevelChild.type) {
|
|
720
|
+
r = !1;
|
|
721
|
+
continue;
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
if (i.parent) {
|
|
726
|
+
if (i.parent.class) {
|
|
727
|
+
const o = t.parentClassList;
|
|
728
|
+
if (o && !o.includes(i.parent.class)) {
|
|
729
|
+
r = !1;
|
|
730
|
+
continue;
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
if (i.parent.type) {
|
|
734
|
+
const o = t.parentSchema;
|
|
735
|
+
if (o && o.type !== i.parent.type) {
|
|
736
|
+
r = !1;
|
|
737
|
+
continue;
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
r = !0;
|
|
742
|
+
break;
|
|
743
|
+
}
|
|
744
|
+
return !r;
|
|
745
|
+
}
|
|
746
|
+
getComponentContext(e) {
|
|
747
|
+
var M, C, S, w;
|
|
748
|
+
const t = e.schema, a = t.appearance && t.appearance.class || "", r = a.split(" ") || [], i = t.contents || [], o = i.length ? i[0] : null, p = o && o.appearance ? o.appearance.class : "", f = p ? p.split(" ") : [], s = (M = o == null ? void 0 : o.contents) != null && M.length ? o == null ? void 0 : o.contents[0] : null, c = s && s.appearance ? s.appearance.class : "", l = c ? c.split(" ") : [], u = t.type === "component" ? (S = (C = e.parent) == null ? void 0 : C.parent) == null ? void 0 : S.schema : (w = e.parent) == null ? void 0 : w.schema, d = u && u.appearance && u.appearance.class || "", y = d ? d.split(" ") : [];
|
|
749
|
+
return {
|
|
750
|
+
componentClass: a,
|
|
751
|
+
componentClassList: r,
|
|
752
|
+
childContents: i,
|
|
753
|
+
firstLevelChildSchema: o,
|
|
754
|
+
firstLevelChildClass: p,
|
|
755
|
+
firstLevelChildClassList: f,
|
|
756
|
+
secondLevelChildSchema: s,
|
|
757
|
+
secondLevelChildClass: c,
|
|
758
|
+
secondLevelChildClassList: l,
|
|
759
|
+
parentSchema: u,
|
|
760
|
+
parentClass: d,
|
|
761
|
+
parentClassList: y
|
|
762
|
+
};
|
|
1421
763
|
}
|
|
1422
|
-
|
|
1423
|
-
|
|
764
|
+
}
|
|
765
|
+
function Se(n, e) {
|
|
766
|
+
const t = new Te(), { canMove: a, canAccept: r, canDelete: i } = t.getTemplateRule(n, e);
|
|
767
|
+
function o(l) {
|
|
768
|
+
return ge;
|
|
1424
769
|
}
|
|
1425
|
-
function
|
|
1426
|
-
return !
|
|
770
|
+
function p(l) {
|
|
771
|
+
return Ce().basalDragulaRuleForContainer(l, e) ? r : !1;
|
|
1427
772
|
}
|
|
1428
|
-
function
|
|
1429
|
-
return
|
|
773
|
+
function f() {
|
|
774
|
+
return i;
|
|
1430
775
|
}
|
|
1431
|
-
function
|
|
776
|
+
function s() {
|
|
777
|
+
return a;
|
|
1432
778
|
}
|
|
1433
|
-
function
|
|
1434
|
-
|
|
1435
|
-
const a = t, p = a.appearance && a.appearance.class || "", j = p ? p.split(" ") : [], d = a.contents || [], v = d.length ? d[0] : null, S = v && v.appearance && v.appearance.class || "", h = S ? S.split(" ") : [], P = d.length ? d.reduce((z, F) => {
|
|
1436
|
-
const q = F && F.appearance ? F.appearance.class : "", X = q ? q.split(" ") : [];
|
|
1437
|
-
return z.push(...X), z;
|
|
1438
|
-
}, []) : [], A = e, k = A && A.appearance && A.appearance.class || "", E = k ? k.split(" ") : [];
|
|
1439
|
-
m = {
|
|
1440
|
-
componentClass: p,
|
|
1441
|
-
componentClassList: j,
|
|
1442
|
-
childContents: d,
|
|
1443
|
-
firstChildContent: v,
|
|
1444
|
-
firstChildClass: S,
|
|
1445
|
-
firstChildClassList: h,
|
|
1446
|
-
parent: A,
|
|
1447
|
-
parentClass: k,
|
|
1448
|
-
parentClassList: E,
|
|
1449
|
-
children: d,
|
|
1450
|
-
childrenClassList: P
|
|
1451
|
-
};
|
|
1452
|
-
const { canAccept: D, fixed: N, hidePadding: Q } = s.getRuleValue(j[0], m);
|
|
1453
|
-
return i = D, y = Q, C = N, !0;
|
|
779
|
+
function c() {
|
|
780
|
+
return !a && !i;
|
|
1454
781
|
}
|
|
1455
782
|
return {
|
|
1456
|
-
canAccepts:
|
|
783
|
+
canAccepts: p,
|
|
1457
784
|
checkCanDeleteComponent: f,
|
|
1458
|
-
checkCanMoveComponent:
|
|
1459
|
-
hideNestedPaddingInDesginerView:
|
|
1460
|
-
|
|
1461
|
-
resolveComponentContext: l,
|
|
1462
|
-
triggerBelongedComponentToMoveWhenMoved: n,
|
|
1463
|
-
triggerBelongedComponentToDeleteWhenDeleted: o,
|
|
1464
|
-
getPropsConfig: c
|
|
785
|
+
checkCanMoveComponent: s,
|
|
786
|
+
hideNestedPaddingInDesginerView: c,
|
|
787
|
+
getPropsConfig: o
|
|
1465
788
|
};
|
|
1466
789
|
}
|
|
1467
|
-
function
|
|
1468
|
-
var
|
|
1469
|
-
function
|
|
1470
|
-
|
|
790
|
+
function Me(n, e, t) {
|
|
791
|
+
var A;
|
|
792
|
+
function a() {
|
|
793
|
+
t != null && t.resolveComponentContext && t.resolveComponentContext();
|
|
1471
794
|
}
|
|
1472
|
-
|
|
1473
|
-
const
|
|
1474
|
-
function
|
|
1475
|
-
return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 :
|
|
795
|
+
a();
|
|
796
|
+
const r = t && t.getStyles && t.getStyles() || "", i = t && t.getDesignerClass && t.getDesignerClass() || "", o = v();
|
|
797
|
+
function p() {
|
|
798
|
+
return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 : t && t.checkCanMoveComponent ? t.checkCanMoveComponent() : !0;
|
|
1476
799
|
}
|
|
1477
|
-
function
|
|
800
|
+
function f() {
|
|
1478
801
|
return !1;
|
|
1479
802
|
}
|
|
1480
|
-
function
|
|
1481
|
-
return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 :
|
|
803
|
+
function s() {
|
|
804
|
+
return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 : t && t.checkCanDeleteComponent ? t.checkCanDeleteComponent() : !0;
|
|
1482
805
|
}
|
|
1483
|
-
function
|
|
1484
|
-
return (e == null ? void 0 : e.schema.componentType) === "frame" ? !0 :
|
|
806
|
+
function c() {
|
|
807
|
+
return (e == null ? void 0 : e.schema.componentType) === "frame" ? !0 : t && t.hideNestedPaddingInDesginerView ? t.hideNestedPaddingInDesginerView() : !1;
|
|
1485
808
|
}
|
|
1486
|
-
function
|
|
1487
|
-
if (!
|
|
809
|
+
function l(m) {
|
|
810
|
+
if (!m || !m.value)
|
|
1488
811
|
return null;
|
|
1489
|
-
if (
|
|
1490
|
-
return
|
|
1491
|
-
const
|
|
1492
|
-
return
|
|
812
|
+
if (m.value.schema && m.value.schema.type === "component")
|
|
813
|
+
return m.value;
|
|
814
|
+
const g = v(m == null ? void 0 : m.value.parent), D = l(g);
|
|
815
|
+
return D || null;
|
|
1493
816
|
}
|
|
1494
|
-
function u(
|
|
1495
|
-
const { componentInstance:
|
|
1496
|
-
return !
|
|
817
|
+
function u(m = e) {
|
|
818
|
+
const { componentInstance: g, designerItemElementRef: D } = m;
|
|
819
|
+
return !g || !g.value ? null : g.value.canMove ? D : u(m.parent);
|
|
1497
820
|
}
|
|
1498
|
-
function
|
|
1499
|
-
return !!
|
|
821
|
+
function d(m) {
|
|
822
|
+
return !!t && t.canAccepts(m);
|
|
1500
823
|
}
|
|
1501
|
-
function
|
|
824
|
+
function y() {
|
|
1502
825
|
return (e == null ? void 0 : e.schema.label) || (e == null ? void 0 : e.schema.title) || (e == null ? void 0 : e.schema.name);
|
|
1503
826
|
}
|
|
1504
|
-
function
|
|
1505
|
-
}
|
|
1506
|
-
function a(h, P) {
|
|
1507
|
-
P && n != null && n.onAcceptMovedChildElement && n.onAcceptMovedChildElement(P);
|
|
827
|
+
function M() {
|
|
1508
828
|
}
|
|
1509
|
-
function
|
|
1510
|
-
|
|
1511
|
-
let k = $(A, h, P);
|
|
1512
|
-
n && n.onResolveNewComponentSchema && (k = n.onResolveNewComponentSchema(h, k));
|
|
1513
|
-
const E = A.toLowerCase().replace("-", "_");
|
|
1514
|
-
return k && !k.id && k.type === A && (k.id = `${E}_${Math.random().toString().slice(2, 6)}`), k;
|
|
829
|
+
function C(m, g) {
|
|
830
|
+
g && t != null && t.onAcceptMovedChildElement && t.onAcceptMovedChildElement(g);
|
|
1515
831
|
}
|
|
1516
|
-
function
|
|
1517
|
-
const
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
return D && !D.id && D.type === A && (D.id = `${N}_${Math.random().toString().slice(2, 6)}`), D;
|
|
832
|
+
function S(m, g) {
|
|
833
|
+
const { componentType: D } = m;
|
|
834
|
+
let L = q(D, m, g);
|
|
835
|
+
t && t.onResolveNewComponentSchema && (L = t.onResolveNewComponentSchema(m, L));
|
|
836
|
+
const W = D.toLowerCase().replace("-", "_");
|
|
837
|
+
return L && !L.id && L.type === D && (L.id = `${W}_${Math.random().toString().slice(2, 6)}`), L;
|
|
1523
838
|
}
|
|
1524
|
-
function
|
|
839
|
+
function w(m) {
|
|
1525
840
|
}
|
|
1526
|
-
function
|
|
1527
|
-
if (
|
|
1528
|
-
return
|
|
841
|
+
function T(...m) {
|
|
842
|
+
if (t && t.getPropsConfig)
|
|
843
|
+
return t.getPropsConfig(...m);
|
|
1529
844
|
}
|
|
1530
|
-
return
|
|
1531
|
-
canMove:
|
|
1532
|
-
canSelectParent:
|
|
1533
|
-
canDelete:
|
|
1534
|
-
canNested: !
|
|
845
|
+
return o.value = {
|
|
846
|
+
canMove: p(),
|
|
847
|
+
canSelectParent: f(),
|
|
848
|
+
canDelete: s(),
|
|
849
|
+
canNested: !c(),
|
|
1535
850
|
contents: e == null ? void 0 : e.schema.contents,
|
|
1536
|
-
elementRef:
|
|
1537
|
-
parent: (
|
|
851
|
+
elementRef: n,
|
|
852
|
+
parent: (A = e == null ? void 0 : e.parent) == null ? void 0 : A.componentInstance,
|
|
1538
853
|
schema: e == null ? void 0 : e.schema,
|
|
1539
|
-
styles:
|
|
854
|
+
styles: r,
|
|
1540
855
|
designerClass: i,
|
|
1541
|
-
canAccepts:
|
|
1542
|
-
getBelongedComponentInstance:
|
|
856
|
+
canAccepts: d,
|
|
857
|
+
getBelongedComponentInstance: l,
|
|
1543
858
|
getDraggableDesignItemElement: u,
|
|
1544
|
-
getDraggingDisplayText:
|
|
1545
|
-
getPropConfig:
|
|
1546
|
-
getDragScopeElement:
|
|
1547
|
-
onAcceptMovedChildElement:
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
}, y;
|
|
859
|
+
getDraggingDisplayText: y,
|
|
860
|
+
getPropConfig: T,
|
|
861
|
+
getDragScopeElement: M,
|
|
862
|
+
onAcceptMovedChildElement: C,
|
|
863
|
+
onChildElementMovedOut: w,
|
|
864
|
+
addNewChildComponentSchema: S,
|
|
865
|
+
updateDragAndDropRules: a,
|
|
866
|
+
triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || v(!1),
|
|
867
|
+
triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || v(!1)
|
|
868
|
+
}, o;
|
|
1555
869
|
}
|
|
1556
|
-
const
|
|
870
|
+
const we = /* @__PURE__ */ z({
|
|
1557
871
|
name: "FSectionDesign",
|
|
1558
|
-
props:
|
|
872
|
+
props: F,
|
|
1559
873
|
emits: [],
|
|
1560
|
-
setup(
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
const S = {
|
|
874
|
+
setup(n, e) {
|
|
875
|
+
const t = v(), a = v();
|
|
876
|
+
let r = v();
|
|
877
|
+
const i = N("designer-host-service"), o = N("design-item-context"), p = Se(o, i), f = Me(t, o, p);
|
|
878
|
+
f.value.styles = "display: inherit;", H(() => {
|
|
879
|
+
t.value.componentInstance = f;
|
|
880
|
+
}), e.expose(f.value);
|
|
881
|
+
const s = v(n.customClass), c = h(() => n.enableAccordion), l = v(n.expandStatus), u = h(() => n.buttonPosition), d = v(!1), y = R(n, e, l, a, r, d), M = j(n, e), C = h(() => {
|
|
882
|
+
const m = {
|
|
1570
883
|
"f-section": !0,
|
|
1571
884
|
"f-section-accordion": c.value === "default",
|
|
1572
|
-
"f-state-collapse": (c.value === "default" || c.value === "custom") && !
|
|
885
|
+
"f-state-collapse": (c.value === "default" || c.value === "custom") && !l.value,
|
|
1573
886
|
"f-section-custom-accordion": c.value === "custom",
|
|
1574
|
-
"f-section-fill":
|
|
1575
|
-
"f-section-maximize":
|
|
887
|
+
"f-section-fill": n.fill,
|
|
888
|
+
"f-section-maximize": d.value,
|
|
1576
889
|
"f-utils-fill": !0,
|
|
1577
890
|
"p-0": !0
|
|
1578
891
|
};
|
|
1579
|
-
return
|
|
1580
|
-
}),
|
|
892
|
+
return P(m, s.value);
|
|
893
|
+
}), S = h(() => P({
|
|
1581
894
|
"f-section-content": !0,
|
|
1582
895
|
"drag-container": !0
|
|
1583
|
-
},
|
|
896
|
+
}, n.contentClass)), w = h(() => P({
|
|
1584
897
|
"f-section-extend": !0
|
|
1585
|
-
},
|
|
1586
|
-
function
|
|
1587
|
-
return e.slots.extend &&
|
|
1588
|
-
class:
|
|
898
|
+
}, w.value));
|
|
899
|
+
function T() {
|
|
900
|
+
return e.slots.extend && b("div", {
|
|
901
|
+
class: w.value
|
|
1589
902
|
}, [e.slots.extend()]);
|
|
1590
903
|
}
|
|
1591
|
-
function
|
|
1592
|
-
return
|
|
1593
|
-
class:
|
|
1594
|
-
ref:
|
|
1595
|
-
"data-dragref": `${
|
|
1596
|
-
}, [
|
|
904
|
+
function A() {
|
|
905
|
+
return b("div", {
|
|
906
|
+
class: S.value,
|
|
907
|
+
ref: t,
|
|
908
|
+
"data-dragref": `${o.schema.id}-container`
|
|
909
|
+
}, [u.value === "inContent" && M(), e.slots.default && e.slots.default()]);
|
|
1597
910
|
}
|
|
1598
|
-
return () =>
|
|
1599
|
-
class:
|
|
1600
|
-
ref:
|
|
1601
|
-
}, [
|
|
911
|
+
return () => b("div", {
|
|
912
|
+
class: C.value,
|
|
913
|
+
ref: a
|
|
914
|
+
}, [y(), T(), A()]);
|
|
1602
915
|
}
|
|
1603
916
|
});
|
|
1604
|
-
|
|
1605
|
-
|
|
917
|
+
E.register = (n, e, t, a) => {
|
|
918
|
+
n.section = E, e.section = G;
|
|
1606
919
|
};
|
|
1607
|
-
|
|
1608
|
-
|
|
920
|
+
E.registerDesigner = (n, e, t) => {
|
|
921
|
+
n.section = we, e.section = G;
|
|
1609
922
|
};
|
|
1610
|
-
const
|
|
923
|
+
const Ee = Z(E);
|
|
1611
924
|
export {
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
925
|
+
E as Section,
|
|
926
|
+
Ee as default,
|
|
927
|
+
G as propsResolver,
|
|
928
|
+
F as sectionProps
|
|
1616
929
|
};
|