@cling-se/widget 0.15.6 → 0.15.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/dist/{AddClientCallout-BpWCvb7A.js → AddClientCallout-B3oHwM0w.js} +4 -4
- package/dist/{AnswerModal-0JXov7oA.js → AnswerModal-BIY9m36m.js} +3 -3
- package/dist/{AttachmentItem-C93ndWhI.js → AttachmentItem-CkenzhCJ.js} +4 -4
- package/dist/{BaseDatePicker-BaUxrKlN.js → BaseDatePicker-CtqDVlHe.js} +2 -2
- package/dist/{BaseUpload-CACi6tYY.js → BaseUpload-BeOrE1F0.js} +2 -2
- package/dist/{BlockMedia-Dlv23tgo.js → BlockMedia-BWGMf5cf.js} +1 -1
- package/dist/{CCallout-jnIpJu5U.js → CCallout-CB-vK9F0.js} +1 -1
- package/dist/{CCurrencyDropdown-BQLDbp9J.js → CCurrencyDropdown-Dlj42evv.js} +3 -3
- package/dist/{CDropdownItem-CNUf29O4.js → CDropdownItem-CRc4VSz5.js} +1 -1
- package/dist/{CFormField-qy_STCgm.js → CFormField-GIBoTVbZ.js} +1 -1
- package/dist/{CPhoneFormat-BZd_xftN.js → CPhoneFormat-Ca1ccVRu.js} +1 -1
- package/dist/{CPhoneInput-j4Zuah8p.js → CPhoneInput-DZpyNBd0.js} +5 -5
- package/dist/{CPriceInput-CXGw4w0R.js → CPriceInput-NXVAOnQP.js} +2 -2
- package/dist/{CSelect-CSwTYXae.js → CSelect-BrHJKjec.js} +1 -1
- package/dist/{CSkeleton-B5J9cKAm.js → CSkeleton-Dvy8uDVW.js} +1 -1
- package/dist/{ClientAutocomplete-CjaUEuHJ.js → ClientAutocomplete-jfloTTJ2.js} +3 -3
- package/dist/{ClientModal-Cn40dzh3.js → ClientModal-DmjLYO4d.js} +7 -7
- package/dist/{ColorPicker-wUW8hJ8i.js → ColorPicker-BH4PY9E2.js} +1 -1
- package/dist/{CompanyModal-CbcusrDu.js → CompanyModal-CAJqnGck.js} +6 -6
- package/dist/{ContentWrapper-Bad8dXOX.js → ContentWrapper-BI-9h6ov.js} +6 -6
- package/dist/{CoverBlockSettings-DX390gBU.js → CoverBlockSettings-DdXMR8BZ.js} +6 -6
- package/dist/{DocAnswer-BESzyKCO.js → DocAnswer-Dt-bz92P.js} +2 -2
- package/dist/{DocDetails-1rMbwwY3.js → DocDetails-D8QKEMLn.js} +4 -4
- package/dist/{DocForm-B3IxEK4j.js → DocForm-CE9_l6w6.js} +228 -247
- package/dist/{DocFormSend-sm8Hu8Be.js → DocFormSend-vTDflXXG.js} +2 -2
- package/dist/{DocLinks-CyXFaNcq.js → DocLinks-BO9czwt7.js} +2 -2
- package/dist/{DocModalBase-CSh4Lkzq.js → DocModalBase-0fsYtG6V.js} +1 -1
- package/dist/{DocPrint-BQ-M-3OC.js → DocPrint-xuxIQW8z.js} +1 -1
- package/dist/{DocReceipt-OoEOv4bh.js → DocReceipt-BytYF4CL.js} +2 -2
- package/dist/{DocSendReminder-dQcAFIdw.js → DocSendReminder-QvyimULH.js} +1 -1
- package/dist/{DocTextEditor-Ckfx6Hj5.js → DocTextEditor-UEAnD9Ix.js} +7 -7
- package/dist/{DocTimeline-DDaN8k9R.js → DocTimeline-fiAmLpmF.js} +2 -2
- package/dist/{DocumentClient-DBA3AQQG.js → DocumentClient-u93kv_ya.js} +5 -5
- package/dist/{DocumentLayout-D42e3G51.js → DocumentLayout-BZeD_Gyt.js} +4 -4
- package/dist/{DocumentLogotype-ngySb8g4.js → DocumentLogotype-byz8hCUp.js} +4 -4
- package/dist/{DocumentVoided-Dtj2XpOI.js → DocumentVoided-BsaIHjwB.js} +1 -1
- package/dist/{EmbedInput-CxqpXi4D.js → EmbedInput-Ar_w6ypO.js} +3 -3
- package/dist/{EmbedSettings-B4ejIQIJ.js → EmbedSettings-BbBFqsyn.js} +3 -3
- package/dist/{ErrorCallout-BiCmogrM.js → ErrorCallout-BzYGsd1X.js} +1 -1
- package/dist/{FilePreviewModal-CpSfuR9V.js → FilePreviewModal-15Lqa5yi.js} +2 -2
- package/dist/{Flag-B9CEVlmX.js → Flag-Iuep7qsp.js} +1 -1
- package/dist/{HeaderSettings-CowCzINW.js → HeaderSettings-CvzkxBdC.js} +9 -9
- package/dist/{ImageSelectModal-DdzcxIMp.js → ImageSelectModal-DPE6h4RY.js} +3 -3
- package/dist/{ImageUploadWrapper-CWCF8Dlc.js → ImageUploadWrapper-BLkn_myS.js} +2 -2
- package/dist/{Index-Df9ct4wb.js → Index-50TIN8HC.js} +6 -6
- package/dist/{Index-DqSikIZB.js → Index-5MnaOnb6.js} +1 -1
- package/dist/{Index-CaRFixxe.js → Index-7WHM8wRV.js} +6 -6
- package/dist/{Index-CWRkkwfa.js → Index-B6AG0SDV.js} +6 -6
- package/dist/{Index-Dm0Fzc6C.js → Index-BY06AGKE.js} +4 -4
- package/dist/{Index-DAsAy5JF.js → Index-BpVebMQy.js} +5 -5
- package/dist/{Index-07hqDjA-.js → Index-BxESK9aB.js} +5 -5
- package/dist/{Index-DtSf7JJt.js → Index-CNH4JNBW.js} +5 -5
- package/dist/{Index-B4imH9tr.js → Index-CTGPvq-f.js} +4 -4
- package/dist/{Index-BeAySORd.js → Index-CUqeHnaT.js} +3 -3
- package/dist/{Index-DdJbi1AO.js → Index-Cax7Dsww.js} +4 -4
- package/dist/{Index-ClP8s9kZ.js → Index-Chm5-Du4.js} +3 -3
- package/dist/{Index-D7WQe9WH.js → Index-CwSvxfJ5.js} +1 -1
- package/dist/{Index-CpLsMmCx.js → Index-D0RWB-gX.js} +7 -7
- package/dist/{Index-BS2bqI3s.js → Index-D99TWJd7.js} +4 -4
- package/dist/{Index-BXm5pjk3.js → Index-DL60EOXM.js} +8 -8
- package/dist/{Index-4_K-mW5b.js → Index-DMFdQHiN.js} +4 -4
- package/dist/{Index-BguXp1xd.js → Index-DMIHAmj8.js} +8 -8
- package/dist/{Index-U_PvsI4Y.js → Index-DQ75m466.js} +4 -4
- package/dist/{Index-Cnyk_-IC.js → Index-DY3zeep-.js} +4 -4
- package/dist/{Index-BLK2yfMF.js → Index-DYEEwHGV.js} +2 -2
- package/dist/{Index-SN7H4PM1.js → Index-DZqfg4MK.js} +13 -13
- package/dist/{Index-Cmu_M3TM.js → Index-DfwtlBQ3.js} +2 -2
- package/dist/{Index-FfBNBm3w.js → Index-DgQ-y4d6.js} +2 -2
- package/dist/{Index-sFiPn5zO.js → Index-DoZ0cI55.js} +5 -5
- package/dist/{Index-CEQgPBnH.js → Index-DyjWjAAx.js} +5 -5
- package/dist/{Index-B4PLiPUX.js → Index-LXkKYFjA.js} +1 -1
- package/dist/{Index-BGXkhXYw.js → Index-SPap79Kf.js} +2 -2
- package/dist/{Index-DhrjL3IY.js → Index-TleoR19t.js} +5 -5
- package/dist/{Index-DZ59IAyR.js → Index-ToUQ0bbZ.js} +2 -2
- package/dist/{Index-DEcCSixa.js → Index-Zbf56tZX.js} +2 -2
- package/dist/{Index-DMy3kJ7T.js → Index-fYzmWvd0.js} +4 -4
- package/dist/{Index-BY9jJJk1.js → Index-kK3KdJTZ.js} +4 -4
- package/dist/{Index-DWC0ggkj.js → Index-uUhpQoXx.js} +5 -5
- package/dist/{InputToggleRow-CRC8ievQ.js → InputToggleRow-DNiafQW4.js} +1 -1
- package/dist/{ManualPopover-15SKAS2F.js → ManualPopover-0DFFMWlf.js} +1 -1
- package/dist/{MediaWrapper-CihDdp6P.js → MediaWrapper-BSlTqnhh.js} +3 -3
- package/dist/{NotBindingText-nUBihSic.js → NotBindingText-BfGCgcsR.js} +2 -2
- package/dist/{PackageGroup-Bk0UeRqr.js → PackageGroup-DCTGA4Ro.js} +5 -5
- package/dist/{PdfTerms-Cy2kB_Zo.js → PdfTerms-CXrs6eMv.js} +2 -2
- package/dist/{PdfViewer-BMcMfsRH.js → PdfViewer-DxzSft8L.js} +3 -3
- package/dist/{PlainHtml-BDvPNe17.js → PlainHtml-HRXr99JY.js} +1 -1
- package/dist/{PriceHeader-DzvUaY9O.js → PriceHeader-hXjfZxfH.js} +6 -6
- package/dist/{SearchApi-BPJpYWWz.js → SearchApi-DW3HuCLP.js} +2 -2
- package/dist/{SendForm-DWVu8jq8.js → SendForm-fONWRcc-.js} +9 -9
- package/dist/{Setup-DjxGq4d9.js → Setup-Tt45041C.js} +1 -1
- package/dist/{SmartList-Bh10ojB0.js → SmartList-DBf6ys28.js} +1 -1
- package/dist/{TermsSettings-Cg8TYiLL.js → TermsSettings-ucWr_Wwo.js} +5 -5
- package/dist/{ThemeColorRow-BeNhoFSI.js → ThemeColorRow-CF2NFLjN.js} +3 -3
- package/dist/{ToggleBinding-KmMUK5gz.js → ToggleBinding-DJIrPKnF.js} +4 -4
- package/dist/{UploadModal-DTmPPCz3.js → UploadModal-C6bdMw0O.js} +2 -2
- package/dist/{VideoPlayerInput-Z5j6JzLW.js → VideoPlayerInput-DOZOevkX.js} +4 -4
- package/dist/{VideoPlayerSettings-C7GjuMAw.js → VideoPlayerSettings-IMxM4ek4.js} +2 -2
- package/dist/{VideoSelectModal-DMIdcoOE.js → VideoSelectModal-siyVr32Q.js} +3 -3
- package/dist/{answerDocumentMixin-DulmofDA.js → answerDocumentMixin-B39nx-g1.js} +3 -3
- package/dist/{debounce-nohaKn7u.js → debounce-CHDfr29z.js} +1 -1
- package/dist/{focusDrawerMixin-BsYcC4qG.js → focusDrawerMixin-D9UjWglf.js} +1 -1
- package/dist/{formDrawerState-Bpcaq429.js → formDrawerState-ZuevS9li.js} +1 -1
- package/dist/{formValidationMixin-DYGNCEbq.js → formValidationMixin-Dm50vaeG.js} +1 -1
- package/dist/{index-BUGMJTF2.js → index-BJGKN_Lo.js} +6 -6
- package/dist/{index-BVOHCIHl.js → index-CUzKWi0i.js} +5 -5
- package/dist/{index-CySeSzas.js → index-DBKwhFmi.js} +1 -1
- package/dist/{index-zBWldKKX.js → index-Dq-34h-w.js} +6 -6
- package/dist/{index-CxitjuY3.js → index-RCHnUQZg.js} +1 -1
- package/dist/{index-CtA6LmXt.js → index-wO4GnKTd.js} +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +190 -193
- package/dist/{main-CfSVOXu-.js → main-DGbS8R6V.js} +12052 -13175
- package/dist/{mapFormMixin-BTZaIaQ8.js → mapFormMixin-CT5_px27.js} +1 -1
- package/dist/{omit-DIEW6Th9.js → omit-BXSebC3v.js} +1 -1
- package/dist/{publicSenderState-B4TdI-yD.js → publicSenderState-CXESYkye.js} +1 -1
- package/dist/{simplebar.min-BZ0EEeAp.js → simplebar.min-5QX85rG2.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{throttle-JENEyCY1.js → throttle-CLeRwaqj.js} +2 -2
- package/dist/{tinycolor-79beE8BV.js → tinycolor-BP1bAH70.js} +1 -1
- package/dist/{tippy.esm-CR28gOMM.js → tippy.esm-B9UOKRIp.js} +5 -5
- package/dist/{utils-CD2k1yv3.js → utils-ChpqjBlG.js} +1 -1
- package/dist/{vuedraggable.umd-IXGjMCUG.js → vuedraggable.umd-BDI5B15c.js} +1 -1
- package/package.json +2 -2
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import re from "./AnswerModal-
|
|
2
|
-
import { o as ce } from "./index-
|
|
3
|
-
import { w, C as P, a as E } from "./CDropdownItem-
|
|
4
|
-
import { b0 as H, g as h, n as d, c as f, b as u, d as de, b1 as pe, S as ue, D as W, i as T, aC as me, aT as x, ae as p, W as z, h as B, $ as m, b2 as he, b3 as fe, b4 as ge, b5 as Ce, b6 as ve, b7 as ye, V as q, aV as N, aW as j, I as U, b8 as I, aX as xe, b9 as we, t as K, ba as be, k as ke, l as Y, bb as _e, bc as Le, u as $e, bd as Se, y as Te, x as y, N as De, be as Ve, C as Q, bf as Be, bg as Me, U as J, bh as Ie, bi as Fe, aY as He, bj as Ae, bk as Pe, bl as Ee, a9 as ze, bm as Ze, m as Oe, a as Ue, bn as Re } from "./main-
|
|
1
|
+
import re from "./AnswerModal-BIY9m36m.js";
|
|
2
|
+
import { o as ce } from "./index-RCHnUQZg.js";
|
|
3
|
+
import { w, C as P, a as E } from "./CDropdownItem-CRc4VSz5.js";
|
|
4
|
+
import { b0 as H, g as h, n as d, c as f, b as u, d as de, b1 as pe, S as ue, D as W, i as T, aC as me, aT as x, ae as p, W as z, h as B, $ as m, b2 as he, b3 as fe, b4 as ge, b5 as Ce, b6 as ve, b7 as ye, V as q, aV as N, aW as j, I as U, b8 as I, aX as xe, b9 as we, t as K, ba as be, k as ke, l as Y, bb as _e, bc as Le, u as $e, bd as Se, y as Te, x as y, N as De, be as Ve, C as Q, bf as Be, bg as Me, U as J, bh as Ie, bi as Fe, aY as He, bj as Ae, bk as Pe, bl as Ee, a9 as ze, bm as Ze, m as Oe, a as Ue, bn as Re } from "./main-DGbS8R6V.js";
|
|
5
5
|
import { a as b, m as C } from "./vuex.esm-DKGl8mcw.js";
|
|
6
|
-
import { s as _ } from "./simplebar.min-
|
|
7
|
-
import { l as Ge, g as We, W as qe, b as Ne, a as je, D as Ke } from "./DocumentLayout-
|
|
8
|
-
import { F as X, d as Ye } from "./tippy.esm-
|
|
9
|
-
import { m as D } from "./mapFormMixin-
|
|
10
|
-
import { a as Qe } from "./ClientAutocomplete-
|
|
11
|
-
import { d as Z, t as Je } from "./debounce-
|
|
12
|
-
import { d as Xe } from "./vuedraggable.umd-
|
|
13
|
-
import { C as et, I as L, a as $, s as tt } from "./index-
|
|
14
|
-
import { C as O } from "./CFormField-
|
|
15
|
-
import { S as it } from "./SmartList-
|
|
16
|
-
import { o as at, _ as nt } from "./omit-
|
|
17
|
-
import { v as A } from "./index-
|
|
18
|
-
import { t as st } from "./tinycolor-
|
|
19
|
-
import { s as v } from "./formDrawerState-
|
|
6
|
+
import { s as _ } from "./simplebar.min-5QX85rG2.js";
|
|
7
|
+
import { l as Ge, g as We, W as qe, b as Ne, a as je, D as Ke } from "./DocumentLayout-BZeD_Gyt.js";
|
|
8
|
+
import { F as X, d as Ye } from "./tippy.esm-B9UOKRIp.js";
|
|
9
|
+
import { m as D } from "./mapFormMixin-CT5_px27.js";
|
|
10
|
+
import { a as Qe } from "./ClientAutocomplete-jfloTTJ2.js";
|
|
11
|
+
import { d as Z, t as Je } from "./debounce-CHDfr29z.js";
|
|
12
|
+
import { d as Xe } from "./vuedraggable.umd-BDI5B15c.js";
|
|
13
|
+
import { C as et, I as L, a as $, s as tt } from "./index-CUzKWi0i.js";
|
|
14
|
+
import { C as O } from "./CFormField-GIBoTVbZ.js";
|
|
15
|
+
import { S as it } from "./SmartList-DBf6ys28.js";
|
|
16
|
+
import { o as at, _ as nt } from "./omit-BXSebC3v.js";
|
|
17
|
+
import { v as A } from "./index-DBKwhFmi.js";
|
|
18
|
+
import { t as st } from "./tinycolor-BP1bAH70.js";
|
|
19
|
+
import { s as v } from "./formDrawerState-ZuevS9li.js";
|
|
20
20
|
import { s as ot } from "./dom-CJxkno7i.js";
|
|
21
|
-
import { S as lt } from "./SendForm-
|
|
22
|
-
import { f as rt } from "./formValidationMixin-
|
|
23
|
-
import { C as ct } from "./CCallout-
|
|
24
|
-
import { C as dt } from "./CSkeleton-
|
|
25
|
-
import { B as pt } from "./BlockMedia-
|
|
21
|
+
import { S as lt } from "./SendForm-fONWRcc-.js";
|
|
22
|
+
import { f as rt } from "./formValidationMixin-Dm50vaeG.js";
|
|
23
|
+
import { C as ct } from "./CCallout-CB-vK9F0.js";
|
|
24
|
+
import { C as dt } from "./CSkeleton-Dvy8uDVW.js";
|
|
25
|
+
import { B as pt } from "./BlockMedia-BWGMf5cf.js";
|
|
26
26
|
const ut = {
|
|
27
27
|
name: "DocumentPostSendStep",
|
|
28
28
|
mixins: [w],
|
|
@@ -4392,45 +4392,22 @@ const k2 = ({
|
|
|
4392
4392
|
embed: j1,
|
|
4393
4393
|
videoPlayer: P2,
|
|
4394
4394
|
custom: he
|
|
4395
|
-
}
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
set: this.set,
|
|
4412
|
-
tplGenerators: R,
|
|
4413
|
-
includeMockData: this.includeMockData,
|
|
4414
|
-
emit: (...e) => this.$emit(...e)
|
|
4415
|
-
}),
|
|
4416
|
-
getBlockPayload: (i) => ye(
|
|
4417
|
-
i,
|
|
4418
|
-
this.set,
|
|
4419
|
-
R,
|
|
4420
|
-
this.includeMockdata
|
|
4421
|
-
)
|
|
4422
|
-
});
|
|
4423
|
-
}
|
|
4424
|
-
}, z2 = null, Z2 = null;
|
|
4425
|
-
var O2 = /* @__PURE__ */ d(
|
|
4426
|
-
E2,
|
|
4427
|
-
z2,
|
|
4428
|
-
Z2,
|
|
4429
|
-
!1,
|
|
4430
|
-
null,
|
|
4431
|
-
null
|
|
4432
|
-
);
|
|
4433
|
-
const ie = O2.exports, U2 = {
|
|
4395
|
+
};
|
|
4396
|
+
function ie({
|
|
4397
|
+
setter: i,
|
|
4398
|
+
emitter: e
|
|
4399
|
+
}) {
|
|
4400
|
+
return {
|
|
4401
|
+
addBlock: (n) => ve({
|
|
4402
|
+
...n,
|
|
4403
|
+
set: i,
|
|
4404
|
+
tplGenerators: R,
|
|
4405
|
+
emit: e
|
|
4406
|
+
}),
|
|
4407
|
+
getBlockPayload: (n) => ye(n, i, R)
|
|
4408
|
+
};
|
|
4409
|
+
}
|
|
4410
|
+
const E2 = {
|
|
4434
4411
|
name: "MenuBlockConvertPopover",
|
|
4435
4412
|
props: {
|
|
4436
4413
|
target: {
|
|
@@ -4463,22 +4440,22 @@ const ie = O2.exports, U2 = {
|
|
|
4463
4440
|
}
|
|
4464
4441
|
}
|
|
4465
4442
|
};
|
|
4466
|
-
var
|
|
4443
|
+
var z2 = function() {
|
|
4467
4444
|
var e = this, t = e._self._c;
|
|
4468
4445
|
return t("div", [t("div", { staticClass: "fixed inset-0 z-10", on: { click: function(a) {
|
|
4469
4446
|
return a.target !== a.currentTarget ? null : e.$emit("close");
|
|
4470
4447
|
} } }), t("transition", { attrs: { appear: "", mode: "out-in", "enter-active-class": "transition-all duration-100 ease-out", "enter-class": "-translate-x-4 opacity-0", "enter-to-class": "translate-x-0 opacity-100", "leave-active-class": "transition-opacity duration-100 ease-out", "leave-class": "opacity-100", "leave-to-class": "opacity-0" } }, [t("div", { ref: "popover", staticClass: "absolute z-10 w-52 -translate-y-1/2 rounded-lg bg-white p-4 text-sm shadow-xl" }, [t("div", { staticClass: "pb-4", domProps: { innerHTML: e._s(e.$t("text")) } }), t("CButton", { attrs: { type: "secondary", size: "small", "icon-right": "arrow-right" }, on: { click: function(a) {
|
|
4471
4448
|
return e.$emit("convert");
|
|
4472
4449
|
} } }, [e._v(" " + e._s(e.$t("button")) + " ")])], 1)])], 1);
|
|
4473
|
-
},
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4450
|
+
}, Z2 = [], O2 = /* @__PURE__ */ d(
|
|
4451
|
+
E2,
|
|
4452
|
+
z2,
|
|
4453
|
+
Z2,
|
|
4477
4454
|
!1,
|
|
4478
4455
|
null,
|
|
4479
4456
|
null
|
|
4480
4457
|
);
|
|
4481
|
-
const
|
|
4458
|
+
const U2 = O2.exports, R2 = q.component("ProBadge", {
|
|
4482
4459
|
name: "ProBadge",
|
|
4483
4460
|
render(i) {
|
|
4484
4461
|
return i(
|
|
@@ -4489,7 +4466,7 @@ const q2 = W2.exports, N2 = q.component("ProBadge", {
|
|
|
4489
4466
|
"Pro"
|
|
4490
4467
|
);
|
|
4491
4468
|
}
|
|
4492
|
-
}),
|
|
4469
|
+
}), G2 = {
|
|
4493
4470
|
name: "MenuBlocks",
|
|
4494
4471
|
i18nOptions: {
|
|
4495
4472
|
namespaces: "menuBlocks",
|
|
@@ -4562,10 +4539,9 @@ const q2 = W2.exports, N2 = q.component("ProBadge", {
|
|
|
4562
4539
|
simplebar: _,
|
|
4563
4540
|
DragList: N,
|
|
4564
4541
|
DragItem: j,
|
|
4565
|
-
AddBlock: ie,
|
|
4566
4542
|
IsPremiumPreStep: L,
|
|
4567
|
-
ProBadge:
|
|
4568
|
-
MenuBlockConvertPopover:
|
|
4543
|
+
ProBadge: R2,
|
|
4544
|
+
MenuBlockConvertPopover: U2
|
|
4569
4545
|
},
|
|
4570
4546
|
mixins: [w],
|
|
4571
4547
|
inject: {
|
|
@@ -4595,6 +4571,13 @@ const q2 = W2.exports, N2 = q.component("ProBadge", {
|
|
|
4595
4571
|
default: !0
|
|
4596
4572
|
}
|
|
4597
4573
|
},
|
|
4574
|
+
setup(i, { emit: e }) {
|
|
4575
|
+
const { addBlock: t, getBlockPayload: a } = ie({
|
|
4576
|
+
setter: i.set,
|
|
4577
|
+
emitter: e
|
|
4578
|
+
});
|
|
4579
|
+
return { addBlock: t, getBlockPayload: a };
|
|
4580
|
+
},
|
|
4598
4581
|
data() {
|
|
4599
4582
|
return {
|
|
4600
4583
|
subMenuToShow: null,
|
|
@@ -4994,58 +4977,52 @@ const q2 = W2.exports, N2 = q.component("ProBadge", {
|
|
|
4994
4977
|
}
|
|
4995
4978
|
}
|
|
4996
4979
|
};
|
|
4997
|
-
var
|
|
4980
|
+
var W2 = function() {
|
|
4998
4981
|
var e = this, t = e._self._c;
|
|
4999
|
-
return t("
|
|
5000
|
-
return
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
return t("
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
} }], null, !0) })];
|
|
5039
|
-
} }]) });
|
|
5040
|
-
}, Y2 = [], Q2 = /* @__PURE__ */ d(
|
|
5041
|
-
j2,
|
|
5042
|
-
K2,
|
|
5043
|
-
Y2,
|
|
4982
|
+
return t("IsPremiumPreStep", { attrs: { feature: "documentBlocks" }, scopedSlots: e._u([{ key: "default", fn: function({ onClick: a }) {
|
|
4983
|
+
return [t("div", { on: { "&mouseleave": function(n) {
|
|
4984
|
+
return e.onMouseleaveDrawer.apply(null, arguments);
|
|
4985
|
+
} } }, [!e.canUseBlocks && e.showConvertEditableDialog ? t("MenuBlockConvertPopover", { attrs: { target: e.showConvertEditableDialogTarget }, on: { convert: e.deSyncTemplate, close: function(n) {
|
|
4986
|
+
e.showConvertEditableDialog = !1;
|
|
4987
|
+
} } }) : e._e(), t("div", { staticClass: "menu-container" }, [e._l([
|
|
4988
|
+
{ data: e.primaryBlocks },
|
|
4989
|
+
{ data: e.secondaryBlocks }
|
|
4990
|
+
], function(n, s) {
|
|
4991
|
+
return t("div", { key: s }, [s > 0 ? t("div", { staticStyle: { height: "1px", "background-color": "hsl(0, 0%, 88%)", margin: "calc(1 * var(--rem))" } }) : e._e(), t("DragList", { attrs: { group: { name: "blocks", pull: "clone", put: !1 }, "get-child-payload": (o) => e.getBlockPayload(e.getSectionKey({ data: n.data, index: o })), "drop-placeholder": {
|
|
4992
|
+
className: "drag-drop-menu-placeholder"
|
|
4993
|
+
}, "get-ghost-parent": e.getGhostParent, "non-drag-area-selector": ".no-drag", "drag-handle-selector": ".drag-item", "group-name": "document-blocks", "ghost-class": "drag-drop-ghost", behaviour: "copy" } }, e._l(n.data, function(o) {
|
|
4994
|
+
return t("DragItem", { key: o.key, class: { "drag-item": e.canDrag } }, [t("div", e._b(
|
|
4995
|
+
{ class: {
|
|
4996
|
+
"no-drag": o.disabled || o.locked || !e.canUseBlocks
|
|
4997
|
+
}, on: { "&mouseover": function(l) {
|
|
4998
|
+
e.subMenuToShow = !o.disabled && e.canDrag && o.subMenu || null;
|
|
4999
|
+
}, "&mouseleave": function(l) {
|
|
5000
|
+
e.subMenuToShow = null;
|
|
5001
|
+
} } },
|
|
5002
|
+
"div",
|
|
5003
|
+
o.hasTooltip ? { "data-tooltip-key": o.key } : null,
|
|
5004
|
+
!1
|
|
5005
|
+
), [t("CButton", { ref: "blockItem", refInFor: !0, staticClass: "option-row is-thinner is-left", class: {
|
|
5006
|
+
"sub-menu-active": o.key === e.activeSubMenuKey
|
|
5007
|
+
}, staticStyle: { "padding-left": "1.5em", "padding-right": "2em", "border-radius": "0", "font-size": "14px", "border-color": "transparent" }, attrs: { disabled: o.disabled, wide: "", pattern: "secondary" }, on: { click: (l) => e.onUseBlock({ block: o, addBlock: e.addBlock, openUpgradeModal: a }) } }, [t("div", { staticClass: "flex items-center", staticStyle: { width: "230px" } }, [t("div", { staticClass: "flex items-center", staticStyle: { width: "initial", flex: "1 1 auto" } }, [t("div", { staticClass: "option-image", domProps: { innerHTML: e._s(o.icon) } }), t("div", { staticClass: "option-title" }, [e._v(" " + e._s(e.$t(`blocks.${o.key}`)) + " ")])]), o.locked ? t("ProBadge") : !e.fixed && o.subMenu ? t("CIcon", { staticStyle: { color: "hsl(205, 10%, 65%)" }, attrs: { type: "chevron-right", size: "14" } }) : e._e()], 1)])], 1)]);
|
|
5008
|
+
}), 1)], 1);
|
|
5009
|
+
}), e._t("footer")], 2), t("transition", { attrs: { name: "slide-right" } }, [t("div", { directives: [{ name: "show", rawName: "v-show", value: e.activeSubMenu, expression: "activeSubMenu" }], staticClass: "submenu", on: { "&mouseover": function(n) {
|
|
5010
|
+
e.subMenuToShow = e.activeSubMenu;
|
|
5011
|
+
}, "&mouseleave": function(n) {
|
|
5012
|
+
e.subMenuToShow = null;
|
|
5013
|
+
} } }, [t("simplebar", { staticClass: "h-full py-4 pl-3", attrs: { "data-simplebar-auto-hide": "false" } }, [t("DragList", { attrs: { group: { name: "blocks", pull: "clone", put: !1 }, "get-child-payload": (n) => e.getSubMenuPayload({ index: n, getBlockPayload: e.getBlockPayload }), "drop-placeholder": { className: "drag-drop-menu-placeholder" }, "get-ghost-parent": e.getGhostParent, "non-drag-area-selector": ".no-drag", "drag-handle-selector": ".drag-item", "group-name": "document-blocks", "ghost-class": "drag-drop-ghost", behaviour: "copy" } }, e._l(e.activeSubMenu, function(n, s) {
|
|
5014
|
+
return t("DragItem", { key: n.key + s, staticClass: "px-1.5", class: { "drag-item": !n.locked && e.canUseBlocks } }, [t("div", { staticClass: "relative" }, [t("div", { staticClass: "drag-item-preview", domProps: { innerHTML: e._s(n.previewUrl) }, on: { click: (o) => e.onUseBlock({ block: n, addBlock: e.addBlock, openUpgradeModal: a }) } }), n.locked ? t("ProBadge", { staticClass: "absolute bottom-2 right-4" }) : e._e()], 1)]);
|
|
5015
|
+
}), 1)], 1)], 1)])], 1)];
|
|
5016
|
+
} }], null, !0) });
|
|
5017
|
+
}, q2 = [], N2 = /* @__PURE__ */ d(
|
|
5018
|
+
G2,
|
|
5019
|
+
W2,
|
|
5020
|
+
q2,
|
|
5044
5021
|
!1,
|
|
5045
5022
|
null,
|
|
5046
|
-
"
|
|
5023
|
+
"e169d4c1"
|
|
5047
5024
|
);
|
|
5048
|
-
const
|
|
5025
|
+
const j2 = N2.exports, K2 = {
|
|
5049
5026
|
name: "DocumentFormMenu",
|
|
5050
5027
|
i18nOptions: {
|
|
5051
5028
|
namespaces: "documentFormMenu",
|
|
@@ -5065,8 +5042,8 @@ const J2 = Q2.exports, X2 = {
|
|
|
5065
5042
|
Fields: B1,
|
|
5066
5043
|
ExtensionTab: w1,
|
|
5067
5044
|
DocumentGeneralSettings: g1,
|
|
5068
|
-
DocumentGuide: () => import("./index-
|
|
5069
|
-
MenuBlocks:
|
|
5045
|
+
DocumentGuide: () => import("./index-wO4GnKTd.js"),
|
|
5046
|
+
MenuBlocks: j2,
|
|
5070
5047
|
Simplebar: _
|
|
5071
5048
|
},
|
|
5072
5049
|
props: {
|
|
@@ -5133,7 +5110,7 @@ const J2 = Q2.exports, X2 = {
|
|
|
5133
5110
|
}
|
|
5134
5111
|
}
|
|
5135
5112
|
};
|
|
5136
|
-
var
|
|
5113
|
+
var Y2 = function() {
|
|
5137
5114
|
var e = this, t = e._self._c;
|
|
5138
5115
|
return t("div", [t("div", { staticClass: "root menu-wrapper fixed left-0 top-14 z-[99] bg-white", style: [{ width: `${e.width}px` }, e.fixed && { zIndex: 999 }] }, [e.fixed ? t("div", { staticClass: "fixed inset-0", on: { click: function(a) {
|
|
5139
5116
|
return e.$emit("close");
|
|
@@ -5182,21 +5159,21 @@ var ei = function() {
|
|
|
5182
5159
|
}, offset: e.fixed ? 0 : e.width }, on: { input: ({ key: a, value: n }) => e.set({ key: a, value: n }) } }) : e._e()], 1)], 1), e.showGuide ? t("DocumentGuide", { on: { close: function(a) {
|
|
5183
5160
|
e.showGuide = !1;
|
|
5184
5161
|
} } }) : e._e()], 1)])]);
|
|
5185
|
-
},
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
|
|
5162
|
+
}, Q2 = [], J2 = /* @__PURE__ */ d(
|
|
5163
|
+
K2,
|
|
5164
|
+
Y2,
|
|
5165
|
+
Q2,
|
|
5189
5166
|
!1,
|
|
5190
5167
|
null,
|
|
5191
5168
|
"334d1b63"
|
|
5192
5169
|
);
|
|
5193
|
-
const
|
|
5170
|
+
const X2 = J2.exports, ae = (i, e, t = "$children") => {
|
|
5194
5171
|
if (!i)
|
|
5195
5172
|
return;
|
|
5196
5173
|
e(i);
|
|
5197
5174
|
const a = i[t];
|
|
5198
5175
|
!a && !Array.isArray(a) || a.forEach((n) => ae(n, e));
|
|
5199
|
-
},
|
|
5176
|
+
}, ei = {
|
|
5200
5177
|
i18nOptions: {
|
|
5201
5178
|
namespaces: "DocumentFormContainer",
|
|
5202
5179
|
messages: {
|
|
@@ -5216,7 +5193,7 @@ const ai = ii.exports, ae = (i, e, t = "$children") => {
|
|
|
5216
5193
|
DragList: N,
|
|
5217
5194
|
DragItem: j,
|
|
5218
5195
|
DynamicChapter: Ne,
|
|
5219
|
-
DocumentFormMenu:
|
|
5196
|
+
DocumentFormMenu: X2,
|
|
5220
5197
|
DynamicBlock: Wt,
|
|
5221
5198
|
DocumentFormViewRadio: Ht,
|
|
5222
5199
|
DocumentFormNav: Vt,
|
|
@@ -5462,7 +5439,7 @@ const ai = ii.exports, ae = (i, e, t = "$children") => {
|
|
|
5462
5439
|
}
|
|
5463
5440
|
}
|
|
5464
5441
|
};
|
|
5465
|
-
var
|
|
5442
|
+
var ti = function() {
|
|
5466
5443
|
var e = this, t = e._self._c;
|
|
5467
5444
|
return t("div", { staticClass: "h-screen overflow-auto" }, [t("div", { staticClass: "relative flex min-h-screen flex-row bg-gray-200", class: {
|
|
5468
5445
|
"is-edit-view": e.isEditView,
|
|
@@ -5541,18 +5518,18 @@ var si = function() {
|
|
|
5541
5518
|
} } }, [t("CButton", { staticClass: "absolute right-2 top-2", attrs: { "icon-props": { size: 20 }, size: "normal", icon: "x", circle: "", type: "none", pattern: "tertiary" }, on: { click: function(a) {
|
|
5542
5519
|
e.drawerState.openSection = null;
|
|
5543
5520
|
} } }), t("portal-target", { attrs: { name: "drawer-content" } })], 1)], 1)]);
|
|
5544
|
-
},
|
|
5521
|
+
}, ii = [function() {
|
|
5545
5522
|
var i = this, e = i._self._c;
|
|
5546
5523
|
return e("div", { staticClass: "drag-drop-illustration-block" }, [e("div"), e("div")]);
|
|
5547
|
-
}],
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5524
|
+
}], ai = /* @__PURE__ */ d(
|
|
5525
|
+
ei,
|
|
5526
|
+
ti,
|
|
5527
|
+
ii,
|
|
5551
5528
|
!1,
|
|
5552
5529
|
null,
|
|
5553
5530
|
"8032bdc2"
|
|
5554
5531
|
);
|
|
5555
|
-
const
|
|
5532
|
+
const ni = ai.exports, si = {
|
|
5556
5533
|
name: "DocumentSend",
|
|
5557
5534
|
i18nOptions: {
|
|
5558
5535
|
namespaces: "documentSend",
|
|
@@ -5576,7 +5553,6 @@ const ri = li.exports, ci = {
|
|
|
5576
5553
|
}
|
|
5577
5554
|
},
|
|
5578
5555
|
components: {
|
|
5579
|
-
AddBlock: ie,
|
|
5580
5556
|
Drawer: ee,
|
|
5581
5557
|
SendForm: lt,
|
|
5582
5558
|
CCheckbox: K,
|
|
@@ -5606,6 +5582,13 @@ const ri = li.exports, ci = {
|
|
|
5606
5582
|
required: !0
|
|
5607
5583
|
}
|
|
5608
5584
|
},
|
|
5585
|
+
setup(i, { emit: e }) {
|
|
5586
|
+
const { addBlock: t } = ie({
|
|
5587
|
+
setter: i.setFormValue,
|
|
5588
|
+
emitter: e
|
|
5589
|
+
});
|
|
5590
|
+
return { addBlock: t };
|
|
5591
|
+
},
|
|
5609
5592
|
data() {
|
|
5610
5593
|
return {
|
|
5611
5594
|
isOpen: !1,
|
|
@@ -5673,7 +5656,7 @@ const ri = li.exports, ci = {
|
|
|
5673
5656
|
}
|
|
5674
5657
|
}
|
|
5675
5658
|
};
|
|
5676
|
-
var
|
|
5659
|
+
var oi = function() {
|
|
5677
5660
|
var e = this, t = e._self._c;
|
|
5678
5661
|
return e.mq !== "sm" || e.isOpen ? t(e.mq === "sm" ? "div" : "Drawer", { tag: "component", attrs: { placement: "right" }, model: { value: e.isOpen, callback: function(a) {
|
|
5679
5662
|
e.isOpen = a;
|
|
@@ -5695,20 +5678,18 @@ var di = function() {
|
|
|
5695
5678
|
}, expression: "saveTemplate" } }), t("div", { staticStyle: { "padding-left": "0.5em" } }, [e._v(" " + e._s(e.$t("saveDocAsTemplate")) + " "), t("CIcon", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.saveTemplateTooltip, expression: "saveTemplateTooltip" }], attrs: { type: "info", size: "15" } })], 1)], 1)];
|
|
5696
5679
|
} }], null, !0) })];
|
|
5697
5680
|
} }], null, !1, 4212506376) })], 1)];
|
|
5698
|
-
}, proxy: !0 }], null, !1, 4264192666) }, [e.hasAnswerBlock ? e._e() : t("div", { key: "1", staticClass: "mb-8 flex rounded-lg border border-red-200 bg-red-50 p-3" }, [t("div", [t("CIcon", { staticClass: "-mt-1 text-red-600", attrs: { type: "error", size: "18" } })], 1), t("div", [t("div", { staticClass: "pl-2" }, [t("div", { staticClass: "text-sm font-semibold text-red-600", domProps: { textContent: e._s(e.$t("signMissingTitle")) } }), t("div", { staticClass: "mb-4 text-sm text-red-600 text-opacity-80" }, [e._v(" " + e._s(e.$t("signMissingText")) + " ")])]), t("
|
|
5699
|
-
return
|
|
5700
|
-
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
di,
|
|
5706
|
-
pi,
|
|
5681
|
+
}, proxy: !0 }], null, !1, 4264192666) }, [e.hasAnswerBlock ? e._e() : t("div", { key: "1", staticClass: "mb-8 flex rounded-lg border border-red-200 bg-red-50 p-3" }, [t("div", [t("CIcon", { staticClass: "-mt-1 text-red-600", attrs: { type: "error", size: "18" } })], 1), t("div", [t("div", { staticClass: "pl-2" }, [t("div", { staticClass: "text-sm font-semibold text-red-600", domProps: { textContent: e._s(e.$t("signMissingTitle")) } }), t("div", { staticClass: "mb-4 text-sm text-red-600 text-opacity-80" }, [e._v(" " + e._s(e.$t("signMissingText")) + " ")])]), t("CButton", { staticClass: "is-left", attrs: { type: "secondary", size: "small" }, on: { click: function(a) {
|
|
5682
|
+
return e.addBlock({ sectionKey: "answer", document: e._document });
|
|
5683
|
+
} } }, [e._v(" " + e._s(e.$t("signMissingAdd")) + " ")])], 1)])])], 1)]) : e._e();
|
|
5684
|
+
}, li = [], ri = /* @__PURE__ */ d(
|
|
5685
|
+
si,
|
|
5686
|
+
oi,
|
|
5687
|
+
li,
|
|
5707
5688
|
!1,
|
|
5708
5689
|
null,
|
|
5709
|
-
"
|
|
5690
|
+
"33da78a6"
|
|
5710
5691
|
);
|
|
5711
|
-
const
|
|
5692
|
+
const ci = ri.exports, di = {
|
|
5712
5693
|
i18nOptions: {
|
|
5713
5694
|
namespaces: "DocumentTemplateFormModal",
|
|
5714
5695
|
messages: {
|
|
@@ -5856,7 +5837,7 @@ const mi = ui.exports, hi = {
|
|
|
5856
5837
|
}
|
|
5857
5838
|
}
|
|
5858
5839
|
};
|
|
5859
|
-
var
|
|
5840
|
+
var pi = function() {
|
|
5860
5841
|
var e = this, t = e._self._c;
|
|
5861
5842
|
return t("div", { staticClass: "t-root font-inter" }, [t("div", { staticStyle: { "font-size": "18px", "font-weight": "700", "text-align": "center", "margin-bottom": "1em" } }, [e._v(" " + e._s(e.template ? e.$t("_common:edit", { thing: e.$t("_common:name") }) : e.$t("_common:save", { thing: e.$t("_common:template") })) + " ")]), t("div", [e.template ? e._e() : t("CCallout", [e._v(" " + e._s(e.$t("calloutDescription")) + " ")]), t("CField", { attrs: { vuelidate: e.$v.name, "vuelidate-messages": e.messages.name, label: e.$t("_common:name").capitalize(), "label-position": "inside" } }, [t("CInput", { ref: "input", staticClass: "rounder", staticStyle: { "margin-bottom": "calc(1 * var(--rem))" }, attrs: { value: e.updateExistingDocTemplate ? e.document.template.name : e.name, placeholder: e.$t("namePlaceholder"), disabled: e.updateExistingDocTemplate, size: "medium" }, on: { input: function(a) {
|
|
5862
5843
|
e.name = a;
|
|
@@ -5865,24 +5846,24 @@ var fi = function() {
|
|
|
5865
5846
|
}, expression: "updateExistingDocTemplate" } }, [t("div", { staticClass: "text-gray-600" }, [e._v(" " + e._s(e.$t("updateExisting")) + " ")])])], 1)], 1) : e._e(), e.document && e.document.clients.length ? t("div", [t("CField", { staticStyle: { "padding-left": "calc(0.5 * var(--rem))", "margin-bottom": "calc(0.5 * var(--rem))" } }, [t("CCheckbox", { attrs: { type: "secondary", size: "normal" }, model: { value: e.keepClients, callback: function(a) {
|
|
5866
5847
|
e.keepClients = a;
|
|
5867
5848
|
}, expression: "keepClients" } }, [t("div", { staticClass: "text-gray-600" }, [e._v(" " + e._s(e.$t("keepClients")) + " ")])])], 1)], 1) : e._e()], 1), t("CButton", { staticStyle: { "margin-top": "1.5em" }, attrs: { loading: e.isPosting, type: "secondary", wide: "", taller: "" }, on: { click: e.onSave } }, [e._v(" " + e._s(e.actionButtonText) + " ")])], 1);
|
|
5868
|
-
},
|
|
5869
|
-
|
|
5870
|
-
|
|
5871
|
-
|
|
5849
|
+
}, ui = [], mi = /* @__PURE__ */ d(
|
|
5850
|
+
di,
|
|
5851
|
+
pi,
|
|
5852
|
+
ui,
|
|
5872
5853
|
!1,
|
|
5873
5854
|
null,
|
|
5874
5855
|
"f4bb8ca4"
|
|
5875
5856
|
);
|
|
5876
|
-
const ne =
|
|
5877
|
-
function
|
|
5857
|
+
const ne = mi.exports;
|
|
5858
|
+
function hi(i, e, t) {
|
|
5878
5859
|
return i === i && (t !== void 0 && (i = i <= t ? i : t), e !== void 0 && (i = i >= e ? i : e)), i;
|
|
5879
5860
|
}
|
|
5880
|
-
var
|
|
5881
|
-
function
|
|
5882
|
-
return t === void 0 && (t = e, e = void 0), t !== void 0 && (t = F(t), t = t === t ? t : 0), e !== void 0 && (e = F(e), e = e === e ? e : 0),
|
|
5861
|
+
var fi = hi, gi = fi, F = Je;
|
|
5862
|
+
function Ci(i, e, t) {
|
|
5863
|
+
return t === void 0 && (t = e, e = void 0), t !== void 0 && (t = F(t), t = t === t ? t : 0), e !== void 0 && (e = F(e), e = e === e ? e : 0), gi(F(i), e, t);
|
|
5883
5864
|
}
|
|
5884
|
-
var
|
|
5885
|
-
const
|
|
5865
|
+
var vi = Ci;
|
|
5866
|
+
const yi = /* @__PURE__ */ Y(vi), xi = {
|
|
5886
5867
|
name: "RemainingTrialButton",
|
|
5887
5868
|
components: { IsPremium: $ },
|
|
5888
5869
|
i18nOptions: {
|
|
@@ -5914,10 +5895,10 @@ const ki = /* @__PURE__ */ Y(bi), _i = {
|
|
|
5914
5895
|
},
|
|
5915
5896
|
mixins: [w],
|
|
5916
5897
|
methods: {
|
|
5917
|
-
clamp:
|
|
5898
|
+
clamp: yi
|
|
5918
5899
|
}
|
|
5919
5900
|
};
|
|
5920
|
-
var
|
|
5901
|
+
var wi = function() {
|
|
5921
5902
|
var e = this, t = e._self._c;
|
|
5922
5903
|
return t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({
|
|
5923
5904
|
accountType: a,
|
|
@@ -5931,27 +5912,27 @@ var Li = function() {
|
|
|
5931
5912
|
width: e.clamp(n / o * 100, 0, 100) + "%"
|
|
5932
5913
|
} })])])]) : e._e()];
|
|
5933
5914
|
} }]) });
|
|
5934
|
-
},
|
|
5935
|
-
|
|
5936
|
-
|
|
5937
|
-
|
|
5915
|
+
}, bi = [], ki = /* @__PURE__ */ d(
|
|
5916
|
+
xi,
|
|
5917
|
+
wi,
|
|
5918
|
+
bi,
|
|
5938
5919
|
!1,
|
|
5939
5920
|
null,
|
|
5940
5921
|
"f079a701"
|
|
5941
5922
|
);
|
|
5942
|
-
const
|
|
5923
|
+
const _i = ki.exports, V = q.observable({
|
|
5943
5924
|
canEdit: !1,
|
|
5944
5925
|
isForm: !0,
|
|
5945
5926
|
setFormValue: null,
|
|
5946
5927
|
removeFormValue: null
|
|
5947
|
-
}),
|
|
5928
|
+
}), Li = {
|
|
5948
5929
|
name: "DocumentForm",
|
|
5949
5930
|
components: {
|
|
5950
|
-
DocumentFormContainer:
|
|
5931
|
+
DocumentFormContainer: ni,
|
|
5951
5932
|
IsPremium: $,
|
|
5952
5933
|
IsPremiumPreStep: L,
|
|
5953
|
-
DocumentSend:
|
|
5954
|
-
RemainingTrialButton:
|
|
5934
|
+
DocumentSend: ci,
|
|
5935
|
+
RemainingTrialButton: _i,
|
|
5955
5936
|
CDropdown: P,
|
|
5956
5937
|
CDropdownItem: E
|
|
5957
5938
|
},
|
|
@@ -6059,7 +6040,7 @@ const Ti = Si.exports, V = q.observable({
|
|
|
6059
6040
|
}
|
|
6060
6041
|
}
|
|
6061
6042
|
};
|
|
6062
|
-
var
|
|
6043
|
+
var $i = function() {
|
|
6063
6044
|
var e = this, t = e._self._c;
|
|
6064
6045
|
return e.document ? t("div", { staticClass: "flex w-screen flex-col bg-white" }, [t("DocumentFormContainer", { attrs: { _document: e.document, view: e.view, "set-form-value": e.setDocValue, "remove-form-value": e.removeDocValue, "remove-form-key-value": e.removeDocKeyValue, close: e.close, "go-back": e.goBack, "can-show-banner": e.canShowBanner }, on: { "update:view": function(a) {
|
|
6065
6046
|
e.view = a;
|
|
@@ -6094,15 +6075,15 @@ var Vi = function() {
|
|
|
6094
6075
|
reminders: "data.reminders",
|
|
6095
6076
|
name: "data.name"
|
|
6096
6077
|
}, "set-form-value": e.setDocValue, "remove-form-value": e.removeDocValue, "on-save-document": e.onSaveDocument } })], 1) : e._e();
|
|
6097
|
-
},
|
|
6098
|
-
|
|
6099
|
-
|
|
6100
|
-
|
|
6078
|
+
}, Si = [], Ti = /* @__PURE__ */ d(
|
|
6079
|
+
Li,
|
|
6080
|
+
$i,
|
|
6081
|
+
Si,
|
|
6101
6082
|
!1,
|
|
6102
6083
|
null,
|
|
6103
6084
|
null
|
|
6104
6085
|
);
|
|
6105
|
-
const
|
|
6086
|
+
const Di = Ti.exports, Vi = {
|
|
6106
6087
|
name: "DocumentFormRecent",
|
|
6107
6088
|
i18nOptions: {
|
|
6108
6089
|
namespaces: "DocumentFormRecent",
|
|
@@ -6191,7 +6172,7 @@ const Ii = Mi.exports, Fi = {
|
|
|
6191
6172
|
}
|
|
6192
6173
|
}
|
|
6193
6174
|
};
|
|
6194
|
-
var
|
|
6175
|
+
var Bi = function() {
|
|
6195
6176
|
var e = this, t = e._self._c;
|
|
6196
6177
|
return t("div", [t("div", { staticClass: "flex w-full", staticStyle: { "padding-bottom": "1em" } }, [e._t("default"), e.hasItems ? t("CInput", { staticClass: "hidden md:flex", attrs: { loading: e.isLoading, placeholder: e.$t("_common:search"), type: "search", size: "normal", filled: "" }, on: { input: e.onInput }, model: { value: e.query, callback: function(a) {
|
|
6197
6178
|
e.query = a;
|
|
@@ -6218,15 +6199,15 @@ var Hi = function() {
|
|
|
6218
6199
|
}), 0)];
|
|
6219
6200
|
} }], null, !0) })];
|
|
6220
6201
|
} }]) })]], 2)]);
|
|
6221
|
-
},
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6202
|
+
}, Mi = [], Ii = /* @__PURE__ */ d(
|
|
6203
|
+
Vi,
|
|
6204
|
+
Bi,
|
|
6205
|
+
Mi,
|
|
6225
6206
|
!1,
|
|
6226
6207
|
null,
|
|
6227
6208
|
"5042c114"
|
|
6228
6209
|
);
|
|
6229
|
-
const
|
|
6210
|
+
const Fi = Ii.exports, Hi = /* @__PURE__ */ $e({
|
|
6230
6211
|
__name: "DocumentIcon",
|
|
6231
6212
|
props: {
|
|
6232
6213
|
isPlaceholder: { type: Boolean, default: !1 },
|
|
@@ -6244,7 +6225,7 @@ const Ei = Pi.exports, zi = /* @__PURE__ */ $e({
|
|
|
6244
6225
|
return { __sfc: !0, props: t, emit: e, handleClick: a, slots: n, data: s, staticStyle: o, staticClass: l, styleClass: r, key: c, attrs: g, emptyTempleTitle: S, docTempleTitle: M, BlockMedia: pt };
|
|
6245
6226
|
}
|
|
6246
6227
|
});
|
|
6247
|
-
var
|
|
6228
|
+
var Ai = function() {
|
|
6248
6229
|
var e = this, t = e._self._c, a = e._self._setupProxy;
|
|
6249
6230
|
return t("div", e._b({ key: a.key, staticClass: "item", class: [
|
|
6250
6231
|
a.staticClass,
|
|
@@ -6257,15 +6238,15 @@ var Zi = function() {
|
|
|
6257
6238
|
], style: a.staticStyle, on: { click: a.handleClick } }, "div", a.attrs, !1), [t("div", { staticClass: "item-paper" }, [e.thumbnail ? t("div", { staticStyle: { width: "100%", height: "100%", "background-size": "100% auto", "background-repeat": "no-repeat", "background-position": "0% 0%" }, style: {
|
|
6258
6239
|
backgroundImage: `url(${e.thumbnail})`
|
|
6259
6240
|
} }) : e.isPlaceholder || e.isAdd ? e._e() : t(a.BlockMedia, { staticClass: "item-media", attrs: { media: e.media, preview: "" } }), a.slots.badge ? t("div", { staticClass: "absolute bottom-2 right-2" }, [e._t("badge")], 2) : e._e(), e.isAdd ? t("div", { staticClass: "add-button" }, [t("CIcon", { attrs: { size: 18, "stroke-width": 3, type: "plus" } })], 1) : e._e()], 1), t("div", { staticClass: "item-footer" }, [e.isAdd ? t("div", { staticClass: "item-text", staticStyle: { color: "hsl(0, 0%, 55%)" }, domProps: { textContent: e._s(a.emptyTempleTitle) } }) : e.name ? [t("div", { staticClass: "item-text", domProps: { textContent: e._s(a.docTempleTitle) } }), e._t("default")] : e._e()], 2)]);
|
|
6260
|
-
},
|
|
6261
|
-
|
|
6262
|
-
|
|
6263
|
-
|
|
6241
|
+
}, Pi = [], Ei = /* @__PURE__ */ d(
|
|
6242
|
+
Hi,
|
|
6243
|
+
Ai,
|
|
6244
|
+
Pi,
|
|
6264
6245
|
!1,
|
|
6265
6246
|
null,
|
|
6266
6247
|
"3f382eb1"
|
|
6267
6248
|
);
|
|
6268
|
-
const
|
|
6249
|
+
const zi = Ei.exports, Zi = {
|
|
6269
6250
|
name: "HorizontalScroll",
|
|
6270
6251
|
components: {
|
|
6271
6252
|
Simplebar: _
|
|
@@ -6320,7 +6301,7 @@ const Ri = Ui.exports, Gi = {
|
|
|
6320
6301
|
}
|
|
6321
6302
|
}
|
|
6322
6303
|
};
|
|
6323
|
-
var
|
|
6304
|
+
var Oi = function() {
|
|
6324
6305
|
var e = this, t = e._self._c;
|
|
6325
6306
|
return t("div", { ref: "container", staticClass: "horizontal-scroll" }, [t("div", { staticClass: "hl-navigation" }, [e.hasPrev ? t("div", { staticClass: "hl-btn-left max-sm:hidden", on: { click: function(a) {
|
|
6326
6307
|
return e.go(-1);
|
|
@@ -6333,16 +6314,16 @@ var Wi = function() {
|
|
|
6333
6314
|
return e.$emit("expand");
|
|
6334
6315
|
} } })];
|
|
6335
6316
|
})], 2) : e._e()]), t("div", { staticClass: "hl-container" }, [t("Simplebar", { ref: "list", staticClass: "hl-list", on: { scroll: e.scrollHandler } }, [t("div", { staticClass: "flex w-full" }, [e._t("default")], 2)])], 1)]);
|
|
6336
|
-
},
|
|
6337
|
-
|
|
6338
|
-
|
|
6339
|
-
|
|
6317
|
+
}, Ui = [], Ri = /* @__PURE__ */ d(
|
|
6318
|
+
Zi,
|
|
6319
|
+
Oi,
|
|
6320
|
+
Ui,
|
|
6340
6321
|
!1,
|
|
6341
6322
|
null,
|
|
6342
6323
|
"94f802b3"
|
|
6343
6324
|
);
|
|
6344
|
-
const
|
|
6345
|
-
function
|
|
6325
|
+
const Gi = Ri.exports;
|
|
6326
|
+
function Wi(i, { availableProducts: e }) {
|
|
6346
6327
|
if (!i)
|
|
6347
6328
|
throw new Error("Missing parameter templateId");
|
|
6348
6329
|
const t = e, a = Object.keys(t).find((n) => {
|
|
@@ -6355,7 +6336,7 @@ function Ki(i, { availableProducts: e }) {
|
|
|
6355
6336
|
});
|
|
6356
6337
|
return a ? t[a] : null;
|
|
6357
6338
|
}
|
|
6358
|
-
async function
|
|
6339
|
+
async function qi(i) {
|
|
6359
6340
|
if (!i)
|
|
6360
6341
|
throw new Error("Missing argument stripeProduct");
|
|
6361
6342
|
const e = i == null ? void 0 : i.prices[0], { data: t } = await Ve.createCheckoutSession({
|
|
@@ -6373,7 +6354,7 @@ async function Yi(i) {
|
|
|
6373
6354
|
function se(i, { availableProducts: e }) {
|
|
6374
6355
|
var n, s, o;
|
|
6375
6356
|
let t = null;
|
|
6376
|
-
const a =
|
|
6357
|
+
const a = Wi(i.templateId, {
|
|
6377
6358
|
availableProducts: e
|
|
6378
6359
|
});
|
|
6379
6360
|
return a && (t = {
|
|
@@ -6381,10 +6362,10 @@ function se(i, { availableProducts: e }) {
|
|
|
6381
6362
|
currency: (s = a == null ? void 0 : a.prices) == null ? void 0 : s[0].currency
|
|
6382
6363
|
}),
|
|
6383
6364
|
isPurchased: ((o = i.purchaseInfo) == null ? void 0 : o.isPurchased) || !1,
|
|
6384
|
-
onBuy: async () =>
|
|
6365
|
+
onBuy: async () => qi(a)
|
|
6385
6366
|
}), t;
|
|
6386
6367
|
}
|
|
6387
|
-
const
|
|
6368
|
+
const Ni = {
|
|
6388
6369
|
name: "GalleryTemplateModal",
|
|
6389
6370
|
components: {
|
|
6390
6371
|
simplebar: _,
|
|
@@ -6524,7 +6505,7 @@ const Qi = {
|
|
|
6524
6505
|
}
|
|
6525
6506
|
}
|
|
6526
6507
|
};
|
|
6527
|
-
var
|
|
6508
|
+
var ji = function() {
|
|
6528
6509
|
var a;
|
|
6529
6510
|
var e = this, t = e._self._c;
|
|
6530
6511
|
return t("div", { staticClass: "template-modal font-inter bg-gray-200" }, [t("div", { staticStyle: { "background-color": "white", "border-radius": "1em", overflow: "auto", border: "10px solid white", flex: "1 1 auto", "min-height": "0" } }, [t("simplebar", { staticClass: "h-full w-full", attrs: { "data-simplebar-auto-hide": "false" } }, [e.previewDocument ? t("DocumentLayout", { attrs: { document: e.previewDocument } }) : e._e(), e.product && !e.privateProduct.isPurchased ? t("style", { tag: "component" }, [e._v(" .ProseMirror > * + * { filter: blur(8px); user-select: none; pointer-events: none; } ")]) : e._e()], 1)], 1), t("div", { staticStyle: { flex: "0 1 300px", padding: "2em 1em 3em 2em", "font-size": "18px" } }, [t("div", { staticStyle: { "padding-bottom": "2em" } }, [t("div", { staticStyle: { "font-size": "21px", "font-weight": "800", color: "hsl(0, 0%, 0%)" } }, [e._v(" " + e._s(e.meta.name) + " ")]), t("div", { staticStyle: { "font-weight": "400", "font-size": "14px", "min-height": "30px", color: "hsl(0, 0%, 27%)" } }, [(a = e.templateStat) != null && a.usedTimes ? [e._v(" " + e._s(e.$t("_common:used").capitalize()) + " " + e._s(e.templateStat.usedTimes) + " " + e._s(e.$t("_common:times", { count: e.templateStat.usedTimes })) + " ")] : e._e()], 2), t("div", { staticStyle: { hyphens: "auto" } }, [e._v(" " + e._s(e.meta.text) + " ")]), e.meta.author ? t("div", { staticClass: "flex items-center", staticStyle: { "padding-top": "1.5em" } }, [t("div", { staticStyle: { "background-color": "#03f", "border-radius": "50%", width: "2.5em", height: "2.5em", "background-size": "cover", "background-position": "center", "background-repeat": "no-repeat" }, style: {
|
|
@@ -6547,15 +6528,15 @@ var Ji = function() {
|
|
|
6547
6528
|
} }]) }), e.allowCopyTemplateLink ? t("CButton", { attrs: { type: "none", "icon-left": "link", wide: "" }, on: { click: function(n) {
|
|
6548
6529
|
return e.copyToClipboard(e.template.id);
|
|
6549
6530
|
} } }, [e._v(" " + e._s(e.$t("_common:share", { thing: e.$t("_common:link") })) + " ")]) : e._e()], 2)])]);
|
|
6550
|
-
},
|
|
6551
|
-
|
|
6552
|
-
|
|
6553
|
-
|
|
6531
|
+
}, Ki = [], Yi = /* @__PURE__ */ d(
|
|
6532
|
+
Ni,
|
|
6533
|
+
ji,
|
|
6534
|
+
Ki,
|
|
6554
6535
|
!1,
|
|
6555
6536
|
null,
|
|
6556
6537
|
"bf9bb994"
|
|
6557
6538
|
);
|
|
6558
|
-
const
|
|
6539
|
+
const Qi = Yi.exports, Ji = {
|
|
6559
6540
|
name: "GalleryLogic",
|
|
6560
6541
|
i18nOptions: {
|
|
6561
6542
|
namespaces: "GalleryLogic",
|
|
@@ -6762,7 +6743,7 @@ const ta = ea.exports, ia = {
|
|
|
6762
6743
|
fortnoxCom: "/img/fortnox/apple-touch-icon-180x180.png"
|
|
6763
6744
|
};
|
|
6764
6745
|
this.$modal.show(
|
|
6765
|
-
|
|
6746
|
+
Qi,
|
|
6766
6747
|
{
|
|
6767
6748
|
template: i,
|
|
6768
6749
|
fetchGallery: this.fetchGallery,
|
|
@@ -6817,16 +6798,16 @@ const ta = ea.exports, ia = {
|
|
|
6817
6798
|
selectGalleryItem: this.selectGalleryItem
|
|
6818
6799
|
});
|
|
6819
6800
|
}
|
|
6820
|
-
},
|
|
6821
|
-
var
|
|
6822
|
-
|
|
6823
|
-
|
|
6824
|
-
|
|
6801
|
+
}, Xi = null, ea = null;
|
|
6802
|
+
var ta = /* @__PURE__ */ d(
|
|
6803
|
+
Ji,
|
|
6804
|
+
Xi,
|
|
6805
|
+
ea,
|
|
6825
6806
|
!1,
|
|
6826
6807
|
null,
|
|
6827
6808
|
null
|
|
6828
6809
|
);
|
|
6829
|
-
const
|
|
6810
|
+
const ia = ta.exports, aa = {
|
|
6830
6811
|
i18nOptions: {
|
|
6831
6812
|
namespaces: "TemplateSelector",
|
|
6832
6813
|
messages: {
|
|
@@ -6870,10 +6851,10 @@ const oa = sa.exports, la = {
|
|
|
6870
6851
|
},
|
|
6871
6852
|
name: "TemplateSelector",
|
|
6872
6853
|
components: {
|
|
6873
|
-
HorizontalScroll:
|
|
6874
|
-
DocumentIcon:
|
|
6875
|
-
DocumentRecent:
|
|
6876
|
-
GalleryLogic:
|
|
6854
|
+
HorizontalScroll: Gi,
|
|
6855
|
+
DocumentIcon: zi,
|
|
6856
|
+
DocumentRecent: Fi,
|
|
6857
|
+
GalleryLogic: ia,
|
|
6877
6858
|
IsPremiumPreStep: L,
|
|
6878
6859
|
CDropdown: P,
|
|
6879
6860
|
CDropdownItem: E
|
|
@@ -7039,7 +7020,7 @@ const oa = sa.exports, la = {
|
|
|
7039
7020
|
}
|
|
7040
7021
|
}
|
|
7041
7022
|
};
|
|
7042
|
-
var
|
|
7023
|
+
var na = function() {
|
|
7043
7024
|
var e = this, t = e._self._c;
|
|
7044
7025
|
return t("div", { staticClass: "h-full w-full overflow-y-auto rounded-2xl bg-white px-4 pb-10 pt-10 md:px-10 md:pt-16" }, [t("div", { staticClass: "font-inter form-start main mx-auto max-w-5xl", class: { small: e.mq === "sm" } }, [e._t("header"), t("div", { staticStyle: { width: "100%", "padding-bottom": "5em" } }, [t("div", { staticClass: "section-title" }, [t("div", [e._v(e._s(e.$t("myTemplates")))]), t("div", { staticClass: "section-subtitle" }, [e._v(" " + e._s(e.$t("myTemplatesSubTitle")) + " ")])]), t("IsPremiumPreStep", { attrs: { feature: "useDocTemplate" }, scopedSlots: e._u([{ key: "default", fn: function({ onClick: a }) {
|
|
7045
7026
|
return [t(e.isExpanded ? "div" : "HorizontalScroll", { tag: "component", staticClass: "template-list", class: { "is-expanded": e.isExpanded }, on: { expand: function(n) {
|
|
@@ -7094,33 +7075,33 @@ var ra = function() {
|
|
|
7094
7075
|
}, proxy: !0 }], null, !0) });
|
|
7095
7076
|
}), 1)], 1)];
|
|
7096
7077
|
} }], null, !1, 3414906714) })] : e._e(), t("DocumentRecent", { staticStyle: { width: "100%", "padding-bottom": "5em" }, on: { "use-doc-template": e.select, "save-template": e.openTemplateFormModal } }, [t("div", { staticClass: "section-title", staticStyle: { flex: "1 1 auto", "padding-bottom": "0.5em" } }, [t("div", [e._v(e._s(e.$t("recent")))]), t("div", { staticClass: "section-subtitle" }, [e._v(" " + e._s(e.$t("recentSubTitle")) + " ")])])])], 2)]);
|
|
7097
|
-
},
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
|
|
7078
|
+
}, sa = [], oa = /* @__PURE__ */ d(
|
|
7079
|
+
aa,
|
|
7080
|
+
na,
|
|
7081
|
+
sa,
|
|
7101
7082
|
!1,
|
|
7102
7083
|
null,
|
|
7103
7084
|
"046b633b"
|
|
7104
7085
|
);
|
|
7105
|
-
const
|
|
7106
|
-
var
|
|
7107
|
-
function
|
|
7086
|
+
const la = oa.exports;
|
|
7087
|
+
var ra = Pe, ca = Ee, da = ze;
|
|
7088
|
+
function pa(i, e, t) {
|
|
7108
7089
|
for (var a = -1, n = e.length, s = {}; ++a < n; ) {
|
|
7109
|
-
var o = e[a], l =
|
|
7110
|
-
t(l, o) &&
|
|
7090
|
+
var o = e[a], l = ra(i, o);
|
|
7091
|
+
t(l, o) && ca(s, da(o, i), l);
|
|
7111
7092
|
}
|
|
7112
7093
|
return s;
|
|
7113
7094
|
}
|
|
7114
|
-
var
|
|
7115
|
-
function
|
|
7116
|
-
return
|
|
7117
|
-
return
|
|
7095
|
+
var ua = pa, ma = ua, ha = Ze;
|
|
7096
|
+
function fa(i, e) {
|
|
7097
|
+
return ma(i, e, function(t, a) {
|
|
7098
|
+
return ha(i, a);
|
|
7118
7099
|
});
|
|
7119
7100
|
}
|
|
7120
|
-
var
|
|
7121
|
-
return i == null ? {} :
|
|
7122
|
-
}),
|
|
7123
|
-
const
|
|
7101
|
+
var ga = fa, Ca = ga, va = nt, ya = va(function(i, e) {
|
|
7102
|
+
return i == null ? {} : Ca(i, e);
|
|
7103
|
+
}), xa = ya;
|
|
7104
|
+
const wa = /* @__PURE__ */ Y(xa), ba = {
|
|
7124
7105
|
name: "DocForm",
|
|
7125
7106
|
i18nOptions: {
|
|
7126
7107
|
namespaces: "widgetDocForm",
|
|
@@ -7134,8 +7115,8 @@ const La = /* @__PURE__ */ Y(_a), $a = {
|
|
|
7134
7115
|
}
|
|
7135
7116
|
},
|
|
7136
7117
|
components: {
|
|
7137
|
-
TemplateSelector:
|
|
7138
|
-
DocumentForm:
|
|
7118
|
+
TemplateSelector: la,
|
|
7119
|
+
DocumentForm: Di,
|
|
7139
7120
|
PostSend: gt
|
|
7140
7121
|
},
|
|
7141
7122
|
provide() {
|
|
@@ -7252,7 +7233,7 @@ const La = /* @__PURE__ */ Y(_a), $a = {
|
|
|
7252
7233
|
},
|
|
7253
7234
|
async onTemplateSelect({ templateId: i, documentId: e, formData: t }) {
|
|
7254
7235
|
var n;
|
|
7255
|
-
const a =
|
|
7236
|
+
const a = wa({ ...this.rawDoc }, [
|
|
7256
7237
|
"__tempId",
|
|
7257
7238
|
"externalReferences",
|
|
7258
7239
|
"subscriberCompanyUserIds",
|
|
@@ -7304,20 +7285,20 @@ const La = /* @__PURE__ */ Y(_a), $a = {
|
|
|
7304
7285
|
}
|
|
7305
7286
|
}
|
|
7306
7287
|
};
|
|
7307
|
-
var
|
|
7288
|
+
var ka = function() {
|
|
7308
7289
|
var e = this, t = e._self._c;
|
|
7309
7290
|
return t("div", { staticClass: "flex h-full w-full flex-col" }, [e.view === "templateSelect" ? t("div", { staticClass: "flex h-full w-full flex-col" }, [t("div", { staticClass: "relative flex h-16 items-center justify-center border-b border-gray-200" }, [e.closeFunc ? t("CButton", { staticClass: "absolute left-4 top-1/2 -translate-y-1/2", attrs: { icon: "x", circle: "" }, on: { click: e.closeFunc } }) : e._e(), t("div", [e._v(e._s(e.$t("selectNavTitle")))])], 1), t("TemplateSelector", { staticClass: "body-scroll min-h-0", attrs: { "on-use-template": e.onTemplateSelect, "show-gallery": e.feature("templateGallery"), "show-gallery-template-author": !1, "gallery-category": e.galleryCategory, "on-save-template": e.onSaveTemplate, "include-partner-templates": "" } })], 1) : e.view === "editor" ? t("DocumentForm", { attrs: { document: e.document, "set-doc-value": e.setDocValue, "set-form-value": e.setFormValue, "remove-doc-value": e.removeDocValue, "remove-doc-key-value": e.removeDocKeyValue, "on-save-template": e.onSaveTemplate, "on-save-document": e.onSaveDocument, "is-loading": e.isPosting, close: e.closeFunc, "go-back": !e.document.id && e.showBackButton ? e.goBack : null, "can-show-banner": !1 }, scopedSlots: e._u([{ key: "nav-right-action", fn: function() {
|
|
7310
7291
|
return [e.isEditingTemplate ? t("CButton", { staticClass: "d-nav-button position right save-template-button", staticStyle: { "min-width": "6em", "font-size": "16px" }, attrs: { loading: e.isSavingTemplate, disabled: !e.canDoActions, "icon-left": "template", type: "secondary", thinner: "", rounded: "" }, on: { click: e.onSaveTemplateClick } }, [e._v(" " + e._s(e.$t("_common:save", { thing: e.$t("_common:template") })) + " ")]) : e._e()];
|
|
7311
7292
|
}, proxy: !0 }]) }) : e.view === "postSend" ? t("PostSend", { attrs: { document: e.document, "on-send-func": e.closeFunc, "on-close-func": e.closeFunc } }) : e._e()], 1);
|
|
7312
|
-
},
|
|
7313
|
-
|
|
7314
|
-
|
|
7315
|
-
|
|
7293
|
+
}, _a = [], La = /* @__PURE__ */ d(
|
|
7294
|
+
ba,
|
|
7295
|
+
ka,
|
|
7296
|
+
_a,
|
|
7316
7297
|
!1,
|
|
7317
7298
|
null,
|
|
7318
7299
|
"a10d9c03"
|
|
7319
7300
|
);
|
|
7320
|
-
const
|
|
7301
|
+
const Qa = La.exports;
|
|
7321
7302
|
export {
|
|
7322
|
-
|
|
7303
|
+
Qa as default
|
|
7323
7304
|
};
|