@orchidui/core 1.92.0 → 1.93.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-CKcOQBp1.js → OcAccountSetupProgress-DdXuFRDy.js} +1 -1
  65. package/dist/{OcComplexCalendar-C_LvVl-a.js → OcComplexCalendar-CdQgLhJh.js} +1 -1
  66. package/dist/{OcComplexDatePicker-BuADqUYo.js → OcComplexDatePicker-DPbG6Nh2.js} +1 -1
  67. package/dist/{OcCropper-CmIJ0Juf.js → OcCropper-Ch6Siwys.js} +1 -1
  68. package/dist/{OcDataTable-DwKK4tAk.js → OcDataTable-qEhaCxwd.js} +223 -220
  69. package/dist/{OcDraggableList-B32CbaCb.js → OcDraggableList-CtKoTNYr.js} +1 -1
  70. package/dist/{OcEmojiPicker-B7MmCq52.js → OcEmojiPicker-DycF1zsD.js} +1 -1
  71. package/dist/{OcFilterForm-DDd3OWFn.js → OcFilterForm-CtvFRBtx.js} +1 -1
  72. package/dist/{OcFilterSearch-G95I3Y2D.js → OcFilterSearch-EKVPc4Bb.js} +1 -1
  73. package/dist/{OcFilterSearchFor-CLVHX6Go.js → OcFilterSearchFor-BWiXeK_9.js} +1 -1
  74. package/dist/{OcModalCropper-DhAUrDfm.js → OcModalCropper-RfBJ-mfr.js} +2 -2
  75. package/dist/{OcTimePicker-DMi3MDMf.js → OcTimePicker-BFxWVvTQ.js} +1 -1
  76. package/dist/Overlay/ConfirmationModal/OcConfirmationModal.js +1 -1
  77. package/dist/Overlay/CopyTooltip/OcCopyTooltip.js +1 -1
  78. package/dist/Overlay/Dropdown/OcDropdown.js +1 -1
  79. package/dist/Overlay/Modal/OcModal.js +1 -1
  80. package/dist/Overlay/SupportMenu/OcSupportMenu.js +1 -1
  81. package/dist/Overlay/Tooltip/OcTooltip.js +1 -1
  82. package/dist/Overlay/Whitelist/OcWhiteList.js +1 -1
  83. package/dist/{SubPlanCard-DV0r6ueq.js → SubPlanCard-DE-myUj8.js} +1 -1
  84. package/dist/{ThumbnailSection-BrT5MCH_.js → ThumbnailSection-DThOEqQg.js} +1 -1
  85. package/dist/{ThumbnailTheme-BSMn9hVZ.js → ThumbnailTheme-BVY8WPBF.js} +1 -1
  86. package/dist/core.css +1 -1
  87. package/dist/{index-CfAyElUe.js → index-BvVTmVd1.js} +33 -13
  88. package/dist/index.js +1 -1
  89. package/package.json +1 -1
@@ -1,18 +1,18 @@
1
- import { ref as C, onMounted as Se, createBlock as L, openBlock as o, unref as i, withCtx as p, createVNode as I, createElementVNode as q, createElementBlock as x, createCommentVNode as f, mergeProps as ye, Fragment as ae, renderList as ee, normalizeClass as te, toDisplayString as ge, computed as T, watch as ke, toRaw as Ge, nextTick as Me, renderSlot as E, resolveDynamicComponent as We, createSlots as Xe, normalizeProps as be, guardReactiveProps as he } from "vue";
2
- import { aG as Oe, B as Ve, C as Ye, E as Ze, Q as He, a4 as _e, aR as el, aS as ll, aT as al, K as tl, L as we, j as sl } from "./index-CfAyElUe.js";
3
- import { V as xe } from "./vue-draggable-next.esm-bundler-QQ8zx__3.js";
4
- import { getFromLocalStorage as Fe, formatHeadersFromLocalStorage as Ee, formatHeadersToLocalStorage as ol, setInLocalStorage as ul } from "./DataTable/utils/editColumnsUtils.js";
5
- import { _ as $e } from "./OcIcon-DuLjS3TV.js";
6
- import { formatFilterDisplay as il, clearAllFilters as rl } from "./DataTable/utils/filterUtils.js";
7
- import { formatCustomItemsPerPageOptions as nl, getItemsPerPageOptions as dl } from "./DataTable/utils/paginationUtils.js";
1
+ import { ref as P, onMounted as Ce, createBlock as L, openBlock as o, unref as n, withCtx as p, createVNode as I, createElementVNode as R, createElementBlock as x, createCommentVNode as f, 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 je, 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-BvVTmVd1.js";
3
+ import { V as Fe } from "./vue-draggable-next.esm-bundler-QQ8zx__3.js";
4
+ import { getFromLocalStorage as Ae, formatHeadersFromLocalStorage as Ke, formatHeadersToLocalStorage as il, setInLocalStorage as rl } from "./DataTable/utils/editColumnsUtils.js";
5
+ import { _ as Ee } from "./OcIcon-DuLjS3TV.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";
8
8
  import "./dayjs.min-7xVZzECu.js";
9
- const vl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, cl = {
9
+ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, pl = {
10
10
  key: 0,
11
11
  class: "gap-y-2 flex flex-col border-b pb-3 border-oc-gray-200"
12
- }, ml = { class: "gap-y-2 flex flex-col" }, pl = {
12
+ }, fl = { class: "gap-y-2 flex flex-col" }, yl = {
13
13
  key: 0,
14
14
  class: "flex items-center bg-white justify-between h-[26px]"
15
- }, fl = { class: "flex items-center w-full gap-x-3" }, yl = { class: "truncate w-full max-w-[160px]" }, gl = {
15
+ }, gl = { class: "flex items-center w-full gap-x-3" }, bl = { class: "truncate w-full max-w-[160px]" }, kl = {
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 vl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, cl = {
39
39
  /** Column order or visibility changed. Payload: `{ fixedHeaders, activeHeaders, isOnMount }`. */
40
40
  "update-order": []
41
41
  },
42
- setup($, { emit: le }) {
43
- const j = le, g = $, c = C([]), S = C([]), O = C(!1), y = {
42
+ setup($, { emit: oe }) {
43
+ const A = oe, k = $, m = P([]), S = P([]), O = P(!1), y = {
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": () => J()
51
- }, J = (l = !1) => {
52
- S.value = S.value.map((r) => ({
53
- ...r,
50
+ "onUpdate:modelValue": () => z()
51
+ }, z = (l = !1) => {
52
+ S.value = S.value.map((d) => ({
53
+ ...d,
54
54
  isActive: !0
55
- })), j("update-order", {
55
+ })), A("update-order", {
56
56
  fixedHeaders: S.value,
57
- activeHeaders: c.value,
57
+ activeHeaders: m.value,
58
58
  isOnMount: l
59
59
  });
60
60
  };
61
- return Se(() => {
62
- const l = Fe(g.localKey), { fixed: r, active: n } = Ee(l, g.headers, g.localKey);
63
- S.value = r || g.headers.slice(0, 1), c.value = n || g.headers.slice(1).map((k) => {
64
- var t, U, A;
61
+ return Ce(() => {
62
+ const l = Ae(k.localKey), { fixed: d, active: v } = Ke(l, k.headers, k.localKey);
63
+ S.value = d || k.headers.slice(0, 1), m.value = v || k.headers.slice(1).map((g) => {
64
+ var t, U, j;
65
65
  return {
66
- ...k,
67
- isActive: ((A = (U = (t = g.options) == null ? void 0 : t.active) == null ? void 0 : U.find((Q) => Q.key === k.key)) == null ? void 0 : A.isActive) ?? !0
66
+ ...g,
67
+ isActive: ((j = (U = (t = k.options) == null ? void 0 : t.active) == null ? void 0 : U.find((Q) => Q.key === g.key)) == null ? void 0 : j.isActive) ?? !0
68
68
  };
69
- }), J(!0);
70
- }), (l, r) => (o(), L(i(Oe), {
69
+ }), z(!0);
70
+ }), (l, d) => (o(), L(n(Pe), {
71
71
  modelValue: O.value,
72
- "onUpdate:modelValue": r[3] || (r[3] = (n) => O.value = n),
72
+ "onUpdate:modelValue": d[3] || (d[3] = (v) => O.value = v),
73
73
  "is-attach-to-body": ""
74
74
  }, {
75
75
  menu: p(() => [
76
- q("div", vl, [
77
- S.value.length ? (o(), x("div", cl, [
78
- r[4] || (r[4] = q("span", { class: "text-oc-text-400 font-medium" }, "Fixed columns", -1)),
79
- I(i(xe), ye({
76
+ R("div", ml, [
77
+ S.value.length ? (o(), x("div", pl, [
78
+ d[4] || (d[4] = R("span", { class: "text-oc-text-400 font-medium" }, "Fixed columns", -1)),
79
+ I(n(Fe), we({
80
80
  key: "key",
81
81
  modelValue: S.value,
82
- "onUpdate:modelValue": r[0] || (r[0] = (n) => S.value = n)
82
+ "onUpdate:modelValue": d[0] || (d[0] = (v) => S.value = v)
83
83
  }, y), {
84
84
  default: p(() => [
85
- (o(!0), x(ae, null, ee(S.value, (n, k) => (o(), x("div", {
86
- key: n.key,
87
- class: te(["flex items-center justify-between h-[26px]", k ? "" : "is-disabled"])
85
+ (o(!0), x(ue, null, ae(S.value, (v, g) => (o(), x("div", {
86
+ key: v.key,
87
+ class: ie(["flex items-center justify-between h-[26px]", g ? "" : "is-disabled"])
88
88
  }, [
89
- q("span", null, ge(n.label), 1),
90
- k ? (o(), L(i($e), {
89
+ R("span", null, xe(v.label), 1),
90
+ g ? (o(), L(n(Ee), {
91
91
  key: 0,
92
92
  width: "18",
93
93
  height: "18",
@@ -99,30 +99,30 @@ const vl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, cl = {
99
99
  _: 1
100
100
  }, 16, ["modelValue"])
101
101
  ])) : f("", !0),
102
- q("div", ml, [
103
- r[5] || (r[5] = q("span", { class: "text-oc-text-400 font-medium" }, "Active columns", -1)),
104
- I(i(xe), ye({
102
+ R("div", fl, [
103
+ d[5] || (d[5] = R("span", { class: "text-oc-text-400 font-medium" }, "Active columns", -1)),
104
+ I(n(Fe), we({
105
105
  key: "key",
106
- modelValue: c.value,
107
- "onUpdate:modelValue": r[2] || (r[2] = (n) => c.value = n)
106
+ modelValue: m.value,
107
+ "onUpdate:modelValue": d[2] || (d[2] = (v) => m.value = v)
108
108
  }, y, { "data-active-headers": "true" }), {
109
109
  default: p(() => [
110
- (o(!0), x(ae, null, ee(c.value, (n) => (o(), x(ae, {
111
- key: n.key
110
+ (o(!0), x(ue, null, ae(m.value, (v) => (o(), x(ue, {
111
+ key: v.key
112
112
  }, [
113
- n.key !== "actions" ? (o(), x("div", pl, [
114
- q("div", fl, [
115
- I(i(Ye), {
116
- modelValue: n.isActive,
113
+ v.key !== "actions" ? (o(), x("div", yl, [
114
+ R("div", gl, [
115
+ I(n(He), {
116
+ modelValue: v.isActive,
117
117
  "onUpdate:modelValue": [
118
- (k) => n.isActive = k,
119
- r[1] || (r[1] = (k) => J())
118
+ (g) => v.isActive = g,
119
+ d[1] || (d[1] = (g) => z())
120
120
  ],
121
121
  class: "!w-fit"
122
122
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
123
- q("div", yl, ge(n.label), 1)
123
+ R("div", bl, xe(v.label), 1)
124
124
  ]),
125
- c.value.length > 1 ? (o(), L(i($e), {
125
+ m.value.length > 1 ? (o(), L(n(Ee), {
126
126
  key: 0,
127
127
  width: "18",
128
128
  height: "18",
@@ -138,7 +138,7 @@ const vl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, cl = {
138
138
  ])
139
139
  ]),
140
140
  default: p(() => [
141
- I(i(Ve), {
141
+ I(n(je), {
142
142
  label: "Edit Column",
143
143
  "left-icon": "setting",
144
144
  size: "small",
@@ -149,22 +149,22 @@ const vl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, cl = {
149
149
  _: 1
150
150
  }, 8, ["modelValue"]));
151
151
  }
152
- }, kl = { class: "relative flex flex-col gap-9" }, bl = {
152
+ }, hl = { class: "relative flex flex-col gap-9" }, wl = {
153
153
  key: 0,
154
154
  class: "flex items-center px-4 min-h-[44px]"
155
- }, hl = {
155
+ }, xl = {
156
156
  key: 0,
157
157
  class: "absolute flex items-center gap-5 left-5"
158
- }, wl = {
158
+ }, $l = {
159
159
  key: 1,
160
160
  class: "absolute flex gap-3 left-5"
161
- }, xl = {
161
+ }, Sl = {
162
162
  key: 1,
163
163
  class: "flex justify-center w-full gap-5 md:justify-start"
164
- }, $l = {
164
+ }, Ol = {
165
165
  key: 2,
166
166
  class: "items-center hidden md:flex"
167
- }, Al = {
167
+ }, Tl = {
168
168
  __name: "OcDataTable",
169
169
  props: {
170
170
  /** Show skeleton loading rows while data is being fetched. */
@@ -263,144 +263,147 @@ const vl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, cl = {
263
263
  /** Table has mounted and column order is initialized. */
264
264
  "on-table-ready": []
265
265
  },
266
- setup($, { emit: le }) {
267
- var ie, re, ne, de, ve, ce, me, pe, fe;
268
- const j = $, g = le, c = T(() => {
266
+ setup($, { emit: oe }) {
267
+ var ve, ce, me, pe, fe, ye, ge, be, ke;
268
+ const A = $, k = oe, m = D(() => {
269
269
  var e;
270
- return (e = j.options) == null ? void 0 : e.cursor;
271
- }), S = C(), O = T(() => {
270
+ return (e = A.options) == null ? void 0 : e.cursor;
271
+ }), S = P(), O = D(() => {
272
272
  var e;
273
- return (e = j.options) == null ? void 0 : e.tableOptions;
274
- }), y = C({
273
+ return (e = A.options) == null ? void 0 : e.tableOptions;
274
+ }), y = P({
275
275
  total: 0,
276
276
  last_page: 1
277
277
  });
278
- ke(
278
+ $e(
279
279
  () => {
280
280
  var e;
281
- return (e = j.options) == null ? void 0 : e.pagination;
281
+ return (e = A.options) == null ? void 0 : e.pagination;
282
282
  },
283
283
  (e) => {
284
284
  y.value = e;
285
285
  },
286
286
  { deep: !0, immediate: !0 }
287
287
  );
288
- const J = T(() => {
288
+ const z = D(() => {
289
289
  var a;
290
290
  return {
291
291
  ...O.value,
292
292
  headers: S.value ? S.value.map((u) => {
293
- var m, d;
294
- return u.class = ((d = (m = O.value) == null ? void 0 : m.headers.find((v) => v.key === u.key)) == null ? void 0 : d.class) ?? "", u;
295
- }).filter((u) => u.isActive) : (a = O.value) == null ? void 0 : a.headers.filter((u) => Te(u.key))
293
+ var r, i;
294
+ return u.class = ((i = (r = O.value) == null ? void 0 : r.headers.find((c) => c.key === u.key)) == null ? void 0 : i.class) ?? "", u;
295
+ }).filter((u) => u.isActive) : (a = O.value) == null ? void 0 : a.headers.filter((u) => Be(u.key))
296
296
  };
297
- }), l = T(() => {
297
+ }), l = D(() => {
298
298
  var e;
299
- return (e = j.options) == null ? void 0 : e.filterOptions;
300
- }), r = T(() => {
299
+ return (e = A.options) == null ? void 0 : e.filterOptions;
300
+ }), d = D(() => {
301
301
  var e;
302
- return (e = j.options) == null ? void 0 : e.hidePerPageDropdown;
303
- }), n = T(() => {
302
+ return (e = A.options) == null ? void 0 : e.hidePerPageDropdown;
303
+ }), v = D(() => {
304
304
  var e;
305
305
  return ((e = y.value) == null ? void 0 : e.last_page) === 1;
306
- }), k = JSON.parse(JSON.stringify(Ge(j.filter)));
307
- !k && y.value ? k.page = 1 : !k && c && (k.cursor = "");
308
- const t = C(k);
309
- ke(
310
- () => j.filter,
306
+ }), g = JSON.parse(JSON.stringify(We(A.filter)));
307
+ !g && y.value ? g.page = 1 : !g && m && (g.cursor = "");
308
+ const t = P(g);
309
+ $e(
310
+ () => A.filter,
311
311
  (e) => {
312
312
  t.value = { ...e };
313
313
  },
314
314
  { deep: !0 }
315
315
  );
316
- const U = C(!1), A = C(t.value[(re = (ie = l.value) == null ? void 0 : ie.tabs) == null ? void 0 : re.key]), Q = C(t.value.page), G = C(
317
- (de = (ne = l.value) == null ? void 0 : ne.per_page) != null && de.key ? t.value[(ce = (ve = l.value) == null ? void 0 : ve.per_page) == null ? void 0 : ce.key] : t.value.per_page
318
- ), se = ((fe = t.value[t.value.selectedSearchOption || ((pe = (me = l.value) == null ? void 0 : me.search) == null ? void 0 : pe.key)]) == null ? void 0 : fe.trim()) ?? "", N = C(se ? se.split(",") : []), oe = C(!1), Ce = T(
316
+ const U = P(!1), j = P(t.value[(ce = (ve = l.value) == null ? void 0 : ve.tabs) == null ? void 0 : ce.key]), Q = P(t.value.page), q = P(
317
+ (pe = (me = l.value) == null ? void 0 : me.per_page) != null && pe.key ? t.value[(ye = (fe = l.value) == null ? void 0 : fe.per_page) == null ? void 0 : ye.key] : t.value.per_page
318
+ ), 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(
319
319
  () => {
320
320
  var e;
321
- return nl((e = j.options) == null ? void 0 : e.perPageOptions);
321
+ return vl((e = A.options) == null ? void 0 : e.perPageOptions);
322
322
  }
323
- ), Pe = T(() => dl(Ce.value, y.value)), je = T(() => {
323
+ ), De = D(() => cl(Te.value, y.value)), Le = D(() => {
324
324
  var e;
325
- return ((e = j.selected) == null ? void 0 : e.length) > 0;
326
- }), Ae = (e) => {
327
- !e.trim() || !t.value.selectedSearchOption && N.value.includes(e) || (N.value = [e], K(), g("search-query-changed", e));
328
- }, Ke = (e) => {
325
+ return ((e = A.selected) == null ? void 0 : e.length) > 0;
326
+ }), Ue = (e) => {
327
+ !e.trim() || !t.value.selectedSearchOption && N.value.includes(e) || (N.value = [e], K(), k("search-query-changed", e));
328
+ }, Ie = (e) => {
329
329
  N.value = N.value.filter((a) => a !== e), K();
330
- }, De = T(() => il(t.value, l.value)), Te = (e) => {
331
- var a, u, m, d, v, b;
332
- return ((b = (v = (d = (m = t.value) == null ? void 0 : m[(u = (a = l.value) == null ? void 0 : a.columnEdit) == null ? void 0 : u.key]) == null ? void 0 : d.active) == null ? void 0 : v.find((V) => V.key === e)) == null ? void 0 : b.isActive) ?? !0;
333
- }, Le = ({ fixedHeaders: e, activeHeaders: a, isOnMount: u }) => {
334
- var m, d, v, b, V, s, D, h;
335
- if (t.value[(d = (m = l.value) == null ? void 0 : m.columnEdit) == null ? void 0 : d.key] || (t.value[(b = (v = l.value) == null ? void 0 : v.columnEdit) == null ? void 0 : b.key] = {}), t.value[(s = (V = l.value) == null ? void 0 : V.columnEdit) == null ? void 0 : s.key].fixed = e, t.value[(h = (D = l.value) == null ? void 0 : D.columnEdit) == null ? void 0 : h.key].active = a, S.value = [...e, ...a], !u) {
336
- const F = ol(e, a);
337
- ul(l.value.columnEdit.localStorageKey, F);
330
+ }, Ne = D(() => nl(t.value, l.value)), Be = (e) => {
331
+ var a, u, r, i, c, h;
332
+ return ((h = (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 : h.isActive) ?? !0;
333
+ }, Qe = ({ fixedHeaders: e, activeHeaders: a, isOnMount: u }) => {
334
+ var r, i, c, h, V, s, T, w;
335
+ if (t.value[(i = (r = l.value) == null ? void 0 : r.columnEdit) == null ? void 0 : i.key] || (t.value[(h = (c = l.value) == null ? void 0 : c.columnEdit) == null ? void 0 : h.key] = {}), t.value[(s = (V = l.value) == null ? void 0 : V.columnEdit) == null ? void 0 : s.key].fixed = e, t.value[(w = (T = l.value) == null ? void 0 : T.columnEdit) == null ? void 0 : w.key].active = a, S.value = [...e, ...a], !u) {
336
+ const F = il(e, a);
337
+ rl(l.value.columnEdit.localStorageKey, F);
338
338
  }
339
- g("columns-changed", a);
340
- }, Ue = () => {
341
- var e, a, u, m, d, v;
339
+ k("columns-changed", a);
340
+ }, Re = () => {
341
+ var e, a, u, r, i, c;
342
342
  if ((a = (e = l.value) == null ? void 0 : e.columnEdit) != null && a.localStorageKey) {
343
- const b = Fe(l.value.columnEdit.localStorageKey);
344
- if (b) {
345
- const { fixed: V, active: s } = Ee(
346
- b,
343
+ const h = Ae(l.value.columnEdit.localStorageKey);
344
+ if (h) {
345
+ const { fixed: V, active: s } = Ke(
346
+ h,
347
347
  O.value.headers,
348
348
  l.value.columnEdit.localStorageKey
349
349
  );
350
- t.value[(m = (u = l.value) == null ? void 0 : u.columnEdit) == null ? void 0 : m.key].fixed = V, t.value[(v = (d = l.value) == null ? void 0 : d.columnEdit) == null ? void 0 : v.key].active = s, S.value = [...V, ...s];
350
+ 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];
351
351
  }
352
352
  }
353
- }, Ie = (e) => {
353
+ }, ze = (e) => {
354
354
  t.value.selectedSearchOption = e;
355
- }, Ne = () => {
356
- N.value = [], A.value = "", t.value = rl(
355
+ }, qe = () => {
356
+ var a, u, r, i;
357
+ N.value = [], j.value = "";
358
+ 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] : j.value;
359
+ t.value = dl(
357
360
  t.value,
358
361
  l.value,
359
- G.value,
360
- A.value
362
+ q.value,
363
+ e
361
364
  ), K();
362
- }, Be = () => {
365
+ }, Je = () => {
363
366
  K(null, Q.value);
364
- }, K = (e = null, a = !1, u = "", m = !1, d = !1) => {
365
- var b, V, s, D, h, F, B, M, W, X, Y, Z, H;
366
- y.value && !a && (Q.value = 1), y.value ? t.value.page = Q.value : t.value.cursor = u, (b = l.value) != null && b.per_page ? t.value[l.value.per_page.key] = G.value : t.value.per_page = G.value, (V = l.value) != null && V.tabs && d && (t.value[l.value.tabs.key] = A.value), (s = l.value) != null && s.search && ((h = (D = l.value.search) == null ? void 0 : D.options) != null && h.length ? (Object.keys(t.value).forEach((w) => {
367
- var R;
368
- (R = l.value.search.options) != null && R.map((z) => z.value).includes(w) && delete t.value[w];
369
- }), t.value[((F = t.value) == null ? void 0 : F.selectedSearchOption) || ((W = (M = (B = l.value.search) == null ? void 0 : B.options) == null ? void 0 : M[0]) == null ? void 0 : W.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((w) => {
370
- Array.isArray(t.value[w]) && t.value[w].length === 0 && delete t.value[w];
367
+ }, K = (e = null, a = !1, u = "", r = !1, i = !1) => {
368
+ var h, V, s, T, w, F, B, G, M, W, X, Y, Z, H, _, ee, le, b, te;
369
+ y.value && !a && (Q.value = 1), y.value ? t.value.page = Q.value : t.value.cursor = u, (h = l.value) != null && h.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] = j.value), (T = (s = l.value) == null ? void 0 : s.tabs) != null && T.filter_name && (i ? t.value[(F = (w = l.value) == null ? void 0 : w.tabs) == null ? void 0 : F.filter_name] = null : e && (j.value = null)), (B = l.value) != null && B.search && ((M = (G = l.value.search) == null ? void 0 : G.options) != null && M.length ? (Object.keys(t.value).forEach((E) => {
370
+ var J;
371
+ (J = l.value.search.options) != null && J.map((se) => se.value).includes(E) && delete t.value[E];
372
+ }), 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) => {
373
+ Array.isArray(t.value[E]) && t.value[E].length === 0 && delete t.value[E];
371
374
  }));
372
- let v = (Y = (X = l.value) == null ? void 0 : X.tabs) == null ? void 0 : Y.key;
373
- if (v && A.value !== t.value[v]) {
374
- const w = (H = (Z = l.value.tabs) == null ? void 0 : Z.options) == null ? void 0 : H.find(
375
- (R) => {
376
- var z, _;
377
- return ((z = R.value) == null ? void 0 : z.toString()) === ((_ = t.value[v]) == null ? void 0 : _.toString());
375
+ let c = (_ = (H = l.value) == null ? void 0 : H.tabs) == null ? void 0 : _.key;
376
+ if (c && j.value !== t.value[c] && !((le = (ee = l.value) == null ? void 0 : ee.tabs) != null && le.filter_name)) {
377
+ const E = (te = (b = l.value.tabs) == null ? void 0 : b.options) == null ? void 0 : te.find(
378
+ (J) => {
379
+ var se, he;
380
+ return ((se = J.value) == null ? void 0 : se.toString()) === ((he = t.value[c]) == null ? void 0 : he.toString());
378
381
  }
379
382
  );
380
- w != null && w.value && (A.value = w.value, d || K(null, !1, "", !1, !0));
383
+ E != null && E.value && (j.value = E.value, i || K(null, !1, "", !1, !0));
381
384
  }
382
- Qe(m);
383
- }, ue = C(null), Qe = (e = !1) => {
384
- clearTimeout(ue.value), ue.value = setTimeout(() => {
385
- g("update:filter", { ...t.value }, e), g("apply-filter", { ...t.value }, e);
385
+ Ge(r);
386
+ }, de = P(null), Ge = (e = !1) => {
387
+ clearTimeout(de.value), de.value = setTimeout(() => {
388
+ k("update:filter", { ...t.value }, e), k("apply-filter", { ...t.value }, e);
386
389
  }, 50);
387
- }, Re = (e, a) => {
388
- (a === l.value.tabs.key || a === "tabs") && (A.value = ""), K(e), g("filter-removed", a);
390
+ }, Me = (e, a) => {
391
+ (a === l.value.tabs.key || a === "tabs") && (j.value = ""), K(e), k("filter-removed", a);
389
392
  };
390
- return Se(() => {
391
- Ue(), Me(() => {
392
- g("on-table-ready");
393
+ return Ce(() => {
394
+ Re(), Xe(() => {
395
+ k("on-table-ready");
393
396
  });
394
397
  }), (e, a) => {
395
- var u, m, d, v, b, V;
396
- return o(), x("div", kl, [
397
- J.value ? (o(), L(We($.isNewTable ? i(Ze) : i(He)), {
398
+ var u, r, i, c, h, V;
399
+ return o(), x("div", hl, [
400
+ z.value ? (o(), L(Ye($.isNewTable ? n(_e) : n(el)), {
398
401
  key: 0,
399
402
  selected: $.selected,
400
403
  "row-key": $.rowKey,
401
- options: J.value,
404
+ options: z.value,
402
405
  "is-loading": $.isLoading,
403
- "loading-rows": G.value,
406
+ "loading-rows": q.value,
404
407
  "row-class": $.rowClass,
405
408
  "row-link": $.rowLink,
406
409
  "selected-index": $.selectedIndex,
@@ -409,39 +412,39 @@ const vl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, cl = {
409
412
  "onUpdate:selected": a[8] || (a[8] = (s) => e.$emit("update:selected", s)),
410
413
  "onClick:row": a[9] || (a[9] = (s) => e.$emit("click:row", s)),
411
414
  "onHover:cell": a[10] || (a[10] = (s) => e.$emit("hover:cell", s))
412
- }, Xe({
415
+ }, Ze({
413
416
  after: p(() => [
414
- E(e.$slots, "after")
417
+ C(e.$slots, "after")
415
418
  ]),
416
419
  empty: p(() => [
417
- E(e.$slots, "empty")
420
+ C(e.$slots, "empty")
418
421
  ]),
419
422
  "table-header": p((s) => [
420
- E(e.$slots, "table-header", be(he(s)))
423
+ C(e.$slots, "table-header", Se(Oe(s)))
421
424
  ]),
422
425
  "table-body": p((s) => [
423
- E(e.$slots, "table-body", be(he(s)))
426
+ C(e.$slots, "table-body", Se(Oe(s)))
424
427
  ]),
425
428
  "after-rows": p(() => [
426
- E(e.$slots, "after-rows")
429
+ C(e.$slots, "after-rows")
427
430
  ]),
428
431
  _: 2
429
432
  }, [
430
- e.$slots.before || (u = l.value) != null && u.search || (m = l.value) != null && m.form || (d = l.value) != null && d.tabs ? {
433
+ e.$slots.before || (u = l.value) != null && u.search || (r = l.value) != null && r.form || (i = l.value) != null && i.tabs ? {
431
434
  name: "before",
432
435
  fn: p(() => {
433
- var s, D, h, F;
436
+ var s, T, w, F;
434
437
  return [
435
- E(e.$slots, "before"),
436
- (s = l.value) != null && s.search || (D = l.value) != null && D.form || (h = l.value) != null && h.tabs ? (o(), x("div", bl, [
437
- je.value ? (o(), x("div", hl, [
438
- E(e.$slots, "bulk-actions", { selectedRows: $.selected })
439
- ])) : (o(), x("div", wl, [
440
- (F = l.value) != null && F.tabs ? (o(), L(i(_e), {
438
+ C(e.$slots, "before"),
439
+ (s = l.value) != null && s.search || (T = l.value) != null && T.form || (w = l.value) != null && w.tabs ? (o(), x("div", wl, [
440
+ Le.value ? (o(), x("div", xl, [
441
+ C(e.$slots, "bulk-actions", { selectedRows: $.selected })
442
+ ])) : (o(), x("div", $l, [
443
+ (F = l.value) != null && F.tabs ? (o(), L(n(ll), {
441
444
  key: 0,
442
- modelValue: A.value,
445
+ modelValue: j.value,
443
446
  "onUpdate:modelValue": [
444
- a[0] || (a[0] = (B) => A.value = B),
447
+ a[0] || (a[0] = (B) => j.value = B),
445
448
  a[1] || (a[1] = (B) => K(null, !1, "", !1, !0))
446
449
  ],
447
450
  "is-disabled": $.isLoading,
@@ -449,61 +452,61 @@ const vl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, cl = {
449
452
  variant: "pills"
450
453
  }, null, 8, ["modelValue", "is-disabled", "tabs"])) : f("", !0)
451
454
  ])),
452
- E(e.$slots, "filter-options", {}, () => {
453
- var B, M, W, X, Y, Z, H, w, R, z, _;
455
+ C(e.$slots, "filter-options", {}, () => {
456
+ var B, G, M, W, X, Y, Z, H, _, ee, le;
454
457
  return [
455
- (B = l.value) != null && B.search || (M = l.value) != null && M.form || (W = l.value) != null && W.columnEdit ? (o(), x("div", {
458
+ (B = l.value) != null && B.search || (G = l.value) != null && G.form || (M = l.value) != null && M.columnEdit ? (o(), x("div", {
456
459
  key: 0,
457
- class: te([
460
+ class: ie([
458
461
  "flex gap-3 absolute ml-auto items-center bg-oc-bg-light right-4 max-w-[calc(100%-24px)]",
459
- l.value ? oe.value ? "md:w-fit w-full" : "" : "w-full justify-end"
462
+ l.value ? ne.value ? "md:w-fit w-full" : "" : "w-full justify-end"
460
463
  ])
461
464
  }, [
462
- (X = l.value) != null && X.search ? (o(), L(i(el), {
465
+ (W = l.value) != null && W.search ? (o(), L(n(al), {
463
466
  key: 0,
464
467
  "is-search-only": !l.value.tabs || l.value.isSearchOnly,
465
- "search-options": ((Y = l.value.search) == null ? void 0 : Y.options) ?? [],
466
- "selected-option": (((Z = t.value) == null ? void 0 : Z.selectedSearchOption) || ((R = (w = (H = l.value.search) == null ? void 0 : H.options) == null ? void 0 : w[0]) == null ? void 0 : R.value)) ?? "keywords",
467
- onAddQuery: Ae,
468
- onToggle: a[2] || (a[2] = (P) => oe.value = P),
469
- onChangeSearchKey: Ie
468
+ "search-options": ((X = l.value.search) == null ? void 0 : X.options) ?? [],
469
+ "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",
470
+ onAddQuery: Ue,
471
+ onToggle: a[2] || (a[2] = (b) => ne.value = b),
472
+ onChangeSearchKey: ze
470
473
  }, null, 8, ["is-search-only", "search-options", "selected-option"])) : f("", !0),
471
- (z = l.value) != null && z.form ? (o(), L(i(Oe), {
474
+ (ee = l.value) != null && ee.form ? (o(), L(n(Pe), {
472
475
  key: 1,
473
476
  modelValue: U.value,
474
477
  "onUpdate:modelValue": [
475
- a[6] || (a[6] = (P) => U.value = P),
476
- a[7] || (a[7] = (P) => e.$emit("filter-open", P))
478
+ a[6] || (a[6] = (b) => U.value = b),
479
+ a[7] || (a[7] = (b) => e.$emit("filter-open", b))
477
480
  ],
478
481
  distance: 9,
479
482
  placement: "bottom-end",
480
483
  "is-attach-to-body": ""
481
484
  }, {
482
485
  menu: p(() => [
483
- U.value ? (o(), L(i(ll), {
486
+ U.value ? (o(), L(n(tl), {
484
487
  key: 0,
485
488
  id: $.id,
486
489
  "json-form": l.value.form ?? [],
487
490
  grid: l.value.grid ?? null,
488
491
  values: t.value,
489
492
  actions: l.value.actions,
490
- onApplyFilter: a[3] || (a[3] = (P) => K(P)),
491
- onFilterFieldsChanged: a[4] || (a[4] = (P) => g("filter-fields-changed", P)),
492
- onCancel: a[5] || (a[5] = (P) => U.value = !1)
493
+ onApplyFilter: a[3] || (a[3] = (b) => K(b)),
494
+ onFilterFieldsChanged: a[4] || (a[4] = (b) => k("filter-fields-changed", b)),
495
+ onCancel: a[5] || (a[5] = (b) => U.value = !1)
493
496
  }, {
494
- default: p(({ errors: P, values: ze, jsonForm: qe, updateForm: Je }) => [
495
- E(e.$slots, "custom-filter-form", {
496
- errors: P,
497
- values: ze,
498
- jsonForm: qe,
499
- updateFilter: Je
497
+ default: p(({ errors: b, values: te, jsonForm: E, updateForm: J }) => [
498
+ C(e.$slots, "custom-filter-form", {
499
+ errors: b,
500
+ values: te,
501
+ jsonForm: E,
502
+ updateFilter: J
500
503
  })
501
504
  ]),
502
505
  _: 3
503
506
  }, 8, ["id", "json-form", "grid", "values", "actions"])) : f("", !0)
504
507
  ]),
505
508
  default: p(() => [
506
- I(i(Ve), {
509
+ I(n(je), {
507
510
  "is-active": U.value,
508
511
  variant: "secondary",
509
512
  "left-icon": "filter",
@@ -514,96 +517,96 @@ const vl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, cl = {
514
517
  ]),
515
518
  _: 3
516
519
  }, 8, ["modelValue"])) : f("", !0),
517
- l.value.columnEdit ? (o(), L(gl, {
520
+ l.value.columnEdit ? (o(), L(kl, {
518
521
  key: 2,
519
522
  options: t.value.columnEdit,
520
- headers: ((_ = O.value) == null ? void 0 : _.headers) || [],
523
+ headers: ((le = O.value) == null ? void 0 : le.headers) || [],
521
524
  "local-key": l.value.columnEdit.localStorageKey,
522
- onUpdateOrder: Le
525
+ onUpdateOrder: Qe
523
526
  }, null, 8, ["options", "headers", "local-key"])) : f("", !0)
524
527
  ], 2)) : f("", !0)
525
528
  ];
526
529
  })
527
530
  ])) : f("", !0),
528
- I(i(al), {
529
- filters: De.value,
531
+ I(n(sl), {
532
+ filters: Ne.value,
530
533
  queries: N.value,
531
534
  class: "border-t border-oc-gray-200",
532
- onRemoveQuery: Ke,
533
- onRemoveAll: Ne,
534
- onRemoveFilter: Re
535
+ onRemoveQuery: Ie,
536
+ onRemoveAll: qe,
537
+ onRemoveFilter: Me
535
538
  }, null, 8, ["filters", "queries"])
536
539
  ];
537
540
  }),
538
541
  key: "0"
539
542
  } : void 0,
540
- ee((v = O.value) == null ? void 0 : v.headers, (s, D) => ({
543
+ ae((c = O.value) == null ? void 0 : c.headers, (s, T) => ({
541
544
  name: s.key,
542
- fn: p(({ data: h, item: F }) => [
543
- E(e.$slots, s.key, {
544
- data: h,
545
+ fn: p(({ data: w, item: F }) => [
546
+ C(e.$slots, s.key, {
547
+ data: w,
545
548
  item: F
546
549
  })
547
550
  ])
548
551
  })),
549
- ee((b = O.value) == null ? void 0 : b.headers, (s, D) => ({
552
+ ae((h = O.value) == null ? void 0 : h.headers, (s, T) => ({
550
553
  name: `header-${s.key}-tooltip`,
551
- fn: p(({ data: h, item: F }) => [
552
- E(e.$slots, `header-${s.key}-tooltip`, {
553
- data: h,
554
+ fn: p(({ data: w, item: F }) => [
555
+ C(e.$slots, `header-${s.key}-tooltip`, {
556
+ data: w,
554
557
  item: F
555
558
  })
556
559
  ])
557
560
  })),
558
- ee((V = O.value) == null ? void 0 : V.headers, (s, D) => ({
561
+ ae((V = O.value) == null ? void 0 : V.headers, (s, T) => ({
559
562
  name: `header-${s.key}-left-tooltip`,
560
- fn: p(({ data: h, item: F }) => [
561
- E(e.$slots, `header-${s.key}-left-tooltip`, {
562
- data: h,
563
+ fn: p(({ data: w, item: F }) => [
564
+ C(e.$slots, `header-${s.key}-left-tooltip`, {
565
+ data: w,
563
566
  item: F
564
567
  })
565
568
  ])
566
569
  }))
567
570
  ]), 1064, ["selected", "row-key", "options", "is-loading", "loading-rows", "row-class", "row-link", "selected-index", "is-sticky", "is-borderless"])) : f("", !0),
568
- E(e.$slots, "before-pagination"),
569
- y.value || c.value ? (o(), x("div", {
571
+ C(e.$slots, "before-pagination"),
572
+ y.value || m.value ? (o(), x("div", {
570
573
  key: 1,
571
- class: te(["flex items-center gap-3", y.value && y.value.last_page === 1 ? "justify-end" : ""])
574
+ class: ie(["flex items-center gap-3", y.value && y.value.last_page === 1 ? "justify-end" : ""])
572
575
  }, [
573
- y.value && !n.value ? (o(), L(i(tl), {
576
+ y.value && !v.value ? (o(), L(n(ol), {
574
577
  key: 0,
575
578
  modelValue: Q.value,
576
579
  "onUpdate:modelValue": [
577
580
  a[11] || (a[11] = (s) => Q.value = s),
578
- Be
581
+ Je
579
582
  ],
580
583
  class: "justify-center text-[13px]",
581
584
  "max-page": y.value.last_page,
582
585
  strategy: y.value.strategy,
583
586
  "total-visible": "5"
584
587
  }, null, 8, ["modelValue", "max-page", "strategy"])) : f("", !0),
585
- c.value ? (o(), x("div", xl, [
586
- I(i(we), {
587
- disabled: !c.value.prev,
588
- onClick: a[12] || (a[12] = (s) => c.value.prev ? K(null, !1, c.value.prev) : null)
588
+ m.value ? (o(), x("div", Sl, [
589
+ I(n(Ve), {
590
+ disabled: !m.value.prev,
591
+ onClick: a[12] || (a[12] = (s) => m.value.prev ? K(null, !1, m.value.prev) : null)
589
592
  }, null, 8, ["disabled"]),
590
- I(i(we), {
591
- disabled: !c.value.next,
593
+ I(n(Ve), {
594
+ disabled: !m.value.next,
592
595
  "is-next": "",
593
- onClick: a[13] || (a[13] = (s) => c.value.next ? K(null, !1, c.value.next) : null)
596
+ onClick: a[13] || (a[13] = (s) => m.value.next ? K(null, !1, m.value.next) : null)
594
597
  }, null, 8, ["disabled"])
595
598
  ])) : f("", !0),
596
- r.value ? f("", !0) : (o(), x("div", $l, [
597
- I(i(sl), {
598
- modelValue: G.value,
599
+ d.value ? f("", !0) : (o(), x("div", Ol, [
600
+ I(n(ul), {
601
+ modelValue: q.value,
599
602
  "onUpdate:modelValue": [
600
- a[14] || (a[14] = (s) => G.value = s),
603
+ a[14] || (a[14] = (s) => q.value = s),
601
604
  a[15] || (a[15] = (s) => K(null))
602
605
  ],
603
606
  label: "Item per page",
604
607
  "is-inline-label": "",
605
608
  "popper-options": { placement: "auto" },
606
- options: Pe.value,
609
+ options: De.value,
607
610
  "select-text-class": "!text-[13px]"
608
611
  }, null, 8, ["modelValue", "options"])
609
612
  ]))
@@ -613,5 +616,5 @@ const vl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, cl = {
613
616
  }
614
617
  };
615
618
  export {
616
- Al as default
619
+ Tl as default
617
620
  };