@bridge-ui/vue 0.21.0 → 0.22.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 (55) hide show
  1. package/dist/Components/Alert/Alert.vue_vue_type_script_setup_true_lang.js +24 -10
  2. package/dist/Components/Alert/alert.types.d.ts +5 -4
  3. package/dist/Components/Alert/composables/useAlert.d.ts +2 -2
  4. package/dist/Components/Alert/composables/useAlert.js +2 -2
  5. package/dist/Components/Autocomplete/Autocomplete.vue.d.ts +1 -0
  6. package/dist/Components/Autocomplete/Autocomplete.vue_vue_type_script_setup_true_lang.js +5 -1
  7. package/dist/Components/Autocomplete/autocomplete.types.d.ts +7 -0
  8. package/dist/Components/Autocomplete/composables/useAutocomplete.d.ts +2 -2
  9. package/dist/Components/Autocomplete/composables/useAutocomplete.js +3 -2
  10. package/dist/Components/Avatar/composables/useAvatar.js +2 -2
  11. package/dist/Components/Calendar/composables/useCalendar.js +132 -131
  12. package/dist/Components/CalendarDate/composables/useCalendarDate.js +116 -115
  13. package/dist/Components/CalendarRange/composables/useCalendarRange.js +132 -131
  14. package/dist/Components/Card/Card.vue_vue_type_script_setup_true_lang.js +24 -10
  15. package/dist/Components/Card/card.types.d.ts +5 -4
  16. package/dist/Components/Card/composables/useCard.d.ts +2 -2
  17. package/dist/Components/Card/composables/useCard.js +2 -2
  18. package/dist/Components/Carousel/composables/useCarousel.js +6 -6
  19. package/dist/Components/Chip/Chip.vue.d.ts +0 -1
  20. package/dist/Components/Chip/Chip.vue_vue_type_script_setup_true_lang.js +1 -1
  21. package/dist/Components/ColorPicker/ColorPicker.vue_vue_type_script_setup_true_lang.js +48 -39
  22. package/dist/Components/DataTable/DataTable.vue_vue_type_script_setup_true_lang.js +33 -36
  23. package/dist/Components/DataTable/composables/useDataTable.d.ts +2 -0
  24. package/dist/Components/DataTable/composables/useDataTable.js +226 -216
  25. package/dist/Components/EmptyState/EmptyState.vue.d.ts +0 -3
  26. package/dist/Components/EmptyState/EmptyState.vue_vue_type_script_setup_true_lang.js +4 -4
  27. package/dist/Components/FileUpload/FileUpload.vue_vue_type_script_setup_true_lang.js +51 -57
  28. package/dist/Components/FileUpload/composables/useFileUpload.d.ts +2 -0
  29. package/dist/Components/FileUpload/composables/useFileUpload.js +6 -4
  30. package/dist/Components/Link/Link.vue_vue_type_script_setup_true_lang.js +1 -1
  31. package/dist/Components/Link/link.types.d.ts +1 -1
  32. package/dist/Components/ListItem/composables/useListItem.js +4 -5
  33. package/dist/Components/Pagination/composables/usePagination.js +9 -9
  34. package/dist/Components/Select/Select.vue.d.ts +1 -0
  35. package/dist/Components/Select/Select.vue_vue_type_script_setup_true_lang.js +5 -1
  36. package/dist/Components/Select/composables/useSelect.d.ts +2 -2
  37. package/dist/Components/Select/composables/useSelect.js +3 -2
  38. package/dist/Components/Select/select.types.d.ts +7 -0
  39. package/dist/Components/Snackbar/Snackbar.vue_vue_type_script_setup_true_lang.js +97 -72
  40. package/dist/Components/Snackbar/composables/useSnackbar.d.ts +2 -2
  41. package/dist/Components/Snackbar/composables/useSnackbar.js +2 -2
  42. package/dist/Components/Snackbar/snackbar.types.d.ts +5 -4
  43. package/dist/Components/Table/composables/useTableRow.js +3 -3
  44. package/dist/Components/Text/Text.vue_vue_type_script_setup_true_lang.js +1 -1
  45. package/dist/Components/Text/composables/useText.d.ts +1 -1
  46. package/dist/Components/Text/text.types.d.ts +1 -1
  47. package/dist/Components/TimePanel/composables/useTimePanel.js +113 -112
  48. package/dist/Utils/index.d.ts +6 -0
  49. package/dist/Utils/index.js +21 -17
  50. package/dist/index.js +157 -157
  51. package/docs/components/Autocomplete.md +23 -22
  52. package/docs/components/Link.md +1 -1
  53. package/docs/components/Select.md +22 -21
  54. package/docs/components/Text.md +6 -4
  55. package/package.json +2 -2
@@ -1,18 +1,19 @@
1
1
  import { useOptionalModel as e } from "../../Utils/useOptionalModel.js";
2
2
  import t from "../ActionFooter/ActionFooter.js";
3
- import { useColorPicker as n } from "./composables/useColorPicker.js";
4
- import { Fragment as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, guardReactiveProps as l, mergeModels as u, mergeProps as d, normalizeClass as f, normalizeProps as p, normalizeStyle as m, openBlock as h, ref as g, renderList as _, renderSlot as v, toDisplayString as y, unref as b, useModel as x } from "vue";
5
- import { cn as S } from "@bridge-ui/core/Utils";
3
+ import n from "../Text/Text.js";
4
+ import { useColorPicker as r } from "./composables/useColorPicker.js";
5
+ import { Fragment as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, guardReactiveProps as d, mergeModels as f, mergeProps as p, normalizeClass as m, normalizeProps as h, normalizeStyle as g, openBlock as _, ref as v, renderList as y, renderSlot as b, toDisplayString as x, unref as S, useModel as C, withCtx as w } from "vue";
6
+ import { cn as T } from "@bridge-ui/core/Utils";
6
7
  // src/Components/ColorPicker/ColorPicker.vue?vue&type=script&setup=true&lang.ts
7
- var C = { class: "min-w-0 truncate text-sm text-dark-700 dark:text-dark-100" }, w = [
8
+ var E = [
8
9
  "aria-label",
9
10
  "onClick",
10
11
  "aria-pressed",
11
12
  "disabled"
12
- ], T = /*@__PURE__*/ c({
13
+ ], D = /*@__PURE__*/ u({
13
14
  inheritAttrs: !1,
14
15
  __name: "ColorPicker",
15
- props: /*@__PURE__*/ u({
16
+ props: /*@__PURE__*/ f({
16
17
  alpha: { type: Boolean },
17
18
  classes: {},
18
19
  color: {},
@@ -32,68 +33,76 @@ var C = { class: "min-w-0 truncate text-sm text-dark-700 dark:text-dark-100" },
32
33
  modelValue: {},
33
34
  modelModifiers: {}
34
35
  }),
35
- emits: /*@__PURE__*/ u([
36
+ emits: /*@__PURE__*/ f([
36
37
  "apply",
37
38
  "cancel",
38
39
  "change",
39
40
  "update:modelValue"
40
41
  ], ["update:modelValue"]),
41
- setup(c, { emit: u }) {
42
- let T = x(c, "modelValue"), E = u, D = c, O = g(D.defaultValue ?? null), k = e(T, O), { merged: A, hueBind: j, rootBind: M, areaBind: N, alphaBind: P, showAlpha: F, swatchCss: I, footerBind: ee, showFooter: L, previewBind: R, contentBind: z, handleApply: B, swatchesBind: V, handleCancel: H, hueThumbBind: U, areaThumbBind: W, alphaFillBind: G, formattedValue: K, alphaThumbBind: q, presetSwatches: J, applyButtonProps: Y, isSwatchSelected: X, previewSwatchBind: Z, handleSwatchClick: Q, swatchButtonClass: $, cancelButtonProps: te, swatchSelectedClass: ne, previewSwatchFillBind: re } = n(D, {
42
+ setup(u, { emit: f }) {
43
+ let D = C(u, "modelValue"), O = f, k = u, A = v(k.defaultValue ?? null), j = e(D, A), { merged: M, hueBind: N, rootBind: P, areaBind: F, alphaBind: I, showAlpha: L, swatchCss: ee, footerBind: R, showFooter: z, previewBind: B, contentBind: V, handleApply: H, swatchesBind: U, handleCancel: W, hueThumbBind: G, areaThumbBind: K, alphaFillBind: q, formattedValue: J, alphaThumbBind: Y, presetSwatches: X, applyButtonProps: Z, isSwatchSelected: Q, previewSwatchBind: $, handleSwatchClick: te, swatchButtonClass: ne, cancelButtonProps: re, swatchSelectedClass: ie, previewSwatchFillBind: ae } = r(k, {
43
44
  rounded: "md",
44
45
  format: "hex",
45
46
  color: "primary"
46
- }, k, E);
47
- return (e, n) => (h(), a("div", p(l(b(M))), [o("div", { class: f(b(z)) }, [
48
- o("div", p(l(b(N))), [
49
- n[0] ||= o("span", {
47
+ }, j, O);
48
+ return (e, r) => (_(), o("div", h(d(S(P))), [s("div", { class: m(S(V)) }, [
49
+ s("div", h(d(S(F))), [
50
+ r[0] ||= s("span", {
50
51
  "aria-hidden": "",
51
52
  class: "pointer-events-none absolute inset-0",
52
53
  style: { backgroundImage: "linear-gradient(to right, #fff, transparent)" }
53
54
  }, null, -1),
54
- n[1] ||= o("span", {
55
+ r[1] ||= s("span", {
55
56
  "aria-hidden": "",
56
57
  class: "pointer-events-none absolute inset-0",
57
58
  style: { backgroundImage: "linear-gradient(to top, #000, transparent)" }
58
59
  }, null, -1),
59
- o("span", p(l(b(W))), null, 16)
60
+ s("span", h(d(S(K))), null, 16)
60
61
  ], 16),
61
- o("div", p(l(b(j))), [o("span", p(l(b(U))), null, 16)], 16),
62
- b(F) ? (h(), a("div", p(d({ key: 0 }, b(P))), [o("span", p(l(b(G))), null, 16), o("span", p(l(b(q))), null, 16)], 16)) : i("", !0),
63
- o("div", p(l(b(R))), [o("span", p(l(b(Z))), [o("span", p(l(b(re))), null, 16)], 16), o("span", C, y(b(K)), 1)], 16),
64
- b(J).length > 0 ? (h(), a("div", p(d({ key: 1 }, b(V))), [(h(!0), a(r, null, _(b(J), (e) => (h(), a("button", {
62
+ s("div", h(d(S(N))), [s("span", h(d(S(G))), null, 16)], 16),
63
+ S(L) ? (_(), o("div", h(p({ key: 0 }, S(I))), [s("span", h(d(S(q))), null, 16), s("span", h(d(S(Y))), null, 16)], 16)) : a("", !0),
64
+ s("div", h(d(S(B))), [s("span", h(d(S($))), [s("span", h(d(S(ae))), null, 16)], 16), l(S(n), {
65
+ truncate: "",
66
+ as: "span",
67
+ color: "inherit",
68
+ class: "min-w-0 font-normal text-dark-700 dark:text-dark-100"
69
+ }, {
70
+ default: w(() => [c(x(S(J)), 1)]),
71
+ _: 1
72
+ })], 16),
73
+ S(X).length > 0 ? (_(), o("div", h(p({ key: 1 }, S(U))), [(_(!0), o(i, null, y(S(X), (e) => (_(), o("button", {
65
74
  type: "button",
66
75
  key: e,
67
76
  "aria-label": e,
68
- onClick: (t) => b(Q)(e),
69
- "aria-pressed": b(X)(e),
70
- disabled: b(A).disabled || b(A).readOnly,
71
- class: f(b(S)({
72
- [b($)]: !0,
73
- [b(ne)]: b(X)(e)
77
+ onClick: (t) => S(te)(e),
78
+ "aria-pressed": S(Q)(e),
79
+ disabled: S(M).disabled || S(M).readOnly,
80
+ class: m(S(T)({
81
+ [S(ne)]: !0,
82
+ [S(ie)]: S(Q)(e)
74
83
  }))
75
- }, [o("span", {
84
+ }, [s("span", {
76
85
  "aria-hidden": "",
77
86
  class: "absolute inset-0",
78
- style: m({ backgroundColor: b(I)(e) })
79
- }, null, 4)], 10, w))), 128))], 16)) : i("", !0)
80
- ], 2), b(L) ? (h(), a("div", p(d({ key: 0 }, b(ee))), [v(e.$slots, "footer", {
81
- apply: b(B),
82
- cancel: b(H)
83
- }, () => [s(b(t), {
84
- color: b(A).color,
85
- onApply: b(B),
86
- onCancel: b(H),
87
+ style: g({ backgroundColor: S(ee)(e) })
88
+ }, null, 4)], 10, E))), 128))], 16)) : a("", !0)
89
+ ], 2), S(z) ? (_(), o("div", h(p({ key: 0 }, S(R))), [b(e.$slots, "footer", {
90
+ apply: S(H),
91
+ cancel: S(W)
92
+ }, () => [l(S(t), {
93
+ color: S(M).color,
94
+ onApply: S(H),
95
+ onCancel: S(W),
87
96
  "custom-props": {
88
- applyButton: b(Y),
89
- cancelButton: b(te)
97
+ applyButton: S(Z),
98
+ cancelButton: S(re)
90
99
  }
91
100
  }, null, 8, [
92
101
  "color",
93
102
  "onApply",
94
103
  "onCancel",
95
104
  "custom-props"
96
- ])])], 16)) : i("", !0)], 16));
105
+ ])])], 16)) : a("", !0)], 16));
97
106
  }
98
107
  });
99
- export { T as default };
108
+ export { D as default };
@@ -35,12 +35,9 @@ var be = { class: "min-w-0 flex-1" }, xe = { class: "flex shrink-0 items-center
35
35
  "aria-expanded",
36
36
  "aria-label",
37
37
  "onClick"
38
- ], Ce = ["aria-hidden"], we = { class: "min-h-0 overflow-hidden" }, Te = { class: "p-3" }, Ee = ["aria-hidden"], De = { class: "flex shrink-0 items-center gap-2" }, Oe = { class: "text-sm whitespace-nowrap" }, ke = {
38
+ ], Ce = ["aria-hidden"], we = { class: "min-h-0 overflow-hidden" }, Te = { class: "p-3" }, Ee = ["aria-hidden"], De = { class: "flex shrink-0 items-center gap-2" }, Oe = {
39
39
  key: 2,
40
40
  class: "flex shrink-0 items-center gap-3"
41
- }, Ae = {
42
- key: 0,
43
- class: "text-sm font-medium whitespace-nowrap"
44
41
  }, M = /*@__PURE__*/ m({
45
42
  inheritAttrs: !1,
46
43
  __name: "DataTable",
@@ -129,7 +126,7 @@ var be = { class: "min-w-0 flex-1" }, xe = { class: "flex shrink-0 items-center
129
126
  "update:columnSearch"
130
127
  ],
131
128
  setup(m) {
132
- let g = m, M = ve(), N = e(), P = T(m, "page"), je = T(m, "perPage"), F = T(m, "search"), Me = T(m, "expanded"), Ne = T(m, "selection"), Pe = T(m, "cursor"), Fe = T(m, "filters"), Ie = T(m, "sorting"), Le = T(m, "hiddenColumns"), Re = T(m, "columnSearch"), { merged: I, rowViews: ze, rootBind: Be, emptyBind: Ve, showEmpty: L, frameBind: He, showPager: Ue, tableProps: We, footerBind: Ge, loadingBar: R, showSearch: z, getHeadBind: Ke, headerViews: qe, loadingBind: Je, onToggleRow: Ye, toolbarBind: Xe, getCellBind: B, columnCount: V, cursorPaged: Ze, showPerPage: Qe, showToolbar: $e, selectedBind: et, showSelected: tt, getHeadAlign: nt, getCellAlign: H, onTogglePage: rt, onToggleSort: it, summaryCells: U, showFooterBar: at, expandEnabled: ot, footerBarBind: st, loadingBarBind: ct, paginationBind: lt, selectAllState: W, onChangeSearch: ut, onToggleExpand: dt, visibilityItems: ft, perPageSlotProps: G, selectedSlotProps: K, resolvedPageCount: q, selectionMultiple: J, visibilityEnabled: pt, paginationSlotProps: Y, onCommitColumnFilter: mt, onHiddenColumnsChange: ht } = r(g, {
129
+ let g = m, M = ve(), N = e(), P = T(m, "page"), ke = T(m, "perPage"), F = T(m, "search"), Ae = T(m, "expanded"), je = T(m, "selection"), Me = T(m, "cursor"), Ne = T(m, "filters"), Pe = T(m, "sorting"), Fe = T(m, "hiddenColumns"), Ie = T(m, "columnSearch"), { merged: I, rowViews: Le, rootBind: Re, emptyBind: ze, showEmpty: L, frameBind: Be, showPager: Ve, tableProps: He, footerBind: Ue, loadingBar: R, showSearch: We, getHeadBind: Ge, headerViews: z, loadingBind: Ke, onToggleRow: qe, toolbarBind: Je, getCellBind: B, columnCount: V, cursorPaged: Ye, showPerPage: Xe, showToolbar: Ze, selectedBind: Qe, showSelected: $e, getHeadAlign: et, getCellAlign: H, onTogglePage: tt, onToggleSort: nt, summaryCells: U, showFooterBar: rt, expandEnabled: it, footerBarBind: at, loadingBarBind: ot, paginationBind: st, selectAllState: W, onChangeSearch: ct, pageStatusBind: lt, onToggleExpand: ut, visibilityItems: dt, perPageLabelBind: ft, perPageSlotProps: G, selectedSlotProps: K, resolvedPageCount: q, selectionMultiple: J, visibilityEnabled: pt, paginationSlotProps: Y, onCommitColumnFilter: mt, onHiddenColumnsChange: ht } = r(g, {
133
130
  size: "md",
134
131
  full: !0,
135
132
  rounded: "lg",
@@ -144,15 +141,15 @@ var be = { class: "min-w-0 flex-1" }, xe = { class: "flex shrink-0 items-center
144
141
  loadingVariant: "overlay"
145
142
  }, {
146
143
  page: P,
147
- cursor: Pe,
144
+ cursor: Me,
148
145
  search: F,
149
- perPage: je,
150
- filters: Fe,
151
- sorting: Ie,
152
- expanded: Me,
153
- selection: Ne,
154
- columnSearch: Re,
155
- hiddenColumns: Le
146
+ perPage: ke,
147
+ filters: Ne,
148
+ sorting: Pe,
149
+ expanded: Ae,
150
+ selection: je,
151
+ columnSearch: Ie,
152
+ hiddenColumns: Fe
156
153
  }), X = c(() => ye(I.value.size)), Z = X, gt = c(() => X.value === "md" ? "sm" : "xs"), _t = c(() => N("{{selected}} of {{total}} row(s) selected.", K.value.selectedCount, {
157
154
  total: K.value.totalCount,
158
155
  selected: K.value.selectedCount
@@ -192,9 +189,9 @@ var be = { class: "min-w-0 flex-1" }, xe = { class: "flex shrink-0 items-center
192
189
  }
193
190
  };
194
191
  }), Ct = _e(), $ = (e) => e.node ?? null;
195
- return (e, r) => (b(), d("div", y(h(w(Be))), [w($e) ? (b(), d("div", y(_({ key: 0 }, w(Xe))), [f("div", be, [S(e.$slots, "toolbar")]), f("div", xe, [
192
+ return (e, r) => (b(), d("div", y(h(w(Re))), [w(Ze) ? (b(), d("div", y(_({ key: 0 }, w(Je))), [f("div", be, [S(e.$slots, "toolbar")]), f("div", xe, [
196
193
  w(pt) ? (b(), d("div", Se, [p(oe, {
197
- items: w(ft),
194
+ items: w(dt),
198
195
  "button-size": gt.value,
199
196
  overlay: w(I).columnsOverlay,
200
197
  onChange: w(ht),
@@ -207,10 +204,10 @@ var be = { class: "min-w-0 flex-1" }, xe = { class: "flex shrink-0 items-center
207
204
  "show-footer"
208
205
  ])])) : u("", !0),
209
206
  S(e.$slots, "toolbarActions"),
210
- w(z) ? S(e.$slots, "search", {}, () => [p(le, {
207
+ w(We) ? S(e.$slots, "search", {}, () => [p(le, {
211
208
  size: X.value,
212
209
  "model-value": F.value ?? "",
213
- "onUpdate:modelValue": w(ut),
210
+ "onUpdate:modelValue": w(ct),
214
211
  "field-props": w(I).customProps?.search
215
212
  }, null, 8, [
216
213
  "size",
@@ -218,20 +215,20 @@ var be = { class: "min-w-0 flex-1" }, xe = { class: "flex shrink-0 items-center
218
215
  "onUpdate:modelValue",
219
216
  "field-props"
220
217
  ])], void 0, 1) : u("", !0)
221
- ])], 16)) : u("", !0), f("div", y(h(w(He))), [
222
- f("div", O, [p(w(de), y(h(w(We))), {
218
+ ])], 16)) : u("", !0), f("div", y(h(w(Be))), [
219
+ f("div", O, [p(w(de), y(h(w(He))), {
223
220
  default: E(() => [
224
221
  p(w(he), y(h(w(I).customProps?.header)), {
225
222
  default: E(() => [p(w(o), y(h(w(I).customProps?.row)), {
226
- default: E(() => [(b(!0), d(s, null, x(w(qe), (e) => (b(), l(w(me), _({
223
+ default: E(() => [(b(!0), d(s, null, x(w(z), (e) => (b(), l(w(me), _({
227
224
  key: e.id,
228
- align: w(nt)(e)
229
- }, { ref_for: !0 }, w(Ke)(e)), {
225
+ align: w(et)(e)
226
+ }, { ref_for: !0 }, w(Ge)(e)), {
230
227
  default: E(() => [e.isSelection && w(J) ? (b(), l(i, {
231
228
  key: 0,
232
229
  kind: "page",
233
230
  size: w(Z),
234
- onChange: w(rt),
231
+ onChange: w(tt),
235
232
  checked: w(W).checked,
236
233
  indeterminate: w(W).indeterminate,
237
234
  "checkbox-props": w(I).customProps?.checkbox
@@ -246,7 +243,7 @@ var be = { class: "min-w-0 flex-1" }, xe = { class: "flex shrink-0 items-center
246
243
  e.sortable ? (b(), l(ue, {
247
244
  key: 0,
248
245
  sort: e.ariaSort,
249
- onClick: (t) => w(it)(e.id)
246
+ onClick: (t) => w(nt)(e.id)
250
247
  }, null, 8, ["sort", "onClick"])) : u("", !0),
251
248
  e.filterable ? (b(), l(se, {
252
249
  key: 1,
@@ -282,7 +279,7 @@ var be = { class: "min-w-0 flex-1" }, xe = { class: "flex shrink-0 items-center
282
279
  colspan: w(V),
283
280
  classes: { root: "relative h-0 border-0 p-0 after:hidden" }
284
281
  }, {
285
- default: E(() => [f("div", y(h(w(ct))), [S(e.$slots, "loading", {}, () => [p(w(ee), _({
282
+ default: E(() => [f("div", y(h(w(ot))), [S(e.$slots, "loading", {}, () => [p(w(ee), _({
286
283
  size: "xs",
287
284
  rounded: "none"
288
285
  }, w(I).customProps?.progress), null, 16)])], 16)]),
@@ -298,7 +295,7 @@ var be = { class: "min-w-0 flex-1" }, xe = { class: "flex shrink-0 items-center
298
295
  align: "center",
299
296
  colspan: w(V)
300
297
  }, {
301
- default: E(() => [f("div", y(h(w(Ve))), [S(e.$slots, "empty", {}, () => [p(w(te), {
298
+ default: E(() => [f("div", y(h(w(ze))), [S(e.$slots, "empty", {}, () => [p(w(te), {
302
299
  icon: "inbox",
303
300
  size: w(I).size,
304
301
  title: w(N)("No data")
@@ -306,7 +303,7 @@ var be = { class: "min-w-0 flex-1" }, xe = { class: "flex shrink-0 items-center
306
303
  _: 3
307
304
  }, 8, ["colspan"])]),
308
305
  _: 3
309
- })) : u("", !0), w(L) ? u("", !0) : (b(!0), d(s, { key: 1 }, x(w(ze), (t) => (b(), d(s, { key: t.id }, [p(w(o), _({ ref_for: !0 }, w(I).customProps?.row), {
306
+ })) : u("", !0), w(L) ? u("", !0) : (b(!0), d(s, { key: 1 }, x(w(Le), (t) => (b(), d(s, { key: t.id }, [p(w(o), _({ ref_for: !0 }, w(I).customProps?.row), {
310
307
  default: E(() => [(b(!0), d(s, null, x(t.cells, (e) => (b(), l(w(a), _({
311
308
  key: e.id,
312
309
  align: w(H)(e)
@@ -321,7 +318,7 @@ var be = { class: "min-w-0 flex-1" }, xe = { class: "flex shrink-0 items-center
321
318
  multiple: w(J),
322
319
  "radio-props": w(I).customProps?.radio,
323
320
  "checkbox-props": w(I).customProps?.checkbox,
324
- onChange: (e) => w(Ye)(t.id, e)
321
+ onChange: (e) => w(qe)(t.id, e)
325
322
  }, null, 8, [
326
323
  "value",
327
324
  "size",
@@ -336,7 +333,7 @@ var be = { class: "min-w-0 flex-1" }, xe = { class: "flex shrink-0 items-center
336
333
  type: "button",
337
334
  "aria-expanded": t.expanded,
338
335
  "aria-label": w(N)("Expand row"),
339
- onClick: (e) => w(dt)(t.id, !t.expanded),
336
+ onClick: (e) => w(ut)(t.id, !t.expanded),
340
337
  class: "inline-flex size-6 shrink-0 cursor-pointer items-center justify-center rounded-sm leading-none hover:bg-dark-500/10 dark:hover:bg-dark-500/15"
341
338
  }, [f("span", { class: v([{ "rotate-90": t.expanded }, "inline-flex transition-transform duration-200 motion-reduce:transition-none"]) }, [p(w(n), {
342
339
  size: "sm",
@@ -352,7 +349,7 @@ var be = { class: "min-w-0 flex-1" }, xe = { class: "flex shrink-0 items-center
352
349
  _: 2
353
350
  }, 1040, ["align"]))), 128))]),
354
351
  _: 2
355
- }, 1040), w(ot) ? (b(), l(w(o), { key: 0 }, {
352
+ }, 1040), w(it) ? (b(), l(w(o), { key: 0 }, {
356
353
  default: E(() => [p(w(a), {
357
354
  colspan: w(V),
358
355
  classes: { root: w(D)({
@@ -389,11 +386,11 @@ var be = { class: "min-w-0 flex-1" }, xe = { class: "flex shrink-0 items-center
389
386
  })) : u("", !0)
390
387
  ]),
391
388
  _: 3
392
- }, 16), w(I).loading ? (b(), d("div", _({ key: 0 }, w(Je), { "aria-hidden": w(R) || void 0 }), [w(R) ? u("", !0) : S(e.$slots, "loading", {}, () => [p(ie)], void 0, 0)], 16, Ee)) : u("", !0)]),
393
- w(t)(w(M), "footer") ? (b(), d("div", y(_({ key: 0 }, w(Ge))), [S(e.$slots, "footer")], 16)) : u("", !0),
394
- w(at) ? (b(), d("div", y(_({ key: 1 }, w(st))), [f("div", y(h(w(lt))), [
395
- w(tt) ? (b(), d("div", y(_({ key: 0 }, w(et))), [S(e.$slots, "selected", y(h(w(K))), () => [ge(C(_t.value), 1)])], 16)) : u("", !0),
396
- w(Qe) ? S(e.$slots, "perPage", y(h(w(G))), () => [f("div", De, [f("span", Oe, C(w(N)("Rows per page")), 1), p(w(re), _(w(I).customProps?.perPage, {
389
+ }, 16), w(I).loading ? (b(), d("div", _({ key: 0 }, w(Ke), { "aria-hidden": w(R) || void 0 }), [w(R) ? u("", !0) : S(e.$slots, "loading", {}, () => [p(ie)], void 0, 0)], 16, Ee)) : u("", !0)]),
390
+ w(t)(w(M), "footer") ? (b(), d("div", y(_({ key: 0 }, w(Ue))), [S(e.$slots, "footer")], 16)) : u("", !0),
391
+ w(rt) ? (b(), d("div", y(_({ key: 1 }, w(at))), [f("div", y(h(w(st))), [
392
+ w($e) ? (b(), d("div", y(_({ key: 0 }, w(Qe))), [S(e.$slots, "selected", y(h(w(K))), () => [ge(C(_t.value), 1)])], 16)) : u("", !0),
393
+ w(Xe) ? S(e.$slots, "perPage", y(h(w(G))), () => [f("div", De, [f("span", y(h(w(ft))), C(w(N)("Rows per page")), 17), p(w(re), _(w(I).customProps?.perPage, {
397
394
  overlay: "menu",
398
395
  clearable: !1,
399
396
  "hide-error-message": "",
@@ -415,7 +412,7 @@ var be = { class: "min-w-0 flex-1" }, xe = { class: "flex shrink-0 items-center
415
412
  "aria-label",
416
413
  "classes"
417
414
  ])])], void 0, 1) : u("", !0),
418
- w(Ue) ? (b(), d("div", ke, [w(q) !== void 0 && !w(t)(w(M), "pagination") ? (b(), d("span", Ae, C(vt.value), 1)) : u("", !0), S(e.$slots, "pagination", y(h(w(Y))), () => [w(Ze) ? (b(), l(w(ne), _({ key: 0 }, w(I).customProps?.cursorPagination, {
415
+ w(Ve) ? (b(), d("div", Oe, [w(q) !== void 0 && !w(t)(w(M), "pagination") ? (b(), d("span", y(_({ key: 0 }, w(lt))), C(vt.value), 17)) : u("", !0), S(e.$slots, "pagination", y(h(w(Y))), () => [w(Ye) ? (b(), l(w(ne), _({ key: 0 }, w(I).customProps?.cursorPagination, {
419
416
  mode: "simple",
420
417
  size: X.value,
421
418
  onNext: w(Y).onNext,
@@ -489,6 +489,7 @@ export declare function useDataTable<T extends Record<string, unknown>>(props: D
489
489
  paginationBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<{
490
490
  class: string;
491
491
  }, "class", {}, {}>>;
492
+ pageStatusBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", {}, {}>>;
492
493
  selectAllState: import('vue').ComputedRef<{
493
494
  checked: boolean;
494
495
  indeterminate: boolean;
@@ -498,6 +499,7 @@ export declare function useDataTable<T extends Record<string, unknown>>(props: D
498
499
  onChangePerPage: (next: number) => void;
499
500
  resolvedPerPage: import('vue').ComputedRef<number>;
500
501
  selectionEnabled: import('vue').ComputedRef<boolean>;
502
+ perPageLabelBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", {}, {}>>;
501
503
  perPageSlotProps: import('vue').ComputedRef<DataTablePerPageSlotProps>;
502
504
  selectedSlotProps: import('vue').ComputedRef<DataTableSelectedSlotProps>;
503
505
  resolvedPageCount: import('vue').ComputedRef<number | undefined>;