@farris/ui-vue 1.2.8 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/accordion/index.esm.js +180 -180
- package/components/accordion/index.umd.cjs +1 -0
- package/components/avatar/index.esm.js +419 -331
- package/components/avatar/index.umd.cjs +1 -0
- package/components/border-editor/index.umd.cjs +1 -0
- package/components/button/index.umd.cjs +1 -0
- package/components/button-edit/index.css +1 -1
- package/components/button-edit/index.esm.js +346 -326
- package/components/button-edit/index.umd.cjs +1 -0
- package/components/button-group/index.umd.cjs +1 -0
- package/components/calculator/index.umd.cjs +1 -0
- package/components/calendar/index.esm.js +384 -384
- package/components/calendar/index.umd.cjs +1 -0
- package/components/capsule/index.esm.js +205 -205
- package/components/capsule/index.umd.cjs +1 -0
- package/components/checkbox/index.esm.js +555 -467
- package/components/checkbox/index.umd.cjs +1 -0
- package/components/color-picker/index.esm.js +239 -239
- package/components/color-picker/index.umd.cjs +3 -0
- package/components/combo-list/index.css +1 -0
- package/components/combo-list/index.esm.js +1072 -364
- package/components/combo-list/index.umd.cjs +1 -0
- package/components/combo-tree/index.esm.js +129 -129
- package/components/combo-tree/index.umd.cjs +1 -0
- package/components/common/index.esm.js +778 -700
- package/components/common/index.umd.cjs +1 -0
- package/components/component/index.esm.js +582 -327
- package/components/component/index.umd.cjs +1 -0
- package/components/condition/index.css +1 -0
- package/components/condition/index.esm.js +2433 -1134
- package/components/condition/index.umd.cjs +1 -0
- package/components/content-container/index.esm.js +307 -234
- package/components/content-container/index.umd.cjs +1 -0
- package/components/data-grid/index.css +1 -1
- package/components/data-grid/index.esm.js +6762 -4946
- package/components/data-grid/index.umd.cjs +1 -0
- package/components/data-view/index.css +1 -0
- package/components/data-view/index.esm.js +4977 -3489
- package/components/data-view/index.umd.cjs +1 -0
- package/components/date-picker/index.css +1 -1
- package/components/date-picker/index.esm.js +3525 -2811
- package/components/date-picker/index.umd.cjs +1 -0
- package/components/designer-canvas/index.css +1 -1
- package/components/designer-canvas/index.esm.js +938 -928
- package/components/designer-canvas/index.umd.cjs +1 -0
- package/components/designer-outline/index.css +1 -1
- package/components/designer-outline/index.esm.js +38 -37
- package/components/designer-outline/index.umd.cjs +1 -0
- package/components/designer-toolbox/index.esm.js +36 -12
- package/components/designer-toolbox/index.umd.cjs +1 -0
- package/components/discussion-editor/index.umd.cjs +3 -0
- package/components/discussion-list/index.umd.cjs +1 -0
- package/components/drawer/index.umd.cjs +1 -0
- package/components/dropdown/index.esm.js +282 -282
- package/components/dropdown/index.umd.cjs +2 -0
- package/components/dynamic-form/index.css +1 -0
- package/components/dynamic-form/index.esm.js +2684 -1039
- package/components/dynamic-form/index.umd.cjs +1 -0
- package/components/dynamic-resolver/index.esm.js +149 -101
- package/components/dynamic-resolver/index.umd.cjs +1 -0
- package/components/dynamic-view/index.esm.js +303 -290
- package/components/dynamic-view/index.umd.cjs +1 -0
- package/components/enum-editor/index.umd.cjs +1 -0
- package/components/events-editor/index.esm.js +573 -518
- package/components/events-editor/index.umd.cjs +1 -0
- package/components/expression-editor/index.esm.js +99 -99
- package/components/expression-editor/index.umd.cjs +1 -0
- package/components/external-container/index.css +1 -1
- package/components/external-container/index.esm.js +3607 -2799
- package/components/external-container/index.umd.cjs +1 -0
- package/components/field-selector/index.css +1 -1
- package/components/field-selector/index.esm.js +5438 -8236
- package/components/field-selector/index.umd.cjs +1 -0
- package/components/filter-bar/index.css +1 -1
- package/components/filter-bar/index.esm.js +1679 -1759
- package/components/filter-bar/index.umd.cjs +1 -0
- package/components/flow-canvas/index.css +1 -1
- package/components/flow-canvas/index.esm.js +1062 -1052
- package/components/flow-canvas/index.umd.cjs +1 -0
- package/components/image-cropper/index.esm.js +421 -421
- package/components/image-cropper/index.umd.cjs +1 -0
- package/components/input-group/index.esm.js +677 -593
- package/components/input-group/index.umd.cjs +1 -0
- package/components/layout/index.esm.js +326 -326
- package/components/layout/index.umd.cjs +1 -0
- package/components/list-nav/index.esm.js +272 -199
- package/components/list-nav/index.umd.cjs +1 -0
- package/components/list-view/index.css +1 -1
- package/components/list-view/index.esm.js +3739 -2273
- package/components/list-view/index.umd.cjs +1 -0
- package/components/loading/index.umd.cjs +8 -0
- package/components/locale/index.umd.cjs +1 -0
- package/components/lookup/index.css +1 -1
- package/components/lookup/index.esm.js +11255 -9004
- package/components/lookup/index.umd.cjs +1 -0
- package/components/mapping-editor/index.css +1 -1
- package/components/mapping-editor/index.esm.js +6046 -5314
- package/components/mapping-editor/index.umd.cjs +1 -0
- 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 -0
- package/components/modal/index.css +1 -1
- package/components/modal/index.esm.js +438 -398
- package/components/modal/index.umd.cjs +1 -0
- package/components/nav/index.esm.js +588 -444
- package/components/nav/index.umd.cjs +3 -0
- package/components/notify/index.esm.js +59 -53
- package/components/notify/index.umd.cjs +1 -0
- package/components/number-range/index.esm.js +568 -485
- package/components/number-range/index.umd.cjs +1 -0
- package/components/number-spinner/index.esm.js +542 -454
- package/components/number-spinner/index.umd.cjs +1 -0
- package/components/order/index.css +1 -1
- package/components/order/index.esm.js +1967 -1105
- package/components/order/index.umd.cjs +1 -0
- package/components/page-footer/index.esm.js +160 -160
- package/components/page-footer/index.umd.cjs +1 -0
- package/components/page-header/index.esm.js +1282 -1151
- package/components/page-header/index.umd.cjs +1 -0
- package/components/pagination/index.esm.js +705 -555
- package/components/pagination/index.umd.cjs +1 -0
- package/components/popover/index.esm.js +71 -70
- package/components/popover/index.umd.cjs +1 -0
- package/components/progress/index.esm.js +270 -270
- package/components/progress/index.umd.cjs +3 -0
- package/components/property-editor/index.css +1 -1
- package/components/property-editor/index.esm.js +2231 -1517
- package/components/property-editor/index.umd.cjs +3 -0
- package/components/property-panel/index.esm.js +813 -909
- package/components/property-panel/index.umd.cjs +1 -0
- package/components/query-solution/index.css +1 -1
- package/components/query-solution/index.esm.js +3781 -2566
- package/components/query-solution/index.umd.cjs +1 -0
- package/components/radio-button/index.esm.js +101 -101
- package/components/radio-button/index.umd.cjs +1 -0
- package/components/radio-group/index.esm.js +538 -450
- package/components/radio-group/index.umd.cjs +1 -0
- package/components/rate/index.esm.js +238 -233
- package/components/rate/index.umd.cjs +1 -0
- package/components/response-layout/index.esm.js +155 -155
- package/components/response-layout/index.umd.cjs +1 -0
- package/components/response-layout-editor/index.css +1 -1
- package/components/response-layout-editor/index.esm.js +1243 -1180
- package/components/response-layout-editor/index.umd.cjs +1 -0
- package/components/response-toolbar/index.esm.js +988 -877
- package/components/response-toolbar/index.umd.cjs +1 -0
- package/components/schema-selector/index.css +1 -1
- package/components/schema-selector/index.esm.js +5413 -4867
- package/components/schema-selector/index.umd.cjs +8 -0
- package/components/search-box/index.esm.js +199 -199
- package/components/search-box/index.umd.cjs +1 -0
- package/components/section/index.esm.js +646 -503
- package/components/section/index.umd.cjs +1 -0
- package/components/smoke-detector/index.esm.js +144 -144
- package/components/smoke-detector/index.umd.cjs +1 -0
- package/components/spacing-editor/index.umd.cjs +1 -0
- package/components/splitter/index.esm.js +464 -391
- package/components/splitter/index.umd.cjs +1 -0
- package/components/step/index.esm.js +249 -249
- package/components/step/index.umd.cjs +1 -0
- package/components/switch/index.esm.js +483 -394
- package/components/switch/index.umd.cjs +1 -0
- package/components/tabs/index.css +1 -1
- package/components/tabs/index.esm.js +2366 -2208
- package/components/tabs/index.umd.cjs +1 -0
- package/components/tags/index.esm.js +397 -399
- package/components/tags/index.umd.cjs +1 -0
- package/components/text/index.esm.js +394 -394
- package/components/text/index.umd.cjs +1 -0
- package/components/textarea/index.esm.js +451 -367
- package/components/textarea/index.umd.cjs +1 -0
- package/components/time-picker/index.css +1 -1
- package/components/time-picker/index.esm.js +1252 -1144
- package/components/time-picker/index.umd.cjs +1 -0
- package/components/tooltip/index.umd.cjs +1 -0
- package/components/transfer/index.css +1 -1
- package/components/transfer/index.esm.js +510 -499
- package/components/transfer/index.umd.cjs +1 -0
- package/components/tree-grid/index.css +1 -1
- package/components/tree-grid/index.esm.js +5463 -9330
- package/components/tree-grid/index.umd.cjs +1 -0
- package/components/tree-view/index.css +1 -0
- package/components/tree-view/index.esm.js +4058 -2597
- package/components/tree-view/index.umd.cjs +1 -0
- package/components/uploader/index.esm.js +510 -504
- package/components/uploader/index.umd.cjs +2 -0
- package/components/verify-detail/index.esm.js +220 -220
- package/components/verify-detail/index.umd.cjs +1 -0
- package/components/video/index.esm.js +653 -394
- package/components/video/index.umd.cjs +1 -0
- package/components/weather/index.esm.js +1028 -1028
- package/components/weather/index.umd.cjs +16 -0
- package/farris.all.esm.js +20407 -18556
- package/farris.all.umd.cjs +8 -8
- package/index.css +1 -1
- package/package.json +1 -1
- package/types/button-edit/src/designer/button-group.design.component.d.ts +7 -0
- package/types/capsule/src/capsule.props.d.ts +2 -2
- package/types/combo-list/src/components/list-container.props.d.ts +1 -1
- package/types/common/entity/entity-schema.d.ts +258 -0
- package/types/common/index.d.ts +1 -0
- package/types/common/types.d.ts +1 -1
- package/types/common/utils/encrypt.d.ts +2 -0
- package/types/component/src/component-ref.props.d.ts +4 -0
- package/types/component/src/component.props.d.ts +7 -0
- package/types/component/src/composition/inner-component-build-info.d.ts +27 -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/data-grid/index.d.ts +8 -2
- package/types/data-grid/src/composition/data-grid-component-creator.service.d.ts +33 -0
- package/types/data-grid/src/data-grid.component.d.ts +3 -1
- package/types/data-grid/src/data-grid.props.d.ts +3 -2
- package/types/data-grid/src/property-config/data-grid.property-config.d.ts +4 -0
- package/types/data-grid/src/schema/schema-resolver.d.ts +2 -1
- package/types/data-view/components/column-format/boolean.component.d.ts +4 -0
- package/types/data-view/components/column-format/column-format.component.d.ts +4 -0
- package/types/data-view/components/column-format/date.component.d.ts +4 -0
- package/types/data-view/components/column-format/enum.component.d.ts +4 -0
- package/types/data-view/components/column-format/number.component.d.ts +4 -0
- package/types/data-view/composition/pagination/use-pagination.d.ts +1 -0
- package/types/data-view/composition/types.d.ts +36 -7
- package/types/data-view/composition/use-edit.d.ts +2 -1
- package/types/data-view/composition/visualization/use-virtual-scroll.d.ts +0 -15
- package/types/designer-canvas/src/composition/dg-control.d.ts +5 -0
- package/types/designer-canvas/src/composition/function/use-dragula.d.ts +2 -2
- package/types/designer-canvas/src/composition/types.d.ts +1 -1
- package/types/designer-canvas/src/types.d.ts +2 -2
- package/types/dynamic-form/index.d.ts +2 -1
- package/types/dynamic-form/src/composition/response-form-component-creator.service.d.ts +31 -0
- 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/use-designer-rules.d.ts +2 -2
- 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 +3 -1
- package/types/dynamic-form/src/types.d.ts +12 -1
- package/types/dynamic-resolver/index.d.ts +1 -0
- package/types/dynamic-resolver/src/event-handler-resolver.d.ts +4 -0
- package/types/dynamic-resolver/src/schema-resolver.d.ts +2 -1
- package/types/dynamic-resolver/src/types.d.ts +12 -2
- package/types/dynamic-view/index.d.ts +1 -0
- package/types/dynamic-view/src/event-dispatcher.d.ts +1 -1
- package/types/index.d.ts +2 -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/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/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/response-toolbar.props.d.ts +2 -2
- package/types/response-toolbar/src/schema/schema-mapper.d.ts +4 -0
- package/types/section/src/property-config/section.property-config.d.ts +93 -0
- package/types/section/src/schema/schema-resolver.d.ts +2 -1
- package/types/tabs/src/composition/types.d.ts +2 -2
- package/types/tabs/src/designer/tab-header-item.design.component.d.ts +3 -1
- package/types/tabs/src/property-config/tab-page.property-config.d.ts +60 -0
- package/types/tabs/src/schema/schema-resolver.d.ts +2 -1
- package/types/tabs/src/tabs.props.d.ts +1 -0
- package/types/tags/index.d.ts +36 -5
- package/types/tree-grid/index.d.ts +8 -2
- package/types/tree-grid/src/tree-grid.component.d.ts +3 -1
- package/types/modal/src/composition/use-esc.d.ts +0 -1
- 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,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as F, ref as y, watch as D, computed as
|
|
2
|
-
import { cloneDeep as
|
|
3
|
-
import { withInstall as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as F, ref as y, watch as D, computed as S, onMounted as P, createVNode as w, nextTick as T, inject as Q } from "vue";
|
|
2
|
+
import { isPlainObject as q, cloneDeep as U } from "lodash-es";
|
|
3
|
+
import { withInstall as X } from "../common/index.esm.js";
|
|
4
|
+
const Y = "https://json-schema.org/draft/2020-12/schema", Z = "https://farris-design.gitee.io/capsule.schema.json", I = "capsule", K = "A Farris Component", x = "object", ee = {
|
|
5
5
|
id: {
|
|
6
6
|
description: "The unique identifier for a capsule",
|
|
7
7
|
type: "string"
|
|
@@ -63,126 +63,126 @@ const X = "https://json-schema.org/draft/2020-12/schema", Y = "https://farris-de
|
|
|
63
63
|
type: "boolean",
|
|
64
64
|
default: !0
|
|
65
65
|
}
|
|
66
|
-
},
|
|
66
|
+
}, te = [
|
|
67
67
|
"id",
|
|
68
68
|
"type"
|
|
69
|
-
],
|
|
70
|
-
$schema:
|
|
71
|
-
$id:
|
|
72
|
-
title:
|
|
73
|
-
description:
|
|
74
|
-
type:
|
|
75
|
-
properties:
|
|
76
|
-
required:
|
|
77
|
-
},
|
|
69
|
+
], ne = {
|
|
70
|
+
$schema: Y,
|
|
71
|
+
$id: Z,
|
|
72
|
+
title: I,
|
|
73
|
+
description: K,
|
|
74
|
+
type: x,
|
|
75
|
+
properties: ee,
|
|
76
|
+
required: te
|
|
77
|
+
}, _ = {}, J = {};
|
|
78
78
|
function W(n) {
|
|
79
|
-
const { properties: e, title:
|
|
80
|
-
return l.id = `${
|
|
79
|
+
const { properties: e, title: u, ignore: l } = n, s = l && Array.isArray(l), o = Object.keys(e).reduce((i, g) => ((!s || !l.find((j) => j == g)) && (i[g] = e[g].type === "object" && e[g].properties ? W(e[g]) : U(e[g].default)), i), {});
|
|
80
|
+
return (!s || !l.find((i) => i == "id")) && (o.id = `${u}-${Date.now()}`), o;
|
|
81
81
|
}
|
|
82
|
-
function N(n, e = {}) {
|
|
83
|
-
const
|
|
84
|
-
if (
|
|
85
|
-
let
|
|
86
|
-
const
|
|
87
|
-
return
|
|
82
|
+
function N(n, e = {}, u) {
|
|
83
|
+
const l = _[n];
|
|
84
|
+
if (l) {
|
|
85
|
+
let s = W(l);
|
|
86
|
+
const o = J[n];
|
|
87
|
+
return s = o ? o({ getSchemaByType: N }, s, e, u) : s, s;
|
|
88
88
|
}
|
|
89
89
|
return null;
|
|
90
90
|
}
|
|
91
|
-
function ne(n, e) {
|
|
92
|
-
const r = W(e);
|
|
93
|
-
return Object.keys(n).reduce((l, u) => (l[u] && typeof l[u] == "object" ? Object.assign(l[u], n[u]) : l[u] = n[u], l), r), r;
|
|
94
|
-
}
|
|
95
91
|
function ae(n, e) {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
92
|
+
const u = W(e);
|
|
93
|
+
return Object.keys(n).reduce((l, s) => (l[s] && q(l[s]) && q(n[s]) ? Object.assign(l[s], n[s]) : l[s] = n[s], l), u), u;
|
|
94
|
+
}
|
|
95
|
+
function le(n, e) {
|
|
96
|
+
return Object.keys(n).filter((l) => n[l] != null).reduce((l, s) => {
|
|
97
|
+
if (e.has(s)) {
|
|
98
|
+
const o = e.get(s);
|
|
99
99
|
if (typeof o == "string")
|
|
100
|
-
l[o] = n[
|
|
100
|
+
l[o] = n[s];
|
|
101
101
|
else {
|
|
102
|
-
const
|
|
103
|
-
Object.assign(l,
|
|
102
|
+
const i = o(s, n[s], n);
|
|
103
|
+
Object.assign(l, i);
|
|
104
104
|
}
|
|
105
105
|
} else
|
|
106
|
-
l[
|
|
106
|
+
l[s] = n[s];
|
|
107
107
|
return l;
|
|
108
108
|
}, {});
|
|
109
109
|
}
|
|
110
|
-
function
|
|
111
|
-
const l =
|
|
112
|
-
return
|
|
110
|
+
function se(n, e, u = /* @__PURE__ */ new Map()) {
|
|
111
|
+
const l = ae(n, e);
|
|
112
|
+
return le(l, u);
|
|
113
113
|
}
|
|
114
|
-
function
|
|
115
|
-
function e(
|
|
116
|
-
if (typeof
|
|
117
|
-
return
|
|
118
|
-
if (typeof
|
|
119
|
-
const h = Object.keys(
|
|
114
|
+
function ce(n = {}) {
|
|
115
|
+
function e(r, f, p, d) {
|
|
116
|
+
if (typeof p == "number")
|
|
117
|
+
return d[r].length === p;
|
|
118
|
+
if (typeof p == "object") {
|
|
119
|
+
const h = Object.keys(p)[0], b = p[h];
|
|
120
120
|
if (h === "not")
|
|
121
|
-
return Number(
|
|
121
|
+
return Number(d[r].length) !== Number(b);
|
|
122
122
|
if (h === "moreThan")
|
|
123
|
-
return Number(
|
|
123
|
+
return Number(d[r].length) >= Number(b);
|
|
124
124
|
if (h === "lessThan")
|
|
125
|
-
return Number(
|
|
125
|
+
return Number(d[r].length) <= Number(b);
|
|
126
126
|
}
|
|
127
127
|
return !1;
|
|
128
128
|
}
|
|
129
|
-
function r
|
|
130
|
-
return
|
|
129
|
+
function u(r, f, p, d) {
|
|
130
|
+
return d[r] && d[r].propertyValue && String(d[r].propertyValue.value) === String(p);
|
|
131
131
|
}
|
|
132
132
|
const l = /* @__PURE__ */ new Map([
|
|
133
133
|
["length", e],
|
|
134
|
-
["getProperty",
|
|
134
|
+
["getProperty", u]
|
|
135
135
|
]);
|
|
136
|
-
Object.keys(n).reduce((
|
|
137
|
-
function
|
|
138
|
-
const
|
|
139
|
-
return typeof
|
|
140
|
-
if (
|
|
141
|
-
return { target:
|
|
142
|
-
const h =
|
|
143
|
-
return { target:
|
|
136
|
+
Object.keys(n).reduce((r, f) => (r.set(f, n[f]), r), l);
|
|
137
|
+
function s(r, f) {
|
|
138
|
+
const p = r;
|
|
139
|
+
return typeof f == "number" ? [{ target: p, operator: "length", param: null, value: Number(f) }] : typeof f == "boolean" ? [{ target: p, operator: "getProperty", param: r, value: !!f }] : typeof f == "object" ? Object.keys(f).map((d) => {
|
|
140
|
+
if (d === "length")
|
|
141
|
+
return { target: p, operator: "length", param: null, value: f[d] };
|
|
142
|
+
const h = d, b = f[d];
|
|
143
|
+
return { target: p, operator: "getProperty", param: h, value: b };
|
|
144
144
|
}) : [];
|
|
145
145
|
}
|
|
146
|
-
function o(
|
|
147
|
-
return Object.keys(
|
|
148
|
-
const h =
|
|
149
|
-
return
|
|
146
|
+
function o(r) {
|
|
147
|
+
return Object.keys(r).reduce((p, d) => {
|
|
148
|
+
const h = s(d, r[d]);
|
|
149
|
+
return p.push(...h), p;
|
|
150
150
|
}, []);
|
|
151
151
|
}
|
|
152
|
-
function
|
|
153
|
-
if (l.has(
|
|
154
|
-
const
|
|
155
|
-
return
|
|
152
|
+
function i(r, f) {
|
|
153
|
+
if (l.has(r.operator)) {
|
|
154
|
+
const p = l.get(r.operator);
|
|
155
|
+
return p && p(r.target, r.param, r.value, f) || !1;
|
|
156
156
|
}
|
|
157
157
|
return !1;
|
|
158
158
|
}
|
|
159
|
-
function
|
|
160
|
-
return o(
|
|
159
|
+
function g(r, f) {
|
|
160
|
+
return o(r).reduce((h, b) => h && i(b, f), !0);
|
|
161
161
|
}
|
|
162
|
-
function
|
|
163
|
-
const
|
|
164
|
-
return
|
|
162
|
+
function j(r, f) {
|
|
163
|
+
const p = Object.keys(r), d = p.includes("allOf"), h = p.includes("anyOf"), b = d || h, V = (b ? r[b ? d ? "allOf" : "anyOf" : "allOf"] : [r]).map((C) => g(C, f));
|
|
164
|
+
return d ? !V.includes(!1) : V.includes(!0);
|
|
165
165
|
}
|
|
166
|
-
return { parseValueSchema:
|
|
166
|
+
return { parseValueSchema: j };
|
|
167
167
|
}
|
|
168
|
-
const
|
|
169
|
-
|
|
170
|
-
function
|
|
171
|
-
return
|
|
172
|
-
const
|
|
173
|
-
return Object.assign(
|
|
168
|
+
const re = {}, ue = {};
|
|
169
|
+
ce();
|
|
170
|
+
function oe(n, e, u = /* @__PURE__ */ new Map(), l = (i, g, j) => g, s = {}, o = (i) => i) {
|
|
171
|
+
return _[e.title] = e, J[e.title] = l, re[e.title] = s, ue[e.title] = o, (i = {}) => {
|
|
172
|
+
const g = se(i, e, u), j = Object.keys(n).reduce((r, f) => (r[f] = n[f].default, r), {});
|
|
173
|
+
return Object.assign(j, g);
|
|
174
174
|
};
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function ie(n, e) {
|
|
177
177
|
return { customClass: e.class, customStyle: e.style };
|
|
178
178
|
}
|
|
179
|
-
const
|
|
180
|
-
["appearance",
|
|
179
|
+
const pe = /* @__PURE__ */ new Map([
|
|
180
|
+
["appearance", ie]
|
|
181
181
|
]);
|
|
182
|
-
function
|
|
182
|
+
function fe(n, e, u) {
|
|
183
183
|
return e;
|
|
184
184
|
}
|
|
185
|
-
const
|
|
185
|
+
const de = "capsule", ve = "A Farris Component", me = "object", ye = {
|
|
186
186
|
basic: {
|
|
187
187
|
description: "Basic Infomation",
|
|
188
188
|
title: "基本信息",
|
|
@@ -204,11 +204,11 @@ const fe = "capsule", de = "A Farris Component", ve = "object", me = {
|
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
-
},
|
|
208
|
-
title:
|
|
209
|
-
description:
|
|
210
|
-
type:
|
|
211
|
-
categories:
|
|
207
|
+
}, he = {
|
|
208
|
+
title: de,
|
|
209
|
+
description: ve,
|
|
210
|
+
type: me,
|
|
211
|
+
categories: ye
|
|
212
212
|
}, L = {
|
|
213
213
|
items: {
|
|
214
214
|
Type: Array,
|
|
@@ -222,7 +222,7 @@ const fe = "capsule", de = "A Farris Component", ve = "object", me = {
|
|
|
222
222
|
*/
|
|
223
223
|
modelValue: { type: String, default: "" },
|
|
224
224
|
type: { type: String, default: "primary" }
|
|
225
|
-
},
|
|
225
|
+
}, ge = {
|
|
226
226
|
name: { type: String, default: "" },
|
|
227
227
|
value: { type: String, default: "" },
|
|
228
228
|
isActive: { type: Boolean, default: !1 },
|
|
@@ -230,34 +230,34 @@ const fe = "capsule", de = "A Farris Component", ve = "object", me = {
|
|
|
230
230
|
index: { type: Number, default: 0 },
|
|
231
231
|
show: { type: Boolean, default: !0 },
|
|
232
232
|
disabled: { type: Boolean, default: !1 }
|
|
233
|
-
},
|
|
233
|
+
}, z = oe(L, ne, pe, fe, he), G = /* @__PURE__ */ F({
|
|
234
234
|
name: "FCapsuleItem",
|
|
235
|
-
props:
|
|
235
|
+
props: ge,
|
|
236
236
|
emits: ["mounted", "active"],
|
|
237
237
|
setup(n, e) {
|
|
238
|
-
const
|
|
239
|
-
D(() => n.isActive, (
|
|
240
|
-
l.value =
|
|
238
|
+
const u = y(), l = y(n.isActive);
|
|
239
|
+
D(() => n.isActive, (i) => {
|
|
240
|
+
l.value = i;
|
|
241
241
|
});
|
|
242
|
-
const
|
|
242
|
+
const s = S(() => ({
|
|
243
243
|
"f-capsule-item": !0,
|
|
244
244
|
"f-capsule-active-item": l.value,
|
|
245
245
|
"f-capsule-disabled": n.disabled
|
|
246
246
|
}));
|
|
247
247
|
P(() => {
|
|
248
|
-
e.emit("mounted",
|
|
248
|
+
e.emit("mounted", u, n.value);
|
|
249
249
|
});
|
|
250
|
-
function o(
|
|
251
|
-
n.disabled || e.emit("active",
|
|
250
|
+
function o(i) {
|
|
251
|
+
n.disabled || e.emit("active", i, {
|
|
252
252
|
name: n.name,
|
|
253
253
|
value: n.value
|
|
254
254
|
});
|
|
255
255
|
}
|
|
256
|
-
return () =>
|
|
257
|
-
ref:
|
|
258
|
-
class:
|
|
259
|
-
onClick: (
|
|
260
|
-
}, [n.icon &&
|
|
256
|
+
return () => w("div", {
|
|
257
|
+
ref: u,
|
|
258
|
+
class: s.value,
|
|
259
|
+
onClick: (i) => o(i)
|
|
260
|
+
}, [n.icon && w("i", {
|
|
261
261
|
class: n.icon
|
|
262
262
|
}, null), n.name]);
|
|
263
263
|
}
|
|
@@ -266,59 +266,59 @@ const fe = "capsule", de = "A Farris Component", ve = "object", me = {
|
|
|
266
266
|
props: L,
|
|
267
267
|
emits: ["change", "update:modelValue"],
|
|
268
268
|
setup(n, e) {
|
|
269
|
-
const
|
|
269
|
+
const u = y(n.items), l = y(), s = 2, o = y(n.modelValue), i = y("none"), g = y(n.type), j = S(() => {
|
|
270
270
|
const a = {
|
|
271
271
|
"f-capsule-container": !0
|
|
272
272
|
};
|
|
273
|
-
return
|
|
274
|
-
}),
|
|
273
|
+
return g.value && (a[g.value] = !0), a;
|
|
274
|
+
}), r = S(() => ({})), f = S(() => ({
|
|
275
275
|
"f-capsule": !0
|
|
276
|
-
})),
|
|
277
|
-
left: `${
|
|
278
|
-
width: `${
|
|
279
|
-
transition:
|
|
280
|
-
})), R =
|
|
276
|
+
})), p = y(s), d = y(0), h = y(0), b = S(() => ({
|
|
277
|
+
left: `${p.value}px`,
|
|
278
|
+
width: `${d.value}px`,
|
|
279
|
+
transition: i.value
|
|
280
|
+
})), R = S(() => ({
|
|
281
281
|
width: `${h.value}px`
|
|
282
|
-
})),
|
|
282
|
+
})), A = /* @__PURE__ */ new Map();
|
|
283
283
|
function V(a) {
|
|
284
284
|
var t;
|
|
285
|
-
if (
|
|
286
|
-
const c = (t =
|
|
285
|
+
if (A.has(a.value)) {
|
|
286
|
+
const c = (t = A.get(a.value)) == null ? void 0 : t.value;
|
|
287
287
|
if (c) {
|
|
288
288
|
const m = c.getBoundingClientRect(), B = l.value.getBoundingClientRect();
|
|
289
|
-
|
|
289
|
+
p.value = m.left - B.left + s + l.value.scrollLeft, d.value = m.width - 2 * s;
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function M(a, t) {
|
|
294
294
|
const c = a.value;
|
|
295
295
|
o.value = c, e.emit("update:modelValue", c), V(a), t && e.emit("change", c);
|
|
296
296
|
}
|
|
297
297
|
function C(a) {
|
|
298
|
-
const t =
|
|
299
|
-
t > -1 &&
|
|
298
|
+
const t = u.value.findIndex((c) => c.value === a);
|
|
299
|
+
t > -1 && M(u.value[t], !1);
|
|
300
300
|
}
|
|
301
301
|
D(() => n.modelValue, (a) => {
|
|
302
302
|
o.value = a, C(o.value);
|
|
303
303
|
}), D(() => n.items, async (a) => {
|
|
304
304
|
const t = a.filter((c) => c.show);
|
|
305
|
-
v(t),
|
|
305
|
+
v(t), u.value = t, await T(), C(o.value), h.value = Array.from(A.values()).reduce((c, m) => (c += m.value.clientWidth, c), 0);
|
|
306
306
|
}), P(async () => {
|
|
307
|
-
C(o.value), await T(),
|
|
307
|
+
C(o.value), await T(), i.value = "0.1s ease-out all", h.value = Array.from(A.values()).reduce((a, t) => (a += t.value.clientWidth, a), 0);
|
|
308
308
|
});
|
|
309
309
|
function $(a, t) {
|
|
310
|
-
|
|
310
|
+
M(t, !0);
|
|
311
311
|
}
|
|
312
312
|
function E(a, t) {
|
|
313
|
-
|
|
313
|
+
A.set(t, a);
|
|
314
314
|
}
|
|
315
315
|
function v(a) {
|
|
316
|
-
Array.from(
|
|
317
|
-
a.find((m) => m.value === t) ||
|
|
316
|
+
Array.from(A.keys()).forEach((t) => {
|
|
317
|
+
a.find((m) => m.value === t) || A.delete(t);
|
|
318
318
|
});
|
|
319
319
|
}
|
|
320
|
-
function
|
|
321
|
-
return
|
|
320
|
+
function O(a, t) {
|
|
321
|
+
return w(G, {
|
|
322
322
|
name: a.name,
|
|
323
323
|
value: a.value,
|
|
324
324
|
isActive: a.value === o.value,
|
|
@@ -329,69 +329,69 @@ const fe = "capsule", de = "A Farris Component", ve = "object", me = {
|
|
|
329
329
|
onActive: $
|
|
330
330
|
}, null);
|
|
331
331
|
}
|
|
332
|
-
return () =>
|
|
332
|
+
return () => w("span", {
|
|
333
333
|
ref: l,
|
|
334
|
-
class:
|
|
335
|
-
style:
|
|
336
|
-
}, [
|
|
334
|
+
class: j.value,
|
|
335
|
+
style: r.value
|
|
336
|
+
}, [w("span", {
|
|
337
337
|
class: "f-capsule-pane"
|
|
338
|
-
}, [
|
|
339
|
-
class:
|
|
340
|
-
style:
|
|
341
|
-
}, null),
|
|
338
|
+
}, [u.value.map((a, t) => O(a, t))]), w("small", {
|
|
339
|
+
class: f.value,
|
|
340
|
+
style: b.value
|
|
341
|
+
}, null), w("div", {
|
|
342
342
|
class: "f-capsule-board",
|
|
343
343
|
style: R.value
|
|
344
344
|
}, null)]);
|
|
345
345
|
}
|
|
346
346
|
});
|
|
347
|
-
function
|
|
347
|
+
function be(n, e, u) {
|
|
348
348
|
var E;
|
|
349
349
|
function l() {
|
|
350
350
|
}
|
|
351
|
-
const
|
|
352
|
-
function
|
|
351
|
+
const s = "", o = "", i = y();
|
|
352
|
+
function g() {
|
|
353
353
|
return (e == null ? void 0 : e.schema.componentType) !== "frame";
|
|
354
354
|
}
|
|
355
|
-
function
|
|
355
|
+
function j() {
|
|
356
356
|
return !1;
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function r() {
|
|
359
359
|
return (e == null ? void 0 : e.schema.componentType) !== "frame";
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function f() {
|
|
362
362
|
return (e == null ? void 0 : e.schema.componentType) === "frame";
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function p(v) {
|
|
365
365
|
if (!v || !v.value)
|
|
366
366
|
return null;
|
|
367
367
|
if (v.value.schema && v.value.schema.type === "component")
|
|
368
368
|
return v.value;
|
|
369
|
-
const
|
|
369
|
+
const O = y(v == null ? void 0 : v.value.parent), a = p(O);
|
|
370
370
|
return a || null;
|
|
371
371
|
}
|
|
372
|
-
function
|
|
373
|
-
const { componentInstance:
|
|
374
|
-
return !
|
|
372
|
+
function d(v = e) {
|
|
373
|
+
const { componentInstance: O, designerItemElementRef: a } = v;
|
|
374
|
+
return !O || !O.value ? null : O.value.canMove ? a : d(v.parent);
|
|
375
375
|
}
|
|
376
376
|
function h(v) {
|
|
377
|
-
return !!
|
|
377
|
+
return !!u;
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function b() {
|
|
380
380
|
return (e == null ? void 0 : e.schema.label) || (e == null ? void 0 : e.schema.title) || (e == null ? void 0 : e.schema.name);
|
|
381
381
|
}
|
|
382
382
|
function R() {
|
|
383
383
|
}
|
|
384
|
-
function
|
|
384
|
+
function A(v, O) {
|
|
385
385
|
}
|
|
386
|
-
function V(v) {
|
|
387
|
-
const { componentType:
|
|
388
|
-
let
|
|
389
|
-
const
|
|
390
|
-
return
|
|
386
|
+
function V(v, O) {
|
|
387
|
+
const { componentType: a } = v;
|
|
388
|
+
let t = N(a, v, O);
|
|
389
|
+
const c = a.toLowerCase().replace("-", "_");
|
|
390
|
+
return t && !t.id && t.type === a && (t.id = `${c}_${Math.random().toString().slice(2, 6)}`), t;
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function M(v, O) {
|
|
393
393
|
const a = String(v.getAttribute("data-controltype")), t = v.getAttribute("data-feature"), c = t ? JSON.parse(t) : {};
|
|
394
|
-
c.parentComponentInstance =
|
|
394
|
+
c.parentComponentInstance = i.value;
|
|
395
395
|
let m = N(a, c);
|
|
396
396
|
const B = a.toLowerCase().replace("-", "_");
|
|
397
397
|
return m && !m.id && m.type === a && (m.id = `${B}_${Math.random().toString().slice(2, 6)}`), m;
|
|
@@ -400,62 +400,62 @@ function ge(n, e, r) {
|
|
|
400
400
|
}
|
|
401
401
|
function $(...v) {
|
|
402
402
|
}
|
|
403
|
-
return
|
|
404
|
-
canMove:
|
|
405
|
-
canSelectParent:
|
|
406
|
-
canDelete:
|
|
407
|
-
canNested: !
|
|
403
|
+
return i.value = {
|
|
404
|
+
canMove: g(),
|
|
405
|
+
canSelectParent: j(),
|
|
406
|
+
canDelete: r(),
|
|
407
|
+
canNested: !f(),
|
|
408
408
|
contents: e == null ? void 0 : e.schema.contents,
|
|
409
409
|
elementRef: n,
|
|
410
410
|
parent: (E = e == null ? void 0 : e.parent) == null ? void 0 : E.componentInstance,
|
|
411
411
|
schema: e == null ? void 0 : e.schema,
|
|
412
|
-
styles:
|
|
412
|
+
styles: s,
|
|
413
413
|
designerClass: o,
|
|
414
414
|
canAccepts: h,
|
|
415
|
-
getBelongedComponentInstance:
|
|
416
|
-
getDraggableDesignItemElement:
|
|
417
|
-
getDraggingDisplayText:
|
|
415
|
+
getBelongedComponentInstance: p,
|
|
416
|
+
getDraggableDesignItemElement: d,
|
|
417
|
+
getDraggingDisplayText: b,
|
|
418
418
|
getPropConfig: $,
|
|
419
419
|
getDragScopeElement: R,
|
|
420
|
-
onAcceptMovedChildElement:
|
|
421
|
-
onAcceptNewChildElement:
|
|
420
|
+
onAcceptMovedChildElement: A,
|
|
421
|
+
onAcceptNewChildElement: M,
|
|
422
422
|
onChildElementMovedOut: C,
|
|
423
423
|
addNewChildComponentSchema: V,
|
|
424
424
|
updateDragAndDropRules: l,
|
|
425
425
|
triggerBelongedComponentToMoveWhenMoved: y(!1),
|
|
426
426
|
triggerBelongedComponentToDeleteWhenDeleted: y(!1)
|
|
427
|
-
},
|
|
427
|
+
}, i;
|
|
428
428
|
}
|
|
429
|
-
const
|
|
429
|
+
const Oe = /* @__PURE__ */ F({
|
|
430
430
|
name: "FCapsuleDesign",
|
|
431
431
|
props: L,
|
|
432
432
|
emits: ["change", "update:modelValue"],
|
|
433
433
|
setup(n, e) {
|
|
434
|
-
const
|
|
434
|
+
const u = y(n.items), l = y(), s = 2, o = y(n.modelValue), i = y("none"), g = y(n.type), j = Q("design-item-context"), r = be(l, j);
|
|
435
435
|
P(() => {
|
|
436
|
-
l.value.componentInstance =
|
|
437
|
-
}), e.expose(
|
|
438
|
-
const
|
|
436
|
+
l.value.componentInstance = r;
|
|
437
|
+
}), e.expose(r.value);
|
|
438
|
+
const f = S(() => {
|
|
439
439
|
const t = {
|
|
440
440
|
"f-capsule-container": !0
|
|
441
441
|
};
|
|
442
|
-
return
|
|
443
|
-
}),
|
|
442
|
+
return g.value && (t[g.value] = !0), t;
|
|
443
|
+
}), p = S(() => ({})), d = S(() => ({
|
|
444
444
|
"f-capsule": !0
|
|
445
|
-
})), h = y(
|
|
445
|
+
})), h = y(s), b = y(0), R = y(0), A = S(() => ({
|
|
446
446
|
left: `${h.value}px`,
|
|
447
|
-
width: `${
|
|
448
|
-
transition:
|
|
449
|
-
})), V =
|
|
447
|
+
width: `${b.value}px`,
|
|
448
|
+
transition: i.value
|
|
449
|
+
})), V = S(() => ({
|
|
450
450
|
width: `${R.value}px`
|
|
451
|
-
})),
|
|
451
|
+
})), M = /* @__PURE__ */ new Map();
|
|
452
452
|
function C(t) {
|
|
453
453
|
var c;
|
|
454
|
-
if (
|
|
455
|
-
const m = (c =
|
|
454
|
+
if (M.has(t.value)) {
|
|
455
|
+
const m = (c = M.get(t.value)) == null ? void 0 : c.value;
|
|
456
456
|
if (m) {
|
|
457
|
-
const B = m.getBoundingClientRect(),
|
|
458
|
-
h.value = B.left -
|
|
457
|
+
const B = m.getBoundingClientRect(), H = l.value.getBoundingClientRect();
|
|
458
|
+
h.value = B.left - H.left + s + l.value.scrollLeft, b.value = B.width - 2 * s;
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
461
|
}
|
|
@@ -464,58 +464,58 @@ const be = /* @__PURE__ */ F({
|
|
|
464
464
|
o.value = m, e.emit("update:modelValue", m), C(t), c && e.emit("change", m);
|
|
465
465
|
}
|
|
466
466
|
function E(t) {
|
|
467
|
-
const c =
|
|
468
|
-
c > -1 && $(
|
|
467
|
+
const c = u.value.findIndex((m) => m.value === t);
|
|
468
|
+
c > -1 && $(u.value[c], !1);
|
|
469
469
|
}
|
|
470
470
|
D(() => n.modelValue, (t) => {
|
|
471
471
|
o.value = t, E(o.value);
|
|
472
472
|
}), D(() => n.items, async (t) => {
|
|
473
|
-
|
|
473
|
+
u.value = t, await T(), E(o.value), R.value = Array.from(M.values()).reduce((c, m) => (c += m.value.clientWidth, c), 0);
|
|
474
474
|
}), P(async () => {
|
|
475
|
-
E(o.value), await T(),
|
|
475
|
+
E(o.value), await T(), i.value = "0.1s ease-out all", R.value = Array.from(M.values()).reduce((t, c) => (t += c.value.clientWidth, t), 0);
|
|
476
476
|
});
|
|
477
477
|
function v(t, c) {
|
|
478
478
|
$(c, !0);
|
|
479
479
|
}
|
|
480
|
-
function
|
|
481
|
-
|
|
480
|
+
function O(t, c) {
|
|
481
|
+
M.set(c, t);
|
|
482
482
|
}
|
|
483
483
|
function a(t, c) {
|
|
484
|
-
return
|
|
484
|
+
return w(G, {
|
|
485
485
|
name: t.name,
|
|
486
486
|
value: t.value,
|
|
487
487
|
isActive: t.value === o.value,
|
|
488
488
|
index: c,
|
|
489
|
-
onMounted:
|
|
489
|
+
onMounted: O,
|
|
490
490
|
onActive: v
|
|
491
491
|
}, null);
|
|
492
492
|
}
|
|
493
|
-
return () =>
|
|
493
|
+
return () => w("span", {
|
|
494
494
|
ref: l,
|
|
495
|
-
class: p.value,
|
|
496
|
-
style: i.value
|
|
497
|
-
}, [A("span", {
|
|
498
|
-
class: "f-capsule-pane"
|
|
499
|
-
}, [r.value.map((t, c) => a(t, c))]), A("small", {
|
|
500
495
|
class: f.value,
|
|
501
|
-
style:
|
|
502
|
-
},
|
|
496
|
+
style: p.value
|
|
497
|
+
}, [w("span", {
|
|
498
|
+
class: "f-capsule-pane"
|
|
499
|
+
}, [u.value.map((t, c) => a(t, c))]), w("small", {
|
|
500
|
+
class: d.value,
|
|
501
|
+
style: A.value
|
|
502
|
+
}, null), w("div", {
|
|
503
503
|
class: "f-capsule-board",
|
|
504
504
|
style: V.value
|
|
505
505
|
}, null)]);
|
|
506
506
|
}
|
|
507
507
|
});
|
|
508
|
-
k.register = (n, e,
|
|
509
|
-
n.capsule = k, e.capsule =
|
|
508
|
+
k.register = (n, e, u) => {
|
|
509
|
+
n.capsule = k, e.capsule = z;
|
|
510
510
|
};
|
|
511
|
-
k.registerDesigner = (n, e,
|
|
512
|
-
n.capsule =
|
|
511
|
+
k.registerDesigner = (n, e, u) => {
|
|
512
|
+
n.capsule = Oe, e.capsule = z;
|
|
513
513
|
};
|
|
514
|
-
const
|
|
514
|
+
const Me = X(k);
|
|
515
515
|
export {
|
|
516
516
|
k as FCapsule,
|
|
517
|
-
|
|
517
|
+
ge as capsuleItemProps,
|
|
518
518
|
L as capsuleProps,
|
|
519
|
-
|
|
520
|
-
|
|
519
|
+
Me as default,
|
|
520
|
+
z as propsResolver
|
|
521
521
|
};
|