@orchidui/core 1.0.8 → 1.0.11

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 (79) 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 +1 -1
  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/TextArea/OcTextArea.js +1 -1
  54. package/dist/Form/index.js +1 -1
  55. package/dist/FormBuilder/OcFormBuilder.js +1 -1
  56. package/dist/{OcComplexCalendar-CIVengZ-.js → OcComplexCalendar-9rZbu59e.js} +1 -1
  57. package/dist/{OcComplexDatePicker-CF1YFQcW.js → OcComplexDatePicker-e9PArxZ1.js} +1 -1
  58. package/dist/{OcCropper-DUjA1GBN.js → OcCropper-B6ij7yY3.js} +1 -1
  59. package/dist/{OcDataTable-jEi8nv49.js → OcDataTable-BTgZYC64.js} +117 -117
  60. package/dist/{OcDraggableList-zuwcLtbA.js → OcDraggableList-BYzUbyJX.js} +1 -1
  61. package/dist/{OcEmojiPicker-CB3pj0zm.js → OcEmojiPicker-8a8G8-nU.js} +1 -1
  62. package/dist/{OcFilterForm-Cjh9_XCp.js → OcFilterForm-HRZ8LgFL.js} +1 -1
  63. package/dist/{OcFilterSearch-uwvSa4T-.js → OcFilterSearch-7oHB9RkR.js} +1 -1
  64. package/dist/{OcFilterSearchFor-slPlYfnK.js → OcFilterSearchFor-BvvqJ-b-.js} +1 -1
  65. package/dist/{OcModalCropper-DPHzg5DA.js → OcModalCropper-_JTW2Uvu.js} +2 -2
  66. package/dist/{OcTimePicker-CKpg4fbP.js → OcTimePicker-DM8yNBD3.js} +1 -1
  67. package/dist/Overlay/ConfirmationModal/OcConfirmationModal.js +1 -1
  68. package/dist/Overlay/CopyTooltip/OcCopyTooltip.js +1 -1
  69. package/dist/Overlay/Dropdown/OcDropdown.js +1 -1
  70. package/dist/Overlay/Modal/OcModal.js +1 -1
  71. package/dist/Overlay/SupportMenu/OcSupportMenu.js +1 -1
  72. package/dist/Overlay/Tooltip/OcTooltip.js +1 -1
  73. package/dist/Overlay/Whitelist/OcWhiteList.js +1 -1
  74. package/dist/{SubPlanCard-1SpYv17Z.js → SubPlanCard-60j8QhAA.js} +1 -1
  75. package/dist/{ThumbnailSection-BlC_pHTK.js → ThumbnailSection-DfeUfddb.js} +1 -1
  76. package/dist/{ThumbnailTheme-BDN3LEJ8.js → ThumbnailTheme-6GIOokSb.js} +1 -1
  77. package/dist/{index-Dr8aLhn5.js → index-D87rwdFq.js} +236 -232
  78. package/dist/index.js +1 -1
  79. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { ref as A, onMounted as Ve, openBlock as i, createBlock as K, unref as y, withCtx as $, createElementVNode as q, createElementBlock as x, createVNode as U, mergeProps as ge, Fragment as ee, renderList as ae, normalizeClass as te, toDisplayString as be, createCommentVNode as k, computed as j, createSlots as Re, renderSlot as C, normalizeProps as ke, guardReactiveProps as he } from "vue";
2
- import { as as Fe, b as qe, B as Ee, L as _e, Y as Je, aD as ze, aE as He, aF as Ge, I as We, J as xe, k as Xe } from "./index-Dr8aLhn5.js";
2
+ import { as as Fe, b as qe, B as Ee, L as _e, Y as Je, aD as ze, aE as He, aF as Ge, I as We, J as xe, k as Xe } from "./index-D87rwdFq.js";
3
3
  import le from "dayjs";
4
4
  import { VueDraggableNext as we } from "vue-draggable-next";
5
5
  import { getFromLocalStorage as se, formatHeadersFromLocalStorage as Oe, formatHeadersToLocalStorage as Ze, setInLocalStorage as $e } from "./DataTable/utils/editColumnsUtils.js";
@@ -10,7 +10,7 @@ const el = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, ll = {
10
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
- }, sl = { class: "flex items-center w-full gap-x-3" }, ol = { 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: {
@@ -28,7 +28,7 @@ const el = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, ll = {
28
28
  },
29
29
  emits: ["change-active", "onMoved", "update-order"],
30
30
  setup(D, { emit: Z }) {
31
- const d = Z, V = D, v = A([]), f = A([]), T = A(!1), S = (a = !1) => {
31
+ const d = Z, F = D, v = A([]), f = A([]), T = A(!1), S = (a = !1) => {
32
32
  f.value = f.value.map((p) => ({
33
33
  ...p,
34
34
  isActive: !0
@@ -47,12 +47,12 @@ const el = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, ll = {
47
47
  "onUpdate:modelValue": () => S()
48
48
  };
49
49
  return Ve(() => {
50
- const a = se(V.localKey), { fixed: p, active: m } = Oe(a, V.headers, V.localKey);
51
- f.value = p || V.headers.slice(0, 1), v.value = m || V.headers.slice(1).map((h) => {
52
- var F, B, P;
50
+ const a = se(F.localKey), { fixed: p, active: m } = Oe(a, F.headers, F.localKey);
51
+ f.value = p || F.headers.slice(0, 1), v.value = m || F.headers.slice(1).map((h) => {
52
+ var V, B, P;
53
53
  return {
54
54
  ...h,
55
- isActive: ((P = (B = (F = V.options) == null ? void 0 : F.active) == null ? void 0 : B.find((X) => X.key === h.key)) == null ? void 0 : P.isActive) ?? !0
55
+ isActive: ((P = (B = (V = F.options) == null ? void 0 : V.active) == null ? void 0 : B.find((X) => X.key === h.key)) == null ? void 0 : P.isActive) ?? !0
56
56
  };
57
57
  }), S(!0);
58
58
  }), (a, p) => (i(), K(y(Fe), {
@@ -136,7 +136,7 @@ const el = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, ll = {
136
136
  _: 1
137
137
  }, 8, ["modelValue"]));
138
138
  }
139
- }, ul = { class: "flex flex-col gap-9 relative" }, il = {
139
+ }, rl = { class: "flex flex-col gap-9 relative" }, il = {
140
140
  key: 0,
141
141
  class: "flex items-center px-4 min-h-[52px]"
142
142
  }, nl = {
@@ -189,37 +189,37 @@ const el = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, ll = {
189
189
  "hover:cell": []
190
190
  },
191
191
  setup(D, { emit: Z }) {
192
- var ue, ie, ne, de, ve, ce, fe, pe, me;
193
- const d = D, V = Z, v = j(() => {
194
- var l;
195
- return (l = d.options) == null ? void 0 : l.pagination;
192
+ var re, ie, ne, de, ve, ce, fe, pe, me;
193
+ const d = D, F = Z, v = j(() => {
194
+ var e;
195
+ return (e = d.options) == null ? void 0 : e.pagination;
196
196
  }), f = j(() => {
197
- var l;
198
- return (l = d.options) == null ? void 0 : l.cursor;
197
+ var e;
198
+ return (e = d.options) == null ? void 0 : e.cursor;
199
199
  }), T = A(), S = j(() => {
200
- var l;
201
- return (l = d.options) == null ? void 0 : l.tableOptions;
200
+ var e;
201
+ return (e = d.options) == null ? void 0 : e.tableOptions;
202
202
  }), W = j(() => {
203
- var l;
203
+ var e;
204
204
  return {
205
205
  ...S.value,
206
- headers: T.value ? T.value.filter((e) => re(e.key)) : (l = S.value) == null ? void 0 : l.headers.filter((e) => re(e.key))
206
+ headers: T.value ? T.value.filter((l) => ue(l.key)) : (e = S.value) == null ? void 0 : e.headers.filter((l) => ue(l.key))
207
207
  };
208
208
  }), a = j(() => {
209
- var l;
210
- return (l = d.options) == null ? void 0 : l.filterOptions;
209
+ var e;
210
+ return (e = d.options) == null ? void 0 : e.filterOptions;
211
211
  }), p = j(() => {
212
- var l;
213
- return (l = d.options) == null ? void 0 : l.hidePerPageDropdown;
212
+ var e;
213
+ return (e = d.options) == null ? void 0 : e.hidePerPageDropdown;
214
214
  }), m = j(() => {
215
- var l;
216
- return ((l = v.value) == null ? void 0 : l.last_page) === 1;
217
- }), h = A(!1), F = A(d.filter[(ie = (ue = a.value) == null ? void 0 : ue.tabs) == null ? void 0 : ie.key]), B = A(d.filter.page), P = A(
215
+ var e;
216
+ return ((e = v.value) == null ? void 0 : e.last_page) === 1;
217
+ }), h = A(!1), V = A(d.filter[(ie = (re = a.value) == null ? void 0 : re.tabs) == null ? void 0 : ie.key]), B = A(d.filter.page), P = A(
218
218
  (de = (ne = a.value) == null ? void 0 : ne.per_page) != null && de.key ? d.filter[(ce = (ve = a.value) == null ? void 0 : ve.per_page) == null ? void 0 : ce.key] : d.filter.per_page
219
219
  ), X = ((me = d.filter[(pe = (fe = a.value) == null ? void 0 : fe.search) == null ? void 0 : pe.key]) == null ? void 0 : me.trim()) ?? "", M = A(X ? X.split(",") : []), oe = A(!1), je = j(
220
220
  () => {
221
- var l, e;
222
- return (e = (l = d.options) == null ? void 0 : l.perPageOptions) == null ? void 0 : e.map(
221
+ var e, l;
222
+ return (l = (e = d.options) == null ? void 0 : e.perPageOptions) == null ? void 0 : l.map(
223
223
  (o) => ({
224
224
  label: `${o}`,
225
225
  value: o
@@ -227,7 +227,7 @@ const el = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, ll = {
227
227
  );
228
228
  }
229
229
  ), Ae = j(() => {
230
- let l = [
230
+ let e = [
231
231
  {
232
232
  label: "10",
233
233
  value: 10
@@ -260,97 +260,97 @@ const el = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, ll = {
260
260
  label: "99",
261
261
  value: 99
262
262
  }
263
- ], e = je.value ?? l;
263
+ ], l = je.value ?? e;
264
264
  if (v.value) {
265
265
  const o = v.value.total < 100 ? v.value.total : 100;
266
- o > 10 && (e = e.filter((r) => r.value <= o));
266
+ o > 10 && (l = l.filter((u) => u.value <= o));
267
267
  }
268
- return [...new Set(e)];
268
+ return [...new Set(l)];
269
269
  }), De = j(() => {
270
- var l;
271
- return ((l = d.selected) == null ? void 0 : l.length) > 0;
272
- }), Pe = (l) => {
273
- !l.trim() || M.value.includes(l) || (a.value ? M.value.push(l) : M.value = [l], E(), V("search-query-changed", l));
274
- }, Le = (l) => {
275
- M.value = M.value.filter((e) => e !== l), E();
270
+ var e;
271
+ return ((e = d.selected) == null ? void 0 : e.length) > 0;
272
+ }), Pe = (e) => {
273
+ !e.trim() || M.value.includes(e) || (a.value ? M.value.push(e) : M.value = [e], E(), F("search-query-changed", e));
274
+ }, Le = (e) => {
275
+ M.value = M.value.filter((l) => l !== e), E();
276
276
  }, Q = d.filter;
277
277
  !Q && v ? Q.page = 1 : !Q && f && (Q.cursor = "");
278
278
  const s = A(Q), Ce = () => {
279
- var e, o, r, n, c, t, g, w;
280
- M.value = [], F.value = "";
281
- const l = {};
282
- a.value ? Q.page = 1 : Q.cursor = "", (o = (e = a.value) == null ? void 0 : e.per_page) != null && o.key ? l[(n = (r = a.value) == null ? void 0 : r.per_page) == null ? void 0 : n.key] = P.value : l.per_page = P.value, (t = (c = a.value) == null ? void 0 : c.tabs) != null && t.key ? l[(w = (g = a.value) == null ? void 0 : g.tabs) == null ? void 0 : w.key] = F.value : l.tabs = F.value, s.value = l, E();
279
+ var l, o, u, n, c, t, g, w;
280
+ M.value = [], V.value = "";
281
+ const e = {};
282
+ a.value ? Q.page = 1 : Q.cursor = "", (o = (l = a.value) == null ? void 0 : l.per_page) != null && o.key ? e[(n = (u = a.value) == null ? void 0 : u.per_page) == null ? void 0 : n.key] = P.value : e.per_page = P.value, (t = (c = a.value) == null ? void 0 : c.tabs) != null && t.key ? e[(w = (g = a.value) == null ? void 0 : g.tabs) == null ? void 0 : w.key] = V.value : e.tabs = V.value, s.value = e, E();
283
283
  }, Ke = () => {
284
284
  E(null, B.value);
285
285
  }, Ye = () => {
286
286
  d.id && $e(d.id, JSON.stringify(s.value));
287
- }, Ue = () => d.id ? se(d.id) : null, E = (l = null, e = !1, o = "") => {
288
- var r, n, c;
289
- v.value && !e && (B.value = 1), v.value ? s.value.page = B.value : s.value.cursor = o, (r = a.value) != null && r.per_page ? s.value[a.value.per_page.key] = P.value : s.value.per_page = P.value, (n = a.value) != null && n.tabs && (s.value[a.value.tabs.key] = F.value), (c = a.value) != null && c.search && (s.value[a.value.search.key] = M.value.join()), l && (h.value = !1, s.value = { ...s.value, ...l }, Object.keys(s.value).forEach((t) => {
287
+ }, Ue = () => d.id ? se(d.id) : null, E = (e = null, l = !1, o = "") => {
288
+ var u, n, c;
289
+ v.value && !l && (B.value = 1), v.value ? s.value.page = B.value : s.value.cursor = o, (u = a.value) != null && u.per_page ? s.value[a.value.per_page.key] = P.value : s.value.per_page = P.value, (n = a.value) != null && n.tabs && (s.value[a.value.tabs.key] = V.value), (c = a.value) != null && c.search && (s.value[a.value.search.key] = M.value.join()), e && (h.value = !1, s.value = { ...s.value, ...e }, Object.keys(s.value).forEach((t) => {
290
290
  Array.isArray(s.value[t]) && s.value[t].length === 0 && delete s.value[t];
291
- })), Ye(), V("update:filter", s.value);
292
- }, Be = (l, e) => {
293
- E(l), V("filter-removed", e);
294
- }, Me = (l) => {
295
- let e = [];
296
- return l.forEach((o) => {
297
- e.push(o.key);
298
- }), e;
291
+ })), Ye(), F("update:filter", s.value);
292
+ }, Be = (e, l) => {
293
+ (e === a.value.tabs.key || e === "tabs") && (V.value = ""), E(e), F("filter-removed", l);
294
+ }, Me = (e) => {
295
+ let l = [];
296
+ return e.forEach((o) => {
297
+ l.push(o.key);
298
+ }), l;
299
299
  }, Ne = j(() => {
300
300
  if (s.value) {
301
- let l = [];
302
- return Object.keys(s.value).forEach((e) => {
301
+ let e = [];
302
+ return Object.keys(s.value).forEach((l) => {
303
303
  var c, t, g, w, R, N, _, J, z, H, G;
304
304
  let o = (t = (c = a.value) == null ? void 0 : c.tabs) == null ? void 0 : t.key;
305
- const r = (w = (g = a.value) == null ? void 0 : g.search) == null ? void 0 : w.key, n = ((N = (R = a.value) == null ? void 0 : R.per_page) == null ? void 0 : N.key) ?? "per_page";
305
+ const u = (w = (g = a.value) == null ? void 0 : g.search) == null ? void 0 : w.key, n = ((N = (R = a.value) == null ? void 0 : R.per_page) == null ? void 0 : N.key) ?? "per_page";
306
306
  if ((_ = a.value.form) == null || _.find((b) => {
307
307
  b.name === o && (o = "");
308
- }), e !== "page" && e !== "cursor" && e !== n && e !== o && e !== r) {
309
- let b = null, u = (J = a.value.form) == null ? void 0 : J.find((Y) => {
308
+ }), l !== "page" && l !== "cursor" && l !== n && l !== o && l !== u) {
309
+ let b = null, r = (J = a.value.form) == null ? void 0 : J.find((Y) => {
310
310
  if (typeof Y.name == "object") {
311
311
  let L = !1;
312
312
  return Y.name.forEach((I) => {
313
- I.key === e && (L = !0, b = Me(Y.name));
313
+ I.key === l && (L = !0, b = Me(Y.name));
314
314
  }), L;
315
315
  } else
316
- return Y.name === e;
316
+ return Y.name === l;
317
317
  }), O = "";
318
- if (u && s.value[e]) {
319
- if (typeof u.name == "object" ? (z = u.name) == null || z.forEach((L) => {
318
+ if (r && s.value[l]) {
319
+ if (typeof r.name == "object" ? (z = r.name) == null || z.forEach((L) => {
320
320
  O && (O += " - "), O += s.value[L.key];
321
- }) : O = s.value[e], u.props.options && (O = (u.props.multiple ? s.value[e] : [s.value[e]]).map(
321
+ }) : O = s.value[l], r.props.options && (O = (r.props.multiple ? s.value[l] : [s.value[l]]).map(
322
322
  (I) => {
323
323
  var ye;
324
- return (ye = u.props.options.find(({ value: Qe }) => Qe === I)) == null ? void 0 : ye.label;
324
+ return (ye = r.props.options.find(({ value: Qe }) => Qe === I)) == null ? void 0 : ye.label;
325
325
  }
326
- ).join(", ")), u.type === "RangeInput" && Array.isArray(s.value[e]) && (O = s.value[e][0].toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") + " - " + s.value[e][1].toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")), u.type === "DatePicker")
327
- if (((H = u == null ? void 0 : u.props) == null ? void 0 : H.type) === "range" && u.name && u.name[1]) {
328
- const L = le(s.value[u.name[0].key]).format("MM/DD/YYYY"), I = le(s.value[u.name[1].key]).format("MM/DD/YYYY");
326
+ ).join(", ")), r.type === "RangeInput" && Array.isArray(s.value[l]) && (O = s.value[l][0].toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") + " - " + s.value[l][1].toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")), r.type === "DatePicker")
327
+ if (((H = r == null ? void 0 : r.props) == null ? void 0 : H.type) === "range" && r.name && r.name[1]) {
328
+ const L = le(s.value[r.name[0].key]).format("MM/DD/YYYY"), I = le(s.value[r.name[1].key]).format("MM/DD/YYYY");
329
329
  O = L === I ? L : L + " - " + I;
330
- } else O = le(s.value[u.name]).format("MM/DD/YYYY");
331
- let Y = `${(G = u == null ? void 0 : u.props) == null ? void 0 : G.label} : ${O}`;
332
- u && u.name && typeof u.name == "object" && l.find((I) => I.name === b[0]) && (Y = ""), l.push({
330
+ } else O = le(s.value[r.name]).format("MM/DD/YYYY");
331
+ let Y = `${(G = r == null ? void 0 : r.props) == null ? void 0 : G.label} : ${O}`;
332
+ r && r.name && typeof r.name == "object" && e.find((I) => I.name === b[0]) && (Y = ""), e.push({
333
333
  label: Y,
334
- name: e,
334
+ name: l,
335
335
  multiNames: b
336
336
  });
337
337
  }
338
338
  }
339
- }), l;
339
+ }), e;
340
340
  }
341
341
  return [];
342
- }), re = (l) => {
343
- var e, o, r, n, c, t;
344
- return ((t = (c = (n = (r = s.value) == null ? void 0 : r[(o = (e = a.value) == null ? void 0 : e.columnEdit) == null ? void 0 : o.key]) == null ? void 0 : n.active) == null ? void 0 : c.find((g) => g.key === l)) == null ? void 0 : t.isActive) ?? !0;
345
- }, Ie = ({ fixedHeaders: l, activeHeaders: e, isOnMount: o }) => {
346
- var r, n, c, t;
347
- if (s.value[(n = (r = a.value) == null ? void 0 : r.columnEdit) == null ? void 0 : n.key].fixed = l, s.value[(t = (c = a.value) == null ? void 0 : c.columnEdit) == null ? void 0 : t.key].active = e, T.value = [...l, ...e], !o) {
348
- const g = Ze(l, e);
342
+ }), ue = (e) => {
343
+ var l, o, u, n, c, t;
344
+ return ((t = (c = (n = (u = s.value) == null ? void 0 : u[(o = (l = a.value) == null ? void 0 : l.columnEdit) == null ? void 0 : o.key]) == null ? void 0 : n.active) == null ? void 0 : c.find((g) => g.key === e)) == null ? void 0 : t.isActive) ?? !0;
345
+ }, Ie = ({ fixedHeaders: e, activeHeaders: l, isOnMount: o }) => {
346
+ var u, n, c, t;
347
+ if (s.value[(n = (u = a.value) == null ? void 0 : u.columnEdit) == null ? void 0 : n.key].fixed = e, s.value[(t = (c = a.value) == null ? void 0 : c.columnEdit) == null ? void 0 : t.key].active = l, T.value = [...e, ...l], !o) {
348
+ const g = Ze(e, l);
349
349
  $e(a.value.columnEdit.localStorageKey, g);
350
350
  }
351
351
  }, Te = () => {
352
- var l, e, o, r, n, c;
353
- if ((e = (l = a.value) == null ? void 0 : l.columnEdit) != null && e.localStorageKey) {
352
+ var e, l, o, u, n, c;
353
+ if ((l = (e = a.value) == null ? void 0 : e.columnEdit) != null && l.localStorageKey) {
354
354
  const t = se(a.value.columnEdit.localStorageKey);
355
355
  if (t) {
356
356
  const { fixed: g, active: w } = Oe(
@@ -358,18 +358,18 @@ const el = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, ll = {
358
358
  S.value.headers,
359
359
  a.value.columnEdit.localStorageKey
360
360
  );
361
- s.value[(r = (o = a.value) == null ? void 0 : o.columnEdit) == null ? void 0 : r.key].fixed = g, s.value[(c = (n = a.value) == null ? void 0 : n.columnEdit) == null ? void 0 : c.key].active = w, T.value = [...g, ...w];
361
+ s.value[(u = (o = a.value) == null ? void 0 : o.columnEdit) == null ? void 0 : u.key].fixed = g, s.value[(c = (n = a.value) == null ? void 0 : n.columnEdit) == null ? void 0 : c.key].active = w, T.value = [...g, ...w];
362
362
  }
363
363
  }
364
364
  };
365
365
  return Ve(() => {
366
- var e, o, r, n;
366
+ var l, o, u, n;
367
367
  Te();
368
- const l = Ue();
369
- l && (s.value = JSON.parse(l), F.value = F.value || ((e = s.value) == null ? void 0 : e.tabs) || ((n = s.value) == null ? void 0 : n[(r = (o = a.value) == null ? void 0 : o.tabs) == null ? void 0 : r.key]), E());
370
- }), (l, e) => {
371
- var o, r, n, c;
372
- return i(), x("div", ul, [
368
+ const e = Ue();
369
+ e && (s.value = JSON.parse(e), V.value = V.value || ((l = s.value) == null ? void 0 : l.tabs) || ((n = s.value) == null ? void 0 : n[(u = (o = a.value) == null ? void 0 : o.tabs) == null ? void 0 : u.key]), E());
370
+ }), (e, l) => {
371
+ var o, u, n, c;
372
+ return i(), x("div", rl, [
373
373
  S.value ? (i(), K(y(_e), {
374
374
  key: 0,
375
375
  selected: D.selected,
@@ -381,46 +381,46 @@ const el = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, ll = {
381
381
  "row-link": D.rowLink,
382
382
  "is-sticky": S.value.isSticky,
383
383
  "is-borderless": S.value.isBorderless,
384
- "onUpdate:selected": e[7] || (e[7] = (t) => l.$emit("update:selected", t)),
385
- "onClick:row": e[8] || (e[8] = (t) => l.$emit("click:row", t)),
386
- "onHover:cell": e[9] || (e[9] = (t) => l.$emit("hover:cell", t))
384
+ "onUpdate:selected": l[7] || (l[7] = (t) => e.$emit("update:selected", t)),
385
+ "onClick:row": l[8] || (l[8] = (t) => e.$emit("click:row", t)),
386
+ "onHover:cell": l[9] || (l[9] = (t) => e.$emit("hover:cell", t))
387
387
  }, Re({
388
388
  after: $(() => [
389
- C(l.$slots, "after")
389
+ C(e.$slots, "after")
390
390
  ]),
391
391
  empty: $(() => [
392
- C(l.$slots, "empty")
392
+ C(e.$slots, "empty")
393
393
  ]),
394
394
  "table-header": $((t) => [
395
- C(l.$slots, "table-header", ke(he(t)))
395
+ C(e.$slots, "table-header", ke(he(t)))
396
396
  ]),
397
397
  "table-body": $((t) => [
398
- C(l.$slots, "table-body", ke(he(t)))
398
+ C(e.$slots, "table-body", ke(he(t)))
399
399
  ]),
400
400
  _: 2
401
401
  }, [
402
- l.$slots.before || (o = a.value) != null && o.search || (r = a.value) != null && r.form || (n = a.value) != null && n.tabs ? {
402
+ e.$slots.before || (o = a.value) != null && o.search || (u = a.value) != null && u.form || (n = a.value) != null && n.tabs ? {
403
403
  name: "before",
404
404
  fn: $(() => {
405
405
  var t, g, w, R;
406
406
  return [
407
- C(l.$slots, "before"),
407
+ C(e.$slots, "before"),
408
408
  (t = a.value) != null && t.search || (g = a.value) != null && g.form || (w = a.value) != null && w.tabs ? (i(), x("div", il, [
409
409
  De.value ? (i(), x("div", nl, [
410
- C(l.$slots, "bulk-actions", { selectedRows: D.selected })
410
+ C(e.$slots, "bulk-actions", { selectedRows: D.selected })
411
411
  ])) : (i(), x("div", dl, [
412
412
  (R = a.value) != null && R.tabs ? (i(), K(y(Je), {
413
413
  key: 0,
414
- modelValue: F.value,
414
+ modelValue: V.value,
415
415
  "onUpdate:modelValue": [
416
- e[0] || (e[0] = (N) => F.value = N),
417
- e[1] || (e[1] = (N) => E(null))
416
+ l[0] || (l[0] = (N) => V.value = N),
417
+ l[1] || (l[1] = (N) => E(null))
418
418
  ],
419
419
  tabs: a.value.tabs.options,
420
420
  variant: "pills"
421
421
  }, null, 8, ["modelValue", "tabs"])) : k("", !0)
422
422
  ])),
423
- C(l.$slots, "filter-options", {}, () => {
423
+ C(e.$slots, "filter-options", {}, () => {
424
424
  var N, _, J, z, H, G;
425
425
  return [
426
426
  (N = a.value) != null && N.search || (_ = a.value) != null && _.form || (J = a.value) != null && J.columnEdit ? (i(), x("div", {
@@ -434,12 +434,12 @@ const el = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, ll = {
434
434
  key: 0,
435
435
  "is-search-only": !a.value.tabs || a.value.isSearchOnly,
436
436
  onAddQuery: Pe,
437
- onToggle: e[2] || (e[2] = (b) => oe.value = b)
437
+ onToggle: l[2] || (l[2] = (b) => oe.value = b)
438
438
  }, null, 8, ["is-search-only"])) : k("", !0),
439
439
  (H = a.value) != null && H.form ? (i(), K(y(Fe), {
440
440
  key: 1,
441
441
  modelValue: h.value,
442
- "onUpdate:modelValue": e[6] || (e[6] = (b) => h.value = b),
442
+ "onUpdate:modelValue": l[6] || (l[6] = (b) => h.value = b),
443
443
  distance: 9,
444
444
  placement: "bottom-end",
445
445
  "is-attach-to-body": ""
@@ -452,14 +452,14 @@ const el = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, ll = {
452
452
  grid: a.value.grid ?? null,
453
453
  values: d.filter,
454
454
  actions: a.value.actions,
455
- onApplyFilter: e[3] || (e[3] = (b) => E(b)),
456
- onFilterFieldsChanged: e[4] || (e[4] = (b) => V("filter-fields-changed", b)),
457
- onCancel: e[5] || (e[5] = (b) => h.value = !1)
455
+ onApplyFilter: l[3] || (l[3] = (b) => E(b)),
456
+ onFilterFieldsChanged: l[4] || (l[4] = (b) => F("filter-fields-changed", b)),
457
+ onCancel: l[5] || (l[5] = (b) => h.value = !1)
458
458
  }, {
459
- default: $(({ errors: b, values: u, jsonForm: O, updateForm: Y }) => [
460
- C(l.$slots, "custom-filter-form", {
459
+ default: $(({ errors: b, values: r, jsonForm: O, updateForm: Y }) => [
460
+ C(e.$slots, "custom-filter-form", {
461
461
  errors: b,
462
- values: u,
462
+ values: r,
463
463
  jsonForm: O,
464
464
  updateFilter: Y
465
465
  })
@@ -476,7 +476,7 @@ const el = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, ll = {
476
476
  ]),
477
477
  _: 3
478
478
  }, 8, ["modelValue"])) : k("", !0),
479
- a.value.columnEdit ? (i(), K(rl, {
479
+ a.value.columnEdit ? (i(), K(ul, {
480
480
  key: 2,
481
481
  options: s.value.columnEdit,
482
482
  headers: ((G = S.value) == null ? void 0 : G.headers) || [],
@@ -502,14 +502,14 @@ const el = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, ll = {
502
502
  ae((c = S.value) == null ? void 0 : c.headers, (t, g) => ({
503
503
  name: t.key,
504
504
  fn: $(({ data: w, item: R }) => [
505
- C(l.$slots, t.key, {
505
+ C(e.$slots, t.key, {
506
506
  data: w,
507
507
  item: R
508
508
  })
509
509
  ])
510
510
  }))
511
511
  ]), 1032, ["selected", "row-key", "options", "is-loading", "loading-rows", "row-class", "row-link", "is-sticky", "is-borderless"])) : k("", !0),
512
- C(l.$slots, "before-pagination"),
512
+ C(e.$slots, "before-pagination"),
513
513
  v.value || f.value ? (i(), x("div", {
514
514
  key: 1,
515
515
  class: te(["flex gap-3 items-center", v.value && v.value.last_page === 1 ? "justify-end" : ""])
@@ -518,7 +518,7 @@ const el = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, ll = {
518
518
  key: 0,
519
519
  modelValue: B.value,
520
520
  "onUpdate:modelValue": [
521
- e[10] || (e[10] = (t) => B.value = t),
521
+ l[10] || (l[10] = (t) => B.value = t),
522
522
  Ke
523
523
  ],
524
524
  class: "justify-center",
@@ -529,20 +529,20 @@ const el = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, ll = {
529
529
  f.value ? (i(), x("div", vl, [
530
530
  U(y(xe), {
531
531
  disabled: !f.value.prev,
532
- onClick: e[11] || (e[11] = (t) => f.value.prev ? E(null, !1, f.value.prev) : null)
532
+ onClick: l[11] || (l[11] = (t) => f.value.prev ? E(null, !1, f.value.prev) : null)
533
533
  }, null, 8, ["disabled"]),
534
534
  U(y(xe), {
535
535
  disabled: !f.value.next,
536
536
  "is-next": "",
537
- onClick: e[12] || (e[12] = (t) => f.value.next ? E(null, !1, f.value.next) : null)
537
+ onClick: l[12] || (l[12] = (t) => f.value.next ? E(null, !1, f.value.next) : null)
538
538
  }, null, 8, ["disabled"])
539
539
  ])) : k("", !0),
540
540
  p.value ? k("", !0) : (i(), x("div", cl, [
541
541
  U(y(Xe), {
542
542
  modelValue: P.value,
543
543
  "onUpdate:modelValue": [
544
- e[13] || (e[13] = (t) => P.value = t),
545
- e[14] || (e[14] = (t) => E(null))
544
+ l[13] || (l[13] = (t) => P.value = t),
545
+ l[14] || (l[14] = (t) => E(null))
546
546
  ],
547
547
  label: "Item per page",
548
548
  "is-inline-label": "",
@@ -1,5 +1,5 @@
1
1
  import { ref as p, openBlock as c, createBlock as y, unref as t, withCtx as n, createElementBlock as m, Fragment as K, renderList as C, normalizeClass as s, createElementVNode as o, createCommentVNode as b, renderSlot as u, toDisplayString as k, createVNode as f } from "vue";
2
- import { aB as $, ax as B, as as M } from "./index-Dr8aLhn5.js";
2
+ import { aB as $, ax as B, as as M } from "./index-D87rwdFq.js";
3
3
  import { _ as h } from "./OcIcon-CJgBICxh.js";
4
4
  const S = ["onMouseleave", "onMouseover", "onClick"], L = { class: "flex justify-evenly w-full" }, N = { class: "flex w-full" }, U = { class: "ml-4 flex w-full" }, E = { class: "flex items-center flex-wrap w-full" }, O = ["href"], W = { class: "min-w-[120px]" }, j = { class: "truncate w-[200px]" }, z = { class: "flex items-center ml-4" }, A = { class: "flex w-full" }, q = {
5
5
  __name: "OcDraggableList",
@@ -1,5 +1,5 @@
1
1
  import { ref as m, computed as p, openBlock as s, createElementBlock as l, createVNode as f, unref as c, withCtx as v, createElementVNode as n, Fragment as T, renderList as V, normalizeClass as k, createTextVNode as C, createBlock as N, createCommentVNode as z } from "vue";
2
- import { as as U, e as J, B as b } from "./index-Dr8aLhn5.js";
2
+ import { as as U, e as J, B as b } from "./index-D87rwdFq.js";
3
3
  import { EMOJI_LIST as a, EMOJI_CATEGORIES as P } from "./Form/EmojiPicker/conts/emoji.js";
4
4
  import { _ as A } 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 c, onMounted as B, openBlock as O, createElementBlock as k, renderSlot as w, createElementVNode as f, createVNode as u, unref as i } from "vue";
2
- import { w as $, B as m } from "./index-Dr8aLhn5.js";
2
+ import { w as $, B as m } from "./index-D87rwdFq.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 o, openBlock as t, createElementBlock as s, Fragment as g, createElementVNode as c, normalizeClass as m, createVNode as x, unref as u, withKeys as S, createBlock as d, createCommentVNode as v, nextTick as w } from "vue";
2
- import { e as O, B as f } from "./index-Dr8aLhn5.js";
2
+ import { e as O, B as f } from "./index-D87rwdFq.js";
3
3
  const B = { class: "flex gap-x-4" }, $ = {
4
4
  __name: "OcFilterSearch",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { computed as k, openBlock as a, createBlock as m, unref as o, withCtx as x, createElementVNode as f, createElementBlock as v, Fragment as b, renderList as p, createVNode as F, createCommentVNode as $ } from "vue";
2
- import { N as y, an as i } from "./index-Dr8aLhn5.js";
2
+ import { N as y, an as i } from "./index-D87rwdFq.js";
3
3
  const N = { class: "flex gap-1 items-center normal-case flex-wrap" }, R = {
4
4
  __name: "OcFilterSearchFor",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { ref as n, openBlock as r, createBlock as f, unref as p, withCtx as g, createVNode as v } from "vue";
2
- import { au as d } from "./index-Dr8aLhn5.js";
3
- import x from "./OcCropper-DUjA1GBN.js";
2
+ import { au as d } from "./index-D87rwdFq.js";
3
+ import x from "./OcCropper-B6ij7yY3.js";
4
4
  const S = {
5
5
  __name: "OcModalCropper",
6
6
  props: {
@@ -1,5 +1,5 @@
1
1
  import { ref as n, watch as g, openBlock as m, createBlock as s, unref as o, withCtx as p, createCommentVNode as v, createVNode as y } from "vue";
2
- import { as as S, aC as h, e as D } from "./index-Dr8aLhn5.js";
2
+ import { as as S, aC as h, e as D } from "./index-D87rwdFq.js";
3
3
  import c from "dayjs";
4
4
  const w = {
5
5
  __name: "OcTimePicker",
@@ -1,4 +1,4 @@
1
- import { aq as r } from "../../index-Dr8aLhn5.js";
1
+ import { aq as r } from "../../index-D87rwdFq.js";
2
2
  export {
3
3
  r as ConfirmationModal
4
4
  };
@@ -1,4 +1,4 @@
1
- import { ar as r } from "../../index-Dr8aLhn5.js";
1
+ import { ar as r } from "../../index-D87rwdFq.js";
2
2
  export {
3
3
  r as CopyTooltip
4
4
  };
@@ -1,4 +1,4 @@
1
- import { as as r, at as p } from "../../index-Dr8aLhn5.js";
1
+ import { as as r, at as p } from "../../index-D87rwdFq.js";
2
2
  export {
3
3
  r as Dropdown,
4
4
  p as DropdownItem
@@ -1,4 +1,4 @@
1
- import { au as d, av as e } from "../../index-Dr8aLhn5.js";
1
+ import { au as d, av as e } from "../../index-D87rwdFq.js";
2
2
  export {
3
3
  d as Modal,
4
4
  e as OcModalPage
@@ -1,4 +1,4 @@
1
- import { aw as r } from "../../index-Dr8aLhn5.js";
1
+ import { aw as r } from "../../index-D87rwdFq.js";
2
2
  export {
3
3
  r as SupportMenu
4
4
  };
@@ -1,4 +1,4 @@
1
- import { ax as p } from "../../index-Dr8aLhn5.js";
1
+ import { ax as p } from "../../index-D87rwdFq.js";
2
2
  export {
3
3
  p as Tooltip
4
4
  };
@@ -1,4 +1,4 @@
1
- import { ay as e } from "../../index-Dr8aLhn5.js";
1
+ import { ay as e } from "../../index-D87rwdFq.js";
2
2
  export {
3
3
  e as WhiteList
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { computed as l, openBlock as a, createElementBlock as o, normalizeClass as d, createElementVNode as e, toDisplayString as r, createBlock as x, unref as u, createCommentVNode as m, createTextVNode as v, Fragment as T, renderList as k, createVNode as P } from "vue";
2
- import { an as _, B as w } from "./index-Dr8aLhn5.js";
2
+ import { an as _, B as w } from "./index-D87rwdFq.js";
3
3
  import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import { _ as F } from "./OcIcon-CJgBICxh.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 { openBlock as a, createElementBlock as d, createElementVNode as t, createVNode as o, unref as i, toDisplayString as r } from "vue";
2
- import { B as n } from "./index-Dr8aLhn5.js";
2
+ import { B as n } from "./index-D87rwdFq.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 { openBlock as i, createElementBlock as s, normalizeClass as f, createElementVNode as l, Fragment as g, createVNode as n, unref as a, createTextVNode as r, toDisplayString as h, createBlock as u, withCtx as c, createCommentVNode as b } from "vue";
2
- import { B as d, an as v } from "./index-Dr8aLhn5.js";
2
+ import { B as d, an as v } from "./index-D87rwdFq.js";
3
3
  import { _ as k } from "./OcIcon-CJgBICxh.js";
4
4
  const x = { class: "w-full relative group" }, y = {
5
5
  key: 0,