@farris/ui-vue 1.8.3 → 1.8.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 +7332 -7299
- package/components/batch-editor/index.umd.cjs +22 -22
- package/components/button/index.esm.js +7334 -7301
- package/components/button/index.umd.cjs +22 -22
- package/components/component/index.esm.js +880 -874
- package/components/component/index.umd.cjs +2 -2
- package/components/data-grid/index.esm.js +841 -835
- package/components/data-grid/index.umd.cjs +2 -2
- package/components/data-view/index.esm.js +14551 -14472
- package/components/data-view/index.umd.cjs +27 -27
- package/components/designer-canvas/index.esm.js +820 -814
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/mapping-editor/index.esm.js +848 -842
- package/components/mapping-editor/index.umd.cjs +2 -2
- package/components/popover/index.esm.js +264 -243
- package/components/popover/index.umd.cjs +1 -1
- package/components/tree-grid/index.esm.js +315 -309
- package/components/tree-grid/index.umd.cjs +1 -1
- package/designer/data-grid/index.esm.js +8304 -8257
- package/designer/data-grid/index.umd.cjs +26 -26
- package/designer/farris-designer.all.esm.js +3235 -3223
- package/designer/farris-designer.all.umd.cjs +14 -14
- package/designer/radio-group/index.esm.js +80 -62
- package/designer/radio-group/index.umd.cjs +2 -2
- package/designer/tabs/index.esm.js +830 -824
- package/designer/tabs/index.umd.cjs +2 -2
- package/designer/tree-grid/index.esm.js +348 -342
- package/designer/tree-grid/index.umd.cjs +1 -1
- package/farris.all.esm.js +18917 -18820
- package/farris.all.umd.cjs +39 -39
- package/package.json +1 -1
- package/types/data-view/components/column-header/column-header.component.d.ts +2 -2
- package/types/data-view/composition/column/persist-column-widths.d.ts +15 -0
- package/types/data-view/composition/column/use-resize.d.ts +3 -2
- package/types/data-view/index.d.ts +1 -0
- package/types/popover/src/composition/measure-host.d.ts +10 -5
- package/types/popover/src/composition/types.d.ts +2 -2
- package/types/popover/src/composition/use-host.d.ts +1 -2
- package/types/radio-group/src/property-config/radio-group.property-config.d.ts +21 -0
- package/package.zip +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { getCustomClass as
|
|
2
|
-
import { createVNode as R, defineComponent as
|
|
3
|
-
import { useResizeObserver as
|
|
4
|
-
import { debounce as
|
|
1
|
+
import { getCustomClass as An, excludeProperties as Hn, EVENT_PROPERTY_TAB_IDS as Nn, withInstall as Ln } from "../../components/common/index.esm.js";
|
|
2
|
+
import { createVNode as R, defineComponent as tt, ref as I, computed as T, onMounted as nt, nextTick as Fe, onUnmounted as Ze, watch as Be, Fragment as Wn, createTextVNode as zn, inject as et } from "vue";
|
|
3
|
+
import { useResizeObserver as ot } from "@vueuse/core";
|
|
4
|
+
import { debounce as Un, isUndefined as W } from "lodash-es";
|
|
5
5
|
import { LocaleService as re } from "../../components/locale/index.esm.js";
|
|
6
|
-
import { getHierarchyRow as
|
|
7
|
-
import { resolveField as
|
|
8
|
-
import
|
|
6
|
+
import { getHierarchyRow as $n, useIdentify as it, useGroupData as Yn, useFilter as lt, useHierarchy as at, useLoading as qn, useDataView as rt, useSelection as st, useSelectHierarchyItem as Kn, usePagination as Xn, useDataViewContainerStyle as dt, useCommandColumn as ut, useSettingColumn as Jn, useColumn as Qn, useSort as ct, useGroupColumn as pt, useRow as ft, useEdit as mt, useVisualDataBound as yt, useVisualDataCell as gt, useVisualDataRow as ht, useVisualData as Zn, useCellPosition as eo, useSidebar as vt, useVirtualScroll as Ct, useFitColumn as to, useFilterHistory as no, useColumnFilter as oo, useDragColumn as io, getColumnHeader as lo, getSidebar as ao, getDisableMask as ro, getHorizontalScrollbar as bt, getVerticalScrollbar as so, getEmpty as uo, getPagination as co, getSummary as po, ColumnSettingSolution as fo, refreshScrollAfterDataSourceLoad as mo, COMMAND_COLUMN_DATA_TYPE as Ae, SETTING_COLUMN_DATA_TYPE as He } from "../../components/data-view/index.esm.js";
|
|
7
|
+
import { resolveField as yo } from "../../components/common/index.esm.js/utils/resolve-field";
|
|
8
|
+
import go from "../../components/input-group/index.esm.js";
|
|
9
9
|
import Re from "../../components/button/index.esm.js";
|
|
10
|
-
import { resolveAppearance as
|
|
11
|
-
import { treeGridProps as
|
|
12
|
-
import { getColumnHeader as
|
|
13
|
-
import { DgControl as Ne, useDesignerComponent as
|
|
14
|
-
import { BaseControlProperty as
|
|
15
|
-
import { useCommandOption as
|
|
16
|
-
const
|
|
10
|
+
import { resolveAppearance as ho, createPropsResolver as wt, createTreeGridSelectionItemResolver as vo, createTreeGridBindingResolver as Co, createDataViewUpdateColumnsResolver as bo } from "../../components/dynamic-resolver/index.esm.js";
|
|
11
|
+
import { treeGridProps as St } from "../../components/tree-grid/index.esm.js";
|
|
12
|
+
import { getColumnHeader as wo } from "../data-grid/index.esm.js";
|
|
13
|
+
import { DgControl as Ne, useDesignerComponent as So } from "../../components/designer-canvas/index.esm.js";
|
|
14
|
+
import { BaseControlProperty as Io } from "../../components/property-panel/index.esm.js";
|
|
15
|
+
import { useCommandOption as Ro, useColumnOption as Fo, useRowOption as Bo, useSummary as To, useAppearance as Oo, useSelection as Do, useRowNumber as Po, useDataGridEvent as xo, useDesignerColumn as _o, useDesignerVisualData as ko, useDesignerFitColumn as Go } from "../data-view/index.esm.js";
|
|
16
|
+
const Ri = {
|
|
17
17
|
/** 启用分页 */
|
|
18
18
|
enable: { type: Boolean, default: !1 },
|
|
19
19
|
/** 当前页码 */
|
|
@@ -36,7 +36,7 @@ const Si = {
|
|
|
36
36
|
total: { type: Number, default: 0 },
|
|
37
37
|
/** 禁用分页 */
|
|
38
38
|
disabled: { type: Boolean, default: !1 }
|
|
39
|
-
},
|
|
39
|
+
}, Fi = {
|
|
40
40
|
/** 启用排序 */
|
|
41
41
|
enable: { type: Boolean, default: !1 },
|
|
42
42
|
/** 排序字段集合 */
|
|
@@ -45,7 +45,7 @@ const Si = {
|
|
|
45
45
|
mode: { type: String, default: "client" },
|
|
46
46
|
/** 多列排序 */
|
|
47
47
|
multiSort: { type: Boolean, default: !1 }
|
|
48
|
-
},
|
|
48
|
+
}, Bi = {
|
|
49
49
|
/** 自定义分组合计内容 */
|
|
50
50
|
customGroupRow: { type: Function, default: () => {
|
|
51
51
|
} },
|
|
@@ -69,7 +69,7 @@ const Si = {
|
|
|
69
69
|
showSummary: { type: Boolean, default: !1 },
|
|
70
70
|
/** 显示合计行位置; */
|
|
71
71
|
summaryPosition: { type: String, default: "separate" }
|
|
72
|
-
},
|
|
72
|
+
}, Ti = {
|
|
73
73
|
/** 启用筛选 */
|
|
74
74
|
enable: { type: Boolean, default: !1 },
|
|
75
75
|
/** DataGrid筛选风格 */
|
|
@@ -78,10 +78,10 @@ const Si = {
|
|
|
78
78
|
mode: { type: String, default: "server" },
|
|
79
79
|
/** 显示过滤条件工具条 */
|
|
80
80
|
showSummary: { type: Boolean, default: !0 }
|
|
81
|
-
},
|
|
81
|
+
}, Oi = {
|
|
82
82
|
/** 允许折行显示列标题 */
|
|
83
83
|
wrapHeadings: { type: Boolean, default: !1 }
|
|
84
|
-
},
|
|
84
|
+
}, Di = {
|
|
85
85
|
/** 自定义行样式 */
|
|
86
86
|
customRowStyle: { type: Function, default: () => {
|
|
87
87
|
} },
|
|
@@ -96,7 +96,7 @@ const Si = {
|
|
|
96
96
|
showHovering: { type: Boolean, default: !0 },
|
|
97
97
|
/** 禁止数据折行 */
|
|
98
98
|
wrapContent: { type: Boolean, default: !1 }
|
|
99
|
-
},
|
|
99
|
+
}, Pi = {
|
|
100
100
|
/** 显示合计信息 */
|
|
101
101
|
enable: { type: Boolean, default: !1 },
|
|
102
102
|
/** 合计行自定义样式,对启用合计行模板无效 */
|
|
@@ -108,7 +108,7 @@ const Si = {
|
|
|
108
108
|
mode: { type: String, default: "client" },
|
|
109
109
|
/** 合计行显示位置, top: 顶部 bottom: 底部, both: 顶部与底部同时显示 */
|
|
110
110
|
position: { type: String, default: "bottom" }
|
|
111
|
-
},
|
|
111
|
+
}, xi = {
|
|
112
112
|
/** 自动列宽。设为true后,所有列将填满表格并不会出现横向滚动条。 */
|
|
113
113
|
fitColumns: { type: Boolean, default: !1 },
|
|
114
114
|
/** 自动适配列宽度模式 */
|
|
@@ -120,17 +120,17 @@ const Si = {
|
|
|
120
120
|
resizeColumn: { type: Boolean, default: !0 },
|
|
121
121
|
/** 双击表头列自适应内容宽度 */
|
|
122
122
|
resizeColumnOnDoubleClick: { type: Boolean, default: !0 }
|
|
123
|
-
},
|
|
123
|
+
}, _i = {
|
|
124
124
|
/** 编辑时选中文本 */
|
|
125
125
|
selectOnEditing: { type: Boolean, default: !1 },
|
|
126
126
|
/** 编辑模式; row:整行编辑,cell: 单元格编辑 */
|
|
127
127
|
editMode: { type: String, default: "cell" }
|
|
128
|
-
},
|
|
128
|
+
}, ki = {
|
|
129
129
|
/** show loading */
|
|
130
130
|
show: { type: Boolean, default: !1 },
|
|
131
131
|
/** message on display when loading */
|
|
132
132
|
message: { type: String, default: `${re.getLocaleValue("datagrid.loadingMessage")}...` }
|
|
133
|
-
},
|
|
133
|
+
}, Vo = {
|
|
134
134
|
/**
|
|
135
135
|
* 自定义样式
|
|
136
136
|
*/
|
|
@@ -403,37 +403,37 @@ const Si = {
|
|
|
403
403
|
* 编辑单元格时默认获得焦点
|
|
404
404
|
*/
|
|
405
405
|
focusOnEditingCell: { type: Boolean, default: !0 }
|
|
406
|
-
},
|
|
407
|
-
function
|
|
406
|
+
}, jo = "enum", Eo = "boolean";
|
|
407
|
+
function Mo(e) {
|
|
408
408
|
const { formatter: n } = e;
|
|
409
409
|
return !n || typeof n == "function" ? null : n;
|
|
410
410
|
}
|
|
411
|
-
function
|
|
411
|
+
function Ao(e, n) {
|
|
412
412
|
const i = n.options || n, { data: l } = i;
|
|
413
413
|
if (!l || !l.length)
|
|
414
414
|
return "";
|
|
415
415
|
const c = Object.prototype.hasOwnProperty.call(i, "valueField") && i.valueField || "value", b = Object.prototype.hasOwnProperty.call(i, "textField") && i.textField || "name";
|
|
416
416
|
if (typeof e == "string" && e.includes(",")) {
|
|
417
|
-
const w = e.split(","), h = l.reduce((
|
|
417
|
+
const w = e.split(","), h = l.reduce((f, y) => (f[y[c]] = y, f), {}), s = w.map((f) => {
|
|
418
418
|
var y;
|
|
419
|
-
return (y = h[
|
|
420
|
-
}).filter((
|
|
419
|
+
return (y = h[f]) == null ? void 0 : y[b];
|
|
420
|
+
}).filter((f) => f != null);
|
|
421
421
|
return s.length ? s.join(",") : "";
|
|
422
422
|
}
|
|
423
423
|
const S = l.find((w) => w[c] === e);
|
|
424
424
|
return (S == null ? void 0 : S[b]) ?? (e == null ? "" : String(e));
|
|
425
425
|
}
|
|
426
|
-
function
|
|
426
|
+
function Ho(e, n) {
|
|
427
427
|
if (e == null)
|
|
428
428
|
return "";
|
|
429
429
|
const i = n.options || n, l = e ? i == null ? void 0 : i.trueText : i == null ? void 0 : i.falseText;
|
|
430
430
|
return l == null ? "" : String(l);
|
|
431
431
|
}
|
|
432
|
-
function
|
|
433
|
-
const i =
|
|
434
|
-
return c ===
|
|
432
|
+
function No(e, n) {
|
|
433
|
+
const i = yo(n, e.field), l = Mo(e), c = l == null ? void 0 : l.type;
|
|
434
|
+
return c === jo ? Ao(i, l) : c === Eo || e.dataType === "boolean" ? Ho(i, l || {}) : i == null ? "" : String(i);
|
|
435
435
|
}
|
|
436
|
-
function
|
|
436
|
+
function Lo(e, n, i, l, c, b, S, w, h, s, f, y, V, m, j, M, P, v, x) {
|
|
437
437
|
const {
|
|
438
438
|
calculateCellPositionInRow: z
|
|
439
439
|
} = b, {
|
|
@@ -445,8 +445,8 @@ function Ho(e, n, i, l, c, b, S, w, h, s, p, y, V, m, j, M, P, v, x) {
|
|
|
445
445
|
leftFixedGridDataStyle: X,
|
|
446
446
|
rightFixedGridDataStyle: Z
|
|
447
447
|
} = m, {
|
|
448
|
-
renderDataRow:
|
|
449
|
-
} =
|
|
448
|
+
renderDataRow: r
|
|
449
|
+
} = $n(e, n, _, P, w, h, s, f, y, V, m, j, M, v, x), se = [r];
|
|
450
450
|
function F(B, J) {
|
|
451
451
|
const ee = z(B);
|
|
452
452
|
return P.value.filter((K) => K.visible !== !1).map((K, D) => se[K.type](K, ee, J, D));
|
|
@@ -478,152 +478,157 @@ function Ho(e, n, i, l, c, b, S, w, h, s, p, y, V, m, j, M, P, v, x) {
|
|
|
478
478
|
style: Z.value
|
|
479
479
|
}, [F(_.value.rightColumns.filter((B) => B.visible), "right")])]);
|
|
480
480
|
}
|
|
481
|
-
function
|
|
481
|
+
function ue() {
|
|
482
482
|
const B = [];
|
|
483
483
|
return U.value && B.push(q()), B.push(de()), C.value && B.push(N()), B;
|
|
484
484
|
}
|
|
485
485
|
return {
|
|
486
|
-
renderDataArea:
|
|
486
|
+
renderDataArea: ue
|
|
487
487
|
};
|
|
488
488
|
}
|
|
489
|
-
const
|
|
489
|
+
const Wo = /* @__PURE__ */ tt({
|
|
490
490
|
name: "FTreeGrid",
|
|
491
|
-
props:
|
|
491
|
+
props: Vo,
|
|
492
492
|
emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode", "doubleClickRow", "selectItem", "filterChanged", "unSelectAll", "selectAll", "sortChanged", "selectionUpdate", "beginEditCell", "endEditCell"],
|
|
493
493
|
setup(e, n) {
|
|
494
|
-
var
|
|
495
|
-
const i = I(!1), l = I(!1), c = 0, b = I(((
|
|
494
|
+
var Je, Qe;
|
|
495
|
+
const i = I(!1), l = I(!1), c = 0, b = I(((Je = e.rowOption) == null ? void 0 : Je.height) || 28);
|
|
496
496
|
let S = [], w = [];
|
|
497
|
-
const h = I(20), s = I(e.columns),
|
|
497
|
+
const h = I(20), s = I(e.columns), f = it(e), {
|
|
498
498
|
idField: y
|
|
499
|
-
} =
|
|
499
|
+
} = f, V = I(), m = I(), j = I(), M = I(), P = I(), v = I([]), x = I(!1), z = I(((Qe = e.rowOption) == null ? void 0 : Qe.wrapContent) || !1), _ = Yn(e, f), U = lt(e, n), C = at(e), {
|
|
500
500
|
collapseField: $
|
|
501
501
|
} = C, {
|
|
502
502
|
showLoading: X,
|
|
503
503
|
renderLoading: Z
|
|
504
|
-
} =
|
|
504
|
+
} = qn(e, V), r = rt(e, /* @__PURE__ */ new Map(), U, C, f), {
|
|
505
505
|
dataView: se
|
|
506
|
-
} =
|
|
506
|
+
} = r, F = st(e, r, f, v, n), {
|
|
507
507
|
showSelection: q,
|
|
508
508
|
selectedValues: de
|
|
509
|
-
} = F, N =
|
|
509
|
+
} = F, N = Kn(e, v, r, f, F, n), ue = T(() => e.disabled), B = T(() => e.virtualized ? Math.min(r.dataView.value.length, h.value) : r.dataView.value.length), J = Xn(e, r), {
|
|
510
510
|
shouldRenderPagination: ee
|
|
511
511
|
} = J, {
|
|
512
512
|
containerStyleObject: K
|
|
513
|
-
} =
|
|
513
|
+
} = dt(e, v), D = I(""), O = I([]), Oe = T(() => e.searchable || !1), E = I(0), te = T(() => O.value.length ? `${E.value + 1}/${O.value.length}` : ""), De = T(() => re.getRealPropertyValue(e.searchPlaceholder, "", "datagrid.search.placeholder")), he = T(() => re.getLocaleValue("datagrid.search.search")), ve = T(() => re.getLocaleValue("datagrid.search.prev")), ce = T(() => re.getLocaleValue("datagrid.search.next")), Pe = T(() => re.getLocaleValue("datagrid.search.clear")), xe = ut(e), {
|
|
514
514
|
applyCommands: ne
|
|
515
515
|
} = xe;
|
|
516
516
|
ne(s);
|
|
517
517
|
const {
|
|
518
518
|
applyColumnSetting: pe,
|
|
519
519
|
removeColumnSetting: _e
|
|
520
|
-
} =
|
|
520
|
+
} = Jn(e);
|
|
521
521
|
e.showSetting && pe(s);
|
|
522
|
-
const Q =
|
|
522
|
+
const Q = Qn(e, n), fe = ct(e), {
|
|
523
523
|
applyColumnSorter: Ce,
|
|
524
524
|
columnContext: oe,
|
|
525
525
|
updateColumnRenderContext: be
|
|
526
526
|
} = Q;
|
|
527
|
-
Ce(
|
|
528
|
-
const ie =
|
|
527
|
+
Ce(r, fe);
|
|
528
|
+
const ie = pt(e, oe), k = ft(e, n, F, f), L = mt(e, n, f, k, v), le = yt(e, r, b), Tt = gt(e, L, le), Ot = ht(e, r, L, C, f, le, Tt, b), ke = Zn(e, s, r, B, c, Ot), {
|
|
529
529
|
getVisualData: we
|
|
530
|
-
} = ke,
|
|
531
|
-
sidebarWidth:
|
|
532
|
-
} = Ge, G =
|
|
533
|
-
onWheel:
|
|
530
|
+
} = ke, Dt = eo(e, oe, b, i), Ge = vt(e, F), {
|
|
531
|
+
sidebarWidth: Pt
|
|
532
|
+
} = Ge, G = Ct(e, r, v, oe, ke, B, c, Pt, b, i), {
|
|
533
|
+
onWheel: xt,
|
|
534
534
|
dataGridWidth: Le,
|
|
535
535
|
viewPortHeight: We,
|
|
536
536
|
viewPortWidth: Se,
|
|
537
537
|
resetScroll: Ve,
|
|
538
|
-
updateVisibleRowsOnLatestVisibleScope:
|
|
539
|
-
} = G, ze =
|
|
538
|
+
updateVisibleRowsOnLatestVisibleScope: _t
|
|
539
|
+
} = G, ze = to(e, oe, m, Se, ie), {
|
|
540
540
|
calculateColumnsSize: Ie
|
|
541
|
-
} = ze, Ue =
|
|
541
|
+
} = ze, Ue = no(), kt = oo(m, P, r, Ue, G), Gt = io(e, n, Q, r, ie, _, G), Vt = T(() => {
|
|
542
542
|
const t = {
|
|
543
543
|
"fv-grid": !0,
|
|
544
544
|
"fv-grid-bordered": e.showBorder,
|
|
545
545
|
"fv-grid-horizontal-bordered": e.showHorizontalLines,
|
|
546
546
|
"fv-datagrid-strip": e.showStripe
|
|
547
547
|
};
|
|
548
|
-
return
|
|
549
|
-
}),
|
|
548
|
+
return An(t, e.customClass);
|
|
549
|
+
}), jt = T(() => ({
|
|
550
550
|
"fv-grid-content": !0,
|
|
551
551
|
"fv-grid-content-hover": x.value,
|
|
552
552
|
"fv-grid-wrap-content": z.value,
|
|
553
553
|
"fv-grid-scrollbar-visible": G.shouldShowVirticalScrollbar.value && x.value
|
|
554
554
|
})), {
|
|
555
|
-
renderDataArea:
|
|
556
|
-
} =
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
555
|
+
renderDataArea: Et
|
|
556
|
+
} = Lo(e, n, j, M, P, Dt, Q, r, L, C, k, F, N, G, ke, le, v, b, i), $e = I(null);
|
|
557
|
+
function Mt(t, o) {
|
|
558
|
+
var a, d;
|
|
559
|
+
e.enableColumnSettingSolution && ((d = (a = $e.value) == null ? void 0 : a.persistColumnWidths) == null || d.call(a, o));
|
|
560
|
+
}
|
|
561
|
+
const {
|
|
562
|
+
renderGridHeader: At,
|
|
563
|
+
renderGridColumnResizeOverlay: Ht,
|
|
564
|
+
shouldShowHeader: Nt
|
|
565
|
+
} = lo(e, n, m, M, P, Q, r, Gt, kt, U, Ue, ze, ie, F, Ge, fe, G, Se, v, l, Mt), {
|
|
566
|
+
renderDataGridSidebar: Lt
|
|
567
|
+
} = ao(e, k, F, Ge, G), {
|
|
568
|
+
renderDisableMask: Wt
|
|
569
|
+
} = ro(), {
|
|
570
|
+
renderHorizontalScrollbar: zt
|
|
571
|
+
} = bt(e, m, G), {
|
|
572
|
+
renderVerticalScrollbar: Ut
|
|
573
|
+
} = so(e, m, G);
|
|
569
574
|
let ae = null;
|
|
570
|
-
function
|
|
571
|
-
var t, o,
|
|
575
|
+
function $t() {
|
|
576
|
+
var t, o, a;
|
|
572
577
|
if (m.value && m.value.clientHeight > 0 && ((t = m.value) == null ? void 0 : t.clientWidth) > 0) {
|
|
573
|
-
const
|
|
574
|
-
|
|
578
|
+
const d = Math.ceil(m.value.clientHeight / b.value);
|
|
579
|
+
d > h.value && (h.value = d, _t()), We.value = ((o = j.value) == null ? void 0 : o.clientHeight) || 0, Le.value = ((a = m.value) == null ? void 0 : a.clientWidth) || 0, j.value && (Se.value = j.value.clientWidth);
|
|
575
580
|
}
|
|
576
581
|
m.value && (m.value.clientHeight > 0 || m.value.clientWidth > 0) && Ie();
|
|
577
582
|
}
|
|
578
|
-
function
|
|
583
|
+
function Yt() {
|
|
579
584
|
ae !== null && cancelAnimationFrame(ae), ae = requestAnimationFrame(() => {
|
|
580
|
-
ae = null,
|
|
585
|
+
ae = null, $t();
|
|
581
586
|
});
|
|
582
587
|
}
|
|
583
|
-
|
|
584
|
-
m.value && (h.value = Math.max(Math.ceil(m.value.clientHeight / b.value), h.value), v.value = we(0, B.value + c - 1),
|
|
588
|
+
nt(() => {
|
|
589
|
+
m.value && (h.value = Math.max(Math.ceil(m.value.clientHeight / b.value), h.value), v.value = we(0, B.value + c - 1), ot(m.value, Yt), Ie(), Fe(() => {
|
|
585
590
|
m.value && (Le.value = m.value.clientWidth), j.value && (Se.value = j.value.clientWidth, We.value = j.value.clientHeight);
|
|
586
591
|
})), X.value && Z();
|
|
587
|
-
}),
|
|
592
|
+
}), Ze(() => {
|
|
588
593
|
ae !== null && cancelAnimationFrame(ae);
|
|
589
594
|
});
|
|
590
|
-
function
|
|
591
|
-
|
|
595
|
+
function qt(t) {
|
|
596
|
+
r.collapseTo(t), r.reOrderVisibleIndex(), Ve();
|
|
592
597
|
}
|
|
593
|
-
function
|
|
594
|
-
|
|
598
|
+
function Kt(t) {
|
|
599
|
+
r.expandTo(t), r.reOrderVisibleIndex(), Ve();
|
|
595
600
|
}
|
|
596
601
|
function je() {
|
|
597
602
|
const t = F.getSelectionRow();
|
|
598
603
|
return t ? t.dataIndex - 1 : -1;
|
|
599
604
|
}
|
|
600
|
-
function
|
|
601
|
-
const o = t !== void 0 ? t : je(),
|
|
602
|
-
return v.value = we(0, B.value + c - 1),
|
|
605
|
+
function Xt(t) {
|
|
606
|
+
const o = t !== void 0 ? t : je(), a = r.insertNewDataItem(o === -1 ? 0 : o);
|
|
607
|
+
return v.value = we(0, B.value + c - 1), a;
|
|
603
608
|
}
|
|
604
|
-
function
|
|
609
|
+
function Jt() {
|
|
605
610
|
const t = je();
|
|
606
|
-
|
|
611
|
+
r.insertNewChildDataItem(t), v.value = we(0, B.value + c - 1);
|
|
607
612
|
}
|
|
608
|
-
function
|
|
609
|
-
const
|
|
610
|
-
|
|
613
|
+
function Qt(t, o) {
|
|
614
|
+
const a = v.value.find((p) => p.raw[y.value] === o), d = a ? a.dataIndex - 1 : -1;
|
|
615
|
+
r.insertNewChildDataItems(t, d);
|
|
611
616
|
}
|
|
612
|
-
function
|
|
617
|
+
function Zt() {
|
|
613
618
|
const t = je(), o = N.getNextSelectableHierarchyItemId(t);
|
|
614
|
-
|
|
619
|
+
r.removeHierarchyDataItem(t), v.value = we(0, B.value + c - 1), o && N.selectItemById(o);
|
|
615
620
|
}
|
|
616
|
-
function
|
|
621
|
+
function en(t) {
|
|
617
622
|
L.onEditingRow(t);
|
|
618
623
|
}
|
|
619
|
-
function
|
|
624
|
+
function tn(t) {
|
|
620
625
|
L.acceptEditingRow(t);
|
|
621
626
|
}
|
|
622
|
-
function
|
|
627
|
+
function nn(t) {
|
|
623
628
|
L.cancelEditingRow(t);
|
|
624
629
|
}
|
|
625
630
|
function me(t) {
|
|
626
|
-
t && (s.value = t, ne(s), e.showSetting && pe(s), be(s.value), Ce(
|
|
631
|
+
t && (s.value = t, ne(s), e.showSetting && pe(s), be(s.value), Ce(r, fe), Ie());
|
|
627
632
|
}
|
|
628
633
|
Be(() => e.columns, (t) => {
|
|
629
634
|
if (e.showSetting && e.enableColumnSettingSolution) {
|
|
@@ -632,12 +637,12 @@ const No = /* @__PURE__ */ et({
|
|
|
632
637
|
}
|
|
633
638
|
me(t);
|
|
634
639
|
});
|
|
635
|
-
function
|
|
640
|
+
function on(t, o) {
|
|
636
641
|
if (t) {
|
|
637
|
-
const
|
|
638
|
-
|
|
639
|
-
keepScroll:
|
|
640
|
-
savedOffsetY:
|
|
642
|
+
const a = !!(o != null && o.keepScrollTop || o != null && o.keepScrollPosition), d = a ? G.offsetY.value : 0;
|
|
643
|
+
r.load(t), r.reOrderVisibleIndex(), mo({
|
|
644
|
+
keepScroll: a,
|
|
645
|
+
savedOffsetY: d,
|
|
641
646
|
resetScroll: Ve,
|
|
642
647
|
scrollTo: G.scrollTo
|
|
643
648
|
});
|
|
@@ -646,275 +651,275 @@ const No = /* @__PURE__ */ et({
|
|
|
646
651
|
function Ee(t) {
|
|
647
652
|
k.activeRowById(t);
|
|
648
653
|
}
|
|
649
|
-
function
|
|
654
|
+
function ln(t, o = {
|
|
650
655
|
isCurrent: !0
|
|
651
656
|
}) {
|
|
652
657
|
o != null && o.isCurrent && Ee(t), N.selectItemById(t);
|
|
653
658
|
}
|
|
654
|
-
function
|
|
655
|
-
const o = v.value.find((
|
|
659
|
+
function an(t) {
|
|
660
|
+
const o = v.value.find((a) => a.raw[f.idField.value] === t);
|
|
656
661
|
o && k.clickRowItem(o);
|
|
657
662
|
}
|
|
658
|
-
function
|
|
663
|
+
function rn(t) {
|
|
659
664
|
N.selectItemByIds(t);
|
|
660
665
|
}
|
|
661
|
-
function
|
|
666
|
+
function sn() {
|
|
662
667
|
return F.getSelectedItems();
|
|
663
668
|
}
|
|
664
|
-
function
|
|
669
|
+
function Ye() {
|
|
665
670
|
F.clearSelection();
|
|
666
671
|
}
|
|
667
|
-
function
|
|
672
|
+
function dn() {
|
|
668
673
|
F.emptyCurrentRowId();
|
|
669
674
|
}
|
|
670
|
-
const
|
|
671
|
-
renderEmpty:
|
|
672
|
-
} =
|
|
673
|
-
function
|
|
675
|
+
const un = T(() => !v.value || !v.value.length), {
|
|
676
|
+
renderEmpty: cn
|
|
677
|
+
} = uo(e, n);
|
|
678
|
+
function pn() {
|
|
674
679
|
return F.getSelectionRow();
|
|
675
680
|
}
|
|
676
|
-
function
|
|
681
|
+
function fn(t, o = {
|
|
677
682
|
clearCurrent: !0
|
|
678
683
|
}) {
|
|
679
684
|
o != null && o.clearCurrent && Ee(""), N.unSelectItemByIds(t);
|
|
680
685
|
}
|
|
681
|
-
function
|
|
686
|
+
function mn() {
|
|
682
687
|
return F.currentSelectedDataId.value;
|
|
683
688
|
}
|
|
684
|
-
function
|
|
685
|
-
const
|
|
686
|
-
if (
|
|
687
|
-
if (Object.keys(
|
|
688
|
-
Object.prototype.hasOwnProperty.call(o, g) && (
|
|
689
|
-
}),
|
|
689
|
+
function yn(t, o, a) {
|
|
690
|
+
const d = se.value.find((p) => p[y.value] === t);
|
|
691
|
+
if (d) {
|
|
692
|
+
if (Object.keys(d).forEach((g) => {
|
|
693
|
+
Object.prototype.hasOwnProperty.call(o, g) && (d[g] = o[g]);
|
|
694
|
+
}), a) {
|
|
690
695
|
const {
|
|
691
696
|
collapseField: g,
|
|
692
697
|
disabledField: A,
|
|
693
698
|
checkedField: Y,
|
|
694
699
|
visibleField: H,
|
|
695
700
|
hasChildren: ge
|
|
696
|
-
} =
|
|
697
|
-
g && !W(o[g]) && (
|
|
701
|
+
} = a;
|
|
702
|
+
g && !W(o[g]) && (d.__fv_collapse__ = o[g]), Y && !W(o[Y]) && (d.__fv_checked__ = o[Y]), A && !W(o[A]) && (d.__fv_disabled__ = o[A]), H && !W(o[H]) && (d.__fv_visible__ = o[H]), W(ge) || (d.__fv_hasChildren__ = ge);
|
|
698
703
|
}
|
|
699
|
-
const
|
|
700
|
-
if (
|
|
701
|
-
if (
|
|
702
|
-
|
|
703
|
-
}),
|
|
704
|
+
const p = v.value.find((g) => g.raw[y.value] === t), u = v.value.findIndex((g) => g.raw[y.value] === t);
|
|
705
|
+
if (p) {
|
|
706
|
+
if (p.raw = d, Object.keys(p.data).forEach((g) => {
|
|
707
|
+
p.data[g].updateData(d);
|
|
708
|
+
}), a) {
|
|
704
709
|
const {
|
|
705
710
|
collapseField: g,
|
|
706
711
|
disabledField: A,
|
|
707
712
|
checkedField: Y,
|
|
708
713
|
visibleField: H,
|
|
709
714
|
hasChildren: ge
|
|
710
|
-
} =
|
|
711
|
-
g && !W(o[g]) && (
|
|
715
|
+
} = a;
|
|
716
|
+
g && !W(o[g]) && (p.collapse = o[g]), Y && !W(o[Y]) && (p.checked = o[Y]), A && !W(o[A]) && (p.disabled = o[A]), H && !W(o[H]) && (p.visible = o[H]), W(ge) || (p.raw.__fv_hasChildren__ = ge);
|
|
712
717
|
}
|
|
713
|
-
v.value = [...v.value.slice(0,
|
|
718
|
+
v.value = [...v.value.slice(0, u), p, ...v.value.slice(u + 1)], r.updateSummary();
|
|
714
719
|
}
|
|
715
720
|
}
|
|
716
721
|
}
|
|
717
|
-
function
|
|
718
|
-
return Object.prototype.hasOwnProperty.call(t, "raw") ?
|
|
722
|
+
function gn(t) {
|
|
723
|
+
return Object.prototype.hasOwnProperty.call(t, "raw") ? r.hasRealChildren(t.raw) : r.hasRealChildren(t);
|
|
719
724
|
}
|
|
720
|
-
function
|
|
721
|
-
const o =
|
|
725
|
+
function hn(t) {
|
|
726
|
+
const o = r.dataView.value.find((a) => a[y.value] === t);
|
|
722
727
|
return o ? o[$.value] : "";
|
|
723
728
|
}
|
|
724
|
-
function
|
|
729
|
+
function vn() {
|
|
725
730
|
return $.value;
|
|
726
731
|
}
|
|
727
732
|
Be(() => e.showSetting, (t, o) => {
|
|
728
733
|
t !== o && (t ? pe(s) : _e(s), me(s.value));
|
|
729
734
|
});
|
|
730
|
-
function
|
|
735
|
+
function Cn(t) {
|
|
731
736
|
return v.value.filter((o) => t.includes(o.raw[e.idField]));
|
|
732
737
|
}
|
|
733
|
-
function
|
|
734
|
-
const o =
|
|
735
|
-
|
|
738
|
+
function qe(t) {
|
|
739
|
+
const o = f.idField.value, a = v.value.find((d) => d.raw[o] === t);
|
|
740
|
+
a && k.changeRow(a);
|
|
736
741
|
}
|
|
737
|
-
function
|
|
738
|
-
F.keepSelectingOnPaging.value ||
|
|
742
|
+
function bn() {
|
|
743
|
+
F.keepSelectingOnPaging.value || Ye(), r.updateVisibleDataSummary(v.value);
|
|
739
744
|
}
|
|
740
|
-
function
|
|
745
|
+
function wn() {
|
|
741
746
|
L.endEditCell();
|
|
742
747
|
}
|
|
743
|
-
function
|
|
748
|
+
function Sn(t) {
|
|
744
749
|
F.updateSelectedValues(t);
|
|
745
750
|
}
|
|
746
|
-
function
|
|
751
|
+
function In(t) {
|
|
747
752
|
F.removeSelectedValues(t);
|
|
748
753
|
}
|
|
749
|
-
const
|
|
750
|
-
function
|
|
751
|
-
const
|
|
752
|
-
let
|
|
753
|
-
for (;
|
|
754
|
-
|
|
755
|
-
return
|
|
756
|
-
}
|
|
757
|
-
function
|
|
758
|
-
const o =
|
|
759
|
-
if (typeof
|
|
754
|
+
const Rn = 100;
|
|
755
|
+
function Fn(t, o) {
|
|
756
|
+
const a = o[t].__fv_layer__ || 0;
|
|
757
|
+
let d = t + 1;
|
|
758
|
+
for (; d < o.length && (o[d].__fv_layer__ || 0) > a; )
|
|
759
|
+
d++;
|
|
760
|
+
return d - 1;
|
|
761
|
+
}
|
|
762
|
+
function Bn(t) {
|
|
763
|
+
const o = r.dataView.value, a = C.collapseField.value, d = t.__fv_index__, p = t.__fv_layer__ || 0;
|
|
764
|
+
if (typeof d != "number" || t.__fv_visible__ === !1 || t[a])
|
|
760
765
|
return;
|
|
761
|
-
let
|
|
762
|
-
for (;
|
|
763
|
-
const g = o[
|
|
764
|
-
if ((g.__fv_layer__ || 0) <=
|
|
766
|
+
let u = d + 1;
|
|
767
|
+
for (; u < o.length; ) {
|
|
768
|
+
const g = o[u];
|
|
769
|
+
if ((g.__fv_layer__ || 0) <= p)
|
|
765
770
|
break;
|
|
766
|
-
if (g.__fv_visible__ = !0, g[
|
|
767
|
-
|
|
771
|
+
if (g.__fv_visible__ = !0, g[a]) {
|
|
772
|
+
u = Fn(u, o) + 1;
|
|
768
773
|
continue;
|
|
769
774
|
}
|
|
770
|
-
|
|
775
|
+
u++;
|
|
771
776
|
}
|
|
772
777
|
}
|
|
773
|
-
function
|
|
778
|
+
function Tn(t) {
|
|
774
779
|
let o = t;
|
|
775
|
-
const
|
|
776
|
-
let
|
|
777
|
-
for (; o && o[C.parentIdField.value] &&
|
|
778
|
-
|
|
779
|
-
const
|
|
780
|
-
if (
|
|
781
|
-
|
|
780
|
+
const a = [];
|
|
781
|
+
let d = 0;
|
|
782
|
+
for (; o && o[C.parentIdField.value] && d < Rn; ) {
|
|
783
|
+
d++;
|
|
784
|
+
const p = r.rawView.value.find((u) => u[f.idField.value] === o[C.parentIdField.value]);
|
|
785
|
+
if (p)
|
|
786
|
+
p[C.collapseField.value] && a.push(p), o = p;
|
|
782
787
|
else
|
|
783
788
|
break;
|
|
784
789
|
}
|
|
785
|
-
|
|
786
|
-
|
|
790
|
+
a.reverse().forEach((p) => {
|
|
791
|
+
p[C.collapseField.value] = !1, r.toggleChildrenVisibiltyByCollapseStatus(p), Bn(p);
|
|
787
792
|
});
|
|
788
793
|
}
|
|
789
|
-
function
|
|
794
|
+
function On(t, o) {
|
|
790
795
|
if (t.length !== o.length)
|
|
791
796
|
return !1;
|
|
792
|
-
const
|
|
793
|
-
return
|
|
797
|
+
const a = t.map((p) => p[f.idField.value]).sort(), d = o.map((p) => p[f.idField.value]).sort();
|
|
798
|
+
return a.every((p, u) => p === d[u]);
|
|
794
799
|
}
|
|
795
800
|
function Me() {
|
|
796
801
|
const t = O.value[E.value];
|
|
797
|
-
t && (
|
|
798
|
-
|
|
799
|
-
const o = t[
|
|
800
|
-
|
|
801
|
-
|
|
802
|
+
t && (Tn(t), Fe(() => {
|
|
803
|
+
r.reOrderVisibleIndex();
|
|
804
|
+
const o = t[f.idField.value], a = t.__fv_visible_index__;
|
|
805
|
+
a !== void 0 && a !== "" && a >= 0 ? (G.scrollToRowByIndex(a), Fe(() => {
|
|
806
|
+
qe(o);
|
|
802
807
|
})) : console.warn("搜索结果的节点不在当前可见范围内,无法定位", o);
|
|
803
808
|
}));
|
|
804
809
|
}
|
|
805
|
-
function
|
|
810
|
+
function Ke() {
|
|
806
811
|
!D.value.trim() || !O.value.length || (E.value = (E.value + 1) % O.value.length, Me());
|
|
807
812
|
}
|
|
808
|
-
function
|
|
813
|
+
function Dn() {
|
|
809
814
|
if (!D.value.trim()) {
|
|
810
815
|
O.value = [], E.value = 0;
|
|
811
816
|
return;
|
|
812
817
|
}
|
|
813
818
|
const t = [], o = D.value.toLowerCase().trim();
|
|
814
|
-
|
|
815
|
-
let
|
|
816
|
-
e.customSearch ?
|
|
817
|
-
if (!
|
|
818
|
-
const g =
|
|
819
|
-
g && g.toLowerCase().includes(o) && (
|
|
819
|
+
r.rawView.value.forEach((d) => {
|
|
820
|
+
let p = !1;
|
|
821
|
+
e.customSearch ? p = e.customSearch(o, d, e.columns) : e.columns.forEach((u) => {
|
|
822
|
+
if (!p && u.field) {
|
|
823
|
+
const g = No(u, d);
|
|
824
|
+
g && g.toLowerCase().includes(o) && (p = !0);
|
|
820
825
|
}
|
|
821
|
-
}),
|
|
826
|
+
}), p && t.push(d);
|
|
822
827
|
});
|
|
823
|
-
const
|
|
824
|
-
t.length > 0 ?
|
|
828
|
+
const a = !On(t, O.value);
|
|
829
|
+
t.length > 0 ? a ? (O.value = t, E.value = 0, Me()) : Ke() : (O.value = [], E.value = 0);
|
|
825
830
|
}
|
|
826
|
-
function
|
|
831
|
+
function Pn() {
|
|
827
832
|
if (!D.value.trim() || !O.value.length)
|
|
828
833
|
return;
|
|
829
834
|
const t = O.value.length;
|
|
830
835
|
E.value = (E.value - 1 + t) % t, Me();
|
|
831
836
|
}
|
|
832
|
-
const ye =
|
|
833
|
-
function
|
|
837
|
+
const ye = Un(Dn, 300);
|
|
838
|
+
function Xe() {
|
|
834
839
|
ye.cancel(), D.value = "", O.value = [], E.value = 0;
|
|
835
840
|
}
|
|
836
841
|
Be(D, (t) => {
|
|
837
842
|
t.trim() || (ye.cancel(), O.value = [], E.value = 0);
|
|
838
|
-
}),
|
|
843
|
+
}), Ze(() => {
|
|
839
844
|
ye.cancel();
|
|
840
845
|
});
|
|
841
|
-
function
|
|
846
|
+
function xn(t) {
|
|
842
847
|
if (t.key === "Enter") {
|
|
843
848
|
if (!D.value.trim())
|
|
844
849
|
return;
|
|
845
850
|
ye();
|
|
846
851
|
}
|
|
847
852
|
}
|
|
848
|
-
function
|
|
853
|
+
function _n() {
|
|
849
854
|
D.value.trim() && ye();
|
|
850
855
|
}
|
|
851
856
|
n.expose({
|
|
852
857
|
activeRowById: Ee,
|
|
853
|
-
addNewDataItem:
|
|
854
|
-
addNewChildDataItem:
|
|
855
|
-
addChildrenToNode:
|
|
856
|
-
collapseTo:
|
|
857
|
-
expandTo:
|
|
858
|
-
removeDataItem:
|
|
859
|
-
editDataItem:
|
|
860
|
-
acceptDataItem:
|
|
861
|
-
cancelDataItem:
|
|
858
|
+
addNewDataItem: Xt,
|
|
859
|
+
addNewChildDataItem: Jt,
|
|
860
|
+
addChildrenToNode: Qt,
|
|
861
|
+
collapseTo: qt,
|
|
862
|
+
expandTo: Kt,
|
|
863
|
+
removeDataItem: Zt,
|
|
864
|
+
editDataItem: en,
|
|
865
|
+
acceptDataItem: tn,
|
|
866
|
+
cancelDataItem: nn,
|
|
862
867
|
updateColumns: me,
|
|
863
|
-
updateDataSource:
|
|
864
|
-
selectItemById:
|
|
865
|
-
selectItemByIds:
|
|
866
|
-
getSelectedItems:
|
|
867
|
-
clearSelection:
|
|
868
|
-
getSelectionRow:
|
|
869
|
-
clickRowItemById:
|
|
870
|
-
unSelectItemByIds:
|
|
871
|
-
getCurrentRowId:
|
|
872
|
-
reassignRowData:
|
|
873
|
-
hasChildren:
|
|
874
|
-
getCollapseField:
|
|
875
|
-
getCollapseStatusById:
|
|
876
|
-
getVisibleDataByIds:
|
|
877
|
-
selectRowById:
|
|
878
|
-
updateDerivedData:
|
|
879
|
-
emptyCurrentRowId:
|
|
868
|
+
updateDataSource: on,
|
|
869
|
+
selectItemById: ln,
|
|
870
|
+
selectItemByIds: rn,
|
|
871
|
+
getSelectedItems: sn,
|
|
872
|
+
clearSelection: Ye,
|
|
873
|
+
getSelectionRow: pn,
|
|
874
|
+
clickRowItemById: an,
|
|
875
|
+
unSelectItemByIds: fn,
|
|
876
|
+
getCurrentRowId: mn,
|
|
877
|
+
reassignRowData: yn,
|
|
878
|
+
hasChildren: gn,
|
|
879
|
+
getCollapseField: vn,
|
|
880
|
+
getCollapseStatusById: hn,
|
|
881
|
+
getVisibleDataByIds: Cn,
|
|
882
|
+
selectRowById: qe,
|
|
883
|
+
updateDerivedData: bn,
|
|
884
|
+
emptyCurrentRowId: dn,
|
|
880
885
|
calculateColumnsSize: Ie,
|
|
881
|
-
endEditCell:
|
|
882
|
-
updateSelectedValues:
|
|
883
|
-
removeSelectedValues:
|
|
886
|
+
endEditCell: wn,
|
|
887
|
+
updateSelectedValues: Sn,
|
|
888
|
+
removeSelectedValues: In
|
|
884
889
|
});
|
|
885
|
-
const
|
|
890
|
+
const kn = T(() => {
|
|
886
891
|
const t = {};
|
|
887
892
|
return G.shouldShowHorizontalScrollbar.value && x.value && (t.paddingBottom = "10px"), G.shouldShowVirticalScrollbar.value && x.value, t;
|
|
888
|
-
}),
|
|
893
|
+
}), Gn = T(() => ({
|
|
889
894
|
...K.value,
|
|
890
895
|
borderRadius: "5px"
|
|
891
896
|
})), {
|
|
892
|
-
renderDataGridPagination:
|
|
893
|
-
} =
|
|
897
|
+
renderDataGridPagination: si
|
|
898
|
+
} = co(e, n, r, G, J, F), Vn = T(() => ({
|
|
894
899
|
"d-flex": !0,
|
|
895
900
|
"justify-content-between": ee.value && q.value,
|
|
896
901
|
"justify-content-end": ee.value && !q.value,
|
|
897
902
|
"position-relative": !0
|
|
898
|
-
})),
|
|
903
|
+
})), jn = T(() => ({
|
|
899
904
|
"d-flex": !0,
|
|
900
905
|
"align-items-center": !0
|
|
901
906
|
}));
|
|
902
|
-
function
|
|
903
|
-
const o = t.map((
|
|
904
|
-
|
|
905
|
-
const g = t.find((A) => A.id ===
|
|
906
|
-
g && (
|
|
907
|
-
}), w =
|
|
908
|
-
const
|
|
909
|
-
S =
|
|
910
|
-
const A = t.findIndex((H) => H.id ===
|
|
907
|
+
function En(t) {
|
|
908
|
+
const o = t.map((u) => u.id), a = [...s.value, ...S, ...w];
|
|
909
|
+
a.filter((u) => u.dataType !== Ae && u.dataType !== He).forEach((u) => {
|
|
910
|
+
const g = t.find((A) => A.id === u.id);
|
|
911
|
+
g && (u.width = g.actualWidth || u.width || 120, g.actualWidth !== void 0 && (u.actualWidth = g.actualWidth), u.title = g.title, u.halign = g.halign, u.align = g.align, u.fixed = g.fixed);
|
|
912
|
+
}), w = a.filter((u) => u.dataType === Ae || u.dataType === He);
|
|
913
|
+
const d = a.filter((u) => u.dataType !== Ae && u.dataType !== He), p = d.filter((u) => o.includes(u.id));
|
|
914
|
+
S = d.filter((u) => !o.includes(u.id)), p.sort((u, g) => {
|
|
915
|
+
const A = t.findIndex((H) => H.id === u.id), Y = t.findIndex((H) => H.id === g.id);
|
|
911
916
|
return A - Y;
|
|
912
|
-
}), me(
|
|
917
|
+
}), me(p);
|
|
913
918
|
}
|
|
914
919
|
const {
|
|
915
|
-
renderDataGridSummary:
|
|
916
|
-
} =
|
|
917
|
-
return () => e.visible && R(
|
|
920
|
+
renderDataGridSummary: Mn
|
|
921
|
+
} = po(e, r, Q);
|
|
922
|
+
return () => e.visible && R(Wn, null, [Oe.value && R("div", {
|
|
918
923
|
class: "fv-grid-search",
|
|
919
924
|
style: {
|
|
920
925
|
padding: "8px 12px",
|
|
@@ -927,12 +932,12 @@ const No = /* @__PURE__ */ et({
|
|
|
927
932
|
display: "flex",
|
|
928
933
|
alignItems: "center"
|
|
929
934
|
}
|
|
930
|
-
}, [R(
|
|
935
|
+
}, [R(go, {
|
|
931
936
|
value: D.value,
|
|
932
937
|
onInput: (t) => D.value = t,
|
|
933
938
|
"onUpdate:value": (t) => D.value = t || "",
|
|
934
|
-
onClear:
|
|
935
|
-
onKeydown:
|
|
939
|
+
onClear: Xe,
|
|
940
|
+
onKeydown: xn,
|
|
936
941
|
placeholder: De.value,
|
|
937
942
|
style: {
|
|
938
943
|
flex: 1
|
|
@@ -949,7 +954,7 @@ const No = /* @__PURE__ */ et({
|
|
|
949
954
|
type: "link",
|
|
950
955
|
title: ve.value,
|
|
951
956
|
disabled: !O.value.length,
|
|
952
|
-
onClick:
|
|
957
|
+
onClick: Pn,
|
|
953
958
|
style: {
|
|
954
959
|
cursor: "pointer",
|
|
955
960
|
marginLeft: "4px"
|
|
@@ -960,9 +965,9 @@ const No = /* @__PURE__ */ et({
|
|
|
960
965
|
}, null)]
|
|
961
966
|
}), R(Re, {
|
|
962
967
|
type: "link",
|
|
963
|
-
title:
|
|
968
|
+
title: ce.value,
|
|
964
969
|
disabled: !O.value.length,
|
|
965
|
-
onClick:
|
|
970
|
+
onClick: Ke,
|
|
966
971
|
style: {
|
|
967
972
|
cursor: "pointer",
|
|
968
973
|
marginLeft: "4px"
|
|
@@ -974,7 +979,7 @@ const No = /* @__PURE__ */ et({
|
|
|
974
979
|
}), R(Re, {
|
|
975
980
|
type: "link",
|
|
976
981
|
title: he.value,
|
|
977
|
-
onClick:
|
|
982
|
+
onClick: _n,
|
|
978
983
|
style: {
|
|
979
984
|
cursor: "pointer",
|
|
980
985
|
marginLeft: "4px"
|
|
@@ -986,7 +991,7 @@ const No = /* @__PURE__ */ et({
|
|
|
986
991
|
}), D.value && R(Re, {
|
|
987
992
|
type: "link",
|
|
988
993
|
title: Pe.value,
|
|
989
|
-
onClick:
|
|
994
|
+
onClick: Xe,
|
|
990
995
|
style: {
|
|
991
996
|
cursor: "pointer",
|
|
992
997
|
marginLeft: "4px"
|
|
@@ -997,12 +1002,12 @@ const No = /* @__PURE__ */ et({
|
|
|
997
1002
|
}, null)]
|
|
998
1003
|
})])]), R("div", {
|
|
999
1004
|
ref: V,
|
|
1000
|
-
class: Gt.value,
|
|
1001
|
-
style: _n.value,
|
|
1002
|
-
onWheel: Pt
|
|
1003
|
-
}, [m.value && At.value && Et(), R("div", {
|
|
1004
|
-
ref: m,
|
|
1005
1005
|
class: Vt.value,
|
|
1006
|
+
style: Gn.value,
|
|
1007
|
+
onWheel: xt
|
|
1008
|
+
}, [m.value && Nt.value && At(), R("div", {
|
|
1009
|
+
ref: m,
|
|
1010
|
+
class: jt.value,
|
|
1006
1011
|
onMouseover: () => x.value = !0,
|
|
1007
1012
|
onMouseleave: () => x.value = !1,
|
|
1008
1013
|
onTouchstart: (t) => {
|
|
@@ -1011,20 +1016,21 @@ const No = /* @__PURE__ */ et({
|
|
|
1011
1016
|
onTouchend: (t) => {
|
|
1012
1017
|
x.value = !1;
|
|
1013
1018
|
},
|
|
1014
|
-
style:
|
|
1015
|
-
}, [m.value &&
|
|
1016
|
-
class:
|
|
1019
|
+
style: kn.value
|
|
1020
|
+
}, [m.value && Lt(v), m.value && Et(), m.value && un.value && cn(), m.value && zt(), m.value && Ut()]), m.value && Mn(), q.value && R("div", {
|
|
1021
|
+
class: Vn.value
|
|
1017
1022
|
}, [q.value && R("div", {
|
|
1018
|
-
class:
|
|
1019
|
-
}, [R("div", null, ["已选:" + de.value.length,
|
|
1023
|
+
class: jn.value
|
|
1024
|
+
}, [R("div", null, ["已选:" + de.value.length, zn(" 条")])])]), Ht(), ue.value && Wt()]), e.enableColumnSettingSolution && R(fo, {
|
|
1025
|
+
ref: $e,
|
|
1020
1026
|
columns: [...s.value, ...S],
|
|
1021
1027
|
componentId: e.id,
|
|
1022
1028
|
modelValue: l.value,
|
|
1023
1029
|
"onUpdate:modelValue": (t) => l.value = t,
|
|
1024
|
-
onChangeColumnSetting:
|
|
1030
|
+
onChangeColumnSetting: En
|
|
1025
1031
|
}, null)]);
|
|
1026
1032
|
}
|
|
1027
|
-
}),
|
|
1033
|
+
}), zo = "https://json-schema.org/draft/2020-12/schema", Uo = "https://farris-design.gitee.io/tree-grid.schema.json", $o = "tree-grid", Yo = "A Farris Data Grid Component", qo = "object", Ko = {
|
|
1028
1034
|
id: {
|
|
1029
1035
|
description: "The unique identifier for a Input Group",
|
|
1030
1036
|
type: "string"
|
|
@@ -1902,11 +1908,11 @@ const No = /* @__PURE__ */ et({
|
|
|
1902
1908
|
type: "boolean",
|
|
1903
1909
|
default: !1
|
|
1904
1910
|
}
|
|
1905
|
-
},
|
|
1911
|
+
}, Xo = [
|
|
1906
1912
|
"id",
|
|
1907
1913
|
"type",
|
|
1908
1914
|
"columns"
|
|
1909
|
-
],
|
|
1915
|
+
], Jo = {
|
|
1910
1916
|
onSelectionChange: "行切换事件",
|
|
1911
1917
|
onClickRow: "行点击事件",
|
|
1912
1918
|
onDoubleClickRow: "行双击事件",
|
|
@@ -1918,52 +1924,52 @@ const No = /* @__PURE__ */ et({
|
|
|
1918
1924
|
onUnSelectItem: "取消选中行事件",
|
|
1919
1925
|
onSelectAll: "全选事件",
|
|
1920
1926
|
onUnSelectAll: "取消全选事件"
|
|
1921
|
-
},
|
|
1922
|
-
$schema:
|
|
1923
|
-
$id:
|
|
1924
|
-
title:
|
|
1925
|
-
description:
|
|
1926
|
-
type:
|
|
1927
|
-
properties:
|
|
1928
|
-
required:
|
|
1929
|
-
events:
|
|
1930
|
-
},
|
|
1931
|
-
["appearance",
|
|
1927
|
+
}, It = {
|
|
1928
|
+
$schema: zo,
|
|
1929
|
+
$id: Uo,
|
|
1930
|
+
title: $o,
|
|
1931
|
+
description: Yo,
|
|
1932
|
+
type: qo,
|
|
1933
|
+
properties: Ko,
|
|
1934
|
+
required: Xo,
|
|
1935
|
+
events: Jo
|
|
1936
|
+
}, Rt = /* @__PURE__ */ new Map([
|
|
1937
|
+
["appearance", ho],
|
|
1932
1938
|
["column", "columnOption"],
|
|
1933
1939
|
["command", "commandOption"]
|
|
1934
1940
|
]);
|
|
1935
|
-
function
|
|
1941
|
+
function Qo(e, n, i) {
|
|
1936
1942
|
var y;
|
|
1937
1943
|
const l = i.parentComponentInstance, c = l.schema.type, b = String(((y = l.schema.appearance) == null ? void 0 : y.class) || "").split(" "), S = c === "section" || c === "tab-page", w = b.includes("f-page-content-nav"), h = b.includes("f-page-main"), s = e.getSchemaByType("component");
|
|
1938
1944
|
s.id = `${n.id}-component`, s.componentType = "data-grid";
|
|
1939
|
-
let
|
|
1940
|
-
return
|
|
1941
|
-
class:
|
|
1945
|
+
let f = "";
|
|
1946
|
+
return f += S ? "f-struct-data-grid-in-card f-struct-is-subgrid" : "", f += w ? "f-struct-data-grid-in-nav f-struct-wrapper f-utils-fill-flex-column" : "", f += h ? "f-struct-data-grid f-struct-wrapper" : "", s.appearance = {
|
|
1947
|
+
class: f
|
|
1942
1948
|
}, s.contents = [n], s;
|
|
1943
1949
|
}
|
|
1944
|
-
function
|
|
1950
|
+
function Zo(e, n, i) {
|
|
1945
1951
|
const l = i.parentComponentInstance, c = String(l.schema.appearance.class || "").split(" "), b = c.includes("f-page-content-nav"), S = c.includes("f-page-main"), w = e.getSchemaByType("section");
|
|
1946
1952
|
w.id = `${n.id}-section`;
|
|
1947
1953
|
let h = "";
|
|
1948
1954
|
return h += b ? "f-section-in-nav " : "", h += S ? "f-section-in-managelist " : "", h += "f-section-grid", w.appearance = { class: h }, w.contents = [n], w;
|
|
1949
1955
|
}
|
|
1950
|
-
function
|
|
1956
|
+
function ei(e, n, i) {
|
|
1951
1957
|
const l = e.getSchemaByType("content-container");
|
|
1952
1958
|
return l.id = `${n.id}-layout`, l.appearance = { class: "f-grid-is-sub f-utils-flex-column" }, l.contents = [n], l;
|
|
1953
1959
|
}
|
|
1954
|
-
function
|
|
1960
|
+
function Ft(e, n, i) {
|
|
1955
1961
|
const c = i.parentComponentInstance.schema.type, b = c === "section" || c === "tab-page";
|
|
1956
1962
|
n.appearance = { class: "f-component-grid" };
|
|
1957
|
-
const w = (b ?
|
|
1958
|
-
return
|
|
1963
|
+
const w = (b ? ei : Zo)(e, n, i);
|
|
1964
|
+
return Qo(e, w, i);
|
|
1959
1965
|
}
|
|
1960
|
-
const
|
|
1961
|
-
class
|
|
1966
|
+
const ti = wt(St, It, Rt, Ft), ni = vo(), oi = Co(), Bt = Hn(Object.assign({}, St, { componentId: { type: String, default: "" } }), "columnOption", "commandOption"), ii = wt(Bt, It, Rt, Ft), li = bo();
|
|
1967
|
+
class ai extends Io {
|
|
1962
1968
|
constructor(n, i) {
|
|
1963
1969
|
super(n, i);
|
|
1964
1970
|
}
|
|
1965
1971
|
getPropertyConfig(n) {
|
|
1966
|
-
return this.getBasicPropConfig(n), this.getAppearanceProperties(n), this.propertyConfig.categories.command =
|
|
1972
|
+
return this.getBasicPropConfig(n), this.getAppearanceProperties(n), this.propertyConfig.categories.command = Ro(this).getCommandColumnProperties(n), this.propertyConfig.categories.column = Fo().getColumnOptionProperties(n), this.propertyConfig.categories.rowOption = Bo().getRowOptionProperties(n), this.propertyConfig.categories.summary = To().getSummaryProperties(n), this.propertyConfig.categories.filter = {
|
|
1967
1973
|
title: "过滤",
|
|
1968
1974
|
description: "",
|
|
1969
1975
|
properties: {
|
|
@@ -2002,7 +2008,7 @@ class ii extends wo {
|
|
|
2002
2008
|
readonly: !0
|
|
2003
2009
|
}
|
|
2004
2010
|
},
|
|
2005
|
-
setPropertyRelates(s,
|
|
2011
|
+
setPropertyRelates(s, f) {
|
|
2006
2012
|
switch (s && s.propertyID) {
|
|
2007
2013
|
case "dataSource": {
|
|
2008
2014
|
const y = c.formSchemaUtils.getViewModelById(c.viewModelId);
|
|
@@ -2019,21 +2025,21 @@ class ii extends wo {
|
|
|
2019
2025
|
}
|
|
2020
2026
|
getAppearanceProperties(n) {
|
|
2021
2027
|
const i = this;
|
|
2022
|
-
this.propertyConfig.categories.appearance =
|
|
2028
|
+
this.propertyConfig.categories.appearance = Oo(this).getTreeGrid(n, this.viewModelId, i), this.propertyConfig.categories.selection = Do().getSelection(n, i, "treeGrid"), this.propertyConfig.categories.rowNumber = Po().getRowNumber(n);
|
|
2023
2029
|
}
|
|
2024
2030
|
isSubGrid() {
|
|
2025
2031
|
const n = this.formSchemaUtils.getViewModelById(this.viewModelId);
|
|
2026
2032
|
return n && n.bindTo ? n.bindTo.trim() !== "/" : !1;
|
|
2027
2033
|
}
|
|
2028
2034
|
getEventPropConfig(n) {
|
|
2029
|
-
const i =
|
|
2035
|
+
const i = xo().initEvent(n), l = this, c = l.eventsEditorUtils.formProperties(n, l.viewModelId, i), b = l.createBaseEventProperty(c);
|
|
2030
2036
|
this.propertyConfig.categories.eventsEditor = {
|
|
2031
2037
|
title: "事件",
|
|
2032
2038
|
hideTitle: !0,
|
|
2033
2039
|
properties: b,
|
|
2034
2040
|
// 这个属性,标记当属性变更得时候触发重新更新属性
|
|
2035
2041
|
refreshPanelAfterChanged: !0,
|
|
2036
|
-
tabId:
|
|
2042
|
+
tabId: Nn,
|
|
2037
2043
|
tabName: "交互",
|
|
2038
2044
|
setPropertyRelates(S, w) {
|
|
2039
2045
|
const h = S.propertyValue;
|
|
@@ -2056,7 +2062,7 @@ class ii extends wo {
|
|
|
2056
2062
|
}), n.type.entities && n.type.entities.length && n.type.entities.map((w) => this.assembleSchemaEntityToTree(w, i + 1, n, S, b)), b;
|
|
2057
2063
|
}
|
|
2058
2064
|
}
|
|
2059
|
-
function
|
|
2065
|
+
function ri(e, n) {
|
|
2060
2066
|
const i = e.schema, l = I(!0), c = I(!0);
|
|
2061
2067
|
function b(y) {
|
|
2062
2068
|
return y && y.sourceType === "control" ? y.componentCategory === "input" : !1;
|
|
@@ -2071,9 +2077,9 @@ function li(e, n) {
|
|
|
2071
2077
|
return !0;
|
|
2072
2078
|
}
|
|
2073
2079
|
function s(y) {
|
|
2074
|
-
return new
|
|
2080
|
+
return new ai(y, n).getPropertyConfig(i);
|
|
2075
2081
|
}
|
|
2076
|
-
function
|
|
2082
|
+
function f() {
|
|
2077
2083
|
var y, V, m, j;
|
|
2078
2084
|
if (e && n) {
|
|
2079
2085
|
const M = (y = e == null ? void 0 : e.componentInstance) == null ? void 0 : y.value.belongedComponentId;
|
|
@@ -2099,40 +2105,40 @@ function li(e, n) {
|
|
|
2099
2105
|
triggerBelongedComponentToMoveWhenMoved: l,
|
|
2100
2106
|
triggerBelongedComponentToDeleteWhenDeleted: c,
|
|
2101
2107
|
getPropsConfig: s,
|
|
2102
|
-
setComponentBasicInfoMap:
|
|
2108
|
+
setComponentBasicInfoMap: f
|
|
2103
2109
|
};
|
|
2104
2110
|
}
|
|
2105
|
-
const Te = /* @__PURE__ */
|
|
2111
|
+
const Te = /* @__PURE__ */ tt({
|
|
2106
2112
|
name: "FTreeGridDesign",
|
|
2107
|
-
props:
|
|
2113
|
+
props: Bt,
|
|
2108
2114
|
emits: [],
|
|
2109
2115
|
setup(e, n) {
|
|
2110
2116
|
var be, ie;
|
|
2111
|
-
const i = I(), l = 0, c = I(((be = e.rowOption) == null ? void 0 : be.height) || 28), b = I(!1), S = I(20), w = I(e.columns), h =
|
|
2117
|
+
const i = I(), l = 0, c = I(((be = e.rowOption) == null ? void 0 : be.height) || 28), b = I(!1), S = I(20), w = I(e.columns), h = it(e), s = I(), f = I(), y = I([]), V = I(!1), m = I(((ie = e.rowOption) == null ? void 0 : ie.wrapContent) || !1), j = et("designer-host-service"), M = et("design-item-context"), P = ri(M, j), v = So(i, M, P);
|
|
2112
2118
|
v.value.designerClass = "f-utils-fill-flex-column";
|
|
2113
|
-
const x =
|
|
2119
|
+
const x = lt(e, n), z = at(e), _ = rt(e, /* @__PURE__ */ new Map(), x, z, h), U = st(e, _, h, y, n), C = T(() => _.dataView.value.length), {
|
|
2114
2120
|
containerStyleObject: $
|
|
2115
|
-
} =
|
|
2121
|
+
} = dt(e, y), X = ut(e), {
|
|
2116
2122
|
applyCommands: Z
|
|
2117
2123
|
} = X;
|
|
2118
2124
|
Z(w);
|
|
2119
|
-
const
|
|
2125
|
+
const r = _o(e), {
|
|
2120
2126
|
applyColumnSorter: se,
|
|
2121
2127
|
columnContext: F,
|
|
2122
2128
|
updateColumnRenderContext: q
|
|
2123
|
-
} =
|
|
2129
|
+
} = r, de = ct(e), N = pt(e, F), ue = ft(e, n, U, h), B = mt(e, n, h, ue, y), J = yt(e, _, c), ee = gt(e, B, J), K = ht(e, _, B, z, h, J, ee, c), D = ko(e, w, _, C, l, K), {
|
|
2124
2130
|
getVisualData: O
|
|
2125
|
-
} = D, Oe =
|
|
2131
|
+
} = D, Oe = vt(e, U), {
|
|
2126
2132
|
sidebarWidth: E
|
|
2127
2133
|
} = Oe;
|
|
2128
2134
|
y.value = O(0, C.value + l - 1);
|
|
2129
|
-
const te =
|
|
2135
|
+
const te = Ct(e, _, y, F, D, C, l, E, c, b), {
|
|
2130
2136
|
onWheel: De,
|
|
2131
2137
|
dataGridWidth: he,
|
|
2132
2138
|
viewPortHeight: ve,
|
|
2133
|
-
viewPortWidth:
|
|
2139
|
+
viewPortWidth: ce,
|
|
2134
2140
|
updateVisibleRowsOnLatestVisibleScope: Pe
|
|
2135
|
-
} = te, xe =
|
|
2141
|
+
} = te, xe = Go(e, F, s, ce, N), {
|
|
2136
2142
|
calculateColumnsSize: ne
|
|
2137
2143
|
} = xe, pe = T(() => ({
|
|
2138
2144
|
"drag-container": !0,
|
|
@@ -2145,17 +2151,17 @@ const Te = /* @__PURE__ */ et({
|
|
|
2145
2151
|
"fv-grid-wrap-content": m.value
|
|
2146
2152
|
})), {
|
|
2147
2153
|
renderGridHeader: Q
|
|
2148
|
-
} =
|
|
2154
|
+
} = wo(M, e, r, te, "tree-grid-column"), {
|
|
2149
2155
|
renderHorizontalScrollbar: fe
|
|
2150
|
-
} =
|
|
2156
|
+
} = bt(e, s, te);
|
|
2151
2157
|
function Ce() {
|
|
2152
2158
|
var L, le;
|
|
2153
2159
|
const k = Math.ceil(s.value.clientHeight / c.value);
|
|
2154
|
-
k > S.value && (S.value = k, Pe()), ve.value = ((L =
|
|
2160
|
+
k > S.value && (S.value = k, Pe()), ve.value = ((L = f.value) == null ? void 0 : L.clientHeight) || 0, he.value = ((le = s.value) == null ? void 0 : le.clientWidth) || 0, f.value && (ce.value = f.value.clientWidth), ne();
|
|
2155
2161
|
}
|
|
2156
|
-
|
|
2157
|
-
i.value.componentInstance = v, s.value && (S.value = Math.max(Math.ceil(s.value.clientHeight / c.value), S.value), y.value = O(0, C.value + l - 1),
|
|
2158
|
-
s.value && (he.value = s.value.clientWidth),
|
|
2162
|
+
nt(() => {
|
|
2163
|
+
i.value.componentInstance = v, s.value && (S.value = Math.max(Math.ceil(s.value.clientHeight / c.value), S.value), y.value = O(0, C.value + l - 1), ot(s.value, Ce), ne(), Fe(() => {
|
|
2164
|
+
s.value && (he.value = s.value.clientWidth), f.value && (ce.value = f.value.clientWidth, ve.value = f.value.clientHeight);
|
|
2159
2165
|
}));
|
|
2160
2166
|
});
|
|
2161
2167
|
function oe(k) {
|
|
@@ -2182,30 +2188,30 @@ const Te = /* @__PURE__ */ et({
|
|
|
2182
2188
|
}
|
|
2183
2189
|
});
|
|
2184
2190
|
Te.register = (e, n, i, l) => {
|
|
2185
|
-
e["tree-grid"] =
|
|
2191
|
+
e["tree-grid"] = Wo, n["tree-grid"] = ti, l["tree-grid"] = { bindingResolver: oi, selectionItemResolver: ni, updateColumnsResolver: li };
|
|
2186
2192
|
};
|
|
2187
2193
|
Te.registerDesigner = (e, n, i) => {
|
|
2188
|
-
e["tree-grid"] = Te, n["tree-grid"] =
|
|
2194
|
+
e["tree-grid"] = Te, n["tree-grid"] = ii;
|
|
2189
2195
|
};
|
|
2190
|
-
const
|
|
2196
|
+
const Gi = Ln(Te);
|
|
2191
2197
|
export {
|
|
2192
2198
|
Te as FTreeGridDesign,
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2199
|
+
oi as bindingResolver,
|
|
2200
|
+
xi as columnOptions,
|
|
2201
|
+
Gi as default,
|
|
2202
|
+
ii as designPropsResolver,
|
|
2203
|
+
_i as editOptions,
|
|
2204
|
+
Ti as filterOptions,
|
|
2205
|
+
Bi as groupOptions,
|
|
2206
|
+
Oi as headerOptions,
|
|
2207
|
+
ki as loadingOptions,
|
|
2208
|
+
Ri as paginationOptions,
|
|
2209
|
+
ti as propsResolver,
|
|
2210
|
+
Di as rowOptions,
|
|
2211
|
+
ni as selectionItemResolver,
|
|
2212
|
+
Fi as sortOptions,
|
|
2213
|
+
Pi as summaryOptions,
|
|
2214
|
+
Bt as treeGridDesignProps,
|
|
2215
|
+
Vo as treeGridProps,
|
|
2216
|
+
li as updateColumnsResolver
|
|
2211
2217
|
};
|