@cling-se/widget 0.13.3 → 0.13.4
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-D9a9MCUX.js → AddClientCallout-CUvV9hc1.js} +3 -3
- package/dist/{AnswerModal-D8x72yGp.js → AnswerModal-D7YR33mx.js} +3 -3
- package/dist/{AttachmentItem-BvRfBRk6.js → AttachmentItem-vYrh1jQV.js} +2 -2
- package/dist/{BaseDatePicker-BmvP7mNA.js → BaseDatePicker-DSaM8YN4.js} +2 -2
- package/dist/{BaseInput-DDxP_o2d.js → BaseInput-BB_8vX5k.js} +1 -1
- package/dist/{BaseUpload-BYXTgBXu.js → BaseUpload-CE-cfz2U.js} +2 -2
- package/dist/{BlockMedia-BjasKSPl.js → BlockMedia-4UgM2vFY.js} +1 -1
- package/dist/{CCallout-D66Z5Gmx.js → CCallout-CtYNOt9d.js} +2 -2
- package/dist/{CDropdownItem-CsY-c0bJ.js → CDropdownItem-BKFex9lI.js} +1 -1
- package/dist/{CField-P1DJ6Xte.js → CField-BbFsOKA1.js} +1 -1
- package/dist/{CPhoneFormat-CWaOjZ6c.js → CPhoneFormat-B8yjrsxy.js} +1 -1
- package/dist/{CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-ZmW20zh4.js → CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-CGVIE7T8.js} +1 -1
- package/dist/{ClientAutocomplete-CS5EWC8m.js → ClientAutocomplete-BOuabEqx.js} +2 -2
- package/dist/{ClientModal-JsCpUq7_.js → ClientModal-7qU_FTFB.js} +4 -4
- package/dist/{ColorPicker-D2qM7zAH.js → ColorPicker-D8aJWIFD.js} +1 -1
- package/dist/{CompanyModal-Cy41VR2V.js → CompanyModal-Cq0_G38j.js} +4 -4
- package/dist/{ContentWrapper-BZV21UxA.js → ContentWrapper-Dlg9OxYv.js} +6 -6
- package/dist/{CoverBlockSettings-BKSeVFDE.js → CoverBlockSettings-B-CEGFdt.js} +5 -5
- package/dist/{DocAnswer-kP7uwYPw.js → DocAnswer-CFFVsUy6.js} +2 -2
- package/dist/{DocDetails-CQokGcQU.js → DocDetails-JTcgjxhA.js} +4 -4
- package/dist/{DocForm--8jg79O2.js → DocForm-C_-eJ9d9.js} +120 -122
- package/dist/{DocFormSend-yMGm0yem.js → DocFormSend-Cd-SB1W9.js} +2 -2
- package/dist/{DocLinks-tR60r1YR.js → DocLinks-DhKKFV4a.js} +2 -2
- package/dist/{DocModalBase-CTK46Brc.js → DocModalBase-NGK43bvU.js} +1 -1
- package/dist/{DocPrint-GY73q9cl.js → DocPrint-DVLg6cWG.js} +1 -1
- package/dist/{DocReceipt-pTTh1XRW.js → DocReceipt-BNMQvOlO.js} +1 -1
- package/dist/{DocSendReminder-C4MsDwmQ.js → DocSendReminder-BCnYwnrS.js} +1 -1
- package/dist/{DocTextEditor-C-22iwpJ.js → DocTextEditor-B_yS_4RV.js} +8 -8
- package/dist/{DocTimeline-CwcPVMLq.js → DocTimeline-B3t6uo5e.js} +1 -1
- package/dist/{DocumentClient-C9Lm9899.js → DocumentClient-UhpVi4HO.js} +5 -5
- package/dist/{DocumentLayout-BijbYCjw.js → DocumentLayout-C7nouJDC.js} +4 -4
- package/dist/{DocumentLogotype-EyAhhuyy.js → DocumentLogotype-ClZREzmO.js} +3 -3
- package/dist/{DocumentVoided-D5t8akG5.js → DocumentVoided-BpbC4bXx.js} +1 -1
- package/dist/{EmbedInput-BgRj0APU.js → EmbedInput-BMmPfIdI.js} +2 -2
- package/dist/{EmbedSettings-D2AVYJsR.js → EmbedSettings-DifnJvWL.js} +2 -2
- package/dist/{ErrorCallout-C2Hz9_Kw.js → ErrorCallout-DIUyViuJ.js} +1 -1
- package/dist/{FilePreviewModal-qE7IG4wX.js → FilePreviewModal-DeDX4wRt.js} +2 -2
- package/dist/{Flag-BCpOsl81.js → Flag-Pf1Q2fSw.js} +1 -1
- package/dist/{HeaderSettings-BZNxb77S.js → HeaderSettings-DYTfA3RK.js} +7 -7
- package/dist/{ImageSelectModal-FTD0imPM.js → ImageSelectModal-BhncA-WP.js} +3 -3
- package/dist/{ImageUploadWrapper-Dt-_sMWf.js → ImageUploadWrapper-ChAz3-dm.js} +2 -2
- package/dist/{Index-D5bdxU_9.js → Index--GLCYqbJ.js} +2 -2
- package/dist/{Index-Cl5xExRO.js → Index-3L8UNRT4.js} +3 -3
- package/dist/{Index-DJR3xxCd.js → Index-7oMiicd1.js} +4 -4
- package/dist/{Index-Cp6jRq1R.js → Index-AcjJMstH.js} +2 -2
- package/dist/{Index-BCXTn1sC.js → Index-B5GJGrBw.js} +1 -1
- package/dist/{Index-_IbAcZwx.js → Index-BH7cD6Bs.js} +8 -8
- package/dist/{Index-BDET3dI8.js → Index-BO4SyvD7.js} +7 -7
- package/dist/{Index-WMiYQ88f.js → Index-Bmnm8D9w.js} +5 -5
- package/dist/{Index-CcukWQRL.js → Index-BrRM_ky2.js} +2 -2
- package/dist/{Index-5j91zO6f.js → Index-Bs508DBI.js} +5 -5
- package/dist/{Index-xgTLuqmb.js → Index-BshXtSwo.js} +5 -5
- package/dist/{Index-D2nfeQ5x.js → Index-Bzi3BUPs.js} +5 -5
- package/dist/{Index-CFdROMC3.js → Index-C2fVSXmZ.js} +4 -4
- package/dist/{Index-DMY-Sq_M.js → Index-CBzialE3.js} +5 -5
- package/dist/{Index-CJODaFN6.js → Index-CR2KFB-Y.js} +6 -6
- package/dist/{Index-DGZ31KnZ.js → Index-CdlsOYxA.js} +4 -4
- package/dist/{Index-djTZz7Ns.js → Index-CijhAqbu.js} +4 -4
- package/dist/{Index-BFaUGjUB.js → Index-CwH8vX7u.js} +3 -3
- package/dist/{Index-Dv7cLrE4.js → Index-D-M1LO4o.js} +2 -2
- package/dist/{Index-DlhEipBL.js → Index-D2-kMtsJ.js} +4 -4
- package/dist/{Index-D-bjhn09.js → Index-DPhcKOkk.js} +5 -5
- package/dist/{Index-sfUDC-CQ.js → Index-DSOq_2Es.js} +4 -4
- package/dist/{Index-BKlCGLNd.js → Index-DTTt-IRf.js} +5 -5
- package/dist/{Index-BoLTPa35.js → Index-DW-pryBq.js} +4 -4
- package/dist/{Index-CBbfIsZN.js → Index-DYB7aHie.js} +6 -6
- package/dist/{Index-C_xGmfku.js → Index-DzPN0uzB.js} +1 -1
- package/dist/{Index-UamytEM4.js → Index-HMW5Mlsu.js} +6 -6
- package/dist/{Index-Cwl2NC2m.js → Index-JdpEXP6c.js} +11 -11
- package/dist/{Index-tPwll4sB.js → Index-YL6qqj3h.js} +3 -3
- package/dist/{Index-WNn-Ygm3.js → Index-buM1dBWf.js} +4 -4
- package/dist/{Index-In1yv5wC.js → Index-cLpD7up3.js} +2 -2
- package/dist/{Index-DFtgMiak.js → Index-jgHwHxRS.js} +2 -2
- package/dist/{Index-21Rqe72Y.js → Index-m_GcuIx9.js} +4 -4
- package/dist/{Index-CuoBquDv.js → Index-n0AfYfVe.js} +2 -2
- package/dist/{InputToggleRow-BEO32u0P.js → InputToggleRow-CqjQTNp0.js} +1 -1
- package/dist/{ManualPopover-BBh0cUw5.js → ManualPopover-CoB4oOC-.js} +1 -1
- package/dist/{MediaWrapper-CoMogZxx.js → MediaWrapper-DkaMgUWm.js} +3 -3
- package/dist/{NotBindingText-BT1Q6RMl.js → NotBindingText-B1O0v5Vi.js} +2 -2
- package/dist/{PackageGroup-FdTMDsjx.js → PackageGroup-DIONd0o7.js} +5 -5
- package/dist/{PdfTerms-DyPWsQVj.js → PdfTerms-DHwhI0YJ.js} +2 -2
- package/dist/{PdfViewer-DypsavPs.js → PdfViewer-DqrQ4Ghx.js} +2 -2
- package/dist/{PlainHtml-BfBjldPv.js → PlainHtml-ZrDuRVoK.js} +1 -1
- package/dist/{PriceHeader-C7uxm0UF.js → PriceHeader-CRVld7HO.js} +6 -6
- package/dist/{SearchApi-BFRaO76p.js → SearchApi-QGQITrrK.js} +2 -2
- package/dist/{Setup-5Bd2oKy5.js → Setup-BMhxElbF.js} +1 -1
- package/dist/{TermsSettings-qp4QTvSS.js → TermsSettings-BXuj9Ygx.js} +3 -3
- package/dist/{ThemeColorRow-BVO3w229.js → ThemeColorRow-Dv47wN_H.js} +3 -3
- package/dist/{ToggleBinding-kUXMHL_T.js → ToggleBinding-CvjAUCAr.js} +3 -3
- package/dist/{UploadModal-pc_pdLKq.js → UploadModal-DPcCq7cK.js} +2 -2
- package/dist/{VideoPlayerInput-D_pGBwqs.js → VideoPlayerInput-BU43tIFN.js} +3 -3
- package/dist/{VideoPlayerSettings-j923whT9.js → VideoPlayerSettings-BF-yyjoq.js} +2 -2
- package/dist/{VideoSelectModal-YwoeiHje.js → VideoSelectModal-T52Z5tGW.js} +3 -3
- package/dist/{answerDocumentMixin-B_U73rNw.js → answerDocumentMixin-B6B_Absw.js} +3 -3
- package/dist/{debounce-BsRaWg59.js → debounce-Bku3KTOL.js} +1 -1
- package/dist/{focusDrawerMixin-JAewKqED.js → focusDrawerMixin-Byq44Fps.js} +1 -1
- package/dist/{formComponentsInstall-D4n0po7Z.js → formComponentsInstall-BLUTqIP-.js} +12 -12
- package/dist/{formDrawerState-zC8aJ2vd.js → formDrawerState-DyfkNQI-.js} +1 -1
- package/dist/{formValidationMixin-BZkYLjQt.js → formValidationMixin-BOYfELii.js} +1 -1
- package/dist/{index-DNfDl5X3.js → index--bKQe92o.js} +2 -2
- package/dist/{index-g89MyoBh.js → index-BKawli9V.js} +1 -1
- package/dist/{index-CoyXZLrG.js → index-BvXtEBVW.js} +5 -5
- package/dist/{index-B3HvM0tt.js → index-CI57mY57.js} +5 -5
- package/dist/{index-DMs1rzm_.js → index-HMD01fSx.js} +1 -1
- package/dist/{index-RA-At4z5.js → index-XhscStcK.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +43 -43
- package/dist/{main-DdTHuJSP.js → main-D84dH9TV.js} +1549 -1549
- package/dist/{mapFormMixin-jUVHvbDZ.js → mapFormMixin-Brb5jcGN.js} +1 -1
- package/dist/{omit-Cu3_dgaV.js → omit-CQHgn0Eu.js} +1 -1
- package/dist/{publicSenderState-DbENjyL4.js → publicSenderState-NpXx8Fu1.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{throttle-DP3fD_7G.js → throttle-DLrx6mTa.js} +2 -2
- package/dist/{tinycolor-BK1IhVpb.js → tinycolor-CFphVWDB.js} +1 -1
- package/dist/{tippy.esm-BZYdaq3J.js → tippy.esm-B7RV5DYA.js} +5 -5
- package/dist/{utils-D8WP6t_z.js → utils-CFgMQnL0.js} +1 -1
- package/package.json +1 -1
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import se from "./AnswerModal-
|
|
2
|
-
import { o as ne } from "./index-
|
|
3
|
-
import { w as
|
|
4
|
-
import { aU as
|
|
5
|
-
import { a as
|
|
6
|
-
import { s as k } from "./Flag-
|
|
7
|
-
import { l as
|
|
8
|
-
import { F as N, d as Ge } from "./tippy.esm-
|
|
9
|
-
import { m as S } from "./mapFormMixin-
|
|
10
|
-
import { d as P, t as We } from "./debounce-
|
|
11
|
-
import { d as qe, o as Ne, _ as je } from "./omit-
|
|
12
|
-
import { C as Ke, I as _, a as L, s as Ye } from "./index
|
|
13
|
-
import { C as j, S as Qe, i as Je } from "./formComponentsInstall-
|
|
14
|
-
import { S as Xe } from "./CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-
|
|
15
|
-
import { v as
|
|
16
|
-
import { t as et } from "./tinycolor-
|
|
17
|
-
import { s as v } from "./formDrawerState-
|
|
1
|
+
import se from "./AnswerModal-D7YR33mx.js";
|
|
2
|
+
import { o as ne } from "./index-HMD01fSx.js";
|
|
3
|
+
import { w as x } from "./CDropdownItem-BKFex9lI.js";
|
|
4
|
+
import { aU as I, g as m, n as d, c as f, b as u, d as oe, aV as le, S as re, u as U, j as $, aA as ce, aO as y, R as p, L as H, h as D, a1 as h, aW as de, aX as pe, aY as ue, aZ as me, a_ as he, a$ as fe, V as A, aQ as O, aR as R, I as E, b0 as B, aS as ge, b1 as Ce, F as ve, b2 as ye, f as xe, k as G, b3 as we, b4 as be, B as ke, b5 as _e, C as W, b6 as Le, b7 as $e, K as q, b8 as Se, b9 as Te, aT as De, ba as Ve, bb as Be, bc as Me, ah as Ie, bd as Fe, m as He, a as Ae, be as Pe } from "./main-D84dH9TV.js";
|
|
5
|
+
import { a as w, m as g } from "./vuex.esm-DKGl8mcw.js";
|
|
6
|
+
import { s as k } from "./Flag-Pf1Q2fSw.js";
|
|
7
|
+
import { l as Ee, g as ze, W as Ze, b as Ue, a as Oe, D as Re } from "./DocumentLayout-C7nouJDC.js";
|
|
8
|
+
import { F as N, d as Ge } from "./tippy.esm-B7RV5DYA.js";
|
|
9
|
+
import { m as S } from "./mapFormMixin-Brb5jcGN.js";
|
|
10
|
+
import { d as P, t as We } from "./debounce-Bku3KTOL.js";
|
|
11
|
+
import { d as qe, o as Ne, _ as je } from "./omit-CQHgn0Eu.js";
|
|
12
|
+
import { C as Ke, I as _, a as L, s as Ye } from "./index--bKQe92o.js";
|
|
13
|
+
import { C as j, S as Qe, i as Je } from "./formComponentsInstall-BLUTqIP-.js";
|
|
14
|
+
import { S as Xe } from "./CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-CGVIE7T8.js";
|
|
15
|
+
import { v as F } from "./index-XhscStcK.js";
|
|
16
|
+
import { t as et } from "./tinycolor-CFphVWDB.js";
|
|
17
|
+
import { s as v } from "./formDrawerState-DyfkNQI-.js";
|
|
18
18
|
import { s as tt } from "./dom-CPYqHOIw.js";
|
|
19
|
-
import { f as it } from "./formValidationMixin-
|
|
20
|
-
import { B as at } from "./BlockMedia-
|
|
19
|
+
import { f as it } from "./formValidationMixin-BOYfELii.js";
|
|
20
|
+
import { B as at } from "./BlockMedia-4UgM2vFY.js";
|
|
21
21
|
const st = {
|
|
22
22
|
name: "DocumentPostSendStep",
|
|
23
|
-
mixins: [
|
|
23
|
+
mixins: [x],
|
|
24
24
|
i18nOptions: {
|
|
25
25
|
namespaces: "PostDocumentSend",
|
|
26
26
|
messages: {
|
|
@@ -55,7 +55,7 @@ const st = {
|
|
|
55
55
|
return this.mq === "sm" ? "100%" : "auto";
|
|
56
56
|
},
|
|
57
57
|
usesManualDelivery() {
|
|
58
|
-
const i =
|
|
58
|
+
const i = I(this.document);
|
|
59
59
|
return !i.sms && !i.email;
|
|
60
60
|
}
|
|
61
61
|
},
|
|
@@ -64,13 +64,13 @@ const st = {
|
|
|
64
64
|
(i = this.document) != null && i.senderClient ? await this.senderAnswer() : await this.onSend();
|
|
65
65
|
},
|
|
66
66
|
methods: {
|
|
67
|
-
...
|
|
67
|
+
...w({
|
|
68
68
|
updateDocument: m.DO_UPDATE_DOCUMENT2,
|
|
69
69
|
answerDocument: m.ANSWER_OWN_DOCUMENT2,
|
|
70
70
|
sendDocument: m.DO_SEND_DOCUMENT2
|
|
71
71
|
}),
|
|
72
72
|
async handleDocumentLinks() {
|
|
73
|
-
const { id: i } = this.document, e =
|
|
73
|
+
const { id: i } = this.document, e = I(this.document), t = !e.sms && !e.email;
|
|
74
74
|
t && (await this.updateDocument({
|
|
75
75
|
id: i,
|
|
76
76
|
body: { status: "sent" },
|
|
@@ -267,14 +267,14 @@ const Ct = gt.exports, vt = {
|
|
|
267
267
|
};
|
|
268
268
|
var yt = function() {
|
|
269
269
|
var e = this, t = e._self._c;
|
|
270
|
-
return t("div", { staticClass: "DocumentFormNav fixed left-0 right-0 top-0 z-[98] px-2 py-2 md:px-6" }, [t("div", { staticClass: "flex" }, [t("div", { staticClass: "inline-flex flex-grow items-center" }, [e._t("left")], 2), t("div", { staticClass: "inline-flex flex-auto items-center justify-center" }, [e._t("center")], 2), t("div", { staticClass: "inline-flex flex-grow items-center justify-end" }, [e._t("right")], 2)])]);
|
|
270
|
+
return t("div", { staticClass: "DocumentFormNav fixed left-0 right-0 top-0 z-[98] bg-gray-200 px-2 py-2 md:px-6" }, [t("div", { staticClass: "flex" }, [t("div", { staticClass: "inline-flex flex-grow items-center" }, [e._t("left")], 2), t("div", { staticClass: "inline-flex flex-auto items-center justify-center" }, [e._t("center")], 2), t("div", { staticClass: "inline-flex flex-grow items-center justify-end" }, [e._t("right")], 2)])]);
|
|
271
271
|
}, xt = [], wt = /* @__PURE__ */ d(
|
|
272
272
|
vt,
|
|
273
273
|
yt,
|
|
274
274
|
xt,
|
|
275
275
|
!1,
|
|
276
276
|
null,
|
|
277
|
-
|
|
277
|
+
null
|
|
278
278
|
);
|
|
279
279
|
const bt = wt.exports, kt = {
|
|
280
280
|
name: "DocumentFormViewRadio",
|
|
@@ -291,15 +291,15 @@ const bt = wt.exports, kt = {
|
|
|
291
291
|
};
|
|
292
292
|
var _t = function() {
|
|
293
293
|
var e = this, t = e._self._c;
|
|
294
|
-
return t("div", { staticClass: "inline-flex h-9 cursor-pointer space-x-2 rounded-
|
|
294
|
+
return t("div", { staticClass: "inline-flex h-9 cursor-pointer space-x-2 rounded-md bg-gray-300 p-1 text-sm text-white" }, [t("div", { staticClass: "inline-flex select-none items-center justify-center rounded-md px-1 font-semibold leading-none text-gray-700 transition duration-150 ease-linear", class: {
|
|
295
295
|
"m-0 bg-white px-3 py-[1em] text-zinc-900 drop-shadow-md": e.value === "edit"
|
|
296
296
|
}, on: { click: function(a) {
|
|
297
297
|
e.value === "preview" && e.$emit("input", "edit");
|
|
298
|
-
} } }, [e.small ? t("CIcon", { attrs: { type: "edit", size: "
|
|
298
|
+
} } }, [e.small ? t("CIcon", { attrs: { type: "edit", size: "16" } }) : [e._v(e._s(e.$t("edit")))]], 2), t("div", { staticClass: "inline-flex select-none items-center justify-center rounded-md px-1 font-semibold leading-none text-gray-700 transition duration-150 ease-linear", class: {
|
|
299
299
|
"m-0 bg-white px-3 py-[1em] text-zinc-900 drop-shadow-md": e.value === "preview"
|
|
300
300
|
}, attrs: { "data-onboarding": "preview-button" }, on: { click: function(a) {
|
|
301
301
|
e.value === "edit" && e.$emit("input", "preview");
|
|
302
|
-
} } }, [e.small ? t("CIcon", { attrs: { type: "eye", size: "
|
|
302
|
+
} } }, [e.small ? t("CIcon", { attrs: { type: "eye", size: "16" } }) : [e._v(e._s(e.$t("preview")))]], 2)]);
|
|
303
303
|
}, Lt = [], $t = /* @__PURE__ */ d(
|
|
304
304
|
kt,
|
|
305
305
|
_t,
|
|
@@ -359,7 +359,7 @@ var Dt = function() {
|
|
|
359
359
|
null,
|
|
360
360
|
"bfd61212"
|
|
361
361
|
);
|
|
362
|
-
const Mt = Bt.exports,
|
|
362
|
+
const Mt = Bt.exports, It = {
|
|
363
363
|
name: "DynamicBlock",
|
|
364
364
|
components: {
|
|
365
365
|
BlockControlButtons: Mt
|
|
@@ -423,7 +423,7 @@ const Mt = Bt.exports, Ft = {
|
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
425
|
};
|
|
426
|
-
var
|
|
426
|
+
var Ft = function() {
|
|
427
427
|
var e = this, t = e._self._c;
|
|
428
428
|
return t("Animation", { staticClass: "w-full" }, [t("div", { staticClass: "block-root", class: [
|
|
429
429
|
{
|
|
@@ -447,14 +447,14 @@ var It = function() {
|
|
|
447
447
|
return e.$emit("remove");
|
|
448
448
|
} } }, [e.showEditButton ? t("CButton", { staticClass: "document-block__edit-button", attrs: { round: "", size: "small", thinner: "", "icon-right": "colored-dots" }, on: { click: e.onEdit } }, [e._v(" " + e._s(e.$t("_common:edit").capitalize()) + " ")]) : e._e()], 1) : e._e()], 1)]);
|
|
449
449
|
}, Ht = [], At = /* @__PURE__ */ d(
|
|
450
|
-
Ft,
|
|
451
450
|
It,
|
|
451
|
+
Ft,
|
|
452
452
|
Ht,
|
|
453
453
|
!1,
|
|
454
454
|
null,
|
|
455
455
|
"ba9843e6"
|
|
456
456
|
);
|
|
457
|
-
const Pt = At.exports,
|
|
457
|
+
const Pt = At.exports, Et = {
|
|
458
458
|
name: "LogoBanner",
|
|
459
459
|
props: {
|
|
460
460
|
position: {
|
|
@@ -472,14 +472,14 @@ const Pt = At.exports, zt = {
|
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
474
|
};
|
|
475
|
-
var
|
|
475
|
+
var zt = function() {
|
|
476
476
|
var e = this, t = e._self._c;
|
|
477
477
|
return t("div", { staticClass: "pointer-events-none bottom-0 left-0 right-0 z-50 flex justify-end px-[10px] pb-[10px]", class: e.position }, [t("a", { staticClass: "pointer-events-auto inline-flex h-8 items-center rounded-md border border-white/30 bg-black/80 pl-1.5 pr-2", attrs: { href: `https://${e.$t(
|
|
478
478
|
"_common:brand.domain"
|
|
479
479
|
)}?utm_source=document&utm_medium=logo-banner`, target: "_blank" } }, [t("div", { staticClass: "mr-2 h-5 w-5 overflow-hidden rounded bg-white" }, [t("img", { staticClass: "h-full w-full", attrs: { src: e.logoUrl, alt: e.$t("brand.name") } })]), t("div", { staticClass: "text-xs font-medium text-white" }, [e._v(" Made in " + e._s(e.$t("brand.name")) + " ")])])]);
|
|
480
480
|
}, Zt = [], Ut = /* @__PURE__ */ d(
|
|
481
|
-
zt,
|
|
482
481
|
Et,
|
|
482
|
+
zt,
|
|
483
483
|
Zt,
|
|
484
484
|
!1,
|
|
485
485
|
null,
|
|
@@ -569,7 +569,7 @@ var Kt = function() {
|
|
|
569
569
|
null,
|
|
570
570
|
"8029d5ea"
|
|
571
571
|
);
|
|
572
|
-
const Y = Qt.exports, Jt = /([\d+.]*)(.*)/,
|
|
572
|
+
const Y = Qt.exports, Jt = /([\d+.]*)(.*)/, b = (i) => (i || "").match(Jt), Xt = {
|
|
573
573
|
i18nOptions: {
|
|
574
574
|
namespaces: "common",
|
|
575
575
|
keyPrefix: "designLabels"
|
|
@@ -657,14 +657,14 @@ const Y = Qt.exports, Jt = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Jt), Xt =
|
|
|
657
657
|
}
|
|
658
658
|
},
|
|
659
659
|
onInput: ({ family: a, weight: s, options: n = [] }) => {
|
|
660
|
-
this.update(i, a),
|
|
660
|
+
this.update(i, a), Ee(a), t != s && this.update("fontWeight", s), this.fontWeightOptions = n;
|
|
661
661
|
}
|
|
662
662
|
}
|
|
663
663
|
]
|
|
664
664
|
};
|
|
665
665
|
},
|
|
666
666
|
fontSize: ({ key: i, value: e }) => {
|
|
667
|
-
const [, t, a] =
|
|
667
|
+
const [, t, a] = b(e);
|
|
668
668
|
return {
|
|
669
669
|
label: this.$t("size"),
|
|
670
670
|
inputs: [
|
|
@@ -752,7 +752,7 @@ const Y = Qt.exports, Jt = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Jt), Xt =
|
|
|
752
752
|
};
|
|
753
753
|
},
|
|
754
754
|
letterSpacing: ({ key: i, value: e }) => {
|
|
755
|
-
const [, t = 0] =
|
|
755
|
+
const [, t = 0] = b(e);
|
|
756
756
|
return {
|
|
757
757
|
label: this.$t("letterSpacing"),
|
|
758
758
|
inputs: [
|
|
@@ -783,7 +783,7 @@ const Y = Qt.exports, Jt = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Jt), Xt =
|
|
|
783
783
|
};
|
|
784
784
|
},
|
|
785
785
|
marginBottom: ({ key: i, value: e }) => {
|
|
786
|
-
const [, t] =
|
|
786
|
+
const [, t] = b(e);
|
|
787
787
|
return {
|
|
788
788
|
label: this.$t("marginBottom"),
|
|
789
789
|
inputs: [
|
|
@@ -864,7 +864,7 @@ const Y = Qt.exports, Jt = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Jt), Xt =
|
|
|
864
864
|
]
|
|
865
865
|
}),
|
|
866
866
|
width: ({ key: i, value: e }) => {
|
|
867
|
-
const [, t, a] =
|
|
867
|
+
const [, t, a] = b(e);
|
|
868
868
|
return {
|
|
869
869
|
label: this.$t("contentWidth"),
|
|
870
870
|
inputs: [
|
|
@@ -904,7 +904,7 @@ const Y = Qt.exports, Jt = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Jt), Xt =
|
|
|
904
904
|
};
|
|
905
905
|
},
|
|
906
906
|
padding: ({ key: i, value: e }) => {
|
|
907
|
-
const [, t] =
|
|
907
|
+
const [, t] = b(e);
|
|
908
908
|
return {
|
|
909
909
|
label: this.$t("padding"),
|
|
910
910
|
inputs: [
|
|
@@ -944,7 +944,7 @@ const Y = Qt.exports, Jt = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Jt), Xt =
|
|
|
944
944
|
};
|
|
945
945
|
},
|
|
946
946
|
border: ([i, e, t]) => {
|
|
947
|
-
const a = i.value === "solid", [, s] =
|
|
947
|
+
const a = i.value === "solid", [, s] = b(e.value), n = [
|
|
948
948
|
{
|
|
949
949
|
label: this.$t("border"),
|
|
950
950
|
inputs: [
|
|
@@ -1123,7 +1123,7 @@ const Y = Qt.exports, Jt = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Jt), Xt =
|
|
|
1123
1123
|
watch: {
|
|
1124
1124
|
async activeItem(i) {
|
|
1125
1125
|
const e = u(i, "style.fontFamily");
|
|
1126
|
-
e && (this.fontWeightOptions = await
|
|
1126
|
+
e && (this.fontWeightOptions = await ze(e));
|
|
1127
1127
|
}
|
|
1128
1128
|
},
|
|
1129
1129
|
methods: {
|
|
@@ -1476,7 +1476,7 @@ const a1 = i1.exports, s1 = {
|
|
|
1476
1476
|
this.isPublicForm || await this.loadUsers();
|
|
1477
1477
|
},
|
|
1478
1478
|
methods: {
|
|
1479
|
-
...
|
|
1479
|
+
...w({
|
|
1480
1480
|
loadUsers: m.LOAD_COMPANY_USERS
|
|
1481
1481
|
}),
|
|
1482
1482
|
update(i, e) {
|
|
@@ -1834,12 +1834,12 @@ const m1 = u1.exports, h1 = {
|
|
|
1834
1834
|
validations: {
|
|
1835
1835
|
form: {
|
|
1836
1836
|
label: {
|
|
1837
|
-
required:
|
|
1837
|
+
required: F.required,
|
|
1838
1838
|
isUniqueLabel(i) {
|
|
1839
1839
|
return this.fields.reduce((t, { label: a }) => a === i ? !1 : t, !0);
|
|
1840
1840
|
}
|
|
1841
1841
|
},
|
|
1842
|
-
value: { required:
|
|
1842
|
+
value: { required: F.required }
|
|
1843
1843
|
}
|
|
1844
1844
|
},
|
|
1845
1845
|
computed: {
|
|
@@ -2376,7 +2376,7 @@ const k1 = b1.exports, _1 = (i) => {
|
|
|
2376
2376
|
nodeId: i[4]
|
|
2377
2377
|
}
|
|
2378
2378
|
];
|
|
2379
|
-
},
|
|
2379
|
+
}, I1 = () => ({
|
|
2380
2380
|
clients: [
|
|
2381
2381
|
{
|
|
2382
2382
|
name: "Pernilla P.",
|
|
@@ -2388,7 +2388,7 @@ const k1 = b1.exports, _1 = (i) => {
|
|
|
2388
2388
|
answerMethod: { accept: "signature", deny: "button" }
|
|
2389
2389
|
}
|
|
2390
2390
|
]
|
|
2391
|
-
}),
|
|
2391
|
+
}), F1 = (i = "en") => [
|
|
2392
2392
|
{ key: "senderString", anyOf: [{ type: "string" }, { type: "null" }] },
|
|
2393
2393
|
{ key: "receiverString", anyOf: [{ type: "string" }, { type: "null" }] },
|
|
2394
2394
|
{
|
|
@@ -2403,9 +2403,9 @@ const k1 = b1.exports, _1 = (i) => {
|
|
|
2403
2403
|
}) => {
|
|
2404
2404
|
const { language: a } = e || {};
|
|
2405
2405
|
let s = null;
|
|
2406
|
-
return typeof t == "function" ? s = t() : i && (s =
|
|
2406
|
+
return typeof t == "function" ? s = t() : i && (s = I1()), {
|
|
2407
2407
|
readView: M1(),
|
|
2408
|
-
validation:
|
|
2408
|
+
validation: F1(a),
|
|
2409
2409
|
// Client / company will for now always exist on doc and in validation
|
|
2410
2410
|
...s && { data: s }
|
|
2411
2411
|
};
|
|
@@ -2432,14 +2432,14 @@ const k1 = b1.exports, _1 = (i) => {
|
|
|
2432
2432
|
size: "small"
|
|
2433
2433
|
}
|
|
2434
2434
|
}
|
|
2435
|
-
],
|
|
2435
|
+
], E1 = () => null, z1 = ({
|
|
2436
2436
|
includeMockData: i = !1,
|
|
2437
2437
|
document: e = null,
|
|
2438
2438
|
contentData: t = null
|
|
2439
2439
|
} = {}) => {
|
|
2440
2440
|
const a = p();
|
|
2441
2441
|
let s = null;
|
|
2442
|
-
return typeof t == "function" ? s = t(a) : i && (s =
|
|
2442
|
+
return typeof t == "function" ? s = t(a) : i && (s = E1()), {
|
|
2443
2443
|
readView: A1(a),
|
|
2444
2444
|
validation: P1(a),
|
|
2445
2445
|
...s && { data: s }
|
|
@@ -4352,7 +4352,7 @@ const f2 = ({
|
|
|
4352
4352
|
}
|
|
4353
4353
|
})
|
|
4354
4354
|
}
|
|
4355
|
-
],
|
|
4355
|
+
], z = {
|
|
4356
4356
|
titleAndText2: _2,
|
|
4357
4357
|
attachments2: $1,
|
|
4358
4358
|
pdf: pe,
|
|
@@ -4360,7 +4360,7 @@ const f2 = ({
|
|
|
4360
4360
|
multiGroupPricing: l2,
|
|
4361
4361
|
coverBlock: V1,
|
|
4362
4362
|
videoPlayer: T2,
|
|
4363
|
-
embed:
|
|
4363
|
+
embed: z1,
|
|
4364
4364
|
header: a2,
|
|
4365
4365
|
answer: ue,
|
|
4366
4366
|
terms: x2,
|
|
@@ -4397,20 +4397,20 @@ const f2 = ({
|
|
|
4397
4397
|
addBlock: (i) => he({
|
|
4398
4398
|
...i,
|
|
4399
4399
|
set: this.set,
|
|
4400
|
-
tplGenerators:
|
|
4400
|
+
tplGenerators: z,
|
|
4401
4401
|
includeMockData: this.includeMockData,
|
|
4402
4402
|
emit: (...e) => this.$emit(...e)
|
|
4403
4403
|
}),
|
|
4404
4404
|
getBlockPayload: (i) => fe(
|
|
4405
4405
|
i,
|
|
4406
4406
|
this.set,
|
|
4407
|
-
|
|
4407
|
+
z,
|
|
4408
4408
|
this.includeMockdata
|
|
4409
4409
|
)
|
|
4410
4410
|
});
|
|
4411
4411
|
}
|
|
4412
4412
|
}, B2 = null, M2 = null;
|
|
4413
|
-
var
|
|
4413
|
+
var I2 = /* @__PURE__ */ d(
|
|
4414
4414
|
V2,
|
|
4415
4415
|
B2,
|
|
4416
4416
|
M2,
|
|
@@ -4418,7 +4418,7 @@ var F2 = /* @__PURE__ */ d(
|
|
|
4418
4418
|
null,
|
|
4419
4419
|
null
|
|
4420
4420
|
);
|
|
4421
|
-
const Q =
|
|
4421
|
+
const Q = I2.exports, F2 = {
|
|
4422
4422
|
name: "MenuBlockConvertPopover",
|
|
4423
4423
|
props: {
|
|
4424
4424
|
target: {
|
|
@@ -4459,14 +4459,14 @@ var H2 = function() {
|
|
|
4459
4459
|
return e.$emit("convert");
|
|
4460
4460
|
} } }, [e._v(" " + e._s(e.$t("button")) + " ")])], 1)])], 1);
|
|
4461
4461
|
}, A2 = [], P2 = /* @__PURE__ */ d(
|
|
4462
|
-
|
|
4462
|
+
F2,
|
|
4463
4463
|
H2,
|
|
4464
4464
|
A2,
|
|
4465
4465
|
!1,
|
|
4466
4466
|
null,
|
|
4467
4467
|
null
|
|
4468
4468
|
);
|
|
4469
|
-
const
|
|
4469
|
+
const E2 = P2.exports, z2 = A.component("ProBadge", {
|
|
4470
4470
|
name: "ProBadge",
|
|
4471
4471
|
render(i) {
|
|
4472
4472
|
return i(
|
|
@@ -4552,10 +4552,10 @@ const z2 = P2.exports, E2 = A.component("ProBadge", {
|
|
|
4552
4552
|
DragItem: R,
|
|
4553
4553
|
AddBlock: Q,
|
|
4554
4554
|
IsPremiumPreStep: _,
|
|
4555
|
-
ProBadge:
|
|
4556
|
-
MenuBlockConvertPopover:
|
|
4555
|
+
ProBadge: z2,
|
|
4556
|
+
MenuBlockConvertPopover: E2
|
|
4557
4557
|
},
|
|
4558
|
-
mixins: [
|
|
4558
|
+
mixins: [x],
|
|
4559
4559
|
inject: {
|
|
4560
4560
|
viewSettings: {
|
|
4561
4561
|
default: () => ({ isPublicForm: !1 })
|
|
@@ -5053,7 +5053,7 @@ const G2 = R2.exports, W2 = {
|
|
|
5053
5053
|
Fields: k1,
|
|
5054
5054
|
ExtensionTab: m1,
|
|
5055
5055
|
DocumentGeneralSettings: r1,
|
|
5056
|
-
DocumentGuide: () => import("./index-
|
|
5056
|
+
DocumentGuide: () => import("./index-BKawli9V.js"),
|
|
5057
5057
|
MenuBlocks: G2,
|
|
5058
5058
|
Simplebar: k
|
|
5059
5059
|
},
|
|
@@ -5095,7 +5095,7 @@ const G2 = R2.exports, W2 = {
|
|
|
5095
5095
|
data() {
|
|
5096
5096
|
return {
|
|
5097
5097
|
showGuide: !1,
|
|
5098
|
-
showGuideNotification: !
|
|
5098
|
+
showGuideNotification: !E.getItem("hideFormGuideNotification"),
|
|
5099
5099
|
tab: "blocks"
|
|
5100
5100
|
};
|
|
5101
5101
|
},
|
|
@@ -5117,13 +5117,13 @@ const G2 = R2.exports, W2 = {
|
|
|
5117
5117
|
},
|
|
5118
5118
|
methods: {
|
|
5119
5119
|
openGuide() {
|
|
5120
|
-
this.showGuide = !0, this.showGuideNotification = !1,
|
|
5120
|
+
this.showGuide = !0, this.showGuideNotification = !1, E.setItem("hideFormGuideNotification", !0);
|
|
5121
5121
|
}
|
|
5122
5122
|
}
|
|
5123
5123
|
};
|
|
5124
5124
|
var q2 = function() {
|
|
5125
5125
|
var e = this, t = e._self._c;
|
|
5126
|
-
return t("div", [t("div", { staticClass: "root menu-wrapper", style: [{ width: `${e.width}px` }, e.fixed && { zIndex: 999 }] }, [e.fixed ? t("div", { staticClass: "fixed inset-0", on: { click: function(a) {
|
|
5126
|
+
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) {
|
|
5127
5127
|
return e.$emit("close");
|
|
5128
5128
|
} } }) : e._e(), t("div", { staticStyle: { height: "100%", "font-size": "14px", "border-radius": "0 8px 8px 0", "box-shadow": "0 10px 20px rgba(0, 0, 0, 0.2)" }, style: { width: `${e.width}px` } }, [e.isLegacyTemplate ? e._e() : t("div", { staticClass: "tab-list" }, [t("div", { staticClass: "tab-item", class: { "is-active": e.tab === "blocks" }, domProps: { textContent: e._s(e.$t("tabs.blocks")) }, on: { click: function(a) {
|
|
5129
5129
|
e.tab = "blocks";
|
|
@@ -5174,7 +5174,7 @@ var q2 = function() {
|
|
|
5174
5174
|
N2,
|
|
5175
5175
|
!1,
|
|
5176
5176
|
null,
|
|
5177
|
-
"
|
|
5177
|
+
"a591711d"
|
|
5178
5178
|
);
|
|
5179
5179
|
const K2 = j2.exports, J = (i, e, t = "$children") => {
|
|
5180
5180
|
if (!i)
|
|
@@ -5212,7 +5212,7 @@ const K2 = j2.exports, J = (i, e, t = "$children") => {
|
|
|
5212
5212
|
LogoBanner: Ot,
|
|
5213
5213
|
IsPremium: L
|
|
5214
5214
|
},
|
|
5215
|
-
mixins: [
|
|
5215
|
+
mixins: [x],
|
|
5216
5216
|
props: {
|
|
5217
5217
|
_document: {
|
|
5218
5218
|
type: Object,
|
|
@@ -5450,10 +5450,22 @@ const K2 = j2.exports, J = (i, e, t = "$children") => {
|
|
|
5450
5450
|
};
|
|
5451
5451
|
var Q2 = function() {
|
|
5452
5452
|
var e = this, t = e._self._c;
|
|
5453
|
-
return t("div", {
|
|
5453
|
+
return t("div", { staticClass: "min-h-screen overflow-auto" }, [t("div", { staticClass: "relative flex min-h-screen flex-row bg-gray-200", class: {
|
|
5454
5454
|
"is-edit-view": e.isEditView,
|
|
5455
5455
|
"is-empty-list": !e.nestedReadLayout.length
|
|
5456
|
-
} }, [t("
|
|
5456
|
+
} }, [t("DocumentFormNav", { attrs: { close: e.close } }, [t("div", { staticClass: "relative flex w-full items-center space-x-4", attrs: { slot: "left" }, slot: "left" }, [t("div", { staticClass: "rounded-md bg-gray-300 sm:bg-transparent" }, [e.close ? t("CButton", { staticClass: "d-nav-button position left close h-[2.25em] w-[2.25em] text-base backdrop-blur-[25px]", attrs: { "icon-props": { size: e.mq === "sm" ? 16 : 20 }, size: "normal", icon: "x", type: "none", pattern: "tertiary" }, on: { click: e.close } }) : e._e()], 1), e.goBack && e.mq !== "sm" ? t("CButton", { staticClass: "mr-2", staticStyle: { background: "rgba(255, 255, 255, 0.75)", "backdrop-filter": "blur(25px)" }, attrs: { circle: "", type: "none", pattern: "tertiary", icon: "arrow-left" }, on: { click: e.goBack } }) : e._e(), t("div", { staticClass: "relative hidden rounded-md bg-gray-300 sm:flex sm:bg-transparent" }, [t("CButton", { staticStyle: { width: "36px", height: "36px", "padding-left": "14px", "padding-right": "14px" }, attrs: { size: "normal", type: "none", pattern: "tertiary", "icon-props": { size: 20 }, thinner: "", icon: "sidebar" }, on: { click: function(a) {
|
|
5457
|
+
return a.stopPropagation(), e.drawerState.toggleLeft.apply(null, arguments);
|
|
5458
|
+
} } })], 1), e._t("nav-left")], 2), t("div", { staticClass: "relative", attrs: { slot: "center" }, slot: "center" }, [t("DocumentFormViewRadio", { directives: [{ name: "show", rawName: "v-show", value: e.nestedReadLayout.length, expression: "nestedReadLayout.length" }], attrs: { small: e.mq === "sm", value: e.view }, on: { input: function(a) {
|
|
5459
|
+
return e.$emit("update:view", a);
|
|
5460
|
+
} } }), !e.isEditView && !["sm", "md"].includes(e.mq) ? t("div", { staticClass: "absolute inline-flex h-9 space-x-2 rounded-md bg-gray-300 p-1 backdrop-blur-lg backdrop-saturate-[180%]", staticStyle: { left: "calc(100% + calc(1.25 * var(--rem)))" } }, e._l(["desktop", "tablet", "mobile"], function(a) {
|
|
5461
|
+
return t("div", { key: a, staticClass: "pointer inline-flex select-none items-center justify-center rounded-md p-[10px] font-semibold text-gray-700 transition duration-150 ease-linear", style: e.previewDevice === a && {
|
|
5462
|
+
boxShadow: "0 1px 1px rgba(0, 0, 0, 0.2)",
|
|
5463
|
+
backgroundColor: "hsl(0, 0%, 100%)",
|
|
5464
|
+
color: "hsl(0, 0%, 7%)"
|
|
5465
|
+
}, on: { click: function(s) {
|
|
5466
|
+
e.previewDevice = a;
|
|
5467
|
+
} } }, [t("CIcon", { attrs: { type: a, size: "16" } })], 1);
|
|
5468
|
+
}), 0) : e._e()], 1), e._t("nav-right", null, { slot: "right" })], 2), t("DocumentFormMenu", { directives: [{ name: "show", rawName: "v-show", value: e.drawerState.showLeft, expression: "drawerState.showLeft" }], attrs: { state: e._document, "on-added-block": ({ nodeId: a, onAddFnName: s = "onAdd" }) => {
|
|
5457
5469
|
e.onAddRedis[a] = s;
|
|
5458
5470
|
}, set: e.setFormValue, "remove-value": e.removeFormValue, template: e.docTemplate, fixed: e.drawerState.isFixed, "can-use-blocks": e.isTemplateEditable, "is-legacy-template": e.isLegacyTemplate, width: e.sidebarWidth }, on: { close: function(a) {
|
|
5459
5471
|
e.drawerState.showLeft = !1;
|
|
@@ -5461,24 +5473,7 @@ var Q2 = function() {
|
|
|
5461
5473
|
"device-offset": e.isEditView
|
|
5462
5474
|
}, style: e.drawerState.showLeft && !e.drawerState.isFixed && {
|
|
5463
5475
|
marginLeft: `${e.sidebarWidth}px`
|
|
5464
|
-
} }, [t("
|
|
5465
|
-
marginLeft: e.drawerState.showLeft ? `${e.sidebarWidth}px` : 0
|
|
5466
|
-
}, attrs: { close: e.close } }, [t("div", { staticClass: "flex w-full items-center", staticStyle: { position: "relative" }, attrs: { slot: "left" }, slot: "left" }, [e.close ? t("CButton", { staticClass: "d-nav-button position left close", staticStyle: { "font-size": "16px", height: "2.25em", width: "2.25em", "flex-shrink": "0", "margin-right": "0.5em", background: "rgba(255, 255, 255, 0.75)", "backdrop-filter": "blur(25px)" }, attrs: { "icon-props": { size: 20 }, size: "normal", icon: "x", circle: "", type: "none", pattern: "tertiary" }, on: { click: e.close } }) : e._e(), e.goBack && e.mq !== "sm" ? t("CButton", { staticClass: "mr-2", staticStyle: { background: "rgba(255, 255, 255, 0.75)", "backdrop-filter": "blur(25px)" }, attrs: { circle: "", type: "none", pattern: "tertiary", icon: "arrow-left" }, on: { click: e.goBack } }) : e._e(), t("div", { staticClass: "relative" }, [t("CButton", { staticStyle: { "font-size": "16px", height: "2.5em", width: "2.5em", background: "rgba(255, 255, 255, 0.75)", "backdrop-filter": "blur(25px)" }, attrs: { circle: "", type: "none", pattern: "tertiary", icon: "sidebar" }, on: { click: function(a) {
|
|
5467
|
-
return a.stopPropagation(), e.drawerState.toggleLeft.apply(null, arguments);
|
|
5468
|
-
} } }), t("transition", { attrs: { name: "fade-bounce", appear: "" } }, [!e.nestedReadLayout.length && e.isFixedSidebar ? t("div", { staticClass: "bg-primary-500 absolute -left-3/4 top-full w-64 translate-y-2 rounded-lg p-3 text-base font-semibold leading-snug text-white shadow-lg" }, [e._v(" " + e._s(e.$t("emptyBlockPlaceholderSmall")) + " "), t("svg", { staticClass: "text-primary-500 absolute left-10 top-0 -translate-y-full", attrs: { width: "16", height: "6", xmlns: "http://www.w3.org/2000/svg" } }, [t("path", { attrs: { d: "M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z", fill: "currentColor" } })])]) : e._e()])], 1), e._t("nav-left")], 2), t("div", { staticStyle: { position: "relative" }, attrs: { slot: "center" }, slot: "center" }, [t("DocumentFormViewRadio", { directives: [{ name: "show", rawName: "v-show", value: e.nestedReadLayout.length, expression: "nestedReadLayout.length" }], attrs: { small: e.mq === "sm", value: e.view }, on: { input: function(a) {
|
|
5469
|
-
return e.$emit("update:view", a);
|
|
5470
|
-
} } }), !e.isEditView && !["sm", "md"].includes(e.mq) ? t("div", { staticStyle: { position: "absolute", left: "calc(100% + calc(1.25 * var(--rem)))", transform: "translateY(50%)", top: "-50%", display: "inline-flex", "border-radius": "2em", padding: "3px", "background-color": "hsl(0, 0%, 0%, 0.07)", "backdrop-filter": "saturate(180%) blur(20px)", "font-size": "15px", height: "36px" } }, e._l(["desktop", "tablet", "mobile"], function(a) {
|
|
5471
|
-
return t("div", { key: a, staticStyle: { "border-radius": "2em", "font-weight": "500", cursor: "pointer", "padding-top": "4px", "padding-bottom": "4px", margin: "0 4px", "user-select": "none", display: "inline-flex", "align-items": "center", "justify-content": "center", color: "hsl(0, 0%, 0%, 0.5)", transition: "150ms" }, style: e.previewDevice === a && {
|
|
5472
|
-
boxShadow: "0 1px 1px rgba(0, 0, 0, 0.2)",
|
|
5473
|
-
backgroundColor: "hsl(0, 0%, 100%)",
|
|
5474
|
-
color: "hsl(0, 0%, 7%)",
|
|
5475
|
-
paddingLeft: "6px",
|
|
5476
|
-
paddingRight: "6px",
|
|
5477
|
-
margin: 0
|
|
5478
|
-
}, on: { click: function(s) {
|
|
5479
|
-
e.previewDevice = a;
|
|
5480
|
-
} } }, [t("CIcon", { attrs: { type: a, size: "18" } })], 1);
|
|
5481
|
-
}), 0) : e._e()], 1), e._t("nav-right", null, { slot: "right" })], 2), t("div", { staticClass: "list-container", class: [
|
|
5476
|
+
} }, [t("div", { staticClass: "list-container", class: [
|
|
5482
5477
|
{
|
|
5483
5478
|
"is-device-edit": e.isEditView,
|
|
5484
5479
|
"is-empty": !e.nestedReadLayout.length
|
|
@@ -5521,7 +5516,7 @@ var Q2 = function() {
|
|
|
5521
5516
|
}), 1) : e._e(), e.canShowBanner ? t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ isProLike: l }) {
|
|
5522
5517
|
return [!e.isEditView && !l ? t("LogoBanner", { attrs: { position: "sticky" } }) : e._e()];
|
|
5523
5518
|
} }], null, !0) }) : e._e()], 1);
|
|
5524
|
-
} }]) })], 1)], 1)]
|
|
5519
|
+
} }]) })], 1)], 1)]), t("DocumentDrawer", { key: "settingsDrawer", attrs: { id: "settingsDrawer", open: !!e.drawerState.openSection, fixed: !0, position: "right" }, on: { "update:open": function(a) {
|
|
5525
5520
|
e.drawerState.openSection = null;
|
|
5526
5521
|
} } }, [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) {
|
|
5527
5522
|
e.drawerState.openSection = null;
|
|
@@ -5535,7 +5530,7 @@ var Q2 = function() {
|
|
|
5535
5530
|
J2,
|
|
5536
5531
|
!1,
|
|
5537
5532
|
null,
|
|
5538
|
-
"
|
|
5533
|
+
"a76132ce"
|
|
5539
5534
|
);
|
|
5540
5535
|
const ei = X2.exports, ti = {
|
|
5541
5536
|
name: "DocumentSend",
|
|
@@ -5575,7 +5570,7 @@ const ei = X2.exports, ti = {
|
|
|
5575
5570
|
useEmit: !1,
|
|
5576
5571
|
setFnName: "setFormValue"
|
|
5577
5572
|
}),
|
|
5578
|
-
|
|
5573
|
+
x
|
|
5579
5574
|
],
|
|
5580
5575
|
props: {
|
|
5581
5576
|
setFormValue: {
|
|
@@ -5628,7 +5623,7 @@ const ei = X2.exports, ti = {
|
|
|
5628
5623
|
!this.isPublicForm && ((i = window.App) != null && i.$fab) && (window.App.$fab.show = !0);
|
|
5629
5624
|
},
|
|
5630
5625
|
methods: {
|
|
5631
|
-
...
|
|
5626
|
+
...w({
|
|
5632
5627
|
createTemplate: m.DO_CREATE_TEMPLATE
|
|
5633
5628
|
}),
|
|
5634
5629
|
open() {
|
|
@@ -5742,7 +5737,7 @@ const ni = si.exports, oi = {
|
|
|
5742
5737
|
},
|
|
5743
5738
|
validations: {
|
|
5744
5739
|
name: {
|
|
5745
|
-
required:
|
|
5740
|
+
required: F.requiredIf((i) => !i.updateExistingDocTemplate)
|
|
5746
5741
|
}
|
|
5747
5742
|
},
|
|
5748
5743
|
computed: {
|
|
@@ -5774,7 +5769,7 @@ const ni = si.exports, oi = {
|
|
|
5774
5769
|
this.$refs.input && this.$refs.input.focus();
|
|
5775
5770
|
},
|
|
5776
5771
|
methods: {
|
|
5777
|
-
...
|
|
5772
|
+
...w({
|
|
5778
5773
|
loadTemplate: m.DO_LOAD_TEMPLATE,
|
|
5779
5774
|
saveTemplate: m.SAVE_TEMPLATE_FORM,
|
|
5780
5775
|
updateSettings: m.UPDATE_SETTINGS
|
|
@@ -5888,7 +5883,7 @@ const fi = /* @__PURE__ */ G(hi), gi = {
|
|
|
5888
5883
|
}
|
|
5889
5884
|
}
|
|
5890
5885
|
},
|
|
5891
|
-
mixins: [
|
|
5886
|
+
mixins: [x],
|
|
5892
5887
|
methods: {
|
|
5893
5888
|
clamp: fi
|
|
5894
5889
|
}
|
|
@@ -5927,7 +5922,7 @@ const xi = yi.exports, T = A.observable({
|
|
|
5927
5922
|
DocumentSend: ni,
|
|
5928
5923
|
RemainingTrialButton: xi
|
|
5929
5924
|
},
|
|
5930
|
-
mixins: [it],
|
|
5925
|
+
mixins: [it, x],
|
|
5931
5926
|
provide: () => ({ viewSettings: T }),
|
|
5932
5927
|
props: {
|
|
5933
5928
|
document: {
|
|
@@ -6037,21 +6032,24 @@ var bi = function() {
|
|
|
6037
6032
|
e.view = a;
|
|
6038
6033
|
} } }, [t("template", { slot: "nav-right" }, [t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ canCreateDocument: a, canCreateTemplate: s }) {
|
|
6039
6034
|
return [t("IsPremiumPreStep", { attrs: { feature: "documents" }, scopedSlots: e._u([{ key: "default", fn: function({ onClick: n }) {
|
|
6040
|
-
return [t("div", { key: e.canDoActions,
|
|
6041
|
-
return [t("
|
|
6035
|
+
return [t("div", { key: e.canDoActions, staticClass: "inline-flex flex-1 justify-end space-x-5" }, [t("IsPremiumPreStep", { attrs: { feature: "saveDocTemplate" }, scopedSlots: e._u([{ key: "default", fn: function({ onClick: o }) {
|
|
6036
|
+
return [t("div", { staticClass: "rounded-md bg-gray-300 sm:bg-transparent" }, [t("CDropdown", { attrs: { disabled: !e.canDoActions } }, [t("CButton", { staticClass: "d-nav-button position right", staticStyle: { width: "36px", height: "36px", "padding-left": "14px", "padding-right": "14px" }, attrs: { slot: "trigger", "icon-props": {
|
|
6037
|
+
size: e.mq === "sm" ? 16 : 20,
|
|
6038
|
+
strokeWidth: 2
|
|
6039
|
+
}, size: "medium", type: "none", pattern: "tertiary", thinner: "", icon: "save" }, slot: "trigger" }), t("CDropdownItem", { attrs: { "icon-props": { stroke: "hsl(205, 100%, 50%)" }, "icon-left": "save" }, on: { click: function(l) {
|
|
6040
|
+
a || e.document.id ? e.submitSave() : n({ callback: e.submitSave });
|
|
6041
|
+
} } }, [e._v(" " + e._s(e.$t("_common:save", { thing: e.$t("_common:document").toLowerCase() })) + " ")]), t("CDropdownItem", { attrs: { disabled: e.isLoading, "icon-left": "template-color" }, on: { click: function(l) {
|
|
6042
|
+
s ? e.saveAsTemplate() : o({
|
|
6043
|
+
callback: e.saveAsTemplate
|
|
6044
|
+
});
|
|
6045
|
+
} } }, [e._v(" " + e._s(e.$t("_common:saveAs", { thing: e.$t("_common:template") })) + " ")])], 1)], 1)];
|
|
6046
|
+
} }], null, !0) }), e._t("nav-right-action", function() {
|
|
6047
|
+
return [t("RemainingTrialButton"), t("div", { staticClass: "buttons has-addons", staticStyle: { "white-space": "nowrap" } }, [t("CButton", { ref: "sendButton", staticClass: "d-nav-button position right h-9 w-9", attrs: { disabled: !e.canDoActions, loading: e.isLoading, "data-onboarding": "send-button", size: "small", type: "secondary", icon: e.mq === "sm" ? "send" : null, thinner: "", expanded: "" }, on: { click: function(o) {
|
|
6042
6048
|
a || !e.doConsumeQuota || e.document.id ? e.openSendModal() : n({ callback: e.openSendModal });
|
|
6043
|
-
} } }, [e._v(" " + e._s(e.$t("_common:reviewSend")) + " ")]),
|
|
6044
|
-
return [t("CDropdown", { attrs: { disabled: !e.canDoActions } }, [t("CButton", { staticClass: "d-nav-button position right", staticStyle: { "border-radius": "0px 7px 7px 0px", height: "36px", "border-left": "1px solid hsla(0, 0%, 100%, 0.35)", "font-size": "13px", "padding-left": "14px", "padding-right": "14px" }, attrs: { slot: "trigger", "icon-props": { size: 13, strokeWidth: 2.5 }, size: "small", type: "secondary", thinner: "", icon: "chevron-down" }, slot: "trigger" }), t("CDropdownItem", { attrs: { "icon-props": { stroke: "hsl(205, 100%, 50%)" }, "icon-left": "save" }, on: { click: function(l) {
|
|
6045
|
-
a || e.document.id ? e.submitSave() : n({ callback: e.submitSave });
|
|
6046
|
-
} } }, [e._v(" " + e._s(e.$t("_common:save", { thing: e.$t("_common:document").toLowerCase() })) + " ")]), t("CDropdownItem", { attrs: { disabled: e.isLoading, "icon-left": "template-color" }, on: { click: function(l) {
|
|
6047
|
-
s ? e.saveAsTemplate() : o({
|
|
6048
|
-
callback: e.saveAsTemplate
|
|
6049
|
-
});
|
|
6050
|
-
} } }, [e._v(" " + e._s(e.$t("_common:saveAs", { thing: e.$t("_common:template") })) + " ")])], 1)];
|
|
6051
|
-
} }], null, !0) })], 1)];
|
|
6049
|
+
} } }, [e._v(" " + e._s(e.mq === "sm" ? null : e.$t("_common:reviewSend")) + " ")])], 1)];
|
|
6052
6050
|
})], 2)];
|
|
6053
6051
|
} }], null, !0) })];
|
|
6054
|
-
} }], null, !1,
|
|
6052
|
+
} }], null, !1, 1295890373) })], 1)], 2), t("DocumentSend", { ref: "documentSend", attrs: { _document: e.document, _value: {
|
|
6055
6053
|
expiresAt: "data.expiresAt",
|
|
6056
6054
|
personalMessage: "data.personalMessage",
|
|
6057
6055
|
defaultAnswerMethod: "data.defaultAnswerMethod",
|
|
@@ -6104,7 +6102,7 @@ const Li = _i.exports, $i = {
|
|
|
6104
6102
|
this.onLoadDocuments();
|
|
6105
6103
|
},
|
|
6106
6104
|
methods: {
|
|
6107
|
-
...
|
|
6105
|
+
...w({
|
|
6108
6106
|
loadDocument: m.LOAD_DOCUMENT2
|
|
6109
6107
|
}),
|
|
6110
6108
|
async onInput() {
|
|
@@ -6217,15 +6215,15 @@ var Mi = function(e, t) {
|
|
|
6217
6215
|
} }) : t.props.isPlaceholder || t.props.isAdd ? t._e() : e(t.injections.components.BlockMedia, { tag: "component", staticClass: "item-media", attrs: { media: t.props.media, preview: "" } }), t.scopedSlots.badge ? e("div", { staticClass: "absolute bottom-2 right-2" }, [t._t("badge")], 2) : t._e(), t.props.isAdd ? e("div", { staticClass: "add-button" }, [e("CIcon", { attrs: { size: 18, "stroke-width": 3, type: "plus" } })], 1) : t._e()], 1), e("div", { staticClass: "item-footer" }, [t.props.isAdd ? e("div", { staticClass: "item-text", staticStyle: { color: "hsl(0, 0%, 55%)" }, domProps: { textContent: t._s(
|
|
6218
6216
|
t.parent.$t("_common:empty", { thing: t.parent.$t("_common:template") })
|
|
6219
6217
|
) } }) : t.props.name ? [e("div", { staticClass: "item-text", domProps: { textContent: t._s(t.$options.truncate(t.props.name, 60)) } }), t._t("default")] : t._e()], 2)]);
|
|
6220
|
-
},
|
|
6218
|
+
}, Ii = [], Fi = /* @__PURE__ */ d(
|
|
6221
6219
|
Bi,
|
|
6222
6220
|
Mi,
|
|
6223
|
-
|
|
6221
|
+
Ii,
|
|
6224
6222
|
!0,
|
|
6225
6223
|
null,
|
|
6226
6224
|
"c3016d8f"
|
|
6227
6225
|
);
|
|
6228
|
-
const Hi =
|
|
6226
|
+
const Hi = Fi.exports, Ai = {
|
|
6229
6227
|
name: "HorizontalScroll",
|
|
6230
6228
|
components: {
|
|
6231
6229
|
Simplebar: k
|
|
@@ -6293,15 +6291,15 @@ var Pi = function() {
|
|
|
6293
6291
|
return e.$emit("expand");
|
|
6294
6292
|
} } })];
|
|
6295
6293
|
})], 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)]);
|
|
6296
|
-
},
|
|
6294
|
+
}, Ei = [], zi = /* @__PURE__ */ d(
|
|
6297
6295
|
Ai,
|
|
6298
6296
|
Pi,
|
|
6299
|
-
|
|
6297
|
+
Ei,
|
|
6300
6298
|
!1,
|
|
6301
6299
|
null,
|
|
6302
6300
|
"31e10485"
|
|
6303
6301
|
);
|
|
6304
|
-
const Zi =
|
|
6302
|
+
const Zi = zi.exports;
|
|
6305
6303
|
function Ui(i, { availableProducts: e }) {
|
|
6306
6304
|
if (!i)
|
|
6307
6305
|
throw new Error("Missing parameter templateId");
|
|
@@ -6661,7 +6659,7 @@ const Ni = qi.exports, ji = {
|
|
|
6661
6659
|
}
|
|
6662
6660
|
},
|
|
6663
6661
|
methods: {
|
|
6664
|
-
...
|
|
6662
|
+
...w({
|
|
6665
6663
|
loadPrices: m.LOAD_PRICES
|
|
6666
6664
|
}),
|
|
6667
6665
|
async loadTemplateGallery() {
|
|
@@ -6836,7 +6834,7 @@ const Ji = Qi.exports, Xi = {
|
|
|
6836
6834
|
GalleryLogic: Ji,
|
|
6837
6835
|
IsPremiumPreStep: _
|
|
6838
6836
|
},
|
|
6839
|
-
mixins: [
|
|
6837
|
+
mixins: [x],
|
|
6840
6838
|
props: {
|
|
6841
6839
|
// Used for creating documents form project/client views
|
|
6842
6840
|
projectId: {
|
|
@@ -6933,7 +6931,7 @@ const Ji = Qi.exports, Xi = {
|
|
|
6933
6931
|
this.loadTemplates();
|
|
6934
6932
|
},
|
|
6935
6933
|
methods: {
|
|
6936
|
-
...
|
|
6934
|
+
...w({
|
|
6937
6935
|
loadTemplatesAction: m.LOAD_TEMPLATES,
|
|
6938
6936
|
loadTemplate: m.LOAD_TEMPLATE,
|
|
6939
6937
|
createTemplate: m.DO_CREATE_TEMPLATE,
|
|
@@ -7053,7 +7051,7 @@ var ea = function() {
|
|
|
7053
7051
|
"5c1a776a"
|
|
7054
7052
|
);
|
|
7055
7053
|
const aa = ia.exports;
|
|
7056
|
-
var sa = Be, na = Me, oa =
|
|
7054
|
+
var sa = Be, na = Me, oa = Ie;
|
|
7057
7055
|
function la(i, e, t) {
|
|
7058
7056
|
for (var a = -1, s = e.length, n = {}; ++a < s; ) {
|
|
7059
7057
|
var o = e[a], l = sa(i, o);
|
|
@@ -7061,7 +7059,7 @@ function la(i, e, t) {
|
|
|
7061
7059
|
}
|
|
7062
7060
|
return n;
|
|
7063
7061
|
}
|
|
7064
|
-
var ra = la, ca = ra, da =
|
|
7062
|
+
var ra = la, ca = ra, da = Fe;
|
|
7065
7063
|
function pa(i, e) {
|
|
7066
7064
|
return ca(i, e, function(t, a) {
|
|
7067
7065
|
return da(i, a);
|
|
@@ -7251,7 +7249,7 @@ const va = {
|
|
|
7251
7249
|
this.view = "templateSelect", this.setDocValue({ key: "__isNew", value: !0 });
|
|
7252
7250
|
},
|
|
7253
7251
|
isManualDelivery(i) {
|
|
7254
|
-
const e =
|
|
7252
|
+
const e = I(i);
|
|
7255
7253
|
return !e.sms && !e.email;
|
|
7256
7254
|
}
|
|
7257
7255
|
}
|