@orchidui/core 1.98.0 → 1.100.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/AccountVerificationContent/OcAccountVerificationContent.js +1 -1
- 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/OnboardingRecap/OcOnboardingRecap.js +1 -1
- package/dist/DataDisplay/Overview/OcOverview.js +1 -1
- package/dist/DataDisplay/Pagination/OcPagination.js +1 -1
- package/dist/DataDisplay/RowItemData/OcRowItemData.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/OnboardingProduct/OnboardingProductOption.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/Checklist/OcChecklist.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-BoLET4GT.js → OcAccountSetupProgress-fTA45QKt.js} +1 -1
- package/dist/{OcComplexCalendar-D8wu2vLW.js → OcComplexCalendar-BwFQNEAh.js} +1 -1
- package/dist/{OcComplexDatePicker-BsHedj3D.js → OcComplexDatePicker-BZXRwTqC.js} +1 -1
- package/dist/{OcCropper-DnjqTglb.js → OcCropper-m-TxiHsp.js} +1 -1
- package/dist/OcDataTable-DPwZCrNW.js +640 -0
- package/dist/{OcDraggableList-GdjnUSzp.js → OcDraggableList-C7Gr4QKY.js} +1 -1
- package/dist/{OcEmojiPicker-6ofHBLOi.js → OcEmojiPicker-DFv9K_sW.js} +1 -1
- package/dist/{OcFilterForm-DSuc0a2A.js → OcFilterForm-B6DDioJ5.js} +1 -1
- package/dist/{OcFilterSearch-BWPyxAUb.js → OcFilterSearch-DgstuIRK.js} +1 -1
- package/dist/{OcFilterSearchFor-DhTPL0hB.js → OcFilterSearchFor-CRBFdflB.js} +1 -1
- package/dist/{OcModalCropper-Bj1x2-3a.js → OcModalCropper-BOtA6wdE.js} +2 -2
- package/dist/OcSort-CdCqVYLU.js +98 -0
- package/dist/{OcTimePicker-CWxOAR8m.js → OcTimePicker-C4MNrXpI.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-B2SKufjG.js → SubPlanCard-E8zL9B-D.js} +1 -1
- package/dist/{ThumbnailSection-DLGxDFCH.js → ThumbnailSection-Dnd2K49p.js} +1 -1
- package/dist/{ThumbnailTheme-BtIZA-dK.js → ThumbnailTheme-D2ur0y7U.js} +1 -1
- package/dist/{index-DjJgcNHc.js → index-I7kkCShO.js} +3208 -3181
- package/dist/index.js +49 -48
- package/package.json +3 -3
- package/dist/OcDataTable-C8vKFXfq.js +0 -621
|
@@ -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 { T as $, aB as m } from "./index-
|
|
2
|
+
import { T as $, aB as m } from "./index-I7kkCShO.js";
|
|
3
3
|
const w = { class: "flex gap-1 items-center normal-case flex-wrap" }, E = {
|
|
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 O } from "vue";
|
|
2
|
-
import { aI as b } from "./index-
|
|
3
|
-
import k from "./OcCropper-
|
|
2
|
+
import { aI as b } from "./index-I7kkCShO.js";
|
|
3
|
+
import k from "./OcCropper-m-TxiHsp.js";
|
|
4
4
|
const h = {
|
|
5
5
|
__name: "OcModalCropper",
|
|
6
6
|
props: {
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { ref as k, useId as B, computed as i, createBlock as C, openBlock as f, unref as l, withCtx as v, createElementVNode as o, createVNode as s, createElementBlock as O, createCommentVNode as $, normalizeClass as x } from "vue";
|
|
2
|
+
import { aG as D, B as N, h as S } from "./index-I7kkCShO.js";
|
|
3
|
+
import { _ as V } from "./OcIcon-CUKFUeB7.js";
|
|
4
|
+
const A = { class: "relative" }, h = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "absolute -top-1 -right-1 w-2 h-2 rounded-full bg-oc-primary border-2 border-white"
|
|
7
|
+
}, z = { class: "p-4 flex flex-col gap-y-3 min-w-[220px]" }, _ = {
|
|
8
|
+
__name: "OcSort",
|
|
9
|
+
props: {
|
|
10
|
+
/** Field options for the "Sort by" radio group. Array of `{ label, value }`. */
|
|
11
|
+
sortOptions: {
|
|
12
|
+
type: Array,
|
|
13
|
+
default: () => []
|
|
14
|
+
},
|
|
15
|
+
/**
|
|
16
|
+
* v-model — current sort as `{ field, direction }`.
|
|
17
|
+
* `field` is one of `sortOptions` values, or `null` for the default sort.
|
|
18
|
+
* `direction` is `'asc'` or `'desc'`.
|
|
19
|
+
*/
|
|
20
|
+
modelValue: {
|
|
21
|
+
type: Object,
|
|
22
|
+
default: () => ({ field: null, direction: "asc" })
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
emits: {
|
|
26
|
+
/** Sort changed. Payload: `{ field, direction }`. */
|
|
27
|
+
"update:modelValue": []
|
|
28
|
+
},
|
|
29
|
+
setup(d, { emit: g }) {
|
|
30
|
+
const u = g, m = d, c = k(!1), w = `oc-sort-${B()}`, n = i(() => {
|
|
31
|
+
var t;
|
|
32
|
+
return ((t = m.modelValue) == null ? void 0 : t.field) ?? null;
|
|
33
|
+
}), a = i(() => {
|
|
34
|
+
var t;
|
|
35
|
+
return ((t = m.modelValue) == null ? void 0 : t.direction) ?? "asc";
|
|
36
|
+
}), y = i(() => !!n.value), b = (t) => {
|
|
37
|
+
u("update:modelValue", { field: t, direction: a.value });
|
|
38
|
+
}, p = (t) => {
|
|
39
|
+
u("update:modelValue", { field: n.value, direction: t });
|
|
40
|
+
};
|
|
41
|
+
return (t, e) => (f(), C(l(D), {
|
|
42
|
+
modelValue: c.value,
|
|
43
|
+
"onUpdate:modelValue": e[2] || (e[2] = (r) => c.value = r),
|
|
44
|
+
distance: 12
|
|
45
|
+
}, {
|
|
46
|
+
menu: v(() => [
|
|
47
|
+
o("div", z, [
|
|
48
|
+
e[5] || (e[5] = o("span", { class: "text-oc-text-400 text-sm font-medium" }, "Sort by", -1)),
|
|
49
|
+
s(l(S), {
|
|
50
|
+
radio: d.sortOptions,
|
|
51
|
+
"model-value": n.value,
|
|
52
|
+
"group-name": w,
|
|
53
|
+
"onUpdate:modelValue": b
|
|
54
|
+
}, null, 8, ["radio", "model-value"]),
|
|
55
|
+
e[6] || (e[6] = o("div", { class: "border-t border-oc-gray-200" }, null, -1)),
|
|
56
|
+
o("div", {
|
|
57
|
+
class: x(["flex items-center gap-x-2 text-sm cursor-pointer", a.value === "asc" ? "text-oc-primary font-medium" : "text-oc-text"]),
|
|
58
|
+
onClick: e[0] || (e[0] = (r) => p("asc"))
|
|
59
|
+
}, [
|
|
60
|
+
s(l(V), {
|
|
61
|
+
name: "arrow-down",
|
|
62
|
+
width: "14",
|
|
63
|
+
height: "14"
|
|
64
|
+
}),
|
|
65
|
+
e[3] || (e[3] = o("span", null, "Ascending", -1))
|
|
66
|
+
], 2),
|
|
67
|
+
o("div", {
|
|
68
|
+
class: x(["flex items-center gap-x-2 text-sm cursor-pointer", a.value === "desc" ? "text-oc-primary font-medium" : "text-oc-text"]),
|
|
69
|
+
onClick: e[1] || (e[1] = (r) => p("desc"))
|
|
70
|
+
}, [
|
|
71
|
+
s(l(V), {
|
|
72
|
+
name: "arrow-up",
|
|
73
|
+
width: "14",
|
|
74
|
+
height: "14"
|
|
75
|
+
}),
|
|
76
|
+
e[4] || (e[4] = o("span", null, "Descending", -1))
|
|
77
|
+
], 2)
|
|
78
|
+
])
|
|
79
|
+
]),
|
|
80
|
+
default: v(() => [
|
|
81
|
+
o("div", A, [
|
|
82
|
+
s(l(N), {
|
|
83
|
+
variant: "secondary",
|
|
84
|
+
size: "small",
|
|
85
|
+
class: "w-8",
|
|
86
|
+
"icon-class": "shrink-0",
|
|
87
|
+
"left-icon": "transfer"
|
|
88
|
+
}),
|
|
89
|
+
y.value ? (f(), O("span", h)) : $("", !0)
|
|
90
|
+
])
|
|
91
|
+
]),
|
|
92
|
+
_: 1
|
|
93
|
+
}, 8, ["modelValue"]));
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
export {
|
|
97
|
+
_ as default
|
|
98
|
+
};
|
|
@@ -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 { aG as S, d as h, aQ as D } from "./index-
|
|
2
|
+
import { aG as S, d as h, aQ as D } from "./index-I7kkCShO.js";
|
|
3
3
|
import { d as c } from "./dayjs.min-7xVZzECu.js";
|
|
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 { aB as _, B as w } from "./index-
|
|
2
|
+
import { aB as _, B as w } from "./index-I7kkCShO.js";
|
|
3
3
|
import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
import { _ as F } from "./OcIcon-CUKFUeB7.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-I7kkCShO.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, aB as h } from "./index-
|
|
2
|
+
import { B as d, aB as h } from "./index-I7kkCShO.js";
|
|
3
3
|
import { _ as k } from "./OcIcon-CUKFUeB7.js";
|
|
4
4
|
const x = { class: "w-full relative group" }, y = {
|
|
5
5
|
key: 0,
|