@cling-se/widget 0.12.1 → 0.12.3
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-9a08f2ce.js → AddClientCallout-751ed5aa.js} +7 -7
- package/dist/{AnswerModal-50c8347c.js → AnswerModal-581cee38.js} +128 -169
- package/dist/{AttachmentItem-9bd7dbfb.js → AttachmentItem-811ac040.js} +6 -6
- package/dist/{BaseDatePicker-01dfa5b2.js → BaseDatePicker-95f61f10.js} +2 -2
- package/dist/{BaseInput-39893fdd.js → BaseInput-2316a974.js} +1 -1
- package/dist/{BaseUpload-d8b864b3.js → BaseUpload-bf946607.js} +2 -2
- package/dist/{BlockMedia-5812545c.js → BlockMedia-a2018340.js} +1 -1
- package/dist/{CCallout-3bfbca46.js → CCallout-25a66bee.js} +4 -4
- package/dist/{CDropdownItem-4e64b91f.js → CDropdownItem-46ef817a.js} +2 -2
- package/dist/{CField-5dbb89e1.js → CField-d83a443d.js} +1 -1
- package/dist/{CPhoneFormat-c0be2b4f.js → CPhoneFormat-195e1576.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-0e241327.js → CSlider.vue_vue_type_style_index_0_lang-1bfafbea.js} +1 -1
- package/dist/{ClientAutocomplete-debd7fb5.js → ClientAutocomplete-5f619f92.js} +2 -2
- package/dist/{ClientModal-b2b26491.js → ClientModal-72bc0977.js} +11 -11
- package/dist/{ColorPicker-554004b4.js → ColorPicker-b815929f.js} +2 -2
- package/dist/{CompanyModal-2e0706de.js → CompanyModal-0ea79ac1.js} +3 -3
- package/dist/{ContentWrapper-78c03285.js → ContentWrapper-c7e2a8f2.js} +19 -19
- package/dist/{CoverBlockSettings-a10af3d7.js → CoverBlockSettings-b42b5f8a.js} +17 -17
- package/dist/{DocAnswer-dbb8d156.js → DocAnswer-0a2cd242.js} +4 -4
- package/dist/{DocDetails-60cd0e54.js → DocDetails-a06afb2b.js} +29 -29
- package/dist/{DocForm-e452f0cd.js → DocForm-ab0c0845.js} +88 -85
- package/dist/{DocFormSend-2be90d32.js → DocFormSend-315100bf.js} +19 -19
- package/dist/{DocLinks-1d6bf0d6.js → DocLinks-0667287d.js} +2 -2
- package/dist/{DocModalBase-af969452.js → DocModalBase-b7819a9e.js} +7 -7
- package/dist/{DocPrint-62066899.js → DocPrint-d79f92b7.js} +13 -13
- package/dist/{DocReceipt-2d26b906.js → DocReceipt-34fb36ed.js} +7 -7
- package/dist/{DocSendReminder-d0bd58b6.js → DocSendReminder-eb36b1ae.js} +6 -6
- package/dist/{DocTextEditor-6a7d926d.js → DocTextEditor-7b551ddf.js} +16 -16
- package/dist/{DocTimeline-da4ad72b.js → DocTimeline-3422972c.js} +4 -4
- package/dist/{DocumentClient-40b9d019.js → DocumentClient-a13c009e.js} +7 -7
- package/dist/{DocumentLayout-b33f7eca.js → DocumentLayout-4ef4eb0c.js} +6 -6
- package/dist/{DocumentLogotype-7ee57f11.js → DocumentLogotype-d0a0f8dc.js} +9 -9
- package/dist/{DocumentVoided-0b031bd6.js → DocumentVoided-e99fe2b3.js} +2 -2
- package/dist/{EmbedInput-0c1b25a5.js → EmbedInput-84cbb26b.js} +2 -2
- package/dist/{EmbedSettings-4e11febb.js → EmbedSettings-03092756.js} +3 -3
- package/dist/{ErrorCallout-2ca69cec.js → ErrorCallout-5207a92e.js} +1 -1
- package/dist/{FilePreviewModal-318cd4e6.js → FilePreviewModal-f811bc63.js} +8 -8
- package/dist/{Flag-e27c8311.js → Flag-4e6e51fe.js} +1 -1
- package/dist/{HeaderSettings-ccffab13.js → HeaderSettings-35726563.js} +24 -24
- package/dist/{ImageSelectModal-b33e02f0.js → ImageSelectModal-6143f099.js} +8 -8
- package/dist/{ImageUploadWrapper-2958e38a.js → ImageUploadWrapper-299c58fe.js} +5 -5
- package/dist/{Index-ca5d5938.js → Index-0623b53d.js} +6 -6
- package/dist/{Index-6c850deb.js → Index-09486dc6.js} +2 -2
- package/dist/{Index-e4b6c044.js → Index-16a1a69c.js} +6 -6
- package/dist/{Index-fe86d6ed.js → Index-189c8b44.js} +4 -4
- package/dist/{Index-52048bd8.js → Index-1fe7f785.js} +4 -4
- package/dist/{Index-e5d8ace1.js → Index-2e1f9e1b.js} +4 -4
- package/dist/{Index-86295fa6.js → Index-3e5de61c.js} +7 -7
- package/dist/{Index-c0ba3ccf.js → Index-3f027683.js} +5 -5
- package/dist/{Index-321c45b2.js → Index-47059b84.js} +1 -1
- package/dist/{Index-8c8da99b.js → Index-538e57e9.js} +6 -6
- package/dist/{Index-8415c404.js → Index-539d4217.js} +4 -4
- package/dist/{Index-a156fa7b.js → Index-55922e6a.js} +2 -2
- package/dist/{Index-57ff2c4d.js → Index-63683f50.js} +14 -14
- package/dist/{Index-63d1c186.js → Index-728ec7d7.js} +6 -6
- package/dist/{Index-a28b89d6.js → Index-72e44ff5.js} +4 -4
- package/dist/{Index-cd9016c9.js → Index-7353209e.js} +6 -6
- package/dist/{Index-352290be.js → Index-775c3d2f.js} +2 -2
- package/dist/{Index-3aa7ab5a.js → Index-805d2fc2.js} +9 -9
- package/dist/{Index-a4be2350.js → Index-91b55567.js} +2 -2
- package/dist/{Index-f9dce241.js → Index-98ab8892.js} +10 -10
- package/dist/{Index-56ef7197.js → Index-9c98f176.js} +7 -7
- package/dist/{Index-21bf7267.js → Index-b8e2e1b8.js} +3 -3
- package/dist/{Index-0b42facb.js → Index-ba6b2169.js} +4 -4
- package/dist/{Index-d91e72e4.js → Index-bbfc58aa.js} +4 -4
- package/dist/{Index-9359fe90.js → Index-c1f31c24.js} +2 -2
- package/dist/{Index-25438497.js → Index-c7c41ec0.js} +2 -2
- package/dist/{Index-e423aff0.js → Index-caa773f2.js} +9 -9
- package/dist/{Index-ad8b2d21.js → Index-cdeffca2.js} +41 -41
- package/dist/{Index-dd365704.js → Index-cfa5b251.js} +19 -19
- package/dist/{Index-03c094df.js → Index-e99b0408.js} +5 -5
- package/dist/{Index-1189a031.js → Index-f21adb8b.js} +1 -1
- package/dist/{Index-df1b0ce1.js → Index-f7a41581.js} +9 -9
- package/dist/{Index-7fc7f137.js → Index-f97205f6.js} +4 -4
- package/dist/{Index-29366cec.js → Index-fb3d4460.js} +24 -24
- package/dist/{InputToggleRow-73b2eb3e.js → InputToggleRow-9eae9950.js} +6 -6
- package/dist/{IsPremiumPreStep-3409b0b1.js → IsPremiumPreStep-b4094114.js} +27 -27
- package/dist/{ManualPopover-aabff26d.js → ManualPopover-279c34d7.js} +1 -1
- package/dist/{MediaWrapper-f69bd386.js → MediaWrapper-28900be4.js} +3 -3
- package/dist/{NotBindingText-297c0757.js → NotBindingText-03ed1896.js} +2 -2
- package/dist/{PackageGroup-c8b0ea48.js → PackageGroup-a09157ce.js} +20 -20
- package/dist/{PdfTerms-23875b7a.js → PdfTerms-40cf2e44.js} +5 -5
- package/dist/{PdfViewer-bb3115a5.js → PdfViewer-022d9820.js} +4 -4
- package/dist/{PlainHtml-084a2060.js → PlainHtml-816cdcfd.js} +1 -1
- package/dist/{PriceHeader-3e081e28.js → PriceHeader-c5d1c5a5.js} +37 -37
- package/dist/{SearchApi-54afc953.js → SearchApi-2cf7a417.js} +2 -2
- package/dist/{Setup-6fc1e279.js → Setup-f675b31a.js} +2 -2
- package/dist/{TermsSettings-d08a2850.js → TermsSettings-4865f58c.js} +7 -7
- package/dist/{ThemeColorRow-06cba9a4.js → ThemeColorRow-88778196.js} +4 -4
- package/dist/{ToggleBinding-ef903ffb.js → ToggleBinding-664e9183.js} +3 -3
- package/dist/{UploadModal-b1000887.js → UploadModal-9de4a0c5.js} +8 -8
- package/dist/{VideoPlayerInput-d457e93f.js → VideoPlayerInput-a6db7b6f.js} +3 -3
- package/dist/{VideoPlayerSettings-6d3e4247.js → VideoPlayerSettings-bb6e5389.js} +4 -4
- package/dist/{VideoSelectModal-cd78d125.js → VideoSelectModal-5476aa27.js} +15 -15
- package/dist/answerDocumentMixin-564758ae.js +51 -0
- package/dist/{debounce-c329e921.js → debounce-fb89e666.js} +1 -1
- package/dist/{focusDrawerMixin-a2d32b5e.js → focusDrawerMixin-9822a344.js} +1 -1
- package/dist/{formComponentsInstall-bc0a5a0c.js → formComponentsInstall-cd69ac70.js} +41 -41
- package/dist/{formDrawerState-e755d0ef.js → formDrawerState-889851ba.js} +1 -1
- package/dist/{formValidationMixin-64e2fd25.js → formValidationMixin-de96de9e.js} +1 -1
- package/dist/{i18nMessages-45c6bfd6.js → i18nMessages-6b279c15.js} +4 -2
- package/dist/{index-3ad3f370.js → index-286fbf2e.js} +1 -1
- package/dist/{index-fbb0197d.js → index-28cc6cae.js} +13 -13
- package/dist/{index-a8e0d9a4.js → index-39b8ba31.js} +3 -3
- package/dist/{index-252c1b85.js → index-67306b4a.js} +14 -14
- package/dist/{index-4edd6331.js → index-6c4051cc.js} +1 -1
- package/dist/{index-7cae1b9c.js → index-e9650c8b.js} +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +141 -141
- package/dist/{main-83016097.js → main-1ef64f74.js} +6108 -6309
- package/dist/{mapFormMixin-3946f304.js → mapFormMixin-37d8b2ce.js} +1 -1
- package/dist/{publicSenderState-c8c8dd01.js → publicSenderState-ed17e82f.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{throttle-79d7f6e6.js → throttle-4a44697d.js} +2 -2
- package/dist/{tinycolor-dbe7bbc8.js → tinycolor-6fefbbd2.js} +1 -1
- package/dist/{tippy.esm-46a552eb.js → tippy.esm-cddf5c5a.js} +6 -6
- package/dist/{utils-bbbf8074.js → utils-ebaac977.js} +1 -1
- package/dist/{vuedraggable.umd-344678d6.js → vuedraggable.umd-fcf03933.js} +1 -1
- package/package.json +2 -2
- package/dist/answerDocumentMixin-93535108.js +0 -54
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { g as m, n as d, v as U, b as u, aE as ae, c as f, C as O, b6 as ne, b7 as se, K as R, L as H, h as D, b8 as oe, b9 as le, B as re, ba as ce, bb as de, b5 as pe, bc as ue, R as p, a8 as h, b0 as y, bd as me, be as he, bf as fe, bg as ge, bh as Ce, bi as ve, F as ye, bj as xe, d as we, i as $, S as be, ay as _e, l as ke, bk as Le, V as A, b2 as G, b3 as W, I as z, bl as B, b4 as $e, bm as Se, j as Te, bn as F, m as De, a as Ve, bo as Be, bp as Me } from "./main-
|
|
1
|
+
import { g as m, n as d, v as U, b as u, aE as ae, c as f, C as O, b6 as ne, b7 as se, K as R, L as H, h as D, b8 as oe, b9 as le, B as re, ba as ce, bb as de, b5 as pe, bc as ue, R as p, a8 as h, b0 as y, bd as me, be as he, bf as fe, bg as ge, bh as Ce, bi as ve, F as ye, bj as xe, d as we, i as $, S as be, ay as _e, l as ke, bk as Le, V as A, b2 as G, b3 as W, I as z, bl as B, b4 as $e, bm as Se, j as Te, bn as F, m as De, a as Ve, bo as Be, bp as Me } from "./main-1ef64f74.js";
|
|
2
2
|
import { m as g, a as x } from "./vuex.esm-4a0fff7c.js";
|
|
3
|
-
import "./index-
|
|
3
|
+
import "./index-286fbf2e.js";
|
|
4
4
|
import { v as I } from "./index-805c56e4.js";
|
|
5
|
-
import { w as b } from "./CDropdownItem-
|
|
6
|
-
import { a as _, I as k, b as Fe, c as Ie } from "./IsPremiumPreStep-
|
|
7
|
-
import { D as He, l as Ae, g as Pe, W as ze, b as Ee, a as Ze } from "./DocumentLayout-
|
|
8
|
-
import { s as L } from "./Flag-
|
|
9
|
-
import { B as Ue } from "./BlockMedia-
|
|
10
|
-
import { d as P, t as Oe } from "./debounce-
|
|
11
|
-
import { a as Re } from "./tinycolor-
|
|
12
|
-
import { m as S } from "./mapFormMixin-
|
|
13
|
-
import { S as Ge, C as q, i as We } from "./formComponentsInstall-
|
|
14
|
-
import { f as qe } from "./formValidationMixin-
|
|
15
|
-
import { s as v } from "./formDrawerState-
|
|
16
|
-
import { F as N, d as Ne } from "./tippy.esm-
|
|
17
|
-
import { S as je } from "./CSlider.vue_vue_type_style_index_0_lang-
|
|
18
|
-
import { o as Ke, d as Ye } from "./vuedraggable.umd-
|
|
5
|
+
import { w as b } from "./CDropdownItem-46ef817a.js";
|
|
6
|
+
import { a as _, I as k, b as Fe, c as Ie } from "./IsPremiumPreStep-b4094114.js";
|
|
7
|
+
import { D as He, l as Ae, g as Pe, W as ze, b as Ee, a as Ze } from "./DocumentLayout-4ef4eb0c.js";
|
|
8
|
+
import { s as L } from "./Flag-4e6e51fe.js";
|
|
9
|
+
import { B as Ue } from "./BlockMedia-a2018340.js";
|
|
10
|
+
import { d as P, t as Oe } from "./debounce-fb89e666.js";
|
|
11
|
+
import { a as Re } from "./tinycolor-6fefbbd2.js";
|
|
12
|
+
import { m as S } from "./mapFormMixin-37d8b2ce.js";
|
|
13
|
+
import { S as Ge, C as q, i as We } from "./formComponentsInstall-cd69ac70.js";
|
|
14
|
+
import { f as qe } from "./formValidationMixin-de96de9e.js";
|
|
15
|
+
import { s as v } from "./formDrawerState-889851ba.js";
|
|
16
|
+
import { F as N, d as Ne } from "./tippy.esm-cddf5c5a.js";
|
|
17
|
+
import { S as je } from "./CSlider.vue_vue_type_style_index_0_lang-1bfafbea.js";
|
|
18
|
+
import { o as Ke, d as Ye } from "./vuedraggable.umd-fcf03933.js";
|
|
19
19
|
import { s as Qe } from "./dom-962579a6.js";
|
|
20
|
-
import { o as Je } from "./index-
|
|
21
|
-
import Xe from "./AnswerModal-
|
|
20
|
+
import { o as Je } from "./index-6c4051cc.js";
|
|
21
|
+
import Xe from "./AnswerModal-581cee38.js";
|
|
22
22
|
import "./anime.es-e284c852.js";
|
|
23
23
|
import "./color-71c20583.js";
|
|
24
|
-
import "./BaseDatePicker-
|
|
25
|
-
import "./ErrorCallout-
|
|
26
|
-
import "./AddClientCallout-
|
|
27
|
-
import "./ClientAutocomplete-
|
|
28
|
-
import "./SearchApi-
|
|
29
|
-
import "./ClientModal-
|
|
30
|
-
import "./CCallout-
|
|
31
|
-
import "./CField-
|
|
24
|
+
import "./BaseDatePicker-95f61f10.js";
|
|
25
|
+
import "./ErrorCallout-5207a92e.js";
|
|
26
|
+
import "./AddClientCallout-751ed5aa.js";
|
|
27
|
+
import "./ClientAutocomplete-5f619f92.js";
|
|
28
|
+
import "./SearchApi-2cf7a417.js";
|
|
29
|
+
import "./ClientModal-72bc0977.js";
|
|
30
|
+
import "./CCallout-25a66bee.js";
|
|
31
|
+
import "./CField-d83a443d.js";
|
|
32
32
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
33
|
-
import "./ColorPicker-
|
|
33
|
+
import "./ColorPicker-b815929f.js";
|
|
34
34
|
const et = {
|
|
35
35
|
i18nOptions: {
|
|
36
36
|
namespaces: "DocumentTemplateFormModal",
|
|
@@ -375,11 +375,11 @@ const ot = {
|
|
|
375
375
|
var lt = function() {
|
|
376
376
|
var a;
|
|
377
377
|
var e = this, t = e._self._c;
|
|
378
|
-
return t("div", { staticClass: "
|
|
378
|
+
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: {
|
|
379
379
|
backgroundImage: `url(${e.meta.author.avatar})`
|
|
380
|
-
} }), t("div", { staticStyle: { "margin-left": "0.5em" } }, [t("div", { staticStyle: { "font-weight": "500" } }, [e._v(e._s(e.meta.author.name))]), t("div", { staticStyle: { "font-weight": "400", "font-size": "14px" } }, [e.meta.author.templatesCount ? [e._v(" " + e._s(e.meta.author.templatesCount) + " " + e._s(e.$t("_common:template", { count: e.meta.author.templatesCount })) + " ")] : [e._v(e._s(e.$t("_common:template").capitalize()))]], 2)])]) : e._e()]), t("div", { staticStyle: { "padding-bottom": "2em" } }, [e.product ? [e.privateProduct.isPurchased ? t("div", { staticClass: "flex items-center gap-2
|
|
380
|
+
} }), t("div", { staticStyle: { "margin-left": "0.5em" } }, [t("div", { staticStyle: { "font-weight": "500" } }, [e._v(e._s(e.meta.author.name))]), t("div", { staticStyle: { "font-weight": "400", "font-size": "14px" } }, [e.meta.author.templatesCount ? [e._v(" " + e._s(e.meta.author.templatesCount) + " " + e._s(e.$t("_common:template", { count: e.meta.author.templatesCount })) + " ")] : [e._v(e._s(e.$t("_common:template").capitalize()))]], 2)])]) : e._e()]), t("div", { staticStyle: { "padding-bottom": "2em" } }, [e.product ? [e.privateProduct.isPurchased ? t("div", { staticClass: "mb-5 flex items-center gap-2 rounded-full border border-gray-300 bg-gray-300/60 p-1 text-sm" }, [t("div", { staticClass: "bg-primary-500 flex h-5 w-5 items-center justify-center rounded-full" }, [t("BaseIcon", { staticClass: "text-white", attrs: { type: "check", size: "12" } })], 1), t("div", { staticClass: "text-xs font-medium text-gray-700", domProps: { textContent: e._s(
|
|
381
381
|
e.$t("_common:purchased", { thing: e.$t("_common:template") })
|
|
382
|
-
) } })]) : t("CButton", { staticClass: "
|
|
382
|
+
) } })]) : t("CButton", { staticClass: "!justify-start !px-4 text-left", staticStyle: { "margin-bottom": "0.5em" }, attrs: { type: "secondary", wide: "" }, on: { click: e.buyTemplate } }, [t("div", [e._v(" " + e._s(e.$t("_common:buy", { thing: e.$t("_common:template") })) + " ")]), t("div", { staticClass: "bg-primary-400/80 border-primary-600/60 absolute right-2 top-1/2 -translate-y-1/2 rounded-md border px-2 py-1.5 text-sm leading-none text-white", domProps: { textContent: e._s(e.privateProduct.price) } })])] : e._e(), t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ canUseTemplate: n }) {
|
|
383
383
|
return [t("IsPremiumPreStep", { attrs: { feature: "useDocTemplate" }, scopedSlots: e._u([{ key: "default", fn: function({ onClick: s }) {
|
|
384
384
|
return [!e.product || e.privateProduct.isPurchased ? t("CButton", { staticStyle: { "margin-bottom": "0.5em" }, attrs: { disabled: e.product ? !e.privateProduct.isPurchased : !1, type: "secondary", wide: "" }, on: { click: function(o) {
|
|
385
385
|
e.isPublicForm || n ? e.useSelectedTemplate() : s({ callback: e.useSelectedTemplate });
|
|
@@ -401,7 +401,7 @@ var lt = function() {
|
|
|
401
401
|
rt,
|
|
402
402
|
!1,
|
|
403
403
|
null,
|
|
404
|
-
"
|
|
404
|
+
"9e4a7566",
|
|
405
405
|
null,
|
|
406
406
|
null
|
|
407
407
|
);
|
|
@@ -703,7 +703,7 @@ var Ct = function(e, t) {
|
|
|
703
703
|
t.listeners.click && t.listeners.click();
|
|
704
704
|
} } }, "div", t.data.attrs, !1), [e("div", { staticClass: "item-paper" }, [t.props.thumbnail ? e("div", { staticStyle: { width: "100%", height: "100%", "background-size": "100% auto", "background-repeat": "no-repeat", "background-position": "0% 0%" }, style: {
|
|
705
705
|
backgroundImage: `url(${t.props.thumbnail})`
|
|
706
|
-
} }) : 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
|
|
706
|
+
} }) : 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("BaseIcon", { 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(
|
|
707
707
|
t.parent.$t("_common:empty", { thing: t.parent.$t("_common:template") })
|
|
708
708
|
) } }) : 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)]);
|
|
709
709
|
}, vt = [], yt = /* @__PURE__ */ d(
|
|
@@ -712,7 +712,7 @@ var Ct = function(e, t) {
|
|
|
712
712
|
vt,
|
|
713
713
|
!0,
|
|
714
714
|
null,
|
|
715
|
-
"
|
|
715
|
+
"44761420",
|
|
716
716
|
null,
|
|
717
717
|
null
|
|
718
718
|
);
|
|
@@ -890,7 +890,7 @@ var St = function() {
|
|
|
890
890
|
e.query = a;
|
|
891
891
|
}, expression: "query" } }) : e._e()], 2), t("div", { staticClass: "recent-list" }, [e.isLoading && !e.list.length ? e._l(3, function(a) {
|
|
892
892
|
return t("div", { key: a, staticClass: "recent-item placeholder" }, [t("CSkeleton", { staticClass: "recent-item-name", attrs: { width: "60%" } }), t("CSkeleton", { attrs: { width: "35%" } })], 1);
|
|
893
|
-
}) : !e.isLoading && !e.query && !e.list.length ? t("div", { staticClass: "
|
|
893
|
+
}) : !e.isLoading && !e.query && !e.list.length ? t("div", { staticClass: "rounded-md border border-gray-200 bg-gray-100 p-4 text-center text-gray-400", staticStyle: { "font-size": "15px" } }, [e._v(" " + e._s(e.$t("emptyPlaceholder")) + " ")]) : e.query && !e.isLoading && !e.list.length ? t("div", { staticClass: "text-center text-gray-400", staticStyle: { padding: "1em" } }, [e._v(" " + e._s(e.$t("noResults")) + " ")]) : [t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ canCreateTemplate: a, canUseTemplate: n }) {
|
|
894
894
|
return [t("IsPremiumPreStep", { attrs: { feature: "useDocTemplate" }, scopedSlots: e._u([{ key: "default", fn: function({ onClick: s }) {
|
|
895
895
|
return [t("div", e._l(e.list, function(o, l) {
|
|
896
896
|
return t("div", { key: o._id, staticClass: "recent-item", on: { click: function(r) {
|
|
@@ -917,7 +917,7 @@ var St = function() {
|
|
|
917
917
|
Tt,
|
|
918
918
|
!1,
|
|
919
919
|
null,
|
|
920
|
-
"
|
|
920
|
+
"0656649f",
|
|
921
921
|
null,
|
|
922
922
|
null
|
|
923
923
|
);
|
|
@@ -1135,13 +1135,13 @@ const Bt = {
|
|
|
1135
1135
|
};
|
|
1136
1136
|
var Mt = function() {
|
|
1137
1137
|
var e = this, t = e._self._c;
|
|
1138
|
-
return t("div", { staticClass: "
|
|
1138
|
+
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 }) {
|
|
1139
1139
|
return [t(e.isExpanded ? "div" : "HorizontalScroll", { tag: "component", staticClass: "template-list", class: { "is-expanded": e.isExpanded }, on: { expand: function(n) {
|
|
1140
1140
|
e.isExpanded = !0;
|
|
1141
1141
|
} } }, e._l(e.myTemplates, function(n) {
|
|
1142
1142
|
return t("DocumentIcon", { key: n.id, staticClass: "template-item", attrs: { "is-add": n.id === "empty", "is-placeholder": n.placeholder, media: n.defaultMedia || e.fallbackMedia, thumbnail: n.thumbnailUrl, name: n.name }, on: { click: function(s) {
|
|
1143
1143
|
n.placeholder || (e.canUseTemplate(n) ? e.select({ templateId: n.id }) : a());
|
|
1144
|
-
} } }, [e.canUseTemplate(n) ? !n.doConsumeDocumentQuota && !n.placeholder ? t("div", { staticClass: "
|
|
1144
|
+
} } }, [e.canUseTemplate(n) ? !n.doConsumeDocumentQuota && !n.placeholder ? t("div", { staticClass: "bg-primary-500 border-primary-600 inline-flex h-5 items-center rounded border px-1.5 text-[11px] font-semibold capitalize leading-none text-white shadow-sm", attrs: { slot: "badge" }, slot: "badge" }, [e._v(" " + e._s(e.$t("_common:free")) + " ")]) : e._e() : t("div", { staticClass: "inline-flex h-5 items-center gap-1 rounded border border-gray-300 bg-gray-200 px-1 leading-none text-gray-500/90 shadow-sm", attrs: { slot: "badge" }, slot: "badge" }, [t("BaseIcon", { attrs: { type: "lock", size: "12", "stroke-width": "2.5" } }), t("div", { staticClass: "text-[11px] font-semibold" }, [e._v("Pro")])], 1), n.onModify === "create" && !n.doConsumeDocumentQuota ? t("CButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: {
|
|
1145
1145
|
content: e.$t("icon.freeTooltip"),
|
|
1146
1146
|
placement: "bottom"
|
|
1147
1147
|
}, expression: `{
|
|
@@ -1168,7 +1168,7 @@ var Mt = function() {
|
|
|
1168
1168
|
selectCategory: o,
|
|
1169
1169
|
selectGalleryItem: l
|
|
1170
1170
|
}) {
|
|
1171
|
-
return [t("div", { staticStyle: { width: "100%", "padding-bottom": "5em" } }, [t("div", { staticClass: "w-full
|
|
1171
|
+
return [t("div", { staticStyle: { width: "100%", "padding-bottom": "5em" } }, [t("div", { staticClass: "section-title w-full" }, [t("div", { staticClass: "flex items-center justify-between" }, [t("div", [e._v(e._s(e.$t("gallery")))]), t("CDropdown", { staticStyle: { "margin-left": "calc(0.5 * var(--rem))" }, nativeOn: { click: function(r) {
|
|
1172
1172
|
r.stopPropagation();
|
|
1173
1173
|
} } }, [t("CButton", { attrs: { slot: "trigger", size: "small", type: "none", pattern: "secondary", "icon-right": "chevron-down" }, slot: "trigger" }, [e._v(" " + e._s(s ? s.label : "") + " ")]), e._l(n, function(r) {
|
|
1174
1174
|
return t("CDropdownItem", { key: r.key, attrs: { "icon-right": s && s.key === r.key ? "check" : "" }, on: { click: function(c) {
|
|
@@ -1177,16 +1177,16 @@ var Mt = function() {
|
|
|
1177
1177
|
})], 2)], 1), t("div", { staticClass: "section-subtitle", domProps: { innerHTML: e._s(e.$t("gallerySubTitle")) } })]), t("HorizontalScroll", { staticClass: "template-list" }, e._l(a, function(r) {
|
|
1178
1178
|
return t("DocumentIcon", { key: r.id, staticClass: "template-item", attrs: { "is-placeholder": r.placeholder, media: { type: "image", resourceUrl: r.backgroundUrl }, name: r.name }, on: { click: function(c) {
|
|
1179
1179
|
r.placeholder || l(r);
|
|
1180
|
-
} } }, [r.product ? t("div", { staticClass: "p-1 text-xs font-semibold leading-none text-white
|
|
1180
|
+
} } }, [r.product ? t("div", { staticClass: "bg-primary-500 border-primary-700/40 rounded border p-1 text-xs font-semibold leading-none text-white shadow-lg", attrs: { slot: "badge" }, slot: "badge" }, [r.product.isPurchased ? t("BaseIcon", { attrs: { type: "check", size: "14", "stroke-width": "3" } }) : t("div", { domProps: { textContent: e._s(r.product.price) } })], 1) : e._e()]);
|
|
1181
1181
|
}), 1)], 1)];
|
|
1182
|
-
} }], null, !1,
|
|
1182
|
+
} }], null, !1, 1782783932) })] : 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)]);
|
|
1183
1183
|
}, Ft = [], It = /* @__PURE__ */ d(
|
|
1184
1184
|
Bt,
|
|
1185
1185
|
Mt,
|
|
1186
1186
|
Ft,
|
|
1187
1187
|
!1,
|
|
1188
1188
|
null,
|
|
1189
|
-
"
|
|
1189
|
+
"8077610c",
|
|
1190
1190
|
null,
|
|
1191
1191
|
null
|
|
1192
1192
|
);
|
|
@@ -3541,7 +3541,7 @@ var N1 = function() {
|
|
|
3541
3541
|
j1,
|
|
3542
3542
|
!1,
|
|
3543
3543
|
null,
|
|
3544
|
-
"
|
|
3544
|
+
"b9ff8f27",
|
|
3545
3545
|
null,
|
|
3546
3546
|
null
|
|
3547
3547
|
);
|
|
@@ -3675,7 +3675,7 @@ var Q1 = function() {
|
|
|
3675
3675
|
"is-fullscreen": e.mq === "sm"
|
|
3676
3676
|
} }, [t("CButton", { staticStyle: { position: "absolute", right: "1em", top: "1em", "z-index": "99" }, attrs: { circle: "", icon: "x", pattern: "secondary" }, on: { click: function(a) {
|
|
3677
3677
|
e.isOpen = !1;
|
|
3678
|
-
} } }), t("SendForm", { attrs: { _document: e._document, _value: e._value, "set-form-value": e.setFormValue, "remove-form-value": e.removeFormValue, "on-save-document": e.onSaveDoc, "use-scroll": "" } }, [e.hasAnswerBlock ? e._e() : t("div", { key: "1", staticClass: "flex
|
|
3678
|
+
} } }), t("SendForm", { attrs: { _document: e._document, _value: e._value, "set-form-value": e.setFormValue, "remove-form-value": e.removeFormValue, "on-save-document": e.onSaveDoc, "use-scroll": "" } }, [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("BaseIcon", { 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("AddBlock", { attrs: { set: e.setFormValue }, scopedSlots: e._u([{ key: "default", fn: function({ addBlock: a }) {
|
|
3679
3679
|
return [t("CButton", { staticClass: "is-left", attrs: { type: "secondary", size: "small" }, on: { click: function(n) {
|
|
3680
3680
|
return a({ sectionKey: "answer" });
|
|
3681
3681
|
} } }, [e._v(" " + e._s(e.$t("signMissingAdd")) + " ")])];
|
|
@@ -3696,7 +3696,7 @@ var Q1 = function() {
|
|
|
3696
3696
|
J1,
|
|
3697
3697
|
!1,
|
|
3698
3698
|
null,
|
|
3699
|
-
"
|
|
3699
|
+
"045f27ef",
|
|
3700
3700
|
null,
|
|
3701
3701
|
null
|
|
3702
3702
|
);
|
|
@@ -4503,7 +4503,7 @@ const g2 = {
|
|
|
4503
4503
|
};
|
|
4504
4504
|
var C2 = function() {
|
|
4505
4505
|
var e = this, t = e._self._c;
|
|
4506
|
-
return t("div", { staticClass: "flex flex-col items-center
|
|
4506
|
+
return t("div", { staticClass: "font-inter flex w-full flex-col items-center bg-white text-center", staticStyle: { padding: "2em", "border-radius": "10px" } }, [t("div", { staticStyle: { "padding-bottom": "2em" } }, [t("div", { staticStyle: { "font-size": "18px", "font-weight": "600", "margin-bottom": "0.25em" } }, [e._v(" " + e._s(e.existingFieldId ? e.$t("editTitle") : e.$t("newTitle")) + " ")]), t("div", { staticStyle: { "margin-bottom": "0.25em", opacity: "0.65" } }, [e._v(" " + e._s(e.$t("description")) + " ")])]), t("form", { staticStyle: { width: "100%" }, on: { submit: function(a) {
|
|
4507
4507
|
return a.preventDefault(), e.submit.apply(null, arguments);
|
|
4508
4508
|
}, keyup: function(a) {
|
|
4509
4509
|
return !a.type.indexOf("key") && e._k(a.keyCode, "enter", 13, a.key, "Enter") ? null : e.submit.apply(null, arguments);
|
|
@@ -4518,7 +4518,7 @@ var C2 = function() {
|
|
|
4518
4518
|
v2,
|
|
4519
4519
|
!1,
|
|
4520
4520
|
null,
|
|
4521
|
-
"
|
|
4521
|
+
"8e42abc9",
|
|
4522
4522
|
null,
|
|
4523
4523
|
null
|
|
4524
4524
|
);
|
|
@@ -4663,7 +4663,7 @@ var b2 = function() {
|
|
|
4663
4663
|
e.query = a;
|
|
4664
4664
|
}, expression: "query" } }), e.query ? t("div", { staticStyle: { "margin-top": "15px", "padding-top": "15px", "border-top": "1px solid hsl(0, 0%, 88%)" } }, [t("SmartList", { attrs: { items: e.options, "filter-method": e.filterMethod, query: e.query }, scopedSlots: e._u([{ key: "default", fn: function({ items: a }) {
|
|
4665
4665
|
return t("div", {}, [a.length ? e._l(a, function(n, s) {
|
|
4666
|
-
return t("div", { key: s, staticClass: "flex
|
|
4666
|
+
return t("div", { key: s, staticClass: "field-parent flex w-full items-center" }, [t("div", { staticClass: "field-container", staticStyle: { position: "relative", flex: "1 1 auto" } }, [t("CField", { staticStyle: { width: "100%" }, attrs: { label: " ", "label-position": "inside" } }, [t("span", { staticClass: "drag-label", attrs: { draggable: "" }, domProps: { textContent: e._s(n.label) }, on: { dragstart: (o) => e.onDragStart(o, n) } }), t("CInput", { staticStyle: { width: "100%" }, attrs: { value: n.value, disabled: n.inputDisabled, filled: "", size: "small" }, on: { blur: function(o) {
|
|
4667
4667
|
var l;
|
|
4668
4668
|
return n.onInput(((l = o == null ? void 0 : o.target) == null ? void 0 : l.value) || "");
|
|
4669
4669
|
} } })], 1), t("div", { staticClass: "field-actions" }, [!n.inputDisabled && !n.virtual ? t("CButton", { staticStyle: { width: "30px", height: "30px", "border-radius": "3px" }, attrs: { icon: "edit", size: "small", type: "none", pattern: "tertiary" }, on: { click: function(o) {
|
|
@@ -4672,7 +4672,7 @@ var b2 = function() {
|
|
|
4672
4672
|
return e.onCopyField(`{{${n.key}}}`);
|
|
4673
4673
|
} } })], 1)], 1)]);
|
|
4674
4674
|
}) : t("div", { staticStyle: { "text-align": "center" } }, [e._v(" " + e._s(e.$t("_common:noResults")) + " ")])], 2);
|
|
4675
|
-
} }], null, !1,
|
|
4675
|
+
} }], null, !1, 1639279928) })], 1) : t("div", { staticStyle: { "padding-top": "20px" } }, [t("div", { staticClass: "flex w-full justify-end", staticStyle: { "margin-top": "0.5em", "margin-bottom": "0.5em" } }, [t("CButton", { staticStyle: { "font-size": "13px", "margin-left": "2px" }, attrs: { type: "none", pattern: "secondary", size: "small" }, domProps: { textContent: e._s(e.$t("_common:add", { thing: e.$t("_common:field") })) }, on: { click: e.openFieldModal } })], 1), e._l([
|
|
4676
4676
|
{
|
|
4677
4677
|
label: e.$t("usedFields"),
|
|
4678
4678
|
defaultOpen: !0,
|
|
@@ -4694,7 +4694,7 @@ var b2 = function() {
|
|
|
4694
4694
|
return t("CAccordion", { key: n, staticStyle: { "border-top": "1px solid hsl(0, 0%, 88%)" }, attrs: { "default-open": a.defaultOpen }, scopedSlots: e._u([{ key: "trigger", fn: function({ expanded: s }) {
|
|
4695
4695
|
return t("div", { staticClass: "list-button" }, [t("span", [t("span", { domProps: { textContent: e._s(a.label) } }), t("span", { staticStyle: { opacity: "0.45", "padding-left": "0.5em" }, domProps: { textContent: e._s(a.items.length) } })]), t("BaseIcon", { staticStyle: { transition: "200ms" }, style: { transform: `rotate(${s ? "180deg" : "0deg"})` }, attrs: { type: "chevron-down", size: "15" } })], 1);
|
|
4696
4696
|
} }], null, !0) }, [t("div", { staticStyle: { "padding-bottom": "2em" } }, [a.items.length ? e._l(a.items, function(s, o) {
|
|
4697
|
-
return t("div", { key: o, staticClass: "flex
|
|
4697
|
+
return t("div", { key: o, staticClass: "field-parent flex w-full items-center" }, [t("div", { staticClass: "field-container", staticStyle: { position: "relative", flex: "1 1 auto" } }, [t("CField", { staticStyle: { width: "100%" }, attrs: { label: " ", "label-position": "inside" } }, [t("span", { staticClass: "drag-label", attrs: { draggable: "" }, domProps: { textContent: e._s(s.label) }, on: { dragstart: (l) => e.onDragStart(l, s) } }), t("CInput", { staticStyle: { width: "100%" }, attrs: { value: s.value, disabled: s.inputDisabled, filled: "", size: "small" }, on: { blur: function(l) {
|
|
4698
4698
|
var r;
|
|
4699
4699
|
return s.onInput(((r = l == null ? void 0 : l.target) == null ? void 0 : r.value) || "");
|
|
4700
4700
|
} } })], 1), t("div", { staticClass: "field-actions" }, [!s.inputDisabled && !s.virtual ? t("CButton", { staticStyle: { width: "30px", height: "30px", "border-radius": "3px" }, attrs: { icon: "edit", size: "small", type: "none", pattern: "tertiary" }, on: { click: function(l) {
|
|
@@ -4710,7 +4710,7 @@ var b2 = function() {
|
|
|
4710
4710
|
_2,
|
|
4711
4711
|
!1,
|
|
4712
4712
|
null,
|
|
4713
|
-
"
|
|
4713
|
+
"417e8c9a",
|
|
4714
4714
|
null,
|
|
4715
4715
|
null
|
|
4716
4716
|
);
|
|
@@ -4928,7 +4928,7 @@ var S2 = function() {
|
|
|
4928
4928
|
return t("CDropdownItem", { key: a, attrs: { type: e.activeCrm === a ? "primary" : "secondary", size: "small" }, on: { click: function(n) {
|
|
4929
4929
|
e.activeCrm = a;
|
|
4930
4930
|
} } }, [e._v(" " + e._s(a.capitalize()) + " ")]);
|
|
4931
|
-
})], 2) : e._e(), e.isLoading && !e.dealDetails ? t("div", { staticClass: "flex items-center justify-center
|
|
4931
|
+
})], 2) : e._e(), e.isLoading && !e.dealDetails ? t("div", { staticClass: "flex w-full items-center justify-center", staticStyle: { "padding-top": "calc(2 * var(--rem))" } }, [t("Spinner", { attrs: { size: "24", color: "grey" } })], 1) : e.activeCrm ? [t("div", { staticStyle: { padding: "0 calc(0.5 * var(--rem)) calc(2 * var(--rem))" } }, [t("div", { staticStyle: { "font-weight": "500", "font-size": "16px" } }, [e._v(" " + e._s(e.activeCrm.capitalize()) + " ")]), e.typeDetails ? t("div", [t("div", { staticClass: "x-hint" }, [t("div", { staticClass: "flex w-full" }, [t("div", { domProps: { textContent: e._s(
|
|
4932
4932
|
e.$t("referenceTo", {
|
|
4933
4933
|
crm: e.activeCrm.capitalize(),
|
|
4934
4934
|
type: e.$t(`type.${e.typeDetails.type}`)
|
|
@@ -4964,14 +4964,14 @@ var S2 = function() {
|
|
|
4964
4964
|
return t("div", { key: a._uniqueId, staticStyle: { padding: "calc(0.5 * var(--rem))", "line-height": "1", "margin-bottom": "calc(0.5 * var(--rem))", "box-shadow": "0 1px 3px rgb(0, 0, 0, 0.3)", background: "white", "border-radius": "3px", cursor: "grab", "user-select": "none" }, on: { click: function(n) {
|
|
4965
4965
|
return e.addArticle(a);
|
|
4966
4966
|
} } }, [t("div", { staticStyle: { "font-weight": "500", "padding-bottom": "4px", "font-size": "14px" }, domProps: { textContent: e._s(a.name) } }), t("div", { staticClass: "text-gray-600", staticStyle: { "font-size": "12px" } }, [e._v(" " + e._s(e.priceFormat(a.price || 0, { showZero: !1, currency: a.currency || "USD" })) + " · " + e._s(a.quantity || 0) + "x "), a.vat !== null ? [e._v(" · " + e._s(e._document.$t("vat").capitalize()) + " " + e._s(a.vat) + "% ")] : e._e()], 2)]);
|
|
4967
|
-
}), 0) : t("div", { staticClass: "flex w-full text-gray-600", staticStyle: { "background-color": "hsl(var(--gray-color-100) / 1)", padding: "5px", "font-size": "12px", "border-radius": "5px", "line-height": "1.35" } }, [t("BaseIcon", { staticStyle: { margin: "1px 4px 0 0", "flex-shrink": "0" }, attrs: { type: "info", size: "13" } }), t("div", { domProps: { textContent: e._s(e.$t("noProducts", { type: e.dealType })) } })], 1)], 1) : e._e()] : t("div", { staticClass: "flex flex-col items-center justify-center
|
|
4967
|
+
}), 0) : t("div", { staticClass: "flex w-full text-gray-600", staticStyle: { "background-color": "hsl(var(--gray-color-100) / 1)", padding: "5px", "font-size": "12px", "border-radius": "5px", "line-height": "1.35" } }, [t("BaseIcon", { staticStyle: { margin: "1px 4px 0 0", "flex-shrink": "0" }, attrs: { type: "info", size: "13" } }), t("div", { domProps: { textContent: e._s(e.$t("noProducts", { type: e.dealType })) } })], 1)], 1) : e._e()] : t("div", { staticClass: "flex w-full flex-col items-center justify-center text-center", staticStyle: { "padding-top": "calc(1 * var(--rem))" } }, [t("BaseIcon", { staticClass: "text-primary-500", staticStyle: { "padding-bottom": "5px" }, attrs: { type: "info", size: "16" } }), t("div", { staticClass: "text-gray-600" }, [e._v(" " + e._s(e.$t("noCrm")) + " ")]), t("div", { staticClass: "text-center", staticStyle: { "padding-top": "calc(1 * var(--rem))" } }, [t("router-link", { staticClass: "text-primary-500", staticStyle: { "font-weight": "500" }, attrs: { to: { name: "settings" } } }, [e._v(" " + e._s(e.$t("noCrmAction")) + " ")])], 1)], 1)], 2);
|
|
4968
4968
|
}, T2 = [], D2 = /* @__PURE__ */ d(
|
|
4969
4969
|
$2,
|
|
4970
4970
|
S2,
|
|
4971
4971
|
T2,
|
|
4972
4972
|
!1,
|
|
4973
4973
|
null,
|
|
4974
|
-
"
|
|
4974
|
+
"b14c8398",
|
|
4975
4975
|
null,
|
|
4976
4976
|
null
|
|
4977
4977
|
);
|
|
@@ -5368,7 +5368,7 @@ var P2 = function() {
|
|
|
5368
5368
|
var e = this, t = e._self._c;
|
|
5369
5369
|
return t("div", [t("div", { staticClass: "fixed inset-0 z-10", on: { click: function(a) {
|
|
5370
5370
|
return a.target !== a.currentTarget ? null : e.$emit("close");
|
|
5371
|
-
} } }), 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
|
|
5371
|
+
} } }), 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) {
|
|
5372
5372
|
return e.$emit("convert");
|
|
5373
5373
|
} } }, [e._v(" " + e._s(e.$t("button")) + " ")])], 1)])], 1);
|
|
5374
5374
|
}, z2 = [], E2 = /* @__PURE__ */ d(
|
|
@@ -5947,7 +5947,7 @@ var R2 = function() {
|
|
|
5947
5947
|
G2,
|
|
5948
5948
|
!1,
|
|
5949
5949
|
null,
|
|
5950
|
-
"
|
|
5950
|
+
"65d85c3f",
|
|
5951
5951
|
null,
|
|
5952
5952
|
null
|
|
5953
5953
|
);
|
|
@@ -5972,7 +5972,7 @@ const N2 = {
|
|
|
5972
5972
|
Fields: L2,
|
|
5973
5973
|
ExtensionTab: V2,
|
|
5974
5974
|
DocumentGeneralSettings: H2,
|
|
5975
|
-
DocumentGuide: () => import("./index-
|
|
5975
|
+
DocumentGuide: () => import("./index-e9650c8b.js"),
|
|
5976
5976
|
MenuBlocks: q2,
|
|
5977
5977
|
Simplebar: L
|
|
5978
5978
|
},
|
|
@@ -6066,7 +6066,7 @@ var j2 = function() {
|
|
|
6066
6066
|
e.tab = "generalSettings";
|
|
6067
6067
|
} } }, [t("BaseIcon", { staticStyle: {}, attrs: { type: "cog", size: "16" } })], 1)]), e.tab === "blocks" ? t("MenuBlocks", { attrs: { _document: e.state, set: e.set, "remove-value": e.removeValue, fixed: e.fixed, "can-use-blocks": e.canUseBlocks }, on: { "block-added": function(a) {
|
|
6068
6068
|
e.onAddedBlock(a), e.fixed && e.$emit("close");
|
|
6069
|
-
} } }, [t("div", { staticStyle: { flex: "1 1 auto", display: "flex", "flex-direction": "column", "justify-content": "flex-end", "align-items": "flex-start", padding: "calc(1 * var(--rem))" }, attrs: { slot: "footer" }, slot: "footer" }, [t("CButton", { staticStyle: { position: "relative" }, attrs: { "icon-left": "help", type: "none", pattern: "secondary", size: "small" }, on: { click: e.openGuide } }, [e._v(" " + e._s(e.$t("guideButton")) + " "), e.showGuideNotification ? t("div", { staticClass: "circle-pulse" }) : e._e()])], 1)]) : t("div", { staticClass: "menu-container" }, [t("Simplebar", { staticClass: "
|
|
6069
|
+
} } }, [t("div", { staticStyle: { flex: "1 1 auto", display: "flex", "flex-direction": "column", "justify-content": "flex-end", "align-items": "flex-start", padding: "calc(1 * var(--rem))" }, attrs: { slot: "footer" }, slot: "footer" }, [t("CButton", { staticStyle: { position: "relative" }, attrs: { "icon-left": "help", type: "none", pattern: "secondary", size: "small" }, on: { click: e.openGuide } }, [e._v(" " + e._s(e.$t("guideButton")) + " "), e.showGuideNotification ? t("div", { staticClass: "circle-pulse" }) : e._e()])], 1)]) : t("div", { staticClass: "menu-container" }, [t("Simplebar", { staticClass: "h-full w-full" }, [e.tab === "design" ? t("Design", { attrs: { _document: e.state, _value: {
|
|
6070
6070
|
css: "data.css"
|
|
6071
6071
|
}, set: e.set, offset: e.fixed ? 0 : e.width } }) : e.tab === "fields" ? t("Fields", { attrs: { _document: e.state, "crm-service": e.extensionTabType, _value: {
|
|
6072
6072
|
css: "data.css"
|
|
@@ -6093,7 +6093,7 @@ var j2 = function() {
|
|
|
6093
6093
|
K2,
|
|
6094
6094
|
!1,
|
|
6095
6095
|
null,
|
|
6096
|
-
"
|
|
6096
|
+
"8f0a413b",
|
|
6097
6097
|
null,
|
|
6098
6098
|
null
|
|
6099
6099
|
);
|
|
@@ -6132,7 +6132,7 @@ const J2 = {
|
|
|
6132
6132
|
};
|
|
6133
6133
|
var X2 = function() {
|
|
6134
6134
|
var e = this, t = e._self._c;
|
|
6135
|
-
return t("div", { staticClass: "flex gap-2
|
|
6135
|
+
return t("div", { staticClass: "control-root flex gap-2" }, [e.canToggleVisibility ? t("div", { staticClass: "control-button", on: { click: function(a) {
|
|
6136
6136
|
return e.$emit("toggle-visible", !e.isVisible);
|
|
6137
6137
|
} } }, [e.isVisible ? e._e() : t("span", { staticClass: "px-1.5 text-xs text-gray-600" }, [e._v(" " + e._s(e.$t("hidden")) + " ")]), t("BaseIcon", { class: { "mr-1": !e.isVisible }, attrs: { type: e.isVisible ? "eye" : "eye-off", size: "14" } })], 1) : e._e(), e._t("default"), !e.isHidden && e.isMovable ? t("div", { staticClass: "flex flex-col gap-1.5" }, [t("div", { staticClass: "control-direction" }, [t("div", { staticClass: "control-button", on: { click: function(a) {
|
|
6138
6138
|
return e.$emit("move", "up");
|
|
@@ -6147,7 +6147,7 @@ var X2 = function() {
|
|
|
6147
6147
|
ei,
|
|
6148
6148
|
!1,
|
|
6149
6149
|
null,
|
|
6150
|
-
"
|
|
6150
|
+
"7cd3314a",
|
|
6151
6151
|
null,
|
|
6152
6152
|
null
|
|
6153
6153
|
);
|
|
@@ -6232,7 +6232,7 @@ var ni = function() {
|
|
|
6232
6232
|
e.isHovering = !0;
|
|
6233
6233
|
}, "&mouseleave": function(a) {
|
|
6234
6234
|
e.isHovering = !1;
|
|
6235
|
-
} } }, [t("div", { staticClass: "block-container", class: { "spacing-snug": e.isHidden }, attrs: { inert: e.isHidden } }, [e._t("default")], 2), e.showControls ? t("BlockControlButtons", { staticClass: "z-10
|
|
6235
|
+
} } }, [t("div", { staticClass: "block-container", class: { "spacing-snug": e.isHidden }, attrs: { inert: e.isHidden } }, [e._t("default")], 2), e.showControls ? t("BlockControlButtons", { staticClass: "control-root z-10", attrs: { "is-movable": e.canMove, "is-visible": e.isVisible }, on: { "toggle-visible": function(a) {
|
|
6236
6236
|
return e.$emit("toggle-visible", a);
|
|
6237
6237
|
}, move: function(a) {
|
|
6238
6238
|
return e.$emit("move", a);
|
|
@@ -6245,7 +6245,7 @@ var ni = function() {
|
|
|
6245
6245
|
si,
|
|
6246
6246
|
!1,
|
|
6247
6247
|
null,
|
|
6248
|
-
"
|
|
6248
|
+
"8de76cd9",
|
|
6249
6249
|
null,
|
|
6250
6250
|
null
|
|
6251
6251
|
);
|
|
@@ -6298,8 +6298,7 @@ var ci = function() {
|
|
|
6298
6298
|
null,
|
|
6299
6299
|
null
|
|
6300
6300
|
);
|
|
6301
|
-
const ui = pi.exports
|
|
6302
|
-
const mi = {
|
|
6301
|
+
const ui = pi.exports, mi = {
|
|
6303
6302
|
name: "DocumentFormViewRadio",
|
|
6304
6303
|
props: {
|
|
6305
6304
|
value: {
|
|
@@ -6314,9 +6313,13 @@ const mi = {
|
|
|
6314
6313
|
};
|
|
6315
6314
|
var hi = function() {
|
|
6316
6315
|
var e = this, t = e._self._c;
|
|
6317
|
-
return t("div", { staticClass: "
|
|
6316
|
+
return t("div", { staticClass: "inline-flex h-9 cursor-pointer space-x-2 rounded-[2em] bg-slate-300 p-1 text-sm text-white" }, [t("div", { staticClass: "inline-flex select-none items-center justify-center rounded-[2em] px-1 font-semibold leading-none text-gray-700 transition duration-150 ease-linear", class: {
|
|
6317
|
+
"m-0 bg-white px-3 py-[1em] text-zinc-900 drop-shadow-md": e.value === "edit"
|
|
6318
|
+
}, on: { click: function(a) {
|
|
6318
6319
|
e.value === "preview" && e.$emit("input", "edit");
|
|
6319
|
-
} } }, [e.small ? t("BaseIcon", { attrs: { type: "edit", size: "18" } }) : [e._v(e._s(e.$t("edit")))]], 2), t("div", { staticClass: "
|
|
6320
|
+
} } }, [e.small ? t("BaseIcon", { attrs: { type: "edit", size: "18" } }) : [e._v(e._s(e.$t("edit")))]], 2), t("div", { staticClass: "inline-flex select-none items-center justify-center rounded-[2em] px-1 font-semibold leading-none text-gray-700 transition duration-150 ease-linear", class: {
|
|
6321
|
+
"m-0 bg-white px-3 py-[1em] text-zinc-900 drop-shadow-md": e.value === "preview"
|
|
6322
|
+
}, attrs: { "data-onboarding": "preview-button" }, on: { click: function(a) {
|
|
6320
6323
|
e.value === "edit" && e.$emit("input", "preview");
|
|
6321
6324
|
} } }, [e.small ? t("BaseIcon", { attrs: { type: "eye", size: "18" } }) : [e._v(e._s(e.$t("preview")))]], 2)]);
|
|
6322
6325
|
}, fi = [], gi = /* @__PURE__ */ d(
|
|
@@ -6325,7 +6328,7 @@ var hi = function() {
|
|
|
6325
6328
|
fi,
|
|
6326
6329
|
!1,
|
|
6327
6330
|
null,
|
|
6328
|
-
|
|
6331
|
+
null,
|
|
6329
6332
|
null,
|
|
6330
6333
|
null
|
|
6331
6334
|
);
|
|
@@ -6349,9 +6352,9 @@ const Ci = gi.exports, vi = {
|
|
|
6349
6352
|
};
|
|
6350
6353
|
var yi = function() {
|
|
6351
6354
|
var e = this, t = e._self._c;
|
|
6352
|
-
return t("div", { staticClass: "
|
|
6355
|
+
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(
|
|
6353
6356
|
"_common:brand.domain"
|
|
6354
|
-
)}?utm_source=document&utm_medium=logo-banner`, target: "_blank" } }, [t("div", { staticClass: "
|
|
6357
|
+
)}?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")) + " ")])])]);
|
|
6355
6358
|
}, xi = [], wi = /* @__PURE__ */ d(
|
|
6356
6359
|
vi,
|
|
6357
6360
|
yi,
|
|
@@ -6368,14 +6371,14 @@ const _i = {
|
|
|
6368
6371
|
};
|
|
6369
6372
|
var ki = function() {
|
|
6370
6373
|
var e = this, t = e._self._c;
|
|
6371
|
-
return t("div", { staticClass: "DocumentFormNav
|
|
6374
|
+
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)])]);
|
|
6372
6375
|
}, Li = [], $i = /* @__PURE__ */ d(
|
|
6373
6376
|
_i,
|
|
6374
6377
|
ki,
|
|
6375
6378
|
Li,
|
|
6376
6379
|
!1,
|
|
6377
6380
|
null,
|
|
6378
|
-
"
|
|
6381
|
+
"0a769595",
|
|
6379
6382
|
null,
|
|
6380
6383
|
null
|
|
6381
6384
|
);
|
|
@@ -6654,22 +6657,22 @@ const X = (i, e, t = "$children") => {
|
|
|
6654
6657
|
};
|
|
6655
6658
|
var Di = function() {
|
|
6656
6659
|
var e = this, t = e._self._c;
|
|
6657
|
-
return t("div", { staticStyle: { overflow: "auto", height: "100vh" } }, [t("div", { staticClass: "
|
|
6660
|
+
return t("div", { staticStyle: { overflow: "auto", height: "100vh" } }, [t("div", { staticClass: "container-root font-inter flex", class: {
|
|
6658
6661
|
"is-edit-view": e.isEditView,
|
|
6659
6662
|
"is-empty-list": !e.nestedReadLayout.length
|
|
6660
6663
|
} }, [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: n = "onAdd" }) => {
|
|
6661
6664
|
e.onAddRedis[a] = n;
|
|
6662
6665
|
}, 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) {
|
|
6663
6666
|
e.drawerState.showLeft = !1;
|
|
6664
|
-
} } }), t("div", { ref: "scroll-body", staticClass: "flex
|
|
6667
|
+
} } }), t("div", { ref: "scroll-body", staticClass: "doc-scroll-container flex w-full justify-center", class: {
|
|
6665
6668
|
"device-offset": e.isEditView
|
|
6666
6669
|
}, style: e.drawerState.showLeft && !e.drawerState.isFixed && {
|
|
6667
6670
|
marginLeft: `${e.sidebarWidth}px`
|
|
6668
6671
|
} }, [t("DocumentFormNav", { style: !e.drawerState.isFixed && {
|
|
6669
6672
|
marginLeft: e.drawerState.showLeft ? `${e.sidebarWidth}px` : 0
|
|
6670
|
-
}, attrs: { close: e.close } }, [t("div", { staticClass: "flex items-center
|
|
6673
|
+
}, 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) {
|
|
6671
6674
|
return a.stopPropagation(), e.drawerState.toggleLeft.apply(null, arguments);
|
|
6672
|
-
} } }), t("transition", { attrs: { name: "fade-bounce", appear: "" } }, [!e.nestedReadLayout.length && e.isFixedSidebar ? t("div", { staticClass: "absolute w-64 p-3 text-base font-semibold leading-snug text-white
|
|
6675
|
+
} } }), 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) {
|
|
6673
6676
|
return e.$emit("update:view", a);
|
|
6674
6677
|
} } }), !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) {
|
|
6675
6678
|
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 && {
|
|
@@ -6688,12 +6691,12 @@ var Di = function() {
|
|
|
6688
6691
|
"is-empty": !e.nestedReadLayout.length
|
|
6689
6692
|
},
|
|
6690
6693
|
!e.isEditView && `is-device-${e.previewDevice}`,
|
|
6691
|
-
e.isEditView && "
|
|
6692
|
-
] }, [!e.nestedReadLayout.length && !e.isFixedSidebar ? t("div", { staticClass: "
|
|
6694
|
+
e.isEditView && "mx-auto min-h-full w-[1200px] max-w-full overflow-hidden rounded-md px-0 shadow-[0_20px_35px_-8px_hsla(0,0%,0%,0.27)] md:max-w-[90%]"
|
|
6695
|
+
] }, [!e.nestedReadLayout.length && !e.isFixedSidebar ? t("div", { staticClass: "drag-drop-empty-list is-placeholder text-gray-400" }, [t("div", { staticStyle: { position: "relative" } }, [e._m(0), t("svg", { staticClass: "drag-drop-illustration", attrs: { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 50 50" } }, [t("path", { staticClass: "drag-drop-illustration-finger", attrs: { d: "M8 0a4 4 0 00-2.7 1C4.6 1.6 4 2.7 4 4v21.4c-.4.2-.8.2-1.7 1A7.2 7.2 0 000 31.8c0 2 .8 3.8 1 4.5L4 42s-.1 0 0 0c1.4 3.1 4.5 5 8 5h9c5 0 9-4 9-9V22c0-.8-.1-2-.7-3-.5-1-1.7-2-3.3-2-1 0-2 .4-2.6.9 0-.3-.1-.7-.3-1-.6-1-1.7-1.9-3.1-1.9a4 4 0 00-2.7 1c-.6-1.1-1.7-2-3.3-2-.8 0-1.4.2-2 .6V4a4 4 0 00-4-4z", fill: "#000", "fill-rule": "nonzero" } }), t("path", { staticClass: "drag-drop-illustration-grabbing", attrs: { transform: "translate(0 11)", d: "M14 1c-.8 0-1.8.2-2.6.8l-.9 1a4 4 0 00-5.2.2C4.6 3.6 4 4.7 4 5.9V14c-1.7.7-4 3-4 7 0 2.2.9 4.2 1 4.5L3.9 31c1.5 3.1 4.6 5 8 5H21c5 0 9-4 9-9V9c0-4.4-2.5-5-4-5-.7 0-1.5.1-2.3.7C23 2.5 21.4 2 20 2c-1 0-2 .3-2.6.8l-.6-.9A4 4 0 0014 1z", fill: "#000", "fill-rule": "nonzero" } })])]), t("div", { staticClass: "text-center", staticStyle: { "max-width": "22ch" }, domProps: { innerHTML: e._s(e.$t("emptyBlockPlaceholderLarge")) } })]) : e._e(), t(e.isEditView ? "div" : "simplebar", { tag: "component", staticClass: "h-full w-full" }, [t("WithDimensions", { attrs: { "provide-device": !0 }, on: { width: function(a) {
|
|
6693
6696
|
e.parentSize.width = a;
|
|
6694
6697
|
} }, scopedSlots: e._u([{ key: "default", fn: function({ width: a, height: n }) {
|
|
6695
6698
|
var s, o;
|
|
6696
|
-
return t("DocumentStyleContainer", { staticClass: "relative
|
|
6699
|
+
return t("DocumentStyleContainer", { staticClass: "relative h-full w-full", style: {
|
|
6697
6700
|
"--vw": `${a / 100}px`,
|
|
6698
6701
|
"--vh": `clamp(7.5px, ${n / 100}px, ${e.isEditView ? 7.5 : 9}px)`
|
|
6699
6702
|
}, attrs: { "heading-color": e.headingColor, "input-style": ((o = (s = e._document) == null ? void 0 : s.data) == null ? void 0 : o.css) || null } }, [e.nestedReadLayout ? t("DragList", { staticClass: "drag-list", attrs: { handle: ".NO-SELECTOR", "drop-placeholder": { className: "drag-drop-placeholder" }, "should-animate-drop": e.shouldAnimateDrop, group: "blocks", "ghost-class": "drag-drop-ghost", "drag-class": "is-dragged", "group-name": "document-blocks", "non-drag-area-selector": ".no-drag", "drag-handle-selector": ".drag-item" }, on: { "drag-start": function(l) {
|
|
@@ -6727,7 +6730,7 @@ var Di = function() {
|
|
|
6727
6730
|
} }], null, !0) }) : e._e()], 1);
|
|
6728
6731
|
} }]) })], 1)], 1)], 1), t("DocumentDrawer", { key: "settingsDrawer", attrs: { id: "settingsDrawer", open: !!e.drawerState.openSection, fixed: !0, position: "right" }, on: { "update:open": function(a) {
|
|
6729
6732
|
e.drawerState.openSection = null;
|
|
6730
|
-
} } }, [t("CButton", { staticClass: "absolute
|
|
6733
|
+
} } }, [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) {
|
|
6731
6734
|
e.drawerState.openSection = null;
|
|
6732
6735
|
} } }), t("portal-target", { attrs: { name: "drawer-content" } })], 1)], 1)]);
|
|
6733
6736
|
}, Vi = [function() {
|
|
@@ -6739,7 +6742,7 @@ var Di = function() {
|
|
|
6739
6742
|
Vi,
|
|
6740
6743
|
!1,
|
|
6741
6744
|
null,
|
|
6742
|
-
"
|
|
6745
|
+
"44c5b4b7",
|
|
6743
6746
|
null,
|
|
6744
6747
|
null
|
|
6745
6748
|
);
|
|
@@ -6796,9 +6799,9 @@ var Zi = function() {
|
|
|
6796
6799
|
openUpgradeModal: s,
|
|
6797
6800
|
initialFreePremiumDays: o
|
|
6798
6801
|
}) {
|
|
6799
|
-
return [a === "trial" && e.mq !== "sm" ? t("v-popover", { attrs: { "popover-inner-class": "bg-white rounded-md shadow-xl" } }, [t("div", { staticClass: "relative
|
|
6802
|
+
return [a === "trial" && e.mq !== "sm" ? t("v-popover", { attrs: { "popover-inner-class": "bg-white rounded-md shadow-xl" } }, [t("div", { staticClass: "relative mr-2 flex h-9 cursor-pointer select-none flex-col justify-center rounded-md bg-gray-200/50 px-2 text-xs font-semibold backdrop-blur-lg backdrop-saturate-150" }, [t("div", { staticClass: "text-gray-600" }, [e._v(" " + e._s(e.$tc("_common:day", { count: n })) + " " + e._s(e.$t("button")) + " ")]), t("div", { staticClass: "absolute bottom-1 left-2 right-2 h-[3px] rounded-full bg-gray-300 ring-1 ring-white/10" }, [t("div", { staticClass: "to-primary-600 absolute h-full rounded-full bg-gradient-to-r from-green-500 via-emerald-500", style: {
|
|
6800
6803
|
width: e.clamp(n / o * 100, 0, 100) + "%"
|
|
6801
|
-
} })])]), t("div", { staticClass: "p-4 text-sm
|
|
6804
|
+
} })])]), t("div", { staticClass: "w-56 p-4 text-sm", attrs: { slot: "popover" }, slot: "popover" }, [t("div", { staticClass: "font-semibold" }, [e._v(" " + e._s(e.$t("title.1")) + " "), t("span", { staticClass: "bg-primary-100 border-primary-200 text-primary-800 inline-flex rounded-md border px-1.5 py-[3px] text-xs leading-none" }, [e._v(e._s(e.$t("title.2")))]), e._v(" " + e._s(e.$t("title.3", { trialDaysLeft: n })) + ". ")]), t("div", { staticClass: "text-sm text-gray-600" }, [e._v(" " + e._s(e.$t("title.4")) + " "), t("span", { staticClass: "inline-flex rounded-md border border-gray-300 bg-gray-200 px-1.5 py-[3px] text-xs font-semibold leading-none text-gray-600" }, [e._v(e._s(e.$t("title.5")))]), e._v(". ")]), t("div", { staticClass: "mt-5" }, [t("CButton", { directives: [{ name: "close-popover", rawName: "v-close-popover" }], attrs: { type: "secondary", size: "small", "icon-right": "arrow-right" }, on: { click: s } }, [e._v(" " + e._s(e.$t("actionButton")) + " ")])], 1)])]) : e._e()];
|
|
6802
6805
|
} }]) });
|
|
6803
6806
|
}, Ui = [], Oi = /* @__PURE__ */ d(
|
|
6804
6807
|
Ei,
|
|
@@ -6806,7 +6809,7 @@ var Zi = function() {
|
|
|
6806
6809
|
Ui,
|
|
6807
6810
|
!1,
|
|
6808
6811
|
null,
|
|
6809
|
-
"
|
|
6812
|
+
"5d030d36",
|
|
6810
6813
|
null,
|
|
6811
6814
|
null
|
|
6812
6815
|
);
|
|
@@ -6930,7 +6933,7 @@ const Ri = Oi.exports, T = A.observable({
|
|
|
6930
6933
|
};
|
|
6931
6934
|
var Wi = function() {
|
|
6932
6935
|
var e = this, t = e._self._c;
|
|
6933
|
-
return e.document ? t("div", { staticClass: "flex flex-col
|
|
6936
|
+
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) {
|
|
6934
6937
|
e.view = a;
|
|
6935
6938
|
} } }, [t("template", { slot: "nav-right" }, [t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ canCreateDocument: a, canCreateTemplate: n }) {
|
|
6936
6939
|
return [t("IsPremiumPreStep", { attrs: { feature: "documents" }, scopedSlots: e._u([{ key: "default", fn: function({ onClick: s }) {
|
|
@@ -7267,7 +7270,7 @@ const ea = {
|
|
|
7267
7270
|
};
|
|
7268
7271
|
var ta = function() {
|
|
7269
7272
|
var e = this, t = e._self._c;
|
|
7270
|
-
return t("div", { staticClass: "flex
|
|
7273
|
+
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 } }) : t("PostSend", { attrs: { document: e.document, "on-send-func": e.closeFunc, "on-close-func": e.closeFunc } })], 1);
|
|
7271
7274
|
}, ia = [], aa = /* @__PURE__ */ d(
|
|
7272
7275
|
ea,
|
|
7273
7276
|
ta,
|