@pantograph/vue 0.15.0 → 0.15.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 (173) hide show
  1. package/dist/ActionButton/index.js +1 -1
  2. package/dist/ActionButton/index.umd.cjs +1 -1
  3. package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-4bWnl8i0.js → ActionButton.vue_vue_type_script_setup_true_lang-DgyV4xRm.js} +1 -1
  4. package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-C_7SZxPE.js → ActionButton.vue_vue_type_script_setup_true_lang-UVa0o0Ij.js} +2 -2
  5. package/dist/Alert/index.js +1 -1
  6. package/dist/Alert/index.umd.cjs +1 -1
  7. package/dist/{Alert.vue_vue_type_style_index_0_lang-BSPB5uP9.js → Alert.vue_vue_type_style_index_0_lang-DxbZ0Dgp.js} +3 -3
  8. package/dist/{Alert.vue_vue_type_style_index_0_lang-De8BdiEm.js → Alert.vue_vue_type_style_index_0_lang-tp9Yuyhx.js} +1 -1
  9. package/dist/Avatar/index.js +1 -1
  10. package/dist/Avatar/index.umd.cjs +1 -1
  11. package/dist/{Avatar.vue_vue_type_style_index_0_lang-DeTUyD13.js → Avatar.vue_vue_type_style_index_0_lang-B_L_lRri.js} +2 -2
  12. package/dist/{Avatar.vue_vue_type_style_index_0_lang-CrIwlgJN.js → Avatar.vue_vue_type_style_index_0_lang-C6nX1g5s.js} +1 -1
  13. package/dist/AvatarGroup/index.js +1 -1
  14. package/dist/AvatarGroup/index.umd.cjs +1 -1
  15. package/dist/Badge/index.js +1 -1
  16. package/dist/Badge/index.umd.cjs +1 -1
  17. package/dist/{Badge.vue_vue_type_script_setup_true_lang-CvnE7Srj.js → Badge.vue_vue_type_script_setup_true_lang-C9YYaZPq.js} +1 -1
  18. package/dist/{Badge.vue_vue_type_script_setup_true_lang-DYPVS-yf.js → Badge.vue_vue_type_script_setup_true_lang-D_Kb6YYk.js} +1 -1
  19. package/dist/{BaseButton.vue_vue_type_style_index_0_lang-eeWTMdbl.js → BaseButton.vue_vue_type_style_index_0_lang-CDwjubhE.js} +1 -1
  20. package/dist/{BaseButton.vue_vue_type_style_index_0_lang-CgMukDgL.js → BaseButton.vue_vue_type_style_index_0_lang-HfsOA9_2.js} +1 -1
  21. package/dist/Button/index.js +1 -1
  22. package/dist/Button/index.umd.cjs +1 -1
  23. package/dist/{Button.vue_vue_type_script_setup_true_lang-B6PUOUfI.js → Button.vue_vue_type_script_setup_true_lang-BNTreTjC.js} +2 -2
  24. package/dist/{Button.vue_vue_type_script_setup_true_lang-DjzpN9q5.js → Button.vue_vue_type_script_setup_true_lang-CvISLevL.js} +1 -1
  25. package/dist/Checkbox/index.js +1 -1
  26. package/dist/Checkbox/index.umd.cjs +1 -1
  27. package/dist/{Checkbox.vue_vue_type_style_index_0_lang-CP6XeMyz.js → Checkbox.vue_vue_type_style_index_0_lang-D-oXRs9j.js} +1 -1
  28. package/dist/{Checkbox.vue_vue_type_style_index_0_lang-BoCylzCv.js → Checkbox.vue_vue_type_style_index_0_lang-DmYIG1dJ.js} +1 -1
  29. package/dist/CheckboxGroup/index.js +1 -1
  30. package/dist/CheckboxGroup/index.umd.cjs +1 -1
  31. package/dist/Chip/index.js +2 -2
  32. package/dist/Chip/index.umd.cjs +1 -1
  33. package/dist/{Chip.vue_vue_type_style_index_0_lang-DkdkKJvb.js → Chip.vue_vue_type_style_index_0_lang-D9b9CzL-.js} +1 -1
  34. package/dist/{Chip.vue_vue_type_style_index_0_lang-B8_9Fuov.js → Chip.vue_vue_type_style_index_0_lang-QPy9oUi2.js} +1 -1
  35. package/dist/ChipGroup/index.js +1 -1
  36. package/dist/ChipGroup/index.umd.cjs +1 -1
  37. package/dist/{ChipGroup.vue_vue_type_style_index_0_lang-Cn0SS405.js → ChipGroup.vue_vue_type_style_index_0_lang-CHpFQGo2.js} +1 -1
  38. package/dist/{ChipGroup.vue_vue_type_style_index_0_lang-DXgB3D2F.js → ChipGroup.vue_vue_type_style_index_0_lang-uLOZBssn.js} +1 -1
  39. package/dist/ColorPicker/index.js +1 -1
  40. package/dist/ColorPicker/index.umd.cjs +1 -1
  41. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-OlYb1GsW.js → ColorPicker.vue_vue_type_style_index_0_lang-BFy2WG4I.js} +2 -2
  42. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-BJqIuqb1.js → ColorPicker.vue_vue_type_style_index_0_lang-DiLY5TEe.js} +1 -1
  43. package/dist/ColorSwatch/index.js +1 -1
  44. package/dist/ColorSwatch/index.umd.cjs +1 -1
  45. package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-DmhhCVv7.js → ColorSwatch.vue_vue_type_style_index_0_lang-CUk1dzLL.js} +1 -1
  46. package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-B35b1BsJ.js → ColorSwatch.vue_vue_type_style_index_0_lang-ena7zgve.js} +3 -3
  47. package/dist/ColorSwatchGroup/index.js +1 -1
  48. package/dist/ColorSwatchGroup/index.umd.cjs +1 -1
  49. package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-CUBuxVaq.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-BFapju8t.js} +5 -5
  50. package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-CYLmaqeI.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-qPcgpY1d.js} +1 -1
  51. package/dist/ColorTrigger/index.js +1 -1
  52. package/dist/ColorTrigger/index.umd.cjs +1 -1
  53. package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-DNZxq-yR.js → ColorTrigger.vue_vue_type_style_index_0_lang-BLaALuwC.js} +2 -2
  54. package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-YWVLXFVc.js → ColorTrigger.vue_vue_type_style_index_0_lang-DCR5hP83.js} +1 -1
  55. package/dist/DataTable/DataTable.model.d.ts +4 -1
  56. package/dist/DataTable/index.d.ts +2 -1
  57. package/dist/DataTable/index.js +1 -1
  58. package/dist/DataTable/index.umd.cjs +1 -1
  59. package/dist/DataTable/types.d.ts +69 -0
  60. package/dist/DataTable/{useColumn.d.ts → useCell.d.ts} +1 -2
  61. package/dist/DataTable/useCol.d.ts +11 -0
  62. package/dist/DataTable/useColumnWrap.d.ts +1 -1
  63. package/dist/DataTable/useSelection.d.ts +28 -0
  64. package/dist/DataTable/useSort.d.ts +21 -0
  65. package/dist/DataTable.vue_vue_type_style_index_0_lang-ATKG2Cmd.js +1 -0
  66. package/dist/DataTable.vue_vue_type_style_index_0_lang-DrlPDQwn.js +972 -0
  67. package/dist/DropZone/DropZone.d.ts +53 -0
  68. package/dist/DropZone/index.d.ts +2 -1
  69. package/dist/DropZone/index.js +7 -1
  70. package/dist/DropZone/index.umd.cjs +1 -1
  71. package/dist/DropZone.vue_vue_type_style_index_0_lang-CVlC2HPc.js +1 -0
  72. package/dist/DropZone.vue_vue_type_style_index_0_lang-DswnAgcQ.js +121 -0
  73. package/dist/FloatButton/index.js +1 -1
  74. package/dist/FloatButton/index.umd.cjs +1 -1
  75. package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-BxvHC70e.js → FloatButton.vue_vue_type_script_setup_true_lang-B0H9wD6k.js} +2 -2
  76. package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-COenBFvO.js → FloatButton.vue_vue_type_script_setup_true_lang-Bbt9lIzt.js} +1 -1
  77. package/dist/GraphicalObject/index.js +1 -1
  78. package/dist/GraphicalObject/index.umd.cjs +1 -1
  79. package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-Bc5zh_wp.js → GraphicalObject.vue_vue_type_script_setup_true_lang-BJxJMvEW.js} +1 -1
  80. package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-CwxMftZ5.js → GraphicalObject.vue_vue_type_script_setup_true_lang-DiOcyHlU.js} +1 -1
  81. package/dist/IconButton/index.js +1 -1
  82. package/dist/IconButton/index.umd.cjs +1 -1
  83. package/dist/{IconButton.vue_vue_type_script_setup_true_lang-Bi_qwuVm.js → IconButton.vue_vue_type_script_setup_true_lang-jsgZCtDw.js} +2 -2
  84. package/dist/{IconButton.vue_vue_type_script_setup_true_lang-efWR_OuR.js → IconButton.vue_vue_type_script_setup_true_lang-qMI8hvaP.js} +1 -1
  85. package/dist/IndentLevel/index.js +1 -1
  86. package/dist/IndentLevel/index.umd.cjs +1 -1
  87. package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-ChiSKb-J.js → IndentLevel.vue_vue_type_style_index_0_lang-Ce8LV7Lh.js} +1 -1
  88. package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-C_b-LVE0.js → IndentLevel.vue_vue_type_style_index_0_lang-Cko7CNe8.js} +1 -1
  89. package/dist/Indicator/index.js +1 -1
  90. package/dist/Indicator/index.umd.cjs +1 -1
  91. package/dist/{Indicator.vue_vue_type_script_setup_true_lang-DjRN5aRj.js → Indicator.vue_vue_type_script_setup_true_lang-B8kmhRfQ.js} +1 -1
  92. package/dist/{Indicator.vue_vue_type_script_setup_true_lang-RPFjQEzE.js → Indicator.vue_vue_type_script_setup_true_lang-BzfzbSZa.js} +1 -1
  93. package/dist/Input/Input.model.d.ts +1 -1
  94. package/dist/Input/index.js +1 -1
  95. package/dist/Input/index.umd.cjs +1 -1
  96. package/dist/Input.vue_vue_type_style_index_0_lang-DCCIX52B.js +1 -0
  97. package/dist/Input.vue_vue_type_style_index_0_lang-DhUwuI6B.js +199 -0
  98. package/dist/Menu/index.js +1 -1
  99. package/dist/Menu/index.umd.cjs +1 -1
  100. package/dist/{Menu.vue_vue_type_style_index_0_lang-DacaUajM.js → Menu.vue_vue_type_style_index_0_lang-DIMEa_Ht.js} +1 -1
  101. package/dist/{Menu.vue_vue_type_style_index_0_lang-BVNhKBcu.js → Menu.vue_vue_type_style_index_0_lang-DRWb6YFs.js} +3 -3
  102. package/dist/MenuItem/index.js +1 -1
  103. package/dist/MenuItem/index.umd.cjs +1 -1
  104. package/dist/Popover/index.js +1 -1
  105. package/dist/Popover/index.umd.cjs +1 -1
  106. package/dist/Popover.vue_vue_type_style_index_0_lang-CFAYIAUF.js +153 -0
  107. package/dist/Popover.vue_vue_type_style_index_0_lang-CuBS3grq.js +1 -0
  108. package/dist/RadioGroup/index.js +1 -1
  109. package/dist/RadioGroup/index.umd.cjs +1 -1
  110. package/dist/{RadioGroup.vue_vue_type_script_setup_true_lang-BsA4i2NS.js → RadioGroup.vue_vue_type_script_setup_true_lang-cFRkXOQf.js} +1 -1
  111. package/dist/{RadioGroup.vue_vue_type_script_setup_true_lang-B9tmAIEG.js → RadioGroup.vue_vue_type_script_setup_true_lang-lWkHiWdf.js} +1 -1
  112. package/dist/ScrollContainer/ScrollContainer.d.ts +247 -1
  113. package/dist/ScrollContainer/index.js +5 -4
  114. package/dist/ScrollContainer/index.umd.cjs +1 -1
  115. package/dist/ScrollContainer.model-DPWJjLfW.js +4 -0
  116. package/dist/ScrollContainer.model-Tt-6E8TA.js +1 -0
  117. package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-C22K1mpy.js +1 -0
  118. package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-DcxqgHqY.js +173 -0
  119. package/dist/Switch/index.js +1 -1
  120. package/dist/Switch/index.umd.cjs +1 -1
  121. package/dist/{Switch.vue_vue_type_style_index_0_lang-mkO4UH9N.js → Switch.vue_vue_type_style_index_0_lang-6gVnb9xl.js} +1 -1
  122. package/dist/{Switch.vue_vue_type_style_index_0_lang-D03EmiSs.js → Switch.vue_vue_type_style_index_0_lang-Q8bdnZwm.js} +1 -1
  123. package/dist/THead.vue_vue_type_style_index_0_lang-CjNYs1Lo.js +1 -0
  124. package/dist/THead.vue_vue_type_style_index_0_lang-CzOa1Qzl.js +190 -0
  125. package/dist/Table/Tr.d.ts +5 -0
  126. package/dist/Table/index.js +1 -1
  127. package/dist/Table/index.umd.cjs +1 -1
  128. package/dist/Tooltip/Tooltip.d.ts +33 -0
  129. package/dist/Tooltip/index.d.ts +2 -0
  130. package/dist/Tooltip/index.js +7 -0
  131. package/dist/Tooltip/index.umd.cjs +1 -0
  132. package/dist/Tooltip/register.d.ts +3 -0
  133. package/dist/Tooltip.vue_vue_type_script_setup_true_lang-DWMPc3HZ.js +1 -0
  134. package/dist/Tooltip.vue_vue_type_script_setup_true_lang-DX19Sbqt.js +88 -0
  135. package/dist/Tree/Tree.d.ts +2 -1
  136. package/dist/Tree/index.js +1 -1
  137. package/dist/Tree/index.umd.cjs +1 -1
  138. package/dist/Tree.vue_vue_type_style_index_0_lang-C88TjWts.js +504 -0
  139. package/dist/Tree.vue_vue_type_style_index_0_lang-DHQevJVn.js +1 -0
  140. package/dist/_baseIteratee-BBuodSH6.js +215 -0
  141. package/dist/_baseIteratee-CDuwB1bO.js +1 -0
  142. package/dist/_flatRest-DfF7R94v.js +1 -0
  143. package/dist/{_flatRest-Bw7fWA39.js → _flatRest-TqrGvOlu.js} +16 -12
  144. package/dist/{cloneDeep-unwWx7xF.js → cloneDeep-BJojf7NO.js} +1 -1
  145. package/dist/cloneDeep-DaX9li9z.js +1 -0
  146. package/dist/{get-w4jLplqh.js → get-CDLMdUvE.js} +1 -1
  147. package/dist/{get-FzuQyzCL.js → get-CukCUUmn.js} +1 -1
  148. package/dist/index.js +126 -121
  149. package/dist/index.umd.cjs +1 -1
  150. package/dist/{omit-6FeILhm3.js → omit-BTWlW6dc.js} +1 -1
  151. package/dist/{omit-DB3u1XL5.js → omit-BYRdzoed.js} +15 -15
  152. package/dist/{pick-DUYr5oPc.js → pick-CbcKnkja.js} +1 -1
  153. package/dist/{pick-BEnuz3iO.js → pick-CyXixg42.js} +1 -1
  154. package/dist/style/index.css +1 -1
  155. package/dist/{uniq-BoseFDe4.js → uniq-BkI6s4BR.js} +1 -1
  156. package/dist/{uniq-Yl5OObL1.js → uniq-FpLq1Xk8.js} +1 -1
  157. package/package.json +8 -3
  158. package/dist/DataTable.vue_vue_type_style_index_0_lang-BP5c0rda.js +0 -1
  159. package/dist/DataTable.vue_vue_type_style_index_0_lang-C-7s05L-.js +0 -786
  160. package/dist/Input.vue_vue_type_style_index_0_lang-CCKpwRTa.js +0 -270
  161. package/dist/Input.vue_vue_type_style_index_0_lang-Ct9RhrT6.js +0 -1
  162. package/dist/Popover.vue_vue_type_style_index_0_lang-B695YDJE.js +0 -1
  163. package/dist/Popover.vue_vue_type_style_index_0_lang-ByhaxoQo.js +0 -153
  164. package/dist/ScrollContainer.model-BzodTc4p.js +0 -147
  165. package/dist/ScrollContainer.model-VXisa1jV.js +0 -1
  166. package/dist/THead.vue_vue_type_style_index_0_lang-B4yro5EP.js +0 -180
  167. package/dist/THead.vue_vue_type_style_index_0_lang-C1I8ZLa2.js +0 -1
  168. package/dist/Tree.vue_vue_type_style_index_0_lang-DKtLWacR.js +0 -501
  169. package/dist/Tree.vue_vue_type_style_index_0_lang-DnnW2v03.js +0 -1
  170. package/dist/_baseIsEqual-B1yr67CO.js +0 -145
  171. package/dist/_baseIsEqual-DysaakgW.js +0 -1
  172. package/dist/_flatRest-B2xTunyg.js +0 -1
  173. package/dist/cloneDeep-CNkGIW_B.js +0 -1
@@ -1,786 +0,0 @@
1
- import { h as He, ref as Z, computed as D, watch as le, defineComponent as Le, useSlots as Me, unref as t, useTemplateRef as Ve, onBeforeUnmount as Ne, shallowRef as Oe, createElementBlock as C, openBlock as a, normalizeClass as y, createVNode as d, withCtx as m, createElementVNode as $, normalizeStyle as qe, createBlock as A, createCommentVNode as I, Fragment as z, renderList as V, mergeProps as S, renderSlot as T, createSlots as ye, withModifiers as we, toDisplayString as Fe, normalizeProps as xe, guardReactiveProps as Ge, nextTick as oe } from "vue";
2
- import { createColumnHelper as Ze, flattenBy as Ue, useVueTable as Je, getSortedRowModel as Qe, getCoreRowModel as Xe } from "@tanstack/vue-table";
3
- import { b as Ye } from "./_baseIsEqual-B1yr67CO.js";
4
- import { i as eo, b as oo, a as te } from "./isArray-CdbPONHA.js";
5
- import { _ as he } from "./Checkbox.vue_vue_type_style_index_0_lang-BoCylzCv.js";
6
- import { _ as to, a as ne } from "./Menu.vue_vue_type_style_index_0_lang-BVNhKBcu.js";
7
- import { _ as no } from "./ActionButton.vue_vue_type_script_setup_true_lang-C_7SZxPE.js";
8
- import { _ as ro } from "./Empty.vue_vue_type_style_index_0_lang-Jm_jtiLY.js";
9
- import { o as ie } from "./omit-DB3u1XL5.js";
10
- import { u as so } from "./uniq-Yl5OObL1.js";
11
- import { f as U, h as K } from "./_getTag-z7QaQ5uZ.js";
12
- import { getBemBlock as lo, wgt_pre as io, generateVariantClassList as co, getBemElement as b, usePCId as ao } from "@pantograph/utils";
13
- import { getBreakpoints as uo } from "@pantograph/tokens";
14
- import { useBreakpoints as mo, useIntersectionObserver as fo } from "@vueuse/core";
15
- import { _ as po } from "./Skeleton.vue_vue_type_style_index_0_lang-aSGb2hn6.js";
16
- import { _ as ve } from "./Popover.vue_vue_type_style_index_0_lang-ByhaxoQo.js";
17
- import { _ as go } from "./Badge.vue_vue_type_script_setup_true_lang-DYPVS-yf.js";
18
- import { _ as Ce } from "./Divider.vue_vue_type_style_index_0_lang-DapqjSGc.js";
19
- import { _ as be } from "./IconButton.vue_vue_type_script_setup_true_lang-Bi_qwuVm.js";
20
- import { _ as re } from "./Icon.vue_vue_type_style_index_0_lang-D2A2tkHI.js";
21
- import { _ as yo } from "./Switch.vue_vue_type_style_index_0_lang-mkO4UH9N.js";
22
- import { g as _e } from "./get-FzuQyzCL.js";
23
- import { cva as wo } from "class-variance-authority";
24
- import { i as Se } from "./isEmpty-BEYnAygl.js";
25
- import { _ as ho, e as vo, c as x, a as Co, d as bo, b as G } from "./THead.vue_vue_type_style_index_0_lang-B4yro5EP.js";
26
- import { c as se } from "./cloneDeep-unwWx7xF.js";
27
- function ke(B, k) {
28
- return Ye(B, k);
29
- }
30
- const _o = (B, { isColumnWrapped: k, selectionId: s }) => {
31
- const N = (o) => {
32
- var f;
33
- const c = (w) => w === "list" ? "md" : "sm";
34
- return {
35
- ...(o == null ? void 0 : o.skeletonProps) ?? {},
36
- style: "width: 100%",
37
- size: c((f = o == null ? void 0 : o.skeletonProps) == null ? void 0 : f.type)
38
- };
39
- }, _ = (o) => {
40
- var f, w;
41
- const c = (f = o.props) == null ? void 0 : f.column.columnDef;
42
- return K(c == null ? void 0 : c.render) && o.props.row ? (w = c == null ? void 0 : c.render) == null ? void 0 : w.call(c, {
43
- index: o.props.row.index,
44
- record: o.props.row.original,
45
- column: ie(c, "render")
46
- }) : typeof o.render == "function" || typeof o.render == "object" ? He(o.render, o.props) : o.render;
47
- }, u = (o) => {
48
- let c = {};
49
- if (o) {
50
- const f = (j) => Number(j) >= 0 ? `${j}px` : j, { width: w, maxWidth: W, minWidth: P } = o;
51
- (w || W || P) && (c = {
52
- width: f(w),
53
- maxWidth: f(W),
54
- minWidth: f(P),
55
- overflow: w || W ? "hidden" : void 0
56
- });
57
- }
58
- return c;
59
- }, R = {}, i = (o, c = !0) => {
60
- var w;
61
- let f = 1;
62
- return ((w = o == null ? void 0 : o.subHeaders) == null ? void 0 : w.length) === 1 && o.column.id === o.subHeaders[0].column.id && (f += i(o.subHeaders[0], !1)), c && (!R[o.column.id] || R[o.column.id] < f) && (R[o.column.id] = f), f;
63
- }, p = (o, c = {}) => {
64
- var f;
65
- if (o != null && o.column) {
66
- const w = (f = o == null ? void 0 : o.column) == null ? void 0 : f.columnDef, W = [], P = {};
67
- if (U(w)) {
68
- let j = k(o.column.id);
69
- const { customCell: E, class: F } = w;
70
- if (Se(F) || W.push(F), E && (U(E) || K(E))) {
71
- const q = (h) => {
72
- if (U(h)) {
73
- const { wrap: H, colSpan: Q, rowSpan: X } = h;
74
- j = j || (H ?? !1), P.colSpan = Q, P.rowSpan = X;
75
- }
76
- };
77
- K(E) && o.row ? q(
78
- E({
79
- index: o.row.index,
80
- record: o.row.original,
81
- column: w
82
- })
83
- ) : q(E);
84
- }
85
- o.header ? P.rowSpan = i(o.header) : j && (P.wrap = !0);
86
- }
87
- return {
88
- class: Se(W) ? void 0 : W,
89
- ...P,
90
- ...c
91
- };
92
- }
93
- return {};
94
- };
95
- return {
96
- getSkeletonProps: N,
97
- RenderCell: _,
98
- getThProps: (o) => {
99
- var c, f, w;
100
- return p(o, {
101
- colSpan: (c = o == null ? void 0 : o.header) == null ? void 0 : c.colSpan,
102
- "data-has-children": ((w = (f = o == null ? void 0 : o.column) == null ? void 0 : f.columns) == null ? void 0 : w.length) > 1 ? !0 : void 0
103
- });
104
- },
105
- getTdProps: (o) => p(o),
106
- getColProps: (o) => {
107
- const c = u(o.columnDef);
108
- return o.id === s && (c.width = "var(--pt-dimension-2800)"), {
109
- style: c
110
- };
111
- },
112
- isThVisible: (o, c, f) => R[f] === 1 ? !0 : c - o === R[f]
113
- };
114
- };
115
- var So = "[object Boolean]";
116
- function ko(B) {
117
- return B === !0 || B === !1 || eo(B) && oo(B) == So;
118
- }
119
- const Ro = (B) => {
120
- const k = Z([]), s = (i) => i ? k.value.findIndex((p) => p.id === i) : -1, N = (i) => {
121
- if (i) return k.value.find((p) => p.id === i);
122
- }, _ = (i) => {
123
- var p;
124
- return !!((p = N(i)) != null && p.wrap);
125
- }, u = (i) => {
126
- const { id: p } = i;
127
- if (!p) return !1;
128
- const M = i.wrap ?? !_(p), O = s(p);
129
- return O >= 0 ? k.value[O] = { id: p, wrap: M } : k.value.push({ id: p, wrap: M }), !0;
130
- }, R = D(
131
- () => (B.columns ?? []).filter((i) => ko(i.wrap)).map((i) => ({
132
- id: i.id,
133
- wrap: !!i.wrap
134
- }))
135
- );
136
- return le(
137
- R,
138
- (i) => {
139
- k.value = [...k.value, ...i];
140
- },
141
- {
142
- immediate: !0,
143
- deep: !0
144
- }
145
- ), {
146
- isColumnWrapped: _,
147
- toggleWrap: u
148
- };
149
- }, Xo = /* @__PURE__ */ Le({
150
- __name: "DataTable",
151
- props: {
152
- columns: {},
153
- childrenColumnName: { default: "children" },
154
- data: {},
155
- class: {},
156
- scrollViewportCls: {},
157
- scrollAreaCls: {},
158
- theadCls: {},
159
- tbodyCls: {},
160
- actionHoverCls: {},
161
- rootCls: {},
162
- rowSelection: {},
163
- rowKey: {},
164
- lazyLoading: { type: Boolean },
165
- loading: { type: Boolean },
166
- emptyProps: {},
167
- size: {},
168
- batchActionsTitle: { default: "Records selected :" },
169
- loadingRowCount: { default: 5 },
170
- stickyHeader: { type: Boolean },
171
- zebra: { type: Boolean, default: !0 },
172
- tableLayout: { default: "fixed" },
173
- actionCol: {},
174
- noHeader: { type: Boolean },
175
- rowProps: {}
176
- },
177
- emits: ["fetch", "rowClick"],
178
- setup(B, { emit: k }) {
179
- const s = B, N = k, _ = Me(), u = lo("data_table", io), R = Ze(), i = `$${u}_selection$`, p = D(() => {
180
- var e;
181
- return ((e = s.actionCol) == null ? void 0 : e.id) ?? `$${u}_action$`;
182
- }), M = (e) => ie(e ?? {}, "title", "sorter", "columns", "id", "dataIndex"), O = D(() => {
183
- var g;
184
- const e = (n) => {
185
- var L;
186
- const v = n.id ?? ao(`${u}--col`);
187
- return te(_e(n, s.childrenColumnName)) ? R.group({
188
- header: n.title,
189
- id: v,
190
- columns: (L = _e(n, s.childrenColumnName) ?? []) == null ? void 0 : L.map(e),
191
- enableSorting: !1,
192
- ...M(n)
193
- }) : R.accessor(n.dataIndex ?? n.id, {
194
- header: n.title,
195
- id: v,
196
- sortingFn: typeof n.sorter == "function" ? (ee, Ee) => n.sorter(ee.original, Ee.original) : n.sorter,
197
- enableSorting: !!n.sorter,
198
- ...M(n)
199
- });
200
- };
201
- if (!te(s.columns)) throw "no columns";
202
- const r = s.columns.map(({ id: n }) => n);
203
- if (so(r).length !== r.length) throw "no uniq column ids";
204
- const l = [];
205
- return s.rowSelection && s.rowKey && l.push(
206
- R.accessor(i, {
207
- id: i,
208
- enableSorting: !1
209
- })
210
- ), s.columns.forEach((n) => {
211
- l.push(e(n));
212
- }), (_.action || _.hoverAction) && l.push(
213
- R.accessor(p.value, {
214
- id: p.value,
215
- header: (g = s.actionCol) == null ? void 0 : g.title,
216
- enableSorting: !1,
217
- ...M(s.actionCol)
218
- })
219
- ), l;
220
- }), { toggleWrap: ce, isColumnWrapped: J } = Ro(s), o = Z({}), c = D(() => Object.keys(o.value)), f = D(
221
- () => s.rowKey ? Ue(s.data, (e) => e.children).map(
222
- (e) => e[s.rowKey]
223
- ) : []
224
- ), w = () => {
225
- const e = Object.fromEntries(
226
- c.value.filter((r) => {
227
- var l;
228
- return !((l = s.rowSelection) != null && l.preserveSelectedRowKeys) && s.rowKey ? f.value.includes(r) : !0;
229
- }).map((r) => [r, !0])
230
- );
231
- Object.keys(e).length !== c.value.length && (o.value = e, oe(() => {
232
- var r;
233
- K((r = s.rowSelection) == null ? void 0 : r.onChange) && s.rowSelection.onChange(H.value);
234
- }));
235
- }, W = D(() => (w(), [...s.data])), P = uo(), E = mo(
236
- Object.fromEntries(
237
- Object.keys(P).map((e) => [e, P[e].minWidth])
238
- ),
239
- { strategy: "min-width" }
240
- ).active(), F = Z({});
241
- le(
242
- E,
243
- (e) => {
244
- F.value = Object.fromEntries(
245
- O.value.map((r) => {
246
- var l;
247
- return [
248
- r.id,
249
- te(r == null ? void 0 : r.responsive) ? (l = r.responsive) == null ? void 0 : l.includes(e) : !0
250
- ];
251
- })
252
- );
253
- },
254
- { immediate: !0 }
255
- );
256
- const q = Z([]), h = Je({
257
- // debugTable: true,
258
- getSubRows: (e) => e.children,
259
- enableSorting: !0,
260
- enableMultiSort: !0,
261
- get data() {
262
- return W.value;
263
- },
264
- onSortingChange: (e) => {
265
- q.value = typeof e == "function" ? e(q.value) : e;
266
- },
267
- state: {
268
- get sorting() {
269
- return q.value;
270
- },
271
- get rowSelection() {
272
- return o.value;
273
- },
274
- get columnVisibility() {
275
- return F.value;
276
- }
277
- },
278
- enableRowSelection: !0,
279
- get columns() {
280
- return O.value;
281
- },
282
- getRowId(e, r) {
283
- return s.rowKey ? e[s.rowKey] : r;
284
- },
285
- getRowCanExpand: () => !0,
286
- getCoreRowModel: Xe(),
287
- getSortedRowModel: Qe(),
288
- onRowSelectionChange: (e) => {
289
- o.value = typeof e == "function" ? e(o.value) : e;
290
- }
291
- }), H = D(() => ({
292
- selectedRowKeys: c.value,
293
- selectedRows: h.getFilteredSelectedRowModel().flatRows.map((e) => e.original)
294
- }));
295
- le(
296
- () => {
297
- var e;
298
- return (e = s.rowSelection) == null ? void 0 : e.selectedRowKeys;
299
- },
300
- (e, r) => {
301
- var l, g;
302
- if ((g = (l = s.rowSelection) == null ? void 0 : l.selectedRowKeys) != null && g.length && !ke(e, r)) {
303
- const n = Object.fromEntries(
304
- t(s.rowSelection.selectedRowKeys ?? Object.keys(o.value)).map(
305
- (v) => [v, !0]
306
- )
307
- );
308
- ke(n, o.value) || (o.value = n);
309
- }
310
- },
311
- { immediate: !0 }
312
- );
313
- const Q = D(() => h.getIsAllRowsSelected() ? !0 : h.getIsSomeRowsSelected() ? "indeterminate" : !1), X = (e) => {
314
- h.getIsSomeRowsSelected() || h.getIsAllRowsSelected() ? h.toggleAllRowsSelected(!1) : h.toggleAllRowsSelected(!0), oe(() => {
315
- var r, l;
316
- K((r = s.rowSelection) == null ? void 0 : r.onSelectAll) && s.rowSelection.onSelectAll({ ...H.value, selected: e }), K((l = s.rowSelection) == null ? void 0 : l.onChange) && s.rowSelection.onChange(H.value);
317
- });
318
- }, Re = (e, r) => {
319
- var l;
320
- r.toggleSelected(e, {
321
- selectChildren: !((l = s.rowSelection) != null && l.checkStrictly)
322
- }), oe(() => {
323
- var g, n;
324
- K((g = s.rowSelection) == null ? void 0 : g.onSelect) && s.rowSelection.onSelect({
325
- ...H.value,
326
- selected: e,
327
- record: r.original
328
- }), K((n = s.rowSelection) == null ? void 0 : n.onChange) && s.rowSelection.onChange(H.value);
329
- });
330
- }, $e = (e) => {
331
- var r, l;
332
- return K((r = s.rowSelection) == null ? void 0 : r.getCheckboxProps) && ((l = s.rowSelection) == null || l.getCheckboxProps(e)), {};
333
- }, ae = (e) => {
334
- var r;
335
- if (e.getIsSelected()) return !0;
336
- if ((r = e.subRows) != null && r.length) {
337
- if (e.getIsAllSubRowsSelected()) return !0;
338
- if (e.getIsSomeSelected()) return "indeterminate";
339
- }
340
- return !1;
341
- }, ue = Ve("target"), { stop: ze } = fo(ue, ([e]) => {
342
- s.lazyLoading && !s.loading && (e != null && e.isIntersecting) && N("fetch");
343
- });
344
- Ne(ze);
345
- const { getSkeletonProps: Be, getThProps: Pe, RenderCell: me, getTdProps: Y, getColProps: Ae, isThVisible: Ie } = _o(s, {
346
- selectionId: i,
347
- isColumnWrapped: J
348
- }), fe = D(() => Object.keys(o.value).length), Te = () => {
349
- o.value = {};
350
- }, De = wo(u, {
351
- variants: {
352
- empty: co("empty", u)
353
- }
354
- }), de = Oe(0), Ke = ({ item: e }, r) => {
355
- e.key === "a-z" && r.toggleSorting(!1, !1), e.key === "z-a" && r.toggleSorting(!0, !1), e.key === "wrap" && ce({ id: r.id }), de.value++;
356
- }, We = (e) => {
357
- const r = e.getIsSorted();
358
- if (!r) return "tabler:arrows-up-down";
359
- if (r === "desc") return "tabler:arrow-down";
360
- if (r === "asc") return "tabler:arrow-up";
361
- }, pe = D(
362
- () => h.getHeaderGroups().map((e) => ({
363
- ...e,
364
- headers: e.headers.map((r) => ({
365
- ...r,
366
- bindings: Pe(r.getContext())
367
- }))
368
- }))
369
- ), ge = (e, r) => {
370
- const l = se(ie(r ?? {}, "row"));
371
- if (s.rowProps) {
372
- if (K(s.rowProps))
373
- return { ...se(s.rowProps(e, r == null ? void 0 : r.row) ?? {}), ...l };
374
- if (U(s.rowProps)) return { ...se(s.rowProps), ...l };
375
- }
376
- return l;
377
- }, je = (e, r) => N("rowClick", e, r);
378
- return (e, r) => (a(), C("div", {
379
- class: y([t(b)(t(u), "root"), e.rootCls])
380
- }, [
381
- d(ve, {
382
- "z-index": "1",
383
- open: !!(fe.value && _.batchActions),
384
- placement: "bottom",
385
- "side-offset": -54,
386
- "container-cls": "pantograph-tokens pantograph-dark"
387
- }, {
388
- content: m(() => [
389
- $("div", {
390
- class: y(t(b)(t(u), "batch_actions"))
391
- }, [
392
- d(go, {
393
- text: fe.value,
394
- size: "xsm"
395
- }, null, 8, ["text"]),
396
- $("div", {
397
- class: y(t(b)(t(u), "batch_actions__title"))
398
- }, Fe(e.batchActionsTitle), 3),
399
- $("div", {
400
- class: y(t(b)(t(u), "batch_actions__actions"))
401
- }, [
402
- T(e.$slots, "batchActions", xe(Ge(H.value)))
403
- ], 2),
404
- d(Ce, {
405
- type: "vertical",
406
- class: y(t(b)(t(u), "batch_actions__divider"))
407
- }, null, 8, ["class"]),
408
- d(be, {
409
- icon: "tabler:x",
410
- color: "gray",
411
- type: "ghost",
412
- onClick: Te
413
- })
414
- ], 2)
415
- ]),
416
- default: m(() => [
417
- $("div", {
418
- class: y([t(b)(t(u), "scroll_area"), e.scrollAreaCls])
419
- }, [
420
- $("div", {
421
- class: y([t(b)(t(u), "scroll_viewport"), e.scrollViewportCls])
422
- }, [
423
- d(t(ho), {
424
- size: e.size,
425
- style: qe({
426
- tableLayout: e.tableLayout
427
- }),
428
- class: y([
429
- t(De)({
430
- empty: !t(h).getRowModel().rows.length
431
- }),
432
- s.class
433
- ])
434
- }, {
435
- default: m(() => [
436
- $("colgroup", null, [
437
- (a(!0), C(z, null, V(t(h).getVisibleLeafColumns(), (l) => (a(), C("col", S({
438
- key: l.id,
439
- ref_for: !0
440
- }, t(Ae)(l)), null, 16))), 128))
441
- ]),
442
- e.noHeader ? I("", !0) : (a(), A(t(vo), {
443
- key: 0,
444
- class: y(e.theadCls),
445
- sticky: e.stickyHeader
446
- }, {
447
- default: m(() => [
448
- (a(!0), C(z, null, V(pe.value, (l, g) => (a(), A(t(x), S({
449
- key: l.id,
450
- ref_for: !0
451
- }, ge(g * -1 - 1)), {
452
- default: m(() => [
453
- (a(!0), C(z, null, V(l.headers, (n) => (a(), C(z, {
454
- key: n.id
455
- }, [
456
- t(Ie)(g, pe.value.length, n.column.id) ? (a(), A(t(Co), S({
457
- key: 0,
458
- ref_for: !0
459
- }, n.bindings, {
460
- "data-selection": n.column.id === i
461
- }), {
462
- default: m(() => [
463
- $("div", {
464
- class: y(t(b)(t(u), "header"))
465
- }, [
466
- $("div", {
467
- class: y(t(b)(t(u), "header__content"))
468
- }, [
469
- n.column.id !== i ? (a(), C(z, { key: 0 }, [
470
- $("div", {
471
- class: y(t(b)(t(u), "header__content__title"))
472
- }, [
473
- T(e.$slots, "headerCell", S({ ref_for: !0 }, {
474
- column: n.column.columnDef
475
- }), () => [
476
- d(t(me), {
477
- props: n.getContext(),
478
- render: n.column.columnDef.header
479
- }, null, 8, ["props", "render"])
480
- ])
481
- ], 2),
482
- n.column.getCanSort() ? (a(), A(no, {
483
- key: 0,
484
- class: y({ hide_filter_action: !n.column.getIsSorted() }),
485
- icon: We(n.column),
486
- size: "sm",
487
- type: "ghost",
488
- variant: "icon",
489
- active: !!n.column.getIsSorted(),
490
- onClick: (v) => {
491
- var L;
492
- return (L = n.column.getToggleSortingHandler()) == null ? void 0 : L(v);
493
- }
494
- }, null, 8, ["class", "icon", "active", "onClick"])) : I("", !0)
495
- ], 64)) : (a(), C(z, { key: 1 }, [
496
- $("div", {
497
- class: y(t(b)(t(u), "selection_space"))
498
- }, null, 2),
499
- d(he, {
500
- rootCls: "w-fit",
501
- checked: Q.value,
502
- onChange: X
503
- }, null, 8, ["checked"])
504
- ], 64))
505
- ], 2),
506
- ![p.value, i].includes(n.column.id) && !n.column.columns.length ? (a(), C("div", {
507
- key: 0,
508
- class: y(t(b)(t(u), "header__action"))
509
- }, [
510
- (a(), A(ve, {
511
- "z-index": "1",
512
- placement: "bottom-end",
513
- key: de.value
514
- }, {
515
- content: m(() => [
516
- d(to, {
517
- onSelect: (v) => Ke(v, n.column)
518
- }, {
519
- default: m(() => [
520
- n.column.getCanSort() ? (a(), C(z, { key: 0 }, [
521
- d(ne, {
522
- title: "Sort A → Z",
523
- key: "a-z"
524
- }, {
525
- leading: m(({ iconSize: v }) => [
526
- d(re, {
527
- icon: "tabler:arrow-up",
528
- size: v
529
- }, null, 8, ["size"])
530
- ]),
531
- _: 1
532
- }),
533
- d(ne, {
534
- title: "Sort Z → A",
535
- key: "z-a"
536
- }, {
537
- leading: m(({ iconSize: v }) => [
538
- d(re, {
539
- icon: "tabler:arrow-down",
540
- size: v
541
- }, null, 8, ["size"])
542
- ]),
543
- _: 1
544
- }),
545
- d(Ce)
546
- ], 64)) : I("", !0),
547
- d(ne, {
548
- title: "Wrap Column",
549
- key: "wrap"
550
- }, {
551
- leading: m(({ iconSize: v }) => [
552
- d(re, {
553
- icon: "tabler:text-wrap",
554
- size: v
555
- }, null, 8, ["size"])
556
- ]),
557
- trailing: m(() => [
558
- d(yo, {
559
- checked: t(J)(n.column.id)
560
- }, null, 8, ["checked"])
561
- ]),
562
- _: 2
563
- }, 1024)
564
- ]),
565
- _: 2
566
- }, 1032, ["onSelect"])
567
- ]),
568
- default: m(() => [
569
- d(be, {
570
- icon: "tabler:dots-vertical",
571
- size: "sm",
572
- color: "gray",
573
- type: "ghost",
574
- class: y(t(b)(t(u), "header__action__hover"))
575
- }, null, 8, ["class"])
576
- ]),
577
- _: 2
578
- }, 1024))
579
- ], 2)) : I("", !0)
580
- ], 2)
581
- ]),
582
- _: 2
583
- }, 1040, ["data-selection"])) : I("", !0)
584
- ], 64))), 128))
585
- ]),
586
- _: 2
587
- }, 1040))), 128))
588
- ]),
589
- _: 3
590
- }, 8, ["class", "sticky"])),
591
- d(t(bo), {
592
- class: y(e.tbodyCls)
593
- }, {
594
- default: m(() => [
595
- (a(!0), C(z, null, V(t(h).getRowModel().rows, (l, g) => (a(), A(t(x), S({
596
- key: l.id,
597
- onClick: (n) => je(l.original, n),
598
- ref_for: !0
599
- }, ge(g, { zebra: e.zebra, checked: !!ae(l) })), {
600
- default: m(() => [
601
- (a(!0), C(z, null, V(l.getVisibleCells(), (n) => {
602
- var v, L;
603
- return a(), C(z, {
604
- key: n.id
605
- }, [
606
- ((v = t(Y)(n.getContext())) == null ? void 0 : v.colSpan) !== 0 && ((L = t(Y)(n.getContext())) == null ? void 0 : L.rowSpan) !== 0 ? (a(), A(t(G), S({
607
- key: 0,
608
- ref_for: !0
609
- }, t(Y)(n.getContext())), ye({
610
- default: m(() => [
611
- n.column.id === p.value && (_.hoverAction || _.action) ? (a(), C("div", {
612
- key: 0,
613
- onClick: r[0] || (r[0] = we(() => {
614
- }, ["stop"])),
615
- class: y(t(b)(t(u), "action_cell"))
616
- }, [
617
- $("div", {
618
- class: y([t(b)(t(u), "action_cell__hover"), e.actionHoverCls])
619
- }, [
620
- T(e.$slots, "hoverAction", S(
621
- { ref_for: !0 },
622
- {
623
- column: n.column.columnDef,
624
- record: l.original,
625
- index: g
626
- }
627
- ))
628
- ], 2),
629
- T(e.$slots, "action", S(
630
- { ref_for: !0 },
631
- {
632
- column: n.column.columnDef,
633
- record: l.original,
634
- index: g
635
- }
636
- ))
637
- ], 2)) : n.column.id !== i ? T(e.$slots, "bodyCell", S(
638
- {
639
- key: 1,
640
- ref_for: !0
641
- },
642
- {
643
- column: n.column.columnDef,
644
- record: l.original,
645
- index: g
646
- }
647
- ), () => [
648
- d(t(me), {
649
- render: n.column.columnDef.cell,
650
- props: n.getContext()
651
- }, null, 8, ["render", "props"])
652
- ]) : e.rowKey && l.original[e.rowKey] ? (a(), C("div", {
653
- key: 2,
654
- class: y(t(b)(t(u), "selection")),
655
- onClick: r[1] || (r[1] = we(() => {
656
- }, ["stop"]))
657
- }, [
658
- $("div", {
659
- class: y(t(b)(t(u), "selection_space"))
660
- }, null, 2),
661
- d(he, S({
662
- rootCls: "w-fit",
663
- disabled: !l.getCanSelect(),
664
- checked: ae(l),
665
- onChange: (ee) => Re(ee, l),
666
- ref_for: !0
667
- }, $e(l.original)), null, 16, ["disabled", "checked", "onChange"])
668
- ], 2)) : I("", !0)
669
- ]),
670
- _: 2
671
- }, [
672
- _.cellAction && ![p.value, i].includes(n.column.id) ? {
673
- name: "absoluteAction",
674
- fn: m(() => [
675
- T(e.$slots, "cellAction", S(
676
- { ref_for: !0 },
677
- {
678
- column: n.column.columnDef,
679
- record: l.original,
680
- index: g
681
- }
682
- ))
683
- ]),
684
- key: "0"
685
- } : void 0
686
- ]), 1040)) : I("", !0)
687
- ], 64);
688
- }), 128))
689
- ]),
690
- _: 2
691
- }, 1040, ["onClick"]))), 128)),
692
- s.loading ? (a(!0), C(z, { key: 0 }, V(t(h).getRowModel().rows.length ? 2 : e.loadingRowCount, (l) => (a(), A(t(x), {
693
- key: l,
694
- zebra: e.zebra
695
- }, {
696
- default: m(() => [
697
- (a(!0), C(z, null, V(t(h).getVisibleLeafColumns(), (g, n) => (a(), A(t(G), { key: n }, {
698
- default: m(() => [
699
- g.id !== i ? T(e.$slots, "skeleton", S({
700
- key: 0,
701
- ref_for: !0
702
- }, { index: n, column: g.columnDef }), () => [
703
- d(po, S({ ref_for: !0 }, t(Be)(g.columnDef)), null, 16)
704
- ]) : I("", !0)
705
- ]),
706
- _: 2
707
- }, 1024))), 128))
708
- ]),
709
- _: 2
710
- }, 1032, ["zebra"]))), 128)) : I("", !0),
711
- t(h).getRowModel().rows.length ? I("", !0) : (a(), A(t(x), {
712
- key: 1,
713
- empty: ""
714
- }, {
715
- default: m(() => [
716
- d(t(G), {
717
- colspan: t(h).getVisibleLeafColumns().length,
718
- empty: ""
719
- }, {
720
- default: m(() => [
721
- d(ro, S({ type: "advance" }, e.emptyProps), ye({ _: 2 }, [
722
- _.emptyTitle ? {
723
- name: "title",
724
- fn: m(() => [
725
- T(e.$slots, "emptyTitle")
726
- ]),
727
- key: "0"
728
- } : void 0,
729
- _.emptyDescription ? {
730
- name: "description",
731
- fn: m(() => [
732
- T(e.$slots, "emptyDescription")
733
- ]),
734
- key: "1"
735
- } : void 0,
736
- _.emptyActions ? {
737
- name: "actions",
738
- fn: m(() => [
739
- T(e.$slots, "emptyActions")
740
- ]),
741
- key: "2"
742
- } : void 0,
743
- _.emptyImage ? {
744
- name: "image",
745
- fn: m(() => [
746
- T(e.$slots, "emptyImage")
747
- ]),
748
- key: "3"
749
- } : void 0
750
- ]), 1040)
751
- ]),
752
- _: 3
753
- }, 8, ["colspan"])
754
- ]),
755
- _: 3
756
- })),
757
- e.lazyLoading ? (a(), A(t(x), {
758
- key: 2,
759
- "lazy-load-observer": ""
760
- }, {
761
- default: m(() => [
762
- d(t(G), {
763
- ref_key: "target",
764
- ref: ue,
765
- "lazy-load-observer": ""
766
- }, null, 512)
767
- ]),
768
- _: 1
769
- })) : I("", !0)
770
- ]),
771
- _: 3
772
- }, 8, ["class"])
773
- ]),
774
- _: 3
775
- }, 8, ["size", "style", "class"])
776
- ], 2)
777
- ], 2)
778
- ]),
779
- _: 3
780
- }, 8, ["open"])
781
- ], 2));
782
- }
783
- });
784
- export {
785
- Xo as _
786
- };