@orchidui/core 1.21.1-5 → 1.22.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/DataTable/utils/filterUtils.js +36 -36
- 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/Select/utils/deepEqual.js +14 -0
- 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/MediaAndIcons/Icon/OcIcon.js +1 -1
- package/dist/{OcAccountSetupProgress-EnSKzRAi.js → OcAccountSetupProgress-DHljLy0v.js} +2 -2
- package/dist/{OcComplexCalendar-DuxoC_Rf.js → OcComplexCalendar-BjxFt0Tj.js} +1 -1
- package/dist/{OcComplexDatePicker-BXt_mBVM.js → OcComplexDatePicker-uPgDAFyV.js} +1 -1
- package/dist/{OcCropper-Cp9xWMDk.js → OcCropper-5W2wwIao.js} +2 -2
- package/dist/OcDataTable-VLOFYPSC.js +585 -0
- package/dist/{OcDraggableList-hdeWSs-8.js → OcDraggableList-CAc4iRqa.js} +2 -2
- package/dist/{OcEmojiPicker-DGPj1xoi.js → OcEmojiPicker-Ig6bs1LS.js} +1 -1
- package/dist/{OcFilterForm-BWsj5SsM.js → OcFilterForm-Ct7-0OYG.js} +1 -1
- package/dist/{OcFilterSearch-CUIvBRHn.js → OcFilterSearch-Ca8l770D.js} +7 -7
- package/dist/{OcFilterSearchFor-CnQZTdBL.js → OcFilterSearchFor-IyUqdC-y.js} +1 -1
- package/dist/{OcIcon-CxreweI4.js → OcIcon-BedshzZm.js} +17 -18
- package/dist/{OcModalCropper-NyahZyNV.js → OcModalCropper-CR47iw_0.js} +2 -2
- package/dist/{OcTimePicker-BqethDuQ.js → OcTimePicker-CSGlDbie.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-Big-0mud.js → SubPlanCard-DbvvB-n5.js} +2 -2
- package/dist/{ThumbnailSection-tAa4jgXl.js → ThumbnailSection-DwRM-1-q.js} +1 -1
- package/dist/{ThumbnailTheme-DwUkhRQi.js → ThumbnailTheme-3rIkJm--.js} +2 -2
- package/dist/core.css +1 -1
- package/dist/index-BLrp92me.js +11173 -0
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/OcDataTable-DsJIV4y0.js +0 -581
- package/dist/index-DWUxuSzh.js +0 -11107
|
@@ -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-BLrp92me.js";
|
|
2
2
|
export {
|
|
3
3
|
l as ExpandingHeaderRow,
|
|
4
4
|
n as ExpandingTable,
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import S from "dayjs";
|
|
2
|
-
const
|
|
2
|
+
const B = (c) => {
|
|
3
3
|
let e = [];
|
|
4
|
-
return c.forEach((
|
|
5
|
-
e.push(
|
|
4
|
+
return c.forEach((g) => {
|
|
5
|
+
e.push(g.key);
|
|
6
6
|
}), e;
|
|
7
|
-
},
|
|
7
|
+
}, L = (c, e) => {
|
|
8
8
|
if (!c) return [];
|
|
9
|
-
let
|
|
9
|
+
let g = [];
|
|
10
10
|
return Object.keys(c).forEach((a) => {
|
|
11
|
-
var
|
|
12
|
-
let u = (
|
|
13
|
-
const
|
|
14
|
-
if ((
|
|
15
|
-
|
|
16
|
-
}), a !== "page" && a !== "cursor" && a !==
|
|
17
|
-
let
|
|
11
|
+
var r, Y, A, h, E, x, I, K;
|
|
12
|
+
let u = (r = e == null ? void 0 : e.tabs) == null ? void 0 : r.key;
|
|
13
|
+
const j = (Y = e == null ? void 0 : e.search) == null ? void 0 : Y.key, _ = ((A = e == null ? void 0 : e.per_page) == null ? void 0 : A.key) ?? "per_page";
|
|
14
|
+
if ((h = e.form) == null || h.find((M) => {
|
|
15
|
+
M.name === u && (u = "");
|
|
16
|
+
}), a !== "page" && a !== "cursor" && a !== _ && a !== u && a !== j) {
|
|
17
|
+
let M = null, y = (E = e.form) == null ? void 0 : E.find((b) => {
|
|
18
18
|
if (typeof b.name == "object") {
|
|
19
|
-
let
|
|
20
|
-
return b.name.forEach((
|
|
21
|
-
|
|
22
|
-
}),
|
|
19
|
+
let m = !1;
|
|
20
|
+
return b.name.forEach((d) => {
|
|
21
|
+
d.key === a && (m = !0, M = B(b.name));
|
|
22
|
+
}), m;
|
|
23
23
|
} else
|
|
24
24
|
return b.name === a;
|
|
25
|
-
}),
|
|
25
|
+
}), k = "";
|
|
26
26
|
if (y && c[a]) {
|
|
27
|
-
if (typeof y.name == "object" ? (x = y.name) == null || x.forEach((
|
|
28
|
-
|
|
29
|
-
}) :
|
|
30
|
-
(
|
|
27
|
+
if (typeof y.name == "object" ? (x = y.name) == null || x.forEach((m) => {
|
|
28
|
+
k && (k += " - "), k += c[m.key];
|
|
29
|
+
}) : k = c[a], y.props.options && (k = (y.props.multiple ? c[a] : [c[a]]).map(
|
|
30
|
+
(d) => {
|
|
31
31
|
var N;
|
|
32
|
-
return (N = y.props.options.find(({ value:
|
|
32
|
+
return (N = y.props.options.find(({ value: F }) => Array.isArray(d) && Array.isArray(F) ? d.every((s) => F.includes(s)) : F === d)) == null ? void 0 : N.label;
|
|
33
33
|
}
|
|
34
|
-
).join(", ")), y.type === "RangeInput" && Array.isArray(c[a]) && (
|
|
34
|
+
).join(", ")), y.type === "RangeInput" && Array.isArray(c[a]) && (k = c[a][0].toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") + " - " + c[a][1].toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")), y.type === "DatePicker")
|
|
35
35
|
if (((I = y == null ? void 0 : y.props) == null ? void 0 : I.type) === "range" && y.name && y.name[1]) {
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
-
} else
|
|
39
|
-
let b = `${(K = y == null ? void 0 : y.props) == null ? void 0 : K.label} : ${
|
|
40
|
-
y && y.name && typeof y.name == "object" &&
|
|
36
|
+
const m = S(c[y.name[0].key]).format("MM/DD/YYYY"), d = S(c[y.name[1].key]).format("MM/DD/YYYY");
|
|
37
|
+
k = m === d ? m : m + " - " + d;
|
|
38
|
+
} else k = S(c[y.name]).format("MM/DD/YYYY");
|
|
39
|
+
let b = `${(K = y == null ? void 0 : y.props) == null ? void 0 : K.label} : ${k}`;
|
|
40
|
+
y && y.name && typeof y.name == "object" && g.find((d) => d.name === M[0]) && (b = ""), g.push({
|
|
41
41
|
label: b,
|
|
42
42
|
name: a,
|
|
43
|
-
multiNames:
|
|
43
|
+
multiNames: M
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
}),
|
|
48
|
-
},
|
|
49
|
-
var _,
|
|
47
|
+
}), g;
|
|
48
|
+
}, P = (c, e, g, a) => {
|
|
49
|
+
var j, _, r, Y, A, h, E;
|
|
50
50
|
const u = {};
|
|
51
|
-
return e ? c.page = 1 : c.cursor = "", (
|
|
51
|
+
return e ? c.page = 1 : c.cursor = "", (j = e == null ? void 0 : e.per_page) != null && j.key ? u[(_ = e == null ? void 0 : e.per_page) == null ? void 0 : _.key] = g : u.per_page = g, (r = e == null ? void 0 : e.tabs) != null && r.key ? u[(Y = e == null ? void 0 : e.tabs) == null ? void 0 : Y.key] = a : u.tabs = a, (A = e == null ? void 0 : e.columnEdit) != null && A.key && (u[(h = e == null ? void 0 : e.columnEdit) == null ? void 0 : h.key] = c[(E = e == null ? void 0 : e.columnEdit) == null ? void 0 : E.key]), u;
|
|
52
52
|
};
|
|
53
53
|
export {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
P as clearAllFilters,
|
|
55
|
+
L as formatFilterDisplay,
|
|
56
|
+
B as getFilterFieldNames
|
|
57
57
|
};
|
|
@@ -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-BLrp92me.js";
|
|
2
|
+
import { default as i } from "../../OcAccountSetupProgress-DHljLy0v.js";
|
|
3
3
|
export {
|
|
4
4
|
r as AccountSetup,
|
|
5
5
|
i as AccountSetupProgress,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const s = (e, r) => {
|
|
2
|
+
if (e === r) return !0;
|
|
3
|
+
if (e == null || r == null) return e === r;
|
|
4
|
+
if (Array.isArray(e) && Array.isArray(r))
|
|
5
|
+
return e.length !== r.length ? !1 : e.every((t, n) => s(t, r[n]));
|
|
6
|
+
if (typeof e == "object" && typeof r == "object") {
|
|
7
|
+
const t = Object.keys(e), n = Object.keys(r);
|
|
8
|
+
return t.length !== n.length ? !1 : t.every((l) => s(e[l], r[l]));
|
|
9
|
+
}
|
|
10
|
+
return !1;
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
s as deepEqual
|
|
14
|
+
};
|
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-BLrp92me.js";
|
|
2
2
|
import { T as F } from "../OcToggle-DOfA-DZ8.js";
|
|
3
3
|
export {
|
|
4
4
|
e as BaseInput,
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
3
|
-
import { _ as c } from "./OcIcon-
|
|
2
|
+
import "./index-BLrp92me.js";
|
|
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",
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as x, createElementBlock as o, openBlock as n, createElementVNode as b, createCommentVNode as i, createVNode as d, Fragment as V, renderList as v, normalizeClass as k, unref as a, toDisplayString as p, 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-BLrp92me.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-BLrp92me.js";
|
|
3
3
|
import r from "dayjs";
|
|
4
4
|
const x = {
|
|
5
5
|
__name: "OcComplexDatePicker",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as u, watch as D, nextTick as J, createElementBlock as h, openBlock as o, createElementVNode as m, createBlock as r, unref as a, createCommentVNode as s, Fragment as K, createVNode as g, withCtx as T } from "vue";
|
|
2
|
-
import { B as k, d as x, C as y, h as M, aF as P } from "./index-
|
|
2
|
+
import { B as k, d as x, C as y, h as M, aF as P } from "./index-BLrp92me.js";
|
|
3
3
|
import { Cropper as Q } from "vue-advanced-cropper";
|
|
4
|
-
import { _ as W } from "./OcIcon-
|
|
4
|
+
import { _ as W } from "./OcIcon-BedshzZm.js";
|
|
5
5
|
const X = { class: "flex flex-col gap-y-5" }, Y = ["src"], Z = { class: "flex gap-x-1 justify-center relative" }, _ = { class: "grid grid-cols-2 gap-4" }, ee = {
|
|
6
6
|
key: 1,
|
|
7
7
|
class: "flex items-center gap-x-2 justify-normal"
|