@orchidui/core 1.8.1-13 → 1.8.1-130
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 +2 -2
- package/dist/DataDisplay/FloatContent/OcFloatContent.js +1 -1
- package/dist/DataDisplay/HorizontalProgressbar/OcHorizontalProgressbar.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/ProgressBar/OcProgressBar.js +1 -1
- package/dist/DataDisplay/Table/OcTable.js +1 -1
- package/dist/DataDisplay/TransferSummary/OcTransferSummary.js +1 -1
- package/dist/DataTable/useDataTable.js +93 -0
- package/dist/DataTable/utils/filterUtils.js +57 -0
- package/dist/DataTable/utils/paginationUtils.js +26 -0
- 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/SwitchTabs/OcSwitchTabs.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/Section/OcSection.js +1 -1
- package/dist/Elements/Sidebar/OcSidebar.js +2 -2
- package/dist/Elements/Skeleton/OcSkeleton.js +1 -1
- package/dist/Elements/SubSidebar/OcSubSidebar.js +1 -1
- package/dist/Elements/TopBanner/OcTopBanner.js +4 -0
- package/dist/Elements/VerificationOption/OcVerificationOption.js +2 -2
- 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/Feedback/Tag/OcTag.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 +2 -2
- 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 +2 -2
- package/dist/Form/MultipleUploadFile/OcMultipleUploadFile.js +1 -1
- package/dist/Form/NumberInput/OcNumberInput.js +1 -1
- package/dist/Form/PhoneInput/OcPhoneInput.js +2 -2
- 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 +1 -1
- 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 +8 -8
- package/dist/FormBuilder/OcFormBuilder.js +1 -1
- package/dist/MediaAndIcons/Avatar/OcAvatar.js +1 -1
- package/dist/MediaAndIcons/Icon/OcIcon.js +1 -1
- package/dist/{OcAccountSetupProgress-DVe93N5F.js → OcAccountSetupProgress-zCG-DdjY.js} +4 -4
- package/dist/{OcAvatar-DeVm4Ck5.js → OcAvatar-WGEX8Wio.js} +4 -4
- package/dist/{OcComplexCalendar-_DMBOtyP.js → OcComplexCalendar-C6koM5tD.js} +6 -6
- package/dist/{OcComplexDatePicker-A4TDbWQM.js → OcComplexDatePicker-BShwu8Lo.js} +5 -5
- package/dist/OcCropper-CV7rNbNa.js +253 -0
- package/dist/OcDataTable-CVpVKWnH.js +555 -0
- package/dist/{OcDraggable-CA_BCbpl.js → OcDraggable-DRsp4j4e.js} +5 -4
- package/dist/{OcDraggableList-4U0eI0yh.js → OcDraggableList-BUUu6bu2.js} +50 -47
- package/dist/{OcEmojiPicker-CKSZw3bt.js → OcEmojiPicker-ffb1UkOi.js} +17 -15
- package/dist/{OcFilterForm-DUH1_sM8.js → OcFilterForm-D_Yfxq9s.js} +22 -24
- package/dist/OcFilterSearch-DAOnCwDT.js +112 -0
- package/dist/{OcFilterSearchFor-BbobE0iw.js → OcFilterSearchFor-exHdYEaz.js} +27 -21
- package/dist/{OcHorizontalProgressbar.vue_vue_type_script_setup_true_lang-4eVgPDi5.js → OcHorizontalProgressbar.vue_vue_type_script_setup_true_lang-C-8H1oP2.js} +2 -2
- package/dist/{OcIcon-CJgBICxh.js → OcIcon-CBf___w1.js} +10 -9
- package/dist/OcModalCropper-mUIjId6c.js +52 -0
- package/dist/{OcPopper-BgjdqRiw.js → OcPopper-BSfMaOoF.js} +26 -25
- package/dist/{OcProgressBar-hiyC5XSc.js → OcProgressBar-lyqE5LZd.js} +5 -5
- package/dist/{OcSection-D_vO-DAP.js → OcSection-BjyapRr3.js} +3 -3
- package/dist/{OcSkeleton-CvdpGSQR.js → OcSkeleton-Czw65X0i.js} +2 -2
- package/dist/{OcSwitchTabs-CYp676bj.js → OcSwitchTabs-B7LfmG3z.js} +3 -3
- package/dist/{OcTag.vue_vue_type_script_setup_true_lang-D19lw-8Y.js → OcTag.vue_vue_type_script_setup_true_lang-CzJFcg8l.js} +2 -2
- package/dist/{OcTheme-CWgrJh5Q.js → OcTheme-B6NTNYtz.js} +2 -2
- package/dist/{OcTimePicker-CuimDUhN.js → OcTimePicker-BnHQuIIE.js} +6 -6
- package/dist/{OcTimePopup-CXGhaOev.js → OcTimePopup-CrwbZ_Nx.js} +5 -5
- package/dist/OcToggle-DOfA-DZ8.js +58 -0
- 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/Popper/OcPopper.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-C0pdZDFH.js → SubPlanCard-CQhm3Ffe.js} +10 -10
- package/dist/Theme/OcTheme.js +1 -1
- package/dist/{ThumbnailSection-DCtZ3L0d.js → ThumbnailSection-C4_YnAkH.js} +3 -3
- package/dist/{ThumbnailTheme-D6DHAV4e.js → ThumbnailTheme-BiofGRB1.js} +9 -6
- package/dist/core.css +1 -0
- package/dist/{index-D56G3Bj-.js → index-sshOSmGz.js} +3133 -2954
- package/dist/index.js +45 -44
- package/package.json +1 -1
- package/dist/OcCropper-Cbzvk6Ph.js +0 -229
- package/dist/OcDataTable-nlEGD3qN.js +0 -578
- package/dist/OcFilterSearch-dI25vfNj.js +0 -69
- package/dist/OcModalCropper-C2YCtiyL.js +0 -46
- package/dist/OcToggle-bIJaLDMZ.js +0 -53
- package/dist/style.css +0 -1
package/dist/Form/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { _ as e, B as t,
|
2
|
-
import { T as F } from "../OcToggle-
|
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-sshOSmGz.js";
|
2
|
+
import { T as F } from "../OcToggle-DOfA-DZ8.js";
|
3
3
|
export {
|
4
4
|
e as BaseInput,
|
5
5
|
t as Button,
|
@@ -13,12 +13,12 @@ export {
|
|
13
13
|
I as Input,
|
14
14
|
d as InputOption,
|
15
15
|
c as LinkInput,
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
16
|
+
C as MultipleUploadFile,
|
17
|
+
S as NumberInput,
|
18
|
+
g as Option,
|
19
|
+
k as PhoneInput,
|
20
|
+
m as Radio,
|
21
|
+
x as RadioGroup,
|
22
22
|
b as RangeInput,
|
23
23
|
h as SectionItem,
|
24
24
|
O as Select,
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
2
|
-
import "./index-
|
3
|
-
import { _ as c } from "./OcIcon-
|
1
|
+
import { createElementBlock as r, openBlock as n, createElementVNode as e, createVNode as o, createTextVNode as d, unref as l, toDisplayString as a, normalizeStyle as u } from "vue";
|
2
|
+
import "./index-sshOSmGz.js";
|
3
|
+
import { _ as c } from "./OcIcon-CBf___w1.js";
|
4
4
|
const x = { class: "border relative z-10 border-oc-gray-200 shadow-normal bg-white rounded p-2 flex flex-col gap-y-2" }, p = { class: "py-2 px-3 gap-x-3 flex items-center" }, f = { class: "text-base flex-1 font-medium flex items-center gap-x-2" }, m = { class: "px-3 pb-3 flex flex-col gap-y-3" }, h = { class: "relative bg-oc-accent-1-50 rounded-full h-2" }, _ = { class: "flex items-center gap-x-3" }, g = { class: "text-sm text-oc-text-400" }, N = {
|
5
5
|
__name: "OcAccountSetupProgress",
|
6
6
|
props: {
|
@@ -15,7 +15,7 @@ const x = { class: "border relative z-10 border-oc-gray-200 shadow-normal bg-whi
|
|
15
15
|
},
|
16
16
|
emits: ["redirect"],
|
17
17
|
setup(s) {
|
18
|
-
return (i, t) => (
|
18
|
+
return (i, t) => (n(), r("div", x, [
|
19
19
|
e("div", p, [
|
20
20
|
e("div", f, [
|
21
21
|
o(l(c), {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { computed as s,
|
1
|
+
import { computed as s, createElementBlock as r, openBlock as i, normalizeStyle as n, normalizeClass as c, renderSlot as d, createTextVNode as u } from "vue";
|
2
2
|
const f = {
|
3
3
|
__name: "OcAvatar",
|
4
4
|
props: {
|
@@ -26,9 +26,9 @@ const f = {
|
|
26
26
|
32: "text-base",
|
27
27
|
24: "text-xs"
|
28
28
|
}));
|
29
|
-
return (o, t) => (
|
30
|
-
class:
|
31
|
-
style:
|
29
|
+
return (o, t) => (i(), r("div", {
|
30
|
+
class: c(["rounded-full border border-oc-gray-300 flex items-center font-bold justify-center", [a.value[e.type], l.value[e.size]]]),
|
31
|
+
style: n({ width: `${e.size}px`, height: `${e.size}px` })
|
32
32
|
}, [
|
33
33
|
d(o.$slots, "default", {}, () => [
|
34
34
|
t[0] || (t[0] = u("H"))
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { ref as x,
|
1
|
+
import { ref as x, createElementBlock as o, openBlock as n, createElementVNode as b, createCommentVNode as i, createVNode as d, Fragment as V, renderList as v, normalizeClass as k, unref as a, toDisplayString as p, mergeProps as m } from "vue";
|
2
2
|
import { DatePicker as B } from "v-calendar";
|
3
3
|
import r from "dayjs";
|
4
|
-
import { B as f } from "./index-
|
4
|
+
import { B as f } from "./index-sshOSmGz.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"
|
@@ -49,10 +49,10 @@ const C = { class: "flex flex-col p-6 gap-y-7 w-fit shadow-normal rounded" }, h
|
|
49
49
|
};
|
50
50
|
return (l, u) => {
|
51
51
|
var c;
|
52
|
-
return
|
52
|
+
return n(), o("div", C, [
|
53
53
|
b("div", h, [
|
54
|
-
(c = e.shortcuts) != null && c.length ? (
|
55
|
-
(
|
54
|
+
(c = e.shortcuts) != null && c.length ? (n(), o("div", M, [
|
55
|
+
(n(!0), o(V, null, v(e.shortcuts, (t) => (n(), o("div", {
|
56
56
|
key: t,
|
57
57
|
class: k([
|
58
58
|
"rounded text-center px-4 font-medium py-2 cursor-pointer",
|
@@ -81,7 +81,7 @@ const C = { class: "flex flex-col p-6 gap-y-7 w-fit shadow-normal rounded" }, h
|
|
81
81
|
"onUpdate:modelValue": u[0] || (u[0] = (t) => l.$emit("update:modelValue", t))
|
82
82
|
}), null, 16, ["model-value", "model-modifiers", "class", "columns", "min-date", "max-date"])
|
83
83
|
]),
|
84
|
-
e.withFooter ? (
|
84
|
+
e.withFooter ? (n(), o("div", P, [
|
85
85
|
d(a(f), m({
|
86
86
|
class: "min-w-[72px]",
|
87
87
|
label: "Clear",
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ref as s,
|
2
|
-
import {
|
1
|
+
import { ref as s, createBlock as d, openBlock as m, unref as t, withCtx as l, createVNode as n } from "vue";
|
2
|
+
import { aG as c, _ as f, az as b, d as p, aH as V } from "./index-sshOSmGz.js";
|
3
3
|
import r from "dayjs";
|
4
4
|
const x = {
|
5
5
|
__name: "OcComplexDatePicker",
|
@@ -44,7 +44,7 @@ const x = {
|
|
44
44
|
setup(e) {
|
45
45
|
r.extend(c);
|
46
46
|
const u = s(!1);
|
47
|
-
return (i, o) => (
|
47
|
+
return (i, o) => (m(), d(t(f), {
|
48
48
|
label: e.label,
|
49
49
|
hint: e.hint,
|
50
50
|
"error-message": e.errorMessage,
|
@@ -61,7 +61,7 @@ const x = {
|
|
61
61
|
class: "w-full"
|
62
62
|
}, {
|
63
63
|
menu: l(() => [
|
64
|
-
n(t(
|
64
|
+
n(t(V), {
|
65
65
|
"model-value": e.modelValue,
|
66
66
|
shortcuts: e.shortcuts,
|
67
67
|
"cancel-button-props": e.cancelButtonProps,
|
@@ -73,7 +73,7 @@ const x = {
|
|
73
73
|
}, null, 8, ["model-value", "shortcuts", "cancel-button-props", "submit-button-props", "calendar-props", "count-calendars", "with-footer"])
|
74
74
|
]),
|
75
75
|
default: l(() => [
|
76
|
-
n(t(
|
76
|
+
n(t(p), {
|
77
77
|
"model-value": `${t(r)(e.modelValue.start).format(e.formatDate)} - ${t(r)(
|
78
78
|
e.modelValue.end
|
79
79
|
).format(e.formatDate)}`,
|
@@ -0,0 +1,253 @@
|
|
1
|
+
import { ref as u, watch as D, nextTick as J, createElementBlock as h, openBlock as o, createElementVNode as m, createBlock as r, unref as a, createCommentVNode as s, Fragment as K, createVNode as g, withCtx as T } from "vue";
|
2
|
+
import { B as k, d as x, C as y, h as M, aE as P } from "./index-sshOSmGz.js";
|
3
|
+
import { Cropper as Q } from "vue-advanced-cropper";
|
4
|
+
import { _ as W } from "./OcIcon-CBf___w1.js";
|
5
|
+
const X = { class: "flex flex-col gap-y-5" }, Y = ["src"], Z = { class: "flex gap-x-1 justify-center relative" }, _ = { class: "grid grid-cols-2 gap-4" }, ee = {
|
6
|
+
key: 1,
|
7
|
+
class: "flex items-center gap-x-2 justify-normal"
|
8
|
+
}, te = { class: "w-auto" }, ie = {
|
9
|
+
__name: "OcCropper",
|
10
|
+
props: {
|
11
|
+
inputOptions: Array,
|
12
|
+
inputOptionValues: Object,
|
13
|
+
img: String,
|
14
|
+
maxSize: [String, Number],
|
15
|
+
isReplaceImage: {
|
16
|
+
type: Boolean,
|
17
|
+
default: !0
|
18
|
+
}
|
19
|
+
},
|
20
|
+
emits: ["changeImage", "update:input-options"],
|
21
|
+
setup(i, { emit: q }) {
|
22
|
+
const f = i, w = q, d = u(), V = u(), p = u(""), C = u(), O = u(!1), n = u(f.inputOptionValues ?? {});
|
23
|
+
D(
|
24
|
+
() => f.inputOptionValues,
|
25
|
+
() => {
|
26
|
+
n.value = f.inputOptionValues;
|
27
|
+
},
|
28
|
+
{
|
29
|
+
deep: !0
|
30
|
+
}
|
31
|
+
), D(
|
32
|
+
() => f.img,
|
33
|
+
(l) => {
|
34
|
+
l && J(() => {
|
35
|
+
try {
|
36
|
+
const e = new URL(l);
|
37
|
+
e.protocol === "http:" || e.protocol === "https:" ? p.value = `${l}?${Date.now()}` : p.value = l;
|
38
|
+
} catch {
|
39
|
+
p.value = l;
|
40
|
+
}
|
41
|
+
});
|
42
|
+
},
|
43
|
+
{ immediate: !0 }
|
44
|
+
);
|
45
|
+
const F = () => {
|
46
|
+
if (p.value && O.value) {
|
47
|
+
const { canvas: l } = d.value.getResult(), e = !(d.value.image.width === l.width && d.value.image.height === l.height && !d.value.imageTransforms.rotate);
|
48
|
+
w("changeImage", {
|
49
|
+
url: l.toDataURL(),
|
50
|
+
cropper: {
|
51
|
+
isChanged: e,
|
52
|
+
file: C.value
|
53
|
+
}
|
54
|
+
});
|
55
|
+
}
|
56
|
+
O.value = !0;
|
57
|
+
}, z = (l) => {
|
58
|
+
var e;
|
59
|
+
return (e = d.value) == null ? void 0 : e.rotate(l);
|
60
|
+
}, U = (l) => {
|
61
|
+
var e;
|
62
|
+
return (e = d.value) == null ? void 0 : e.zoom(l);
|
63
|
+
}, A = () => {
|
64
|
+
V.value.click();
|
65
|
+
}, G = (l) => {
|
66
|
+
if (l.target.files[0] / (1024 * 1024) > +f.maxSize)
|
67
|
+
return l.preventDefault(), !1;
|
68
|
+
C.value = l.target.files[0], p.value = URL.createObjectURL(l.target.files[0]);
|
69
|
+
}, H = ({ imageSize: l, visibleArea: e }) => ({
|
70
|
+
width: (e || l).width,
|
71
|
+
height: (e || l).height
|
72
|
+
}), c = (l, e) => {
|
73
|
+
let v = n.value;
|
74
|
+
v[l] = e, w("update:input-options", v);
|
75
|
+
}, b = u(!!n.value.caption), I = u(!!n.value.lightbox), $ = u(!!n.value.new_tab);
|
76
|
+
return (l, e) => {
|
77
|
+
var v, L, R, B, S, E, N, j;
|
78
|
+
return o(), h("div", X, [
|
79
|
+
m("input", {
|
80
|
+
id: "cropper-file-input",
|
81
|
+
ref_key: "fileUploadEl",
|
82
|
+
ref: V,
|
83
|
+
accept: "image/*",
|
84
|
+
type: "file",
|
85
|
+
class: "hidden",
|
86
|
+
onChange: G
|
87
|
+
}, null, 544),
|
88
|
+
p.value ? (o(), r(a(Q), {
|
89
|
+
key: 0,
|
90
|
+
ref_key: "cropper",
|
91
|
+
ref: d,
|
92
|
+
class: "w-full h-[300px]",
|
93
|
+
src: p.value,
|
94
|
+
"resize-image": { wheel: !1 },
|
95
|
+
"background-class": "cropper-background",
|
96
|
+
"default-size": H,
|
97
|
+
onChange: F
|
98
|
+
}, null, 8, ["src"])) : (o(), h("img", {
|
99
|
+
key: 1,
|
100
|
+
class: "w-full",
|
101
|
+
src: i.img
|
102
|
+
}, null, 8, Y)),
|
103
|
+
m("div", Z, [
|
104
|
+
p.value ? (o(), h(K, { key: 0 }, [
|
105
|
+
g(a(k), {
|
106
|
+
variant: "secondary",
|
107
|
+
size: "small",
|
108
|
+
"left-icon": "backward",
|
109
|
+
onClick: e[0] || (e[0] = (t) => z(-90))
|
110
|
+
}),
|
111
|
+
g(a(k), {
|
112
|
+
variant: "secondary",
|
113
|
+
size: "small",
|
114
|
+
"left-icon": "zoom-out",
|
115
|
+
onClick: e[1] || (e[1] = (t) => U(0.8))
|
116
|
+
}),
|
117
|
+
g(a(k), {
|
118
|
+
variant: "secondary",
|
119
|
+
size: "small",
|
120
|
+
"left-icon": "zoom-in",
|
121
|
+
onClick: e[2] || (e[2] = (t) => U(1.2))
|
122
|
+
}),
|
123
|
+
g(a(k), {
|
124
|
+
variant: "secondary",
|
125
|
+
size: "small",
|
126
|
+
"left-icon": "forward",
|
127
|
+
onClick: e[3] || (e[3] = (t) => z(90))
|
128
|
+
})
|
129
|
+
], 64)) : s("", !0),
|
130
|
+
i.isReplaceImage ? (o(), r(a(k), {
|
131
|
+
key: 1,
|
132
|
+
class: "absolute right-0",
|
133
|
+
variant: "secondary",
|
134
|
+
size: "small",
|
135
|
+
label: "Replace image",
|
136
|
+
"left-icon": "refresh",
|
137
|
+
onClick: A
|
138
|
+
})) : s("", !0)
|
139
|
+
]),
|
140
|
+
m("div", _, [
|
141
|
+
(v = i.inputOptions) != null && v.includes("description") ? (o(), r(a(x), {
|
142
|
+
key: 0,
|
143
|
+
modelValue: n.value.description,
|
144
|
+
"onUpdate:modelValue": [
|
145
|
+
e[4] || (e[4] = (t) => n.value.description = t),
|
146
|
+
e[5] || (e[5] = (t) => c("description", t))
|
147
|
+
],
|
148
|
+
label: "Describe Image",
|
149
|
+
placeholder: ""
|
150
|
+
}, null, 8, ["modelValue"])) : s("", !0),
|
151
|
+
(L = i.inputOptions) != null && L.includes("link") ? (o(), r(a(x), {
|
152
|
+
key: 1,
|
153
|
+
modelValue: n.value.link,
|
154
|
+
"onUpdate:modelValue": [
|
155
|
+
e[6] || (e[6] = (t) => n.value.link = t),
|
156
|
+
e[7] || (e[7] = (t) => c("link", t))
|
157
|
+
],
|
158
|
+
placeholder: "https://hitpayapp.com",
|
159
|
+
label: "Link to"
|
160
|
+
}, null, 8, ["modelValue"])) : s("", !0),
|
161
|
+
m("div", null, [
|
162
|
+
(R = i.inputOptions) != null && R.includes("caption") ? (o(), r(a(y), {
|
163
|
+
key: 0,
|
164
|
+
modelValue: b.value,
|
165
|
+
"onUpdate:modelValue": e[8] || (e[8] = (t) => b.value = t),
|
166
|
+
label: "Caption",
|
167
|
+
class: "mb-4"
|
168
|
+
}, null, 8, ["modelValue"])) : s("", !0),
|
169
|
+
(B = i.inputOptions) != null && B.includes("caption") && b.value ? (o(), r(a(x), {
|
170
|
+
key: 1,
|
171
|
+
modelValue: n.value.caption,
|
172
|
+
"onUpdate:modelValue": [
|
173
|
+
e[9] || (e[9] = (t) => n.value.caption = t),
|
174
|
+
e[10] || (e[10] = (t) => c("caption", t))
|
175
|
+
],
|
176
|
+
class: "mb-4",
|
177
|
+
placeholder: ""
|
178
|
+
}, null, 8, ["modelValue"])) : s("", !0),
|
179
|
+
(S = i.inputOptions) != null && S.includes("caption") && b.value ? (o(), r(a(M), {
|
180
|
+
key: 2,
|
181
|
+
"model-value": n.value.caption_variant,
|
182
|
+
"group-name": "caption_variant",
|
183
|
+
alignment: "horizontal",
|
184
|
+
radio: [
|
185
|
+
{
|
186
|
+
value: "hover",
|
187
|
+
label: "Show on hover"
|
188
|
+
},
|
189
|
+
{
|
190
|
+
value: "bottom",
|
191
|
+
label: "Show on bottom"
|
192
|
+
}
|
193
|
+
],
|
194
|
+
label: "Caption position",
|
195
|
+
"onUpdate:modelValue": e[11] || (e[11] = (t) => c("caption_variant", t))
|
196
|
+
}, null, 8, ["model-value"])) : s("", !0)
|
197
|
+
]),
|
198
|
+
m("div", null, [
|
199
|
+
(E = i.inputOptions) != null && E.includes("new_tab") ? (o(), r(a(y), {
|
200
|
+
key: 0,
|
201
|
+
modelValue: $.value,
|
202
|
+
"onUpdate:modelValue": [
|
203
|
+
e[12] || (e[12] = (t) => $.value = t),
|
204
|
+
e[13] || (e[13] = (t) => c("new_tab", t))
|
205
|
+
],
|
206
|
+
label: "Open link in a new tab",
|
207
|
+
class: "mb-4"
|
208
|
+
}, null, 8, ["modelValue"])) : s("", !0),
|
209
|
+
(N = i.inputOptions) != null && N.includes("lightbox") ? (o(), h("div", ee, [
|
210
|
+
m("div", te, [
|
211
|
+
(j = i.inputOptions) != null && j.includes("lightbox") ? (o(), r(a(y), {
|
212
|
+
key: 0,
|
213
|
+
modelValue: I.value,
|
214
|
+
"onUpdate:modelValue": [
|
215
|
+
e[14] || (e[14] = (t) => I.value = t),
|
216
|
+
e[15] || (e[15] = (t) => c("lightbox", t))
|
217
|
+
],
|
218
|
+
label: "Enable lightbox"
|
219
|
+
}, null, 8, ["modelValue"])) : s("", !0)
|
220
|
+
]),
|
221
|
+
g(a(P), {
|
222
|
+
key: "lightbox-cropper-tooltip",
|
223
|
+
trigger: "hover",
|
224
|
+
"is-popover": "",
|
225
|
+
"popper-options": { strategy: "fixed" },
|
226
|
+
position: "bottom",
|
227
|
+
distance: 10,
|
228
|
+
skidding: 0,
|
229
|
+
"popper-class": "bg-oc-bg-light min-w-[125px]"
|
230
|
+
}, {
|
231
|
+
popper: T(() => e[16] || (e[16] = [
|
232
|
+
m("div", { class: "text-oc-text-400 text-sm px-3 py-2 font-medium text-center" }, " Show lightbox when click the image ", -1)
|
233
|
+
])),
|
234
|
+
default: T(() => [
|
235
|
+
g(a(W), {
|
236
|
+
name: "question-mark",
|
237
|
+
width: "16",
|
238
|
+
height: "16",
|
239
|
+
class: "text-oc-accent-1-500"
|
240
|
+
})
|
241
|
+
]),
|
242
|
+
_: 1
|
243
|
+
})
|
244
|
+
])) : s("", !0)
|
245
|
+
])
|
246
|
+
])
|
247
|
+
]);
|
248
|
+
};
|
249
|
+
}
|
250
|
+
};
|
251
|
+
export {
|
252
|
+
ie as default
|
253
|
+
};
|