@orchidui/core 1.20.1-4 → 1.20.1-5

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 (84) 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/NewTable/OcNewTable.js +4 -0
  7. package/dist/DataDisplay/OnboardingListItem/OcOnboardingListItem.js +1 -1
  8. package/dist/DataDisplay/Overview/OcOverview.js +1 -1
  9. package/dist/DataDisplay/Pagination/OcPagination.js +1 -1
  10. package/dist/DataDisplay/Table/OcTable.js +1 -1
  11. package/dist/DataDisplay/TransferSummary/OcTransferSummary.js +1 -1
  12. package/dist/Disclosure/Accordion/OcAccordion.js +1 -1
  13. package/dist/Disclosure/OnboardingAccordion/OnboardingAccordion.js +1 -1
  14. package/dist/Disclosure/Steps/OcSteps.js +1 -1
  15. package/dist/Disclosure/Tabs/Tabs.js +1 -1
  16. package/dist/Disclosure/Variants/OcVariants.js +1 -1
  17. package/dist/Elements/AdditionalContent/OcAdditionalContent.js +1 -1
  18. package/dist/Elements/AuthenticationOption/AuthenticationOption.js +1 -1
  19. package/dist/Elements/Box/OcBox.js +1 -1
  20. package/dist/Elements/EmptyPage/OcEmptyPage.js +1 -1
  21. package/dist/Elements/FeatureOverviewCard/OcFeatureOverviewCard.js +1 -1
  22. package/dist/Elements/Header/OcHeader.js +1 -1
  23. package/dist/Elements/PageTitle/OcPageTitle.js +1 -1
  24. package/dist/Elements/SandboxBanner/OcSandboxBanner.js +1 -1
  25. package/dist/Elements/Sidebar/OcSidebar.js +3 -3
  26. package/dist/Elements/SubSidebar/OcSubSidebar.js +1 -1
  27. package/dist/Elements/TopBanner/OcTopBanner.js +2 -2
  28. package/dist/Elements/VerificationOption/OcVerificationOption.js +2 -2
  29. package/dist/Feedback/Banner/OcBanner.js +1 -1
  30. package/dist/Feedback/Chip/OcChip.js +1 -1
  31. package/dist/Feedback/ShareIcon/OcShareIcon.js +1 -1
  32. package/dist/Feedback/Snackbar/OcSnackbar.js +1 -1
  33. package/dist/Form/BaseInput/OcBaseInput.js +1 -1
  34. package/dist/Form/Button/OcButton.js +1 -1
  35. package/dist/Form/Calendar/OcCalendar.js +1 -1
  36. package/dist/Form/CardInput/OcCardInput.js +1 -1
  37. package/dist/Form/Checkbox/OcCheckbox.js +1 -1
  38. package/dist/Form/CheckboxesGroup/OcCheckboxesGroup.js +1 -1
  39. package/dist/Form/Criteria/OcCriteria.js +1 -1
  40. package/dist/Form/Cropper/OcCropper.js +1 -1
  41. package/dist/Form/DatePicker/OcDatePicker.js +1 -1
  42. package/dist/Form/EmojiPicker/OcEmojiPicker.js +1 -1
  43. package/dist/Form/Input/OcInput.js +1 -1
  44. package/dist/Form/LinkInput/OcLinkInput.js +1 -1
  45. package/dist/Form/MultipleUploadFile/OcMultipleUploadFile.js +1 -1
  46. package/dist/Form/NumberInput/OcNumberInput.js +1 -1
  47. package/dist/Form/PhoneInput/OcPhoneInput.js +1 -1
  48. package/dist/Form/Radio/OcRadio.js +1 -1
  49. package/dist/Form/RadioGroup/OcRadioGroup.js +1 -1
  50. package/dist/Form/RangeInput/OcRangeInput.js +1 -1
  51. package/dist/Form/SectionItem/OcSectionItem.js +1 -1
  52. package/dist/Form/Select/OcSelect.js +1 -1
  53. package/dist/Form/SelectOptions/OcSelectOptions.js +1 -1
  54. package/dist/Form/SingleFileUpload/OcSingleFileUpload.js +1 -1
  55. package/dist/Form/Slider/OcSlider.js +1 -1
  56. package/dist/Form/TextArea/OcTextArea.js +1 -1
  57. package/dist/Form/index.js +1 -1
  58. package/dist/FormBuilder/OcFormBuilder.js +1 -1
  59. package/dist/{OcAccountSetupProgress-CSogw1n-.js → OcAccountSetupProgress-B_HPAlVh.js} +1 -1
  60. package/dist/{OcComplexCalendar-DATJS2SV.js → OcComplexCalendar-Bx3DiId3.js} +1 -1
  61. package/dist/{OcComplexDatePicker-CF8NzVsz.js → OcComplexDatePicker-CmMX5IcF.js} +1 -1
  62. package/dist/{OcCropper-B1y77Paa.js → OcCropper-BMCipUZJ.js} +5 -5
  63. package/dist/{OcDataTable-BjIT6ZGV.js → OcDataTable-Cdny5sPJ.js} +195 -186
  64. package/dist/{OcDraggableList-CPSD4oMT.js → OcDraggableList-DuC3dEm7.js} +10 -10
  65. package/dist/{OcEmojiPicker-zIOByZdC.js → OcEmojiPicker-BC-lBmfY.js} +6 -6
  66. package/dist/{OcFilterForm-DaoL4CdL.js → OcFilterForm-Ccbr7hXz.js} +1 -1
  67. package/dist/{OcFilterSearch-D8VV4y9H.js → OcFilterSearch-DNNdsewb.js} +35 -30
  68. package/dist/{OcFilterSearchFor-PXzBZZPX.js → OcFilterSearchFor-CULO_4Ju.js} +3 -3
  69. package/dist/{OcModalCropper-Yqx2jBRH.js → OcModalCropper-51fpCNqo.js} +7 -7
  70. package/dist/{OcTimePicker-BQWk7oL3.js → OcTimePicker-k5nBlnX1.js} +1 -1
  71. package/dist/Overlay/ConfirmationModal/OcConfirmationModal.js +1 -1
  72. package/dist/Overlay/CopyTooltip/OcCopyTooltip.js +1 -1
  73. package/dist/Overlay/Dropdown/OcDropdown.js +1 -1
  74. package/dist/Overlay/Modal/OcModal.js +1 -1
  75. package/dist/Overlay/SupportMenu/OcSupportMenu.js +1 -1
  76. package/dist/Overlay/Tooltip/OcTooltip.js +1 -1
  77. package/dist/Overlay/Whitelist/OcWhiteList.js +1 -1
  78. package/dist/{SubPlanCard-CXL2dyLk.js → SubPlanCard-SVTm91rO.js} +1 -1
  79. package/dist/{ThumbnailSection-Daz2CoXL.js → ThumbnailSection-d9F0D92x.js} +1 -1
  80. package/dist/{ThumbnailTheme-OlnUjoWf.js → ThumbnailTheme-UDOMGqbV.js} +1 -1
  81. package/dist/core.css +1 -1
  82. package/dist/{index-3oPRYn_y.js → index-BIs61Zhd.js} +2084 -1900
  83. package/dist/index.js +87 -86
  84. package/package.json +1 -1
@@ -1,19 +1,19 @@
1
- import { ref as $, onMounted as Ue, createBlock as L, openBlock as r, unref as i, withCtx as w, createVNode as A, createElementVNode as Q, createElementBlock as h, createCommentVNode as y, mergeProps as Ee, Fragment as re, renderList as de, normalizeClass as ve, toDisplayString as Ce, computed as S, watch as ne, nextTick as il, renderSlot as j, createSlots as rl, normalizeProps as Pe, guardReactiveProps as je } from "vue";
2
- import { az as Ke, B as Te, C as nl, K as dl, Z as vl, aK as cl, aL as ml, aM as fl, H as pl, I as Le, j as yl } from "./index-3oPRYn_y.js";
3
- import { useDataTable as gl } from "./DataTable/useDataTable.js";
1
+ import { ref as $, onMounted as Ue, createBlock as j, openBlock as r, unref as u, withCtx as w, createVNode as A, createElementVNode as q, createElementBlock as h, createCommentVNode as y, mergeProps as Ee, Fragment as re, renderList as de, normalizeClass as ve, toDisplayString as Ce, computed as S, watch as ne, nextTick as ul, renderSlot as P, resolveDynamicComponent as rl, createSlots as nl, normalizeProps as Le, guardReactiveProps as Pe } from "vue";
2
+ import { aA as Te, B as Ke, C as dl, D as vl, L as cl, $ as ml, aL as fl, aM as pl, aN as yl, I as gl, J as je, j as bl } from "./index-BIs61Zhd.js";
3
+ import { useDataTable as kl } from "./DataTable/useDataTable.js";
4
4
  import { VueDraggableNext as Ae } from "vue-draggable-next";
5
- import { getFromLocalStorage as Ie, formatHeadersFromLocalStorage as qe, formatHeadersToLocalStorage as bl, setInLocalStorage as kl } from "./DataTable/utils/editColumnsUtils.js";
5
+ import { getFromLocalStorage as Ie, formatHeadersFromLocalStorage as Ne, formatHeadersToLocalStorage as hl, setInLocalStorage as xl } from "./DataTable/utils/editColumnsUtils.js";
6
6
  import { _ as Be } from "./OcIcon-CBf___w1.js";
7
- import { formatFilterDisplay as hl, clearAllFilters as xl } from "./DataTable/utils/filterUtils.js";
8
- import { formatCustomItemsPerPageOptions as wl, getItemsPerPageOptions as Sl } from "./DataTable/utils/paginationUtils.js";
7
+ import { formatFilterDisplay as wl, clearAllFilters as Sl } from "./DataTable/utils/filterUtils.js";
8
+ import { formatCustomItemsPerPageOptions as $l, getItemsPerPageOptions as Ol } from "./DataTable/utils/paginationUtils.js";
9
9
  import "dayjs";
10
- const $l = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, Ol = {
10
+ const Vl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, Dl = {
11
11
  key: 0,
12
12
  class: "gap-y-2 flex flex-col border-b pb-3 border-oc-gray-200"
13
- }, Vl = { class: "gap-y-2 flex flex-col" }, Fl = {
13
+ }, Fl = { class: "gap-y-2 flex flex-col" }, El = {
14
14
  key: 0,
15
15
  class: "flex items-center bg-white justify-between h-[26px]"
16
- }, Dl = { class: "flex items-center w-full gap-x-3" }, El = { class: "truncate w-full max-w-[160px]" }, Cl = {
16
+ }, Cl = { class: "flex items-center w-full gap-x-3" }, Ll = { class: "truncate w-full max-w-[160px]" }, Pl = {
17
17
  __name: "ColumnEdit",
18
18
  props: {
19
19
  options: {
@@ -34,18 +34,18 @@ const $l = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, Ol = {
34
34
  "onMoved",
35
35
  "update-order"
36
36
  ],
37
- setup(D, { emit: se }) {
38
- const oe = se, s = D, g = $([]), d = $([]), K = $(!1), O = {
37
+ setup(O, { emit: se }) {
38
+ const oe = se, s = O, g = $([]), d = $([]), T = $(!1), V = {
39
39
  handle: ".drag-el",
40
40
  filter: ".is-disabled",
41
41
  group: "headers",
42
42
  animation: 500,
43
43
  forceFallback: !1,
44
44
  move: (E) => E.to.dataset.activeHeaders ? !0 : !!E.draggedContext.futureIndex,
45
- "onUpdate:modelValue": () => T()
46
- }, T = (E = !1) => {
47
- d.value = d.value.map((u) => ({
48
- ...u,
45
+ "onUpdate:modelValue": () => K()
46
+ }, K = (E = !1) => {
47
+ d.value = d.value.map((i) => ({
48
+ ...i,
49
49
  isActive: !0
50
50
  })), oe("update-order", {
51
51
  fixedHeaders: d.value,
@@ -54,36 +54,35 @@ const $l = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, Ol = {
54
54
  });
55
55
  };
56
56
  return Ue(() => {
57
- const E = Ie(s.localKey), { fixed: u, active: v } = qe(E, s.headers, s.localKey);
58
- d.value = u || s.headers.slice(0, 1), g.value = v || s.headers.slice(1).map((C) => {
57
+ const E = Ie(s.localKey), { fixed: i, active: v } = Ne(E, s.headers, s.localKey);
58
+ d.value = i || s.headers.slice(0, 1), g.value = v || s.headers.slice(1).map((C) => {
59
59
  var ee, le, ae;
60
60
  return {
61
61
  ...C,
62
- isActive: ((ae = (le = (ee = s.options) == null ? void 0 : ee.active) == null ? void 0 : le.find((ue) => ue.key === C.key)) == null ? void 0 : ae.isActive) ?? !0
62
+ isActive: ((ae = (le = (ee = s.options) == null ? void 0 : ee.active) == null ? void 0 : le.find((ie) => ie.key === C.key)) == null ? void 0 : ae.isActive) ?? !0
63
63
  };
64
- }), T(!0);
65
- }), (E, u) => (r(), L(i(Ke), {
66
- modelValue: K.value,
67
- "onUpdate:modelValue": u[3] || (u[3] = (v) => K.value = v),
68
- class: "h-[36px]",
64
+ }), K(!0);
65
+ }), (E, i) => (r(), j(u(Te), {
66
+ modelValue: T.value,
67
+ "onUpdate:modelValue": i[3] || (i[3] = (v) => T.value = v),
69
68
  "is-attach-to-body": ""
70
69
  }, {
71
70
  menu: w(() => [
72
- Q("div", $l, [
73
- d.value.length ? (r(), h("div", Ol, [
74
- u[4] || (u[4] = Q("span", { class: "text-oc-text-400 font-medium" }, "Fixed columns", -1)),
75
- A(i(Ae), Ee({
71
+ q("div", Vl, [
72
+ d.value.length ? (r(), h("div", Dl, [
73
+ i[4] || (i[4] = q("span", { class: "text-oc-text-400 font-medium" }, "Fixed columns", -1)),
74
+ A(u(Ae), Ee({
76
75
  key: "key",
77
76
  modelValue: d.value,
78
- "onUpdate:modelValue": u[0] || (u[0] = (v) => d.value = v)
79
- }, O), {
77
+ "onUpdate:modelValue": i[0] || (i[0] = (v) => d.value = v)
78
+ }, V), {
80
79
  default: w(() => [
81
80
  (r(!0), h(re, null, de(d.value, (v, C) => (r(), h("div", {
82
81
  key: v.key,
83
82
  class: ve(["flex items-center justify-between h-[26px]", C ? "" : "is-disabled"])
84
83
  }, [
85
- Q("span", null, Ce(v.label), 1),
86
- C ? (r(), L(i(Be), {
84
+ q("span", null, Ce(v.label), 1),
85
+ C ? (r(), j(u(Be), {
87
86
  key: 0,
88
87
  width: "18",
89
88
  height: "18",
@@ -95,30 +94,30 @@ const $l = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, Ol = {
95
94
  _: 1
96
95
  }, 16, ["modelValue"])
97
96
  ])) : y("", !0),
98
- Q("div", Vl, [
99
- u[5] || (u[5] = Q("span", { class: "text-oc-text-400 font-medium" }, "Active columns", -1)),
100
- A(i(Ae), Ee({
97
+ q("div", Fl, [
98
+ i[5] || (i[5] = q("span", { class: "text-oc-text-400 font-medium" }, "Active columns", -1)),
99
+ A(u(Ae), Ee({
101
100
  key: "key",
102
101
  modelValue: g.value,
103
- "onUpdate:modelValue": u[2] || (u[2] = (v) => g.value = v)
104
- }, O, { "data-active-headers": "true" }), {
102
+ "onUpdate:modelValue": i[2] || (i[2] = (v) => g.value = v)
103
+ }, V, { "data-active-headers": "true" }), {
105
104
  default: w(() => [
106
105
  (r(!0), h(re, null, de(g.value, (v) => (r(), h(re, {
107
106
  key: v.key
108
107
  }, [
109
- v.key !== "actions" ? (r(), h("div", Fl, [
110
- Q("div", Dl, [
111
- A(i(nl), {
108
+ v.key !== "actions" ? (r(), h("div", El, [
109
+ q("div", Cl, [
110
+ A(u(dl), {
112
111
  modelValue: v.isActive,
113
112
  "onUpdate:modelValue": [
114
113
  (C) => v.isActive = C,
115
- u[1] || (u[1] = (C) => T())
114
+ i[1] || (i[1] = (C) => K())
116
115
  ],
117
116
  class: "!w-fit"
118
117
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
119
- Q("div", El, Ce(v.label), 1)
118
+ q("div", Ll, Ce(v.label), 1)
120
119
  ]),
121
- g.value.length > 1 ? (r(), L(i(Be), {
120
+ g.value.length > 1 ? (r(), j(u(Be), {
122
121
  key: 0,
123
122
  width: "18",
124
123
  height: "18",
@@ -134,31 +133,33 @@ const $l = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, Ol = {
134
133
  ])
135
134
  ]),
136
135
  default: w(() => [
137
- A(i(Te), {
136
+ A(u(Ke), {
138
137
  label: "Edit Column",
139
138
  "left-icon": "setting",
139
+ size: "small",
140
+ class: "whitespace-nowrap",
140
141
  variant: "secondary"
141
142
  })
142
143
  ]),
143
144
  _: 1
144
145
  }, 8, ["modelValue"]));
145
146
  }
146
- }, Pl = { class: "relative flex flex-col gap-9" }, jl = {
147
+ }, jl = { class: "relative flex flex-col gap-9" }, Al = {
147
148
  key: 0,
148
- class: "flex items-center px-4 min-h-[52px]"
149
- }, Ll = {
149
+ class: "flex items-center px-4 min-h-[44px]"
150
+ }, Bl = {
150
151
  key: 0,
151
152
  class: "absolute flex items-center gap-5 left-5"
152
- }, Al = {
153
+ }, Ul = {
153
154
  key: 1,
154
155
  class: "absolute flex gap-3 left-5"
155
- }, Bl = {
156
+ }, Tl = {
156
157
  key: 1,
157
158
  class: "flex justify-center w-full gap-5 md:justify-start"
158
- }, Ul = {
159
+ }, Kl = {
159
160
  key: 2,
160
161
  class: "items-center hidden md:flex"
161
- }, Zl = {
162
+ }, Wl = {
162
163
  __name: "OcDataTable",
163
164
  props: {
164
165
  isLoading: Boolean,
@@ -191,6 +192,10 @@ const $l = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, Ol = {
191
192
  sortBy: {
192
193
  type: Object,
193
194
  required: !1
195
+ },
196
+ isNewTable: {
197
+ type: Boolean,
198
+ default: !1
194
199
  }
195
200
  },
196
201
  emits: {
@@ -206,29 +211,29 @@ const $l = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, Ol = {
206
211
  "on-table-ready": [],
207
212
  "update:sort-by": []
208
213
  },
209
- setup(D, { expose: se, emit: oe }) {
210
- var ye, ge, be, ke, he, xe, we, Se, $e, Oe, Ve, Fe, De;
211
- const s = D, g = oe, d = S(() => {
214
+ setup(O, { expose: se, emit: oe }) {
215
+ var ye, ge, be, ke, he, xe, we, Se, $e, Oe, Ve, De, Fe;
216
+ const s = O, g = oe, d = S(() => {
212
217
  var e;
213
218
  return (e = s.options) == null ? void 0 : e.cursor;
214
- }), K = $(), O = S(() => {
219
+ }), T = $(), V = S(() => {
215
220
  var e;
216
221
  return (e = s.options) == null ? void 0 : e.tableOptions;
217
- }), T = S(() => s.localDb !== void 0), {
222
+ }), K = S(() => s.localDb !== void 0), {
218
223
  localData: E,
219
- paginationData: u,
224
+ paginationData: i,
220
225
  isLoading: v,
221
226
  // Methods
222
227
  bulkPutLocalData: C,
223
228
  bulkDeleteLocalData: ee,
224
229
  getLocalDataUpdatedAt: le,
225
230
  getLocalDataIds: ae,
226
- syncLocalData: ue,
227
- sortByData: N,
231
+ syncLocalData: ie,
232
+ sortByData: R,
228
233
  // Setters
229
- setFilter: Qe,
230
- setSortBy: Re
231
- } = gl({
234
+ setFilter: qe,
235
+ setSortBy: Qe
236
+ } = kl({
232
237
  name: ((ye = s.localDb) == null ? void 0 : ye.table_name) ?? null,
233
238
  db: ((ge = s.localDb) == null ? void 0 : ge.db) ?? null,
234
239
  filterable_fields: (be = s.options) == null ? void 0 : be.filterable_fields,
@@ -238,55 +243,55 @@ const $l = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, Ol = {
238
243
  var e;
239
244
  return (e = s.options) == null ? void 0 : e.pagination;
240
245
  }, (e) => {
241
- T.value || (u.value = e);
242
- }, { deep: !0, immediate: !0 }), T.value && (ne(() => s.filter, () => {
243
- s.filter && Qe(s.filter);
246
+ K.value || (i.value = e);
247
+ }, { deep: !0, immediate: !0 }), K.value && (ne(() => s.filter, () => {
248
+ s.filter && qe(s.filter);
244
249
  }, { deep: !0, immediate: !0 }), ne(() => s.sortBy, () => {
245
- s.sortBy && Re(s.sortBy);
250
+ s.sortBy && Qe(s.sortBy);
246
251
  }, { deep: !0, immediate: !0 }));
247
252
  const ce = S(() => {
248
253
  var l;
249
254
  const e = {
250
- ...O.value,
251
- headers: K.value ? K.value.map((n) => {
255
+ ...V.value,
256
+ headers: T.value ? T.value.map((n) => {
252
257
  var f, p;
253
- return n.class = ((p = (f = O.value) == null ? void 0 : f.headers.find((c) => c.key === n.key)) == null ? void 0 : p.class) ?? "", n;
254
- }).filter((n) => n.isActive) : (l = O.value) == null ? void 0 : l.headers.filter((n) => Xe(n.key))
258
+ return n.class = ((p = (f = V.value) == null ? void 0 : f.headers.find((c) => c.key === n.key)) == null ? void 0 : p.class) ?? "", n;
259
+ }).filter((n) => n.isActive) : (l = V.value) == null ? void 0 : l.headers.filter((n) => Ze(n.key))
255
260
  };
256
- return T.value && (e.fields = E.value), e;
261
+ return K.value && (e.fields = E.value), e;
257
262
  }), a = S(() => {
258
263
  var e;
259
264
  return (e = s.options) == null ? void 0 : e.filterOptions;
260
265
  }), ze = S(() => {
261
266
  var e;
262
267
  return (e = s.options) == null ? void 0 : e.hidePerPageDropdown;
263
- }), Ne = S(() => {
268
+ }), Re = S(() => {
264
269
  var e;
265
- return ((e = u.value) == null ? void 0 : e.last_page) === 1;
266
- }), R = $(!1), B = $(s.filter[(xe = (he = a.value) == null ? void 0 : he.tabs) == null ? void 0 : xe.key]), M = $(s.filter.page), z = $(
270
+ return ((e = i.value) == null ? void 0 : e.last_page) === 1;
271
+ }), Q = $(!1), B = $(s.filter[(xe = (he = a.value) == null ? void 0 : he.tabs) == null ? void 0 : xe.key]), M = $(s.filter.page), z = $(
267
272
  (Se = (we = a.value) == null ? void 0 : we.per_page) != null && Se.key ? s.filter[(Oe = ($e = a.value) == null ? void 0 : $e.per_page) == null ? void 0 : Oe.key] : s.filter.per_page
268
- ), me = ((De = s.filter[(Fe = (Ve = a.value) == null ? void 0 : Ve.search) == null ? void 0 : Fe.key]) == null ? void 0 : De.trim()) ?? "", U = $(me ? me.split(",") : []), fe = $(!1), Me = S(
273
+ ), me = ((Fe = s.filter[(De = (Ve = a.value) == null ? void 0 : Ve.search) == null ? void 0 : De.key]) == null ? void 0 : Fe.trim()) ?? "", U = $(me ? me.split(",") : []), fe = $(!1), Me = S(
269
274
  () => {
270
275
  var e;
271
- return wl((e = s.options) == null ? void 0 : e.perPageOptions);
276
+ return $l((e = s.options) == null ? void 0 : e.perPageOptions);
272
277
  }
273
- ), Ze = S(() => Sl(Me.value, u.value)), Ge = S(() => {
278
+ ), Je = S(() => Ol(Me.value, i.value)), Ge = S(() => {
274
279
  var e;
275
280
  return ((e = s.selected) == null ? void 0 : e.length) > 0;
276
- }), He = (e) => {
277
- !e.trim() || !o.value.selectedSearchOption && U.value.includes(e) || (U.value = [e], V(), g("search-query-changed", e));
278
- }, Je = (e) => {
279
- U.value = U.value.filter((l) => l !== e), V();
280
- }, Z = s.filter;
281
- !Z && u.value ? Z.page = 1 : !Z && d && (Z.cursor = "");
282
- const o = $(Z), We = S(() => hl(o.value, a.value)), Xe = (e) => {
281
+ }), We = (e) => {
282
+ !e.trim() || !o.value.selectedSearchOption && U.value.includes(e) || (U.value = [e], D(), g("search-query-changed", e));
283
+ }, Xe = (e) => {
284
+ U.value = U.value.filter((l) => l !== e), D();
285
+ }, J = s.filter;
286
+ !J && i.value ? J.page = 1 : !J && d && (J.cursor = "");
287
+ const o = $(J), Ye = S(() => wl(o.value, a.value)), Ze = (e) => {
283
288
  var l, n, f, p, c, t;
284
289
  return ((t = (c = (p = (f = o.value) == null ? void 0 : f[(n = (l = a.value) == null ? void 0 : l.columnEdit) == null ? void 0 : n.key]) == null ? void 0 : p.active) == null ? void 0 : c.find((b) => b.key === e)) == null ? void 0 : t.isActive) ?? !0;
285
- }, Ye = ({ fixedHeaders: e, activeHeaders: l, isOnMount: n }) => {
286
- var f, p, c, t, b, x, P, F;
287
- if (o.value[(p = (f = a.value) == null ? void 0 : f.columnEdit) == null ? void 0 : p.key] || (o.value[(t = (c = a.value) == null ? void 0 : c.columnEdit) == null ? void 0 : t.key] = {}), o.value[(x = (b = a.value) == null ? void 0 : b.columnEdit) == null ? void 0 : x.key].fixed = e, o.value[(F = (P = a.value) == null ? void 0 : P.columnEdit) == null ? void 0 : F.key].active = l, K.value = [...e, ...l], !n) {
288
- const I = bl(e, l);
289
- kl(a.value.columnEdit.localStorageKey, I);
290
+ }, He = ({ fixedHeaders: e, activeHeaders: l, isOnMount: n }) => {
291
+ var f, p, c, t, b, x, L, F;
292
+ if (o.value[(p = (f = a.value) == null ? void 0 : f.columnEdit) == null ? void 0 : p.key] || (o.value[(t = (c = a.value) == null ? void 0 : c.columnEdit) == null ? void 0 : t.key] = {}), o.value[(x = (b = a.value) == null ? void 0 : b.columnEdit) == null ? void 0 : x.key].fixed = e, o.value[(F = (L = a.value) == null ? void 0 : L.columnEdit) == null ? void 0 : F.key].active = l, T.value = [...e, ...l], !n) {
293
+ const I = hl(e, l);
294
+ xl(a.value.columnEdit.localStorageKey, I);
290
295
  }
291
296
  g("columns-changed", l);
292
297
  }, _e = () => {
@@ -294,147 +299,147 @@ const $l = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, Ol = {
294
299
  if ((l = (e = a.value) == null ? void 0 : e.columnEdit) != null && l.localStorageKey) {
295
300
  const t = Ie(a.value.columnEdit.localStorageKey);
296
301
  if (t) {
297
- const { fixed: b, active: x } = qe(
302
+ const { fixed: b, active: x } = Ne(
298
303
  t,
299
- O.value.headers,
304
+ V.value.headers,
300
305
  a.value.columnEdit.localStorageKey
301
306
  );
302
- o.value[(f = (n = a.value) == null ? void 0 : n.columnEdit) == null ? void 0 : f.key].fixed = b, o.value[(c = (p = a.value) == null ? void 0 : p.columnEdit) == null ? void 0 : c.key].active = x, K.value = [...b, ...x];
307
+ o.value[(f = (n = a.value) == null ? void 0 : n.columnEdit) == null ? void 0 : f.key].fixed = b, o.value[(c = (p = a.value) == null ? void 0 : p.columnEdit) == null ? void 0 : c.key].active = x, T.value = [...b, ...x];
303
308
  }
304
309
  }
305
310
  }, el = (e) => {
306
311
  o.value.selectedSearchOption = e;
307
312
  }, ll = () => {
308
- U.value = [], B.value = "", o.value = xl(o.value, a.value, z.value, B.value), V();
313
+ U.value = [], B.value = "", o.value = Sl(o.value, a.value, z.value, B.value), D();
309
314
  }, al = () => {
310
- V(null, M.value);
311
- }, pe = $(null), V = (e = null, l = !1, n = "", f = !1, p = !1) => {
312
- var t, b, x, P, F, I, G, H, J, W, X, Y, _;
313
- u.value && !l && (M.value = 1), u.value ? o.value.page = M.value : o.value.cursor = n, (t = a.value) != null && t.per_page ? o.value[a.value.per_page.key] = z.value : o.value.per_page = z.value, (b = a.value) != null && b.tabs && p && (o.value[a.value.tabs.key] = B.value), (x = a.value) != null && x.search && ((F = (P = a.value.search) == null ? void 0 : P.options) != null && F.length ? (Object.keys(o.value).forEach((k) => {
314
- var q;
315
- (q = a.value.search.options) != null && q.map((m) => m.value).includes(k) && delete o.value[k];
316
- }), o.value[((I = o.value) == null ? void 0 : I.selectedSearchOption) || ((J = (H = (G = a.value.search) == null ? void 0 : G.options) == null ? void 0 : H[0]) == null ? void 0 : J.value) || a.value.search.key] = U.value.join()) : o.value[a.value.search.key] = U.value.join()), e && (R.value = !1, o.value = { ...o.value, ...e }, Object.keys(o.value).forEach((k) => {
315
+ D(null, M.value);
316
+ }, pe = $(null), D = (e = null, l = !1, n = "", f = !1, p = !1) => {
317
+ var t, b, x, L, F, I, G, W, X, Y, Z, H, _;
318
+ i.value && !l && (M.value = 1), i.value ? o.value.page = M.value : o.value.cursor = n, (t = a.value) != null && t.per_page ? o.value[a.value.per_page.key] = z.value : o.value.per_page = z.value, (b = a.value) != null && b.tabs && p && (o.value[a.value.tabs.key] = B.value), (x = a.value) != null && x.search && ((F = (L = a.value.search) == null ? void 0 : L.options) != null && F.length ? (Object.keys(o.value).forEach((k) => {
319
+ var N;
320
+ (N = a.value.search.options) != null && N.map((m) => m.value).includes(k) && delete o.value[k];
321
+ }), o.value[((I = o.value) == null ? void 0 : I.selectedSearchOption) || ((X = (W = (G = a.value.search) == null ? void 0 : G.options) == null ? void 0 : W[0]) == null ? void 0 : X.value) || a.value.search.key] = U.value.join()) : o.value[a.value.search.key] = U.value.join()), e && (Q.value = !1, o.value = { ...o.value, ...e }, Object.keys(o.value).forEach((k) => {
317
322
  Array.isArray(o.value[k]) && o.value[k].length === 0 && delete o.value[k];
318
323
  }));
319
- let c = (X = (W = a.value) == null ? void 0 : W.tabs) == null ? void 0 : X.key;
324
+ let c = (Z = (Y = a.value) == null ? void 0 : Y.tabs) == null ? void 0 : Z.key;
320
325
  if (c && B.value !== o.value[c]) {
321
- const k = (_ = (Y = a.value.tabs) == null ? void 0 : Y.options) == null ? void 0 : _.find(
322
- (q) => {
326
+ const k = (_ = (H = a.value.tabs) == null ? void 0 : H.options) == null ? void 0 : _.find(
327
+ (N) => {
323
328
  var m, te;
324
- return ((m = q.value) == null ? void 0 : m.toString()) === ((te = o.value[c]) == null ? void 0 : te.toString());
329
+ return ((m = N.value) == null ? void 0 : m.toString()) === ((te = o.value[c]) == null ? void 0 : te.toString());
325
330
  }
326
331
  );
327
332
  if (k != null && k.value)
328
- return B.value = k.value, V(), !1;
333
+ return B.value = k.value, D(), !1;
329
334
  }
330
335
  clearTimeout(pe.value), pe.value = setTimeout(() => {
331
336
  g("update:filter", o.value, f);
332
337
  }, 100);
333
338
  }, tl = (e, l) => {
334
- (l === a.value.tabs.key || l === "tabs") && (B.value = ""), V(e), g("filter-removed", l);
339
+ (l === a.value.tabs.key || l === "tabs") && (B.value = ""), D(e), g("filter-removed", l);
335
340
  };
336
341
  Ue(() => {
337
- _e(), il(() => {
342
+ _e(), ul(() => {
338
343
  g("on-table-ready");
339
344
  });
340
345
  });
341
- const ie = S(() => s.isLoading || v.value);
346
+ const ue = S(() => s.isLoading || v.value);
342
347
  se({
343
348
  localData: E,
344
- paginationData: u,
345
- tableIsLoading: ie,
349
+ paginationData: i,
350
+ tableIsLoading: ue,
346
351
  bulkPutLocalData: C,
347
352
  bulkDeleteLocalData: ee,
348
353
  getLocalDataUpdatedAt: le,
349
354
  getLocalDataIds: ae,
350
- syncLocalData: ue,
351
- sortByData: N
355
+ syncLocalData: ie,
356
+ sortByData: R
352
357
  });
353
358
  const sl = ({ key: e, value: l }) => {
354
- Object.keys(N.value).forEach((n) => {
355
- n !== e && (N.value[n] = null);
356
- }), N.value[e] = l, g("update:sort-by", N.value);
359
+ Object.keys(R.value).forEach((n) => {
360
+ n !== e && (R.value[n] = null);
361
+ }), R.value[e] = l, g("update:sort-by", R.value);
357
362
  };
358
363
  return (e, l) => {
359
364
  var n, f, p, c;
360
- return r(), h("div", Pl, [
361
- ce.value ? (r(), L(i(dl), {
365
+ return r(), h("div", jl, [
366
+ ce.value ? (r(), j(rl(O.isNewTable ? u(vl) : u(cl)), {
362
367
  key: 0,
363
- selected: D.selected,
364
- "row-key": D.rowKey,
368
+ selected: O.selected,
369
+ "row-key": O.rowKey,
365
370
  options: ce.value,
366
- "is-loading": ie.value,
371
+ "is-loading": ue.value,
367
372
  "loading-rows": z.value,
368
- "row-class": D.rowClass,
369
- "row-link": D.rowLink,
370
- "is-sticky": O.value.isSticky,
371
- "is-borderless": O.value.isBorderless,
372
- "sort-by": D.sortBy,
373
+ "row-class": O.rowClass,
374
+ "row-link": O.rowLink,
375
+ "is-sticky": V.value.isSticky,
376
+ "is-borderless": V.value.isBorderless,
377
+ "sort-by": O.sortBy,
373
378
  "onUpdate:selected": l[8] || (l[8] = (t) => e.$emit("update:selected", t)),
374
379
  "onUpdate:sortBy": sl,
375
380
  "onClick:row": l[9] || (l[9] = (t) => e.$emit("click:row", t)),
376
381
  "onHover:cell": l[10] || (l[10] = (t) => e.$emit("hover:cell", t))
377
- }, rl({
382
+ }, nl({
378
383
  after: w(() => [
379
- j(e.$slots, "after")
384
+ P(e.$slots, "after")
380
385
  ]),
381
386
  empty: w(() => [
382
- j(e.$slots, "empty")
387
+ P(e.$slots, "empty")
383
388
  ]),
384
389
  "table-header": w((t) => [
385
- j(e.$slots, "table-header", Pe(je(t)))
390
+ P(e.$slots, "table-header", Le(Pe(t)))
386
391
  ]),
387
392
  "table-body": w((t) => [
388
- j(e.$slots, "table-body", Pe(je(t)))
393
+ P(e.$slots, "table-body", Le(Pe(t)))
389
394
  ]),
390
395
  _: 2
391
396
  }, [
392
397
  e.$slots.before || (n = a.value) != null && n.search || (f = a.value) != null && f.form || (p = a.value) != null && p.tabs ? {
393
398
  name: "before",
394
399
  fn: w(() => {
395
- var t, b, x, P;
400
+ var t, b, x, L;
396
401
  return [
397
- j(e.$slots, "before"),
398
- (t = a.value) != null && t.search || (b = a.value) != null && b.form || (x = a.value) != null && x.tabs ? (r(), h("div", jl, [
399
- Ge.value ? (r(), h("div", Ll, [
400
- j(e.$slots, "bulk-actions", { selectedRows: D.selected })
401
- ])) : (r(), h("div", Al, [
402
- (P = a.value) != null && P.tabs ? (r(), L(i(vl), {
402
+ P(e.$slots, "before"),
403
+ (t = a.value) != null && t.search || (b = a.value) != null && b.form || (x = a.value) != null && x.tabs ? (r(), h("div", Al, [
404
+ Ge.value ? (r(), h("div", Bl, [
405
+ P(e.$slots, "bulk-actions", { selectedRows: O.selected })
406
+ ])) : (r(), h("div", Ul, [
407
+ (L = a.value) != null && L.tabs ? (r(), j(u(ml), {
403
408
  key: 0,
404
409
  modelValue: B.value,
405
410
  "onUpdate:modelValue": [
406
411
  l[0] || (l[0] = (F) => B.value = F),
407
- l[1] || (l[1] = (F) => V(null, !1, "", !1, !0))
412
+ l[1] || (l[1] = (F) => D(null, !1, "", !1, !0))
408
413
  ],
409
- "is-disabled": ie.value,
414
+ "is-disabled": ue.value,
410
415
  tabs: a.value.tabs.options,
411
416
  variant: "pills"
412
417
  }, null, 8, ["modelValue", "is-disabled", "tabs"])) : y("", !0)
413
418
  ])),
414
- j(e.$slots, "filter-options", {}, () => {
415
- var F, I, G, H, J, W, X, Y, _, k, q;
419
+ P(e.$slots, "filter-options", {}, () => {
420
+ var F, I, G, W, X, Y, Z, H, _, k, N;
416
421
  return [
417
422
  (F = a.value) != null && F.search || (I = a.value) != null && I.form || (G = a.value) != null && G.columnEdit ? (r(), h("div", {
418
423
  key: 0,
419
424
  class: ve([
420
- "flex gap-3 absolute ml-auto bg-oc-bg-light right-4 max-w-[calc(100%-24px)]",
425
+ "flex gap-3 absolute ml-auto items-center bg-oc-bg-light right-4 max-w-[calc(100%-24px)]",
421
426
  a.value ? fe.value ? "md:w-fit w-full" : "" : "w-full justify-end"
422
427
  ])
423
428
  }, [
424
- (H = a.value) != null && H.search ? (r(), L(i(cl), {
429
+ (W = a.value) != null && W.search ? (r(), j(u(fl), {
425
430
  key: 0,
426
431
  "is-search-only": !a.value.tabs || a.value.isSearchOnly,
427
- "search-options": ((J = a.value.search) == null ? void 0 : J.options) ?? [],
428
- "selected-option": (((W = o.value) == null ? void 0 : W.selectedSearchOption) || ((_ = (Y = (X = a.value.search) == null ? void 0 : X.options) == null ? void 0 : Y[0]) == null ? void 0 : _.value)) ?? "keywords",
429
- onAddQuery: He,
432
+ "search-options": ((X = a.value.search) == null ? void 0 : X.options) ?? [],
433
+ "selected-option": (((Y = o.value) == null ? void 0 : Y.selectedSearchOption) || ((_ = (H = (Z = a.value.search) == null ? void 0 : Z.options) == null ? void 0 : H[0]) == null ? void 0 : _.value)) ?? "keywords",
434
+ onAddQuery: We,
430
435
  onToggle: l[2] || (l[2] = (m) => fe.value = m),
431
436
  onChangeSearchKey: el
432
437
  }, null, 8, ["is-search-only", "search-options", "selected-option"])) : y("", !0),
433
- (k = a.value) != null && k.form ? (r(), L(i(Ke), {
438
+ (k = a.value) != null && k.form ? (r(), j(u(Te), {
434
439
  key: 1,
435
- modelValue: R.value,
440
+ modelValue: Q.value,
436
441
  "onUpdate:modelValue": [
437
- l[6] || (l[6] = (m) => R.value = m),
442
+ l[6] || (l[6] = (m) => Q.value = m),
438
443
  l[7] || (l[7] = (m) => e.$emit("filter-open", m))
439
444
  ],
440
445
  distance: 9,
@@ -442,53 +447,56 @@ const $l = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, Ol = {
442
447
  "is-attach-to-body": ""
443
448
  }, {
444
449
  menu: w(() => [
445
- R.value ? (r(), L(i(ml), {
450
+ Q.value ? (r(), j(u(pl), {
446
451
  key: 0,
447
- id: D.id,
452
+ id: O.id,
448
453
  "json-form": a.value.form ?? [],
449
454
  grid: a.value.grid ?? null,
450
455
  values: s.filter,
451
456
  actions: a.value.actions,
452
- onApplyFilter: l[3] || (l[3] = (m) => V(m)),
457
+ onApplyFilter: l[3] || (l[3] = (m) => D(m)),
453
458
  onFilterFieldsChanged: l[4] || (l[4] = (m) => g("filter-fields-changed", m)),
454
- onCancel: l[5] || (l[5] = (m) => R.value = !1)
459
+ onCancel: l[5] || (l[5] = (m) => Q.value = !1)
455
460
  }, {
456
- default: w(({ errors: m, values: te, jsonForm: ol, updateForm: ul }) => [
457
- j(e.$slots, "custom-filter-form", {
461
+ default: w(({ errors: m, values: te, jsonForm: ol, updateForm: il }) => [
462
+ P(e.$slots, "custom-filter-form", {
458
463
  errors: m,
459
464
  values: te,
460
465
  jsonForm: ol,
461
- updateFilter: ul
466
+ updateFilter: il
462
467
  })
463
468
  ]),
464
469
  _: 3
465
470
  }, 8, ["id", "json-form", "grid", "values", "actions"])) : y("", !0)
466
471
  ]),
467
472
  default: w(() => [
468
- A(i(Te), {
469
- "is-active": R.value,
473
+ A(u(Ke), {
474
+ "is-active": Q.value,
470
475
  variant: "secondary",
471
- "left-icon": "filter"
476
+ "left-icon": "filter",
477
+ size: "small",
478
+ class: "w-8",
479
+ iconClass: "shrink-0"
472
480
  }, null, 8, ["is-active"])
473
481
  ]),
474
482
  _: 3
475
483
  }, 8, ["modelValue"])) : y("", !0),
476
- a.value.columnEdit ? (r(), L(Cl, {
484
+ a.value.columnEdit ? (r(), j(Pl, {
477
485
  key: 2,
478
486
  options: o.value.columnEdit,
479
- headers: ((q = O.value) == null ? void 0 : q.headers) || [],
487
+ headers: ((N = V.value) == null ? void 0 : N.headers) || [],
480
488
  "local-key": a.value.columnEdit.localStorageKey,
481
- onUpdateOrder: Ye
489
+ onUpdateOrder: He
482
490
  }, null, 8, ["options", "headers", "local-key"])) : y("", !0)
483
491
  ], 2)) : y("", !0)
484
492
  ];
485
493
  })
486
494
  ])) : y("", !0),
487
- A(i(fl), {
488
- filters: We.value,
495
+ A(u(yl), {
496
+ filters: Ye.value,
489
497
  queries: U.value,
490
498
  class: "border-t border-oc-gray-200",
491
- onRemoveQuery: Je,
499
+ onRemoveQuery: Xe,
492
500
  onRemoveAll: ll,
493
501
  onRemoveFilter: tl
494
502
  }, null, 8, ["filters", "queries"])
@@ -496,55 +504,56 @@ const $l = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, Ol = {
496
504
  }),
497
505
  key: "0"
498
506
  } : void 0,
499
- de((c = O.value) == null ? void 0 : c.headers, (t, b) => ({
507
+ de((c = V.value) == null ? void 0 : c.headers, (t, b) => ({
500
508
  name: t.key,
501
- fn: w(({ data: x, item: P }) => [
502
- j(e.$slots, t.key, {
509
+ fn: w(({ data: x, item: L }) => [
510
+ P(e.$slots, t.key, {
503
511
  data: x,
504
- item: P
512
+ item: L
505
513
  })
506
514
  ])
507
515
  }))
508
- ]), 1032, ["selected", "row-key", "options", "is-loading", "loading-rows", "row-class", "row-link", "is-sticky", "is-borderless", "sort-by"])) : y("", !0),
509
- j(e.$slots, "before-pagination"),
510
- i(u) || d.value ? (r(), h("div", {
516
+ ]), 1064, ["selected", "row-key", "options", "is-loading", "loading-rows", "row-class", "row-link", "is-sticky", "is-borderless", "sort-by"])) : y("", !0),
517
+ P(e.$slots, "before-pagination"),
518
+ u(i) || d.value ? (r(), h("div", {
511
519
  key: 1,
512
- class: ve(["flex items-center gap-3", i(u) && i(u).last_page === 1 ? "justify-end" : ""])
520
+ class: ve(["flex items-center gap-3", u(i) && u(i).last_page === 1 ? "justify-end" : ""])
513
521
  }, [
514
- i(u) && !Ne.value ? (r(), L(i(pl), {
522
+ u(i) && !Re.value ? (r(), j(u(gl), {
515
523
  key: 0,
516
524
  modelValue: M.value,
517
525
  "onUpdate:modelValue": [
518
526
  l[11] || (l[11] = (t) => M.value = t),
519
527
  al
520
528
  ],
521
- class: "justify-center",
522
- "max-page": i(u).last_page,
523
- strategy: i(u).strategy,
529
+ class: "justify-center text-[13px]",
530
+ "max-page": u(i).last_page,
531
+ strategy: u(i).strategy,
524
532
  "total-visible": "5"
525
533
  }, null, 8, ["modelValue", "max-page", "strategy"])) : y("", !0),
526
- d.value ? (r(), h("div", Bl, [
527
- A(i(Le), {
534
+ d.value ? (r(), h("div", Tl, [
535
+ A(u(je), {
528
536
  disabled: !d.value.prev,
529
- onClick: l[12] || (l[12] = (t) => d.value.prev ? V(null, !1, d.value.prev) : null)
537
+ onClick: l[12] || (l[12] = (t) => d.value.prev ? D(null, !1, d.value.prev) : null)
530
538
  }, null, 8, ["disabled"]),
531
- A(i(Le), {
539
+ A(u(je), {
532
540
  disabled: !d.value.next,
533
541
  "is-next": "",
534
- onClick: l[13] || (l[13] = (t) => d.value.next ? V(null, !1, d.value.next) : null)
542
+ onClick: l[13] || (l[13] = (t) => d.value.next ? D(null, !1, d.value.next) : null)
535
543
  }, null, 8, ["disabled"])
536
544
  ])) : y("", !0),
537
- ze.value ? y("", !0) : (r(), h("div", Ul, [
538
- A(i(yl), {
545
+ ze.value ? y("", !0) : (r(), h("div", Kl, [
546
+ A(u(bl), {
539
547
  modelValue: z.value,
540
548
  "onUpdate:modelValue": [
541
549
  l[14] || (l[14] = (t) => z.value = t),
542
- l[15] || (l[15] = (t) => V(null))
550
+ l[15] || (l[15] = (t) => D(null))
543
551
  ],
544
552
  label: "Item per page",
545
553
  "is-inline-label": "",
546
554
  "popper-options": { placement: "auto" },
547
- options: Ze.value
555
+ options: Je.value,
556
+ "select-text-class": "!text-[13px]"
548
557
  }, null, 8, ["modelValue", "options"])
549
558
  ]))
550
559
  ], 2)) : y("", !0)
@@ -553,5 +562,5 @@ const $l = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, Ol = {
553
562
  }
554
563
  };
555
564
  export {
556
- Zl as default
565
+ Wl as default
557
566
  };