@cling-se/widget 0.14.0 → 0.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AddClientCallout-C7BLDW6Y.js → AddClientCallout-BP2ip0A4.js} +3 -3
- package/dist/{AnswerModal-KWFteFV9.js → AnswerModal-C8i3ldB_.js} +3 -3
- package/dist/{AttachmentItem-CSerklBS.js → AttachmentItem-BrvrAMae.js} +2 -2
- package/dist/{BaseDatePicker-BOxfHGS8.js → BaseDatePicker-BSkAllLg.js} +481 -481
- package/dist/{BaseUpload-B-CktrCH.js → BaseUpload-J2v3G0-q.js} +13 -13
- package/dist/{BlockMedia-T4OxMb4n.js → BlockMedia-CAgKbN_k.js} +1 -1
- package/dist/{CCallout-yFt7TFJa.js → CCallout-D5Nk5DgN.js} +2 -2
- package/dist/CCurrencyDropdown-CGYQfYSD.js +246 -0
- package/dist/{CDropdownItem-DhEpCmQt.js → CDropdownItem-DGES8E6l.js} +7 -5
- package/dist/{CFormField-DDLf5YY4.js → CFormField-CE4rV3cr.js} +1 -1
- package/dist/{CPhoneFormat-B88rkuf0.js → CPhoneFormat-DXPrTit9.js} +1 -1
- package/dist/CPriceInput-CYsf1n6T.js +112 -0
- package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +1 -0
- package/dist/{ClientAutocomplete-DmRl3SUj.js → ClientAutocomplete-DPgOfPg1.js} +2 -2
- package/dist/{ClientModal-Dn3WDhGU.js → ClientModal-Dznh8Vvn.js} +44 -36
- package/dist/{ColorPicker-DX6JAsTn.js → ColorPicker-CWQEE8VR.js} +1 -1
- package/dist/{CompanyModal-BbO2nTd5.js → CompanyModal-CeZ3GgLu.js} +4 -4
- package/dist/{ContentWrapper-BvbmcTXK.js → ContentWrapper-DW7VHTdA.js} +6 -6
- package/dist/{CoverBlockSettings-C8FDwx7i.js → CoverBlockSettings-DNSdXFgF.js} +5 -5
- package/dist/{DocAnswer-OttbybQs.js → DocAnswer-CPttkKAJ.js} +2 -2
- package/dist/{DocDetails-J7O26zqa.js → DocDetails-BCwWW_kM.js} +7 -7
- package/dist/{DocForm-Bgbesq79.js → DocForm-BPjC08Ic.js} +54 -53
- package/dist/{DocFormSend-D_U3ztgw.js → DocFormSend-BaC8IJCu.js} +2 -2
- package/dist/{DocLinks-Dp-iQ-B_.js → DocLinks-DN-S8MY_.js} +2 -2
- package/dist/{DocModalBase-F-wlPg7j.js → DocModalBase-bFJp0T2Y.js} +1 -1
- package/dist/{DocPrint-B45voy0W.js → DocPrint-Ci7Jyh-C.js} +11 -17
- package/dist/{DocReceipt-jKVK5U-a.js → DocReceipt-BYlXr6eS.js} +6 -6
- package/dist/{DocSendReminder-BersSNb1.js → DocSendReminder-DFx4934a.js} +1 -1
- package/dist/{DocTextEditor-CYe_jWZ8.js → DocTextEditor-idQMnlIF.js} +281 -270
- package/dist/{DocTimeline-yyzh51yB.js → DocTimeline-ZmGSVRUB.js} +1 -1
- package/dist/{DocumentClient-CS_EVjK9.js → DocumentClient-DTRlyvLO.js} +5 -5
- package/dist/{DocumentLayout-Ba121Zro.js → DocumentLayout-BJAyNjNa.js} +4 -4
- package/dist/{DocumentLogotype-DUVhl9xC.js → DocumentLogotype-pDJRc6Hj.js} +3 -3
- package/dist/{DocumentVoided-D5ePc-a5.js → DocumentVoided-DfKewfe4.js} +1 -1
- package/dist/{EmbedInput-Ds-Z-0J2.js → EmbedInput-7hLNsnEV.js} +2 -2
- package/dist/{EmbedSettings-C8BP4YuY.js → EmbedSettings-CpL24RhA.js} +2 -2
- package/dist/{ErrorCallout-B_QrRAm6.js → ErrorCallout-CdJCe67q.js} +1 -1
- package/dist/{FilePreviewModal-B105PxLD.js → FilePreviewModal-B7qT3I7F.js} +2 -2
- package/dist/{Flag-hg61To9C.js → Flag-DwW19zju.js} +1 -1
- package/dist/{HeaderSettings-DIBiJc4I.js → HeaderSettings-C8SuuAwv.js} +7 -7
- package/dist/{ImageSelectModal-D2g42vWJ.js → ImageSelectModal-CAOh3YHc.js} +3 -3
- package/dist/{ImageUploadWrapper-CREUMKh3.js → ImageUploadWrapper-21yldsj9.js} +2 -2
- package/dist/{Index-8DAfMA_s.js → Index-B0BgYtWI.js} +5 -5
- package/dist/{Index-4NdatdH2.js → Index-BC1AhlQ9.js} +6 -6
- package/dist/{Index-CwulQoRG.js → Index-BZi6r2UN.js} +8 -8
- package/dist/{Index-agYFtWMw.js → Index-BsD09y_2.js} +6 -6
- package/dist/{Index-BZM-FsHY.js → Index-Bu9SdKLP.js} +1 -1
- package/dist/{Index-YkoWXviW.js → Index-BvsqZh2A.js} +4 -4
- package/dist/{Index-DeNpUKh8.js → Index-Bz4qd9uO.js} +5 -5
- package/dist/{Index-BLQwYzIX.js → Index-C--GiPc1.js} +4 -4
- package/dist/{Index-DDj3_T_m.js → Index-CC7qF0br.js} +4 -4
- package/dist/{Index-Dy7K8KMB.js → Index-CGxOvTF4.js} +590 -694
- package/dist/{Index-7rbX01Io.js → Index-CI7_ktvb.js} +5 -5
- package/dist/{Index-DRgVg0CH.js → Index-COJZmxkX.js} +4 -4
- package/dist/{Index-Bu6aOCmM.js → Index-CObEQ6G-.js} +3 -3
- package/dist/{Index-CpWW7m5F.js → Index-CP2bsXd-.js} +11 -13
- package/dist/{Index-lKo8z-71.js → Index-CSvZBLnp.js} +3 -3
- package/dist/{Index-BuDj2yrd.js → Index-Ci-hGBbC.js} +4 -4
- package/dist/{Index-CL12KArA.js → Index-Ckzq1cEJ.js} +22 -18
- package/dist/{Index-C56fTFO3.js → Index-CoIh5y2F.js} +4 -4
- package/dist/{Index-BiK7PqAm.js → Index-Couda8BX.js} +2 -2
- package/dist/{Index-D_MonVUx.js → Index-CvXt3dm6.js} +23 -23
- package/dist/{Index-D0gS476H.js → Index-D95MNzAZ.js} +4 -4
- package/dist/{Index-Dqp7TmnQ.js → Index-DB5EG4EI.js} +32 -30
- package/dist/{Index-02IKjPth.js → Index-DDvRihXA.js} +3 -3
- package/dist/{Index-sltQx4D3.js → Index-DIAntwBs.js} +2 -2
- package/dist/{Index-CYHxrllv.js → Index-DUdJNcDT.js} +4 -4
- package/dist/{Index-BG9x90V0.js → Index-DfANvO5d.js} +5 -5
- package/dist/{Index-DVQ6ZsHz.js → Index-Ds1Jv5Mr.js} +5 -5
- package/dist/{Index-B8xcDVQ1.js → Index-FIWsRGmh.js} +5 -5
- package/dist/{Index-bTXYCG9Y.js → Index-M3b7S4YX.js} +4 -4
- package/dist/{Index-kAu-7TWv.js → Index-NoN1_539.js} +10 -10
- package/dist/{Index-CUxvKTfn.js → Index-UGFm4yxI.js} +5 -5
- package/dist/{Index-BUTYZCat.js → Index-aCBe0dXx.js} +2 -2
- package/dist/{Index-DIg77V9c.js → Index-kJFtpJEP.js} +2 -2
- package/dist/{Index-BqBi-EmE.js → Index-rQKoLISX.js} +2 -2
- package/dist/{InputToggleRow-C7aWJpUF.js → InputToggleRow-Ct8rvqAF.js} +1 -1
- package/dist/{ManualPopover-CK9Xp-mo.js → ManualPopover-B0vp9ydC.js} +1 -1
- package/dist/{MediaWrapper-v87wlFnj.js → MediaWrapper-hmofOPLv.js} +3 -3
- package/dist/{NotBindingText-BGy3SnK3.js → NotBindingText-COpJPwHe.js} +2 -2
- package/dist/{PackageGroup-CrsOkWIb.js → PackageGroup-BdtslJL-.js} +8 -8
- package/dist/{PdfTerms-UmEmlI0Y.js → PdfTerms-EDStBDhn.js} +2 -2
- package/dist/{PdfViewer-C6VBu4tT.js → PdfViewer-D1_Roqu2.js} +3 -3
- package/dist/{PlainHtml-Dsaxrq3D.js → PlainHtml-C3JPvt4o.js} +1 -1
- package/dist/{PriceHeader-DQ615L9Q.js → PriceHeader-BdfozyN8.js} +9 -9
- package/dist/{SearchApi-CbWFQfoc.js → SearchApi-CQtYh98a.js} +2 -2
- package/dist/{Setup-Byd-0W7U.js → Setup-DHHMT6xu.js} +1 -1
- package/dist/{CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-DbBb6ZId.js → SmartList-BXeRj5NC.js} +1 -1
- package/dist/{TermsSettings-Cah7_3Ba.js → TermsSettings-D1tDAu-r.js} +3 -3
- package/dist/{ThemeColorRow-DqsjvQfY.js → ThemeColorRow-HUN-QPY_.js} +3 -3
- package/dist/{ToggleBinding-DFr6xW2B.js → ToggleBinding-CRoVM6Nw.js} +3 -3
- package/dist/{UploadModal-jRI9ITty.js → UploadModal-BD3pIiPT.js} +2 -2
- package/dist/{VideoPlayerInput-C5_Ft8-4.js → VideoPlayerInput-QFJfPoCf.js} +3 -3
- package/dist/{VideoPlayerSettings-LZluC-Tg.js → VideoPlayerSettings-CGq--niu.js} +2 -2
- package/dist/{VideoSelectModal-OGDq_lwv.js → VideoSelectModal-B61rBqdH.js} +3 -3
- package/dist/{answerDocumentMixin-D8BXcPWt.js → answerDocumentMixin-DiONfM1s.js} +3 -3
- package/dist/{debounce-BQXg61RJ.js → debounce-BIchuVwa.js} +11 -11
- package/dist/{focusDrawerMixin-D3Pzr0P-.js → focusDrawerMixin-CzvgKsOZ.js} +1 -1
- package/dist/{formComponentsInstall-D1VBPt9o.js → formComponentsInstall-EQLbqYqI.js} +74 -76
- package/dist/{formDrawerState-wG6RdIXD.js → formDrawerState-CiKGHdNH.js} +1 -1
- package/dist/{formValidationMixin-D9qFZJf9.js → formValidationMixin-5BVcxu38.js} +1 -1
- package/dist/{index-BFnwm62-.js → index-BYTRIZIz.js} +1 -1
- package/dist/{index-Dnp3LAf2.js → index-Be__C37A.js} +1 -1
- package/dist/{index-DETqm8Jy.js → index-CUydiL8B.js} +15 -15
- package/dist/{index-1DmXjcSN.js → index-DH6SCEKQ.js} +12 -12
- package/dist/{index-BEOnzeEr.js → index-gtVGRKIX.js} +5 -5
- package/dist/{index-M-GXl2PO.js → index-tNIrTnCx.js} +20 -20
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +133 -141
- package/dist/{main-CWRB9q-W.js → main-Bp2qcma0.js} +4022 -4031
- package/dist/{mapFormMixin-BOmDynJ-.js → mapFormMixin-Ce3_WIKw.js} +1 -1
- package/dist/omit-21u5fFMx.js +31 -0
- package/dist/{publicSenderState-D_VhSyXD.js → publicSenderState-BcN9kJJr.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{throttle-Bixql7MZ.js → throttle-CfPxqhW_.js} +2 -2
- package/dist/{tinycolor-CIjZZX-6.js → tinycolor-DNK6zGoq.js} +1 -1
- package/dist/tippy.esm-B5TcTBWX.js +1799 -0
- package/dist/{utils-1ypnMuRv.js → utils-GzwJPAEe.js} +1 -1
- package/dist/{omit-CMqxXOLn.js → vuedraggable.umd-2pmrPYml.js} +526 -554
- package/package.json +1 -1
- package/dist/BaseInput-BDjhI5P9.js +0 -364
- package/dist/tippy.esm-BcAHvKwR.js +0 -2039
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { m } from "./mapFormMixin-
|
|
2
|
-
import { I as L, a as H, r as l } from "./index-
|
|
3
|
-
import { az as v, h as q, n as o, b as c, aA as j,
|
|
4
|
-
import { B as
|
|
5
|
-
import { E as X } from "./ErrorCallout-
|
|
6
|
-
import { s as U, F as Q } from "./Flag-
|
|
1
|
+
import { m } from "./mapFormMixin-Ce3_WIKw.js";
|
|
2
|
+
import { I as L, a as H, r as l } from "./index-CUydiL8B.js";
|
|
3
|
+
import { az as v, h as q, n as o, b as c, aA as j, t as K, aB as B, aC as W, q as I, aD as P, f as T, aE as R, J as y } from "./main-Bp2qcma0.js";
|
|
4
|
+
import { B as M } from "./BaseDatePicker-BSkAllLg.js";
|
|
5
|
+
import { E as X } from "./ErrorCallout-CdJCe67q.js";
|
|
6
|
+
import { s as U, F as Q } from "./Flag-DwW19zju.js";
|
|
7
7
|
import { b as Y, m as g } from "./vuex.esm-DKGl8mcw.js";
|
|
8
|
-
import G from "./AddClientCallout-
|
|
9
|
-
import J from "./ClientModal-
|
|
10
|
-
import { c as Z, r as ee, g as te, C as h, a as f, b as p } from "./CDropdownItem-
|
|
11
|
-
import
|
|
12
|
-
import { C as _ } from "./CCallout-
|
|
13
|
-
import { a as
|
|
8
|
+
import G from "./AddClientCallout-BP2ip0A4.js";
|
|
9
|
+
import J from "./ClientModal-Dznh8Vvn.js";
|
|
10
|
+
import { c as Z, r as ee, g as te, C as h, a as f, b as p } from "./CDropdownItem-DGES8E6l.js";
|
|
11
|
+
import "./CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js";
|
|
12
|
+
import { C as _ } from "./CCallout-D5Nk5DgN.js";
|
|
13
|
+
import { a as ie, C as se } from "./CFormField-CE4rV3cr.js";
|
|
14
|
+
import { S as ne } from "./SmartList-BXeRj5NC.js";
|
|
14
15
|
function z(t, e) {
|
|
15
16
|
const i = new Date(t.getTime());
|
|
16
17
|
return i.setDate(
|
|
@@ -48,7 +49,7 @@ const ae = {
|
|
|
48
49
|
}
|
|
49
50
|
},
|
|
50
51
|
components: {
|
|
51
|
-
BaseDatePicker:
|
|
52
|
+
BaseDatePicker: M
|
|
52
53
|
},
|
|
53
54
|
props: {
|
|
54
55
|
_document: {
|
|
@@ -150,7 +151,7 @@ var re = function() {
|
|
|
150
151
|
return i("div", { key: n, staticClass: "mb-4 flex cursor-pointer select-none items-center justify-between rounded-md border border-gray-200 bg-gray-50 p-4 text-sm hover:border-gray-300 hover:bg-gray-100 active:border-gray-400 active:bg-gray-200", on: { click: () => e.onSendAt(s[0]) } }, [i("div", { staticClass: "font-medium" }, [e._v(e._s(e.$t(s[1])))]), i("div", { staticClass: "text-gray-500" }, [e._v(" " + e._s(e.$formatDate(s[0], "p, d MMM")) + " ")])]);
|
|
151
152
|
}), 0)]), i("div", { staticClass: "border-t border-gray-200 bg-gray-100 px-8 py-6", class: e.showCustom ? "" : "cursor-pointer hover:bg-gray-200", on: { click: function(s) {
|
|
152
153
|
e.showCustom = !0;
|
|
153
|
-
} } }, [i("div", { staticClass: "flex items-center text-sm" }, [i("CIcon", { staticClass: "text-primary-500 mr-2", attrs: { type: "calendar", size: "18" } }), i("div", { staticClass: "font-medium", domProps: { textContent: e._s(e.$t("custom.title")) } })], 1), i("Animation", [i("div", { directives: [{ name: "show", rawName: "v-show", value: e.showCustom, expression: "showCustom" }], staticClass: "mt-4" }, [i("div", { staticClass: "grid grid-cols-2 gap-4" }, [i("BaseDatePicker", { attrs: { value: e.sendAt }, on: { input: e.setDate } }), i("CInput", { attrs: { value: e.$formatDate(e.sendAt, "HH:mm"),
|
|
154
|
+
} } }, [i("div", { staticClass: "flex items-center text-sm" }, [i("CIcon", { staticClass: "text-primary-500 mr-2", attrs: { type: "calendar", size: "18" } }), i("div", { staticClass: "font-medium", domProps: { textContent: e._s(e.$t("custom.title")) } })], 1), i("Animation", [i("div", { directives: [{ name: "show", rawName: "v-show", value: e.showCustom, expression: "showCustom" }], staticClass: "mt-4" }, [i("div", { staticClass: "grid grid-cols-2 gap-4" }, [i("BaseDatePicker", { attrs: { value: e.sendAt }, on: { input: e.setDate } }), i("CInput", { attrs: { value: e.$formatDate(e.sendAt, "HH:mm"), type: "time" }, on: { input: e.setTime } })], 1), e.$v.$invalid ? i("div", { staticClass: "error-wrapper" }, [i("CIcon", { staticClass: "text-primary-500 mr-2", attrs: { type: "calendar" } }), e._v(" " + e._s(e.$t("custom.invalid")) + " ")], 1) : e._e(), i("CButton", { staticStyle: { "margin-top": "calc(1.5 * var(--rem))" }, attrs: { loading: e.isPostingDocument, type: "secondary", wide: "" }, on: { click: function(s) {
|
|
154
155
|
return e.onSendAt(e.sendAt);
|
|
155
156
|
} } }, [e._v(" " + e._s(e.$t("_common:send")) + " " + e._s(e.$formatDate(e.sendAt, "d MMM - p")) + " ")])], 1)])], 1)]);
|
|
156
157
|
}, oe = [], le = /* @__PURE__ */ o(
|
|
@@ -159,7 +160,7 @@ var re = function() {
|
|
|
159
160
|
oe,
|
|
160
161
|
!1,
|
|
161
162
|
null,
|
|
162
|
-
"
|
|
163
|
+
"dcfae061"
|
|
163
164
|
);
|
|
164
165
|
const de = le.exports, ce = {
|
|
165
166
|
sv: {
|
|
@@ -512,19 +513,21 @@ const be = _e.exports, Ce = {
|
|
|
512
513
|
signOrder: i ? s.signOrder : n + 1
|
|
513
514
|
}));
|
|
514
515
|
} else
|
|
515
|
-
e = c(this._document, "template.reminders", []), e.length || (e =
|
|
516
|
+
e = c(this._document, "template.reminders", []), e.length || (e = B.default);
|
|
516
517
|
this.setFormValue({ key: "data.reminders", value: e }), this.setFormValue({ key: "useSignOrder", value: t });
|
|
517
518
|
},
|
|
518
519
|
removeClient(t) {
|
|
519
520
|
this.removeFormValue(`clients[${t}]`);
|
|
520
521
|
},
|
|
521
522
|
openClientModal(t = 0) {
|
|
523
|
+
var i;
|
|
522
524
|
const e = c(this, `clients[${t}].signOrder`);
|
|
523
525
|
this.$modal.show(J, {
|
|
524
526
|
documentClientIndex: t,
|
|
525
527
|
...this.useSignOrder && {
|
|
526
528
|
signOrder: W(e) === "number" ? e : this.maxSignOrder + 1
|
|
527
529
|
},
|
|
530
|
+
signOptions: (i = this._document) == null ? void 0 : i.signOptions,
|
|
528
531
|
setFormValue: this.setFormValue,
|
|
529
532
|
removeFormValue: this.removeFormValue,
|
|
530
533
|
isPublicForm: this.isPublicForm
|
|
@@ -570,9 +573,9 @@ var we = function() {
|
|
|
570
573
|
xe,
|
|
571
574
|
!1,
|
|
572
575
|
null,
|
|
573
|
-
"
|
|
576
|
+
"51e072f2"
|
|
574
577
|
);
|
|
575
|
-
const
|
|
578
|
+
const $e = Se.exports, ke = {
|
|
576
579
|
name: "DocumentSendReminderItem",
|
|
577
580
|
props: {
|
|
578
581
|
label: {
|
|
@@ -597,14 +600,14 @@ var De = function() {
|
|
|
597
600
|
return e.$emit("input", e.value + 1);
|
|
598
601
|
} } })]], 2)]);
|
|
599
602
|
}, Ve = [], Fe = /* @__PURE__ */ o(
|
|
600
|
-
|
|
603
|
+
ke,
|
|
601
604
|
De,
|
|
602
605
|
Ve,
|
|
603
606
|
!1,
|
|
604
607
|
null,
|
|
605
608
|
null
|
|
606
609
|
);
|
|
607
|
-
const Ae = Fe.exports,
|
|
610
|
+
const Ae = Fe.exports, Oe = {
|
|
608
611
|
name: "DocumentSendReminders",
|
|
609
612
|
i18nOptions: {
|
|
610
613
|
namespaces: "documentSendReminders",
|
|
@@ -669,7 +672,7 @@ const Ae = Fe.exports, Be = {
|
|
|
669
672
|
let s = this.getDefaultReminders().find(
|
|
670
673
|
(n) => n.type === t
|
|
671
674
|
);
|
|
672
|
-
if (s || (s =
|
|
675
|
+
if (s || (s = B.default.find((n) => n.type === t)), !s)
|
|
673
676
|
throw new Error("Could not find default reminder");
|
|
674
677
|
s[i] = e, this.setFormValue({ key: "data.reminders", value: s });
|
|
675
678
|
return;
|
|
@@ -681,7 +684,7 @@ const Ae = Fe.exports, Be = {
|
|
|
681
684
|
}
|
|
682
685
|
}
|
|
683
686
|
};
|
|
684
|
-
var
|
|
687
|
+
var Be = function() {
|
|
685
688
|
var e = this, i = e._self._c;
|
|
686
689
|
return i("div", { staticStyle: { "background-color": "white", "border-radius": "calc(0.5 * var(--rem))", padding: "calc(2 * var(--rem))", "font-size": "16px" } }, [i("div", { staticStyle: { "font-size": "1.25em", "font-weight": "700", "margin-bottom": "0.25em", "text-align": "center" } }, [e._v(" " + e._s(e.$t("_common:reminder_plural").capitalize()) + " ")]), i("div", { staticClass: "text-center text-gray-600", staticStyle: { "max-width": "calc(20 * var(--rem))", margin: "0 auto calc(2 * var(--rem)) auto" } }, [e._v(" " + e._s(e.$t("description")) + " ")]), e._l([
|
|
687
690
|
{ type: "notViewed", fallbackKey: "viewed" },
|
|
@@ -694,15 +697,15 @@ var Ie = function() {
|
|
|
694
697
|
}), i("div", { staticClass: "flex w-full items-center justify-center", staticStyle: { "margin-top": "calc(2.5 * var(--rem))" } }, [i("CButton", { attrs: { type: "secondary", expanded: "" }, on: { click: function(s) {
|
|
695
698
|
return e.$emit("close");
|
|
696
699
|
} } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")])], 1)], 2);
|
|
697
|
-
},
|
|
700
|
+
}, Ie = [], Pe = /* @__PURE__ */ o(
|
|
701
|
+
Oe,
|
|
698
702
|
Be,
|
|
699
703
|
Ie,
|
|
700
|
-
Oe,
|
|
701
704
|
!1,
|
|
702
705
|
null,
|
|
703
706
|
null
|
|
704
707
|
);
|
|
705
|
-
const
|
|
708
|
+
const Te = Pe.exports, Re = {
|
|
706
709
|
name: "SendForm",
|
|
707
710
|
i18nOptions: {
|
|
708
711
|
namespaces: "sendForm",
|
|
@@ -710,8 +713,8 @@ const Pe = Te.exports, Me = {
|
|
|
710
713
|
},
|
|
711
714
|
components: {
|
|
712
715
|
Simplebar: U,
|
|
713
|
-
BaseDatePicker:
|
|
714
|
-
RecipientBlock:
|
|
716
|
+
BaseDatePicker: M,
|
|
717
|
+
RecipientBlock: $e,
|
|
715
718
|
ErrorCallout: X,
|
|
716
719
|
IsPremiumPreStep: L,
|
|
717
720
|
IsPremium: H
|
|
@@ -813,20 +816,12 @@ const Pe = Te.exports, Me = {
|
|
|
813
816
|
return this.isManualDelivery ? !1 : this.clients.some((t) => !(t.email || t.cellphone));
|
|
814
817
|
},
|
|
815
818
|
signMethods() {
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
}
|
|
823
|
-
] : [],
|
|
824
|
-
{
|
|
825
|
-
value: "signature",
|
|
826
|
-
title: this.$t("signMethod.signature.title"),
|
|
827
|
-
content: this.$t("signMethod.signature.content")
|
|
828
|
-
}
|
|
829
|
-
];
|
|
819
|
+
var t, e;
|
|
820
|
+
return ((e = (t = this._document.signOptions) == null ? void 0 : t.filter((i) => i !== "inPerson")) == null ? void 0 : e.map((i) => ({
|
|
821
|
+
value: i,
|
|
822
|
+
title: this.$t(`signMethod.${i}.title`),
|
|
823
|
+
content: this.$t(`signMethod.${i}.content`)
|
|
824
|
+
}))) || [];
|
|
830
825
|
}
|
|
831
826
|
},
|
|
832
827
|
created() {
|
|
@@ -842,7 +837,10 @@ const Pe = Te.exports, Me = {
|
|
|
842
837
|
});
|
|
843
838
|
}
|
|
844
839
|
}
|
|
845
|
-
((t = this.defaultAnswerMethod) == null ? void 0 : t.accept) === "button"
|
|
840
|
+
if (((t = this.defaultAnswerMethod) == null ? void 0 : t.accept) === "button") {
|
|
841
|
+
const [e] = this._document.signOptions || ["signature"];
|
|
842
|
+
this.setAnswerMethod(e, { ignoreChanges: !0 });
|
|
843
|
+
}
|
|
846
844
|
},
|
|
847
845
|
validations() {
|
|
848
846
|
const t = {
|
|
@@ -893,7 +891,7 @@ const Pe = Te.exports, Me = {
|
|
|
893
891
|
},
|
|
894
892
|
openReminders() {
|
|
895
893
|
this.useSignOrder || this.$modal.show(
|
|
896
|
-
|
|
894
|
+
Te,
|
|
897
895
|
{
|
|
898
896
|
_document: this._document,
|
|
899
897
|
setFormValue: this.setFormValue,
|
|
@@ -935,7 +933,7 @@ const Pe = Te.exports, Me = {
|
|
|
935
933
|
}
|
|
936
934
|
}
|
|
937
935
|
};
|
|
938
|
-
var
|
|
936
|
+
var Me = function() {
|
|
939
937
|
var e = this, i = e._self._c;
|
|
940
938
|
return i("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ canUseBankId: s, canUseSms: n }) {
|
|
941
939
|
var a;
|
|
@@ -994,19 +992,19 @@ var Re = function() {
|
|
|
994
992
|
}), e._t("footer")], 2)], 1)];
|
|
995
993
|
} }], null, !0) });
|
|
996
994
|
}, ze = [], Ee = /* @__PURE__ */ o(
|
|
997
|
-
Me,
|
|
998
995
|
Re,
|
|
996
|
+
Me,
|
|
999
997
|
ze,
|
|
1000
998
|
!1,
|
|
1001
999
|
null,
|
|
1002
|
-
"
|
|
1000
|
+
"8a4ea99d"
|
|
1003
1001
|
);
|
|
1004
|
-
const
|
|
1002
|
+
const ii = Ee.exports, Ne = {
|
|
1005
1003
|
name: "CAutocomplete",
|
|
1006
1004
|
components: {
|
|
1007
|
-
CInput:
|
|
1005
|
+
CInput: I
|
|
1008
1006
|
},
|
|
1009
|
-
mixins: [
|
|
1007
|
+
mixins: [P],
|
|
1010
1008
|
inheritAttrs: !1,
|
|
1011
1009
|
props: {
|
|
1012
1010
|
value: {
|
|
@@ -1385,12 +1383,12 @@ const w = Ue.exports, Qe = {
|
|
|
1385
1383
|
name: "CPhoneInput",
|
|
1386
1384
|
components: {
|
|
1387
1385
|
Flag: Q,
|
|
1388
|
-
CInput:
|
|
1386
|
+
CInput: I,
|
|
1389
1387
|
CDropdown: h,
|
|
1390
1388
|
CDropdownItem: f,
|
|
1391
|
-
CButton:
|
|
1392
|
-
CField:
|
|
1393
|
-
SmartList:
|
|
1389
|
+
CButton: T,
|
|
1390
|
+
CField: ie,
|
|
1391
|
+
SmartList: ne
|
|
1394
1392
|
},
|
|
1395
1393
|
props: {
|
|
1396
1394
|
value: {
|
|
@@ -1507,7 +1505,7 @@ var Ye = function() {
|
|
|
1507
1505
|
);
|
|
1508
1506
|
const x = Je.exports, Ze = {
|
|
1509
1507
|
name: "CRadio",
|
|
1510
|
-
mixins: [
|
|
1508
|
+
mixins: [R]
|
|
1511
1509
|
};
|
|
1512
1510
|
var et = function() {
|
|
1513
1511
|
var e = this, i = e._self._c;
|
|
@@ -1529,9 +1527,9 @@ var et = function() {
|
|
|
1529
1527
|
const S = it.exports, st = {
|
|
1530
1528
|
name: "CRadioButton",
|
|
1531
1529
|
components: {
|
|
1532
|
-
CButton:
|
|
1530
|
+
CButton: T
|
|
1533
1531
|
},
|
|
1534
|
-
mixins: [
|
|
1532
|
+
mixins: [R],
|
|
1535
1533
|
props: {
|
|
1536
1534
|
type: {
|
|
1537
1535
|
type: String,
|
|
@@ -1566,9 +1564,9 @@ var nt = function() {
|
|
|
1566
1564
|
null,
|
|
1567
1565
|
null
|
|
1568
1566
|
);
|
|
1569
|
-
const
|
|
1567
|
+
const $ = rt.exports, ot = {
|
|
1570
1568
|
name: "CSelect",
|
|
1571
|
-
mixins: [
|
|
1569
|
+
mixins: [P],
|
|
1572
1570
|
inheritAttrs: !1,
|
|
1573
1571
|
props: {
|
|
1574
1572
|
value: {
|
|
@@ -1652,7 +1650,7 @@ var lt = function() {
|
|
|
1652
1650
|
null,
|
|
1653
1651
|
"23e48013"
|
|
1654
1652
|
);
|
|
1655
|
-
const
|
|
1653
|
+
const k = ct.exports, ut = {
|
|
1656
1654
|
name: "CSkeleton",
|
|
1657
1655
|
functional: !0,
|
|
1658
1656
|
props: {
|
|
@@ -1890,7 +1888,7 @@ var Ct = function() {
|
|
|
1890
1888
|
null,
|
|
1891
1889
|
null
|
|
1892
1890
|
);
|
|
1893
|
-
const St = xt.exports,
|
|
1891
|
+
const St = xt.exports, $t = {
|
|
1894
1892
|
name: "CSlider",
|
|
1895
1893
|
components: {
|
|
1896
1894
|
CSliderThumb: _t,
|
|
@@ -2091,7 +2089,7 @@ const St = xt.exports, kt = {
|
|
|
2091
2089
|
}
|
|
2092
2090
|
}
|
|
2093
2091
|
};
|
|
2094
|
-
var
|
|
2092
|
+
var kt = function() {
|
|
2095
2093
|
var e = this, i = e._self._c;
|
|
2096
2094
|
return i("div", { staticClass: "c-slider", class: [`is-${e.size}`, `is-${e.type}`, e.rootClasses], on: { click: e.onSliderClick } }, [i("div", { ref: "slider", staticClass: "c-slider-track" }, [i("div", { staticClass: "c-slider-fill", style: e.barStyle }), e.ticks ? e._l(e.tickValues, function(s, n) {
|
|
2097
2095
|
return i("CSliderTick", { key: n, attrs: { value: s } });
|
|
@@ -2101,8 +2099,8 @@ var $t = function() {
|
|
|
2101
2099
|
e.value2 = s;
|
|
2102
2100
|
}, expression: "value2" } }) : e._e()], 2)]);
|
|
2103
2101
|
}, Dt = [], Vt = /* @__PURE__ */ o(
|
|
2104
|
-
kt,
|
|
2105
2102
|
$t,
|
|
2103
|
+
kt,
|
|
2106
2104
|
Dt,
|
|
2107
2105
|
!1,
|
|
2108
2106
|
null,
|
|
@@ -2198,15 +2196,15 @@ var At = function() {
|
|
|
2198
2196
|
} else
|
|
2199
2197
|
e.computedValue = r;
|
|
2200
2198
|
} } }), i("span", { staticClass: "check", class: [`is-${e.type}`] }), i("span", { staticClass: "control-label" }, [e._t("default")], 2)]);
|
|
2201
|
-
},
|
|
2199
|
+
}, Ot = [], Bt = /* @__PURE__ */ o(
|
|
2202
2200
|
Ft,
|
|
2203
2201
|
At,
|
|
2204
|
-
|
|
2202
|
+
Ot,
|
|
2205
2203
|
!1,
|
|
2206
2204
|
null,
|
|
2207
2205
|
"4cdd239d"
|
|
2208
2206
|
);
|
|
2209
|
-
const F =
|
|
2207
|
+
const F = Bt.exports, It = {
|
|
2210
2208
|
name: "CTabItem",
|
|
2211
2209
|
props: {
|
|
2212
2210
|
label: String,
|
|
@@ -2284,16 +2282,16 @@ const F = It.exports, Ot = {
|
|
|
2284
2282
|
[e]
|
|
2285
2283
|
) : e;
|
|
2286
2284
|
}
|
|
2287
|
-
},
|
|
2288
|
-
var
|
|
2289
|
-
|
|
2290
|
-
Tt,
|
|
2285
|
+
}, Pt = null, Tt = null;
|
|
2286
|
+
var Rt = /* @__PURE__ */ o(
|
|
2287
|
+
It,
|
|
2291
2288
|
Pt,
|
|
2289
|
+
Tt,
|
|
2292
2290
|
!1,
|
|
2293
2291
|
null,
|
|
2294
2292
|
null
|
|
2295
2293
|
);
|
|
2296
|
-
const A =
|
|
2294
|
+
const A = Rt.exports, Mt = {
|
|
2297
2295
|
name: "CSlotComponent",
|
|
2298
2296
|
props: {
|
|
2299
2297
|
component: {
|
|
@@ -2344,7 +2342,7 @@ const A = Mt.exports, Rt = {
|
|
|
2344
2342
|
}, zt = {
|
|
2345
2343
|
name: "CTabs",
|
|
2346
2344
|
components: {
|
|
2347
|
-
CSlotComponent:
|
|
2345
|
+
CSlotComponent: Mt
|
|
2348
2346
|
},
|
|
2349
2347
|
props: {
|
|
2350
2348
|
value: {
|
|
@@ -2486,11 +2484,11 @@ var Et = function() {
|
|
|
2486
2484
|
null,
|
|
2487
2485
|
"e02a6440"
|
|
2488
2486
|
);
|
|
2489
|
-
const
|
|
2490
|
-
function
|
|
2491
|
-
t.component(D.name, D), t.component("CAutocomplete", je), t.component(y.name, y), t.component(S.name, S), t.component(
|
|
2487
|
+
const O = Lt.exports;
|
|
2488
|
+
function si(t) {
|
|
2489
|
+
t.component(D.name, D), t.component("CAutocomplete", je), t.component(y.name, y), t.component(S.name, S), t.component($.name, $), t.component(h.name, h), t.component(f.name, f), t.component(k.name, k), t.component(_.name, _), t.component(F.name, F), t.component(O.name, O), t.component(A.name, A), t.component("CField", se), t.component(w.name, w), t.component(x.name, x), t.component(V.name, V);
|
|
2492
2490
|
}
|
|
2493
2491
|
export {
|
|
2494
|
-
|
|
2495
|
-
|
|
2492
|
+
ii as S,
|
|
2493
|
+
si as i
|
|
2496
2494
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as d,
|
|
1
|
+
import { n as d, be as F, b as C, b4 as M, bf as X, bg as Q, bh as J, bi as ee, V as U, bj as te, ae as D, bk as ne, c as h, J as ae, w as P, d as y, bl as re, g as m, bm as b, D as k, bn as ie, bo as se, bp as oe, bq as H, p as ce, h as L, I as E, br as B, O as le, bs as ue, au as de } from "./main-Bp2qcma0.js";
|
|
2
2
|
import { m as v, a as $, b as me } from "./vuex.esm-DKGl8mcw.js";
|
|
3
3
|
import { a as u } from "./anime.es-BrPTThYb.js";
|
|
4
|
-
import { v as _ } from "./index-
|
|
4
|
+
import { v as _ } from "./index-tNIrTnCx.js";
|
|
5
5
|
import { a as pe } from "./dom-CJxkno7i.js";
|
|
6
6
|
const x = {
|
|
7
7
|
AD: {
|
|
@@ -1386,7 +1386,7 @@ var be = function() {
|
|
|
1386
1386
|
null,
|
|
1387
1387
|
null
|
|
1388
1388
|
);
|
|
1389
|
-
const G = Pe.exports, Se = (n) =>
|
|
1389
|
+
const G = Pe.exports, Se = (n) => D.te(`errors:${n}`) && D.t(`errors:${n}`), ke = "stripe", {
|
|
1390
1390
|
LOAD_PRICES: A,
|
|
1391
1391
|
RESET_STRIPE_FORM: xe,
|
|
1392
1392
|
SET_STRIPE_FORM_VALUE: we,
|
|
@@ -1925,16 +1925,16 @@ const G = Pe.exports, Se = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), ke
|
|
|
1925
1925
|
}
|
|
1926
1926
|
}
|
|
1927
1927
|
};
|
|
1928
|
-
var
|
|
1928
|
+
var De = function() {
|
|
1929
1929
|
var e = this;
|
|
1930
1930
|
return e._self._c, e._m(0);
|
|
1931
|
-
},
|
|
1931
|
+
}, Le = [function() {
|
|
1932
1932
|
var n = this, e = n._self._c;
|
|
1933
1933
|
return e("div", [e("canvas", { attrs: { id: "fireworks" } })]);
|
|
1934
1934
|
}], Re = /* @__PURE__ */ d(
|
|
1935
1935
|
Ie,
|
|
1936
|
-
Le,
|
|
1937
1936
|
De,
|
|
1937
|
+
Le,
|
|
1938
1938
|
!1,
|
|
1939
1939
|
null,
|
|
1940
1940
|
"18ad2709"
|
|
@@ -1986,7 +1986,7 @@ const Fe = Re.exports, Ue = {
|
|
|
1986
1986
|
return t.src = `https://${e}`, t.id = "stripe-js", n && t.addEventListener("load", (r) => n(null, r), !1), a.parentNode.insertBefore(t, a), !0;
|
|
1987
1987
|
}, Be = (n) => He(() => {
|
|
1988
1988
|
window.$stripe = Stripe(h.stripe.publishableKey, {
|
|
1989
|
-
locale:
|
|
1989
|
+
locale: D.lang || "en"
|
|
1990
1990
|
}), typeof n == "function" && n();
|
|
1991
1991
|
}), Z = {
|
|
1992
1992
|
data() {
|
|
@@ -2501,7 +2501,7 @@ var Ve = function() {
|
|
|
2501
2501
|
})], 2);
|
|
2502
2502
|
}), e.promotion ? t("div", { staticClass: "flex w-full justify-between", staticStyle: { "padding-bottom": "4px" } }, [t("div", { staticStyle: { "font-weight": "500", opacity: "0.7" } }, [e._v(" " + e._s(e.promotion.code || e.promotion.name) + " ")]), t("div", { staticClass: "has-text-danger text-right", staticStyle: { display: "inline-flex", "justify-content": "flex-end", "align-items": "center" } }, [t("CButton", { staticStyle: { height: "inherit", "margin-right": "3px" }, attrs: { disabled: e.isEditLock, "icon-props": { size: 15 }, size: "small", type: "none", pattern: "tertiary", icon: "trash" }, on: { click: function(a) {
|
|
2503
2503
|
return e.$emit("input", { key: "promotion", value: null });
|
|
2504
|
-
} } }), t("div", { domProps: { textContent: e._s(e.promotionDescription) } })], 1)]) : e._e(), e.formPrices.vatAmount ? [t("div", { staticClass: "flex w-full justify-between", staticStyle: { "padding-bottom": "4px" } }, [t("div", { staticStyle: { "font-weight": "500", opacity: "0.7" } }, [e._v(" " + e._s(e.$t("_common:vat.vat").capitalize()) + " ")]), t("div", { staticClass: "text-right", staticStyle: { opacity: "0.7" } }, [e._v(" " + e._s(e.priceFormat(e.formPrices.vatAmount, { currency: e.currency })) + " ")])]), t("div", { staticClass: "flex w-full justify-between", staticStyle: { "padding-bottom": "4px" } }, [t("div", { staticStyle: { "font-weight": "500", opacity: "0.7" } }, [e._v(" " + e._s(e.$t("_common:vat.incVat", { thing: e.$t("_common:vat.vat") }).capitalize()) + " ")]), t("div", { staticClass: "text-right", staticStyle: { opacity: "0.7" } }, [e._v(" " + e._s(e.priceFormat(e.formPrices.totalAmount, { currency: e.currency })) + " ")])])] : e._e(), t("div", { directives: [{ name: "show", rawName: "v-show", value: !e.promotion, expression: "!promotion" }], staticClass: "flex w-full justify-end" }, [e.promoInputVisible ? t("CField", { staticStyle: { "padding-top": "1em", width: "100%" }, attrs: { expanded: "" } }, [t("CInput", { attrs: { placeholder: e.$t("promotion.placeholder"), "custom-class": e.isInvalidPromotionCode ? "is-danger shake" : "",
|
|
2504
|
+
} } }), t("div", { domProps: { textContent: e._s(e.promotionDescription) } })], 1)]) : e._e(), e.formPrices.vatAmount ? [t("div", { staticClass: "flex w-full justify-between", staticStyle: { "padding-bottom": "4px" } }, [t("div", { staticStyle: { "font-weight": "500", opacity: "0.7" } }, [e._v(" " + e._s(e.$t("_common:vat.vat").capitalize()) + " ")]), t("div", { staticClass: "text-right", staticStyle: { opacity: "0.7" } }, [e._v(" " + e._s(e.priceFormat(e.formPrices.vatAmount, { currency: e.currency })) + " ")])]), t("div", { staticClass: "flex w-full justify-between", staticStyle: { "padding-bottom": "4px" } }, [t("div", { staticStyle: { "font-weight": "500", opacity: "0.7" } }, [e._v(" " + e._s(e.$t("_common:vat.incVat", { thing: e.$t("_common:vat.vat") }).capitalize()) + " ")]), t("div", { staticClass: "text-right", staticStyle: { opacity: "0.7" } }, [e._v(" " + e._s(e.priceFormat(e.formPrices.totalAmount, { currency: e.currency })) + " ")])])] : e._e(), t("div", { directives: [{ name: "show", rawName: "v-show", value: !e.promotion, expression: "!promotion" }], staticClass: "flex w-full justify-end" }, [e.promoInputVisible ? t("CField", { staticStyle: { "padding-top": "1em", width: "100%" }, attrs: { expanded: "" } }, [t("CInput", { attrs: { placeholder: e.$t("promotion.placeholder"), "custom-class": e.isInvalidPromotionCode ? "is-danger shake" : "", size: "small" }, on: { blur: function(a) {
|
|
2505
2505
|
return e.verifyPromotionCode(e.inputPromotionCode);
|
|
2506
2506
|
} }, nativeOn: { keyup: function(a) {
|
|
2507
2507
|
return !a.type.indexOf("key") && e._k(a.keyCode, "enter", 13, a.key, "Enter") ? null : e.verifyPromotionCode(e.inputPromotionCode);
|
|
@@ -2562,7 +2562,7 @@ var Ve = function() {
|
|
|
2562
2562
|
Oe,
|
|
2563
2563
|
!1,
|
|
2564
2564
|
null,
|
|
2565
|
-
"
|
|
2565
|
+
"34e4bb3d"
|
|
2566
2566
|
);
|
|
2567
2567
|
const ze = Ne.exports, qe = {
|
|
2568
2568
|
name: "PremiumStripeSelect",
|
|
@@ -3447,7 +3447,7 @@ const Pt = _t.exports, St = {
|
|
|
3447
3447
|
try {
|
|
3448
3448
|
ce("/documentLimitReached", {});
|
|
3449
3449
|
} catch (n) {
|
|
3450
|
-
|
|
3450
|
+
L(n, { showMessage: !1 });
|
|
3451
3451
|
}
|
|
3452
3452
|
},
|
|
3453
3453
|
async mounted() {
|
|
@@ -3487,7 +3487,7 @@ const Pt = _t.exports, St = {
|
|
|
3487
3487
|
this.$t("voucherSuccessMessage", { count: this.voucherDocCount })
|
|
3488
3488
|
), this.onUpgrade && typeof this.onUpgrade == "function" && this.onUpgrade(), this.$emit("close");
|
|
3489
3489
|
} catch (n) {
|
|
3490
|
-
|
|
3490
|
+
L(n);
|
|
3491
3491
|
} finally {
|
|
3492
3492
|
this.isLoading = !1;
|
|
3493
3493
|
}
|
|
@@ -3580,7 +3580,7 @@ const $t = wt.exports, Tt = {
|
|
|
3580
3580
|
"Cannot upgrade license as current paymentMethod is not valid"
|
|
3581
3581
|
);
|
|
3582
3582
|
} catch (t) {
|
|
3583
|
-
|
|
3583
|
+
L(t);
|
|
3584
3584
|
}
|
|
3585
3585
|
e && await n();
|
|
3586
3586
|
},
|
|
@@ -3608,7 +3608,7 @@ var Mt = function() {
|
|
|
3608
3608
|
null,
|
|
3609
3609
|
null
|
|
3610
3610
|
);
|
|
3611
|
-
const
|
|
3611
|
+
const Dt = It.exports, Lt = {
|
|
3612
3612
|
i18nOptions: {
|
|
3613
3613
|
namespaces: "personalMessage",
|
|
3614
3614
|
messages: {
|
|
@@ -3637,7 +3637,7 @@ var Rt = function() {
|
|
|
3637
3637
|
var e = this, t = e._self._c;
|
|
3638
3638
|
return t("PremiumRestrictedBase", { attrs: { title: e.$t("title"), "sub-title": e.$t("subTitle"), "on-upgrade": e.onUpgrade } });
|
|
3639
3639
|
}, Ft = [], Ut = /* @__PURE__ */ d(
|
|
3640
|
-
|
|
3640
|
+
Lt,
|
|
3641
3641
|
Rt,
|
|
3642
3642
|
Ft,
|
|
3643
3643
|
!1,
|
|
@@ -3838,7 +3838,7 @@ const ln = cn.exports, I = {
|
|
|
3838
3838
|
templates: Qt,
|
|
3839
3839
|
documents: $t,
|
|
3840
3840
|
personalMessage: Ht,
|
|
3841
|
-
licenses:
|
|
3841
|
+
licenses: Dt,
|
|
3842
3842
|
inviteCreators: yt,
|
|
3843
3843
|
stats: Zt,
|
|
3844
3844
|
documentBlocks: Pt,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { s as n, F as o } from "./Flag-
|
|
2
|
-
import { w as c } from "./CDropdownItem-
|
|
3
|
-
import { n as a } from "./main-
|
|
1
|
+
import { s as n, F as o } from "./Flag-DwW19zju.js";
|
|
2
|
+
import { w as c } from "./CDropdownItem-DGES8E6l.js";
|
|
3
|
+
import { n as a } from "./main-Bp2qcma0.js";
|
|
4
4
|
import { i as d } from "./dom-CJxkno7i.js";
|
|
5
|
-
import { d as u } from "./debounce-
|
|
6
|
-
import { t as m } from "./throttle-
|
|
5
|
+
import { d as u } from "./debounce-BIchuVwa.js";
|
|
6
|
+
import { t as m } from "./throttle-CfPxqhW_.js";
|
|
7
7
|
const f = {
|
|
8
8
|
name: "BackgroundsModalList",
|
|
9
9
|
i18nOptions: {
|
|
@@ -116,9 +116,9 @@ const f = {
|
|
|
116
116
|
};
|
|
117
117
|
var h = function() {
|
|
118
118
|
var e = this, t = e._self._c;
|
|
119
|
-
return t("div", { staticStyle: { "min-height": "0", display: "flex", "flex-direction": "column", height: "100%" } }, [t("div", { staticClass: "relative flex w-full
|
|
119
|
+
return t("div", { staticStyle: { "min-height": "0", display: "flex", "flex-direction": "column", height: "100%" } }, [t("div", { staticClass: "relative flex w-full shrink-0 py-1" }, [t("CInput", { staticClass: "flex-grow", staticStyle: { "border-bottom": "1px solid hsl(0, 0%, 92%)" }, attrs: { placeholder: e.$t("searchPlaceholder"), reset: !0, icon: "search", size: "medium" }, model: { value: e.query, callback: function(s) {
|
|
120
120
|
e.query = s;
|
|
121
|
-
}, expression: "query" } })
|
|
121
|
+
}, expression: "query" } })], 1), t("div", { staticStyle: { overflow: "hidden", flex: "1", height: "100%" } }, [t("simplebar", { ref: "scrollbar", staticStyle: { width: "100%", height: "100%", padding: "3px 4px" } }, [t("div", { staticStyle: { display: "grid", "grid-template-columns": "repeat(auto-fit, minmax(210px, 1fr))", gap: "2px" } }, [!e.items.length && e.isLoading ? e._l(12, function(s) {
|
|
122
122
|
return t("div", { key: s, ref: "item", refInFor: !0, staticClass: "photo" });
|
|
123
123
|
}) : e._e(), e._l(e.items, function(s, l) {
|
|
124
124
|
return t("div", { key: l, ref: "item", refInFor: !0, staticClass: "photo", style: { backgroundImage: `url(${s.minImage})` }, on: { click: function(r) {
|
|
@@ -137,12 +137,12 @@ var h = function() {
|
|
|
137
137
|
p,
|
|
138
138
|
!1,
|
|
139
139
|
null,
|
|
140
|
-
"
|
|
140
|
+
"70d28101"
|
|
141
141
|
);
|
|
142
142
|
const g = v.exports, _ = {
|
|
143
143
|
name: "BackgroundsModal"
|
|
144
144
|
};
|
|
145
|
-
var
|
|
145
|
+
var y = function() {
|
|
146
146
|
var e = this, t = e._self._c;
|
|
147
147
|
return t("div", { staticClass: "font-primary fixed inset-0 z-[1000] flex items-center justify-center overflow-auto bg-black bg-opacity-10 max-sm:block max-sm:min-h-full max-sm:w-full max-sm:overflow-auto", on: { click: function(s) {
|
|
148
148
|
return s.target !== s.currentTarget ? null : e.$emit("close");
|
|
@@ -151,15 +151,15 @@ var x = function() {
|
|
|
151
151
|
} } }, [t("CButton", { staticClass: "absolute right-3 top-3 z-10", attrs: { pattern: "tertiary", type: "none", size: "small", circle: "", icon: "x" }, on: { click: function(s) {
|
|
152
152
|
return e.$emit("close");
|
|
153
153
|
} } }), e._t("header"), e._t("default")], 2)]);
|
|
154
|
-
},
|
|
154
|
+
}, x = [], w = /* @__PURE__ */ a(
|
|
155
155
|
_,
|
|
156
|
-
x,
|
|
157
156
|
y,
|
|
157
|
+
x,
|
|
158
158
|
!1,
|
|
159
159
|
null,
|
|
160
160
|
"4a6a378b"
|
|
161
161
|
);
|
|
162
|
-
const
|
|
162
|
+
const b = w.exports, R = g, L = b;
|
|
163
163
|
export {
|
|
164
164
|
L as B,
|
|
165
165
|
R as a
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { w as m } from "./CDropdownItem-
|
|
2
|
-
import { n as o,
|
|
1
|
+
import { w as m } from "./CDropdownItem-DGES8E6l.js";
|
|
2
|
+
import { n as o, E as f, S as v, g as i, h as l } from "./main-Bp2qcma0.js";
|
|
3
3
|
import { m as h, a as d, b as _ } from "./vuex.esm-DKGl8mcw.js";
|
|
4
|
-
import { B as p } from "./DocTextEditor-
|
|
5
|
-
import { v as r } from "./index-
|
|
6
|
-
import { S as g } from "./
|
|
4
|
+
import { B as p } from "./DocTextEditor-idQMnlIF.js";
|
|
5
|
+
import { v as r } from "./index-tNIrTnCx.js";
|
|
6
|
+
import { S as g } from "./SmartList-BXeRj5NC.js";
|
|
7
7
|
const x = {
|
|
8
8
|
mixins: [m],
|
|
9
9
|
props: {
|