@orchidui/core 0.5.0 → 0.7.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 +3 -3
- package/dist/DataDisplay/OnboardingListItem/OcOnboardingListItem.js +1 -1
- package/dist/DataDisplay/Overview/OcOverview.js +4 -5
- package/dist/DataDisplay/Pagination/OcPagination.js +1 -1
- package/dist/DataDisplay/Table/OcTable.js +4 -4
- 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 +3 -3
- package/dist/Disclosure/Tabs/Tabs.js +1 -1
- package/dist/Disclosure/Variants/OcVariants.js +1 -1
- package/dist/Elements/AdditionalContent/OcAdditionalContent.js +2 -2
- package/dist/Elements/AuthenticationOption/AuthenticationOption.js +2 -2
- package/dist/Elements/Box/OcBox.js +2 -2
- package/dist/Elements/EmptyPage/OcEmptyPage.js +1 -1
- package/dist/Elements/FeatureOverviewCard/OcFeatureOverviewCard.js +1 -1
- package/dist/Elements/Header/OcHeader.js +3 -3
- package/dist/Elements/PageTitle/OcPageTitle.js +3 -4
- package/dist/Elements/SandboxBanner/OcSandboxBanner.js +1 -1
- package/dist/Elements/Sidebar/OcSidebar.js +1 -1
- package/dist/Elements/Skeleton/OcSkeleton.js +1 -1
- package/dist/Elements/SubSidebar/OcSubSidebar.js +1 -1
- package/dist/Elements/VerificationOption/OcVerificationOption.js +2 -2
- package/dist/Feedback/Banner/OcBanner.js +1 -1
- package/dist/Feedback/Chip/OcChip.js +2 -2
- package/dist/Feedback/ShareIcon/OcShareIcon.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/Form/Input/OcInput.js +3 -4
- 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 +2 -2
- package/dist/Form/Select/OcSelect.js +4 -5
- package/dist/Form/SelectOptions/OcSelectOptions.js +2 -2
- package/dist/Form/SingleFileUpload/OcSingleFileUpload.js +1 -1
- package/dist/Form/Slider/OcSlider.js +1 -1
- package/dist/Form/TextArea/OcTextArea.js +2 -2
- package/dist/Form/Toggle/OcToggle.js +1 -1
- package/dist/Form/index.js +24 -47
- package/dist/FormBuilder/OcFormBuilder.js +1 -1
- package/dist/{OcComplexCalendar-DXl0ecZ-.js → OcComplexCalendar-Boa7mNFU.js} +18 -25
- package/dist/OcComplexDatePicker-BydI4VSR.js +93 -0
- package/dist/{OcCropper-31Y_S1Ne.js → OcCropper-7E2i6ayU.js} +38 -49
- package/dist/OcDataTable-CsCGrRx7.js +561 -0
- package/dist/{OcDraggable-BjhGJmpM.js → OcDraggable-CA_BCbpl.js} +7 -8
- package/dist/{Draggable.js → OcDraggableList-BUu5SgoA.js} +39 -50
- package/dist/{OcEmojiPicker-BXm-_OGK.js → OcEmojiPicker-DYYK7OB3.js} +28 -38
- package/dist/OcFilterForm-7ehuJUMp.js +83 -0
- package/dist/OcFilterSearch-B4AZsLBn.js +69 -0
- package/dist/OcFilterSearchFor-DfwJG-5N.js +67 -0
- package/dist/OcModalCropper-Z4jlnFc5.js +46 -0
- package/dist/{OcSkeleton-BdPTmGh0.js → OcSkeleton-CvdpGSQR.js} +2 -3
- package/dist/{OcSlider-Bsi-ckbP.js → OcSlider-DW9x8eas.js} +10 -11
- package/dist/{OcTimePicker-B61MCi0D.js → OcTimePicker-D9fPU8_m.js} +22 -33
- package/dist/{OcTimePopup-zQFKCZLk.js → OcTimePopup-CXGhaOev.js} +2 -3
- package/dist/{OcToggle-C0wTjM_Y.js → OcToggle-bIJaLDMZ.js} +5 -6
- package/dist/Overlay/ConfirmationModal/OcConfirmationModal.js +1 -1
- package/dist/Overlay/CopyTooltip/OcCopyTooltip.js +1 -1
- package/dist/Overlay/Dropdown/OcDropdown.js +3 -4
- package/dist/Overlay/Modal/OcModal.js +3 -4
- package/dist/Overlay/SupportMenu/OcSupportMenu.js +1 -1
- package/dist/Overlay/Tooltip/OcTooltip.js +2 -2
- package/dist/Overlay/Whitelist/OcWhiteList.js +2 -2
- package/dist/SubPlanCard-DHj4RHJZ.js +81 -0
- package/dist/ThumbnailSection-CJBS0QXp.js +41 -0
- package/dist/ThumbnailTheme-hey6se0g.js +119 -0
- package/dist/index-DyVteXE3.js +10028 -0
- package/dist/index.js +129 -948
- package/dist/style.css +1 -1
- package/package.json +1 -16
- package/dist/Calendar.js +0 -103
- package/dist/Cropper.js +0 -6
- package/dist/DatePicker-BLK16hYl.js +0 -263
- package/dist/EmojiPicker.js +0 -4
- package/dist/Form/TimePicker/OcTimePicker.js +0 -6
- package/dist/OcAccordion-DdkNsXvN.js +0 -101
- package/dist/OcAccountSetup-BXDjf48o.js +0 -324
- package/dist/OcAdditionalContent-BMSysCXu.js +0 -612
- package/dist/OcAuthenticationOption.vue_vue_type_script_setup_true_lang-w5Y0ymGN.js +0 -43
- package/dist/OcBanner-Cg2WJV6e.js +0 -108
- package/dist/OcBox.vue_vue_type_script_setup_true_lang-aB397QRg.js +0 -43
- package/dist/OcCardInput-BFE4Xu-S.js +0 -75
- package/dist/OcCheckboxesGroup-CLbquUO2.js +0 -94
- package/dist/OcChip-B1hm2Qni.js +0 -144
- package/dist/OcComplexCalendar.vue_vue_type_style_index_0_lang-CIQPD-6N.js +0 -1006
- package/dist/OcConfirmationModal-BfCrRV9r.js +0 -179
- package/dist/OcCopyTooltip.vue_vue_type_script_setup_true_lang-S2RAfV_g.js +0 -65
- package/dist/OcCriteria-CpIohheZ.js +0 -42
- package/dist/OcCustomerCard-DbDOBO03.js +0 -160
- package/dist/OcDropdownItem-DAElmzEu.js +0 -57
- package/dist/OcEmptyPage-CTwgMzRp.js +0 -155
- package/dist/OcExpadingTable.vue_vue_type_script_setup_true_lang-B4HOMDBK.js +0 -815
- package/dist/OcFeatureOverviewCard-RVyrWLVW.js +0 -71
- package/dist/OcFloatContent-BIKQOxSw.js +0 -142
- package/dist/OcFormBuilder-BUpEpDsU.js +0 -177
- package/dist/OcGroupOptions-ChGJvTXl.js +0 -16
- package/dist/OcInfoCard-DpYUZOMZ.js +0 -81
- package/dist/OcInput-tcRxG3Y2.js +0 -227
- package/dist/OcInputOption-CncASfNt.js +0 -160
- package/dist/OcLinkInput-C2ixk-gk.js +0 -143
- package/dist/OcListDetail-6XeME6ko.js +0 -76
- package/dist/OcListUrl.vue_vue_type_script_setup_true_lang-7zZdFM8K.js +0 -750
- package/dist/OcModal-DdD5VFEN.js +0 -187
- package/dist/OcModalCropper-D2OI2iun.js +0 -56
- package/dist/OcModalPage-BLVa-kcB.js +0 -86
- package/dist/OcMultipleUploadFile-BAmQHshA.js +0 -447
- package/dist/OcNumberInput.vue_vue_type_script_setup_true_lang-C4EXUIUe.js +0 -90
- package/dist/OcOnboardingListItem.vue_vue_type_script_setup_true_lang-Cr80xmnz.js +0 -81
- package/dist/OcOption-DK2FBGq7.js +0 -485
- package/dist/OcOverviewIcon-D702Ujka.js +0 -55
- package/dist/OcOverviewItem-DNr5tWnt.js +0 -186
- package/dist/OcPageTitleRight-DMtJ1qmZ.js +0 -243
- package/dist/OcPaginationNumber-IKPorX26.js +0 -172
- package/dist/OcPaymentTab-Cna1IAhO.js +0 -170
- package/dist/OcPhoneInput-AC6BgQhN.js +0 -432
- package/dist/OcPrimaryActions-D5IprKsQ.js +0 -222
- package/dist/OcRadio-CRYfNwV9.js +0 -107
- package/dist/OcRadioGroup-DgfdWJos.js +0 -76
- package/dist/OcRangeInput-C-hoHFhr.js +0 -103
- package/dist/OcSandboxBanner.vue_vue_type_script_setup_true_lang-BD0k_8xa.js +0 -37
- package/dist/OcSectionItem-BFgxO3se.js +0 -84
- package/dist/OcSelectOptions-BQlG_EUA.js +0 -148
- package/dist/OcShareIcon-BB-NPq0r.js +0 -53
- package/dist/OcSingleFileUpload-B8-e1H5t.js +0 -464
- package/dist/OcSnackbar-CKxY1-ej.js +0 -196
- package/dist/OcSteps.vue_vue_type_script_setup_true_lang-CXGy8ma_.js +0 -87
- package/dist/OcSubSidebar.vue_vue_type_script_setup_true_lang-CNxgU07N.js +0 -60
- package/dist/OcSupportMenu.vue_vue_type_script_setup_true_lang-DrjZsWti.js +0 -114
- package/dist/OcTabToSelect-BHAz1Niv.js +0 -183
- package/dist/OcTextArea-BpV1Bnj_.js +0 -78
- package/dist/OcTransferSummary-Bk2GXhrT.js +0 -67
- package/dist/OcVariant.vue_vue_type_script_setup_true_lang-CY_82DLc.js +0 -99
- package/dist/OcVerificationOption.vue_vue_type_script_setup_true_lang-ChqvNoDe.js +0 -59
- package/dist/OcWhiteList.vue_vue_type_script_setup_true_lang-DI9pYU3w.js +0 -64
- package/dist/OnboardingAccordion.vue_vue_type_script_setup_true_lang-B0Z7ETmj.js +0 -113
- package/dist/StoreDesign.js +0 -240
@@ -1,222 +0,0 @@
|
|
1
|
-
import { openBlock as o, createElementBlock as s, createElementVNode as l, renderSlot as N, toDisplayString as w, createBlock as a, unref as r, normalizeProps as E, mergeProps as V, createCommentVNode as u, withCtx as c, createVNode as h, normalizeClass as k, ref as q, computed as $, Fragment as f, renderList as O } from "vue";
|
2
|
-
import "dayjs";
|
3
|
-
import { T, D as F } from "./OcComplexCalendar.vue_vue_type_style_index_0_lang-CIQPD-6N.js";
|
4
|
-
import { _ as b } from "./OcIcon-CJgBICxh.js";
|
5
|
-
import { _ as M } from "./OcChip-B1hm2Qni.js";
|
6
|
-
/* empty css */
|
7
|
-
import "libphonenumber-js";
|
8
|
-
/* empty css */
|
9
|
-
import "v-calendar";
|
10
|
-
/* empty css */
|
11
|
-
import "./Cropper.js";
|
12
|
-
import "vue-draggable-next";
|
13
|
-
import "@popperjs/core";
|
14
|
-
import { _ as U } from "./OcCopyTooltip.vue_vue_type_script_setup_true_lang-S2RAfV_g.js";
|
15
|
-
import { _ as B } from "./OcDropdownItem-DAElmzEu.js";
|
16
|
-
const G = { class: "flex text-oc-text justify-center flex-col gap-y-3 max-w-full" }, H = { class: "md:text-xl font-medium flex items-center gap-x-3" }, I = { class: "whitespace-nowrap text-ellipsis overflow-hidden md:text-base lg:text-xl" }, J = {
|
17
|
-
key: 0,
|
18
|
-
class: "text-oc-text-400 text-sm group flex items-center gap-x-4"
|
19
|
-
}, K = { class: "overflow-hidden whitespace-nowrap text-ellipsis" }, xt = {
|
20
|
-
__name: "OcTitle",
|
21
|
-
props: {
|
22
|
-
title: { type: String, required: !0 },
|
23
|
-
description: { type: String, required: !0 },
|
24
|
-
copyValue: { type: String, default: "" },
|
25
|
-
chipProps: Object,
|
26
|
-
tooltipOptions: Object,
|
27
|
-
isCopy: Boolean
|
28
|
-
},
|
29
|
-
setup(e) {
|
30
|
-
return (v, g) => (o(), s("div", G, [
|
31
|
-
l("div", H, [
|
32
|
-
N(v.$slots, "title", {}, () => [
|
33
|
-
l("span", I, w(e.title), 1)
|
34
|
-
]),
|
35
|
-
e.chipProps ? (o(), a(r(M), E(V({ key: 0 }, e.chipProps)), null, 16)) : u("", !0)
|
36
|
-
]),
|
37
|
-
e.description || v.$slots.description ? (o(), s("div", J, [
|
38
|
-
N(v.$slots, "description", {}, () => [
|
39
|
-
l("span", K, w(e.description), 1)
|
40
|
-
]),
|
41
|
-
e.isCopy ? (o(), a(r(U), {
|
42
|
-
key: 0,
|
43
|
-
value: e.copyValue,
|
44
|
-
"tooltip-options": e.tooltipOptions
|
45
|
-
}, {
|
46
|
-
default: c(({ isShow: C }) => [
|
47
|
-
h(r(b), {
|
48
|
-
width: "16",
|
49
|
-
height: "16",
|
50
|
-
class: k(["cursor-pointer transition-all duration-500 group-hover:opacity-100", C ? "opacity-100" : "opacity-0"]),
|
51
|
-
name: "copy"
|
52
|
-
}, null, 8, ["class"])
|
53
|
-
]),
|
54
|
-
_: 1
|
55
|
-
}, 8, ["value", "tooltip-options"])) : u("", !0)
|
56
|
-
])) : u("", !0)
|
57
|
-
]));
|
58
|
-
}
|
59
|
-
}, Q = ["href"], R = { class: "py-2 px-3 whitespace-nowrap text-sm font-medium text-oc-text-400" }, W = {
|
60
|
-
key: 0,
|
61
|
-
class: "border-l group-hover:border-oc-accent-1-100 border-transparent"
|
62
|
-
}, X = { class: "py-2 px-3 whitespace-nowrap text-sm font-medium text-oc-text-400" }, Y = { class: "flex flex-col" }, Z = { class: "p-2 border-b border-gray-200" }, tt = {
|
63
|
-
key: 0,
|
64
|
-
class: "p-2"
|
65
|
-
}, ft = {
|
66
|
-
__name: "OcPrimaryActions",
|
67
|
-
props: {
|
68
|
-
primaryActions: Object
|
69
|
-
},
|
70
|
-
emits: {
|
71
|
-
copy: [],
|
72
|
-
"click:primaryActionsDropdown": []
|
73
|
-
},
|
74
|
-
setup(e, { emit: v }) {
|
75
|
-
var S;
|
76
|
-
const g = e, C = v, p = q(!1), A = $(() => {
|
77
|
-
var i;
|
78
|
-
return (i = g.primaryActions) == null ? void 0 : i.dropdownOptions;
|
79
|
-
}), m = q(((S = A.value) == null ? void 0 : S.isDropdownOpened) ?? !1), D = () => {
|
80
|
-
p.value = !0, C("copy"), setTimeout(() => p.value = !1, 1500);
|
81
|
-
}, L = $(
|
82
|
-
() => {
|
83
|
-
var i;
|
84
|
-
return ((i = g.primaryActions) == null ? void 0 : i.copyTooltipContent) ?? "Copy link";
|
85
|
-
}
|
86
|
-
), P = $(
|
87
|
-
() => {
|
88
|
-
var i;
|
89
|
-
return ((i = g.primaryActions) == null ? void 0 : i.copiedTooltipContent) ?? "Link copied!";
|
90
|
-
}
|
91
|
-
);
|
92
|
-
return (i, d) => {
|
93
|
-
var j;
|
94
|
-
return o(), s("div", {
|
95
|
-
class: k(["p-1 gap-x-1 rounded-sm border text-oc-text-400 flex hover:bg-oc-bg group hover:border-oc-accent-1-100", m.value ? "bg-oc-bg border-oc-accent-1-100" : "border-transparent"])
|
96
|
-
}, [
|
97
|
-
(j = e.primaryActions) != null && j.mainLinkAction ? (o(), a(r(T), {
|
98
|
-
key: 0,
|
99
|
-
position: "top",
|
100
|
-
"arrow-hidden": "",
|
101
|
-
distance: 7
|
102
|
-
}, {
|
103
|
-
popper: c(() => {
|
104
|
-
var t, n;
|
105
|
-
return [
|
106
|
-
l("div", R, w((n = (t = e.primaryActions) == null ? void 0 : t.mainLinkAction) == null ? void 0 : n.tooltipContent), 1)
|
107
|
-
];
|
108
|
-
}),
|
109
|
-
default: c(() => {
|
110
|
-
var t, n;
|
111
|
-
return [
|
112
|
-
l("a", {
|
113
|
-
href: (n = (t = e.primaryActions) == null ? void 0 : t.mainLinkAction) == null ? void 0 : n.url,
|
114
|
-
target: "_blank"
|
115
|
-
}, [
|
116
|
-
h(r(b), {
|
117
|
-
class: "p-2 cursor-pointer rounded-sm hover:border-oc-accent-1-50-tr active:text-oc-text-400 hover:text-oc-text hover:bg-oc-accent-1-50-tr",
|
118
|
-
name: "external-link"
|
119
|
-
})
|
120
|
-
], 8, Q)
|
121
|
-
];
|
122
|
-
}),
|
123
|
-
_: 1
|
124
|
-
})) : u("", !0),
|
125
|
-
(o(!0), s(f, null, O(e.primaryActions.actions, (t, n) => {
|
126
|
-
var x;
|
127
|
-
return o(), s(f, { key: n }, [
|
128
|
-
(x = e.primaryActions) != null && x.mainLinkAction || n > 0 ? (o(), s("div", W)) : u("", !0),
|
129
|
-
h(r(T), {
|
130
|
-
position: "top",
|
131
|
-
"arrow-hidden": "",
|
132
|
-
distance: 7
|
133
|
-
}, {
|
134
|
-
popper: c(() => [
|
135
|
-
l("div", X, w(t != null && t.isCopyButton ? p.value ? P.value : L.value : t.tooltipContent), 1)
|
136
|
-
]),
|
137
|
-
default: c(() => [
|
138
|
-
t != null && t.isCopyButton ? (o(), a(r(b), {
|
139
|
-
key: 0,
|
140
|
-
class: k(["p-2 cursor-pointer rounded-sm hover:border-oc-accent-1-50-tr active:text-oc-text-400 hover:text-oc-text hover:bg-oc-accent-1-50-tr", p.value ? "!text-oc-success" : ""]),
|
141
|
-
name: p.value ? "check" : "copy",
|
142
|
-
onClick: D
|
143
|
-
}, null, 8, ["name", "class"])) : (o(), a(r(b), {
|
144
|
-
key: 1,
|
145
|
-
class: k(["p-2 cursor-pointer rounded-sm hover:border-oc-accent-1-50-tr active:text-oc-text-400 hover:text-oc-text hover:bg-oc-accent-1-50-tr", t.class ?? ""]),
|
146
|
-
name: t.icon,
|
147
|
-
onClick: t.onClick
|
148
|
-
}, null, 8, ["name", "class", "onClick"]))
|
149
|
-
]),
|
150
|
-
_: 2
|
151
|
-
}, 1024)
|
152
|
-
], 64);
|
153
|
-
}), 128)),
|
154
|
-
A.value ? (o(), s("div", {
|
155
|
-
key: 1,
|
156
|
-
class: k(["border-l group-hover:border-oc-accent-1-100", m.value ? "border-oc-gray-200" : "border-transparent"])
|
157
|
-
}, null, 2)) : u("", !0),
|
158
|
-
A.value ? (o(), a(r(F), {
|
159
|
-
key: 2,
|
160
|
-
modelValue: m.value,
|
161
|
-
"onUpdate:modelValue": d[2] || (d[2] = (t) => m.value = t),
|
162
|
-
distance: 6
|
163
|
-
}, {
|
164
|
-
menu: c(() => {
|
165
|
-
var t, n, x;
|
166
|
-
return [
|
167
|
-
l("div", Y, [
|
168
|
-
l("div", Z, [
|
169
|
-
(o(!0), s(f, null, O((t = e.primaryActions.dropdownOptions) == null ? void 0 : t.top, (y, _) => (o(), s(f, { key: _ }, [
|
170
|
-
y != null && y.isCopyButton ? (o(), a(r(B), {
|
171
|
-
key: 0,
|
172
|
-
icon: p.value ? "check" : "copy",
|
173
|
-
text: p.value ? P.value : L.value,
|
174
|
-
"icon-classes": p.value ? "!text-oc-success" : "",
|
175
|
-
onClick: D
|
176
|
-
}, null, 8, ["icon", "text", "icon-classes"])) : (o(), a(r(B), V({
|
177
|
-
key: 1,
|
178
|
-
ref_for: !0
|
179
|
-
}, y, {
|
180
|
-
onClick: d[0] || (d[0] = (z) => m.value = !1)
|
181
|
-
}), null, 16))
|
182
|
-
], 64))), 128))
|
183
|
-
]),
|
184
|
-
(n = e.primaryActions.dropdownOptions) != null && n.bottom ? (o(), s("div", tt, [
|
185
|
-
(o(!0), s(f, null, O((x = e.primaryActions.dropdownOptions) == null ? void 0 : x.bottom, (y, _) => (o(), a(r(B), V({
|
186
|
-
key: _,
|
187
|
-
ref_for: !0
|
188
|
-
}, y, {
|
189
|
-
onClick: d[1] || (d[1] = (z) => m.value = !1)
|
190
|
-
}), null, 16))), 128))
|
191
|
-
])) : u("", !0)
|
192
|
-
])
|
193
|
-
];
|
194
|
-
}),
|
195
|
-
default: c(() => [
|
196
|
-
h(r(T), {
|
197
|
-
position: "top",
|
198
|
-
"arrow-hidden": "",
|
199
|
-
distance: 7
|
200
|
-
}, {
|
201
|
-
popper: c(() => d[3] || (d[3] = [
|
202
|
-
l("div", { class: "py-2 px-3 whitespace-nowrap text-sm font-medium text-oc-text-400" }, " More actions ", -1)
|
203
|
-
])),
|
204
|
-
default: c(() => [
|
205
|
-
h(r(b), {
|
206
|
-
class: "p-2 cursor-pointer rounded-sm hover:bg-oc-accent-1-50-tr",
|
207
|
-
name: "dots-vertical"
|
208
|
-
})
|
209
|
-
]),
|
210
|
-
_: 1
|
211
|
-
})
|
212
|
-
]),
|
213
|
-
_: 1
|
214
|
-
}, 8, ["modelValue"])) : u("", !0)
|
215
|
-
], 2);
|
216
|
-
};
|
217
|
-
}
|
218
|
-
};
|
219
|
-
export {
|
220
|
-
ft as _,
|
221
|
-
xt as a
|
222
|
-
};
|
package/dist/OcRadio-CRYfNwV9.js
DELETED
@@ -1,107 +0,0 @@
|
|
1
|
-
import { openBlock as t, createBlock as l, unref as o, normalizeClass as a, withCtx as n, createElementVNode as u, createElementBlock as d, createCommentVNode as i, renderSlot as c, toDisplayString as m, normalizeProps as h, mergeProps as x, createVNode as B } from "vue";
|
2
|
-
import "dayjs";
|
3
|
-
import { _ as V, T as y } from "./OcComplexCalendar.vue_vue_type_style_index_0_lang-CIQPD-6N.js";
|
4
|
-
import { _ as b } from "./OcIcon-CJgBICxh.js";
|
5
|
-
/* empty css */
|
6
|
-
import "libphonenumber-js";
|
7
|
-
/* empty css */
|
8
|
-
import "v-calendar";
|
9
|
-
/* empty css */
|
10
|
-
import "./Cropper.js";
|
11
|
-
import "vue-draggable-next";
|
12
|
-
import "@popperjs/core";
|
13
|
-
const f = ["id", "value", "checked", "name", "disabled"], k = ["for"], S = {
|
14
|
-
key: 0,
|
15
|
-
class: "px-3 py-2 whitespace-nowrap"
|
16
|
-
}, z = {
|
17
|
-
__name: "OcRadio",
|
18
|
-
props: {
|
19
|
-
modelValue: [String, Boolean],
|
20
|
-
isDisabled: Boolean,
|
21
|
-
checked: Boolean,
|
22
|
-
label: String,
|
23
|
-
id: [String, Number],
|
24
|
-
groupName: String,
|
25
|
-
errorMessage: String,
|
26
|
-
hint: String,
|
27
|
-
tooltipText: String,
|
28
|
-
labelIcon: String,
|
29
|
-
tooltipOptions: Object,
|
30
|
-
isButtonVariant: Boolean,
|
31
|
-
isButtonVariantWithRadio: Boolean,
|
32
|
-
icon: String
|
33
|
-
},
|
34
|
-
emits: {
|
35
|
-
"update:modelValue": []
|
36
|
-
},
|
37
|
-
setup(e) {
|
38
|
-
return (r, s) => (t(), l(o(V), {
|
39
|
-
class: a(["radio-button inline-block relative cursor-pointer", e.isDisabled ? "disabled" : ""]),
|
40
|
-
label: "",
|
41
|
-
"error-message": e.errorMessage,
|
42
|
-
hint: e.hint
|
43
|
-
}, {
|
44
|
-
default: n(() => [
|
45
|
-
u("input", {
|
46
|
-
id: e.groupName + e.id,
|
47
|
-
value: e.modelValue,
|
48
|
-
checked: e.checked,
|
49
|
-
name: e.groupName,
|
50
|
-
disabled: e.isDisabled,
|
51
|
-
class: "radio-button__input absolute opacity-0 w-0 h-0",
|
52
|
-
type: "radio",
|
53
|
-
onInput: s[0] || (s[0] = (g) => r.$emit("update:modelValue", g.target.value))
|
54
|
-
}, null, 40, f),
|
55
|
-
u("label", {
|
56
|
-
for: e.groupName + e.id,
|
57
|
-
class: a(["radio-button__label flex gap-x-3 relative items-center cursor-pointer transition-all duration-300 text-oc-text-500", {
|
58
|
-
"!text-oc-text-300": e.isDisabled,
|
59
|
-
"bg-gray-200": e.isDisabled && e.isButtonVariant,
|
60
|
-
"!border-oc-error": e.errorMessage && e.isButtonVariant,
|
61
|
-
"radio-button__label--button border-gray-200 border py-3 px-5 rounded": e.isButtonVariant,
|
62
|
-
"!px-6 !py-5 !gap-x-4": e.isButtonVariantWithRadio
|
63
|
-
}])
|
64
|
-
}, [
|
65
|
-
!e.isButtonVariant || e.isButtonVariantWithRadio ? (t(), d("span", {
|
66
|
-
key: 0,
|
67
|
-
class: a(["radio-button__custom w-5 h-5 rounded-full border transition-all duration-300", [
|
68
|
-
e.isDisabled || !e.modelValue ? "border-oc-primary-200 bg-oc-primary-50" : "",
|
69
|
-
e.errorMessage ? "!border-oc-error" : "border-oc-primary-200"
|
70
|
-
]])
|
71
|
-
}, null, 2)) : i("", !0),
|
72
|
-
e.icon ? (t(), l(o(b), {
|
73
|
-
key: 1,
|
74
|
-
class: a(["w-5 h-5 text-oc-text-500", { "!text-oc-text-300": e.isDisabled }]),
|
75
|
-
name: e.icon
|
76
|
-
}, null, 8, ["class", "name"])) : i("", !0),
|
77
|
-
c(r.$slots, "default", {}, () => [
|
78
|
-
e.label ? (t(), d("span", {
|
79
|
-
key: 0,
|
80
|
-
class: a({ "text-sm": !e.isButtonVariantWithRadio })
|
81
|
-
}, m(e.label), 3)) : i("", !0)
|
82
|
-
]),
|
83
|
-
e.labelIcon ? (t(), l(o(y), h(x({ key: 2 }, e.tooltipOptions)), {
|
84
|
-
popper: n(() => [
|
85
|
-
c(r.$slots, "tooltipText", {}, () => [
|
86
|
-
e.tooltipText ? (t(), d("div", S, m(e.tooltipText), 1)) : i("", !0)
|
87
|
-
])
|
88
|
-
]),
|
89
|
-
default: n(() => [
|
90
|
-
B(o(b), {
|
91
|
-
width: "16",
|
92
|
-
height: "16",
|
93
|
-
name: e.labelIcon,
|
94
|
-
class: "text-oc-text-400"
|
95
|
-
}, null, 8, ["name"])
|
96
|
-
]),
|
97
|
-
_: 3
|
98
|
-
}, 16)) : i("", !0)
|
99
|
-
], 10, k)
|
100
|
-
]),
|
101
|
-
_: 3
|
102
|
-
}, 8, ["class", "error-message", "hint"]));
|
103
|
-
}
|
104
|
-
};
|
105
|
-
export {
|
106
|
-
z as _
|
107
|
-
};
|
@@ -1,76 +0,0 @@
|
|
1
|
-
import { computed as d, openBlock as a, createBlock as i, unref as l, withCtx as g, createElementVNode as p, normalizeClass as r, createElementBlock as b, Fragment as f, renderList as h } from "vue";
|
2
|
-
import "dayjs";
|
3
|
-
import { _ as v } from "./OcComplexCalendar.vue_vue_type_style_index_0_lang-CIQPD-6N.js";
|
4
|
-
/* empty css */
|
5
|
-
import "libphonenumber-js";
|
6
|
-
import { _ as B } from "./OcRadio-CRYfNwV9.js";
|
7
|
-
/* empty css */
|
8
|
-
import "v-calendar";
|
9
|
-
/* empty css */
|
10
|
-
import "./Cropper.js";
|
11
|
-
import "vue-draggable-next";
|
12
|
-
import "@popperjs/core";
|
13
|
-
const O = {
|
14
|
-
__name: "OcRadioGroup",
|
15
|
-
props: {
|
16
|
-
alignment: {
|
17
|
-
type: String,
|
18
|
-
default: "vertical"
|
19
|
-
},
|
20
|
-
radio: Array,
|
21
|
-
label: String,
|
22
|
-
wrapperClass: String,
|
23
|
-
groupName: String,
|
24
|
-
errorMessage: String,
|
25
|
-
hint: String,
|
26
|
-
modelValue: String,
|
27
|
-
isButtonVariant: Boolean,
|
28
|
-
isButtonVariantWithRadio: Boolean,
|
29
|
-
isBlock: Boolean
|
30
|
-
},
|
31
|
-
emits: {
|
32
|
-
"update:modelValue": []
|
33
|
-
},
|
34
|
-
setup(e, { emit: n }) {
|
35
|
-
const s = n, u = d(() => ({
|
36
|
-
horizontal: "gap-x-5 flex-wrap",
|
37
|
-
vertical: "flex-col gap-y-3"
|
38
|
-
})), c = (o) => {
|
39
|
-
s("update:modelValue", o);
|
40
|
-
};
|
41
|
-
return (o, x) => (a(), i(l(v), {
|
42
|
-
label: e.label,
|
43
|
-
"error-message": e.errorMessage,
|
44
|
-
hint: e.hint
|
45
|
-
}, {
|
46
|
-
default: g(() => [
|
47
|
-
p("div", {
|
48
|
-
class: r(["flex", [u.value[e.alignment], e.wrapperClass]])
|
49
|
-
}, [
|
50
|
-
(a(!0), b(f, null, h(e.radio, (t, m) => (a(), i(l(B), {
|
51
|
-
id: t.value,
|
52
|
-
key: m,
|
53
|
-
class: r({ "!w-fit": !e.isBlock }),
|
54
|
-
"model-value": t.value,
|
55
|
-
label: t.label,
|
56
|
-
icon: t.icon,
|
57
|
-
"is-error": !!e.errorMessage,
|
58
|
-
checked: t.value === e.modelValue,
|
59
|
-
"is-disabled": !!t.isDisabled,
|
60
|
-
"group-name": e.groupName,
|
61
|
-
"tooltip-text": t.tooltipText,
|
62
|
-
"label-icon": t.labelIcon,
|
63
|
-
"tooltip-options": t.tooltipOptions,
|
64
|
-
"is-button-variant": e.isButtonVariant,
|
65
|
-
"is-button-variant-with-radio": e.isButtonVariantWithRadio,
|
66
|
-
"onUpdate:modelValue": c
|
67
|
-
}, null, 8, ["id", "class", "model-value", "label", "icon", "is-error", "checked", "is-disabled", "group-name", "tooltip-text", "label-icon", "tooltip-options", "is-button-variant", "is-button-variant-with-radio"]))), 128))
|
68
|
-
], 2)
|
69
|
-
]),
|
70
|
-
_: 1
|
71
|
-
}, 8, ["label", "error-message", "hint"]));
|
72
|
-
}
|
73
|
-
};
|
74
|
-
export {
|
75
|
-
O as _
|
76
|
-
};
|
@@ -1,103 +0,0 @@
|
|
1
|
-
import { ref as d, onMounted as V, openBlock as c, createElementBlock as g, createVNode as m, unref as o, withCtx as x, createElementVNode as S, createCommentVNode as h } from "vue";
|
2
|
-
import "dayjs";
|
3
|
-
import { _ as I } from "./OcComplexCalendar.vue_vue_type_style_index_0_lang-CIQPD-6N.js";
|
4
|
-
/* empty css */
|
5
|
-
import { _ as N } from "./OcInput-tcRxG3Y2.js";
|
6
|
-
import "libphonenumber-js";
|
7
|
-
/* empty css */
|
8
|
-
import "v-calendar";
|
9
|
-
import { S as M } from "./OcSlider-Bsi-ckbP.js";
|
10
|
-
import "./Cropper.js";
|
11
|
-
import "vue-draggable-next";
|
12
|
-
import "@popperjs/core";
|
13
|
-
const k = { class: "flex flex-col gap-y-2 oc-range-input" }, L = { class: "flex gap-x-3" }, B = {
|
14
|
-
key: 0,
|
15
|
-
class: "flex pt-4"
|
16
|
-
}, q = {
|
17
|
-
__name: "OcRangeInput",
|
18
|
-
props: {
|
19
|
-
maxLimit: {
|
20
|
-
type: [String, Number],
|
21
|
-
default: 1e4
|
22
|
-
},
|
23
|
-
minLimit: {
|
24
|
-
type: [String, Number],
|
25
|
-
default: 0
|
26
|
-
},
|
27
|
-
minGap: {
|
28
|
-
type: [String, Number],
|
29
|
-
default: 0
|
30
|
-
},
|
31
|
-
modelValue: {
|
32
|
-
type: [Array, String]
|
33
|
-
},
|
34
|
-
label: {
|
35
|
-
type: String,
|
36
|
-
default: "Amount"
|
37
|
-
},
|
38
|
-
hint: {
|
39
|
-
type: String,
|
40
|
-
default: ""
|
41
|
-
},
|
42
|
-
errorMessage: {
|
43
|
-
type: String,
|
44
|
-
default: ""
|
45
|
-
},
|
46
|
-
onlyInput: Boolean
|
47
|
-
},
|
48
|
-
emits: {
|
49
|
-
"update:modelValue": []
|
50
|
-
},
|
51
|
-
setup(t, { emit: b }) {
|
52
|
-
var f, v;
|
53
|
-
const u = t, s = b, e = d(((f = u.modelValue) == null ? void 0 : f[0]) ?? ""), l = d(((v = u.modelValue) == null ? void 0 : v[1]) ?? ""), r = d(), p = (a, i) => {
|
54
|
-
isNaN(a) || (i === 1 ? l.value = Number(a) : e.value = Number(a), u.onlyInput ? (e.value > l.value && (l.value = e.value), l.value < e.value && (e.value = l.value), s("update:modelValue", [e.value, l.value])) : r.value.updateSlider([e.value, l.value]));
|
55
|
-
}, y = (a) => {
|
56
|
-
isNaN(a[0]) || isNaN(a[1]) || (e.value = Number(a[0]), l.value = Number(a[1]), s("update:modelValue", [Number(e.value), Number(l.value)]));
|
57
|
-
};
|
58
|
-
return V(() => {
|
59
|
-
u.onlyInput || r.value.updateSlider();
|
60
|
-
}), (a, i) => (c(), g("div", k, [
|
61
|
-
m(o(I), {
|
62
|
-
label: t.label,
|
63
|
-
hint: t.hint,
|
64
|
-
"error-message": t.errorMessage
|
65
|
-
}, {
|
66
|
-
default: x(() => [
|
67
|
-
S("div", L, [
|
68
|
-
m(o(N), {
|
69
|
-
"model-value": e.value,
|
70
|
-
label: "From",
|
71
|
-
"is-inline-label": "",
|
72
|
-
placeholder: "",
|
73
|
-
"onUpdate:modelValue": i[0] || (i[0] = (n) => p(n, 0))
|
74
|
-
}, null, 8, ["model-value"]),
|
75
|
-
m(o(N), {
|
76
|
-
"model-value": l.value,
|
77
|
-
label: "To",
|
78
|
-
"is-inline-label": "",
|
79
|
-
placeholder: "",
|
80
|
-
"onUpdate:modelValue": i[1] || (i[1] = (n) => p(n, 1))
|
81
|
-
}, null, 8, ["model-value"])
|
82
|
-
]),
|
83
|
-
t.onlyInput ? h("", !0) : (c(), g("div", B, [
|
84
|
-
m(o(M), {
|
85
|
-
ref_key: "slider",
|
86
|
-
ref: r,
|
87
|
-
type: "range",
|
88
|
-
"max-limit": t.maxLimit,
|
89
|
-
"min-limit": t.minLimit,
|
90
|
-
"min-gap": t.minGap,
|
91
|
-
"model-value": [Number(e.value), Number(l.value)],
|
92
|
-
"onUpdate:modelValue": y
|
93
|
-
}, null, 8, ["max-limit", "min-limit", "min-gap", "model-value"])
|
94
|
-
]))
|
95
|
-
]),
|
96
|
-
_: 1
|
97
|
-
}, 8, ["label", "hint", "error-message"])
|
98
|
-
]));
|
99
|
-
}
|
100
|
-
};
|
101
|
-
export {
|
102
|
-
q as _
|
103
|
-
};
|
@@ -1,37 +0,0 @@
|
|
1
|
-
import { defineComponent as o, openBlock as t, createElementBlock as r, createElementVNode as i, toDisplayString as c, createBlock as n, unref as p, mergeProps as s, createCommentVNode as m } from "vue";
|
2
|
-
import "dayjs";
|
3
|
-
import "./OcComplexCalendar.vue_vue_type_style_index_0_lang-CIQPD-6N.js";
|
4
|
-
import { _ as a } from "./OcChip-B1hm2Qni.js";
|
5
|
-
/* empty css */
|
6
|
-
import "libphonenumber-js";
|
7
|
-
/* empty css */
|
8
|
-
import "v-calendar";
|
9
|
-
/* empty css */
|
10
|
-
import "./Cropper.js";
|
11
|
-
import "vue-draggable-next";
|
12
|
-
import "@popperjs/core";
|
13
|
-
const l = { class: "w-screen relative h-[40px] bg-oc-accent-3 flex items-center justify-center text-white" }, f = { class: "text-sm" }, w = /* @__PURE__ */ o({
|
14
|
-
__name: "OcSandboxBanner",
|
15
|
-
props: {
|
16
|
-
title: {
|
17
|
-
type: String,
|
18
|
-
default: ""
|
19
|
-
},
|
20
|
-
chipProps: {
|
21
|
-
type: Object,
|
22
|
-
default: () => null
|
23
|
-
}
|
24
|
-
},
|
25
|
-
setup(e) {
|
26
|
-
return (u, _) => (t(), r("div", l, [
|
27
|
-
i("span", f, c(e.title), 1),
|
28
|
-
e.chipProps ? (t(), n(p(a), s({
|
29
|
-
key: 0,
|
30
|
-
class: "absolute left-[40px]"
|
31
|
-
}, e.chipProps), null, 16)) : m("", !0)
|
32
|
-
]));
|
33
|
-
}
|
34
|
-
});
|
35
|
-
export {
|
36
|
-
w as _
|
37
|
-
};
|
@@ -1,84 +0,0 @@
|
|
1
|
-
import { openBlock as t, createElementBlock as s, createElementVNode as r, createTextVNode as f, toDisplayString as o, createVNode as x, unref as a, withCtx as d, createBlock as c, createCommentVNode as l, normalizeClass as V, renderSlot as y, mergeProps as S } from "vue";
|
2
|
-
import "dayjs";
|
3
|
-
import { T as h } from "./OcComplexCalendar.vue_vue_type_style_index_0_lang-CIQPD-6N.js";
|
4
|
-
import { _ as k } from "./OcIcon-CJgBICxh.js";
|
5
|
-
/* empty css */
|
6
|
-
import "libphonenumber-js";
|
7
|
-
import { T as v } from "./OcToggle-C0wTjM_Y.js";
|
8
|
-
import "v-calendar";
|
9
|
-
/* empty css */
|
10
|
-
import "./Cropper.js";
|
11
|
-
import "vue-draggable-next";
|
12
|
-
import "@popperjs/core";
|
13
|
-
const T = { class: "flex" }, B = { class: "flex flex-col gap-y-1 flex-1" }, C = { class: "font-medium gap-x-3 flex items-center" }, M = { class: "px-2 py-1 text-sm text-oc-text-400" }, N = {
|
14
|
-
key: 1,
|
15
|
-
class: "text-sm text-oc-error flex items-center"
|
16
|
-
}, A = {
|
17
|
-
__name: "OcSectionItem",
|
18
|
-
props: {
|
19
|
-
title: String,
|
20
|
-
description: {
|
21
|
-
type: String,
|
22
|
-
default: ""
|
23
|
-
},
|
24
|
-
descriptionClass: {
|
25
|
-
type: String,
|
26
|
-
default: ""
|
27
|
-
},
|
28
|
-
icon: String,
|
29
|
-
modelValue: {
|
30
|
-
type: Boolean,
|
31
|
-
default: !1
|
32
|
-
},
|
33
|
-
isToggle: Boolean,
|
34
|
-
toggleProps: Object,
|
35
|
-
popperMessage: String,
|
36
|
-
errorMessage: String,
|
37
|
-
defaultValue: Boolean
|
38
|
-
},
|
39
|
-
emits: ["update:modelValue"],
|
40
|
-
setup(e, { emit: u }) {
|
41
|
-
const i = e, p = u;
|
42
|
-
return i.defaultValue === !0 && (i.modelValue === null || i.modelValue === void 0) && p("update:modelValue", !0), (n, m) => (t(), s("div", T, [
|
43
|
-
r("div", B, [
|
44
|
-
r("div", C, [
|
45
|
-
f(o(e.title) + " ", 1),
|
46
|
-
x(a(h), {
|
47
|
-
position: "top",
|
48
|
-
distance: 4
|
49
|
-
}, {
|
50
|
-
popper: d(() => [
|
51
|
-
r("div", M, o(e.popperMessage), 1)
|
52
|
-
]),
|
53
|
-
default: d(() => [
|
54
|
-
e.icon ? (t(), c(a(k), {
|
55
|
-
key: 0,
|
56
|
-
width: "16",
|
57
|
-
height: "16",
|
58
|
-
class: "text-oc-text-400 cursor-pointer",
|
59
|
-
name: e.icon
|
60
|
-
}, null, 8, ["name"])) : l("", !0)
|
61
|
-
]),
|
62
|
-
_: 1
|
63
|
-
})
|
64
|
-
]),
|
65
|
-
e.description ? (t(), s("span", {
|
66
|
-
key: 0,
|
67
|
-
class: V(["text-oc-text-400 text-sm", e.descriptionClass])
|
68
|
-
}, o(e.description), 3)) : l("", !0),
|
69
|
-
e.errorMessage ? (t(), s("div", N, o(e.errorMessage), 1)) : l("", !0)
|
70
|
-
]),
|
71
|
-
y(n.$slots, "actions", {}, () => [
|
72
|
-
e.isToggle ? (t(), c(a(v), S({
|
73
|
-
key: 0,
|
74
|
-
"model-value": e.modelValue
|
75
|
-
}, e.toggleProps, {
|
76
|
-
"onUpdate:modelValue": m[0] || (m[0] = (g) => n.$emit("update:modelValue", g))
|
77
|
-
}), null, 16, ["model-value"])) : l("", !0)
|
78
|
-
])
|
79
|
-
]));
|
80
|
-
}
|
81
|
-
};
|
82
|
-
export {
|
83
|
-
A as _
|
84
|
-
};
|