@orchidui/core 1.6.1-30 → 1.6.1-32

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 (81) hide show
  1. package/dist/DataDisplay/CustomerCard/OcCustomerCard.js +1 -1
  2. package/dist/DataDisplay/FloatContent/OcFloatContent.js +1 -1
  3. package/dist/DataDisplay/InfoCard/OcInfoCard.js +1 -1
  4. package/dist/DataDisplay/ListDetail/OcListDetail.js +1 -1
  5. package/dist/DataDisplay/ListItem/OcListItem.js +1 -1
  6. package/dist/DataDisplay/OnboardingListItem/OcOnboardingListItem.js +1 -1
  7. package/dist/DataDisplay/Overview/OcOverview.js +1 -1
  8. package/dist/DataDisplay/Pagination/OcPagination.js +1 -1
  9. package/dist/DataDisplay/Table/OcTable.js +1 -1
  10. package/dist/DataDisplay/TransferSummary/OcTransferSummary.js +1 -1
  11. package/dist/Disclosure/Accordion/OcAccordion.js +1 -1
  12. package/dist/Disclosure/OnboardingAccordion/OnboardingAccordion.js +1 -1
  13. package/dist/Disclosure/Steps/OcSteps.js +1 -1
  14. package/dist/Disclosure/Tabs/Tabs.js +1 -1
  15. package/dist/Disclosure/Variants/OcVariants.js +1 -1
  16. package/dist/Elements/AdditionalContent/OcAdditionalContent.js +1 -1
  17. package/dist/Elements/AuthenticationOption/AuthenticationOption.js +1 -1
  18. package/dist/Elements/Box/OcBox.js +1 -1
  19. package/dist/Elements/EmptyPage/OcEmptyPage.js +1 -1
  20. package/dist/Elements/FeatureOverviewCard/OcFeatureOverviewCard.js +1 -1
  21. package/dist/Elements/Header/OcHeader.js +1 -1
  22. package/dist/Elements/PageTitle/OcPageTitle.js +1 -1
  23. package/dist/Elements/SandboxBanner/OcSandboxBanner.js +1 -1
  24. package/dist/Elements/Sidebar/OcSidebar.js +2 -2
  25. package/dist/Elements/SubSidebar/OcSubSidebar.js +1 -1
  26. package/dist/Elements/VerificationOption/OcVerificationOption.js +1 -1
  27. package/dist/Feedback/Banner/OcBanner.js +1 -1
  28. package/dist/Feedback/Chip/OcChip.js +1 -1
  29. package/dist/Feedback/ShareIcon/OcShareIcon.js +1 -1
  30. package/dist/Feedback/Snackbar/OcSnackbar.js +1 -1
  31. package/dist/Form/BaseInput/OcBaseInput.js +1 -1
  32. package/dist/Form/Button/OcButton.js +1 -1
  33. package/dist/Form/Calendar/OcCalendar.js +1 -1
  34. package/dist/Form/CardInput/OcCardInput.js +1 -1
  35. package/dist/Form/Checkbox/OcCheckbox.js +1 -1
  36. package/dist/Form/CheckboxesGroup/OcCheckboxesGroup.js +1 -1
  37. package/dist/Form/Criteria/OcCriteria.js +1 -1
  38. package/dist/Form/Cropper/OcCropper.js +1 -1
  39. package/dist/Form/DatePicker/OcDatePicker.js +1 -1
  40. package/dist/Form/EmojiPicker/OcEmojiPicker.js +1 -1
  41. package/dist/Form/Input/OcInput.js +1 -1
  42. package/dist/Form/LinkInput/OcLinkInput.js +1 -1
  43. package/dist/Form/MultipleUploadFile/OcMultipleUploadFile.js +1 -1
  44. package/dist/Form/NumberInput/OcNumberInput.js +1 -1
  45. package/dist/Form/PhoneInput/OcPhoneInput.js +1 -1
  46. package/dist/Form/Radio/OcRadio.js +1 -1
  47. package/dist/Form/RadioGroup/OcRadioGroup.js +1 -1
  48. package/dist/Form/RangeInput/OcRangeInput.js +1 -1
  49. package/dist/Form/SectionItem/OcSectionItem.js +1 -1
  50. package/dist/Form/Select/OcSelect.js +1 -1
  51. package/dist/Form/SelectOptions/OcSelectOptions.js +1 -1
  52. package/dist/Form/SingleFileUpload/OcSingleFileUpload.js +1 -1
  53. package/dist/Form/Slider/OcSlider.js +1 -1
  54. package/dist/Form/TextArea/OcTextArea.js +1 -1
  55. package/dist/Form/index.js +1 -1
  56. package/dist/FormBuilder/OcFormBuilder.js +1 -1
  57. package/dist/{OcAccountSetupProgress-CveW_QUJ.js → OcAccountSetupProgress-Cb7bXLCk.js} +1 -1
  58. package/dist/{OcComplexCalendar-Cj30OyFf.js → OcComplexCalendar-DaRlCWAd.js} +1 -1
  59. package/dist/{OcComplexDatePicker-CvjiPwxP.js → OcComplexDatePicker-CEOaAA82.js} +1 -1
  60. package/dist/{OcCropper-BF-16XwD.js → OcCropper-c-1wXmm8.js} +1 -1
  61. package/dist/{OcDataTable-1MsXmAgm.js → OcDataTable-CULZ_NKM.js} +224 -222
  62. package/dist/{OcDraggableList-DShpLXoA.js → OcDraggableList-hK00IyZr.js} +1 -1
  63. package/dist/{OcEmojiPicker-DsL4-8jH.js → OcEmojiPicker-CZZPuj5i.js} +1 -1
  64. package/dist/{OcFilterForm-0IKj-oQF.js → OcFilterForm-a9mn1TnY.js} +1 -1
  65. package/dist/{OcFilterSearch-BS8oU2J7.js → OcFilterSearch-Bk6aqnHz.js} +1 -1
  66. package/dist/{OcFilterSearchFor-MRaJAA_g.js → OcFilterSearchFor-AUCmR2La.js} +1 -1
  67. package/dist/{OcModalCropper-RAuVhoig.js → OcModalCropper-yst8UKBy.js} +2 -2
  68. package/dist/{OcTimePicker-CmpqMaI3.js → OcTimePicker-D23TtOdT.js} +1 -1
  69. package/dist/Overlay/ConfirmationModal/OcConfirmationModal.js +1 -1
  70. package/dist/Overlay/CopyTooltip/OcCopyTooltip.js +1 -1
  71. package/dist/Overlay/Dropdown/OcDropdown.js +1 -1
  72. package/dist/Overlay/Modal/OcModal.js +1 -1
  73. package/dist/Overlay/SupportMenu/OcSupportMenu.js +1 -1
  74. package/dist/Overlay/Tooltip/OcTooltip.js +1 -1
  75. package/dist/Overlay/Whitelist/OcWhiteList.js +1 -1
  76. package/dist/{SubPlanCard-Dpllk5G_.js → SubPlanCard-DW-PdGcu.js} +1 -1
  77. package/dist/{ThumbnailSection-DnDqnLru.js → ThumbnailSection-Dz5LPwNc.js} +1 -1
  78. package/dist/{ThumbnailTheme-IwrXmqLZ.js → ThumbnailTheme-DabbeNWb.js} +1 -1
  79. package/dist/{index-t6CLbwtt.js → index-CtYfKhlW.js} +8 -8
  80. package/dist/index.js +1 -1
  81. package/package.json +1 -1
@@ -1,16 +1,16 @@
1
- import { ref as P, onMounted as Ve, openBlock as n, createBlock as B, unref as y, withCtx as F, createElementVNode as Z, createElementBlock as $, createVNode as I, mergeProps as ge, Fragment as ee, renderList as ae, normalizeClass as te, toDisplayString as be, createCommentVNode as h, computed as L, watch as Qe, createSlots as Re, renderSlot as Y, normalizeProps as ke, guardReactiveProps as he } from "vue";
2
- import { ay as Ee, b as Je, B as Fe, L as ze, Z as _e, aJ as Ze, aK as Ge, aL as He, I as We, J as xe, k as Xe } from "./index-t6CLbwtt.js";
1
+ import { ref as C, onMounted as Ve, openBlock as n, createBlock as M, unref as k, withCtx as O, createElementVNode as Z, createElementBlock as E, createVNode as T, mergeProps as ge, Fragment as ee, renderList as ae, normalizeClass as te, toDisplayString as be, createCommentVNode as $, computed as P, createSlots as Qe, renderSlot as B, normalizeProps as ke, guardReactiveProps as he } from "vue";
2
+ import { ay as Ee, b as Re, B as Fe, L as Je, Z as ze, aJ as _e, aK as Ze, aL as Ge, I as He, J as xe, k as We } from "./index-CtYfKhlW.js";
3
3
  import le from "dayjs";
4
4
  import { VueDraggableNext as we } from "vue-draggable-next";
5
- import { getFromLocalStorage as se, formatHeadersFromLocalStorage as Oe, formatHeadersToLocalStorage as el, setInLocalStorage as $e } from "./DataTable/utils/editColumnsUtils.js";
5
+ import { getFromLocalStorage as se, formatHeadersFromLocalStorage as Oe, formatHeadersToLocalStorage as Xe, setInLocalStorage as $e } from "./DataTable/utils/editColumnsUtils.js";
6
6
  import { _ as Se } from "./OcIcon-CJgBICxh.js";
7
- const ll = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, al = {
7
+ const el = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, ll = {
8
8
  key: 0,
9
9
  class: "gap-y-2 flex flex-col border-b pb-3 border-oc-gray-200"
10
- }, tl = { class: "gap-y-2 flex flex-col" }, sl = {
10
+ }, al = { class: "gap-y-2 flex flex-col" }, tl = {
11
11
  key: 0,
12
12
  class: "flex items-center bg-white justify-between h-[26px]"
13
- }, ol = { class: "flex items-center w-full gap-x-3" }, ul = { class: "truncate w-full max-w-[160px]" }, rl = {
13
+ }, sl = { class: "flex items-center w-full gap-x-3" }, ol = { class: "truncate w-full max-w-[160px]" }, ul = {
14
14
  __name: "ColumnEdit",
15
15
  props: {
16
16
  options: {
@@ -27,13 +27,13 @@ const ll = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, al = {
27
27
  }
28
28
  },
29
29
  emits: ["change-active", "onMoved", "update-order"],
30
- setup(j, { emit: X }) {
31
- const v = X, O = j, c = P([]), f = P([]), J = P(!1), S = (a = !1) => {
32
- f.value = f.value.map((p) => ({
33
- ...p,
30
+ setup(A, { emit: X }) {
31
+ const v = X, j = A, c = C([]), y = C([]), J = C(!1), F = (a = !1) => {
32
+ y.value = y.value.map((g) => ({
33
+ ...g,
34
34
  isActive: !0
35
35
  })), v("update-order", {
36
- fixedHeaders: f.value,
36
+ fixedHeaders: y.value,
37
37
  activeHeaders: c.value,
38
38
  isOnMount: a
39
39
  });
@@ -44,81 +44,81 @@ const ll = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, al = {
44
44
  animation: 500,
45
45
  forceFallback: !1,
46
46
  move: (a) => a.to.dataset.activeHeaders ? !0 : !!a.draggedContext.futureIndex,
47
- "onUpdate:modelValue": () => S()
47
+ "onUpdate:modelValue": () => F()
48
48
  };
49
49
  return Ve(() => {
50
- const a = se(O.localKey), { fixed: p, active: m } = Oe(a, O.headers, O.localKey);
51
- f.value = p || O.headers.slice(0, 1), c.value = m || O.headers.slice(1).map((x) => {
52
- var V, M, C;
50
+ const a = se(j.localKey), { fixed: g, active: b } = Oe(a, j.headers, j.localKey);
51
+ y.value = g || j.headers.slice(0, 1), c.value = b || j.headers.slice(1).map((S) => {
52
+ var V, N, K;
53
53
  return {
54
- ...x,
55
- isActive: ((C = (M = (V = O.options) == null ? void 0 : V.active) == null ? void 0 : M.find((W) => W.key === x.key)) == null ? void 0 : C.isActive) ?? !0
54
+ ...S,
55
+ isActive: ((K = (N = (V = j.options) == null ? void 0 : V.active) == null ? void 0 : N.find((W) => W.key === S.key)) == null ? void 0 : K.isActive) ?? !0
56
56
  };
57
- }), S(!0);
58
- }), (a, p) => (n(), B(y(Ee), {
57
+ }), F(!0);
58
+ }), (a, g) => (n(), M(k(Ee), {
59
59
  modelValue: J.value,
60
- "onUpdate:modelValue": p[3] || (p[3] = (m) => J.value = m),
60
+ "onUpdate:modelValue": g[3] || (g[3] = (b) => J.value = b),
61
61
  class: "h-[36px]",
62
62
  "is-attach-to-body": ""
63
63
  }, {
64
- menu: F(() => [
65
- Z("div", ll, [
66
- f.value.length ? (n(), $("div", al, [
67
- p[4] || (p[4] = Z("span", { class: "text-oc-text-400 font-medium" }, "Fixed columns", -1)),
68
- I(y(we), ge({
64
+ menu: O(() => [
65
+ Z("div", el, [
66
+ y.value.length ? (n(), E("div", ll, [
67
+ g[4] || (g[4] = Z("span", { class: "text-oc-text-400 font-medium" }, "Fixed columns", -1)),
68
+ T(k(we), ge({
69
69
  key: "key",
70
- modelValue: f.value,
71
- "onUpdate:modelValue": p[0] || (p[0] = (m) => f.value = m)
70
+ modelValue: y.value,
71
+ "onUpdate:modelValue": g[0] || (g[0] = (b) => y.value = b)
72
72
  }, H), {
73
- default: F(() => [
74
- (n(!0), $(ee, null, ae(f.value, (m, x) => (n(), $("div", {
75
- key: m.key,
76
- class: te(["flex items-center justify-between h-[26px]", x ? "" : "is-disabled"])
73
+ default: O(() => [
74
+ (n(!0), E(ee, null, ae(y.value, (b, S) => (n(), E("div", {
75
+ key: b.key,
76
+ class: te(["flex items-center justify-between h-[26px]", S ? "" : "is-disabled"])
77
77
  }, [
78
- Z("span", null, be(m.label), 1),
79
- x ? (n(), B(y(Se), {
78
+ Z("span", null, be(b.label), 1),
79
+ S ? (n(), M(k(Se), {
80
80
  key: 0,
81
81
  width: "18",
82
82
  height: "18",
83
83
  class: "text-oc-text-400 drag-el cursor-move",
84
84
  name: "draggable"
85
- })) : h("", !0)
85
+ })) : $("", !0)
86
86
  ], 2))), 128))
87
87
  ]),
88
88
  _: 1
89
89
  }, 16, ["modelValue"])
90
- ])) : h("", !0),
91
- Z("div", tl, [
92
- p[5] || (p[5] = Z("span", { class: "text-oc-text-400 font-medium" }, "Active columns", -1)),
93
- I(y(we), ge({
90
+ ])) : $("", !0),
91
+ Z("div", al, [
92
+ g[5] || (g[5] = Z("span", { class: "text-oc-text-400 font-medium" }, "Active columns", -1)),
93
+ T(k(we), ge({
94
94
  key: "key",
95
95
  modelValue: c.value,
96
- "onUpdate:modelValue": p[2] || (p[2] = (m) => c.value = m)
96
+ "onUpdate:modelValue": g[2] || (g[2] = (b) => c.value = b)
97
97
  }, H, { "data-active-headers": "true" }), {
98
- default: F(() => [
99
- (n(!0), $(ee, null, ae(c.value, (m) => (n(), $(ee, {
100
- key: m.key
98
+ default: O(() => [
99
+ (n(!0), E(ee, null, ae(c.value, (b) => (n(), E(ee, {
100
+ key: b.key
101
101
  }, [
102
- m.key !== "actions" ? (n(), $("div", sl, [
103
- Z("div", ol, [
104
- I(y(Je), {
105
- modelValue: m.isActive,
102
+ b.key !== "actions" ? (n(), E("div", tl, [
103
+ Z("div", sl, [
104
+ T(k(Re), {
105
+ modelValue: b.isActive,
106
106
  "onUpdate:modelValue": [
107
- (x) => m.isActive = x,
108
- p[1] || (p[1] = (x) => S())
107
+ (S) => b.isActive = S,
108
+ g[1] || (g[1] = (S) => F())
109
109
  ],
110
110
  class: "!w-fit"
111
111
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
112
- Z("div", ul, be(m.label), 1)
112
+ Z("div", ol, be(b.label), 1)
113
113
  ]),
114
- c.value.length > 1 ? (n(), B(y(Se), {
114
+ c.value.length > 1 ? (n(), M(k(Se), {
115
115
  key: 0,
116
116
  width: "18",
117
117
  height: "18",
118
118
  class: "text-oc-text-400 drag-el cursor-move",
119
119
  name: "draggable"
120
- })) : h("", !0)
121
- ])) : h("", !0)
120
+ })) : $("", !0)
121
+ ])) : $("", !0)
122
122
  ], 64))), 128))
123
123
  ]),
124
124
  _: 1
@@ -126,8 +126,8 @@ const ll = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, al = {
126
126
  ])
127
127
  ])
128
128
  ]),
129
- default: F(() => [
130
- I(y(Fe), {
129
+ default: O(() => [
130
+ T(k(Fe), {
131
131
  label: "Edit Column",
132
132
  "left-icon": "setting",
133
133
  variant: "secondary"
@@ -136,22 +136,22 @@ const ll = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, al = {
136
136
  _: 1
137
137
  }, 8, ["modelValue"]));
138
138
  }
139
- }, il = { class: "flex flex-col gap-9 relative" }, nl = {
139
+ }, rl = { class: "relative flex flex-col gap-9" }, il = {
140
140
  key: 0,
141
141
  class: "flex items-center px-4 min-h-[52px]"
142
- }, dl = {
142
+ }, nl = {
143
143
  key: 0,
144
- class: "flex gap-5 items-center absolute left-5"
144
+ class: "absolute flex items-center gap-5 left-5"
145
+ }, dl = {
146
+ key: 1,
147
+ class: "absolute flex gap-3 left-5"
145
148
  }, vl = {
146
149
  key: 1,
147
- class: "flex gap-3 absolute left-5"
150
+ class: "flex justify-center w-full gap-5 md:justify-start"
148
151
  }, cl = {
149
- key: 1,
150
- class: "flex w-full gap-5 md:justify-start justify-center"
151
- }, fl = {
152
152
  key: 2,
153
- class: "hidden md:flex items-center"
154
- }, hl = {
153
+ class: "items-center hidden md:flex"
154
+ }, kl = {
155
155
  __name: "OcDataTable",
156
156
  props: {
157
157
  isLoading: Boolean,
@@ -189,38 +189,38 @@ const ll = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, al = {
189
189
  "hover:cell": [],
190
190
  "columns-changed": []
191
191
  },
192
- setup(j, { emit: X }) {
192
+ setup(A, { emit: X }) {
193
193
  var re, ie, ne, de, ve, ce, fe, pe, me;
194
- const v = j, O = X, c = L(() => {
194
+ const v = A, j = X, c = P(() => {
195
195
  var l;
196
196
  return (l = v.options) == null ? void 0 : l.pagination;
197
- }), f = L(() => {
197
+ }), y = P(() => {
198
198
  var l;
199
199
  return (l = v.options) == null ? void 0 : l.cursor;
200
- }), J = P(), S = L(() => {
200
+ }), J = C(), F = P(() => {
201
201
  var l;
202
202
  return (l = v.options) == null ? void 0 : l.tableOptions;
203
- }), H = L(() => {
203
+ }), H = P(() => {
204
204
  var l;
205
205
  return {
206
- ...S.value,
206
+ ...F.value,
207
207
  headers: J.value ? J.value.map((e) => {
208
208
  var o, u;
209
- return e.class = ((u = (o = S.value) == null ? void 0 : o.headers.find((r) => r.key === e.key)) == null ? void 0 : u.class) ?? "", e;
210
- }).filter((e) => ue(e.key)) : (l = S.value) == null ? void 0 : l.headers.filter((e) => ue(e.key))
209
+ return e.class = ((u = (o = F.value) == null ? void 0 : o.headers.find((r) => r.key === e.key)) == null ? void 0 : u.class) ?? "", e;
210
+ }).filter((e) => ue(e.key)) : (l = F.value) == null ? void 0 : l.headers.filter((e) => ue(e.key))
211
211
  };
212
- }), a = L(() => {
212
+ }), a = P(() => {
213
213
  var l;
214
214
  return (l = v.options) == null ? void 0 : l.filterOptions;
215
- }), p = L(() => {
215
+ }), g = P(() => {
216
216
  var l;
217
217
  return (l = v.options) == null ? void 0 : l.hidePerPageDropdown;
218
- }), m = L(() => {
218
+ }), b = P(() => {
219
219
  var l;
220
220
  return ((l = c.value) == null ? void 0 : l.last_page) === 1;
221
- }), x = P(!1), V = P(v.filter[(ie = (re = a.value) == null ? void 0 : re.tabs) == null ? void 0 : ie.key]), M = P(v.filter.page), C = P(
221
+ }), S = C(!1), V = C(v.filter[(ie = (re = a.value) == null ? void 0 : re.tabs) == null ? void 0 : ie.key]), N = C(v.filter.page), K = C(
222
222
  (de = (ne = a.value) == null ? void 0 : ne.per_page) != null && de.key ? v.filter[(ce = (ve = a.value) == null ? void 0 : ve.per_page) == null ? void 0 : ce.key] : v.filter.per_page
223
- ), W = ((me = v.filter[(pe = (fe = a.value) == null ? void 0 : fe.search) == null ? void 0 : pe.key]) == null ? void 0 : me.trim()) ?? "", z = P(W ? W.split(",") : []), oe = P(!1), je = L(
223
+ ), W = ((me = v.filter[(pe = (fe = a.value) == null ? void 0 : fe.search) == null ? void 0 : pe.key]) == null ? void 0 : me.trim()) ?? "", z = C(W ? W.split(",") : []), oe = C(!1), je = P(
224
224
  () => {
225
225
  var l, e;
226
226
  return (e = (l = v.options) == null ? void 0 : l.perPageOptions) == null ? void 0 : e.map(
@@ -230,7 +230,7 @@ const ll = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, al = {
230
230
  })
231
231
  );
232
232
  }
233
- ), Ae = L(() => {
233
+ ), Ae = P(() => {
234
234
  let l = [
235
235
  {
236
236
  label: "10",
@@ -270,73 +270,81 @@ const ll = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, al = {
270
270
  o > 10 && (e = e.filter((u) => u.value <= o));
271
271
  }
272
272
  return [...new Set(e)];
273
- }), De = L(() => {
273
+ }), De = P(() => {
274
274
  var l;
275
275
  return ((l = v.selected) == null ? void 0 : l.length) > 0;
276
276
  }), Le = (l) => {
277
- !l.trim() || z.value.includes(l) || (z.value = [l], A(), O("search-query-changed", l));
277
+ !l.trim() || z.value.includes(l) || (z.value = [l], D(), j("search-query-changed", l));
278
278
  }, Pe = (l) => {
279
- z.value = z.value.filter((e) => e !== l), A();
279
+ z.value = z.value.filter((e) => e !== l), D();
280
280
  }, _ = v.filter;
281
- !_ && c ? _.page = 1 : !_ && f && (_.cursor = "");
282
- const t = P(_), Ce = () => {
283
- var e, o, u, r, d, s, g, b, E, w, K, T, q, Q;
281
+ !_ && c ? _.page = 1 : !_ && y && (_.cursor = "");
282
+ const t = C(_), Ce = () => {
283
+ var e, o, u, r, d, s, f, p, x, h, m, U, q, Q;
284
284
  z.value = [], V.value = "";
285
285
  const l = {};
286
- a.value ? _.page = 1 : _.cursor = "", (o = (e = a.value) == null ? void 0 : e.per_page) != null && o.key ? l[(r = (u = a.value) == null ? void 0 : u.per_page) == null ? void 0 : r.key] = C.value : l.per_page = C.value, (s = (d = a.value) == null ? void 0 : d.tabs) != null && s.key ? l[(b = (g = a.value) == null ? void 0 : g.tabs) == null ? void 0 : b.key] = V.value : l.tabs = V.value, (w = (E = a.value) == null ? void 0 : E.columnEdit) != null && w.key && (l[(T = (K = a.value) == null ? void 0 : K.columnEdit) == null ? void 0 : T.key] = t.value[(Q = (q = a.value) == null ? void 0 : q.columnEdit) == null ? void 0 : Q.key]), t.value = l, A();
286
+ a.value ? _.page = 1 : _.cursor = "", (o = (e = a.value) == null ? void 0 : e.per_page) != null && o.key ? l[(r = (u = a.value) == null ? void 0 : u.per_page) == null ? void 0 : r.key] = K.value : l.per_page = K.value, (s = (d = a.value) == null ? void 0 : d.tabs) != null && s.key ? l[(p = (f = a.value) == null ? void 0 : f.tabs) == null ? void 0 : p.key] = V.value : l.tabs = V.value, (h = (x = a.value) == null ? void 0 : x.columnEdit) != null && h.key && (l[(U = (m = a.value) == null ? void 0 : m.columnEdit) == null ? void 0 : U.key] = t.value[(Q = (q = a.value) == null ? void 0 : q.columnEdit) == null ? void 0 : Q.key]), t.value = l, D();
287
287
  }, Ke = () => {
288
- A(null, M.value);
288
+ D(null, N.value);
289
289
  }, Ue = () => {
290
290
  v.id && $e(v.id, JSON.stringify(t.value));
291
- }, Ye = () => v.id ? se(v.id) : null, A = (l = null, e = !1, o = "") => {
292
- var u, r, d;
293
- c.value && !e && (M.value = 1), c.value ? t.value.page = M.value : t.value.cursor = o, (u = a.value) != null && u.per_page ? t.value[a.value.per_page.key] = C.value : t.value.per_page = C.value, (r = a.value) != null && r.tabs && (t.value[a.value.tabs.key] = V.value), (d = a.value) != null && d.search && (t.value[a.value.search.key] = z.value.join()), l && (x.value = !1, t.value = { ...t.value, ...l }, Object.keys(t.value).forEach((s) => {
294
- Array.isArray(t.value[s]) && t.value[s].length === 0 && delete t.value[s];
295
- })), Ue(), O("update:filter", t.value);
291
+ }, Ye = () => v.id ? se(v.id) : null, D = (l = null, e = !1, o = "") => {
292
+ var r, d, s, f, p, x, h;
293
+ c.value && !e && (N.value = 1), c.value ? t.value.page = N.value : t.value.cursor = o, (r = a.value) != null && r.per_page ? t.value[a.value.per_page.key] = K.value : t.value.per_page = K.value, (d = a.value) != null && d.tabs && (t.value[a.value.tabs.key] = V.value), (s = a.value) != null && s.search && (t.value[a.value.search.key] = z.value.join()), l && (S.value = !1, t.value = { ...t.value, ...l }, Object.keys(t.value).forEach((m) => {
294
+ Array.isArray(t.value[m]) && t.value[m].length === 0 && delete t.value[m];
295
+ }));
296
+ let u = (p = (f = a.value) == null ? void 0 : f.tabs) == null ? void 0 : p.key;
297
+ if (u && V.value !== t.value[u]) {
298
+ const m = (h = (x = a.value.tabs) == null ? void 0 : x.options) == null ? void 0 : h.find(
299
+ (U) => U.value === t.value[u]
300
+ );
301
+ m != null && m.value && (V.value = m.value);
302
+ }
303
+ Ue(), j("update:filter", t.value);
296
304
  }, Be = (l, e) => {
297
- (e === a.value.tabs.key || e === "tabs") && (V.value = ""), A(l), O("filter-removed", e);
305
+ (e === a.value.tabs.key || e === "tabs") && (V.value = ""), D(l), j("filter-removed", e);
298
306
  }, Me = (l) => {
299
307
  let e = [];
300
308
  return l.forEach((o) => {
301
309
  e.push(o.key);
302
310
  }), e;
303
- }, Ne = L(() => {
311
+ }, Ne = P(() => {
304
312
  if (t.value) {
305
313
  let l = [];
306
314
  return Object.keys(t.value).forEach((e) => {
307
- var d, s, g, b, E, w, K, T, q, Q, G;
315
+ var d, s, f, p, x, h, m, U, q, Q, G;
308
316
  let o = (s = (d = a.value) == null ? void 0 : d.tabs) == null ? void 0 : s.key;
309
- const u = (b = (g = a.value) == null ? void 0 : g.search) == null ? void 0 : b.key, r = ((w = (E = a.value) == null ? void 0 : E.per_page) == null ? void 0 : w.key) ?? "per_page";
310
- if ((K = a.value.form) == null || K.find((k) => {
311
- k.name === o && (o = "");
317
+ const u = (p = (f = a.value) == null ? void 0 : f.search) == null ? void 0 : p.key, r = ((h = (x = a.value) == null ? void 0 : x.per_page) == null ? void 0 : h.key) ?? "per_page";
318
+ if ((m = a.value.form) == null || m.find((w) => {
319
+ w.name === o && (o = "");
312
320
  }), e !== "page" && e !== "cursor" && e !== r && e !== o && e !== u) {
313
- let k = null, i = (T = a.value.form) == null ? void 0 : T.find((N) => {
314
- if (typeof N.name == "object") {
315
- let U = !1;
316
- return N.name.forEach((R) => {
317
- R.key === e && (U = !0, k = Me(N.name));
318
- }), U;
321
+ let w = null, i = (U = a.value.form) == null ? void 0 : U.find((I) => {
322
+ if (typeof I.name == "object") {
323
+ let Y = !1;
324
+ return I.name.forEach((R) => {
325
+ R.key === e && (Y = !0, w = Me(I.name));
326
+ }), Y;
319
327
  } else
320
- return N.name === e;
321
- }), D = "";
328
+ return I.name === e;
329
+ }), L = "";
322
330
  if (i && t.value[e]) {
323
- if (typeof i.name == "object" ? (q = i.name) == null || q.forEach((U) => {
324
- D && (D += " - "), D += t.value[U.key];
325
- }) : D = t.value[e], i.props.options && (D = (i.props.multiple ? t.value[e] : [t.value[e]]).map(
331
+ if (typeof i.name == "object" ? (q = i.name) == null || q.forEach((Y) => {
332
+ L && (L += " - "), L += t.value[Y.key];
333
+ }) : L = t.value[e], i.props.options && (L = (i.props.multiple ? t.value[e] : [t.value[e]]).map(
326
334
  (R) => {
327
335
  var ye;
328
336
  return (ye = i.props.options.find(({ value: qe }) => qe === R)) == null ? void 0 : ye.label;
329
337
  }
330
- ).join(", ")), i.type === "RangeInput" && Array.isArray(t.value[e]) && (D = t.value[e][0].toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") + " - " + t.value[e][1].toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")), i.type === "DatePicker")
338
+ ).join(", ")), i.type === "RangeInput" && Array.isArray(t.value[e]) && (L = t.value[e][0].toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") + " - " + t.value[e][1].toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")), i.type === "DatePicker")
331
339
  if (((Q = i == null ? void 0 : i.props) == null ? void 0 : Q.type) === "range" && i.name && i.name[1]) {
332
- const U = le(t.value[i.name[0].key]).format("MM/DD/YYYY"), R = le(t.value[i.name[1].key]).format("MM/DD/YYYY");
333
- D = U === R ? U : U + " - " + R;
334
- } else D = le(t.value[i.name]).format("MM/DD/YYYY");
335
- let N = `${(G = i == null ? void 0 : i.props) == null ? void 0 : G.label} : ${D}`;
336
- i && i.name && typeof i.name == "object" && l.find((R) => R.name === k[0]) && (N = ""), l.push({
337
- label: N,
340
+ const Y = le(t.value[i.name[0].key]).format("MM/DD/YYYY"), R = le(t.value[i.name[1].key]).format("MM/DD/YYYY");
341
+ L = Y === R ? Y : Y + " - " + R;
342
+ } else L = le(t.value[i.name]).format("MM/DD/YYYY");
343
+ let I = `${(G = i == null ? void 0 : i.props) == null ? void 0 : G.label} : ${L}`;
344
+ i && i.name && typeof i.name == "object" && l.find((R) => R.name === w[0]) && (I = ""), l.push({
345
+ label: I,
338
346
  name: e,
339
- multiNames: k
347
+ multiNames: w
340
348
  });
341
349
  }
342
350
  }
@@ -345,161 +353,155 @@ const ll = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, al = {
345
353
  return [];
346
354
  }), ue = (l) => {
347
355
  var e, o, u, r, d, s;
348
- return ((s = (d = (r = (u = t.value) == null ? void 0 : u[(o = (e = a.value) == null ? void 0 : e.columnEdit) == null ? void 0 : o.key]) == null ? void 0 : r.active) == null ? void 0 : d.find((g) => g.key === l)) == null ? void 0 : s.isActive) ?? !0;
356
+ return ((s = (d = (r = (u = t.value) == null ? void 0 : u[(o = (e = a.value) == null ? void 0 : e.columnEdit) == null ? void 0 : o.key]) == null ? void 0 : r.active) == null ? void 0 : d.find((f) => f.key === l)) == null ? void 0 : s.isActive) ?? !0;
349
357
  }, Ie = ({ fixedHeaders: l, activeHeaders: e, isOnMount: o }) => {
350
- var u, r, d, s, g, b, E, w;
351
- if (t.value[(r = (u = a.value) == null ? void 0 : u.columnEdit) == null ? void 0 : r.key] || (t.value[(s = (d = a.value) == null ? void 0 : d.columnEdit) == null ? void 0 : s.key] = {}), t.value[(b = (g = a.value) == null ? void 0 : g.columnEdit) == null ? void 0 : b.key].fixed = l, t.value[(w = (E = a.value) == null ? void 0 : E.columnEdit) == null ? void 0 : w.key].active = e, J.value = [...l, ...e], !o) {
352
- const K = el(l, e);
353
- $e(a.value.columnEdit.localStorageKey, K);
358
+ var u, r, d, s, f, p, x, h;
359
+ if (t.value[(r = (u = a.value) == null ? void 0 : u.columnEdit) == null ? void 0 : r.key] || (t.value[(s = (d = a.value) == null ? void 0 : d.columnEdit) == null ? void 0 : s.key] = {}), t.value[(p = (f = a.value) == null ? void 0 : f.columnEdit) == null ? void 0 : p.key].fixed = l, t.value[(h = (x = a.value) == null ? void 0 : x.columnEdit) == null ? void 0 : h.key].active = e, J.value = [...l, ...e], !o) {
360
+ const m = Xe(l, e);
361
+ $e(a.value.columnEdit.localStorageKey, m);
354
362
  }
355
- O("columns-changed", e);
363
+ j("columns-changed", e);
356
364
  }, Te = () => {
357
365
  var l, e, o, u, r, d;
358
366
  if ((e = (l = a.value) == null ? void 0 : l.columnEdit) != null && e.localStorageKey) {
359
367
  const s = se(a.value.columnEdit.localStorageKey);
360
368
  if (s) {
361
- const { fixed: g, active: b } = Oe(
369
+ const { fixed: f, active: p } = Oe(
362
370
  s,
363
- S.value.headers,
371
+ F.value.headers,
364
372
  a.value.columnEdit.localStorageKey
365
373
  );
366
- t.value[(u = (o = a.value) == null ? void 0 : o.columnEdit) == null ? void 0 : u.key].fixed = g, t.value[(d = (r = a.value) == null ? void 0 : r.columnEdit) == null ? void 0 : d.key].active = b, J.value = [...g, ...b];
374
+ t.value[(u = (o = a.value) == null ? void 0 : o.columnEdit) == null ? void 0 : u.key].fixed = f, t.value[(d = (r = a.value) == null ? void 0 : r.columnEdit) == null ? void 0 : d.key].active = p, J.value = [...f, ...p];
367
375
  }
368
376
  }
369
377
  };
370
- return Qe(
371
- () => v.filter,
372
- (l) => {
373
- var e, o;
374
- l && ((o = (e = a.value) == null ? void 0 : e.tabs) != null && o.key) && l[a.value.tabs.key] && (V.value = l[a.value.tabs.key]);
375
- }
376
- ), Ve(() => {
378
+ return Ve(() => {
377
379
  var e, o, u, r, d;
378
380
  Te();
379
381
  const l = Ye();
380
- l && (t.value = JSON.parse(l), V.value = V.value || ((e = t.value) == null ? void 0 : e.tabs) || ((r = t.value) == null ? void 0 : r[(u = (o = a.value) == null ? void 0 : o.tabs) == null ? void 0 : u.key]), M.value = ((d = t.value) == null ? void 0 : d.page) || 1, A(null, !0, t.value.cursor));
382
+ l && (t.value = JSON.parse(l), V.value = V.value || ((e = t.value) == null ? void 0 : e.tabs) || ((r = t.value) == null ? void 0 : r[(u = (o = a.value) == null ? void 0 : o.tabs) == null ? void 0 : u.key]), N.value = ((d = t.value) == null ? void 0 : d.page) || 1, D(null, !0, t.value.cursor));
381
383
  }), (l, e) => {
382
384
  var o, u, r, d;
383
- return n(), $("div", il, [
384
- S.value ? (n(), B(y(ze), {
385
+ return n(), E("div", rl, [
386
+ F.value ? (n(), M(k(Je), {
385
387
  key: 0,
386
- selected: j.selected,
387
- "row-key": j.rowKey,
388
+ selected: A.selected,
389
+ "row-key": A.rowKey,
388
390
  options: H.value,
389
- "is-loading": j.isLoading,
390
- "loading-rows": C.value,
391
- "row-class": j.rowClass,
392
- "row-link": j.rowLink,
393
- "is-sticky": S.value.isSticky,
394
- "is-borderless": S.value.isBorderless,
391
+ "is-loading": A.isLoading,
392
+ "loading-rows": K.value,
393
+ "row-class": A.rowClass,
394
+ "row-link": A.rowLink,
395
+ "is-sticky": F.value.isSticky,
396
+ "is-borderless": F.value.isBorderless,
395
397
  "onUpdate:selected": e[7] || (e[7] = (s) => l.$emit("update:selected", s)),
396
398
  "onClick:row": e[8] || (e[8] = (s) => l.$emit("click:row", s)),
397
399
  "onHover:cell": e[9] || (e[9] = (s) => l.$emit("hover:cell", s))
398
- }, Re({
399
- after: F(() => [
400
- Y(l.$slots, "after")
400
+ }, Qe({
401
+ after: O(() => [
402
+ B(l.$slots, "after")
401
403
  ]),
402
- empty: F(() => [
403
- Y(l.$slots, "empty")
404
+ empty: O(() => [
405
+ B(l.$slots, "empty")
404
406
  ]),
405
- "table-header": F((s) => [
406
- Y(l.$slots, "table-header", ke(he(s)))
407
+ "table-header": O((s) => [
408
+ B(l.$slots, "table-header", ke(he(s)))
407
409
  ]),
408
- "table-body": F((s) => [
409
- Y(l.$slots, "table-body", ke(he(s)))
410
+ "table-body": O((s) => [
411
+ B(l.$slots, "table-body", ke(he(s)))
410
412
  ]),
411
413
  _: 2
412
414
  }, [
413
415
  l.$slots.before || (o = a.value) != null && o.search || (u = a.value) != null && u.form || (r = a.value) != null && r.tabs ? {
414
416
  name: "before",
415
- fn: F(() => {
416
- var s, g, b, E;
417
+ fn: O(() => {
418
+ var s, f, p, x;
417
419
  return [
418
- Y(l.$slots, "before"),
419
- (s = a.value) != null && s.search || (g = a.value) != null && g.form || (b = a.value) != null && b.tabs ? (n(), $("div", nl, [
420
- De.value ? (n(), $("div", dl, [
421
- Y(l.$slots, "bulk-actions", { selectedRows: j.selected })
422
- ])) : (n(), $("div", vl, [
423
- (E = a.value) != null && E.tabs ? (n(), B(y(_e), {
420
+ B(l.$slots, "before"),
421
+ (s = a.value) != null && s.search || (f = a.value) != null && f.form || (p = a.value) != null && p.tabs ? (n(), E("div", il, [
422
+ De.value ? (n(), E("div", nl, [
423
+ B(l.$slots, "bulk-actions", { selectedRows: A.selected })
424
+ ])) : (n(), E("div", dl, [
425
+ (x = a.value) != null && x.tabs ? (n(), M(k(ze), {
424
426
  key: 0,
425
427
  modelValue: V.value,
426
428
  "onUpdate:modelValue": [
427
- e[0] || (e[0] = (w) => V.value = w),
428
- e[1] || (e[1] = (w) => A(null))
429
+ e[0] || (e[0] = (h) => V.value = h),
430
+ e[1] || (e[1] = (h) => D(null))
429
431
  ],
430
- "is-disabled": j.isLoading,
432
+ "is-disabled": A.isLoading,
431
433
  tabs: a.value.tabs.options,
432
434
  variant: "pills"
433
- }, null, 8, ["modelValue", "is-disabled", "tabs"])) : h("", !0)
435
+ }, null, 8, ["modelValue", "is-disabled", "tabs"])) : $("", !0)
434
436
  ])),
435
- Y(l.$slots, "filter-options", {}, () => {
436
- var w, K, T, q, Q, G;
437
+ B(l.$slots, "filter-options", {}, () => {
438
+ var h, m, U, q, Q, G;
437
439
  return [
438
- (w = a.value) != null && w.search || (K = a.value) != null && K.form || (T = a.value) != null && T.columnEdit ? (n(), $("div", {
440
+ (h = a.value) != null && h.search || (m = a.value) != null && m.form || (U = a.value) != null && U.columnEdit ? (n(), E("div", {
439
441
  key: 0,
440
442
  class: te([
441
443
  "flex gap-3 absolute ml-auto bg-oc-bg-light right-4 max-w-[calc(100%-24px)]",
442
444
  a.value ? oe.value ? "md:w-fit w-full" : "" : "w-full justify-end"
443
445
  ])
444
446
  }, [
445
- (q = a.value) != null && q.search ? (n(), B(y(Ze), {
447
+ (q = a.value) != null && q.search ? (n(), M(k(_e), {
446
448
  key: 0,
447
449
  "is-search-only": !a.value.tabs || a.value.isSearchOnly,
448
450
  onAddQuery: Le,
449
- onToggle: e[2] || (e[2] = (k) => oe.value = k)
450
- }, null, 8, ["is-search-only"])) : h("", !0),
451
- (Q = a.value) != null && Q.form ? (n(), B(y(Ee), {
451
+ onToggle: e[2] || (e[2] = (w) => oe.value = w)
452
+ }, null, 8, ["is-search-only"])) : $("", !0),
453
+ (Q = a.value) != null && Q.form ? (n(), M(k(Ee), {
452
454
  key: 1,
453
- modelValue: x.value,
454
- "onUpdate:modelValue": e[6] || (e[6] = (k) => x.value = k),
455
+ modelValue: S.value,
456
+ "onUpdate:modelValue": e[6] || (e[6] = (w) => S.value = w),
455
457
  distance: 9,
456
458
  placement: "bottom-end",
457
459
  "is-attach-to-body": ""
458
460
  }, {
459
- menu: F(() => [
460
- x.value ? (n(), B(y(Ge), {
461
+ menu: O(() => [
462
+ S.value ? (n(), M(k(Ze), {
461
463
  key: 0,
462
- id: j.id,
464
+ id: A.id,
463
465
  "json-form": a.value.form ?? [],
464
466
  grid: a.value.grid ?? null,
465
467
  values: v.filter,
466
468
  actions: a.value.actions,
467
- onApplyFilter: e[3] || (e[3] = (k) => A(k)),
468
- onFilterFieldsChanged: e[4] || (e[4] = (k) => O("filter-fields-changed", k)),
469
- onCancel: e[5] || (e[5] = (k) => x.value = !1)
469
+ onApplyFilter: e[3] || (e[3] = (w) => D(w)),
470
+ onFilterFieldsChanged: e[4] || (e[4] = (w) => j("filter-fields-changed", w)),
471
+ onCancel: e[5] || (e[5] = (w) => S.value = !1)
470
472
  }, {
471
- default: F(({ errors: k, values: i, jsonForm: D, updateForm: N }) => [
472
- Y(l.$slots, "custom-filter-form", {
473
- errors: k,
473
+ default: O(({ errors: w, values: i, jsonForm: L, updateForm: I }) => [
474
+ B(l.$slots, "custom-filter-form", {
475
+ errors: w,
474
476
  values: i,
475
- jsonForm: D,
476
- updateFilter: N
477
+ jsonForm: L,
478
+ updateFilter: I
477
479
  })
478
480
  ]),
479
481
  _: 3
480
- }, 8, ["id", "json-form", "grid", "values", "actions"])) : h("", !0)
482
+ }, 8, ["id", "json-form", "grid", "values", "actions"])) : $("", !0)
481
483
  ]),
482
- default: F(() => [
483
- I(y(Fe), {
484
- "is-active": x.value,
484
+ default: O(() => [
485
+ T(k(Fe), {
486
+ "is-active": S.value,
485
487
  variant: "secondary",
486
488
  "left-icon": "filter"
487
489
  }, null, 8, ["is-active"])
488
490
  ]),
489
491
  _: 3
490
- }, 8, ["modelValue"])) : h("", !0),
491
- a.value.columnEdit ? (n(), B(rl, {
492
+ }, 8, ["modelValue"])) : $("", !0),
493
+ a.value.columnEdit ? (n(), M(ul, {
492
494
  key: 2,
493
495
  options: t.value.columnEdit,
494
- headers: ((G = S.value) == null ? void 0 : G.headers) || [],
496
+ headers: ((G = F.value) == null ? void 0 : G.headers) || [],
495
497
  "local-key": a.value.columnEdit.localStorageKey,
496
498
  onUpdateOrder: Ie
497
- }, null, 8, ["options", "headers", "local-key"])) : h("", !0)
498
- ], 2)) : h("", !0)
499
+ }, null, 8, ["options", "headers", "local-key"])) : $("", !0)
500
+ ], 2)) : $("", !0)
499
501
  ];
500
502
  })
501
- ])) : h("", !0),
502
- I(y(He), {
503
+ ])) : $("", !0),
504
+ T(k(Ge), {
503
505
  filters: Ne.value,
504
506
  queries: z.value,
505
507
  class: "border-t border-oc-gray-200",
@@ -511,50 +513,50 @@ const ll = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, al = {
511
513
  }),
512
514
  key: "0"
513
515
  } : void 0,
514
- ae((d = S.value) == null ? void 0 : d.headers, (s, g) => ({
516
+ ae((d = F.value) == null ? void 0 : d.headers, (s, f) => ({
515
517
  name: s.key,
516
- fn: F(({ data: b, item: E }) => [
517
- Y(l.$slots, s.key, {
518
- data: b,
519
- item: E
518
+ fn: O(({ data: p, item: x }) => [
519
+ B(l.$slots, s.key, {
520
+ data: p,
521
+ item: x
520
522
  })
521
523
  ])
522
524
  }))
523
- ]), 1032, ["selected", "row-key", "options", "is-loading", "loading-rows", "row-class", "row-link", "is-sticky", "is-borderless"])) : h("", !0),
524
- Y(l.$slots, "before-pagination"),
525
- c.value || f.value ? (n(), $("div", {
525
+ ]), 1032, ["selected", "row-key", "options", "is-loading", "loading-rows", "row-class", "row-link", "is-sticky", "is-borderless"])) : $("", !0),
526
+ B(l.$slots, "before-pagination"),
527
+ c.value || y.value ? (n(), E("div", {
526
528
  key: 1,
527
- class: te(["flex gap-3 items-center", c.value && c.value.last_page === 1 ? "justify-end" : ""])
529
+ class: te(["flex items-center gap-3", c.value && c.value.last_page === 1 ? "justify-end" : ""])
528
530
  }, [
529
- c.value && !m.value ? (n(), B(y(We), {
531
+ c.value && !b.value ? (n(), M(k(He), {
530
532
  key: 0,
531
- modelValue: M.value,
533
+ modelValue: N.value,
532
534
  "onUpdate:modelValue": [
533
- e[10] || (e[10] = (s) => M.value = s),
535
+ e[10] || (e[10] = (s) => N.value = s),
534
536
  Ke
535
537
  ],
536
538
  class: "justify-center",
537
539
  "max-page": c.value.last_page,
538
540
  strategy: c.value.strategy,
539
541
  "total-visible": "5"
540
- }, null, 8, ["modelValue", "max-page", "strategy"])) : h("", !0),
541
- f.value ? (n(), $("div", cl, [
542
- I(y(xe), {
543
- disabled: !f.value.prev,
544
- onClick: e[11] || (e[11] = (s) => f.value.prev ? A(null, !1, f.value.prev) : null)
542
+ }, null, 8, ["modelValue", "max-page", "strategy"])) : $("", !0),
543
+ y.value ? (n(), E("div", vl, [
544
+ T(k(xe), {
545
+ disabled: !y.value.prev,
546
+ onClick: e[11] || (e[11] = (s) => y.value.prev ? D(null, !1, y.value.prev) : null)
545
547
  }, null, 8, ["disabled"]),
546
- I(y(xe), {
547
- disabled: !f.value.next,
548
+ T(k(xe), {
549
+ disabled: !y.value.next,
548
550
  "is-next": "",
549
- onClick: e[12] || (e[12] = (s) => f.value.next ? A(null, !1, f.value.next) : null)
551
+ onClick: e[12] || (e[12] = (s) => y.value.next ? D(null, !1, y.value.next) : null)
550
552
  }, null, 8, ["disabled"])
551
- ])) : h("", !0),
552
- p.value ? h("", !0) : (n(), $("div", fl, [
553
- I(y(Xe), {
554
- modelValue: C.value,
553
+ ])) : $("", !0),
554
+ g.value ? $("", !0) : (n(), E("div", cl, [
555
+ T(k(We), {
556
+ modelValue: K.value,
555
557
  "onUpdate:modelValue": [
556
- e[13] || (e[13] = (s) => C.value = s),
557
- e[14] || (e[14] = (s) => A(null))
558
+ e[13] || (e[13] = (s) => K.value = s),
559
+ e[14] || (e[14] = (s) => D(null))
558
560
  ],
559
561
  label: "Item per page",
560
562
  "is-inline-label": "",
@@ -562,11 +564,11 @@ const ll = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, al = {
562
564
  options: Ae.value
563
565
  }, null, 8, ["modelValue", "options"])
564
566
  ]))
565
- ], 2)) : h("", !0)
567
+ ], 2)) : $("", !0)
566
568
  ]);
567
569
  };
568
570
  }
569
571
  };
570
572
  export {
571
- hl as default
573
+ kl as default
572
574
  };