@cling-se/widget 0.19.3 → 0.19.5
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 +18 -2
- package/dist/{AddClientCallout-DuuNDL4D.js → AddClientCallout-B3NbV9vX.js} +10 -10
- package/dist/{AnswerModal-D3EqaCFZ.js → AnswerModal-C_at-56v.js} +3 -3
- package/dist/{AttachmentItem-kRFxlzlC.js → AttachmentItem-C4kyomn3.js} +19 -19
- package/dist/{BaseUpload-BxYInU7o.js → BaseUpload-Z3O2bebR.js} +2 -2
- package/dist/{BlockMedia--73N_Of0.js → BlockMedia-BSGtFCsS.js} +14 -14
- package/dist/{CCallout-ChKgPAm2.js → CCallout-DRBCakh2.js} +2 -2
- package/dist/{CCurrencyDropdown-GcQqVqCs.js → CCurrencyDropdown-CyFge_fD.js} +10 -10
- package/dist/{CDropdownItem-CrGOya-D.js → CDropdownItem-BWmAQwpG.js} +20 -20
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-CyUMgjqE.js → CFormField.vue_vue_type_script_setup_true_lang-DzcNo15Q.js} +59 -59
- package/dist/{CPhoneFormat-d9r8v4kT.js → CPhoneFormat-D-BGsI3p.js} +1 -1
- package/dist/{CPhoneInput-DbDLU0AC.js → CPhoneInput-Dl7BSG8y.js} +34 -34
- package/dist/{CPriceInput-BqOw7bdS.js → CPriceInput-C8Os9b3V.js} +5 -5
- package/dist/{CSelect-BwpgSn0z.js → CSelect-DXAAKhB6.js} +6 -6
- package/dist/{CSkeleton.vue_vue_type_script_setup_true_lang-C3CzyV_p.js → CSkeleton.vue_vue_type_script_setup_true_lang-D_ZP_7FL.js} +1 -1
- package/dist/{ClientAutocomplete-CvpqyHTG.js → ClientAutocomplete-0XPP0tZr.js} +19 -19
- package/dist/{ClientModal-CYTMaWid.js → ClientModal-Ddv5YiOD.js} +24 -24
- package/dist/{ColorPicker-CEpFbxOm.js → ColorPicker-ClWlJZqh.js} +17 -17
- package/dist/{CompanyModal-BN3P5pxH.js → CompanyModal-CdisHhTQ.js} +10 -10
- package/dist/{ContentWrapper-CxL1K8Pf.js → ContentWrapper-BZ_ff5l9.js} +20 -22
- package/dist/{CoverBlockSettings-buQlTBr8.js → CoverBlockSettings-C3F4jTwa.js} +33 -33
- package/dist/{DocAnswer-DniRIWLM.js → DocAnswer-BkbWkje5.js} +2 -2
- package/dist/{DocDetails-DQlItuAy.js → DocDetails-DxUXsbDV.js} +57 -57
- package/dist/{DocForm-DPnYrMM6.js → DocForm-CABBteE8.js} +26 -26
- package/dist/{DocFormSend-DDWp03Z4.js → DocFormSend-xGIxXjxv.js} +2 -2
- package/dist/{DocLinks-B_WHyJXJ.js → DocLinks-D01zyA-z.js} +2 -2
- package/dist/{DocModalBase-DMoFbE_V.js → DocModalBase-DfrPL4tZ.js} +1 -1
- package/dist/{DocPrint-CJnCR4sj.js → DocPrint-BSKYDCQc.js} +11 -11
- package/dist/{DocReceipt-CLEzesSd.js → DocReceipt-D5Oqb1cC.js} +12 -12
- package/dist/{DocSendReminder-eVB0EpW3.js → DocSendReminder-IbCLg9tW.js} +13 -13
- package/dist/{DocTextEditor-DiiBwSqL.js → DocTextEditor-BVba4QPz.js} +8 -8
- package/dist/{DocTimeline-bTf4PXFt.js → DocTimeline-CaX19zwg.js} +19 -19
- package/dist/{DocumentClient-BliWFKWD.js → DocumentClient-DSQnO5KJ.js} +5 -5
- package/dist/{DocumentLayout-BYF8MkQ6.js → DocumentLayout-CkNcKcB_.js} +31 -31
- package/dist/{DocumentLogotype-CoAoOKFT.js → DocumentLogotype-DAVtl6S_.js} +4 -4
- package/dist/{DocumentVoided-BoE_3xZ-.js → DocumentVoided-DZYqqkrE.js} +1 -1
- package/dist/{EmbedInput-BY9Tk0Fn.js → EmbedInput-BpVkRhg5.js} +8 -8
- package/dist/{EmbedSettings-o4XPxFEg.js → EmbedSettings-BHjex6QD.js} +3 -3
- package/dist/{ErrorCallout-YB_Cq8zQ.js → ErrorCallout-B9TlMH-g.js} +1 -1
- package/dist/{FilePreviewModal-Bb88xu1a.js → FilePreviewModal-DP6yokyq.js} +13 -13
- package/dist/{Flag-BxyVrkyQ.js → Flag-D3GdVwWB.js} +1 -1
- package/dist/{HeaderSettings-bLIJeluc.js → HeaderSettings-sb4vPDsi.js} +35 -35
- package/dist/{ImageSelectModal-BvJoFbVg.js → ImageSelectModal-CicYONc-.js} +3 -3
- package/dist/{ImageUploadWrapper-Cg5PXmyH.js → ImageUploadWrapper-CLq06imX.js} +2 -2
- package/dist/{Index-DxOS1Bcc.js → Index--erm1oIh.js} +4 -4
- package/dist/{Index-7wOqPn5F.js → Index-0JuAv1tp.js} +16 -16
- package/dist/Index-0imHv6b4.js +52 -0
- package/dist/{Index-BfTkhsEB.js → Index-2jg0DL-m.js} +4 -4
- package/dist/{Index-8buSki3l.js → Index-6H0VT88W.js} +1 -1
- package/dist/{Index-BBIJa9tx.js → Index-AjcnSKQD.js} +19 -19
- package/dist/Index-B5zszB2v.js +4 -0
- package/dist/{Index-BHE3BADD.js → Index-BHvpY8xR.js} +2 -2
- package/dist/{Index-Y--RuSty.js → Index-BIrwUJlj.js} +12 -12
- package/dist/{Index-CKm-Ab2J.js → Index-BU2qksFA.js} +3 -3
- package/dist/{Index-DaDw8sm-.js → Index-BWTeXf8h.js} +4 -4
- package/dist/{Index-Cfuzo8uM.js → Index-Be0qeiZi.js} +10 -10
- package/dist/{Index-yczwn2__.js → Index-BePivEDQ.js} +3 -3
- package/dist/{Index-PIl16ugG.js → Index-Bf3O-9-j.js} +6 -6
- package/dist/{Index-CmKBuzvS.js → Index-BpObvjSu.js} +5 -5
- package/dist/{Index-D6qezTjd.js → Index-BrIFaQcB.js} +13 -13
- package/dist/{Index-tSL4w68e.js → Index-BsM0XvZj.js} +24 -23
- package/dist/{Index-u8OyhXD6.js → Index-BtECdggQ.js} +5 -5
- package/dist/{Index-4EhAq9jD.js → Index-CmDRJ5Xr.js} +17 -17
- package/dist/{Index-D0m02lsA.js → Index-CoadaoP0.js} +1 -1
- package/dist/{Index-nbUT4Y0t.js → Index-CpGzRzMp.js} +3 -3
- package/dist/{Index-Bpz-Fyp-.js → Index-CzqNrUn3.js} +2 -2
- package/dist/{Index-B9QJAmKi.js → Index-DGLmjotr.js} +2 -2
- package/dist/{Index-I_htzZi9.js → Index-DH9dMzsw.js} +6 -6
- package/dist/{Index-B1W3BsnU.js → Index-DO8qwrXi.js} +10 -10
- package/dist/{Index-CLmpmEm1.js → Index-DPF_0b3a.js} +14 -15
- package/dist/{Index-DA_DXCrr.js → Index-DdlkzMzM.js} +22 -22
- package/dist/{Index-Btz58lgU.js → Index-DijI5XXh.js} +2 -2
- package/dist/{Index-2i28IE9s.js → Index-DnnRIESN.js} +7 -7
- package/dist/{Index-DFutxc_k.js → Index-Dv0eryvg.js} +4 -4
- package/dist/{Index-Sdko3L9J.js → Index-KZslz-16.js} +23 -24
- package/dist/{Index-BV5EPUqw.js → Index-RhHHrJtM.js} +6 -7
- package/dist/{Index-BVvlz0QZ.js → Index-SXJlaLRr.js} +19 -19
- package/dist/{Index-BPkIQhtP.js → Index-szvZl8G-.js} +4 -4
- package/dist/{Index.vue_vue_type_script_lang-DQvhsOS6.js → Index.vue_vue_type_script_lang-CXjOi3FM.js} +2 -2
- package/dist/{InputToggleRow-d20mUVX2.js → InputToggleRow-3992FkvA.js} +5 -5
- package/dist/{ManualPopover-Cj5mxzND.js → ManualPopover-UiHhIKuw.js} +5 -5
- package/dist/{MediaWrapper-DWUR2K0S.js → MediaWrapper-BlaBWAWe.js} +5 -5
- package/dist/{NotBindingText-Dj7llcNG.js → NotBindingText-C14r7OLr.js} +2 -2
- package/dist/{PackageGroup-BNuMEute.js → PackageGroup-ClZiyb95.js} +23 -23
- package/dist/{PdfTerms-DdHFdJF8.js → PdfTerms-CbVKGNxc.js} +6 -6
- package/dist/{PdfViewer-w58AEZEU.js → PdfViewer-B_7DfQr7.js} +59 -59
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-DAy6tOo4.js → PlainHtml.vue_vue_type_script_setup_true_lang-BM9WSi7y.js} +1 -1
- package/dist/{PriceHeader-BBSS5378.js → PriceHeader-DRkCMuGD.js} +74 -74
- package/dist/{SearchApi-DiNXQk3K.js → SearchApi-6-uNsMl8.js} +3 -3
- package/dist/{SendForm-CRCrqy3V.js → SendForm-DnwHPbWV.js} +13 -13
- package/dist/{Setup-ClnyQJWX.js → Setup-Dz3ZCvFw.js} +1 -1
- package/dist/{SmartList-ICs2gnpw.js → SmartList-7RooD2fY.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-DJO7tWIs.js → Sortable.vue_vue_type_script_setup_true_lang-cAzUeXVM.js} +92 -92
- package/dist/{TermsSettings-BDBrMOTk.js → TermsSettings-BEB2t3Ut.js} +29 -29
- package/dist/{ThemeColorRow-ye4CbnQe.js → ThemeColorRow-XE9QcVAy.js} +8 -8
- package/dist/{ToggleBinding-CCVOOpHC.js → ToggleBinding-BeXQfpcK.js} +4 -4
- package/dist/{UploadModal-CE3Gyz8g.js → UploadModal-pRlJXk-Y.js} +12 -12
- package/dist/{VideoPlayerInput-DcYaE3Xn.js → VideoPlayerInput-qankN5Ed.js} +7 -7
- package/dist/{VideoPlayerSettings-DTP_f2k2.js → VideoPlayerSettings-WijGYtE2.js} +2 -2
- package/dist/{VideoSelectModal-D4VpAg8Z.js → VideoSelectModal-Dhb7CmVu.js} +10 -10
- package/dist/{focusDrawerMixin-Dmt0M_ez.js → focusDrawerMixin-DELQ4Leq.js} +1 -1
- package/dist/{formDrawerState-BTI6RBrh.js → formDrawerState-D_OOByIg.js} +1 -1
- package/dist/{helpers-BipYFMq7.js → helpers-BnYWgq30.js} +1 -1
- package/dist/{index-BsNrnPKD.js → index-6175cimw.js} +5 -5
- package/dist/{index-CrYE_wD5.js → index-BGFTOrwb.js} +69 -77
- package/dist/{index-CAX6ZePf.js → index-BIWUM14f.js} +1 -1
- package/dist/{index-BLB7xfoK.js → index-CFD_4fv_.js} +41 -41
- package/dist/{index-mN_zKU2T.js → index-DRINkuNg.js} +7 -18
- package/dist/{index-k3WjZPJe.js → index-KcSRVleg.js} +26 -26
- package/dist/{index-Bei9XuEH.js → index-P4A85Ytd.js} +27 -27
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +145 -145
- package/dist/{main-C3pW_mbm.js → main-q_EWffDQ.js} +9169 -9201
- package/dist/{mapFormMixin-CxDDheFN.js → mapFormMixin-DjPlsXfr.js} +15 -15
- package/dist/omit-DWur9Ujv.js +56 -0
- package/dist/{publicSenderState-CDeVVN6w.js → publicSenderState-BkZVvtJm.js} +1 -1
- package/dist/{splitpanes-Co3TdG3A.js → splitpanes-BR5qxnsj.js} +1 -1
- package/dist/{template-CERxPxb1.js → template-CQlJbqXR.js} +1 -1
- package/dist/{tippy.esm-x-zxHTNy.js → tippy.esm-BABwSp3j.js} +7 -7
- package/dist/{useTermsModal-C01kFCTx.js → useTermsModal-Bj2B-TdQ.js} +6 -6
- package/dist/{utils-BIrpSTl7.js → utils-C53ntVIe.js} +1 -1
- package/dist/{validation-uD43rMVf.js → validation-u_PNxOm8.js} +2 -2
- package/dist/widget.css +1 -1
- package/package.json +5 -5
- package/dist/Index-C8LrEVrS.js +0 -52
- package/dist/Index-CtDVS-ts.js +0 -4
- package/dist/omit-CCSRNlMn.js +0 -56
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { C as L } from "./ClientAutocomplete-
|
|
2
|
-
import { _ as z,
|
|
3
|
-
import { C as oe, a as ne, w as
|
|
4
|
-
import { _ as le } from "./CFormField.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { C as ae } from "./CPhoneInput-
|
|
6
|
-
import { u as ie } from "./index-
|
|
7
|
-
import { r as se, a as $, e as re } from "./index-
|
|
8
|
-
import { o as de } from "./omit-
|
|
1
|
+
import { C as L } from "./ClientAutocomplete-0XPP0tZr.js";
|
|
2
|
+
import { _ as z, aU as j, o as f, b as h, O as Z, aV as H, s as i, ad as N, n as y, K as Y, J as G, ai as B, ap as K, m as P, ak as J, v as r, d as n, w as a, c as b, f as v, F as O, k as F, H as C, e as g, A as k, aj as Q, N as X, p as _, a as x, g as q, be as ee, aH as te } from "./main-q_EWffDQ.js";
|
|
3
|
+
import { C as oe, a as ne, w as E } from "./CDropdownItem-BWmAQwpG.js";
|
|
4
|
+
import { _ as le } from "./CFormField.vue_vue_type_script_setup_true_lang-DzcNo15Q.js";
|
|
5
|
+
import { C as ae } from "./CPhoneInput-Dl7BSG8y.js";
|
|
6
|
+
import { u as ie } from "./index-CFD_4fv_.js";
|
|
7
|
+
import { r as se, a as $, e as re } from "./index-BIWUM14f.js";
|
|
8
|
+
import { o as de } from "./omit-DWur9Ujv.js";
|
|
9
9
|
const me = {
|
|
10
10
|
name: "CRadio",
|
|
11
11
|
mixins: [j]
|
|
@@ -16,7 +16,7 @@ function fe(e, t, s, d, u, l) {
|
|
|
16
16
|
class: y([[`is-${e.size}`, { "is-disabled": e.disabled }], "b-radio radio"]),
|
|
17
17
|
disabled: e.disabledOrUndefined,
|
|
18
18
|
onClick: t[2] || (t[2] = (...c) => e.focus && e.focus(...c)),
|
|
19
|
-
onKeydown: t[3] || (t[3] =
|
|
19
|
+
onKeydown: t[3] || (t[3] = G(N((c) => e.$refs.label.click(), ["prevent"]), ["enter"]))
|
|
20
20
|
}, [
|
|
21
21
|
Z(i("input", {
|
|
22
22
|
ref: "input",
|
|
@@ -29,13 +29,13 @@ function fe(e, t, s, d, u, l) {
|
|
|
29
29
|
onClick: t[1] || (t[1] = N(() => {
|
|
30
30
|
}, ["stop"]))
|
|
31
31
|
}, null, 8, pe), [
|
|
32
|
-
[
|
|
32
|
+
[H, e.computedValue]
|
|
33
33
|
]),
|
|
34
34
|
i("span", {
|
|
35
35
|
class: y([`is-${e.type}`, "check"])
|
|
36
36
|
}, null, 2),
|
|
37
37
|
i("span", ce, [
|
|
38
|
-
|
|
38
|
+
Y(e.$slots, "default")
|
|
39
39
|
])
|
|
40
40
|
], 42, ue);
|
|
41
41
|
}
|
|
@@ -210,7 +210,7 @@ const he = {
|
|
|
210
210
|
"update:answer-method",
|
|
211
211
|
"submit"
|
|
212
212
|
],
|
|
213
|
-
mixins: [
|
|
213
|
+
mixins: [E],
|
|
214
214
|
props: {
|
|
215
215
|
requireReference: {
|
|
216
216
|
type: Boolean,
|
|
@@ -313,7 +313,7 @@ const he = {
|
|
|
313
313
|
reverseVat: "endCustomer.reverseVat",
|
|
314
314
|
doUpdateEndCustomer: "endCustomer.doUpdateEndCustomer"
|
|
315
315
|
}),
|
|
316
|
-
...
|
|
316
|
+
...P({
|
|
317
317
|
isPosting: "endCustomers/isPosting",
|
|
318
318
|
companyRegion: "application/companyRegion",
|
|
319
319
|
feature: "application/feature"
|
|
@@ -378,7 +378,7 @@ const he = {
|
|
|
378
378
|
}, ze = { class: "my-1 text-sm text-gray-600" }, Re = { class: "py-1 leading-5" }, De = { class: "text-xs opacity-70" }, Ue = { style: { "line-height": "1.25", padding: "4px 0" } }, qe = { style: { "font-size": "12px", opacity: "0.7" } }, Ae = {
|
|
379
379
|
key: 1,
|
|
380
380
|
class: "dropdown-field-wrapper flex min-w-0 flex-col"
|
|
381
|
-
}, Be = { class: "my-1 text-sm text-gray-600" },
|
|
381
|
+
}, Be = { class: "my-1 text-sm text-gray-600" }, Pe = { class: "max-w-[calc(16_*_var(--rem))] py-1 leading-5" }, Ee = { class: "truncate text-xs opacity-70" }, Te = { style: { "line-height": "1.25", padding: "4px 0" } }, We = {
|
|
382
382
|
class: "max-w-[calc(12_*_var(--rem))] truncate",
|
|
383
383
|
style: { "font-size": "12px", opacity: "0.7", "text-wrap": "wrap" }
|
|
384
384
|
}, Le = { style: { "margin-top": "calc(3 * var(--rem))" } };
|
|
@@ -882,9 +882,9 @@ function je(e, t, s, d, u, l) {
|
|
|
882
882
|
expanded: ""
|
|
883
883
|
}, {
|
|
884
884
|
default: a(() => [
|
|
885
|
-
i("div",
|
|
885
|
+
i("div", Pe, [
|
|
886
886
|
i("div", null, r(e.$t(`signMethod.${s.answerMethod.accept}.title`)), 1),
|
|
887
|
-
i("div",
|
|
887
|
+
i("div", Ee, r(e.$t(`signMethod.${s.answerMethod.accept}.content`)), 1)
|
|
888
888
|
])
|
|
889
889
|
]),
|
|
890
890
|
_: 1
|
|
@@ -930,10 +930,10 @@ function je(e, t, s, d, u, l) {
|
|
|
930
930
|
], 2))
|
|
931
931
|
]);
|
|
932
932
|
}
|
|
933
|
-
const Ze = /* @__PURE__ */ z(ye, [["render", je], ["__scopeId", "data-v-a49b2cec"]]), { mapFields:
|
|
933
|
+
const Ze = /* @__PURE__ */ z(ye, [["render", je], ["__scopeId", "data-v-a49b2cec"]]), { mapFields: He } = B({
|
|
934
934
|
getterType: "forms/getField",
|
|
935
935
|
mutationType: "forms/updateField"
|
|
936
|
-
}),
|
|
936
|
+
}), Ye = {
|
|
937
937
|
name: "ClientModal",
|
|
938
938
|
i18nOptions: {
|
|
939
939
|
namespaces: "clientModal",
|
|
@@ -968,7 +968,7 @@ const Ze = /* @__PURE__ */ z(ye, [["render", je], ["__scopeId", "data-v-a49b2cec
|
|
|
968
968
|
FormClient: Ze
|
|
969
969
|
},
|
|
970
970
|
emits: ["close"],
|
|
971
|
-
mixins: [
|
|
971
|
+
mixins: [E],
|
|
972
972
|
props: {
|
|
973
973
|
documentClientIndex: {
|
|
974
974
|
type: Number,
|
|
@@ -1017,13 +1017,13 @@ const Ze = /* @__PURE__ */ z(ye, [["render", je], ["__scopeId", "data-v-a49b2cec
|
|
|
1017
1017
|
};
|
|
1018
1018
|
},
|
|
1019
1019
|
computed: {
|
|
1020
|
-
...
|
|
1020
|
+
...He({
|
|
1021
1021
|
endCustomer: "endCustomer"
|
|
1022
1022
|
}),
|
|
1023
1023
|
...Q("forms", {
|
|
1024
1024
|
formData: (e) => e.document2
|
|
1025
1025
|
}),
|
|
1026
|
-
...
|
|
1026
|
+
...P({
|
|
1027
1027
|
can: "application/can",
|
|
1028
1028
|
feature: "application/feature",
|
|
1029
1029
|
defaultClientType: "endCustomers/defaultClientType"
|
|
@@ -1128,14 +1128,14 @@ const Ze = /* @__PURE__ */ z(ye, [["render", je], ["__scopeId", "data-v-a49b2cec
|
|
|
1128
1128
|
});
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
|
1131
|
-
},
|
|
1131
|
+
}, Ge = { class: "max-sm:h-initial relative mx-auto flex flex-col items-center rounded-xl bg-white p-10 text-lg max-sm:min-h-full max-sm:w-full max-sm:rounded-none max-sm:pt-16" };
|
|
1132
1132
|
function Ke(e, t, s, d, u, l) {
|
|
1133
1133
|
const c = g("CButton"), m = g("FormClient");
|
|
1134
1134
|
return f(), h("div", {
|
|
1135
1135
|
class: "font-primary fixed inset-0 z-[1000] grid place-items-center overflow-auto bg-black bg-opacity-10 max-sm:block max-sm:min-h-full max-sm:w-full max-sm:overflow-auto sm:py-4",
|
|
1136
1136
|
onClickPassive: t[4] || (t[4] = N((...p) => l.close && l.close(...p), ["self"]))
|
|
1137
1137
|
}, [
|
|
1138
|
-
i("div",
|
|
1138
|
+
i("div", Ge, [
|
|
1139
1139
|
n(c, {
|
|
1140
1140
|
class: y([u.showMore ? "" : "sm:!hidden", "z-2 absolute right-4 top-4"]),
|
|
1141
1141
|
pattern: "tertiary",
|
|
@@ -1177,7 +1177,7 @@ function Ke(e, t, s, d, u, l) {
|
|
|
1177
1177
|
])
|
|
1178
1178
|
], 32);
|
|
1179
1179
|
}
|
|
1180
|
-
const Je = /* @__PURE__ */ z(
|
|
1180
|
+
const Je = /* @__PURE__ */ z(Ye, [["render", Ke]]), lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1181
1181
|
__proto__: null,
|
|
1182
1182
|
default: Je
|
|
1183
1183
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as f, b as m, l as k, e as S, s as h, d as v,
|
|
1
|
+
import { o as f, b as m, l as k, e as S, s as h, d as v, O as R, bX as ee, v as Y, n as J, c as U, f as p, P as T, _ as te } from "./main-q_EWffDQ.js";
|
|
2
2
|
const re = "";
|
|
3
3
|
function H(e, t) {
|
|
4
4
|
t === void 0 && (t = {});
|
|
@@ -199,7 +199,7 @@ function pe(e, t, r) {
|
|
|
199
199
|
b: d(r, 255) * 255
|
|
200
200
|
};
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function G(e, t, r) {
|
|
203
203
|
e = d(e, 255), t = d(t, 255), r = d(r, 255);
|
|
204
204
|
var n = Math.max(e, t, r), a = Math.min(e, t, r), i = 0, s = 0, o = (n + a) / 2;
|
|
205
205
|
if (n === a)
|
|
@@ -293,7 +293,7 @@ function we(e) {
|
|
|
293
293
|
b: e & 255
|
|
294
294
|
};
|
|
295
295
|
}
|
|
296
|
-
var
|
|
296
|
+
var W = {
|
|
297
297
|
aliceblue: "#f0f8ff",
|
|
298
298
|
antiquewhite: "#faebd7",
|
|
299
299
|
aqua: "#00ffff",
|
|
@@ -471,8 +471,8 @@ function ke(e) {
|
|
|
471
471
|
if (e = e.trim().toLowerCase(), e.length === 0)
|
|
472
472
|
return !1;
|
|
473
473
|
var t = !1;
|
|
474
|
-
if (
|
|
475
|
-
e =
|
|
474
|
+
if (W[e])
|
|
475
|
+
e = W[e], t = !0;
|
|
476
476
|
else if (e === "transparent")
|
|
477
477
|
return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
|
478
478
|
var r = b.rgb.exec(e);
|
|
@@ -539,10 +539,10 @@ var Me = (
|
|
|
539
539
|
var t = q(this.r, this.g, this.b), r = Math.round(t.h * 360), n = Math.round(t.s * 100), a = Math.round(t.v * 100);
|
|
540
540
|
return this.a === 1 ? "hsv(".concat(r, ", ").concat(n, "%, ").concat(a, "%)") : "hsva(".concat(r, ", ").concat(n, "%, ").concat(a, "%, ").concat(this.roundA, ")");
|
|
541
541
|
}, e.prototype.toHsl = function() {
|
|
542
|
-
var t =
|
|
542
|
+
var t = G(this.r, this.g, this.b);
|
|
543
543
|
return { h: t.h * 360, s: t.s, l: t.l, a: this.a };
|
|
544
544
|
}, e.prototype.toHslString = function() {
|
|
545
|
-
var t =
|
|
545
|
+
var t = G(this.r, this.g, this.b), r = Math.round(t.h * 360), n = Math.round(t.s * 100), a = Math.round(t.l * 100);
|
|
546
546
|
return this.a === 1 ? "hsl(".concat(r, ", ").concat(n, "%, ").concat(a, "%)") : "hsla(".concat(r, ", ").concat(n, "%, ").concat(a, "%, ").concat(this.roundA, ")");
|
|
547
547
|
}, e.prototype.toHex = function(t) {
|
|
548
548
|
return t === void 0 && (t = !1), K(this.r, this.g, this.b, t);
|
|
@@ -584,7 +584,7 @@ var Me = (
|
|
|
584
584
|
return "transparent";
|
|
585
585
|
if (this.a < 1)
|
|
586
586
|
return !1;
|
|
587
|
-
for (var t = "#" + K(this.r, this.g, this.b, !1), r = 0, n = Object.entries(
|
|
587
|
+
for (var t = "#" + K(this.r, this.g, this.b, !1), r = 0, n = Object.entries(W); r < n.length; r++) {
|
|
588
588
|
var a = n[r], i = a[0], s = a[1];
|
|
589
589
|
if (t === s)
|
|
590
590
|
return i;
|
|
@@ -827,11 +827,11 @@ function Te(e, t, r, n, a, i) {
|
|
|
827
827
|
id: i.labelId,
|
|
828
828
|
for: r.label,
|
|
829
829
|
class: "vc-input__label"
|
|
830
|
-
},
|
|
830
|
+
}, Y(i.labelSpanText), 9, Re),
|
|
831
831
|
h(
|
|
832
832
|
"span",
|
|
833
833
|
Ee,
|
|
834
|
-
|
|
834
|
+
Y(r.desc),
|
|
835
835
|
1
|
|
836
836
|
/* TEXT */
|
|
837
837
|
)
|
|
@@ -842,7 +842,7 @@ H(Le);
|
|
|
842
842
|
F.render = Te;
|
|
843
843
|
F.__file = "src/components/editable-input/editable-input.vue";
|
|
844
844
|
F.install = A;
|
|
845
|
-
function
|
|
845
|
+
function P(e, t, r) {
|
|
846
846
|
return t < r ? e < t ? t : e > r ? r : e : e < r ? r : e > t ? t : e;
|
|
847
847
|
}
|
|
848
848
|
var B = {
|
|
@@ -870,7 +870,7 @@ var B = {
|
|
|
870
870
|
const { container: r } = this.$refs;
|
|
871
871
|
if (!r)
|
|
872
872
|
return;
|
|
873
|
-
const n = r.clientWidth, a = r.clientHeight, i = r.getBoundingClientRect().left + window.pageXOffset, s = r.getBoundingClientRect().top + window.pageYOffset, o = e.pageX || (e.touches ? e.touches[0].pageX : 0), u = e.pageY || (e.touches ? e.touches[0].pageY : 0), x =
|
|
873
|
+
const n = r.clientWidth, a = r.clientHeight, i = r.getBoundingClientRect().left + window.pageXOffset, s = r.getBoundingClientRect().top + window.pageYOffset, o = e.pageX || (e.touches ? e.touches[0].pageX : 0), u = e.pageY || (e.touches ? e.touches[0].pageY : 0), x = P(o - i, 0, n), c = P(u - s, 0, a), l = x / n, M = P(-(c / a) + 1, 0, 1);
|
|
874
874
|
this.onChange({
|
|
875
875
|
h: this.colors.hsv.h,
|
|
876
876
|
s: l,
|
|
@@ -1181,7 +1181,7 @@ var O = {
|
|
|
1181
1181
|
}
|
|
1182
1182
|
}
|
|
1183
1183
|
};
|
|
1184
|
-
const je = { class: "vc-chrome-saturation-wrap" },
|
|
1184
|
+
const je = { class: "vc-chrome-saturation-wrap" }, Pe = { class: "vc-chrome-body" }, We = { class: "vc-chrome-controls" }, Ye = { class: "vc-chrome-color-wrap" }, Ge = ["aria-label"], qe = { class: "vc-chrome-sliders" }, Ke = { class: "vc-chrome-hue-wrap" }, Ze = {
|
|
1185
1185
|
key: 0,
|
|
1186
1186
|
class: "vc-chrome-alpha-wrap"
|
|
1187
1187
|
}, Je = {
|
|
@@ -1221,14 +1221,14 @@ function pt(e, t, r, n, a, i) {
|
|
|
1221
1221
|
onChange: i.childChange
|
|
1222
1222
|
}, null, 8, ["value", "onChange"])
|
|
1223
1223
|
]),
|
|
1224
|
-
h("div",
|
|
1225
|
-
h("div",
|
|
1226
|
-
h("div",
|
|
1224
|
+
h("div", Pe, [
|
|
1225
|
+
h("div", We, [
|
|
1226
|
+
h("div", Ye, [
|
|
1227
1227
|
h("div", {
|
|
1228
1228
|
"aria-label": `current color is ${e.colors.hex}`,
|
|
1229
1229
|
class: "vc-chrome-active-color",
|
|
1230
1230
|
style: k({ background: i.activeColor })
|
|
1231
|
-
}, null, 12,
|
|
1231
|
+
}, null, 12, Ge),
|
|
1232
1232
|
r.disableAlpha ? p("v-if", !0) : (f(), U(o, { key: 0 }))
|
|
1233
1233
|
]),
|
|
1234
1234
|
h("div", qe, [
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as b } from "./CFormField.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { C as U } from "./CPhoneInput-
|
|
3
|
-
import { w as v } from "./CDropdownItem-
|
|
4
|
-
import { _ as F,
|
|
5
|
-
import { u as E } from "./index-
|
|
6
|
-
import { r as k, e as w } from "./index-
|
|
7
|
-
import { s as C, a as
|
|
8
|
-
const { mapFields:
|
|
1
|
+
import { _ as b } from "./CFormField.vue_vue_type_script_setup_true_lang-DzcNo15Q.js";
|
|
2
|
+
import { C as U } from "./CPhoneInput-Dl7BSG8y.js";
|
|
3
|
+
import { w as v } from "./CDropdownItem-BWmAQwpG.js";
|
|
4
|
+
import { _ as F, ai as P, m as S, aj as f, a as M, g as l, e as r, o as y, b as N, s as d, c as V, f as z, v as h, d as i, w as m, H as I, l as _, n as $, ad as O } from "./main-q_EWffDQ.js";
|
|
5
|
+
import { u as E } from "./index-CFD_4fv_.js";
|
|
6
|
+
import { r as k, e as w } from "./index-BIWUM14f.js";
|
|
7
|
+
import { s as C, a as R } from "./publicSenderState-BkZVvtJm.js";
|
|
8
|
+
const { mapFields: B } = P({
|
|
9
9
|
getterType: "forms/getField",
|
|
10
10
|
mutationType: "forms/updateField"
|
|
11
11
|
}), q = {
|
|
@@ -52,7 +52,7 @@ const { mapFields: R } = P({
|
|
|
52
52
|
companyRegion: "application/companyRegion",
|
|
53
53
|
can: "application/can"
|
|
54
54
|
}),
|
|
55
|
-
...
|
|
55
|
+
...B({
|
|
56
56
|
company: "company",
|
|
57
57
|
user: "companyUser",
|
|
58
58
|
name: "company.name",
|
|
@@ -111,7 +111,7 @@ const { mapFields: R } = P({
|
|
|
111
111
|
}));
|
|
112
112
|
},
|
|
113
113
|
async save() {
|
|
114
|
-
this.v$.$touch(), !this.v$.$invalid && (this.isLoading = !0, this.isPublicForm ?
|
|
114
|
+
this.v$.$touch(), !this.v$.$invalid && (this.isLoading = !0, this.isPublicForm ? R({ company: this.company, user: this.user }) : await Promise.all([
|
|
115
115
|
...this.hasChanged("company") ? [this.formSubmitCompany()] : [],
|
|
116
116
|
...this.hasChanged("companyUser") && this.currentUserId === this.documentCompanyUserId ? [this.formSubmitCompanyUser()] : []
|
|
117
117
|
]), this.$emit("close"), this.isLoading = !1);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as T } from "./mapFormMixin-
|
|
2
|
-
import { B as k } from "./BlockMedia
|
|
3
|
-
import { t as w } from "./template-
|
|
4
|
-
import { T as
|
|
5
|
-
import { _ as h, o as l, b as d,
|
|
1
|
+
import { m as T } from "./mapFormMixin-DjPlsXfr.js";
|
|
2
|
+
import { B as k } from "./BlockMedia-BSGtFCsS.js";
|
|
3
|
+
import { t as w } from "./template-CQlJbqXR.js";
|
|
4
|
+
import { T as L } from "./DocTextEditor-BVba4QPz.js";
|
|
5
|
+
import { _ as h, o as l, b as d, K as s, s as p, n as b, z as $, aI as C, B as S, E as x, D as N, e as i, d as f, w as m, c as u, f as E, L as _ } from "./main-q_EWffDQ.js";
|
|
6
6
|
import { i as F } from "./i18nMessages-Chz_lxGG.js";
|
|
7
7
|
const M = {
|
|
8
8
|
name: "StaticComboLayout",
|
|
@@ -46,18 +46,18 @@ function z(e, t, n, v, g, o) {
|
|
|
46
46
|
s(e.$slots, "postText")
|
|
47
47
|
], 2));
|
|
48
48
|
}
|
|
49
|
-
const
|
|
49
|
+
const I = /* @__PURE__ */ h(M, [["render", z]]), j = {
|
|
50
50
|
name: "StaticLayout",
|
|
51
51
|
i18nOptions: {
|
|
52
52
|
namespaces: "staticLayout",
|
|
53
53
|
messages: F
|
|
54
54
|
},
|
|
55
55
|
components: {
|
|
56
|
-
DocumentLogotype:
|
|
57
|
-
() => import("./DocumentLogotype-
|
|
56
|
+
DocumentLogotype: $(
|
|
57
|
+
() => import("./DocumentLogotype-DAVtl6S_.js")
|
|
58
58
|
),
|
|
59
|
-
StaticComboLayout:
|
|
60
|
-
TextEditor:
|
|
59
|
+
StaticComboLayout: I,
|
|
60
|
+
TextEditor: L
|
|
61
61
|
},
|
|
62
62
|
emits: ["input"],
|
|
63
63
|
mixins: [
|
|
@@ -93,7 +93,7 @@ const j = /* @__PURE__ */ h(M, [["render", z]]), A = {
|
|
|
93
93
|
set(e) {
|
|
94
94
|
this.documentName = e, this.$emit("input", {
|
|
95
95
|
key: "data.name",
|
|
96
|
-
value:
|
|
96
|
+
value: C(e).trim().slice(0, 255)
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
99
|
},
|
|
@@ -102,15 +102,15 @@ const j = /* @__PURE__ */ h(M, [["render", z]]), A = {
|
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
methods: {
|
|
105
|
-
mustacheToSpan:
|
|
105
|
+
mustacheToSpan: S,
|
|
106
106
|
spanToMustache: x,
|
|
107
107
|
interpolateString: N
|
|
108
108
|
}
|
|
109
|
-
},
|
|
109
|
+
}, A = { style: { "font-size": "calc(2 * var(--rem))", "font-weight": "700", margin: "calc(1 * var(--rem)) 0" } }, U = ["innerHTML"];
|
|
110
110
|
function D(e, t, n, v, g, o) {
|
|
111
111
|
const c = i("DocumentLogotype"), r = i("TextEditor"), y = i("StaticComboLayout");
|
|
112
112
|
return l(), d("div", {
|
|
113
|
-
class: b([[`is-layout-${e.layout}`], "dont-break-out
|
|
113
|
+
class: b([[`is-layout-${e.layout}`], "dont-break-out flex w-full flex-col hyphens-auto break-words"]),
|
|
114
114
|
style: { "word-wrap": "break-word", "word-break": "break-word" }
|
|
115
115
|
}, [
|
|
116
116
|
f(y, { layout: e.layout }, {
|
|
@@ -134,7 +134,6 @@ function D(e, t, n, v, g, o) {
|
|
|
134
134
|
e._document._doc
|
|
135
135
|
) : o.interpolateString(e.preText, e._document._doc),
|
|
136
136
|
mentions: o.mentions,
|
|
137
|
-
snippets: !0,
|
|
138
137
|
placeholder: e.$t("optional").capitalize(),
|
|
139
138
|
class: "no-drag header-text",
|
|
140
139
|
static: "",
|
|
@@ -143,7 +142,7 @@ function D(e, t, n, v, g, o) {
|
|
|
143
142
|
}, null, 8, ["model-value", "mentions", "placeholder"]))
|
|
144
143
|
]),
|
|
145
144
|
documentName: m(() => [
|
|
146
|
-
p("div",
|
|
145
|
+
p("div", A, [
|
|
147
146
|
e.canEdit ? (l(), u(r, {
|
|
148
147
|
key: 0,
|
|
149
148
|
ref: "nameEditor",
|
|
@@ -180,7 +179,6 @@ function D(e, t, n, v, g, o) {
|
|
|
180
179
|
) : o.interpolateString(e.postText, e._document._doc),
|
|
181
180
|
editable: e.canEdit,
|
|
182
181
|
mentions: o.mentions,
|
|
183
|
-
snippets: !0,
|
|
184
182
|
placeholder: e.$t("optional").capitalize(),
|
|
185
183
|
class: "no-drag header-text",
|
|
186
184
|
style: { width: "100%" },
|
|
@@ -193,7 +191,7 @@ function D(e, t, n, v, g, o) {
|
|
|
193
191
|
}, 8, ["layout"])
|
|
194
192
|
], 2);
|
|
195
193
|
}
|
|
196
|
-
const O = /* @__PURE__ */ h(
|
|
194
|
+
const O = /* @__PURE__ */ h(j, [["render", D], ["__scopeId", "data-v-a6f5c563"]]), q = {
|
|
197
195
|
name: "ContentWrapper",
|
|
198
196
|
components: {
|
|
199
197
|
StaticCombo: O,
|
|
@@ -230,9 +228,9 @@ const O = /* @__PURE__ */ h(A, [["render", D], ["__scopeId", "data-v-9c0b02ef"]]
|
|
|
230
228
|
}
|
|
231
229
|
}
|
|
232
230
|
}, W = { class: "content-spacing" };
|
|
233
|
-
function
|
|
231
|
+
function K(e, t, n, v, g, o) {
|
|
234
232
|
const c = i("BlockMedia"), r = i("StaticCombo");
|
|
235
|
-
return l(), d("div",
|
|
233
|
+
return l(), d("div", _(e.$attrs, {
|
|
236
234
|
style: { color: o.color, textAlign: o.textAlign },
|
|
237
235
|
class: [{ "has-hover": n.hasHover }, "content-root"]
|
|
238
236
|
}), [
|
|
@@ -240,7 +238,7 @@ function P(e, t, n, v, g, o) {
|
|
|
240
238
|
key: 0,
|
|
241
239
|
media: e.item.media,
|
|
242
240
|
class: "content-media"
|
|
243
|
-
}, null, 8, ["media"])) :
|
|
241
|
+
}, null, 8, ["media"])) : E("", !0),
|
|
244
242
|
p("div", W, [
|
|
245
243
|
f(r, {
|
|
246
244
|
"has-hover": n.hasHover,
|
|
@@ -259,7 +257,7 @@ function P(e, t, n, v, g, o) {
|
|
|
259
257
|
])
|
|
260
258
|
], 16);
|
|
261
259
|
}
|
|
262
|
-
const Y = /* @__PURE__ */ h(q, [["render",
|
|
260
|
+
const Y = /* @__PURE__ */ h(q, [["render", K], ["__scopeId", "data-v-22ef2030"]]);
|
|
263
261
|
export {
|
|
264
262
|
Y as default
|
|
265
263
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { m as z } from "./mapFormMixin-
|
|
2
|
-
import { T as
|
|
3
|
-
import { b as
|
|
4
|
-
import { _ as w,
|
|
5
|
-
import { b as
|
|
6
|
-
const
|
|
1
|
+
import { m as z } from "./mapFormMixin-DjPlsXfr.js";
|
|
2
|
+
import { T as B } from "./ThemeColorRow-XE9QcVAy.js";
|
|
3
|
+
import { b as L } from "./helpers-BnYWgq30.js";
|
|
4
|
+
import { _ as w, a2 as M, o as l, b as u, s as n, L as x, J as f, ad as y, K as $, f as p, n as T, l as b, e as g, F as V, k as _, c as S, d as v, v as h, G as U, w as k, H as C, ao as K, z as R } from "./main-q_EWffDQ.js";
|
|
5
|
+
import { b as N } from "./CDropdownItem-BWmAQwpG.js";
|
|
6
|
+
const I = {
|
|
7
7
|
name: "CSliderThumb",
|
|
8
8
|
mixins: [M],
|
|
9
9
|
props: {
|
|
@@ -124,7 +124,7 @@ function X(e, t, s, a, r, i) {
|
|
|
124
124
|
}), null, 16, O)
|
|
125
125
|
], 16);
|
|
126
126
|
}
|
|
127
|
-
const A = /* @__PURE__ */ w(
|
|
127
|
+
const A = /* @__PURE__ */ w(I, [["render", X]]), H = {
|
|
128
128
|
name: "CSliderTick",
|
|
129
129
|
props: {
|
|
130
130
|
value: {
|
|
@@ -150,25 +150,25 @@ const A = /* @__PURE__ */ w(K, [["render", X]]), H = {
|
|
|
150
150
|
return { left: `${e}%` };
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
-
},
|
|
153
|
+
}, G = {
|
|
154
154
|
key: 0,
|
|
155
155
|
class: "c-slider-tick-label"
|
|
156
156
|
};
|
|
157
|
-
function
|
|
157
|
+
function Y(e, t, s, a, r, i) {
|
|
158
158
|
return l(), u("div", {
|
|
159
159
|
class: T([{ "is-tick-hidden": i.hidden }, "c-slider-tick"]),
|
|
160
160
|
style: b(i.getTickStyle(i.position))
|
|
161
161
|
}, [
|
|
162
|
-
e.$slots.default ? (l(), u("span",
|
|
162
|
+
e.$slots.default ? (l(), u("span", G, [
|
|
163
163
|
$(e.$slots, "default")
|
|
164
164
|
])) : p("", !0)
|
|
165
165
|
], 6);
|
|
166
166
|
}
|
|
167
|
-
const
|
|
167
|
+
const j = /* @__PURE__ */ w(H, [["render", Y]]), q = {
|
|
168
168
|
name: "CSlider",
|
|
169
169
|
components: {
|
|
170
170
|
CSliderThumb: A,
|
|
171
|
-
CSliderTick:
|
|
171
|
+
CSliderTick: j
|
|
172
172
|
},
|
|
173
173
|
props: {
|
|
174
174
|
modelValue: {
|
|
@@ -329,14 +329,14 @@ const Y = /* @__PURE__ */ w(H, [["render", G]]), q = {
|
|
|
329
329
|
if (!(this.min > this.max))
|
|
330
330
|
if (Array.isArray(e)) {
|
|
331
331
|
this.isRange = !0;
|
|
332
|
-
const t = typeof e[0] != "number" || isNaN(e[0]) ? this.min :
|
|
332
|
+
const t = typeof e[0] != "number" || isNaN(e[0]) ? this.min : L(e[0], this.min, this.max), s = typeof e[1] != "number" || isNaN(e[1]) ? this.max : L(e[1], this.min, this.max);
|
|
333
333
|
this.internal = {
|
|
334
334
|
value1: this.isThumbReversed ? s : t,
|
|
335
335
|
value2: this.isThumbReversed ? t : s
|
|
336
336
|
};
|
|
337
337
|
} else
|
|
338
338
|
this.isRange = !1, this.internal = {
|
|
339
|
-
value1: isNaN(e) ? this.min :
|
|
339
|
+
value1: isNaN(e) ? this.min : L(e, this.min, this.max),
|
|
340
340
|
value2: null
|
|
341
341
|
};
|
|
342
342
|
},
|
|
@@ -394,7 +394,7 @@ function Q(e, t, s, a, r, i) {
|
|
|
394
394
|
style: b(i.barStyle),
|
|
395
395
|
class: "c-slider-fill"
|
|
396
396
|
}, null, 4),
|
|
397
|
-
s.ticks ? (l(!0), u(V, { key: 0 },
|
|
397
|
+
s.ticks ? (l(!0), u(V, { key: 0 }, _(i.tickValues, (m, P) => (l(), S(o, {
|
|
398
398
|
key: P,
|
|
399
399
|
value: m
|
|
400
400
|
}, null, 8, ["value"]))), 128)) : p("", !0),
|
|
@@ -516,7 +516,7 @@ const oe = /* @__PURE__ */ w(ee, [["render", se], ["__scopeId", "data-v-fe95bfec
|
|
|
516
516
|
}
|
|
517
517
|
},
|
|
518
518
|
components: {
|
|
519
|
-
ThemeColorRow:
|
|
519
|
+
ThemeColorRow: B,
|
|
520
520
|
DegreePicker: oe
|
|
521
521
|
},
|
|
522
522
|
emits: ["input"],
|
|
@@ -599,11 +599,11 @@ function le(e, t, s, a, r, i) {
|
|
|
599
599
|
]);
|
|
600
600
|
}
|
|
601
601
|
const de = /* @__PURE__ */ w(ne, [["render", le], ["__scopeId", "data-v-a0f7de54"]]), ue = {
|
|
602
|
-
image:
|
|
603
|
-
() => import("./ImageSelectModal-
|
|
602
|
+
image: R(
|
|
603
|
+
() => import("./ImageSelectModal-CicYONc-.js")
|
|
604
604
|
),
|
|
605
|
-
video:
|
|
606
|
-
() => import("./VideoSelectModal-
|
|
605
|
+
video: R(
|
|
606
|
+
() => import("./VideoSelectModal-Dhb7CmVu.js")
|
|
607
607
|
)
|
|
608
608
|
}, me = {
|
|
609
609
|
name: "CoverBlockSettings",
|
|
@@ -629,10 +629,10 @@ const de = /* @__PURE__ */ w(ne, [["render", le], ["__scopeId", "data-v-a0f7de54
|
|
|
629
629
|
}
|
|
630
630
|
},
|
|
631
631
|
components: {
|
|
632
|
-
ThemeColorRow:
|
|
632
|
+
ThemeColorRow: B,
|
|
633
633
|
GradientPicker: de,
|
|
634
634
|
CSlider: W,
|
|
635
|
-
CSwitch:
|
|
635
|
+
CSwitch: N
|
|
636
636
|
},
|
|
637
637
|
mixins: [
|
|
638
638
|
z(
|
|
@@ -653,7 +653,7 @@ const de = /* @__PURE__ */ w(ne, [["render", le], ["__scopeId", "data-v-a0f7de54
|
|
|
653
653
|
],
|
|
654
654
|
data() {
|
|
655
655
|
return {
|
|
656
|
-
getUnsplashResized:
|
|
656
|
+
getUnsplashResized: K
|
|
657
657
|
};
|
|
658
658
|
},
|
|
659
659
|
methods: {
|
|
@@ -710,21 +710,21 @@ const de = /* @__PURE__ */ w(ne, [["render", le], ["__scopeId", "data-v-a0f7de54
|
|
|
710
710
|
key: 4,
|
|
711
711
|
class: "d-option",
|
|
712
712
|
style: { "padding-bottom": "0.5em" }
|
|
713
|
-
},
|
|
713
|
+
}, Le = { class: "d-option-title" }, _e = { style: { flex: "1 1 auto" } }, Te = {
|
|
714
714
|
key: 5,
|
|
715
715
|
class: "d-option"
|
|
716
|
-
}, Ee = { class: "d-option-title" }, xe = { style: { flex: "1 1 auto" } },
|
|
716
|
+
}, Ee = { class: "d-option-title" }, xe = { style: { flex: "1 1 auto" } }, Re = {
|
|
717
717
|
key: 0,
|
|
718
718
|
class: "d-option-row",
|
|
719
719
|
style: { "padding-top": "1em" }
|
|
720
720
|
};
|
|
721
|
-
function
|
|
721
|
+
function Be(e, t, s, a, r, i) {
|
|
722
722
|
const o = g("CButton"), c = g("CSlider"), m = g("ThemeColorRow"), P = g("GradientPicker"), F = g("CSwitch");
|
|
723
723
|
return l(), u("div", he, [
|
|
724
724
|
n("div", ce, [
|
|
725
725
|
n("div", pe, h(e.$t("_common:background").capitalize()), 1),
|
|
726
726
|
n("div", ge, [
|
|
727
|
-
(l(!0), u(V, null,
|
|
727
|
+
(l(!0), u(V, null, _([
|
|
728
728
|
{ label: e.$t("_common:image"), value: "image" },
|
|
729
729
|
{ label: e.$t("_common:color"), value: "color" },
|
|
730
730
|
{ label: e.$t("_common:gradient"), value: "gradient" },
|
|
@@ -755,7 +755,7 @@ function Re(e, t, s, a, r, i) {
|
|
|
755
755
|
e.resourceUrl ? (l(), u("div", fe, [
|
|
756
756
|
n("div", ye, h(e.$t("_common:filter").capitalize()), 1),
|
|
757
757
|
n("div", be, [
|
|
758
|
-
(l(), u(V, null,
|
|
758
|
+
(l(), u(V, null, _([
|
|
759
759
|
"",
|
|
760
760
|
"sepia(30%) brightness(110%) contrast(110%) grayscale(100%)",
|
|
761
761
|
"brightness(110%) contrast(90%) saturate(150%)",
|
|
@@ -816,8 +816,8 @@ function Re(e, t, s, a, r, i) {
|
|
|
816
816
|
onInput: t[4] || (t[4] = (d) => e.gradient = d)
|
|
817
817
|
}, null, 8, ["value"])) : p("", !0),
|
|
818
818
|
["image", "video"].includes(e.type) ? (l(), u("div", Pe, [
|
|
819
|
-
n("div",
|
|
820
|
-
n("div",
|
|
819
|
+
n("div", Le, [
|
|
820
|
+
n("div", _e, h(e.$t("_common:blur").capitalize()), 1),
|
|
821
821
|
v(c, {
|
|
822
822
|
"model-value": e.blur || 0,
|
|
823
823
|
max: 30,
|
|
@@ -840,7 +840,7 @@ function Re(e, t, s, a, r, i) {
|
|
|
840
840
|
"onUpdate:modelValue": i.toggleOverlay
|
|
841
841
|
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
842
842
|
]),
|
|
843
|
-
e.overlay ? (l(), u("div",
|
|
843
|
+
e.overlay ? (l(), u("div", Re, [
|
|
844
844
|
v(m, {
|
|
845
845
|
value: e.overlayColor || "",
|
|
846
846
|
placement: "top-end",
|
|
@@ -855,7 +855,7 @@ function Re(e, t, s, a, r, i) {
|
|
|
855
855
|
])) : p("", !0)
|
|
856
856
|
]);
|
|
857
857
|
}
|
|
858
|
-
const
|
|
858
|
+
const Ne = /* @__PURE__ */ w(me, [["render", Be], ["__scopeId", "data-v-6f8a8437"]]);
|
|
859
859
|
export {
|
|
860
|
-
|
|
860
|
+
Ne as default
|
|
861
861
|
};
|