@orchidui/core 1.7.0 → 1.8.1-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 +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 +3 -3
- 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 +3 -3
- package/dist/Elements/PageTitle/OcPageTitle.js +2 -2
- 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 +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/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 +15 -16
- package/dist/FormBuilder/OcFormBuilder.js +1 -1
- package/dist/MediaAndIcons/Avatar/OcAvatar.js +1 -1
- package/dist/{OcAccountSetupProgress-2zVx2GHP.js → OcAccountSetupProgress-Ddl426XN.js} +1 -1
- package/dist/{OcAvatar-NDXQiZvz.js → OcAvatar-DeVm4Ck5.js} +1 -1
- package/dist/{OcComplexCalendar-BE_5lOWM.js → OcComplexCalendar-CcfPlfbW.js} +1 -1
- package/dist/{OcComplexDatePicker-tj7IxZ35.js → OcComplexDatePicker-BMRN5eyC.js} +3 -3
- package/dist/{OcCropper-Fe0J_Bko.js → OcCropper-RQhwPW9G.js} +1 -1
- package/dist/OcDataTable-BBMV4jei.js +575 -0
- package/dist/OcDraggableList-CJWaq7kB.js +165 -0
- package/dist/{OcEmojiPicker-DSl1dtLw.js → OcEmojiPicker-DBNLN4dQ.js} +1 -1
- package/dist/{OcFilterForm-D_lSoa2h.js → OcFilterForm-F1ZnyQ_Y.js} +1 -1
- package/dist/{OcFilterSearch-2Xdc8u_3.js → OcFilterSearch-DaZSHW8z.js} +1 -1
- package/dist/{OcFilterSearchFor-CQZ5JahW.js → OcFilterSearchFor-9uG8aPLG.js} +1 -1
- package/dist/{OcModalCropper-DUZxa2Uc.js → OcModalCropper-QqWKOUJU.js} +4 -4
- package/dist/{OcPopper-C11OgQAj.js → OcPopper-D0VfWOBI.js} +1 -1
- package/dist/{OcTimePicker-DKNvG7jd.js → OcTimePicker-BGUwtskQ.js} +2 -2
- 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-1V33rr2W.js → SubPlanCard-C8TEItdq.js} +1 -1
- package/dist/{ThumbnailSection-B54irBpK.js → ThumbnailSection-Dh5MnRT_.js} +1 -1
- package/dist/{ThumbnailTheme-m7hMJG5d.js → ThumbnailTheme-qb0vNoAH.js} +14 -14
- package/dist/{index-DX4G0c8Z.js → index-DOKEy-am.js} +2244 -2068
- package/dist/index.js +54 -55
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/OcDataTable-DrBQfhbc.js +0 -566
- package/dist/OcDraggableList-B1167E1L.js +0 -158
- package/dist/OcSlider-DW9x8eas.js +0 -123
@@ -0,0 +1,165 @@
|
|
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-DOKEy-am.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" }, 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
|
+
__name: "OcDraggableList",
|
6
|
+
props: {
|
7
|
+
modelValue: Array,
|
8
|
+
iconKey: {
|
9
|
+
type: String,
|
10
|
+
default: "icon"
|
11
|
+
},
|
12
|
+
isChildren: Boolean,
|
13
|
+
childrenKey: {
|
14
|
+
type: String,
|
15
|
+
default: "children"
|
16
|
+
},
|
17
|
+
isLink: Boolean,
|
18
|
+
linkKey: {
|
19
|
+
type: String,
|
20
|
+
default: "link"
|
21
|
+
},
|
22
|
+
unmovable: Boolean,
|
23
|
+
// general unmovable
|
24
|
+
enableStatusVariant: Boolean,
|
25
|
+
classes: {
|
26
|
+
type: String,
|
27
|
+
default: ""
|
28
|
+
},
|
29
|
+
titleWidth: String
|
30
|
+
},
|
31
|
+
emits: {
|
32
|
+
"update:modelValue": [],
|
33
|
+
"click:element": [],
|
34
|
+
detectMove: null
|
35
|
+
},
|
36
|
+
setup(a, { emit: p }) {
|
37
|
+
const V = p, t = w([]), v = w([]), K = (i, d) => {
|
38
|
+
V("update:modelValue", i, d);
|
39
|
+
};
|
40
|
+
return (i, d) => (n(), y(l($), {
|
41
|
+
"model-value": a.modelValue,
|
42
|
+
class: "grid gap-3",
|
43
|
+
"onUpdate:modelValue": d[0] || (d[0] = (c, e) => K(c, e)),
|
44
|
+
onDetectMove: d[1] || (d[1] = (c) => i.$emit("detectMove", c))
|
45
|
+
}, {
|
46
|
+
default: r(({ list: c }) => [
|
47
|
+
(n(!0), b(C, null, D(c, (e, x) => (n(), b("div", {
|
48
|
+
key: e.id,
|
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
|
+
]]),
|
55
|
+
onMouseleave: () => {
|
56
|
+
v.value[e.id] = !1, t.value[e.id] = !1;
|
57
|
+
},
|
58
|
+
onMouseover: (h) => t.value[e.id] = !0,
|
59
|
+
onClick: (h) => i.$emit("click:element", e)
|
60
|
+
}, [
|
61
|
+
o("div", L, [
|
62
|
+
o("div", N, [
|
63
|
+
o("div", {
|
64
|
+
class: s([
|
65
|
+
"px-2 flex items-center",
|
66
|
+
!a.unmovable && !e.isDisable && !e.unmovable ? "drag-el cursor-move" : ""
|
67
|
+
])
|
68
|
+
}, [
|
69
|
+
!a.unmovable && !e.isDisable && !e.unmovable ? (n(), y(l(g), {
|
70
|
+
key: 0,
|
71
|
+
name: "draggable",
|
72
|
+
class: s(
|
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 "
|
74
|
+
)
|
75
|
+
}, null, 8, ["class"])) : m("", !0),
|
76
|
+
e[a.iconKey] ? (n(), y(l(g), {
|
77
|
+
key: 1,
|
78
|
+
name: e[a.iconKey],
|
79
|
+
class: s(
|
80
|
+
!a.unmovable && !e.isDisable && !e.unmovable && t.value[e.id] ? "group-hover:hidden" : ""
|
81
|
+
)
|
82
|
+
}, null, 8, ["name", "class"])) : m("", !0)
|
83
|
+
], 2),
|
84
|
+
o("div", U, [
|
85
|
+
o("div", E, [
|
86
|
+
u(i.$slots, "title", { item: e }, () => [
|
87
|
+
o("div", {
|
88
|
+
class: s(["truncate", a.titleWidth])
|
89
|
+
}, k(e.title), 3)
|
90
|
+
]),
|
91
|
+
a.isLink && e[a.linkKey] && e.type === "link" ? (n(), b("a", {
|
92
|
+
key: 0,
|
93
|
+
href: e[a.linkKey],
|
94
|
+
target: "_blank",
|
95
|
+
rel: "noopener noreferrer",
|
96
|
+
class: "w-full flex items-center text-oc-text-300 mt-2"
|
97
|
+
}, [
|
98
|
+
f(l(S), {
|
99
|
+
distance: "2",
|
100
|
+
position: "bottom-start",
|
101
|
+
"popper-class": "bg-oc-bg-light text-oc-text-500 p-4 rounded"
|
102
|
+
}, {
|
103
|
+
popper: r(() => [
|
104
|
+
o("div", O, k(e[a.linkKey]), 1)
|
105
|
+
]),
|
106
|
+
default: r(() => [
|
107
|
+
f(l(g), {
|
108
|
+
width: "12",
|
109
|
+
height: "12",
|
110
|
+
class: "mr-2",
|
111
|
+
name: "link"
|
112
|
+
})
|
113
|
+
]),
|
114
|
+
_: 2
|
115
|
+
}, 1024),
|
116
|
+
o("span", W, k(e[a.linkKey]), 1)
|
117
|
+
], 8, H)) : m("", !0)
|
118
|
+
])
|
119
|
+
])
|
120
|
+
]),
|
121
|
+
o("div", j, [
|
122
|
+
u(i.$slots, "before-action", { item: e }),
|
123
|
+
u(i.$slots, "action", { item: e }, () => [
|
124
|
+
f(l(B), {
|
125
|
+
modelValue: v.value[e.id],
|
126
|
+
"onUpdate:modelValue": (h) => v.value[e.id] = h,
|
127
|
+
placement: "bottom-end",
|
128
|
+
class: s([
|
129
|
+
"cursor-pointer",
|
130
|
+
a.isChildren && !t.value[e.id] ? "opacity-0" : "opacity-0 group-hover:opacity-100"
|
131
|
+
])
|
132
|
+
}, {
|
133
|
+
menu: r(() => [
|
134
|
+
u(i.$slots, "action-item", {
|
135
|
+
item: e,
|
136
|
+
index: x
|
137
|
+
})
|
138
|
+
]),
|
139
|
+
default: r(() => [
|
140
|
+
o("div", {
|
141
|
+
class: s(["hover:bg-oc-gray-100 p-1 rounded", v.value[e.id] ? "bg-oc-gray-100" : ""])
|
142
|
+
}, [
|
143
|
+
f(l(g), { name: "dots-vertical" })
|
144
|
+
], 2)
|
145
|
+
]),
|
146
|
+
_: 2
|
147
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "class"])
|
148
|
+
])
|
149
|
+
])
|
150
|
+
]),
|
151
|
+
o("div", z, [
|
152
|
+
u(i.$slots, "content", {
|
153
|
+
item: e,
|
154
|
+
index: x
|
155
|
+
})
|
156
|
+
])
|
157
|
+
], 42, M))), 128))
|
158
|
+
]),
|
159
|
+
_: 3
|
160
|
+
}, 8, ["model-value"]));
|
161
|
+
}
|
162
|
+
};
|
163
|
+
export {
|
164
|
+
q as default
|
165
|
+
};
|
@@ -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 {
|
2
|
+
import { ay as U, e as J, B as b } from "./index-DOKEy-am.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-DOKEy-am.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-DOKEy-am.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,
|
2
|
+
import { N as y, at as i } from "./index-DOKEy-am.js";
|
3
3
|
const N = { class: "flex gap-1 items-center normal-case flex-wrap" }, R = {
|
4
4
|
__name: "OcFilterSearchFor",
|
5
5
|
props: {
|
@@ -1,7 +1,7 @@
|
|
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 {
|
3
|
-
import x from "./OcCropper-
|
4
|
-
const
|
2
|
+
import { aA as d } from "./index-DOKEy-am.js";
|
3
|
+
import x from "./OcCropper-RQhwPW9G.js";
|
4
|
+
const S = {
|
5
5
|
__name: "OcModalCropper",
|
6
6
|
props: {
|
7
7
|
inputOptions: Array,
|
@@ -42,5 +42,5 @@ const C = {
|
|
42
42
|
}
|
43
43
|
};
|
44
44
|
export {
|
45
|
-
|
45
|
+
S as default
|
46
46
|
};
|
@@ -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 {
|
2
|
+
import { ay as S, aI as h, e as D } from "./index-DOKEy-am.js";
|
3
3
|
import c from "dayjs";
|
4
4
|
const w = {
|
5
5
|
__name: "OcTimePicker",
|
@@ -74,7 +74,7 @@ const w = {
|
|
74
74
|
}, null, 8, ["modelValue"])) : v("", !0)
|
75
75
|
]),
|
76
76
|
default: p(() => [
|
77
|
-
y(o(
|
77
|
+
y(o(D), {
|
78
78
|
icon: e.icon,
|
79
79
|
"error-message": e.errorMessage,
|
80
80
|
label: e.label,
|
@@ -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 {
|
2
|
+
import { at as _, B as w } from "./index-DOKEy-am.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-DOKEy-am.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
|
-
import { openBlock as i, createElementBlock as
|
2
|
-
import { B as d,
|
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-DOKEy-am.js";
|
3
3
|
import { _ as k } from "./OcIcon-CJgBICxh.js";
|
4
4
|
const x = { class: "w-full relative group" }, y = {
|
5
5
|
key: 0,
|
@@ -22,14 +22,14 @@ const x = { class: "w-full relative group" }, y = {
|
|
22
22
|
},
|
23
23
|
emits: ["activate", "customize", "preview", "upgrade", "publish"],
|
24
24
|
setup(t) {
|
25
|
-
return (
|
25
|
+
return (o, e) => (i(), s("div", {
|
26
26
|
class: f(["bg-oc-bg-dark border-[3px] rounded-lg flex flex-col", t.theme.active ? "border-oc-primary" : "border-oc-bg-dark"])
|
27
27
|
}, [
|
28
28
|
l("div", x, [
|
29
29
|
l("div", {
|
30
30
|
class: f(["w-full h-full bg-black/25 absolute top-0 left-0 group-hover:flex rounded-t-lg", t.activating ? "flex" : "hidden"])
|
31
31
|
}, [
|
32
|
-
t.activating ? (i(),
|
32
|
+
t.activating ? (i(), s("div", w, [
|
33
33
|
l("div", B, [
|
34
34
|
n(a(k), {
|
35
35
|
name: "loading-2",
|
@@ -39,32 +39,32 @@ const x = { class: "w-full relative group" }, y = {
|
|
39
39
|
})
|
40
40
|
]),
|
41
41
|
e[6] || (e[6] = r(" Adding theme "))
|
42
|
-
])) : (i(),
|
43
|
-
t.theme.active ? (i(),
|
42
|
+
])) : (i(), s(g, { key: 0 }, [
|
43
|
+
t.theme.active ? (i(), s("div", y, [
|
44
44
|
n(a(d), {
|
45
45
|
variant: "secondary",
|
46
46
|
label: "Customize",
|
47
|
-
onClick: e[0] || (e[0] = (m) =>
|
47
|
+
onClick: e[0] || (e[0] = (m) => o.$emit("customize", t.theme))
|
48
48
|
})
|
49
|
-
])) : t.theme.draft ? (i(),
|
49
|
+
])) : t.theme.draft ? (i(), s("div", $, [
|
50
50
|
n(a(d), {
|
51
51
|
variant: "secondary",
|
52
52
|
label: "Customize",
|
53
|
-
onClick: e[1] || (e[1] = (m) =>
|
53
|
+
onClick: e[1] || (e[1] = (m) => o.$emit("customize", t.theme))
|
54
54
|
}),
|
55
55
|
n(a(d), {
|
56
56
|
label: "Publish",
|
57
|
-
onClick: e[2] || (e[2] = (m) =>
|
57
|
+
onClick: e[2] || (e[2] = (m) => o.$emit("publish", t.theme))
|
58
58
|
})
|
59
|
-
])) : (i(),
|
59
|
+
])) : (i(), s("div", C, [
|
60
60
|
n(a(d), {
|
61
61
|
variant: "secondary",
|
62
62
|
label: "Preview",
|
63
|
-
onClick: e[3] || (e[3] = (m) =>
|
63
|
+
onClick: e[3] || (e[3] = (m) => o.$emit("preview", t.theme))
|
64
64
|
}),
|
65
65
|
n(a(d), {
|
66
66
|
label: t.isFreeAccount ? "Activate" : "Try Theme",
|
67
|
-
onClick: e[4] || (e[4] = (m) =>
|
67
|
+
onClick: e[4] || (e[4] = (m) => o.$emit("activate", t.theme))
|
68
68
|
}, null, 8, ["label"])
|
69
69
|
]))
|
70
70
|
], 64))
|
@@ -102,7 +102,7 @@ const x = { class: "w-full relative group" }, y = {
|
|
102
102
|
key: 2,
|
103
103
|
class: "ml-auto",
|
104
104
|
variant: "accent-2",
|
105
|
-
onClick: e[5] || (e[5] = (m) =>
|
105
|
+
onClick: e[5] || (e[5] = (m) => o.$emit("upgrade", t.theme))
|
106
106
|
}, {
|
107
107
|
default: c(() => e[9] || (e[9] = [
|
108
108
|
r("Upgrade")
|