@orchidui/core 1.34.0 → 1.35.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.
- 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/NewTable/OcNewTable.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 +2 -2
- package/dist/Elements/SubSidebar/OcSubSidebar.js +1 -1
- package/dist/Elements/TopBanner/OcTopBanner.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/Slider/OcSlider.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/{OcAccountSetupProgress-B4IsFHgz.js → OcAccountSetupProgress-BExD3lVj.js} +1 -1
- package/dist/{OcComplexCalendar-B3ClMs5V.js → OcComplexCalendar-B1LZGe7Z.js} +1 -1
- package/dist/{OcComplexDatePicker-J5KnXkYN.js → OcComplexDatePicker-DgBa8wzV.js} +1 -1
- package/dist/{OcCropper-BqfpvJXo.js → OcCropper-B0Tew9Mp.js} +1 -1
- package/dist/{OcDataTable-DTt1MUXa.js → OcDataTable-CDrZLE8o.js} +44 -44
- package/dist/{OcDraggableList-CzcvxF5J.js → OcDraggableList-CNFQZoqR.js} +1 -1
- package/dist/{OcEmojiPicker-DX_fVE0r.js → OcEmojiPicker-UVF1nYt-.js} +1 -1
- package/dist/{OcFilterForm-BPWA_VgC.js → OcFilterForm-Bumf_Kr0.js} +1 -1
- package/dist/{OcFilterSearch-620OO829.js → OcFilterSearch-ppSiTVEJ.js} +1 -1
- package/dist/{OcFilterSearchFor-AigEIuKT.js → OcFilterSearchFor-A44lFSe5.js} +1 -1
- package/dist/{OcModalCropper-C69n6Ax6.js → OcModalCropper-BpTvlYaU.js} +2 -2
- package/dist/{OcTimePicker-CLZ_KG00.js → OcTimePicker-DORK_QJC.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-CnZBnFfG.js → SubPlanCard-C1HmjlrL.js} +1 -1
- package/dist/{ThumbnailSection-DapbDzaO.js → ThumbnailSection-D8rdCnUY.js} +1 -1
- package/dist/{ThumbnailTheme-COVB---v.js → ThumbnailTheme-mNAmDse0.js} +1 -1
- package/dist/{index-BAM7q-yp.js → index-8ipXUTFW.js} +8 -8
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as l, M as n, T as s, L as T, P as b, Q as d, O as o, R as i } from "../../index-
|
|
1
|
+
import { U as l, M as n, T as s, L as T, P as b, Q as d, O as o, R as i } from "../../index-8ipXUTFW.js";
|
|
2
2
|
export {
|
|
3
3
|
l as ExpandingHeaderRow,
|
|
4
4
|
n as ExpandingTable,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { al as r, an as s, aj as u, aq as S, ap as o, am as t, ao as d, ak as b } from "../../index-
|
|
2
|
-
import { default as i } from "../../OcAccountSetupProgress-
|
|
1
|
+
import { al as r, an as s, aj as u, aq as S, ap as o, am as t, ao as d, ak as b } from "../../index-8ipXUTFW.js";
|
|
2
|
+
import { default as i } from "../../OcAccountSetupProgress-BExD3lVj.js";
|
|
3
3
|
export {
|
|
4
4
|
r as AccountSetup,
|
|
5
5
|
i as AccountSetupProgress,
|
package/dist/Form/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e, B as t, o, a as p, C as n, b as i, c as r, p as u, l, d as I, e as d, m as c, t as C, N as S, k as g, f as k, g as m, h as x, i as b, q as h, j as O, r as f, s as B, S as G, n as R } from "../index-
|
|
1
|
+
import { _ as e, B as t, o, a as p, C as n, b as i, c as r, p as u, l, d as I, e as d, m as c, t as C, N as S, k as g, f as k, g as m, h as x, i as b, q as h, j as O, r as f, s as B, S as G, n as R } from "../index-8ipXUTFW.js";
|
|
2
2
|
import { T as F } from "../OcToggle-DOfA-DZ8.js";
|
|
3
3
|
export {
|
|
4
4
|
e as BaseInput,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementBlock as r, openBlock as n, createElementVNode as e, createVNode as o, createTextVNode as d, unref as l, toDisplayString as a, normalizeStyle as u } from "vue";
|
|
2
|
-
import "./index-
|
|
2
|
+
import "./index-8ipXUTFW.js";
|
|
3
3
|
import { _ as c } from "./OcIcon-BedshzZm.js";
|
|
4
4
|
const x = { class: "border relative z-10 border-oc-gray-200 shadow-normal bg-white rounded p-2 flex flex-col gap-y-2" }, p = { class: "py-2 px-3 gap-x-3 flex items-center" }, f = { class: "text-base flex-1 font-medium flex items-center gap-x-2" }, m = { class: "px-3 pb-3 flex flex-col gap-y-3" }, h = { class: "relative bg-oc-accent-1-50 rounded-full h-2" }, _ = { class: "flex items-center gap-x-3" }, g = { class: "text-sm text-oc-text-400" }, N = {
|
|
5
5
|
__name: "OcAccountSetupProgress",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as x, createElementBlock as o, openBlock as n, createElementVNode as b, createCommentVNode as i, createVNode as m, Fragment as v, renderList as V, normalizeClass as k, unref as a, toDisplayString as p, mergeProps as s } 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-8ipXUTFW.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, createBlock as d, openBlock as m, unref as t, withCtx as l, createVNode as n } from "vue";
|
|
2
|
-
import { aH as c, _ as f, aA as b, d as p, aI as V } from "./index-
|
|
2
|
+
import { aH as c, _ as f, aA as b, d as p, aI as V } from "./index-8ipXUTFW.js";
|
|
3
3
|
import r from "dayjs";
|
|
4
4
|
const x = {
|
|
5
5
|
__name: "OcComplexDatePicker",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as u, computed as M, watch as T, nextTick as P, createElementBlock as k, openBlock as i, createElementVNode as m, createBlock as r, createCommentVNode as s, unref as a, createVNode as c, Fragment as Q, withCtx as F } from "vue";
|
|
2
|
-
import { B as h, d as y, C as w, h as W, aF as X } from "./index-
|
|
2
|
+
import { B as h, d as y, C as w, h as W, aF as X } from "./index-8ipXUTFW.js";
|
|
3
3
|
import { Cropper as Y } from "vue-advanced-cropper";
|
|
4
4
|
import { _ as q } from "./OcIcon-BedshzZm.js";
|
|
5
5
|
const Z = { class: "flex flex-col gap-y-5 relative" }, _ = ["src"], ee = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
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-8ipXUTFW.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";
|
|
@@ -30,7 +30,7 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
|
|
|
30
30
|
},
|
|
31
31
|
emits: ["change-active", "onMoved", "update-order"],
|
|
32
32
|
setup(V, { emit: _ }) {
|
|
33
|
-
const F = _, g = V,
|
|
33
|
+
const F = _, g = V, m = O([]), $ = O([]), E = O(!1), y = {
|
|
34
34
|
handle: ".drag-el",
|
|
35
35
|
filter: ".is-disabled",
|
|
36
36
|
group: "headers",
|
|
@@ -44,13 +44,13 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
|
|
|
44
44
|
isActive: !0
|
|
45
45
|
})), F("update-order", {
|
|
46
46
|
fixedHeaders: $.value,
|
|
47
|
-
activeHeaders:
|
|
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),
|
|
53
|
+
$.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,
|
|
@@ -93,11 +93,11 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
|
|
|
93
93
|
r[5] || (r[5] = R("span", { class: "text-oc-text-400 font-medium" }, "Active columns", -1)),
|
|
94
94
|
U(i(we), fe({
|
|
95
95
|
key: "key",
|
|
96
|
-
modelValue:
|
|
97
|
-
"onUpdate:modelValue": r[2] || (r[2] = (n) =>
|
|
96
|
+
modelValue: m.value,
|
|
97
|
+
"onUpdate:modelValue": r[2] || (r[2] = (n) => m.value = n)
|
|
98
98
|
}, y, { "data-active-headers": "true" }), {
|
|
99
99
|
default: w(() => [
|
|
100
|
-
(o(!0), x(ee, null, le(
|
|
100
|
+
(o(!0), x(ee, null, le(m.value, (n) => (o(), x(ee, {
|
|
101
101
|
key: n.key
|
|
102
102
|
}, [
|
|
103
103
|
n.key !== "actions" ? (o(), x("div", cl, [
|
|
@@ -112,7 +112,7 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
|
|
|
112
112
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
113
113
|
R("div", pl, ye(n.label), 1)
|
|
114
114
|
]),
|
|
115
|
-
|
|
115
|
+
m.value.length > 1 ? (o(), L(i(xe), {
|
|
116
116
|
key: 0,
|
|
117
117
|
width: "18",
|
|
118
118
|
height: "18",
|
|
@@ -200,7 +200,7 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
|
|
|
200
200
|
},
|
|
201
201
|
setup(V, { emit: _ }) {
|
|
202
202
|
var ue, ie, re, ne, de, ve, ce, me, pe;
|
|
203
|
-
const F = V, g = _,
|
|
203
|
+
const F = V, g = _, m = K(() => {
|
|
204
204
|
var e;
|
|
205
205
|
return (e = F.options) == null ? void 0 : e.cursor;
|
|
206
206
|
}), $ = O(), E = K(() => {
|
|
@@ -225,8 +225,8 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
|
|
|
225
225
|
return {
|
|
226
226
|
...E.value,
|
|
227
227
|
headers: $.value ? $.value.map((u) => {
|
|
228
|
-
var
|
|
229
|
-
return u.class = ((
|
|
228
|
+
var p, d;
|
|
229
|
+
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
230
|
}).filter((u) => u.isActive) : (a = E.value) == null ? void 0 : a.headers.filter((u) => Ke(u.key))
|
|
231
231
|
};
|
|
232
232
|
}), l = K(() => {
|
|
@@ -239,7 +239,7 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
|
|
|
239
239
|
var e;
|
|
240
240
|
return ((e = y.value) == null ? void 0 : e.last_page) === 1;
|
|
241
241
|
}), b = JSON.parse(JSON.stringify(qe(F.filter)));
|
|
242
|
-
!b && y.value ? b.page = 1 : !b &&
|
|
242
|
+
!b && y.value ? b.page = 1 : !b && m && (b.cursor = "");
|
|
243
243
|
const t = O(b);
|
|
244
244
|
ge(
|
|
245
245
|
() => F.filter,
|
|
@@ -263,17 +263,17 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
|
|
|
263
263
|
}, je = (e) => {
|
|
264
264
|
N.value = N.value.filter((a) => a !== e), P();
|
|
265
265
|
}, De = K(() => ol(t.value, l.value)), Ke = (e) => {
|
|
266
|
-
var a, u,
|
|
267
|
-
return ((s = (
|
|
266
|
+
var a, u, p, d, v, s;
|
|
267
|
+
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
268
|
}, Le = ({ fixedHeaders: e, activeHeaders: a, isOnMount: u }) => {
|
|
269
|
-
var
|
|
270
|
-
if (t.value[(
|
|
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
271
|
const I = tl(e, a);
|
|
272
272
|
sl(l.value.columnEdit.localStorageKey, I);
|
|
273
273
|
}
|
|
274
274
|
g("columns-changed", a);
|
|
275
275
|
}, Te = () => {
|
|
276
|
-
var e, a, u,
|
|
276
|
+
var e, a, u, p, d, v;
|
|
277
277
|
if ((a = (e = l.value) == null ? void 0 : e.columnEdit) != null && a.localStorageKey) {
|
|
278
278
|
const s = Ve(l.value.columnEdit.localStorageKey);
|
|
279
279
|
if (s) {
|
|
@@ -282,7 +282,7 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
|
|
|
282
282
|
E.value.headers,
|
|
283
283
|
l.value.columnEdit.localStorageKey
|
|
284
284
|
);
|
|
285
|
-
t.value[(
|
|
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];
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
}, Ue = (e) => {
|
|
@@ -296,25 +296,25 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
|
|
|
296
296
|
), P();
|
|
297
297
|
}, Be = () => {
|
|
298
298
|
P(null, B.value);
|
|
299
|
-
}, P = (e = null, a = !1, u = "",
|
|
299
|
+
}, P = (e = null, a = !1, u = "", p = !1, d = !1) => {
|
|
300
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 &&
|
|
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) => {
|
|
302
302
|
var Q;
|
|
303
|
-
(Q = l.value.search.options) != null && Q.map((
|
|
303
|
+
(Q = l.value.search.options) != null && Q.map((c) => c.value).includes(h) && delete t.value[h];
|
|
304
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) => {
|
|
305
305
|
Array.isArray(t.value[h]) && t.value[h].length === 0 && delete t.value[h];
|
|
306
306
|
}));
|
|
307
|
-
let
|
|
308
|
-
if (
|
|
307
|
+
let v = (X = (W = l.value) == null ? void 0 : W.tabs) == null ? void 0 : X.key;
|
|
308
|
+
if (v && C.value !== t.value[v]) {
|
|
309
309
|
const h = (Z = (Y = l.value.tabs) == null ? void 0 : Y.options) == null ? void 0 : Z.find(
|
|
310
310
|
(Q) => {
|
|
311
|
-
var
|
|
312
|
-
return ((
|
|
311
|
+
var c, H;
|
|
312
|
+
return ((c = Q.value) == null ? void 0 : c.toString()) === ((H = t.value[v]) == null ? void 0 : H.toString());
|
|
313
313
|
}
|
|
314
314
|
);
|
|
315
|
-
h != null && h.value && (C.value = h.value, P());
|
|
315
|
+
h != null && h.value && (C.value = h.value, d || P(null, !1, "", !1, !0));
|
|
316
316
|
}
|
|
317
|
-
Ie(
|
|
317
|
+
Ie(p);
|
|
318
318
|
}, oe = O(null), Ie = (e = !1) => {
|
|
319
319
|
clearTimeout(oe.value), oe.value = setTimeout(() => {
|
|
320
320
|
g("update:filter", { ...t.value }, e), g("apply-filter", { ...t.value }, e);
|
|
@@ -327,7 +327,7 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
|
|
|
327
327
|
g("on-table-ready");
|
|
328
328
|
});
|
|
329
329
|
}), (e, a) => {
|
|
330
|
-
var u,
|
|
330
|
+
var u, p, d, v;
|
|
331
331
|
return o(), x("div", yl, [
|
|
332
332
|
z.value ? (o(), L(Me(V.isNewTable ? i(Xe) : i(Ye)), {
|
|
333
333
|
key: 0,
|
|
@@ -361,7 +361,7 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
|
|
|
361
361
|
]),
|
|
362
362
|
_: 2
|
|
363
363
|
}, [
|
|
364
|
-
e.$slots.before || (u = l.value) != null && u.search || (
|
|
364
|
+
e.$slots.before || (u = l.value) != null && u.search || (p = l.value) != null && p.form || (d = l.value) != null && d.tabs ? {
|
|
365
365
|
name: "before",
|
|
366
366
|
fn: w(() => {
|
|
367
367
|
var s, k, S, D;
|
|
@@ -399,15 +399,15 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
|
|
|
399
399
|
"search-options": ((G = l.value.search) == null ? void 0 : G.options) ?? [],
|
|
400
400
|
"selected-option": (((W = t.value) == null ? void 0 : W.selectedSearchOption) || ((Z = (Y = (X = l.value.search) == null ? void 0 : X.options) == null ? void 0 : Y[0]) == null ? void 0 : Z.value)) ?? "keywords",
|
|
401
401
|
onAddQuery: Ae,
|
|
402
|
-
onToggle: a[2] || (a[2] = (
|
|
402
|
+
onToggle: a[2] || (a[2] = (c) => se.value = c),
|
|
403
403
|
onChangeSearchKey: Ue
|
|
404
404
|
}, null, 8, ["is-search-only", "search-options", "selected-option"])) : f("", !0),
|
|
405
405
|
(h = l.value) != null && h.form ? (o(), L(i(Se), {
|
|
406
406
|
key: 1,
|
|
407
407
|
modelValue: T.value,
|
|
408
408
|
"onUpdate:modelValue": [
|
|
409
|
-
a[6] || (a[6] = (
|
|
410
|
-
a[7] || (a[7] = (
|
|
409
|
+
a[6] || (a[6] = (c) => T.value = c),
|
|
410
|
+
a[7] || (a[7] = (c) => e.$emit("filter-open", c))
|
|
411
411
|
],
|
|
412
412
|
distance: 9,
|
|
413
413
|
placement: "bottom-end",
|
|
@@ -421,13 +421,13 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
|
|
|
421
421
|
grid: l.value.grid ?? null,
|
|
422
422
|
values: t.value,
|
|
423
423
|
actions: l.value.actions,
|
|
424
|
-
onApplyFilter: a[3] || (a[3] = (
|
|
425
|
-
onFilterFieldsChanged: a[4] || (a[4] = (
|
|
426
|
-
onCancel: a[5] || (a[5] = (
|
|
424
|
+
onApplyFilter: a[3] || (a[3] = (c) => P(c)),
|
|
425
|
+
onFilterFieldsChanged: a[4] || (a[4] = (c) => g("filter-fields-changed", c)),
|
|
426
|
+
onCancel: a[5] || (a[5] = (c) => T.value = !1)
|
|
427
427
|
}, {
|
|
428
|
-
default: w(({ errors:
|
|
428
|
+
default: w(({ errors: c, values: H, jsonForm: Re, updateForm: ze }) => [
|
|
429
429
|
j(e.$slots, "custom-filter-form", {
|
|
430
|
-
errors:
|
|
430
|
+
errors: c,
|
|
431
431
|
values: H,
|
|
432
432
|
jsonForm: Re,
|
|
433
433
|
updateFilter: ze
|
|
@@ -471,7 +471,7 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
|
|
|
471
471
|
}),
|
|
472
472
|
key: "0"
|
|
473
473
|
} : void 0,
|
|
474
|
-
le((
|
|
474
|
+
le((v = E.value) == null ? void 0 : v.headers, (s, k) => ({
|
|
475
475
|
name: s.key,
|
|
476
476
|
fn: w(({ data: S, item: D }) => [
|
|
477
477
|
j(e.$slots, s.key, {
|
|
@@ -482,7 +482,7 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
|
|
|
482
482
|
}))
|
|
483
483
|
]), 1064, ["selected", "row-key", "options", "is-loading", "loading-rows", "row-class", "row-link", "is-sticky", "is-borderless"])) : f("", !0),
|
|
484
484
|
j(e.$slots, "before-pagination"),
|
|
485
|
-
y.value ||
|
|
485
|
+
y.value || m.value ? (o(), x("div", {
|
|
486
486
|
key: 1,
|
|
487
487
|
class: ae(["flex items-center gap-3", y.value && y.value.last_page === 1 ? "justify-end" : ""])
|
|
488
488
|
}, [
|
|
@@ -498,15 +498,15 @@ const nl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, dl = {
|
|
|
498
498
|
strategy: y.value.strategy,
|
|
499
499
|
"total-visible": "5"
|
|
500
500
|
}, null, 8, ["modelValue", "max-page", "strategy"])) : f("", !0),
|
|
501
|
-
|
|
501
|
+
m.value ? (o(), x("div", hl, [
|
|
502
502
|
U(i(he), {
|
|
503
|
-
disabled: !
|
|
504
|
-
onClick: a[12] || (a[12] = (s) =>
|
|
503
|
+
disabled: !m.value.prev,
|
|
504
|
+
onClick: a[12] || (a[12] = (s) => m.value.prev ? P(null, !1, m.value.prev) : null)
|
|
505
505
|
}, null, 8, ["disabled"]),
|
|
506
506
|
U(i(he), {
|
|
507
|
-
disabled: !
|
|
507
|
+
disabled: !m.value.next,
|
|
508
508
|
"is-next": "",
|
|
509
|
-
onClick: a[13] || (a[13] = (s) =>
|
|
509
|
+
onClick: a[13] || (a[13] = (s) => m.value.next ? P(null, !1, m.value.next) : null)
|
|
510
510
|
}, null, 8, ["disabled"])
|
|
511
511
|
])) : f("", !0),
|
|
512
512
|
r.value ? f("", !0) : (o(), x("div", wl, [
|
|
@@ -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-
|
|
2
|
+
import { aJ as D, aF as S, aA as B } from "./index-8ipXUTFW.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-
|
|
2
|
+
import { aA as U, d as A, B as b } from "./index-8ipXUTFW.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-
|
|
2
|
+
import { u as w, B as m } from "./index-8ipXUTFW.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-
|
|
2
|
+
import { d as F, aA as I, aB as U, B as w } from "./index-8ipXUTFW.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-
|
|
2
|
+
import { O as $, av as m } from "./index-8ipXUTFW.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-
|
|
3
|
-
import b from "./OcCropper-
|
|
2
|
+
import { aC as O } from "./index-8ipXUTFW.js";
|
|
3
|
+
import b from "./OcCropper-B0Tew9Mp.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-
|
|
2
|
+
import { aA as S, d as h, aK as D } from "./index-8ipXUTFW.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, 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-
|
|
2
|
+
import { av as _, B as w } from "./index-8ipXUTFW.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-
|
|
2
|
+
import { B as n } from "./index-8ipXUTFW.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-
|
|
2
|
+
import { B as d, av as h } from "./index-8ipXUTFW.js";
|
|
3
3
|
import { _ as k } from "./OcIcon-BedshzZm.js";
|
|
4
4
|
const x = { class: "w-full relative group" }, y = {
|
|
5
5
|
key: 0,
|
|
@@ -11160,16 +11160,16 @@ const Nc = { class: "flex flex-col gap-y-2 w-full" }, Fc = {
|
|
|
11160
11160
|
}), 128))
|
|
11161
11161
|
], 6)) : u("", !0);
|
|
11162
11162
|
}
|
|
11163
|
-
}, fv = be(() => import("./OcDataTable-
|
|
11164
|
-
() => import("./OcComplexCalendar-
|
|
11163
|
+
}, fv = be(() => import("./OcDataTable-CDrZLE8o.js")), vv = be(() => import("./OcFilterSearch-ppSiTVEJ.js")), gv = be(() => import("./OcFilterSearchFor-A44lFSe5.js")), yv = be(() => import("./OcFilterForm-Bumf_Kr0.js")), Xm = be(
|
|
11164
|
+
() => import("./OcComplexCalendar-B1LZGe7Z.js")
|
|
11165
11165
|
), pv = be(
|
|
11166
|
-
() => import("./OcComplexDatePicker-
|
|
11167
|
-
), pt = be(() => import("./OcModalCropper-
|
|
11168
|
-
() => import("./ThumbnailTheme-
|
|
11166
|
+
() => import("./OcComplexDatePicker-DgBa8wzV.js")
|
|
11167
|
+
), pt = be(() => import("./OcModalCropper-BpTvlYaU.js")), hv = be(() => import("./OcCropper-B0Tew9Mp.js")), Jm = be(() => import("./OcDraggable-DRsp4j4e.js")), xv = be(() => import("./OcDraggableList-CNFQZoqR.js")), bv = be(() => import("./OcEmojiPicker-UVF1nYt-.js")), wv = be(
|
|
11168
|
+
() => import("./ThumbnailTheme-mNAmDse0.js")
|
|
11169
11169
|
), kv = be(
|
|
11170
|
-
() => import("./ThumbnailSection-
|
|
11171
|
-
), $v = be(() => import("./SubPlanCard-
|
|
11172
|
-
() => import("./OcAccountSetupProgress-
|
|
11170
|
+
() => import("./ThumbnailSection-D8rdCnUY.js")
|
|
11171
|
+
), $v = be(() => import("./SubPlanCard-C1HmjlrL.js")), Sv = be(() => import("./OcTimePopup-CrwbZ_Nx.js")), Zm = be(() => import("./OcTimePicker-DORK_QJC.js")), Cv = be(
|
|
11172
|
+
() => import("./OcAccountSetupProgress-BExD3lVj.js")
|
|
11173
11173
|
);
|
|
11174
11174
|
export {
|
|
11175
11175
|
Df as $,
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { W as r, al as o, aY as t, a3 as n, a5 as i, au as p, _ as l, a6 as d, B as m, o as u, a as b, C as S, b as c, av as T, aI as g, aP as C, ay as x, az as P, c as I, aR as f, v as h, aO as O, p as F, aJ as B, aS as k, aA as v, aB as w, aT as A, a7 as L, U as D, M as H, T as M, a8 as _, aM as R, aL as y, aN as E, w as N, u as G, l as U, a9 as V, ac as j, ab as z, ad as W, x as q, a4 as J, d as K, e as Q, m as X, y as Y, z as Z, A as $, aC as aa, aQ as ea, t as sa, D as ra, N as oa, aD as ta, E as na, X as ia, k as pa, F as la, G as da, H as ma, af as ua, ag as ba, I as Sa, K as ca, a0 as Ta, f as ga, J as Ca, ah as xa, g as Pa, h as Ia, i as fa, ai as ha, q as Oa, j as Fa, r as Ba, aw as ka, an as va, aj as wa, aq as Aa, ap as La, am as Da, ao as Ha, ak as Ma, s as _a, S as Ra, ax as ya, Z as Ea, Y as Na, aa as Ga, aW as Ua, ar as Va, aE as ja, ae as za, L as Wa, P as qa, Q as Ja, O as Ka, R as Qa, $ as Xa, n as Ya, aV as Za, aU as $a, aX as ae, aK as ee, aF as se, as as re, V as oe, a2 as te, a1 as ne, at as ie, aG as pe } from "./index-
|
|
2
|
+
import { W as r, al as o, aY as t, a3 as n, a5 as i, au as p, _ as l, a6 as d, B as m, o as u, a as b, C as S, b as c, av as T, aI as g, aP as C, ay as x, az as P, c as I, aR as f, v as h, aO as O, p as F, aJ as B, aS as k, aA as v, aB as w, aT as A, a7 as L, U as D, M as H, T as M, a8 as _, aM as R, aL as y, aN as E, w as N, u as G, l as U, a9 as V, ac as j, ab as z, ad as W, x as q, a4 as J, d as K, e as Q, m as X, y as Y, z as Z, A as $, aC as aa, aQ as ea, t as sa, D as ra, N as oa, aD as ta, E as na, X as ia, k as pa, F as la, G as da, H as ma, af as ua, ag as ba, I as Sa, K as ca, a0 as Ta, f as ga, J as Ca, ah as xa, g as Pa, h as Ia, i as fa, ai as ha, q as Oa, j as Fa, r as Ba, aw as ka, an as va, aj as wa, aq as Aa, ap as La, am as Da, ao as Ha, ak as Ma, s as _a, S as Ra, ax as ya, Z as Ea, Y as Na, aa as Ga, aW as Ua, ar as Va, aE as ja, ae as za, L as Wa, P as qa, Q as Ja, O as Ka, R as Qa, $ as Xa, n as Ya, aV as Za, aU as $a, aX as ae, aK as ee, aF as se, as as re, V as oe, a2 as te, a1 as ne, at as ie, aG as pe } from "./index-8ipXUTFW.js";
|
|
3
3
|
import { _ as de } from "./OcProgressBar-lyqE5LZd.js";
|
|
4
4
|
import { _ as ue } from "./OcHorizontalProgressbar-DapCdBDF.js";
|
|
5
5
|
import { _ as Se } from "./OcSwitchTabs-B7LfmG3z.js";
|