@cling-se/widget 0.19.10 → 0.19.12
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/CHANGELOG.md +23 -0
- package/dist/{AddClientCallout-BsRvkT-W.js → AddClientCallout-CKB2ux-T.js} +46 -31
- package/dist/{AnswerModal-DEZ_YBHk.js → AnswerModal-BJ3_JrYQ.js} +3 -3
- package/dist/{AttachmentItem-7BXCpSN5.js → AttachmentItem-CQKNtvF_.js} +4 -4
- package/dist/{BaseUpload-BoI75J6e.js → BaseUpload-CoV5kPSh.js} +2 -2
- package/dist/{BlockMedia-mDZEGad9.js → BlockMedia-BjXP0TjO.js} +1 -1
- package/dist/{CCallout--fWgvr0x.js → CCallout-D2K1xjJp.js} +1 -1
- package/dist/{CCurrencyDropdown-C0Fn_4IX.js → CCurrencyDropdown-B_ifqq9U.js} +3 -3
- package/dist/{CDropdownItem-D3_tCkkr.js → CDropdownItem-BfdpY3v0.js} +2 -2
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-CLNJpSL4.js → CFormField.vue_vue_type_script_setup_true_lang-S2cfSMeh.js} +2 -2
- package/dist/{CPhoneFormat-CcCMbWmZ.js → CPhoneFormat-C3E_mcs_.js} +1 -1
- package/dist/{CPhoneInput-BLbPiE9M.js → CPhoneInput-B4au5HPe.js} +5 -5
- package/dist/{CPriceInput-D03-LElV.js → CPriceInput-BfzyrIFS.js} +2 -2
- package/dist/{CSelect-D9paYPUW.js → CSelect-CrUoAl0P.js} +1 -1
- package/dist/{CSkeleton-CJ7CFudo.js → CSkeleton-DfbHpf8S.js} +1 -1
- package/dist/{ClientAutocomplete-CAQHG8Tz.js → ClientAutocomplete-BryD_HTQ.js} +3 -3
- package/dist/{ClientModal-pu3oIp0w.js → ClientModal-CxwvC5Mx.js} +114 -106
- package/dist/{ColorPicker-CzVbcUB-.js → ColorPicker-Dzjmfjy2.js} +1 -1
- package/dist/{CompanyModal-Dy72AiPw.js → CompanyModal-9MQ2AXNt.js} +7 -7
- package/dist/{ContentWrapper-DfeVimeu.js → ContentWrapper-D2rwWu3e.js} +6 -6
- package/dist/{CoverBlockSettings-A3-vTq36.js → CoverBlockSettings-BWOzPM7X.js} +7 -7
- package/dist/{DocAnswer-Dr6gyQOP.js → DocAnswer-CVqUEDAB.js} +2 -2
- package/dist/{DocDetails-Bj29y4bu.js → DocDetails-C5X2-g_a.js} +4 -4
- package/dist/{DocForm-DHL6Dvhw.js → DocForm-0dzfP9DE.js} +394 -394
- package/dist/{DocFormSend-Djnm9KoO.js → DocFormSend-B26N23z_.js} +2 -2
- package/dist/{DocLinks-UB3xT-cg.js → DocLinks-DvRvC-aE.js} +2 -2
- package/dist/{DocModalBase-B04bul06.js → DocModalBase-C4rsAl6b.js} +1 -1
- package/dist/{DocPrint-CGGGhXZ1.js → DocPrint-B98dNhsA.js} +1 -1
- package/dist/{DocReceipt-DL3HQLkv.js → DocReceipt-CXo_upl2.js} +2 -2
- package/dist/{DocSendReminder-CxP97wDu.js → DocSendReminder-DoJMKu9L.js} +1 -1
- package/dist/{DocTextEditor-BQhfVRlV.js → DocTextEditor-BaFbu9v7.js} +8 -8
- package/dist/{DocTimeline-BPR65V2I.js → DocTimeline-CCwdToqT.js} +2 -2
- package/dist/{DocumentClient-CuTntNdl.js → DocumentClient-IPArl7lF.js} +5 -5
- package/dist/{DocumentLayout-D6PvFdQg.js → DocumentLayout-DNZ_DvgH.js} +5 -5
- package/dist/{DocumentLogotype-CLJ7RsVz.js → DocumentLogotype-B3uoTgI4.js} +4 -4
- package/dist/{DocumentVoided-DB5xhLfP.js → DocumentVoided-DWde8VwA.js} +1 -1
- package/dist/{EmbedInput-CUl_MX4S.js → EmbedInput-BsHyhdIv.js} +3 -3
- package/dist/{EmbedSettings-Cq8n5rI2.js → EmbedSettings-DxqT8rQM.js} +3 -3
- package/dist/{ErrorCallout-BUTqhYbf.js → ErrorCallout-DVAoEvRy.js} +1 -1
- package/dist/{FilePreviewModal-D8fjLRUG.js → FilePreviewModal-B_qtsBko.js} +2 -2
- package/dist/{Flag-CXb8yU4n.js → Flag-axItvnYr.js} +1 -1
- package/dist/{HeaderSettings-BT4TlFdj.js → HeaderSettings-BHxv6zbP.js} +95 -95
- package/dist/{ImageSelectModal-DmlTZjg0.js → ImageSelectModal-D6qOJzjA.js} +8 -8
- package/dist/{ImageUploadWrapper-Bt0uozSl.js → ImageUploadWrapper-COMLuYyW.js} +2 -2
- package/dist/{Index-39gM2cY7.js → Index-0LjbOVSa.js} +68 -67
- package/dist/{Index-CY_zs2z7.js → Index-BAh35Nee.js} +4 -4
- package/dist/{Index-CO6KkcjQ.js → Index-BILl37wX.js} +4 -4
- package/dist/{Index-BG30GlWz.js → Index-BOC_usJj.js} +3 -3
- package/dist/{Index-AZN4wthQ.js → Index-BOeiZRCe.js} +5 -5
- package/dist/{Index-CcEhh58c.js → Index-BVr7Vs45.js} +31 -30
- package/dist/{Index-ChBaT3FD.js → Index-B_wlGU0V.js} +1 -1
- package/dist/{Index-BFa6BgHI.js → Index-BaVfkjuK.js} +3 -3
- package/dist/{Index-Cmg4QHZZ.js → Index-C0VVjYzv.js} +5 -5
- package/dist/{Index-BEsOBJdX.js → Index-C1qXwtaw.js} +2 -2
- package/dist/{Index-CDTYkmkj.js → Index-C9jZraL3.js} +2 -2
- package/dist/{Index-CKUiWN7e.js → Index-CO8q3yMx.js} +3 -3
- package/dist/{Index-BVOpa2cR.js → Index-CPw49wIY.js} +4 -4
- package/dist/{Index-CVZ5OiyQ.js → Index-CU5UW3Hy.js} +6 -6
- package/dist/{Index-DF5-4D3i.js → Index-CbZisK8y.js} +4 -4
- package/dist/{Index-1aEI7_56.js → Index-CjZjDiay.js} +2 -2
- package/dist/{Index-CG92HjZU.js → Index-CkCdbHs4.js} +4 -4
- package/dist/{Index-Cw8wthZj.js → Index-Cy8ICAgR.js} +10 -10
- package/dist/{Index-CQ6z4JCV.js → Index-D-WpXww5.js} +1 -1
- package/dist/{Index-ChpIICjV.js → Index-DCA5JJ1t.js} +9 -9
- package/dist/{Index-dJwXStk7.js → Index-DGVo6Mv_.js} +158 -157
- package/dist/{Index-C0wIaLu-.js → Index-DIa3ZNqY.js} +4 -4
- package/dist/{Index-u6w_64Ql.js → Index-DY1Wb2pH.js} +6 -6
- package/dist/{Index-Dlo49fYy.js → Index-DfClBO72.js} +4 -4
- package/dist/{Index-BkwtFP0b.js → Index-DjdJ9R-S.js} +5 -5
- package/dist/{Index-ClYwg_Tc.js → Index-Dt4MpMCQ.js} +1 -1
- package/dist/{Index-DvwD4u45.js → Index-MzezIdfd.js} +3 -3
- package/dist/{Index-55e7lOqG.js → Index-QBYnUTJm.js} +214 -200
- package/dist/{Index-BCYnuRFa.js → Index-Za46FzMl.js} +2 -2
- package/dist/{Index-bX6uKwvE.js → Index-_920IuDX.js} +3 -3
- package/dist/{Index-Cb8dJ-iH.js → Index-bwUzGE5t.js} +5 -5
- package/dist/{Index-PmOYHy6x.js → Index-cGblBo3D.js} +2 -2
- package/dist/{Index-DQdLSrV-.js → Index-d3RpL9s6.js} +7 -7
- package/dist/Index-jTqUWF3X.js +4 -0
- package/dist/{Index.vue_vue_type_script_lang-BXjvuVbS.js → Index.vue_vue_type_script_lang-CFTxaSrV.js} +2 -2
- package/dist/{InputToggleRow-B0yjG-bh.js → InputToggleRow-DsIWqdk_.js} +1 -1
- package/dist/{ManualPopover-ChYyDxj8.js → ManualPopover-C3KGzuu9.js} +1 -1
- package/dist/{MediaWrapper-KCTPL9oF.js → MediaWrapper-MFm8YeB3.js} +3 -3
- package/dist/{NotBindingText-D4nJwAyD.js → NotBindingText-DcWDdouW.js} +2 -2
- package/dist/{PackageGroup-Be1gVj7w.js → PackageGroup-SGTSnH21.js} +5 -5
- package/dist/{PdfTerms-1iI1qktG.js → PdfTerms-fOlzudZh.js} +2 -2
- package/dist/{PdfViewer-bN0KukaH.js → PdfViewer-DDpx00sK.js} +3 -3
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BrCKpyEU.js → PlainHtml.vue_vue_type_script_setup_true_lang-Cz2dQuvO.js} +1 -1
- package/dist/{PriceHeader-DWH-VRAW.js → PriceHeader-tqURZOPu.js} +7 -7
- package/dist/{SearchApi-Bp95LCyA.js → SearchApi-DULmvWHU.js} +1 -1
- package/dist/{SendForm-DLUa5otf.js → SendForm-DOmjDjSH.js} +16 -18
- package/dist/{Setup-DDaFShaB.js → Setup-Hkd7lTEY.js} +1 -1
- package/dist/{SmartList-BRShdlA0.js → SmartList-BJzzkwKP.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-tLursG5q.js → Sortable.vue_vue_type_script_setup_true_lang-CbQN53qU.js} +1 -1
- package/dist/{TermsSettings-C0cX4ZBC.js → TermsSettings-BDhWgymk.js} +5 -5
- package/dist/{ThemeColorRow-DoH8zauR.js → ThemeColorRow-ko7tiZab.js} +3 -3
- package/dist/{ToggleBinding-C_e-eDZT.js → ToggleBinding-vlw8aH-N.js} +4 -4
- package/dist/{UploadModal-F1bW2Egp.js → UploadModal-DhhKi9cj.js} +2 -2
- package/dist/{VideoPlayerInput-BrrB9oVk.js → VideoPlayerInput-FAAwDDpw.js} +4 -4
- package/dist/{VideoPlayerSettings-C8cR5e9r.js → VideoPlayerSettings--Z_6wCEh.js} +2 -2
- package/dist/{VideoSelectModal-CC_-Irlx.js → VideoSelectModal-DeQL4Kee.js} +22 -22
- package/dist/{focusDrawerMixin-Byq1xBU3.js → focusDrawerMixin-BTx49vhB.js} +1 -1
- package/dist/{formDrawerState-DHUJo100.js → formDrawerState-BkDkB7ox.js} +1 -1
- package/dist/{helpers-ONO_cfDb.js → helpers-gWbXh9Ns.js} +1 -1
- package/dist/{index-BtbGDfGz.js → index-B7lPoMlH.js} +1 -1
- package/dist/{index-ClF7kp8h.js → index-B8q-wbk1.js} +8 -8
- package/dist/{index-CoQoszZX.js → index-BXEarzT0.js} +1 -1
- package/dist/{index-BDJXRtvs.js → index-Bx6eb6O1.js} +1 -1
- package/dist/{index-D1ejEjwe.js → index-CBzzerP_.js} +6 -6
- package/dist/{index-C9jrUexY.js → index-CMbTkNvA.js} +3 -3
- package/dist/{index-B3GlU12d.js → index-ykqjytG7.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +137 -137
- package/dist/{main-ByMVnwS5.js → main-2MP6slUA.js} +36011 -35997
- package/dist/{mapFormMixin-zL_x65Dt.js → mapFormMixin-CLZO7uaz.js} +2 -2
- package/dist/{omit-BqIpwnLe.js → omit-CMuwLvOe.js} +1 -1
- package/dist/{publicSenderState-D2O1iAac.js → publicSenderState-C66ZctUJ.js} +1 -1
- package/dist/{splitpanes-BNIUBGFa.js → splitpanes-CgMn3s-g.js} +1 -1
- package/dist/{template-gCGJogwx.js → template-D41MKsNw.js} +1 -1
- package/dist/{tippy.esm-D9T0otvu.js → tippy.esm-BE0T4-6s.js} +5 -5
- package/dist/{useTermsModal-5bV0m_Ha.js → useTermsModal-Dodk50o3.js} +4 -4
- package/dist/{utils-DiG2v7vg.js → utils-GWt5LxqQ.js} +1 -1
- package/dist/{validation-BQR3TvR7.js → validation-C6D3fzeF.js} +2 -2
- package/dist/widget.css +1 -1
- package/package.json +1 -1
- package/dist/Index-2vRzH0zx.js +0 -4
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { m as
|
|
2
|
-
import { T as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { B as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { b as
|
|
9
|
-
import { t as
|
|
10
|
-
const
|
|
1
|
+
import { m as S } from "./mapFormMixin-CLZO7uaz.js";
|
|
2
|
+
import { T as F } from "./ThemeColorRow-ko7tiZab.js";
|
|
3
|
+
import U from "./VideoPlayerInput-FAAwDDpw.js";
|
|
4
|
+
import j from "./ImageUploadWrapper-COMLuYyW.js";
|
|
5
|
+
import { B as P, a as H } from "./index-CMbTkNvA.js";
|
|
6
|
+
import { _ as I, b as g, c as x, o as a, w as c, d as u, f as p, q as w, t as h, j as l, e as z, W as B, F as _, n as A, au as $, a5 as V, i as L, b6 as R, a0 as O, T as D, u as W, an as T, b7 as q, ai as N, x as M } from "./main-2MP6slUA.js";
|
|
7
|
+
import { _ as E } from "./CFormField.vue_vue_type_script_setup_true_lang-S2cfSMeh.js";
|
|
8
|
+
import { b as K } from "./CDropdownItem-BfdpY3v0.js";
|
|
9
|
+
import { t as G } from "./template-D41MKsNw.js";
|
|
10
|
+
const J = {
|
|
11
11
|
name: "MediaSelectModal",
|
|
12
12
|
i18nOptions: {
|
|
13
13
|
namespaces: "mediaSelectModal",
|
|
@@ -27,10 +27,10 @@ const T = S.unsplash.id, Q = S.pexels.id, X = {
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
components: {
|
|
30
|
-
BackgroundModal:
|
|
31
|
-
BackgroundList:
|
|
32
|
-
VideoPlayerInput:
|
|
33
|
-
ImageUploadWrapper:
|
|
30
|
+
BackgroundModal: H,
|
|
31
|
+
BackgroundList: P,
|
|
32
|
+
VideoPlayerInput: U,
|
|
33
|
+
ImageUploadWrapper: j
|
|
34
34
|
},
|
|
35
35
|
emits: ["input", "close"],
|
|
36
36
|
props: {
|
|
@@ -87,7 +87,7 @@ const T = S.unsplash.id, Q = S.pexels.id, X = {
|
|
|
87
87
|
params: {
|
|
88
88
|
page: t,
|
|
89
89
|
per_page: 12,
|
|
90
|
-
client_id:
|
|
90
|
+
client_id: L.unsplash.id,
|
|
91
91
|
query: e
|
|
92
92
|
}
|
|
93
93
|
}
|
|
@@ -104,7 +104,7 @@ const T = S.unsplash.id, Q = S.pexels.id, X = {
|
|
|
104
104
|
async fetchVideo({ query: e, page: t }) {
|
|
105
105
|
const { data: r } = await V.get("https://api.pexels.com/videos/search", {
|
|
106
106
|
headers: {
|
|
107
|
-
Authorization:
|
|
107
|
+
Authorization: L.pexels.id
|
|
108
108
|
},
|
|
109
109
|
params: {
|
|
110
110
|
page: t,
|
|
@@ -135,11 +135,11 @@ const T = S.unsplash.id, Q = S.pexels.id, X = {
|
|
|
135
135
|
};
|
|
136
136
|
},
|
|
137
137
|
selectImage({ image: e, links: t, color: r }) {
|
|
138
|
-
this.selectedImage =
|
|
138
|
+
this.selectedImage = $(e, { w: 1800 }), r && (this.preferredColor = r);
|
|
139
139
|
const n = new Image();
|
|
140
140
|
n.src = this.selectedImage, V.get(t.download_location, {
|
|
141
141
|
params: {
|
|
142
|
-
client_id:
|
|
142
|
+
client_id: L.unsplash.id
|
|
143
143
|
}
|
|
144
144
|
});
|
|
145
145
|
},
|
|
@@ -165,40 +165,40 @@ const T = S.unsplash.id, Q = S.pexels.id, X = {
|
|
|
165
165
|
}, this.preferredColor && (e.preferredColor = this.preferredColor), this.$emit("input", e), this.$emit("close");
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
},
|
|
168
|
+
}, Q = {
|
|
169
169
|
class: "flex w-full items-center justify-center",
|
|
170
170
|
style: { padding: "calc(0.25 * var(--rem)) calc(1 * var(--rem))", "border-bottom": "1px solid hsl(0, 0%, 88%)" }
|
|
171
|
-
},
|
|
171
|
+
}, X = { class: "inline-flex items-center justify-center" }, Y = ["innerHTML"], Z = { class: "max-md:!hidden" }, ee = {
|
|
172
172
|
key: 1,
|
|
173
173
|
class: "flex w-full flex-col items-center justify-center"
|
|
174
|
-
},
|
|
174
|
+
}, te = { style: { "max-width": "500px", width: "100%", margin: "0 auto", "padding-top": "calc(3 * var(--rem))" } }, oe = { style: { position: "relative", width: "100%", "padding-top": "56.25%", "background-color": "hsl(var(--gray-color-100) / 1)", "border-radius": "0.5em", "margin-bottom": "calc(1.5 * var(--rem))" } }, ie = ["src"], se = {
|
|
175
175
|
key: 2,
|
|
176
176
|
class: "flex flex-col items-center justify-center"
|
|
177
|
-
},
|
|
177
|
+
}, le = { style: { "max-width": "500px", width: "100%", margin: "0 auto", "padding-top": "calc(3 * var(--rem))" } }, re = { class: "relative mb-6 w-full" }, ae = ["src", "alt"], ne = {
|
|
178
178
|
key: 1,
|
|
179
179
|
class: "flex aspect-video flex-col items-center justify-center rounded-md bg-gray-100"
|
|
180
|
-
},
|
|
180
|
+
}, de = {
|
|
181
181
|
style: { "padding-top": "calc(1 * var(--rem))", "font-size": "14px", "max-width": "40ch" },
|
|
182
182
|
class: "text-center text-gray-600"
|
|
183
|
-
},
|
|
184
|
-
function
|
|
183
|
+
}, ce = { class: "flex items-center justify-center" };
|
|
184
|
+
function ue(e, t, r, n, s, o) {
|
|
185
185
|
const d = g("CButton"), m = g("BackgroundList"), C = g("VideoPlayerInput"), k = g("ImageUploadWrapper"), b = g("BackgroundModal");
|
|
186
186
|
return a(), x(b, {
|
|
187
187
|
onClose: t[2] || (t[2] = (i) => e.$emit("close"))
|
|
188
188
|
}, {
|
|
189
189
|
header: c(() => [
|
|
190
|
-
l("div",
|
|
191
|
-
(a(!0), u(_, null,
|
|
190
|
+
l("div", Q, [
|
|
191
|
+
(a(!0), u(_, null, A(s.tabs, (i, y) => (a(), x(d, {
|
|
192
192
|
key: y,
|
|
193
|
-
style:
|
|
193
|
+
style: B([{ "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, s.activeTab === i.value && { opacity: 1 }]),
|
|
194
194
|
onClick: (f) => s.activeTab = i.value
|
|
195
195
|
}, {
|
|
196
196
|
default: c(() => [
|
|
197
|
-
l("span",
|
|
197
|
+
l("span", X, [
|
|
198
198
|
l("div", {
|
|
199
199
|
innerHTML: i.icon
|
|
200
|
-
}, null, 8,
|
|
201
|
-
l("span",
|
|
200
|
+
}, null, 8, Y),
|
|
201
|
+
l("span", Z, h(i.label), 1)
|
|
202
202
|
])
|
|
203
203
|
]),
|
|
204
204
|
_: 2
|
|
@@ -227,14 +227,14 @@ function he(e, t, r, n, s, o) {
|
|
|
227
227
|
}, 8, ["disabled", "onClick"])
|
|
228
228
|
]),
|
|
229
229
|
_: 1
|
|
230
|
-
}, 8, ["fetch", "credit-text"])) : s.activeTab === "customVideo" ? (a(), u("div",
|
|
231
|
-
l("div",
|
|
232
|
-
l("div",
|
|
230
|
+
}, 8, ["fetch", "credit-text"])) : s.activeTab === "customVideo" ? (a(), u("div", ee, [
|
|
231
|
+
l("div", te, [
|
|
232
|
+
l("div", oe, [
|
|
233
233
|
s.customVideo ? (a(), u("iframe", {
|
|
234
234
|
key: 0,
|
|
235
235
|
src: s.customVideo.url,
|
|
236
236
|
class: "custom-video-preview"
|
|
237
|
-
}, null, 8,
|
|
237
|
+
}, null, 8, ie)) : z("", !0)
|
|
238
238
|
]),
|
|
239
239
|
p(C, {
|
|
240
240
|
modelValue: s.customVideo,
|
|
@@ -257,24 +257,24 @@ function he(e, t, r, n, s, o) {
|
|
|
257
257
|
_: 1
|
|
258
258
|
}, 8, ["modelValue"])
|
|
259
259
|
])
|
|
260
|
-
])) : (a(), u("div",
|
|
261
|
-
l("div",
|
|
260
|
+
])) : (a(), u("div", se, [
|
|
261
|
+
l("div", le, [
|
|
262
262
|
p(k, {
|
|
263
263
|
ref: "uploadWrapper",
|
|
264
264
|
"on-image-upload": o.setCustomBackground
|
|
265
265
|
}, {
|
|
266
266
|
default: c(({ progress: i }) => [
|
|
267
|
-
l("div",
|
|
267
|
+
l("div", re, [
|
|
268
268
|
s.customImage ? (a(), u("img", {
|
|
269
269
|
key: 0,
|
|
270
270
|
src: s.customImage,
|
|
271
271
|
alt: s.customImage,
|
|
272
272
|
class: "h-full w-full object-cover object-scale-down object-top",
|
|
273
273
|
style: { "max-height": "500px" }
|
|
274
|
-
}, null, 8,
|
|
274
|
+
}, null, 8, ae)) : (a(), u("div", ne, [
|
|
275
275
|
p(d, {
|
|
276
276
|
loading: !!i && i < 100,
|
|
277
|
-
style:
|
|
277
|
+
style: B(s.customImage && { opacity: 0.5 }),
|
|
278
278
|
"icon-left": "upload",
|
|
279
279
|
type: "none"
|
|
280
280
|
}, {
|
|
@@ -283,13 +283,13 @@ function he(e, t, r, n, s, o) {
|
|
|
283
283
|
]),
|
|
284
284
|
_: 2
|
|
285
285
|
}, 1032, ["loading", "style"]),
|
|
286
|
-
l("div",
|
|
286
|
+
l("div", de, h(e.$t("minWidth")), 1)
|
|
287
287
|
]))
|
|
288
288
|
])
|
|
289
289
|
]),
|
|
290
290
|
_: 1
|
|
291
291
|
}, 8, ["on-image-upload"]),
|
|
292
|
-
l("div",
|
|
292
|
+
l("div", ce, [
|
|
293
293
|
p(d, {
|
|
294
294
|
disabled: !s.customImage,
|
|
295
295
|
type: "secondary",
|
|
@@ -307,12 +307,12 @@ function he(e, t, r, n, s, o) {
|
|
|
307
307
|
_: 1
|
|
308
308
|
});
|
|
309
309
|
}
|
|
310
|
-
const
|
|
310
|
+
const me = /* @__PURE__ */ I(J, [["render", ue], ["__scopeId", "data-v-a10d3066"]]), he = {
|
|
311
311
|
name: "CRadioButton",
|
|
312
312
|
components: {
|
|
313
|
-
CButton:
|
|
313
|
+
CButton: O
|
|
314
314
|
},
|
|
315
|
-
mixins: [
|
|
315
|
+
mixins: [R],
|
|
316
316
|
props: {
|
|
317
317
|
type: {
|
|
318
318
|
type: String,
|
|
@@ -325,25 +325,25 @@ const pe = /* @__PURE__ */ A(X, [["render", he], ["__scopeId", "data-v-e6251bf7"
|
|
|
325
325
|
isFocused: !1
|
|
326
326
|
};
|
|
327
327
|
}
|
|
328
|
-
},
|
|
329
|
-
function
|
|
328
|
+
}, pe = ["disabled", "required", "name", "value"];
|
|
329
|
+
function ge(e, t, r, n, s, o) {
|
|
330
330
|
const d = g("CButton");
|
|
331
331
|
return a(), u("div", {
|
|
332
|
-
class:
|
|
332
|
+
class: M([{ "is-expanded": r.expanded }, "control"])
|
|
333
333
|
}, [
|
|
334
334
|
p(d, {
|
|
335
335
|
ref: "label",
|
|
336
336
|
tag: "label",
|
|
337
337
|
type: e.newValue === e.nativeValue ? r.type : null,
|
|
338
338
|
size: e.size,
|
|
339
|
-
class:
|
|
339
|
+
class: M([[{ "is-disabled": e.disabled, "is-focused": s.isFocused }], "c-radio radio button"]),
|
|
340
340
|
disabled: e.disabledOrUndefined,
|
|
341
341
|
onClick: e.focus,
|
|
342
|
-
onKeydown: t[4] || (t[4] =
|
|
342
|
+
onKeydown: t[4] || (t[4] = N(T((m) => e.$refs.$el.label.click(), ["prevent"]), ["enter"]))
|
|
343
343
|
}, {
|
|
344
344
|
default: c(() => [
|
|
345
|
-
|
|
346
|
-
|
|
345
|
+
D(e.$slots, "default"),
|
|
346
|
+
W(l("input", {
|
|
347
347
|
ref: "input",
|
|
348
348
|
"onUpdate:modelValue": t[0] || (t[0] = (m) => e.computedValue = m),
|
|
349
349
|
disabled: e.disabledOrUndefined,
|
|
@@ -351,28 +351,28 @@ function ve(e, t, r, n, s, o) {
|
|
|
351
351
|
name: e.name,
|
|
352
352
|
value: e.nativeValue,
|
|
353
353
|
type: "radio",
|
|
354
|
-
onClick: t[1] || (t[1] =
|
|
354
|
+
onClick: t[1] || (t[1] = T(() => {
|
|
355
355
|
}, ["stop"])),
|
|
356
356
|
onFocus: t[2] || (t[2] = (m) => s.isFocused = !0),
|
|
357
357
|
onBlur: t[3] || (t[3] = (m) => s.isFocused = !1)
|
|
358
|
-
}, null, 40,
|
|
359
|
-
[
|
|
358
|
+
}, null, 40, pe), [
|
|
359
|
+
[q, e.computedValue]
|
|
360
360
|
])
|
|
361
361
|
]),
|
|
362
362
|
_: 3
|
|
363
363
|
}, 8, ["type", "size", "class", "disabled", "onClick"])
|
|
364
364
|
], 2);
|
|
365
365
|
}
|
|
366
|
-
const
|
|
366
|
+
const ye = /* @__PURE__ */ I(he, [["render", ge]]), ve = {
|
|
367
367
|
name: "HeaderSettings",
|
|
368
368
|
components: {
|
|
369
|
-
ThemeColorRow:
|
|
370
|
-
CRadioButton:
|
|
371
|
-
CSwitch:
|
|
372
|
-
CField:
|
|
369
|
+
ThemeColorRow: F,
|
|
370
|
+
CRadioButton: ye,
|
|
371
|
+
CSwitch: K,
|
|
372
|
+
CField: E
|
|
373
373
|
},
|
|
374
374
|
mixins: [
|
|
375
|
-
|
|
375
|
+
S(
|
|
376
376
|
[
|
|
377
377
|
"layout",
|
|
378
378
|
"items",
|
|
@@ -505,7 +505,7 @@ const fe = /* @__PURE__ */ A(ge, [["render", ve]]), we = {
|
|
|
505
505
|
this._document.isDirty(this._value.textAlign) || (this.textAlign = e === "center" ? e : "left");
|
|
506
506
|
},
|
|
507
507
|
backgroundColor(e) {
|
|
508
|
-
this._document.isDirty(this._value.textColor) || (this.textColor =
|
|
508
|
+
this._document.isDirty(this._value.textColor) || (this.textColor = G.readability(e, "#fff") < 1.8 ? "#111111" : "#FFFFFF");
|
|
509
509
|
}
|
|
510
510
|
},
|
|
511
511
|
methods: {
|
|
@@ -518,7 +518,7 @@ const fe = /* @__PURE__ */ A(ge, [["render", ve]]), we = {
|
|
|
518
518
|
openBgModal() {
|
|
519
519
|
const { type: e = "image" } = this.media || {};
|
|
520
520
|
this.$modal.show(
|
|
521
|
-
|
|
521
|
+
me,
|
|
522
522
|
{
|
|
523
523
|
currentType: e
|
|
524
524
|
},
|
|
@@ -536,36 +536,36 @@ const fe = /* @__PURE__ */ A(ge, [["render", ve]]), we = {
|
|
|
536
536
|
);
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
|
-
},
|
|
539
|
+
}, fe = { class: "d-root" }, we = { class: "d-option" }, Ce = { class: "grid grid-cols-3 gap-2 p-1" }, ke = ["innerHTML"], be = { class: "d-option" }, xe = {
|
|
540
540
|
class: "d-option-title",
|
|
541
541
|
style: { "padding-bottom": "calc(0.5 * var(--rem))" }
|
|
542
|
-
},
|
|
542
|
+
}, _e = {
|
|
543
543
|
class: "d-option",
|
|
544
544
|
style: { "padding-bottom": "0.5em" }
|
|
545
|
-
},
|
|
545
|
+
}, Ve = {
|
|
546
546
|
key: 0,
|
|
547
547
|
class: "d-option"
|
|
548
|
-
},
|
|
548
|
+
}, Le = { class: "d-option-title" }, ze = { style: { flex: "1 1 auto" } }, Be = {
|
|
549
549
|
key: 0,
|
|
550
550
|
class: "d-option-row",
|
|
551
551
|
style: { "padding-top": "1em" }
|
|
552
|
-
},
|
|
552
|
+
}, Ae = {
|
|
553
553
|
key: 0,
|
|
554
554
|
class: "d-option"
|
|
555
|
-
},
|
|
555
|
+
}, Me = { class: "d-option" }, Ie = { class: "d-option flex w-full" }, Te = {
|
|
556
556
|
class: "d-option-title",
|
|
557
557
|
style: { "margin-top": "calc(0.5 * var(--rem))" }
|
|
558
|
-
},
|
|
559
|
-
function
|
|
558
|
+
}, Se = ["innerHTML"];
|
|
559
|
+
function Fe(e, t, r, n, s, o) {
|
|
560
560
|
const d = g("CButton"), m = g("ThemeColorRow"), C = g("CSwitch"), k = g("CRadioButton"), b = g("CField");
|
|
561
|
-
return a(), u("div",
|
|
562
|
-
l("div",
|
|
561
|
+
return a(), u("div", fe, [
|
|
562
|
+
l("div", we, [
|
|
563
563
|
t[8] || (t[8] = l("div", {
|
|
564
564
|
class: "d-option-title",
|
|
565
565
|
style: { "padding-bottom": "calc(0.5 * var(--rem))" }
|
|
566
566
|
}, " Layouts ", -1)),
|
|
567
|
-
l("div",
|
|
568
|
-
(a(!0), u(_, null,
|
|
567
|
+
l("div", Ce, [
|
|
568
|
+
(a(!0), u(_, null, A(o.layoutOptions, ({ isActive: i, onClick: y, icon: f }, v) => (a(), x(d, {
|
|
569
569
|
key: v,
|
|
570
570
|
type: i ? "secondary" : "none",
|
|
571
571
|
pattern: i ? "primary" : "secondary",
|
|
@@ -585,23 +585,23 @@ function je(e, t, r, n, s, o) {
|
|
|
585
585
|
"stroke-linecap": "round",
|
|
586
586
|
"stroke-linejoin": "round",
|
|
587
587
|
innerHTML: f
|
|
588
|
-
}, null, 8,
|
|
588
|
+
}, null, 8, ke))
|
|
589
589
|
]),
|
|
590
590
|
_: 2
|
|
591
591
|
}, 1032, ["type", "pattern", "onClick"]))), 128))
|
|
592
592
|
])
|
|
593
593
|
]),
|
|
594
|
-
l("div",
|
|
595
|
-
l("div",
|
|
594
|
+
l("div", be, [
|
|
595
|
+
l("div", xe, h(e.$t("_common:background").capitalize()), 1),
|
|
596
596
|
l("div", {
|
|
597
|
-
style:
|
|
597
|
+
style: B({
|
|
598
598
|
backgroundImage: `url(${o.background || o.theme.background})`
|
|
599
599
|
}),
|
|
600
600
|
class: "d-option-button-image",
|
|
601
601
|
onClick: t[0] || (t[0] = (...i) => o.openBgModal && o.openBgModal(...i))
|
|
602
602
|
}, null, 4)
|
|
603
603
|
]),
|
|
604
|
-
l("div",
|
|
604
|
+
l("div", _e, [
|
|
605
605
|
p(m, {
|
|
606
606
|
value: o.overlayColor || o.theme.backgroundFilter || "",
|
|
607
607
|
placement: "auto",
|
|
@@ -614,9 +614,9 @@ function je(e, t, r, n, s, o) {
|
|
|
614
614
|
_: 1
|
|
615
615
|
}, 8, ["value"])
|
|
616
616
|
]),
|
|
617
|
-
e.layout === "price" ? (a(), u("div",
|
|
618
|
-
l("div",
|
|
619
|
-
l("div",
|
|
617
|
+
e.layout === "price" ? (a(), u("div", Ve, [
|
|
618
|
+
l("div", Le, [
|
|
619
|
+
l("div", ze, h(e.$t(
|
|
620
620
|
"components:account.documentForm.settings.priceSummaryBackground"
|
|
621
621
|
)), 1),
|
|
622
622
|
p(C, {
|
|
@@ -627,7 +627,7 @@ function je(e, t, r, n, s, o) {
|
|
|
627
627
|
style: { "margin-right": "0" }
|
|
628
628
|
}, null, 8, ["modelValue"])
|
|
629
629
|
]),
|
|
630
|
-
o.showPriceToggle ? (a(), u("div",
|
|
630
|
+
o.showPriceToggle ? (a(), u("div", Be, [
|
|
631
631
|
p(m, {
|
|
632
632
|
value: e.backgroundColor || o.theme.priceSummaryBackground || "",
|
|
633
633
|
"picker-options": { disableAlpha: !0 },
|
|
@@ -640,9 +640,9 @@ function je(e, t, r, n, s, o) {
|
|
|
640
640
|
]),
|
|
641
641
|
_: 1
|
|
642
642
|
}, 8, ["value"])
|
|
643
|
-
])) :
|
|
643
|
+
])) : z("", !0)
|
|
644
644
|
])) : (a(), u(_, { key: 1 }, [
|
|
645
|
-
e.layout !== "center" ? (a(), u("div",
|
|
645
|
+
e.layout !== "center" ? (a(), u("div", Ae, [
|
|
646
646
|
p(m, {
|
|
647
647
|
value: e.backgroundColor || o.theme.priceSummaryBackground || "",
|
|
648
648
|
"picker-options": { disableAlpha: !0 },
|
|
@@ -657,8 +657,8 @@ function je(e, t, r, n, s, o) {
|
|
|
657
657
|
]),
|
|
658
658
|
_: 1
|
|
659
659
|
}, 8, ["value"])
|
|
660
|
-
])) :
|
|
661
|
-
l("div",
|
|
660
|
+
])) : z("", !0),
|
|
661
|
+
l("div", Me, [
|
|
662
662
|
p(m, {
|
|
663
663
|
value: e.textColor || "",
|
|
664
664
|
"picker-options": { disableAlpha: !0 },
|
|
@@ -675,11 +675,11 @@ function je(e, t, r, n, s, o) {
|
|
|
675
675
|
_: 1
|
|
676
676
|
}, 8, ["value"])
|
|
677
677
|
]),
|
|
678
|
-
l("div",
|
|
679
|
-
l("div",
|
|
678
|
+
l("div", Ie, [
|
|
679
|
+
l("div", Te, h(e.$t("_common:textAlign").capitalize()), 1),
|
|
680
680
|
p(b, { style: { "margin-left": "auto" } }, {
|
|
681
681
|
default: c(() => [
|
|
682
|
-
(a(!0), u(_, null,
|
|
682
|
+
(a(!0), u(_, null, A(s.alignOptions, ({ value: i, icon: y }, f) => (a(), x(k, {
|
|
683
683
|
key: f,
|
|
684
684
|
modelValue: e.textAlign,
|
|
685
685
|
"onUpdate:modelValue": [
|
|
@@ -688,7 +688,7 @@ function je(e, t, r, n, s, o) {
|
|
|
688
688
|
],
|
|
689
689
|
"native-value": i,
|
|
690
690
|
type: e.textAlign ? "secondary" : "none",
|
|
691
|
-
class:
|
|
691
|
+
class: M(!e.textAlign && "text-gray-400"),
|
|
692
692
|
size: "small"
|
|
693
693
|
}, {
|
|
694
694
|
default: c(() => [
|
|
@@ -703,7 +703,7 @@ function je(e, t, r, n, s, o) {
|
|
|
703
703
|
"stroke-linejoin": "round",
|
|
704
704
|
style: { margin: "0" },
|
|
705
705
|
innerHTML: y
|
|
706
|
-
}, null, 8,
|
|
706
|
+
}, null, 8, Se))
|
|
707
707
|
]),
|
|
708
708
|
_: 2
|
|
709
709
|
}, 1032, ["modelValue", "native-value", "type", "class"]))), 128))
|
|
@@ -714,7 +714,7 @@ function je(e, t, r, n, s, o) {
|
|
|
714
714
|
], 64))
|
|
715
715
|
]);
|
|
716
716
|
}
|
|
717
|
-
const
|
|
717
|
+
const qe = /* @__PURE__ */ I(ve, [["render", Fe], ["__scopeId", "data-v-bccd31d9"]]);
|
|
718
718
|
export {
|
|
719
|
-
|
|
719
|
+
qe as default
|
|
720
720
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import _ from "./ImageUploadWrapper-
|
|
2
|
-
import { B as I, a as B } from "./index-
|
|
3
|
-
import { _ as k, b as n, c as U, o as v, w as a, f as l, q as i, t as m, au as C, a5 as p, i as
|
|
4
|
-
const
|
|
1
|
+
import _ from "./ImageUploadWrapper-COMLuYyW.js";
|
|
2
|
+
import { B as I, a as B } from "./index-CMbTkNvA.js";
|
|
3
|
+
import { _ as k, b as n, c as U, o as v, w as a, f as l, q as i, t as m, au as C, a5 as p, i as u } from "./main-2MP6slUA.js";
|
|
4
|
+
const S = {
|
|
5
5
|
name: "ImageSelectModal",
|
|
6
6
|
i18nOptions: {
|
|
7
7
|
namespaces: "imageSelectModal",
|
|
@@ -33,7 +33,7 @@ const u = S.unsplash.id, $ = {
|
|
|
33
33
|
params: {
|
|
34
34
|
page: t,
|
|
35
35
|
per_page: 12,
|
|
36
|
-
client_id: u,
|
|
36
|
+
client_id: u.unsplash.id,
|
|
37
37
|
query: e
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -52,7 +52,7 @@ const u = S.unsplash.id, $ = {
|
|
|
52
52
|
const t = new Image();
|
|
53
53
|
t.src = this.selectedUrl, p.get(e.links.download_location, {
|
|
54
54
|
params: {
|
|
55
|
-
client_id: u
|
|
55
|
+
client_id: u.unsplash.id
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
},
|
|
@@ -64,7 +64,7 @@ const u = S.unsplash.id, $ = {
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
|
-
function
|
|
67
|
+
function $(e, t, r, o, w, s) {
|
|
68
68
|
const d = n("CButton"), g = n("ImageUploadWrapper"), f = n("BackgroundList"), h = n("BackgroundModal");
|
|
69
69
|
return v(), U(h, {
|
|
70
70
|
onClose: t[1] || (t[1] = (c) => e.$emit("close"))
|
|
@@ -113,7 +113,7 @@ function w(e, t, r, o, y, s) {
|
|
|
113
113
|
_: 1
|
|
114
114
|
});
|
|
115
115
|
}
|
|
116
|
-
const x = /* @__PURE__ */ k(
|
|
116
|
+
const x = /* @__PURE__ */ k(S, [["render", $], ["__scopeId", "data-v-c37f6178"]]);
|
|
117
117
|
export {
|
|
118
118
|
x as default
|
|
119
119
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import re from "./BaseUpload-
|
|
2
|
-
import { c as y, o as w, T as B, b as T, f as R, w as $, F as Et, n as Ct, ap as nt, u as Bt, v as Ut, R as st, e as ft, an as Rt, _ as kt, d as Ft, j as pt, q as ae, t as he, aB as ce } from "./main-
|
|
1
|
+
import re from "./BaseUpload-CoV5kPSh.js";
|
|
2
|
+
import { c as y, o as w, T as B, b as T, f as R, w as $, F as Et, n as Ct, ap as nt, u as Bt, v as Ut, R as st, e as ft, an as Rt, _ as kt, d as Ft, j as pt, q as ae, t as he, aB as ce } from "./main-2MP6slUA.js";
|
|
3
3
|
function Tt(t, e) {
|
|
4
4
|
var i = Object.keys(t);
|
|
5
5
|
if (Object.getOwnPropertySymbols) {
|