@orchidui/core 1.6.1-18 → 1.6.1-19
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 +2 -2
- 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/{OcAccountSetupProgress-BjfQtti6.js → OcAccountSetupProgress-FzNWwcFl.js} +1 -1
- package/dist/{OcComplexCalendar-Dtii5kbS.js → OcComplexCalendar-BWoSSKlI.js} +1 -1
- package/dist/{OcComplexDatePicker-knDuMPQ-.js → OcComplexDatePicker-KE4OEWlh.js} +1 -1
- package/dist/{OcCropper-Cs1br5gM.js → OcCropper-BLuBCONZ.js} +1 -1
- package/dist/{OcDataTable-BuCcaw6O.js → OcDataTable-BjA6n-y_.js} +1 -1
- package/dist/{OcDraggableList-D8jkG_dR.js → OcDraggableList-BvrTy4wc.js} +55 -51
- package/dist/{OcEmojiPicker-r_oSAUXc.js → OcEmojiPicker-D7n9WjAK.js} +1 -1
- package/dist/{OcFilterForm-BHm8utOI.js → OcFilterForm-fcyHvRhn.js} +1 -1
- package/dist/{OcFilterSearch-DFzYtw_G.js → OcFilterSearch-BmpKvmN1.js} +1 -1
- package/dist/{OcFilterSearchFor-BCFjKf7c.js → OcFilterSearchFor-BL5zOXQK.js} +1 -1
- package/dist/{OcModalCropper-BoFKmCLB.js → OcModalCropper-BKPByA0o.js} +2 -2
- package/dist/{OcTimePicker-OA2Jp-0u.js → OcTimePicker--oxSqlct.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-di2XPWCL.js → SubPlanCard-BPEQW97U.js} +1 -1
- package/dist/{ThumbnailSection-Dp0SWn3d.js → ThumbnailSection-EANjwAGR.js} +1 -1
- package/dist/{ThumbnailTheme-EzxIKtMd.js → ThumbnailTheme-FRiuXnMQ.js} +1 -1
- package/dist/{index-DU6BvFc3.js → index-IpzCd1bE.js} +80 -72
- package/dist/index.js +1 -1
- package/package.json +1 -1
@@ -1,7 +1,7 @@
|
|
1
|
-
import { ref as
|
2
|
-
import { aG as
|
3
|
-
import { _ as
|
4
|
-
const
|
1
|
+
import { ref as w, openBlock as n, createBlock as y, unref as l, withCtx as r, createElementBlock as b, Fragment as K, renderList as $, normalizeClass as s, createElementVNode as o, createCommentVNode as m, renderSlot as u, toDisplayString as k, createVNode as f } from "vue";
|
2
|
+
import { aG as D, aC as S, ax as B } from "./index-IpzCd1bE.js";
|
3
|
+
import { _ as g } from "./OcIcon-CJgBICxh.js";
|
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" }, 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" }, T = {
|
5
5
|
__name: "OcDraggableList",
|
6
6
|
props: {
|
7
7
|
modelValue: Array,
|
@@ -19,7 +19,9 @@ const B = ["onMouseleave", "onMouseover", "onClick"], L = { class: "flex justify
|
|
19
19
|
type: String,
|
20
20
|
default: "link"
|
21
21
|
},
|
22
|
-
|
22
|
+
unmovable: Boolean,
|
23
|
+
// general unmovable
|
24
|
+
enableStatusVariant: Boolean,
|
23
25
|
classes: {
|
24
26
|
type: String,
|
25
27
|
default: ""
|
@@ -31,76 +33,78 @@ const B = ["onMouseleave", "onMouseover", "onClick"], L = { class: "flex justify
|
|
31
33
|
"click:element": [],
|
32
34
|
detectMove: null
|
33
35
|
},
|
34
|
-
setup(
|
35
|
-
const
|
36
|
-
|
36
|
+
setup(a, { emit: p }) {
|
37
|
+
const V = p, t = w([]), v = w([]), C = (i, d) => {
|
38
|
+
V("update:modelValue", i, d);
|
37
39
|
};
|
38
|
-
return (
|
39
|
-
"model-value":
|
40
|
+
return (i, d) => (n(), y(l(D), {
|
41
|
+
"model-value": a.modelValue,
|
40
42
|
class: "grid gap-3",
|
41
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
42
|
-
onDetectMove: d[1] || (d[1] = (
|
43
|
+
"onUpdate:modelValue": d[0] || (d[0] = (c, e) => C(c, e)),
|
44
|
+
onDetectMove: d[1] || (d[1] = (c) => i.$emit("detectMove", c))
|
43
45
|
}, {
|
44
|
-
default:
|
45
|
-
(
|
46
|
+
default: r(({ list: c }) => [
|
47
|
+
(n(!0), b(K, null, $(c, (e, x) => (n(), b("div", {
|
46
48
|
key: e.id,
|
47
|
-
class: s([
|
48
|
-
"
|
49
|
-
|
50
|
-
|
49
|
+
class: s(["group text-oc-text-500 p-4 flex flex-col w-full rounded border border-gray-200 cursor-pointer", [
|
50
|
+
e[a.childrenKey] ? "hover:shadow bg-oc-gray-50" : a.isChildren && !t.value[e.id] ? "bg-oc-accent-1-50" : a.classes ? a.classes : "hover:shadow bg-oc-accent-1-50 hover:bg-oc-gray-50",
|
51
|
+
{
|
52
|
+
"bg-oc-gray-100 !text-oc-text-300": !e.active && a.enableStatusVariant
|
53
|
+
}
|
54
|
+
]]),
|
51
55
|
onMouseleave: () => {
|
52
|
-
v.value[e.id] = !1,
|
56
|
+
v.value[e.id] = !1, t.value[e.id] = !1;
|
53
57
|
},
|
54
|
-
onMouseover: (
|
55
|
-
onClick: (
|
58
|
+
onMouseover: (h) => t.value[e.id] = !0,
|
59
|
+
onClick: (h) => i.$emit("click:element", e)
|
56
60
|
}, [
|
57
61
|
o("div", L, [
|
58
62
|
o("div", N, [
|
59
63
|
o("div", {
|
60
64
|
class: s([
|
61
65
|
"px-2 flex items-center",
|
62
|
-
!
|
66
|
+
!a.unmovable && !e.isDisable && !e.unmovable ? "drag-el cursor-move" : ""
|
63
67
|
])
|
64
68
|
}, [
|
65
|
-
!
|
69
|
+
!a.unmovable && !e.isDisable && !e.unmovable ? (n(), y(l(g), {
|
66
70
|
key: 0,
|
67
71
|
name: "draggable",
|
68
72
|
class: s(
|
69
|
-
e[
|
73
|
+
e[a.iconKey] ? a.isChildren && !t.value[e.id] ? "hidden" : "hidden group-hover:block" : a.isChildren && !t.value[e.id] ? "opacity-0" : "opacity-0 group-hover:opacity-100 "
|
70
74
|
)
|
71
|
-
}, null, 8, ["class"])) :
|
72
|
-
e[
|
75
|
+
}, null, 8, ["class"])) : m("", !0),
|
76
|
+
e[a.iconKey] ? (n(), y(l(g), {
|
73
77
|
key: 1,
|
74
|
-
name: e[
|
78
|
+
name: e[a.iconKey],
|
75
79
|
class: s(
|
76
|
-
!
|
80
|
+
!a.unmovable && !e.isDisable && !e.unmovable && t.value[e.id] ? "group-hover:hidden" : ""
|
77
81
|
)
|
78
|
-
}, null, 8, ["name", "class"])) :
|
82
|
+
}, null, 8, ["name", "class"])) : m("", !0)
|
79
83
|
], 2),
|
80
84
|
o("div", U, [
|
81
85
|
o("div", E, [
|
82
|
-
u(
|
86
|
+
u(i.$slots, "title", { item: e }, () => [
|
83
87
|
o("div", {
|
84
|
-
class: s(["truncate",
|
88
|
+
class: s(["truncate", a.titleWidth])
|
85
89
|
}, k(e.title), 3)
|
86
90
|
]),
|
87
|
-
|
91
|
+
a.isLink && e[a.linkKey] && e.type === "link" ? (n(), b("a", {
|
88
92
|
key: 0,
|
89
|
-
href: e[
|
93
|
+
href: e[a.linkKey],
|
90
94
|
target: "_blank",
|
91
95
|
rel: "noopener noreferrer",
|
92
96
|
class: "w-full flex items-center text-oc-text-300 mt-2"
|
93
97
|
}, [
|
94
|
-
f(
|
98
|
+
f(l(S), {
|
95
99
|
distance: "2",
|
96
100
|
position: "bottom-start",
|
97
101
|
"popper-class": "bg-oc-bg-light text-oc-text-500 p-4 rounded"
|
98
102
|
}, {
|
99
|
-
popper:
|
100
|
-
o("div", W, k(e[
|
103
|
+
popper: r(() => [
|
104
|
+
o("div", W, k(e[a.linkKey]), 1)
|
101
105
|
]),
|
102
|
-
default:
|
103
|
-
f(
|
106
|
+
default: r(() => [
|
107
|
+
f(l(g), {
|
104
108
|
width: "12",
|
105
109
|
height: "12",
|
106
110
|
class: "mr-2",
|
@@ -109,34 +113,34 @@ const B = ["onMouseleave", "onMouseover", "onClick"], L = { class: "flex justify
|
|
109
113
|
]),
|
110
114
|
_: 2
|
111
115
|
}, 1024),
|
112
|
-
o("span", j, k(e[
|
113
|
-
], 8, O)) :
|
116
|
+
o("span", j, k(e[a.linkKey]), 1)
|
117
|
+
], 8, O)) : m("", !0)
|
114
118
|
])
|
115
119
|
])
|
116
120
|
]),
|
117
121
|
o("div", z, [
|
118
|
-
u(
|
119
|
-
u(
|
120
|
-
f(
|
122
|
+
u(i.$slots, "before-action", { item: e }),
|
123
|
+
u(i.$slots, "action", { item: e }, () => [
|
124
|
+
f(l(B), {
|
121
125
|
modelValue: v.value[e.id],
|
122
|
-
"onUpdate:modelValue": (
|
126
|
+
"onUpdate:modelValue": (h) => v.value[e.id] = h,
|
123
127
|
placement: "bottom-end",
|
124
128
|
class: s([
|
125
129
|
"cursor-pointer",
|
126
|
-
|
130
|
+
a.isChildren && !t.value[e.id] ? "opacity-0" : "opacity-0 group-hover:opacity-100"
|
127
131
|
])
|
128
132
|
}, {
|
129
|
-
menu:
|
130
|
-
u(
|
133
|
+
menu: r(() => [
|
134
|
+
u(i.$slots, "action-item", {
|
131
135
|
item: e,
|
132
136
|
index: x
|
133
137
|
})
|
134
138
|
]),
|
135
|
-
default:
|
139
|
+
default: r(() => [
|
136
140
|
o("div", {
|
137
141
|
class: s(["hover:bg-oc-gray-100 p-1 rounded", v.value[e.id] ? "bg-oc-gray-100" : ""])
|
138
142
|
}, [
|
139
|
-
f(
|
143
|
+
f(l(g), { name: "dots-vertical" })
|
140
144
|
], 2)
|
141
145
|
]),
|
142
146
|
_: 2
|
@@ -145,12 +149,12 @@ const B = ["onMouseleave", "onMouseover", "onClick"], L = { class: "flex justify
|
|
145
149
|
])
|
146
150
|
]),
|
147
151
|
o("div", A, [
|
148
|
-
u(
|
152
|
+
u(i.$slots, "content", {
|
149
153
|
item: e,
|
150
154
|
index: x
|
151
155
|
})
|
152
156
|
])
|
153
|
-
], 42,
|
157
|
+
], 42, M))), 128))
|
154
158
|
]),
|
155
159
|
_: 3
|
156
160
|
}, 8, ["model-value"]));
|
@@ -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 { ax as U, e as J, B as b } from "./index-
|
2
|
+
import { ax as U, e as J, B as b } from "./index-IpzCd1bE.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-IpzCd1bE.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 i, 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-IpzCd1bE.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 n, 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, as as i } from "./index-
|
2
|
+
import { N as y, as as i } from "./index-IpzCd1bE.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 { az as d } from "./index-
|
3
|
-
import x from "./OcCropper-
|
2
|
+
import { az as d } from "./index-IpzCd1bE.js";
|
3
|
+
import x from "./OcCropper-BLuBCONZ.js";
|
4
4
|
const C = {
|
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 { ax as S, aH as h, e as x } from "./index-
|
2
|
+
import { ax as S, aH as h, e as x } from "./index-IpzCd1bE.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 { as as _, B as w } from "./index-
|
2
|
+
import { as as _, B as w } from "./index-IpzCd1bE.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-IpzCd1bE.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 o, 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, as as v } from "./index-
|
2
|
+
import { B as d, as as v } from "./index-IpzCd1bE.js";
|
3
3
|
import { _ as k } from "./OcIcon-CJgBICxh.js";
|
4
4
|
const x = { class: "w-full relative group" }, y = {
|
5
5
|
key: 0,
|