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