@cling-se/widget 0.19.6 → 0.19.8
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 +15 -1
- package/dist/{AddClientCallout-DtVRTCr_.js → AddClientCallout-sPxYX5tQ.js} +18 -18
- package/dist/{AnswerModal-ClyWtHBj.js → AnswerModal-o8OHHulg.js} +80 -80
- package/dist/{AttachmentItem-COoLlAum.js → AttachmentItem-CzzOlHB-.js} +16 -16
- package/dist/{BaseUpload-DlaYaxxr.js → BaseUpload-oZQfFwOj.js} +256 -256
- package/dist/{BlockMedia-IMu4YO3J.js → BlockMedia-BGPxfM2X.js} +16 -16
- package/dist/{CCallout-C32zwICP.js → CCallout-CrbMGTIj.js} +15 -15
- package/dist/{CCurrencyDropdown-D4ZxTioo.js → CCurrencyDropdown-BnNDP51j.js} +13 -13
- package/dist/{CDropdownItem-BuQONogL.js → CDropdownItem-E-kRDIiy.js} +6 -6
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-KdkAe_wn.js → CFormField.vue_vue_type_script_setup_true_lang-Bi0MjQdW.js} +25 -25
- package/dist/{CPhoneFormat-C2K78cmZ.js → CPhoneFormat-CIQAVdsB.js} +1 -1
- package/dist/{CPhoneInput-DolVFzrL.js → CPhoneInput-9AwTJm-0.js} +21 -21
- package/dist/{CPriceInput-SbRlrDnD.js → CPriceInput-agFahtr1.js} +11 -11
- package/dist/CSelect-BpautzPq.js +129 -0
- package/dist/CSkeleton-GIqd-JU4.js +47 -0
- package/dist/{ClientAutocomplete-vgxEGqNU.js → ClientAutocomplete-DOHX9Igy.js} +26 -26
- package/dist/{ClientModal-B8ip7v99.js → ClientModal-DAXKN_b3.js} +35 -35
- package/dist/{ColorPicker-BrfM9S1s.js → ColorPicker-B9F8znY_.js} +82 -82
- package/dist/{CompanyModal-DJZezqM5.js → CompanyModal-BvIMVys6.js} +27 -27
- package/dist/{ContentWrapper-zJ4MCnSC.js → ContentWrapper-DB22RaUr.js} +24 -24
- package/dist/{CoverBlockSettings-Cz0NUYXX.js → CoverBlockSettings--l4fH9mr.js} +32 -32
- package/dist/{DocAnswer-EWarWnbt.js → DocAnswer-Bq-4uVbe.js} +4 -4
- package/dist/{DocDetails-CGHN3tbO.js → DocDetails-yxmchgO5.js} +59 -59
- package/dist/{DocForm-BLTap-Bb.js → DocForm-CzrR8o22.js} +1208 -1180
- package/dist/{DocFormSend-_jCPFI9r.js → DocFormSend-Bjc1QDcK.js} +11 -11
- package/dist/{DocLinks-D9Ok4HvN.js → DocLinks-BXbC-6v3.js} +6 -6
- package/dist/{DocModalBase-fQz5UuCF.js → DocModalBase-axX_Rlp3.js} +1 -1
- package/dist/{DocPrint-Cua_U7zt.js → DocPrint-D0IdWsUM.js} +19 -19
- package/dist/{DocReceipt-Cg2hiSby.js → DocReceipt-4e-RmgeQ.js} +19 -19
- package/dist/{DocSendReminder-Dh7G9kbZ.js → DocSendReminder-L35eZxgk.js} +12 -12
- package/dist/{DocTextEditor-Ds4Cbg-2.js → DocTextEditor-KrfylSV6.js} +4493 -4435
- package/dist/{DocTimeline-DpWUMwJE.js → DocTimeline-Be5CvtcQ.js} +18 -18
- package/dist/{DocumentClient-DUqHQVSe.js → DocumentClient-Bc4kf2q9.js} +10 -10
- package/dist/DocumentLayout-Oe-ZsHML.js +595 -0
- package/dist/{DocumentLogotype-BiekV9-j.js → DocumentLogotype-BFo5UEWS.js} +20 -20
- package/dist/{DocumentVoided-D_YMyeV8.js → DocumentVoided-DlQtlO7G.js} +7 -7
- package/dist/{EmbedInput-Crx-LEGc.js → EmbedInput-B29usQZZ.js} +10 -10
- package/dist/{EmbedSettings-xIGtEN7L.js → EmbedSettings-D-9rcSn0.js} +16 -16
- package/dist/{ErrorCallout-D_fUVD4I.js → ErrorCallout--EnH1Ezu.js} +9 -9
- package/dist/{FilePreviewModal-av2lE91B.js → FilePreviewModal-H5Ilg9xN.js} +9 -9
- package/dist/{Flag-CI52SH_9.js → Flag-DgZVh3Lf.js} +4 -4
- package/dist/{HeaderSettings-Ip634NWe.js → HeaderSettings-HuM_JwJw.js} +27 -27
- package/dist/{ImageSelectModal-DNtR86H7.js → ImageSelectModal-CJ-DstAf.js} +14 -14
- package/dist/{ImageUploadWrapper-Co43CWCP.js → ImageUploadWrapper-TYs37LIQ.js} +76 -76
- package/dist/{Index-C6KPbnAq.js → Index-6N_iRlrQ.js} +10 -10
- package/dist/{Index-bvCcp9l6.js → Index-B-PDcQKh.js} +34 -34
- package/dist/{Index-CTQyX_63.js → Index-B942Auag.js} +2 -2
- package/dist/{Index-4ZURK6a8.js → Index-BLdFyt-s.js} +12 -12
- package/dist/{Index-CZqJYh7u.js → Index-BMpHXgR4.js} +16 -16
- package/dist/{Index-DGwF2cvQ.js → Index-BZ6ZDf9T.js} +11 -11
- package/dist/{Index-Ci_PUYqE.js → Index-BdnFLjgV.js} +11 -11
- package/dist/{Index-BdW5_mV-.js → Index-BeOtRIzZ.js} +21 -21
- package/dist/Index-BsRxY7vc.js +21 -0
- package/dist/{Index-xVX7aGXv.js → Index-CAMAtPVL.js} +6 -6
- package/dist/{Index-uDG1i8F-.js → Index-CC4E2CmH.js} +11 -11
- package/dist/{Index-CJi8Remu.js → Index-CGus-YwW.js} +26 -26
- package/dist/{Index-C-Suk6Qs.js → Index-CLgN5Jzf.js} +3 -3
- package/dist/{Index-C92jPUcy.js → Index-CTlB43yV.js} +7 -7
- package/dist/{Index-CmLvcWe3.js → Index-CY2sRfaY.js} +194 -218
- package/dist/{Index-PzcQhAgF.js → Index-CnrSvy6E.js} +2 -2
- package/dist/{Index-Bgm5PHos.js → Index-CrdSdXWN.js} +18 -18
- package/dist/{Index-Bj81gIof.js → Index-CtJfMiZW.js} +2 -2
- package/dist/Index-D4HNTocO.js +4 -0
- package/dist/{Index-chiZsMLh.js → Index-D5_GLLQH.js} +507 -512
- package/dist/{Index-DOiPKAhk.js → Index-D9sceHk5.js} +17 -17
- package/dist/{Index-CV5RbQn5.js → Index-DJ11Zra_.js} +42 -42
- package/dist/{Index-DQbbxV0m.js → Index-DMIjuWSa.js} +9 -9
- package/dist/{Index-BMwBpYpa.js → Index-DTm59e-A.js} +11 -11
- package/dist/{Index-CxAd29-m.js → Index-DXT_IMjq.js} +8 -8
- package/dist/{Index-BF1bZUso.js → Index-DYUvtCff.js} +8 -8
- package/dist/{Index-DKuTOk0t.js → Index-DYW8T0Hl.js} +18 -18
- package/dist/{Index-DWIpdRX-.js → Index-Dg4dwlh_.js} +59 -58
- package/dist/{Index-DOCeODtL.js → Index-N88Abomf.js} +11 -11
- package/dist/{Index-BY2kaUsM.js → Index-W-Q19E3a.js} +7 -7
- package/dist/{Index-DwIfORsz.js → Index-edWEg_rF.js} +29 -29
- package/dist/{Index-DlGSVN83.js → Index-nRqNPZ3B.js} +18 -18
- package/dist/{Index-CeJRMtmh.js → Index-nTp9wEni.js} +7 -7
- package/dist/{Index-D_X2OZA3.js → Index-yJRtT77X.js} +2 -2
- package/dist/{Index.vue_vue_type_script_lang-WK-YdZ30.js → Index.vue_vue_type_script_lang-PJPQMT2c.js} +2 -2
- package/dist/{InputToggleRow-CWvEi0HF.js → InputToggleRow-DCr_DEm4.js} +9 -9
- package/dist/{ManualPopover-BSX3bOr0.js → ManualPopover-CpVsmQvn.js} +4 -4
- package/dist/{MediaWrapper-D8BXMoDz.js → MediaWrapper-Cj3LBhdR.js} +4 -4
- package/dist/{NotBindingText-V-8_5Pln.js → NotBindingText-1J0p_k4u.js} +5 -5
- package/dist/{PackageGroup-BN5njJA7.js → PackageGroup-CqrWEfCT.js} +17 -17
- package/dist/{PdfTerms-DarzYw1g.js → PdfTerms-DmrPDtae.js} +6 -6
- package/dist/{PdfViewer-DYN758PA.js → PdfViewer-C2EEwUBa.js} +37 -37
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-B3g18l5G.js → PlainHtml.vue_vue_type_script_setup_true_lang-B6pRo08V.js} +2 -2
- package/dist/{PriceHeader-B7QoQ2ZO.js → PriceHeader-BaREzUxI.js} +32 -32
- package/dist/{SearchApi-rcvoh3Av.js → SearchApi-Bf4jeQVr.js} +6 -6
- package/dist/{SendForm-DHRq76pb.js → SendForm-D5qpHxNU.js} +713 -711
- package/dist/{Setup-BWMY9S__.js → Setup-Bw8ViFxw.js} +4 -4
- package/dist/{SmartList-BpNfmUMA.js → SmartList-CzylvV8N.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-B_f6Nh_O.js → Sortable.vue_vue_type_script_setup_true_lang-DleoAiSK.js} +92 -92
- package/dist/{TermsSettings-BTv1dj63.js → TermsSettings-EoJvsPqK.js} +20 -20
- package/dist/{ThemeColorRow-r1ECSrBU.js → ThemeColorRow-D3blQMiD.js} +12 -12
- package/dist/{ToggleBinding-BBF1duBh.js → ToggleBinding-BteBsRYr.js} +7 -7
- package/dist/{UploadModal-B_l6gvuJ.js → UploadModal-Cr5sF3M-.js} +19 -19
- package/dist/{VideoPlayerInput-8e9ooR1p.js → VideoPlayerInput-BBycKv9w.js} +5 -5
- package/dist/{VideoPlayerSettings-CFOPAFlE.js → VideoPlayerSettings-BXXpTWBf.js} +12 -12
- package/dist/{VideoSelectModal-QWkNrFQC.js → VideoSelectModal-B2VPO6q4.js} +15 -15
- package/dist/{focusDrawerMixin-hy76kTBG.js → focusDrawerMixin-CCAEZjWO.js} +1 -1
- package/dist/{formDrawerState-s4ySD850.js → formDrawerState-CJyP4ce1.js} +1 -1
- package/dist/{helpers-BHIbXt8q.js → helpers-Cf9s0P7o.js} +3 -3
- package/dist/{index-Dbe2ueXc.js → index-C3pnyYI4.js} +90 -90
- package/dist/{index-CGXCI2G7.js → index-CBn1mHmK.js} +36 -36
- package/dist/{index-BTw8ZC8k.js → index-DAJmNac8.js} +6 -6
- package/dist/{index-DpubWmXg.js → index-DYJN9yoF.js} +37 -37
- package/dist/{index-ByEyJueq.js → index-DuXECcGq.js} +31 -31
- package/dist/{index-Cwf2aXw3.js → index-XzoHqJIR.js} +9 -9
- package/dist/{index-DjHfCViH.js → index-_MfZEYgE.js} +28 -27
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +154 -159
- package/dist/{main-WDVYC60Z.js → main-BayUZ9OO.js} +14904 -14950
- package/dist/{mapFormMixin-B8xN9LiX.js → mapFormMixin-Bx5_nE7g.js} +36 -42
- package/dist/omit-BKJdPM2H.js +56 -0
- package/dist/{publicSenderState-CtB0-WJX.js → publicSenderState-CblTasKp.js} +3 -3
- package/dist/{splitpanes-CwgWVXfp.js → splitpanes-DFkgBT3z.js} +6 -6
- package/dist/{template-fVxhQbOu.js → template-CvGgzazD.js} +5 -5
- package/dist/{tippy.esm-Ikv5_i_g.js → tippy.esm-CYKcJaqz.js} +222 -224
- package/dist/{useTermsModal-DxXjznop.js → useTermsModal-DFmdeFRm.js} +5 -5
- package/dist/{utils-fXD4AHot.js → utils-DTwXcY8_.js} +1 -1
- package/dist/{validation-Bf4rZ8pa.js → validation-d_jonAPy.js} +4 -4
- package/dist/widget.css +1 -1
- package/package.json +2 -2
- package/dist/CSelect-BQsWYh8F.js +0 -98
- package/dist/CSkeleton.vue_vue_type_script_setup_true_lang-aq47QhPF.js +0 -51
- package/dist/DocumentLayout-Bth5tpry.js +0 -1434
- package/dist/Index-CFSuI-QL.js +0 -21
- package/dist/Index-DHzaqQH0.js +0 -4
- package/dist/omit-BhJ-wiH8.js +0 -56
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as
|
|
1
|
+
import { _ as c, b as s, d, o as i, j as t, f as a, t as o } from "./main-BayUZ9OO.js";
|
|
2
2
|
const r = {
|
|
3
3
|
name: "DocumentVoided",
|
|
4
4
|
props: {
|
|
@@ -8,11 +8,11 @@ const r = {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}, l = { class: "grid h-full place-items-center text-center" }, m = { class: "py-12" }, _ = ["textContent"], u = ["textContent"];
|
|
11
|
-
function p(x, f, e, C, h,
|
|
12
|
-
const n =
|
|
13
|
-
return
|
|
11
|
+
function p(x, f, e, C, h, y) {
|
|
12
|
+
const n = s("CIcon");
|
|
13
|
+
return i(), d("div", l, [
|
|
14
14
|
t("div", m, [
|
|
15
|
-
|
|
15
|
+
a(n, {
|
|
16
16
|
type: "info",
|
|
17
17
|
class: "text-primary-500 mb-2"
|
|
18
18
|
}),
|
|
@@ -27,7 +27,7 @@ function p(x, f, e, C, h, v) {
|
|
|
27
27
|
])
|
|
28
28
|
]);
|
|
29
29
|
}
|
|
30
|
-
const
|
|
30
|
+
const v = /* @__PURE__ */ c(r, [["render", p]]);
|
|
31
31
|
export {
|
|
32
|
-
|
|
32
|
+
v as D
|
|
33
33
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as p } from "./CFormField.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { u as f } from "./index-
|
|
3
|
-
import {
|
|
1
|
+
import { _ as p } from "./CFormField.vue_vue_type_script_setup_true_lang-Bi0MjQdW.js";
|
|
2
|
+
import { u as f } from "./index-C3pnyYI4.js";
|
|
3
|
+
import { ae as h, _ as b, X as g, b as d, c as w, o as V, w as l, f as o, q as _, t as v, W as y } from "./main-BayUZ9OO.js";
|
|
4
4
|
const z = (e) => {
|
|
5
5
|
const a = new DOMParser().parseFromString(e, "text/html"), [i] = h(a, "body.children") || [];
|
|
6
6
|
return !i || i.tagName !== "IFRAME" ? {} : Array.from(i.attributes).reduce(
|
|
@@ -11,9 +11,9 @@ const z = (e) => {
|
|
|
11
11
|
if (typeof e != "object" || !e) return "";
|
|
12
12
|
const t = document.createElement("iframe");
|
|
13
13
|
return Object.keys(e).forEach((a) => t.setAttribute(a, e[a])), t.hasAttribute("src") ? t.outerHTML : "";
|
|
14
|
-
},
|
|
14
|
+
}, F = (e) => /^(?:https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|www\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9]+\.[^\s]{2,}|www\.[a-zA-Z0-9]+\.[^\s]{2,})/gi.test(
|
|
15
15
|
e
|
|
16
|
-
),
|
|
16
|
+
), x = {
|
|
17
17
|
name: "EmbedInput",
|
|
18
18
|
i18nOptions: {
|
|
19
19
|
namespaces: "embedInput",
|
|
@@ -67,7 +67,7 @@ const z = (e) => {
|
|
|
67
67
|
},
|
|
68
68
|
validations() {
|
|
69
69
|
return {
|
|
70
|
-
embed: { isValid: (e) => e &&
|
|
70
|
+
embed: { isValid: (e) => e && F(e.src) }
|
|
71
71
|
};
|
|
72
72
|
},
|
|
73
73
|
computed: {
|
|
@@ -97,9 +97,9 @@ const z = (e) => {
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
};
|
|
100
|
-
function
|
|
100
|
+
function A(e, t, a, i, s, n) {
|
|
101
101
|
const r = d("CInput"), m = d("CField"), c = d("CButton");
|
|
102
|
-
return
|
|
102
|
+
return V(), w(m, {
|
|
103
103
|
grouped: !a.isDrawerMode,
|
|
104
104
|
style: y(
|
|
105
105
|
a.isDrawerMode && {
|
|
@@ -142,7 +142,7 @@ function x(e, t, a, i, s, n) {
|
|
|
142
142
|
onClick: t[1] || (t[1] = (u) => n.validateInput(s.iFrameTplString))
|
|
143
143
|
}, {
|
|
144
144
|
default: l(() => [
|
|
145
|
-
|
|
145
|
+
_(v(e.$t("_common:add")), 1)
|
|
146
146
|
]),
|
|
147
147
|
_: 1
|
|
148
148
|
}, 8, ["disabled", "size"])
|
|
@@ -150,7 +150,7 @@ function x(e, t, a, i, s, n) {
|
|
|
150
150
|
_: 1
|
|
151
151
|
}, 8, ["grouped", "style"]);
|
|
152
152
|
}
|
|
153
|
-
const S = /* @__PURE__ */ b(
|
|
153
|
+
const S = /* @__PURE__ */ b(x, [["render", A]]);
|
|
154
154
|
export {
|
|
155
155
|
S as default
|
|
156
156
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as h } from "./CDropdownItem-
|
|
2
|
-
import z from "./EmbedInput-
|
|
3
|
-
import { _ as g,
|
|
1
|
+
import { b as h } from "./CDropdownItem-E-kRDIiy.js";
|
|
2
|
+
import z from "./EmbedInput-B29usQZZ.js";
|
|
3
|
+
import { _ as g, b as d, d as o, o as a, j as s, f as r, t as n, e as _, F as f, n as b, x as y } from "./main-BayUZ9OO.js";
|
|
4
4
|
const C = {
|
|
5
5
|
i18nOptions: {
|
|
6
6
|
namespaces: "embedSettings",
|
|
@@ -54,13 +54,13 @@ const C = {
|
|
|
54
54
|
}, H = { class: "d-root" }, S = { class: "d-option" }, V = { class: "d-option-title" }, M = {
|
|
55
55
|
class: "text-gray-600",
|
|
56
56
|
style: { "padding-bottom": "1em" }
|
|
57
|
-
},
|
|
57
|
+
}, w = { class: "d-option" }, E = { class: "d-option-title" }, k = { style: { flex: "1 1 auto" } }, B = {
|
|
58
58
|
key: 0,
|
|
59
59
|
style: { display: "flex", "flex-direction": "row", "flex-wrap": "wrap", "padding-top": "5px" }
|
|
60
60
|
}, F = ["onClick"], $ = ["innerHTML"];
|
|
61
|
-
function
|
|
61
|
+
function x(e, i, l, D, T, m) {
|
|
62
62
|
const p = d("EmbedInput"), u = d("CSwitch");
|
|
63
|
-
return
|
|
63
|
+
return a(), o("div", H, [
|
|
64
64
|
s("div", S, [
|
|
65
65
|
s("div", V, n(e.$t("title").capitalize()), 1),
|
|
66
66
|
s("div", M, n(e.$t("subTitle")), 1),
|
|
@@ -70,9 +70,9 @@ function D(e, i, l, T, x, m) {
|
|
|
70
70
|
"onUpdate:modelValue": i[0] || (i[0] = (t) => e.$emit("update:modelValue", t))
|
|
71
71
|
}, null, 8, ["model-value"])
|
|
72
72
|
]),
|
|
73
|
-
s("div",
|
|
74
|
-
s("div",
|
|
75
|
-
s("div",
|
|
73
|
+
s("div", w, [
|
|
74
|
+
s("div", E, [
|
|
75
|
+
s("div", k, n(e.$t("responsiveSize")), 1),
|
|
76
76
|
r(u, {
|
|
77
77
|
"model-value": !!l.size,
|
|
78
78
|
size: "small",
|
|
@@ -81,23 +81,23 @@ function D(e, i, l, T, x, m) {
|
|
|
81
81
|
"onUpdate:modelValue": i[1] || (i[1] = (t) => e.$emit("update:size", t ? "small" : null))
|
|
82
82
|
}, null, 8, ["model-value"])
|
|
83
83
|
]),
|
|
84
|
-
l.size ? (
|
|
85
|
-
(
|
|
84
|
+
l.size ? (a(), o("div", B, [
|
|
85
|
+
(a(!0), o(f, null, b(m.sizeOptions, ({ value: t, svg: v }, c) => (a(), o("div", {
|
|
86
86
|
key: c,
|
|
87
87
|
class: "size-option",
|
|
88
88
|
onClick: (I) => e.$emit("update:size", t)
|
|
89
89
|
}, [
|
|
90
|
-
(
|
|
91
|
-
class:
|
|
90
|
+
(a(), o("svg", {
|
|
91
|
+
class: y([{ "is-active": l.size === t }, "size-option-image"]),
|
|
92
92
|
viewBox: "0 0 99 65",
|
|
93
93
|
innerHTML: v
|
|
94
94
|
}, null, 10, $))
|
|
95
95
|
], 8, F))), 128))
|
|
96
|
-
])) :
|
|
96
|
+
])) : _("", !0)
|
|
97
97
|
])
|
|
98
98
|
]);
|
|
99
99
|
}
|
|
100
|
-
const
|
|
100
|
+
const j = /* @__PURE__ */ g(C, [["render", x], ["__scopeId", "data-v-157de8e2"]]);
|
|
101
101
|
export {
|
|
102
|
-
|
|
102
|
+
j as default
|
|
103
103
|
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
1
|
+
import { a7 as n, ay as i, H as a, b as m, d as p, o as d, j as t, f as _, t as u, x as r, W as y, _ as v } from "./main-BayUZ9OO.js";
|
|
2
|
+
const f = /* @__PURE__ */ n({
|
|
3
3
|
__name: "ErrorCallout",
|
|
4
4
|
props: {
|
|
5
5
|
message: {},
|
|
6
6
|
size: { default: "normal" }
|
|
7
7
|
},
|
|
8
|
-
setup(
|
|
8
|
+
setup(g) {
|
|
9
9
|
const e = i(), o = a(() => e.style), l = a(() => e.class);
|
|
10
|
-
return (s,
|
|
11
|
-
const
|
|
12
|
-
return
|
|
10
|
+
return (s, C) => {
|
|
11
|
+
const c = m("CIcon");
|
|
12
|
+
return d(), p("div", {
|
|
13
13
|
class: r([[l.value], "flex items-center"]),
|
|
14
|
-
style:
|
|
14
|
+
style: y([{ "margin-top": "calc(1 * var(--rem))" }, [o.value]]),
|
|
15
15
|
"data-type": "error-callout"
|
|
16
16
|
}, [
|
|
17
17
|
t("div", {
|
|
18
18
|
class: r([[`is-${s.size}`], "error-wrapper bg-red-50 text-red-500"]),
|
|
19
19
|
style: { margin: "calc(1 * var(--rem)) 0" }
|
|
20
20
|
}, [
|
|
21
|
-
|
|
21
|
+
_(c, {
|
|
22
22
|
type: "alert",
|
|
23
23
|
size: "18",
|
|
24
24
|
style: { "margin-right": "0.5em", flex: "0 0 18px" }
|
|
@@ -28,7 +28,7 @@ const g = /* @__PURE__ */ c({
|
|
|
28
28
|
], 6);
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
}), z = /* @__PURE__ */
|
|
31
|
+
}), z = /* @__PURE__ */ v(f, [["__scopeId", "data-v-32b00685"]]);
|
|
32
32
|
export {
|
|
33
33
|
z as E
|
|
34
34
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { V as
|
|
2
|
-
import { _ as h, S as k,
|
|
1
|
+
import { V as c } from "./PdfViewer-C2EEwUBa.js";
|
|
2
|
+
import { _ as h, S as k, b as m, a4 as y, d as i, o, j as n, t as x, u as a, x as v, c as g, e as w, am as I } from "./main-BayUZ9OO.js";
|
|
3
3
|
const C = {
|
|
4
4
|
name: "FilesPreviewModal",
|
|
5
5
|
components: {
|
|
6
6
|
Spinner: k,
|
|
7
|
-
VuePdf:
|
|
7
|
+
VuePdf: c
|
|
8
8
|
},
|
|
9
9
|
emits: ["close"],
|
|
10
10
|
props: {
|
|
@@ -64,7 +64,7 @@ const C = {
|
|
|
64
64
|
class: "pdf-root"
|
|
65
65
|
}, E = ["src"];
|
|
66
66
|
function G(t, e, r, S, s, u) {
|
|
67
|
-
const
|
|
67
|
+
const f = m("Spinner"), p = m("VuePdf"), l = y("tooltip");
|
|
68
68
|
return o(), i("div", L, [
|
|
69
69
|
e[11] || (e[11] = n("div", { class: "image-modal-overlay" }, null, -1)),
|
|
70
70
|
n("div", b, [
|
|
@@ -172,13 +172,13 @@ function G(t, e, r, S, s, u) {
|
|
|
172
172
|
style: { position: "relative" },
|
|
173
173
|
onClick: e[6] || (e[6] = (d) => t.$emit("close"))
|
|
174
174
|
}, [
|
|
175
|
-
s.isLoading ? (o(), g(
|
|
175
|
+
s.isLoading ? (o(), g(f, {
|
|
176
176
|
key: 0,
|
|
177
177
|
size: "50px",
|
|
178
178
|
style: { position: "absolute", left: "50%", top: "50%", transform: "translate(-50%, -50%)" }
|
|
179
|
-
})) :
|
|
179
|
+
})) : w("", !0),
|
|
180
180
|
u.isPdf ? (o(), i("div", j, [
|
|
181
|
-
(o(), g(
|
|
181
|
+
(o(), g(p, {
|
|
182
182
|
key: this.currentIndex,
|
|
183
183
|
src: r.list[s.currentIndex].url,
|
|
184
184
|
class: "pdf-page",
|
|
@@ -188,7 +188,7 @@ function G(t, e, r, S, s, u) {
|
|
|
188
188
|
onClick: e[4] || (e[4] = I(() => {
|
|
189
189
|
}, ["stop"]))
|
|
190
190
|
}, null, 8, ["src"]))
|
|
191
|
-
])) : s.isLoading ?
|
|
191
|
+
])) : s.isLoading ? w("", !0) : (o(), i("img", {
|
|
192
192
|
key: 2,
|
|
193
193
|
src: r.list[s.currentIndex].url,
|
|
194
194
|
class: "modal-image",
|
|
@@ -197,7 +197,7 @@ function G(t, e, r, S, s, u) {
|
|
|
197
197
|
])
|
|
198
198
|
]);
|
|
199
199
|
}
|
|
200
|
-
const K = /* @__PURE__ */ h(C, [["render", G], ["__scopeId", "data-v-
|
|
200
|
+
const K = /* @__PURE__ */ h(C, [["render", G], ["__scopeId", "data-v-fd12176b"]]);
|
|
201
201
|
export {
|
|
202
202
|
K as default
|
|
203
203
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as i,
|
|
1
|
+
import { _ as i, d as c, e as r, o as d, x as u } from "./main-BayUZ9OO.js";
|
|
2
2
|
const f = {
|
|
3
3
|
name: "FlagIcon",
|
|
4
4
|
props: {
|
|
@@ -24,16 +24,16 @@ const f = {
|
|
|
24
24
|
}
|
|
25
25
|
}, m = ["title"];
|
|
26
26
|
function g(o, n, t, s, e, a) {
|
|
27
|
-
return t.region ? (
|
|
27
|
+
return t.region ? (d(), c("span", {
|
|
28
28
|
key: 0,
|
|
29
|
-
class:
|
|
29
|
+
class: u([[
|
|
30
30
|
`fi-${t.region.toLowerCase()}`,
|
|
31
31
|
{
|
|
32
32
|
fis: t.isSquared
|
|
33
33
|
}
|
|
34
34
|
], "fi"]),
|
|
35
35
|
title: t.title || t.region
|
|
36
|
-
}, null, 10, m)) :
|
|
36
|
+
}, null, 10, m)) : r("", !0);
|
|
37
37
|
}
|
|
38
38
|
const h = /* @__PURE__ */ i(f, [["render", g]]);
|
|
39
39
|
export {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { m as F } from "./mapFormMixin-
|
|
2
|
-
import { T as U } from "./ThemeColorRow-
|
|
3
|
-
import
|
|
4
|
-
import P from "./ImageUploadWrapper-
|
|
5
|
-
import { B as
|
|
6
|
-
import {
|
|
7
|
-
import { _ as
|
|
8
|
-
import { b as
|
|
9
|
-
import { t as
|
|
1
|
+
import { m as F } from "./mapFormMixin-Bx5_nE7g.js";
|
|
2
|
+
import { T as U } from "./ThemeColorRow-D3blQMiD.js";
|
|
3
|
+
import j from "./VideoPlayerInput-BBycKv9w.js";
|
|
4
|
+
import P from "./ImageUploadWrapper-TYs37LIQ.js";
|
|
5
|
+
import { B as H, a as $ } from "./index-CBn1mHmK.js";
|
|
6
|
+
import { _ as A, 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 L, W as z, F as _, n as B, at as R, a5 as V, i as S, b5 as O, a0 as D, T as W, u as q, am as M, b6 as N, ah as E, x as I } from "./main-BayUZ9OO.js";
|
|
7
|
+
import { _ as K } from "./CFormField.vue_vue_type_script_setup_true_lang-Bi0MjQdW.js";
|
|
8
|
+
import { b as G } from "./CDropdownItem-E-kRDIiy.js";
|
|
9
|
+
import { t as J } from "./template-CvGgzazD.js";
|
|
10
10
|
const T = S.unsplash.id, Q = S.pexels.id, X = {
|
|
11
11
|
name: "MediaSelectModal",
|
|
12
12
|
i18nOptions: {
|
|
@@ -27,9 +27,9 @@ const T = S.unsplash.id, Q = S.pexels.id, X = {
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
components: {
|
|
30
|
-
BackgroundModal:
|
|
31
|
-
BackgroundList:
|
|
32
|
-
VideoPlayerInput:
|
|
30
|
+
BackgroundModal: $,
|
|
31
|
+
BackgroundList: H,
|
|
32
|
+
VideoPlayerInput: j,
|
|
33
33
|
ImageUploadWrapper: P
|
|
34
34
|
},
|
|
35
35
|
emits: ["input", "close"],
|
|
@@ -188,7 +188,7 @@ function he(e, t, r, n, s, o) {
|
|
|
188
188
|
}, {
|
|
189
189
|
header: c(() => [
|
|
190
190
|
l("div", Y, [
|
|
191
|
-
(a(!0), u(_, null,
|
|
191
|
+
(a(!0), u(_, null, B(s.tabs, (i, y) => (a(), x(d, {
|
|
192
192
|
key: y,
|
|
193
193
|
style: z([{ "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
|
|
@@ -234,7 +234,7 @@ function he(e, t, r, n, s, o) {
|
|
|
234
234
|
key: 0,
|
|
235
235
|
src: s.customVideo.url,
|
|
236
236
|
class: "custom-video-preview"
|
|
237
|
-
}, null, 8, le)) :
|
|
237
|
+
}, null, 8, le)) : L("", !0)
|
|
238
238
|
]),
|
|
239
239
|
p(C, {
|
|
240
240
|
modelValue: s.customVideo,
|
|
@@ -310,9 +310,9 @@ function he(e, t, r, n, s, o) {
|
|
|
310
310
|
const pe = /* @__PURE__ */ A(X, [["render", he], ["__scopeId", "data-v-e6251bf7"]]), ge = {
|
|
311
311
|
name: "CRadioButton",
|
|
312
312
|
components: {
|
|
313
|
-
CButton:
|
|
313
|
+
CButton: D
|
|
314
314
|
},
|
|
315
|
-
mixins: [
|
|
315
|
+
mixins: [O],
|
|
316
316
|
props: {
|
|
317
317
|
type: {
|
|
318
318
|
type: String,
|
|
@@ -339,7 +339,7 @@ function ve(e, t, r, n, s, o) {
|
|
|
339
339
|
class: I([[{ "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] = E(M((m) => e.$refs.$el.label.click(), ["prevent"]), ["enter"]))
|
|
343
343
|
}, {
|
|
344
344
|
default: c(() => [
|
|
345
345
|
W(e.$slots, "default"),
|
|
@@ -368,8 +368,8 @@ const fe = /* @__PURE__ */ A(ge, [["render", ve]]), we = {
|
|
|
368
368
|
components: {
|
|
369
369
|
ThemeColorRow: U,
|
|
370
370
|
CRadioButton: fe,
|
|
371
|
-
CSwitch:
|
|
372
|
-
CField:
|
|
371
|
+
CSwitch: G,
|
|
372
|
+
CField: K
|
|
373
373
|
},
|
|
374
374
|
mixins: [
|
|
375
375
|
F(
|
|
@@ -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 = J.readability(e, "#fff") < 1.8 ? "#111111" : "#FFFFFF");
|
|
509
509
|
}
|
|
510
510
|
},
|
|
511
511
|
methods: {
|
|
@@ -556,7 +556,7 @@ const fe = /* @__PURE__ */ A(ge, [["render", ve]]), we = {
|
|
|
556
556
|
class: "d-option-title",
|
|
557
557
|
style: { "margin-top": "calc(0.5 * var(--rem))" }
|
|
558
558
|
}, Ue = ["innerHTML"];
|
|
559
|
-
function
|
|
559
|
+
function je(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
561
|
return a(), u("div", Ce, [
|
|
562
562
|
l("div", ke, [
|
|
@@ -565,7 +565,7 @@ function He(e, t, r, n, s, o) {
|
|
|
565
565
|
style: { "padding-bottom": "calc(0.5 * var(--rem))" }
|
|
566
566
|
}, " Layouts ", -1)),
|
|
567
567
|
l("div", be, [
|
|
568
|
-
(a(!0), u(_, null,
|
|
568
|
+
(a(!0), u(_, null, B(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",
|
|
@@ -640,7 +640,7 @@ function He(e, t, r, n, s, o) {
|
|
|
640
640
|
]),
|
|
641
641
|
_: 1
|
|
642
642
|
}, 8, ["value"])
|
|
643
|
-
])) :
|
|
643
|
+
])) : L("", !0)
|
|
644
644
|
])) : (a(), u(_, { key: 1 }, [
|
|
645
645
|
e.layout !== "center" ? (a(), u("div", Me, [
|
|
646
646
|
p(m, {
|
|
@@ -657,7 +657,7 @@ function He(e, t, r, n, s, o) {
|
|
|
657
657
|
]),
|
|
658
658
|
_: 1
|
|
659
659
|
}, 8, ["value"])
|
|
660
|
-
])) :
|
|
660
|
+
])) : L("", !0),
|
|
661
661
|
l("div", Te, [
|
|
662
662
|
p(m, {
|
|
663
663
|
value: e.textColor || "",
|
|
@@ -679,7 +679,7 @@ function He(e, t, r, n, s, o) {
|
|
|
679
679
|
l("div", Fe, 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, B(s.alignOptions, ({ value: i, icon: y }, f) => (a(), x(k, {
|
|
683
683
|
key: f,
|
|
684
684
|
modelValue: e.textAlign,
|
|
685
685
|
"onUpdate:modelValue": [
|
|
@@ -714,7 +714,7 @@ function He(e, t, r, n, s, o) {
|
|
|
714
714
|
], 64))
|
|
715
715
|
]);
|
|
716
716
|
}
|
|
717
|
-
const
|
|
717
|
+
const Ee = /* @__PURE__ */ A(we, [["render", je], ["__scopeId", "data-v-bccd31d9"]]);
|
|
718
718
|
export {
|
|
719
|
-
|
|
719
|
+
Ee 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,
|
|
4
|
-
const u =
|
|
1
|
+
import _ from "./ImageUploadWrapper-TYs37LIQ.js";
|
|
2
|
+
import { B as I, a as B } from "./index-CBn1mHmK.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, at as C, a5 as p, i as S } from "./main-BayUZ9OO.js";
|
|
4
|
+
const u = S.unsplash.id, $ = {
|
|
5
5
|
name: "ImageSelectModal",
|
|
6
6
|
i18nOptions: {
|
|
7
7
|
namespaces: "imageSelectModal",
|
|
@@ -15,8 +15,8 @@ const u = U.unsplash.id, $ = {
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
components: {
|
|
18
|
-
BackgroundModal:
|
|
19
|
-
BackgroundList:
|
|
18
|
+
BackgroundModal: B,
|
|
19
|
+
BackgroundList: I,
|
|
20
20
|
ImageUploadWrapper: _
|
|
21
21
|
},
|
|
22
22
|
emits: ["input", "change", "close"],
|
|
@@ -27,7 +27,7 @@ const u = U.unsplash.id, $ = {
|
|
|
27
27
|
},
|
|
28
28
|
methods: {
|
|
29
29
|
async fetch({ query: e, page: t }) {
|
|
30
|
-
const { data: r } = await
|
|
30
|
+
const { data: r } = await p.get(
|
|
31
31
|
"https://api.unsplash.com/search/photos",
|
|
32
32
|
{
|
|
33
33
|
params: {
|
|
@@ -48,9 +48,9 @@ const u = U.unsplash.id, $ = {
|
|
|
48
48
|
};
|
|
49
49
|
},
|
|
50
50
|
selectImage(e) {
|
|
51
|
-
this.selectedUrl =
|
|
51
|
+
this.selectedUrl = C(e.image, { w: 1800 });
|
|
52
52
|
const t = new Image();
|
|
53
|
-
t.src = this.selectedUrl,
|
|
53
|
+
t.src = this.selectedUrl, p.get(e.links.download_location, {
|
|
54
54
|
params: {
|
|
55
55
|
client_id: u
|
|
56
56
|
}
|
|
@@ -65,12 +65,12 @@ const u = U.unsplash.id, $ = {
|
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
67
|
function w(e, t, r, o, y, s) {
|
|
68
|
-
const d = n("CButton"), g = n("ImageUploadWrapper"),
|
|
69
|
-
return
|
|
68
|
+
const d = n("CButton"), g = n("ImageUploadWrapper"), f = n("BackgroundList"), h = n("BackgroundModal");
|
|
69
|
+
return v(), U(h, {
|
|
70
70
|
onClose: t[1] || (t[1] = (c) => e.$emit("close"))
|
|
71
71
|
}, {
|
|
72
72
|
default: a(() => [
|
|
73
|
-
l(
|
|
73
|
+
l(f, {
|
|
74
74
|
fetch: s.fetch,
|
|
75
75
|
"credit-text": e.$t("creditImages", { thing: "Unsplash" }),
|
|
76
76
|
"default-query": "architecture",
|
|
@@ -89,7 +89,7 @@ function w(e, t, r, o, y, s) {
|
|
|
89
89
|
type: "none"
|
|
90
90
|
}, {
|
|
91
91
|
default: a(() => [
|
|
92
|
-
m(
|
|
92
|
+
i(m(e.$t("_common:upload")), 1)
|
|
93
93
|
]),
|
|
94
94
|
_: 2
|
|
95
95
|
}, 1032, ["loading"])
|
|
@@ -102,7 +102,7 @@ function w(e, t, r, o, y, s) {
|
|
|
102
102
|
onClick: s.onSave
|
|
103
103
|
}, {
|
|
104
104
|
default: a(() => [
|
|
105
|
-
m(
|
|
105
|
+
i(m(e.$t("_common:save")), 1)
|
|
106
106
|
]),
|
|
107
107
|
_: 1
|
|
108
108
|
}, 8, ["onClick"])
|