@orchidui/core 1.8.1-42 → 1.8.1-43
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/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-_DYL4l9R.js → OcAccountSetupProgress-BpUSPSgy.js} +1 -1
- package/dist/{OcComplexCalendar-BbM3CByZ.js → OcComplexCalendar-M-R7nJ_F.js} +1 -1
- package/dist/{OcComplexDatePicker-lsBGe8L_.js → OcComplexDatePicker-B1LHCooA.js} +1 -1
- package/dist/OcCropper-D2MLFJ36.js +261 -0
- package/dist/{OcDataTable-C5qiqDTx.js → OcDataTable-DMdeu9Hk.js} +1 -1
- package/dist/{OcDraggableList-CJM9FiOf.js → OcDraggableList-CaYtyyAP.js} +1 -1
- package/dist/{OcEmojiPicker-BHQg8c8K.js → OcEmojiPicker-CPekE3el.js} +1 -1
- package/dist/{OcFilterForm-DqjkZkSZ.js → OcFilterForm-BBlBpRcW.js} +1 -1
- package/dist/{OcFilterSearch-CMGQPh2P.js → OcFilterSearch-YyT-YC4l.js} +1 -1
- package/dist/{OcFilterSearchFor-CrLlQJ6y.js → OcFilterSearchFor-D1fCnVUv.js} +1 -1
- package/dist/{OcModalCropper-DfzmEjBb.js → OcModalCropper-BcmV05IW.js} +2 -2
- package/dist/{OcTimePicker-DHpcpxod.js → OcTimePicker-CXSOXNEM.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-CRNxGk49.js → SubPlanCard-Dois1bOA.js} +1 -1
- package/dist/{ThumbnailSection-DwSuY0Wy.js → ThumbnailSection-BWV4Uzv1.js} +1 -1
- package/dist/{ThumbnailTheme-Bti6MA3z.js → ThumbnailTheme-Bt2IvCF4.js} +1 -1
- package/dist/{index-BXSABQPr.js → index-CXleXdVl.js} +10 -9
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/OcCropper-B-CVJmDW.js +0 -232
@@ -1,4 +1,4 @@
|
|
1
|
-
import { T as l, L as n, R as s, K as T, O as b, P as d, M as o, Q as i } from "../../index-
|
1
|
+
import { T as l, L as n, R as s, K as T, O as b, P as d, M as o, Q as i } from "../../index-CXleXdVl.js";
|
2
2
|
export {
|
3
3
|
l as ExpandingHeaderRow,
|
4
4
|
n as ExpandingTable,
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ak as r, am as s, ai as u, ap as S, ao as o, al as t, an as d, aj as b } from "../../index-
|
2
|
-
import { default as n } from "../../OcAccountSetupProgress-
|
1
|
+
import { ak as r, am as s, ai as u, ap as S, ao as o, al as t, an as d, aj as b } from "../../index-CXleXdVl.js";
|
2
|
+
import { default as n } from "../../OcAccountSetupProgress-BpUSPSgy.js";
|
3
3
|
export {
|
4
4
|
r as AccountSetup,
|
5
5
|
n 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-CXleXdVl.js";
|
2
2
|
import { T as F } from "../OcToggle-Cp5dJ5LN.js";
|
3
3
|
export {
|
4
4
|
e as BaseInput,
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { openBlock as r, createElementBlock as n, createElementVNode as e, createVNode as o, unref as l, createTextVNode as d, toDisplayString as a, normalizeStyle as u } from "vue";
|
2
|
-
import "./index-
|
2
|
+
import "./index-CXleXdVl.js";
|
3
3
|
import { _ as c } from "./OcIcon-CSpRxnwd.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, openBlock as o, createElementBlock as n, createElementVNode as b, Fragment as V, renderList as v, normalizeClass as k, unref as a, toDisplayString as p, createCommentVNode as i, createVNode as d, 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-CXleXdVl.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, openBlock as d, createBlock as m, unref as t, withCtx as l, createVNode as n } from "vue";
|
2
|
-
import { aF as c, _ as f, ay as b, aG as p, d as V } from "./index-
|
2
|
+
import { aF as c, _ as f, ay as b, aG as p, d as V } from "./index-CXleXdVl.js";
|
3
3
|
import r from "dayjs";
|
4
4
|
const x = {
|
5
5
|
__name: "OcComplexDatePicker",
|
@@ -0,0 +1,261 @@
|
|
1
|
+
import { ref as s, watch as T, nextTick as K, openBlock as n, createElementBlock as w, createElementVNode as f, createBlock as u, unref as a, Fragment as M, createVNode as d, createCommentVNode as r, withCtx as b } from "vue";
|
2
|
+
import { B as k, d as V, C as x, h as P, aD as j } from "./index-CXleXdVl.js";
|
3
|
+
import { Cropper as Q } from "vue-advanced-cropper";
|
4
|
+
import { _ as q } from "./OcIcon-CSpRxnwd.js";
|
5
|
+
const W = { class: "flex flex-col gap-y-5" }, X = ["src"], Y = { class: "flex gap-x-1 justify-center relative" }, Z = { class: "grid grid-cols-2 gap-4" }, ae = {
|
6
|
+
__name: "OcCropper",
|
7
|
+
props: {
|
8
|
+
inputOptions: Array,
|
9
|
+
inputOptionValues: Object,
|
10
|
+
img: String,
|
11
|
+
maxSize: [String, Number],
|
12
|
+
isReplaceImage: {
|
13
|
+
type: Boolean,
|
14
|
+
default: !0
|
15
|
+
}
|
16
|
+
},
|
17
|
+
emits: ["changeImage", "update:input-options"],
|
18
|
+
setup(i, { emit: F }) {
|
19
|
+
const g = i, y = F, m = s(), C = s(), p = s(""), O = s(), z = s(!1), o = s(g.inputOptionValues ?? {});
|
20
|
+
T(
|
21
|
+
() => g.inputOptionValues,
|
22
|
+
() => {
|
23
|
+
o.value = g.inputOptionValues;
|
24
|
+
},
|
25
|
+
{
|
26
|
+
deep: !0
|
27
|
+
}
|
28
|
+
), T(
|
29
|
+
() => g.img,
|
30
|
+
(l) => {
|
31
|
+
l && K(() => {
|
32
|
+
try {
|
33
|
+
const e = new URL(l);
|
34
|
+
e.protocol === "http:" || e.protocol === "https:" ? p.value = `${l}?${Date.now()}` : p.value = l;
|
35
|
+
} catch {
|
36
|
+
p.value = l;
|
37
|
+
}
|
38
|
+
});
|
39
|
+
},
|
40
|
+
{ immediate: !0 }
|
41
|
+
);
|
42
|
+
const A = () => {
|
43
|
+
if (p.value && z.value) {
|
44
|
+
const { canvas: l } = m.value.getResult(), e = !(m.value.image.width === l.width && m.value.image.height === l.height && !m.value.imageTransforms.rotate);
|
45
|
+
y("changeImage", l.toDataURL(), {
|
46
|
+
isChanged: e,
|
47
|
+
file: O.value
|
48
|
+
});
|
49
|
+
}
|
50
|
+
z.value = !0;
|
51
|
+
}, U = (l) => {
|
52
|
+
var e;
|
53
|
+
return (e = m.value) == null ? void 0 : e.rotate(l);
|
54
|
+
}, I = (l) => {
|
55
|
+
var e;
|
56
|
+
return (e = m.value) == null ? void 0 : e.zoom(l);
|
57
|
+
}, G = () => {
|
58
|
+
C.value.click();
|
59
|
+
}, H = (l) => {
|
60
|
+
if (l.target.files[0] / (1024 * 1024) > +g.maxSize)
|
61
|
+
return l.preventDefault(), !1;
|
62
|
+
O.value = l.target.files[0], p.value = URL.createObjectURL(l.target.files[0]);
|
63
|
+
}, J = ({ imageSize: l, visibleArea: e }) => ({
|
64
|
+
width: (e || l).width,
|
65
|
+
height: (e || l).height
|
66
|
+
}), c = (l, e) => {
|
67
|
+
let v = o.value;
|
68
|
+
v[l] = e, y("update:input-options", v);
|
69
|
+
}, h = s(!!o.value.caption), $ = s(!!o.value.lightbox), L = s(!!o.value.new_tab);
|
70
|
+
return (l, e) => {
|
71
|
+
var v, R, B, S, D, E, N;
|
72
|
+
return n(), w("div", W, [
|
73
|
+
f("input", {
|
74
|
+
id: "cropper-file-input",
|
75
|
+
ref_key: "fileUploadEl",
|
76
|
+
ref: C,
|
77
|
+
accept: "image/*",
|
78
|
+
type: "file",
|
79
|
+
class: "hidden",
|
80
|
+
onChange: H
|
81
|
+
}, null, 544),
|
82
|
+
p.value ? (n(), u(a(Q), {
|
83
|
+
key: 0,
|
84
|
+
ref_key: "cropper",
|
85
|
+
ref: m,
|
86
|
+
class: "w-full h-[300px]",
|
87
|
+
src: p.value,
|
88
|
+
"resize-image": { wheel: !1 },
|
89
|
+
"background-class": "cropper-background",
|
90
|
+
"default-size": J,
|
91
|
+
onChange: A
|
92
|
+
}, null, 8, ["src"])) : (n(), w("img", {
|
93
|
+
key: 1,
|
94
|
+
class: "w-full",
|
95
|
+
src: i.img
|
96
|
+
}, null, 8, X)),
|
97
|
+
f("div", Y, [
|
98
|
+
p.value ? (n(), w(M, { key: 0 }, [
|
99
|
+
d(a(k), {
|
100
|
+
variant: "secondary",
|
101
|
+
size: "small",
|
102
|
+
"left-icon": "backward",
|
103
|
+
onClick: e[0] || (e[0] = (t) => U(-90))
|
104
|
+
}),
|
105
|
+
d(a(k), {
|
106
|
+
variant: "secondary",
|
107
|
+
size: "small",
|
108
|
+
"left-icon": "zoom-out",
|
109
|
+
onClick: e[1] || (e[1] = (t) => I(0.8))
|
110
|
+
}),
|
111
|
+
d(a(k), {
|
112
|
+
variant: "secondary",
|
113
|
+
size: "small",
|
114
|
+
"left-icon": "zoom-in",
|
115
|
+
onClick: e[2] || (e[2] = (t) => I(1.2))
|
116
|
+
}),
|
117
|
+
d(a(k), {
|
118
|
+
variant: "secondary",
|
119
|
+
size: "small",
|
120
|
+
"left-icon": "forward",
|
121
|
+
onClick: e[3] || (e[3] = (t) => U(90))
|
122
|
+
})
|
123
|
+
], 64)) : r("", !0),
|
124
|
+
i.isReplaceImage ? (n(), u(a(k), {
|
125
|
+
key: 1,
|
126
|
+
class: "absolute right-0",
|
127
|
+
variant: "secondary",
|
128
|
+
size: "small",
|
129
|
+
label: "Replace image",
|
130
|
+
"left-icon": "refresh",
|
131
|
+
onClick: G
|
132
|
+
})) : r("", !0)
|
133
|
+
]),
|
134
|
+
f("div", Z, [
|
135
|
+
(v = i.inputOptions) != null && v.includes("description") ? (n(), u(a(V), {
|
136
|
+
key: 0,
|
137
|
+
modelValue: o.value.description,
|
138
|
+
"onUpdate:modelValue": [
|
139
|
+
e[4] || (e[4] = (t) => o.value.description = t),
|
140
|
+
e[5] || (e[5] = (t) => c("description", t))
|
141
|
+
],
|
142
|
+
label: "Describe Image",
|
143
|
+
placeholder: ""
|
144
|
+
}, null, 8, ["modelValue"])) : r("", !0),
|
145
|
+
(R = i.inputOptions) != null && R.includes("link") ? (n(), u(a(V), {
|
146
|
+
key: 1,
|
147
|
+
modelValue: o.value.link,
|
148
|
+
"onUpdate:modelValue": [
|
149
|
+
e[6] || (e[6] = (t) => o.value.link = t),
|
150
|
+
e[7] || (e[7] = (t) => c("link", t))
|
151
|
+
],
|
152
|
+
placeholder: "https://hitpayapp.com",
|
153
|
+
label: "Link to"
|
154
|
+
}, null, 8, ["modelValue"])) : r("", !0),
|
155
|
+
f("div", null, [
|
156
|
+
(B = i.inputOptions) != null && B.includes("caption") ? (n(), u(a(x), {
|
157
|
+
key: 0,
|
158
|
+
modelValue: h.value,
|
159
|
+
"onUpdate:modelValue": e[8] || (e[8] = (t) => h.value = t),
|
160
|
+
label: "Caption",
|
161
|
+
class: "mb-4"
|
162
|
+
}, null, 8, ["modelValue"])) : r("", !0),
|
163
|
+
(S = i.inputOptions) != null && S.includes("caption") && h.value ? (n(), u(a(V), {
|
164
|
+
key: 1,
|
165
|
+
modelValue: o.value.caption,
|
166
|
+
"onUpdate:modelValue": [
|
167
|
+
e[9] || (e[9] = (t) => o.value.caption = t),
|
168
|
+
e[10] || (e[10] = (t) => c("caption", t))
|
169
|
+
],
|
170
|
+
class: "mb-4",
|
171
|
+
placeholder: ""
|
172
|
+
}, null, 8, ["modelValue"])) : r("", !0),
|
173
|
+
(D = i.inputOptions) != null && D.includes("caption") && h.value ? (n(), u(a(P), {
|
174
|
+
key: 2,
|
175
|
+
"model-value": o.value.caption_variant,
|
176
|
+
"group-name": "caption_variant",
|
177
|
+
alignment: "horizontal",
|
178
|
+
radio: [
|
179
|
+
{
|
180
|
+
value: "hover",
|
181
|
+
label: "Show on hover"
|
182
|
+
},
|
183
|
+
{
|
184
|
+
value: "bottom",
|
185
|
+
label: "Show on bottom"
|
186
|
+
}
|
187
|
+
],
|
188
|
+
label: "Caption position",
|
189
|
+
"onUpdate:modelValue": e[11] || (e[11] = (t) => c("caption_variant", t))
|
190
|
+
}, null, 8, ["model-value"])) : r("", !0)
|
191
|
+
]),
|
192
|
+
f("div", null, [
|
193
|
+
(E = i.inputOptions) != null && E.includes("new_tab") ? (n(), u(a(x), {
|
194
|
+
key: 0,
|
195
|
+
modelValue: L.value,
|
196
|
+
"onUpdate:modelValue": [
|
197
|
+
e[12] || (e[12] = (t) => L.value = t),
|
198
|
+
e[13] || (e[13] = (t) => c("new_tab", t))
|
199
|
+
],
|
200
|
+
label: "Open link in a new tab",
|
201
|
+
class: "mb-4"
|
202
|
+
}, {
|
203
|
+
after: b(() => [
|
204
|
+
d(a(j), {
|
205
|
+
position: "bottom",
|
206
|
+
distance: 10,
|
207
|
+
"popper-class": "bg-oc-bg-light min-w-[125px]"
|
208
|
+
}, {
|
209
|
+
default: b(() => [
|
210
|
+
d(a(q), {
|
211
|
+
name: "question-mark",
|
212
|
+
width: "16",
|
213
|
+
height: "16",
|
214
|
+
class: "text-oc-accent-1-500"
|
215
|
+
})
|
216
|
+
]),
|
217
|
+
_: 1
|
218
|
+
})
|
219
|
+
]),
|
220
|
+
_: 1
|
221
|
+
}, 8, ["modelValue"])) : r("", !0),
|
222
|
+
(N = i.inputOptions) != null && N.includes("lightbox") ? (n(), u(a(x), {
|
223
|
+
key: 1,
|
224
|
+
modelValue: $.value,
|
225
|
+
"onUpdate:modelValue": [
|
226
|
+
e[14] || (e[14] = (t) => $.value = t),
|
227
|
+
e[15] || (e[15] = (t) => c("lightbox", t))
|
228
|
+
],
|
229
|
+
label: "Enable lightbox"
|
230
|
+
}, {
|
231
|
+
after: b(() => [
|
232
|
+
d(a(j), {
|
233
|
+
position: "bottom",
|
234
|
+
distance: 10,
|
235
|
+
"popper-class": "bg-oc-bg-light min-w-[125px]"
|
236
|
+
}, {
|
237
|
+
popper: b(() => e[16] || (e[16] = [
|
238
|
+
f("div", { class: "text-oc-text-400 text-sm px-3 py-2 font-medium text-center" }, " Show lightbox when click the image ", -1)
|
239
|
+
])),
|
240
|
+
default: b(() => [
|
241
|
+
d(a(q), {
|
242
|
+
name: "question-mark",
|
243
|
+
width: "16",
|
244
|
+
height: "16",
|
245
|
+
class: "text-oc-accent-1-500"
|
246
|
+
})
|
247
|
+
]),
|
248
|
+
_: 1
|
249
|
+
})
|
250
|
+
]),
|
251
|
+
_: 1
|
252
|
+
}, 8, ["modelValue"])) : r("", !0)
|
253
|
+
])
|
254
|
+
])
|
255
|
+
]);
|
256
|
+
};
|
257
|
+
}
|
258
|
+
};
|
259
|
+
export {
|
260
|
+
ae as default
|
261
|
+
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref as N, onMounted as Ve, openBlock as d, createBlock as q, unref as x, withCtx as C, createElementVNode as G, createElementBlock as F, createVNode as R, mergeProps as ke, Fragment as ae, renderList as se, normalizeClass as oe, toDisplayString as he, createCommentVNode as $, computed as M, createSlots as Je, renderSlot as T, normalizeProps as xe, guardReactiveProps as we } from "vue";
|
2
|
-
import { ay as Fe, C as ze, B as je, K as He, Z as Ze, aJ as Ge, aK as We, aL as Xe, H as _e, I as Se, j as el } from "./index-
|
2
|
+
import { ay as Fe, C as ze, B as je, K as He, Z as Ze, aJ as Ge, aK as We, aL as Xe, H as _e, I as Se, j as el } from "./index-CXleXdVl.js";
|
3
3
|
import te from "dayjs";
|
4
4
|
import { VueDraggableNext as $e } from "vue-draggable-next";
|
5
5
|
import { getFromLocalStorage as ue, formatHeadersFromLocalStorage as Ae, formatHeadersToLocalStorage as ll, setInLocalStorage as Ee } from "./DataTable/utils/editColumnsUtils.js";
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref as w, openBlock as n, createBlock as y, unref as l, withCtx as r, createElementBlock as b, Fragment as C, renderList as D, normalizeClass as s, createElementVNode as o, createCommentVNode as m, renderSlot as u, toDisplayString as k, createVNode as f } from "vue";
|
2
|
-
import { aH as $, aD as S, ay as B } from "./index-
|
2
|
+
import { aH as $, aD as S, ay as B } from "./index-CXleXdVl.js";
|
3
3
|
import { _ as g } from "./OcIcon-CSpRxnwd.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" }, E = { class: "flex items-center flex-wrap w-full" }, H = ["href"], O = { class: "min-w-[120px]" }, W = { class: "truncate w-[200px]" }, j = { class: "flex items-center ml-4" }, z = { class: "flex w-full" }, q = {
|
5
5
|
__name: "OcDraggableList",
|
@@ -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 { ay as U, d as J, B as b } from "./index-
|
2
|
+
import { ay as U, d as J, B as b } from "./index-CXleXdVl.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 u, onMounted as B, openBlock as O, createElementBlock 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-CXleXdVl.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 c, computed as B, openBlock as s, createElementBlock as u, Fragment as x, createElementVNode as i, normalizeClass as O, createVNode as m, unref as r, withKeys as K, createSlots as N, withCtx as v, renderList as Q, createBlock as f, toDisplayString as z, createCommentVNode as S, nextTick as D } from "vue";
|
2
|
-
import { d as E, ay as F, az as I, B as w } from "./index-
|
2
|
+
import { d as E, ay as F, az as I, B as w } from "./index-CXleXdVl.js";
|
3
3
|
import { _ as U } from "./OcIcon-CSpRxnwd.js";
|
4
4
|
const j = { class: "flex gap-x-4" }, q = { class: "flex gap-x-2 items-center pl-2 text-oc-text-400 font-medium text-sm" }, A = { class: "p-2 flex flex-col" }, J = {
|
5
5
|
__name: "OcFilterSearch",
|
@@ -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 { M as y, at as i } from "./index-
|
2
|
+
import { M as y, at as i } from "./index-CXleXdVl.js";
|
3
3
|
const C = { 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 e, openBlock as v, createBlock as d, unref as l, withCtx as x, createVNode as O } from "vue";
|
2
|
-
import { aA as b } from "./index-
|
3
|
-
import k from "./OcCropper-
|
2
|
+
import { aA as b } from "./index-CXleXdVl.js";
|
3
|
+
import k from "./OcCropper-D2MLFJ36.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, openBlock as m, createBlock as s, unref as o, withCtx as p, createCommentVNode as v, createVNode as y } from "vue";
|
2
|
-
import { ay as S, aI as h, d as D } from "./index-
|
2
|
+
import { ay as S, aI as h, d as D } from "./index-CXleXdVl.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 { at as _, B as w } from "./index-
|
2
|
+
import { at as _, B as w } from "./index-CXleXdVl.js";
|
3
3
|
import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
4
4
|
import { _ as F } from "./OcIcon-CSpRxnwd.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-CXleXdVl.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 s, 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, at as v } from "./index-
|
2
|
+
import { B as d, at as v } from "./index-CXleXdVl.js";
|
3
3
|
import { _ as k } from "./OcIcon-CSpRxnwd.js";
|
4
4
|
const x = { class: "w-full relative group" }, y = {
|
5
5
|
key: 0,
|
@@ -9150,7 +9150,8 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
9150
9150
|
link: C.current.link,
|
9151
9151
|
caption: C.current.caption,
|
9152
9152
|
caption_variant: C.current.caption_variant,
|
9153
|
-
lightbox: C.current.lightbox
|
9153
|
+
lightbox: C.current.lightbox,
|
9154
|
+
new_tab: C.current.new_tab
|
9154
9155
|
});
|
9155
9156
|
}), f.value = B);
|
9156
9157
|
});
|
@@ -10429,16 +10430,16 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
10429
10430
|
}), 128))
|
10430
10431
|
], 6)) : u("", !0);
|
10431
10432
|
}
|
10432
|
-
}, Cf = de(() => import("./OcDataTable-
|
10433
|
-
() => import("./OcComplexCalendar-
|
10433
|
+
}, Cf = de(() => import("./OcDataTable-DMdeu9Hk.js")), Bf = de(() => import("./OcFilterSearch-YyT-YC4l.js")), Vf = de(() => import("./OcFilterSearchFor-D1fCnVUv.js")), Of = de(() => import("./OcFilterForm-BBlBpRcW.js")), dm = de(
|
10434
|
+
() => import("./OcComplexCalendar-M-R7nJ_F.js")
|
10434
10435
|
), If = de(
|
10435
|
-
() => import("./OcComplexDatePicker-
|
10436
|
-
), ot = de(() => import("./OcModalCropper-
|
10437
|
-
() => import("./ThumbnailTheme-
|
10436
|
+
() => import("./OcComplexDatePicker-B1LHCooA.js")
|
10437
|
+
), ot = de(() => import("./OcModalCropper-BcmV05IW.js")), Tf = de(() => import("./OcCropper-D2MLFJ36.js")), cm = de(() => import("./OcDraggable-CZT2mJvO.js")), Df = de(() => import("./OcDraggableList-CaYtyyAP.js")), Af = de(() => import("./OcEmojiPicker-CPekE3el.js")), Mf = de(
|
10438
|
+
() => import("./ThumbnailTheme-Bt2IvCF4.js")
|
10438
10439
|
), jf = de(
|
10439
|
-
() => import("./ThumbnailSection-
|
10440
|
-
), Lf = de(() => import("./SubPlanCard-
|
10441
|
-
() => import("./OcAccountSetupProgress-
|
10440
|
+
() => import("./ThumbnailSection-BWV4Uzv1.js")
|
10441
|
+
), Lf = de(() => import("./SubPlanCard-Dois1bOA.js")), Pf = de(() => import("./OcTimePopup-CXGhaOev.js")), um = de(() => import("./OcTimePicker-CXSOXNEM.js")), Ef = de(
|
10442
|
+
() => import("./OcAccountSetupProgress-BpUSPSgy.js")
|
10442
10443
|
);
|
10443
10444
|
export {
|
10444
10445
|
Hm as $,
|
package/dist/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import "vue";
|
2
|
-
import { V as r, ak as o, aW as t, a2 as i, a4 as n, as as p, _ as l, a5 as d, B as m, o as u, a as b, C as S, b as c, at as T, aG as g, aN as C, aw as x, ax as P, c as I, aP as f, v as h, aM as O, p as F, aH as k, aQ as v, ay as B, az as w, aR as A, a6 as H, T as L, L as D, R as M, a7 as _, aK as R, aJ as y, aL as E, w as G, u as N, l as U, a8 as V, ab as j, aa as z, ac as W, x as q, a3 as J, d as K, e as Q, m as X, y as Y, z as Z, A as $, aA as aa, aO as ea, t as sa, N as ra, aB as oa, D as ta, W as ia, k as na, E as pa, F as la, G as da, ae as ma, af as ua, H as ba, J as Sa, $ as ca, f as Ta, I as ga, ag as Ca, g as xa, h as Pa, i as Ia, ah as fa, q as ha, j as Oa, r as Fa, au as ka, am as va, ai as Ba, ap as wa, ao as Aa, al as Ha, an as La, aj as Da, s as Ma, S as _a, av as Ra, Y as ya, X as Ea, a9 as Ga, aU as Na, aq as Ua, aC as Va, ad as ja, K as za, O as Wa, P as qa, M as Ja, Q as Ka, Z as Qa, n as Xa, aT as Ya, aS as Za, aV as $a, aI as ae, aD as ee, U as se, a1 as re, a0 as oe, ar as te, aE as ie } from "./index-
|
2
|
+
import { V as r, ak as o, aW as t, a2 as i, a4 as n, as as p, _ as l, a5 as d, B as m, o as u, a as b, C as S, b as c, at as T, aG as g, aN as C, aw as x, ax as P, c as I, aP as f, v as h, aM as O, p as F, aH as k, aQ as v, ay as B, az as w, aR as A, a6 as H, T as L, L as D, R as M, a7 as _, aK as R, aJ as y, aL as E, w as G, u as N, l as U, a8 as V, ab as j, aa as z, ac as W, x as q, a3 as J, d as K, e as Q, m as X, y as Y, z as Z, A as $, aA as aa, aO as ea, t as sa, N as ra, aB as oa, D as ta, W as ia, k as na, E as pa, F as la, G as da, ae as ma, af as ua, H as ba, J as Sa, $ as ca, f as Ta, I as ga, ag as Ca, g as xa, h as Pa, i as Ia, ah as fa, q as ha, j as Oa, r as Fa, au as ka, am as va, ai as Ba, ap as wa, ao as Aa, al as Ha, an as La, aj as Da, s as Ma, S as _a, av as Ra, Y as ya, X as Ea, a9 as Ga, aU as Na, aq as Ua, aC as Va, ad as ja, K as za, O as Wa, P as qa, M as Ja, Q as Ka, Z as Qa, n as Xa, aT as Ya, aS as Za, aV as $a, aI as ae, aD as ee, U as se, a1 as re, a0 as oe, ar as te, aE as ie } from "./index-CXleXdVl.js";
|
3
3
|
import { _ as pe } from "./OcProgressBar-hiyC5XSc.js";
|
4
4
|
import { _ as de } from "./OcHorizontalProgressbar.vue_vue_type_script_setup_true_lang-4eVgPDi5.js";
|
5
5
|
import { _ as ue } from "./OcSwitchTabs-CYp676bj.js";
|
package/package.json
CHANGED
@@ -1,232 +0,0 @@
|
|
1
|
-
import { ref as u, watch as D, nextTick as A, openBlock as n, createElementBlock as b, createElementVNode as c, createBlock as r, unref as a, Fragment as G, createVNode as v, createCommentVNode as p, withCtx as x } from "vue";
|
2
|
-
import { B as k, d as y, C as E, h as H, aD as J } from "./index-BXSABQPr.js";
|
3
|
-
import { Cropper as K } from "vue-advanced-cropper";
|
4
|
-
import { _ as M } from "./OcIcon-CSpRxnwd.js";
|
5
|
-
const P = { class: "flex flex-col gap-y-5" }, Q = ["src"], W = { class: "flex gap-x-1 justify-center relative" }, X = { class: "grid grid-cols-2 gap-4" }, te = {
|
6
|
-
__name: "OcCropper",
|
7
|
-
props: {
|
8
|
-
inputOptions: Array,
|
9
|
-
inputOptionValues: Object,
|
10
|
-
img: String,
|
11
|
-
maxSize: [String, Number],
|
12
|
-
isReplaceImage: {
|
13
|
-
type: Boolean,
|
14
|
-
default: !0
|
15
|
-
}
|
16
|
-
},
|
17
|
-
emits: ["changeImage", "update:input-options"],
|
18
|
-
setup(i, { emit: N }) {
|
19
|
-
const f = i, V = N, d = u(), w = u(), s = u(""), C = u(), O = u(!1), o = u(f.inputOptionValues ?? {});
|
20
|
-
D(
|
21
|
-
() => f.inputOptionValues,
|
22
|
-
() => {
|
23
|
-
o.value = f.inputOptionValues;
|
24
|
-
},
|
25
|
-
{
|
26
|
-
deep: !0
|
27
|
-
}
|
28
|
-
), D(
|
29
|
-
() => f.img,
|
30
|
-
(t) => {
|
31
|
-
t && A(() => {
|
32
|
-
try {
|
33
|
-
const e = new URL(t);
|
34
|
-
e.protocol === "http:" || e.protocol === "https:" ? s.value = `${t}?${Date.now()}` : s.value = t;
|
35
|
-
} catch {
|
36
|
-
s.value = t;
|
37
|
-
}
|
38
|
-
});
|
39
|
-
},
|
40
|
-
{ immediate: !0 }
|
41
|
-
);
|
42
|
-
const j = () => {
|
43
|
-
if (s.value && O.value) {
|
44
|
-
const { canvas: t } = d.value.getResult(), e = !(d.value.image.width === t.width && d.value.image.height === t.height && !d.value.imageTransforms.rotate);
|
45
|
-
V("changeImage", t.toDataURL(), {
|
46
|
-
isChanged: e,
|
47
|
-
file: C.value
|
48
|
-
});
|
49
|
-
}
|
50
|
-
O.value = !0;
|
51
|
-
}, z = (t) => {
|
52
|
-
var e;
|
53
|
-
return (e = d.value) == null ? void 0 : e.rotate(t);
|
54
|
-
}, U = (t) => {
|
55
|
-
var e;
|
56
|
-
return (e = d.value) == null ? void 0 : e.zoom(t);
|
57
|
-
}, T = () => {
|
58
|
-
w.value.click();
|
59
|
-
}, q = (t) => {
|
60
|
-
if (t.target.files[0] / (1024 * 1024) > +f.maxSize)
|
61
|
-
return t.preventDefault(), !1;
|
62
|
-
C.value = t.target.files[0], s.value = URL.createObjectURL(t.target.files[0]);
|
63
|
-
}, F = ({ imageSize: t, visibleArea: e }) => ({
|
64
|
-
width: (e || t).width,
|
65
|
-
height: (e || t).height
|
66
|
-
}), g = (t, e) => {
|
67
|
-
let m = o.value;
|
68
|
-
m[t] = e, V("update:input-options", m);
|
69
|
-
}, h = u(!!o.value.caption), I = u(!!o.value.lightbox);
|
70
|
-
return (t, e) => {
|
71
|
-
var m, L, $, R, B, S;
|
72
|
-
return n(), b("div", P, [
|
73
|
-
c("input", {
|
74
|
-
id: "cropper-file-input",
|
75
|
-
ref_key: "fileUploadEl",
|
76
|
-
ref: w,
|
77
|
-
accept: "image/*",
|
78
|
-
type: "file",
|
79
|
-
class: "hidden",
|
80
|
-
onChange: q
|
81
|
-
}, null, 544),
|
82
|
-
s.value ? (n(), r(a(K), {
|
83
|
-
key: 0,
|
84
|
-
ref_key: "cropper",
|
85
|
-
ref: d,
|
86
|
-
class: "w-full h-[300px]",
|
87
|
-
src: s.value,
|
88
|
-
"resize-image": { wheel: !1 },
|
89
|
-
"background-class": "cropper-background",
|
90
|
-
"default-size": F,
|
91
|
-
onChange: j
|
92
|
-
}, null, 8, ["src"])) : (n(), b("img", {
|
93
|
-
key: 1,
|
94
|
-
class: "w-full",
|
95
|
-
src: i.img
|
96
|
-
}, null, 8, Q)),
|
97
|
-
c("div", W, [
|
98
|
-
s.value ? (n(), b(G, { key: 0 }, [
|
99
|
-
v(a(k), {
|
100
|
-
variant: "secondary",
|
101
|
-
size: "small",
|
102
|
-
"left-icon": "backward",
|
103
|
-
onClick: e[0] || (e[0] = (l) => z(-90))
|
104
|
-
}),
|
105
|
-
v(a(k), {
|
106
|
-
variant: "secondary",
|
107
|
-
size: "small",
|
108
|
-
"left-icon": "zoom-out",
|
109
|
-
onClick: e[1] || (e[1] = (l) => U(0.8))
|
110
|
-
}),
|
111
|
-
v(a(k), {
|
112
|
-
variant: "secondary",
|
113
|
-
size: "small",
|
114
|
-
"left-icon": "zoom-in",
|
115
|
-
onClick: e[2] || (e[2] = (l) => U(1.2))
|
116
|
-
}),
|
117
|
-
v(a(k), {
|
118
|
-
variant: "secondary",
|
119
|
-
size: "small",
|
120
|
-
"left-icon": "forward",
|
121
|
-
onClick: e[3] || (e[3] = (l) => z(90))
|
122
|
-
})
|
123
|
-
], 64)) : p("", !0),
|
124
|
-
i.isReplaceImage ? (n(), r(a(k), {
|
125
|
-
key: 1,
|
126
|
-
class: "absolute right-0",
|
127
|
-
variant: "secondary",
|
128
|
-
size: "small",
|
129
|
-
label: "Replace image",
|
130
|
-
"left-icon": "refresh",
|
131
|
-
onClick: T
|
132
|
-
})) : p("", !0)
|
133
|
-
]),
|
134
|
-
c("div", X, [
|
135
|
-
(m = i.inputOptions) != null && m.includes("description") ? (n(), r(a(y), {
|
136
|
-
key: 0,
|
137
|
-
modelValue: o.value.description,
|
138
|
-
"onUpdate:modelValue": [
|
139
|
-
e[4] || (e[4] = (l) => o.value.description = l),
|
140
|
-
e[5] || (e[5] = (l) => g("description", l))
|
141
|
-
],
|
142
|
-
label: "Describe Image",
|
143
|
-
placeholder: ""
|
144
|
-
}, null, 8, ["modelValue"])) : p("", !0),
|
145
|
-
(L = i.inputOptions) != null && L.includes("link") ? (n(), r(a(y), {
|
146
|
-
key: 1,
|
147
|
-
modelValue: o.value.link,
|
148
|
-
"onUpdate:modelValue": [
|
149
|
-
e[6] || (e[6] = (l) => o.value.link = l),
|
150
|
-
e[7] || (e[7] = (l) => g("link", l))
|
151
|
-
],
|
152
|
-
placeholder: "https://hitpayapp.com",
|
153
|
-
label: "Link to"
|
154
|
-
}, null, 8, ["modelValue"])) : p("", !0),
|
155
|
-
c("div", null, [
|
156
|
-
($ = i.inputOptions) != null && $.includes("caption") ? (n(), r(a(E), {
|
157
|
-
key: 0,
|
158
|
-
modelValue: h.value,
|
159
|
-
"onUpdate:modelValue": e[8] || (e[8] = (l) => h.value = l),
|
160
|
-
label: "Caption",
|
161
|
-
class: "mb-4"
|
162
|
-
}, null, 8, ["modelValue"])) : p("", !0),
|
163
|
-
(R = i.inputOptions) != null && R.includes("caption") && h.value ? (n(), r(a(y), {
|
164
|
-
key: 1,
|
165
|
-
modelValue: o.value.caption,
|
166
|
-
"onUpdate:modelValue": [
|
167
|
-
e[9] || (e[9] = (l) => o.value.caption = l),
|
168
|
-
e[10] || (e[10] = (l) => g("caption", l))
|
169
|
-
],
|
170
|
-
class: "mb-4",
|
171
|
-
placeholder: ""
|
172
|
-
}, null, 8, ["modelValue"])) : p("", !0),
|
173
|
-
(B = i.inputOptions) != null && B.includes("caption") && h.value ? (n(), r(a(H), {
|
174
|
-
key: 2,
|
175
|
-
"model-value": o.value.caption_variant,
|
176
|
-
"group-name": "caption_variant",
|
177
|
-
alignment: "horizontal",
|
178
|
-
radio: [
|
179
|
-
{
|
180
|
-
value: "hover",
|
181
|
-
label: "Show on hover"
|
182
|
-
},
|
183
|
-
{
|
184
|
-
value: "bottom",
|
185
|
-
label: "Show on bottom"
|
186
|
-
}
|
187
|
-
],
|
188
|
-
label: "Caption position",
|
189
|
-
"onUpdate:modelValue": e[11] || (e[11] = (l) => g("caption_variant", l))
|
190
|
-
}, null, 8, ["model-value"])) : p("", !0)
|
191
|
-
]),
|
192
|
-
c("div", null, [
|
193
|
-
(S = i.inputOptions) != null && S.includes("lightbox") ? (n(), r(a(E), {
|
194
|
-
key: 0,
|
195
|
-
modelValue: I.value,
|
196
|
-
"onUpdate:modelValue": [
|
197
|
-
e[12] || (e[12] = (l) => I.value = l),
|
198
|
-
e[13] || (e[13] = (l) => g("lightbox", l))
|
199
|
-
],
|
200
|
-
label: "Lightbox"
|
201
|
-
}, {
|
202
|
-
after: x(() => [
|
203
|
-
v(a(J), {
|
204
|
-
position: "bottom",
|
205
|
-
distance: 10,
|
206
|
-
"popper-class": "bg-oc-bg-light min-w-[125px]"
|
207
|
-
}, {
|
208
|
-
popper: x(() => e[14] || (e[14] = [
|
209
|
-
c("div", { class: "text-oc-text-400 text-sm px-3 py-2 font-medium text-center" }, " Show lightbox when click the image ", -1)
|
210
|
-
])),
|
211
|
-
default: x(() => [
|
212
|
-
v(a(M), {
|
213
|
-
name: "question-mark",
|
214
|
-
width: "16",
|
215
|
-
height: "16",
|
216
|
-
class: "text-oc-accent-1-500"
|
217
|
-
})
|
218
|
-
]),
|
219
|
-
_: 1
|
220
|
-
})
|
221
|
-
]),
|
222
|
-
_: 1
|
223
|
-
}, 8, ["modelValue"])) : p("", !0)
|
224
|
-
])
|
225
|
-
])
|
226
|
-
]);
|
227
|
-
};
|
228
|
-
}
|
229
|
-
};
|
230
|
-
export {
|
231
|
-
te as default
|
232
|
-
};
|