@orchidui/core 1.99.0 → 1.100.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 (89) hide show
  1. package/dist/DataDisplay/AccountVerificationContent/OcAccountVerificationContent.js +1 -1
  2. package/dist/DataDisplay/CustomerCard/OcCustomerCard.js +1 -1
  3. package/dist/DataDisplay/FloatContent/OcFloatContent.js +1 -1
  4. package/dist/DataDisplay/InfoCard/OcInfoCard.js +1 -1
  5. package/dist/DataDisplay/ListDetail/OcListDetail.js +1 -1
  6. package/dist/DataDisplay/ListItem/OcListItem.js +1 -1
  7. package/dist/DataDisplay/NewTable/OcNewTable.js +1 -1
  8. package/dist/DataDisplay/OnboardingListItem/OcOnboardingListItem.js +1 -1
  9. package/dist/DataDisplay/OnboardingRecap/OcOnboardingRecap.js +1 -1
  10. package/dist/DataDisplay/Overview/OcOverview.js +1 -1
  11. package/dist/DataDisplay/Pagination/OcPagination.js +1 -1
  12. package/dist/DataDisplay/RowItemData/OcRowItemData.js +1 -1
  13. package/dist/DataDisplay/Table/OcTable.js +1 -1
  14. package/dist/DataDisplay/TransferSummary/OcTransferSummary.js +1 -1
  15. package/dist/Disclosure/Accordion/OcAccordion.js +1 -1
  16. package/dist/Disclosure/OnboardingAccordion/OnboardingAccordion.js +1 -1
  17. package/dist/Disclosure/OnboardingProduct/OnboardingProductOption.js +1 -1
  18. package/dist/Disclosure/Steps/OcSteps.js +1 -1
  19. package/dist/Disclosure/Tabs/Tabs.js +1 -1
  20. package/dist/Disclosure/Variants/OcVariants.js +1 -1
  21. package/dist/Elements/AdditionalContent/OcAdditionalContent.js +1 -1
  22. package/dist/Elements/AuthenticationOption/AuthenticationOption.js +1 -1
  23. package/dist/Elements/Box/OcBox.js +1 -1
  24. package/dist/Elements/Checklist/OcChecklist.js +1 -1
  25. package/dist/Elements/EmptyPage/OcEmptyPage.js +1 -1
  26. package/dist/Elements/FeatureOverviewCard/OcFeatureOverviewCard.js +1 -1
  27. package/dist/Elements/Header/OcHeader.js +1 -1
  28. package/dist/Elements/PageTitle/OcPageTitle.js +1 -1
  29. package/dist/Elements/SandboxBanner/OcSandboxBanner.js +1 -1
  30. package/dist/Elements/Sidebar/OcSidebar.js +2 -2
  31. package/dist/Elements/SubSidebar/OcSubSidebar.js +1 -1
  32. package/dist/Elements/TopBanner/OcTopBanner.js +1 -1
  33. package/dist/Elements/VerificationOption/OcVerificationOption.js +1 -1
  34. package/dist/Feedback/Banner/OcBanner.js +1 -1
  35. package/dist/Feedback/Chip/OcChip.js +1 -1
  36. package/dist/Feedback/ShareIcon/OcShareIcon.js +1 -1
  37. package/dist/Feedback/Snackbar/OcSnackbar.js +1 -1
  38. package/dist/Form/BaseInput/OcBaseInput.js +1 -1
  39. package/dist/Form/Button/OcButton.js +1 -1
  40. package/dist/Form/Calendar/OcCalendar.js +1 -1
  41. package/dist/Form/CardInput/OcCardInput.js +1 -1
  42. package/dist/Form/Checkbox/OcCheckbox.js +1 -1
  43. package/dist/Form/CheckboxesGroup/OcCheckboxesGroup.js +1 -1
  44. package/dist/Form/Criteria/OcCriteria.js +1 -1
  45. package/dist/Form/Cropper/OcCropper.js +1 -1
  46. package/dist/Form/DatePicker/OcDatePicker.js +1 -1
  47. package/dist/Form/EmojiPicker/OcEmojiPicker.js +1 -1
  48. package/dist/Form/Input/OcInput.js +1 -1
  49. package/dist/Form/LinkInput/OcLinkInput.js +1 -1
  50. package/dist/Form/MultipleUploadFile/OcMultipleUploadFile.js +1 -1
  51. package/dist/Form/NumberInput/OcNumberInput.js +1 -1
  52. package/dist/Form/PhoneInput/OcPhoneInput.js +1 -1
  53. package/dist/Form/Radio/OcRadio.js +1 -1
  54. package/dist/Form/RadioGroup/OcRadioGroup.js +1 -1
  55. package/dist/Form/RangeInput/OcRangeInput.js +1 -1
  56. package/dist/Form/SectionItem/OcSectionItem.js +1 -1
  57. package/dist/Form/Select/OcSelect.js +1 -1
  58. package/dist/Form/SelectOptions/OcSelectOptions.js +1 -1
  59. package/dist/Form/SingleFileUpload/OcSingleFileUpload.js +1 -1
  60. package/dist/Form/Slider/OcSlider.js +1 -1
  61. package/dist/Form/TextArea/OcTextArea.js +1 -1
  62. package/dist/Form/index.js +1 -1
  63. package/dist/FormBuilder/OcFormBuilder.js +1 -1
  64. package/dist/{OcAccountSetupProgress-C9rnZvfj.js → OcAccountSetupProgress-fTA45QKt.js} +1 -1
  65. package/dist/{OcComplexCalendar-C2XucS7C.js → OcComplexCalendar-BwFQNEAh.js} +1 -1
  66. package/dist/{OcComplexDatePicker-DLV-q1BB.js → OcComplexDatePicker-BZXRwTqC.js} +1 -1
  67. package/dist/{OcCropper-2-hX5LQZ.js → OcCropper-m-TxiHsp.js} +1 -1
  68. package/dist/{OcDataTable-CCM7iLFd.js → OcDataTable-DPwZCrNW.js} +220 -211
  69. package/dist/{OcDraggableList-CA-wRMAh.js → OcDraggableList-C7Gr4QKY.js} +1 -1
  70. package/dist/{OcEmojiPicker-DFSKdC63.js → OcEmojiPicker-DFv9K_sW.js} +1 -1
  71. package/dist/{OcFilterForm-PI_10uB7.js → OcFilterForm-B6DDioJ5.js} +1 -1
  72. package/dist/{OcFilterSearch-9_N39knk.js → OcFilterSearch-DgstuIRK.js} +1 -1
  73. package/dist/{OcFilterSearchFor-DnQV0beL.js → OcFilterSearchFor-CRBFdflB.js} +1 -1
  74. package/dist/{OcModalCropper-DLQWHv5c.js → OcModalCropper-BOtA6wdE.js} +2 -2
  75. package/dist/OcSort-CdCqVYLU.js +98 -0
  76. package/dist/{OcTimePicker-CFMFwKw-.js → OcTimePicker-C4MNrXpI.js} +1 -1
  77. package/dist/Overlay/ConfirmationModal/OcConfirmationModal.js +1 -1
  78. package/dist/Overlay/CopyTooltip/OcCopyTooltip.js +1 -1
  79. package/dist/Overlay/Dropdown/OcDropdown.js +1 -1
  80. package/dist/Overlay/Modal/OcModal.js +1 -1
  81. package/dist/Overlay/SupportMenu/OcSupportMenu.js +1 -1
  82. package/dist/Overlay/Tooltip/OcTooltip.js +1 -1
  83. package/dist/Overlay/Whitelist/OcWhiteList.js +1 -1
  84. package/dist/{SubPlanCard-DJaPa_xX.js → SubPlanCard-E8zL9B-D.js} +1 -1
  85. package/dist/{ThumbnailSection-C9OvA18j.js → ThumbnailSection-Dnd2K49p.js} +1 -1
  86. package/dist/{ThumbnailTheme-9hRpzTqQ.js → ThumbnailTheme-D2ur0y7U.js} +1 -1
  87. package/dist/{index-BFI9sA-S.js → index-I7kkCShO.js} +53 -52
  88. package/dist/index.js +49 -48
  89. package/package.json +1 -1
@@ -1,18 +1,18 @@
1
- import { ref as P, onMounted as Ce, createBlock as L, openBlock as o, unref as n, withCtx as f, createVNode as I, createElementVNode as Q, createElementBlock as $, createCommentVNode as p, mergeProps as we, Fragment as ue, renderList as ae, normalizeClass as ie, toDisplayString as xe, computed as D, watch as $e, toRaw as We, nextTick as Xe, renderSlot as C, resolveDynamicComponent as Ye, createSlots as Ze, normalizeProps as Se, guardReactiveProps as Oe } from "vue";
2
- import { aG as Pe, B as Ae, C as He, E as _e, Q as el, a4 as ll, aR as al, aS as tl, aT as sl, K as ol, L as Ve, j as ul } from "./index-BFI9sA-S.js";
1
+ import { ref as C, onMounted as Ce, createBlock as D, openBlock as o, unref as r, withCtx as y, createVNode as N, createElementVNode as q, createElementBlock as $, createCommentVNode as p, mergeProps as we, Fragment as ie, renderList as se, normalizeClass as re, toDisplayString as xe, computed as L, watch as $e, toRaw as Ze, nextTick as He, renderSlot as E, resolveDynamicComponent as _e, createSlots as el, normalizeProps as Se, guardReactiveProps as Oe } from "vue";
2
+ import { aG as Pe, B as Ae, C as ll, E as al, Q as tl, a4 as sl, aR as ol, aS as ul, aT as il, aU as rl, K as nl, L as Ve, j as dl } from "./index-I7kkCShO.js";
3
3
  import { V as Fe } from "./vue-draggable-next.esm-bundler-QQ8zx__3.js";
4
- import { getFromLocalStorage as je, formatHeadersFromLocalStorage as Ke, formatHeadersToLocalStorage as il, setInLocalStorage as rl } from "./DataTable/utils/editColumnsUtils.js";
4
+ import { getFromLocalStorage as je, formatHeadersFromLocalStorage as Ke, formatHeadersToLocalStorage as vl, setInLocalStorage as cl } from "./DataTable/utils/editColumnsUtils.js";
5
5
  import { _ as Ee } from "./OcIcon-CUKFUeB7.js";
6
- import { formatFilterDisplay as nl, clearAllFilters as dl } from "./DataTable/utils/filterUtils.js";
7
- import { formatCustomItemsPerPageOptions as vl, getItemsPerPageOptions as cl } from "./DataTable/utils/paginationUtils.js";
6
+ import { formatFilterDisplay as ml, clearAllFilters as pl } from "./DataTable/utils/filterUtils.js";
7
+ import { formatCustomItemsPerPageOptions as fl, getItemsPerPageOptions as yl } from "./DataTable/utils/paginationUtils.js";
8
8
  import "./dayjs.min-7xVZzECu.js";
9
- const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, fl = {
9
+ const gl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, bl = {
10
10
  key: 0,
11
11
  class: "gap-y-2 flex flex-col border-b pb-3 border-oc-gray-200"
12
- }, pl = { class: "gap-y-2 flex flex-col" }, yl = {
12
+ }, kl = { class: "gap-y-2 flex flex-col" }, hl = {
13
13
  key: 0,
14
14
  class: "flex items-center bg-white justify-between h-[26px]"
15
- }, gl = { class: "flex items-center w-full gap-x-3" }, bl = { class: "truncate w-full max-w-[160px]" }, kl = {
15
+ }, wl = { class: "flex items-center w-full gap-x-3" }, xl = { class: "truncate w-full max-w-[160px]" }, $l = {
16
16
  __name: "ColumnEdit",
17
17
  props: {
18
18
  /** Initial active/visible state overrides for columns. Keyed by column key. */
@@ -39,55 +39,55 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, fl = {
39
39
  /** Column order or visibility changed. Payload: `{ fixedHeaders, activeHeaders, isOnMount }`. */
40
40
  "update-order": []
41
41
  },
42
- setup(k, { emit: oe }) {
43
- const j = oe, h = k, m = P([]), S = P([]), O = P(!1), y = {
42
+ setup(k, { emit: ue }) {
43
+ const j = ue, h = k, f = C([]), S = C([]), O = C(!1), g = {
44
44
  handle: ".drag-el",
45
45
  filter: ".is-disabled",
46
46
  group: "headers",
47
47
  animation: 500,
48
48
  forceFallback: !1,
49
49
  move: (l) => l.to.dataset.activeHeaders ? !0 : !!l.draggedContext.futureIndex,
50
- "onUpdate:modelValue": () => z()
51
- }, z = (l = !1) => {
50
+ "onUpdate:modelValue": () => J()
51
+ }, J = (l = !1) => {
52
52
  S.value = S.value.map((d) => ({
53
53
  ...d,
54
54
  isActive: !0
55
55
  })), j("update-order", {
56
56
  fixedHeaders: S.value,
57
- activeHeaders: m.value,
57
+ activeHeaders: f.value,
58
58
  isOnMount: l
59
59
  });
60
60
  };
61
61
  return Ce(() => {
62
62
  const l = je(h.localKey), { fixed: d, active: v } = Ke(l, h.headers, h.localKey);
63
- S.value = d || h.headers.slice(0, 1), m.value = v || h.headers.slice(1).map((g) => {
64
- var t, U, A;
63
+ S.value = d || h.headers.slice(0, 1), f.value = v || h.headers.slice(1).map((b) => {
64
+ var t, I, P;
65
65
  return {
66
- ...g,
67
- isActive: ((A = (U = (t = h.options) == null ? void 0 : t.active) == null ? void 0 : U.find((B) => B.key === g.key)) == null ? void 0 : A.isActive) ?? !0
66
+ ...b,
67
+ isActive: ((P = (I = (t = h.options) == null ? void 0 : t.active) == null ? void 0 : I.find((Q) => Q.key === b.key)) == null ? void 0 : P.isActive) ?? !0
68
68
  };
69
- }), z(!0);
70
- }), (l, d) => (o(), L(n(Pe), {
69
+ }), J(!0);
70
+ }), (l, d) => (o(), D(r(Pe), {
71
71
  modelValue: O.value,
72
72
  "onUpdate:modelValue": d[3] || (d[3] = (v) => O.value = v),
73
73
  "is-attach-to-body": ""
74
74
  }, {
75
- menu: f(() => [
76
- Q("div", ml, [
77
- S.value.length ? (o(), $("div", fl, [
78
- d[4] || (d[4] = Q("span", { class: "text-oc-text-400 font-medium" }, "Fixed columns", -1)),
79
- I(n(Fe), we({
75
+ menu: y(() => [
76
+ q("div", gl, [
77
+ S.value.length ? (o(), $("div", bl, [
78
+ d[4] || (d[4] = q("span", { class: "text-oc-text-400 font-medium" }, "Fixed columns", -1)),
79
+ N(r(Fe), we({
80
80
  key: "key",
81
81
  modelValue: S.value,
82
82
  "onUpdate:modelValue": d[0] || (d[0] = (v) => S.value = v)
83
- }, y), {
84
- default: f(() => [
85
- (o(!0), $(ue, null, ae(S.value, (v, g) => (o(), $("div", {
83
+ }, g), {
84
+ default: y(() => [
85
+ (o(!0), $(ie, null, se(S.value, (v, b) => (o(), $("div", {
86
86
  key: v.key,
87
- class: ie(["flex items-center justify-between h-[26px]", g ? "" : "is-disabled"])
87
+ class: re(["flex items-center justify-between h-[26px]", b ? "" : "is-disabled"])
88
88
  }, [
89
- Q("span", null, xe(v.label), 1),
90
- g ? (o(), L(n(Ee), {
89
+ q("span", null, xe(v.label), 1),
90
+ b ? (o(), D(r(Ee), {
91
91
  key: 0,
92
92
  width: "18",
93
93
  height: "18",
@@ -99,30 +99,30 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, fl = {
99
99
  _: 1
100
100
  }, 16, ["modelValue"])
101
101
  ])) : p("", !0),
102
- Q("div", pl, [
103
- d[5] || (d[5] = Q("span", { class: "text-oc-text-400 font-medium" }, "Active columns", -1)),
104
- I(n(Fe), we({
102
+ q("div", kl, [
103
+ d[5] || (d[5] = q("span", { class: "text-oc-text-400 font-medium" }, "Active columns", -1)),
104
+ N(r(Fe), we({
105
105
  key: "key",
106
- modelValue: m.value,
107
- "onUpdate:modelValue": d[2] || (d[2] = (v) => m.value = v)
108
- }, y, { "data-active-headers": "true" }), {
109
- default: f(() => [
110
- (o(!0), $(ue, null, ae(m.value, (v) => (o(), $(ue, {
106
+ modelValue: f.value,
107
+ "onUpdate:modelValue": d[2] || (d[2] = (v) => f.value = v)
108
+ }, g, { "data-active-headers": "true" }), {
109
+ default: y(() => [
110
+ (o(!0), $(ie, null, se(f.value, (v) => (o(), $(ie, {
111
111
  key: v.key
112
112
  }, [
113
- v.key !== "actions" ? (o(), $("div", yl, [
114
- Q("div", gl, [
115
- I(n(He), {
113
+ v.key !== "actions" ? (o(), $("div", hl, [
114
+ q("div", wl, [
115
+ N(r(ll), {
116
116
  modelValue: v.isActive,
117
117
  "onUpdate:modelValue": [
118
- (g) => v.isActive = g,
119
- d[1] || (d[1] = (g) => z())
118
+ (b) => v.isActive = b,
119
+ d[1] || (d[1] = (b) => J())
120
120
  ],
121
121
  class: "!w-fit"
122
122
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
123
- Q("div", bl, xe(v.label), 1)
123
+ q("div", xl, xe(v.label), 1)
124
124
  ]),
125
- m.value.length > 1 ? (o(), L(n(Ee), {
125
+ f.value.length > 1 ? (o(), D(r(Ee), {
126
126
  key: 0,
127
127
  width: "18",
128
128
  height: "18",
@@ -137,8 +137,8 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, fl = {
137
137
  ])
138
138
  ])
139
139
  ]),
140
- default: f(() => [
141
- I(n(Ae), {
140
+ default: y(() => [
141
+ N(r(Ae), {
142
142
  label: "Edit Column",
143
143
  "left-icon": "setting",
144
144
  size: "small",
@@ -149,22 +149,22 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, fl = {
149
149
  _: 1
150
150
  }, 8, ["modelValue"]));
151
151
  }
152
- }, hl = { class: "relative flex flex-col gap-9" }, wl = {
152
+ }, Sl = { class: "relative flex flex-col gap-9" }, Ol = {
153
153
  key: 0,
154
154
  class: "flex items-center px-4 min-h-[44px]"
155
- }, xl = {
155
+ }, Vl = {
156
156
  key: 0,
157
157
  class: "absolute flex items-center gap-5 left-5"
158
- }, $l = {
158
+ }, Fl = {
159
159
  key: 1,
160
160
  class: "absolute flex gap-3 left-5"
161
- }, Sl = {
161
+ }, El = {
162
162
  key: 1,
163
163
  class: "flex justify-center w-full gap-5 md:justify-start"
164
- }, Ol = {
164
+ }, Cl = {
165
165
  key: 2,
166
166
  class: "items-center hidden md:flex"
167
- }, Tl = {
167
+ }, Il = {
168
168
  __name: "OcDataTable",
169
169
  props: {
170
170
  /** Show skeleton loading rows while data is being fetched. */
@@ -190,6 +190,7 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, fl = {
190
190
  * `filterOptions` (optional) — filter toolbar config:
191
191
  * - `search` — `{ key, options? }` enables search bar
192
192
  * - `form` — FormBuilder jsonForm array rendered in the filter dropdown
193
+ * - `sort` — `{ key, options }` renders the Sort control; `key` is the filterData key holding `{ field, direction }`, `options` is the `{ label, value }` field list
193
194
  * - `tabs` — `{ key, options }` tab bar above the table
194
195
  * - `per_page` — `{ key }` controls which filter key holds items-per-page
195
196
  * - `columnEdit` — `{ key, localStorageKey }` enables column show/hide editor
@@ -272,15 +273,15 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, fl = {
272
273
  /** Table has mounted and column order is initialized. */
273
274
  "on-table-ready": []
274
275
  },
275
- setup(k, { emit: oe }) {
276
- var ve, ce, me, fe, pe, ye, ge, be, ke;
277
- const j = k, h = oe, m = D(() => {
276
+ setup(k, { emit: ue }) {
277
+ var ce, me, pe, fe, ye, ge, be, ke, he;
278
+ const j = k, h = ue, f = L(() => {
278
279
  var e;
279
280
  return (e = j.options) == null ? void 0 : e.cursor;
280
- }), S = P(), O = D(() => {
281
+ }), S = C(), O = L(() => {
281
282
  var e;
282
283
  return (e = j.options) == null ? void 0 : e.tableOptions;
283
- }), y = P({
284
+ }), g = C({
284
285
  total: 0,
285
286
  last_page: 1
286
287
  });
@@ -290,31 +291,31 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, fl = {
290
291
  return (e = j.options) == null ? void 0 : e.pagination;
291
292
  },
292
293
  (e) => {
293
- y.value = e;
294
+ g.value = e;
294
295
  },
295
296
  { deep: !0, immediate: !0 }
296
297
  );
297
- const z = D(() => {
298
+ const J = L(() => {
298
299
  var a;
299
300
  return {
300
301
  ...O.value,
301
302
  headers: S.value ? S.value.map((u) => {
302
- var r, i;
303
- return u.class = ((i = (r = O.value) == null ? void 0 : r.headers.find((c) => c.key === u.key)) == null ? void 0 : i.class) ?? "", u;
303
+ var n, i;
304
+ return u.class = ((i = (n = O.value) == null ? void 0 : n.headers.find((c) => c.key === u.key)) == null ? void 0 : i.class) ?? "", u;
304
305
  }).filter((u) => u.isActive) : (a = O.value) == null ? void 0 : a.headers.filter((u) => Re(u.key))
305
306
  };
306
- }), l = D(() => {
307
+ }), l = L(() => {
307
308
  var e;
308
309
  return (e = j.options) == null ? void 0 : e.filterOptions;
309
- }), d = D(() => {
310
+ }), d = L(() => {
310
311
  var e;
311
312
  return (e = j.options) == null ? void 0 : e.hidePerPageDropdown;
312
- }), v = D(() => {
313
+ }), v = L(() => {
313
314
  var e;
314
- return ((e = y.value) == null ? void 0 : e.last_page) === 1;
315
- }), g = JSON.parse(JSON.stringify(We(j.filter)));
316
- !g && y.value ? g.page = 1 : !g && m && (g.cursor = "");
317
- const t = P(g);
315
+ return ((e = g.value) == null ? void 0 : e.last_page) === 1;
316
+ }), b = JSON.parse(JSON.stringify(Ze(j.filter)));
317
+ !b && g.value ? b.page = 1 : !b && f && (b.cursor = "");
318
+ const t = C(b);
318
319
  $e(
319
320
  () => j.filter,
320
321
  (e) => {
@@ -322,97 +323,99 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, fl = {
322
323
  },
323
324
  { deep: !0 }
324
325
  );
325
- const U = P(!1), A = P(t.value[(ce = (ve = l.value) == null ? void 0 : ve.tabs) == null ? void 0 : ce.key]), B = P(t.value.page), q = P(
326
- (fe = (me = l.value) == null ? void 0 : me.per_page) != null && fe.key ? t.value[(ye = (pe = l.value) == null ? void 0 : pe.per_page) == null ? void 0 : ye.key] : t.value.per_page
327
- ), re = ((ke = t.value[t.value.selectedSearchOption || ((be = (ge = l.value) == null ? void 0 : ge.search) == null ? void 0 : be.key)]) == null ? void 0 : ke.trim()) ?? "", N = P(re ? re.split(",") : []), ne = P(!1), Te = D(
326
+ const I = C(!1), P = C(t.value[(me = (ce = l.value) == null ? void 0 : ce.tabs) == null ? void 0 : me.key]), Q = C(t.value.page), G = C(
327
+ (fe = (pe = l.value) == null ? void 0 : pe.per_page) != null && fe.key ? t.value[(ge = (ye = l.value) == null ? void 0 : ye.per_page) == null ? void 0 : ge.key] : t.value.per_page
328
+ ), ne = ((he = t.value[t.value.selectedSearchOption || ((ke = (be = l.value) == null ? void 0 : be.search) == null ? void 0 : ke.key)]) == null ? void 0 : he.trim()) ?? "", R = C(ne ? ne.split(",") : []), de = C(!1), Ue = L(
328
329
  () => {
329
330
  var e;
330
- return vl((e = j.options) == null ? void 0 : e.perPageOptions);
331
+ return fl((e = j.options) == null ? void 0 : e.perPageOptions);
331
332
  }
332
- ), De = D(() => cl(Te.value, y.value)), Le = D(() => {
333
+ ), Te = L(() => yl(Ue.value, g.value)), De = L(() => {
333
334
  var e;
334
335
  return ((e = j.selected) == null ? void 0 : e.length) > 0;
335
- }), Ue = (e) => {
336
- !e.trim() || !t.value.selectedSearchOption && N.value.includes(e) || (N.value = [e], K(), h("search-query-changed", e));
336
+ }), Le = (e) => {
337
+ !e.trim() || !t.value.selectedSearchOption && R.value.includes(e) || (R.value = [e], A(), h("search-query-changed", e));
337
338
  }, Ie = (e) => {
338
- N.value = N.value.filter((a) => a !== e), K();
339
- }, Ne = D(() => nl(t.value, l.value)), Re = (e) => {
340
- var a, u, r, i, c, w;
341
- return ((w = (c = (i = (r = t.value) == null ? void 0 : r[(u = (a = l.value) == null ? void 0 : a.columnEdit) == null ? void 0 : u.key]) == null ? void 0 : i.active) == null ? void 0 : c.find((V) => V.key === e)) == null ? void 0 : w.isActive) ?? !0;
339
+ R.value = R.value.filter((a) => a !== e), A();
340
+ }, Ne = L(() => ml(t.value, l.value)), Re = (e) => {
341
+ var a, u, n, i, c, w;
342
+ return ((w = (c = (i = (n = t.value) == null ? void 0 : n[(u = (a = l.value) == null ? void 0 : a.columnEdit) == null ? void 0 : u.key]) == null ? void 0 : i.active) == null ? void 0 : c.find((V) => V.key === e)) == null ? void 0 : w.isActive) ?? !0;
342
343
  }, Be = ({ fixedHeaders: e, activeHeaders: a, isOnMount: u }) => {
343
- var r, i, c, w, V, s, T, x;
344
- if (t.value[(i = (r = l.value) == null ? void 0 : r.columnEdit) == null ? void 0 : i.key] || (t.value[(w = (c = l.value) == null ? void 0 : c.columnEdit) == null ? void 0 : w.key] = {}), t.value[(s = (V = l.value) == null ? void 0 : V.columnEdit) == null ? void 0 : s.key].fixed = e, t.value[(x = (T = l.value) == null ? void 0 : T.columnEdit) == null ? void 0 : x.key].active = a, S.value = [...e, ...a], !u) {
345
- const F = il(e, a);
346
- rl(l.value.columnEdit.localStorageKey, F);
344
+ var n, i, c, w, V, K, s, U;
345
+ if (t.value[(i = (n = l.value) == null ? void 0 : n.columnEdit) == null ? void 0 : i.key] || (t.value[(w = (c = l.value) == null ? void 0 : c.columnEdit) == null ? void 0 : w.key] = {}), t.value[(K = (V = l.value) == null ? void 0 : V.columnEdit) == null ? void 0 : K.key].fixed = e, t.value[(U = (s = l.value) == null ? void 0 : s.columnEdit) == null ? void 0 : U.key].active = a, S.value = [...e, ...a], !u) {
346
+ const F = vl(e, a);
347
+ cl(l.value.columnEdit.localStorageKey, F);
347
348
  }
348
349
  h("columns-changed", a);
349
350
  }, Qe = () => {
350
- var e, a, u, r, i, c;
351
+ var e, a, u, n, i, c;
351
352
  if ((a = (e = l.value) == null ? void 0 : e.columnEdit) != null && a.localStorageKey) {
352
353
  const w = je(l.value.columnEdit.localStorageKey);
353
354
  if (w) {
354
- const { fixed: V, active: s } = Ke(
355
+ const { fixed: V, active: K } = Ke(
355
356
  w,
356
357
  O.value.headers,
357
358
  l.value.columnEdit.localStorageKey
358
359
  );
359
- t.value[(r = (u = l.value) == null ? void 0 : u.columnEdit) == null ? void 0 : r.key].fixed = V, t.value[(c = (i = l.value) == null ? void 0 : i.columnEdit) == null ? void 0 : c.key].active = s, S.value = [...V, ...s];
360
+ t.value[(n = (u = l.value) == null ? void 0 : u.columnEdit) == null ? void 0 : n.key].fixed = V, t.value[(c = (i = l.value) == null ? void 0 : i.columnEdit) == null ? void 0 : c.key].active = K, S.value = [...V, ...K];
360
361
  }
361
362
  }
362
363
  }, ze = (e) => {
363
364
  t.value.selectedSearchOption = e;
364
365
  }, qe = () => {
365
- var a, u, r, i;
366
- N.value = [], A.value = "";
367
- const e = (u = (a = l.value) == null ? void 0 : a.tabs) != null && u.filter_name ? g[(i = (r = l.value) == null ? void 0 : r.tabs) == null ? void 0 : i.key] : A.value;
368
- t.value = dl(
366
+ var a, u, n, i;
367
+ R.value = [], P.value = "";
368
+ const e = (u = (a = l.value) == null ? void 0 : a.tabs) != null && u.filter_name ? b[(i = (n = l.value) == null ? void 0 : n.tabs) == null ? void 0 : i.key] : P.value;
369
+ t.value = pl(
369
370
  t.value,
370
371
  l.value,
371
- q.value,
372
+ G.value,
372
373
  e
373
- ), K();
374
+ ), A();
374
375
  }, Je = () => {
375
- K(null, B.value);
376
- }, K = (e = null, a = !1, u = "", r = !1, i = !1) => {
377
- var w, V, s, T, x, F, R, G, M, W, X, Y, Z, H, _, ee, le, b, te;
378
- y.value && !a && (B.value = 1), y.value ? t.value.page = B.value : t.value.cursor = u, (w = l.value) != null && w.per_page ? t.value[l.value.per_page.key] = q.value : t.value.per_page = q.value, (V = l.value) != null && V.tabs && i && (t.value[l.value.tabs.key] = A.value), (T = (s = l.value) == null ? void 0 : s.tabs) != null && T.filter_name && (i ? t.value[(F = (x = l.value) == null ? void 0 : x.tabs) == null ? void 0 : F.filter_name] = null : e && (A.value = null)), (R = l.value) != null && R.search && ((M = (G = l.value.search) == null ? void 0 : G.options) != null && M.length ? (Object.keys(t.value).forEach((E) => {
379
- var J;
380
- (J = l.value.search.options) != null && J.map((se) => se.value).includes(E) && delete t.value[E];
381
- }), t.value[((W = t.value) == null ? void 0 : W.selectedSearchOption) || ((Z = (Y = (X = l.value.search) == null ? void 0 : X.options) == null ? void 0 : Y[0]) == null ? void 0 : Z.value) || l.value.search.key] = N.value.join()) : t.value[l.value.search.key] = N.value.join()), e && (U.value = !1, t.value = { ...t.value, ...e }, Object.keys(t.value).forEach((E) => {
382
- Array.isArray(t.value[E]) && t.value[E].length === 0 && delete t.value[E];
376
+ A(null, Q.value);
377
+ }, A = (e = null, a = !1, u = "", n = !1, i = !1) => {
378
+ var w, V, K, s, U, F, T, M, B, W, X, Y, Z, H, _, ee, le, ae, te;
379
+ g.value && !a && (Q.value = 1), g.value ? t.value.page = Q.value : t.value.cursor = u, (w = l.value) != null && w.per_page ? t.value[l.value.per_page.key] = G.value : t.value.per_page = G.value, (V = l.value) != null && V.tabs && i && (t.value[l.value.tabs.key] = P.value), (s = (K = l.value) == null ? void 0 : K.tabs) != null && s.filter_name && (i ? t.value[(F = (U = l.value) == null ? void 0 : U.tabs) == null ? void 0 : F.filter_name] = null : e && (P.value = null)), (T = l.value) != null && T.search && ((B = (M = l.value.search) == null ? void 0 : M.options) != null && B.length ? (Object.keys(t.value).forEach((x) => {
380
+ var z;
381
+ (z = l.value.search.options) != null && z.map((m) => m.value).includes(x) && delete t.value[x];
382
+ }), t.value[((W = t.value) == null ? void 0 : W.selectedSearchOption) || ((Z = (Y = (X = l.value.search) == null ? void 0 : X.options) == null ? void 0 : Y[0]) == null ? void 0 : Z.value) || l.value.search.key] = R.value.join()) : t.value[l.value.search.key] = R.value.join()), e && (I.value = !1, t.value = { ...t.value, ...e }, Object.keys(t.value).forEach((x) => {
383
+ Array.isArray(t.value[x]) && t.value[x].length === 0 && delete t.value[x];
383
384
  }));
384
385
  let c = (_ = (H = l.value) == null ? void 0 : H.tabs) == null ? void 0 : _.key;
385
- if (c && A.value !== t.value[c] && !((le = (ee = l.value) == null ? void 0 : ee.tabs) != null && le.filter_name)) {
386
- const E = (te = (b = l.value.tabs) == null ? void 0 : b.options) == null ? void 0 : te.find(
387
- (J) => {
388
- var se, he;
389
- return ((se = J.value) == null ? void 0 : se.toString()) === ((he = t.value[c]) == null ? void 0 : he.toString());
386
+ if (c && P.value !== t.value[c] && !((le = (ee = l.value) == null ? void 0 : ee.tabs) != null && le.filter_name)) {
387
+ const x = (te = (ae = l.value.tabs) == null ? void 0 : ae.options) == null ? void 0 : te.find(
388
+ (z) => {
389
+ var m, oe;
390
+ return ((m = z.value) == null ? void 0 : m.toString()) === ((oe = t.value[c]) == null ? void 0 : oe.toString());
390
391
  }
391
392
  );
392
- E != null && E.value && (A.value = E.value, i || K(null, !1, "", !1, !0));
393
+ x != null && x.value && (P.value = x.value, i || A(null, !1, "", !1, !0));
393
394
  }
394
- Ge(r);
395
- }, de = P(null), Ge = (e = !1) => {
396
- clearTimeout(de.value), de.value = setTimeout(() => {
395
+ Me(n);
396
+ }, Ge = (e) => {
397
+ t.value[l.value.sort.key] = e, A();
398
+ }, ve = C(null), Me = (e = !1) => {
399
+ clearTimeout(ve.value), ve.value = setTimeout(() => {
397
400
  h("update:filter", { ...t.value }, e), h("apply-filter", { ...t.value }, e);
398
401
  }, 50);
399
- }, Me = (e, a) => {
400
- (a === l.value.tabs.key || a === "tabs") && (A.value = ""), K(e), h("filter-removed", a);
402
+ }, We = (e, a) => {
403
+ (a === l.value.tabs.key || a === "tabs") && (P.value = ""), A(e), h("filter-removed", a);
401
404
  };
402
405
  return Ce(() => {
403
- Qe(), Xe(() => {
406
+ Qe(), He(() => {
404
407
  h("on-table-ready");
405
408
  });
406
409
  }), (e, a) => {
407
- var u, r, i, c, w, V;
408
- return o(), $("div", hl, [
409
- z.value ? (o(), L(Ye(k.isNewTable ? n(_e) : n(el)), {
410
+ var u, n, i, c, w, V, K;
411
+ return o(), $("div", Sl, [
412
+ J.value ? (o(), D(_e(k.isNewTable ? r(al) : r(tl)), {
410
413
  key: 0,
411
414
  selected: k.selected,
412
415
  "row-key": k.rowKey,
413
- options: z.value,
416
+ options: J.value,
414
417
  "is-loading": k.isLoading,
415
- "loading-rows": q.value,
418
+ "loading-rows": G.value,
416
419
  "row-class": k.rowClass,
417
420
  "row-link": k.rowLink,
418
421
  "selected-index": k.selectedIndex,
@@ -422,103 +425,103 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, fl = {
422
425
  "onUpdate:selected": a[8] || (a[8] = (s) => e.$emit("update:selected", s)),
423
426
  "onClick:row": a[9] || (a[9] = (s) => e.$emit("click:row", s)),
424
427
  "onHover:cell": a[10] || (a[10] = (s) => e.$emit("hover:cell", s))
425
- }, Ze({
426
- after: f(() => [
427
- C(e.$slots, "after")
428
+ }, el({
429
+ after: y(() => [
430
+ E(e.$slots, "after")
428
431
  ]),
429
- empty: f(() => [
430
- C(e.$slots, "empty")
432
+ empty: y(() => [
433
+ E(e.$slots, "empty")
431
434
  ]),
432
- "table-header": f((s) => [
433
- C(e.$slots, "table-header", Se(Oe(s)))
435
+ "table-header": y((s) => [
436
+ E(e.$slots, "table-header", Se(Oe(s)))
434
437
  ]),
435
- "table-body": f((s) => [
436
- C(e.$slots, "table-body", Se(Oe(s)))
438
+ "table-body": y((s) => [
439
+ E(e.$slots, "table-body", Se(Oe(s)))
437
440
  ]),
438
- "after-rows": f(() => [
439
- C(e.$slots, "after-rows")
441
+ "after-rows": y(() => [
442
+ E(e.$slots, "after-rows")
440
443
  ]),
441
444
  _: 2
442
445
  }, [
443
- e.$slots.before || (u = l.value) != null && u.search || (r = l.value) != null && r.form || (i = l.value) != null && i.tabs ? {
446
+ e.$slots.before || (u = l.value) != null && u.search || (n = l.value) != null && n.form || (i = l.value) != null && i.tabs || (c = l.value) != null && c.sort ? {
444
447
  name: "before",
445
- fn: f(() => {
446
- var s, T, x, F;
448
+ fn: y(() => {
449
+ var s, U, F, T, M;
447
450
  return [
448
- C(e.$slots, "before"),
449
- (s = l.value) != null && s.search || (T = l.value) != null && T.form || (x = l.value) != null && x.tabs ? (o(), $("div", wl, [
450
- Le.value ? (o(), $("div", xl, [
451
- C(e.$slots, "bulk-actions", { selectedRows: k.selected })
452
- ])) : (o(), $("div", $l, [
453
- (F = l.value) != null && F.tabs ? (o(), L(n(ll), {
451
+ E(e.$slots, "before"),
452
+ (s = l.value) != null && s.search || (U = l.value) != null && U.form || (F = l.value) != null && F.tabs || (T = l.value) != null && T.sort ? (o(), $("div", Ol, [
453
+ De.value ? (o(), $("div", Vl, [
454
+ E(e.$slots, "bulk-actions", { selectedRows: k.selected })
455
+ ])) : (o(), $("div", Fl, [
456
+ (M = l.value) != null && M.tabs ? (o(), D(r(sl), {
454
457
  key: 0,
455
- modelValue: A.value,
458
+ modelValue: P.value,
456
459
  "onUpdate:modelValue": [
457
- a[0] || (a[0] = (R) => A.value = R),
458
- a[1] || (a[1] = (R) => K(null, !1, "", !1, !0))
460
+ a[0] || (a[0] = (B) => P.value = B),
461
+ a[1] || (a[1] = (B) => A(null, !1, "", !1, !0))
459
462
  ],
460
463
  "is-disabled": k.isLoading,
461
464
  tabs: l.value.tabs.options,
462
465
  variant: "pills"
463
466
  }, null, 8, ["modelValue", "is-disabled", "tabs"])) : p("", !0)
464
467
  ])),
465
- C(e.$slots, "filter-options", {}, () => {
466
- var R, G, M, W, X, Y, Z, H, _, ee, le;
468
+ E(e.$slots, "filter-options", {}, () => {
469
+ var B, W, X, Y, Z, H, _, ee, le, ae, te, x, z;
467
470
  return [
468
- (R = l.value) != null && R.search || (G = l.value) != null && G.form || (M = l.value) != null && M.columnEdit ? (o(), $("div", {
471
+ (B = l.value) != null && B.search || (W = l.value) != null && W.form || (X = l.value) != null && X.sort || (Y = l.value) != null && Y.columnEdit ? (o(), $("div", {
469
472
  key: 0,
470
- class: ie([
473
+ class: re([
471
474
  "flex gap-3 absolute ml-auto items-center bg-oc-bg-light right-4 max-w-[calc(100%-24px)]",
472
- l.value ? ne.value ? "md:w-fit w-full" : "" : "w-full justify-end"
475
+ l.value ? de.value ? "md:w-fit w-full" : "" : "w-full justify-end"
473
476
  ])
474
477
  }, [
475
- (W = l.value) != null && W.search ? (o(), L(n(al), {
478
+ (Z = l.value) != null && Z.search ? (o(), D(r(ol), {
476
479
  key: 0,
477
480
  "is-search-only": !l.value.tabs || l.value.isSearchOnly,
478
- "search-options": ((X = l.value.search) == null ? void 0 : X.options) ?? [],
479
- "selected-option": (((Y = t.value) == null ? void 0 : Y.selectedSearchOption) || ((_ = (H = (Z = l.value.search) == null ? void 0 : Z.options) == null ? void 0 : H[0]) == null ? void 0 : _.value)) ?? "keywords",
480
- onAddQuery: Ue,
481
- onToggle: a[2] || (a[2] = (b) => ne.value = b),
481
+ "search-options": ((H = l.value.search) == null ? void 0 : H.options) ?? [],
482
+ "selected-option": (((_ = t.value) == null ? void 0 : _.selectedSearchOption) || ((ae = (le = (ee = l.value.search) == null ? void 0 : ee.options) == null ? void 0 : le[0]) == null ? void 0 : ae.value)) ?? "keywords",
483
+ onAddQuery: Le,
484
+ onToggle: a[2] || (a[2] = (m) => de.value = m),
482
485
  onChangeSearchKey: ze
483
486
  }, null, 8, ["is-search-only", "search-options", "selected-option"])) : p("", !0),
484
- (ee = l.value) != null && ee.form ? (o(), L(n(Pe), {
487
+ (te = l.value) != null && te.form ? (o(), D(r(Pe), {
485
488
  key: 1,
486
- modelValue: U.value,
489
+ modelValue: I.value,
487
490
  "onUpdate:modelValue": [
488
- a[6] || (a[6] = (b) => U.value = b),
489
- a[7] || (a[7] = (b) => e.$emit("filter-open", b))
491
+ a[6] || (a[6] = (m) => I.value = m),
492
+ a[7] || (a[7] = (m) => e.$emit("filter-open", m))
490
493
  ],
491
494
  distance: 9,
492
495
  placement: "bottom-end",
493
496
  "is-attach-to-body": "",
494
497
  "max-menu-height": 500
495
498
  }, {
496
- menu: f(() => [
497
- U.value ? (o(), L(n(tl), {
499
+ menu: y(() => [
500
+ I.value ? (o(), D(r(ul), {
498
501
  key: 0,
499
502
  id: k.id,
500
503
  "json-form": l.value.form ?? [],
501
504
  grid: l.value.grid ?? null,
502
505
  values: t.value,
503
506
  actions: l.value.actions,
504
- onApplyFilter: a[3] || (a[3] = (b) => K(b)),
505
- onFilterFieldsChanged: a[4] || (a[4] = (b) => h("filter-fields-changed", b)),
506
- onCancel: a[5] || (a[5] = (b) => U.value = !1)
507
+ onApplyFilter: a[3] || (a[3] = (m) => A(m)),
508
+ onFilterFieldsChanged: a[4] || (a[4] = (m) => h("filter-fields-changed", m)),
509
+ onCancel: a[5] || (a[5] = (m) => I.value = !1)
507
510
  }, {
508
- default: f(({ errors: b, values: te, jsonForm: E, updateForm: J }) => [
509
- C(e.$slots, "custom-filter-form", {
510
- errors: b,
511
- values: te,
512
- jsonForm: E,
513
- updateFilter: J
511
+ default: y(({ errors: m, values: oe, jsonForm: Xe, updateForm: Ye }) => [
512
+ E(e.$slots, "custom-filter-form", {
513
+ errors: m,
514
+ values: oe,
515
+ jsonForm: Xe,
516
+ updateFilter: Ye
514
517
  })
515
518
  ]),
516
519
  _: 3
517
520
  }, 8, ["id", "json-form", "grid", "values", "actions"])) : p("", !0)
518
521
  ]),
519
- default: f(() => [
520
- I(n(Ae), {
521
- "is-active": U.value,
522
+ default: y(() => [
523
+ N(r(Ae), {
524
+ "is-active": I.value,
522
525
  variant: "secondary",
523
526
  "left-icon": "filter",
524
527
  size: "small",
@@ -528,10 +531,16 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, fl = {
528
531
  ]),
529
532
  _: 3
530
533
  }, 8, ["modelValue"])) : p("", !0),
531
- l.value.columnEdit ? (o(), L(kl, {
534
+ (x = l.value) != null && x.sort ? (o(), D(r(il), {
532
535
  key: 2,
536
+ "sort-options": l.value.sort.options ?? [],
537
+ "model-value": t.value[l.value.sort.key],
538
+ "onUpdate:modelValue": Ge
539
+ }, null, 8, ["sort-options", "model-value"])) : p("", !0),
540
+ l.value.columnEdit ? (o(), D($l, {
541
+ key: 3,
533
542
  options: t.value.columnEdit,
534
- headers: ((le = O.value) == null ? void 0 : le.headers) || [],
543
+ headers: ((z = O.value) == null ? void 0 : z.headers) || [],
535
544
  "local-key": l.value.columnEdit.localStorageKey,
536
545
  onUpdateOrder: Be
537
546
  }, null, 8, ["options", "headers", "local-key"])) : p("", !0)
@@ -539,85 +548,85 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, fl = {
539
548
  ];
540
549
  })
541
550
  ])) : p("", !0),
542
- I(n(sl), {
551
+ N(r(rl), {
543
552
  filters: Ne.value,
544
- queries: N.value,
553
+ queries: R.value,
545
554
  class: "border-t border-oc-gray-200",
546
555
  onRemoveQuery: Ie,
547
556
  onRemoveAll: qe,
548
- onRemoveFilter: Me
557
+ onRemoveFilter: We
549
558
  }, null, 8, ["filters", "queries"])
550
559
  ];
551
560
  }),
552
561
  key: "0"
553
562
  } : void 0,
554
- ae((c = O.value) == null ? void 0 : c.headers, (s, T) => ({
563
+ se((w = O.value) == null ? void 0 : w.headers, (s, U) => ({
555
564
  name: s.key,
556
- fn: f(({ data: x, item: F }) => [
557
- C(e.$slots, s.key, {
558
- data: x,
559
- item: F
565
+ fn: y(({ data: F, item: T }) => [
566
+ E(e.$slots, s.key, {
567
+ data: F,
568
+ item: T
560
569
  })
561
570
  ])
562
571
  })),
563
- ae((w = O.value) == null ? void 0 : w.headers, (s, T) => ({
572
+ se((V = O.value) == null ? void 0 : V.headers, (s, U) => ({
564
573
  name: `header-${s.key}-tooltip`,
565
- fn: f(({ data: x, item: F }) => [
566
- C(e.$slots, `header-${s.key}-tooltip`, {
567
- data: x,
568
- item: F
574
+ fn: y(({ data: F, item: T }) => [
575
+ E(e.$slots, `header-${s.key}-tooltip`, {
576
+ data: F,
577
+ item: T
569
578
  })
570
579
  ])
571
580
  })),
572
- ae((V = O.value) == null ? void 0 : V.headers, (s, T) => ({
581
+ se((K = O.value) == null ? void 0 : K.headers, (s, U) => ({
573
582
  name: `header-${s.key}-left-tooltip`,
574
- fn: f(({ data: x, item: F }) => [
575
- C(e.$slots, `header-${s.key}-left-tooltip`, {
576
- data: x,
577
- item: F
583
+ fn: y(({ data: F, item: T }) => [
584
+ E(e.$slots, `header-${s.key}-left-tooltip`, {
585
+ data: F,
586
+ item: T
578
587
  })
579
588
  ])
580
589
  }))
581
590
  ]), 1064, ["selected", "row-key", "options", "is-loading", "loading-rows", "row-class", "row-link", "selected-index", "disabled-rows", "is-sticky", "is-borderless"])) : p("", !0),
582
- C(e.$slots, "before-pagination"),
583
- y.value || m.value ? (o(), $("div", {
591
+ E(e.$slots, "before-pagination"),
592
+ g.value || f.value ? (o(), $("div", {
584
593
  key: 1,
585
- class: ie(["flex items-center gap-3", y.value && y.value.last_page === 1 ? "justify-end" : ""])
594
+ class: re(["flex items-center gap-3", g.value && g.value.last_page === 1 ? "justify-end" : ""])
586
595
  }, [
587
- y.value && !v.value ? (o(), L(n(ol), {
596
+ g.value && !v.value ? (o(), D(r(nl), {
588
597
  key: 0,
589
- modelValue: B.value,
598
+ modelValue: Q.value,
590
599
  "onUpdate:modelValue": [
591
- a[11] || (a[11] = (s) => B.value = s),
600
+ a[11] || (a[11] = (s) => Q.value = s),
592
601
  Je
593
602
  ],
594
603
  class: "justify-center text-[13px]",
595
- "max-page": y.value.last_page,
596
- strategy: y.value.strategy,
604
+ "max-page": g.value.last_page,
605
+ strategy: g.value.strategy,
597
606
  "total-visible": "5"
598
607
  }, null, 8, ["modelValue", "max-page", "strategy"])) : p("", !0),
599
- m.value ? (o(), $("div", Sl, [
600
- I(n(Ve), {
601
- disabled: !m.value.prev,
602
- onClick: a[12] || (a[12] = (s) => m.value.prev ? K(null, !1, m.value.prev) : null)
608
+ f.value ? (o(), $("div", El, [
609
+ N(r(Ve), {
610
+ disabled: !f.value.prev,
611
+ onClick: a[12] || (a[12] = (s) => f.value.prev ? A(null, !1, f.value.prev) : null)
603
612
  }, null, 8, ["disabled"]),
604
- I(n(Ve), {
605
- disabled: !m.value.next,
613
+ N(r(Ve), {
614
+ disabled: !f.value.next,
606
615
  "is-next": "",
607
- onClick: a[13] || (a[13] = (s) => m.value.next ? K(null, !1, m.value.next) : null)
616
+ onClick: a[13] || (a[13] = (s) => f.value.next ? A(null, !1, f.value.next) : null)
608
617
  }, null, 8, ["disabled"])
609
618
  ])) : p("", !0),
610
- d.value ? p("", !0) : (o(), $("div", Ol, [
611
- I(n(ul), {
612
- modelValue: q.value,
619
+ d.value ? p("", !0) : (o(), $("div", Cl, [
620
+ N(r(dl), {
621
+ modelValue: G.value,
613
622
  "onUpdate:modelValue": [
614
- a[14] || (a[14] = (s) => q.value = s),
615
- a[15] || (a[15] = (s) => K(null))
623
+ a[14] || (a[14] = (s) => G.value = s),
624
+ a[15] || (a[15] = (s) => A(null))
616
625
  ],
617
626
  label: "Item per page",
618
627
  "is-inline-label": "",
619
628
  "popper-options": { placement: "auto" },
620
- options: De.value,
629
+ options: Te.value,
621
630
  "select-text-class": "!text-[13px]"
622
631
  }, null, 8, ["modelValue", "options"])
623
632
  ]))
@@ -627,5 +636,5 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, fl = {
627
636
  }
628
637
  };
629
638
  export {
630
- Tl as default
639
+ Il as default
631
640
  };