@farris/ui-vue 1.2.5 → 1.2.7
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 +147 -139
- package/components/accordion/index.umd.cjs +1 -1
- package/components/accordion/package.json +1 -1
- package/components/avatar/index.esm.js +122 -131
- package/components/avatar/index.umd.cjs +1 -1
- package/components/avatar/package.json +1 -1
- package/components/border-editor/package.json +1 -1
- package/components/button/package.json +1 -1
- package/components/button-edit/index.css +1 -0
- package/components/button-edit/package.json +1 -1
- package/components/button-group/package.json +1 -1
- package/components/calculator/package.json +1 -1
- package/components/calendar/package.json +1 -1
- package/components/capsule/package.json +1 -1
- package/components/checkbox/index.esm.js +216 -223
- package/components/checkbox/index.umd.cjs +1 -1
- package/components/checkbox/package.json +1 -1
- package/components/color-picker/package.json +1 -1
- package/components/combo-list/index.esm.js +201 -181
- package/components/combo-list/index.umd.cjs +1 -1
- package/components/combo-list/package.json +1 -1
- package/components/combo-tree/index.esm.js +340 -107
- package/components/combo-tree/index.umd.cjs +1 -1
- package/components/combo-tree/package.json +1 -1
- package/components/common/package.json +1 -1
- package/components/component/index.esm.js +36 -29
- package/components/component/index.umd.cjs +1 -1
- package/components/component/package.json +1 -1
- package/components/condition/index.esm.js +341 -338
- package/components/condition/index.umd.cjs +1 -1
- package/components/condition/package.json +1 -1
- package/components/content-container/index.esm.js +9 -13
- package/components/content-container/index.umd.cjs +1 -1
- package/components/content-container/package.json +1 -1
- package/components/{tree-grid/style.css → data-grid/index.css} +1 -1
- package/components/data-grid/index.esm.js +3415 -3295
- package/components/data-grid/index.umd.cjs +1 -1
- package/components/data-grid/package.json +1 -1
- package/components/data-view/index.esm.js +2719 -2717
- package/components/data-view/index.umd.cjs +1 -1
- package/components/data-view/package.json +1 -1
- package/components/date-picker/index.esm.js +31 -40
- package/components/date-picker/index.umd.cjs +1 -1
- package/components/date-picker/package.json +1 -1
- package/components/designer-canvas/index.esm.js +23 -20
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/designer-canvas/package.json +1 -1
- package/components/designer-outline/package.json +1 -1
- package/components/designer-toolbox/package.json +1 -1
- package/components/discussion-editor/package.json +1 -1
- package/components/discussion-list/package.json +1 -1
- package/components/drawer/package.json +1 -1
- package/components/dropdown/index.esm.js +86 -86
- package/components/dropdown/index.umd.cjs +1 -1
- package/components/dropdown/package.json +1 -1
- package/components/dynamic-form/index.esm.js +578 -584
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/dynamic-form/package.json +1 -1
- package/components/dynamic-resolver/index.esm.js +56 -47
- package/components/dynamic-resolver/index.umd.cjs +1 -1
- package/components/dynamic-resolver/package.json +1 -1
- package/components/dynamic-view/index.esm.js +287 -278
- package/components/dynamic-view/index.umd.cjs +1 -1
- package/components/dynamic-view/package.json +1 -1
- package/components/enum-editor/package.json +1 -1
- package/components/events-editor/package.json +1 -1
- package/components/expression-editor/package.json +1 -1
- package/components/external-container/index.css +1 -0
- package/components/external-container/index.esm.js +1923 -1908
- package/components/external-container/index.umd.cjs +1 -1
- package/components/external-container/package.json +1 -1
- package/components/field-selector/index.css +1 -0
- package/components/field-selector/index.esm.js +3719 -3604
- package/components/field-selector/index.umd.cjs +1 -1
- package/components/field-selector/package.json +1 -1
- package/components/filter-bar/{style.css → index.css} +1 -1
- package/components/filter-bar/index.esm.js +483 -470
- package/components/filter-bar/index.umd.cjs +1 -1
- package/components/filter-bar/package.json +1 -1
- package/components/flow-canvas/index.esm.js +37 -34
- package/components/flow-canvas/index.umd.cjs +1 -1
- package/components/flow-canvas/package.json +1 -1
- package/components/image-cropper/package.json +1 -1
- package/components/input-group/index.esm.js +258 -267
- package/components/input-group/index.umd.cjs +1 -1
- package/components/input-group/package.json +1 -1
- package/components/layout/package.json +1 -1
- package/components/list-nav/package.json +1 -1
- package/components/list-view/index.esm.js +1452 -1450
- package/components/list-view/index.umd.cjs +1 -1
- package/components/list-view/package.json +1 -1
- package/components/loading/package.json +1 -1
- package/components/locale/package.json +1 -1
- package/components/lookup/index.css +1 -0
- package/components/lookup/index.esm.js +4860 -4657
- package/components/lookup/index.umd.cjs +1 -1
- package/components/lookup/package.json +1 -1
- package/components/mapping-editor/index.css +1 -0
- package/components/mapping-editor/index.esm.js +4411 -4259
- package/components/mapping-editor/index.umd.cjs +1 -1
- package/components/mapping-editor/package.json +1 -1
- package/components/message-box/index.css +1 -0
- package/components/message-box/index.esm.js +397 -386
- package/components/message-box/index.umd.cjs +1 -1
- package/components/message-box/package.json +1 -1
- package/components/modal/index.css +1 -0
- package/components/modal/index.esm.js +308 -297
- package/components/modal/index.umd.cjs +1 -1
- package/components/modal/package.json +1 -1
- package/components/nav/package.json +1 -1
- package/components/notify/package.json +1 -1
- package/components/order/index.esm.js +763 -741
- package/components/order/index.umd.cjs +1 -1
- package/components/order/package.json +1 -1
- package/components/page-footer/package.json +1 -1
- package/components/page-header/index.esm.js +948 -945
- package/components/page-header/index.umd.cjs +1 -1
- package/components/page-header/package.json +1 -1
- package/components/pagination/package.json +1 -1
- package/components/popover/package.json +1 -1
- package/components/progress/package.json +1 -1
- package/components/property-editor/index.esm.js +485 -466
- package/components/property-editor/index.umd.cjs +2 -2
- package/components/property-editor/package.json +1 -1
- package/components/property-panel/index.esm.js +437 -426
- package/components/property-panel/index.umd.cjs +1 -1
- package/components/property-panel/package.json +1 -1
- package/components/radio-button/package.json +1 -1
- package/components/radio-group/index.esm.js +98 -107
- package/components/radio-group/index.umd.cjs +1 -1
- package/components/radio-group/package.json +1 -1
- package/components/rate/package.json +1 -1
- package/components/response-layout/package.json +1 -1
- package/components/response-layout-editor/{style.css → index.css} +1 -1
- package/components/response-layout-editor/index.esm.js +840 -800
- package/components/response-layout-editor/index.umd.cjs +1 -1
- package/components/response-layout-editor/package.json +1 -1
- package/components/response-toolbar/index.esm.js +757 -760
- package/components/response-toolbar/index.umd.cjs +1 -1
- package/components/response-toolbar/package.json +1 -1
- package/components/schema-selector/index.css +1 -0
- package/components/schema-selector/index.esm.js +3659 -3432
- package/components/schema-selector/index.umd.cjs +8 -1
- package/components/schema-selector/package.json +1 -1
- package/components/search-box/package.json +1 -1
- package/components/section/index.esm.js +21 -14
- package/components/section/index.umd.cjs +1 -1
- package/components/section/package.json +1 -1
- package/components/smoke-detector/package.json +1 -1
- package/components/spacing-editor/package.json +1 -1
- package/components/splitter/package.json +1 -1
- package/components/step/package.json +1 -1
- package/components/switch/index.esm.js +126 -135
- package/components/switch/index.umd.cjs +1 -1
- package/components/switch/package.json +1 -1
- package/components/tabs/index.css +1 -0
- package/components/tabs/index.esm.js +1400 -1379
- package/components/tabs/index.umd.cjs +1 -1
- package/components/tabs/package.json +1 -1
- package/components/tags/package.json +1 -1
- package/components/text/package.json +1 -1
- package/components/textarea/index.esm.js +97 -106
- package/components/textarea/index.umd.cjs +1 -1
- package/components/textarea/package.json +1 -1
- package/components/time-picker/index.css +1 -0
- package/components/time-picker/index.esm.js +393 -402
- package/components/time-picker/index.umd.cjs +1 -1
- package/components/time-picker/package.json +1 -1
- package/components/tooltip/package.json +1 -1
- package/components/transfer/index.esm.js +124 -122
- package/components/transfer/index.umd.cjs +1 -1
- package/components/transfer/package.json +1 -1
- package/components/{data-grid/style.css → tree-grid/index.css} +1 -1
- package/components/tree-grid/index.esm.js +3531 -3412
- package/components/tree-grid/index.umd.cjs +1 -1
- package/components/tree-grid/package.json +1 -1
- package/components/tree-view/index.esm.js +2046 -2044
- package/components/tree-view/index.umd.cjs +1 -1
- package/components/tree-view/package.json +1 -1
- package/components/uploader/package.json +1 -1
- package/components/verify-detail/package.json +1 -1
- package/components/video/package.json +1 -1
- package/components/weather/package.json +1 -1
- package/farris.all.esm.js +12370 -11917
- package/farris.all.umd.cjs +9 -9
- package/index.css +1 -0
- package/package.json +2 -2
- package/types/combo-list/src/components/list-container.component.d.ts +6 -0
- package/types/combo-list/src/components/list-container.props.d.ts +9 -1
- package/types/combo-tree/src/combo-tree.props.d.ts +4 -0
- package/types/combo-tree/src/components/tree-container.component.d.ts +13 -3
- package/types/combo-tree/src/components/tree-container.props.d.ts +15 -1
- package/types/combo-tree/src/schema/schema-mapper.d.ts +2 -0
- package/types/combo-tree/src/schema/schema-resolver.d.ts +2 -0
- package/types/components.d.ts +1 -0
- package/types/data-grid/index.d.ts +5 -5
- package/types/data-grid/src/data-grid.component.d.ts +2 -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/property-config/data-grid.property-config.d.ts +1 -1
- package/types/designer-canvas/src/composition/dg-control.d.ts +8 -8
- package/types/designer-canvas/src/composition/types.d.ts +1 -0
- package/types/dynamic-form/src/types.d.ts +1 -1
- package/types/dynamic-resolver/index.d.ts +1 -0
- package/types/dynamic-resolver/src/converter/pagination.converter.d.ts +6 -0
- package/types/dynamic-resolver/src/visible-prop-resolver.d.ts +3 -0
- package/types/lookup/src/designer/use-lookup-rules.d.ts +3 -0
- package/types/lookup/src/property-config/converters/lookup-property.converter.d.ts +7 -3
- package/types/lookup/src/property-config/lookup.property-config.d.ts +31 -27
- package/types/mapping-editor/src/mapping-editor.props.d.ts +8 -0
- package/types/modal/src/modal.component.d.ts +3 -3
- package/types/modal/src/modal.props.d.ts +3 -5
- package/types/page-header/src/page-header.props.d.ts +7 -0
- package/types/page-header/src/property-config/page-header.property-config.d.ts +1 -1
- package/types/property-panel/src/composition/entity/base-property.d.ts +2 -16
- package/types/property-panel/src/composition/entity/input-base-property.d.ts +21 -0
- package/types/response-toolbar/index.d.ts +9 -3
- package/types/response-toolbar/src/property-config/response-toolbar-item.property-config.d.ts +1 -1
- package/types/response-toolbar/src/property-config/response-toolbar.property-config.d.ts +1 -1
- package/types/response-toolbar/src/response-toolbar.component.d.ts +4 -2
- package/types/response-toolbar/src/response-toolbar.props.d.ts +9 -2
- package/types/schema-selector/src/composition/types.d.ts +3 -1
- package/types/schema-selector/src/schema-selector-editor.component.d.ts +5 -1
- package/types/tabs/src/designer/tab-toolbar.design.component.d.ts +1 -1
- package/types/tabs/src/tabs.props.d.ts +8 -0
- package/components/button-edit/style.css +0 -1
- package/components/external-container/style.css +0 -1
- package/components/field-selector/style.css +0 -1
- package/components/lookup/style.css +0 -1
- package/components/mapping-editor/style.css +0 -1
- package/components/message-box/style.css +0 -1
- package/components/modal/style.css +0 -1
- package/components/schema-selector/style.css +0 -1
- package/components/tabs/style.css +0 -1
- package/components/time-picker/style.css +0 -1
- package/style.css +0 -1
- package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +0 -19
- /package/components/border-editor/{style.css → index.css} +0 -0
- /package/components/checkbox/{style.css → index.css} +0 -0
- /package/components/date-picker/{style.css → index.css} +0 -0
- /package/components/designer-canvas/{style.css → index.css} +0 -0
- /package/components/designer-outline/{style.css → index.css} +0 -0
- /package/components/designer-toolbox/{style.css → index.css} +0 -0
- /package/components/discussion-editor/{style.css → index.css} +0 -0
- /package/components/discussion-list/{style.css → index.css} +0 -0
- /package/components/drawer/{style.css → index.css} +0 -0
- /package/components/events-editor/{style.css → index.css} +0 -0
- /package/components/flow-canvas/{style.css → index.css} +0 -0
- /package/components/list-view/{style.css → index.css} +0 -0
- /package/components/order/{style.css → index.css} +0 -0
- /package/components/property-editor/{style.css → index.css} +0 -0
- /package/components/property-panel/{style.css → index.css} +0 -0
- /package/components/radio-button/{style.css → index.css} +0 -0
- /package/components/radio-group/{style.css → index.css} +0 -0
- /package/components/smoke-detector/{style.css → index.css} +0 -0
- /package/components/spacing-editor/{style.css → index.css} +0 -0
- /package/components/splitter/{style.css → index.css} +0 -0
- /package/components/switch/{style.css → index.css} +0 -0
- /package/components/transfer/{style.css → index.css} +0 -0
- /package/components/uploader/{style.css → index.css} +0 -0
- /package/components/weather/{style.css → index.css} +0 -0
|
@@ -1,69 +1,71 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var V = (e, t, n) =>
|
|
4
|
-
import { ref as m, computed as B, createVNode as i, createTextVNode as Y, defineComponent as
|
|
1
|
+
var it = Object.defineProperty;
|
|
2
|
+
var rt = (e, t, n) => t in e ? it(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
+
var V = (e, t, n) => rt(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
+
import { ref as m, computed as B, createVNode as i, createTextVNode as Y, defineComponent as z, watch as H, inject as de, onMounted as K, nextTick as oe, reactive as st, withDirectives as pe, resolveDirective as ut, Fragment as J, mergeProps as Pe, getCurrentInstance as ct, onBeforeMount as dt, withModifiers as pt, vModelText as ft, Teleport as mt, createApp as vt, onUnmounted as yt, vShow as gt } from "vue";
|
|
5
5
|
import { cloneDeep as Q } from "lodash-es";
|
|
6
6
|
import "bignumber.js";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
import
|
|
52
|
-
import
|
|
7
|
+
import ht, { useNumber as bt, useFormat as Ct, useSpinner as Tt, useTextBox as St } from "@farris/ui-vue/components/number-spinner";
|
|
8
|
+
import Ft from "@farris/ui-vue/components/accordion";
|
|
9
|
+
import wt from "@farris/ui-vue/components/avatar";
|
|
10
|
+
import xt from "@farris/ui-vue/components/button-edit";
|
|
11
|
+
import Bt from "@farris/ui-vue/components/button-group";
|
|
12
|
+
import kt from "@farris/ui-vue/components/calendar";
|
|
13
|
+
import Pt from "@farris/ui-vue/components/capsule";
|
|
14
|
+
import It, { FCheckBox as fe } from "@farris/ui-vue/components/checkbox";
|
|
15
|
+
import Vt from "@farris/ui-vue/components/combo-list";
|
|
16
|
+
import Mt from "@farris/ui-vue/components/combo-tree";
|
|
17
|
+
import Et from "@farris/ui-vue/components/component";
|
|
18
|
+
import $t from "@farris/ui-vue/components/color-picker";
|
|
19
|
+
import Ot from "@farris/ui-vue/components/content-container";
|
|
20
|
+
import Dt from "@farris/ui-vue/components/date-picker";
|
|
21
|
+
import Rt from "@farris/ui-vue/components/data-grid";
|
|
22
|
+
import jt from "@farris/ui-vue/components/dropdown";
|
|
23
|
+
import Lt from "@farris/ui-vue/components/dynamic-form";
|
|
24
|
+
import At from "@farris/ui-vue/components/events-editor";
|
|
25
|
+
import Nt from "@farris/ui-vue/components/filter-bar";
|
|
26
|
+
import qt from "@farris/ui-vue/components/field-selector";
|
|
27
|
+
import Gt from "@farris/ui-vue/components/image-cropper";
|
|
28
|
+
import Ht from "@farris/ui-vue/components/input-group";
|
|
29
|
+
import Wt from "@farris/ui-vue/components/layout";
|
|
30
|
+
import _t from "@farris/ui-vue/components/list-nav";
|
|
31
|
+
import zt from "@farris/ui-vue/components/list-view";
|
|
32
|
+
import Ut from "@farris/ui-vue/components/lookup";
|
|
33
|
+
import Qt from "@farris/ui-vue/components/mapping-editor";
|
|
34
|
+
import Kt from "@farris/ui-vue/components/nav";
|
|
35
|
+
import Xt from "@farris/ui-vue/components/number-range";
|
|
36
|
+
import Jt from "@farris/ui-vue/components/order";
|
|
37
|
+
import Zt from "@farris/ui-vue/components/page-header";
|
|
38
|
+
import Yt from "@farris/ui-vue/components/page-footer";
|
|
39
|
+
import en from "@farris/ui-vue/components/pagination";
|
|
40
|
+
import tn from "@farris/ui-vue/components/progress";
|
|
41
|
+
import nn from "@farris/ui-vue/components/query-solution";
|
|
42
|
+
import on from "@farris/ui-vue/components/radio-group";
|
|
43
|
+
import an from "@farris/ui-vue/components/rate";
|
|
44
|
+
import ln from "@farris/ui-vue/components/response-toolbar";
|
|
45
|
+
import rn from "@farris/ui-vue/components/response-layout";
|
|
46
|
+
import sn from "@farris/ui-vue/components/response-layout-editor";
|
|
47
|
+
import un from "@farris/ui-vue/components/search-box";
|
|
48
|
+
import cn from "@farris/ui-vue/components/section";
|
|
49
|
+
import dn from "@farris/ui-vue/components/smoke-detector";
|
|
50
|
+
import pn from "@farris/ui-vue/components/splitter";
|
|
51
|
+
import fn from "@farris/ui-vue/components/step";
|
|
52
|
+
import mn from "@farris/ui-vue/components/switch";
|
|
53
|
+
import vn from "@farris/ui-vue/components/tabs";
|
|
53
54
|
import Ie from "@farris/ui-vue/components/tags";
|
|
54
|
-
import
|
|
55
|
-
import
|
|
56
|
-
import
|
|
57
|
-
import
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import
|
|
62
|
-
import
|
|
63
|
-
import
|
|
64
|
-
import
|
|
65
|
-
import {
|
|
66
|
-
import
|
|
55
|
+
import yn from "@farris/ui-vue/components/text";
|
|
56
|
+
import gn from "@farris/ui-vue/components/time-picker";
|
|
57
|
+
import hn from "@farris/ui-vue/components/transfer";
|
|
58
|
+
import bn from "@farris/ui-vue/components/tree-view";
|
|
59
|
+
import Cn from "@farris/ui-vue/components/uploader";
|
|
60
|
+
import Tn from "@farris/ui-vue/components/verify-detail";
|
|
61
|
+
import Sn from "@farris/ui-vue/components/weather";
|
|
62
|
+
import Fn from "@farris/ui-vue/components/video";
|
|
63
|
+
import wn from "@farris/ui-vue/components/textarea";
|
|
64
|
+
import xn from "@farris/ui-vue/components/schema-selector";
|
|
65
|
+
import Bn from "@farris/ui-vue/components/tree-grid";
|
|
66
|
+
import { useIdentify as kn, useHierarchy as Pn, useGroupData as In, usePagination as Vn, useDataView as Mn, useSelection as En, useEdit as $n, useVisualDataBound as On, useVisualDataCell as Dn, useVisualDataRow as Rn, useVisualGroupRow as jn, useVisualSummaryRow as Ln, useVisualData as An } from "@farris/ui-vue/components/data-view";
|
|
67
|
+
import { resolveAppearance as Nn } from "@farris/ui-vue/components/dynamic-resolver";
|
|
68
|
+
import qn from "@farris/ui-vue/components/popover";
|
|
67
69
|
const me = {}, Ve = {};
|
|
68
70
|
function ve(e) {
|
|
69
71
|
const { properties: t, title: n } = e, o = Object.keys(t).reduce((a, s) => (a[s] = t[s].type === "object" && t[s].properties ? ve(t[s]) : Q(t[s].default), a), {});
|
|
@@ -82,7 +84,7 @@ function Me(e, t) {
|
|
|
82
84
|
const n = ve(t);
|
|
83
85
|
return Object.keys(e).reduce((o, a) => (o[a] = e[a], o), n), n;
|
|
84
86
|
}
|
|
85
|
-
function
|
|
87
|
+
function Gn(e, t) {
|
|
86
88
|
return Object.keys(e).filter((o) => e[o] != null).reduce((o, a) => {
|
|
87
89
|
if (t.has(a)) {
|
|
88
90
|
const s = t.get(a);
|
|
@@ -97,9 +99,9 @@ function Ln(e, t) {
|
|
|
97
99
|
return o;
|
|
98
100
|
}, {});
|
|
99
101
|
}
|
|
100
|
-
function
|
|
102
|
+
function Hn(e, t, n = /* @__PURE__ */ new Map()) {
|
|
101
103
|
const o = Me(e, t);
|
|
102
|
-
return
|
|
104
|
+
return Gn(o, n);
|
|
103
105
|
}
|
|
104
106
|
function Ee(e) {
|
|
105
107
|
const t = e.type;
|
|
@@ -109,7 +111,7 @@ function Ee(e) {
|
|
|
109
111
|
}
|
|
110
112
|
return e;
|
|
111
113
|
}
|
|
112
|
-
function
|
|
114
|
+
function Wn(e = {}) {
|
|
113
115
|
function t(r, v, l, d) {
|
|
114
116
|
if (typeof l == "number")
|
|
115
117
|
return d[r].length === l;
|
|
@@ -163,24 +165,24 @@ function Nn(e = {}) {
|
|
|
163
165
|
}
|
|
164
166
|
return { parseValueSchema: u };
|
|
165
167
|
}
|
|
166
|
-
const
|
|
168
|
+
const _n = {
|
|
167
169
|
convertTo: (e, t, n, o) => {
|
|
168
170
|
e.appearance && (e.appearance[t] = n);
|
|
169
171
|
},
|
|
170
172
|
convertFrom: (e, t, n) => e.appearance ? e.appearance[t] : e[t]
|
|
171
|
-
},
|
|
173
|
+
}, zn = {
|
|
172
174
|
convertFrom: (e, t, n) => e.buttons && e.buttons.length ? `共 ${e.buttons.length} 项` : "无"
|
|
173
|
-
},
|
|
175
|
+
}, Un = {
|
|
174
176
|
convertTo: (e, t, n, o) => {
|
|
175
177
|
e.editor && (e.editor[t] = n);
|
|
176
178
|
},
|
|
177
179
|
convertFrom: (e, t, n) => e.editor && e.editor.hasOwnProperty(t) ? e.editor[t] : e[t]
|
|
178
|
-
},
|
|
180
|
+
}, Qn = {
|
|
179
181
|
Button: { type: "Button", name: "按钮", icon: "Button" },
|
|
180
182
|
ButtonGroup: { type: "ButtonGroup", name: "按钮组", icon: "ButtonGroup" },
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
183
|
+
"response-toolbar": { type: "response-toolbar", name: "工具栏", icon: "ButtonGroup" },
|
|
184
|
+
"response-toolbar-item": { type: "response-toolbar-item", name: "工具栏项", icon: "Button" },
|
|
185
|
+
"content-container": { type: "content-container", name: "容器", icon: "ContentContainer" },
|
|
184
186
|
DisplayField: { type: "DisplayField", name: "标签", icon: "DisplayField" },
|
|
185
187
|
"input-group": { type: "input-group", name: "文本", icon: "TextBox" },
|
|
186
188
|
textarea: { type: "textarea", name: "多行文本", icon: "MultiTextBox" },
|
|
@@ -207,15 +209,15 @@ const qn = {
|
|
|
207
209
|
"data-grid-column": { type: "data-grid-column", name: "表格列" },
|
|
208
210
|
Panel: { type: "Panel", name: "面板", icon: "ContentContainer" },
|
|
209
211
|
Module: { type: "Module", name: "模块", icon: "Module" },
|
|
210
|
-
|
|
212
|
+
component: { type: "component", name: "组件", icon: "Component" },
|
|
211
213
|
ExternalContainer: { type: "ExternalContainer", name: "外部容器", icon: "ContentContainer" },
|
|
212
214
|
Image: { type: "Image", name: "图像", icon: "Image" },
|
|
213
215
|
ImageUpload: { type: "ImageUpload", name: "图片上传", icon: "imageupload" },
|
|
214
216
|
HiddenContainer: { type: "HiddenContainer", name: "隐藏区域", icon: "ContentContainer" },
|
|
215
217
|
ModalContainer: { type: "ModalContainer", name: "弹窗容器", icon: "ContentContainer" },
|
|
216
218
|
RouteContainer: { type: "RouteContainer", name: "路由区域", icon: "ContentContainer" },
|
|
217
|
-
|
|
218
|
-
|
|
219
|
+
tabs: { type: "tabs", name: "标签页", icon: "Tab" },
|
|
220
|
+
"tab-page": { type: "tab-page", name: "标签页项", dependentParentControl: "Tab" },
|
|
219
221
|
"tab-toolbar-item": { type: "tab-toolbar-item", name: "标签页工具栏按钮", icon: "Button" },
|
|
220
222
|
Tag: { type: "Tag", name: "Tag", icon: "Tag" },
|
|
221
223
|
Sidebar: { type: "Sidebar", name: "侧边栏", icon: "Sidebar" },
|
|
@@ -224,7 +226,7 @@ const qn = {
|
|
|
224
226
|
RichTextBox: { type: "RichTextBox", name: "富文本", icon: "RichTextBox" },
|
|
225
227
|
TimeSpinner: { type: "TimeSpinner", name: "时间调节器", icon: "TimePicker" },
|
|
226
228
|
TimePicker: { type: "TimePicker", name: "时间选择", icon: "TimePicker" },
|
|
227
|
-
|
|
229
|
+
section: { type: "section", name: "分组面板", icon: "Section" },
|
|
228
230
|
SectionToolbar: { type: "SectionToolbar", name: "分组面板工具栏" },
|
|
229
231
|
SectionToolbarItem: { type: "SectionToolbarItem", name: "分组面板按钮" },
|
|
230
232
|
QueryScheme: { type: "QueryScheme", name: "筛选方案", icon: "QueryScheme" },
|
|
@@ -254,7 +256,7 @@ const qn = {
|
|
|
254
256
|
NavTab: { type: "NavTab", name: "标签类导航", icon: "NavTab" },
|
|
255
257
|
Tags: { type: "Tags", name: "标记组", icon: "Tags" },
|
|
256
258
|
Portlet: { type: "Portlet", name: "小部件", icon: "dingzhi" },
|
|
257
|
-
|
|
259
|
+
"page-header": { type: "page-header", name: "页头", icon: "Header" },
|
|
258
260
|
ModalFooter: { type: "ModalFooter", name: "弹窗页脚", icon: "ModalFooter" },
|
|
259
261
|
ScrollCollapsibleArea: { type: "ScrollCollapsibleArea", name: "滚动收折区域", icon: "ScrollCollapsibleArea" },
|
|
260
262
|
PersonnelSelector: { type: "PersonnelSelector", name: "人员选择", icon: "PersonnelSelector" },
|
|
@@ -286,27 +288,32 @@ const qn = {
|
|
|
286
288
|
ApprovalLogs: { type: "ApprovalLogs", name: "审批记录", icon: "ApprovalLogs" },
|
|
287
289
|
ApprovalComments: { type: "ApprovalComments", name: "审批意见", icon: "shenpiyijian" }
|
|
288
290
|
/** 审批类 end */
|
|
289
|
-
},
|
|
291
|
+
}, Kn = {
|
|
290
292
|
convertFrom: (e, t, n) => {
|
|
291
293
|
var a;
|
|
292
294
|
const o = e.editor && e.editor[t] ? e.editor[t] : e[t];
|
|
293
|
-
return ((a =
|
|
295
|
+
return ((a = Qn[o]) == null ? void 0 : a.name) || o;
|
|
294
296
|
}
|
|
295
|
-
},
|
|
297
|
+
}, Xn = {
|
|
296
298
|
convertTo: (e, t, n, o) => {
|
|
297
299
|
e[t] = e[t];
|
|
298
300
|
},
|
|
299
301
|
convertFrom: (e, t, n) => e.editor ? n.getRealEditorType(e.editor.type) : ""
|
|
300
|
-
},
|
|
301
|
-
convertFrom: (e, t) => e.binding ? e.binding.
|
|
302
|
+
}, Jn = {
|
|
303
|
+
convertFrom: (e, t) => e.binding ? e.binding.path : "",
|
|
302
304
|
convertTo: (e, t, n) => {
|
|
303
305
|
if (n && n.length > 0) {
|
|
304
306
|
const o = n[0];
|
|
305
|
-
e.binding || (e.binding = {}), e.binding.type = "Form", e.binding.path = o.
|
|
307
|
+
e.binding || (e.binding = {}), e.binding.type = "Form", e.binding.path = o.bindingField, e.binding.field = o.id, e.binding.fullPath = o.path, e.path = o.bindingPath;
|
|
306
308
|
}
|
|
307
309
|
}
|
|
310
|
+
}, Zn = {
|
|
311
|
+
convertTo: (e, t, n, o) => {
|
|
312
|
+
typeof e.pagination == "boolean" && (e.pagination = {}), e.pagination && (e.pagination[t] = n);
|
|
313
|
+
},
|
|
314
|
+
convertFrom: (e, t, n) => e.pagination ? e.pagination[t] : e[t]
|
|
308
315
|
};
|
|
309
|
-
class
|
|
316
|
+
class Yn {
|
|
310
317
|
constructor() {
|
|
311
318
|
/** 控件标题 */
|
|
312
319
|
V(this, "label", "");
|
|
@@ -336,7 +343,7 @@ class Qn {
|
|
|
336
343
|
V(this, "fieldSetId", "");
|
|
337
344
|
}
|
|
338
345
|
}
|
|
339
|
-
function
|
|
346
|
+
function eo() {
|
|
340
347
|
let e, t;
|
|
341
348
|
const n = /* @__PURE__ */ new Map();
|
|
342
349
|
let o = [];
|
|
@@ -357,7 +364,7 @@ function Kn() {
|
|
|
357
364
|
return;
|
|
358
365
|
}
|
|
359
366
|
d && (v += 1, d = !1);
|
|
360
|
-
const p = c.appearance && c.appearance.class, y = new
|
|
367
|
+
const p = c.appearance && c.appearance.class, y = new Yn();
|
|
361
368
|
p ? a(p, y) : y.isSupportedClass = !1, y.label = c.label || c.id, y.id = c.id, y.group = v, l && (y.fieldSetId = u.id), t === c.id && (e = v), n.set(c.id, c), r.push(y);
|
|
362
369
|
});
|
|
363
370
|
}
|
|
@@ -405,27 +412,28 @@ function Kn() {
|
|
|
405
412
|
convertTo: g
|
|
406
413
|
};
|
|
407
414
|
}
|
|
408
|
-
const Ce =
|
|
415
|
+
const Ce = eo(), to = {
|
|
409
416
|
convertTo: (e, t, n, o, a) => Ce.convertTo(e, t, n, o, a),
|
|
410
417
|
convertFrom: (e, t, n, o) => Ce.convertFrom(e, t, n, o)
|
|
411
|
-
},
|
|
418
|
+
}, no = {
|
|
412
419
|
convertFrom: (e, t, n) => e[t] && e[t].length ? `共 ${e[t].length} 项` : ""
|
|
413
|
-
},
|
|
420
|
+
}, oo = {
|
|
414
421
|
convertFrom: (e, t) => e[t] || "",
|
|
415
422
|
convertTo: (e, t, n) => {
|
|
416
423
|
e[t] = n;
|
|
417
424
|
}
|
|
418
425
|
}, ye = {}, ue = /* @__PURE__ */ new Map([
|
|
419
|
-
["/converter/appearance.converter",
|
|
420
|
-
["/converter/buttons.converter",
|
|
421
|
-
["/converter/property-editor.converter",
|
|
422
|
-
["/converter/response-form-layout.converter",
|
|
423
|
-
["/converter/items-count.converter",
|
|
424
|
-
["/converter/type.converter",
|
|
425
|
-
["/converter/change-editor.converter",
|
|
426
|
-
["/converter/form-group-label.converter",
|
|
427
|
-
["/converter/field-selector.converter",
|
|
428
|
-
|
|
426
|
+
["/converter/appearance.converter", _n],
|
|
427
|
+
["/converter/buttons.converter", zn],
|
|
428
|
+
["/converter/property-editor.converter", Un],
|
|
429
|
+
["/converter/response-form-layout.converter", to],
|
|
430
|
+
["/converter/items-count.converter", no],
|
|
431
|
+
["/converter/type.converter", Kn],
|
|
432
|
+
["/converter/change-editor.converter", Xn],
|
|
433
|
+
["/converter/form-group-label.converter", oo],
|
|
434
|
+
["/converter/field-selector.converter", Jn],
|
|
435
|
+
["/converter/pagination.converter", Zn]
|
|
436
|
+
]), ao = {}, lo = /* @__PURE__ */ new Map([
|
|
429
437
|
["string", { type: "input-group", enableClear: !1 }],
|
|
430
438
|
["boolean", {
|
|
431
439
|
type: "combo-list",
|
|
@@ -447,24 +455,24 @@ const Ce = Kn(), Xn = {
|
|
|
447
455
|
["array", { type: "button-edit" }],
|
|
448
456
|
["number", { type: "number-spinner" }],
|
|
449
457
|
["events-editor", { type: "events-editor", hide: !0 }]
|
|
450
|
-
]),
|
|
458
|
+
]), io = Wn();
|
|
451
459
|
function $e(e, t) {
|
|
452
|
-
return () =>
|
|
460
|
+
return () => io.parseValueSchema(e, t);
|
|
453
461
|
}
|
|
454
|
-
function
|
|
462
|
+
function ro(e, t, n) {
|
|
455
463
|
return e.includes("visible") && t.visible !== void 0 ? typeof t.visible == "boolean" ? () => !!t.visible : t.visible === void 0 ? !0 : $e(t.visible, n) : () => !0;
|
|
456
464
|
}
|
|
457
|
-
function
|
|
465
|
+
function so(e, t, n) {
|
|
458
466
|
return e.includes("readonly") && t.readonly !== void 0 ? typeof t.visible == "boolean" ? () => !!t.visible : $e(t.readonly, n) : () => !1;
|
|
459
467
|
}
|
|
460
|
-
function
|
|
468
|
+
function uo(e, t) {
|
|
461
469
|
const n = e.$converter || t;
|
|
462
470
|
return typeof n == "string" && n && ue.has(n) ? ue.get(n) || null : n || null;
|
|
463
471
|
}
|
|
464
472
|
function ge(e, t, n, o, a, s = "", f = "") {
|
|
465
473
|
return Object.keys(e).map((u) => {
|
|
466
|
-
const r = m(1), v = u, l = e[u], d = Object.keys(l), c = l.title, p = l.type, y =
|
|
467
|
-
let S =
|
|
474
|
+
const r = m(1), v = u, l = e[u], d = Object.keys(l), c = l.title, p = l.type, y = lo.get(p) || { type: "input-group", enableClear: !1 }, h = l.editor ? Object.assign({}, y, l.editor) : y, P = ro(d, l, t), I = so(d, l, t), C = l.type === "cascade" ? ge(l.properties, t, n, o, a, s, f) : [], T = !0;
|
|
475
|
+
let S = uo(l, f);
|
|
468
476
|
const w = B({
|
|
469
477
|
get() {
|
|
470
478
|
if (r.value) {
|
|
@@ -482,7 +490,7 @@ function ge(e, t, n, o, a, s = "", f = "") {
|
|
|
482
490
|
return t[v] = x, x;
|
|
483
491
|
});
|
|
484
492
|
}
|
|
485
|
-
function
|
|
493
|
+
function co(e, t, n, o, a = "") {
|
|
486
494
|
const s = t.$ref.schema, f = t.$ref.converter, g = n[s], u = g.type, r = Ee(g), v = {}, l = ye[u];
|
|
487
495
|
if (l && l.categories) {
|
|
488
496
|
const d = l.categories[e], c = d == null ? void 0 : d.title;
|
|
@@ -505,7 +513,7 @@ function ie(e, t, n, o, a) {
|
|
|
505
513
|
return Object.keys(u.categories).map((l) => {
|
|
506
514
|
const d = u.categories[l];
|
|
507
515
|
if (d.$ref) {
|
|
508
|
-
v.push(
|
|
516
|
+
v.push(co(l, d, e, t, o));
|
|
509
517
|
return;
|
|
510
518
|
}
|
|
511
519
|
const c = d == null ? void 0 : d.title, p = d == null ? void 0 : d.tabId, y = d == null ? void 0 : d.tabName, h = d == null ? void 0 : d.hide, P = d == null ? void 0 : d.hideTitle, I = ge(d.properties || {}, g, f, e, t, o, d.$converter), C = d.setPropertyRelates;
|
|
@@ -515,21 +523,21 @@ function ie(e, t, n, o, a) {
|
|
|
515
523
|
return [];
|
|
516
524
|
}
|
|
517
525
|
function Z(e, t, n = /* @__PURE__ */ new Map(), o = (f, g, u) => g, a = {}, s = (f) => f) {
|
|
518
|
-
return me[t.title] = t, Ve[t.title] = o, ye[t.title] = a,
|
|
519
|
-
const g =
|
|
526
|
+
return me[t.title] = t, Ve[t.title] = o, ye[t.title] = a, ao[t.title] = s, (f = {}) => {
|
|
527
|
+
const g = Hn(f, t, n), u = Object.keys(e).reduce((r, v) => (r[v] = e[v].default, r), {});
|
|
520
528
|
return Object.assign(u, g);
|
|
521
529
|
};
|
|
522
530
|
}
|
|
523
531
|
function ee(e, t) {
|
|
524
532
|
return { customClass: t.class, customStyle: t.style };
|
|
525
533
|
}
|
|
526
|
-
const
|
|
534
|
+
const po = /* @__PURE__ */ new Map([
|
|
527
535
|
["appearance", ee]
|
|
528
536
|
]);
|
|
529
|
-
function
|
|
537
|
+
function fo(e, t, n) {
|
|
530
538
|
return t;
|
|
531
539
|
}
|
|
532
|
-
const
|
|
540
|
+
const mo = "https://json-schema.org/draft/2020-12/schema", vo = "https://farris-design.gitee.io/filter-bar.schema.json", yo = "filter-bar", go = "A Farris Component", ho = "object", bo = {
|
|
533
541
|
id: {
|
|
534
542
|
description: "The unique identifier for filter-bar",
|
|
535
543
|
type: "string"
|
|
@@ -591,18 +599,18 @@ const so = "https://json-schema.org/draft/2020-12/schema", uo = "https://farris-
|
|
|
591
599
|
type: "boolean",
|
|
592
600
|
default: !0
|
|
593
601
|
}
|
|
594
|
-
},
|
|
602
|
+
}, Co = [
|
|
595
603
|
"id",
|
|
596
604
|
"type"
|
|
597
|
-
],
|
|
598
|
-
$schema:
|
|
599
|
-
$id:
|
|
600
|
-
title:
|
|
601
|
-
description:
|
|
602
|
-
type:
|
|
603
|
-
properties:
|
|
604
|
-
required:
|
|
605
|
-
},
|
|
605
|
+
], To = {
|
|
606
|
+
$schema: mo,
|
|
607
|
+
$id: vo,
|
|
608
|
+
title: yo,
|
|
609
|
+
description: go,
|
|
610
|
+
type: ho,
|
|
611
|
+
properties: bo,
|
|
612
|
+
required: Co
|
|
613
|
+
}, So = "filter-bar", Fo = "A Farris Component", wo = "object", xo = {
|
|
606
614
|
basic: {
|
|
607
615
|
description: "Basic Infomation",
|
|
608
616
|
title: "基本信息",
|
|
@@ -794,11 +802,11 @@ const so = "https://json-schema.org/draft/2020-12/schema", uo = "https://farris-
|
|
|
794
802
|
}
|
|
795
803
|
}
|
|
796
804
|
}
|
|
797
|
-
},
|
|
798
|
-
title:
|
|
799
|
-
description:
|
|
800
|
-
type:
|
|
801
|
-
categories:
|
|
805
|
+
}, Bo = {
|
|
806
|
+
title: So,
|
|
807
|
+
description: Fo,
|
|
808
|
+
type: wo,
|
|
809
|
+
categories: xo
|
|
802
810
|
}, he = {
|
|
803
811
|
/** 被绑定数据 */
|
|
804
812
|
data: {
|
|
@@ -826,8 +834,8 @@ const so = "https://json-schema.org/draft/2020-12/schema", uo = "https://farris-
|
|
|
826
834
|
resetText: { type: String, default: "清空已选" },
|
|
827
835
|
/** 是否显示重置 */
|
|
828
836
|
showReset: { type: Boolean, default: !1 }
|
|
829
|
-
}, Te = Z(he,
|
|
830
|
-
class
|
|
837
|
+
}, Te = Z(he, To, po, fo, Bo);
|
|
838
|
+
class ko {
|
|
831
839
|
constructor(t = { value: [] }) {
|
|
832
840
|
V(this, "editorType", "check-box");
|
|
833
841
|
V(this, "value");
|
|
@@ -847,7 +855,7 @@ class So {
|
|
|
847
855
|
return this.value.length === 0;
|
|
848
856
|
}
|
|
849
857
|
}
|
|
850
|
-
class
|
|
858
|
+
class Po {
|
|
851
859
|
constructor(t = { textValue: "", value: "", valueField: "" }) {
|
|
852
860
|
V(this, "editorType", "combo-lookup");
|
|
853
861
|
V(this, "textValue");
|
|
@@ -881,7 +889,7 @@ class Fo {
|
|
|
881
889
|
return !this.valueField;
|
|
882
890
|
}
|
|
883
891
|
}
|
|
884
|
-
class
|
|
892
|
+
class Io {
|
|
885
893
|
constructor(t = { value: "" }) {
|
|
886
894
|
V(this, "editorType", "date-picker");
|
|
887
895
|
V(this, "value");
|
|
@@ -922,7 +930,7 @@ class Se {
|
|
|
922
930
|
return !this.begin || !this.end;
|
|
923
931
|
}
|
|
924
932
|
}
|
|
925
|
-
class
|
|
933
|
+
class Vo {
|
|
926
934
|
constructor(t = { value: "" }) {
|
|
927
935
|
V(this, "editorType", "datetime-picker");
|
|
928
936
|
V(this, "value");
|
|
@@ -942,7 +950,7 @@ class xo {
|
|
|
942
950
|
return !this.value;
|
|
943
951
|
}
|
|
944
952
|
}
|
|
945
|
-
class
|
|
953
|
+
class Mo {
|
|
946
954
|
// 旧结构无,新结构为选中的value值,多选是以,分割的字符串
|
|
947
955
|
constructor(t = { value: "", dispalyText: "" }) {
|
|
948
956
|
V(this, "editorType", "combo-list");
|
|
@@ -965,7 +973,7 @@ class Bo {
|
|
|
965
973
|
return !this.displayText;
|
|
966
974
|
}
|
|
967
975
|
}
|
|
968
|
-
class
|
|
976
|
+
class Eo {
|
|
969
977
|
constructor(t = { value: [], displayText: "", displayField: "", isInputText: !1 }) {
|
|
970
978
|
V(this, "editorType", "input-group");
|
|
971
979
|
// 通过弹窗返回的若干个值对象构成的数组
|
|
@@ -1004,7 +1012,7 @@ class ko {
|
|
|
1004
1012
|
return !this.displayText;
|
|
1005
1013
|
}
|
|
1006
1014
|
}
|
|
1007
|
-
class
|
|
1015
|
+
class $o {
|
|
1008
1016
|
constructor(t = { textValue: "", value: [], valueField: "", isInputText: !1 }) {
|
|
1009
1017
|
V(this, "editorType", "lookup");
|
|
1010
1018
|
V(this, "textValue");
|
|
@@ -1040,7 +1048,7 @@ class Po {
|
|
|
1040
1048
|
return !this.value.length;
|
|
1041
1049
|
}
|
|
1042
1050
|
}
|
|
1043
|
-
class
|
|
1051
|
+
class Oo {
|
|
1044
1052
|
constructor(t = { value: "" }) {
|
|
1045
1053
|
V(this, "editorType", "month-picker");
|
|
1046
1054
|
V(this, "value");
|
|
@@ -1060,7 +1068,7 @@ class Io {
|
|
|
1060
1068
|
return !this.value;
|
|
1061
1069
|
}
|
|
1062
1070
|
}
|
|
1063
|
-
class
|
|
1071
|
+
class Do {
|
|
1064
1072
|
constructor(t = { begin: "", end: "" }) {
|
|
1065
1073
|
V(this, "editorType", "month-range");
|
|
1066
1074
|
V(this, "begin");
|
|
@@ -1081,7 +1089,7 @@ class Vo {
|
|
|
1081
1089
|
return !this.begin || !this.end;
|
|
1082
1090
|
}
|
|
1083
1091
|
}
|
|
1084
|
-
class
|
|
1092
|
+
class Ro {
|
|
1085
1093
|
constructor(t = { begin: null, end: null }) {
|
|
1086
1094
|
V(this, "editorType", "number-range");
|
|
1087
1095
|
V(this, "begin");
|
|
@@ -1105,7 +1113,7 @@ class Mo {
|
|
|
1105
1113
|
return this.begin == null && this.end == null;
|
|
1106
1114
|
}
|
|
1107
1115
|
}
|
|
1108
|
-
class
|
|
1116
|
+
class jo {
|
|
1109
1117
|
constructor(t = { value: "" }) {
|
|
1110
1118
|
V(this, "editorType", "number-spinner");
|
|
1111
1119
|
V(this, "value");
|
|
@@ -1125,7 +1133,7 @@ class Eo {
|
|
|
1125
1133
|
return this.value == null;
|
|
1126
1134
|
}
|
|
1127
1135
|
}
|
|
1128
|
-
class
|
|
1136
|
+
class Lo {
|
|
1129
1137
|
constructor(t = { value: null }) {
|
|
1130
1138
|
V(this, "editorType", "radio-group");
|
|
1131
1139
|
V(this, "value");
|
|
@@ -1145,7 +1153,7 @@ class $o {
|
|
|
1145
1153
|
return !this.value;
|
|
1146
1154
|
}
|
|
1147
1155
|
}
|
|
1148
|
-
class
|
|
1156
|
+
class Ao {
|
|
1149
1157
|
constructor(t = { value: "" }) {
|
|
1150
1158
|
V(this, "editorType", "text");
|
|
1151
1159
|
V(this, "value");
|
|
@@ -1165,45 +1173,45 @@ class Oo {
|
|
|
1165
1173
|
return !this.value;
|
|
1166
1174
|
}
|
|
1167
1175
|
}
|
|
1168
|
-
function
|
|
1176
|
+
function No() {
|
|
1169
1177
|
function e(t, n) {
|
|
1170
1178
|
switch (t) {
|
|
1171
1179
|
case "check-box":
|
|
1172
|
-
return new
|
|
1180
|
+
return new ko(n);
|
|
1173
1181
|
case "combo-list":
|
|
1174
|
-
return new
|
|
1182
|
+
return new Mo(n);
|
|
1175
1183
|
case "combo-lookup":
|
|
1176
|
-
return new
|
|
1184
|
+
return new Po(n);
|
|
1177
1185
|
case "input-group":
|
|
1178
|
-
return new
|
|
1186
|
+
return new Eo(n);
|
|
1179
1187
|
case "date-picker":
|
|
1180
|
-
return new
|
|
1188
|
+
return new Io(n);
|
|
1181
1189
|
case "date-range":
|
|
1182
1190
|
return new Se(n);
|
|
1183
1191
|
case "datetime-picker":
|
|
1184
|
-
return new
|
|
1192
|
+
return new Vo(n);
|
|
1185
1193
|
case "datetime-range":
|
|
1186
1194
|
return new Se(n);
|
|
1187
1195
|
case "lookup":
|
|
1188
|
-
return new
|
|
1196
|
+
return new $o(n);
|
|
1189
1197
|
case "month-picker":
|
|
1190
|
-
return new
|
|
1198
|
+
return new Oo(n);
|
|
1191
1199
|
case "month-range":
|
|
1192
|
-
return new
|
|
1200
|
+
return new Do(n);
|
|
1193
1201
|
case "number-range":
|
|
1194
|
-
return new
|
|
1202
|
+
return new Ro(n);
|
|
1195
1203
|
case "number-spinner":
|
|
1196
|
-
return new
|
|
1204
|
+
return new jo(n);
|
|
1197
1205
|
case "radio-group":
|
|
1198
|
-
return new
|
|
1206
|
+
return new Lo(n);
|
|
1199
1207
|
default:
|
|
1200
|
-
return new
|
|
1208
|
+
return new Ao(n);
|
|
1201
1209
|
}
|
|
1202
1210
|
}
|
|
1203
1211
|
return { createConditionValue: e };
|
|
1204
1212
|
}
|
|
1205
1213
|
function Oe(e, t) {
|
|
1206
|
-
const n = m([]), o = m([]), a = m([]), s = m(""), f = m(!1), g = m(e.mode), u = /* @__PURE__ */ new Map(), r =
|
|
1214
|
+
const n = m([]), o = m([]), a = m([]), s = m(""), f = m(!1), g = m(e.mode), u = /* @__PURE__ */ new Map(), r = No();
|
|
1207
1215
|
function v(C) {
|
|
1208
1216
|
return !f.value && g.value === "display-only" && !!C.hasValue && !!C.displayText;
|
|
1209
1217
|
}
|
|
@@ -1332,7 +1340,7 @@ function je(e, t, n) {
|
|
|
1332
1340
|
onClick: (p) => c()
|
|
1333
1341
|
}, [f.value])]);
|
|
1334
1342
|
}
|
|
1335
|
-
const re = /* @__PURE__ */
|
|
1343
|
+
const re = /* @__PURE__ */ z({
|
|
1336
1344
|
name: "FFilterBar",
|
|
1337
1345
|
props: he,
|
|
1338
1346
|
emits: ["Clear", "Remove", "Reset"],
|
|
@@ -1369,7 +1377,7 @@ const re = /* @__PURE__ */ _({
|
|
|
1369
1377
|
}, [c.value && y(), h.value && P(), I.value && C()])])])]);
|
|
1370
1378
|
}
|
|
1371
1379
|
});
|
|
1372
|
-
function
|
|
1380
|
+
function qo(e, t, n) {
|
|
1373
1381
|
var S;
|
|
1374
1382
|
function o() {
|
|
1375
1383
|
}
|
|
@@ -1451,7 +1459,7 @@ function Ro(e, t, n) {
|
|
|
1451
1459
|
triggerBelongedComponentToDeleteWhenDeleted: m(!1)
|
|
1452
1460
|
}, f;
|
|
1453
1461
|
}
|
|
1454
|
-
const
|
|
1462
|
+
const Go = /* @__PURE__ */ z({
|
|
1455
1463
|
name: "FFilterBarDesign",
|
|
1456
1464
|
props: he,
|
|
1457
1465
|
emits: ["Clear", "Remove", "Reset"],
|
|
@@ -1462,7 +1470,7 @@ const jo = /* @__PURE__ */ _({
|
|
|
1462
1470
|
loadFilterItems: r
|
|
1463
1471
|
} = f, v = B(() => ({
|
|
1464
1472
|
display: g.value && g.value.length ? "" : "none"
|
|
1465
|
-
})), l = m(), d = de("design-item-context"), c =
|
|
1473
|
+
})), l = m(), d = de("design-item-context"), c = qo(l, d);
|
|
1466
1474
|
K(() => {
|
|
1467
1475
|
l.value.componentInstance = c;
|
|
1468
1476
|
}), t.expose(c.value), H([() => e.data, () => e.fields], ([F, x]) => {
|
|
@@ -1490,18 +1498,18 @@ const jo = /* @__PURE__ */ _({
|
|
|
1490
1498
|
class: "f-filter-list-wrapper"
|
|
1491
1499
|
}, [h.value && I(), C.value && T(), S.value && w()])])])]);
|
|
1492
1500
|
}
|
|
1493
|
-
}),
|
|
1501
|
+
}), Ho = "https://json-schema.org/draft/2020-12/schema", Wo = "https://farris-design.gitee.io/query-solution-config.schema.json", _o = "query-solution-config", zo = "A Farris Container Component", Uo = {
|
|
1494
1502
|
fields: {
|
|
1495
1503
|
description: "The unique identifier for a query solution",
|
|
1496
1504
|
type: "array"
|
|
1497
1505
|
}
|
|
1498
|
-
},
|
|
1499
|
-
$schema:
|
|
1500
|
-
$id:
|
|
1501
|
-
title:
|
|
1502
|
-
description:
|
|
1503
|
-
properties:
|
|
1504
|
-
},
|
|
1506
|
+
}, Qo = {
|
|
1507
|
+
$schema: Ho,
|
|
1508
|
+
$id: Wo,
|
|
1509
|
+
title: _o,
|
|
1510
|
+
description: zo,
|
|
1511
|
+
properties: Uo
|
|
1512
|
+
}, Ko = "query-solution-config", Xo = "A Farris Component", Jo = "object", Zo = {
|
|
1505
1513
|
basic: {
|
|
1506
1514
|
description: "Basic Infomation",
|
|
1507
1515
|
title: "基本信息",
|
|
@@ -1586,15 +1594,15 @@ const jo = /* @__PURE__ */ _({
|
|
|
1586
1594
|
properties: {}
|
|
1587
1595
|
}
|
|
1588
1596
|
}, ce = {
|
|
1589
|
-
title:
|
|
1590
|
-
description:
|
|
1591
|
-
type:
|
|
1592
|
-
categories:
|
|
1593
|
-
},
|
|
1597
|
+
title: Ko,
|
|
1598
|
+
description: Xo,
|
|
1599
|
+
type: Jo,
|
|
1600
|
+
categories: Zo
|
|
1601
|
+
}, Yo = /* @__PURE__ */ new Map([
|
|
1594
1602
|
["appearance", ee]
|
|
1595
1603
|
// ['preset', resolvePreset]
|
|
1596
1604
|
]);
|
|
1597
|
-
function
|
|
1605
|
+
function ea(e, t, n) {
|
|
1598
1606
|
return t;
|
|
1599
1607
|
}
|
|
1600
1608
|
const Le = {
|
|
@@ -1602,8 +1610,8 @@ const Le = {
|
|
|
1602
1610
|
modelValue: { type: Array, default: [] },
|
|
1603
1611
|
source: { type: String, default: "query-solution" }
|
|
1604
1612
|
};
|
|
1605
|
-
Z(Le,
|
|
1606
|
-
const
|
|
1613
|
+
Z(Le, Qo, Yo, ea, ce);
|
|
1614
|
+
const ta = {
|
|
1607
1615
|
width: { type: String, default: "300px" },
|
|
1608
1616
|
height: { type: Number, default: 10 },
|
|
1609
1617
|
isWidePanel: { type: Boolean, default: !1 },
|
|
@@ -1631,7 +1639,7 @@ const Xo = {
|
|
|
1631
1639
|
schema: { type: Object, default: {} },
|
|
1632
1640
|
/** 属性变更后事件 */
|
|
1633
1641
|
propertyChanged: { type: Function }
|
|
1634
|
-
},
|
|
1642
|
+
}, na = {
|
|
1635
1643
|
/** 某一分类下的属性配置 */
|
|
1636
1644
|
// as PropType<ElementPropertyConfig>
|
|
1637
1645
|
category: { type: Object, default: {} },
|
|
@@ -1640,12 +1648,12 @@ const Xo = {
|
|
|
1640
1648
|
propertyData: { type: Object, default: {} },
|
|
1641
1649
|
valueChanged: { type: Function },
|
|
1642
1650
|
triggerRefreshPanel: { type: Function }
|
|
1643
|
-
},
|
|
1651
|
+
}, oa = {
|
|
1644
1652
|
elementConfig: { type: Object, default: {} },
|
|
1645
1653
|
category: { type: Object, default: {} }
|
|
1646
|
-
},
|
|
1654
|
+
}, aa = /* @__PURE__ */ new Map([
|
|
1647
1655
|
["appearance", ee]
|
|
1648
|
-
]),
|
|
1656
|
+
]), la = "https://json-schema.org/draft/2020-12/schema", ia = "https://farris-design.gitee.io/form-group.schema.json", ra = "form-group", sa = "A Farris Input Component", ua = "object", ca = {
|
|
1649
1657
|
id: {
|
|
1650
1658
|
description: "The unique identifier for a form group",
|
|
1651
1659
|
type: "string"
|
|
@@ -1686,17 +1694,17 @@ const Xo = {
|
|
|
1686
1694
|
description: "",
|
|
1687
1695
|
type: "number"
|
|
1688
1696
|
}
|
|
1689
|
-
},
|
|
1697
|
+
}, da = [
|
|
1690
1698
|
"id",
|
|
1691
1699
|
"type"
|
|
1692
|
-
],
|
|
1693
|
-
$schema:
|
|
1694
|
-
$id:
|
|
1695
|
-
title:
|
|
1696
|
-
description:
|
|
1697
|
-
type:
|
|
1698
|
-
properties:
|
|
1699
|
-
required:
|
|
1700
|
+
], pa = {
|
|
1701
|
+
$schema: la,
|
|
1702
|
+
$id: ia,
|
|
1703
|
+
title: ra,
|
|
1704
|
+
description: sa,
|
|
1705
|
+
type: ua,
|
|
1706
|
+
properties: ca,
|
|
1707
|
+
required: da
|
|
1700
1708
|
}, Ae = {
|
|
1701
1709
|
id: { type: String, default: "" },
|
|
1702
1710
|
customClass: { type: String, default: "" },
|
|
@@ -1713,18 +1721,18 @@ const Xo = {
|
|
|
1713
1721
|
};
|
|
1714
1722
|
Z(
|
|
1715
1723
|
Ae,
|
|
1716
|
-
|
|
1717
|
-
|
|
1724
|
+
pa,
|
|
1725
|
+
aa,
|
|
1718
1726
|
void 0
|
|
1719
1727
|
);
|
|
1720
|
-
const
|
|
1728
|
+
const fa = {
|
|
1721
1729
|
id: { type: String },
|
|
1722
1730
|
required: { type: Boolean, default: !1 },
|
|
1723
1731
|
text: { type: String, default: "" },
|
|
1724
1732
|
title: { type: String }
|
|
1725
|
-
},
|
|
1733
|
+
}, ma = /* @__PURE__ */ z({
|
|
1726
1734
|
name: "FDynamicFormLabel",
|
|
1727
|
-
props:
|
|
1735
|
+
props: fa,
|
|
1728
1736
|
emits: [],
|
|
1729
1737
|
setup(e, t) {
|
|
1730
1738
|
const n = m(e.title || e.text), o = m(e.required), a = m(e.text);
|
|
@@ -1741,13 +1749,13 @@ const sa = {
|
|
|
1741
1749
|
class: "farris-label-text"
|
|
1742
1750
|
}, [a.value])]);
|
|
1743
1751
|
}
|
|
1744
|
-
}),
|
|
1752
|
+
}), va = /* @__PURE__ */ new Map([
|
|
1745
1753
|
["appearance", ee]
|
|
1746
1754
|
]);
|
|
1747
|
-
function
|
|
1755
|
+
function ya(e, t, n) {
|
|
1748
1756
|
return t;
|
|
1749
1757
|
}
|
|
1750
|
-
const
|
|
1758
|
+
const ga = "https://json-schema.org/draft/2020-12/schema", ha = "https://farris-design.gitee.io/input-group.schema.json", ba = "input-group", Ca = "A Farris Input Component", Ta = "object", Sa = {
|
|
1751
1759
|
id: {
|
|
1752
1760
|
description: "The unique identifier for a Input Group",
|
|
1753
1761
|
type: "string"
|
|
@@ -1949,17 +1957,17 @@ const pa = "https://json-schema.org/draft/2020-12/schema", fa = "https://farris-
|
|
|
1949
1957
|
type: "string",
|
|
1950
1958
|
default: ""
|
|
1951
1959
|
}
|
|
1952
|
-
},
|
|
1960
|
+
}, Fa = [
|
|
1953
1961
|
"id",
|
|
1954
1962
|
"type"
|
|
1955
|
-
],
|
|
1956
|
-
$schema:
|
|
1957
|
-
$id:
|
|
1958
|
-
title:
|
|
1959
|
-
description:
|
|
1960
|
-
type:
|
|
1961
|
-
properties:
|
|
1962
|
-
required:
|
|
1963
|
+
], wa = {
|
|
1964
|
+
$schema: ga,
|
|
1965
|
+
$id: ha,
|
|
1966
|
+
title: ba,
|
|
1967
|
+
description: Ca,
|
|
1968
|
+
type: Ta,
|
|
1969
|
+
properties: Sa,
|
|
1970
|
+
required: Fa
|
|
1963
1971
|
}, Ne = {
|
|
1964
1972
|
/** 是否自动完成 */
|
|
1965
1973
|
autocomplete: { Type: String, default: "off" },
|
|
@@ -2027,8 +2035,8 @@ const pa = "https://json-schema.org/draft/2020-12/schema", fa = "https://farris-
|
|
|
2027
2035
|
*/
|
|
2028
2036
|
updateOn: { type: String, default: "blur" }
|
|
2029
2037
|
};
|
|
2030
|
-
Z(Ne,
|
|
2031
|
-
function
|
|
2038
|
+
Z(Ne, wa, va, ya);
|
|
2039
|
+
function xa(e, t, n, o) {
|
|
2032
2040
|
const a = m(e.disabled), s = m(!1), f = m("text"), g = m(e.showBorder), u = m(e.textAlign), r = m(e.updateOn), v = B(() => e.editable || !e.readonly), l = B(() => e.editable && !e.disabled && !e.readonly), d = B(() => !e.disabled && s.value), c = B(() => n.value === "" || n.value === null || n.value === void 0), p = B(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), y = B(() => e.readonly || !e.editable), h = B(() => e.enableTitle ? n.value : ""), P = B(() => ({
|
|
2033
2041
|
"form-control": !0,
|
|
2034
2042
|
"f-utils-fill": !0,
|
|
@@ -2044,7 +2052,7 @@ function Ca(e, t, n, o) {
|
|
|
2044
2052
|
"f-state-readonly": y.value,
|
|
2045
2053
|
"f-state-focus": d.value
|
|
2046
2054
|
};
|
|
2047
|
-
return (e.customClass || "").split(" ").reduce((
|
|
2055
|
+
return (e.customClass || "").split(" ").reduce((_, G) => (_[G] = !0, _), k), k;
|
|
2048
2056
|
}), C = B(() => g.value ? "" : "border-width : 0 ");
|
|
2049
2057
|
function T(k, q = !0) {
|
|
2050
2058
|
n.value = k, o.value !== k && (o.value = k), q && t.emit("change", k), t.emit("update:modelValue", k), t.emit("update:value", k);
|
|
@@ -2111,7 +2119,7 @@ function Ca(e, t, n, o) {
|
|
|
2111
2119
|
inputGroupStyle: C
|
|
2112
2120
|
};
|
|
2113
2121
|
}
|
|
2114
|
-
function
|
|
2122
|
+
function Ba(e, t, n) {
|
|
2115
2123
|
const o = m(!1), a = B(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: s, displayText: f, hasFocused: g, isEmpty: u } = n;
|
|
2116
2124
|
function r(y) {
|
|
2117
2125
|
o.value = y;
|
|
@@ -2137,8 +2145,8 @@ function Ta(e, t, n) {
|
|
|
2137
2145
|
}
|
|
2138
2146
|
return { clearButtonClass: v, clearButtonStyle: l, hasShownClearButton: o, onClearValue: d, onMouseEnter: c, onMouseLeave: p, shouldShowClearButton: a };
|
|
2139
2147
|
}
|
|
2140
|
-
const
|
|
2141
|
-
function
|
|
2148
|
+
const ka = ["moz", "ms", "webkit"];
|
|
2149
|
+
function Pa() {
|
|
2142
2150
|
let e = 0;
|
|
2143
2151
|
return (t) => {
|
|
2144
2152
|
const n = (/* @__PURE__ */ new Date()).getTime(), o = Math.max(0, 16 - (n - e)), a = setTimeout(() => {
|
|
@@ -2147,23 +2155,23 @@ function Fa() {
|
|
|
2147
2155
|
return e = n + o, a;
|
|
2148
2156
|
};
|
|
2149
2157
|
}
|
|
2150
|
-
function
|
|
2158
|
+
function Ia() {
|
|
2151
2159
|
if (typeof window > "u")
|
|
2152
2160
|
return () => 0;
|
|
2153
2161
|
if (window.requestAnimationFrame)
|
|
2154
2162
|
return window.requestAnimationFrame.bind(window);
|
|
2155
|
-
const e =
|
|
2156
|
-
return e ? window[`${e}RequestAnimationFrame`] :
|
|
2163
|
+
const e = ka.filter((t) => `${t}RequestAnimationFrame` in window)[0];
|
|
2164
|
+
return e ? window[`${e}RequestAnimationFrame`] : Pa();
|
|
2157
2165
|
}
|
|
2158
|
-
|
|
2159
|
-
function
|
|
2166
|
+
Ia();
|
|
2167
|
+
function Va(e, t) {
|
|
2160
2168
|
const n = m(e.groupText), o = B(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), a = B(() => e.enableClear || !!e.groupText);
|
|
2161
2169
|
return { appendedButtonClass: B(() => ({
|
|
2162
2170
|
"input-group-append": !0,
|
|
2163
2171
|
"append-force-show": o.value
|
|
2164
2172
|
})), appendedContent: n, shouldShowAppendedButton: a };
|
|
2165
2173
|
}
|
|
2166
|
-
function
|
|
2174
|
+
function Ma(e, t, n, o) {
|
|
2167
2175
|
const { appendedContent: a } = o, s = m(e.enableViewPassword), f = B(() => e.type === "password"), g = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', u = '<span class="f-icon f-icon-eye"></span>', r = m(!1);
|
|
2168
2176
|
H(() => [e.readonly, e.disabled], ([d, c]) => {
|
|
2169
2177
|
f.value && (n.value = d || c ? "password" : n.value, a.value = d || c ? u : a.value);
|
|
@@ -2176,7 +2184,7 @@ function Ba(e, t, n, o) {
|
|
|
2176
2184
|
}
|
|
2177
2185
|
return l(), { isPassword: f, onClickAppendedButton: v };
|
|
2178
2186
|
}
|
|
2179
|
-
function
|
|
2187
|
+
function Ea(e, t, n) {
|
|
2180
2188
|
const o = m(), {
|
|
2181
2189
|
onBlurTextBox: a,
|
|
2182
2190
|
onFocusTextBox: s,
|
|
@@ -2216,7 +2224,7 @@ function ka(e, t, n) {
|
|
|
2216
2224
|
onKeydown: g
|
|
2217
2225
|
}, null);
|
|
2218
2226
|
}
|
|
2219
|
-
function
|
|
2227
|
+
function $a(e, t, n) {
|
|
2220
2228
|
const {
|
|
2221
2229
|
canDownward: o,
|
|
2222
2230
|
canUpward: a,
|
|
@@ -2257,12 +2265,12 @@ function Pa(e, t, n) {
|
|
|
2257
2265
|
class: "f-icon f-icon-arrow-chevron-down number-arrow-chevron"
|
|
2258
2266
|
}, null)])]);
|
|
2259
2267
|
}
|
|
2260
|
-
function
|
|
2261
|
-
const n =
|
|
2268
|
+
function Oa(e, t) {
|
|
2269
|
+
const n = bt(e, t), o = Ct(e, t, n), a = Tt(e, t, o, n), s = St(e, t, o, n, a), f = $a(e, t, a), {
|
|
2262
2270
|
displayValue: g,
|
|
2263
2271
|
modelValue: u,
|
|
2264
2272
|
getRealValue: r
|
|
2265
|
-
} = n, v =
|
|
2273
|
+
} = n, v = Ea(e, t, s), {
|
|
2266
2274
|
format: l
|
|
2267
2275
|
} = o, {
|
|
2268
2276
|
isFocus: d
|
|
@@ -2281,7 +2289,7 @@ function Ia(e, t) {
|
|
|
2281
2289
|
class: "input-group f-state-hover flex-row f-cmp-number-spinner"
|
|
2282
2290
|
}, [v(), c.value && f()]);
|
|
2283
2291
|
}
|
|
2284
|
-
function
|
|
2292
|
+
function Da(e, t, n, o) {
|
|
2285
2293
|
const a = m(), s = m(e.autocomplete), f = m(e.enableTitle), {
|
|
2286
2294
|
isPassword: g
|
|
2287
2295
|
} = n, u = m(e.minLength), r = m(e.maxLength), v = m(e.tabIndex), {
|
|
@@ -2327,8 +2335,8 @@ function Va(e, t, n, o) {
|
|
|
2327
2335
|
onMousedown: T
|
|
2328
2336
|
}, null);
|
|
2329
2337
|
}
|
|
2330
|
-
function
|
|
2331
|
-
const n = B(() => e.useExtendInfo && !!e.extendInfo), o =
|
|
2338
|
+
function Ra(e, t) {
|
|
2339
|
+
const n = B(() => e.useExtendInfo && !!e.extendInfo), o = st({
|
|
2332
2340
|
content: e.extendInfo
|
|
2333
2341
|
});
|
|
2334
2342
|
function a() {
|
|
@@ -2341,9 +2349,9 @@ function Ma(e, t) {
|
|
|
2341
2349
|
class: "f-icon f-icon-info-circle"
|
|
2342
2350
|
}, null), i("b", {
|
|
2343
2351
|
class: "tips-arrow"
|
|
2344
|
-
}, null)]), [[
|
|
2352
|
+
}, null)]), [[ut("tooltip"), o]]);
|
|
2345
2353
|
}
|
|
2346
|
-
function
|
|
2354
|
+
function ja(e, t, n, o, a) {
|
|
2347
2355
|
const {
|
|
2348
2356
|
appendedButtonClass: s,
|
|
2349
2357
|
appendedContent: f
|
|
@@ -2395,21 +2403,21 @@ function Ea(e, t, n, o, a) {
|
|
|
2395
2403
|
class: s.value
|
|
2396
2404
|
}, [c.value && p(), w && w()]);
|
|
2397
2405
|
}
|
|
2398
|
-
const
|
|
2406
|
+
const La = /* @__PURE__ */ z({
|
|
2399
2407
|
name: "FInputGroup",
|
|
2400
2408
|
props: Ne,
|
|
2401
2409
|
emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange"],
|
|
2402
2410
|
setup(e, t) {
|
|
2403
|
-
const n = m(e.modelValue), o = m(e.modelValue), a =
|
|
2411
|
+
const n = m(e.modelValue), o = m(e.modelValue), a = xa(e, t, n, o), {
|
|
2404
2412
|
inputGroupClass: s,
|
|
2405
2413
|
inputType: f,
|
|
2406
2414
|
inputGroupStyle: g
|
|
2407
|
-
} = a, u =
|
|
2415
|
+
} = a, u = Va(e), {
|
|
2408
2416
|
shouldShowAppendedButton: r
|
|
2409
|
-
} = u, v =
|
|
2417
|
+
} = u, v = Ba(e, t, a), {
|
|
2410
2418
|
onMouseEnter: l,
|
|
2411
2419
|
onMouseLeave: d
|
|
2412
|
-
} = v, c =
|
|
2420
|
+
} = v, c = Ma(e, t, f, u), p = Oa(e, t), y = Da(e, t, c, a), h = ja(e, t, u, v, c), P = Ra(e, t), I = B(() => e.type === "number");
|
|
2413
2421
|
H(() => [e.value], ([T]) => {
|
|
2414
2422
|
n.value = T, o.value = T;
|
|
2415
2423
|
}), H(() => [e.modelValue], ([T]) => {
|
|
@@ -2428,17 +2436,17 @@ const $a = /* @__PURE__ */ _({
|
|
|
2428
2436
|
}
|
|
2429
2437
|
}), E = {}, $ = {}, O = {}, D = {};
|
|
2430
2438
|
let Fe = !1;
|
|
2431
|
-
function
|
|
2432
|
-
Fe || (Fe = !0,
|
|
2439
|
+
function Aa() {
|
|
2440
|
+
Fe || (Fe = !0, wt.register(E, $, O, D), Ft.register(E, $, O, D), xt.register(E, $, O, D), Bt.register(E, $, O, D), kt.register(E, $, O, D), Pt.register(E, $, O, D), It.register(E, $, O, D), Vt.register(E, $, O, D), Mt.register(E, $, O, D), Et.register(E, $, O, D), Ot.register(E, $, O, D), $t.register(E, $, O, D), Dt.register(E, $, O, D), Rt.register(E, $, O, D), jt.register(E, $, O, D), Lt.register(E, $, O, D), At.register(E, $, O, D), Nt.register(E, $, O, D), qt.register(E, $, O, D), Gt.register(E, $, O, D), Ht.register(E, $, O, D), Wt.register(E, $, O, D), zt.register(E, $, O, D), _t.register(E, $, O, D), Ut.register(E, $, O, D), Qt.register(E, $, O, D), Kt.register(E, $, O, D), Xt.register(E, $, O, D), ht.register(E, $, O, D), Jt.register(E, $, O, D), Zt.register(E, $, O, D), Yt.register(E, $, O, D), en.register(E, $, O, D), tn.register(E, $, O, D), nn.register(E, $, O, D), on.register(E, $, O, D), an.register(E, $, O, D), rn.register(E, $, O, D), sn.register(E, $, O, D), ln.register(E, $, O, D), xn.register(E, $, O), un.register(E, $, O, D), cn.register(E, $, O, D), dn.register(E, $, O, D), pn.register(E, $, O, D), fn.register(E, $, O, D), mn.register(E, $, O, D), vn.register(E, $, O, D), Ie.register(E, $, O, D), yn.register(E, $, O, D), gn.register(E, $, O, D), hn.register(E, $, O, D), bn.register(E, $, O, D), Tn.register(E, $, O, D), Cn.register(E, $, O, D), Sn.register(E, $, O, D), Fn.register(E, $, O, D), wn.register(E, $, O, D), Bn.register(E, $, O, D));
|
|
2433
2441
|
}
|
|
2434
|
-
function
|
|
2435
|
-
|
|
2442
|
+
function Na() {
|
|
2443
|
+
Aa();
|
|
2436
2444
|
function e(a, s) {
|
|
2437
2445
|
const f = $[a];
|
|
2438
2446
|
return f ? f(s) : {};
|
|
2439
2447
|
}
|
|
2440
2448
|
function t(a) {
|
|
2441
|
-
return E[a] ||
|
|
2449
|
+
return E[a] || La;
|
|
2442
2450
|
}
|
|
2443
2451
|
function n(a) {
|
|
2444
2452
|
switch (a) {
|
|
@@ -2449,6 +2457,7 @@ function Da() {
|
|
|
2449
2457
|
case "check-group":
|
|
2450
2458
|
return "onChangeValue";
|
|
2451
2459
|
case "combo-list":
|
|
2460
|
+
case "combo-tree":
|
|
2452
2461
|
return "onChange";
|
|
2453
2462
|
case "combo-lookup":
|
|
2454
2463
|
return "";
|
|
@@ -2503,7 +2512,7 @@ function Da() {
|
|
|
2503
2512
|
}
|
|
2504
2513
|
return { resolveEditorProps: e, resolveEditorType: t, getChangeFunctionName: n, getClearFunctionName: o };
|
|
2505
2514
|
}
|
|
2506
|
-
const
|
|
2515
|
+
const qa = /* @__PURE__ */ z({
|
|
2507
2516
|
name: "FDynamicFormGroup",
|
|
2508
2517
|
props: Ae,
|
|
2509
2518
|
emits: ["change", "update:modelValue"],
|
|
@@ -2515,7 +2524,7 @@ const Ra = /* @__PURE__ */ _({
|
|
|
2515
2524
|
resolveEditorType: c,
|
|
2516
2525
|
getChangeFunctionName: p,
|
|
2517
2526
|
getClearFunctionName: y
|
|
2518
|
-
} =
|
|
2527
|
+
} = Na(), h = B(() => ({
|
|
2519
2528
|
"form-group": !0,
|
|
2520
2529
|
"farris-form-group": !0,
|
|
2521
2530
|
"common-group": !0,
|
|
@@ -2547,7 +2556,7 @@ const Ra = /* @__PURE__ */ _({
|
|
|
2547
2556
|
class: "farris-group-wrap"
|
|
2548
2557
|
}, [i("div", {
|
|
2549
2558
|
class: h.value
|
|
2550
|
-
}, [r.value && i(
|
|
2559
|
+
}, [r.value && i(ma, {
|
|
2551
2560
|
id: `${n.value}-lable`,
|
|
2552
2561
|
required: u.value,
|
|
2553
2562
|
text: s.value,
|
|
@@ -2556,9 +2565,9 @@ const Ra = /* @__PURE__ */ _({
|
|
|
2556
2565
|
class: "farris-input-wrap"
|
|
2557
2566
|
}, [C.value()])])])]);
|
|
2558
2567
|
}
|
|
2559
|
-
}),
|
|
2568
|
+
}), Ga = /* @__PURE__ */ z({
|
|
2560
2569
|
name: "FPropertyPanelItem",
|
|
2561
|
-
props:
|
|
2570
|
+
props: oa,
|
|
2562
2571
|
emits: ["propertyChange", "triggerRefreshPanel"],
|
|
2563
2572
|
setup(e, t) {
|
|
2564
2573
|
var r;
|
|
@@ -2586,7 +2595,7 @@ const Ra = /* @__PURE__ */ _({
|
|
|
2586
2595
|
}
|
|
2587
2596
|
return () => i("div", {
|
|
2588
2597
|
class: g.value
|
|
2589
|
-
}, [i(
|
|
2598
|
+
}, [i(qa, {
|
|
2590
2599
|
id: o.value,
|
|
2591
2600
|
customClass: `${n.value}-${o.value}`,
|
|
2592
2601
|
label: a.value,
|
|
@@ -2596,9 +2605,9 @@ const Ra = /* @__PURE__ */ _({
|
|
|
2596
2605
|
editorParams: e.elementConfig.editorParams
|
|
2597
2606
|
}, null)]);
|
|
2598
2607
|
}
|
|
2599
|
-
}),
|
|
2608
|
+
}), Ha = /* @__PURE__ */ z({
|
|
2600
2609
|
name: "FPropertyPanelItemList",
|
|
2601
|
-
props:
|
|
2610
|
+
props: na,
|
|
2602
2611
|
emits: ["valueChanged", "submitModal", "triggerRefreshPanel"],
|
|
2603
2612
|
setup(e, t) {
|
|
2604
2613
|
const n = m(e.category);
|
|
@@ -2659,7 +2668,7 @@ const Ra = /* @__PURE__ */ _({
|
|
|
2659
2668
|
function v(c) {
|
|
2660
2669
|
return i("div", {
|
|
2661
2670
|
class: "px-2 mb-2"
|
|
2662
|
-
}, [i(
|
|
2671
|
+
}, [i(Ga, {
|
|
2663
2672
|
key: g(c),
|
|
2664
2673
|
elementConfig: c,
|
|
2665
2674
|
category: n.value,
|
|
@@ -2696,17 +2705,19 @@ const Ra = /* @__PURE__ */ _({
|
|
|
2696
2705
|
}
|
|
2697
2706
|
return () => i(J, null, [n.value.properties.map((c) => d(c)(c))]);
|
|
2698
2707
|
}
|
|
2699
|
-
}),
|
|
2708
|
+
}), Wa = /* @__PURE__ */ z({
|
|
2700
2709
|
name: "FPropertyPanel",
|
|
2701
|
-
props:
|
|
2710
|
+
props: ta,
|
|
2702
2711
|
emits: ["propertyChanged"],
|
|
2703
2712
|
setup(e, t) {
|
|
2704
2713
|
const n = m(e.width), o = m(e.isWidePanel), a = m(e.enableSearch), s = m(e.mode), f = m(e.isPersitOpenState), g = m(e.isShowPanel), u = m(), r = m(), v = m(e.showCloseBtn), l = m(e.selectedTabId), d = m(!0), c = m(e.isWhiteTheme);
|
|
2705
2714
|
let p = [], y = [];
|
|
2706
2715
|
const h = m(""), P = m(), I = m(), C = de("SchemaService");
|
|
2707
2716
|
let T = [], S = null, w = "";
|
|
2708
|
-
const F = m()
|
|
2709
|
-
|
|
2717
|
+
const F = m(), {
|
|
2718
|
+
proxy: x
|
|
2719
|
+
} = ct();
|
|
2720
|
+
function b() {
|
|
2710
2721
|
y = [], F.value && F.value.categoryList && Array.isArray(F.value.categoryList) && F.value.categoryList.length > 0 && F.value.categoryList.forEach((j) => {
|
|
2711
2722
|
if (j.properties.forEach((L) => L.categoryId = j.categoryId), j.properties && Array.isArray(j.properties) && j.properties.length > 0) {
|
|
2712
2723
|
const L = j.properties.map((W) => (W.category = j, W));
|
|
@@ -2714,72 +2725,72 @@ const Ra = /* @__PURE__ */ _({
|
|
|
2714
2725
|
}
|
|
2715
2726
|
});
|
|
2716
2727
|
}
|
|
2717
|
-
function
|
|
2728
|
+
function R(A) {
|
|
2718
2729
|
let j = A.offsetTop, L = A.offsetParent;
|
|
2719
2730
|
for (; L !== null; )
|
|
2720
2731
|
j += L.offsetTop, L = L.offsetParent;
|
|
2721
2732
|
return j;
|
|
2722
2733
|
}
|
|
2723
|
-
function
|
|
2734
|
+
function M(A, j) {
|
|
2724
2735
|
A && j && Object.keys(j).length > 0 && Object.keys(j).forEach((L) => {
|
|
2725
2736
|
var X;
|
|
2726
2737
|
const W = j[L];
|
|
2727
2738
|
(X = A.style) == null || X.setProperty(L, W);
|
|
2728
2739
|
});
|
|
2729
2740
|
}
|
|
2730
|
-
function
|
|
2741
|
+
function N() {
|
|
2731
2742
|
return y.filter((j) => j.visible ? !!(j.propertyID && j.propertyID.startsWith(h.value) || j.propertyName && (j.propertyName.startsWith(h.value) || j.propertyName.includes(h.value))) : !1);
|
|
2732
2743
|
}
|
|
2733
|
-
function
|
|
2744
|
+
function k(A, j, L) {
|
|
2734
2745
|
if (A === 0) {
|
|
2735
|
-
const W =
|
|
2746
|
+
const W = R(j), le = R(L) - W - 5;
|
|
2736
2747
|
j == null || j.scroll({
|
|
2737
2748
|
top: le,
|
|
2738
2749
|
behavior: "smooth"
|
|
2739
2750
|
});
|
|
2740
2751
|
}
|
|
2741
2752
|
}
|
|
2742
|
-
function
|
|
2753
|
+
function q(A) {
|
|
2743
2754
|
T && T.length > 0 && (T.forEach((L) => {
|
|
2744
2755
|
L.style.cssText = "";
|
|
2745
2756
|
}), T = []), h.value = A || h.value;
|
|
2746
2757
|
const j = document.querySelector(".panel-body");
|
|
2747
2758
|
if (!h.value)
|
|
2748
2759
|
P.value && j && (j.scrollTop = 0);
|
|
2749
|
-
else if (
|
|
2750
|
-
const L =
|
|
2760
|
+
else if (b(), y && y.length > 0) {
|
|
2761
|
+
const L = N();
|
|
2751
2762
|
L && L.length > 0 && (L[0].category.status === "closed" && (L[0].category.status = "open"), setTimeout(() => {
|
|
2752
2763
|
L.forEach((W, X) => {
|
|
2753
2764
|
const le = W.propertyType === "cascade" ? `.${W.categoryId}-${W.propertyID} div.col-form-label` : `.property-item .${W.categoryId}-${W.propertyID} label.col-form-label`, ne = document.querySelector(le);
|
|
2754
|
-
ne && (
|
|
2765
|
+
ne && (k(X, j, ne), M(ne, {
|
|
2755
2766
|
color: "#5B89FE"
|
|
2756
2767
|
}), T.push(ne));
|
|
2757
2768
|
});
|
|
2758
2769
|
}, 50));
|
|
2759
2770
|
}
|
|
2760
2771
|
}
|
|
2761
|
-
function
|
|
2762
|
-
|
|
2772
|
+
function _(A) {
|
|
2773
|
+
q(A);
|
|
2763
2774
|
}
|
|
2764
|
-
function
|
|
2775
|
+
function G(A) {
|
|
2765
2776
|
const {
|
|
2766
2777
|
value: j
|
|
2767
2778
|
} = A.target;
|
|
2768
|
-
A.key === "Enter" &&
|
|
2779
|
+
A.key === "Enter" && _(j);
|
|
2769
2780
|
}
|
|
2770
|
-
function
|
|
2781
|
+
function U(A) {
|
|
2771
2782
|
const {
|
|
2772
2783
|
value: j
|
|
2773
2784
|
} = A.target;
|
|
2774
|
-
|
|
2785
|
+
_(j);
|
|
2775
2786
|
}
|
|
2776
|
-
function
|
|
2787
|
+
function _e() {
|
|
2777
2788
|
f.value || (d.value = !1), t.emit("closePropertyPanel");
|
|
2778
2789
|
}
|
|
2779
2790
|
function ae(A) {
|
|
2780
|
-
h.value = "",
|
|
2791
|
+
h.value = "", q();
|
|
2781
2792
|
}
|
|
2782
|
-
function
|
|
2793
|
+
function ze(A) {
|
|
2783
2794
|
!A.status || A.status === "open" ? A.status = "closed" : A.status = "open";
|
|
2784
2795
|
}
|
|
2785
2796
|
function te() {
|
|
@@ -2817,22 +2828,22 @@ const Ra = /* @__PURE__ */ _({
|
|
|
2817
2828
|
l.value = (j = F.value) == null ? void 0 : j.tabId;
|
|
2818
2829
|
}
|
|
2819
2830
|
H(() => [e.schema, e.isShowPanel], () => {
|
|
2820
|
-
r.value = e.schema, u.value = ie(r.value, C, S, w), te(), ae(h.value);
|
|
2831
|
+
r.value = e.schema, u.value = ie(r.value, C, S, w), te(), ae(h.value), x.$forceUpdate();
|
|
2821
2832
|
}), K(() => {
|
|
2822
2833
|
te();
|
|
2823
2834
|
});
|
|
2824
|
-
function
|
|
2835
|
+
function Ue(A, j) {
|
|
2825
2836
|
(!r.value || j) && (r.value = j || e.schema), u.value = ie(r.value, C, S, w, A), te(), ae(h.value);
|
|
2826
2837
|
}
|
|
2827
|
-
function
|
|
2838
|
+
function Qe(A, j) {
|
|
2828
2839
|
S = A, w = j;
|
|
2829
2840
|
}
|
|
2830
2841
|
function be() {
|
|
2831
2842
|
s.value = s.value === "panel" ? "sidebar" : "panel", s.value === "panel" ? (setTimeout(() => {
|
|
2832
|
-
|
|
2843
|
+
_();
|
|
2833
2844
|
}, 100), n.value = "300px") : n.value = "41px";
|
|
2834
2845
|
}
|
|
2835
|
-
function
|
|
2846
|
+
function Ke() {
|
|
2836
2847
|
if (v.value)
|
|
2837
2848
|
return i("div", {
|
|
2838
2849
|
class: "title-actions"
|
|
@@ -2845,15 +2856,15 @@ const Ra = /* @__PURE__ */ _({
|
|
|
2845
2856
|
role: "toolbar"
|
|
2846
2857
|
}, [i("li", {
|
|
2847
2858
|
class: "action-item",
|
|
2848
|
-
onClick:
|
|
2859
|
+
onClick: _e
|
|
2849
2860
|
}, [i("span", {
|
|
2850
2861
|
class: "f-icon f-icon-close"
|
|
2851
2862
|
}, null)])])])])]);
|
|
2852
2863
|
}
|
|
2853
|
-
function
|
|
2864
|
+
function Xe() {
|
|
2854
2865
|
u.value = ie(r.value, C, S, w), te();
|
|
2855
2866
|
}
|
|
2856
|
-
function
|
|
2867
|
+
function Je() {
|
|
2857
2868
|
var A;
|
|
2858
2869
|
if (a.value && ((A = F.value) == null ? void 0 : A.tabId) !== "commands")
|
|
2859
2870
|
return i("div", {
|
|
@@ -2865,7 +2876,7 @@ const Ra = /* @__PURE__ */ _({
|
|
|
2865
2876
|
type: "text",
|
|
2866
2877
|
placeholder: "输入属性名称或编号快速定位",
|
|
2867
2878
|
autocomplete: "off",
|
|
2868
|
-
onKeyup: (j) =>
|
|
2879
|
+
onKeyup: (j) => G(j),
|
|
2869
2880
|
value: h.value
|
|
2870
2881
|
}, null), i("div", {
|
|
2871
2882
|
class: "input-group-append",
|
|
@@ -2880,18 +2891,18 @@ const Ra = /* @__PURE__ */ _({
|
|
|
2880
2891
|
class: "f-icon modal_close"
|
|
2881
2892
|
}, null)]), i("span", {
|
|
2882
2893
|
class: "input-group-text input-group-clear",
|
|
2883
|
-
onClick: (j) =>
|
|
2894
|
+
onClick: (j) => U(j)
|
|
2884
2895
|
}, [i("i", {
|
|
2885
2896
|
class: "f-icon f-icon-search"
|
|
2886
2897
|
}, null)])])])]);
|
|
2887
2898
|
}
|
|
2888
|
-
function
|
|
2899
|
+
function Ze(A) {
|
|
2889
2900
|
return `${e.propertyName}_${A.categoryId}`;
|
|
2890
2901
|
}
|
|
2891
|
-
function
|
|
2902
|
+
function Ye(A) {
|
|
2892
2903
|
t.emit("propertyChanged", A);
|
|
2893
2904
|
}
|
|
2894
|
-
function
|
|
2905
|
+
function et() {
|
|
2895
2906
|
var A, j;
|
|
2896
2907
|
if (F.value)
|
|
2897
2908
|
return i("div", {
|
|
@@ -2902,11 +2913,11 @@ const Ra = /* @__PURE__ */ _({
|
|
|
2902
2913
|
"wide-panel": o.value
|
|
2903
2914
|
}]
|
|
2904
2915
|
}, [(j = (A = F.value) == null ? void 0 : A.categoryList) == null ? void 0 : j.map((L) => i("li", {
|
|
2905
|
-
key:
|
|
2916
|
+
key: Ze(L),
|
|
2906
2917
|
"data-category-id": L == null ? void 0 : L.categoryId
|
|
2907
2918
|
}, [!L.hide && !L.hideTitle && i("span", {
|
|
2908
2919
|
class: "group-label",
|
|
2909
|
-
onClick: () =>
|
|
2920
|
+
onClick: () => ze(L)
|
|
2910
2921
|
}, [i("span", {
|
|
2911
2922
|
class: ["f-icon mr-2", {
|
|
2912
2923
|
"f-legend-show": L.status === "closed"
|
|
@@ -2915,14 +2926,14 @@ const Ra = /* @__PURE__ */ _({
|
|
|
2915
2926
|
}]
|
|
2916
2927
|
}, null), L.categoryName]), i("div", {
|
|
2917
2928
|
hidden: L.status === "closed"
|
|
2918
|
-
}, [i(
|
|
2929
|
+
}, [i(Ha, {
|
|
2919
2930
|
category: L,
|
|
2920
2931
|
propertyData: r.value,
|
|
2921
|
-
onTriggerRefreshPanel:
|
|
2922
|
-
onValueChanged:
|
|
2932
|
+
onTriggerRefreshPanel: Xe,
|
|
2933
|
+
onValueChanged: Ye
|
|
2923
2934
|
}, null)])]))])]);
|
|
2924
2935
|
}
|
|
2925
|
-
function
|
|
2936
|
+
function tt() {
|
|
2926
2937
|
if (s.value === "sidebar")
|
|
2927
2938
|
return i("div", {
|
|
2928
2939
|
class: "side-panel h-100",
|
|
@@ -2931,13 +2942,13 @@ const Ra = /* @__PURE__ */ _({
|
|
|
2931
2942
|
class: "f-icon f-icon-engineering w-100 icon"
|
|
2932
2943
|
}, null), i("span", null, [Y("属性")])]);
|
|
2933
2944
|
}
|
|
2934
|
-
function
|
|
2945
|
+
function nt() {
|
|
2935
2946
|
return {
|
|
2936
2947
|
display: d.value ? "block" : "none",
|
|
2937
2948
|
width: n.value
|
|
2938
2949
|
};
|
|
2939
2950
|
}
|
|
2940
|
-
function
|
|
2951
|
+
function ot() {
|
|
2941
2952
|
return i("div", {
|
|
2942
2953
|
class: "switcher"
|
|
2943
2954
|
}, [i("i", {
|
|
@@ -2948,33 +2959,33 @@ const Ra = /* @__PURE__ */ _({
|
|
|
2948
2959
|
onClick: be
|
|
2949
2960
|
}, null)]);
|
|
2950
2961
|
}
|
|
2951
|
-
function
|
|
2962
|
+
function at(A) {
|
|
2952
2963
|
F.value = A, l.value = F.value.tabId, h.value = "";
|
|
2953
2964
|
}
|
|
2954
|
-
function
|
|
2965
|
+
function lt() {
|
|
2955
2966
|
return p.map((A) => i("div", {
|
|
2956
2967
|
class: ["title-label", {
|
|
2957
2968
|
active: F.value && F.value.tabId === A.tabId
|
|
2958
2969
|
}, {
|
|
2959
2970
|
hidden: A.hide
|
|
2960
2971
|
}],
|
|
2961
|
-
onClick: () =>
|
|
2972
|
+
onClick: () => at(A)
|
|
2962
2973
|
}, [i("span", null, [A.tabName])]));
|
|
2963
2974
|
}
|
|
2964
2975
|
return K(() => {
|
|
2965
|
-
|
|
2966
|
-
}),
|
|
2967
|
-
f.value && (d.value = g.value), te(),
|
|
2976
|
+
_(h.value);
|
|
2977
|
+
}), dt(() => {
|
|
2978
|
+
f.value && (d.value = g.value), te(), _(h.value);
|
|
2968
2979
|
}), H(F, () => {
|
|
2969
2980
|
}), t.expose({
|
|
2970
|
-
updatePropertyConfig:
|
|
2971
|
-
updateDesignerItem:
|
|
2981
|
+
updatePropertyConfig: Ue,
|
|
2982
|
+
updateDesignerItem: Qe
|
|
2972
2983
|
}), () => i(J, null, [i("div", {
|
|
2973
2984
|
ref: P,
|
|
2974
2985
|
class: ["property-panel", {
|
|
2975
2986
|
"white-theme": c.value
|
|
2976
2987
|
}],
|
|
2977
|
-
style:
|
|
2988
|
+
style: nt()
|
|
2978
2989
|
}, [i("div", {
|
|
2979
2990
|
class: "propertyPanel panel flex-column",
|
|
2980
2991
|
hidden: s.value !== "panel"
|
|
@@ -2984,9 +2995,9 @@ const Ra = /* @__PURE__ */ _({
|
|
|
2984
2995
|
}, {
|
|
2985
2996
|
only: p.length === 1
|
|
2986
2997
|
}]
|
|
2987
|
-
}, [
|
|
2998
|
+
}, [lt(), Ke()]), Je(), et()]), ot(), tt()])]);
|
|
2988
2999
|
}
|
|
2989
|
-
}),
|
|
3000
|
+
}), _a = {
|
|
2990
3001
|
className: {
|
|
2991
3002
|
description: "样式",
|
|
2992
3003
|
title: "样式",
|
|
@@ -2997,7 +3008,7 @@ const Ra = /* @__PURE__ */ _({
|
|
|
2997
3008
|
title: "是否必填",
|
|
2998
3009
|
type: "boolean"
|
|
2999
3010
|
}
|
|
3000
|
-
},
|
|
3011
|
+
}, za = {
|
|
3001
3012
|
className: {
|
|
3002
3013
|
description: "样式",
|
|
3003
3014
|
title: "样式",
|
|
@@ -3023,7 +3034,7 @@ const Ra = /* @__PURE__ */ _({
|
|
|
3023
3034
|
title: "最小值",
|
|
3024
3035
|
type: "number"
|
|
3025
3036
|
}
|
|
3026
|
-
},
|
|
3037
|
+
}, Ua = {
|
|
3027
3038
|
className: {
|
|
3028
3039
|
description: "样式",
|
|
3029
3040
|
title: "样式",
|
|
@@ -3071,7 +3082,7 @@ const Ra = /* @__PURE__ */ _({
|
|
|
3071
3082
|
title: "枚举项",
|
|
3072
3083
|
type: "string"
|
|
3073
3084
|
}
|
|
3074
|
-
},
|
|
3085
|
+
}, Qa = {
|
|
3075
3086
|
className: {
|
|
3076
3087
|
description: "样式",
|
|
3077
3088
|
title: "样式",
|
|
@@ -3127,7 +3138,7 @@ const Ra = /* @__PURE__ */ _({
|
|
|
3127
3138
|
title: "面板宽度",
|
|
3128
3139
|
type: "number"
|
|
3129
3140
|
}
|
|
3130
|
-
},
|
|
3141
|
+
}, Ka = {
|
|
3131
3142
|
className: {
|
|
3132
3143
|
description: "样式",
|
|
3133
3144
|
title: "样式",
|
|
@@ -3148,7 +3159,7 @@ const Ra = /* @__PURE__ */ _({
|
|
|
3148
3159
|
title: "显示格式",
|
|
3149
3160
|
type: "string"
|
|
3150
3161
|
}
|
|
3151
|
-
},
|
|
3162
|
+
}, Xa = {
|
|
3152
3163
|
className: {
|
|
3153
3164
|
description: "样式",
|
|
3154
3165
|
title: "样式",
|
|
@@ -3169,7 +3180,7 @@ const Ra = /* @__PURE__ */ _({
|
|
|
3169
3180
|
title: "显示格式",
|
|
3170
3181
|
type: "string"
|
|
3171
3182
|
}
|
|
3172
|
-
},
|
|
3183
|
+
}, Ja = {
|
|
3173
3184
|
className: {
|
|
3174
3185
|
description: "样式",
|
|
3175
3186
|
title: "样式",
|
|
@@ -3191,7 +3202,7 @@ const Ra = /* @__PURE__ */ _({
|
|
|
3191
3202
|
type: "boolean"
|
|
3192
3203
|
}
|
|
3193
3204
|
}, we = {
|
|
3194
|
-
text:
|
|
3205
|
+
text: _a,
|
|
3195
3206
|
"single-number": {
|
|
3196
3207
|
className: {
|
|
3197
3208
|
description: "样式",
|
|
@@ -3219,9 +3230,9 @@ const Ra = /* @__PURE__ */ _({
|
|
|
3219
3230
|
type: "number"
|
|
3220
3231
|
}
|
|
3221
3232
|
},
|
|
3222
|
-
number:
|
|
3223
|
-
dropdown:
|
|
3224
|
-
help:
|
|
3233
|
+
number: za,
|
|
3234
|
+
dropdown: Ua,
|
|
3235
|
+
help: Qa,
|
|
3225
3236
|
"combolist-help": {
|
|
3226
3237
|
className: {
|
|
3227
3238
|
description: "样式",
|
|
@@ -3309,7 +3320,7 @@ const Ra = /* @__PURE__ */ _({
|
|
|
3309
3320
|
type: "boolean"
|
|
3310
3321
|
}
|
|
3311
3322
|
},
|
|
3312
|
-
date:
|
|
3323
|
+
date: Ka,
|
|
3313
3324
|
"single-date": {
|
|
3314
3325
|
className: {
|
|
3315
3326
|
description: "样式",
|
|
@@ -3376,7 +3387,7 @@ const Ra = /* @__PURE__ */ _({
|
|
|
3376
3387
|
type: "string"
|
|
3377
3388
|
}
|
|
3378
3389
|
},
|
|
3379
|
-
month:
|
|
3390
|
+
month: Xa,
|
|
3380
3391
|
"single-year": {
|
|
3381
3392
|
className: {
|
|
3382
3393
|
description: "样式",
|
|
@@ -3399,7 +3410,7 @@ const Ra = /* @__PURE__ */ _({
|
|
|
3399
3410
|
type: "string"
|
|
3400
3411
|
}
|
|
3401
3412
|
},
|
|
3402
|
-
radio:
|
|
3413
|
+
radio: Ja,
|
|
3403
3414
|
"input-group": {
|
|
3404
3415
|
className: {
|
|
3405
3416
|
description: "样式",
|
|
@@ -3413,7 +3424,7 @@ const Ra = /* @__PURE__ */ _({
|
|
|
3413
3424
|
}
|
|
3414
3425
|
}
|
|
3415
3426
|
};
|
|
3416
|
-
function
|
|
3427
|
+
function Za(e, t, n, o) {
|
|
3417
3428
|
const a = m(), s = m("query-solution-config"), f = m({}), g = m(), u = m(null);
|
|
3418
3429
|
H(n, (p) => {
|
|
3419
3430
|
if (p && p.controlType) {
|
|
@@ -3609,7 +3620,7 @@ function Ua(e, t, n, o) {
|
|
|
3609
3620
|
h.categories.control.properties = we[p], a.value.updatePropertyConfig(h, u.value);
|
|
3610
3621
|
});
|
|
3611
3622
|
function c() {
|
|
3612
|
-
return i(J, null, [i(
|
|
3623
|
+
return i(J, null, [i(Wa, {
|
|
3613
3624
|
propertyConfig: g.value,
|
|
3614
3625
|
ref: a,
|
|
3615
3626
|
propertyName: s.value,
|
|
@@ -3625,13 +3636,13 @@ function Ua(e, t, n, o) {
|
|
|
3625
3636
|
getBasicSchemaProerty: r
|
|
3626
3637
|
};
|
|
3627
3638
|
}
|
|
3628
|
-
const
|
|
3639
|
+
const Ya = /* @__PURE__ */ new Map([
|
|
3629
3640
|
["appearance", ee]
|
|
3630
3641
|
]);
|
|
3631
|
-
function
|
|
3642
|
+
function el(e, t, n) {
|
|
3632
3643
|
return t;
|
|
3633
3644
|
}
|
|
3634
|
-
const
|
|
3645
|
+
const tl = "transfer", nl = "A Farris Component", ol = "object", al = {
|
|
3635
3646
|
basic: {
|
|
3636
3647
|
description: "Basic Infomation",
|
|
3637
3648
|
title: "基本信息",
|
|
@@ -3653,12 +3664,12 @@ const Xa = "transfer", Ja = "A Farris Component", Za = "object", Ya = {
|
|
|
3653
3664
|
}
|
|
3654
3665
|
}
|
|
3655
3666
|
}
|
|
3656
|
-
},
|
|
3657
|
-
title:
|
|
3658
|
-
description:
|
|
3659
|
-
type:
|
|
3660
|
-
categories:
|
|
3661
|
-
},
|
|
3667
|
+
}, ll = {
|
|
3668
|
+
title: tl,
|
|
3669
|
+
description: nl,
|
|
3670
|
+
type: ol,
|
|
3671
|
+
categories: al
|
|
3672
|
+
}, il = "https://json-schema.org/draft/2020-12/schema", rl = "https://farris-design.gitee.io/transfer.schema.json", sl = "transfer", ul = "A Farris Component", cl = "object", dl = {
|
|
3662
3673
|
id: {
|
|
3663
3674
|
description: "The unique identifier for transfer",
|
|
3664
3675
|
type: "string"
|
|
@@ -3720,17 +3731,17 @@ const Xa = "transfer", Ja = "A Farris Component", Za = "object", Ya = {
|
|
|
3720
3731
|
type: "boolean",
|
|
3721
3732
|
default: !0
|
|
3722
3733
|
}
|
|
3723
|
-
},
|
|
3734
|
+
}, pl = [
|
|
3724
3735
|
"id",
|
|
3725
3736
|
"type"
|
|
3726
|
-
],
|
|
3727
|
-
$schema:
|
|
3728
|
-
$id:
|
|
3729
|
-
title:
|
|
3730
|
-
description:
|
|
3731
|
-
type:
|
|
3732
|
-
properties:
|
|
3733
|
-
required:
|
|
3737
|
+
], fl = {
|
|
3738
|
+
$schema: il,
|
|
3739
|
+
$id: rl,
|
|
3740
|
+
title: sl,
|
|
3741
|
+
description: ul,
|
|
3742
|
+
type: cl,
|
|
3743
|
+
properties: dl,
|
|
3744
|
+
required: pl
|
|
3734
3745
|
}, qe = {
|
|
3735
3746
|
dataSource: {
|
|
3736
3747
|
type: Array,
|
|
@@ -3744,14 +3755,14 @@ const Xa = "transfer", Ja = "A Farris Component", Za = "object", Ya = {
|
|
|
3744
3755
|
selections: { type: Array, default: [] },
|
|
3745
3756
|
selectionValues: { type: Array, default: [] }
|
|
3746
3757
|
};
|
|
3747
|
-
Z(qe,
|
|
3748
|
-
const
|
|
3758
|
+
Z(qe, fl, Ya, el, ll);
|
|
3759
|
+
const ml = /* @__PURE__ */ new Map([
|
|
3749
3760
|
["appearance", ee]
|
|
3750
3761
|
]);
|
|
3751
|
-
function
|
|
3762
|
+
function vl(e, t, n) {
|
|
3752
3763
|
return t;
|
|
3753
3764
|
}
|
|
3754
|
-
const
|
|
3765
|
+
const yl = "https://json-schema.org/draft/2020-12/schema", gl = "https://farris-design.gitee.io/list-view.schema.json", hl = "list-view", bl = "A Farris Component", Cl = "object", Tl = {
|
|
3755
3766
|
id: {
|
|
3756
3767
|
description: "The unique identifier for list-view",
|
|
3757
3768
|
type: "string"
|
|
@@ -3813,18 +3824,18 @@ const dl = "https://json-schema.org/draft/2020-12/schema", pl = "https://farris-
|
|
|
3813
3824
|
type: "boolean",
|
|
3814
3825
|
default: !0
|
|
3815
3826
|
}
|
|
3816
|
-
},
|
|
3827
|
+
}, Sl = [
|
|
3817
3828
|
"id",
|
|
3818
3829
|
"type"
|
|
3819
|
-
],
|
|
3820
|
-
$schema:
|
|
3821
|
-
$id:
|
|
3822
|
-
title:
|
|
3823
|
-
description:
|
|
3824
|
-
type:
|
|
3825
|
-
properties:
|
|
3826
|
-
required:
|
|
3827
|
-
},
|
|
3830
|
+
], Fl = {
|
|
3831
|
+
$schema: yl,
|
|
3832
|
+
$id: gl,
|
|
3833
|
+
title: hl,
|
|
3834
|
+
description: bl,
|
|
3835
|
+
type: Cl,
|
|
3836
|
+
properties: Tl,
|
|
3837
|
+
required: Sl
|
|
3838
|
+
}, wl = "list-view", xl = "A Farris Component", Bl = "object", kl = {
|
|
3828
3839
|
basic: {
|
|
3829
3840
|
description: "Basic Infomation",
|
|
3830
3841
|
title: "基本信息",
|
|
@@ -3846,11 +3857,11 @@ const dl = "https://json-schema.org/draft/2020-12/schema", pl = "https://farris-
|
|
|
3846
3857
|
}
|
|
3847
3858
|
}
|
|
3848
3859
|
}
|
|
3849
|
-
},
|
|
3850
|
-
title:
|
|
3851
|
-
description:
|
|
3852
|
-
type:
|
|
3853
|
-
categories:
|
|
3860
|
+
}, Pl = {
|
|
3861
|
+
title: wl,
|
|
3862
|
+
description: xl,
|
|
3863
|
+
type: Bl,
|
|
3864
|
+
categories: kl
|
|
3854
3865
|
}, Ge = {
|
|
3855
3866
|
/** 列集合 */
|
|
3856
3867
|
columns: {
|
|
@@ -3889,10 +3900,12 @@ const dl = "https://json-schema.org/draft/2020-12/schema", pl = "https://farris-
|
|
|
3889
3900
|
}
|
|
3890
3901
|
},
|
|
3891
3902
|
keepOrder: { type: Boolean, default: !1 },
|
|
3892
|
-
disableField: { type: String, default: "disabled" }
|
|
3903
|
+
disableField: { type: String, default: "disabled" },
|
|
3904
|
+
// 搜索启用高亮
|
|
3905
|
+
enableHighlightSearch: { type: Boolean, default: !0 }
|
|
3893
3906
|
};
|
|
3894
|
-
Z(Ge,
|
|
3895
|
-
function
|
|
3907
|
+
Z(Ge, Fl, ml, vl, Pl);
|
|
3908
|
+
function Il(e, t) {
|
|
3896
3909
|
function n(s) {
|
|
3897
3910
|
const f = [];
|
|
3898
3911
|
let g = s.nextNode();
|
|
@@ -3970,7 +3983,7 @@ function xe(e, t, n, o, a, s, f, g, u, r) {
|
|
|
3970
3983
|
renderItem: F
|
|
3971
3984
|
};
|
|
3972
3985
|
}
|
|
3973
|
-
function
|
|
3986
|
+
function Vl(e, t, n, o, a, s, f, g, u, r) {
|
|
3974
3987
|
const v = m(e.multiSelect), l = m(e.disableField), {
|
|
3975
3988
|
onMouseenterItem: d,
|
|
3976
3989
|
onMouseoverItem: c,
|
|
@@ -4017,7 +4030,7 @@ function xl(e, t, n, o, a, s, f, g, u, r) {
|
|
|
4017
4030
|
renderItem: T
|
|
4018
4031
|
};
|
|
4019
4032
|
}
|
|
4020
|
-
function
|
|
4033
|
+
function Ml(e, t, n, o, a, s, f, g, u, r) {
|
|
4021
4034
|
const v = m(e.multiSelect), l = m(e.disableField), {
|
|
4022
4035
|
onMouseenterItem: d,
|
|
4023
4036
|
onMouseoverItem: c,
|
|
@@ -4046,7 +4059,7 @@ function Bl(e, t, n, o, a, s, f, g, u, r) {
|
|
|
4046
4059
|
return t.slots.itemContent ? t.slots.itemContent : b;
|
|
4047
4060
|
}
|
|
4048
4061
|
const M = R();
|
|
4049
|
-
function N(k, q,
|
|
4062
|
+
function N(k, q, _) {
|
|
4050
4063
|
return i("li", {
|
|
4051
4064
|
class: h(k, q),
|
|
4052
4065
|
id: y(k, q),
|
|
@@ -4089,7 +4102,7 @@ function Bl(e, t, n, o, a, s, f, g, u, r) {
|
|
|
4089
4102
|
renderItem: N
|
|
4090
4103
|
};
|
|
4091
4104
|
}
|
|
4092
|
-
function
|
|
4105
|
+
function El(e, t, n, o, a, s, f, g, u, r) {
|
|
4093
4106
|
var y;
|
|
4094
4107
|
const v = m(((y = e.group) == null ? void 0 : y.groupFields) || []), {
|
|
4095
4108
|
collpaseGroupIconClass: l
|
|
@@ -4115,7 +4128,7 @@ function kl(e, t, n, o, a, s, f, g, u, r) {
|
|
|
4115
4128
|
renderItem: p
|
|
4116
4129
|
};
|
|
4117
4130
|
}
|
|
4118
|
-
function
|
|
4131
|
+
function $l() {
|
|
4119
4132
|
const e = m(-1), t = m(""), n = m(-1), o = m(!1);
|
|
4120
4133
|
function a(r, v, l) {
|
|
4121
4134
|
n.value = l;
|
|
@@ -4143,7 +4156,7 @@ function Pl() {
|
|
|
4143
4156
|
suspendHover: g
|
|
4144
4157
|
};
|
|
4145
4158
|
}
|
|
4146
|
-
function
|
|
4159
|
+
function Ol(e, t, n, o) {
|
|
4147
4160
|
const a = m(e.idField), { dataView: s } = n, f = m(-1), g = m(!1), { activeIndex: u, focusedItemId: r, hoverIndex: v, resumeHover: l, suspendHover: d } = o;
|
|
4148
4161
|
function c(P, I, C) {
|
|
4149
4162
|
P.stopPropagation(), d(), I && setTimeout(() => {
|
|
@@ -4172,7 +4185,7 @@ function Il(e, t, n, o) {
|
|
|
4172
4185
|
isDragging: g
|
|
4173
4186
|
};
|
|
4174
4187
|
}
|
|
4175
|
-
function
|
|
4188
|
+
function Dl(e, t, n) {
|
|
4176
4189
|
const { dataView: o } = n;
|
|
4177
4190
|
function a(s) {
|
|
4178
4191
|
if (s > -1 && s < o.value.length) {
|
|
@@ -4182,7 +4195,7 @@ function Vl(e, t, n) {
|
|
|
4182
4195
|
}
|
|
4183
4196
|
return { removeItem: a };
|
|
4184
4197
|
}
|
|
4185
|
-
function
|
|
4198
|
+
function Rl(e, t, n, o, a, s) {
|
|
4186
4199
|
const f = m(e.idField), g = m(e.disableField), u = m(e.draggable), r = m(e.itemClass), v = m(e.selection.multiSelect ?? !1), l = m(e.selection.multiSelectMode);
|
|
4187
4200
|
m(!0);
|
|
4188
4201
|
const { isDragging: d } = o, { activeIndex: c, focusedItemId: p, hoverIndex: y } = a, { clearSelection: h, getSelectedItems: P, toggleSelectItem: I } = s, C = m(P());
|
|
@@ -4196,7 +4209,7 @@ function Ml(e, t, n, o, a, s) {
|
|
|
4196
4209
|
"f-listview-hover": !d.value && N === y.value,
|
|
4197
4210
|
moving: !!M.moving
|
|
4198
4211
|
};
|
|
4199
|
-
return r.value.split(" ").reduce((
|
|
4212
|
+
return r.value.split(" ").reduce((_, G) => (_[G] = !0, _), k), k;
|
|
4200
4213
|
}
|
|
4201
4214
|
function S(M, N) {
|
|
4202
4215
|
return M.raw[f.value] || "";
|
|
@@ -4220,20 +4233,20 @@ function Ml(e, t, n, o, a, s) {
|
|
|
4220
4233
|
onClickItem: R
|
|
4221
4234
|
};
|
|
4222
4235
|
}
|
|
4223
|
-
function
|
|
4224
|
-
const g = m(e.view), u = m(e.view === "CardView"), r = m({}), v = m("暂无数据"), l =
|
|
4236
|
+
function jl(e, t, n, o, a, s, f) {
|
|
4237
|
+
const g = m(e.view), u = m(e.view === "CardView"), r = m({}), v = m("暂无数据"), l = $l(), d = Ol(e, t, o, l), c = Dl(e, t, o), p = Rl(e, t, n, d, l, s), y = B(() => ({
|
|
4225
4238
|
"f-list-view-group": !0,
|
|
4226
4239
|
"d-flex": u.value,
|
|
4227
4240
|
"flex-wrap": u.value
|
|
4228
4241
|
})), h = B(() => !!n.value && n.value.length > 0), P = B(() => n.value.length === 0), I = B(() => P.value && !t.slots.empty);
|
|
4229
4242
|
function C() {
|
|
4230
|
-
return g.value === "SingleView" ? xe : g.value === "DraggableView" ?
|
|
4243
|
+
return g.value === "SingleView" ? xe : g.value === "DraggableView" ? Ml : (g.value === "ContentView" || g.value === "CardView") && t.slots.content ? Vl : xe;
|
|
4231
4244
|
}
|
|
4232
4245
|
const T = C(), {
|
|
4233
4246
|
renderItem: S
|
|
4234
4247
|
} = T(e, t, n, d, a, l, p, s, c, f), {
|
|
4235
4248
|
renderItem: w
|
|
4236
|
-
} =
|
|
4249
|
+
} = El(e, t, n, d, a, l, p, s, c, f), F = [S, w];
|
|
4237
4250
|
function x() {
|
|
4238
4251
|
return n.value.filter((M) => M.visible !== !1).map((M, N) => F[M.type](M, N, r));
|
|
4239
4252
|
}
|
|
@@ -4254,7 +4267,7 @@ function El(e, t, n, o, a, s, f) {
|
|
|
4254
4267
|
renderListArea: R
|
|
4255
4268
|
};
|
|
4256
4269
|
}
|
|
4257
|
-
function
|
|
4270
|
+
function Ll(e, t, n) {
|
|
4258
4271
|
function o() {
|
|
4259
4272
|
return t.slots.header && i("div", {
|
|
4260
4273
|
class: "f-list-view-header"
|
|
@@ -4270,7 +4283,7 @@ function Be(e, t, n) {
|
|
|
4270
4283
|
s.value = "";
|
|
4271
4284
|
}
|
|
4272
4285
|
H(s, (d) => {
|
|
4273
|
-
n.search(d);
|
|
4286
|
+
e.enableHighlightSearch && n.search(d), t.emit("afterSearch", d);
|
|
4274
4287
|
});
|
|
4275
4288
|
const r = B(() => {
|
|
4276
4289
|
const d = {
|
|
@@ -4284,7 +4297,7 @@ function Be(e, t, n) {
|
|
|
4284
4297
|
function l() {
|
|
4285
4298
|
return i("div", {
|
|
4286
4299
|
class: "f-list-view-header",
|
|
4287
|
-
onClick:
|
|
4300
|
+
onClick: pt(() => v, ["prevent", "stop"])
|
|
4288
4301
|
}, [i("div", {
|
|
4289
4302
|
class: r.value
|
|
4290
4303
|
}, [i("div", {
|
|
@@ -4300,7 +4313,7 @@ function Be(e, t, n) {
|
|
|
4300
4313
|
type: "text",
|
|
4301
4314
|
placeholder: a.value,
|
|
4302
4315
|
autocomplete: "off"
|
|
4303
|
-
}, null), [[
|
|
4316
|
+
}, null), [[ft, s.value]]), i("div", {
|
|
4304
4317
|
class: "input-group-append"
|
|
4305
4318
|
}, [g.value && i("span", {
|
|
4306
4319
|
class: "input-group-text input-group-clear",
|
|
@@ -4317,42 +4330,42 @@ function Be(e, t, n) {
|
|
|
4317
4330
|
renderHeader: l
|
|
4318
4331
|
};
|
|
4319
4332
|
}
|
|
4320
|
-
const ke = /* @__PURE__ */
|
|
4333
|
+
const ke = /* @__PURE__ */ z({
|
|
4321
4334
|
name: "FListView",
|
|
4322
4335
|
props: Ge,
|
|
4323
|
-
emits: ["checkValuesChange", "clickItem", "selectionChange", "removeItem", "change", "activeChange"],
|
|
4336
|
+
emits: ["afterSearch", "checkValuesChange", "clickItem", "selectionChange", "removeItem", "change", "activeChange"],
|
|
4324
4337
|
setup(e, t) {
|
|
4325
|
-
const n = m(), o = m(!0), a = m(!1), s = m([]), f = 0, g = m(e.columns), u =
|
|
4338
|
+
const n = m(), o = m(!0), a = m(!1), s = m([]), f = 0, g = m(e.columns), u = kn(e), r = Pn(e), v = In(e, u), l = Vn(e), d = Mn(e, /* @__PURE__ */ new Map(), r, u, l), c = En(e, d, u, s, t), p = Il(e, n), y = B(() => d.dataView.value.length), h = $n(e, u), P = On(), I = Dn(e, {}, P), C = Rn(e, h, r, u, P, I), T = jn(e, u, I, C), S = Ln(e, u, I, C), w = An(e, g, d, y, f, C, T, S), {
|
|
4326
4339
|
getVisualData: F
|
|
4327
4340
|
} = w;
|
|
4328
4341
|
s.value = F(0, y.value + f - 1);
|
|
4329
4342
|
const x = B(() => {
|
|
4330
|
-
const
|
|
4343
|
+
const U = {
|
|
4331
4344
|
"f-list-view": !0,
|
|
4332
4345
|
"f-list-view-multiple": e.multiSelect
|
|
4333
4346
|
};
|
|
4334
|
-
return e.size !== "default" && (
|
|
4347
|
+
return e.size !== "default" && (U[`${e.size}-item`] = !0), U;
|
|
4335
4348
|
}), b = B(() => !!t.slots.footer || o.value);
|
|
4336
4349
|
function R() {
|
|
4337
|
-
return e.header === "SearchBar" ? Be : e.header === "ContentHeader" ?
|
|
4350
|
+
return e.header === "SearchBar" ? Be : e.header === "ContentHeader" ? Ll : Be;
|
|
4338
4351
|
}
|
|
4339
4352
|
const M = R(), {
|
|
4340
4353
|
renderHeader: N
|
|
4341
4354
|
} = M(e, t, p), {
|
|
4342
4355
|
renderListArea: k
|
|
4343
|
-
} =
|
|
4344
|
-
function q(
|
|
4345
|
-
p.search(
|
|
4356
|
+
} = jl(e, t, s, d, v, c, w);
|
|
4357
|
+
function q(U) {
|
|
4358
|
+
p.search(U);
|
|
4346
4359
|
}
|
|
4347
|
-
function U
|
|
4348
|
-
|
|
4360
|
+
function _(U) {
|
|
4361
|
+
U && (d.load(U), s.value = F(0, y.value + f - 1));
|
|
4349
4362
|
}
|
|
4350
4363
|
t.expose({
|
|
4351
4364
|
search: q,
|
|
4352
|
-
updateDataSource:
|
|
4365
|
+
updateDataSource: _
|
|
4353
4366
|
});
|
|
4354
|
-
function G(
|
|
4355
|
-
e.multiSelect && (
|
|
4367
|
+
function G(U) {
|
|
4368
|
+
e.multiSelect && (U.preventDefault(), U.stopPropagation());
|
|
4356
4369
|
}
|
|
4357
4370
|
return () => i("div", {
|
|
4358
4371
|
class: x.value,
|
|
@@ -4370,7 +4383,7 @@ const ke = /* @__PURE__ */ _({
|
|
|
4370
4383
|
class: "f-list-view-footer"
|
|
4371
4384
|
}, [t.slots.footer && t.slots.footer()])]);
|
|
4372
4385
|
}
|
|
4373
|
-
}),
|
|
4386
|
+
}), Al = /* @__PURE__ */ z({
|
|
4374
4387
|
name: "FTransfer",
|
|
4375
4388
|
props: qe,
|
|
4376
4389
|
emits: ["change", "activeChange"],
|
|
@@ -4482,7 +4495,7 @@ const ke = /* @__PURE__ */ _({
|
|
|
4482
4495
|
style: "height:480px"
|
|
4483
4496
|
}, [I(), F()]);
|
|
4484
4497
|
}
|
|
4485
|
-
}),
|
|
4498
|
+
}), Nl = [
|
|
4486
4499
|
{ id: "text", name: "文本", controlType: "text" },
|
|
4487
4500
|
{ id: "single-number", name: "数值", controlType: "single-number" },
|
|
4488
4501
|
{ id: "number", name: "数值区间", controlType: "number" },
|
|
@@ -4498,7 +4511,7 @@ const ke = /* @__PURE__ */ _({
|
|
|
4498
4511
|
{ id: "radio", name: "单选", controlType: "radio" },
|
|
4499
4512
|
{ id: "input-group", name: "富文本", controlType: "input-group" }
|
|
4500
4513
|
];
|
|
4501
|
-
function
|
|
4514
|
+
function ql(e, t, n, o, a) {
|
|
4502
4515
|
const s = m(!1), f = m(), g = m([]), u = m([]), r = m([]), {
|
|
4503
4516
|
getExtendSchemaProerty: v,
|
|
4504
4517
|
getBasicSchemaProerty: l
|
|
@@ -4510,7 +4523,7 @@ function Rl(e, t, n, o, a) {
|
|
|
4510
4523
|
u.value = C;
|
|
4511
4524
|
}
|
|
4512
4525
|
function p() {
|
|
4513
|
-
return
|
|
4526
|
+
return Nl;
|
|
4514
4527
|
}
|
|
4515
4528
|
function y() {
|
|
4516
4529
|
r.value = p();
|
|
@@ -4558,7 +4571,7 @@ function Rl(e, t, n, o, a) {
|
|
|
4558
4571
|
u.value = Q(g.value);
|
|
4559
4572
|
}
|
|
4560
4573
|
function I() {
|
|
4561
|
-
return s.value ? i(
|
|
4574
|
+
return s.value ? i(Al, {
|
|
4562
4575
|
selections: u.value,
|
|
4563
4576
|
"data-source": r.value,
|
|
4564
4577
|
class: "query-solution-config-transfer",
|
|
@@ -4574,13 +4587,13 @@ function Rl(e, t, n, o, a) {
|
|
|
4574
4587
|
cancel: P
|
|
4575
4588
|
};
|
|
4576
4589
|
}
|
|
4577
|
-
const
|
|
4578
|
-
["appearance",
|
|
4590
|
+
const Gl = /* @__PURE__ */ new Map([
|
|
4591
|
+
["appearance", Nn]
|
|
4579
4592
|
]);
|
|
4580
|
-
function
|
|
4593
|
+
function Hl(e, t, n) {
|
|
4581
4594
|
return t;
|
|
4582
4595
|
}
|
|
4583
|
-
const
|
|
4596
|
+
const Wl = "https://json-schema.org/draft/2020-12/schema", _l = "https://farris-design.gitee.io/button-edit.schema.json", zl = "button-edit", Ul = "A Farris Input Component", Ql = "object", Kl = {
|
|
4584
4597
|
id: {
|
|
4585
4598
|
description: "The unique identifier for a Input Group",
|
|
4586
4599
|
type: "string"
|
|
@@ -4764,18 +4777,18 @@ const Al = "https://json-schema.org/draft/2020-12/schema", Nl = "https://farris-
|
|
|
4764
4777
|
type: "string",
|
|
4765
4778
|
default: ""
|
|
4766
4779
|
}
|
|
4767
|
-
},
|
|
4780
|
+
}, Xl = [
|
|
4768
4781
|
"id",
|
|
4769
4782
|
"type"
|
|
4770
|
-
],
|
|
4771
|
-
$schema:
|
|
4772
|
-
$id:
|
|
4773
|
-
title:
|
|
4774
|
-
description:
|
|
4775
|
-
type:
|
|
4776
|
-
properties:
|
|
4777
|
-
required:
|
|
4778
|
-
},
|
|
4783
|
+
], Jl = {
|
|
4784
|
+
$schema: Wl,
|
|
4785
|
+
$id: _l,
|
|
4786
|
+
title: zl,
|
|
4787
|
+
description: Ul,
|
|
4788
|
+
type: Ql,
|
|
4789
|
+
properties: Kl,
|
|
4790
|
+
required: Xl
|
|
4791
|
+
}, Zl = "buttonEdit", Yl = "A Farris Component", ei = "object", ti = {
|
|
4779
4792
|
basic: {
|
|
4780
4793
|
description: "Basic Infomation",
|
|
4781
4794
|
title: "基本信息",
|
|
@@ -4857,11 +4870,11 @@ const Al = "https://json-schema.org/draft/2020-12/schema", Nl = "https://farris-
|
|
|
4857
4870
|
}
|
|
4858
4871
|
}
|
|
4859
4872
|
}
|
|
4860
|
-
},
|
|
4861
|
-
title:
|
|
4862
|
-
description:
|
|
4863
|
-
type:
|
|
4864
|
-
categories:
|
|
4873
|
+
}, ni = {
|
|
4874
|
+
title: Zl,
|
|
4875
|
+
description: Yl,
|
|
4876
|
+
type: ei,
|
|
4877
|
+
categories: ti
|
|
4865
4878
|
}, He = {
|
|
4866
4879
|
/**
|
|
4867
4880
|
* 组件标识
|
|
@@ -4969,14 +4982,14 @@ const Al = "https://json-schema.org/draft/2020-12/schema", Nl = "https://farris-
|
|
|
4969
4982
|
*/
|
|
4970
4983
|
beforeOpen: { type: Function, default: null }
|
|
4971
4984
|
};
|
|
4972
|
-
Z(He,
|
|
4973
|
-
const
|
|
4985
|
+
Z(He, Jl, Gl, Hl, ni);
|
|
4986
|
+
const oi = {
|
|
4974
4987
|
popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
|
|
4975
4988
|
host: { type: Object },
|
|
4976
4989
|
backgroundColor: { type: String, default: "" }
|
|
4977
|
-
},
|
|
4990
|
+
}, ai = /* @__PURE__ */ z({
|
|
4978
4991
|
name: "FOverlay",
|
|
4979
|
-
props:
|
|
4992
|
+
props: oi,
|
|
4980
4993
|
emits: ["click"],
|
|
4981
4994
|
setup(e, t) {
|
|
4982
4995
|
const n = m(e.popupContentPosition), o = m(e.host), a = B(() => ({
|
|
@@ -5006,7 +5019,7 @@ const Zl = {
|
|
|
5006
5019
|
// left: `${position.value.left}px`,
|
|
5007
5020
|
// top: `${position.value.top}px`
|
|
5008
5021
|
}));
|
|
5009
|
-
return () => i(
|
|
5022
|
+
return () => i(mt, {
|
|
5010
5023
|
to: "body"
|
|
5011
5024
|
}, {
|
|
5012
5025
|
default: () => {
|
|
@@ -5022,13 +5035,13 @@ const Zl = {
|
|
|
5022
5035
|
});
|
|
5023
5036
|
}
|
|
5024
5037
|
});
|
|
5025
|
-
function
|
|
5038
|
+
function li(e) {
|
|
5026
5039
|
if (e.content && e.content.render)
|
|
5027
5040
|
return e.content.render;
|
|
5028
5041
|
if (e.render && typeof e.render == "function")
|
|
5029
5042
|
return e.render;
|
|
5030
5043
|
}
|
|
5031
|
-
function
|
|
5044
|
+
function ii(e) {
|
|
5032
5045
|
const t = document.createElement("div");
|
|
5033
5046
|
t.style.display = "contents";
|
|
5034
5047
|
let n;
|
|
@@ -5036,13 +5049,13 @@ function ti(e) {
|
|
|
5036
5049
|
}), a = () => {
|
|
5037
5050
|
o(), n && n.unmount();
|
|
5038
5051
|
};
|
|
5039
|
-
return n =
|
|
5052
|
+
return n = vt({
|
|
5040
5053
|
setup() {
|
|
5041
|
-
|
|
5054
|
+
yt(() => {
|
|
5042
5055
|
document.body.removeChild(t);
|
|
5043
5056
|
});
|
|
5044
|
-
const s =
|
|
5045
|
-
return () => i(
|
|
5057
|
+
const s = li(e);
|
|
5058
|
+
return () => i(ai, {
|
|
5046
5059
|
"popup-content-position": e.popupPosition,
|
|
5047
5060
|
host: e.host,
|
|
5048
5061
|
onClick: a,
|
|
@@ -5053,12 +5066,12 @@ function ti(e) {
|
|
|
5053
5066
|
}
|
|
5054
5067
|
}), document.body.appendChild(t), n.mount(t), n;
|
|
5055
5068
|
}
|
|
5056
|
-
class
|
|
5069
|
+
class ri {
|
|
5057
5070
|
static show(t) {
|
|
5058
|
-
return
|
|
5071
|
+
return ii(t);
|
|
5059
5072
|
}
|
|
5060
5073
|
}
|
|
5061
|
-
const
|
|
5074
|
+
const si = Symbol("FModalService");
|
|
5062
5075
|
function We(e, t) {
|
|
5063
5076
|
function n() {
|
|
5064
5077
|
const o = e.beforeOpen || e.beforeClickButton || null;
|
|
@@ -5073,11 +5086,11 @@ function We(e, t) {
|
|
|
5073
5086
|
}
|
|
5074
5087
|
return { judgeCanOpen: n };
|
|
5075
5088
|
}
|
|
5076
|
-
function
|
|
5089
|
+
function ui(e, t, n, o, a) {
|
|
5077
5090
|
const s = m(e.buttonBehavior), f = m(e.popupOnInput), g = B(() => ({
|
|
5078
5091
|
"input-group-append": !0,
|
|
5079
5092
|
"append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
|
|
5080
|
-
})), { judgeCanOpen: u } = We(e, a), r = B(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), v = de(
|
|
5093
|
+
})), { judgeCanOpen: u } = We(e, a), r = B(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), v = de(si, null), l = m();
|
|
5081
5094
|
async function d(y) {
|
|
5082
5095
|
if (await u() && r.value) {
|
|
5083
5096
|
const h = !!t.slots.default;
|
|
@@ -5088,7 +5101,7 @@ function ai(e, t, n, o, a) {
|
|
|
5088
5101
|
});
|
|
5089
5102
|
l.value = I == null ? void 0 : I.modalRef;
|
|
5090
5103
|
}
|
|
5091
|
-
s.value === "Overlay" &&
|
|
5104
|
+
s.value === "Overlay" && ri.show({
|
|
5092
5105
|
// host: buttonEditRef.value,
|
|
5093
5106
|
host: document.body,
|
|
5094
5107
|
backgroundColor: "rgba(0,0,0,.15)",
|
|
@@ -5110,7 +5123,7 @@ function ai(e, t, n, o, a) {
|
|
|
5110
5123
|
modalRef: l
|
|
5111
5124
|
};
|
|
5112
5125
|
}
|
|
5113
|
-
function
|
|
5126
|
+
function ci(e, t, n, o, a, s) {
|
|
5114
5127
|
const f = m(!1), g = B(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: u } = s;
|
|
5115
5128
|
function r(c) {
|
|
5116
5129
|
f.value = c;
|
|
@@ -5142,7 +5155,7 @@ function li(e, t, n, o, a, s) {
|
|
|
5142
5155
|
onMouseLeaveTextBox: d
|
|
5143
5156
|
};
|
|
5144
5157
|
}
|
|
5145
|
-
function
|
|
5158
|
+
function di(e, t, n, o, a) {
|
|
5146
5159
|
const s = B(() => e.popupOnInput), f = B(() => e.popupOnFocus), { shouldPopupContent: g } = a, u = B(() => e.enableTitle ? n.value : ""), r = B(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), v = B(() => e.readonly || !e.editable), l = m(!1), d = B(() => !e.disable && l.value), c = B(() => ({
|
|
5147
5160
|
"text-left": e.textAlign === "left",
|
|
5148
5161
|
"text-center": e.textAlign === "center",
|
|
@@ -5214,7 +5227,7 @@ function ii(e, t, n, o, a) {
|
|
|
5214
5227
|
onTextBoxValueChange: x
|
|
5215
5228
|
};
|
|
5216
5229
|
}
|
|
5217
|
-
function
|
|
5230
|
+
function pi(e, t, n, o) {
|
|
5218
5231
|
const a = m(), s = m(!1), { judgeCanOpen: f } = We(e, o);
|
|
5219
5232
|
function g() {
|
|
5220
5233
|
const l = a.value;
|
|
@@ -5239,7 +5252,7 @@ function ri(e, t, n, o) {
|
|
|
5239
5252
|
}
|
|
5240
5253
|
return { hidePopup: v, popup: r, shouldPopupContent: s, togglePopup: u, popoverRef: a };
|
|
5241
5254
|
}
|
|
5242
|
-
function
|
|
5255
|
+
function fi(e, t, n) {
|
|
5243
5256
|
const o = m(), {
|
|
5244
5257
|
isTextBoxReadonly: a,
|
|
5245
5258
|
textBoxClass: s,
|
|
@@ -5281,7 +5294,7 @@ function si(e, t, n) {
|
|
|
5281
5294
|
onMousedown: p
|
|
5282
5295
|
}, null);
|
|
5283
5296
|
}
|
|
5284
|
-
function
|
|
5297
|
+
function mi(e, t, n) {
|
|
5285
5298
|
const o = m(e.separator), {
|
|
5286
5299
|
changeTextBoxValue: a
|
|
5287
5300
|
} = n, s = B(() => t.value ? t.value.split(o.value).map((g) => ({
|
|
@@ -5300,7 +5313,7 @@ function ui(e, t, n) {
|
|
|
5300
5313
|
onChange: f
|
|
5301
5314
|
}, null);
|
|
5302
5315
|
}
|
|
5303
|
-
function
|
|
5316
|
+
function vi(e, t, n, o) {
|
|
5304
5317
|
const {
|
|
5305
5318
|
buttonGroupClass: a,
|
|
5306
5319
|
onClickButton: s,
|
|
@@ -5320,7 +5333,7 @@ function ci(e, t, n, o) {
|
|
|
5320
5333
|
onClick: v
|
|
5321
5334
|
}, [i("i", {
|
|
5322
5335
|
class: "f-icon modal_close"
|
|
5323
|
-
}, null)]), [[
|
|
5336
|
+
}, null)]), [[gt, r.value]]), t.slots.buttonContent ? i("span", {
|
|
5324
5337
|
class: "input-group-text input-group-append-button",
|
|
5325
5338
|
onClick: s,
|
|
5326
5339
|
onMouseenter: f,
|
|
@@ -5336,12 +5349,12 @@ function ci(e, t, n, o) {
|
|
|
5336
5349
|
buttonHandleElement: l
|
|
5337
5350
|
};
|
|
5338
5351
|
}
|
|
5339
|
-
function
|
|
5352
|
+
function yi(e, t, n) {
|
|
5340
5353
|
const o = m(e.popupMinWidth), {
|
|
5341
5354
|
hidePopup: a,
|
|
5342
5355
|
popoverRef: s
|
|
5343
5356
|
} = n;
|
|
5344
|
-
return () => i(
|
|
5357
|
+
return () => i(qn, {
|
|
5345
5358
|
id: `${e.id}-popover`,
|
|
5346
5359
|
ref: s,
|
|
5347
5360
|
visible: !0,
|
|
@@ -5360,20 +5373,20 @@ function di(e, t, n) {
|
|
|
5360
5373
|
}
|
|
5361
5374
|
});
|
|
5362
5375
|
}
|
|
5363
|
-
const
|
|
5376
|
+
const gi = /* @__PURE__ */ z({
|
|
5364
5377
|
name: "FButtonEdit",
|
|
5365
5378
|
props: He,
|
|
5366
5379
|
emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue"],
|
|
5367
5380
|
setup(e, t) {
|
|
5368
|
-
const n = m(), o = m(e.customClass), a = m(e.modelValue), s =
|
|
5381
|
+
const n = m(), o = m(e.customClass), a = m(e.modelValue), s = pi(e, t, n, a), {
|
|
5369
5382
|
shouldPopupContent: f,
|
|
5370
5383
|
hidePopup: g,
|
|
5371
5384
|
togglePopup: u
|
|
5372
|
-
} = s, r =
|
|
5385
|
+
} = s, r = ui(e, t, n, s, a), v = m(""), l = di(e, t, a, v, s), {
|
|
5373
5386
|
hasFocusedTextBox: d,
|
|
5374
5387
|
commitValue: c,
|
|
5375
5388
|
inputGroupClass: p
|
|
5376
|
-
} = l, y =
|
|
5389
|
+
} = l, y = ci(e, t, a, d, v, l), {
|
|
5377
5390
|
onMouseEnterTextBox: h,
|
|
5378
5391
|
onMouseLeaveTextBox: P
|
|
5379
5392
|
} = y, I = B(() => {
|
|
@@ -5385,7 +5398,7 @@ const pi = /* @__PURE__ */ _({
|
|
|
5385
5398
|
return o.value && o.value.split(" ").reduce((R, M) => (R[M] = !0, R), b), b;
|
|
5386
5399
|
});
|
|
5387
5400
|
function C() {
|
|
5388
|
-
return e.multiSelect && e.inputType === "tag" ?
|
|
5401
|
+
return e.multiSelect && e.inputType === "tag" ? mi(e, a, l) : fi(e, a, l);
|
|
5389
5402
|
}
|
|
5390
5403
|
let T = C();
|
|
5391
5404
|
H([() => e.multiSelect, () => e.inputType], () => {
|
|
@@ -5394,7 +5407,7 @@ const pi = /* @__PURE__ */ _({
|
|
|
5394
5407
|
const {
|
|
5395
5408
|
renderButtonGroup: S,
|
|
5396
5409
|
buttonHandleElement: w
|
|
5397
|
-
} =
|
|
5410
|
+
} = vi(e, t, r, y), F = yi(e, t, s), x = {
|
|
5398
5411
|
commitValue: c,
|
|
5399
5412
|
elementRef: n,
|
|
5400
5413
|
hidePopup: g,
|
|
@@ -5423,12 +5436,12 @@ const pi = /* @__PURE__ */ _({
|
|
|
5423
5436
|
onMouseleave: P
|
|
5424
5437
|
}, [T(), S()])]), f.value && F()]);
|
|
5425
5438
|
}
|
|
5426
|
-
}),
|
|
5439
|
+
}), hi = /* @__PURE__ */ z({
|
|
5427
5440
|
name: "FQuerySolutionConfig",
|
|
5428
5441
|
props: Le,
|
|
5429
5442
|
emits: ["update:modelValue"],
|
|
5430
5443
|
setup(e, t) {
|
|
5431
|
-
const n = m(null), o = B(() => "共" + e.modelValue.length + "项"), a = m(), s =
|
|
5444
|
+
const n = m(null), o = B(() => "共" + e.modelValue.length + "项"), a = m(), s = Za(e, t, n, a), {
|
|
5432
5445
|
renderPanel: f
|
|
5433
5446
|
} = s, {
|
|
5434
5447
|
renderTransfer: g,
|
|
@@ -5436,7 +5449,7 @@ const pi = /* @__PURE__ */ _({
|
|
|
5436
5449
|
confirm: r,
|
|
5437
5450
|
cancel: v,
|
|
5438
5451
|
selectPanels: l
|
|
5439
|
-
} =
|
|
5452
|
+
} = ql(e, t, n, a, s), d = {
|
|
5440
5453
|
fitContent: !1,
|
|
5441
5454
|
width: 900,
|
|
5442
5455
|
height: 600,
|
|
@@ -5455,7 +5468,7 @@ const pi = /* @__PURE__ */ _({
|
|
|
5455
5468
|
}
|
|
5456
5469
|
return K(() => {
|
|
5457
5470
|
u();
|
|
5458
|
-
}), () => i(
|
|
5471
|
+
}), () => i(gi, {
|
|
5459
5472
|
id: e.id,
|
|
5460
5473
|
"button-behavior": "Modal",
|
|
5461
5474
|
"modal-options": d,
|
|
@@ -5467,18 +5480,18 @@ const pi = /* @__PURE__ */ _({
|
|
|
5467
5480
|
}, [y()])]
|
|
5468
5481
|
});
|
|
5469
5482
|
}
|
|
5470
|
-
}),
|
|
5483
|
+
}), bi = "https://json-schema.org/draft/2020-12/schema", Ci = "https://farris-design.gitee.io/filter-bar-config.schema.json", Ti = "filter-bar-config", Si = "A Farris Container Component", Fi = {
|
|
5471
5484
|
fields: {
|
|
5472
5485
|
description: "The unique identifier for a query solution",
|
|
5473
5486
|
type: "array"
|
|
5474
5487
|
}
|
|
5475
|
-
},
|
|
5476
|
-
$schema:
|
|
5477
|
-
$id:
|
|
5478
|
-
title:
|
|
5479
|
-
description:
|
|
5480
|
-
properties:
|
|
5481
|
-
},
|
|
5488
|
+
}, wi = {
|
|
5489
|
+
$schema: bi,
|
|
5490
|
+
$id: Ci,
|
|
5491
|
+
title: Ti,
|
|
5492
|
+
description: Si,
|
|
5493
|
+
properties: Fi
|
|
5494
|
+
}, xi = "filter-bar-config", Bi = "A Farris Component", ki = "object", Pi = {
|
|
5482
5495
|
basic: {
|
|
5483
5496
|
description: "Basic Infomation",
|
|
5484
5497
|
title: "基本信息",
|
|
@@ -5562,35 +5575,35 @@ const pi = /* @__PURE__ */ _({
|
|
|
5562
5575
|
title: "控件",
|
|
5563
5576
|
properties: {}
|
|
5564
5577
|
}
|
|
5565
|
-
},
|
|
5566
|
-
title:
|
|
5567
|
-
description:
|
|
5568
|
-
type:
|
|
5569
|
-
categories:
|
|
5570
|
-
},
|
|
5578
|
+
}, Ii = {
|
|
5579
|
+
title: xi,
|
|
5580
|
+
description: Bi,
|
|
5581
|
+
type: ki,
|
|
5582
|
+
categories: Pi
|
|
5583
|
+
}, Vi = /* @__PURE__ */ new Map([
|
|
5571
5584
|
["appearance", ee]
|
|
5572
5585
|
// ['preset', resolvePreset]
|
|
5573
5586
|
]);
|
|
5574
|
-
function
|
|
5587
|
+
function Mi(e, t, n) {
|
|
5575
5588
|
return t;
|
|
5576
5589
|
}
|
|
5577
|
-
const
|
|
5590
|
+
const Ei = {
|
|
5578
5591
|
fields: { type: Array, default: [] },
|
|
5579
5592
|
modelValue: { type: Array, default: [] }
|
|
5580
|
-
},
|
|
5593
|
+
}, $i = Z(Ei, wi, Vi, Mi, Ii), zr = {
|
|
5581
5594
|
install(e) {
|
|
5582
5595
|
e.component(re.name, re);
|
|
5583
5596
|
},
|
|
5584
5597
|
register(e, t, n, o) {
|
|
5585
|
-
e["filter-bar"] = re, t["filter-bar"] = Te, e["filter-bar-config"] =
|
|
5598
|
+
e["filter-bar"] = re, t["filter-bar"] = Te, e["filter-bar-config"] = hi, t["filter-bar-config"] = $i;
|
|
5586
5599
|
},
|
|
5587
5600
|
registerDesigner(e, t, n) {
|
|
5588
|
-
e["filter-bar"] =
|
|
5601
|
+
e["filter-bar"] = Go, t["filter-bar"] = Te;
|
|
5589
5602
|
}
|
|
5590
5603
|
};
|
|
5591
5604
|
export {
|
|
5592
5605
|
re as FFilterBar,
|
|
5593
|
-
|
|
5606
|
+
zr as default,
|
|
5594
5607
|
he as filterBarProps,
|
|
5595
5608
|
Te as propsResolver
|
|
5596
5609
|
};
|