@farris/ui-vue 1.2.6 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/accordion/index.esm.js +147 -139
- package/components/accordion/index.umd.cjs +1 -1
- package/components/avatar/index.esm.js +11 -28
- package/components/avatar/index.umd.cjs +1 -1
- package/components/checkbox/index.esm.js +33 -50
- package/components/checkbox/index.umd.cjs +1 -1
- package/components/combo-list/index.esm.js +183 -171
- package/components/combo-list/index.umd.cjs +1 -1
- package/components/condition/index.esm.js +236 -235
- package/components/condition/index.umd.cjs +1 -1
- package/components/data-grid/index.esm.js +1531 -1560
- package/components/data-grid/index.umd.cjs +1 -1
- package/components/data-view/index.esm.js +1299 -1300
- package/components/data-view/index.umd.cjs +1 -1
- package/components/date-picker/index.esm.js +235 -252
- package/components/date-picker/index.umd.cjs +1 -1
- package/components/dynamic-form/index.esm.js +127 -143
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/dynamic-view/index.esm.js +206 -201
- package/components/dynamic-view/index.umd.cjs +1 -1
- package/components/external-container/index.esm.js +650 -647
- package/components/external-container/index.umd.cjs +1 -1
- package/components/field-selector/index.esm.js +1101 -1131
- package/components/field-selector/index.umd.cjs +1 -1
- package/components/filter-bar/index.esm.js +335 -332
- package/components/filter-bar/index.umd.cjs +1 -1
- package/components/input-group/index.esm.js +128 -145
- package/components/input-group/index.umd.cjs +1 -1
- package/components/list-view/index.esm.js +306 -303
- package/components/list-view/index.umd.cjs +1 -1
- package/components/lookup/index.esm.js +2470 -2469
- package/components/lookup/index.umd.cjs +1 -1
- package/components/mapping-editor/index.esm.js +1928 -1958
- package/components/mapping-editor/index.umd.cjs +1 -1
- package/components/order/index.esm.js +802 -788
- package/components/order/index.umd.cjs +1 -1
- package/components/page-header/index.esm.js +116 -137
- package/components/page-header/index.umd.cjs +1 -1
- package/components/property-editor/index.esm.js +533 -521
- package/components/property-editor/index.umd.cjs +2 -2
- package/components/property-panel/index.esm.js +178 -177
- package/components/property-panel/index.umd.cjs +1 -1
- package/components/radio-group/index.esm.js +56 -73
- package/components/radio-group/index.umd.cjs +1 -1
- package/components/response-layout-editor/index.esm.js +547 -518
- package/components/response-layout-editor/index.umd.cjs +1 -1
- package/components/response-toolbar/index.esm.js +260 -281
- package/components/response-toolbar/index.umd.cjs +1 -1
- package/components/schema-selector/index.esm.js +598 -617
- package/components/schema-selector/index.umd.cjs +2 -2
- package/components/switch/index.esm.js +137 -154
- package/components/switch/index.umd.cjs +1 -1
- package/components/tabs/index.esm.js +109 -130
- package/components/tabs/index.umd.cjs +1 -1
- package/components/textarea/index.esm.js +103 -120
- package/components/textarea/index.umd.cjs +1 -1
- package/components/time-picker/index.esm.js +172 -189
- package/components/time-picker/index.umd.cjs +1 -1
- package/components/transfer/index.esm.js +124 -122
- package/components/transfer/index.umd.cjs +1 -1
- package/components/tree-grid/index.esm.js +1600 -1630
- package/components/tree-grid/index.umd.cjs +1 -1
- package/components/tree-view/index.esm.js +245 -246
- package/components/tree-view/index.umd.cjs +1 -1
- package/farris.all.esm.js +4123 -4112
- package/farris.all.umd.cjs +8 -8
- package/package.json +1 -1
- package/types/combo-list/src/components/list-container.component.d.ts +6 -0
- package/types/combo-list/src/components/list-container.props.d.ts +9 -1
- package/types/data-grid/src/data-grid.props.d.ts +1 -0
- package/types/lookup/src/property-config/converters/lookup-property.converter.d.ts +0 -4
- package/types/lookup/src/property-config/lookup.property-config.d.ts +2 -2
- package/types/property-panel/src/composition/entity/base-property.d.ts +0 -16
- package/types/property-panel/src/composition/entity/input-base-property.d.ts +21 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var qt = Object.defineProperty;
|
|
2
2
|
var zt = (e, t, n) => t in e ? qt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
-
var
|
|
3
|
+
var z = (e, t, n) => zt(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import { ref as w, computed as R, createVNode as v, Fragment as me, watch as Q, withModifiers as Wt, withDirectives as We, vModelText as Ut, defineComponent as oe, resolveComponent as Kt, createTextVNode as ue, onBeforeUnmount as Qt, onMounted as pe, nextTick as je, reactive as Ue, resolveDirective as Yt, mergeProps as Ne, createApp as Jt, onUnmounted as Xt, inject as Ke } from "vue";
|
|
5
5
|
import { cloneDeep as he } from "lodash-es";
|
|
6
6
|
import { useIdentify as Zt, useHierarchy as en, useGroupData as tn, usePagination as nn, useDataView as on, useSelection as an, useEdit as rn, useVisualDataBound as sn, useVisualDataCell as ln, useVisualDataRow as un, useVisualGroupRow as cn, useVisualSummaryRow as dn, useVisualData as fn } from "@farris/ui-vue/components/data-view";
|
|
@@ -65,6 +65,7 @@ import yo from "@farris/ui-vue/components/weather";
|
|
|
65
65
|
import _o from "@farris/ui-vue/components/video";
|
|
66
66
|
import bo from "@farris/ui-vue/components/textarea";
|
|
67
67
|
import Co from "@farris/ui-vue/components/schema-selector";
|
|
68
|
+
import wo from "@farris/ui-vue/components/tree-grid";
|
|
68
69
|
import "@farris/ui-vue/components/external-container";
|
|
69
70
|
const Qe = {}, Ye = {};
|
|
70
71
|
function De(e) {
|
|
@@ -80,11 +81,11 @@ function xe(e, t = {}) {
|
|
|
80
81
|
}
|
|
81
82
|
return null;
|
|
82
83
|
}
|
|
83
|
-
function
|
|
84
|
+
function So(e, t) {
|
|
84
85
|
const n = De(t);
|
|
85
86
|
return Object.keys(e).reduce((o, a) => (o[a] = e[a], o), n), n;
|
|
86
87
|
}
|
|
87
|
-
function
|
|
88
|
+
function Fo(e, t) {
|
|
88
89
|
return Object.keys(e).filter((o) => e[o] != null).reduce((o, a) => {
|
|
89
90
|
if (t.has(a)) {
|
|
90
91
|
const r = t.get(a);
|
|
@@ -99,11 +100,11 @@ function So(e, t) {
|
|
|
99
100
|
return o;
|
|
100
101
|
}, {});
|
|
101
102
|
}
|
|
102
|
-
function
|
|
103
|
-
const o =
|
|
104
|
-
return
|
|
103
|
+
function To(e, t, n = /* @__PURE__ */ new Map()) {
|
|
104
|
+
const o = So(e, t);
|
|
105
|
+
return Fo(o, n);
|
|
105
106
|
}
|
|
106
|
-
function
|
|
107
|
+
function ko(e = {}) {
|
|
107
108
|
function t(p, c, l, i) {
|
|
108
109
|
if (typeof l == "number")
|
|
109
110
|
return i[p].length === l;
|
|
@@ -157,11 +158,11 @@ function To(e = {}) {
|
|
|
157
158
|
}
|
|
158
159
|
return { parseValueSchema: y };
|
|
159
160
|
}
|
|
160
|
-
const
|
|
161
|
-
|
|
161
|
+
const Vo = {}, Io = {};
|
|
162
|
+
ko();
|
|
162
163
|
function ge(e, t, n = /* @__PURE__ */ new Map(), o = (s, f, y) => f, a = {}, r = (s) => s) {
|
|
163
|
-
return Qe[t.title] = t, Ye[t.title] = o,
|
|
164
|
-
const f =
|
|
164
|
+
return Qe[t.title] = t, Ye[t.title] = o, Vo[t.title] = a, Io[t.title] = r, (s = {}) => {
|
|
165
|
+
const f = To(s, t, n), y = Object.keys(e).reduce((p, c) => (p[c] = e[c].default, p), {});
|
|
165
166
|
return Object.assign(y, f);
|
|
166
167
|
};
|
|
167
168
|
}
|
|
@@ -174,7 +175,7 @@ const Je = /* @__PURE__ */ new Map([
|
|
|
174
175
|
function Xe(e, t, n) {
|
|
175
176
|
return t;
|
|
176
177
|
}
|
|
177
|
-
const
|
|
178
|
+
const xo = "https://json-schema.org/draft/2020-12/schema", Eo = "https://farris-design.gitee.io/list-view.schema.json", Oo = "list-view", No = "A Farris Component", Bo = "object", Do = {
|
|
178
179
|
id: {
|
|
179
180
|
description: "The unique identifier for list-view",
|
|
180
181
|
type: "string"
|
|
@@ -236,18 +237,18 @@ const Io = "https://json-schema.org/draft/2020-12/schema", xo = "https://farris-
|
|
|
236
237
|
type: "boolean",
|
|
237
238
|
default: !0
|
|
238
239
|
}
|
|
239
|
-
},
|
|
240
|
+
}, Ro = [
|
|
240
241
|
"id",
|
|
241
242
|
"type"
|
|
242
|
-
],
|
|
243
|
-
$schema:
|
|
244
|
-
$id:
|
|
245
|
-
title:
|
|
246
|
-
description:
|
|
247
|
-
type:
|
|
248
|
-
properties:
|
|
249
|
-
required:
|
|
250
|
-
},
|
|
243
|
+
], Mo = {
|
|
244
|
+
$schema: xo,
|
|
245
|
+
$id: Eo,
|
|
246
|
+
title: Oo,
|
|
247
|
+
description: No,
|
|
248
|
+
type: Bo,
|
|
249
|
+
properties: Do,
|
|
250
|
+
required: Ro
|
|
251
|
+
}, $o = "list-view", Ao = "A Farris Component", Po = "object", Lo = {
|
|
251
252
|
basic: {
|
|
252
253
|
description: "Basic Infomation",
|
|
253
254
|
title: "基本信息",
|
|
@@ -269,11 +270,11 @@ const Io = "https://json-schema.org/draft/2020-12/schema", xo = "https://farris-
|
|
|
269
270
|
}
|
|
270
271
|
}
|
|
271
272
|
}
|
|
272
|
-
},
|
|
273
|
-
title:
|
|
274
|
-
description:
|
|
275
|
-
type:
|
|
276
|
-
categories:
|
|
273
|
+
}, jo = {
|
|
274
|
+
title: $o,
|
|
275
|
+
description: Ao,
|
|
276
|
+
type: Po,
|
|
277
|
+
categories: Lo
|
|
277
278
|
}, we = {
|
|
278
279
|
/** 列集合 */
|
|
279
280
|
columns: {
|
|
@@ -312,8 +313,10 @@ const Io = "https://json-schema.org/draft/2020-12/schema", xo = "https://farris-
|
|
|
312
313
|
}
|
|
313
314
|
},
|
|
314
315
|
keepOrder: { type: Boolean, default: !1 },
|
|
315
|
-
disableField: { type: String, default: "disabled" }
|
|
316
|
-
|
|
316
|
+
disableField: { type: String, default: "disabled" },
|
|
317
|
+
// 搜索启用高亮
|
|
318
|
+
enableHighlightSearch: { type: Boolean, default: !0 }
|
|
319
|
+
}, Ze = ge(we, Mo, Je, Xe, jo);
|
|
317
320
|
function et(e, t) {
|
|
318
321
|
function n(r) {
|
|
319
322
|
const s = [];
|
|
@@ -392,7 +395,7 @@ function Ge(e, t, n, o, a, r, s, f, y, p) {
|
|
|
392
395
|
renderItem: E
|
|
393
396
|
};
|
|
394
397
|
}
|
|
395
|
-
function
|
|
398
|
+
function Go(e, t, n, o, a, r, s, f, y, p) {
|
|
396
399
|
const c = w(e.multiSelect), l = w(e.disableField), {
|
|
397
400
|
onMouseenterItem: i,
|
|
398
401
|
onMouseoverItem: I,
|
|
@@ -439,7 +442,7 @@ function jo(e, t, n, o, a, r, s, f, y, p) {
|
|
|
439
442
|
renderItem: T
|
|
440
443
|
};
|
|
441
444
|
}
|
|
442
|
-
function
|
|
445
|
+
function Ho(e, t, n, o, a, r, s, f, y, p) {
|
|
443
446
|
const c = w(e.multiSelect), l = w(e.disableField), {
|
|
444
447
|
onMouseenterItem: i,
|
|
445
448
|
onMouseoverItem: I,
|
|
@@ -511,7 +514,7 @@ function Go(e, t, n, o, a, r, s, f, y, p) {
|
|
|
511
514
|
renderItem: S
|
|
512
515
|
};
|
|
513
516
|
}
|
|
514
|
-
function
|
|
517
|
+
function qo(e, t, n, o, a, r, s, f, y, p) {
|
|
515
518
|
var h;
|
|
516
519
|
const c = w(((h = e.group) == null ? void 0 : h.groupFields) || []), {
|
|
517
520
|
collpaseGroupIconClass: l
|
|
@@ -537,7 +540,7 @@ function Ho(e, t, n, o, a, r, s, f, y, p) {
|
|
|
537
540
|
renderItem: V
|
|
538
541
|
};
|
|
539
542
|
}
|
|
540
|
-
function
|
|
543
|
+
function zo() {
|
|
541
544
|
const e = w(-1), t = w(""), n = w(-1), o = w(!1);
|
|
542
545
|
function a(p, c, l) {
|
|
543
546
|
n.value = l;
|
|
@@ -565,7 +568,7 @@ function qo() {
|
|
|
565
568
|
suspendHover: f
|
|
566
569
|
};
|
|
567
570
|
}
|
|
568
|
-
function
|
|
571
|
+
function Wo(e, t, n, o) {
|
|
569
572
|
const a = w(e.idField), { dataView: r } = n, s = w(-1), f = w(!1), { activeIndex: y, focusedItemId: p, hoverIndex: c, resumeHover: l, suspendHover: i } = o;
|
|
570
573
|
function I(_, d, k) {
|
|
571
574
|
_.stopPropagation(), i(), d && setTimeout(() => {
|
|
@@ -594,7 +597,7 @@ function zo(e, t, n, o) {
|
|
|
594
597
|
isDragging: f
|
|
595
598
|
};
|
|
596
599
|
}
|
|
597
|
-
function
|
|
600
|
+
function Uo(e, t, n) {
|
|
598
601
|
const { dataView: o } = n;
|
|
599
602
|
function a(r) {
|
|
600
603
|
if (r > -1 && r < o.value.length) {
|
|
@@ -604,7 +607,7 @@ function Wo(e, t, n) {
|
|
|
604
607
|
}
|
|
605
608
|
return { removeItem: a };
|
|
606
609
|
}
|
|
607
|
-
function
|
|
610
|
+
function Ko(e, t, n, o, a, r) {
|
|
608
611
|
const s = w(e.idField), f = w(e.disableField), y = w(e.draggable), p = w(e.itemClass), c = w(e.selection.multiSelect ?? !1), l = w(e.selection.multiSelectMode);
|
|
609
612
|
w(!0);
|
|
610
613
|
const { isDragging: i } = o, { activeIndex: I, focusedItemId: V, hoverIndex: h } = a, { clearSelection: x, getSelectedItems: _, toggleSelectItem: d } = r, k = w(_());
|
|
@@ -643,19 +646,19 @@ function Uo(e, t, n, o, a, r) {
|
|
|
643
646
|
};
|
|
644
647
|
}
|
|
645
648
|
function tt(e, t, n, o, a, r, s) {
|
|
646
|
-
const f = w(e.view), y = w(e.view === "CardView"), p = w({}), c = w("暂无数据"), l =
|
|
649
|
+
const f = w(e.view), y = w(e.view === "CardView"), p = w({}), c = w("暂无数据"), l = zo(), i = Wo(e, t, o, l), I = Uo(e, t, o), V = Ko(e, t, n, i, l, r), h = R(() => ({
|
|
647
650
|
"f-list-view-group": !0,
|
|
648
651
|
"d-flex": y.value,
|
|
649
652
|
"flex-wrap": y.value
|
|
650
653
|
})), x = R(() => !!n.value && n.value.length > 0), _ = R(() => n.value.length === 0), d = R(() => _.value && !t.slots.empty);
|
|
651
654
|
function k() {
|
|
652
|
-
return f.value === "SingleView" ? Ge : f.value === "DraggableView" ?
|
|
655
|
+
return f.value === "SingleView" ? Ge : f.value === "DraggableView" ? Ho : (f.value === "ContentView" || f.value === "CardView") && t.slots.content ? Go : Ge;
|
|
653
656
|
}
|
|
654
657
|
const T = k(), {
|
|
655
658
|
renderItem: m
|
|
656
659
|
} = T(e, t, n, i, a, l, V, r, I, s), {
|
|
657
660
|
renderItem: C
|
|
658
|
-
} =
|
|
661
|
+
} = qo(e, t, n, i, a, l, V, r, I, s), E = [m, C];
|
|
659
662
|
function N() {
|
|
660
663
|
return n.value.filter((F) => F.visible !== !1).map((F, S) => E[F.type](F, S, p));
|
|
661
664
|
}
|
|
@@ -692,7 +695,7 @@ function Ce(e, t, n) {
|
|
|
692
695
|
r.value = "";
|
|
693
696
|
}
|
|
694
697
|
Q(r, (i) => {
|
|
695
|
-
n.search(i);
|
|
698
|
+
e.enableHighlightSearch && n.search(i), t.emit("afterSearch", i);
|
|
696
699
|
});
|
|
697
700
|
const p = R(() => {
|
|
698
701
|
const i = {
|
|
@@ -742,7 +745,7 @@ function Ce(e, t, n) {
|
|
|
742
745
|
const ve = /* @__PURE__ */ oe({
|
|
743
746
|
name: "FListView",
|
|
744
747
|
props: we,
|
|
745
|
-
emits: ["checkValuesChange", "clickItem", "selectionChange", "removeItem", "change", "activeChange"],
|
|
748
|
+
emits: ["afterSearch", "checkValuesChange", "clickItem", "selectionChange", "removeItem", "change", "activeChange"],
|
|
746
749
|
setup(e, t) {
|
|
747
750
|
const n = w(), o = w(!0), a = w(!1), r = w([]), s = 0, f = w(e.columns), y = Zt(e), p = en(e), c = tn(e, y), l = nn(e), i = on(e, /* @__PURE__ */ new Map(), p, y, l), I = an(e, i, y, r, t), V = et(e, n), h = R(() => i.dataView.value.length), x = rn(e, y), _ = sn(), d = ln(e, {}, _), k = un(e, x, p, y, _, d), T = cn(e, y, d, k), m = dn(e, y, d, k), C = fn(e, f, i, h, s, k, T, m), {
|
|
748
751
|
getVisualData: E
|
|
@@ -876,7 +879,7 @@ function ot(e, t, n) {
|
|
|
876
879
|
}, s;
|
|
877
880
|
}
|
|
878
881
|
var Z = /* @__PURE__ */ ((e) => (e[e.readonly = 0] = "readonly", e[e.editable = 1] = "editable", e[e.editing = 2] = "editing", e))(Z || {}), le = /* @__PURE__ */ ((e) => (e[e.initial = 0] = "initial", e[e.editing = 1] = "editing", e))(le || {}), Se = /* @__PURE__ */ ((e) => (e[e.data = 0] = "data", e[e.group = 1] = "group", e[e.summary = 2] = "summary", e))(Se || {});
|
|
879
|
-
function
|
|
882
|
+
function Qo() {
|
|
880
883
|
function e(n, o) {
|
|
881
884
|
const a = n.pre;
|
|
882
885
|
if (a) {
|
|
@@ -893,7 +896,7 @@ function Ko() {
|
|
|
893
896
|
}
|
|
894
897
|
return { updateRowPosition: e, updateVisualInfomation: t };
|
|
895
898
|
}
|
|
896
|
-
function
|
|
899
|
+
function Yo() {
|
|
897
900
|
function e(o, a) {
|
|
898
901
|
switch (o.command) {
|
|
899
902
|
case "edit":
|
|
@@ -953,11 +956,11 @@ const at = {
|
|
|
953
956
|
*/
|
|
954
957
|
isControlInline: { type: Boolean, default: !0 }
|
|
955
958
|
};
|
|
956
|
-
class
|
|
959
|
+
class Jo {
|
|
957
960
|
constructor(t = { value: [] }) {
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
+
z(this, "editorType", "check-box");
|
|
962
|
+
z(this, "value");
|
|
963
|
+
z(this, "valueType", "boolean");
|
|
961
964
|
this.value = t.value;
|
|
962
965
|
}
|
|
963
966
|
clear() {
|
|
@@ -973,13 +976,13 @@ class Yo {
|
|
|
973
976
|
return this.value.length === 0;
|
|
974
977
|
}
|
|
975
978
|
}
|
|
976
|
-
class
|
|
979
|
+
class Xo {
|
|
977
980
|
constructor(t = { textValue: "", value: "", valueField: "" }) {
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
981
|
+
z(this, "editorType", "combo-lookup");
|
|
982
|
+
z(this, "textValue");
|
|
983
|
+
z(this, "value");
|
|
984
|
+
z(this, "valueField");
|
|
985
|
+
z(this, "valueType", "text");
|
|
983
986
|
this.textValue = t.textValue, this.value = t.value, this.valueField = t.valueField;
|
|
984
987
|
}
|
|
985
988
|
clear() {
|
|
@@ -1007,11 +1010,11 @@ class Jo {
|
|
|
1007
1010
|
return !this.valueField;
|
|
1008
1011
|
}
|
|
1009
1012
|
}
|
|
1010
|
-
class
|
|
1013
|
+
class Zo {
|
|
1011
1014
|
constructor(t = { value: "" }) {
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
+
z(this, "editorType", "date-picker");
|
|
1016
|
+
z(this, "value");
|
|
1017
|
+
z(this, "valueType", "datetime");
|
|
1015
1018
|
this.value = t.value;
|
|
1016
1019
|
}
|
|
1017
1020
|
setValue(t) {
|
|
@@ -1029,10 +1032,10 @@ class Xo {
|
|
|
1029
1032
|
}
|
|
1030
1033
|
class He {
|
|
1031
1034
|
constructor(t = { begin: "", end: "" }) {
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1035
|
+
z(this, "editorType", "date-range");
|
|
1036
|
+
z(this, "begin", "");
|
|
1037
|
+
z(this, "end", "");
|
|
1038
|
+
z(this, "valueType", "datetime");
|
|
1036
1039
|
this.begin = t.begin, this.end = t.end;
|
|
1037
1040
|
}
|
|
1038
1041
|
clear() {
|
|
@@ -1048,11 +1051,11 @@ class He {
|
|
|
1048
1051
|
return !this.begin || !this.end;
|
|
1049
1052
|
}
|
|
1050
1053
|
}
|
|
1051
|
-
class
|
|
1054
|
+
class ea {
|
|
1052
1055
|
constructor(t = { value: "" }) {
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
+
z(this, "editorType", "datetime-picker");
|
|
1057
|
+
z(this, "value");
|
|
1058
|
+
z(this, "valueType", "datetime");
|
|
1056
1059
|
this.value = t.value;
|
|
1057
1060
|
}
|
|
1058
1061
|
clear() {
|
|
@@ -1068,14 +1071,14 @@ class Zo {
|
|
|
1068
1071
|
return !this.value;
|
|
1069
1072
|
}
|
|
1070
1073
|
}
|
|
1071
|
-
class
|
|
1074
|
+
class ta {
|
|
1072
1075
|
// 旧结构无,新结构为选中的value值,多选是以,分割的字符串
|
|
1073
1076
|
constructor(t = { value: "", dispalyText: "" }) {
|
|
1074
|
-
|
|
1075
|
-
|
|
1077
|
+
z(this, "editorType", "combo-list");
|
|
1078
|
+
z(this, "value");
|
|
1076
1079
|
// 旧结构{Type: '', Content: {value: string, name: string}} 新结构Array[{value: string, name: string}]
|
|
1077
|
-
|
|
1078
|
-
|
|
1080
|
+
z(this, "valueType", "enum");
|
|
1081
|
+
z(this, "displayText");
|
|
1079
1082
|
this.displayText = t.dispalyText, this.value = t.value;
|
|
1080
1083
|
}
|
|
1081
1084
|
clear() {
|
|
@@ -1091,18 +1094,18 @@ class ea {
|
|
|
1091
1094
|
return !this.displayText;
|
|
1092
1095
|
}
|
|
1093
1096
|
}
|
|
1094
|
-
class
|
|
1097
|
+
class na {
|
|
1095
1098
|
constructor(t = { value: [], displayText: "", displayField: "", isInputText: !1 }) {
|
|
1096
|
-
|
|
1099
|
+
z(this, "editorType", "input-group");
|
|
1097
1100
|
// 通过弹窗返回的若干个值对象构成的数组
|
|
1098
|
-
|
|
1099
|
-
|
|
1101
|
+
z(this, "value");
|
|
1102
|
+
z(this, "valueType", "text");
|
|
1100
1103
|
// 控件内显示的值
|
|
1101
|
-
|
|
1104
|
+
z(this, "displayText");
|
|
1102
1105
|
// 弹窗模式下,取列表中哪个字段的值映射到当前字段
|
|
1103
|
-
|
|
1106
|
+
z(this, "valueField");
|
|
1104
1107
|
// 是否是手动输入的值
|
|
1105
|
-
|
|
1108
|
+
z(this, "isInputText");
|
|
1106
1109
|
this.value = t.value, this.displayText = t.displayText, this.valueField = t.displayField, this.isInputText = t.isInputText;
|
|
1107
1110
|
}
|
|
1108
1111
|
clear() {
|
|
@@ -1130,15 +1133,15 @@ class ta {
|
|
|
1130
1133
|
return !this.displayText;
|
|
1131
1134
|
}
|
|
1132
1135
|
}
|
|
1133
|
-
class
|
|
1136
|
+
class oa {
|
|
1134
1137
|
constructor(t = { textValue: "", value: [], valueField: "", isInputText: !1 }) {
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1138
|
+
z(this, "editorType", "lookup");
|
|
1139
|
+
z(this, "textValue");
|
|
1140
|
+
z(this, "value");
|
|
1141
|
+
z(this, "valueField");
|
|
1142
|
+
z(this, "valueType", "text");
|
|
1140
1143
|
// 帮助的值是否为手动输入的任意值,对应帮助的任意输入属性nosearch
|
|
1141
|
-
|
|
1144
|
+
z(this, "isInputText");
|
|
1142
1145
|
this.value = t.value, this.valueField = t.valueField, this.textValue = t.textValue, this.isInputText = t.isInputText;
|
|
1143
1146
|
}
|
|
1144
1147
|
clear() {
|
|
@@ -1166,11 +1169,11 @@ class na {
|
|
|
1166
1169
|
return !this.value.length;
|
|
1167
1170
|
}
|
|
1168
1171
|
}
|
|
1169
|
-
class
|
|
1172
|
+
class aa {
|
|
1170
1173
|
constructor(t = { value: "" }) {
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
+
z(this, "editorType", "month-picker");
|
|
1175
|
+
z(this, "value");
|
|
1176
|
+
z(this, "valueType", "datetime");
|
|
1174
1177
|
this.value = t.value;
|
|
1175
1178
|
}
|
|
1176
1179
|
setValue(t) {
|
|
@@ -1186,12 +1189,12 @@ class oa {
|
|
|
1186
1189
|
return !this.value;
|
|
1187
1190
|
}
|
|
1188
1191
|
}
|
|
1189
|
-
class
|
|
1192
|
+
class ra {
|
|
1190
1193
|
constructor(t = { begin: "", end: "" }) {
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1194
|
+
z(this, "editorType", "month-range");
|
|
1195
|
+
z(this, "begin");
|
|
1196
|
+
z(this, "end");
|
|
1197
|
+
z(this, "valueType", "datetime");
|
|
1195
1198
|
this.begin = t.begin, this.end = t.end;
|
|
1196
1199
|
}
|
|
1197
1200
|
clear() {
|
|
@@ -1207,12 +1210,12 @@ class aa {
|
|
|
1207
1210
|
return !this.begin || !this.end;
|
|
1208
1211
|
}
|
|
1209
1212
|
}
|
|
1210
|
-
class
|
|
1213
|
+
class ia {
|
|
1211
1214
|
constructor(t = { begin: null, end: null }) {
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1215
|
+
z(this, "editorType", "number-range");
|
|
1216
|
+
z(this, "begin");
|
|
1217
|
+
z(this, "end");
|
|
1218
|
+
z(this, "valueType", "number");
|
|
1216
1219
|
this.begin = t.begin == null ? null : parseFloat(t.begin), this.end = t.end == null ? null : parseFloat(t.end);
|
|
1217
1220
|
}
|
|
1218
1221
|
clear() {
|
|
@@ -1231,11 +1234,11 @@ class ra {
|
|
|
1231
1234
|
return this.begin == null && this.end == null;
|
|
1232
1235
|
}
|
|
1233
1236
|
}
|
|
1234
|
-
class
|
|
1237
|
+
class sa {
|
|
1235
1238
|
constructor(t = { value: "" }) {
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
+
z(this, "editorType", "number-spinner");
|
|
1240
|
+
z(this, "value");
|
|
1241
|
+
z(this, "valueType", "number");
|
|
1239
1242
|
this.value = t.value == null ? null : parseFloat(t.value);
|
|
1240
1243
|
}
|
|
1241
1244
|
clear() {
|
|
@@ -1251,11 +1254,11 @@ class ia {
|
|
|
1251
1254
|
return this.value == null;
|
|
1252
1255
|
}
|
|
1253
1256
|
}
|
|
1254
|
-
class
|
|
1257
|
+
class la {
|
|
1255
1258
|
constructor(t = { value: null }) {
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
+
z(this, "editorType", "radio-group");
|
|
1260
|
+
z(this, "value");
|
|
1261
|
+
z(this, "valueType", "enum");
|
|
1259
1262
|
this.value = t.value;
|
|
1260
1263
|
}
|
|
1261
1264
|
clear() {
|
|
@@ -1273,9 +1276,9 @@ class sa {
|
|
|
1273
1276
|
}
|
|
1274
1277
|
class rt {
|
|
1275
1278
|
constructor(t = { value: "" }) {
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
+
z(this, "editorType", "text");
|
|
1280
|
+
z(this, "value");
|
|
1281
|
+
z(this, "valueType", "text");
|
|
1279
1282
|
this.value = t.value;
|
|
1280
1283
|
}
|
|
1281
1284
|
clear() {
|
|
@@ -1295,33 +1298,33 @@ function it() {
|
|
|
1295
1298
|
function e(t, n) {
|
|
1296
1299
|
switch (t) {
|
|
1297
1300
|
case "check-box":
|
|
1298
|
-
return new
|
|
1301
|
+
return new Jo(n);
|
|
1299
1302
|
case "combo-list":
|
|
1300
|
-
return new
|
|
1303
|
+
return new ta(n);
|
|
1301
1304
|
case "combo-lookup":
|
|
1302
|
-
return new
|
|
1305
|
+
return new Xo(n);
|
|
1303
1306
|
case "input-group":
|
|
1304
|
-
return new
|
|
1307
|
+
return new na(n);
|
|
1305
1308
|
case "date-picker":
|
|
1306
|
-
return new
|
|
1309
|
+
return new Zo(n);
|
|
1307
1310
|
case "date-range":
|
|
1308
1311
|
return new He(n);
|
|
1309
1312
|
case "datetime-picker":
|
|
1310
|
-
return new
|
|
1313
|
+
return new ea(n);
|
|
1311
1314
|
case "datetime-range":
|
|
1312
1315
|
return new He(n);
|
|
1313
1316
|
case "lookup":
|
|
1314
|
-
return new na(n);
|
|
1315
|
-
case "month-picker":
|
|
1316
1317
|
return new oa(n);
|
|
1317
|
-
case "month-
|
|
1318
|
+
case "month-picker":
|
|
1318
1319
|
return new aa(n);
|
|
1319
|
-
case "
|
|
1320
|
+
case "month-range":
|
|
1320
1321
|
return new ra(n);
|
|
1321
|
-
case "number-
|
|
1322
|
+
case "number-range":
|
|
1322
1323
|
return new ia(n);
|
|
1323
|
-
case "
|
|
1324
|
+
case "number-spinner":
|
|
1324
1325
|
return new sa(n);
|
|
1326
|
+
case "radio-group":
|
|
1327
|
+
return new la(n);
|
|
1325
1328
|
default:
|
|
1326
1329
|
return new rt(n);
|
|
1327
1330
|
}
|
|
@@ -1360,7 +1363,7 @@ function st(e, t) {
|
|
|
1360
1363
|
}
|
|
1361
1364
|
return { convertToSingleControl: f, fields: n, fieldMap: a, fieldConditions: o, loadFieldConfigs: y, initialConditionValue: p };
|
|
1362
1365
|
}
|
|
1363
|
-
function
|
|
1366
|
+
function ua(e, t, n) {
|
|
1364
1367
|
const o = w(null), a = w(n), r = w(0), s = R(() => p(r.value));
|
|
1365
1368
|
function f() {
|
|
1366
1369
|
a.value && (o.value = new ResizeObserver(y((c) => {
|
|
@@ -1397,7 +1400,7 @@ const qe = /* @__PURE__ */ oe({
|
|
|
1397
1400
|
initialConditionValue: f,
|
|
1398
1401
|
fieldMap: y,
|
|
1399
1402
|
loadFieldConfigs: p
|
|
1400
|
-
} = s, c =
|
|
1403
|
+
} = s, c = ua(e, t, n), {
|
|
1401
1404
|
conditionClass: l,
|
|
1402
1405
|
resizeObserver: i
|
|
1403
1406
|
} = c;
|
|
@@ -1440,22 +1443,22 @@ const qe = /* @__PURE__ */ oe({
|
|
|
1440
1443
|
}), Me = /* @__PURE__ */ new Map([
|
|
1441
1444
|
["appearance", Re]
|
|
1442
1445
|
]);
|
|
1443
|
-
function
|
|
1446
|
+
function ca(e, t, n, o) {
|
|
1444
1447
|
const a = e.getSchemaByType("section");
|
|
1445
1448
|
return a.id = `${o}-section`, a.appearance = { class: "f-section-form f-section-in-main" }, a.mainTitle = "标题", a.contents = [t], a;
|
|
1446
1449
|
}
|
|
1447
|
-
function
|
|
1450
|
+
function da(e, t, n, o) {
|
|
1448
1451
|
const a = e.getSchemaByType("component");
|
|
1449
1452
|
return a.id = `${o}-component`, a.componentType = "form-col-1", a.appearance = {
|
|
1450
1453
|
class: "f-struct-form f-struct-wrapper"
|
|
1451
1454
|
}, a.contents = [t], a;
|
|
1452
1455
|
}
|
|
1453
|
-
function
|
|
1456
|
+
function fa(e, t, n) {
|
|
1454
1457
|
t.appearance = { class: "f-form-layout farris-form farris-form-controls-inline" };
|
|
1455
|
-
const o =
|
|
1456
|
-
return
|
|
1458
|
+
const o = ca(e, t, n, t.id);
|
|
1459
|
+
return da(e, o, n, t.id);
|
|
1457
1460
|
}
|
|
1458
|
-
const
|
|
1461
|
+
const pa = "https://json-schema.org/draft/2020-12/schema", va = "https://farris-design.gitee.io/response-form.schema.json", ma = "response-form", ha = "A Farris Data Collection Component", ga = "object", ya = {
|
|
1459
1462
|
id: {
|
|
1460
1463
|
description: "The unique identifier for a form group",
|
|
1461
1464
|
type: "string"
|
|
@@ -1483,18 +1486,18 @@ const fa = "https://json-schema.org/draft/2020-12/schema", pa = "https://farris-
|
|
|
1483
1486
|
type: "array",
|
|
1484
1487
|
default: []
|
|
1485
1488
|
}
|
|
1486
|
-
},
|
|
1489
|
+
}, _a = [
|
|
1487
1490
|
"id",
|
|
1488
1491
|
"type"
|
|
1489
|
-
],
|
|
1490
|
-
$schema:
|
|
1491
|
-
$id:
|
|
1492
|
-
title:
|
|
1493
|
-
description:
|
|
1494
|
-
type:
|
|
1495
|
-
properties:
|
|
1496
|
-
required:
|
|
1497
|
-
},
|
|
1492
|
+
], ba = {
|
|
1493
|
+
$schema: pa,
|
|
1494
|
+
$id: va,
|
|
1495
|
+
title: ma,
|
|
1496
|
+
description: ha,
|
|
1497
|
+
type: ga,
|
|
1498
|
+
properties: ya,
|
|
1499
|
+
required: _a
|
|
1500
|
+
}, Ca = "response-form", wa = "A Farris Component", Sa = "object", Fa = {
|
|
1498
1501
|
basic: {
|
|
1499
1502
|
description: "Basic Infomation",
|
|
1500
1503
|
title: "基本信息",
|
|
@@ -1516,16 +1519,16 @@ const fa = "https://json-schema.org/draft/2020-12/schema", pa = "https://farris-
|
|
|
1516
1519
|
}
|
|
1517
1520
|
}
|
|
1518
1521
|
}
|
|
1519
|
-
}, Fa = {
|
|
1520
|
-
title: ba,
|
|
1521
|
-
description: Ca,
|
|
1522
|
-
type: wa,
|
|
1523
|
-
categories: Sa
|
|
1524
1522
|
}, Ta = {
|
|
1523
|
+
title: Ca,
|
|
1524
|
+
description: wa,
|
|
1525
|
+
type: Sa,
|
|
1526
|
+
categories: Fa
|
|
1527
|
+
}, ka = {
|
|
1525
1528
|
customClass: { type: String, default: "" }
|
|
1526
1529
|
};
|
|
1527
|
-
ge(
|
|
1528
|
-
const
|
|
1530
|
+
ge(ka, ba, Me, fa, Ta);
|
|
1531
|
+
const Va = "https://json-schema.org/draft/2020-12/schema", Ia = "https://farris-design.gitee.io/form-group.schema.json", xa = "form-group", Ea = "A Farris Input Component", Oa = "object", Na = {
|
|
1529
1532
|
id: {
|
|
1530
1533
|
description: "The unique identifier for a form group",
|
|
1531
1534
|
type: "string"
|
|
@@ -1566,17 +1569,17 @@ const ka = "https://json-schema.org/draft/2020-12/schema", Va = "https://farris-
|
|
|
1566
1569
|
description: "",
|
|
1567
1570
|
type: "number"
|
|
1568
1571
|
}
|
|
1569
|
-
},
|
|
1572
|
+
}, Ba = [
|
|
1570
1573
|
"id",
|
|
1571
1574
|
"type"
|
|
1572
1575
|
], lt = {
|
|
1573
|
-
$schema:
|
|
1574
|
-
$id:
|
|
1575
|
-
title:
|
|
1576
|
-
description:
|
|
1577
|
-
type:
|
|
1578
|
-
properties:
|
|
1579
|
-
required:
|
|
1576
|
+
$schema: Va,
|
|
1577
|
+
$id: Ia,
|
|
1578
|
+
title: xa,
|
|
1579
|
+
description: Ea,
|
|
1580
|
+
type: Oa,
|
|
1581
|
+
properties: Na,
|
|
1582
|
+
required: Ba
|
|
1580
1583
|
}, ut = {
|
|
1581
1584
|
id: { type: String, default: "" },
|
|
1582
1585
|
customClass: { type: String, default: "" },
|
|
@@ -1597,14 +1600,14 @@ ge(
|
|
|
1597
1600
|
Me,
|
|
1598
1601
|
void 0
|
|
1599
1602
|
);
|
|
1600
|
-
const
|
|
1603
|
+
const Da = {
|
|
1601
1604
|
id: { type: String },
|
|
1602
1605
|
required: { type: Boolean, default: !1 },
|
|
1603
1606
|
text: { type: String, default: "" },
|
|
1604
1607
|
title: { type: String }
|
|
1605
|
-
},
|
|
1608
|
+
}, Ra = /* @__PURE__ */ oe({
|
|
1606
1609
|
name: "FDynamicFormLabel",
|
|
1607
|
-
props:
|
|
1610
|
+
props: Da,
|
|
1608
1611
|
emits: [],
|
|
1609
1612
|
setup(e, t) {
|
|
1610
1613
|
const n = w(e.title || e.text), o = w(e.required), a = w(e.text);
|
|
@@ -1621,13 +1624,13 @@ const Ba = {
|
|
|
1621
1624
|
class: "farris-label-text"
|
|
1622
1625
|
}, [a.value])]);
|
|
1623
1626
|
}
|
|
1624
|
-
}),
|
|
1627
|
+
}), Ma = /* @__PURE__ */ new Map([
|
|
1625
1628
|
["appearance", Re]
|
|
1626
1629
|
]);
|
|
1627
|
-
function
|
|
1630
|
+
function $a(e, t, n) {
|
|
1628
1631
|
return t;
|
|
1629
1632
|
}
|
|
1630
|
-
const
|
|
1633
|
+
const Aa = "https://json-schema.org/draft/2020-12/schema", Pa = "https://farris-design.gitee.io/input-group.schema.json", La = "input-group", ja = "A Farris Input Component", Ga = "object", Ha = {
|
|
1631
1634
|
id: {
|
|
1632
1635
|
description: "The unique identifier for a Input Group",
|
|
1633
1636
|
type: "string"
|
|
@@ -1829,17 +1832,17 @@ const $a = "https://json-schema.org/draft/2020-12/schema", Aa = "https://farris-
|
|
|
1829
1832
|
type: "string",
|
|
1830
1833
|
default: ""
|
|
1831
1834
|
}
|
|
1832
|
-
},
|
|
1835
|
+
}, qa = [
|
|
1833
1836
|
"id",
|
|
1834
1837
|
"type"
|
|
1835
|
-
],
|
|
1836
|
-
$schema:
|
|
1837
|
-
$id:
|
|
1838
|
-
title:
|
|
1839
|
-
description:
|
|
1840
|
-
type:
|
|
1841
|
-
properties:
|
|
1842
|
-
required:
|
|
1838
|
+
], za = {
|
|
1839
|
+
$schema: Aa,
|
|
1840
|
+
$id: Pa,
|
|
1841
|
+
title: La,
|
|
1842
|
+
description: ja,
|
|
1843
|
+
type: Ga,
|
|
1844
|
+
properties: Ha,
|
|
1845
|
+
required: qa
|
|
1843
1846
|
}, ct = {
|
|
1844
1847
|
/** 是否自动完成 */
|
|
1845
1848
|
autocomplete: { Type: String, default: "off" },
|
|
@@ -1907,8 +1910,8 @@ const $a = "https://json-schema.org/draft/2020-12/schema", Aa = "https://farris-
|
|
|
1907
1910
|
*/
|
|
1908
1911
|
updateOn: { type: String, default: "blur" }
|
|
1909
1912
|
};
|
|
1910
|
-
ge(ct,
|
|
1911
|
-
function
|
|
1913
|
+
ge(ct, za, Ma, $a);
|
|
1914
|
+
function Wa(e, t, n, o) {
|
|
1912
1915
|
const a = w(e.disabled), r = w(!1), s = w("text"), f = w(e.showBorder), y = w(e.textAlign), p = w(e.updateOn), c = R(() => e.editable || !e.readonly), l = R(() => e.editable && !e.disabled && !e.readonly), i = R(() => !e.disabled && r.value), I = R(() => n.value === "" || n.value === null || n.value === void 0), V = R(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), h = R(() => e.readonly || !e.editable), x = R(() => e.enableTitle ? n.value : ""), _ = R(() => ({
|
|
1913
1916
|
"form-control": !0,
|
|
1914
1917
|
"f-utils-fill": !0,
|
|
@@ -1991,7 +1994,7 @@ function za(e, t, n, o) {
|
|
|
1991
1994
|
inputGroupStyle: k
|
|
1992
1995
|
};
|
|
1993
1996
|
}
|
|
1994
|
-
function
|
|
1997
|
+
function Ua(e, t, n) {
|
|
1995
1998
|
const o = w(!1), a = R(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: r, displayText: s, hasFocused: f, isEmpty: y } = n;
|
|
1996
1999
|
function p(h) {
|
|
1997
2000
|
o.value = h;
|
|
@@ -2017,8 +2020,8 @@ function Wa(e, t, n) {
|
|
|
2017
2020
|
}
|
|
2018
2021
|
return { clearButtonClass: c, clearButtonStyle: l, hasShownClearButton: o, onClearValue: i, onMouseEnter: I, onMouseLeave: V, shouldShowClearButton: a };
|
|
2019
2022
|
}
|
|
2020
|
-
const
|
|
2021
|
-
function
|
|
2023
|
+
const Ka = ["moz", "ms", "webkit"];
|
|
2024
|
+
function Qa() {
|
|
2022
2025
|
let e = 0;
|
|
2023
2026
|
return (t) => {
|
|
2024
2027
|
const n = (/* @__PURE__ */ new Date()).getTime(), o = Math.max(0, 16 - (n - e)), a = setTimeout(() => {
|
|
@@ -2027,23 +2030,23 @@ function Ka() {
|
|
|
2027
2030
|
return e = n + o, a;
|
|
2028
2031
|
};
|
|
2029
2032
|
}
|
|
2030
|
-
function
|
|
2033
|
+
function Ya() {
|
|
2031
2034
|
if (typeof window > "u")
|
|
2032
2035
|
return () => 0;
|
|
2033
2036
|
if (window.requestAnimationFrame)
|
|
2034
2037
|
return window.requestAnimationFrame.bind(window);
|
|
2035
|
-
const e =
|
|
2036
|
-
return e ? window[`${e}RequestAnimationFrame`] :
|
|
2038
|
+
const e = Ka.filter((t) => `${t}RequestAnimationFrame` in window)[0];
|
|
2039
|
+
return e ? window[`${e}RequestAnimationFrame`] : Qa();
|
|
2037
2040
|
}
|
|
2038
|
-
|
|
2039
|
-
function
|
|
2041
|
+
Ya();
|
|
2042
|
+
function Ja(e, t) {
|
|
2040
2043
|
const n = w(e.groupText), o = R(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), a = R(() => e.enableClear || !!e.groupText);
|
|
2041
2044
|
return { appendedButtonClass: R(() => ({
|
|
2042
2045
|
"input-group-append": !0,
|
|
2043
2046
|
"append-force-show": o.value
|
|
2044
2047
|
})), appendedContent: n, shouldShowAppendedButton: a };
|
|
2045
2048
|
}
|
|
2046
|
-
function
|
|
2049
|
+
function Xa(e, t, n, o) {
|
|
2047
2050
|
const { appendedContent: a } = o, r = w(e.enableViewPassword), s = R(() => e.type === "password"), f = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', y = '<span class="f-icon f-icon-eye"></span>', p = w(!1);
|
|
2048
2051
|
Q(() => [e.readonly, e.disabled], ([i, I]) => {
|
|
2049
2052
|
s.value && (n.value = i || I ? "password" : n.value, a.value = i || I ? y : a.value);
|
|
@@ -2056,7 +2059,7 @@ function Ja(e, t, n, o) {
|
|
|
2056
2059
|
}
|
|
2057
2060
|
return l(), { isPassword: s, onClickAppendedButton: c };
|
|
2058
2061
|
}
|
|
2059
|
-
function
|
|
2062
|
+
function Za(e, t, n) {
|
|
2060
2063
|
const o = w(), {
|
|
2061
2064
|
onBlurTextBox: a,
|
|
2062
2065
|
onFocusTextBox: r,
|
|
@@ -2096,7 +2099,7 @@ function Xa(e, t, n) {
|
|
|
2096
2099
|
onKeydown: f
|
|
2097
2100
|
}, null);
|
|
2098
2101
|
}
|
|
2099
|
-
function
|
|
2102
|
+
function er(e, t, n) {
|
|
2100
2103
|
const {
|
|
2101
2104
|
canDownward: o,
|
|
2102
2105
|
canUpward: a,
|
|
@@ -2137,12 +2140,12 @@ function Za(e, t, n) {
|
|
|
2137
2140
|
class: "f-icon f-icon-arrow-chevron-down number-arrow-chevron"
|
|
2138
2141
|
}, null)])]);
|
|
2139
2142
|
}
|
|
2140
|
-
function
|
|
2141
|
-
const n = wn(e, t), o = Sn(e, t, n), a = Fn(e, t, o, n), r = Tn(e, t, o, n, a), s =
|
|
2143
|
+
function tr(e, t) {
|
|
2144
|
+
const n = wn(e, t), o = Sn(e, t, n), a = Fn(e, t, o, n), r = Tn(e, t, o, n, a), s = er(e, t, a), {
|
|
2142
2145
|
displayValue: f,
|
|
2143
2146
|
modelValue: y,
|
|
2144
2147
|
getRealValue: p
|
|
2145
|
-
} = n, c =
|
|
2148
|
+
} = n, c = Za(e, t, r), {
|
|
2146
2149
|
format: l
|
|
2147
2150
|
} = o, {
|
|
2148
2151
|
isFocus: i
|
|
@@ -2161,7 +2164,7 @@ function er(e, t) {
|
|
|
2161
2164
|
class: "input-group f-state-hover flex-row f-cmp-number-spinner"
|
|
2162
2165
|
}, [c(), I.value && s()]);
|
|
2163
2166
|
}
|
|
2164
|
-
function
|
|
2167
|
+
function nr(e, t, n, o) {
|
|
2165
2168
|
const a = w(), r = w(e.autocomplete), s = w(e.enableTitle), {
|
|
2166
2169
|
isPassword: f
|
|
2167
2170
|
} = n, y = w(e.minLength), p = w(e.maxLength), c = w(e.tabIndex), {
|
|
@@ -2207,7 +2210,7 @@ function tr(e, t, n, o) {
|
|
|
2207
2210
|
onMousedown: T
|
|
2208
2211
|
}, null);
|
|
2209
2212
|
}
|
|
2210
|
-
function
|
|
2213
|
+
function or(e, t) {
|
|
2211
2214
|
const n = R(() => e.useExtendInfo && !!e.extendInfo), o = Ue({
|
|
2212
2215
|
content: e.extendInfo
|
|
2213
2216
|
});
|
|
@@ -2223,7 +2226,7 @@ function nr(e, t) {
|
|
|
2223
2226
|
class: "tips-arrow"
|
|
2224
2227
|
}, null)]), [[Yt("tooltip"), o]]);
|
|
2225
2228
|
}
|
|
2226
|
-
function
|
|
2229
|
+
function ar(e, t, n, o, a) {
|
|
2227
2230
|
const {
|
|
2228
2231
|
appendedButtonClass: r,
|
|
2229
2232
|
appendedContent: s
|
|
@@ -2275,21 +2278,21 @@ function or(e, t, n, o, a) {
|
|
|
2275
2278
|
class: r.value
|
|
2276
2279
|
}, [I.value && V(), C && C()]);
|
|
2277
2280
|
}
|
|
2278
|
-
const
|
|
2281
|
+
const rr = /* @__PURE__ */ oe({
|
|
2279
2282
|
name: "FInputGroup",
|
|
2280
2283
|
props: ct,
|
|
2281
2284
|
emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange"],
|
|
2282
2285
|
setup(e, t) {
|
|
2283
|
-
const n = w(e.modelValue), o = w(e.modelValue), a =
|
|
2286
|
+
const n = w(e.modelValue), o = w(e.modelValue), a = Wa(e, t, n, o), {
|
|
2284
2287
|
inputGroupClass: r,
|
|
2285
2288
|
inputType: s,
|
|
2286
2289
|
inputGroupStyle: f
|
|
2287
|
-
} = a, y =
|
|
2290
|
+
} = a, y = Ja(e), {
|
|
2288
2291
|
shouldShowAppendedButton: p
|
|
2289
|
-
} = y, c =
|
|
2292
|
+
} = y, c = Ua(e, t, a), {
|
|
2290
2293
|
onMouseEnter: l,
|
|
2291
2294
|
onMouseLeave: i
|
|
2292
|
-
} = c, I =
|
|
2295
|
+
} = c, I = Xa(e, t, s, y), V = tr(e, t), h = nr(e, t, I, a), x = ar(e, t, y, c, I), _ = or(e, t), d = R(() => e.type === "number");
|
|
2293
2296
|
Q(() => [e.value], ([T]) => {
|
|
2294
2297
|
n.value = T, o.value = T;
|
|
2295
2298
|
}), Q(() => [e.modelValue], ([T]) => {
|
|
@@ -2306,19 +2309,19 @@ const ar = /* @__PURE__ */ oe({
|
|
|
2306
2309
|
}, [d.value ? V() : v(me, null, [_(), h(), p.value && x()])])]);
|
|
2307
2310
|
return () => k();
|
|
2308
2311
|
}
|
|
2309
|
-
}), L = {}, j = {},
|
|
2312
|
+
}), L = {}, j = {}, G = {}, q = {};
|
|
2310
2313
|
let ze = !1;
|
|
2311
|
-
function
|
|
2312
|
-
ze || (ze = !0, Vn.register(L, j,
|
|
2314
|
+
function ir() {
|
|
2315
|
+
ze || (ze = !0, Vn.register(L, j, G, q), kn.register(L, j, G, q), In.register(L, j, G, q), xn.register(L, j, G, q), En.register(L, j, G, q), On.register(L, j, G, q), pn.register(L, j, G, q), Ie.register(L, j, G, q), Nn.register(L, j, G, q), Bn.register(L, j, G, q), Rn.register(L, j, G, q), Dn.register(L, j, G, q), Mn.register(L, j, G, q), $n.register(L, j, G, q), An.register(L, j, G, q), _n.register(L, j, G, q), Pn.register(L, j, G, q), gn.register(L, j, G, q), Ln.register(L, j, G, q), jn.register(L, j, G, q), Gn.register(L, j, G, q), Hn.register(L, j, G, q), zn.register(L, j, G, q), qn.register(L, j, G, q), Wn.register(L, j, G, q), Un.register(L, j, G, q), Kn.register(L, j, G, q), Qn.register(L, j, G, q), Cn.register(L, j, G, q), hn.register(L, j, G, q), Yn.register(L, j, G, q), Jn.register(L, j, G, q), yn.register(L, j, G, q), Xn.register(L, j, G, q), Zn.register(L, j, G, q), eo.register(L, j, G, q), to.register(L, j, G, q), oo.register(L, j, G, q), ao.register(L, j, G, q), no.register(L, j, G, q), Co.register(L, j, G), ro.register(L, j, G, q), io.register(L, j, G, q), so.register(L, j, G, q), lo.register(L, j, G, q), uo.register(L, j, G, q), co.register(L, j, G, q), mn.register(L, j, G, q), fo.register(L, j, G, q), po.register(L, j, G, q), vo.register(L, j, G, q), vn.register(L, j, G, q), mo.register(L, j, G, q), go.register(L, j, G, q), ho.register(L, j, G, q), yo.register(L, j, G, q), _o.register(L, j, G, q), bo.register(L, j, G, q), wo.register(L, j, G, q));
|
|
2313
2316
|
}
|
|
2314
2317
|
function dt() {
|
|
2315
|
-
|
|
2318
|
+
ir();
|
|
2316
2319
|
function e(a, r) {
|
|
2317
2320
|
const s = j[a];
|
|
2318
2321
|
return s ? s(r) : {};
|
|
2319
2322
|
}
|
|
2320
2323
|
function t(a) {
|
|
2321
|
-
return L[a] ||
|
|
2324
|
+
return L[a] || rr;
|
|
2322
2325
|
}
|
|
2323
2326
|
function n(a) {
|
|
2324
2327
|
switch (a) {
|
|
@@ -2384,7 +2387,7 @@ function dt() {
|
|
|
2384
2387
|
}
|
|
2385
2388
|
return { resolveEditorProps: e, resolveEditorType: t, getChangeFunctionName: n, getClearFunctionName: o };
|
|
2386
2389
|
}
|
|
2387
|
-
const
|
|
2390
|
+
const sr = /* @__PURE__ */ oe({
|
|
2388
2391
|
name: "FDynamicFormGroup",
|
|
2389
2392
|
props: ut,
|
|
2390
2393
|
emits: ["change", "update:modelValue"],
|
|
@@ -2428,7 +2431,7 @@ const ir = /* @__PURE__ */ oe({
|
|
|
2428
2431
|
class: "farris-group-wrap"
|
|
2429
2432
|
}, [v("div", {
|
|
2430
2433
|
class: x.value
|
|
2431
|
-
}, [p.value && v(
|
|
2434
|
+
}, [p.value && v(Ra, {
|
|
2432
2435
|
id: `${n.value}-lable`,
|
|
2433
2436
|
required: y.value,
|
|
2434
2437
|
text: r.value,
|
|
@@ -2458,7 +2461,7 @@ ge(
|
|
|
2458
2461
|
Me,
|
|
2459
2462
|
void 0
|
|
2460
2463
|
);
|
|
2461
|
-
const
|
|
2464
|
+
const lr = /* @__PURE__ */ oe({
|
|
2462
2465
|
name: "FDynamicFormInput",
|
|
2463
2466
|
props: ft,
|
|
2464
2467
|
emits: ["change", "update:modelValue"],
|
|
@@ -2486,7 +2489,7 @@ const sr = /* @__PURE__ */ oe({
|
|
|
2486
2489
|
}
|
|
2487
2490
|
});
|
|
2488
2491
|
var pt = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.SmartHelp = 1] = "SmartHelp", e[e.Enum = 2] = "Enum", e[e.Express = 3] = "Express", e))(pt || {}), vt = /* @__PURE__ */ ((e) => (e.Equal = "0", e.NotEqual = "1", e.Greater = "2", e.GreaterOrEqual = "3", e.Less = "4", e.LessOrEqual = "5", e.Like = "6", e.LikeStartWith = "7", e.LikeEndWith = "8", e))(vt || {});
|
|
2489
|
-
const
|
|
2492
|
+
const ur = [
|
|
2490
2493
|
{
|
|
2491
2494
|
value: "0",
|
|
2492
2495
|
name: "等于"
|
|
@@ -2523,7 +2526,7 @@ const lr = [
|
|
|
2523
2526
|
value: "8",
|
|
2524
2527
|
name: "结束是"
|
|
2525
2528
|
}
|
|
2526
|
-
],
|
|
2529
|
+
], cr = {
|
|
2527
2530
|
"button-edit": ["0", "1", " 6", "7", "8"],
|
|
2528
2531
|
"check-box": ["0"],
|
|
2529
2532
|
"combo-list": ["0", "1"],
|
|
@@ -2543,14 +2546,14 @@ const lr = [
|
|
|
2543
2546
|
"radio-group": ["0"],
|
|
2544
2547
|
text: ["0", "1", " 6", "7", "8"]
|
|
2545
2548
|
};
|
|
2546
|
-
function
|
|
2549
|
+
function dr(e, t, n) {
|
|
2547
2550
|
const { fieldMap: o } = n;
|
|
2548
2551
|
function a(r) {
|
|
2549
2552
|
const s = o.get(r.fieldCode);
|
|
2550
2553
|
if (!s)
|
|
2551
2554
|
return [];
|
|
2552
|
-
const f = s.editor.type, y = new Set(
|
|
2553
|
-
return
|
|
2555
|
+
const f = s.editor.type, y = new Set(cr[f]);
|
|
2556
|
+
return ur.filter((c) => y.has(c.value));
|
|
2554
2557
|
}
|
|
2555
2558
|
return { getCompareOperators: a };
|
|
2556
2559
|
}
|
|
@@ -2723,7 +2726,7 @@ function mt() {
|
|
|
2723
2726
|
unGroup: T
|
|
2724
2727
|
};
|
|
2725
2728
|
}
|
|
2726
|
-
function
|
|
2729
|
+
function fr(e, t, n) {
|
|
2727
2730
|
const o = w(/* @__PURE__ */ new Set()), a = w(/* @__PURE__ */ new Set()), { conditionGroupMap: r, groupParentMap: s } = n;
|
|
2728
2731
|
let f, y;
|
|
2729
2732
|
function p(_) {
|
|
@@ -2790,16 +2793,16 @@ const Ve = /* @__PURE__ */ oe({
|
|
|
2790
2793
|
unGroup: k
|
|
2791
2794
|
} = p, {
|
|
2792
2795
|
createConditionValue: T
|
|
2793
|
-
} = it(), m =
|
|
2796
|
+
} = it(), m = fr(e, t, p), {
|
|
2794
2797
|
selectedItems: C,
|
|
2795
2798
|
toggleSelect: E
|
|
2796
2799
|
} = m, {
|
|
2797
2800
|
getCompareOperators: N
|
|
2798
|
-
} =
|
|
2801
|
+
} = dr(e, t, a);
|
|
2799
2802
|
y(!1), s.value = r(s.value), h(o.value);
|
|
2800
2803
|
function b(P) {
|
|
2801
|
-
var
|
|
2802
|
-
const O = ((
|
|
2804
|
+
var H;
|
|
2805
|
+
const O = ((H = f.get(P.fieldCode)) == null ? void 0 : H.editor) || {
|
|
2803
2806
|
type: "text"
|
|
2804
2807
|
};
|
|
2805
2808
|
P.value = T(O.type, void 0), t.emit("labelCodeChange", P);
|
|
@@ -2817,7 +2820,7 @@ const Ve = /* @__PURE__ */ oe({
|
|
|
2817
2820
|
}
|
|
2818
2821
|
function u(P) {
|
|
2819
2822
|
return P.items.map((O) => {
|
|
2820
|
-
var
|
|
2823
|
+
var H;
|
|
2821
2824
|
return v("div", {
|
|
2822
2825
|
class: "condition-list-item",
|
|
2823
2826
|
key: O.conditionId
|
|
@@ -2843,8 +2846,8 @@ const Ve = /* @__PURE__ */ oe({
|
|
|
2843
2846
|
onChange: (W) => D(W, O)
|
|
2844
2847
|
}, null)]), v("div", {
|
|
2845
2848
|
class: "condition-list-item-control mr-3"
|
|
2846
|
-
}, [v(
|
|
2847
|
-
editor: (
|
|
2849
|
+
}, [v(sr, {
|
|
2850
|
+
editor: (H = f.get(O.fieldCode)) == null ? void 0 : H.editor,
|
|
2848
2851
|
showLabel: !1,
|
|
2849
2852
|
modelValue: O.value.value,
|
|
2850
2853
|
"onUpdate:modelValue": (W) => O.value.value = W,
|
|
@@ -2926,7 +2929,7 @@ const Ve = /* @__PURE__ */ oe({
|
|
|
2926
2929
|
Ve.install = (e) => {
|
|
2927
2930
|
e.component(qe.name, qe).component(Ve.name, Ve);
|
|
2928
2931
|
};
|
|
2929
|
-
const
|
|
2932
|
+
const pr = [
|
|
2930
2933
|
"equal",
|
|
2931
2934
|
"notEqual",
|
|
2932
2935
|
"greaterThan",
|
|
@@ -2936,16 +2939,16 @@ const fr = [
|
|
|
2936
2939
|
"contain",
|
|
2937
2940
|
"startWidth",
|
|
2938
2941
|
"endWidth"
|
|
2939
|
-
],
|
|
2942
|
+
], vr = {
|
|
2940
2943
|
equal: (e, t, n) => e && e[t] === n,
|
|
2941
2944
|
notEqual: (e, t, n) => e && e[t] !== n,
|
|
2942
2945
|
contain: (e, t, n) => e ? (e[t] || "").indexOf(n) > -1 : !1,
|
|
2943
2946
|
startWidth: (e, t, n) => e ? (e[t] || "").startsWith(n) : !1,
|
|
2944
2947
|
endWidth: (e, t, n) => e ? (e[t] || "").endsWith(n) : !1
|
|
2945
|
-
},
|
|
2948
|
+
}, mr = {
|
|
2946
2949
|
equal: (e, t, n) => e && e[t] === n,
|
|
2947
2950
|
notEqual: (e, t, n) => e && e[t] !== n
|
|
2948
|
-
},
|
|
2951
|
+
}, hr = {
|
|
2949
2952
|
equal: (e, t, n) => {
|
|
2950
2953
|
if (e) {
|
|
2951
2954
|
const o = new Date(new Date(n).toLocaleDateString()).valueOf();
|
|
@@ -2988,10 +2991,10 @@ const fr = [
|
|
|
2988
2991
|
}
|
|
2989
2992
|
return !1;
|
|
2990
2993
|
}
|
|
2991
|
-
},
|
|
2994
|
+
}, gr = {
|
|
2992
2995
|
equal: (e, t, n) => e ? String(n).split(",").includes(String(e[t])) : !1,
|
|
2993
2996
|
notEqual: (e, t, n) => e ? String(n).split(",").findIndex((a) => a === String(e[t])) === -1 : !1
|
|
2994
|
-
},
|
|
2997
|
+
}, yr = {
|
|
2995
2998
|
equal: (e, t, n) => {
|
|
2996
2999
|
if (e) {
|
|
2997
3000
|
const o = Number.parseFloat(String(n)), a = Number.parseFloat(String(e[t]));
|
|
@@ -3035,13 +3038,13 @@ const fr = [
|
|
|
3035
3038
|
return !1;
|
|
3036
3039
|
}
|
|
3037
3040
|
};
|
|
3038
|
-
function
|
|
3041
|
+
function _r() {
|
|
3039
3042
|
const e = w([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: n } = mt(), o = /* @__PURE__ */ new Map([
|
|
3040
|
-
["boolean",
|
|
3041
|
-
["datetime",
|
|
3042
|
-
["enum",
|
|
3043
|
-
["number",
|
|
3044
|
-
["text",
|
|
3043
|
+
["boolean", mr],
|
|
3044
|
+
["datetime", hr],
|
|
3045
|
+
["enum", gr],
|
|
3046
|
+
["number", yr],
|
|
3047
|
+
["text", vr]
|
|
3045
3048
|
]);
|
|
3046
3049
|
function a(l) {
|
|
3047
3050
|
t.delete(l), e.value = Array.from(t.values());
|
|
@@ -3050,7 +3053,7 @@ function yr() {
|
|
|
3050
3053
|
t.clear(), e.value = [];
|
|
3051
3054
|
}
|
|
3052
3055
|
function s(l) {
|
|
3053
|
-
const { valueType: i } = l.value, I = l.compareType || "0", V =
|
|
3056
|
+
const { valueType: i } = l.value, I = l.compareType || "0", V = pr[Number(I)];
|
|
3054
3057
|
return o.get(i)[V];
|
|
3055
3058
|
}
|
|
3056
3059
|
function f(l) {
|
|
@@ -3159,7 +3162,7 @@ function ht(e, t) {
|
|
|
3159
3162
|
}
|
|
3160
3163
|
return { collpaseGroupIconClass: h, generateGroupData: V, groupFields: r, shouldGroupingData: s };
|
|
3161
3164
|
}
|
|
3162
|
-
function
|
|
3165
|
+
function br(e, t, n, o) {
|
|
3163
3166
|
const a = w(!!e.hierarchy), { idField: r } = o, { collapseField: s, hasChildrenField: f, parentIdField: y } = n, p = /* @__PURE__ */ new Map();
|
|
3164
3167
|
function c(S, u) {
|
|
3165
3168
|
const g = /* @__PURE__ */ new Map();
|
|
@@ -3216,8 +3219,8 @@ function _r(e, t, n, o) {
|
|
|
3216
3219
|
function _(S, u) {
|
|
3217
3220
|
Array.from(u.keys()).forEach((g) => {
|
|
3218
3221
|
u.get(g).reduce((M, A) => {
|
|
3219
|
-
const P = A[r.value], O = S.get(A[r.value]),
|
|
3220
|
-
return
|
|
3222
|
+
const P = A[r.value], O = S.get(A[r.value]), H = S.get(g);
|
|
3223
|
+
return H && (H.children.set(P, O), H.children.set(P, O), O.parentId = g, O.parentIndex = H.index, O.parents.set(g, H)), M;
|
|
3221
3224
|
}, S);
|
|
3222
3225
|
});
|
|
3223
3226
|
}
|
|
@@ -3261,8 +3264,8 @@ function _r(e, t, n, o) {
|
|
|
3261
3264
|
m(t.value);
|
|
3262
3265
|
const u = l(S), g = c(S, u);
|
|
3263
3266
|
return S.forEach((B, M) => {
|
|
3264
|
-
var
|
|
3265
|
-
const A = B[r.value], P = g.has(A) ? (
|
|
3267
|
+
var H;
|
|
3268
|
+
const A = B[r.value], P = g.has(A) ? (H = g.get(A)) == null ? void 0 : H.map((W) => W.__fv_index__) : [], O = x(A, M);
|
|
3266
3269
|
B.__fv_graph_node__ = O, B.__fv_children_index__ = P, B.__fv_descendant_index__ = [...P], B.__fv_parents__ = /* @__PURE__ */ new Map(), E(B) && (B[s.value] = !0);
|
|
3267
3270
|
}), i(S), V(S, u), e.showLines && h(S), S;
|
|
3268
3271
|
}
|
|
@@ -3272,12 +3275,12 @@ function _r(e, t, n, o) {
|
|
|
3272
3275
|
const P = p.get(A.parentId);
|
|
3273
3276
|
let O = g.value.length - 1;
|
|
3274
3277
|
if (P) {
|
|
3275
|
-
const
|
|
3276
|
-
if (
|
|
3278
|
+
const H = Array.from(P.children.keys()).indexOf(A.id);
|
|
3279
|
+
if (H === P.children.size - 1) {
|
|
3277
3280
|
const J = Array.from(P.descendant.values())[P.descendant.size - 1];
|
|
3278
3281
|
O = g.value.findIndex((ce) => ce[r.value] === J.id) + 1;
|
|
3279
3282
|
} else {
|
|
3280
|
-
const J = Array.from(P.children.values())[
|
|
3283
|
+
const J = Array.from(P.children.values())[H + 1];
|
|
3281
3284
|
O = g.value.findIndex((ce) => ce[r.value] === J.id);
|
|
3282
3285
|
}
|
|
3283
3286
|
u[f.value] = !1, u[y.value] = P.id, g.value.splice(O, 0, u);
|
|
@@ -3287,7 +3290,7 @@ function _r(e, t, n, o) {
|
|
|
3287
3290
|
function D(S, u, g) {
|
|
3288
3291
|
const B = g.value[S], M = B[r.value];
|
|
3289
3292
|
if (p.get(M)) {
|
|
3290
|
-
const O = g.value.findIndex((
|
|
3293
|
+
const O = g.value.findIndex((H) => H[r.value] === M) + 1;
|
|
3291
3294
|
B[f.value] = !0, B[s.value] = !1, u[f.value] = !1, u[y.value] = M, g.value.splice(O, 0, u);
|
|
3292
3295
|
}
|
|
3293
3296
|
}
|
|
@@ -3296,14 +3299,14 @@ function _r(e, t, n, o) {
|
|
|
3296
3299
|
M.unshift(g);
|
|
3297
3300
|
const A = p.get(B.parentId);
|
|
3298
3301
|
if (A && (A.children.delete(g), A.children.size === 0)) {
|
|
3299
|
-
const O = u.find((
|
|
3302
|
+
const O = u.find((H) => H[r.value] === B.parentId);
|
|
3300
3303
|
O[f.value] = !1, O[s.value] = !1;
|
|
3301
3304
|
}
|
|
3302
3305
|
return u.filter((O) => M.indexOf(O.id) === -1);
|
|
3303
3306
|
}
|
|
3304
3307
|
return { generateHierarchyData: N, hasRealChildren: C, insertSibling: b, insertChild: D, shouldStratifyData: a, trimmedOriginalData: F };
|
|
3305
3308
|
}
|
|
3306
|
-
const
|
|
3309
|
+
const Cr = {
|
|
3307
3310
|
showCloseButton: { type: Boolean, default: !0 },
|
|
3308
3311
|
position: { type: String, default: "top-center" },
|
|
3309
3312
|
timeout: { type: Number, default: 3e3 },
|
|
@@ -3315,13 +3318,13 @@ const br = {
|
|
|
3315
3318
|
id: { type: String },
|
|
3316
3319
|
animate: { type: String, default: "fadeIn" },
|
|
3317
3320
|
options: { type: Object }
|
|
3318
|
-
},
|
|
3321
|
+
}, wr = {
|
|
3319
3322
|
showCloseButton: { type: Boolean, default: !0 },
|
|
3320
3323
|
animate: { type: String, default: "fadeIn" },
|
|
3321
3324
|
options: { type: Object }
|
|
3322
3325
|
}, Ee = /* @__PURE__ */ oe({
|
|
3323
3326
|
name: "Toast",
|
|
3324
|
-
props:
|
|
3327
|
+
props: wr,
|
|
3325
3328
|
emits: ["close", "click"],
|
|
3326
3329
|
setup: (e, t) => {
|
|
3327
3330
|
const n = w(e.animate), o = "fadeOut", a = R(() => e.options), r = w(!1), s = R(() => {
|
|
@@ -3394,7 +3397,7 @@ const br = {
|
|
|
3394
3397
|
}
|
|
3395
3398
|
}), be = /* @__PURE__ */ oe({
|
|
3396
3399
|
name: "Notify",
|
|
3397
|
-
props:
|
|
3400
|
+
props: Cr,
|
|
3398
3401
|
emits: ["close", "empty"],
|
|
3399
3402
|
setup(e, t) {
|
|
3400
3403
|
const n = R(() => ({
|
|
@@ -3441,8 +3444,8 @@ const br = {
|
|
|
3441
3444
|
});
|
|
3442
3445
|
class gt {
|
|
3443
3446
|
constructor() {
|
|
3444
|
-
|
|
3445
|
-
|
|
3447
|
+
z(this, "notifyRefs", []);
|
|
3448
|
+
z(this, "globalConfig", Ue({}));
|
|
3446
3449
|
}
|
|
3447
3450
|
createNotifyInstance(t) {
|
|
3448
3451
|
const n = this, a = Object.assign({
|
|
@@ -3544,28 +3547,28 @@ class gt {
|
|
|
3544
3547
|
}), this.notifyRefs.length = 0;
|
|
3545
3548
|
}
|
|
3546
3549
|
}
|
|
3547
|
-
const
|
|
3550
|
+
const Sr = Symbol("NOTIFY_SERVICE_TOKEN");
|
|
3548
3551
|
be.install = (e) => {
|
|
3549
3552
|
e.component(be.name, be), e.component(Ee.name, Ee);
|
|
3550
3553
|
const t = new gt();
|
|
3551
|
-
e.provide(
|
|
3554
|
+
e.provide(Sr, t), e.provide("FNotifyService", t);
|
|
3552
3555
|
};
|
|
3553
|
-
function
|
|
3556
|
+
function Fr(e, t, n, o, a) {
|
|
3554
3557
|
var Le;
|
|
3555
|
-
const { pageSize: r, total: s, shouldRenderPagination: f, currentPage: y, mode: p } = a, c = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ new Map(), V = /* @__PURE__ */ new Map(), h = w([]), x = w([]), _ =
|
|
3558
|
+
const { pageSize: r, total: s, shouldRenderPagination: f, currentPage: y, mode: p } = a, c = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ new Map(), V = /* @__PURE__ */ new Map(), h = w([]), x = w([]), _ = _r(), d = ht(e, o), { generateGroupData: k, groupFields: T, shouldGroupingData: m } = d, C = w(e.data), E = br(e, C, n, o), {
|
|
3556
3559
|
generateHierarchyData: N,
|
|
3557
3560
|
hasRealChildren: b,
|
|
3558
3561
|
insertSibling: D,
|
|
3559
3562
|
insertChild: F,
|
|
3560
3563
|
shouldStratifyData: S,
|
|
3561
3564
|
trimmedOriginalData: u
|
|
3562
|
-
} = E, { idField: g, reviseIdentifyField: B } = o, M = w(e.newDataItem), A = w(e.data), P = w(e.data), { flatTreeData: O } =
|
|
3565
|
+
} = E, { idField: g, reviseIdentifyField: B } = o, M = w(e.newDataItem), A = w(e.data), P = w(e.data), { flatTreeData: O } = Rr(e);
|
|
3563
3566
|
if (e.data && ((Le = e.data[0]) != null && Le.children)) {
|
|
3564
3567
|
const $ = Ae(e.data);
|
|
3565
3568
|
C.value = $, A.value = $, P.value = $;
|
|
3566
3569
|
}
|
|
3567
|
-
const
|
|
3568
|
-
const $ =
|
|
3570
|
+
const H = w(e.summary), W = R(() => {
|
|
3571
|
+
const $ = H.value;
|
|
3569
3572
|
return ($ == null ? void 0 : $.groupFields) || [];
|
|
3570
3573
|
});
|
|
3571
3574
|
let J = /* @__PURE__ */ new Map();
|
|
@@ -3768,7 +3771,7 @@ function Sr(e, t, n, o, a) {
|
|
|
3768
3771
|
originalData: C
|
|
3769
3772
|
};
|
|
3770
3773
|
}
|
|
3771
|
-
function
|
|
3774
|
+
function Tr(e) {
|
|
3772
3775
|
w(e.selection.showCheckbox || !1);
|
|
3773
3776
|
const t = R(() => {
|
|
3774
3777
|
var s;
|
|
@@ -3779,10 +3782,10 @@ function Fr(e) {
|
|
|
3779
3782
|
}), o = R(() => {
|
|
3780
3783
|
var s;
|
|
3781
3784
|
return ((s = e.hierarchy) == null ? void 0 : s.parentIdField) || "parent";
|
|
3782
|
-
}), a = R(() => e.hierarchy && e.selection.showCheckbox
|
|
3785
|
+
}), a = R(() => e.hierarchy && e.selection.showCheckbox), r = R(() => (e.treeNodeIconsData.fold || e.iconField) && e.showTreeNodeIcons);
|
|
3783
3786
|
return { collapseField: t, hasChildrenField: n, parentIdField: o, shouldShowCheckBox: a, shouldShowIcon: r };
|
|
3784
3787
|
}
|
|
3785
|
-
function
|
|
3788
|
+
function kr(e, t, n, o, a, r, s, f) {
|
|
3786
3789
|
const y = w(o.value - 1 + a), p = w(0), { renderDataRow: c } = r, l = s ? s.renderGroupRow : c, i = f ? f.renderSummaryRow : c;
|
|
3787
3790
|
function I(x) {
|
|
3788
3791
|
let _ = c;
|
|
@@ -3807,9 +3810,9 @@ function Tr(e, t, n, o, a, r, s, f) {
|
|
|
3807
3810
|
}
|
|
3808
3811
|
return { getVisualData: V, maxVisibleRowIndex: y, minVisibleRowIndex: p, toggleGroupRow: h };
|
|
3809
3812
|
}
|
|
3810
|
-
function
|
|
3813
|
+
function Vr(e, t, n) {
|
|
3811
3814
|
var V;
|
|
3812
|
-
const o = w(e.mergeCell), r = ((V = w(e.rowOption).value) == null ? void 0 : V.wrapContent) || !1, { updateVisualInfomation: s } = n, { renderCommandColumn: f } =
|
|
3815
|
+
const o = w(e.mergeCell), r = ((V = w(e.rowOption).value) == null ? void 0 : V.wrapContent) || !1, { updateVisualInfomation: s } = n, { renderCommandColumn: f } = Yo();
|
|
3813
3816
|
function y(h, x, _, d, k, T = 1) {
|
|
3814
3817
|
const m = {
|
|
3815
3818
|
colSpan: T,
|
|
@@ -3863,7 +3866,7 @@ function kr(e, t, n) {
|
|
|
3863
3866
|
}
|
|
3864
3867
|
return { createCellByColumn: I, createCellByField: y };
|
|
3865
3868
|
}
|
|
3866
|
-
function
|
|
3869
|
+
function Ir(e, t, n, o, a, r) {
|
|
3867
3870
|
var _, d;
|
|
3868
3871
|
const s = w(e.rowOption), f = ((_ = s.value) == null ? void 0 : _.height) || 28, y = ((d = s.value) == null ? void 0 : d.wrapContent) || !1, { idField: p } = o, { collapseField: c } = n, { updateRowPosition: l } = a, { createCellByColumn: i } = r;
|
|
3869
3872
|
function I(k, T, m, C, E, N) {
|
|
@@ -3872,7 +3875,7 @@ function Vr(e, t, n, o, a, r) {
|
|
|
3872
3875
|
__fv_data_grid_group_field__: b,
|
|
3873
3876
|
__fv_data_grid_group_value__: D,
|
|
3874
3877
|
__fv_data_index__: F
|
|
3875
|
-
} = m, S = m.__fv_data_grid_group_layer__ || m.__fv_parents__ ? (J = m.__fv_parents__) == null ? void 0 : J.size : 0, u = typeof m.parent == "number" ? Number(m.parent) : -1, g = m.__fv_data_grid_group_collapse__ || m[c.value], B = m.__fv_visible__ === void 0 ? !0 : m.__fv_visible__, M = m.__fv_checked__, A = m.__fv_indeterminate__, P = C && C[p.value] === m.parent, O = C && C.parent === m.parent,
|
|
3878
|
+
} = m, S = m.__fv_data_grid_group_layer__ || m.__fv_parents__ ? (J = m.__fv_parents__) == null ? void 0 : J.size : 0, u = typeof m.parent == "number" ? Number(m.parent) : -1, g = m.__fv_data_grid_group_collapse__ || m[c.value], B = m.__fv_visible__ === void 0 ? !0 : m.__fv_visible__, M = m.__fv_checked__, A = m.__fv_indeterminate__, P = C && C[p.value] === m.parent, O = C && C.parent === m.parent, H = P && E && (E.collapse || !E.visible) || O && E && !E.visible, W = {
|
|
3876
3879
|
collapse: g,
|
|
3877
3880
|
data: {},
|
|
3878
3881
|
dataIndex: F,
|
|
@@ -3890,7 +3893,7 @@ function Vr(e, t, n, o, a, r) {
|
|
|
3890
3893
|
setRef: (ce) => {
|
|
3891
3894
|
W.ref = ce;
|
|
3892
3895
|
},
|
|
3893
|
-
visible: B && !
|
|
3896
|
+
visible: B && !H,
|
|
3894
3897
|
status: le.initial
|
|
3895
3898
|
};
|
|
3896
3899
|
return C || (m.__fv_data_position__ = 0), y || (W.height = f, m.__fv_data_height__ = W.height, l(W, m)), (re = s.value) != null && re.customRowStatus && (s.value.customRowStatus(W), m.__fv_collapse__ = W.collapse, m.__fv_visible__ = W.visible), W;
|
|
@@ -3910,7 +3913,7 @@ function Vr(e, t, n, o, a, r) {
|
|
|
3910
3913
|
}
|
|
3911
3914
|
return { createEmptyRow: I, createNewRowFromDataItem: V, renderDataRow: x };
|
|
3912
3915
|
}
|
|
3913
|
-
function
|
|
3916
|
+
function xr(e, t, n, o) {
|
|
3914
3917
|
const a = w(e.summary), { idField: r } = t, { createCellByField: s } = n, { createEmptyRow: f } = o, y = R(() => {
|
|
3915
3918
|
const i = a.value;
|
|
3916
3919
|
return (i == null ? void 0 : i.groupFields) || [];
|
|
@@ -3938,7 +3941,7 @@ function Ir(e, t, n, o) {
|
|
|
3938
3941
|
}
|
|
3939
3942
|
return { renderGroupRow: l };
|
|
3940
3943
|
}
|
|
3941
|
-
function
|
|
3944
|
+
function Er(e, t, n, o) {
|
|
3942
3945
|
const { idField: a } = t, { createCellByField: r } = n, { createEmptyRow: s } = o;
|
|
3943
3946
|
function f(y, p, c, l, i, I) {
|
|
3944
3947
|
const V = y.__fv_data_grid_group_field__, h = s(Se.summary, l, y, p, c, i);
|
|
@@ -3946,7 +3949,7 @@ function xr(e, t, n, o) {
|
|
|
3946
3949
|
}
|
|
3947
3950
|
return { renderSummaryRow: f };
|
|
3948
3951
|
}
|
|
3949
|
-
function
|
|
3952
|
+
function Or(e, t) {
|
|
3950
3953
|
var T;
|
|
3951
3954
|
const {
|
|
3952
3955
|
idField: n
|
|
@@ -3999,7 +4002,7 @@ function Er(e, t) {
|
|
|
3999
4002
|
const N = C.dataType, b = C.editor || {
|
|
4000
4003
|
type: s.get(N) || "input-group"
|
|
4001
4004
|
};
|
|
4002
|
-
return !r.value && b.type === "text" && (b.type = "input-group"), b ? v(
|
|
4005
|
+
return !r.value && b.type === "text" && (b.type = "input-group"), b ? v(lr, {
|
|
4003
4006
|
focusOnCreated: e.focusOnEditingCell,
|
|
4004
4007
|
selectOnCreated: e.selectOnEditingCell,
|
|
4005
4008
|
editor: b,
|
|
@@ -4016,7 +4019,7 @@ function Er(e, t) {
|
|
|
4016
4019
|
getEditor: k
|
|
4017
4020
|
};
|
|
4018
4021
|
}
|
|
4019
|
-
function
|
|
4022
|
+
function Nr(e) {
|
|
4020
4023
|
const t = w(e.idField);
|
|
4021
4024
|
function n(o) {
|
|
4022
4025
|
if (o && o.length) {
|
|
@@ -4026,10 +4029,10 @@ function Or(e) {
|
|
|
4026
4029
|
}
|
|
4027
4030
|
return { idField: t, reviseIdentifyField: n };
|
|
4028
4031
|
}
|
|
4029
|
-
function
|
|
4032
|
+
function Br(e, t, n, o, a) {
|
|
4030
4033
|
const { idField: r } = n, s = w(""), f = w(e.selection.enableSelectRow ?? !0), y = w(e.selection.multiSelect ?? !1), p = w(e.selection.multiSelectMode), c = w(e.selection.showCheckbox), l = w(e.selection.showSelectAll), i = w(e.selectionValues);
|
|
4031
|
-
Q(() => e.selection.showSelectAll, (O,
|
|
4032
|
-
O !==
|
|
4034
|
+
Q(() => e.selection.showSelectAll, (O, H) => {
|
|
4035
|
+
O !== H && (l.value = O);
|
|
4033
4036
|
});
|
|
4034
4037
|
function I() {
|
|
4035
4038
|
return t.getSelectionItems(i.value);
|
|
@@ -4049,10 +4052,10 @@ function Nr(e, t, n, o, a) {
|
|
|
4049
4052
|
a.emit("selectionChange", O);
|
|
4050
4053
|
}
|
|
4051
4054
|
function m() {
|
|
4052
|
-
o.value.forEach((
|
|
4053
|
-
|
|
4054
|
-
}), V().forEach((
|
|
4055
|
-
|
|
4055
|
+
o.value.forEach((H) => {
|
|
4056
|
+
H.checked = !1, H.indeterminate = !1, H.raw.__fv_checked__ = !1, H.raw.__fv_indeterminate__ = !1;
|
|
4057
|
+
}), V().forEach((H) => {
|
|
4058
|
+
H.checked = !0, H.raw.__fv_checked__ = !0;
|
|
4056
4059
|
});
|
|
4057
4060
|
}
|
|
4058
4061
|
Q(() => o.value, () => {
|
|
@@ -4077,18 +4080,18 @@ function Nr(e, t, n, o, a) {
|
|
|
4077
4080
|
}), i.value = [];
|
|
4078
4081
|
}
|
|
4079
4082
|
function D(O) {
|
|
4080
|
-
const
|
|
4081
|
-
|
|
4083
|
+
const H = O.raw;
|
|
4084
|
+
H.__fv_checked__ = !0, H.__fv_indeterminate__ = !1;
|
|
4082
4085
|
const W = new Set(i.value);
|
|
4083
|
-
W.add(
|
|
4086
|
+
W.add(H[r.value]), i.value = Array.from(W.values()), O.checked = !0, O.indeterminate = !1, s.value = O.raw[r.value];
|
|
4084
4087
|
}
|
|
4085
4088
|
function F(O) {
|
|
4086
|
-
const
|
|
4087
|
-
|
|
4089
|
+
const H = O.raw;
|
|
4090
|
+
H.__fv_checked__ = !1, H.__fv_indeterminate__ = !1, i.value = i.value.filter((W) => W !== H[r.value]), O.checked = !1, O.indeterminate = !1, s.value = "";
|
|
4088
4091
|
}
|
|
4089
4092
|
function S(O) {
|
|
4090
|
-
const
|
|
4091
|
-
|
|
4093
|
+
const H = O.raw;
|
|
4094
|
+
H.__fv_checked__ = !1, H.__fv_indeterminate__ = !0, i.value = i.value.filter((W) => W !== H[r.value]), O.checked = !1, O.indeterminate = !0;
|
|
4092
4095
|
}
|
|
4093
4096
|
function u(O) {
|
|
4094
4097
|
C.value && b(), O.checked ? F(O) : D(O), T();
|
|
@@ -4097,16 +4100,16 @@ function Nr(e, t, n, o, a) {
|
|
|
4097
4100
|
O.raw[r.value] !== s.value && (b(), D(O), T());
|
|
4098
4101
|
}
|
|
4099
4102
|
function B(O) {
|
|
4100
|
-
const
|
|
4101
|
-
|
|
4103
|
+
const H = o.value.find((W) => W.raw[r.value] === O);
|
|
4104
|
+
H && g(H);
|
|
4102
4105
|
}
|
|
4103
4106
|
function M() {
|
|
4104
4107
|
o.value.forEach((O) => D(O)), T();
|
|
4105
4108
|
}
|
|
4106
4109
|
function A() {
|
|
4107
4110
|
i.value.splice(0, i.value.length), s.value = "", o.value.forEach((O) => {
|
|
4108
|
-
const
|
|
4109
|
-
|
|
4111
|
+
const H = O.raw;
|
|
4112
|
+
H.__fv_checked__ = !1, H.__fv_indeterminate__ = !1, O.checked = !1, O.indeterminate = !1;
|
|
4110
4113
|
}), T();
|
|
4111
4114
|
}
|
|
4112
4115
|
function P() {
|
|
@@ -4138,7 +4141,7 @@ function Nr(e, t, n, o, a) {
|
|
|
4138
4141
|
unSelectAll: A
|
|
4139
4142
|
};
|
|
4140
4143
|
}
|
|
4141
|
-
function
|
|
4144
|
+
function Dr(e) {
|
|
4142
4145
|
var f, y, p, c;
|
|
4143
4146
|
const t = R(() => {
|
|
4144
4147
|
var l;
|
|
@@ -4164,16 +4167,16 @@ function Br(e) {
|
|
|
4164
4167
|
mode: s
|
|
4165
4168
|
};
|
|
4166
4169
|
}
|
|
4167
|
-
function
|
|
4170
|
+
function Rr(e) {
|
|
4168
4171
|
const t = "parent", n = "layer", o = "hasChildren", a = (r, s = 1, f = [], y = null) => (r = r || [], r.reduce((p, c) => (c.id = c.id || c.data[e.idField], c.data[t] = y, c.data[n] = s, c.data[o] = !1, p.push(c.data), c.children && c.children.length && (c.data[o] = !0, a(c.children, s + 1, f, c.id)), p), f), f);
|
|
4169
4172
|
return { flatTreeData: a };
|
|
4170
4173
|
}
|
|
4171
|
-
const
|
|
4174
|
+
const Mr = /* @__PURE__ */ oe({
|
|
4172
4175
|
name: "FListViewDesign",
|
|
4173
4176
|
props: we,
|
|
4174
4177
|
emits: ["checkValuesChange", "clickItem", "selectionChange", "removeItem", "change"],
|
|
4175
4178
|
setup(e, t) {
|
|
4176
|
-
const n = w(), o = w(!0), a = w(!1), r = w([]), s = 0, f = w(e.columns), y =
|
|
4179
|
+
const n = w(), o = w(!0), a = w(!1), r = w([]), s = 0, f = w(e.columns), y = Nr(e), p = Tr(e), c = ht(e, y), l = Dr(e), i = Fr(e, /* @__PURE__ */ new Map(), p, y, l), I = Br(e, i, y, r, t), V = et(e, n), h = w(), x = Ke("design-item-context"), _ = ot(h, x), d = R(() => i.dataView.value.length), k = Or(e, y), T = Qo(), m = Vr(e, {}, T), C = Ir(e, k, p, y, T, m), E = xr(e, y, m, C), N = Er(e, y, m, C), b = kr(e, f, i, d, s, C, E, N), {
|
|
4177
4180
|
getVisualData: D
|
|
4178
4181
|
} = b;
|
|
4179
4182
|
r.value = D(0, d.value + s - 1), pe(() => {
|
|
@@ -4287,7 +4290,7 @@ const Rr = /* @__PURE__ */ oe({
|
|
|
4287
4290
|
}, [r.date])])])])]))]);
|
|
4288
4291
|
};
|
|
4289
4292
|
}
|
|
4290
|
-
}),
|
|
4293
|
+
}), $r = "https://json-schema.org/draft/2020-12/schema", Ar = "https://farris-design.gitee.io/list-view-table.schema.json", Pr = "list-view-table", Lr = "A Farris Component", jr = "object", Gr = {
|
|
4291
4294
|
id: {
|
|
4292
4295
|
description: "The unique identifier for list-view-table",
|
|
4293
4296
|
type: "string"
|
|
@@ -4349,18 +4352,18 @@ const Rr = /* @__PURE__ */ oe({
|
|
|
4349
4352
|
type: "boolean",
|
|
4350
4353
|
default: !0
|
|
4351
4354
|
}
|
|
4352
|
-
},
|
|
4355
|
+
}, Hr = [
|
|
4353
4356
|
"id",
|
|
4354
4357
|
"type"
|
|
4355
|
-
],
|
|
4356
|
-
$schema:
|
|
4357
|
-
$id:
|
|
4358
|
-
title:
|
|
4359
|
-
description:
|
|
4360
|
-
type:
|
|
4361
|
-
properties:
|
|
4362
|
-
required:
|
|
4363
|
-
},
|
|
4358
|
+
], qr = {
|
|
4359
|
+
$schema: $r,
|
|
4360
|
+
$id: Ar,
|
|
4361
|
+
title: Pr,
|
|
4362
|
+
description: Lr,
|
|
4363
|
+
type: jr,
|
|
4364
|
+
properties: Gr,
|
|
4365
|
+
required: Hr
|
|
4366
|
+
}, zr = "list-view-table", Wr = "A Farris Component", Ur = "object", Kr = {
|
|
4364
4367
|
basic: {
|
|
4365
4368
|
description: "Basic Infomation",
|
|
4366
4369
|
title: "基本信息",
|
|
@@ -4382,14 +4385,14 @@ const Rr = /* @__PURE__ */ oe({
|
|
|
4382
4385
|
}
|
|
4383
4386
|
}
|
|
4384
4387
|
}
|
|
4385
|
-
},
|
|
4386
|
-
title:
|
|
4387
|
-
description:
|
|
4388
|
-
type:
|
|
4389
|
-
categories:
|
|
4388
|
+
}, Qr = {
|
|
4389
|
+
title: zr,
|
|
4390
|
+
description: Wr,
|
|
4391
|
+
type: Ur,
|
|
4392
|
+
categories: Kr
|
|
4390
4393
|
}, yt = {
|
|
4391
4394
|
data: { type: Array, default: [] }
|
|
4392
|
-
}, _t = ge(yt,
|
|
4395
|
+
}, _t = ge(yt, qr, Je, Xe, Qr), Yr = /* @__PURE__ */ oe({
|
|
4393
4396
|
name: "FListViewTableDesign",
|
|
4394
4397
|
props: yt,
|
|
4395
4398
|
emits: ["outputValue", "currentEvent", "selectionChanged"],
|
|
@@ -4491,7 +4494,7 @@ ve.register = (e, t, n) => {
|
|
|
4491
4494
|
e["list-view"] = ve, t["list-view"] = Ze, e["list-view-table"] = Oe, t["list-view-table"] = _t;
|
|
4492
4495
|
};
|
|
4493
4496
|
ve.registerDesigner = (e, t, n) => {
|
|
4494
|
-
e["list-view"] =
|
|
4497
|
+
e["list-view"] = Mr, t["list-view"] = Ze, e["list-view-table"] = Yr, t["list-view-table"] = _t;
|
|
4495
4498
|
};
|
|
4496
4499
|
export {
|
|
4497
4500
|
ve as FListView,
|