@itguy614/clean-ui 1.2.2 → 1.3.1

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 (245) hide show
  1. package/README.md +12 -0
  2. package/dist/clean-ui.css +1 -1
  3. package/dist/components/CuiAccordion.vue.js +2 -2
  4. package/dist/components/CuiAlert.vue.d.ts +3 -5
  5. package/dist/components/CuiAlert.vue.d.ts.map +1 -1
  6. package/dist/components/CuiAlert.vue.js +1 -1
  7. package/dist/components/CuiAlert.vue2.js +54 -50
  8. package/dist/components/CuiBadge.vue.js +3 -3
  9. package/dist/components/CuiBadge.vue2.js +23 -23
  10. package/dist/components/CuiBanner.vue.d.ts +15 -10
  11. package/dist/components/CuiBanner.vue.d.ts.map +1 -1
  12. package/dist/components/CuiBanner.vue.js +5 -80
  13. package/dist/components/CuiBanner.vue2.js +90 -2
  14. package/dist/components/CuiButton.vue.d.ts +9 -0
  15. package/dist/components/CuiButton.vue.d.ts.map +1 -1
  16. package/dist/components/CuiButton.vue.js +1 -1
  17. package/dist/components/CuiButton.vue2.js +77 -83
  18. package/dist/components/CuiButtonGroup.vue.d.ts +4 -2
  19. package/dist/components/CuiButtonGroup.vue.d.ts.map +1 -1
  20. package/dist/components/CuiButtonGroup.vue.js +1 -1
  21. package/dist/components/CuiButtonGroup.vue2.js +18 -9
  22. package/dist/components/CuiCard.vue.d.ts.map +1 -1
  23. package/dist/components/CuiCard.vue.js +5 -33
  24. package/dist/components/CuiCard.vue2.js +32 -2
  25. package/dist/components/CuiCardBody.vue.d.ts.map +1 -1
  26. package/dist/components/CuiCardBody.vue.js +5 -18
  27. package/dist/components/CuiCardBody.vue2.js +18 -2
  28. package/dist/components/CuiCardFooter.vue.d.ts.map +1 -1
  29. package/dist/components/CuiCardFooter.vue.js +5 -30
  30. package/dist/components/CuiCardFooter.vue2.js +25 -2
  31. package/dist/components/CuiCardHeader.vue.d.ts +5 -4
  32. package/dist/components/CuiCardHeader.vue.d.ts.map +1 -1
  33. package/dist/components/CuiCardHeader.vue.js +5 -49
  34. package/dist/components/CuiCardHeader.vue2.js +40 -2
  35. package/dist/components/CuiCardMedia.vue.d.ts.map +1 -1
  36. package/dist/components/CuiCardMedia.vue.js +3 -3
  37. package/dist/components/CuiCardMedia.vue2.js +6 -6
  38. package/dist/components/CuiCheckbox.vue.d.ts +2 -2
  39. package/dist/components/CuiCheckbox.vue.d.ts.map +1 -1
  40. package/dist/components/CuiCheckbox.vue.js +1 -1
  41. package/dist/components/CuiCheckbox.vue2.js +46 -34
  42. package/dist/components/CuiCheckboxGroup.vue.d.ts +2 -2
  43. package/dist/components/CuiCheckboxGroup.vue.d.ts.map +1 -1
  44. package/dist/components/CuiCheckboxGroup.vue.js +2 -2
  45. package/dist/components/CuiCheckboxGroup.vue2.js +45 -35
  46. package/dist/components/CuiCodeBlock.vue.d.ts.map +1 -1
  47. package/dist/components/CuiCodeBlock.vue.js +14 -11
  48. package/dist/components/CuiColorPicker.vue.d.ts +2 -2
  49. package/dist/components/CuiColorPicker.vue.d.ts.map +1 -1
  50. package/dist/components/CuiColorPicker.vue.js +117 -104
  51. package/dist/components/CuiCombobox.vue.d.ts +2 -2
  52. package/dist/components/CuiCombobox.vue.d.ts.map +1 -1
  53. package/dist/components/CuiCombobox.vue.js +5 -330
  54. package/dist/components/CuiCombobox.vue2.js +330 -2
  55. package/dist/components/CuiConfirmDialog.vue.d.ts +5 -4
  56. package/dist/components/CuiConfirmDialog.vue.d.ts.map +1 -1
  57. package/dist/components/CuiConfirmDialog.vue.js +84 -73
  58. package/dist/components/CuiContextMenu.vue.d.ts +40 -1
  59. package/dist/components/CuiContextMenu.vue.d.ts.map +1 -1
  60. package/dist/components/CuiContextMenu.vue.js +1 -1
  61. package/dist/components/CuiContextMenu.vue2.js +149 -91
  62. package/dist/components/CuiCopyButton.vue.d.ts.map +1 -1
  63. package/dist/components/CuiCopyButton.vue.js +5 -61
  64. package/dist/components/CuiCopyButton.vue2.js +68 -2
  65. package/dist/components/CuiDataGridCardView.vue.d.ts.map +1 -1
  66. package/dist/components/CuiDataGridCardView.vue.js +10 -9
  67. package/dist/components/CuiDataGridColumnManager.vue.d.ts.map +1 -1
  68. package/dist/components/CuiDataGridColumnManager.vue.js +12 -11
  69. package/dist/components/CuiDataGridPagination.vue.d.ts.map +1 -1
  70. package/dist/components/CuiDataGridPagination.vue.js +9 -8
  71. package/dist/components/CuiDataGridSearch.vue.d.ts.map +1 -1
  72. package/dist/components/CuiDataGridSearch.vue.js +12 -9
  73. package/dist/components/CuiDataGridTable.vue.d.ts.map +1 -1
  74. package/dist/components/CuiDataGridTable.vue.js +213 -190
  75. package/dist/components/CuiDataGridViewManager.vue.d.ts.map +1 -1
  76. package/dist/components/CuiDataGridViewManager.vue.js +21 -20
  77. package/dist/components/CuiDatePicker.vue.d.ts +2 -2
  78. package/dist/components/CuiDatePicker.vue.d.ts.map +1 -1
  79. package/dist/components/CuiDatePicker.vue.js +257 -173
  80. package/dist/components/CuiDateRangePicker.vue.d.ts +2 -2
  81. package/dist/components/CuiDateRangePicker.vue.d.ts.map +1 -1
  82. package/dist/components/CuiDateRangePicker.vue.js +262 -179
  83. package/dist/components/CuiDivider.vue.d.ts +1 -3
  84. package/dist/components/CuiDivider.vue.d.ts.map +1 -1
  85. package/dist/components/CuiDivider.vue.js +47 -59
  86. package/dist/components/CuiDropdownMenu.vue.js +2 -2
  87. package/dist/components/CuiDropdownRadioGroup.vue.d.ts +4 -1
  88. package/dist/components/CuiDropdownRadioGroup.vue.d.ts.map +1 -1
  89. package/dist/components/CuiDropdownRadioGroup.vue.js +27 -14
  90. package/dist/components/CuiDropdownSub.vue.js +2 -2
  91. package/dist/components/CuiEmptyState.vue.d.ts +5 -4
  92. package/dist/components/CuiEmptyState.vue.d.ts.map +1 -1
  93. package/dist/components/CuiEmptyState.vue.js +1 -1
  94. package/dist/components/CuiEmptyState.vue2.js +30 -24
  95. package/dist/components/CuiFieldset.vue.d.ts.map +1 -1
  96. package/dist/components/CuiFieldset.vue.js +1 -1
  97. package/dist/components/CuiFieldset.vue2.js +21 -21
  98. package/dist/components/CuiFileUpload.vue.d.ts +2 -2
  99. package/dist/components/CuiFileUpload.vue.d.ts.map +1 -1
  100. package/dist/components/CuiFileUpload.vue.js +70 -57
  101. package/dist/components/CuiFormField.vue.d.ts.map +1 -1
  102. package/dist/components/CuiFormField.vue.js +2 -2
  103. package/dist/components/CuiFormField.vue2.js +48 -42
  104. package/dist/components/CuiInput.vue.d.ts +2 -2
  105. package/dist/components/CuiInput.vue.d.ts.map +1 -1
  106. package/dist/components/CuiInput.vue.js +1 -1
  107. package/dist/components/CuiInput.vue2.js +97 -85
  108. package/dist/components/CuiInputStepper.vue.d.ts +2 -2
  109. package/dist/components/CuiInputStepper.vue.d.ts.map +1 -1
  110. package/dist/components/CuiInputStepper.vue.js +5 -187
  111. package/dist/components/CuiInputStepper.vue2.js +237 -2
  112. package/dist/components/CuiKbd.vue.d.ts.map +1 -1
  113. package/dist/components/CuiKbd.vue.js +6 -5
  114. package/dist/components/CuiMaskedInput.vue.d.ts +9 -3
  115. package/dist/components/CuiMaskedInput.vue.d.ts.map +1 -1
  116. package/dist/components/CuiMaskedInput.vue.js +132 -117
  117. package/dist/components/CuiModal.vue.d.ts +10 -2
  118. package/dist/components/CuiModal.vue.d.ts.map +1 -1
  119. package/dist/components/CuiModal.vue.js +2 -2
  120. package/dist/components/CuiModal.vue2.js +48 -44
  121. package/dist/components/CuiModalBody.vue.d.ts.map +1 -1
  122. package/dist/components/CuiModalBody.vue.js +16 -13
  123. package/dist/components/CuiModalFooter.vue.d.ts.map +1 -1
  124. package/dist/components/CuiModalFooter.vue.js +3 -2
  125. package/dist/components/CuiModalHeader.vue.d.ts +13 -4
  126. package/dist/components/CuiModalHeader.vue.d.ts.map +1 -1
  127. package/dist/components/CuiModalHeader.vue.js +54 -42
  128. package/dist/components/CuiPagination.vue.d.ts.map +1 -1
  129. package/dist/components/CuiPagination.vue.js +1 -1
  130. package/dist/components/CuiPagination.vue2.js +28 -25
  131. package/dist/components/CuiPopover.vue.d.ts.map +1 -1
  132. package/dist/components/CuiPopover.vue.js +80 -72
  133. package/dist/components/CuiRadio.vue.d.ts +2 -4
  134. package/dist/components/CuiRadio.vue.d.ts.map +1 -1
  135. package/dist/components/CuiRadio.vue.js +2 -2
  136. package/dist/components/CuiRadio.vue2.js +88 -74
  137. package/dist/components/CuiRadioGroup.vue.d.ts +2 -2
  138. package/dist/components/CuiRadioGroup.vue.d.ts.map +1 -1
  139. package/dist/components/CuiRadioGroup.vue.js +3 -3
  140. package/dist/components/CuiRadioGroup.vue2.js +47 -37
  141. package/dist/components/CuiRating.vue.d.ts.map +1 -1
  142. package/dist/components/CuiRating.vue.js +15 -14
  143. package/dist/components/CuiResizablePanels.vue.d.ts.map +1 -1
  144. package/dist/components/CuiResizablePanels.vue.js +10 -9
  145. package/dist/components/CuiSelect.vue.d.ts +2 -2
  146. package/dist/components/CuiSelect.vue.d.ts.map +1 -1
  147. package/dist/components/CuiSelect.vue.js +2 -2
  148. package/dist/components/CuiSelect.vue2.js +161 -151
  149. package/dist/components/CuiSkeleton.vue.js +2 -2
  150. package/dist/components/CuiSkeleton.vue2.js +10 -10
  151. package/dist/components/CuiSlideover.vue.d.ts +2 -2
  152. package/dist/components/CuiSlideover.vue.d.ts.map +1 -1
  153. package/dist/components/CuiSlideover.vue.js +34 -30
  154. package/dist/components/CuiSlider.vue.d.ts +2 -2
  155. package/dist/components/CuiSlider.vue.d.ts.map +1 -1
  156. package/dist/components/CuiSlider.vue.js +5 -154
  157. package/dist/components/CuiSlider.vue2.js +171 -2
  158. package/dist/components/CuiSpinner.vue.d.ts.map +1 -1
  159. package/dist/components/CuiSpinner.vue.js +5 -4
  160. package/dist/components/CuiTable.vue.d.ts.map +1 -1
  161. package/dist/components/CuiTable.vue.js +4 -1
  162. package/dist/components/CuiTableBody.vue.d.ts.map +1 -1
  163. package/dist/components/CuiTableBody.vue.js +6 -6
  164. package/dist/components/CuiTableCell.vue.d.ts.map +1 -1
  165. package/dist/components/CuiTableCell.vue.js +11 -10
  166. package/dist/components/CuiTableFoot.vue.d.ts.map +1 -1
  167. package/dist/components/CuiTableFoot.vue.js +7 -7
  168. package/dist/components/CuiTableHead.vue.d.ts.map +1 -1
  169. package/dist/components/CuiTableHead.vue.js +7 -7
  170. package/dist/components/CuiTabs.vue.d.ts.map +1 -1
  171. package/dist/components/CuiTabs.vue.js +2 -2
  172. package/dist/components/CuiTabs.vue2.js +81 -76
  173. package/dist/components/CuiTagInput.vue.d.ts +2 -2
  174. package/dist/components/CuiTagInput.vue.d.ts.map +1 -1
  175. package/dist/components/CuiTagInput.vue.js +5 -294
  176. package/dist/components/CuiTagInput.vue2.js +276 -2
  177. package/dist/components/CuiTextarea.vue.d.ts +2 -2
  178. package/dist/components/CuiTextarea.vue.d.ts.map +1 -1
  179. package/dist/components/CuiTextarea.vue.js +4 -4
  180. package/dist/components/CuiTextarea.vue2.js +73 -59
  181. package/dist/components/CuiTimePicker.vue.d.ts +2 -2
  182. package/dist/components/CuiTimePicker.vue.d.ts.map +1 -1
  183. package/dist/components/CuiTimePicker.vue.js +172 -97
  184. package/dist/components/CuiTimeline.vue.d.ts.map +1 -1
  185. package/dist/components/CuiTimeline.vue.js +6 -5
  186. package/dist/components/CuiTimelineItem.vue.d.ts.map +1 -1
  187. package/dist/components/CuiTimelineItem.vue.js +11 -10
  188. package/dist/components/CuiToast.vue.d.ts +8 -10
  189. package/dist/components/CuiToast.vue.d.ts.map +1 -1
  190. package/dist/components/CuiToast.vue.js +2 -2
  191. package/dist/components/CuiToast.vue2.js +69 -67
  192. package/dist/components/CuiToggle.vue.d.ts +2 -2
  193. package/dist/components/CuiToggle.vue.d.ts.map +1 -1
  194. package/dist/components/CuiToggle.vue.js +2 -2
  195. package/dist/components/CuiToggle.vue2.js +71 -59
  196. package/dist/components/CuiToggleGroup.vue.d.ts +2 -2
  197. package/dist/components/CuiToggleGroup.vue.d.ts.map +1 -1
  198. package/dist/components/CuiToggleGroup.vue.js +2 -2
  199. package/dist/components/CuiToggleGroup.vue2.js +45 -35
  200. package/dist/components/CuiTooltip.vue.d.ts.map +1 -1
  201. package/dist/components/CuiTooltip.vue.js +2 -2
  202. package/dist/components/CuiTooltip.vue2.js +49 -45
  203. package/dist/components/CuiTransferList.vue.d.ts.map +1 -1
  204. package/dist/components/CuiTransferList.vue.js +31 -30
  205. package/dist/components/CuiTreeNode.vue.d.ts +9 -2
  206. package/dist/components/CuiTreeNode.vue.d.ts.map +1 -1
  207. package/dist/components/CuiTreeNode.vue.js +5 -179
  208. package/dist/components/CuiTreeNode.vue2.js +198 -2
  209. package/dist/components/CuiTreeView.vue.d.ts +33 -5
  210. package/dist/components/CuiTreeView.vue.d.ts.map +1 -1
  211. package/dist/components/CuiTreeView.vue.js +187 -44
  212. package/dist/composables/useCalendarKeyboard.d.ts +48 -0
  213. package/dist/composables/useCalendarKeyboard.d.ts.map +1 -0
  214. package/dist/composables/useCalendarKeyboard.js +91 -0
  215. package/dist/composables/useFieldDescribedBy.d.ts +30 -0
  216. package/dist/composables/useFieldDescribedBy.d.ts.map +1 -0
  217. package/dist/composables/useFieldDescribedBy.js +11 -0
  218. package/dist/composables/useMessages.d.ts.map +1 -1
  219. package/dist/composables/useMessages.js +6 -6
  220. package/dist/composables/usePopover.d.ts.map +1 -1
  221. package/dist/composables/usePopover.js +10 -0
  222. package/dist/composables/useScrollShadows.d.ts +3 -0
  223. package/dist/composables/useScrollShadows.d.ts.map +1 -1
  224. package/dist/composables/useScrollShadows.js +15 -12
  225. package/dist/icons/builtin.d.ts.map +1 -1
  226. package/dist/icons/builtin.js +38 -37
  227. package/dist/index.d.ts +3 -2
  228. package/dist/index.d.ts.map +1 -1
  229. package/dist/index.js +185 -182
  230. package/dist/messages.d.ts +39 -4
  231. package/dist/messages.d.ts.map +1 -1
  232. package/dist/messages.js +8 -7
  233. package/dist/types/common.d.ts +90 -0
  234. package/dist/types/common.d.ts.map +1 -1
  235. package/dist/utils/colorIconMap.d.ts +47 -3
  236. package/dist/utils/colorIconMap.d.ts.map +1 -1
  237. package/dist/utils/colorIconMap.js +20 -5
  238. package/dist/utils/date.d.ts +13 -0
  239. package/dist/utils/date.d.ts.map +1 -1
  240. package/dist/utils/date.js +46 -40
  241. package/dist/utils/sizing.d.ts +26 -1
  242. package/dist/utils/sizing.d.ts.map +1 -1
  243. package/dist/utils/sizing.js +22 -21
  244. package/dist/version.js +1 -1
  245. package/package.json +1 -1
@@ -1,15 +1,18 @@
1
- import { defineComponent as m, ref as c, watch as d, openBlock as f, createElementBlock as p, createVNode as r, withKeys as h, unref as v, createSlots as _, withCtx as i } from "vue";
1
+ import { defineComponent as c, ref as m, watch as d, openBlock as f, createElementBlock as p, createVNode as r, withKeys as h, unref as v, createSlots as _, withCtx as i } from "vue";
2
2
  import { useDataGridState as g } from "../composables/useDataGrid.js";
3
3
  import x from "./CuiInput.vue.js";
4
- import s from "./CuiIcon.vue.js";
4
+ import n from "./CuiIcon.vue.js";
5
5
  import y from "./CuiButton.vue.js";
6
6
  import { useMessages as C } from "../composables/useMessages.js";
7
- const w = { style: { position: "relative", "max-width": "20rem", flex: "1" } }, D = /* @__PURE__ */ m({
7
+ const w = {
8
+ class: "cui-data-grid-search",
9
+ style: { position: "relative", "max-width": "20rem", flex: "1" }
10
+ }, D = /* @__PURE__ */ c({
8
11
  __name: "CuiDataGridSearch",
9
12
  setup(S) {
10
13
  const l = C();
11
14
  let o = null;
12
- const a = g(), e = c(a.searchQuery.value);
15
+ const a = g(), e = m(a.searchQuery.value);
13
16
  d(
14
17
  () => a.searchQuery.value,
15
18
  (t) => {
@@ -21,7 +24,7 @@ const w = { style: { position: "relative", "max-width": "20rem", flex: "1" } },
21
24
  a.search(e.value);
22
25
  }, 300);
23
26
  }
24
- function n() {
27
+ function s() {
25
28
  e.value = "", a.clearSearch();
26
29
  }
27
30
  return (t, k) => (f(), p("div", w, [
@@ -30,10 +33,10 @@ const w = { style: { position: "relative", "max-width": "20rem", flex: "1" } },
30
33
  placeholder: v(l).dataGrid.search,
31
34
  size: "sm",
32
35
  "onUpdate:modelValue": u,
33
- onKeydown: h(n, ["escape"])
36
+ onKeydown: h(s, ["escape"])
34
37
  }, _({
35
38
  prefix: i(() => [
36
- r(s, {
39
+ r(n, {
37
40
  name: "magnifying-glass",
38
41
  size: "0.875rem"
39
42
  })
@@ -46,11 +49,11 @@ const w = { style: { position: "relative", "max-width": "20rem", flex: "1" } },
46
49
  r(y, {
47
50
  variant: "ghost",
48
51
  size: "xs",
49
- onClick: n,
52
+ onClick: s,
50
53
  style: { margin: "-0.25rem" }
51
54
  }, {
52
55
  default: i(() => [
53
- r(s, {
56
+ r(n, {
54
57
  name: "x",
55
58
  size: "0.75rem"
56
59
  })
@@ -1 +1 @@
1
- {"version":3,"file":"CuiDataGridTable.vue.d.ts","sourceRoot":"","sources":["../../src/components/CuiDataGridTable.vue"],"names":[],"mappings":"AA6ZA,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAc7F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD,MAAM,WAAW,qBAAqB;IACpC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACnC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;;;;;;;;;OAYG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AA8mBD,QAAA,IAAI,QAAQ,kBAAW,EAAE,QAAQ;;;CAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG;CAAE,CAAC;AAqD5E,QAAA,MAAM,eAAe;;aAtpBW,WAAW;;;gBACP,iBAAiB;aAAO,WAAW;;;;aADvC,WAAW;;;gBACP,iBAAiB;aAAO,WAAW;;;UAtC9D,SAAS;aAHN,OAAO;eACL,OAAO;cACR,OAAO;kBAJH,OAAO;YAHb,MAAM;mBAEC,OAAO;gBAoBV,OAAO;6EAqrBpB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CuiDataGridTable.vue.d.ts","sourceRoot":"","sources":["../../src/components/CuiDataGridTable.vue"],"names":[],"mappings":"AA8bA,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAc7F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD,MAAM,WAAW,qBAAqB;IACpC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACnC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;;;;;;;;;OAYG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAqpBD,QAAA,IAAI,QAAQ,kBAAW,EAAE,QAAQ;;;CAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG;CAAE,CAAC;AA0D5E,QAAA,MAAM,eAAe;;aAlsBW,WAAW;;;gBACP,iBAAiB;aAAO,WAAW;;;;aADvC,WAAW;;;gBACP,iBAAiB;aAAO,WAAW;;;UAtC9D,SAAS;aAHN,OAAO;eACL,OAAO;cACR,OAAO;kBAJH,OAAO;YAHb,MAAM;mBAEC,OAAO;gBAoBV,OAAO;6EAiuBpB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,21 +1,21 @@
1
- import { defineComponent as X, computed as c, ref as Y, openBlock as r, createBlock as s, unref as d, withCtx as n, createVNode as f, normalizeStyle as p, createCommentVNode as y, createElementBlock as k, Fragment as b, renderList as w, createElementVNode as _, createTextVNode as S, toDisplayString as z, withModifiers as T, renderSlot as Z } from "vue";
2
- import { useDataGridState as ee } from "../composables/useDataGrid.js";
3
- import { useVirtualScroll as te } from "../composables/useVirtualScroll.js";
4
- import le from "./CuiTable.vue.js";
1
+ import { defineComponent as se, computed as s, ref as de, openBlock as i, createBlock as d, unref as c, withCtx as r, createVNode as f, normalizeStyle as m, createCommentVNode as y, createElementBlock as k, Fragment as C, renderList as b, createElementVNode as E, createTextVNode as _, toDisplayString as z, withModifiers as W, renderSlot as ce } from "vue";
2
+ import { useDataGridState as fe } from "../composables/useDataGrid.js";
3
+ import { useVirtualScroll as ye } from "../composables/useVirtualScroll.js";
4
+ import me from "./CuiTable.vue.js";
5
5
  /* empty css */
6
- import ae from "./CuiTableHead.vue.js";
7
- import ie from "./CuiTableBody.vue.js";
8
- import M from "./CuiTableRow.vue.js";
6
+ import ve from "./CuiTableHead.vue.js";
7
+ import pe from "./CuiTableBody.vue.js";
8
+ import G from "./CuiTableRow.vue.js";
9
9
  import h from "./CuiTableCell.vue.js";
10
- import N from "./CuiCheckbox.vue.js";
11
- import W from "./CuiIcon.vue.js";
12
- import re from "./CuiDropdown.vue.js";
13
- import ne from "./CuiDropdownTrigger.vue.js";
14
- import oe from "./CuiDropdownMenu.vue.js";
15
- import E from "./CuiDropdownItem.vue.js";
16
- import ue from "./CuiButton.vue.js";
17
- import se from "./CuiContextMenu.vue.js";
18
- const de = { style: { display: "inline-flex", "align-items": "center", gap: "calc(0.25rem * var(--cui-density-scale, 1))" } }, ce = ["colspan"], fe = ["colspan"], He = /* @__PURE__ */ X({
10
+ import P from "./CuiCheckbox.vue.js";
11
+ import j from "./CuiIcon.vue.js";
12
+ import ke from "./CuiDropdown.vue.js";
13
+ import ge from "./CuiDropdownTrigger.vue.js";
14
+ import he from "./CuiDropdownMenu.vue.js";
15
+ import F from "./CuiDropdownItem.vue.js";
16
+ import Ce from "./CuiButton.vue.js";
17
+ import be from "./CuiContextMenu.vue.js";
18
+ const we = { style: { display: "inline-flex", "align-items": "center", gap: "calc(0.25rem * var(--cui-density-scale, 1))" } }, Se = ["colspan"], xe = ["colspan"], D = "3rem", X = "var(--cui-table-head-bg, var(--color-surface-50))", Y = "2px 0 4px -1px rgba(0,0,0,0.08)", Ue = /* @__PURE__ */ se({
19
19
  __name: "CuiDataGridTable",
20
20
  props: {
21
21
  rowKey: { default: "id" },
@@ -31,253 +31,276 @@ const de = { style: { display: "inline-flex", "align-items": "center", gap: "cal
31
31
  virtualRowHeight: {}
32
32
  },
33
33
  emits: ["row-click", "row-action"],
34
- setup(u, { emit: U }) {
35
- const m = u, $ = U, i = ee(), g = c(() => {
36
- var t;
37
- return (((t = m.bulkActions) == null ? void 0 : t.length) ?? 0) > 0;
38
- }), C = c(
39
- () => i.displayData.value.some((t) => t._actions && t._actions.length > 0)
34
+ setup(u, { emit: q }) {
35
+ const v = u, B = q, a = fe(), g = s(() => {
36
+ var e;
37
+ return (((e = v.bulkActions) == null ? void 0 : e.length) ?? 0) > 0;
38
+ }), w = s(
39
+ () => a.displayData.value.some((e) => e._actions && e._actions.length > 0)
40
40
  );
41
- function B(t) {
42
- return String(t[m.rowKey] ?? "");
41
+ function $(e) {
42
+ return String(e[v.rowKey] ?? "");
43
43
  }
44
- function D(t) {
45
- return i.selectedRows.value.has(B(t));
44
+ function H(e) {
45
+ return a.selectedRows.value.has($(e));
46
46
  }
47
- const H = c(() => {
48
- const t = i.displayData.value;
49
- if (t.length === 0) return !1;
50
- const a = t.filter((e) => D(e)).length;
51
- return a === 0 ? !1 : a === t.length ? !0 : "indeterminate";
47
+ const N = s(() => {
48
+ const e = a.displayData.value;
49
+ if (e.length === 0) return !1;
50
+ const l = e.filter((t) => H(t)).length;
51
+ return l === 0 ? !1 : l === e.length ? !0 : "indeterminate";
52
52
  });
53
- function G(t) {
54
- t ? i.selectAll(i.displayData.value) : i.clearSelection();
53
+ function J(e) {
54
+ e ? a.selectAll(a.displayData.value) : a.clearSelection();
55
55
  }
56
- function x(t) {
57
- return t._actions ?? [];
56
+ function S(e) {
57
+ return e._actions ?? [];
58
58
  }
59
- function O(t) {
59
+ function Q(e) {
60
60
  var o;
61
- const a = i.columns.find((l) => l.key === t), e = (a == null ? void 0 : a.sortKey) ?? t;
62
- return ((o = i.sort.value) == null ? void 0 : o.key) === e ? i.sort.value.direction === "asc" ? "caret-up" : "caret-down" : "caret-up-down";
61
+ const l = a.columns.find((n) => n.key === e), t = (l == null ? void 0 : l.sortKey) ?? e;
62
+ return ((o = a.sort.value) == null ? void 0 : o.key) === t ? a.sort.value.direction === "asc" ? "caret-up" : "caret-down" : "caret-up-down";
63
63
  }
64
- function F(t) {
64
+ function Z(e) {
65
65
  var o;
66
- const a = i.columns.find((l) => l.key === t), e = (a == null ? void 0 : a.sortKey) ?? t;
67
- return ((o = i.sort.value) == null ? void 0 : o.key) === e ? "1" : "0.3";
66
+ const l = a.columns.find((n) => n.key === e), t = (l == null ? void 0 : l.sortKey) ?? e;
67
+ return ((o = a.sort.value) == null ? void 0 : o.key) === t ? "1" : "0.3";
68
68
  }
69
- const L = c(() => {
70
- const t = i.visibleColumns.value;
71
- if (!t.some((o) => o.width)) return;
72
- let e = 0;
73
- g.value && (e += 48);
74
- for (const o of t)
75
- e += parseInt(o.width ?? "150", 10) || 150;
76
- return C.value && (e += 48), `${e}px`;
77
- }), V = c(() => {
78
- const t = /* @__PURE__ */ new Map();
79
- let a = 0;
80
- g.value && (a += 48);
81
- for (const e of i.visibleColumns.value)
82
- e.sticky && e.width ? (t.set(e.key, `${a}px`), a += parseInt(e.width, 10) || 0) : e.sticky && t.set(e.key, `${a}px`);
83
- return t;
84
- }), A = c(() => {
85
- const t = i.visibleColumns.value;
86
- for (let a = t.length - 1; a >= 0; a--)
87
- if (t[a].sticky) return t[a].key;
69
+ const x = { paddingInline: 0 }, R = D;
70
+ function T(e) {
71
+ const l = e == null ? void 0 : e.trim();
72
+ if (l)
73
+ return /^\d*\.?\d+$/.test(l) ? `${l}px` : /^(\d|\.|(calc|min|max|clamp|var)\()/.test(l) ? l : void 0;
74
+ }
75
+ function V(e) {
76
+ return e.length === 0 ? "0px" : e.length === 1 ? e[0] : `calc(${e.join(" + ")})`;
77
+ }
78
+ const ee = s(() => {
79
+ const e = a.visibleColumns.value;
80
+ if (e.some((l) => l.width))
81
+ return V([
82
+ ...g.value ? [D] : [],
83
+ ...e.map((l) => T(l.width) ?? "150px"),
84
+ ...w.value ? [R] : []
85
+ ]);
86
+ }), L = s(() => {
87
+ const e = /* @__PURE__ */ new Map(), l = g.value ? [D] : [];
88
+ for (const t of a.visibleColumns.value) {
89
+ if (!t.sticky) continue;
90
+ e.set(t.key, V(l));
91
+ const o = T(t.width);
92
+ o && l.push(o);
93
+ }
94
+ return e;
95
+ }), A = s(() => {
96
+ const e = a.visibleColumns.value;
97
+ for (let l = e.length - 1; l >= 0; l--)
98
+ if (e[l].sticky) return e[l].key;
88
99
  return null;
89
- });
90
- function j(t) {
91
- const a = V.value.get(t);
92
- if (!a) return;
93
- const e = {
100
+ }), M = s(() => g.value && A.value !== null);
101
+ function O(e, l) {
102
+ const t = { position: "sticky", left: e, zIndex: 4, background: X };
103
+ return l && (t.boxShadow = Y), t;
104
+ }
105
+ function te(e) {
106
+ const l = L.value.get(e);
107
+ return l ? O(l, e === A.value) : void 0;
108
+ }
109
+ const le = s(() => ({
110
+ ...x,
111
+ ...M.value ? O("0", !1) : {}
112
+ }));
113
+ function I(e, l = !1) {
114
+ const t = v.stickyHeader;
115
+ if (!e && !t) return {};
116
+ const o = {
94
117
  position: "sticky",
95
- left: a,
96
- zIndex: 4,
97
- background: "var(--cui-table-head-bg, var(--color-surface-50))"
118
+ background: X,
119
+ zIndex: e && t ? 11 : e ? 5 : 10
98
120
  };
99
- return t === A.value && (e.boxShadow = "2px 0 4px -1px rgba(0,0,0,0.08)"), e;
121
+ return t && (o.top = 0), e && (o.left = e), e && l && (o.boxShadow = Y), o;
100
122
  }
101
- function q(t) {
102
- const a = V.value.get(t.key), e = !!a, o = m.stickyHeader, l = t.sortable ? { cursor: "pointer", userSelect: "none" } : {};
103
- return (e || o) && (l.position = "sticky", l.background = "var(--cui-table-head-bg, var(--color-surface-50))", l.zIndex = e && o ? 11 : e ? 5 : 10), o && (l.top = 0), e && (l.left = a, t.key === A.value && (l.boxShadow = "2px 0 4px -1px rgba(0,0,0,0.08)")), l;
123
+ function ne(e) {
124
+ return {
125
+ ...e.sortable ? { cursor: "pointer", userSelect: "none" } : {},
126
+ ...I(L.value.get(e.key), e.key === A.value)
127
+ };
104
128
  }
105
- const I = c(
106
- () => m.stickyHeader ? {
107
- position: "sticky",
108
- top: 0,
109
- zIndex: 10,
110
- background: "var(--cui-table-head-bg, var(--color-surface-50))"
111
- } : {}
112
- ), R = Y(null);
113
- function J(t) {
114
- R.value = m.virtualize && m.maxHeight ? t : null;
129
+ const ae = s(() => ({
130
+ ...x,
131
+ ...I(M.value ? "0" : void 0)
132
+ })), ie = s(() => ({ ...x, ...I(void 0) })), K = de(null);
133
+ function re(e) {
134
+ K.value = v.virtualize && v.maxHeight ? e : null;
115
135
  }
116
- const v = te(
117
- c(() => i.displayData.value),
136
+ const p = ye(
137
+ s(() => a.displayData.value),
118
138
  {
119
- containerRef: R,
120
- rowHeight: m.virtualRowHeight
139
+ containerRef: K,
140
+ rowHeight: v.virtualRowHeight
121
141
  }
122
- ), P = c(
123
- () => m.virtualize ? v.visibleRows.value : i.displayData.value
124
- ), K = c(() => {
125
- let t = i.visibleColumns.value.length;
126
- return g.value && (t += 1), C.value && (t += 1), t;
142
+ ), oe = s(
143
+ () => v.virtualize ? p.visibleRows.value : a.displayData.value
144
+ ), U = s(() => {
145
+ let e = a.visibleColumns.value.length;
146
+ return g.value && (e += 1), w.value && (e += 1), e;
127
147
  });
128
- return (t, a) => (r(), s(le, {
129
- ref: (e) => J((e == null ? void 0 : e.scrollWrapper) ?? null),
148
+ return (e, l) => (i(), d(me, {
149
+ class: "cui-data-grid-table",
150
+ ref: (t) => re((t == null ? void 0 : t.scrollWrapper) ?? null),
130
151
  size: u.size,
131
152
  striped: u.striped,
132
153
  hoverable: u.hoverable,
133
154
  bordered: u.bordered,
134
155
  "sticky-header": u.stickyHeader,
135
156
  "max-height": u.maxHeight,
136
- "min-width": L.value,
137
- "aria-rowcount": u.virtualize ? d(i).displayData.value.length + 1 : void 0
157
+ "min-width": ee.value,
158
+ "aria-rowcount": u.virtualize ? c(a).displayData.value.length + 1 : void 0
138
159
  }, {
139
- default: n(() => [
140
- f(ae, null, {
141
- default: n(() => [
142
- f(M, {
160
+ default: r(() => [
161
+ f(ve, null, {
162
+ default: r(() => [
163
+ f(G, {
143
164
  "aria-rowindex": u.virtualize ? 1 : void 0
144
165
  }, {
145
- default: n(() => [
146
- g.value ? (r(), s(h, {
166
+ default: r(() => [
167
+ g.value ? (i(), d(h, {
147
168
  key: 0,
148
- width: "3rem",
169
+ width: D,
149
170
  align: "center",
150
- style: p(I.value)
171
+ style: m(ae.value)
151
172
  }, {
152
- default: n(() => [
153
- u.showSelectAll ? (r(), s(N, {
173
+ default: r(() => [
174
+ u.showSelectAll ? (i(), d(P, {
154
175
  key: 0,
155
- "model-value": H.value === !0,
156
- indeterminate: H.value === "indeterminate",
157
- "onUpdate:modelValue": G
176
+ "model-value": N.value === !0,
177
+ indeterminate: N.value === "indeterminate",
178
+ "onUpdate:modelValue": J
158
179
  }, null, 8, ["model-value", "indeterminate"])) : y("", !0)
159
180
  ]),
160
181
  _: 1
161
182
  }, 8, ["style"])) : y("", !0),
162
- (r(!0), k(b, null, w(d(i).visibleColumns.value, (e) => (r(), s(h, {
163
- key: e.key,
164
- align: e.align,
165
- width: e.width,
166
- nowrap: e.nowrap,
167
- style: p(q(e)),
168
- onClick: (o) => e.sortable ? d(i).applySort(e.key) : void 0
183
+ (i(!0), k(C, null, b(c(a).visibleColumns.value, (t) => (i(), d(h, {
184
+ key: t.key,
185
+ align: t.align,
186
+ width: t.width,
187
+ nowrap: t.nowrap,
188
+ style: m(ne(t)),
189
+ onClick: (o) => t.sortable ? c(a).applySort(t.key) : void 0
169
190
  }, {
170
- default: n(() => [
171
- _("span", de, [
172
- S(z(e.label) + " ", 1),
173
- e.sortable ? (r(), s(W, {
191
+ default: r(() => [
192
+ E("span", we, [
193
+ _(z(t.label) + " ", 1),
194
+ t.sortable ? (i(), d(j, {
174
195
  key: 0,
175
- name: O(e.key),
196
+ name: Q(t.key),
176
197
  size: "0.875rem",
177
- style: p({ opacity: F(e.key) })
198
+ style: m({ opacity: Z(t.key) })
178
199
  }, null, 8, ["name", "style"])) : y("", !0)
179
200
  ])
180
201
  ]),
181
202
  _: 2
182
203
  }, 1032, ["align", "width", "nowrap", "style", "onClick"]))), 128)),
183
- C.value ? (r(), s(h, {
204
+ w.value ? (i(), d(h, {
184
205
  key: 1,
185
- width: "3rem",
186
- style: p(I.value)
187
- }, null, 8, ["style"])) : y("", !0)
206
+ width: c(R),
207
+ style: m(ie.value)
208
+ }, null, 8, ["width", "style"])) : y("", !0)
188
209
  ]),
189
210
  _: 1
190
211
  }, 8, ["aria-rowindex"])
191
212
  ]),
192
213
  _: 1
193
214
  }),
194
- f(ie, null, {
195
- default: n(() => [
196
- u.virtualize && d(v).paddingTop.value > 0 ? (r(), k("tr", {
215
+ f(pe, null, {
216
+ default: r(() => [
217
+ u.virtualize && c(p).paddingTop.value > 0 ? (i(), k("tr", {
197
218
  key: 0,
198
219
  "aria-hidden": "true",
199
- style: p({ height: `${d(v).paddingTop.value}px`, padding: 0, border: 0 })
220
+ style: m({ height: `${c(p).paddingTop.value}px`, padding: 0, border: 0 })
200
221
  }, [
201
- _("td", {
202
- colspan: K.value,
222
+ E("td", {
223
+ colspan: U.value,
203
224
  style: { padding: "0", border: "none" }
204
- }, null, 8, ce)
225
+ }, null, 8, Se)
205
226
  ], 4)) : y("", !0),
206
- (r(!0), k(b, null, w(P.value, (e, o) => (r(), s(se, {
207
- key: B(e),
208
- disabled: x(e).length === 0
227
+ (i(!0), k(C, null, b(oe.value, (t, o) => (i(), d(be, {
228
+ key: $(t),
229
+ disabled: S(t).length === 0
209
230
  }, {
210
- menu: n(() => [
211
- (r(!0), k(b, null, w(x(e), (l) => (r(), s(E, {
212
- key: l.key,
213
- onSelect: (Q) => $("row-action", { action: l, row: e })
231
+ menu: r(() => [
232
+ (i(!0), k(C, null, b(S(t), (n) => (i(), d(F, {
233
+ key: n.key,
234
+ onSelect: (ue) => B("row-action", { action: n, row: t })
214
235
  }, {
215
- default: n(() => [
216
- S(z(l.label), 1)
236
+ default: r(() => [
237
+ _(z(n.label), 1)
217
238
  ]),
218
239
  _: 2
219
240
  }, 1032, ["onSelect"]))), 128))
220
241
  ]),
221
- default: n(() => [
222
- f(M, {
242
+ default: r(() => [
243
+ f(G, {
223
244
  ref_for: !0,
224
- ref: (l) => {
225
- u.virtualize && o === 0 && d(v).measureRow((l == null ? void 0 : l.rowEl) ?? null);
245
+ ref: (n) => {
246
+ u.virtualize && o === 0 && c(p).measureRow((n == null ? void 0 : n.rowEl) ?? null);
226
247
  },
227
- selected: D(e),
228
- "aria-rowindex": u.virtualize ? d(v).firstVisibleIndex.value + o + 2 : void 0,
248
+ selected: H(t),
249
+ "aria-rowindex": u.virtualize ? c(p).firstVisibleIndex.value + o + 2 : void 0,
229
250
  style: { cursor: "pointer" },
230
- onClick: (l) => $("row-click", { row: e })
251
+ onClick: (n) => B("row-click", { row: t })
231
252
  }, {
232
- default: n(() => [
233
- g.value ? (r(), s(h, {
253
+ default: r(() => [
254
+ g.value ? (i(), d(h, {
234
255
  key: 0,
235
256
  align: "center",
236
- onClick: a[0] || (a[0] = T(() => {
257
+ style: m(le.value),
258
+ onClick: l[0] || (l[0] = W(() => {
237
259
  }, ["stop"]))
238
260
  }, {
239
- default: n(() => [
240
- f(N, {
241
- "model-value": D(e),
242
- "onUpdate:modelValue": (l) => d(i).toggleSelection(B(e))
261
+ default: r(() => [
262
+ f(P, {
263
+ "model-value": H(t),
264
+ "onUpdate:modelValue": (n) => c(a).toggleSelection($(t))
243
265
  }, null, 8, ["model-value", "onUpdate:modelValue"])
244
266
  ]),
245
267
  _: 2
246
- }, 1024)) : y("", !0),
247
- (r(!0), k(b, null, w(d(i).visibleColumns.value, (l) => (r(), s(h, {
248
- key: l.key,
249
- align: l.align,
250
- nowrap: l.nowrap,
251
- style: p(j(l.key))
268
+ }, 1032, ["style"])) : y("", !0),
269
+ (i(!0), k(C, null, b(c(a).visibleColumns.value, (n) => (i(), d(h, {
270
+ key: n.key,
271
+ align: n.align,
272
+ nowrap: n.nowrap,
273
+ style: m(te(n.key))
252
274
  }, {
253
- default: n(() => [
254
- Z(t.$slots, `cell-${l.key}`, {
255
- value: e[l.key],
256
- row: e
275
+ default: r(() => [
276
+ ce(e.$slots, `cell-${n.key}`, {
277
+ value: t[n.key],
278
+ row: t
257
279
  }, () => [
258
- S(z(e[l.key]), 1)
280
+ _(z(t[n.key]), 1)
259
281
  ])
260
282
  ]),
261
283
  _: 2
262
284
  }, 1032, ["align", "nowrap", "style"]))), 128)),
263
- C.value ? (r(), s(h, {
285
+ w.value ? (i(), d(h, {
264
286
  key: 1,
265
- align: "right",
266
- onClick: a[1] || (a[1] = T(() => {
287
+ align: "center",
288
+ style: x,
289
+ onClick: l[1] || (l[1] = W(() => {
267
290
  }, ["stop"]))
268
291
  }, {
269
- default: n(() => [
270
- x(e).length > 0 ? (r(), s(re, { key: 0 }, {
271
- default: n(() => [
272
- f(ne, null, {
273
- default: n(() => [
274
- f(ue, {
292
+ default: r(() => [
293
+ S(t).length > 0 ? (i(), d(ke, { key: 0 }, {
294
+ default: r(() => [
295
+ f(ge, null, {
296
+ default: r(() => [
297
+ f(Ce, {
275
298
  variant: "ghost",
276
299
  size: "xs",
277
300
  style: { opacity: "0.4" }
278
301
  }, {
279
- default: n(() => [
280
- f(W, {
302
+ default: r(() => [
303
+ f(j, {
281
304
  name: "dots-three",
282
305
  size: "1rem"
283
306
  })
@@ -287,14 +310,14 @@ const de = { style: { display: "inline-flex", "align-items": "center", gap: "cal
287
310
  ]),
288
311
  _: 1
289
312
  }),
290
- f(oe, null, {
291
- default: n(() => [
292
- (r(!0), k(b, null, w(x(e), (l) => (r(), s(E, {
293
- key: l.key,
294
- onSelect: (Q) => $("row-action", { action: l, row: e })
313
+ f(he, null, {
314
+ default: r(() => [
315
+ (i(!0), k(C, null, b(S(t), (n) => (i(), d(F, {
316
+ key: n.key,
317
+ onSelect: (ue) => B("row-action", { action: n, row: t })
295
318
  }, {
296
- default: n(() => [
297
- S(z(l.label), 1)
319
+ default: r(() => [
320
+ _(z(n.label), 1)
298
321
  ]),
299
322
  _: 2
300
323
  }, 1032, ["onSelect"]))), 128))
@@ -313,15 +336,15 @@ const de = { style: { display: "inline-flex", "align-items": "center", gap: "cal
313
336
  ]),
314
337
  _: 2
315
338
  }, 1032, ["disabled"]))), 128)),
316
- u.virtualize && d(v).paddingBottom.value > 0 ? (r(), k("tr", {
339
+ u.virtualize && c(p).paddingBottom.value > 0 ? (i(), k("tr", {
317
340
  key: 1,
318
341
  "aria-hidden": "true",
319
- style: p({ height: `${d(v).paddingBottom.value}px`, padding: 0, border: 0 })
342
+ style: m({ height: `${c(p).paddingBottom.value}px`, padding: 0, border: 0 })
320
343
  }, [
321
- _("td", {
322
- colspan: K.value,
344
+ E("td", {
345
+ colspan: U.value,
323
346
  style: { padding: "0", border: "none" }
324
- }, null, 8, fe)
347
+ }, null, 8, xe)
325
348
  ], 4)) : y("", !0)
326
349
  ]),
327
350
  _: 3
@@ -332,5 +355,5 @@ const de = { style: { display: "inline-flex", "align-items": "center", gap: "cal
332
355
  }
333
356
  });
334
357
  export {
335
- He as default
358
+ Ue as default
336
359
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CuiDataGridViewManager.vue.d.ts","sourceRoot":"","sources":["../../src/components/CuiDataGridViewManager.vue"],"names":[],"mappings":"AA2KA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAY9D,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,mBAAmB,CAAC;CAC/B,CAAC;;AAwZF,wBAMG"}
1
+ {"version":3,"file":"CuiDataGridViewManager.vue.d.ts","sourceRoot":"","sources":["../../src/components/CuiDataGridViewManager.vue"],"names":[],"mappings":"AA4KA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAY9D,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,mBAAmB,CAAC;CAC/B,CAAC;;AA4ZF,wBAMG"}