@orchidui/core 1.0.19 → 1.0.22
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.
- package/dist/DataDisplay/CustomerCard/OcCustomerCard.js +1 -1
- package/dist/DataDisplay/FloatContent/OcFloatContent.js +1 -1
- package/dist/DataDisplay/InfoCard/OcInfoCard.js +1 -1
- package/dist/DataDisplay/ListDetail/OcListDetail.js +1 -1
- package/dist/DataDisplay/ListItem/OcListItem.js +1 -1
- package/dist/DataDisplay/OnboardingListItem/OcOnboardingListItem.js +1 -1
- package/dist/DataDisplay/Overview/OcOverview.js +1 -1
- package/dist/DataDisplay/Pagination/OcPagination.js +1 -1
- package/dist/DataDisplay/Table/OcTable.js +1 -1
- package/dist/DataDisplay/TransferSummary/OcTransferSummary.js +1 -1
- package/dist/Disclosure/Accordion/OcAccordion.js +1 -1
- package/dist/Disclosure/OnboardingAccordion/OnboardingAccordion.js +1 -1
- package/dist/Disclosure/Steps/OcSteps.js +1 -1
- package/dist/Disclosure/Tabs/Tabs.js +1 -1
- package/dist/Disclosure/Variants/OcVariants.js +1 -1
- package/dist/Elements/AdditionalContent/OcAdditionalContent.js +1 -1
- package/dist/Elements/AuthenticationOption/AuthenticationOption.js +1 -1
- package/dist/Elements/Box/OcBox.js +1 -1
- package/dist/Elements/EmptyPage/OcEmptyPage.js +1 -1
- package/dist/Elements/FeatureOverviewCard/OcFeatureOverviewCard.js +1 -1
- package/dist/Elements/Header/OcHeader.js +1 -1
- package/dist/Elements/PageTitle/OcPageTitle.js +1 -1
- package/dist/Elements/SandboxBanner/OcSandboxBanner.js +1 -1
- package/dist/Elements/Sidebar/OcSidebar.js +1 -1
- package/dist/Elements/SubSidebar/OcSubSidebar.js +1 -1
- package/dist/Elements/VerificationOption/OcVerificationOption.js +1 -1
- package/dist/Feedback/Banner/OcBanner.js +1 -1
- package/dist/Feedback/Chip/OcChip.js +1 -1
- package/dist/Feedback/ShareIcon/OcShareIcon.js +1 -1
- package/dist/Feedback/Snackbar/OcSnackbar.js +1 -1
- package/dist/Form/BaseInput/OcBaseInput.js +1 -1
- package/dist/Form/Button/OcButton.js +1 -1
- package/dist/Form/Calendar/OcCalendar.js +1 -1
- package/dist/Form/CardInput/OcCardInput.js +1 -1
- package/dist/Form/Checkbox/OcCheckbox.js +1 -1
- package/dist/Form/CheckboxesGroup/OcCheckboxesGroup.js +1 -1
- package/dist/Form/Criteria/OcCriteria.js +1 -1
- package/dist/Form/Cropper/OcCropper.js +1 -1
- package/dist/Form/DatePicker/OcDatePicker.js +1 -1
- package/dist/Form/EmojiPicker/OcEmojiPicker.js +1 -1
- package/dist/Form/Input/OcInput.js +1 -1
- package/dist/Form/LinkInput/OcLinkInput.js +1 -1
- package/dist/Form/MultipleUploadFile/OcMultipleUploadFile.js +1 -1
- package/dist/Form/NumberInput/OcNumberInput.js +1 -1
- package/dist/Form/PhoneInput/OcPhoneInput.js +1 -1
- package/dist/Form/Radio/OcRadio.js +1 -1
- package/dist/Form/RadioGroup/OcRadioGroup.js +1 -1
- package/dist/Form/RangeInput/OcRangeInput.js +1 -1
- package/dist/Form/SectionItem/OcSectionItem.js +1 -1
- package/dist/Form/Select/OcSelect.js +1 -1
- package/dist/Form/SelectOptions/OcSelectOptions.js +1 -1
- package/dist/Form/SingleFileUpload/OcSingleFileUpload.js +1 -1
- package/dist/Form/TextArea/OcTextArea.js +1 -1
- package/dist/Form/index.js +1 -1
- package/dist/FormBuilder/OcFormBuilder.js +1 -1
- package/dist/{OcComplexCalendar-CIl2YMZJ.js → OcComplexCalendar-DbKdYQQg.js} +1 -1
- package/dist/{OcComplexDatePicker-DqEf7O1P.js → OcComplexDatePicker-DWeOr0ky.js} +1 -1
- package/dist/{OcCropper-CUcvZRQm.js → OcCropper-BrNZQH9W.js} +1 -1
- package/dist/{OcDataTable-eX41vUnf.js → OcDataTable-Sr63ioCV.js} +88 -88
- package/dist/{OcDraggableList-DmiHqwOi.js → OcDraggableList-CN0ddu7n.js} +1 -1
- package/dist/{OcEmojiPicker-nsR9jsaY.js → OcEmojiPicker-CZBsk3Hn.js} +1 -1
- package/dist/{OcFilterForm-Bps0KhkY.js → OcFilterForm-Bg2O8w1v.js} +1 -1
- package/dist/{OcFilterSearch-BDRoO4T0.js → OcFilterSearch-C4nAeI_n.js} +1 -1
- package/dist/{OcFilterSearchFor-DN_o3UpH.js → OcFilterSearchFor-B0qBc9zp.js} +1 -1
- package/dist/{OcModalCropper-CCHKUgrT.js → OcModalCropper-skDqFpgW.js} +2 -2
- package/dist/{OcTimePicker-BC6OKckj.js → OcTimePicker-k0T3bisR.js} +1 -1
- package/dist/Overlay/ConfirmationModal/OcConfirmationModal.js +1 -1
- package/dist/Overlay/CopyTooltip/OcCopyTooltip.js +1 -1
- package/dist/Overlay/Dropdown/OcDropdown.js +1 -1
- package/dist/Overlay/Modal/OcModal.js +1 -1
- package/dist/Overlay/SupportMenu/OcSupportMenu.js +1 -1
- package/dist/Overlay/Tooltip/OcTooltip.js +1 -1
- package/dist/Overlay/Whitelist/OcWhiteList.js +1 -1
- package/dist/{SubPlanCard-m9tzf3Iz.js → SubPlanCard-aGSNhJBT.js} +1 -1
- package/dist/{ThumbnailSection-CEwGHaE5.js → ThumbnailSection-BJAp31ac.js} +1 -1
- package/dist/{ThumbnailTheme-Dwg4aHt3.js → ThumbnailTheme-BHxnKBaR.js} +1 -1
- package/dist/{index-C8JDSque.js → index-OvPpK5KS.js} +7 -7
- package/dist/index.js +1 -1
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { S as l, M as n, R as s, L as b, O as T, P as d, N as o, Q as i } from "../../index-
|
1
|
+
import { S as l, M as n, R as s, L as b, O as T, P as d, N as o, Q as i } from "../../index-OvPpK5KS.js";
|
2
2
|
export {
|
3
3
|
l as ExpandingHeaderRow,
|
4
4
|
n as ExpandingTable,
|
package/dist/Form/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as e, B as t, p as o, a as p, b as n, c as r, d as i, q as u, m as l, e as I, f as d, n as c, u as m, v as x, l as S, g, h as k, i as C, j as b, r as f, k as h, s as O, t as B, o as G } from "../index-
|
1
|
+
import { _ as e, B as t, p as o, a as p, b as n, c as r, d as i, q as u, m as l, e as I, f as d, n as c, u as m, v as x, l as S, g, h as k, i as C, j as b, r as f, k as h, s as O, t as B, o as G } from "../index-OvPpK5KS.js";
|
2
2
|
import { T } from "../OcToggle-bIJaLDMZ.js";
|
3
3
|
import { S as P } from "../OcSlider-DW9x8eas.js";
|
4
4
|
export {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ref as x, openBlock as o, createElementBlock as n, createElementVNode as b, Fragment as V, renderList as v, normalizeClass as k, unref as a, toDisplayString as p, createCommentVNode as i, createVNode as d, mergeProps as m } from "vue";
|
2
2
|
import { DatePicker as B } from "v-calendar";
|
3
3
|
import r from "dayjs";
|
4
|
-
import { B as f } from "./index-
|
4
|
+
import { B as f } from "./index-OvPpK5KS.js";
|
5
5
|
const C = { class: "flex flex-col p-6 gap-y-7 w-fit shadow-normal rounded" }, h = { class: "flex gap-x-7" }, M = {
|
6
6
|
key: 0,
|
7
7
|
class: "flex flex-col py-2 gap-y-4"
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref as s, openBlock as d, createBlock as m, unref as t, withCtx as l, createVNode as n } from "vue";
|
2
|
-
import { az as c, _ as f, as as b, aA as p, e as V } from "./index-
|
2
|
+
import { az as c, _ as f, as as b, aA as p, e as V } from "./index-OvPpK5KS.js";
|
3
3
|
import r from "dayjs";
|
4
4
|
const x = {
|
5
5
|
__name: "OcComplexDatePicker",
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref as p, watch as S, nextTick as F, openBlock as n, createElementBlock as x, createElementVNode as c, createBlock as u, unref as o, Fragment as A, createVNode as m, createCommentVNode as r, withCtx as y } from "vue";
|
2
|
-
import { B as g, e as V, b as D, i as G, ax as H } from "./index-
|
2
|
+
import { B as g, e as V, b as D, i as G, ax as H } from "./index-OvPpK5KS.js";
|
3
3
|
import { Cropper as J } from "vue-advanced-cropper";
|
4
4
|
import { _ as K } from "./OcIcon-CJgBICxh.js";
|
5
5
|
const M = { class: "flex flex-col gap-y-5" }, P = ["src"], Q = { class: "flex gap-x-1 justify-center relative" }, W = { class: "grid grid-cols-2 gap-4" }, ee = {
|
@@ -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-
|
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-OvPpK5KS.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";
|
@@ -191,35 +191,35 @@ const el = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, ll = {
|
|
191
191
|
setup(D, { emit: Z }) {
|
192
192
|
var re, ie, ne, de, ve, ce, fe, pe, me;
|
193
193
|
const d = D, F = Z, v = j(() => {
|
194
|
-
var
|
195
|
-
return (
|
194
|
+
var l;
|
195
|
+
return (l = d.options) == null ? void 0 : l.pagination;
|
196
196
|
}), f = j(() => {
|
197
|
-
var
|
198
|
-
return (
|
197
|
+
var l;
|
198
|
+
return (l = d.options) == null ? void 0 : l.cursor;
|
199
199
|
}), T = A(), S = j(() => {
|
200
|
-
var
|
201
|
-
return (
|
200
|
+
var l;
|
201
|
+
return (l = d.options) == null ? void 0 : l.tableOptions;
|
202
202
|
}), W = j(() => {
|
203
|
-
var
|
203
|
+
var l;
|
204
204
|
return {
|
205
205
|
...S.value,
|
206
|
-
headers: T.value ? T.value.filter((
|
206
|
+
headers: T.value ? T.value.filter((e) => ue(e.key)) : (l = S.value) == null ? void 0 : l.headers.filter((e) => ue(e.key))
|
207
207
|
};
|
208
208
|
}), a = j(() => {
|
209
|
-
var
|
210
|
-
return (
|
209
|
+
var l;
|
210
|
+
return (l = d.options) == null ? void 0 : l.filterOptions;
|
211
211
|
}), p = j(() => {
|
212
|
-
var
|
213
|
-
return (
|
212
|
+
var l;
|
213
|
+
return (l = d.options) == null ? void 0 : l.hidePerPageDropdown;
|
214
214
|
}), m = j(() => {
|
215
|
-
var
|
216
|
-
return ((
|
215
|
+
var l;
|
216
|
+
return ((l = v.value) == null ? void 0 : l.last_page) === 1;
|
217
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
|
222
|
-
return (
|
221
|
+
var l, e;
|
222
|
+
return (e = (l = d.options) == null ? void 0 : l.perPageOptions) == null ? void 0 : e.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
|
230
|
+
let l = [
|
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
|
-
],
|
263
|
+
], e = je.value ?? l;
|
264
264
|
if (v.value) {
|
265
265
|
const o = v.value.total < 100 ? v.value.total : 100;
|
266
|
-
o > 10 && (
|
266
|
+
o > 10 && (e = e.filter((u) => u.value <= o));
|
267
267
|
}
|
268
|
-
return [...new Set(
|
268
|
+
return [...new Set(e)];
|
269
269
|
}), De = j(() => {
|
270
|
-
var
|
271
|
-
return ((
|
272
|
-
}), Pe = (
|
273
|
-
!
|
274
|
-
}, Le = (
|
275
|
-
M.value = M.value.filter((
|
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(), F("search-query-changed", l));
|
274
|
+
}, Le = (l) => {
|
275
|
+
M.value = M.value.filter((e) => e !== l), 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
|
279
|
+
var e, o, u, n, c, t, g, w;
|
280
280
|
M.value = [], V.value = "";
|
281
|
-
const
|
282
|
-
a.value ? Q.page = 1 : Q.cursor = "", (o = (
|
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 = (u = a.value) == null ? void 0 : u.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] = V.value : l.tabs = V.value, s.value = l, 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 = (
|
287
|
+
}, Ue = () => d.id ? se(d.id) : null, E = (l = null, e = !1, o = "") => {
|
288
288
|
var u, n, c;
|
289
|
-
v.value && !
|
289
|
+
v.value && !e && (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()), l && (h.value = !1, s.value = { ...s.value, ...l }, Object.keys(s.value).forEach((t) => {
|
290
290
|
Array.isArray(s.value[t]) && s.value[t].length === 0 && delete s.value[t];
|
291
291
|
})), Ye(), F("update:filter", s.value);
|
292
|
-
}, Be = (
|
293
|
-
(e === a.value.tabs.key || e === "tabs") && (V.value = ""), E(
|
294
|
-
}, Me = (
|
295
|
-
let
|
296
|
-
return
|
297
|
-
|
298
|
-
}),
|
292
|
+
}, Be = (l, e) => {
|
293
|
+
(e === a.value.tabs.key || e === "tabs") && (V.value = ""), E(l), F("filter-removed", e);
|
294
|
+
}, Me = (l) => {
|
295
|
+
let e = [];
|
296
|
+
return l.forEach((o) => {
|
297
|
+
e.push(o.key);
|
298
|
+
}), e;
|
299
299
|
}, Ne = j(() => {
|
300
300
|
if (s.value) {
|
301
|
-
let
|
302
|
-
return Object.keys(s.value).forEach((
|
301
|
+
let l = [];
|
302
|
+
return Object.keys(s.value).forEach((e) => {
|
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
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
|
-
}),
|
308
|
+
}), e !== "page" && e !== "cursor" && e !== n && e !== o && e !== u) {
|
309
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 ===
|
313
|
+
I.key === e && (L = !0, b = Me(Y.name));
|
314
314
|
}), L;
|
315
315
|
} else
|
316
|
-
return Y.name ===
|
316
|
+
return Y.name === e;
|
317
317
|
}), O = "";
|
318
|
-
if (r && s.value[
|
318
|
+
if (r && s.value[e]) {
|
319
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[
|
321
|
+
}) : O = s.value[e], r.props.options && (O = (r.props.multiple ? s.value[e] : [s.value[e]]).map(
|
322
322
|
(I) => {
|
323
323
|
var ye;
|
324
324
|
return (ye = r.props.options.find(({ value: Qe }) => Qe === I)) == null ? void 0 : ye.label;
|
325
325
|
}
|
326
|
-
).join(", ")), r.type === "RangeInput" && Array.isArray(s.value[
|
326
|
+
).join(", ")), r.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, ",")), r.type === "DatePicker")
|
327
327
|
if (((H = r == null ? void 0 : r.props) == null ? void 0 : H.type) === "range" && r.name && r.name[1]) {
|
328
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
330
|
} else O = le(s.value[r.name]).format("MM/DD/YYYY");
|
331
331
|
let Y = `${(G = r == null ? void 0 : r.props) == null ? void 0 : G.label} : ${O}`;
|
332
|
-
r && r.name && typeof r.name == "object" &&
|
332
|
+
r && r.name && typeof r.name == "object" && l.find((I) => I.name === b[0]) && (Y = ""), l.push({
|
333
333
|
label: Y,
|
334
|
-
name:
|
334
|
+
name: e,
|
335
335
|
multiNames: b
|
336
336
|
});
|
337
337
|
}
|
338
338
|
}
|
339
|
-
}),
|
339
|
+
}), l;
|
340
340
|
}
|
341
341
|
return [];
|
342
|
-
}), ue = (
|
343
|
-
var
|
344
|
-
return ((t = (c = (n = (u = s.value) == null ? void 0 : u[(o = (
|
345
|
-
}, Ie = ({ fixedHeaders:
|
342
|
+
}), ue = (l) => {
|
343
|
+
var e, o, u, n, c, t;
|
344
|
+
return ((t = (c = (n = (u = s.value) == null ? void 0 : u[(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
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 =
|
348
|
-
const g = Ze(
|
347
|
+
if (s.value[(n = (u = a.value) == null ? void 0 : u.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);
|
349
349
|
$e(a.value.columnEdit.localStorageKey, g);
|
350
350
|
}
|
351
351
|
}, Te = () => {
|
352
|
-
var
|
353
|
-
if ((
|
352
|
+
var l, e, o, u, n, c;
|
353
|
+
if ((e = (l = a.value) == null ? void 0 : l.columnEdit) != null && e.localStorageKey) {
|
354
354
|
const t = se(a.value.columnEdit.localStorageKey);
|
355
355
|
if (t) {
|
356
356
|
const { fixed: g, active: w } = Oe(
|
@@ -363,11 +363,11 @@ const el = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, ll = {
|
|
363
363
|
}
|
364
364
|
};
|
365
365
|
return Ve(() => {
|
366
|
-
var
|
366
|
+
var e, o, u, n;
|
367
367
|
Te();
|
368
|
-
const
|
369
|
-
|
370
|
-
}), (
|
368
|
+
const l = Ue();
|
369
|
+
l && (s.value = JSON.parse(l), V.value = V.value || ((e = s.value) == null ? void 0 : e.tabs) || ((n = s.value) == null ? void 0 : n[(u = (o = a.value) == null ? void 0 : o.tabs) == null ? void 0 : u.key]), E());
|
370
|
+
}), (l, e) => {
|
371
371
|
var o, u, n, c;
|
372
372
|
return i(), x("div", rl, [
|
373
373
|
S.value ? (i(), K(y(_e), {
|
@@ -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":
|
385
|
-
"onClick:row":
|
386
|
-
"onHover:cell":
|
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))
|
387
387
|
}, Re({
|
388
388
|
after: $(() => [
|
389
|
-
C(
|
389
|
+
C(l.$slots, "after")
|
390
390
|
]),
|
391
391
|
empty: $(() => [
|
392
|
-
C(
|
392
|
+
C(l.$slots, "empty")
|
393
393
|
]),
|
394
394
|
"table-header": $((t) => [
|
395
|
-
C(
|
395
|
+
C(l.$slots, "table-header", ke(he(t)))
|
396
396
|
]),
|
397
397
|
"table-body": $((t) => [
|
398
|
-
C(
|
398
|
+
C(l.$slots, "table-body", ke(he(t)))
|
399
399
|
]),
|
400
400
|
_: 2
|
401
401
|
}, [
|
402
|
-
|
402
|
+
l.$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(
|
407
|
+
C(l.$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(
|
410
|
+
C(l.$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
414
|
modelValue: V.value,
|
415
415
|
"onUpdate:modelValue": [
|
416
|
-
|
417
|
-
|
416
|
+
e[0] || (e[0] = (N) => V.value = N),
|
417
|
+
e[1] || (e[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(
|
423
|
+
C(l.$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:
|
437
|
+
onToggle: e[2] || (e[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":
|
442
|
+
"onUpdate:modelValue": e[6] || (e[6] = (b) => h.value = b),
|
443
443
|
distance: 9,
|
444
444
|
placement: "bottom-end",
|
445
445
|
"is-attach-to-body": ""
|
@@ -452,12 +452,12 @@ 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:
|
456
|
-
onFilterFieldsChanged:
|
457
|
-
onCancel:
|
455
|
+
onApplyFilter: e[3] || (e[3] = (b) => E(b)),
|
456
|
+
onFilterFieldsChanged: e[4] || (e[4] = (b) => F("filter-fields-changed", b)),
|
457
|
+
onCancel: e[5] || (e[5] = (b) => h.value = !1)
|
458
458
|
}, {
|
459
459
|
default: $(({ errors: b, values: r, jsonForm: O, updateForm: Y }) => [
|
460
|
-
C(
|
460
|
+
C(l.$slots, "custom-filter-form", {
|
461
461
|
errors: b,
|
462
462
|
values: r,
|
463
463
|
jsonForm: O,
|
@@ -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(
|
505
|
+
C(l.$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(
|
512
|
+
C(l.$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
|
-
|
521
|
+
e[10] || (e[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:
|
532
|
+
onClick: e[11] || (e[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:
|
537
|
+
onClick: e[12] || (e[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
|
-
|
545
|
-
|
544
|
+
e[13] || (e[13] = (t) => P.value = t),
|
545
|
+
e[14] || (e[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-
|
2
|
+
import { aB as $, ax as B, as as M } from "./index-OvPpK5KS.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-
|
2
|
+
import { as as U, e as J, B as b } from "./index-OvPpK5KS.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-
|
2
|
+
import { w as $, B as m } from "./index-OvPpK5KS.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-
|
2
|
+
import { e as O, B as f } from "./index-OvPpK5KS.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-
|
2
|
+
import { N as y, an as i } from "./index-OvPpK5KS.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-
|
3
|
-
import x from "./OcCropper-
|
2
|
+
import { au as d } from "./index-OvPpK5KS.js";
|
3
|
+
import x from "./OcCropper-BrNZQH9W.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-
|
2
|
+
import { as as S, aC as h, e as D } from "./index-OvPpK5KS.js";
|
3
3
|
import c from "dayjs";
|
4
4
|
const w = {
|
5
5
|
__name: "OcTimePicker",
|
@@ -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-
|
2
|
+
import { an as _, B as w } from "./index-OvPpK5KS.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-
|
2
|
+
import { B as n } from "./index-OvPpK5KS.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-
|
2
|
+
import { B as d, an as v } from "./index-OvPpK5KS.js";
|
3
3
|
import { _ as k } from "./OcIcon-CJgBICxh.js";
|
4
4
|
const x = { class: "w-full relative group" }, y = {
|
5
5
|
key: 0,
|
@@ -9960,15 +9960,15 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9960
9960
|
}), 128))
|
9961
9961
|
], 6)) : m("", !0);
|
9962
9962
|
}
|
9963
|
-
}, Am = de(() => import("./OcDataTable-
|
9964
|
-
() => import("./OcComplexCalendar-
|
9963
|
+
}, Am = de(() => import("./OcDataTable-Sr63ioCV.js")), jm = de(() => import("./OcFilterSearch-C4nAeI_n.js")), Mm = de(() => import("./OcFilterSearchFor-B0qBc9zp.js")), Pm = de(() => import("./OcFilterForm-Bg2O8w1v.js")), bu = de(
|
9964
|
+
() => import("./OcComplexCalendar-DbKdYQQg.js")
|
9965
9965
|
), Lm = de(
|
9966
|
-
() => import("./OcComplexDatePicker-
|
9967
|
-
), ot = de(() => import("./OcModalCropper-
|
9968
|
-
() => import("./ThumbnailTheme-
|
9966
|
+
() => import("./OcComplexDatePicker-DWeOr0ky.js")
|
9967
|
+
), ot = de(() => import("./OcModalCropper-skDqFpgW.js")), Em = de(() => import("./OcCropper-BrNZQH9W.js")), wu = de(() => import("./OcDraggable-CA_BCbpl.js")), zm = de(() => import("./OcDraggableList-CN0ddu7n.js")), Nm = de(() => import("./OcEmojiPicker-CZBsk3Hn.js")), Rm = de(
|
9968
|
+
() => import("./ThumbnailTheme-BHxnKBaR.js")
|
9969
9969
|
), Fm = de(
|
9970
|
-
() => import("./ThumbnailSection-
|
9971
|
-
), Um = de(() => import("./SubPlanCard-
|
9970
|
+
() => import("./ThumbnailSection-BJAp31ac.js")
|
9971
|
+
), Um = de(() => import("./SubPlanCard-aGSNhJBT.js")), qm = de(() => import("./OcTimePopup-CXGhaOev.js")), $u = de(() => import("./OcTimePicker-k0T3bisR.js"));
|
9972
9972
|
export {
|
9973
9973
|
lm as $,
|
9974
9974
|
Ku as A,
|
package/dist/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import "vue";
|
2
|
-
import { U as r, aj as o, a1 as t, a3 as i, am as n, _ as p, a4 as l, B as d, p as m, a as u, b, c, an as S, aA as T, aH as C, aq as g, ar as x, d as P, aJ as f, C as I, aG as h, q as O, aB as k, aK as v, as as F, at as w, aL as L, a5 as A, S as B, M as D, R as H, a6 as _, aE as M, aD as R, aF as y, x as E, w as G, m as N, a7 as U, aa as V, a9 as j, ab as q, y as z, a2 as J, e as K, f as W, n as Q, z as X, A as Y, D as Z, au as $, aI as aa, u as ea, v as sa, av as ra, E as oa, V as ta, l as ia, F as na, G as pa, H as la, ad as da, ae as ma, I as ua, K as ba, Z as ca, g as Sa, J as Ta, af as Ca, h as ga, i as xa, j as Pa, ag as fa, r as Ia, k as ha, s as Oa, ao as ka, ah as va, ai as Fa, t as wa, ap as La, X as Aa, W as Ba, a8 as Da, aO as Ha, ak as _a, aw as Ma, ac as Ra, L as ya, O as Ea, P as Ga, N as Na, Q as Ua, Y as Va, o as ja, aN as qa, aM as za, aP as Ja, aC as Ka, ax as Wa, T as Qa, a0 as Xa, $ as Ya, al as Za, ay as $a } from "./index-
|
2
|
+
import { U as r, aj as o, a1 as t, a3 as i, am as n, _ as p, a4 as l, B as d, p as m, a as u, b, c, an as S, aA as T, aH as C, aq as g, ar as x, d as P, aJ as f, C as I, aG as h, q as O, aB as k, aK as v, as as F, at as w, aL as L, a5 as A, S as B, M as D, R as H, a6 as _, aE as M, aD as R, aF as y, x as E, w as G, m as N, a7 as U, aa as V, a9 as j, ab as q, y as z, a2 as J, e as K, f as W, n as Q, z as X, A as Y, D as Z, au as $, aI as aa, u as ea, v as sa, av as ra, E as oa, V as ta, l as ia, F as na, G as pa, H as la, ad as da, ae as ma, I as ua, K as ba, Z as ca, g as Sa, J as Ta, af as Ca, h as ga, i as xa, j as Pa, ag as fa, r as Ia, k as ha, s as Oa, ao as ka, ah as va, ai as Fa, t as wa, ap as La, X as Aa, W as Ba, a8 as Da, aO as Ha, ak as _a, aw as Ma, ac as Ra, L as ya, O as Ea, P as Ga, N as Na, Q as Ua, Y as Va, o as ja, aN as qa, aM as za, aP as Ja, aC as Ka, ax as Wa, T as Qa, a0 as Xa, $ as Ya, al as Za, ay as $a } from "./index-OvPpK5KS.js";
|
3
3
|
import { _ as ee } from "./OcProgressBar-hiyC5XSc.js";
|
4
4
|
import { _ as re } from "./OcHorizontalProgressbar.vue_vue_type_script_setup_true_lang-4eVgPDi5.js";
|
5
5
|
import { _ as te } from "./OcSwitchTabs-CYp676bj.js";
|