@farris/ui-vue 1.8.5-beta.3 → 1.8.5-beta.4
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/batch-editor/index.esm.js +6850 -6840
- package/components/batch-editor/index.umd.cjs +20 -20
- package/components/button/index.esm.js +6852 -6842
- package/components/button/index.umd.cjs +20 -20
- package/components/button-edit/index.esm.js +140 -140
- package/components/button-edit/index.umd.cjs +1 -1
- package/components/button-group/index.esm.js +46 -45
- package/components/button-group/index.umd.cjs +1 -1
- package/components/common/index.esm.js +16 -12
- package/components/common/index.umd.cjs +1 -1
- package/components/component/index.esm.js +411 -411
- package/components/component/index.umd.cjs +2 -2
- package/components/data-view/index.esm.js +6500 -6487
- package/components/data-view/index.umd.cjs +21 -21
- package/components/designer-canvas/index.esm.js +269 -269
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/expression-editor/index.esm.js +458 -458
- package/components/expression-editor/index.umd.cjs +2 -2
- package/components/filter-condition-editor/index.esm.js +386 -386
- package/components/filter-condition-editor/index.umd.cjs +1 -1
- package/components/flow-canvas/index.esm.js +1100 -1100
- package/components/flow-canvas/index.umd.cjs +7 -7
- package/components/mapping-editor/index.esm.js +243 -243
- package/components/mapping-editor/index.umd.cjs +2 -2
- package/components/message-box/index.esm.js +82 -82
- package/components/message-box/index.umd.cjs +1 -1
- package/components/modal/index.esm.js +76 -76
- package/components/modal/index.umd.cjs +1 -1
- package/components/order/index.esm.js +139 -138
- package/components/order/index.umd.cjs +1 -1
- package/components/query-solution/index.esm.js +891 -891
- package/components/query-solution/index.umd.cjs +1 -1
- package/components/response-toolbar/index.esm.js +151 -149
- package/components/response-toolbar/index.umd.cjs +1 -1
- package/components/schema-selector/index.esm.js +947 -941
- package/components/schema-selector/index.umd.cjs +6 -6
- package/components/section/index.esm.js +121 -121
- package/components/section/index.umd.cjs +2 -2
- package/components/sort-condition-editor/index.esm.js +539 -539
- package/components/sort-condition-editor/index.umd.cjs +1 -1
- package/components/tabs/index.esm.js +448 -442
- package/components/tabs/index.umd.cjs +1 -1
- package/designer/button-edit/index.esm.js +97 -97
- package/designer/button-edit/index.umd.cjs +1 -1
- package/designer/data-grid/index.esm.js +6483 -6470
- package/designer/data-grid/index.umd.cjs +21 -21
- package/designer/farris-designer.all.esm.js +1891 -1885
- package/designer/farris-designer.all.umd.cjs +14 -14
- package/designer/radio-group/index.esm.js +183 -183
- package/designer/radio-group/index.umd.cjs +2 -2
- package/designer/response-toolbar/index.esm.js +558 -556
- package/designer/response-toolbar/index.umd.cjs +1 -1
- package/designer/tabs/index.esm.js +416 -416
- package/designer/tabs/index.umd.cjs +2 -2
- package/farris.all.esm.js +9133 -9119
- package/farris.all.umd.cjs +35 -35
- package/package.json +1 -1
- package/types/common/index.d.ts +1 -0
- package/types/common/utils/attrs.d.ts +26 -0
- package/types/modal/src/composition/type.d.ts +2 -0
- package/types/tabs/src/composition/types.d.ts +2 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { ref as C, computed as H, createVNode as d, Fragment as U, watch as j, withModifiers as Ge, withDirectives as qe, vModelText as ze, defineComponent as G, onMounted as ae, reactive as X, inject as le } from "vue";
|
|
2
|
-
import { resolveAppearance as oe, createPropsResolver as se, getPropsResolverGenerator as
|
|
3
|
-
import { getCustomStyle as me, getCustomClass as K, useTouchMomentum as
|
|
4
|
-
import { useFilter as
|
|
1
|
+
import { ref as C, computed as H, createVNode as d, Fragment as U, watch as j, withModifiers as Ge, withDirectives as qe, vModelText as ze, defineComponent as G, mergeProps as Ue, onMounted as ae, reactive as X, inject as le } from "vue";
|
|
2
|
+
import { resolveAppearance as oe, createPropsResolver as se, getPropsResolverGenerator as We } from "../dynamic-resolver/index.esm.js";
|
|
3
|
+
import { getCustomStyle as me, getCustomClass as K, extractDataAttrs as Ye, useTouchMomentum as Xe, useTouch as Ke, useCommonUtils as Z, useBem as pe, useFarrisConfig as Je, FormSchemaEntityFieldType$Type as Y, EVENT_PROPERTY_TAB_IDS as Qe, withInstall as Ze } from "../common/index.esm.js";
|
|
4
|
+
import { useFilter as et, useIdentify as tt, useHierarchy as nt, useGroupData as lt, useDataView as it, useSelection as at, usePagination as ot, useRow as st, useEdit as ut, useVisualDataBound as rt, useVisualDataCell as ct, useVisualDataRow as dt, useVisualGroupRow as ft, useVisualSummaryRow as mt, useVisualData as vt, useSidebar as gt, useColumn as ht, useVirtualScroll as yt } from "../data-view/index.esm.js";
|
|
5
5
|
import { LocaleService as ue } from "../locale/index.esm.js";
|
|
6
6
|
import Ce, { FCheckbox as re } from "../checkbox/index.esm.js";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { isUndefined as
|
|
7
|
+
import bt from "../button-edit/index.esm.js";
|
|
8
|
+
import pt from "../list-view/index.esm.js";
|
|
9
|
+
import { isUndefined as Ct } from "lodash-es";
|
|
10
10
|
import "bignumber.js";
|
|
11
|
-
import
|
|
12
|
-
import { InputBaseProperty as
|
|
11
|
+
import St from "../../designer/button-edit/index.esm.js";
|
|
12
|
+
import { InputBaseProperty as wt } from "../property-panel/index.esm.js";
|
|
13
13
|
import { useDesignerComponent as Se } from "../designer-canvas/index.esm.js";
|
|
14
|
-
const
|
|
14
|
+
const Ft = /* @__PURE__ */ new Map([
|
|
15
15
|
["appearance", oe]
|
|
16
|
-
]),
|
|
16
|
+
]), It = "https://json-schema.org/draft/2020-12/schema", xt = "https://farris-design.gitee.io/order.schema.json", Tt = "order", Vt = "A Farris Component", kt = "object", Mt = {
|
|
17
17
|
id: {
|
|
18
18
|
description: "The unique identifier for a order",
|
|
19
19
|
type: "string"
|
|
@@ -105,22 +105,22 @@ const St = /* @__PURE__ */ new Map([
|
|
|
105
105
|
type: "string",
|
|
106
106
|
default: ""
|
|
107
107
|
}
|
|
108
|
-
},
|
|
108
|
+
}, Bt = [
|
|
109
109
|
"id",
|
|
110
110
|
"type"
|
|
111
|
-
],
|
|
112
|
-
$schema:
|
|
113
|
-
$id:
|
|
114
|
-
title:
|
|
115
|
-
description:
|
|
116
|
-
type:
|
|
117
|
-
properties:
|
|
118
|
-
required:
|
|
111
|
+
], At = {
|
|
112
|
+
$schema: It,
|
|
113
|
+
$id: xt,
|
|
114
|
+
title: Tt,
|
|
115
|
+
description: Vt,
|
|
116
|
+
type: kt,
|
|
117
|
+
properties: Mt,
|
|
118
|
+
required: Bt
|
|
119
119
|
};
|
|
120
|
-
function
|
|
120
|
+
function Pt(e, t, s) {
|
|
121
121
|
return t;
|
|
122
122
|
}
|
|
123
|
-
const
|
|
123
|
+
const Ot = "order", Ht = "A Farris Component", Rt = "object", Lt = {
|
|
124
124
|
basic: {
|
|
125
125
|
description: "Basic Infomation",
|
|
126
126
|
title: "基本信息",
|
|
@@ -202,11 +202,11 @@ const At = "order", Pt = "A Farris Component", Ot = "object", Ht = {
|
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
-
},
|
|
206
|
-
title:
|
|
207
|
-
description:
|
|
208
|
-
type:
|
|
209
|
-
categories:
|
|
205
|
+
}, Et = {
|
|
206
|
+
title: Ot,
|
|
207
|
+
description: Ht,
|
|
208
|
+
type: Rt,
|
|
209
|
+
categories: Lt
|
|
210
210
|
}, ce = {
|
|
211
211
|
/**
|
|
212
212
|
* 排序列数据源
|
|
@@ -218,7 +218,7 @@ const At = "order", Pt = "A Farris Component", Ot = "object", Ht = {
|
|
|
218
218
|
* @default []
|
|
219
219
|
*/
|
|
220
220
|
items: { type: Array, default: [] }
|
|
221
|
-
}, ve = se(ce,
|
|
221
|
+
}, ve = se(ce, At, Ft, Pt, Et), $t = {
|
|
222
222
|
/**
|
|
223
223
|
* 列集合
|
|
224
224
|
*/
|
|
@@ -377,7 +377,7 @@ const At = "order", Pt = "A Farris Component", Ot = "object", Ht = {
|
|
|
377
377
|
*/
|
|
378
378
|
allowDelete: { type: Boolean, default: !0 }
|
|
379
379
|
};
|
|
380
|
-
function
|
|
380
|
+
function jt(e, t) {
|
|
381
381
|
function s(f) {
|
|
382
382
|
const i = [];
|
|
383
383
|
let h = f.nextNode();
|
|
@@ -478,7 +478,7 @@ function ge(e, t, s, o, c, f, i, h, p, T) {
|
|
|
478
478
|
renderItem: O
|
|
479
479
|
};
|
|
480
480
|
}
|
|
481
|
-
function
|
|
481
|
+
function Nt(e, t, s, o, c, f, i, h, p, T) {
|
|
482
482
|
const b = C(e.multiSelect), v = C(e.disableField), k = C(e.textField), {
|
|
483
483
|
onMouseenterItem: x,
|
|
484
484
|
onMouseoverItem: S,
|
|
@@ -534,7 +534,7 @@ function $t(e, t, s, o, c, f, i, h, p, T) {
|
|
|
534
534
|
renderItem: I
|
|
535
535
|
};
|
|
536
536
|
}
|
|
537
|
-
function
|
|
537
|
+
function _t(e, t, s, o, c, f, i, h, p, T) {
|
|
538
538
|
const b = C(e.multiSelect), v = C(e.disableField), k = C(e.textField), {
|
|
539
539
|
onMouseenterItem: x,
|
|
540
540
|
onMouseoverItem: S,
|
|
@@ -613,7 +613,7 @@ function jt(e, t, s, o, c, f, i, h, p, T) {
|
|
|
613
613
|
renderItem: $
|
|
614
614
|
};
|
|
615
615
|
}
|
|
616
|
-
function
|
|
616
|
+
function Dt(e, t, s, o, c, f, i, h, p, T) {
|
|
617
617
|
var M;
|
|
618
618
|
const b = C(((M = e.group) == null ? void 0 : M.groupFields) || []), {
|
|
619
619
|
collpaseGroupIconClass: v
|
|
@@ -646,7 +646,7 @@ function Nt(e, t, s, o, c, f, i, h, p, T) {
|
|
|
646
646
|
renderItem: B
|
|
647
647
|
};
|
|
648
648
|
}
|
|
649
|
-
function
|
|
649
|
+
function Gt(e, t, s, o) {
|
|
650
650
|
const { dataView: c } = s, { updateSelectedItems: f } = o;
|
|
651
651
|
function i(h) {
|
|
652
652
|
if (h > -1 && h < c.value.length) {
|
|
@@ -658,8 +658,8 @@ function _t(e, t, s, o) {
|
|
|
658
658
|
}
|
|
659
659
|
return { removeItem: i };
|
|
660
660
|
}
|
|
661
|
-
function
|
|
662
|
-
const b = C(e.view), v = C(e.view === "CardView"), k = C({}), x =
|
|
661
|
+
function qt(e, t, s, o, c, f, i, h, p, T) {
|
|
662
|
+
const b = C(e.view), v = C(e.view === "CardView"), k = C({}), x = Gt(e, t, o, p), S = H(() => ({
|
|
663
663
|
"f-list-view-group": !0,
|
|
664
664
|
"f-list-view-group-multiselect": e.multiSelect,
|
|
665
665
|
"d-flex": v.value,
|
|
@@ -667,13 +667,13 @@ function Dt(e, t, s, o, c, f, i, h, p, T) {
|
|
|
667
667
|
})), B = H(() => !!s.value && s.value.length > 0), M = H(() => s.value.length === 0);
|
|
668
668
|
H(() => M.value && !t.slots.empty);
|
|
669
669
|
function n() {
|
|
670
|
-
return b.value === "SingleView" ? ge : b.value === "DraggableView" ?
|
|
670
|
+
return b.value === "SingleView" ? ge : b.value === "DraggableView" ? _t : (b.value === "ContentView" || b.value === "CardView") && (e.contentTemplate || t.slots.content) ? Nt : ge;
|
|
671
671
|
}
|
|
672
672
|
const l = n(), {
|
|
673
673
|
renderItem: u
|
|
674
674
|
} = l(e, t, s, T, c, f, p, i, x, h), {
|
|
675
675
|
renderItem: r
|
|
676
|
-
} =
|
|
676
|
+
} = Dt(e, t, s, T, c, f, p, i, x, h), a = [u, r];
|
|
677
677
|
function m() {
|
|
678
678
|
return s.value.filter((O) => O.visible !== !1).map((O, A) => a[O.type](O, A, k));
|
|
679
679
|
}
|
|
@@ -695,7 +695,7 @@ function Dt(e, t, s, o, c, f, i, h, p, T) {
|
|
|
695
695
|
renderListArea: V
|
|
696
696
|
};
|
|
697
697
|
}
|
|
698
|
-
function
|
|
698
|
+
function zt(e, t, s, o, c) {
|
|
699
699
|
const {
|
|
700
700
|
showSelectAll: f,
|
|
701
701
|
selectAll: i,
|
|
@@ -802,7 +802,7 @@ function he(e, t, s, o, c) {
|
|
|
802
802
|
renderHeader: r
|
|
803
803
|
};
|
|
804
804
|
}
|
|
805
|
-
function
|
|
805
|
+
function Ut() {
|
|
806
806
|
const e = C(""), t = C(-1), s = C(""), o = C(-1), c = C(!1);
|
|
807
807
|
function f(v, k, x) {
|
|
808
808
|
o.value = x;
|
|
@@ -834,7 +834,7 @@ function qt() {
|
|
|
834
834
|
suspendHover: p
|
|
835
835
|
};
|
|
836
836
|
}
|
|
837
|
-
function
|
|
837
|
+
function Wt(e, t, s, o, c) {
|
|
838
838
|
const f = C(e.idField), { dataView: i } = s, h = C(-1), p = C(!1), { activeIndex: T, focusedItemId: b, hoverIndex: v, resumeHover: k, suspendHover: x } = o;
|
|
839
839
|
let S, B = 0, M = 0, n = null, l = null;
|
|
840
840
|
const u = 10, r = 50;
|
|
@@ -926,7 +926,7 @@ function zt(e, t, s, o, c) {
|
|
|
926
926
|
isDragging: p
|
|
927
927
|
};
|
|
928
928
|
}
|
|
929
|
-
function
|
|
929
|
+
function Yt(e, t, s, o, c, f) {
|
|
930
930
|
var $, y;
|
|
931
931
|
const i = C(e.idField), h = C(e.disableField), p = C(e.draggable);
|
|
932
932
|
C(e.itemClass);
|
|
@@ -996,11 +996,11 @@ function Ut(e, t, s, o, c, f) {
|
|
|
996
996
|
}
|
|
997
997
|
const we = /* @__PURE__ */ G({
|
|
998
998
|
name: "FListView",
|
|
999
|
-
props:
|
|
999
|
+
props: $t,
|
|
1000
1000
|
emits: ["afterSearch", "checkValuesChange", "clickItem", "selectItem", "unSelectItem", "selectionChange", "removeItem", "change", "activeChange", "pageIndexChanged", "pageSizeChanged", "changed", "selectionUpdate"],
|
|
1001
1001
|
setup(e, t) {
|
|
1002
1002
|
var fe;
|
|
1003
|
-
const s = C(!1), o = C(), c = C(!0), f = C(((fe = e.rowOption) == null ? void 0 : fe.rowHeight) || 28), i = C(!1), h = C([]), p = 0, T = C(e.columns), b =
|
|
1003
|
+
const s = C(!1), o = C(), c = C(!0), f = C(((fe = e.rowOption) == null ? void 0 : fe.rowHeight) || 28), i = C(!1), h = C([]), p = 0, T = C(e.columns), b = et(e, t), v = tt(e), k = nt(e), x = lt(e, v), S = it(e, /* @__PURE__ */ new Map(), b, k, v), B = at(e, S, v, h, t), M = jt(e, o), n = ot(e, S), l = H(() => S.dataView.value.length), u = st(e, t, B, v), r = ut(e, t, v, u, h), a = rt(e, S, f), m = ct(e, r, a), I = dt(e, S, r, k, v, a, m, f), V = ft(e, v, m, I), O = mt(e, v, m, I), A = vt(e, T, S, l, p, I, V, O), {
|
|
1004
1004
|
getVisualData: P
|
|
1005
1005
|
} = A;
|
|
1006
1006
|
h.value = P(0, l.value + p - 1);
|
|
@@ -1012,13 +1012,13 @@ const we = /* @__PURE__ */ G({
|
|
|
1012
1012
|
return e.size !== "default" && (L[`${e.size}-item`] = !0), K(L, e.customClass);
|
|
1013
1013
|
}), N = H(() => !!t.slots.footer || c.value);
|
|
1014
1014
|
function $() {
|
|
1015
|
-
return e.header === "SearchBar" ? he : e.header === "ContentHeader" ?
|
|
1015
|
+
return e.header === "SearchBar" ? he : e.header === "ContentHeader" ? zt : he;
|
|
1016
1016
|
}
|
|
1017
1017
|
const y = $(), {
|
|
1018
1018
|
renderHeader: w
|
|
1019
|
-
} = y(e, t, M, B, S), F =
|
|
1019
|
+
} = y(e, t, M, B, S), F = Ut(), g = Wt(e, t, S, F, h), R = Yt(e, t, h, g, F, B), {
|
|
1020
1020
|
renderListArea: E
|
|
1021
|
-
} =
|
|
1021
|
+
} = qt(e, t, h, S, x, F, B, A, R, g);
|
|
1022
1022
|
function D(L) {
|
|
1023
1023
|
M.search(L);
|
|
1024
1024
|
}
|
|
@@ -1073,15 +1073,15 @@ const we = /* @__PURE__ */ G({
|
|
|
1073
1073
|
}), j(() => e.selectionValues, (L, q) => {
|
|
1074
1074
|
L !== q && de(L);
|
|
1075
1075
|
});
|
|
1076
|
-
const je =
|
|
1076
|
+
const je = gt(e, B), {
|
|
1077
1077
|
sidebarWidth: Ne,
|
|
1078
|
-
showSidebarCheckBox:
|
|
1079
|
-
} = je, _e =
|
|
1080
|
-
applyColumnSorter:
|
|
1078
|
+
showSidebarCheckBox: jn
|
|
1079
|
+
} = je, _e = ht(e, t), {
|
|
1080
|
+
applyColumnSorter: Nn,
|
|
1081
1081
|
columnContext: De,
|
|
1082
|
-
updateColumnRenderContext:
|
|
1082
|
+
updateColumnRenderContext: _n
|
|
1083
1083
|
} = _e;
|
|
1084
|
-
return
|
|
1084
|
+
return yt(e, S, h, De, A, l, p, Ne, f, s, r), () => d("div", {
|
|
1085
1085
|
class: _.value
|
|
1086
1086
|
}, [w(), d("div", {
|
|
1087
1087
|
ref: o,
|
|
@@ -1096,7 +1096,7 @@ const we = /* @__PURE__ */ G({
|
|
|
1096
1096
|
class: "f-list-view-footer"
|
|
1097
1097
|
}, [e.footerTemplate ? e.footerTemplate() : t.slots.footer && t.slots.footer()])]);
|
|
1098
1098
|
}
|
|
1099
|
-
}),
|
|
1099
|
+
}), Xt = "https://json-schema.org/draft/2020-12/schema", Kt = "https://farris-design.gitee.io/component.schema.json", Jt = "button", Qt = "A Farris Visual Button", Zt = "object", en = {
|
|
1100
1100
|
id: {
|
|
1101
1101
|
description: "The unique identifier for a component",
|
|
1102
1102
|
type: "string"
|
|
@@ -1148,25 +1148,25 @@ const we = /* @__PURE__ */ G({
|
|
|
1148
1148
|
type: "string",
|
|
1149
1149
|
default: ""
|
|
1150
1150
|
}
|
|
1151
|
-
},
|
|
1151
|
+
}, tn = [
|
|
1152
1152
|
"id",
|
|
1153
1153
|
"type",
|
|
1154
1154
|
"text"
|
|
1155
|
-
],
|
|
1155
|
+
], nn = {
|
|
1156
1156
|
onClick: "点击事件"
|
|
1157
|
-
},
|
|
1158
|
-
$schema:
|
|
1159
|
-
$id:
|
|
1160
|
-
title:
|
|
1161
|
-
description:
|
|
1162
|
-
type:
|
|
1163
|
-
properties:
|
|
1164
|
-
required:
|
|
1165
|
-
events:
|
|
1166
|
-
},
|
|
1157
|
+
}, ln = {
|
|
1158
|
+
$schema: Xt,
|
|
1159
|
+
$id: Kt,
|
|
1160
|
+
title: Jt,
|
|
1161
|
+
description: Qt,
|
|
1162
|
+
type: Zt,
|
|
1163
|
+
properties: en,
|
|
1164
|
+
required: tn,
|
|
1165
|
+
events: nn
|
|
1166
|
+
}, an = /* @__PURE__ */ new Map([
|
|
1167
1167
|
["appearance", oe]
|
|
1168
1168
|
]);
|
|
1169
|
-
function
|
|
1169
|
+
function on(e, t, s) {
|
|
1170
1170
|
return Object.assign(t, {
|
|
1171
1171
|
text: "按钮",
|
|
1172
1172
|
appearance: {
|
|
@@ -1228,8 +1228,8 @@ const Fe = {
|
|
|
1228
1228
|
*/
|
|
1229
1229
|
visible: { type: Boolean, default: !0 }
|
|
1230
1230
|
};
|
|
1231
|
-
se(Fe,
|
|
1232
|
-
function
|
|
1231
|
+
se(Fe, ln, an, on);
|
|
1232
|
+
function sn(e, t) {
|
|
1233
1233
|
function s(o) {
|
|
1234
1234
|
o.stopPropagation(), e.disabled || t.emit("click", o);
|
|
1235
1235
|
}
|
|
@@ -1237,7 +1237,7 @@ function an(e, t) {
|
|
|
1237
1237
|
onClickButton: s
|
|
1238
1238
|
};
|
|
1239
1239
|
}
|
|
1240
|
-
function
|
|
1240
|
+
function un(e) {
|
|
1241
1241
|
const t = H(() => {
|
|
1242
1242
|
const o = {
|
|
1243
1243
|
"f-icon": !0
|
|
@@ -1257,10 +1257,10 @@ const Ie = /* @__PURE__ */ G({
|
|
|
1257
1257
|
setup(e, t) {
|
|
1258
1258
|
const {
|
|
1259
1259
|
onClickButton: s
|
|
1260
|
-
} =
|
|
1260
|
+
} = sn(e, t), {
|
|
1261
1261
|
iconClass: o,
|
|
1262
1262
|
shouldShowIcon: c
|
|
1263
|
-
} =
|
|
1263
|
+
} = un(e), f = H(() => {
|
|
1264
1264
|
const i = {
|
|
1265
1265
|
btn: !0,
|
|
1266
1266
|
"btn-lg": e.size === "large",
|
|
@@ -1270,18 +1270,19 @@ const Ie = /* @__PURE__ */ G({
|
|
|
1270
1270
|
};
|
|
1271
1271
|
return i[`btn-${e.type}`] = !0, e.customClass && (typeof e.customClass == "string" ? K(i, e.customClass) : Object.keys(e.customClass).reduce((h, p) => (h[p] = e.customClass[p], h), i)), i;
|
|
1272
1272
|
});
|
|
1273
|
-
return () => e.visible ? d("button", {
|
|
1273
|
+
return () => e.visible ? d("button", Ue(Ye(t.attrs), {
|
|
1274
|
+
id: e.id,
|
|
1274
1275
|
class: f.value,
|
|
1275
1276
|
disabled: e.disabled,
|
|
1276
1277
|
style: e.customStyle,
|
|
1277
1278
|
onClick: (i) => s(i)
|
|
1278
|
-
}, [c.value && d("i", {
|
|
1279
|
+
}), [c.value && d("i", {
|
|
1279
1280
|
class: o.value
|
|
1280
1281
|
}, null), e.text ? e.text : "", t.slots.default && t.slots.default()]) : null;
|
|
1281
1282
|
}
|
|
1282
1283
|
}), xe = /* @__PURE__ */ new Map([
|
|
1283
1284
|
["appearance", oe]
|
|
1284
|
-
]),
|
|
1285
|
+
]), rn = "https://json-schema.org/draft/2020-12/schema", cn = "https://farris-design.gitee.io/combo-list.schema.json", dn = "combo-list", fn = "A Farris Input Component", mn = "object", vn = {
|
|
1285
1286
|
id: {
|
|
1286
1287
|
description: "The unique identifier for a combo list",
|
|
1287
1288
|
type: "string"
|
|
@@ -1536,14 +1537,14 @@ const Ie = /* @__PURE__ */ G({
|
|
|
1536
1537
|
type: "boolean",
|
|
1537
1538
|
default: !1
|
|
1538
1539
|
}
|
|
1539
|
-
},
|
|
1540
|
+
}, gn = [
|
|
1540
1541
|
"type"
|
|
1541
|
-
],
|
|
1542
|
+
], hn = [
|
|
1542
1543
|
"id",
|
|
1543
1544
|
"appearance",
|
|
1544
1545
|
"binding",
|
|
1545
1546
|
"visible"
|
|
1546
|
-
],
|
|
1547
|
+
], yn = {
|
|
1547
1548
|
onClear: "清空事件",
|
|
1548
1549
|
onShown: "面板打开事件",
|
|
1549
1550
|
onHidden: "面板关闭事件",
|
|
@@ -1551,20 +1552,20 @@ const Ie = /* @__PURE__ */ G({
|
|
|
1551
1552
|
beforeOpen: "打开面板前事件",
|
|
1552
1553
|
beforeHide: "关闭面板前事件"
|
|
1553
1554
|
}, Te = {
|
|
1554
|
-
$schema:
|
|
1555
|
-
$id:
|
|
1556
|
-
title:
|
|
1557
|
-
description:
|
|
1558
|
-
type:
|
|
1559
|
-
properties:
|
|
1560
|
-
required:
|
|
1561
|
-
ignore:
|
|
1562
|
-
events:
|
|
1555
|
+
$schema: rn,
|
|
1556
|
+
$id: cn,
|
|
1557
|
+
title: dn,
|
|
1558
|
+
description: fn,
|
|
1559
|
+
type: mn,
|
|
1560
|
+
properties: vn,
|
|
1561
|
+
required: gn,
|
|
1562
|
+
ignore: hn,
|
|
1563
|
+
events: yn
|
|
1563
1564
|
};
|
|
1564
1565
|
function Ve(e, t, s) {
|
|
1565
1566
|
return t;
|
|
1566
1567
|
}
|
|
1567
|
-
function
|
|
1568
|
+
function bn() {
|
|
1568
1569
|
function e(t, s, o) {
|
|
1569
1570
|
const c = {};
|
|
1570
1571
|
return c.beforeOpen = (f) => s.call("beforeOpen", t, [f, t], o), c;
|
|
@@ -1851,16 +1852,16 @@ const ee = {
|
|
|
1851
1852
|
* @default false
|
|
1852
1853
|
*/
|
|
1853
1854
|
hideDisabledItems: { type: Boolean, default: !1 }
|
|
1854
|
-
},
|
|
1855
|
+
}, pn = Object.assign({}, ee, {
|
|
1855
1856
|
readonly: {}
|
|
1856
1857
|
});
|
|
1857
1858
|
se(ee, Te, xe, Ve);
|
|
1858
|
-
const ke =
|
|
1859
|
+
const ke = We(
|
|
1859
1860
|
ee,
|
|
1860
1861
|
Te,
|
|
1861
1862
|
xe,
|
|
1862
1863
|
Ve
|
|
1863
|
-
),
|
|
1864
|
+
), Cn = bn(), Sn = {
|
|
1864
1865
|
dataSource: { type: Array, default: [] },
|
|
1865
1866
|
enableSearch: { type: Boolean, default: !1 },
|
|
1866
1867
|
idField: { type: String, default: "id" },
|
|
@@ -1883,9 +1884,9 @@ const ke = Ue(
|
|
|
1883
1884
|
},
|
|
1884
1885
|
// 搜索启用高亮
|
|
1885
1886
|
enableHighlightSearch: { type: Boolean, default: !0 }
|
|
1886
|
-
},
|
|
1887
|
+
}, wn = /* @__PURE__ */ G({
|
|
1887
1888
|
name: "FComboListContainer",
|
|
1888
|
-
props:
|
|
1889
|
+
props: Sn,
|
|
1889
1890
|
emits: ["selectionChange"],
|
|
1890
1891
|
setup(e, t) {
|
|
1891
1892
|
const s = C(), o = C(e.dataSource), c = C(e.dataSource), f = C([]), i = C(e.separator), h = C(e.width), p = C(e.maxHeight), T = H(() => e.multiSelect), b = C(e.multiSelect ? String(e.selectedValues).split(i.value) : [e.selectedValues]), v = H(() => ({
|
|
@@ -1930,7 +1931,7 @@ const ke = Ue(
|
|
|
1930
1931
|
const u = (n = b.value) == null ? void 0 : n[0];
|
|
1931
1932
|
let r = u;
|
|
1932
1933
|
const a = o.value.map((m) => m[e.valueField || e.idField]);
|
|
1933
|
-
if (!
|
|
1934
|
+
if (!Ct(u) && a.includes(u)) {
|
|
1934
1935
|
const m = typeof u, I = typeof ((l = o.value[0]) == null ? void 0 : l[e.valueField || e.idField]);
|
|
1935
1936
|
I === "number" && m !== I && (r = Number(u)), I === "boolean" && m !== I && (r = u === "true" ? !0 : u === "false" ? !1 : u), M(r);
|
|
1936
1937
|
}
|
|
@@ -1941,7 +1942,7 @@ const ke = Ue(
|
|
|
1941
1942
|
}), () => d("div", {
|
|
1942
1943
|
class: "f-combo-list-container",
|
|
1943
1944
|
style: k.value
|
|
1944
|
-
}, [d(
|
|
1945
|
+
}, [d(pt, {
|
|
1945
1946
|
ref: s,
|
|
1946
1947
|
size: "small",
|
|
1947
1948
|
itemClass: "f-combo-list-item",
|
|
@@ -1965,8 +1966,8 @@ const ke = Ue(
|
|
|
1965
1966
|
duration: 0.3,
|
|
1966
1967
|
timingFunction: "cubic-bezier(0.17, 0.89, 0.45, 1)",
|
|
1967
1968
|
delay: 0
|
|
1968
|
-
},
|
|
1969
|
-
const s = e.lineHeight / 2, o =
|
|
1969
|
+
}, Fn = (e, t) => {
|
|
1970
|
+
const s = e.lineHeight / 2, o = Xe({ maxOverflowY: 44 }), c = X({ ...ye }), f = (r) => {
|
|
1970
1971
|
t.emit("change", r);
|
|
1971
1972
|
}, i = X({
|
|
1972
1973
|
value: 0,
|
|
@@ -2004,7 +2005,7 @@ const ke = Ue(
|
|
|
2004
2005
|
const x = (r, a = i.max, m = i.min) => {
|
|
2005
2006
|
const I = i.start + r;
|
|
2006
2007
|
i.value = I > s ? Math.min(I, a) : Math.max(I, m), i.index = Math.round((i.max - i.value) / e.lineHeight), i.currentItem = b(i.index);
|
|
2007
|
-
}, S =
|
|
2008
|
+
}, S = Ke(), B = (r) => {
|
|
2008
2009
|
S.start(r), i.active = !0, i.start = i.value, o.start(i.start), c.duration = 0;
|
|
2009
2010
|
}, M = (r) => {
|
|
2010
2011
|
r.preventDefault(), S.move(r), x(
|
|
@@ -2037,7 +2038,7 @@ const ke = Ue(
|
|
|
2037
2038
|
},
|
|
2038
2039
|
updateTranslate: v
|
|
2039
2040
|
};
|
|
2040
|
-
},
|
|
2041
|
+
}, In = {
|
|
2041
2042
|
column: { type: Array, default: () => [] },
|
|
2042
2043
|
valueField: { type: String, default: "value" },
|
|
2043
2044
|
textField: { type: String, default: "text" },
|
|
@@ -2046,8 +2047,8 @@ const ke = Ue(
|
|
|
2046
2047
|
showIcon: { type: Boolean, default: !1 },
|
|
2047
2048
|
lineHeight: { type: Number, default: 0 },
|
|
2048
2049
|
visiableOptionCount: { type: Number, default: 5 }
|
|
2049
|
-
},
|
|
2050
|
-
props:
|
|
2050
|
+
}, xn = /* @__PURE__ */ G({
|
|
2051
|
+
props: In,
|
|
2051
2052
|
emits: ["change", "click"],
|
|
2052
2053
|
setup(e, t) {
|
|
2053
2054
|
const {
|
|
@@ -2061,7 +2062,7 @@ const ke = Ue(
|
|
|
2061
2062
|
onTouchMove: h,
|
|
2062
2063
|
onTouchEnd: p,
|
|
2063
2064
|
onTransitionend: T
|
|
2064
|
-
} =
|
|
2065
|
+
} = Fn(e, t), b = (x) => {
|
|
2065
2066
|
t.emit("click", x);
|
|
2066
2067
|
}, v = H(() => ({
|
|
2067
2068
|
transform: `translateY(${s(c.value)})`,
|
|
@@ -2081,7 +2082,7 @@ const ke = Ue(
|
|
|
2081
2082
|
class: `f-icon f-icon-check ${o("column-item-icon")}`
|
|
2082
2083
|
}, null)]))]);
|
|
2083
2084
|
}
|
|
2084
|
-
}),
|
|
2085
|
+
}), Tn = {
|
|
2085
2086
|
modelValue: { type: [String, Array], default: "" },
|
|
2086
2087
|
columns: { type: Array, default: () => [] },
|
|
2087
2088
|
title: { type: String, default: "" },
|
|
@@ -2096,7 +2097,7 @@ const ke = Ue(
|
|
|
2096
2097
|
visiableOptionCount: { type: Number, default: 5 },
|
|
2097
2098
|
showToolbar: { type: Boolean, default: !0 },
|
|
2098
2099
|
separator: { type: String, default: "," }
|
|
2099
|
-
},
|
|
2100
|
+
}, Vn = (e, t) => {
|
|
2100
2101
|
const { finalValue: s, initValue: o, setSelectedByIndex: c, getSelectedValueByIndex: f } = t, { isArray: i, isFunction: h, isObject: p } = Z(), T = (a) => a && a[0], b = H(() => {
|
|
2101
2102
|
var a;
|
|
2102
2103
|
return ((a = e.columns) == null ? void 0 : a.length) > 0 && i(e.columns[0]);
|
|
@@ -2155,7 +2156,7 @@ const ke = Ue(
|
|
|
2155
2156
|
getValue: l,
|
|
2156
2157
|
getTextValue: u
|
|
2157
2158
|
};
|
|
2158
|
-
},
|
|
2159
|
+
}, kn = (e) => {
|
|
2159
2160
|
const { isArray: t, isMultiArray: s, isString: o, isDef: c } = Z(), f = (n) => {
|
|
2160
2161
|
let l = [];
|
|
2161
2162
|
return t(n) ? l = n : o(n) ? l = n.split(e.separator) : c(n) && (l = [n]), e.multiSelect ? s(l) ? l : [l] : l;
|
|
@@ -2177,15 +2178,15 @@ const ke = Ue(
|
|
|
2177
2178
|
getSelectedByIndex: (n) => e.multiSelect ? b[n] : p[n],
|
|
2178
2179
|
getSelectedValueByIndex: (n) => e.multiSelect ? v.value[n] : T.value[n]
|
|
2179
2180
|
};
|
|
2180
|
-
},
|
|
2181
|
-
props:
|
|
2181
|
+
}, Mn = /* @__PURE__ */ G({
|
|
2182
|
+
props: Tn,
|
|
2182
2183
|
emits: ["change", "confirm", "cancel", "update:modelValue"],
|
|
2183
2184
|
setup(e, t) {
|
|
2184
2185
|
const {
|
|
2185
2186
|
emit: s
|
|
2186
2187
|
} = t, {
|
|
2187
2188
|
addUnit: o
|
|
2188
|
-
} = Z(), c =
|
|
2189
|
+
} = Z(), c = kn(e), {
|
|
2189
2190
|
finalValue: f,
|
|
2190
2191
|
getSelectedValue: i,
|
|
2191
2192
|
getSelectedValueByIndex: h,
|
|
@@ -2193,7 +2194,7 @@ const ke = Ue(
|
|
|
2193
2194
|
setSelectedByIndex: T
|
|
2194
2195
|
} = c, {
|
|
2195
2196
|
columns: b
|
|
2196
|
-
} =
|
|
2197
|
+
} = Vn(e, c), v = (u, r = !0) => {
|
|
2197
2198
|
const {
|
|
2198
2199
|
value: a,
|
|
2199
2200
|
index: m
|
|
@@ -2230,7 +2231,7 @@ const ke = Ue(
|
|
|
2230
2231
|
}, [d("div", {
|
|
2231
2232
|
class: S("columns"),
|
|
2232
2233
|
style: M.value
|
|
2233
|
-
}, [b.value.map((u, r) => d(
|
|
2234
|
+
}, [b.value.map((u, r) => d(xn, {
|
|
2234
2235
|
column: u,
|
|
2235
2236
|
value: h(r),
|
|
2236
2237
|
showIcon: e.multiSelect,
|
|
@@ -2258,7 +2259,7 @@ const ke = Ue(
|
|
|
2258
2259
|
}, [e.showToolbar && B(), l()]);
|
|
2259
2260
|
}
|
|
2260
2261
|
});
|
|
2261
|
-
function
|
|
2262
|
+
function Bn(e, t) {
|
|
2262
2263
|
const s = C(""), o = C(e.modelValue), c = C(e.data || []), f = C(e.editable), i = H(() => e.hideDisabledItems ? c.value.filter((n) => !n.disabled) : c.value);
|
|
2263
2264
|
function h(n) {
|
|
2264
2265
|
const l = e.multiSelect ? String(n).split(e.separator) : [String(n)], u = l.map((m) => [m, !0]), r = new Map(u);
|
|
@@ -2291,7 +2292,7 @@ function kn(e, t) {
|
|
|
2291
2292
|
const { url: n, method: l = "GET", headers: u = { "Content-Type": "application/json;charset=utf-8;" }, body: r = null } = e.remote;
|
|
2292
2293
|
if (!n)
|
|
2293
2294
|
return;
|
|
2294
|
-
const { basePath: a } =
|
|
2295
|
+
const { basePath: a } = Je().value, m = l.toLowerCase() === "get" ? { method: l, headers: u } : { method: l, headers: u, body: r };
|
|
2295
2296
|
let I = !1;
|
|
2296
2297
|
fetch(new Request(a + n, m)).then((V) => {
|
|
2297
2298
|
var A, P;
|
|
@@ -2343,8 +2344,8 @@ function kn(e, t) {
|
|
|
2343
2344
|
getSelectedItemsByDisplayText: v
|
|
2344
2345
|
};
|
|
2345
2346
|
}
|
|
2346
|
-
const
|
|
2347
|
-
function
|
|
2347
|
+
const An = ["moz", "ms", "webkit"];
|
|
2348
|
+
function Pn() {
|
|
2348
2349
|
let e = 0;
|
|
2349
2350
|
return (t) => {
|
|
2350
2351
|
const s = (/* @__PURE__ */ new Date()).getTime(), o = Math.max(0, 16 - (s - e)), c = setTimeout(() => {
|
|
@@ -2353,15 +2354,15 @@ function Bn() {
|
|
|
2353
2354
|
return e = s + o, c;
|
|
2354
2355
|
};
|
|
2355
2356
|
}
|
|
2356
|
-
function
|
|
2357
|
+
function On() {
|
|
2357
2358
|
if (typeof window > "u")
|
|
2358
2359
|
return () => 0;
|
|
2359
2360
|
if (window.requestAnimationFrame)
|
|
2360
2361
|
return window.requestAnimationFrame.bind(window);
|
|
2361
|
-
const e =
|
|
2362
|
-
return e ? window[`${e}RequestAnimationFrame`] :
|
|
2362
|
+
const e = An.filter((t) => `${t}RequestAnimationFrame` in window)[0];
|
|
2363
|
+
return e ? window[`${e}RequestAnimationFrame`] : Pn();
|
|
2363
2364
|
}
|
|
2364
|
-
|
|
2365
|
+
On();
|
|
2365
2366
|
C("");
|
|
2366
2367
|
function ie() {
|
|
2367
2368
|
if (typeof window > "u" || typeof navigator > "u")
|
|
@@ -2396,11 +2397,11 @@ function ie() {
|
|
|
2396
2397
|
const o = "ontouchstart" in window || navigator.maxTouchPoints > 0, c = screen.width, f = screen.height, i = Math.min(c, f);
|
|
2397
2398
|
return !!(o && i <= 768);
|
|
2398
2399
|
}
|
|
2399
|
-
function
|
|
2400
|
+
function Hn() {
|
|
2400
2401
|
const e = ie();
|
|
2401
2402
|
return e && document.body.classList.add("f-mobile"), e;
|
|
2402
2403
|
}
|
|
2403
|
-
typeof document < "u" &&
|
|
2404
|
+
typeof document < "u" && Hn();
|
|
2404
2405
|
const J = /* @__PURE__ */ G({
|
|
2405
2406
|
name: "FComboList",
|
|
2406
2407
|
props: ee,
|
|
@@ -2415,7 +2416,7 @@ const J = /* @__PURE__ */ G({
|
|
|
2415
2416
|
getItemsByDisplayText: x,
|
|
2416
2417
|
getItemsByValue: S,
|
|
2417
2418
|
beforeOpenList: B
|
|
2418
|
-
} =
|
|
2419
|
+
} = Bn(e, t), M = C(e.dropDownIcon);
|
|
2419
2420
|
M.value === '<span class="f-icon f-icon-arrow-chevron-down"></span>' && (M.value = '<span id="' + e.id + '-icon-dropdown" class="f-icon f-icon-arrow-chevron-down"></span>');
|
|
2420
2421
|
const n = H(() => e.multiSelect), l = H(() => o.value ? o.value.elementRef.getBoundingClientRect().width : 0);
|
|
2421
2422
|
function u() {
|
|
@@ -2479,7 +2480,7 @@ const J = /* @__PURE__ */ G({
|
|
|
2479
2480
|
const w = () => {
|
|
2480
2481
|
t.emit("expandClick");
|
|
2481
2482
|
};
|
|
2482
|
-
return () => d(
|
|
2483
|
+
return () => d(bt, {
|
|
2483
2484
|
ref: o,
|
|
2484
2485
|
id: e.id,
|
|
2485
2486
|
disable: c.value,
|
|
@@ -2517,7 +2518,7 @@ const J = /* @__PURE__ */ G({
|
|
|
2517
2518
|
onHidden: () => t.emit("hidden"),
|
|
2518
2519
|
onShown: () => t.emit("shown")
|
|
2519
2520
|
}, {
|
|
2520
|
-
default: () => [ie() ? d(
|
|
2521
|
+
default: () => [ie() ? d(Mn, {
|
|
2521
2522
|
modelValue: v.value,
|
|
2522
2523
|
valueField: e.valueField,
|
|
2523
2524
|
textField: e.textField,
|
|
@@ -2531,7 +2532,7 @@ const J = /* @__PURE__ */ G({
|
|
|
2531
2532
|
onCancel: () => {
|
|
2532
2533
|
o == null || o.value.hidePopup();
|
|
2533
2534
|
}
|
|
2534
|
-
}, null) : d(
|
|
2535
|
+
}, null) : d(wn, {
|
|
2535
2536
|
class: e.popupClass,
|
|
2536
2537
|
ref: s,
|
|
2537
2538
|
idField: e.idField,
|
|
@@ -2559,7 +2560,7 @@ const J = /* @__PURE__ */ G({
|
|
|
2559
2560
|
e.editor.remote = e.editor.remote || {}, e.editor.remote[t] = s;
|
|
2560
2561
|
}
|
|
2561
2562
|
};
|
|
2562
|
-
class
|
|
2563
|
+
class Rn extends wt {
|
|
2563
2564
|
constructor(t, s) {
|
|
2564
2565
|
super(t, s);
|
|
2565
2566
|
}
|
|
@@ -2940,7 +2941,7 @@ class On extends Ct {
|
|
|
2940
2941
|
title: "事件",
|
|
2941
2942
|
hideTitle: !0,
|
|
2942
2943
|
properties: f.createBaseEventProperty(h),
|
|
2943
|
-
tabId:
|
|
2944
|
+
tabId: Qe,
|
|
2944
2945
|
tabName: "交互",
|
|
2945
2946
|
setPropertyRelates(b, v) {
|
|
2946
2947
|
const k = b.propertyValue;
|
|
@@ -2954,24 +2955,24 @@ class On extends Ct {
|
|
|
2954
2955
|
};
|
|
2955
2956
|
}
|
|
2956
2957
|
}
|
|
2957
|
-
function
|
|
2958
|
+
function Ln(e, t) {
|
|
2958
2959
|
const s = e.schema;
|
|
2959
2960
|
function o(c, f) {
|
|
2960
|
-
return new
|
|
2961
|
+
return new Rn(c, t).getPropertyConfig(s, f);
|
|
2961
2962
|
}
|
|
2962
2963
|
return {
|
|
2963
2964
|
getPropsConfig: o
|
|
2964
2965
|
};
|
|
2965
2966
|
}
|
|
2966
|
-
const
|
|
2967
|
+
const En = /* @__PURE__ */ G({
|
|
2967
2968
|
name: "FComboListDesign",
|
|
2968
|
-
props:
|
|
2969
|
+
props: pn,
|
|
2969
2970
|
emits: ["clear", "update:modelValue", "change"],
|
|
2970
2971
|
setup(e, t) {
|
|
2971
|
-
const s = C(), o = le("designer-host-service"), c = le("design-item-context"), f =
|
|
2972
|
+
const s = C(), o = le("designer-host-service"), c = le("design-item-context"), f = Ln(c, o), i = Se(s, c, f);
|
|
2972
2973
|
return ae(() => {
|
|
2973
2974
|
s.value.componentInstance = i;
|
|
2974
|
-
}), t.expose(i.value), () => d(
|
|
2975
|
+
}), t.expose(i.value), () => d(St, {
|
|
2975
2976
|
ref: s,
|
|
2976
2977
|
buttonContent: e.dropDownIcon,
|
|
2977
2978
|
readonly: !0,
|
|
@@ -2986,12 +2987,12 @@ const Rn = /* @__PURE__ */ G({
|
|
|
2986
2987
|
}
|
|
2987
2988
|
});
|
|
2988
2989
|
J.register = (e, t, s, o, c) => {
|
|
2989
|
-
e["combo-list"] = J, t["combo-list"] = ke(c), o["combo-list"] = { callbackResolver:
|
|
2990
|
+
e["combo-list"] = J, t["combo-list"] = ke(c), o["combo-list"] = { callbackResolver: Cn };
|
|
2990
2991
|
};
|
|
2991
2992
|
J.registerDesigner = (e, t, s, o) => {
|
|
2992
|
-
e["combo-list"] =
|
|
2993
|
+
e["combo-list"] = En, t["combo-list"] = ke(o);
|
|
2993
2994
|
};
|
|
2994
|
-
const Q =
|
|
2995
|
+
const Q = Ze(J), ne = /* @__PURE__ */ G({
|
|
2995
2996
|
name: "FOrder",
|
|
2996
2997
|
props: ce,
|
|
2997
2998
|
emits: ["change"],
|
|
@@ -3101,7 +3102,7 @@ const Q = Je(J), ne = /* @__PURE__ */ G({
|
|
|
3101
3102
|
class: k.value
|
|
3102
3103
|
}, [n()]);
|
|
3103
3104
|
}
|
|
3104
|
-
}),
|
|
3105
|
+
}), $n = /* @__PURE__ */ G({
|
|
3105
3106
|
name: "FOrderDesign",
|
|
3106
3107
|
props: ce,
|
|
3107
3108
|
emits: ["change"],
|
|
@@ -3203,7 +3204,7 @@ const Q = Je(J), ne = /* @__PURE__ */ G({
|
|
|
3203
3204
|
class: x.value
|
|
3204
3205
|
}, [l()]);
|
|
3205
3206
|
}
|
|
3206
|
-
}),
|
|
3207
|
+
}), tl = {
|
|
3207
3208
|
install(e) {
|
|
3208
3209
|
e.component(ne.name, ne);
|
|
3209
3210
|
},
|
|
@@ -3211,12 +3212,12 @@ const Q = Je(J), ne = /* @__PURE__ */ G({
|
|
|
3211
3212
|
e.order = ne, t.order = ve;
|
|
3212
3213
|
},
|
|
3213
3214
|
registerDesigner(e, t, s) {
|
|
3214
|
-
e.order =
|
|
3215
|
+
e.order = $n, t.order = ve;
|
|
3215
3216
|
}
|
|
3216
3217
|
};
|
|
3217
3218
|
export {
|
|
3218
3219
|
ne as FOrder,
|
|
3219
|
-
|
|
3220
|
+
tl as default,
|
|
3220
3221
|
ce as orderProps,
|
|
3221
3222
|
ve as propsResolver
|
|
3222
3223
|
};
|