@pantograph/vue 0.21.2 → 0.22.0

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 (200) 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-B8q1-U7b.js → ActionButton.vue_vue_type_script_setup_true_lang-B0eNtCzk.js} +2 -2
  4. package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-BzGnAT9w.js → ActionButton.vue_vue_type_script_setup_true_lang-BIWVFbea.js} +1 -1
  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-BgCPhzhm.js → Alert.vue_vue_type_style_index_0_lang-BSIcQ4DS.js} +1 -1
  8. package/dist/{Alert.vue_vue_type_style_index_0_lang-Ch6Cdg49.js → Alert.vue_vue_type_style_index_0_lang-cIZRz6sS.js} +4 -4
  9. package/dist/Avatar/Avatar.d.ts +3 -3
  10. package/dist/Avatar/index.js +1 -1
  11. package/dist/Avatar/index.umd.cjs +1 -1
  12. package/dist/{Avatar.vue_vue_type_style_index_0_lang-B99ENcdM.js → Avatar.vue_vue_type_style_index_0_lang-CBVeKSHl.js} +4 -4
  13. package/dist/Avatar.vue_vue_type_style_index_0_lang-DR1jvjrw.js +1 -0
  14. package/dist/AvatarGroup/index.js +1 -1
  15. package/dist/AvatarGroup/index.umd.cjs +1 -1
  16. package/dist/Badge/index.js +1 -1
  17. package/dist/Badge/index.umd.cjs +1 -1
  18. package/dist/{Badge.vue_vue_type_script_setup_true_lang-Dru37hB8.js → Badge.vue_vue_type_script_setup_true_lang-CRBo7E6c.js} +1 -1
  19. package/dist/{Badge.vue_vue_type_script_setup_true_lang-DElO9DnE.js → Badge.vue_vue_type_script_setup_true_lang-DZeztsJc.js} +2 -2
  20. package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-j8GdrDeD.js → BaseBadge.vue_vue_type_style_index_0_lang-B6UPA38N.js} +1 -1
  21. package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-DM4kphRs.js → BaseBadge.vue_vue_type_style_index_0_lang-GKHPOXfN.js} +1 -1
  22. package/dist/{BaseButton.vue_vue_type_style_index_0_lang-DYmuIuEG.js → BaseButton.vue_vue_type_style_index_0_lang-CSmk6-57.js} +1 -1
  23. package/dist/{BaseButton.vue_vue_type_style_index_0_lang-Bw5S5nEn.js → BaseButton.vue_vue_type_style_index_0_lang-w7u610EL.js} +5 -5
  24. package/dist/Button/index.js +1 -1
  25. package/dist/Button/index.umd.cjs +1 -1
  26. package/dist/{Button.vue_vue_type_script_setup_true_lang-Z60mb7p4.js → Button.vue_vue_type_script_setup_true_lang-CSJG3-ae.js} +1 -1
  27. package/dist/{Button.vue_vue_type_script_setup_true_lang-CZjM7GTZ.js → Button.vue_vue_type_script_setup_true_lang-CmnxuKmC.js} +2 -2
  28. package/dist/ButtonGroup/index.js +1 -1
  29. package/dist/ButtonGroup/index.umd.cjs +1 -1
  30. package/dist/{ButtonGroup.vue_vue_type_script_setup_true_lang-BR6VXq_C.js → ButtonGroup.vue_vue_type_script_setup_true_lang-MzFTjLDZ.js} +1 -1
  31. package/dist/ButtonGroup.vue_vue_type_script_setup_true_lang-pO76J3IF.js +1 -0
  32. package/dist/Checkbox/Checkbox.d.ts +11 -4
  33. package/dist/Checkbox/index.js +1 -1
  34. package/dist/Checkbox/index.umd.cjs +1 -1
  35. package/dist/Checkbox.vue_vue_type_style_index_0_lang-BUsaushG.js +215 -0
  36. package/dist/Checkbox.vue_vue_type_style_index_0_lang-DlhaSr0r.js +1 -0
  37. package/dist/CheckboxGroup/index.js +1 -1
  38. package/dist/CheckboxGroup/index.umd.cjs +1 -1
  39. package/dist/Chip/index.js +2 -2
  40. package/dist/Chip/index.umd.cjs +1 -1
  41. package/dist/{Chip.vue_vue_type_style_index_0_lang-CZEdYeBN.js → Chip.vue_vue_type_style_index_0_lang-AsBzrLnx.js} +2 -2
  42. package/dist/{Chip.vue_vue_type_style_index_0_lang-BYie9OHq.js → Chip.vue_vue_type_style_index_0_lang-DAMN8Pat.js} +1 -1
  43. package/dist/ChipGroup/index.js +1 -1
  44. package/dist/ChipGroup/index.umd.cjs +1 -1
  45. package/dist/ChipGroup.vue_vue_type_style_index_0_lang-DD3LQS6y.js +1 -0
  46. package/dist/{ChipGroup.vue_vue_type_style_index_0_lang-BRGzbqcd.js → ChipGroup.vue_vue_type_style_index_0_lang-rpHI86wu.js} +2 -2
  47. package/dist/ColorPicker/index.js +1 -1
  48. package/dist/ColorPicker/index.umd.cjs +1 -1
  49. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-B1TTuB5q.js → ColorPicker.vue_vue_type_style_index_0_lang-BwQMhXhh.js} +2 -2
  50. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-SC8YPcVW.js → ColorPicker.vue_vue_type_style_index_0_lang-C10d9ifa.js} +4 -4
  51. package/dist/ColorSwatch/index.js +1 -1
  52. package/dist/ColorSwatch/index.umd.cjs +1 -1
  53. package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-Bi4pIg3p.js → ColorSwatch.vue_vue_type_style_index_0_lang-Bt7cQXJ-.js} +3 -3
  54. package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-C5n1gxe4.js → ColorSwatch.vue_vue_type_style_index_0_lang-Cow-jRwT.js} +1 -1
  55. package/dist/ColorSwatchGroup/index.js +1 -1
  56. package/dist/ColorSwatchGroup/index.umd.cjs +1 -1
  57. package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-BPGo2431.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-CQJBGM6K.js} +5 -5
  58. package/dist/ColorSwatchGroup.vue_vue_type_style_index_0_lang-Dmq99tNS.js +1 -0
  59. package/dist/ColorTrigger/index.js +1 -1
  60. package/dist/ColorTrigger/index.umd.cjs +1 -1
  61. package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-C8WY58zR.js → ColorTrigger.vue_vue_type_style_index_0_lang-BixlBGGN.js} +3 -3
  62. package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-DRfHldFv.js → ColorTrigger.vue_vue_type_style_index_0_lang-DzRGz03R.js} +1 -1
  63. package/dist/ConfigProvider/index.js +2 -2
  64. package/dist/ConfigProvider/index.umd.cjs +1 -1
  65. package/dist/DataTable/index.js +1 -1
  66. package/dist/DataTable/index.umd.cjs +1 -1
  67. package/dist/{DataTable.vue_vue_type_style_index_0_lang-BDg0VZio.js → DataTable.vue_vue_type_style_index_0_lang-B46DyEKC.js} +1 -1
  68. package/dist/{DataTable.vue_vue_type_style_index_0_lang-5HZRL1aJ.js → DataTable.vue_vue_type_style_index_0_lang-B_pmXaRS.js} +190 -190
  69. package/dist/DropZone/index.js +1 -1
  70. package/dist/DropZone/index.umd.cjs +1 -1
  71. package/dist/{DropZone.vue_vue_type_style_index_0_lang-Dq6_wsy0.js → DropZone.vue_vue_type_style_index_0_lang-Cn0joiBW.js} +2 -2
  72. package/dist/{DropZone.vue_vue_type_style_index_0_lang-C0mEMOIV.js → DropZone.vue_vue_type_style_index_0_lang-iZaJAHgd.js} +1 -1
  73. package/dist/Empty/index.js +1 -1
  74. package/dist/Empty/index.umd.cjs +1 -1
  75. package/dist/{Empty.vue_vue_type_style_index_0_lang-UA0yua2t.js → Empty.vue_vue_type_style_index_0_lang-h8MWwTRY.js} +1 -1
  76. package/dist/{Empty.vue_vue_type_style_index_0_lang-CW4zmuyF.js → Empty.vue_vue_type_style_index_0_lang-j4NDDwxW.js} +1 -1
  77. package/dist/FloatButton/index.js +1 -1
  78. package/dist/FloatButton/index.umd.cjs +1 -1
  79. package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-DU9DbaE-.js → FloatButton.vue_vue_type_script_setup_true_lang-CvQ3HHH8.js} +2 -2
  80. package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-DWVJEFxP.js → FloatButton.vue_vue_type_script_setup_true_lang-nOzkjuVx.js} +1 -1
  81. package/dist/Form/index.js +1 -1
  82. package/dist/Form/index.umd.cjs +1 -1
  83. package/dist/GOPicker/index.js +1 -1
  84. package/dist/GOPicker/index.umd.cjs +1 -1
  85. package/dist/{GOPicker.vue_vue_type_style_index_0_lang-Bg0YOwzO.js → GOPicker.vue_vue_type_style_index_0_lang-CKOLjTAw.js} +1 -1
  86. package/dist/{GOPicker.vue_vue_type_style_index_0_lang-CA-BheCF.js → GOPicker.vue_vue_type_style_index_0_lang-YsBsYzMO.js} +11 -11
  87. package/dist/GraphicalObject/index.js +1 -1
  88. package/dist/GraphicalObject/index.umd.cjs +1 -1
  89. package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-DWM4S797.js → GraphicalObject.vue_vue_type_script_setup_true_lang-C-x3X735.js} +1 -1
  90. package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-B8vVT9JI.js → GraphicalObject.vue_vue_type_script_setup_true_lang-DA2fe1n4.js} +3 -3
  91. package/dist/GraphicalObjectGroup/index.js +1 -1
  92. package/dist/GraphicalObjectGroup/index.umd.cjs +1 -1
  93. package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-CTrBeoQI.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-CC3p20Tg.js} +2 -2
  94. package/dist/GraphicalObjectGroup.vue_vue_type_style_index_0_lang-DI_xE1fO.js +1 -0
  95. package/dist/Icon/index.js +1 -1
  96. package/dist/Icon/index.umd.cjs +1 -1
  97. package/dist/{Icon.vue_vue_type_style_index_0_lang-Gp0vXmkr.js → Icon.vue_vue_type_style_index_0_lang-CIFtTipO.js} +1 -1
  98. package/dist/{Icon.vue_vue_type_style_index_0_lang-CrhBHELo.js → Icon.vue_vue_type_style_index_0_lang-CpvDQCOg.js} +1 -1
  99. package/dist/IconButton/index.js +1 -1
  100. package/dist/IconButton/index.umd.cjs +1 -1
  101. package/dist/{IconButton.vue_vue_type_script_setup_true_lang-B1haWFmq.js → IconButton.vue_vue_type_script_setup_true_lang-COiaP6-B.js} +2 -2
  102. package/dist/{IconButton.vue_vue_type_script_setup_true_lang-BPN4U_Yn.js → IconButton.vue_vue_type_script_setup_true_lang-Dw89u232.js} +1 -1
  103. package/dist/Image/index.js +1 -1
  104. package/dist/Image/index.umd.cjs +1 -1
  105. package/dist/{Image.vue_vue_type_style_index_0_lang-CTyFEwij.js → Image.vue_vue_type_style_index_0_lang-CwYetQrM.js} +2 -2
  106. package/dist/{Image.vue_vue_type_style_index_0_lang-CAXPKaxV.js → Image.vue_vue_type_style_index_0_lang-D_sqFods.js} +1 -1
  107. package/dist/IndentLevel/index.js +1 -1
  108. package/dist/IndentLevel/index.umd.cjs +1 -1
  109. package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-CjG4lEQy.js → IndentLevel.vue_vue_type_style_index_0_lang-BVtAN0Og.js} +3 -3
  110. package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-BPzoumIZ.js → IndentLevel.vue_vue_type_style_index_0_lang-DQHWuDOz.js} +1 -1
  111. package/dist/Indicator/index.js +1 -1
  112. package/dist/Indicator/index.umd.cjs +1 -1
  113. package/dist/{Indicator.vue_vue_type_script_setup_true_lang-Cs745Rn5.js → Indicator.vue_vue_type_script_setup_true_lang-Bv33d-sy.js} +2 -2
  114. package/dist/{Indicator.vue_vue_type_script_setup_true_lang-r1BKX08A.js → Indicator.vue_vue_type_script_setup_true_lang-TIymCipl.js} +1 -1
  115. package/dist/Input/index.js +1 -1
  116. package/dist/Input/index.umd.cjs +1 -1
  117. package/dist/{Input.vue_vue_type_style_index_0_lang-CNap8ul_.js → Input.vue_vue_type_style_index_0_lang-CZCW5FNF.js} +1 -1
  118. package/dist/{Input.vue_vue_type_style_index_0_lang-CRZyvUFJ.js → Input.vue_vue_type_style_index_0_lang-D-5lM9jt.js} +2 -2
  119. package/dist/Kbd/index.js +1 -1
  120. package/dist/Kbd/index.umd.cjs +1 -1
  121. package/dist/{Kbd.vue_vue_type_style_index_0_lang-BOL-006a.js → Kbd.vue_vue_type_style_index_0_lang-BfteklVJ.js} +1 -1
  122. package/dist/{Kbd.vue_vue_type_style_index_0_lang-R0yx93QG.js → Kbd.vue_vue_type_style_index_0_lang-CCgfPLZn.js} +1 -1
  123. package/dist/Label/index.js +1 -1
  124. package/dist/Label/index.umd.cjs +1 -1
  125. package/dist/Link/index.js +1 -1
  126. package/dist/Link/index.umd.cjs +1 -1
  127. package/dist/{Link.vue_vue_type_style_index_0_lang-COVmmkp9.js → Link.vue_vue_type_style_index_0_lang-D6XzXTaK.js} +1 -1
  128. package/dist/{Link.vue_vue_type_style_index_0_lang-BpDb2vUM.js → Link.vue_vue_type_style_index_0_lang-DG28PgqB.js} +1 -1
  129. package/dist/Menu/index.js +1 -1
  130. package/dist/Menu/index.umd.cjs +1 -1
  131. package/dist/{Menu.vue_vue_type_style_index_0_lang-DTW4orti.js → Menu.vue_vue_type_style_index_0_lang-BrnaLusN.js} +4 -4
  132. package/dist/Menu.vue_vue_type_style_index_0_lang-CyYhodWd.js +1 -0
  133. package/dist/MenuItem/index.js +1 -1
  134. package/dist/MenuItem/index.umd.cjs +1 -1
  135. package/dist/Popover/Popover.d.ts +78 -30
  136. package/dist/Popover/index.js +1 -1
  137. package/dist/Popover/index.umd.cjs +1 -1
  138. package/dist/Popover.vue_vue_type_style_index_0_lang-BklvbKcI.js +1 -0
  139. package/dist/{Popover.vue_vue_type_style_index_0_lang-UuHTrCiM.js → Popover.vue_vue_type_style_index_0_lang-Nc78vcLj.js} +12 -11
  140. package/dist/RadioGroup/RadioGroup.d.ts +3 -2
  141. package/dist/RadioGroup/RadioGroupItem.d.ts +1 -1
  142. package/dist/RadioGroup/index.js +1 -1
  143. package/dist/RadioGroup/index.umd.cjs +1 -1
  144. package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-CM5wgorK.js +1 -0
  145. package/dist/{RadioGroup.vue_vue_type_script_setup_true_lang-Bv3IOvUe.js → RadioGroup.vue_vue_type_script_setup_true_lang-_JHawXtl.js} +8 -8
  146. package/dist/ScrollContainer/ScrollContainer.d.ts +105 -442
  147. package/dist/ScrollContainer/index.js +1 -1
  148. package/dist/ScrollContainer/index.umd.cjs +1 -1
  149. package/dist/{ScrollContainer.vue_vue_type_style_index_0_lang-Bt1fBbyN.js → ScrollContainer.vue_vue_type_style_index_0_lang-C9wALvlT.js} +2 -2
  150. package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-DMSP8-2P.js +1 -0
  151. package/dist/Shortcut/index.js +1 -1
  152. package/dist/Shortcut/index.umd.cjs +1 -1
  153. package/dist/{Shortcut.vue_vue_type_style_index_0_lang-DNvbjDrv.js → Shortcut.vue_vue_type_style_index_0_lang-BVZMx2lR.js} +1 -1
  154. package/dist/{Shortcut.vue_vue_type_style_index_0_lang-CgQEuKTb.js → Shortcut.vue_vue_type_style_index_0_lang-DOOFhmFt.js} +2 -2
  155. package/dist/Spinner/index.js +1 -1
  156. package/dist/Spinner/index.umd.cjs +1 -1
  157. package/dist/{Spinner.vue_vue_type_style_index_0_lang-SZIE8-Jc.js → Spinner.vue_vue_type_style_index_0_lang-8jSg4kDU.js} +1 -1
  158. package/dist/{Spinner.vue_vue_type_style_index_0_lang-fP-gV74x.js → Spinner.vue_vue_type_style_index_0_lang-hnGKuGCg.js} +1 -1
  159. package/dist/Switch/Switch.d.ts +17 -4
  160. package/dist/Switch/index.js +1 -1
  161. package/dist/Switch/index.umd.cjs +1 -1
  162. package/dist/Switch.vue_vue_type_style_index_0_lang-CCyWevBz.js +137 -0
  163. package/dist/Switch.vue_vue_type_style_index_0_lang-CXl-twKR.js +1 -0
  164. package/dist/{THead.vue_vue_type_style_index_0_lang-Cp3Vgqn2.js → THead.vue_vue_type_style_index_0_lang-ByopipuK.js} +1 -1
  165. package/dist/{THead.vue_vue_type_style_index_0_lang-BI8JFzWX.js → THead.vue_vue_type_style_index_0_lang-CgYhkGxH.js} +1 -1
  166. package/dist/Table/index.js +1 -1
  167. package/dist/Table/index.umd.cjs +1 -1
  168. package/dist/Textarea/Textarea.d.ts +168 -682
  169. package/dist/Textarea/index.js +1 -1
  170. package/dist/Textarea/index.umd.cjs +1 -1
  171. package/dist/{Textarea.vue_vue_type_style_index_0_lang-AkgBWcXN.js → Textarea.vue_vue_type_style_index_0_lang-DHlg1Lpw.js} +4 -4
  172. package/dist/Textarea.vue_vue_type_style_index_0_lang-DTiYWQtC.js +1 -0
  173. package/dist/Tree/index.js +1 -1
  174. package/dist/Tree/index.umd.cjs +1 -1
  175. package/dist/{Tree.vue_vue_type_style_index_0_lang-Crs0cBZn.js → Tree.vue_vue_type_style_index_0_lang-BtdRHKAx.js} +36 -36
  176. package/dist/Tree.vue_vue_type_style_index_0_lang-Cyg5lThY.js +1 -0
  177. package/dist/index.js +39 -39
  178. package/dist/index.umd.cjs +1 -1
  179. package/dist/{uniq-B62BH-AD.js → uniq-DQ1DR2NQ.js} +1 -1
  180. package/dist/{uniq-CMyIOTjw.js → uniq-DUBh_cnK.js} +1 -1
  181. package/dist/{useInputDataStates-DbWo8etg.js → useInputDataStates-Bbj0JbCD.js} +1 -1
  182. package/dist/{useInputDataStates-V2dK_946.js → useInputDataStates-NUYy6fip.js} +1 -1
  183. package/dist/utils/index.js +1 -1
  184. package/dist/utils/index.umd.cjs +1 -1
  185. package/package.json +2 -2
  186. package/dist/Avatar.vue_vue_type_style_index_0_lang-CLjN3Jex.js +0 -1
  187. package/dist/ButtonGroup.vue_vue_type_script_setup_true_lang-BMgmz-S9.js +0 -1
  188. package/dist/Checkbox.vue_vue_type_style_index_0_lang-BypsMuRC.js +0 -1
  189. package/dist/Checkbox.vue_vue_type_style_index_0_lang-C303q2VZ.js +0 -212
  190. package/dist/ChipGroup.vue_vue_type_style_index_0_lang-CU5k80Ad.js +0 -1
  191. package/dist/ColorSwatchGroup.vue_vue_type_style_index_0_lang-Fio32nc0.js +0 -1
  192. package/dist/GraphicalObjectGroup.vue_vue_type_style_index_0_lang-OiQE0sav.js +0 -1
  193. package/dist/Menu.vue_vue_type_style_index_0_lang-BDMJTquz.js +0 -1
  194. package/dist/Popover.vue_vue_type_style_index_0_lang-CGCJl9xs.js +0 -1
  195. package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-PtI5JYKq.js +0 -1
  196. package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-Ckw_ouRd.js +0 -1
  197. package/dist/Switch.vue_vue_type_style_index_0_lang-B2COu6kF.js +0 -108
  198. package/dist/Switch.vue_vue_type_style_index_0_lang-DmX_e039.js +0 -1
  199. package/dist/Textarea.vue_vue_type_style_index_0_lang-Bl_g9M67.js +0 -1
  200. package/dist/Tree.vue_vue_type_style_index_0_lang-eGE7QDQa.js +0 -1
@@ -1,37 +1,37 @@
1
- import { h as xe, ref as G, computed as I, watch as ie, unref as t, nextTick as se, defineComponent as Ze, useSlots as qe, useTemplateRef as Ge, onBeforeUnmount as Ue, shallowRef as Je, createElementBlock as $, openBlock as C, normalizeClass as b, createVNode as S, withCtx as v, mergeProps as R, normalizeStyle as Qe, createElementVNode as H, createBlock as O, createCommentVNode as W, Fragment as K, renderList as j, renderSlot as E, createTextVNode as Xe, toDisplayString as ve, createSlots as ye, withModifiers as Ce, normalizeProps as ne, guardReactiveProps as Ye } from "vue";
2
- import { flattenBy as De, createColumnHelper as Ke, useVueTable as et, getSortedRowModel as tt, getCoreRowModel as nt } from "@tanstack/vue-table";
3
- import { _ as Se } from "./Checkbox.vue_vue_type_style_index_0_lang-C303q2VZ.js";
4
- import { _ as ot, a as oe } from "./Menu.vue_vue_type_style_index_0_lang-DTW4orti.js";
5
- import { _ as rt } from "./ActionButton.vue_vue_type_script_setup_true_lang-B8q1-U7b.js";
6
- import { _ as lt } from "./Empty.vue_vue_type_style_index_0_lang-CW4zmuyF.js";
7
- import { h as q, t as ke, w as L, o as ce, A as st, B as it, D as _e, E as Y, v as be, G as ct, H as ae, J as Re, K as re, M as at, N as Le, O as ut, P as ft, Q as dt, R as mt, T as gt, U as pt, V as ht, r as F, n as $e, f as le } from "./Icon.vue_vue_type_style_index_0_lang-CrhBHELo.js";
8
- import { usePCId as wt, getBemBlock as vt, wgt_pre as yt, generateVariantClassList as Ct, getBemElement as B } from "@pantograph/utils";
9
- import { useBreakpoints as St, useIntersectionObserver as kt } from "@vueuse/core";
10
- import { _ as _t } from "./Skeleton.vue_vue_type_style_index_0_lang-aSGb2hn6.js";
11
- import { _ as Be } from "./Popover.vue_vue_type_style_index_0_lang-UuHTrCiM.js";
12
- import { _ as bt } from "./Tooltip.vue_vue_type_script_setup_true_lang-DX19Sbqt.js";
13
- import { _ as Rt } from "./Badge.vue_vue_type_script_setup_true_lang-DElO9DnE.js";
1
+ import { h as xe, ref as G, computed as I, watch as ie, unref as t, nextTick as se, defineComponent as Ze, useSlots as qe, useTemplateRef as Ge, onBeforeUnmount as Ue, shallowRef as Je, createElementBlock as $, openBlock as C, normalizeClass as k, createVNode as S, withCtx as v, mergeProps as R, normalizeStyle as Qe, createElementVNode as H, createBlock as O, createCommentVNode as W, Fragment as D, renderList as j, renderSlot as E, createTextVNode as Xe, toDisplayString as ve, createSlots as ye, withModifiers as Ce, normalizeProps as ne, guardReactiveProps as Ye } from "vue";
2
+ import { flattenBy as Ve, createColumnHelper as De, useVueTable as et, getSortedRowModel as tt, getCoreRowModel as nt } from "@tanstack/vue-table";
3
+ import { _ as Se } from "./Checkbox.vue_vue_type_style_index_0_lang-BUsaushG.js";
4
+ import { _ as ot, a as oe } from "./Menu.vue_vue_type_style_index_0_lang-BrnaLusN.js";
5
+ import { _ as rt } from "./ActionButton.vue_vue_type_script_setup_true_lang-B0eNtCzk.js";
6
+ import { _ as lt } from "./Empty.vue_vue_type_style_index_0_lang-j4NDDwxW.js";
7
+ import { h as q, t as _e, w as K, o as ce, A as st, B as it, D as be, E as Y, v as ke, G as ct, H as ae, J as Re, K as re, M as at, N as Ke, O as ut, P as ft, Q as dt, R as mt, T as gt, U as pt, V as wt, r as F, n as $e, f as le } from "./Icon.vue_vue_type_style_index_0_lang-CpvDQCOg.js";
8
+ import { usePCId as ht, getBemBlock as vt, wgt_pre as yt, generateVariantClassList as Ct, getBemElement as B } from "@pantograph/utils";
9
+ import { useBreakpoints as St, useIntersectionObserver as _t } from "@vueuse/core";
10
+ import { _ as bt } from "./Skeleton.vue_vue_type_style_index_0_lang-aSGb2hn6.js";
11
+ import { _ as Be } from "./Popover.vue_vue_type_style_index_0_lang-Nc78vcLj.js";
12
+ import { _ as kt } from "./Tooltip.vue_vue_type_script_setup_true_lang-DX19Sbqt.js";
13
+ import { _ as Rt } from "./Badge.vue_vue_type_script_setup_true_lang-DZeztsJc.js";
14
14
  import { _ as Pe } from "./Divider.vue_vue_type_style_index_0_lang-DapqjSGc.js";
15
- import { _ as Ae } from "./IconButton.vue_vue_type_script_setup_true_lang-B1haWFmq.js";
16
- import { _ as $t } from "./Switch.vue_vue_type_style_index_0_lang-B2COu6kF.js";
15
+ import { _ as Ae } from "./IconButton.vue_vue_type_script_setup_true_lang-COiaP6-B.js";
16
+ import { _ as $t } from "./Switch.vue_vue_type_style_index_0_lang-CCyWevBz.js";
17
17
  import { cva as Bt } from "class-variance-authority";
18
- import { _ as Pt, e as At, c as Z, a as zt, d as Tt, b as X } from "./THead.vue_vue_type_style_index_0_lang-BI8JFzWX.js";
19
- import { _ as Dt } from "./ScrollContainer.vue_vue_type_style_index_0_lang-Bt1fBbyN.js";
20
- import { u as Kt } from "./uniq-CMyIOTjw.js";
21
- import { getBreakpoints as Lt } from "@pantograph/tokens";
22
- const Mt = ({ isColumnWrapped: n, selectionId: l }) => {
18
+ import { _ as Pt, e as At, c as Z, a as zt, d as Tt, b as X } from "./THead.vue_vue_type_style_index_0_lang-CgYhkGxH.js";
19
+ import { _ as Vt } from "./ScrollContainer.vue_vue_type_style_index_0_lang-C9wALvlT.js";
20
+ import { u as Dt } from "./uniq-DUBh_cnK.js";
21
+ import { getBreakpoints as Kt } from "@pantograph/tokens";
22
+ const Lt = ({ isColumnWrapped: n, selectionId: l }) => {
23
23
  const r = (e) => {
24
24
  var a;
25
- const m = (k) => k === "list" ? "md" : "sm";
25
+ const m = (_) => _ === "list" ? "md" : "sm";
26
26
  return {
27
27
  ...(e == null ? void 0 : e.skeletonProps) ?? {},
28
28
  style: "width: 100%",
29
29
  size: m((a = e == null ? void 0 : e.skeletonProps) == null ? void 0 : a.type)
30
30
  };
31
31
  }, d = (e) => {
32
- var a, k;
32
+ var a, _;
33
33
  const m = (a = e.props) == null ? void 0 : a.column.columnDef;
34
- return L(m == null ? void 0 : m.render) && e.props.row ? (k = m == null ? void 0 : m.render) == null ? void 0 : k.call(m, {
34
+ return K(m == null ? void 0 : m.render) && e.props.row ? (_ = m == null ? void 0 : m.render) == null ? void 0 : _.call(m, {
35
35
  index: e.props.row.index,
36
36
  record: e.props.row.original,
37
37
  column: ce(m, "render")
@@ -39,45 +39,45 @@ const Mt = ({ isColumnWrapped: n, selectionId: l }) => {
39
39
  }, f = (e) => {
40
40
  let m = {};
41
41
  if (e) {
42
- const a = (T) => Number(T) >= 0 ? `${T}px` : T, { width: k, maxWidth: z, minWidth: y } = e;
43
- (k || z || y) && (m = {
44
- width: a(k),
42
+ const a = (T) => Number(T) >= 0 ? `${T}px` : T, { width: _, maxWidth: z, minWidth: y } = e;
43
+ (_ || z || y) && (m = {
44
+ width: a(_),
45
45
  maxWidth: a(z),
46
46
  minWidth: a(y),
47
- overflow: k || z ? "hidden" : void 0
47
+ overflow: _ || z ? "hidden" : void 0
48
48
  });
49
49
  }
50
50
  return m;
51
51
  }, o = {}, i = (e, m = !0) => {
52
- var k;
52
+ var _;
53
53
  let a = 1;
54
- return ((k = e == null ? void 0 : e.subHeaders) == null ? void 0 : k.length) === 1 && e.column.id === e.subHeaders[0].column.id && (a += i(e.subHeaders[0], !1)), m && (!o[e.column.id] || o[e.column.id] < a) && (o[e.column.id] = a), a;
54
+ return ((_ = e == null ? void 0 : e.subHeaders) == null ? void 0 : _.length) === 1 && e.column.id === e.subHeaders[0].column.id && (a += i(e.subHeaders[0], !1)), m && (!o[e.column.id] || o[e.column.id] < a) && (o[e.column.id] = a), a;
55
55
  }, g = (e, m = {}) => {
56
56
  var a;
57
57
  if (e != null && e.column) {
58
- const k = (a = e == null ? void 0 : e.column) == null ? void 0 : a.columnDef, z = [], y = {};
59
- if (q(k)) {
58
+ const _ = (a = e == null ? void 0 : e.column) == null ? void 0 : a.columnDef, z = [], y = {};
59
+ if (q(_)) {
60
60
  let T = n(e.column.id);
61
- const { customCell: M, class: U } = k;
62
- if (ke(U) || z.push(U), M && (q(M) || L(M))) {
61
+ const { customCell: L, class: U } = _;
62
+ if (_e(U) || z.push(U), L && (q(L) || K(L))) {
63
63
  const J = (N) => {
64
64
  if (q(N)) {
65
- const { wrap: Q, colSpan: D, rowSpan: ee } = N;
66
- T = T || (Q ?? !1), y.colSpan = D, y.rowSpan = ee;
65
+ const { wrap: Q, colSpan: V, rowSpan: ee } = N;
66
+ T = T || (Q ?? !1), y.colSpan = V, y.rowSpan = ee;
67
67
  }
68
68
  };
69
- L(M) && e.row ? J(
70
- M({
69
+ K(L) && e.row ? J(
70
+ L({
71
71
  index: e.row.index,
72
72
  record: e.row.original,
73
- column: k
73
+ column: _
74
74
  })
75
- ) : J(M);
75
+ ) : J(L);
76
76
  }
77
77
  e.header ? y.rowSpan = i(e.header) : T && (y.wrap = !0);
78
78
  }
79
79
  return {
80
- class: ke(z) ? void 0 : z,
80
+ class: _e(z) ? void 0 : z,
81
81
  ...y,
82
82
  ...m
83
83
  };
@@ -88,10 +88,10 @@ const Mt = ({ isColumnWrapped: n, selectionId: l }) => {
88
88
  getSkeletonProps: r,
89
89
  RenderCell: d,
90
90
  getThProps: (e) => {
91
- var m, a, k;
91
+ var m, a, _;
92
92
  return g(e, {
93
93
  colSpan: (m = e == null ? void 0 : e.header) == null ? void 0 : m.colSpan,
94
- "data-has-children": ((k = (a = e == null ? void 0 : e.column) == null ? void 0 : a.columns) == null ? void 0 : k.length) > 1 ? !0 : void 0
94
+ "data-has-children": ((_ = (a = e == null ? void 0 : e.column) == null ? void 0 : a.columns) == null ? void 0 : _.length) > 1 ? !0 : void 0
95
95
  });
96
96
  },
97
97
  getTdProps: (e) => g(e),
@@ -104,9 +104,9 @@ const Mt = ({ isColumnWrapped: n, selectionId: l }) => {
104
104
  isThVisible: (e, m, a) => o[a] === 1 ? !0 : m - e === o[a]
105
105
  };
106
106
  };
107
- var Vt = "[object Boolean]";
107
+ var Mt = "[object Boolean]";
108
108
  function Ot(n) {
109
- return n === !0 || n === !1 || st(n) && it(n) == Vt;
109
+ return n === !0 || n === !1 || st(n) && it(n) == Mt;
110
110
  }
111
111
  const Et = (n) => {
112
112
  const l = G([]), r = (g) => g ? l.value.findIndex((p) => p.id === g) : -1, d = (g) => {
@@ -117,8 +117,8 @@ const Et = (n) => {
117
117
  }, o = (g) => {
118
118
  const { id: p } = g;
119
119
  if (!p) return !1;
120
- const _ = g.wrap ?? !f(p), u = r(p);
121
- return u >= 0 ? l.value[u] = { id: p, wrap: _ } : l.value.push({ id: p, wrap: _ }), !0;
120
+ const b = g.wrap ?? !f(p), u = r(p);
121
+ return u >= 0 ? l.value[u] = { id: p, wrap: b } : l.value.push({ id: p, wrap: b }), !0;
122
122
  }, i = I(
123
123
  () => (n.columns ?? []).filter((g) => Ot(g.wrap)).map((g) => ({
124
124
  id: g.id,
@@ -147,19 +147,19 @@ const Et = (n) => {
147
147
  },
148
148
  (u, c) => {
149
149
  var e, m;
150
- if ((m = (e = n.rowSelection) == null ? void 0 : e.selectedRowKeys) != null && m.length && !_e(u, c)) {
150
+ if ((m = (e = n.rowSelection) == null ? void 0 : e.selectedRowKeys) != null && m.length && !be(u, c)) {
151
151
  const a = Object.fromEntries(
152
152
  t(n.rowSelection.selectedRowKeys ?? Object.keys(d.value)).map(
153
- (k) => [k, !0]
153
+ (_) => [_, !0]
154
154
  )
155
155
  );
156
- _e(a, d.value) || (d.value = a);
156
+ be(a, d.value) || (d.value = a);
157
157
  }
158
158
  },
159
159
  { immediate: !0 }
160
160
  );
161
161
  const o = I(
162
- () => n.rowKey ? De(n.data, (u) => u.children).map(
162
+ () => n.rowKey ? Ve(n.data, (u) => u.children).map(
163
163
  (u) => u[n.rowKey]
164
164
  ) : []
165
165
  ), i = () => {
@@ -172,7 +172,7 @@ const Et = (n) => {
172
172
  Object.keys(u).length !== f.value.length && (d.value = u, se(() => {
173
173
  r();
174
174
  }));
175
- }, g = Ke();
175
+ }, g = De();
176
176
  return {
177
177
  rowSelection: d,
178
178
  selectedRowKeys: f,
@@ -195,7 +195,7 @@ const Et = (n) => {
195
195
  })), o = (u) => {
196
196
  n.getIsSomeRowsSelected() || n.getIsAllRowsSelected() ? n.toggleAllRowsSelected(!1) : n.toggleAllRowsSelected(!0), se(() => {
197
197
  var c, e;
198
- L((c = r.rowSelection) == null ? void 0 : c.onSelectAll) && r.rowSelection.onSelectAll({ ...f.value, selected: u }), L((e = r.rowSelection) == null ? void 0 : e.onChange) && r.rowSelection.onChange(f.value);
198
+ K((c = r.rowSelection) == null ? void 0 : c.onSelectAll) && r.rowSelection.onSelectAll({ ...f.value, selected: u }), K((e = r.rowSelection) == null ? void 0 : e.onChange) && r.rowSelection.onChange(f.value);
199
199
  });
200
200
  }, i = (u, c) => {
201
201
  var e;
@@ -203,15 +203,15 @@ const Et = (n) => {
203
203
  selectChildren: !((e = r.rowSelection) != null && e.checkStrictly)
204
204
  }), se(() => {
205
205
  var m, a;
206
- L((m = r.rowSelection) == null ? void 0 : m.onSelect) && r.rowSelection.onSelect({
206
+ K((m = r.rowSelection) == null ? void 0 : m.onSelect) && r.rowSelection.onSelect({
207
207
  ...f.value,
208
208
  selected: u,
209
209
  record: c.original
210
- }), L((a = r.rowSelection) == null ? void 0 : a.onChange) && r.rowSelection.onChange(f.value);
210
+ }), K((a = r.rowSelection) == null ? void 0 : a.onChange) && r.rowSelection.onChange(f.value);
211
211
  });
212
212
  }, g = (u) => {
213
213
  var c, e;
214
- return L((c = r.rowSelection) == null ? void 0 : c.getCheckboxProps) && ((e = r.rowSelection) == null || e.getCheckboxProps(u)), {};
214
+ return K((c = r.rowSelection) == null ? void 0 : c.getCheckboxProps) && ((e = r.rowSelection) == null || e.getCheckboxProps(u)), {};
215
215
  }, p = (u) => {
216
216
  var c;
217
217
  if (u.getIsSelected()) return !0;
@@ -220,14 +220,14 @@ const Et = (n) => {
220
220
  if (u.getIsSomeSelected()) return "indeterminate";
221
221
  }
222
222
  return !1;
223
- }, _ = I(() => n.getFilteredSelectedRowModel().flatRows.length);
223
+ }, b = I(() => n.getFilteredSelectedRowModel().flatRows.length);
224
224
  return {
225
225
  getCheckedAll: d,
226
226
  checkAll: o,
227
227
  check: i,
228
228
  getCheckboxProps: g,
229
229
  getRowChecked: p,
230
- selectedItemsLength: _,
230
+ selectedItemsLength: b,
231
231
  getSelectCallbackProps: f
232
232
  };
233
233
  }, It = ({
@@ -236,18 +236,18 @@ const Et = (n) => {
236
236
  slots: r,
237
237
  getSelectionCol: d
238
238
  }) => {
239
- const f = Ke(), o = I(() => {
239
+ const f = De(), o = I(() => {
240
240
  var c;
241
241
  return ((c = n.actionCol) == null ? void 0 : c.id) ?? `$${l}_action$`;
242
242
  }), i = I(() => {
243
243
  var z;
244
244
  const c = (y) => ce(y ?? {}, "columns", "id"), e = (y) => {
245
- var M;
246
- const T = y.id ?? wt(`${l}--col`);
247
- return Y(be(y, n.childrenColumnName ?? "children")) ? f.group({
245
+ var L;
246
+ const T = y.id ?? ht(`${l}--col`);
247
+ return Y(ke(y, n.childrenColumnName ?? "children")) ? f.group({
248
248
  header: y.title,
249
249
  id: T,
250
- columns: (M = be(y, n.childrenColumnName ?? "children") ?? []) == null ? void 0 : M.map(e),
250
+ columns: (L = ke(y, n.childrenColumnName ?? "children") ?? []) == null ? void 0 : L.map(e),
251
251
  enableSorting: !1,
252
252
  ...c(y)
253
253
  }) : f.accessor(y.dataIndex ?? y.id, {
@@ -259,9 +259,9 @@ const Et = (n) => {
259
259
  };
260
260
  if (!Y(n.columns)) throw "no columns";
261
261
  const m = n.columns.map(({ id: y }) => y);
262
- if (Kt(m).length !== m.length) throw "no uniq column ids";
263
- const a = [], k = d();
264
- return k && a.push(k), n.columns.forEach((y) => {
262
+ if (Dt(m).length !== m.length) throw "no uniq column ids";
263
+ const a = [], _ = d();
264
+ return _ && a.push(_), n.columns.forEach((y) => {
265
265
  a.push(e(y));
266
266
  }), (r.action || r.hoverAction) && a.push(
267
267
  f.accessor(o.value, {
@@ -271,17 +271,17 @@ const Et = (n) => {
271
271
  ...c(n.actionCol)
272
272
  })
273
273
  ), a;
274
- }), g = Lt(), _ = St(
274
+ }), g = Kt(), b = St(
275
275
  Object.fromEntries(
276
276
  Object.keys(g).map((c) => [c, g[c].minWidth])
277
277
  ),
278
278
  { strategy: "min-width" }
279
279
  ).active(), u = G({});
280
280
  return ie(
281
- _,
281
+ b,
282
282
  (c) => {
283
283
  u.value = Object.fromEntries(
284
- De(i.value, (e) => e.columns).map((e) => {
284
+ Ve(i.value, (e) => e.columns).map((e) => {
285
285
  var m;
286
286
  return [
287
287
  e.id,
@@ -337,10 +337,10 @@ function Gt(n, l) {
337
337
  }
338
338
  function Ut(n, l) {
339
339
  if (n !== l) {
340
- var r = n !== void 0, d = n === null, f = n === n, o = Re(n), i = l !== void 0, g = l === null, p = l === l, _ = Re(l);
341
- if (!g && !_ && !o && n > l || o && i && p && !g && !_ || d && i && p || !r && p || !f)
340
+ var r = n !== void 0, d = n === null, f = n === n, o = Re(n), i = l !== void 0, g = l === null, p = l === l, b = Re(l);
341
+ if (!g && !b && !o && n > l || o && i && p && !g && !b || d && i && p || !r && p || !f)
342
342
  return 1;
343
- if (!d && !o && !_ && n < l || _ && r && f && !d && !o || g && r && f || !i && f || !p)
343
+ if (!d && !o && !b && n < l || b && r && f && !d && !o || g && r && f || !i && f || !p)
344
344
  return -1;
345
345
  }
346
346
  return 0;
@@ -351,8 +351,8 @@ function Jt(n, l, r) {
351
351
  if (p) {
352
352
  if (d >= g)
353
353
  return p;
354
- var _ = r[d];
355
- return p * (_ == "desc" ? -1 : 1);
354
+ var b = r[d];
355
+ return p * (b == "desc" ? -1 : 1);
356
356
  }
357
357
  }
358
358
  return n.index - l.index;
@@ -362,12 +362,12 @@ function Qt(n, l, r) {
362
362
  return Y(o) ? function(i) {
363
363
  return at(i, o.length === 1 ? o[0] : o);
364
364
  } : o;
365
- }) : l = [Le];
365
+ }) : l = [Ke];
366
366
  var d = -1;
367
367
  l = re(l, ut(ft));
368
368
  var f = qt(n, function(o, i, g) {
369
- var p = re(l, function(_) {
370
- return _(o);
369
+ var p = re(l, function(b) {
370
+ return b(o);
371
371
  });
372
372
  return { criteria: p, index: ++d, value: o };
373
373
  });
@@ -376,7 +376,7 @@ function Qt(n, l, r) {
376
376
  });
377
377
  }
378
378
  function Xt(n, l) {
379
- return dt(mt(n, l, Le), n + "");
379
+ return dt(mt(n, l, Ke), n + "");
380
380
  }
381
381
  function ze(n, l, r) {
382
382
  if (!q(r))
@@ -388,7 +388,7 @@ var Te = Xt(function(n, l) {
388
388
  if (n == null)
389
389
  return [];
390
390
  var r = l.length;
391
- return r > 1 && ze(n, l[0], l[1]) ? l = [] : r > 2 && ze(l[0], l[1], l[2]) && (l = [l[0]]), Qt(n, ht(l), []);
391
+ return r > 1 && ze(n, l[0], l[1]) ? l = [] : r > 2 && ze(l[0], l[1], l[2]) && (l = [l[0]]), Qt(n, wt(l), []);
392
392
  });
393
393
  const Yt = (n, l, r) => {
394
394
  const d = (u) => {
@@ -424,7 +424,7 @@ const Yt = (n, l, r) => {
424
424
  toggleSort: g,
425
425
  getIsSorted: p
426
426
  };
427
- }, kn = /* @__PURE__ */ Ze({
427
+ }, _n = /* @__PURE__ */ Ze({
428
428
  __name: "DataTable",
429
429
  props: {
430
430
  columns: {},
@@ -459,17 +459,17 @@ const Yt = (n, l, r) => {
459
459
  variants: {
460
460
  empty: Ct("empty", o)
461
461
  }
462
- }), { rowSelection: p, checkSelections: _, getSelectionCol: u, clearSelection: c, selectedRowKeys: e } = Ht(r, {
462
+ }), { rowSelection: p, checkSelections: b, getSelectionCol: u, clearSelection: c, selectedRowKeys: e } = Ht(r, {
463
463
  colId: i,
464
464
  onSelectionChange: () => {
465
465
  var s;
466
- L((s = r.rowSelection) == null ? void 0 : s.onChange) && r.rowSelection.onChange(de.value);
466
+ K((s = r.rowSelection) == null ? void 0 : s.onChange) && r.rowSelection.onChange(de.value);
467
467
  }
468
- }), { cols: m, actionId: a, columnVisibility: k } = It({ props: r, slots: f, prefix: o, getSelectionCol: u }), { toggleWrap: z, isColumnWrapped: y } = Et(r), { getSortTooltip: T, getSortIcon: M, sorting: U, data: J, toggleSort: N, getIsSorted: Q } = Yt(
468
+ }), { cols: m, actionId: a, columnVisibility: _ } = It({ props: r, slots: f, prefix: o, getSelectionCol: u }), { toggleWrap: z, isColumnWrapped: y } = Et(r), { getSortTooltip: T, getSortIcon: L, sorting: U, data: J, toggleSort: N, getIsSorted: Q } = Yt(
469
469
  r,
470
470
  d,
471
- _
472
- ), D = et({
471
+ b
472
+ ), V = et({
473
473
  // debugTable: true,
474
474
  getSubRows: (s) => s.children,
475
475
  enableSorting: !0,
@@ -485,7 +485,7 @@ const Yt = (n, l, r) => {
485
485
  return p.value;
486
486
  },
487
487
  get columnVisibility() {
488
- return k.value;
488
+ return _.value;
489
489
  }
490
490
  },
491
491
  enableRowSelection: !0,
@@ -503,26 +503,26 @@ const Yt = (n, l, r) => {
503
503
  }
504
504
  }), {
505
505
  getCheckedAll: ee,
506
- checkAll: Me,
507
- check: Ve,
506
+ checkAll: Le,
507
+ check: Me,
508
508
  getRowChecked: ue,
509
509
  selectedItemsLength: fe,
510
510
  getCheckboxProps: Oe,
511
511
  getSelectCallbackProps: de
512
- } = Wt(D, {
512
+ } = Wt(V, {
513
513
  selectedRowKeys: e,
514
514
  props: r
515
- }), me = Ge("target"), { stop: Ee } = kt(me, ([s]) => {
515
+ }), me = Ge("target"), { stop: Ee } = _t(me, ([s]) => {
516
516
  r.lazyLoading && !r.loading && (s != null && s.isIntersecting) && d("fetch");
517
517
  });
518
518
  Ue(Ee);
519
- const { getSkeletonProps: He, getThProps: We, RenderCell: ge, getTdProps: te, getColProps: Ie, isThVisible: je } = Mt({
519
+ const { getSkeletonProps: He, getThProps: We, RenderCell: ge, getTdProps: te, getColProps: Ie, isThVisible: je } = Lt({
520
520
  selectionId: i,
521
521
  isColumnWrapped: y
522
522
  }), pe = Je(0), Fe = ({ item: s }, P) => {
523
523
  s.key === "a-z" && N(P, "asc"), s.key === "z-a" && N(P, "desc"), s.key === "wrap" && z({ id: P.id }), pe.value++;
524
- }, he = I(
525
- () => D.getHeaderGroups().map((s) => ({
524
+ }, we = I(
525
+ () => V.getHeaderGroups().map((s) => ({
526
526
  ...s,
527
527
  headers: s.headers.map((P) => ({
528
528
  ...P,
@@ -531,15 +531,15 @@ const Yt = (n, l, r) => {
531
531
  }))
532
532
  ), x = (s) => {
533
533
  const P = F(ce(s ?? {}, "row"));
534
- let w = {};
535
- r.rowProps && (L(r.rowProps) && (w = F(r.rowProps(s) ?? {})), q(r.rowProps) && (w = F(r.rowProps)));
536
- const A = L(w.onClick) || s.row ? (h) => {
537
- s.row && d("rowClick", s.row, h), L(w.onClick) && w.onClick(h);
534
+ let h = {};
535
+ r.rowProps && (K(r.rowProps) && (h = F(r.rowProps(s) ?? {})), q(r.rowProps) && (h = F(r.rowProps)));
536
+ const A = K(h.onClick) || s.row ? (w) => {
537
+ s.row && d("rowClick", s.row, w), K(h.onClick) && h.onClick(w);
538
538
  } : void 0;
539
- return { ...w, ...P, onClick: A };
539
+ return { ...h, ...P, onClick: A };
540
540
  };
541
541
  return (s, P) => (C(), $("div", {
542
- class: b([t(B)(t(o), "root"), s.rootCls])
542
+ class: k([t(B)(t(o), "root"), s.rootCls])
543
543
  }, [
544
544
  S(Be, {
545
545
  "z-index": "1",
@@ -550,23 +550,23 @@ const Yt = (n, l, r) => {
550
550
  }, {
551
551
  content: v(() => [
552
552
  H("div", {
553
- class: b(t(B)(t(o), "batch_actions"))
553
+ class: k(t(B)(t(o), "batch_actions"))
554
554
  }, [
555
555
  S(Rt, {
556
556
  text: t(fe),
557
557
  size: "xsm"
558
558
  }, null, 8, ["text"]),
559
559
  H("div", {
560
- class: b(t(B)(t(o), "batch_actions__title"))
560
+ class: k(t(B)(t(o), "batch_actions__title"))
561
561
  }, ve(s.batchActionsTitle), 3),
562
562
  H("div", {
563
- class: b(t(B)(t(o), "batch_actions__actions"))
563
+ class: k(t(B)(t(o), "batch_actions__actions"))
564
564
  }, [
565
565
  E(s.$slots, "batchActions", ne(Ye(t(de))))
566
566
  ], 2),
567
567
  S(Pe, {
568
568
  type: "vertical",
569
- class: b(t(B)(t(o), "batch_actions__divider"))
569
+ class: k(t(B)(t(o), "batch_actions__divider"))
570
570
  }, null, 8, ["class"]),
571
571
  S(Ae, {
572
572
  icon: "tabler:x",
@@ -577,7 +577,7 @@ const Yt = (n, l, r) => {
577
577
  ], 2)
578
578
  ]),
579
579
  default: v(() => [
580
- S(t(Dt), R(s.scrollContainerProps, {
580
+ S(t(Vt), R(s.scrollContainerProps, {
581
581
  "root-props": { class: t(B)(t(o), "scroll_container") },
582
582
  class: t(B)(t(o), "scroll_area")
583
583
  }), {
@@ -587,94 +587,94 @@ const Yt = (n, l, r) => {
587
587
  style: Qe({
588
588
  tableLayout: s.tableLayout
589
589
  }),
590
- class: b([
590
+ class: k([
591
591
  t(g)({
592
- empty: !t(D).getRowModel().rows.length
592
+ empty: !t(V).getRowModel().rows.length
593
593
  }),
594
594
  r.class
595
595
  ])
596
596
  }, {
597
597
  default: v(() => [
598
598
  H("colgroup", null, [
599
- (C(!0), $(K, null, j(t(D).getVisibleLeafColumns(), (w) => (C(), $("col", R({
600
- key: w.id,
599
+ (C(!0), $(D, null, j(t(V).getVisibleLeafColumns(), (h) => (C(), $("col", R({
600
+ key: h.id,
601
601
  ref_for: !0
602
- }, t(Ie)(w)), null, 16))), 128))
602
+ }, t(Ie)(h)), null, 16))), 128))
603
603
  ]),
604
604
  s.noHeader ? W("", !0) : (C(), O(t(At), {
605
605
  key: 0,
606
- class: b(s.theadCls),
606
+ class: k(s.theadCls),
607
607
  sticky: s.stickyHeader
608
608
  }, {
609
609
  default: v(() => [
610
- (C(!0), $(K, null, j(he.value, (w, A) => (C(), O(t(Z), R({
611
- key: w.id,
610
+ (C(!0), $(D, null, j(we.value, (h, A) => (C(), O(t(Z), R({
611
+ key: h.id,
612
612
  ref_for: !0
613
613
  }, x({ index: A, header: !0 })), {
614
614
  default: v(() => [
615
- (C(!0), $(K, null, j(w.headers, (h) => (C(), $(K, {
616
- key: h.id
615
+ (C(!0), $(D, null, j(h.headers, (w) => (C(), $(D, {
616
+ key: w.id
617
617
  }, [
618
- t(je)(A, he.value.length, h.column.id) ? (C(), O(t(zt), R({
618
+ t(je)(A, we.value.length, w.column.id) ? (C(), O(t(zt), R({
619
619
  key: 0,
620
620
  ref_for: !0
621
- }, h.bindings, {
622
- "data-selection": h.column.id === i
621
+ }, w.bindings, {
622
+ "data-selection": w.column.id === i
623
623
  }), {
624
624
  default: v(() => [
625
625
  H("div", {
626
- class: b(t(B)(t(o), "header"))
626
+ class: k(t(B)(t(o), "header"))
627
627
  }, [
628
628
  H("div", {
629
- class: b(t(B)(t(o), "header__content"))
629
+ class: k(t(B)(t(o), "header__content"))
630
630
  }, [
631
- h.column.id !== i ? (C(), $(K, { key: 0 }, [
631
+ w.column.id !== i ? (C(), $(D, { key: 0 }, [
632
632
  H("div", {
633
- class: b(t(B)(t(o), "header__content__title"))
633
+ class: k(t(B)(t(o), "header__content__title"))
634
634
  }, [
635
635
  E(s.$slots, "headerCell", R({ ref_for: !0 }, {
636
- column: h.column.columnDef
636
+ column: w.column.columnDef
637
637
  }), () => [
638
638
  S(t(ge), {
639
- props: h.getContext(),
640
- render: h.column.columnDef.header
639
+ props: w.getContext(),
640
+ render: w.column.columnDef.header
641
641
  }, null, 8, ["props", "render"])
642
642
  ])
643
643
  ], 2),
644
- h.column.getCanSort() ? (C(), O(bt, {
644
+ w.column.getCanSort() ? (C(), O(kt, {
645
645
  key: 0,
646
646
  placement: "bottom"
647
647
  }, {
648
648
  content: v(() => [
649
- Xe(ve(t(T)(h.column)), 1)
649
+ Xe(ve(t(T)(w.column)), 1)
650
650
  ]),
651
651
  default: v(() => [
652
652
  S(rt, {
653
- class: b({ hide_filter_action: !t(Q)(h.column) }),
654
- icon: t(M)(h.column),
653
+ class: k({ hide_filter_action: !t(Q)(w.column) }),
654
+ icon: t(L)(w.column),
655
655
  size: "sm",
656
656
  type: "ghost",
657
657
  variant: "icon",
658
- active: !!t(Q)(h.column),
659
- onClick: (V) => t(N)(h.column)
658
+ active: !!t(Q)(w.column),
659
+ onClick: (M) => t(N)(w.column)
660
660
  }, null, 8, ["class", "icon", "active", "onClick"])
661
661
  ]),
662
662
  _: 2
663
663
  }, 1024)) : W("", !0)
664
- ], 64)) : (C(), $(K, { key: 1 }, [
664
+ ], 64)) : (C(), $(D, { key: 1 }, [
665
665
  H("div", {
666
- class: b(t(B)(t(o), "selection_space"))
666
+ class: k(t(B)(t(o), "selection_space"))
667
667
  }, null, 2),
668
668
  S(Se, {
669
669
  rootCls: "w-fit",
670
- checked: t(ee),
671
- onChange: t(Me)
672
- }, null, 8, ["checked", "onChange"])
670
+ modelValue: t(ee),
671
+ onChange: t(Le)
672
+ }, null, 8, ["modelValue", "onChange"])
673
673
  ], 64))
674
674
  ], 2),
675
- ![t(a), i].includes(h.column.id) && !h.column.columns.length ? (C(), $("div", {
675
+ ![t(a), i].includes(w.column.id) && !w.column.columns.length ? (C(), $("div", {
676
676
  key: 0,
677
- class: b(t(B)(t(o), "header__action"))
677
+ class: k(t(B)(t(o), "header__action"))
678
678
  }, [
679
679
  (C(), O(Be, {
680
680
  "z-index": "1",
@@ -683,18 +683,18 @@ const Yt = (n, l, r) => {
683
683
  }, {
684
684
  content: v(() => [
685
685
  S(ot, {
686
- onSelect: (V) => Fe(V, h.column)
686
+ onSelect: (M) => Fe(M, w.column)
687
687
  }, {
688
688
  default: v(() => [
689
- h.column.getCanSort() ? (C(), $(K, { key: 0 }, [
689
+ w.column.getCanSort() ? (C(), $(D, { key: 0 }, [
690
690
  S(oe, {
691
691
  title: "Sort A → Z",
692
692
  key: "a-z"
693
693
  }, {
694
- leading: v(({ iconSize: V }) => [
694
+ leading: v(({ iconSize: M }) => [
695
695
  S(le, {
696
696
  icon: "tabler:arrow-up",
697
- size: V
697
+ size: M
698
698
  }, null, 8, ["size"])
699
699
  ]),
700
700
  _: 1
@@ -703,10 +703,10 @@ const Yt = (n, l, r) => {
703
703
  title: "Sort Z → A",
704
704
  key: "z-a"
705
705
  }, {
706
- leading: v(({ iconSize: V }) => [
706
+ leading: v(({ iconSize: M }) => [
707
707
  S(le, {
708
708
  icon: "tabler:arrow-down",
709
- size: V
709
+ size: M
710
710
  }, null, 8, ["size"])
711
711
  ]),
712
712
  _: 1
@@ -717,16 +717,16 @@ const Yt = (n, l, r) => {
717
717
  title: "Wrap Column",
718
718
  key: "wrap"
719
719
  }, {
720
- leading: v(({ iconSize: V }) => [
720
+ leading: v(({ iconSize: M }) => [
721
721
  S(le, {
722
722
  icon: "tabler:text-wrap",
723
- size: V
723
+ size: M
724
724
  }, null, 8, ["size"])
725
725
  ]),
726
726
  trailing: v(() => [
727
727
  S($t, {
728
- checked: t(y)(h.column.id)
729
- }, null, 8, ["checked"])
728
+ modelValue: t(y)(w.column.id)
729
+ }, null, 8, ["modelValue"])
730
730
  ]),
731
731
  _: 2
732
732
  }, 1024)
@@ -740,7 +740,7 @@ const Yt = (n, l, r) => {
740
740
  size: "sm",
741
741
  color: "neutral",
742
742
  type: "ghost",
743
- class: b(t(B)(t(o), "header__action__hover"))
743
+ class: k(t(B)(t(o), "header__action__hover"))
744
744
  }, null, 8, ["class"])
745
745
  ]),
746
746
  _: 2
@@ -758,47 +758,47 @@ const Yt = (n, l, r) => {
758
758
  _: 3
759
759
  }, 8, ["class", "sticky"])),
760
760
  S(t(Tt), {
761
- class: b(s.tbodyCls),
761
+ class: k(s.tbodyCls),
762
762
  ref: "body"
763
763
  }, {
764
764
  default: v(() => [
765
- (C(!0), $(K, null, j(t(D).getRowModel().rows, (w, A) => (C(), O(t(Z), R(
765
+ (C(!0), $(D, null, j(t(V).getRowModel().rows, (h, A) => (C(), O(t(Z), R(
766
766
  {
767
- key: w.id,
767
+ key: h.id,
768
768
  ref_for: !0
769
769
  },
770
770
  x({
771
771
  index: A,
772
772
  zebra: s.zebra,
773
- checked: !!t(ue)(w),
774
- row: w.original
773
+ checked: !!t(ue)(h),
774
+ row: h.original
775
775
  })
776
776
  ), {
777
777
  default: v(() => [
778
- (C(!0), $(K, null, j(w.getVisibleCells(), (h) => {
779
- var V, we;
780
- return C(), $(K, {
781
- key: h.id
778
+ (C(!0), $(D, null, j(h.getVisibleCells(), (w) => {
779
+ var M, he;
780
+ return C(), $(D, {
781
+ key: w.id
782
782
  }, [
783
- ((V = t(te)(h.getContext())) == null ? void 0 : V.colSpan) !== 0 && ((we = t(te)(h.getContext())) == null ? void 0 : we.rowSpan) !== 0 ? (C(), O(t(X), R({
783
+ ((M = t(te)(w.getContext())) == null ? void 0 : M.colSpan) !== 0 && ((he = t(te)(w.getContext())) == null ? void 0 : he.rowSpan) !== 0 ? (C(), O(t(X), R({
784
784
  key: 0,
785
785
  ref_for: !0
786
- }, t(te)(h.getContext())), ye({
786
+ }, t(te)(w.getContext())), ye({
787
787
  default: v(() => [
788
- h.column.id === t(a) && (f.hoverAction || f.action) ? (C(), $("div", {
788
+ w.column.id === t(a) && (f.hoverAction || f.action) ? (C(), $("div", {
789
789
  key: 0,
790
790
  onClick: P[0] || (P[0] = Ce(() => {
791
791
  }, ["stop"])),
792
- class: b(t(B)(t(o), "action_cell"))
792
+ class: k(t(B)(t(o), "action_cell"))
793
793
  }, [
794
794
  H("div", {
795
- class: b([t(B)(t(o), "action_cell__hover"), s.actionHoverCls])
795
+ class: k([t(B)(t(o), "action_cell__hover"), s.actionHoverCls])
796
796
  }, [
797
797
  E(s.$slots, "hoverAction", R(
798
798
  { ref_for: !0 },
799
799
  {
800
- column: h.column.columnDef,
801
- record: w.original,
800
+ column: w.column.columnDef,
801
+ record: h.original,
802
802
  index: A
803
803
  }
804
804
  ))
@@ -806,54 +806,54 @@ const Yt = (n, l, r) => {
806
806
  E(s.$slots, "action", R(
807
807
  { ref_for: !0 },
808
808
  {
809
- column: h.column.columnDef,
810
- record: w.original,
809
+ column: w.column.columnDef,
810
+ record: h.original,
811
811
  index: A
812
812
  }
813
813
  ))
814
- ], 2)) : h.column.id !== i ? E(s.$slots, "bodyCell", R(
814
+ ], 2)) : w.column.id !== i ? E(s.$slots, "bodyCell", R(
815
815
  {
816
816
  key: 1,
817
817
  ref_for: !0
818
818
  },
819
819
  {
820
- column: h.column.columnDef,
821
- record: w.original,
820
+ column: w.column.columnDef,
821
+ record: h.original,
822
822
  index: A
823
823
  }
824
824
  ), () => [
825
825
  S(t(ge), {
826
- render: h.column.columnDef.cell,
827
- props: h.getContext()
826
+ render: w.column.columnDef.cell,
827
+ props: w.getContext()
828
828
  }, null, 8, ["render", "props"])
829
- ]) : s.rowKey && w.original[s.rowKey] ? (C(), $("div", {
829
+ ]) : s.rowKey && h.original[s.rowKey] ? (C(), $("div", {
830
830
  key: 2,
831
- class: b(t(B)(t(o), "selection")),
831
+ class: k(t(B)(t(o), "selection")),
832
832
  onClick: P[1] || (P[1] = Ce(() => {
833
833
  }, ["stop"]))
834
834
  }, [
835
835
  H("div", {
836
- class: b(t(B)(t(o), "selection_space"))
836
+ class: k(t(B)(t(o), "selection_space"))
837
837
  }, null, 2),
838
838
  S(Se, R({
839
839
  rootCls: "w-fit",
840
- disabled: !w.getCanSelect(),
841
- checked: t(ue)(w),
842
- onChange: (Ne) => t(Ve)(Ne, w),
840
+ disabled: !h.getCanSelect(),
841
+ modelValue: t(ue)(h),
842
+ onChange: (Ne) => t(Me)(Ne, h),
843
843
  ref_for: !0
844
- }, t(Oe)(w.original)), null, 16, ["disabled", "checked", "onChange"])
844
+ }, t(Oe)(h.original)), null, 16, ["disabled", "modelValue", "onChange"])
845
845
  ], 2)) : W("", !0)
846
846
  ]),
847
847
  _: 2
848
848
  }, [
849
- f.cellAction && ![t(a), i].includes(h.column.id) ? {
849
+ f.cellAction && ![t(a), i].includes(w.column.id) ? {
850
850
  name: "absoluteAction",
851
851
  fn: v(() => [
852
852
  E(s.$slots, "cellAction", R(
853
853
  { ref_for: !0 },
854
854
  {
855
- column: h.column.columnDef,
856
- record: w.original,
855
+ column: w.column.columnDef,
856
+ record: h.original,
857
857
  index: A
858
858
  }
859
859
  ))
@@ -866,28 +866,28 @@ const Yt = (n, l, r) => {
866
866
  ]),
867
867
  _: 2
868
868
  }, 1040))), 128)),
869
- r.loading ? (C(!0), $(K, { key: 0 }, j(t(D).getRowModel().rows.length ? 2 : s.loadingRowCount, (w) => (C(), O(t(Z), R({
870
- key: w,
869
+ r.loading ? (C(!0), $(D, { key: 0 }, j(t(V).getRowModel().rows.length ? 2 : s.loadingRowCount, (h) => (C(), O(t(Z), R({
870
+ key: h,
871
871
  ref_for: !0
872
- }, x({ index: w, zebra: s.zebra, loading: !0 })), {
872
+ }, x({ index: h, zebra: s.zebra, loading: !0 })), {
873
873
  default: v(() => [
874
- (C(!0), $(K, null, j(t(D).getVisibleLeafColumns(), (A, h) => (C(), O(t(X), { key: h }, {
874
+ (C(!0), $(D, null, j(t(V).getVisibleLeafColumns(), (A, w) => (C(), O(t(X), { key: w }, {
875
875
  default: v(() => [
876
876
  A.id !== i ? E(s.$slots, "skeleton", R({
877
877
  key: 0,
878
878
  ref_for: !0
879
- }, { index: h, column: A.columnDef }), () => [
880
- S(_t, R({ ref_for: !0 }, t(He)(A.columnDef)), null, 16)
879
+ }, { index: w, column: A.columnDef }), () => [
880
+ S(bt, R({ ref_for: !0 }, t(He)(A.columnDef)), null, 16)
881
881
  ]) : W("", !0)
882
882
  ]),
883
883
  _: 2
884
884
  }, 1024))), 128))
885
885
  ]),
886
886
  _: 2
887
- }, 1040))), 128)) : t(D).getRowModel().rows.length ? W("", !0) : (C(), O(t(Z), ne(R({ key: 1 }, x({ empty: !0 }))), {
887
+ }, 1040))), 128)) : t(V).getRowModel().rows.length ? W("", !0) : (C(), O(t(Z), ne(R({ key: 1 }, x({ empty: !0 }))), {
888
888
  default: v(() => [
889
889
  S(t(X), {
890
- colspan: t(D).getVisibleLeafColumns().length,
890
+ colspan: t(V).getVisibleLeafColumns().length,
891
891
  empty: ""
892
892
  }, {
893
893
  default: v(() => [
@@ -933,7 +933,7 @@ const Yt = (n, l, r) => {
933
933
  ref_key: "target",
934
934
  ref: me,
935
935
  "lazy-load-observer": "",
936
- colspan: t(D).getVisibleLeafColumns().length
936
+ colspan: t(V).getVisibleLeafColumns().length
937
937
  }, null, 8, ["colspan"])
938
938
  ]),
939
939
  _: 1
@@ -954,5 +954,5 @@ const Yt = (n, l, r) => {
954
954
  }
955
955
  });
956
956
  export {
957
- kn as _
957
+ _n as _
958
958
  };