@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,103 +1,103 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { cloneDeep as
|
|
3
|
-
import { useDesignerComponent as
|
|
4
|
-
import { useDesignerRules as
|
|
5
|
-
const
|
|
6
|
-
function
|
|
7
|
-
const { properties: e, title: c, ignore: r } = t,
|
|
8
|
-
return (!
|
|
9
|
-
}
|
|
10
|
-
function J(t, e) {
|
|
11
|
-
const c = B(e);
|
|
12
|
-
return Object.keys(t).reduce((r, l) => (r[l] && typeof r[l] == "object" ? Object.assign(r[l], t[l]) : r[l] = t[l], r), c), c;
|
|
1
|
+
import { defineComponent as S, ref as b, computed as v, createVNode as u, Fragment as B, inject as L, onMounted as V } from "vue";
|
|
2
|
+
import { isPlainObject as D, cloneDeep as q } from "lodash-es";
|
|
3
|
+
import { useDesignerComponent as W } from "../designer-canvas/index.esm.js";
|
|
4
|
+
import { useDesignerRules as z } from "../dynamic-form/index.esm.js";
|
|
5
|
+
const G = {}, J = {};
|
|
6
|
+
function $(t) {
|
|
7
|
+
const { properties: e, title: c, ignore: r } = t, n = r && Array.isArray(r), p = Object.keys(e).reduce((f, m) => ((!n || !r.find((A) => A == m)) && (f[m] = e[m].type === "object" && e[m].properties ? $(e[m]) : q(e[m].default)), f), {});
|
|
8
|
+
return c && (!n || !r.find((f) => f == "id")) && (p.id = `${c}-${Date.now()}`), p;
|
|
13
9
|
}
|
|
14
10
|
function Q(t, e) {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
const c = $(e);
|
|
12
|
+
return Object.keys(t).reduce((r, n) => (r[n] && D(r[n]) && D(t[n]) ? Object.assign(r[n], t[n]) : r[n] = t[n], r), c), c;
|
|
13
|
+
}
|
|
14
|
+
function U(t, e) {
|
|
15
|
+
return Object.keys(t).filter((r) => t[r] != null).reduce((r, n) => {
|
|
16
|
+
if (e.has(n)) {
|
|
17
|
+
const p = e.get(n);
|
|
18
18
|
if (typeof p == "string")
|
|
19
|
-
r[p] = t[
|
|
19
|
+
r[p] = t[n];
|
|
20
20
|
else {
|
|
21
|
-
const f = p(
|
|
21
|
+
const f = p(n, t[n], t);
|
|
22
22
|
Object.assign(r, f);
|
|
23
23
|
}
|
|
24
24
|
} else
|
|
25
|
-
r[
|
|
25
|
+
r[n] = t[n];
|
|
26
26
|
return r;
|
|
27
27
|
}, {});
|
|
28
28
|
}
|
|
29
|
-
function
|
|
30
|
-
const r =
|
|
31
|
-
return
|
|
29
|
+
function X(t, e, c = /* @__PURE__ */ new Map()) {
|
|
30
|
+
const r = Q(t, e);
|
|
31
|
+
return U(r, c);
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
function e(s,
|
|
33
|
+
function Y(t = {}) {
|
|
34
|
+
function e(s, a, o, l) {
|
|
35
35
|
if (typeof o == "number")
|
|
36
|
-
return
|
|
36
|
+
return l[s].length === o;
|
|
37
37
|
if (typeof o == "object") {
|
|
38
|
-
const g = Object.keys(o)[0],
|
|
38
|
+
const g = Object.keys(o)[0], y = o[g];
|
|
39
39
|
if (g === "not")
|
|
40
|
-
return Number(
|
|
40
|
+
return Number(l[s].length) !== Number(y);
|
|
41
41
|
if (g === "moreThan")
|
|
42
|
-
return Number(
|
|
42
|
+
return Number(l[s].length) >= Number(y);
|
|
43
43
|
if (g === "lessThan")
|
|
44
|
-
return Number(
|
|
44
|
+
return Number(l[s].length) <= Number(y);
|
|
45
45
|
}
|
|
46
46
|
return !1;
|
|
47
47
|
}
|
|
48
|
-
function c(s,
|
|
49
|
-
return
|
|
48
|
+
function c(s, a, o, l) {
|
|
49
|
+
return l[s] && l[s].propertyValue && String(l[s].propertyValue.value) === String(o);
|
|
50
50
|
}
|
|
51
51
|
const r = /* @__PURE__ */ new Map([
|
|
52
52
|
["length", e],
|
|
53
53
|
["getProperty", c]
|
|
54
54
|
]);
|
|
55
|
-
Object.keys(t).reduce((s,
|
|
56
|
-
function
|
|
55
|
+
Object.keys(t).reduce((s, a) => (s.set(a, t[a]), s), r);
|
|
56
|
+
function n(s, a) {
|
|
57
57
|
const o = s;
|
|
58
|
-
return typeof
|
|
59
|
-
if (
|
|
60
|
-
return { target: o, operator: "length", param: null, value:
|
|
61
|
-
const g =
|
|
62
|
-
return { target: o, operator: "getProperty", param: g, value:
|
|
58
|
+
return typeof a == "number" ? [{ target: o, operator: "length", param: null, value: Number(a) }] : typeof a == "boolean" ? [{ target: o, operator: "getProperty", param: s, value: !!a }] : typeof a == "object" ? Object.keys(a).map((l) => {
|
|
59
|
+
if (l === "length")
|
|
60
|
+
return { target: o, operator: "length", param: null, value: a[l] };
|
|
61
|
+
const g = l, y = a[l];
|
|
62
|
+
return { target: o, operator: "getProperty", param: g, value: y };
|
|
63
63
|
}) : [];
|
|
64
64
|
}
|
|
65
65
|
function p(s) {
|
|
66
|
-
return Object.keys(s).reduce((o,
|
|
67
|
-
const g = l
|
|
66
|
+
return Object.keys(s).reduce((o, l) => {
|
|
67
|
+
const g = n(l, s[l]);
|
|
68
68
|
return o.push(...g), o;
|
|
69
69
|
}, []);
|
|
70
70
|
}
|
|
71
|
-
function f(s,
|
|
71
|
+
function f(s, a) {
|
|
72
72
|
if (r.has(s.operator)) {
|
|
73
73
|
const o = r.get(s.operator);
|
|
74
|
-
return o && o(s.target, s.param, s.value,
|
|
74
|
+
return o && o(s.target, s.param, s.value, a) || !1;
|
|
75
75
|
}
|
|
76
76
|
return !1;
|
|
77
77
|
}
|
|
78
|
-
function m(s,
|
|
79
|
-
return p(s).reduce((g,
|
|
78
|
+
function m(s, a) {
|
|
79
|
+
return p(s).reduce((g, y) => g && f(y, a), !0);
|
|
80
80
|
}
|
|
81
|
-
function A(s,
|
|
82
|
-
const o = Object.keys(s),
|
|
83
|
-
return
|
|
81
|
+
function A(s, a) {
|
|
82
|
+
const o = Object.keys(s), l = o.includes("allOf"), g = o.includes("anyOf"), y = l || g, O = (y ? s[y ? l ? "allOf" : "anyOf" : "allOf"] : [s]).map((P) => m(P, a));
|
|
83
|
+
return l ? !O.includes(!1) : O.includes(!0);
|
|
84
84
|
}
|
|
85
85
|
return { parseValueSchema: A };
|
|
86
86
|
}
|
|
87
|
-
const
|
|
88
|
-
|
|
89
|
-
function
|
|
90
|
-
return
|
|
91
|
-
const m =
|
|
87
|
+
const Z = {}, _ = {};
|
|
88
|
+
Y();
|
|
89
|
+
function K(t, e, c = /* @__PURE__ */ new Map(), r = (f, m, A) => m, n = {}, p = (f) => f) {
|
|
90
|
+
return G[e.title] = e, J[e.title] = r, Z[e.title] = n, _[e.title] = p, (f = {}) => {
|
|
91
|
+
const m = X(f, e, c), A = Object.keys(t).reduce((s, a) => (s[a] = t[a].default, s), {});
|
|
92
92
|
return Object.assign(A, m);
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function ee(t, e) {
|
|
96
96
|
return { customClass: e.class, customStyle: e.style };
|
|
97
97
|
}
|
|
98
|
-
const
|
|
99
|
-
["appearance",
|
|
100
|
-
]),
|
|
98
|
+
const te = /* @__PURE__ */ new Map([
|
|
99
|
+
["appearance", ee]
|
|
100
|
+
]), se = "https://json-schema.org/draft/2020-12/schema", re = "https://farris-design.gitee.io/page-footer.schema.json", oe = "page-footer", ne = "A Farris Input Component", ae = "object", le = {
|
|
101
101
|
id: {
|
|
102
102
|
description: "The unique identifier for a page-footer",
|
|
103
103
|
type: "string"
|
|
@@ -189,22 +189,22 @@ const ee = /* @__PURE__ */ new Map([
|
|
|
189
189
|
type: "sting",
|
|
190
190
|
default: ""
|
|
191
191
|
}
|
|
192
|
-
},
|
|
192
|
+
}, ce = [
|
|
193
193
|
"id",
|
|
194
194
|
"type"
|
|
195
|
-
],
|
|
196
|
-
$schema:
|
|
197
|
-
$id:
|
|
198
|
-
title:
|
|
199
|
-
description:
|
|
200
|
-
type:
|
|
201
|
-
properties:
|
|
202
|
-
required:
|
|
195
|
+
], ie = {
|
|
196
|
+
$schema: se,
|
|
197
|
+
$id: re,
|
|
198
|
+
title: oe,
|
|
199
|
+
description: ne,
|
|
200
|
+
type: ae,
|
|
201
|
+
properties: le,
|
|
202
|
+
required: ce
|
|
203
203
|
};
|
|
204
|
-
function
|
|
204
|
+
function ue(t, e, c) {
|
|
205
205
|
return e;
|
|
206
206
|
}
|
|
207
|
-
const
|
|
207
|
+
const de = "page-footer", pe = "A Farris Component", fe = "object", me = {
|
|
208
208
|
basic: {
|
|
209
209
|
description: "Basic Infomation",
|
|
210
210
|
title: "基本信息",
|
|
@@ -286,11 +286,11 @@ const ue = "page-footer", de = "A Farris Component", pe = "object", fe = {
|
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
|
-
},
|
|
290
|
-
title:
|
|
291
|
-
description:
|
|
292
|
-
type:
|
|
293
|
-
categories:
|
|
289
|
+
}, ge = {
|
|
290
|
+
title: de,
|
|
291
|
+
description: pe,
|
|
292
|
+
type: fe,
|
|
293
|
+
categories: me
|
|
294
294
|
}, I = {
|
|
295
295
|
/**
|
|
296
296
|
* 组件自定义样式
|
|
@@ -332,26 +332,26 @@ const ue = "page-footer", de = "A Farris Component", pe = "object", fe = {
|
|
|
332
332
|
* 是否显示上方扩展区域
|
|
333
333
|
*/
|
|
334
334
|
showHeader: { type: String, default: !1 }
|
|
335
|
-
},
|
|
335
|
+
}, N = K(I, ie, te, ue, ge), E = /* @__PURE__ */ S({
|
|
336
336
|
name: "FPageFooter",
|
|
337
337
|
props: I,
|
|
338
338
|
emits: [],
|
|
339
339
|
setup(t, e) {
|
|
340
|
-
const c =
|
|
341
|
-
function
|
|
340
|
+
const c = b(t.collapsed), r = v(() => t.collapsedText), n = b(t.contentClass), p = v(() => t.enableCollapse), f = v(() => t.expandedText), m = b(t.headerClass), A = b(t.headerContentClass), s = b(t.headerToolbarClass), a = v(() => t.showHeader), o = b(t.customClass);
|
|
341
|
+
function l(i) {
|
|
342
342
|
i && i.stopImmediatePropagation(), c.value = !c.value;
|
|
343
343
|
}
|
|
344
344
|
function g() {
|
|
345
345
|
return p.value && u("div", {
|
|
346
346
|
class: "toolbar--collapse",
|
|
347
|
-
onClick: (i) =>
|
|
347
|
+
onClick: (i) => l(i)
|
|
348
348
|
}, [u("span", {
|
|
349
349
|
class: "toobar--collapse-text"
|
|
350
350
|
}, [c.value ? f.value : r.value]), u("i", {
|
|
351
351
|
class: "f-icon toolbar--collapse-icon"
|
|
352
352
|
}, null)]);
|
|
353
353
|
}
|
|
354
|
-
const
|
|
354
|
+
const y = v(() => {
|
|
355
355
|
const i = {
|
|
356
356
|
"f-toolbar": !0
|
|
357
357
|
};
|
|
@@ -359,18 +359,18 @@ const ue = "page-footer", de = "A Farris Component", pe = "object", fe = {
|
|
|
359
359
|
});
|
|
360
360
|
function F() {
|
|
361
361
|
return u("div", {
|
|
362
|
-
class:
|
|
362
|
+
class: y.value
|
|
363
363
|
}, [e.slots.headerToolbar && e.slots.headerToolbar(), !e.slots.headerToolbar && g()]);
|
|
364
364
|
}
|
|
365
|
-
const
|
|
365
|
+
const M = v(() => {
|
|
366
366
|
const i = {
|
|
367
367
|
"f-content": !0
|
|
368
368
|
};
|
|
369
369
|
return A.value.split(" ").reduce((C, T) => (C[T] = !0, C), i), i;
|
|
370
370
|
});
|
|
371
371
|
function O() {
|
|
372
|
-
return u(
|
|
373
|
-
class:
|
|
372
|
+
return u(B, null, [e.slots.headerContent && u("div", {
|
|
373
|
+
class: M.value
|
|
374
374
|
}, [e.slots.headerContent()]), F()]);
|
|
375
375
|
}
|
|
376
376
|
const w = v(() => {
|
|
@@ -379,7 +379,7 @@ const ue = "page-footer", de = "A Farris Component", pe = "object", fe = {
|
|
|
379
379
|
};
|
|
380
380
|
return m.value.split(" ").reduce((C, T) => (C[T] = !0, C), i), i;
|
|
381
381
|
});
|
|
382
|
-
function
|
|
382
|
+
function P() {
|
|
383
383
|
return u("header", {
|
|
384
384
|
class: w.value
|
|
385
385
|
}, [e.slots.header && e.slots.header(), !e.slots.header && O()]);
|
|
@@ -395,30 +395,30 @@ const ue = "page-footer", de = "A Farris Component", pe = "object", fe = {
|
|
|
395
395
|
const i = {
|
|
396
396
|
"f-cmp-footer-content": !0
|
|
397
397
|
};
|
|
398
|
-
return
|
|
398
|
+
return n.value.split(" ").reduce((C, T) => (C[T] = !0, C), i), i;
|
|
399
399
|
});
|
|
400
400
|
return () => u("div", {
|
|
401
401
|
class: R.value
|
|
402
402
|
}, [u("footer", {
|
|
403
403
|
class: "f-cmp-footer-container"
|
|
404
|
-
}, [
|
|
404
|
+
}, [a.value && P(), u("div", {
|
|
405
405
|
class: k.value
|
|
406
406
|
}, [e.slots.default && e.slots.default()])])]);
|
|
407
407
|
}
|
|
408
|
-
}),
|
|
408
|
+
}), Ce = /* @__PURE__ */ S({
|
|
409
409
|
name: "FPageFooterDesign",
|
|
410
410
|
props: I,
|
|
411
411
|
emits: [],
|
|
412
412
|
setup(t, e) {
|
|
413
413
|
var T;
|
|
414
|
-
const c =
|
|
415
|
-
|
|
416
|
-
o.value.componentInstance =
|
|
417
|
-
}), e.expose(
|
|
414
|
+
const c = b(t.collapsed), r = b(t.collapsedText), n = b(t.contentClass), p = b(t.enableCollapse), f = b(t.expandedText), m = b(t.headerClass), A = b(t.headerContentClass), s = b(t.headerToolbarClass), a = b(t.showHeader), o = b(), l = L("design-item-context"), g = z(l.schema, (T = l.parent) == null ? void 0 : T.schema), y = W(o, l, g);
|
|
415
|
+
V(() => {
|
|
416
|
+
o.value.componentInstance = y;
|
|
417
|
+
}), e.expose(y.value);
|
|
418
418
|
function F(d) {
|
|
419
419
|
d && d.stopImmediatePropagation(), c.value = !c.value;
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function M() {
|
|
422
422
|
return p.value && u("div", {
|
|
423
423
|
class: "toolbar--collapse",
|
|
424
424
|
onClick: (d) => F(d)
|
|
@@ -437,17 +437,17 @@ const ue = "page-footer", de = "A Farris Component", pe = "object", fe = {
|
|
|
437
437
|
function w() {
|
|
438
438
|
return u("div", {
|
|
439
439
|
class: O.value
|
|
440
|
-
}, [e.slots.headerToolbar && e.slots.headerToolbar(), !e.slots.headerToolbar &&
|
|
440
|
+
}, [e.slots.headerToolbar && e.slots.headerToolbar(), !e.slots.headerToolbar && M()]);
|
|
441
441
|
}
|
|
442
|
-
const
|
|
442
|
+
const P = v(() => {
|
|
443
443
|
const d = {
|
|
444
444
|
"f-content": !0
|
|
445
445
|
};
|
|
446
446
|
return A.value.split(" ").reduce((h, j) => (h[j] = !0, h), d), d;
|
|
447
447
|
});
|
|
448
448
|
function R() {
|
|
449
|
-
return u(
|
|
450
|
-
class:
|
|
449
|
+
return u(B, null, [e.slots.headerContent && u("div", {
|
|
450
|
+
class: P.value
|
|
451
451
|
}, [e.slots.headerContent()]), w()]);
|
|
452
452
|
}
|
|
453
453
|
const k = v(() => {
|
|
@@ -472,31 +472,31 @@ const ue = "page-footer", de = "A Farris Component", pe = "object", fe = {
|
|
|
472
472
|
const d = {
|
|
473
473
|
"f-cmp-footer-content": !0
|
|
474
474
|
};
|
|
475
|
-
return
|
|
475
|
+
return n.value.split(" ").reduce((h, j) => (h[j] = !0, h), d), d;
|
|
476
476
|
});
|
|
477
477
|
return () => u("div", {
|
|
478
478
|
ref: o,
|
|
479
479
|
class: H.value
|
|
480
480
|
}, [u("footer", {
|
|
481
481
|
class: "f-cmp-footer-container"
|
|
482
|
-
}, [
|
|
482
|
+
}, [a.value && i(), u("div", {
|
|
483
483
|
class: C.value
|
|
484
484
|
}, [e.slots.default && e.slots.default()])])]);
|
|
485
485
|
}
|
|
486
|
-
}),
|
|
486
|
+
}), Te = {
|
|
487
487
|
install(t) {
|
|
488
488
|
t.component(E.name, E);
|
|
489
489
|
},
|
|
490
490
|
register(t, e, c, r) {
|
|
491
|
-
t["page-footer"] = E, e["page-footer"] =
|
|
491
|
+
t["page-footer"] = E, e["page-footer"] = N;
|
|
492
492
|
},
|
|
493
493
|
registerDesigner(t, e, c) {
|
|
494
|
-
t["page-footer"] =
|
|
494
|
+
t["page-footer"] = Ce, e["page-footer"] = N;
|
|
495
495
|
}
|
|
496
496
|
};
|
|
497
497
|
export {
|
|
498
498
|
E as FPageFooter,
|
|
499
|
-
|
|
499
|
+
Te as default,
|
|
500
500
|
I as pageFooterProps,
|
|
501
|
-
|
|
501
|
+
N as propsResolver
|
|
502
502
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(h,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("lodash-es"),require("../designer-canvas/index.umd.js"),require("../dynamic-form/index.umd.js")):typeof define=="function"&&define.amd?define(["exports","vue","lodash-es","../designer-canvas/index.umd.js","../dynamic-form/index.umd.js"],e):(h=typeof globalThis<"u"?globalThis:h||self,e(h["page-footer"]={},h.Vue,h.LodashES,h.designerCanvas,h.dynamicForm))})(this,function(h,e,
|
|
1
|
+
(function(h,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("lodash-es"),require("../designer-canvas/index.umd.js"),require("../dynamic-form/index.umd.js")):typeof define=="function"&&define.amd?define(["exports","vue","lodash-es","../designer-canvas/index.umd.js","../dynamic-form/index.umd.js"],e):(h=typeof globalThis<"u"?globalThis:h||self,e(h["page-footer"]={},h.Vue,h.LodashES,h.designerCanvas,h.dynamicForm))})(this,function(h,e,$,v,I){"use strict";const E={},D={};function q(r){const{properties:t,title:i,ignore:o}=r,a=o&&Array.isArray(o),p=Object.keys(t).reduce((f,m)=>((!a||!o.find(j=>j==m))&&(f[m]=t[m].type==="object"&&t[m].properties?q(t[m]):$.cloneDeep(t[m].default)),f),{});return i&&(!a||!o.find(f=>f=="id"))&&(p.id=`${i}-${Date.now()}`),p}function B(r,t){const i=q(t);return Object.keys(r).reduce((o,a)=>(o[a]&&$.isPlainObject(o[a])&&$.isPlainObject(r[a])?Object.assign(o[a],r[a]):o[a]=r[a],o),i),i}function L(r,t){return Object.keys(r).filter(o=>r[o]!=null).reduce((o,a)=>{if(t.has(a)){const p=t.get(a);if(typeof p=="string")o[p]=r[a];else{const f=p(a,r[a],r);Object.assign(o,f)}}else o[a]=r[a];return o},{})}function _(r,t,i=new Map){const o=B(r,t);return L(o,i)}function W(r={}){function t(s,l,n,c){if(typeof n=="number")return c[s].length===n;if(typeof n=="object"){const g=Object.keys(n)[0],C=n[g];if(g==="not")return Number(c[s].length)!==Number(C);if(g==="moreThan")return Number(c[s].length)>=Number(C);if(g==="lessThan")return Number(c[s].length)<=Number(C)}return!1}function i(s,l,n,c){return c[s]&&c[s].propertyValue&&String(c[s].propertyValue.value)===String(n)}const o=new Map([["length",t],["getProperty",i]]);Object.keys(r).reduce((s,l)=>(s.set(l,r[l]),s),o);function a(s,l){const n=s;return typeof l=="number"?[{target:n,operator:"length",param:null,value:Number(l)}]:typeof l=="boolean"?[{target:n,operator:"getProperty",param:s,value:!!l}]:typeof l=="object"?Object.keys(l).map(c=>{if(c==="length")return{target:n,operator:"length",param:null,value:l[c]};const g=c,C=l[c];return{target:n,operator:"getProperty",param:g,value:C}}):[]}function p(s){return Object.keys(s).reduce((n,c)=>{const g=a(c,s[c]);return n.push(...g),n},[])}function f(s,l){if(o.has(s.operator)){const n=o.get(s.operator);return n&&n(s.target,s.param,s.value,l)||!1}return!1}function m(s,l){return p(s).reduce((g,C)=>g&&f(C,l),!0)}function j(s,l){const n=Object.keys(s),c=n.includes("allOf"),g=n.includes("anyOf"),C=c||g,N=(C?s[C?c?"allOf":"anyOf":"allOf"]:[s]).map(F=>m(F,l));return c?!N.includes(!1):N.includes(!0)}return{parseValueSchema:j}}const z={},G={};W();function J(r,t,i=new Map,o=(f,m,j)=>m,a={},p=f=>f){return E[t.title]=t,D[t.title]=o,z[t.title]=a,G[t.title]=p,(f={})=>{const m=_(f,t,i),j=Object.keys(r).reduce((s,l)=>(s[l]=r[l].default,s),{});return Object.assign(j,m)}}function Q(r,t){return{customClass:t.class,customStyle:t.style}}const U=new Map([["appearance",Q]]),X={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://farris-design.gitee.io/page-footer.schema.json",title:"page-footer",description:"A Farris Input Component",type:"object",properties:{id:{description:"The unique identifier for a page-footer",type:"string"},type:{description:"The type string of page-footer component",type:"string",default:"page-footer"},appearance:{description:"",type:"object",properties:{class:{type:"string"},style:{type:"string"}},default:{}},binding:{description:"",type:"object",default:{}},editable:{description:"",type:"boolean",default:!0},enableLinkLabel:{description:"",type:"boolean",default:!1},label:{description:"",type:"string",default:""},lableWidth:{description:"",type:"number"},placeholder:{description:"",type:"string",default:""},readonly:{description:"",type:"boolean",default:!1},required:{description:"",type:"boolean",default:!1},tabindex:{description:"",type:"number",default:-1},textAlign:{description:"",type:"string",enum:["left","middle","right"],default:"left"},visible:{description:"",type:"boolean",default:!0},onBlur:{description:"",type:"string",default:""},onClickLinkLabel:{description:"",type:"sting",default:""}},required:["id","type"]};function Y(r,t,i){return t}const Z={title:"page-footer",description:"A Farris Component",type:"object",categories:{basic:{description:"Basic Infomation",title:"基本信息",properties:{id:{description:"组件标识",title:"标识",type:"string",readonly:!0},type:{description:"组件类型",title:"控件类型",type:"select",editor:{type:"waiting for modification",enum:[]}}}},behavior:{description:"Basic Infomation",title:"行为",properties:{editable:{description:"",title:"允许编辑",type:"boolean"},readonly:{description:"",title:"只读",type:"string"},required:{description:"",title:"必填",type:"boolean"},visible:{description:"",title:"可见",type:"boolean"},placeholder:{description:"",title:"提示文本",type:"string"},tabindex:{description:"",title:"tab索引",type:"number"},textAlign:{description:"",title:"对齐方式",type:"enum",editor:{type:"combo-list",textField:"name",valueField:"value",data:[{value:"left",name:"左对齐"},{value:"center",name:"居中对齐"},{value:"right",name:"右对齐"}]}}}}}},P={customClass:{type:String,default:""},enableCollapse:{type:Boolean,default:!1},collapsed:{type:Boolean,default:!0},collapsedText:{type:String,default:"More"},expandedText:{type:String,default:"More"},contentClass:{type:String,default:""},headerClass:{type:String,default:""},headerContentClass:{type:String,default:""},headerToolbarClass:{type:String,default:""},showHeader:{type:String,default:!1}},w=J(P,X,U,Y,Z),H=e.defineComponent({name:"FPageFooter",props:P,emits:[],setup(r,t){const i=e.ref(r.collapsed),o=e.computed(()=>r.collapsedText),a=e.ref(r.contentClass),p=e.computed(()=>r.enableCollapse),f=e.computed(()=>r.expandedText),m=e.ref(r.headerClass),j=e.ref(r.headerContentClass),s=e.ref(r.headerToolbarClass),l=e.computed(()=>r.showHeader),n=e.ref(r.customClass);function c(d){d&&d.stopImmediatePropagation(),i.value=!i.value}function g(){return p.value&&e.createVNode("div",{class:"toolbar--collapse",onClick:d=>c(d)},[e.createVNode("span",{class:"toobar--collapse-text"},[i.value?f.value:o.value]),e.createVNode("i",{class:"f-icon toolbar--collapse-icon"},null)])}const C=e.computed(()=>{const d={"f-toolbar":!0};return s.value.split(" ").reduce((y,T)=>(y[T]=!0,y),d),d});function V(){return e.createVNode("div",{class:C.value},[t.slots.headerToolbar&&t.slots.headerToolbar(),!t.slots.headerToolbar&&g()])}const M=e.computed(()=>{const d={"f-content":!0};return j.value.split(" ").reduce((y,T)=>(y[T]=!0,y),d),d});function N(){return e.createVNode(e.Fragment,null,[t.slots.headerContent&&e.createVNode("div",{class:M.value},[t.slots.headerContent()]),V()])}const x=e.computed(()=>{const d={"f-cmp-footer-header":!0};return m.value.split(" ").reduce((y,T)=>(y[T]=!0,y),d),d});function F(){return e.createVNode("header",{class:x.value},[t.slots.header&&t.slots.header(),!t.slots.header&&N()])}const S=e.computed(()=>{const d={"f-cmp-footer":!0,"f-state-collapse":p.value&&i.value,"f-cmp-footer-accordion":p.value};return n.value.split(" ").reduce((y,T)=>(y[T]=!0,y),d),d}),k=e.computed(()=>{const d={"f-cmp-footer-content":!0};return a.value.split(" ").reduce((y,T)=>(y[T]=!0,y),d),d});return()=>e.createVNode("div",{class:S.value},[e.createVNode("footer",{class:"f-cmp-footer-container"},[l.value&&F(),e.createVNode("div",{class:k.value},[t.slots.default&&t.slots.default()])])])}}),K=e.defineComponent({name:"FPageFooterDesign",props:P,emits:[],setup(r,t){var T;const i=e.ref(r.collapsed),o=e.ref(r.collapsedText),a=e.ref(r.contentClass),p=e.ref(r.enableCollapse),f=e.ref(r.expandedText),m=e.ref(r.headerClass),j=e.ref(r.headerContentClass),s=e.ref(r.headerToolbarClass),l=e.ref(r.showHeader),n=e.ref(),c=e.inject("design-item-context"),g=I.useDesignerRules(c.schema,(T=c.parent)==null?void 0:T.schema),C=v.useDesignerComponent(n,c,g);e.onMounted(()=>{n.value.componentInstance=C}),t.expose(C.value);function V(u){u&&u.stopImmediatePropagation(),i.value=!i.value}function M(){return p.value&&e.createVNode("div",{class:"toolbar--collapse",onClick:u=>V(u)},[e.createVNode("span",{class:"toobar--collapse-text"},[i.value?f.value:o.value]),e.createVNode("i",{class:"f-icon toolbar--collapse-icon"},null)])}const N=e.computed(()=>{const u={"f-toolbar":!0};return s.value.split(" ").reduce((b,A)=>(b[A]=!0,b),u),u});function x(){return e.createVNode("div",{class:N.value},[t.slots.headerToolbar&&t.slots.headerToolbar(),!t.slots.headerToolbar&&M()])}const F=e.computed(()=>{const u={"f-content":!0};return j.value.split(" ").reduce((b,A)=>(b[A]=!0,b),u),u});function S(){return e.createVNode(e.Fragment,null,[t.slots.headerContent&&e.createVNode("div",{class:F.value},[t.slots.headerContent()]),x()])}const k=e.computed(()=>{const u={"f-cmp-footer-header":!0};return m.value.split(" ").reduce((b,A)=>(b[A]=!0,b),u),u});function d(){return e.createVNode("header",{class:k.value},[t.slots.header&&t.slots.header(),!t.slots.header&&S()])}const O=e.computed(()=>{const u={"f-cmp-footer":!0,"f-state-collapse":p.value&&i.value,"f-cmp-footer-accordion":p.value};return m.value.split(" ").reduce((b,A)=>(b[A]=!0,b),u),u}),y=e.computed(()=>{const u={"f-cmp-footer-content":!0};return a.value.split(" ").reduce((b,A)=>(b[A]=!0,b),u),u});return()=>e.createVNode("div",{ref:n,class:O.value},[e.createVNode("footer",{class:"f-cmp-footer-container"},[l.value&&d(),e.createVNode("div",{class:y.value},[t.slots.default&&t.slots.default()])])])}}),ee={install(r){r.component(H.name,H)},register(r,t,i,o){r["page-footer"]=H,t["page-footer"]=w},registerDesigner(r,t,i){r["page-footer"]=K,t["page-footer"]=w}};h.FPageFooter=H,h.default=ee,h.pageFooterProps=P,h.propsResolver=w,Object.defineProperties(h,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|