@farris/ui-vue 1.7.2-beta.1 → 1.7.2-beta.2

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.
Files changed (128) hide show
  1. package/components/avatar/index.esm.js +155 -148
  2. package/components/avatar/index.umd.cjs +1 -1
  3. package/components/button-edit/index.esm.js +1 -1
  4. package/components/button-edit/index.umd.cjs +1 -1
  5. package/components/calendar/index.esm.js +226 -224
  6. package/components/calendar/index.umd.cjs +3 -3
  7. package/components/collection-property-editor/index.esm.js +225 -223
  8. package/components/collection-property-editor/index.umd.cjs +2 -2
  9. package/components/combo-list/index.esm.js +76 -71
  10. package/components/combo-list/index.umd.cjs +1 -1
  11. package/components/comment/index.esm.js +169 -167
  12. package/components/comment/index.umd.cjs +6 -6
  13. package/components/component/index.esm.js +3691 -3043
  14. package/components/component/index.umd.cjs +2 -2
  15. package/components/condition/index.esm.js +2015 -1352
  16. package/components/condition/index.umd.cjs +2 -2
  17. package/components/data-grid/index.esm.js +407 -430
  18. package/components/data-grid/index.umd.cjs +1 -1
  19. package/components/data-view/index.esm.js +3082 -3196
  20. package/components/data-view/index.umd.cjs +1 -1
  21. package/components/designer-canvas/index.esm.js +3364 -2713
  22. package/components/designer-canvas/index.umd.cjs +1 -1
  23. package/components/drawer/index.esm.js +66 -64
  24. package/components/drawer/index.umd.cjs +2 -2
  25. package/components/dynamic-form/index.esm.js +1176 -524
  26. package/components/dynamic-form/index.umd.cjs +1 -1
  27. package/components/dynamic-resolver/index.esm.js +182 -180
  28. package/components/dynamic-resolver/index.umd.cjs +2 -2
  29. package/components/dynamic-view/index.esm.js +531 -455
  30. package/components/dynamic-view/index.umd.cjs +1 -1
  31. package/components/events-editor/index.esm.js +2352 -1700
  32. package/components/events-editor/index.umd.cjs +3 -3
  33. package/components/expression-editor/index.esm.js +8 -3
  34. package/components/expression-editor/index.umd.cjs +2 -2
  35. package/components/filter-bar/index.esm.js +422 -413
  36. package/components/filter-bar/index.umd.cjs +2 -2
  37. package/components/filter-condition-editor/index.esm.js +8 -3
  38. package/components/filter-condition-editor/index.umd.cjs +1 -1
  39. package/components/image/index.esm.js +363 -354
  40. package/components/image/index.umd.cjs +2 -2
  41. package/components/language-textbox/index.esm.js +189 -187
  42. package/components/language-textbox/index.umd.cjs +2 -2
  43. package/components/list-view/index.esm.js +388 -389
  44. package/components/list-view/index.umd.cjs +5 -5
  45. package/components/mapping-editor/index.esm.js +1465 -1488
  46. package/components/mapping-editor/index.umd.cjs +1 -1
  47. package/components/number-range/index.esm.js +180 -173
  48. package/components/number-range/index.umd.cjs +1 -1
  49. package/components/order/index.esm.js +815 -811
  50. package/components/order/index.umd.cjs +5 -5
  51. package/components/property-panel/index.esm.js +429 -420
  52. package/components/property-panel/index.umd.cjs +3 -3
  53. package/components/query-solution/index.esm.js +4746 -4085
  54. package/components/query-solution/index.umd.cjs +7 -7
  55. package/components/schema-selector/index.esm.js +1401 -1402
  56. package/components/schema-selector/index.umd.cjs +5 -5
  57. package/components/section/index.esm.js +102 -100
  58. package/components/section/index.umd.cjs +2 -2
  59. package/components/sort-condition-editor/index.esm.js +8 -3
  60. package/components/sort-condition-editor/index.umd.cjs +1 -1
  61. package/components/transfer/index.esm.js +537 -538
  62. package/components/transfer/index.umd.cjs +5 -5
  63. package/components/tree-grid/index.esm.js +280 -283
  64. package/components/tree-grid/index.umd.cjs +1 -1
  65. package/components/tree-view/index.esm.js +200 -202
  66. package/components/tree-view/index.umd.cjs +1 -1
  67. package/components/uploader/index.esm.js +533 -519
  68. package/components/uploader/index.umd.cjs +2 -2
  69. package/designer/data-grid/index.esm.js +3806 -3905
  70. package/designer/data-grid/index.umd.cjs +9 -9
  71. package/designer/drawer/index.esm.js +188 -186
  72. package/designer/drawer/index.umd.cjs +2 -2
  73. package/designer/dynamic-form/index.esm.js +1562 -1073
  74. package/designer/dynamic-form/index.umd.cjs +2 -2
  75. package/designer/farris-designer.all.esm.js +9793 -8613
  76. package/designer/farris-designer.all.umd.cjs +8 -8
  77. package/designer/list-view/index.esm.js +564 -564
  78. package/designer/list-view/index.umd.cjs +6 -6
  79. package/designer/radio-group/index.esm.js +236 -229
  80. package/designer/radio-group/index.umd.cjs +1 -1
  81. package/designer/response-layout-editor/index.esm.js +178 -171
  82. package/designer/response-layout-editor/index.umd.cjs +1 -1
  83. package/designer/tabs/index.esm.js +3154 -2508
  84. package/designer/tabs/index.umd.cjs +2 -2
  85. package/designer/time-picker/index.esm.js +193 -186
  86. package/designer/time-picker/index.umd.cjs +1 -1
  87. package/designer/tree-grid/index.esm.js +444 -447
  88. package/designer/tree-grid/index.umd.cjs +1 -1
  89. package/farris.all.esm.js +60126 -59649
  90. package/farris.all.umd.cjs +30 -30
  91. package/index.css +1 -1
  92. package/package.json +1 -1
  93. package/types/components.d.ts +1 -1
  94. package/types/condition/src/composition/condition-value/dropdown-value.d.ts +4 -0
  95. package/types/data-grid/index.d.ts +2 -5
  96. package/types/data-grid/src/data-grid.component.d.ts +1 -2
  97. package/types/data-view/components/row/hierarchy-row.component.d.ts +2 -2
  98. package/types/data-view/composition/appearance/use-cell-position.d.ts +1 -1
  99. package/types/data-view/composition/types.d.ts +0 -4
  100. package/types/data-view/composition/visualization/use-virtual-scroll.d.ts +2 -2
  101. package/types/data-view/composition/visualization/use-visual-data-bound.d.ts +2 -3
  102. package/types/data-view/composition/visualization/use-visual-data-row.d.ts +1 -2
  103. package/types/designer-canvas/src/composition/dg-control.d.ts +24 -0
  104. package/types/dynamic-form/designer.d.ts +0 -1
  105. package/types/dynamic-form/index.d.ts +4 -3
  106. package/types/dynamic-form/src/designer/dynamic-form.design.component.d.ts +8 -0
  107. package/types/dynamic-form/src/designer/response-form.design.props.d.ts +14 -0
  108. package/types/dynamic-form/src/designer/use-dynamic-form-rules.d.ts +2 -0
  109. package/types/dynamic-form/src/dynamic-form.component.d.ts +8 -0
  110. package/types/dynamic-form/src/response-form.props.d.ts +13 -1
  111. package/types/dynamic-form/src/schema/response-form-schema-resolver.d.ts +1 -0
  112. package/types/dynamic-form/src/types.d.ts +1 -0
  113. package/types/dynamic-resolver/src/types.d.ts +1 -0
  114. package/types/dynamic-view/index.d.ts +43 -3
  115. package/types/dynamic-view/src/components/maps.d.ts +6 -6
  116. package/types/dynamic-view/src/composition/index.d.ts +5 -0
  117. package/types/dynamic-view/src/composition/use-utils.d.ts +12 -0
  118. package/types/dynamic-view/src/dynamic-view.component.d.ts +6 -6
  119. package/types/language-textbox/index.d.ts +3 -3
  120. package/types/language-textbox/src/components/language-contents.component.d.ts +1 -1
  121. package/types/language-textbox/src/language-textbox.component.d.ts +1 -1
  122. package/types/lookup/src/components/favorite/lookup-favorite.component.d.ts +1 -1
  123. package/types/lookup/src/components/popup-container.component.d.ts +3 -3
  124. package/types/property-panel/src/property-panel.component.d.ts +3 -3
  125. package/types/tree-grid/src/components/data/data-area.component.d.ts +2 -2
  126. package/types/tree-grid/src/tree-grid.props.d.ts +0 -1
  127. package/types/tree-view/src/components/data/tree-area.component.d.ts +1 -1
  128. package/types/tree-view/src/tree-view.props.d.ts +0 -1
@@ -1,16 +1,16 @@
1
- import { getCustomClass as Xt, excludeProperties as Zt, withInstall as eo } from "../../components/common/index.esm.js";
2
- import { createVNode as j, defineComponent as ke, ref as C, computed as M, onMounted as Me, nextTick as Ve, onUnmounted as to, watch as me, createTextVNode as oo, inject as Te } from "vue";
3
- import { useResizeObserver as He } from "@vueuse/core";
1
+ import { getCustomClass as Qt, excludeProperties as Xt, withInstall as Zt } from "../../components/common/index.esm.js";
2
+ import { createVNode as P, defineComponent as Te, ref as C, computed as T, onMounted as ke, nextTick as Me, onUnmounted as eo, watch as pe, createTextVNode as to, inject as je } from "vue";
3
+ import { useResizeObserver as Ve } from "@vueuse/core";
4
4
  import { isUndefined as L } from "lodash-es";
5
- import { LocaleService as no } from "../../components/locale/index.esm.js";
6
- import { getHierarchyRow as io, useIdentify as xe, useGroupData as ao, useFilter as Ne, useHierarchy as Ae, useLoading as lo, useDataView as Ee, useSelection as ze, useSelectHierarchyItem as ro, usePagination as so, useDataViewContainerStyle as We, useCommandColumn as _e, useSettingColumn as co, useColumn as uo, useSort as $e, useGroupColumn as Le, useRow as Ue, useEdit as qe, useVisualDataBound as Ye, useVisualDataCell as Je, useVisualDataRow as Ke, useVisualData as po, useCellPosition as fo, useSidebar as Qe, useVirtualScroll as Xe, useFitColumn as mo, useFilterHistory as yo, useColumnFilter as go, useDragColumn as Co, getColumnHeader as vo, getSidebar as ho, getDisableMask as bo, getHorizontalScrollbar as Ze, getVerticalScrollbar as wo, getEmpty as So, getPagination as Io, getSummary as Ro } from "../../components/data-view/index.esm.js";
7
- import { resolveAppearance as Bo, createPropsResolver as et, createTreeGridSelectionItemResolver as Do, createTreeGridBindingResolver as Oo, createDataViewUpdateColumnsResolver as Fo } from "../../components/dynamic-resolver/index.esm.js";
8
- import { treeGridProps as tt } from "../../components/tree-grid/index.esm.js";
9
- import { getColumnHeader as Po } from "../data-grid/index.esm.js";
10
- import { DgControl as Be, useDesignerComponent as Go } from "../../components/designer-canvas/index.esm.js";
11
- import { BaseControlProperty as jo } from "../../components/property-panel/index.esm.js";
12
- import { useCommandOption as To, useColumnOption as ko, useRowOption as Mo, useSummary as Vo, useAppearance as Ho, useRowNumber as xo, usePagination as No, useDataGridEvent as Ao, useDesignerColumn as Eo, useDesignerVisualData as zo, useDesignerFitColumn as Wo } from "../data-view/index.esm.js";
13
- const Rn = {
5
+ import { LocaleService as oo } from "../../components/locale/index.esm.js";
6
+ import { getHierarchyRow as no, useIdentify as He, useGroupData as io, useFilter as xe, useHierarchy as Ne, useLoading as ao, useDataView as Ae, useSelection as Ee, useSelectHierarchyItem as lo, usePagination as ro, useDataViewContainerStyle as ze, useCommandColumn as We, useSettingColumn as so, useColumn as co, useSort as _e, useGroupColumn as $e, useRow as Le, useEdit as Ue, useVisualDataBound as qe, useVisualDataCell as Ye, useVisualDataRow as Je, useVisualData as uo, useCellPosition as po, useSidebar as Ke, useVirtualScroll as Qe, useFitColumn as fo, useFilterHistory as mo, useColumnFilter as yo, useDragColumn as go, getColumnHeader as Co, getSidebar as vo, getDisableMask as ho, getHorizontalScrollbar as Xe, getVerticalScrollbar as bo, getEmpty as wo, getPagination as So, getSummary as Io } from "../../components/data-view/index.esm.js";
7
+ import { resolveAppearance as Ro, createPropsResolver as Ze, createTreeGridSelectionItemResolver as Bo, createTreeGridBindingResolver as Do, createDataViewUpdateColumnsResolver as Oo } from "../../components/dynamic-resolver/index.esm.js";
8
+ import { treeGridProps as et } from "../../components/tree-grid/index.esm.js";
9
+ import { getColumnHeader as Fo } from "../data-grid/index.esm.js";
10
+ import { DgControl as Re, useDesignerComponent as Po } from "../../components/designer-canvas/index.esm.js";
11
+ import { BaseControlProperty as Go } from "../../components/property-panel/index.esm.js";
12
+ import { useCommandOption as jo, useColumnOption as To, useRowOption as ko, useSummary as Mo, useAppearance as Vo, useRowNumber as Ho, usePagination as xo, useDataGridEvent as No, useDesignerColumn as Ao, useDesignerVisualData as Eo, useDesignerFitColumn as zo } from "../data-view/index.esm.js";
13
+ const In = {
14
14
  /** 启用分页 */
15
15
  enable: { type: Boolean, default: !1 },
16
16
  /** 当前页码 */
@@ -31,7 +31,7 @@ const Rn = {
31
31
  sizeLimits: { type: Array, default: [10, 20, 30, 50, 100] },
32
32
  /** 总记录数 */
33
33
  total: { type: Number, default: 0 }
34
- }, Bn = {
34
+ }, Rn = {
35
35
  /** 启用排序 */
36
36
  enable: { type: Boolean, default: !1 },
37
37
  /** 排序字段集合 */
@@ -40,7 +40,7 @@ const Rn = {
40
40
  mode: { type: String, default: "client" },
41
41
  /** 多列排序 */
42
42
  multiSort: { type: Boolean, default: !1 }
43
- }, Dn = {
43
+ }, Bn = {
44
44
  /** 自定义分组合计内容 */
45
45
  customGroupRow: { type: Function, default: () => {
46
46
  } },
@@ -64,7 +64,7 @@ const Rn = {
64
64
  showSummary: { type: Boolean, default: !1 },
65
65
  /** 显示合计行位置; */
66
66
  summaryPosition: { type: String, default: "separate" }
67
- }, On = {
67
+ }, Dn = {
68
68
  /** 启用筛选 */
69
69
  enable: { type: Boolean, default: !1 },
70
70
  /** DataGrid筛选风格 */
@@ -73,10 +73,10 @@ const Rn = {
73
73
  mode: { type: String, default: "server" },
74
74
  /** 显示过滤条件工具条 */
75
75
  showSummary: { type: Boolean, default: !0 }
76
- }, Fn = {
76
+ }, On = {
77
77
  /** 允许折行显示列标题 */
78
78
  wrapHeadings: { type: Boolean, default: !1 }
79
- }, Pn = {
79
+ }, Fn = {
80
80
  /** 自定义行样式 */
81
81
  customRowStyle: { type: Function, default: () => {
82
82
  } },
@@ -91,7 +91,7 @@ const Rn = {
91
91
  showHovering: { type: Boolean, default: !0 },
92
92
  /** 禁止数据折行 */
93
93
  wrapContent: { type: Boolean, default: !1 }
94
- }, Gn = {
94
+ }, Pn = {
95
95
  /** 显示合计信息 */
96
96
  enable: { type: Boolean, default: !1 },
97
97
  /** 合计行自定义样式,对启用合计行模板无效 */
@@ -103,7 +103,7 @@ const Rn = {
103
103
  mode: { type: String, default: "client" },
104
104
  /** 合计行显示位置, top: 顶部 bottom: 底部, both: 顶部与底部同时显示 */
105
105
  position: { type: String, default: "bottom" }
106
- }, jn = {
106
+ }, Gn = {
107
107
  /** 自动列宽。设为true后,所有列将填满表格并不会出现横向滚动条。 */
108
108
  fitColumns: { type: Boolean, default: !1 },
109
109
  /** 自动适配列宽度模式 */
@@ -115,17 +115,17 @@ const Rn = {
115
115
  resizeColumn: { type: Boolean, default: !0 },
116
116
  /** 双击表头列自适应内容宽度 */
117
117
  resizeColumnOnDoubleClick: { type: Boolean, default: !0 }
118
- }, Tn = {
118
+ }, jn = {
119
119
  /** 编辑时选中文本 */
120
120
  selectOnEditing: { type: Boolean, default: !1 },
121
121
  /** 编辑模式; row:整行编辑,cell: 单元格编辑 */
122
122
  editMode: { type: String, default: "cell" }
123
- }, kn = {
123
+ }, Tn = {
124
124
  /** show loading */
125
125
  show: { type: Boolean, default: !1 },
126
126
  /** message on display when loading */
127
- message: { type: String, default: `${no.getLocaleValue("datagrid.loadingMessage")}...` }
128
- }, _o = {
127
+ message: { type: String, default: `${oo.getLocaleValue("datagrid.loadingMessage")}...` }
128
+ }, Wo = {
129
129
  /** 自定义样式 */
130
130
  customClass: { type: String, default: "" },
131
131
  /** 排序配置 */
@@ -274,367 +274,364 @@ const Rn = {
274
274
  }
275
275
  },
276
276
  /** 自动高度 **/
277
- autoHeight: { type: Boolean, default: !1 },
278
- /** 是否可见, 为了适配低代码表单,该属性不应该属于表格组件的行为 */
279
- /** 复选框位置 */
280
- checkboxPosition: { type: String, default: "after-expand" }
277
+ autoHeight: { type: Boolean, default: !1 }
281
278
  };
282
- function $o(e, t, d, a, r, y, c, s, u, f, i, m, D, P, p, B, O, V, H) {
279
+ function _o(e, t, f, l, u, s, d, p, r, a, g, m, O, c, B, E, w) {
283
280
  const {
284
- calculateCellPositionInRow: T
285
- } = y, {
286
- columnContext: b,
287
- hasLeftFixedColumn: W,
288
- hasRightFixedColumn: g
281
+ calculateCellPositionInRow: H
282
+ } = s, {
283
+ columnContext: S,
284
+ hasLeftFixedColumn: D,
285
+ hasRightFixedColumn: z
286
+ } = d, {
287
+ gridDataStyle: k,
288
+ leftFixedGridDataStyle: i,
289
+ rightFixedGridDataStyle: W
289
290
  } = c, {
290
- gridDataStyle: l,
291
- leftFixedGridDataStyle: U,
292
- rightFixedGridDataStyle: v
293
- } = P, {
294
- renderDataRow: A
295
- } = io(e, t, b, O, s, u, f, i, m, D, P, p, B, V, H), le = [A];
296
- function F(w, Z) {
297
- const ee = T(w);
298
- return O.value.filter((E) => E.visible !== !1).map((E, te) => le[E.type](E, ee, Z, te));
291
+ renderDataRow: y
292
+ } = no(e, t, S, w, p, r, a, g, m, O, c, B, E), x = [y];
293
+ function U(h, X) {
294
+ const Z = H(h);
295
+ return w.value.filter((N) => N.visible !== !1).map((N, ee) => x[N.type](N, Z, X, ee));
299
296
  }
300
- function re() {
301
- return j("div", {
302
- ref: a,
297
+ function G() {
298
+ return P("div", {
299
+ ref: l,
303
300
  class: "fv-grid-content-left-fixed"
304
- }, [j("div", {
301
+ }, [P("div", {
305
302
  class: "fv-grid-data",
306
- style: U.value
307
- }, [F(b.value.leftColumns.filter((w) => w.visible), "left")])]);
303
+ style: i.value
304
+ }, [U(S.value.leftColumns.filter((h) => h.visible), "left")])]);
308
305
  }
309
- function x() {
310
- return j("div", {
311
- ref: d,
306
+ function ae() {
307
+ return P("div", {
308
+ ref: f,
312
309
  class: "fv-grid-content-primary"
313
- }, [j("div", {
310
+ }, [P("div", {
314
311
  class: "fv-grid-data",
315
- style: l.value
316
- }, [F(b.value.primaryColumns.filter((w) => w.visible), "primary")])]);
312
+ style: k.value
313
+ }, [U(S.value.primaryColumns.filter((h) => h.visible), "primary")])]);
317
314
  }
318
- function Q() {
319
- return j("div", {
320
- ref: r,
315
+ function M() {
316
+ return P("div", {
317
+ ref: u,
321
318
  class: "fv-grid-content-right-fixed"
322
- }, [j("div", {
319
+ }, [P("div", {
323
320
  class: "fv-grid-data",
324
- style: v.value
325
- }, [F(b.value.rightColumns.filter((w) => w.visible), "right")])]);
321
+ style: W.value
322
+ }, [U(S.value.rightColumns.filter((h) => h.visible), "right")])]);
326
323
  }
327
- function X() {
328
- const w = [];
329
- return W.value && w.push(re()), w.push(x()), g.value && w.push(Q()), w;
324
+ function Q() {
325
+ const h = [];
326
+ return D.value && h.push(G()), h.push(ae()), z.value && h.push(M()), h;
330
327
  }
331
328
  return {
332
- renderDataArea: X
329
+ renderDataArea: Q
333
330
  };
334
331
  }
335
- const Lo = /* @__PURE__ */ ke({
332
+ const $o = /* @__PURE__ */ Te({
336
333
  name: "FTreeGrid",
337
- props: _o,
334
+ props: Wo,
338
335
  emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode", "doubleClickRow", "unSelectItem", "selectItem", "filterChanged", "sortChanged", "selectionUpdate"],
339
336
  setup(e, t) {
340
- var Pe, Ge;
341
- const d = C(!1), a = 0, r = C(((Pe = e.rowOption) == null ? void 0 : Pe.height) || 28), y = C(20), c = C(e.columns), s = xe(e), {
342
- idField: u
343
- } = s, f = C(), i = C(), m = C(), D = C(), P = C(), p = C([]), B = C(!1), O = C(((Ge = e.rowOption) == null ? void 0 : Ge.wrapContent) || !1), V = ao(e, s), H = Ne(e, t), T = Ae(e), {
344
- collapseField: b
345
- } = T, {
346
- showLoading: W,
347
- renderLoading: g
348
- } = lo(e, f), l = Ee(e, /* @__PURE__ */ new Map(), H, T, s), {
349
- dataView: U
350
- } = l, v = ze(e, l, s, p, t), {
351
- showSelection: A,
352
- selectedValues: le
353
- } = v, F = ro(e, p, l, s, v, t), re = M(() => e.disabled), x = M(() => e.virtualized ? Math.min(l.dataView.value.length, y.value) : l.dataView.value.length), Q = so(e, l), {
354
- shouldRenderPagination: X
337
+ var Fe, Pe;
338
+ const l = ((Fe = e.rowOption) == null ? void 0 : Fe.height) || 28, u = C(20), s = C(e.columns), d = He(e), {
339
+ idField: p
340
+ } = d, r = C(), a = C(), g = C(), m = C(), O = C(), c = C([]), B = C(!1), E = C(((Pe = e.rowOption) == null ? void 0 : Pe.wrapContent) || !1), w = io(e, d), H = xe(e, t), S = Ne(e), {
341
+ collapseField: D
342
+ } = S, {
343
+ showLoading: z,
344
+ renderLoading: k
345
+ } = ao(e, r), i = Ae(e, /* @__PURE__ */ new Map(), H, S, d), {
346
+ dataView: W
347
+ } = i, y = Ee(e, i, d, c, t), {
348
+ showSelection: x,
349
+ selectedValues: U
350
+ } = y, G = lo(e, c, i, d, y, t), ae = T(() => e.disabled), M = T(() => e.virtualized ? Math.min(i.dataView.value.length, u.value) : i.dataView.value.length), Q = ro(e, i), {
351
+ shouldRenderPagination: h
355
352
  } = Q, {
356
- containerStyleObject: w
357
- } = We(e), Z = _e(e), {
358
- applyCommands: ee
353
+ containerStyleObject: X
354
+ } = ze(e), Z = We(e), {
355
+ applyCommands: N
359
356
  } = Z;
360
- ee(c);
357
+ N(s);
361
358
  const {
362
- applyColumnSetting: E,
363
- removeColumnSetting: te
364
- } = co(e);
365
- e.showSetting && E(c);
366
- const _ = uo(e, t), se = $e(e), {
367
- applyColumnSorter: ye,
359
+ applyColumnSetting: ee,
360
+ removeColumnSetting: fe
361
+ } = so(e);
362
+ e.showSetting && ee(s);
363
+ const _ = co(e, t), le = _e(e), {
364
+ applyColumnSorter: me,
368
365
  columnContext: $,
369
- updateColumnRenderContext: ve
366
+ updateColumnRenderContext: Ce
370
367
  } = _;
371
- ye(l, se);
372
- const oe = Le(e, $), z = Ue(e, t, v, s), N = qe(e, t, s, z, p), de = Ye(e, l, r), he = Je(e, N, de), ne = Ke(e, l, N, T, s, de, he, r), ce = po(e, c, l, x, a, ne), {
373
- getVisualData: ie
374
- } = ce, be = fo(e, $, r, d), ue = Qe(e, v), {
375
- sidebarWidth: we
376
- } = ue, I = Xe(e, l, p, $, ce, x, a, we, r, d), {
377
- onWheel: ge,
378
- dataGridWidth: pe,
379
- viewPortHeight: k,
368
+ me(i, le);
369
+ const te = $e(e, $), A = Le(e, t, y, d), V = Ue(e, t, d, A, c), re = qe(e), ve = Ye(e, V, re), oe = Je(e, i, V, S, d, re, ve), se = uo(e, s, i, M, 0, oe), {
370
+ getVisualData: ne
371
+ } = se, he = po(e, $), de = Ke(e, y), {
372
+ sidebarWidth: be
373
+ } = de, I = Qe(e, i, c, $, se, M, 0, be), {
374
+ onWheel: ye,
375
+ dataGridWidth: ce,
376
+ viewPortHeight: j,
380
377
  viewPortWidth: q,
381
- resetScroll: ae,
382
- updateVisibleRowsOnLatestVisibleScope: lt
383
- } = I, De = mo(e, $, i, q, oe), {
384
- calculateColumnsSize: fe
385
- } = De, Oe = yo(), rt = go(i, P, l, Oe, I), st = Co(e, t, _, l, oe, V, I), dt = M(() => {
378
+ resetScroll: ie,
379
+ updateVisibleRowsOnLatestVisibleScope: at
380
+ } = I, Be = fo(e, $, a, q, te), {
381
+ calculateColumnsSize: ue
382
+ } = Be, De = mo(), lt = yo(a, O, i, De, I), rt = go(e, t, _, i, te, w, I), st = T(() => {
386
383
  const o = {
387
384
  "fv-grid": !0,
388
385
  "fv-grid-bordered": e.showBorder,
389
386
  "fv-grid-horizontal-bordered": e.showHorizontalLines,
390
387
  "fv-datagrid-strip": e.showStripe
391
388
  };
392
- return Xt(o, e.customClass);
393
- }), ct = M(() => ({
389
+ return Qt(o, e.customClass);
390
+ }), dt = T(() => ({
394
391
  "fv-grid-content": !0,
395
392
  "fv-grid-content-hover": B.value,
396
- "fv-grid-wrap-content": O.value
393
+ "fv-grid-wrap-content": E.value
397
394
  })), {
398
- renderDataArea: ut
399
- } = $o(e, t, m, D, P, be, _, l, N, T, z, v, F, I, ce, de, p, r, d), {
400
- renderGridHeader: pt,
401
- renderGridColumnResizeOverlay: ft,
402
- shouldShowHeader: mt
403
- } = vo(e, t, i, D, P, _, l, st, rt, H, Oe, De, oe, v, ue, se, I, q, p), {
404
- renderDataGridSidebar: yt
405
- } = ho(e, z, v, ue, I), {
406
- renderDisableMask: gt
407
- } = bo(), {
408
- renderHorizontalScrollbar: Ct
409
- } = Ze(e, i, I), {
410
- renderVerticalScrollbar: vt
411
- } = wo(e, i, I);
412
- function ht() {
413
- var o, n, h;
414
- if (i.value && i.value.clientHeight > 0 && ((o = i.value) == null ? void 0 : o.clientWidth) > 0) {
415
- const R = Math.ceil(i.value.clientHeight / r.value);
416
- R > y.value && (y.value = R, lt()), k.value = ((n = m.value) == null ? void 0 : n.clientHeight) || 0, pe.value = ((h = i.value) == null ? void 0 : h.clientWidth) || 0;
395
+ renderDataArea: ct
396
+ } = _o(e, t, g, m, O, he, _, i, V, S, A, y, G, I, se, re, c), {
397
+ renderGridHeader: ut,
398
+ renderGridColumnResizeOverlay: pt,
399
+ shouldShowHeader: ft
400
+ } = Co(e, t, a, m, O, _, i, rt, lt, H, De, Be, te, y, de, le, I, q, c), {
401
+ renderDataGridSidebar: mt
402
+ } = vo(e, A, y, de, I), {
403
+ renderDisableMask: yt
404
+ } = ho(), {
405
+ renderHorizontalScrollbar: gt
406
+ } = Xe(e, a, I), {
407
+ renderVerticalScrollbar: Ct
408
+ } = bo(e, a, I);
409
+ function vt() {
410
+ var o, n, v;
411
+ if (a.value && a.value.clientHeight > 0 && ((o = a.value) == null ? void 0 : o.clientWidth) > 0) {
412
+ const R = Math.ceil(a.value.clientHeight / l);
413
+ R > u.value && (u.value = R, at()), j.value = ((n = g.value) == null ? void 0 : n.clientHeight) || 0, ce.value = ((v = a.value) == null ? void 0 : v.clientWidth) || 0;
417
414
  }
418
- i.value && (i.value.clientHeight > 0 || i.value.clientWidth > 0) && fe();
415
+ a.value && (a.value.clientHeight > 0 || a.value.clientWidth > 0) && ue();
419
416
  }
420
- Me(() => {
421
- i.value && (y.value = Math.max(Math.ceil(i.value.clientHeight / r.value), y.value), p.value = ie(0, x.value + a - 1), He(i.value, ht), fe(), Ve(() => {
422
- i.value && (pe.value = i.value.clientWidth), m.value && (q.value = m.value.clientWidth, k.value = m.value.clientHeight);
423
- })), W.value && g();
424
- }), to(() => {
425
- }), me(q, () => {
426
- i.value && fe();
417
+ ke(() => {
418
+ a.value && (u.value = Math.max(Math.ceil(a.value.clientHeight / l), u.value), c.value = ne(0, M.value + 0 - 1), Ve(a.value, vt), ue(), Me(() => {
419
+ a.value && (ce.value = a.value.clientWidth), g.value && (q.value = g.value.clientWidth, j.value = g.value.clientHeight);
420
+ })), z.value && k();
421
+ }), eo(() => {
422
+ }), pe(q, () => {
423
+ a.value && ue();
427
424
  });
428
- function bt(o) {
429
- l.collapseTo(o), l.reOrderVisibleIndex(), ae();
425
+ function ht(o) {
426
+ i.collapseTo(o), i.reOrderVisibleIndex(), ie();
430
427
  }
431
- function wt(o) {
432
- l.expandTo(o), l.reOrderVisibleIndex(), ae();
428
+ function bt(o) {
429
+ i.expandTo(o), i.reOrderVisibleIndex(), ie();
433
430
  }
434
- function Se() {
435
- const o = v.getSelectionRow();
431
+ function we() {
432
+ const o = y.getSelectionRow();
436
433
  return o ? o.dataIndex - 1 : -1;
437
434
  }
438
- function St(o) {
439
- const n = o !== void 0 ? o : Se(), h = l.insertNewDataItem(n === -1 ? 0 : n);
440
- return p.value = ie(0, x.value + a - 1), h;
435
+ function wt(o) {
436
+ const n = o !== void 0 ? o : we(), v = i.insertNewDataItem(n === -1 ? 0 : n);
437
+ return c.value = ne(0, M.value + 0 - 1), v;
438
+ }
439
+ function St() {
440
+ const o = we();
441
+ i.insertNewChildDataItem(o), c.value = ne(0, M.value + 0 - 1);
441
442
  }
442
- function It() {
443
- const o = Se();
444
- l.insertNewChildDataItem(o), p.value = ie(0, x.value + a - 1);
443
+ function It(o, n) {
444
+ const v = c.value.find((F) => F.raw[p.value] === n), R = v ? v.dataIndex - 1 : -1;
445
+ i.insertNewChildDataItems(o, R);
445
446
  }
446
- function Rt(o, n) {
447
- const h = p.value.find((G) => G.raw[u.value] === n), R = h ? h.dataIndex - 1 : -1;
448
- l.insertNewChildDataItems(o, R);
447
+ function Rt() {
448
+ const o = we(), n = G.getNextSelectableHierarchyItemId(o);
449
+ i.removeHierarchyDataItem(o), c.value = ne(0, M.value + 0 - 1), n && G.selectItemById(n);
449
450
  }
450
- function Bt() {
451
- const o = Se(), n = F.getNextSelectableHierarchyItemId(o);
452
- l.removeHierarchyDataItem(o), p.value = ie(0, x.value + a - 1), n && F.selectItemById(n);
451
+ function Bt(o) {
452
+ V.onEditingRow(o);
453
453
  }
454
454
  function Dt(o) {
455
- N.onEditingRow(o);
455
+ V.acceptEditingRow(o);
456
456
  }
457
457
  function Ot(o) {
458
- N.acceptEditingRow(o);
459
- }
460
- function Ft(o) {
461
- N.cancelEditingRow(o);
458
+ V.cancelEditingRow(o);
462
459
  }
463
- function Ie(o) {
464
- o && (c.value = o, ee(c), ve(c.value), ye(l, se), fe());
460
+ function Se(o) {
461
+ o && (s.value = o, N(s), Ce(s.value), me(i, le), ue());
465
462
  }
466
- me(() => e.columns, (o) => {
467
- Ie(o);
463
+ pe(() => e.columns, (o) => {
464
+ Se(o);
468
465
  });
469
- function Pt(o, n) {
470
- o && (l.load(o), l.reOrderVisibleIndex(), n != null && n.keepScrollPosition ? I.scrollTo(I.offsetY.value) : ae());
466
+ function Ft(o, n) {
467
+ o && (i.load(o), i.reOrderVisibleIndex(), n != null && n.keepScrollPosition ? I.scrollTo(I.offsetY.value) : ie());
471
468
  }
472
- function Re(o) {
473
- z.activeRowById(o);
469
+ function Ie(o) {
470
+ A.activeRowById(o);
474
471
  }
475
- function Gt(o, n = {
472
+ function Pt(o, n = {
476
473
  isCurrent: !0
477
474
  }) {
478
- n != null && n.isCurrent && Re(o), F.selectItemById(o);
475
+ n != null && n.isCurrent && Ie(o), G.selectItemById(o);
479
476
  }
480
- function jt(o) {
481
- const n = p.value.find((h) => h.raw[s.idField.value] === o);
482
- n && z.clickRowItem(n);
477
+ function Gt(o) {
478
+ const n = c.value.find((v) => v.raw[d.idField.value] === o);
479
+ n && A.clickRowItem(n);
483
480
  }
484
- function Tt(o) {
485
- F.selectItemByIds(o);
481
+ function jt(o) {
482
+ G.selectItemByIds(o);
486
483
  }
487
- function kt() {
488
- return v.getSelectedItems();
484
+ function Tt() {
485
+ return y.getSelectedItems();
489
486
  }
490
- function Fe() {
491
- v.clearSelection();
487
+ function Oe() {
488
+ y.clearSelection();
492
489
  }
493
- function Mt() {
494
- v.emptyCurrentRowId();
490
+ function kt() {
491
+ y.emptyCurrentRowId();
495
492
  }
496
- const Vt = M(() => !p.value || !p.value.length), {
497
- renderEmpty: Ht
498
- } = So(e, t);
499
- function xt() {
500
- return v.getSelectionRow();
493
+ const Mt = T(() => !c.value || !c.value.length), {
494
+ renderEmpty: Vt
495
+ } = wo(e, t);
496
+ function Ht() {
497
+ return y.getSelectionRow();
501
498
  }
502
- function Nt(o, n = {
499
+ function xt(o, n = {
503
500
  clearCurrent: !0
504
501
  }) {
505
- n != null && n.clearCurrent && Re(""), F.unSelectItemByIds(o);
502
+ n != null && n.clearCurrent && Ie(""), G.unSelectItemByIds(o);
506
503
  }
507
- function At() {
508
- return v.currentSelectedDataId.value;
504
+ function Nt() {
505
+ return y.currentSelectedDataId.value;
509
506
  }
510
- function Et(o, n, h) {
511
- const R = U.value.find((G) => G[u.value] === o);
507
+ function At(o, n, v) {
508
+ const R = W.value.find((F) => F[p.value] === o);
512
509
  if (R) {
513
- if (Object.keys(R).forEach((S) => {
514
- Object.prototype.hasOwnProperty.call(n, S) && (R[S] = n[S]);
515
- }), h) {
510
+ if (Object.keys(R).forEach((b) => {
511
+ Object.prototype.hasOwnProperty.call(n, b) && (R[b] = n[b]);
512
+ }), v) {
516
513
  const {
517
- collapseField: S,
514
+ collapseField: b,
518
515
  disabledField: Y,
519
516
  checkedField: J,
520
517
  visibleField: K
521
- } = h;
522
- S && !L(n[S]) && (R.__fv_collapse__ = n[S]), J && !L(n[J]) && (R.__fv_checked__ = n[J]), Y && !L(n[Y]) && (R.__fv_disabled__ = n[Y]), K && !L(n[K]) && (R.__fv_visible__ = n[K]);
518
+ } = v;
519
+ b && !L(n[b]) && (R.__fv_collapse__ = n[b]), J && !L(n[J]) && (R.__fv_checked__ = n[J]), Y && !L(n[Y]) && (R.__fv_disabled__ = n[Y]), K && !L(n[K]) && (R.__fv_visible__ = n[K]);
523
520
  }
524
- const G = p.value.find((S) => S.raw[u.value] === o), je = p.value.findIndex((S) => S.raw[u.value] === o);
525
- if (G) {
526
- if (G.raw = R, Object.keys(G.data).forEach((S) => {
527
- G.data[S].updateData(R);
528
- }), h) {
521
+ const F = c.value.find((b) => b.raw[p.value] === o), Ge = c.value.findIndex((b) => b.raw[p.value] === o);
522
+ if (F) {
523
+ if (F.raw = R, Object.keys(F.data).forEach((b) => {
524
+ F.data[b].updateData(R);
525
+ }), v) {
529
526
  const {
530
- collapseField: S,
527
+ collapseField: b,
531
528
  disabledField: Y,
532
529
  checkedField: J,
533
530
  visibleField: K
534
- } = h;
535
- S && !L(n[S]) && (G.collapse = n[S]), J && !L(n[J]) && (G.checked = n[J]), Y && !L(n[Y]) && (G.disabled = n[Y]), K && !L(n[K]) && (G.visible = n[K]);
531
+ } = v;
532
+ b && !L(n[b]) && (F.collapse = n[b]), J && !L(n[J]) && (F.checked = n[J]), Y && !L(n[Y]) && (F.disabled = n[Y]), K && !L(n[K]) && (F.visible = n[K]);
536
533
  }
537
- p.value = [...p.value.slice(0, je), G, ...p.value.slice(je + 1)], l.updateSummary();
534
+ c.value = [...c.value.slice(0, Ge), F, ...c.value.slice(Ge + 1)], i.updateSummary();
538
535
  }
539
536
  }
540
537
  }
541
- function zt(o) {
542
- return Object.prototype.hasOwnProperty.call(o, "raw") ? l.hasRealChildren(o.raw) : l.hasRealChildren(o);
538
+ function Et(o) {
539
+ return Object.prototype.hasOwnProperty.call(o, "raw") ? i.hasRealChildren(o.raw) : i.hasRealChildren(o);
543
540
  }
544
- function Wt(o) {
545
- const n = l.dataView.value.find((h) => h[u.value] === o);
546
- return n ? n[b.value] : "";
541
+ function zt(o) {
542
+ const n = i.dataView.value.find((v) => v[p.value] === o);
543
+ return n ? n[D.value] : "";
547
544
  }
548
- function _t() {
549
- return b.value;
545
+ function Wt() {
546
+ return D.value;
550
547
  }
551
- me(() => e.showSetting, (o, n) => {
552
- o !== n && (o ? E(c) : te(c), Ie(c.value));
548
+ pe(() => e.showSetting, (o, n) => {
549
+ o !== n && (o ? ee(s) : fe(s), Se(s.value));
553
550
  });
554
- function $t(o) {
555
- return p.value.filter((n) => o.includes(n.raw[e.idField]));
551
+ function _t(o) {
552
+ return c.value.filter((n) => o.includes(n.raw[e.idField]));
556
553
  }
557
- function Lt(o) {
558
- const n = s.idField.value, h = p.value.find((R) => R.raw[n] === o);
559
- h && z.changeRow(h);
554
+ function $t(o) {
555
+ const n = d.idField.value, v = c.value.find((R) => R.raw[n] === o);
556
+ v && A.changeRow(v);
560
557
  }
561
- function Ut() {
562
- v.keepSelectingOnPaging.value || Fe(), l.updateVisibleDataSummary(p.value);
558
+ function Lt() {
559
+ y.keepSelectingOnPaging.value || Oe(), i.updateVisibleDataSummary(c.value);
563
560
  }
564
561
  t.expose({
565
- activeRowById: Re,
566
- addNewDataItem: St,
567
- addNewChildDataItem: It,
568
- addChildrenToNode: Rt,
569
- collapseTo: bt,
570
- expandTo: wt,
571
- removeDataItem: Bt,
572
- editDataItem: Dt,
573
- acceptDataItem: Ot,
574
- cancelDataItem: Ft,
575
- updateColumns: Ie,
576
- updateDataSource: Pt,
577
- selectItemById: Gt,
578
- selectItemByIds: Tt,
579
- getSelectedItems: kt,
580
- clearSelection: Fe,
581
- getSelectionRow: xt,
582
- clickRowItemById: jt,
583
- unSelectItemByIds: Nt,
584
- getCurrentRowId: At,
585
- reassignRowData: Et,
586
- hasChildren: zt,
587
- getCollapseField: _t,
588
- getCollapseStatusById: Wt,
589
- getVisibleDataByIds: $t,
590
- selectRowById: Lt,
591
- updateDerivedData: Ut,
592
- emptyCurrentRowId: Mt,
593
- calculateColumnsSize: fe
562
+ activeRowById: Ie,
563
+ addNewDataItem: wt,
564
+ addNewChildDataItem: St,
565
+ addChildrenToNode: It,
566
+ collapseTo: ht,
567
+ expandTo: bt,
568
+ removeDataItem: Rt,
569
+ editDataItem: Bt,
570
+ acceptDataItem: Dt,
571
+ cancelDataItem: Ot,
572
+ updateColumns: Se,
573
+ updateDataSource: Ft,
574
+ selectItemById: Pt,
575
+ selectItemByIds: jt,
576
+ getSelectedItems: Tt,
577
+ clearSelection: Oe,
578
+ getSelectionRow: Ht,
579
+ clickRowItemById: Gt,
580
+ unSelectItemByIds: xt,
581
+ getCurrentRowId: Nt,
582
+ reassignRowData: At,
583
+ hasChildren: Et,
584
+ getCollapseField: Wt,
585
+ getCollapseStatusById: zt,
586
+ getVisibleDataByIds: _t,
587
+ selectRowById: $t,
588
+ updateDerivedData: Lt,
589
+ emptyCurrentRowId: kt,
590
+ calculateColumnsSize: ue
594
591
  });
595
- const qt = M(() => {
592
+ const Ut = T(() => {
596
593
  const o = {};
597
594
  return I.shouldShowHorizontalScrollbar.value && (o.paddingBottom = "10px"), I.shouldShowVirticalScrollbar.value && (o.paddingRight = "10px"), o;
598
- }), Yt = M(() => ({
599
- ...w.value,
595
+ }), qt = T(() => ({
596
+ ...X.value,
600
597
  borderRadius: "5px"
601
598
  })), {
602
- renderDataGridPagination: un
603
- } = Io(e, t, l, I, Q, v), Jt = M(() => ({
599
+ renderDataGridPagination: cn
600
+ } = So(e, t, i, I, Q, y), Yt = T(() => ({
604
601
  "d-flex": !0,
605
- "justify-content-between": X.value && A.value,
606
- "justify-content-end": X.value && !A.value,
602
+ "justify-content-between": h.value && x.value,
603
+ "justify-content-end": h.value && !x.value,
607
604
  "position-relative": !0
608
- })), Kt = M(() => ({
605
+ })), Jt = T(() => ({
609
606
  "d-flex": !0,
610
607
  "align-items-center": !0
611
608
  })), {
612
- renderDataGridSummary: Qt
613
- } = Ro(e, l, _);
614
- return () => j("div", {
615
- ref: f,
609
+ renderDataGridSummary: Kt
610
+ } = Io(e, i, _);
611
+ return () => P("div", {
612
+ ref: r,
613
+ class: st.value,
614
+ style: qt.value,
615
+ onWheel: ye
616
+ }, [a.value && ft.value && ut(), P("div", {
617
+ ref: a,
616
618
  class: dt.value,
617
- style: Yt.value,
618
- onWheel: ge
619
- }, [i.value && mt.value && pt(), j("div", {
620
- ref: i,
621
- class: ct.value,
622
619
  onMouseover: () => B.value = !0,
623
620
  onMouseleave: () => B.value = !1,
624
621
  onTouchstart: (o) => {
625
- o.stopPropagation(), B.value = !0, I.onTouchstartScrollThumb(o, i);
622
+ o.stopPropagation(), B.value = !0, I.onTouchstartScrollThumb(o, a);
626
623
  },
627
624
  onTouchend: (o) => {
628
625
  B.value = !1;
629
626
  },
630
- style: qt.value
631
- }, [i.value && yt(p), i.value && ut(), i.value && Vt.value && Ht(), i.value && Ct(), i.value && vt()]), i.value && Qt(), A.value && j("div", {
627
+ style: Ut.value
628
+ }, [a.value && mt(c), a.value && ct(), a.value && Mt.value && Vt(), a.value && gt(), a.value && Ct()]), a.value && Kt(), x.value && P("div", {
629
+ class: Yt.value
630
+ }, [x.value && P("div", {
632
631
  class: Jt.value
633
- }, [A.value && j("div", {
634
- class: Kt.value
635
- }, [j("div", null, ["已选:" + le.value.length, oo(" 条")])])]), ft(), re.value && gt()]);
632
+ }, [P("div", null, ["已选:" + U.value.length, to(" 条")])])]), pt(), ae.value && yt()]);
636
633
  }
637
- }), Uo = "https://json-schema.org/draft/2020-12/schema", qo = "https://farris-design.gitee.io/tree-grid.schema.json", Yo = "tree-grid", Jo = "A Farris Data Grid Component", Ko = "object", Qo = {
634
+ }), Lo = "https://json-schema.org/draft/2020-12/schema", Uo = "https://farris-design.gitee.io/tree-grid.schema.json", qo = "tree-grid", Yo = "A Farris Data Grid Component", Jo = "object", Ko = {
638
635
  id: {
639
636
  description: "The unique identifier for a Input Group",
640
637
  type: "string"
@@ -1446,63 +1443,63 @@ const Lo = /* @__PURE__ */ ke({
1446
1443
  type: "string",
1447
1444
  default: ""
1448
1445
  }
1449
- }, Xo = [
1446
+ }, Qo = [
1450
1447
  "id",
1451
1448
  "type",
1452
1449
  "columns"
1453
- ], Zo = {
1450
+ ], Xo = {
1454
1451
  onSelectionChange: "行切换事件",
1455
1452
  onClickRow: "行点击事件",
1456
1453
  onDoubleClickRow: "行双击事件",
1457
1454
  onFilterChanged: "过滤事件",
1458
1455
  onClickEditCommand: "操作列编辑事件",
1459
1456
  onClickDeleteCommand: "操作列删除事件"
1460
- }, ot = {
1461
- $schema: Uo,
1462
- $id: qo,
1463
- title: Yo,
1464
- description: Jo,
1465
- type: Ko,
1466
- properties: Qo,
1467
- required: Xo,
1468
- events: Zo
1469
- }, nt = /* @__PURE__ */ new Map([
1470
- ["appearance", Bo],
1457
+ }, tt = {
1458
+ $schema: Lo,
1459
+ $id: Uo,
1460
+ title: qo,
1461
+ description: Yo,
1462
+ type: Jo,
1463
+ properties: Ko,
1464
+ required: Qo,
1465
+ events: Xo
1466
+ }, ot = /* @__PURE__ */ new Map([
1467
+ ["appearance", Ro],
1471
1468
  ["column", "columnOption"],
1472
1469
  ["command", "commandOption"]
1473
1470
  ]);
1474
- function en(e, t, d) {
1471
+ function Zo(e, t, f) {
1475
1472
  var m;
1476
- const a = d.parentComponentInstance, r = a.schema.type, y = String(((m = a.schema.appearance) == null ? void 0 : m.class) || "").split(" "), c = r === "section" || r === "tab-page", s = y.includes("f-page-content-nav"), u = y.includes("f-page-main"), f = e.getSchemaByType("component");
1477
- f.id = `${t.id}-component`, f.componentType = "data-grid";
1478
- let i = "";
1479
- return i += c ? "f-struct-data-grid-in-card f-struct-is-subgrid" : "", i += s ? "f-struct-data-grid-in-nav f-struct-wrapper f-utils-fill-flex-column" : "", i += u ? "f-struct-data-grid f-struct-wrapper" : "", f.appearance = {
1480
- class: i
1481
- }, f.contents = [t], f;
1473
+ const l = f.parentComponentInstance, u = l.schema.type, s = String(((m = l.schema.appearance) == null ? void 0 : m.class) || "").split(" "), d = u === "section" || u === "tab-page", p = s.includes("f-page-content-nav"), r = s.includes("f-page-main"), a = e.getSchemaByType("component");
1474
+ a.id = `${t.id}-component`, a.componentType = "data-grid";
1475
+ let g = "";
1476
+ return g += d ? "f-struct-data-grid-in-card f-struct-is-subgrid" : "", g += p ? "f-struct-data-grid-in-nav f-struct-wrapper f-utils-fill-flex-column" : "", g += r ? "f-struct-data-grid f-struct-wrapper" : "", a.appearance = {
1477
+ class: g
1478
+ }, a.contents = [t], a;
1482
1479
  }
1483
- function tn(e, t, d) {
1484
- const a = d.parentComponentInstance, r = String(a.schema.appearance.class || "").split(" "), y = r.includes("f-page-content-nav"), c = r.includes("f-page-main"), s = e.getSchemaByType("section");
1485
- s.id = `${t.id}-section`;
1486
- let u = "";
1487
- return u += y ? "f-section-in-nav " : "", u += c ? "f-section-in-managelist " : "", u += "f-section-grid", s.appearance = { class: u }, s.contents = [t], s;
1480
+ function en(e, t, f) {
1481
+ const l = f.parentComponentInstance, u = String(l.schema.appearance.class || "").split(" "), s = u.includes("f-page-content-nav"), d = u.includes("f-page-main"), p = e.getSchemaByType("section");
1482
+ p.id = `${t.id}-section`;
1483
+ let r = "";
1484
+ return r += s ? "f-section-in-nav " : "", r += d ? "f-section-in-managelist " : "", r += "f-section-grid", p.appearance = { class: r }, p.contents = [t], p;
1488
1485
  }
1489
- function on(e, t, d) {
1490
- const a = e.getSchemaByType("content-container");
1491
- return a.id = `${t.id}-layout`, a.appearance = { class: "f-grid-is-sub f-utils-flex-column" }, a.contents = [t], a;
1486
+ function tn(e, t, f) {
1487
+ const l = e.getSchemaByType("content-container");
1488
+ return l.id = `${t.id}-layout`, l.appearance = { class: "f-grid-is-sub f-utils-flex-column" }, l.contents = [t], l;
1492
1489
  }
1493
- function it(e, t, d) {
1494
- const r = d.parentComponentInstance.schema.type, y = r === "section" || r === "tab-page";
1490
+ function nt(e, t, f) {
1491
+ const u = f.parentComponentInstance.schema.type, s = u === "section" || u === "tab-page";
1495
1492
  t.appearance = { class: "f-component-grid" };
1496
- const s = (y ? on : tn)(e, t, d);
1497
- return en(e, s, d);
1493
+ const p = (s ? tn : en)(e, t, f);
1494
+ return Zo(e, p, f);
1498
1495
  }
1499
- const nn = et(tt, ot, nt, it), an = Do(), ln = Oo(), at = Zt(Object.assign({}, tt, { componentId: { type: String, default: "" } }), "columnOption", "commandOption"), rn = et(at, ot, nt, it), sn = Fo();
1500
- class dn extends jo {
1501
- constructor(t, d) {
1502
- super(t, d);
1496
+ const on = Ze(et, tt, ot, nt), nn = Bo(), an = Do(), it = Xt(Object.assign({}, et, { componentId: { type: String, default: "" } }), "columnOption", "commandOption"), ln = Ze(it, tt, ot, nt), rn = Oo();
1497
+ class sn extends Go {
1498
+ constructor(t, f) {
1499
+ super(t, f);
1503
1500
  }
1504
1501
  getPropertyConfig(t) {
1505
- return this.getBasicPropConfig(t), this.getAppearanceProperties(t), this.propertyConfig.categories.command = To(this).getCommandColumnProperties(t), this.propertyConfig.categories.column = ko().getColumnOptionProperties(t), this.propertyConfig.categories.rowOption = Mo().getRowOptionProperties(t), this.propertyConfig.categories.summary = Vo().getSummaryProperties(t), this.propertyConfig.categories.filter = {
1502
+ return this.getBasicPropConfig(t), this.getAppearanceProperties(t), this.propertyConfig.categories.command = jo(this).getCommandColumnProperties(t), this.propertyConfig.categories.column = To().getColumnOptionProperties(t), this.propertyConfig.categories.rowOption = ko().getRowOptionProperties(t), this.propertyConfig.categories.summary = Mo().getSummaryProperties(t), this.propertyConfig.categories.filter = {
1506
1503
  title: "过滤",
1507
1504
  description: "",
1508
1505
  properties: {
@@ -1521,13 +1518,13 @@ class dn extends jo {
1521
1518
  }, this.getEventPropConfig(t), this.propertyConfig;
1522
1519
  }
1523
1520
  getBasicPropConfig(t) {
1524
- var c, s, u;
1525
- const d = (u = (s = (c = this.formSchemaUtils.getFormSchema()) == null ? void 0 : c.module) == null ? void 0 : s.entity[0]) == null ? void 0 : u.entities[0], a = this.assembleSchemaEntityToTree(d, 0), r = this, y = super.getBasicPropConfig(t);
1521
+ var d, p, r;
1522
+ const f = (r = (p = (d = this.formSchemaUtils.getFormSchema()) == null ? void 0 : d.module) == null ? void 0 : p.entity[0]) == null ? void 0 : r.entities[0], l = this.assembleSchemaEntityToTree(f, 0), u = this, s = super.getBasicPropConfig(t);
1526
1523
  this.propertyConfig.categories.basic = {
1527
1524
  description: "Basic Information",
1528
1525
  title: "基本信息",
1529
1526
  properties: {
1530
- ...y.properties,
1527
+ ...s.properties,
1531
1528
  dataSource: {
1532
1529
  description: "绑定数据源",
1533
1530
  title: "绑定数据源",
@@ -1535,21 +1532,21 @@ class dn extends jo {
1535
1532
  type: "combo-tree",
1536
1533
  textField: "name",
1537
1534
  valueField: "label",
1538
- data: a,
1535
+ data: l,
1539
1536
  editable: !1
1540
1537
  },
1541
1538
  readonly: !0
1542
1539
  }
1543
1540
  },
1544
- setPropertyRelates(f, i) {
1545
- switch (f && f.propertyID) {
1541
+ setPropertyRelates(a, g) {
1542
+ switch (a && a.propertyID) {
1546
1543
  case "dataSource": {
1547
- const m = r.formSchemaUtils.getViewModelById(r.viewModelId);
1544
+ const m = u.formSchemaUtils.getViewModelById(u.viewModelId);
1548
1545
  if (m) {
1549
- const D = a.find((P) => P.label === f.propertyValue);
1550
- m.bindTo = D.bindTo;
1546
+ const O = l.find((c) => c.label === a.propertyValue);
1547
+ m.bindTo = O.bindTo;
1551
1548
  }
1552
- r.designViewModelUtils.assembleDesignViewModel();
1549
+ u.designViewModelUtils.assembleDesignViewModel();
1553
1550
  break;
1554
1551
  }
1555
1552
  }
@@ -1557,191 +1554,191 @@ class dn extends jo {
1557
1554
  };
1558
1555
  }
1559
1556
  getAppearanceProperties(t) {
1560
- this.propertyConfig.categories.appearance = Ho().getDataGrid(t, this.viewModelId), this.propertyConfig.categories.rowNumber = xo().getRowNumber(t), this.propertyConfig.categories.pagination = No().getPagination(t, !0);
1557
+ this.propertyConfig.categories.appearance = Vo().getDataGrid(t, this.viewModelId), this.propertyConfig.categories.rowNumber = Ho().getRowNumber(t), this.propertyConfig.categories.pagination = xo().getPagination(t, !0);
1561
1558
  }
1562
1559
  getEventPropConfig(t) {
1563
- const d = Ao().initEvent(t), a = this, r = a.eventsEditorUtils.formProperties(t, a.viewModelId, d), y = a.createBaseEventProperty(r);
1560
+ const f = No().initEvent(t), l = this, u = l.eventsEditorUtils.formProperties(t, l.viewModelId, f), s = l.createBaseEventProperty(u);
1564
1561
  this.propertyConfig.categories.eventsEditor = {
1565
1562
  title: "事件",
1566
1563
  hideTitle: !0,
1567
- properties: y,
1564
+ properties: s,
1568
1565
  // 这个属性,标记当属性变更得时候触发重新更新属性
1569
1566
  refreshPanelAfterChanged: !0,
1570
1567
  tabId: "commands",
1571
1568
  tabName: "交互",
1572
- setPropertyRelates(c, s) {
1573
- const u = c.propertyValue;
1574
- delete t[a.viewModelId], u && (u.setPropertyRelates = this.setPropertyRelates, a.eventsEditorUtils.saveRelatedParameters(t, a.viewModelId, u.events, u)), t.remoteSort = !!t.columnSorted, t.command && (t.command.onClickEditCommand = t.onClickEditCommand, t.command.onClickDeleteCommand = t.onClickDeleteCommand, t.command.onHandleAction = t.onHandleAction);
1569
+ setPropertyRelates(d, p) {
1570
+ const r = d.propertyValue;
1571
+ delete t[l.viewModelId], r && (r.setPropertyRelates = this.setPropertyRelates, l.eventsEditorUtils.saveRelatedParameters(t, l.viewModelId, r.events, r)), t.remoteSort = !!t.columnSorted, t.command && (t.command.onClickEditCommand = t.onClickEditCommand, t.command.onClickDeleteCommand = t.onClickDeleteCommand, t.command.onHandleAction = t.onHandleAction);
1575
1572
  }
1576
1573
  };
1577
1574
  }
1578
1575
  /**
1579
1576
  * 将schema实体表组装成树
1580
1577
  */
1581
- assembleSchemaEntityToTree(t, d, a, r = "", y = []) {
1582
- const c = r ? `${r}/${t.label}` : "/";
1583
- return y.push({
1578
+ assembleSchemaEntityToTree(t, f, l, u = "", s = []) {
1579
+ const d = u ? `${u}/${t.label}` : "/";
1580
+ return s.push({
1584
1581
  id: t.id,
1585
1582
  name: t.name,
1586
1583
  label: t.label,
1587
- layer: d,
1588
- parent: a && a.id,
1589
- bindTo: c.replace("//", "/")
1590
- }), t.type.entities && t.type.entities.length && t.type.entities.map((s) => this.assembleSchemaEntityToTree(s, d + 1, t, c, y)), y;
1584
+ layer: f,
1585
+ parent: l && l.id,
1586
+ bindTo: d.replace("//", "/")
1587
+ }), t.type.entities && t.type.entities.length && t.type.entities.map((p) => this.assembleSchemaEntityToTree(p, f + 1, t, d, s)), s;
1591
1588
  }
1592
1589
  }
1593
- function cn(e, t) {
1594
- const d = e.schema, a = C(!0), r = C(!0);
1595
- function y(m) {
1590
+ function dn(e, t) {
1591
+ const f = e.schema, l = C(!0), u = C(!0);
1592
+ function s(m) {
1596
1593
  return m && m.sourceType === "control" ? m.componentCategory === "input" : !1;
1597
1594
  }
1598
- function c() {
1595
+ function d() {
1599
1596
  return !1;
1600
1597
  }
1601
- function s() {
1598
+ function p() {
1602
1599
  return !1;
1603
1600
  }
1604
- function u() {
1601
+ function r() {
1605
1602
  return !0;
1606
1603
  }
1607
- function f(m) {
1608
- return new dn(m, t).getPropertyConfig(d);
1604
+ function a(m) {
1605
+ return new sn(m, t).getPropertyConfig(f);
1609
1606
  }
1610
- function i() {
1611
- var m, D, P, p;
1607
+ function g() {
1608
+ var m, O, c, B;
1612
1609
  if (e && t) {
1613
- const B = (m = e == null ? void 0 : e.componentInstance) == null ? void 0 : m.value.belongedComponentId;
1614
- let O = "", V = "";
1615
- const { formSchemaUtils: H } = t;
1616
- if (B) {
1617
- const b = H.getRootViewModelId(), W = H.getComponentByViewModelId(b), g = H.selectNode(W, (l) => l.contents && l.contents.find((U) => U.component === B));
1618
- (g == null ? void 0 : g.type) === ((D = Be["tab-page"]) == null ? void 0 : D.type) && ((P = g == null ? void 0 : g.contents) != null && P.length) && (O = g.title || ""), (g == null ? void 0 : g.type) === ((p = Be.section) == null ? void 0 : p.type) && (g == null ? void 0 : g.showHeader) !== !1 && (O = g.mainTitle || ""), O = O ? `${O} > ` : "", V = O ? g.id : "";
1610
+ const E = (m = e == null ? void 0 : e.componentInstance) == null ? void 0 : m.value.belongedComponentId;
1611
+ let w = "", H = "";
1612
+ const { formSchemaUtils: S } = t;
1613
+ if (E) {
1614
+ const z = S.getRootViewModelId(), k = S.getComponentByViewModelId(z), i = S.selectNode(k, (W) => W.contents && W.contents.find((y) => y.component === E));
1615
+ (i == null ? void 0 : i.type) === ((O = Re["tab-page"]) == null ? void 0 : O.type) && ((c = i == null ? void 0 : i.contents) != null && c.length) && (w = i.title || ""), (i == null ? void 0 : i.type) === ((B = Re.section) == null ? void 0 : B.type) && (i == null ? void 0 : i.showHeader) !== !1 && (w = i.mainTitle || ""), w = w ? `${w} > ` : "", H = w ? i.id : "";
1619
1616
  }
1620
- const T = Be["tree-grid"].name;
1617
+ const D = Re["tree-grid"].name;
1621
1618
  t == null || t.formSchemaUtils.getControlBasicInfoMap().set(e.schema.id, {
1622
- componentTitle: T,
1623
- parentPathName: `${O}${T}`,
1624
- reliedComponentId: V
1619
+ componentTitle: D,
1620
+ parentPathName: `${w}${D}`,
1621
+ reliedComponentId: H
1625
1622
  });
1626
1623
  }
1627
1624
  }
1628
1625
  return {
1629
- canAccepts: y,
1630
- checkCanDeleteComponent: c,
1631
- checkCanMoveComponent: s,
1632
- hideNestedPaddingInDesginerView: u,
1633
- triggerBelongedComponentToMoveWhenMoved: a,
1634
- triggerBelongedComponentToDeleteWhenDeleted: r,
1635
- getPropsConfig: f,
1636
- setComponentBasicInfoMap: i
1626
+ canAccepts: s,
1627
+ checkCanDeleteComponent: d,
1628
+ checkCanMoveComponent: p,
1629
+ hideNestedPaddingInDesginerView: r,
1630
+ triggerBelongedComponentToMoveWhenMoved: l,
1631
+ triggerBelongedComponentToDeleteWhenDeleted: u,
1632
+ getPropsConfig: a,
1633
+ setComponentBasicInfoMap: g
1637
1634
  };
1638
1635
  }
1639
- const Ce = /* @__PURE__ */ ke({
1636
+ const ge = /* @__PURE__ */ Te({
1640
1637
  name: "FTreeGridDesign",
1641
- props: at,
1638
+ props: it,
1642
1639
  emits: [],
1643
1640
  setup(e, t) {
1644
- var ge, pe;
1645
- const d = C(), a = 0, r = C(((ge = e.rowOption) == null ? void 0 : ge.height) || 28), y = C(!1), c = C(20), s = C(e.columns), u = xe(e), f = C(), i = C(), m = C([]), D = C(!1), P = C(((pe = e.rowOption) == null ? void 0 : pe.wrapContent) || !1), p = Te("designer-host-service"), B = Te("design-item-context"), O = cn(B, p), V = Go(d, B, O);
1646
- V.value.designerClass = "f-utils-fill-flex-column";
1647
- const H = Ne(e, t), T = Ae(e), b = Ee(e, /* @__PURE__ */ new Map(), H, T, u), W = ze(e, b, u, m, t), g = M(() => b.dataView.value.length), {
1648
- containerStyleObject: l
1649
- } = We(e), U = _e(e), {
1650
- applyCommands: v
1651
- } = U;
1652
- v(s);
1653
- const A = Eo(e), {
1654
- applyColumnSorter: le,
1655
- columnContext: F,
1656
- updateColumnRenderContext: re
1657
- } = A, x = $e(e), Q = Le(e, F), X = Ue(e, t, W, u), w = qe(e, t, u, X, m), Z = Ye(e, b, r), ee = Je(e, w, Z), E = Ke(e, b, w, T, u, Z, ee, r), te = zo(e, s, b, g, a, E), {
1641
+ var ye, ce;
1642
+ const f = C(), l = 0, u = ((ye = e.rowOption) == null ? void 0 : ye.height) || 28, s = C(20), d = C(e.columns), p = He(e), r = C(), a = C(), g = C([]), m = C(!1), O = C(((ce = e.rowOption) == null ? void 0 : ce.wrapContent) || !1), c = je("designer-host-service"), B = je("design-item-context"), E = dn(B, c), w = Po(f, B, E);
1643
+ w.value.designerClass = "f-utils-fill-flex-column";
1644
+ const H = xe(e, t), S = Ne(e), D = Ae(e, /* @__PURE__ */ new Map(), H, S, p), z = Ee(e, D, p, g, t), k = T(() => D.dataView.value.length), {
1645
+ containerStyleObject: i
1646
+ } = ze(e), W = We(e), {
1647
+ applyCommands: y
1648
+ } = W;
1649
+ y(d);
1650
+ const x = Ao(e), {
1651
+ applyColumnSorter: U,
1652
+ columnContext: G,
1653
+ updateColumnRenderContext: ae
1654
+ } = x, M = _e(e), Q = $e(e, G), h = Le(e, t, z, p), X = Ue(e, t, p, h, g), Z = qe(e), N = Ye(e, X, Z), ee = Je(e, D, X, S, p, Z, N), fe = Eo(e, d, D, k, l, ee), {
1658
1655
  getVisualData: _
1659
- } = te, se = Qe(e, W), {
1660
- sidebarWidth: ye
1661
- } = se;
1662
- m.value = _(0, g.value + a - 1);
1663
- const $ = Xe(e, b, m, F, te, g, a, ye, r, y), {
1664
- onWheel: ve,
1665
- dataGridWidth: oe,
1666
- viewPortHeight: z,
1667
- viewPortWidth: N,
1668
- updateVisibleRowsOnLatestVisibleScope: de
1669
- } = $, he = Wo(e, F, f, N, Q), {
1670
- calculateColumnsSize: ne
1671
- } = he, ce = M(() => ({
1656
+ } = fe, le = Ke(e, z), {
1657
+ sidebarWidth: me
1658
+ } = le;
1659
+ g.value = _(0, k.value + l - 1);
1660
+ const $ = Qe(e, D, g, G, fe, k, l, me), {
1661
+ onWheel: Ce,
1662
+ dataGridWidth: te,
1663
+ viewPortHeight: A,
1664
+ viewPortWidth: V,
1665
+ updateVisibleRowsOnLatestVisibleScope: re
1666
+ } = $, ve = zo(e, G, r, V, Q), {
1667
+ calculateColumnsSize: oe
1668
+ } = ve, se = T(() => ({
1672
1669
  "drag-container": !0,
1673
1670
  "fv-grid": !0,
1674
1671
  "fv-grid-bordered": e.showBorder,
1675
1672
  "fv-datagrid-strip": e.showStripe
1676
- })), ie = M(() => ({
1673
+ })), ne = T(() => ({
1677
1674
  "fv-grid-content": !0,
1678
- "fv-grid-content-hover": D.value,
1679
- "fv-grid-wrap-content": P.value
1675
+ "fv-grid-content-hover": m.value,
1676
+ "fv-grid-wrap-content": O.value
1680
1677
  })), {
1681
- renderGridHeader: be
1682
- } = Po(B, e, A, $, "tree-grid-column"), {
1683
- renderHorizontalScrollbar: ue
1684
- } = Ze(e, f, $);
1685
- function we() {
1686
- var q, ae;
1687
- const k = Math.ceil(f.value.clientHeight / r.value);
1688
- k > c.value && (c.value = k, de()), z.value = ((q = i.value) == null ? void 0 : q.clientHeight) || 0, oe.value = ((ae = f.value) == null ? void 0 : ae.clientWidth) || 0, ne();
1678
+ renderGridHeader: he
1679
+ } = Fo(B, e, x, $, "tree-grid-column"), {
1680
+ renderHorizontalScrollbar: de
1681
+ } = Xe(e, r, $);
1682
+ function be() {
1683
+ var q, ie;
1684
+ const j = Math.ceil(r.value.clientHeight / u);
1685
+ j > s.value && (s.value = j, re()), A.value = ((q = a.value) == null ? void 0 : q.clientHeight) || 0, te.value = ((ie = r.value) == null ? void 0 : ie.clientWidth) || 0, oe();
1689
1686
  }
1690
- Me(() => {
1691
- d.value.componentInstance = V, f.value && (c.value = Math.max(Math.ceil(f.value.clientHeight / r.value), c.value), m.value = _(0, g.value + a - 1), He(f.value, we), ne(), Ve(() => {
1692
- f.value && (oe.value = f.value.clientWidth), i.value && (N.value = i.value.clientWidth, z.value = i.value.clientHeight);
1687
+ ke(() => {
1688
+ f.value.componentInstance = w, r.value && (s.value = Math.max(Math.ceil(r.value.clientHeight / u), s.value), g.value = _(0, k.value + l - 1), Ve(r.value, be), oe(), Me(() => {
1689
+ r.value && (te.value = r.value.clientWidth), a.value && (V.value = a.value.clientWidth, A.value = a.value.clientHeight);
1693
1690
  }));
1694
1691
  });
1695
- function I(k) {
1696
- k && (s.value = k, v(s), re(s.value), le(b, x), ne());
1692
+ function I(j) {
1693
+ j && (d.value = j, y(d), ae(d.value), U(D, M), oe());
1697
1694
  }
1698
- return me(() => e.columns, (k) => {
1699
- I(k);
1700
- }), me(N, () => {
1701
- f.value && ne();
1702
- }), t.expose(V.value), () => j("div", {
1703
- ref: d,
1704
- class: ce.value,
1705
- style: l.value,
1706
- onWheel: ve,
1707
- dragref: `${B.schema.id}-container`
1708
- }, [f.value && be(), j("div", {
1695
+ return pe(() => e.columns, (j) => {
1696
+ I(j);
1697
+ }), pe(V, () => {
1698
+ r.value && oe();
1699
+ }), t.expose(w.value), () => P("div", {
1709
1700
  ref: f,
1710
- class: ie.value,
1701
+ class: se.value,
1702
+ style: i.value,
1703
+ onWheel: Ce,
1704
+ dragref: `${B.schema.id}-container`
1705
+ }, [r.value && he(), P("div", {
1706
+ ref: r,
1707
+ class: ne.value,
1711
1708
  onMouseover: () => {
1712
- D.value = !0;
1709
+ m.value = !0;
1713
1710
  },
1714
1711
  onMouseleave: () => {
1715
- D.value = !1;
1712
+ m.value = !1;
1716
1713
  }
1717
- }, [ue()])]);
1714
+ }, [de()])]);
1718
1715
  }
1719
1716
  });
1720
- Ce.register = (e, t, d, a) => {
1721
- e["tree-grid"] = Lo, t["tree-grid"] = nn, a["tree-grid"] = { bindingResolver: ln, selectionItemResolver: an, updateColumnsResolver: sn };
1717
+ ge.register = (e, t, f, l) => {
1718
+ e["tree-grid"] = $o, t["tree-grid"] = on, l["tree-grid"] = { bindingResolver: an, selectionItemResolver: nn, updateColumnsResolver: rn };
1722
1719
  };
1723
- Ce.registerDesigner = (e, t, d) => {
1724
- e["tree-grid"] = Ce, t["tree-grid"] = rn;
1720
+ ge.registerDesigner = (e, t, f) => {
1721
+ e["tree-grid"] = ge, t["tree-grid"] = ln;
1725
1722
  };
1726
- const Mn = eo(Ce);
1723
+ const kn = Zt(ge);
1727
1724
  export {
1728
- Ce as FTreeGridDesign,
1729
- ln as bindingResolver,
1730
- jn as columnOptions,
1731
- Mn as default,
1732
- rn as designPropsResolver,
1733
- Tn as editOptions,
1734
- On as filterOptions,
1735
- Dn as groupOptions,
1736
- Fn as headerOptions,
1737
- kn as loadingOptions,
1738
- Rn as paginationOptions,
1739
- nn as propsResolver,
1740
- Pn as rowOptions,
1741
- an as selectionItemResolver,
1742
- Bn as sortOptions,
1743
- Gn as summaryOptions,
1744
- at as treeGridDesignProps,
1745
- _o as treeGridProps,
1746
- sn as updateColumnsResolver
1725
+ ge as FTreeGridDesign,
1726
+ an as bindingResolver,
1727
+ Gn as columnOptions,
1728
+ kn as default,
1729
+ ln as designPropsResolver,
1730
+ jn as editOptions,
1731
+ Dn as filterOptions,
1732
+ Bn as groupOptions,
1733
+ On as headerOptions,
1734
+ Tn as loadingOptions,
1735
+ In as paginationOptions,
1736
+ on as propsResolver,
1737
+ Fn as rowOptions,
1738
+ nn as selectionItemResolver,
1739
+ Rn as sortOptions,
1740
+ Pn as summaryOptions,
1741
+ it as treeGridDesignProps,
1742
+ Wo as treeGridProps,
1743
+ rn as updateColumnsResolver
1747
1744
  };