@orchidui/core 1.37.0 → 1.39.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 (83) 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 +1 -1
  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 +2 -2
  26. package/dist/Elements/SubSidebar/OcSubSidebar.js +1 -1
  27. package/dist/Elements/TopBanner/OcTopBanner.js +1 -1
  28. package/dist/Elements/VerificationOption/OcVerificationOption.js +1 -1
  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-BPWhLYHi.js → OcAccountSetupProgress-CAsTFLzD.js} +1 -1
  60. package/dist/{OcComplexCalendar-BlOBT1La.js → OcComplexCalendar-BKht-iKa.js} +1 -1
  61. package/dist/{OcComplexDatePicker-DBFH7lmt.js → OcComplexDatePicker-CST3cyMh.js} +1 -1
  62. package/dist/{OcCropper-CuMnd2M3.js → OcCropper-DMvRM32l.js} +1 -1
  63. package/dist/{OcDataTable-COmYbRqV.js → OcDataTable-D1Lmh1Lj.js} +63 -58
  64. package/dist/{OcDraggableList-_PLGJGjR.js → OcDraggableList-CwGfz1m1.js} +1 -1
  65. package/dist/{OcEmojiPicker-oJ2P52ez.js → OcEmojiPicker-B5v0dgDQ.js} +1 -1
  66. package/dist/{OcFilterForm-PJ4ct9Oc.js → OcFilterForm-BfRaaBNx.js} +1 -1
  67. package/dist/{OcFilterSearch-DRhgRiRU.js → OcFilterSearch-eV23JjoR.js} +1 -1
  68. package/dist/{OcFilterSearchFor-CMADE-xY.js → OcFilterSearchFor-FKrmN6gd.js} +1 -1
  69. package/dist/{OcModalCropper-C9t83srb.js → OcModalCropper-BG0rGXgt.js} +2 -2
  70. package/dist/{OcTimePicker-p_UB8H14.js → OcTimePicker-C_OHCpVq.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-BMMfelK9.js → SubPlanCard-DKX_tiqc.js} +1 -1
  79. package/dist/{ThumbnailSection-CWEcHMNd.js → ThumbnailSection-B7Vmk_YO.js} +1 -1
  80. package/dist/{ThumbnailTheme-DBWECYl_.js → ThumbnailTheme-B645KTkE.js} +1 -1
  81. package/dist/{index-DdH3wo6I.js → index-Bl4-MlMa.js} +365 -356
  82. package/dist/index.js +1 -1
  83. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { ref as O, onMounted as $e, createBlock as L, openBlock as o, unref as i, withCtx as w, createVNode as U, createElementVNode as R, createElementBlock as x, createCommentVNode as f, mergeProps as fe, Fragment as ee, renderList as le, normalizeClass as ae, toDisplayString as ye, computed as K, watch as ge, toRaw as qe, nextTick as Je, renderSlot as j, resolveDynamicComponent as Me, createSlots as Ge, normalizeProps as be, guardReactiveProps as ke } from "vue";
2
- import { aA as Se, B as Oe, C as We, D as Xe, L as Ye, $ as Ze, aL as He, aM as _e, aN as el, I as ll, J as he, j as al } from "./index-DdH3wo6I.js";
1
+ import { ref as V, onMounted as $e, createBlock as L, openBlock as o, unref as i, withCtx as w, createVNode as U, createElementVNode as R, createElementBlock as x, createCommentVNode as f, mergeProps as fe, Fragment as ee, renderList as le, normalizeClass as ae, toDisplayString as ye, computed as K, watch as ge, toRaw as qe, nextTick as Je, renderSlot as j, resolveDynamicComponent as Me, createSlots as Ge, normalizeProps as be, guardReactiveProps as ke } from "vue";
2
+ import { aA as Se, B as Oe, C as We, D as Xe, L as Ye, $ as Ze, aL as He, aM as _e, aN as el, I as ll, J as he, j as al } from "./index-Bl4-MlMa.js";
3
3
  import { VueDraggableNext as we } from "vue-draggable-next";
4
4
  import { getFromLocalStorage as Ve, formatHeadersFromLocalStorage as Fe, formatHeadersToLocalStorage as tl, setInLocalStorage as sl } from "./DataTable/utils/editColumnsUtils.js";
5
5
  import { _ as xe } from "./OcIcon-BedshzZm.js";
@@ -29,8 +29,8 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
29
29
  }
30
30
  },
31
31
  emits: ["change-active", "onMoved", "update-order"],
32
- setup(V, { emit: _ }) {
33
- const F = _, g = V, m = O([]), $ = O([]), E = O(!1), y = {
32
+ setup($, { emit: _ }) {
33
+ const F = _, g = $, m = V([]), S = V([]), E = V(!1), y = {
34
34
  handle: ".drag-el",
35
35
  filter: ".is-disabled",
36
36
  group: "headers",
@@ -39,22 +39,22 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
39
39
  move: (l) => l.to.dataset.activeHeaders ? !0 : !!l.draggedContext.futureIndex,
40
40
  "onUpdate:modelValue": () => z()
41
41
  }, z = (l = !1) => {
42
- $.value = $.value.map((r) => ({
42
+ S.value = S.value.map((r) => ({
43
43
  ...r,
44
44
  isActive: !0
45
45
  })), F("update-order", {
46
- fixedHeaders: $.value,
46
+ fixedHeaders: S.value,
47
47
  activeHeaders: m.value,
48
48
  isOnMount: l
49
49
  });
50
50
  };
51
51
  return $e(() => {
52
52
  const l = Ve(g.localKey), { fixed: r, active: n } = Fe(l, g.headers, g.localKey);
53
- $.value = r || g.headers.slice(0, 1), m.value = n || g.headers.slice(1).map((b) => {
53
+ S.value = r || g.headers.slice(0, 1), m.value = n || g.headers.slice(1).map((b) => {
54
54
  var t, T, C;
55
55
  return {
56
56
  ...b,
57
- isActive: ((C = (T = (t = g.options) == null ? void 0 : t.active) == null ? void 0 : T.find((B) => B.key === b.key)) == null ? void 0 : C.isActive) ?? !0
57
+ isActive: ((C = (T = (t = g.options) == null ? void 0 : t.active) == null ? void 0 : T.find((N) => N.key === b.key)) == null ? void 0 : C.isActive) ?? !0
58
58
  };
59
59
  }), z(!0);
60
60
  }), (l, r) => (o(), L(i(Se), {
@@ -64,15 +64,15 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
64
64
  }, {
65
65
  menu: w(() => [
66
66
  R("div", nl, [
67
- $.value.length ? (o(), x("div", dl, [
67
+ S.value.length ? (o(), x("div", dl, [
68
68
  r[4] || (r[4] = R("span", { class: "text-oc-text-400 font-medium" }, "Fixed columns", -1)),
69
69
  U(i(we), fe({
70
70
  key: "key",
71
- modelValue: $.value,
72
- "onUpdate:modelValue": r[0] || (r[0] = (n) => $.value = n)
71
+ modelValue: S.value,
72
+ "onUpdate:modelValue": r[0] || (r[0] = (n) => S.value = n)
73
73
  }, y), {
74
74
  default: w(() => [
75
- (o(!0), x(ee, null, le($.value, (n, b) => (o(), x("div", {
75
+ (o(!0), x(ee, null, le(S.value, (n, b) => (o(), x("div", {
76
76
  key: n.key,
77
77
  class: ae(["flex items-center justify-between h-[26px]", b ? "" : "is-disabled"])
78
78
  }, [
@@ -183,6 +183,10 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
183
183
  isNewTable: {
184
184
  type: Boolean,
185
185
  default: !1
186
+ },
187
+ selectedIndex: {
188
+ type: Number,
189
+ default: -1
186
190
  }
187
191
  },
188
192
  emits: {
@@ -198,15 +202,15 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
198
202
  "columns-changed": [],
199
203
  "on-table-ready": []
200
204
  },
201
- setup(V, { emit: _ }) {
205
+ setup($, { emit: _ }) {
202
206
  var ue, ie, re, ne, de, ve, ce, me, pe;
203
- const F = V, g = _, m = K(() => {
207
+ const F = $, g = _, m = K(() => {
204
208
  var e;
205
209
  return (e = F.options) == null ? void 0 : e.cursor;
206
- }), $ = O(), E = K(() => {
210
+ }), S = V(), E = K(() => {
207
211
  var e;
208
212
  return (e = F.options) == null ? void 0 : e.tableOptions;
209
- }), y = O({
213
+ }), y = V({
210
214
  total: 0,
211
215
  last_page: 1
212
216
  });
@@ -224,7 +228,7 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
224
228
  var a;
225
229
  return {
226
230
  ...E.value,
227
- headers: $.value ? $.value.map((u) => {
231
+ headers: S.value ? S.value.map((u) => {
228
232
  var p, d;
229
233
  return u.class = ((d = (p = E.value) == null ? void 0 : p.headers.find((v) => v.key === u.key)) == null ? void 0 : d.class) ?? "", u;
230
234
  }).filter((u) => u.isActive) : (a = E.value) == null ? void 0 : a.headers.filter((u) => Ke(u.key))
@@ -240,7 +244,7 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
240
244
  return ((e = y.value) == null ? void 0 : e.last_page) === 1;
241
245
  }), b = JSON.parse(JSON.stringify(qe(F.filter)));
242
246
  !b && y.value ? b.page = 1 : !b && m && (b.cursor = "");
243
- const t = O(b);
247
+ const t = V(b);
244
248
  ge(
245
249
  () => F.filter,
246
250
  (e) => {
@@ -248,9 +252,9 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
248
252
  },
249
253
  { deep: !0 }
250
254
  );
251
- const T = O(!1), C = O(t.value[(ie = (ue = l.value) == null ? void 0 : ue.tabs) == null ? void 0 : ie.key]), B = O(t.value.page), q = O(
255
+ const T = V(!1), C = V(t.value[(ie = (ue = l.value) == null ? void 0 : ue.tabs) == null ? void 0 : ie.key]), N = V(t.value.page), q = V(
252
256
  (ne = (re = l.value) == null ? void 0 : re.per_page) != null && ne.key ? t.value[(ve = (de = l.value) == null ? void 0 : de.per_page) == null ? void 0 : ve.key] : t.value.per_page
253
- ), te = ((pe = t.value[t.value.selectedSearchOption || ((me = (ce = l.value) == null ? void 0 : ce.search) == null ? void 0 : me.key)]) == null ? void 0 : pe.trim()) ?? "", N = O(te ? te.split(",") : []), se = O(!1), Ee = K(
257
+ ), te = ((pe = t.value[t.value.selectedSearchOption || ((me = (ce = l.value) == null ? void 0 : ce.search) == null ? void 0 : me.key)]) == null ? void 0 : pe.trim()) ?? "", I = V(te ? te.split(",") : []), se = V(!1), Ee = K(
254
258
  () => {
255
259
  var e;
256
260
  return il((e = F.options) == null ? void 0 : e.perPageOptions);
@@ -259,17 +263,17 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
259
263
  var e;
260
264
  return ((e = F.selected) == null ? void 0 : e.length) > 0;
261
265
  }), Ae = (e) => {
262
- !e.trim() || !t.value.selectedSearchOption && N.value.includes(e) || (N.value = [e], P(), g("search-query-changed", e));
266
+ !e.trim() || !t.value.selectedSearchOption && I.value.includes(e) || (I.value = [e], P(), g("search-query-changed", e));
263
267
  }, je = (e) => {
264
- N.value = N.value.filter((a) => a !== e), P();
268
+ I.value = I.value.filter((a) => a !== e), P();
265
269
  }, De = K(() => ol(t.value, l.value)), Ke = (e) => {
266
270
  var a, u, p, d, v, s;
267
271
  return ((s = (v = (d = (p = t.value) == null ? void 0 : p[(u = (a = l.value) == null ? void 0 : a.columnEdit) == null ? void 0 : u.key]) == null ? void 0 : d.active) == null ? void 0 : v.find((k) => k.key === e)) == null ? void 0 : s.isActive) ?? !0;
268
272
  }, Le = ({ fixedHeaders: e, activeHeaders: a, isOnMount: u }) => {
269
- var p, d, v, s, k, S, D, A;
270
- if (t.value[(d = (p = l.value) == null ? void 0 : p.columnEdit) == null ? void 0 : d.key] || (t.value[(s = (v = l.value) == null ? void 0 : v.columnEdit) == null ? void 0 : s.key] = {}), t.value[(S = (k = l.value) == null ? void 0 : k.columnEdit) == null ? void 0 : S.key].fixed = e, t.value[(A = (D = l.value) == null ? void 0 : D.columnEdit) == null ? void 0 : A.key].active = a, $.value = [...e, ...a], !u) {
271
- const I = tl(e, a);
272
- sl(l.value.columnEdit.localStorageKey, I);
273
+ var p, d, v, s, k, O, D, A;
274
+ if (t.value[(d = (p = l.value) == null ? void 0 : p.columnEdit) == null ? void 0 : d.key] || (t.value[(s = (v = l.value) == null ? void 0 : v.columnEdit) == null ? void 0 : s.key] = {}), t.value[(O = (k = l.value) == null ? void 0 : k.columnEdit) == null ? void 0 : O.key].fixed = e, t.value[(A = (D = l.value) == null ? void 0 : D.columnEdit) == null ? void 0 : A.key].active = a, S.value = [...e, ...a], !u) {
275
+ const B = tl(e, a);
276
+ sl(l.value.columnEdit.localStorageKey, B);
273
277
  }
274
278
  g("columns-changed", a);
275
279
  }, Te = () => {
@@ -277,31 +281,31 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
277
281
  if ((a = (e = l.value) == null ? void 0 : e.columnEdit) != null && a.localStorageKey) {
278
282
  const s = Ve(l.value.columnEdit.localStorageKey);
279
283
  if (s) {
280
- const { fixed: k, active: S } = Fe(
284
+ const { fixed: k, active: O } = Fe(
281
285
  s,
282
286
  E.value.headers,
283
287
  l.value.columnEdit.localStorageKey
284
288
  );
285
- t.value[(p = (u = l.value) == null ? void 0 : u.columnEdit) == null ? void 0 : p.key].fixed = k, t.value[(v = (d = l.value) == null ? void 0 : d.columnEdit) == null ? void 0 : v.key].active = S, $.value = [...k, ...S];
289
+ t.value[(p = (u = l.value) == null ? void 0 : u.columnEdit) == null ? void 0 : p.key].fixed = k, t.value[(v = (d = l.value) == null ? void 0 : d.columnEdit) == null ? void 0 : v.key].active = O, S.value = [...k, ...O];
286
290
  }
287
291
  }
288
292
  }, Ue = (e) => {
289
293
  t.value.selectedSearchOption = e;
290
- }, Ne = () => {
291
- N.value = [], C.value = "", t.value = ul(
294
+ }, Ie = () => {
295
+ I.value = [], C.value = "", t.value = ul(
292
296
  t.value,
293
297
  l.value,
294
298
  q.value,
295
299
  C.value
296
300
  ), P();
297
- }, Be = () => {
298
- P(null, B.value);
301
+ }, Ne = () => {
302
+ P(null, N.value);
299
303
  }, P = (e = null, a = !1, u = "", p = !1, d = !1) => {
300
- var s, k, S, D, A, I, J, M, G, W, X, Y, Z;
301
- y.value && !a && (B.value = 1), y.value ? t.value.page = B.value : t.value.cursor = u, (s = l.value) != null && s.per_page ? t.value[l.value.per_page.key] = q.value : t.value.per_page = q.value, (k = l.value) != null && k.tabs && d && (t.value[l.value.tabs.key] = C.value), (S = l.value) != null && S.search && ((A = (D = l.value.search) == null ? void 0 : D.options) != null && A.length ? (Object.keys(t.value).forEach((h) => {
304
+ var s, k, O, D, A, B, J, M, G, W, X, Y, Z;
305
+ y.value && !a && (N.value = 1), y.value ? t.value.page = N.value : t.value.cursor = u, (s = l.value) != null && s.per_page ? t.value[l.value.per_page.key] = q.value : t.value.per_page = q.value, (k = l.value) != null && k.tabs && d && (t.value[l.value.tabs.key] = C.value), (O = l.value) != null && O.search && ((A = (D = l.value.search) == null ? void 0 : D.options) != null && A.length ? (Object.keys(t.value).forEach((h) => {
302
306
  var Q;
303
307
  (Q = l.value.search.options) != null && Q.map((c) => c.value).includes(h) && delete t.value[h];
304
- }), t.value[((I = t.value) == null ? void 0 : I.selectedSearchOption) || ((G = (M = (J = l.value.search) == null ? void 0 : J.options) == null ? void 0 : M[0]) == null ? void 0 : G.value) || l.value.search.key] = N.value.join()) : t.value[l.value.search.key] = N.value.join()), e && (T.value = !1, t.value = { ...t.value, ...e }, Object.keys(t.value).forEach((h) => {
308
+ }), t.value[((B = t.value) == null ? void 0 : B.selectedSearchOption) || ((G = (M = (J = l.value.search) == null ? void 0 : J.options) == null ? void 0 : M[0]) == null ? void 0 : G.value) || l.value.search.key] = I.value.join()) : t.value[l.value.search.key] = I.value.join()), e && (T.value = !1, t.value = { ...t.value, ...e }, Object.keys(t.value).forEach((h) => {
305
309
  Array.isArray(t.value[h]) && t.value[h].length === 0 && delete t.value[h];
306
310
  }));
307
311
  let v = (X = (W = l.value) == null ? void 0 : W.tabs) == null ? void 0 : X.key;
@@ -314,8 +318,8 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
314
318
  );
315
319
  h != null && h.value && (C.value = h.value, d || P(null, !1, "", !1, !0));
316
320
  }
317
- Ie(p);
318
- }, oe = O(null), Ie = (e = !1) => {
321
+ Be(p);
322
+ }, oe = V(null), Be = (e = !1) => {
319
323
  clearTimeout(oe.value), oe.value = setTimeout(() => {
320
324
  g("update:filter", { ...t.value }, e), g("apply-filter", { ...t.value }, e);
321
325
  }, 50);
@@ -329,15 +333,16 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
329
333
  }), (e, a) => {
330
334
  var u, p, d, v;
331
335
  return o(), x("div", yl, [
332
- z.value ? (o(), L(Me(V.isNewTable ? i(Xe) : i(Ye)), {
336
+ z.value ? (o(), L(Me($.isNewTable ? i(Xe) : i(Ye)), {
333
337
  key: 0,
334
- selected: V.selected,
335
- "row-key": V.rowKey,
338
+ selected: $.selected,
339
+ "row-key": $.rowKey,
336
340
  options: z.value,
337
- "is-loading": V.isLoading,
341
+ "is-loading": $.isLoading,
338
342
  "loading-rows": q.value,
339
- "row-class": V.rowClass,
340
- "row-link": V.rowLink,
343
+ "row-class": $.rowClass,
344
+ "row-link": $.rowLink,
345
+ "selected-index": $.selectedIndex,
341
346
  "is-sticky": E.value.isSticky,
342
347
  "is-borderless": E.value.isBorderless,
343
348
  "onUpdate:selected": a[8] || (a[8] = (s) => e.$emit("update:selected", s)),
@@ -364,12 +369,12 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
364
369
  e.$slots.before || (u = l.value) != null && u.search || (p = l.value) != null && p.form || (d = l.value) != null && d.tabs ? {
365
370
  name: "before",
366
371
  fn: w(() => {
367
- var s, k, S, D;
372
+ var s, k, O, D;
368
373
  return [
369
374
  j(e.$slots, "before"),
370
- (s = l.value) != null && s.search || (k = l.value) != null && k.form || (S = l.value) != null && S.tabs ? (o(), x("div", gl, [
375
+ (s = l.value) != null && s.search || (k = l.value) != null && k.form || (O = l.value) != null && O.tabs ? (o(), x("div", gl, [
371
376
  Pe.value ? (o(), x("div", bl, [
372
- j(e.$slots, "bulk-actions", { selectedRows: V.selected })
377
+ j(e.$slots, "bulk-actions", { selectedRows: $.selected })
373
378
  ])) : (o(), x("div", kl, [
374
379
  (D = l.value) != null && D.tabs ? (o(), L(i(Ze), {
375
380
  key: 0,
@@ -378,15 +383,15 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
378
383
  a[0] || (a[0] = (A) => C.value = A),
379
384
  a[1] || (a[1] = (A) => P(null, !1, "", !1, !0))
380
385
  ],
381
- "is-disabled": V.isLoading,
386
+ "is-disabled": $.isLoading,
382
387
  tabs: l.value.tabs.options,
383
388
  variant: "pills"
384
389
  }, null, 8, ["modelValue", "is-disabled", "tabs"])) : f("", !0)
385
390
  ])),
386
391
  j(e.$slots, "filter-options", {}, () => {
387
- var A, I, J, M, G, W, X, Y, Z, h, Q;
392
+ var A, B, J, M, G, W, X, Y, Z, h, Q;
388
393
  return [
389
- (A = l.value) != null && A.search || (I = l.value) != null && I.form || (J = l.value) != null && J.columnEdit ? (o(), x("div", {
394
+ (A = l.value) != null && A.search || (B = l.value) != null && B.form || (J = l.value) != null && J.columnEdit ? (o(), x("div", {
390
395
  key: 0,
391
396
  class: ae([
392
397
  "flex gap-3 absolute ml-auto items-center bg-oc-bg-light right-4 max-w-[calc(100%-24px)]",
@@ -416,7 +421,7 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
416
421
  menu: w(() => [
417
422
  T.value ? (o(), L(i(_e), {
418
423
  key: 0,
419
- id: V.id,
424
+ id: $.id,
420
425
  "json-form": l.value.form ?? [],
421
426
  grid: l.value.grid ?? null,
422
427
  values: t.value,
@@ -461,10 +466,10 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
461
466
  ])) : f("", !0),
462
467
  U(i(el), {
463
468
  filters: De.value,
464
- queries: N.value,
469
+ queries: I.value,
465
470
  class: "border-t border-oc-gray-200",
466
471
  onRemoveQuery: je,
467
- onRemoveAll: Ne,
472
+ onRemoveAll: Ie,
468
473
  onRemoveFilter: Qe
469
474
  }, null, 8, ["filters", "queries"])
470
475
  ];
@@ -473,14 +478,14 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
473
478
  } : void 0,
474
479
  le((v = E.value) == null ? void 0 : v.headers, (s, k) => ({
475
480
  name: s.key,
476
- fn: w(({ data: S, item: D }) => [
481
+ fn: w(({ data: O, item: D }) => [
477
482
  j(e.$slots, s.key, {
478
- data: S,
483
+ data: O,
479
484
  item: D
480
485
  })
481
486
  ])
482
487
  }))
483
- ]), 1064, ["selected", "row-key", "options", "is-loading", "loading-rows", "row-class", "row-link", "is-sticky", "is-borderless"])) : f("", !0),
488
+ ]), 1064, ["selected", "row-key", "options", "is-loading", "loading-rows", "row-class", "row-link", "selected-index", "is-sticky", "is-borderless"])) : f("", !0),
484
489
  j(e.$slots, "before-pagination"),
485
490
  y.value || m.value ? (o(), x("div", {
486
491
  key: 1,
@@ -488,10 +493,10 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
488
493
  }, [
489
494
  y.value && !n.value ? (o(), L(i(ll), {
490
495
  key: 0,
491
- modelValue: B.value,
496
+ modelValue: N.value,
492
497
  "onUpdate:modelValue": [
493
- a[11] || (a[11] = (s) => B.value = s),
494
- Be
498
+ a[11] || (a[11] = (s) => N.value = s),
499
+ Ne
495
500
  ],
496
501
  class: "justify-center text-[13px]",
497
502
  "max-page": y.value.last_page,
@@ -1,5 +1,5 @@
1
1
  import { ref as w, createBlock as y, openBlock as c, unref as l, withCtx as r, createElementBlock as b, Fragment as C, renderList as $, normalizeClass as s, createElementVNode as o, createCommentVNode as m, renderSlot as u, toDisplayString as x, createVNode as f } from "vue";
2
- import { aJ as D, aF as S, aA as B } from "./index-DdH3wo6I.js";
2
+ import { aJ as D, aF as S, aA as B } from "./index-Bl4-MlMa.js";
3
3
  import { _ as g } from "./OcIcon-BedshzZm.js";
4
4
  const M = ["onMouseleave", "onMouseover", "onClick"], L = { class: "flex justify-evenly w-full" }, N = { class: "flex w-full" }, U = { class: "ml-4 flex w-full" }, A = { class: "flex items-center flex-wrap w-full" }, E = ["href"], F = { class: "min-w-[120px]" }, O = { class: "truncate w-[200px]" }, W = { class: "flex items-center ml-4" }, j = { class: "flex w-full" }, T = {
5
5
  __name: "OcDraggableList",
@@ -1,5 +1,5 @@
1
1
  import { ref as m, computed as p, createElementBlock as l, openBlock as s, createVNode as f, createBlock as N, createCommentVNode as z, unref as c, withCtx as v, createElementVNode as n, normalizeClass as T, Fragment as V, renderList as k, createTextVNode as C } from "vue";
2
- import { aA as U, d as A, B as b } from "./index-DdH3wo6I.js";
2
+ import { aA as U, d as A, B as b } from "./index-Bl4-MlMa.js";
3
3
  import { EMOJI_LIST as a, EMOJI_CATEGORIES as J } from "./Form/EmojiPicker/conts/emoji.js";
4
4
  import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const F = { class: "flex items-center justify-center rounded bg-oc-bg-dark h-[140px] relative w-full z-50" }, G = ["innerHTML"], R = { class: "p-4 w-[340px]" }, q = { class: "bg-oc-bg-dark p-4 rounded flex items-center justify-center" }, K = ["innerHTML"], Q = { class: "pt-3 pb-4" }, W = ["id", "innerHTML", "onClick"], X = {
@@ -1,5 +1,5 @@
1
1
  import { ref as r, computed as u, onMounted as B, createElementBlock as O, openBlock as k, renderSlot as $, createElementVNode as f, createVNode as c, unref as i } from "vue";
2
- import { u as w, B as m } from "./index-DdH3wo6I.js";
2
+ import { u as w, B as m } from "./index-Bl4-MlMa.js";
3
3
  const C = { class: "flex w-[326px] flex-col gap-y-5" }, A = { class: "max-h-[500px] overflow-y-auto p-5" }, E = { class: "flex gap-x-5 px-5 pb-5" }, N = {
4
4
  __name: "OcFilterForm",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { ref as u, computed as K, createElementBlock as d, openBlock as s, Fragment as p, createElementVNode as r, createCommentVNode as f, normalizeClass as O, createVNode as m, unref as c, withKeys as N, createSlots as Q, withCtx as h, toDisplayString as A, renderList as D, createBlock as S, nextTick as E } from "vue";
2
- import { d as F, aA as I, aB as U, B as w } from "./index-DdH3wo6I.js";
2
+ import { d as F, aA as I, aB as U, B as w } from "./index-Bl4-MlMa.js";
3
3
  import { _ as j } from "./OcIcon-BedshzZm.js";
4
4
  const q = { class: "flex gap-x-4" }, L = { class: "flex gap-x-2 items-center pl-2 text-oc-text-400 font-medium text-sm" }, T = { class: "p-2 flex flex-col" }, P = {
5
5
  __name: "OcFilterSearch",
@@ -1,5 +1,5 @@
1
1
  import { computed as h, createBlock as c, createCommentVNode as k, openBlock as a, unref as o, withCtx as y, createElementVNode as f, createElementBlock as v, createVNode as F, Fragment as p, renderList as b } from "vue";
2
- import { O as $, av as m } from "./index-DdH3wo6I.js";
2
+ import { O as $, av as m } from "./index-Bl4-MlMa.js";
3
3
  const w = { class: "flex gap-1 items-center normal-case flex-wrap" }, N = {
4
4
  __name: "OcFilterSearchFor",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { ref as o, createBlock as v, openBlock as d, unref as r, withCtx as x, createVNode as C } from "vue";
2
- import { aC as O } from "./index-DdH3wo6I.js";
3
- import b from "./OcCropper-CuMnd2M3.js";
2
+ import { aC as O } from "./index-Bl4-MlMa.js";
3
+ import b from "./OcCropper-DMvRM32l.js";
4
4
  const h = {
5
5
  __name: "OcModalCropper",
6
6
  props: {
@@ -1,5 +1,5 @@
1
1
  import { ref as n, watch as g, createBlock as m, openBlock as s, unref as o, withCtx as p, createVNode as v, createCommentVNode as y } from "vue";
2
- import { aA as S, d as h, aK as D } from "./index-DdH3wo6I.js";
2
+ import { aA as S, d as h, aK as D } from "./index-Bl4-MlMa.js";
3
3
  import c from "dayjs";
4
4
  const w = {
5
5
  __name: "OcTimePicker",
@@ -1,4 +1,4 @@
1
- import { ay as r } from "../../index-DdH3wo6I.js";
1
+ import { ay as r } from "../../index-Bl4-MlMa.js";
2
2
  export {
3
3
  r as ConfirmationModal
4
4
  };
@@ -1,4 +1,4 @@
1
- import { az as a } from "../../index-DdH3wo6I.js";
1
+ import { az as a } from "../../index-Bl4-MlMa.js";
2
2
  export {
3
3
  a as CopyTooltip
4
4
  };
@@ -1,4 +1,4 @@
1
- import { aA as r, aB as p } from "../../index-DdH3wo6I.js";
1
+ import { aA as r, aB as p } from "../../index-Bl4-MlMa.js";
2
2
  export {
3
3
  r as Dropdown,
4
4
  p as DropdownItem
@@ -1,4 +1,4 @@
1
- import { aC as d, aD as e } from "../../index-DdH3wo6I.js";
1
+ import { aC as d, aD as e } from "../../index-Bl4-MlMa.js";
2
2
  export {
3
3
  d as Modal,
4
4
  e as OcModalPage
@@ -1,4 +1,4 @@
1
- import { aE as r } from "../../index-DdH3wo6I.js";
1
+ import { aE as r } from "../../index-Bl4-MlMa.js";
2
2
  export {
3
3
  r as SupportMenu
4
4
  };
@@ -1,4 +1,4 @@
1
- import { aF as p } from "../../index-DdH3wo6I.js";
1
+ import { aF as p } from "../../index-Bl4-MlMa.js";
2
2
  export {
3
3
  p as Tooltip
4
4
  };
@@ -1,4 +1,4 @@
1
- import { aG as e } from "../../index-DdH3wo6I.js";
1
+ import { aG as e } from "../../index-Bl4-MlMa.js";
2
2
  export {
3
3
  e as WhiteList
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { computed as l, createElementBlock as o, openBlock as a, normalizeClass as d, createElementVNode as e, createBlock as x, createCommentVNode as u, toDisplayString as r, unref as m, createTextVNode as v, Fragment as T, renderList as k, createVNode as P } from "vue";
2
- import { av as _, B as w } from "./index-DdH3wo6I.js";
2
+ import { av as _, B as w } from "./index-Bl4-MlMa.js";
3
3
  import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import { _ as F } from "./OcIcon-BedshzZm.js";
5
5
  const B = { class: "z-10 flex flex-col gap-4 p-9 relative" }, E = { class: "flex items-center gap-4" }, A = { class: "font-medium text-xl" }, N = { class: "flex gap-3 items-center mb-5" }, S = { class: "flex items-start gap-2" }, V = { class: "text-[24px] font-medium tracking-tighter" }, q = { class: "text-[40px] leading-none font-medium" }, z = { key: 0 }, $ = {
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as a, openBlock as d, createElementVNode as t, createVNode as o, unref as i, toDisplayString as r } from "vue";
2
- import { B as n } from "./index-DdH3wo6I.js";
2
+ import { B as n } from "./index-Bl4-MlMa.js";
3
3
  const m = { class: "flex flex-col" }, u = { class: "w-full relative group" }, f = { class: "w-full h-full bg-black/25 absolute top-0 left-0 hidden group-hover:flex rounded-lg" }, v = { class: "w-full px-6 gap-3 m-auto flex" }, b = ["src", "alt"], g = { class: "mt-4 text-md text-center" }, x = {
4
4
  __name: "ThumbnailSection",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as s, openBlock as i, normalizeClass as f, createElementVNode as l, Fragment as b, createCommentVNode as u, createVNode as m, createBlock as r, unref as a, createTextVNode as c, toDisplayString as g, withCtx as v } from "vue";
2
- import { B as d, av as h } from "./index-DdH3wo6I.js";
2
+ import { B as d, av as h } from "./index-Bl4-MlMa.js";
3
3
  import { _ as k } from "./OcIcon-BedshzZm.js";
4
4
  const x = { class: "w-full relative group" }, y = {
5
5
  key: 0,