@cling-se/widget 0.9.23 → 0.9.25
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-49655a64.js → AddClientCallout-b8390699.js} +5 -5
- package/dist/{AnswerModal-6f4004e1.js → AnswerModal-87be4c0b.js} +84 -27
- package/dist/{AttachmentItem-e3bfcd82.js → AttachmentItem-24ad77d3.js} +7 -5
- package/dist/{BaseDatePicker-d04f761f.js → BaseDatePicker-5a89a264.js} +1 -1
- package/dist/{BaseInput-e14e8b12.js → BaseInput-f180db14.js} +6 -2
- package/dist/{BaseUpload-0fa8ad72.js → BaseUpload-529d21bb.js} +28 -11
- package/dist/{BlockMedia-b49a63f3.js → BlockMedia-93ee8699.js} +5 -3
- package/dist/{CCallout-baeb732f.js → CCallout-1c3a4b40.js} +6 -9
- package/dist/{CDropdownItem-e0cecd02.js → CDropdownItem-109be2e2.js} +3 -3
- package/dist/{CField-c10f5951.js → CField-d2390b15.js} +18 -4
- package/dist/{CPhoneFormat-636103a1.js → CPhoneFormat-570a91d9.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-d964f857.js → CSlider.vue_vue_type_style_index_0_lang-49fcd521.js} +4 -2
- package/dist/{ClientAutocomplete-28bf2076.js → ClientAutocomplete-ee0b54d5.js} +3 -3
- package/dist/{ClientModal-b94206f4.js → ClientModal-dc178083.js} +34 -19
- package/dist/{ColorPicker-b5a7f700.js → ColorPicker-94e3b1d4.js} +2 -2
- package/dist/{CompanyModal-c47e7c55.js → CompanyModal-6ef7dcdc.js} +8 -5
- package/dist/{ContentWrapper-8293109f.js → ContentWrapper-95159ca6.js} +40 -27
- package/dist/{CoverBlockSettings-2242d653.js → CoverBlockSettings-647e6b18.js} +49 -34
- package/dist/{DocAnswer-75f53dd5.js → DocAnswer-299edc71.js} +4 -4
- package/dist/{DocDetails-1bdecff4.js → DocDetails-c740d0a6.js} +71 -46
- package/dist/{DocForm-263bac20.js → DocForm-42c0c67c.js} +515 -291
- package/dist/{DocFormSend-5b098ca6.js → DocFormSend-1f9c446f.js} +18 -18
- package/dist/{DocLinks-500b61b0.js → DocLinks-2c63c0dc.js} +2 -2
- package/dist/{DocModalBase-b64e792b.js → DocModalBase-62c42e04.js} +4 -4
- package/dist/{DocPrint-555475c6.js → DocPrint-cea9de40.js} +2 -2
- package/dist/{DocReceipt-5a393f79.js → DocReceipt-61b17b52.js} +33 -10
- package/dist/{DocSendReminder-8d875174.js → DocSendReminder-d69f4a3f.js} +30 -5
- package/dist/{DocTextEditor-7fd7ca5f.js → DocTextEditor-e6008feb.js} +86 -37
- package/dist/{DocTimeline-0273acd1.js → DocTimeline-480b7adf.js} +11 -2
- package/dist/{DocumentClient-342454c2.js → DocumentClient-6e36a622.js} +7 -7
- package/dist/{DocumentLayout-00ec1c6f.js → DocumentLayout-81ae175c.js} +31 -11
- package/dist/{DocumentLogotype-137fd8f5.js → DocumentLogotype-dea21bad.js} +8 -8
- package/dist/{DocumentVoided-584cbee7.js → DocumentVoided-1b3a2ab5.js} +1 -1
- package/dist/{EmbedInput-19362c0b.js → EmbedInput-fbbf12f1.js} +2 -2
- package/dist/{EmbedSettings-cbffd133.js → EmbedSettings-1063c1e4.js} +7 -7
- package/dist/ErrorCallout-82e50910.js +30 -0
- package/dist/{FilePreviewModal-80a5f1fc.js → FilePreviewModal-dc188de1.js} +6 -6
- package/dist/{HeaderSettings-e5e52b5a.js → HeaderSettings-663e5b4f.js} +65 -63
- package/dist/{ImageSelectModal-f54699a2.js → ImageSelectModal-a76f7e4b.js} +27 -27
- package/dist/{ImageUploadWrapper-d4291dd3.js → ImageUploadWrapper-1c6f0ae4.js} +11 -5
- package/dist/{Index-468190f0.js → Index-0078c287.js} +15 -15
- package/dist/{Index-5093d646.js → Index-0428c10a.js} +2 -2
- package/dist/{Index-29147f73.js → Index-0a6802ca.js} +51 -43
- package/dist/{Index-4c78a308.js → Index-12f4ded1.js} +24 -17
- package/dist/{Index-a79cd9b6.js → Index-18c5bc6b.js} +6 -6
- package/dist/{Index-bf2ed6a3.js → Index-1914be9d.js} +3 -3
- package/dist/{Index-8ef32146.js → Index-2c3b5b59.js} +20 -16
- package/dist/{Index-d6635896.js → Index-3f3c03a0.js} +20 -16
- package/dist/{Index-0eb9d45b.js → Index-4b1074d0.js} +13 -9
- package/dist/{Index-7fe05fe5.js → Index-58ee00b1.js} +3 -3
- package/dist/{Index-d60eb16f.js → Index-5a61849b.js} +32 -20
- package/dist/{Index-4df3c1d2.js → Index-5fc2d521.js} +300 -147
- package/dist/{Index-b66d1e1a.js → Index-6fe85402.js} +4 -4
- package/dist/Index-7c14fd96.js +28 -0
- package/dist/{Index-64236029.js → Index-81c49dd8.js} +6 -9
- package/dist/{Index-96725e56.js → Index-90cc1544.js} +7 -7
- package/dist/{Index-843f81bd.js → Index-98237ab3.js} +17 -12
- package/dist/{Index-f640eb29.js → Index-a7e8812e.js} +2 -2
- package/dist/{Index-630c21f5.js → Index-ad36c47b.js} +13 -11
- package/dist/{Index-e813c8cd.js → Index-aea14240.js} +2 -2
- package/dist/{Index-0f2bf3b1.js → Index-b1f07b87.js} +13 -13
- package/dist/{Index-c89d17d9.js → Index-b457cd00.js} +17 -17
- package/dist/{Index-12a6485f.js → Index-c0dd3309.js} +3 -3
- package/dist/{Index-aad34e7e.js → Index-c1b546ad.js} +13 -15
- package/dist/{Index-7c60cb32.js → Index-c1b73537.js} +56 -31
- package/dist/{Index-dbeaf863.js → Index-c2ded827.js} +9 -10
- package/dist/{Index-a3ee21e6.js → Index-ca9d1747.js} +4 -4
- package/dist/{Index-a36c3418.js → Index-cb5b055d.js} +2 -2
- package/dist/{Index-9afa091c.js → Index-cea034a9.js} +13 -11
- package/dist/{Index-7dec77f5.js → Index-e63f7ce8.js} +21 -18
- package/dist/{Index-bb62e92d.js → Index-f05733c2.js} +22 -27
- package/dist/{Index-16155aba.js → Index-f62acccc.js} +7 -7
- package/dist/{Index-bf0e9351.js → Index-f9bbee77.js} +2 -2
- package/dist/{Index-0b1a9238.js → Index-ffedf35a.js} +4 -4
- package/dist/{InputToggleRow-40b7b57e.js → InputToggleRow-176f3685.js} +4 -4
- package/dist/{IsPremiumPreStep-d2ceb183.js → IsPremiumPreStep-f3040c7a.js} +81 -36
- package/dist/{ManualPopover-58c3f059.js → ManualPopover-b7c65a0c.js} +5 -2
- package/dist/{MediaWrapper-0e3ff436.js → MediaWrapper-d1f91245.js} +3 -3
- package/dist/{NotBindingText-38e6e74c.js → NotBindingText-00d1b175.js} +2 -2
- package/dist/{PackageGroup-6e6dd719.js → PackageGroup-89033998.js} +184 -69
- package/dist/{PdfTerms-3be0f8d1.js → PdfTerms-0e214875.js} +8 -8
- package/dist/{PdfViewer-991eb731.js → PdfViewer-00d4de8d.js} +2 -2
- package/dist/{PlainHtml-4aaf6438.js → PlainHtml-00ce6fd0.js} +1 -1
- package/dist/{PriceHeader-f3e7b525.js → PriceHeader-553f4ff0.js} +48 -32
- package/dist/{SearchApi-2523a5fb.js → SearchApi-e5cde5cf.js} +40 -20
- package/dist/{Setup-2849b519.js → Setup-7f309cf0.js} +1 -1
- package/dist/{TermsSettings-6d3dfe8d.js → TermsSettings-74d7c2d9.js} +11 -11
- package/dist/{ThemeColorRow-a33d04b5.js → ThemeColorRow-0b7ad102.js} +4 -4
- package/dist/{ToggleBinding-7c726915.js → ToggleBinding-33b62557.js} +3 -3
- package/dist/{UploadModal-814fc3af.js → UploadModal-6f43c373.js} +16 -14
- package/dist/{VideoPlayerInput-fa0774c1.js → VideoPlayerInput-81e64059.js} +3 -3
- package/dist/{VideoPlayerSettings-ff82938f.js → VideoPlayerSettings-f3445401.js} +5 -5
- package/dist/{VideoSelectModal-7b213a09.js → VideoSelectModal-736176ac.js} +32 -36
- package/dist/{answerDocumentMixin-b2488be9.js → answerDocumentMixin-0b94b90e.js} +3 -3
- package/dist/{debounce-0451fa9d.js → debounce-9410d5d6.js} +1 -1
- package/dist/{focusDrawerMixin-0d406532.js → focusDrawerMixin-14a97cd3.js} +1 -1
- package/dist/{formComponentsInstall-9c59efba.js → formComponentsInstall-6a61db21.js} +210 -168
- package/dist/{formDrawerState-6c57d51e.js → formDrawerState-b23639bd.js} +1 -1
- package/dist/{formValidationMixin-7603171e.js → formValidationMixin-047668c3.js} +1 -1
- package/dist/{image-58c45661.js → image-cd324ded.js} +1 -1
- package/dist/{index-47e427b4.js → index-22c9f370.js} +8 -6
- package/dist/{index-b20167b3.js → index-3003bff6.js} +4 -4
- package/dist/{index-cf014fd4.js → index-569793de.js} +2 -2
- package/dist/{index-0c493549.js → index-a62beb97.js} +17 -9
- package/dist/{index-4afc771b.js → index-ad0c2be7.js} +1 -1
- package/dist/{index-c0b45aa7.js → index-b937c6d2.js} +12 -12
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +96 -67
- package/dist/{main-8d566a02.js → main-4f27b552.js} +137 -80
- package/dist/{mapFormMixin-4446a1bd.js → mapFormMixin-9f326a09.js} +1 -1
- package/dist/{publicSenderState-02c0c9eb.js → publicSenderState-ec8a9ad6.js} +1 -1
- package/dist/{simplebar.min-d30d6e1f.js → simplebar.min-c555666e.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{template-e04cc32f.js → template-70f4518f.js} +7 -7
- package/dist/{throttle-b0a5ba09.js → throttle-a0a6c1c7.js} +2 -2
- package/dist/{tinycolor-c6f29f33.js → tinycolor-2fdfb0b3.js} +1 -1
- package/dist/{tippy.esm-2cb937d0.js → tippy.esm-e8cf7685.js} +8 -8
- package/dist/{utils-36338df7.js → utils-805171cf.js} +1 -1
- package/dist/{vuedraggable.umd-a0d21ce9.js → vuedraggable.umd-79e4b33e.js} +1 -1
- package/package.json +2 -2
- package/dist/ErrorCallout-4ce34a95.js +0 -30
- package/dist/Index-66295ea9.js +0 -28
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { b1 as me, b2 as he, b3 as W, b4 as fe, b5 as q, b6 as N, b7 as ge, b8 as Ce, b9 as ve, ba as ye, j, g as m, n as c, u as K, b as u, az as xe, c as f, C as Y, bb as we, bc as be, h as D, bd as _e, be as ke, B as Le, bf as $e, bg as Se, b0 as Te, bh as De, O as d, X as h, aX as y, bi as Ve, bj as Be, bk as Me, bl as Ie, E as Fe, bm as He, d as Ae, i as L, J as Pe, S as Ee, at as ze, T as Ze, bn as Oe, V as H, aZ as Q, a_ as J, I as P, bo as B, a$ as Re, bp as Ge, bq as I, r as Ue, m as We, a as qe, br as Ne } from "./main-
|
|
1
|
+
import { b1 as me, b2 as he, b3 as W, b4 as fe, b5 as q, b6 as N, b7 as ge, b8 as Ce, b9 as ve, ba as ye, j, g as m, n as c, u as K, b as u, az as xe, c as f, C as Y, bb as we, bc as be, h as D, bd as _e, be as ke, B as Le, bf as $e, bg as Se, b0 as Te, bh as De, O as d, X as h, aX as y, bi as Ve, bj as Be, bk as Me, bl as Ie, E as Fe, bm as He, d as Ae, i as L, J as Pe, S as Ee, at as ze, T as Ze, bn as Oe, V as H, aZ as Q, a_ as J, I as P, bo as B, a$ as Re, bp as Ge, bq as I, r as Ue, m as We, a as qe, br as Ne } from "./main-4f27b552.js";
|
|
2
2
|
import { m as g, a as x } from "./vuex.esm-4a0fff7c.js";
|
|
3
|
-
import "./index-
|
|
3
|
+
import "./index-ad0c2be7.js";
|
|
4
4
|
import { v as F } from "./index-805c56e4.js";
|
|
5
|
-
import { w as $ } from "./CDropdownItem-
|
|
6
|
-
import { a as b, I as _, b as je, c as Ke } from "./IsPremiumPreStep-
|
|
7
|
-
import { D as Ye, l as Qe, g as Je, W as Xe, b as et, a as tt } from "./DocumentLayout-
|
|
8
|
-
import { s as k } from "./simplebar.min-
|
|
9
|
-
import { B as it } from "./BlockMedia-
|
|
10
|
-
import { d as A, t as at } from "./debounce-
|
|
11
|
-
import { c as nt, d as st } from "./template-
|
|
12
|
-
import { a as ot } from "./tinycolor-
|
|
13
|
-
import { m as S } from "./mapFormMixin-
|
|
14
|
-
import { S as lt, C as X, i as rt } from "./formComponentsInstall-
|
|
15
|
-
import { f as ct } from "./formValidationMixin-
|
|
16
|
-
import { s as v } from "./formDrawerState-
|
|
17
|
-
import { F as ee, d as dt } from "./tippy.esm-
|
|
18
|
-
import { S as pt } from "./CSlider.vue_vue_type_style_index_0_lang-
|
|
19
|
-
import { o as ut, d as mt } from "./vuedraggable.umd-
|
|
5
|
+
import { w as $ } from "./CDropdownItem-109be2e2.js";
|
|
6
|
+
import { a as b, I as _, b as je, c as Ke } from "./IsPremiumPreStep-f3040c7a.js";
|
|
7
|
+
import { D as Ye, l as Qe, g as Je, W as Xe, b as et, a as tt } from "./DocumentLayout-81ae175c.js";
|
|
8
|
+
import { s as k } from "./simplebar.min-c555666e.js";
|
|
9
|
+
import { B as it } from "./BlockMedia-93ee8699.js";
|
|
10
|
+
import { d as A, t as at } from "./debounce-9410d5d6.js";
|
|
11
|
+
import { c as nt, d as st } from "./template-70f4518f.js";
|
|
12
|
+
import { a as ot } from "./tinycolor-2fdfb0b3.js";
|
|
13
|
+
import { m as S } from "./mapFormMixin-9f326a09.js";
|
|
14
|
+
import { S as lt, C as X, i as rt } from "./formComponentsInstall-6a61db21.js";
|
|
15
|
+
import { f as ct } from "./formValidationMixin-047668c3.js";
|
|
16
|
+
import { s as v } from "./formDrawerState-b23639bd.js";
|
|
17
|
+
import { F as ee, d as dt } from "./tippy.esm-e8cf7685.js";
|
|
18
|
+
import { S as pt } from "./CSlider.vue_vue_type_style_index_0_lang-49fcd521.js";
|
|
19
|
+
import { o as ut, d as mt } from "./vuedraggable.umd-79e4b33e.js";
|
|
20
20
|
import { s as ht } from "./dom-962579a6.js";
|
|
21
|
-
import { o as ft } from "./index-
|
|
22
|
-
import gt from "./AnswerModal-
|
|
21
|
+
import { o as ft } from "./index-569793de.js";
|
|
22
|
+
import gt from "./AnswerModal-87be4c0b.js";
|
|
23
23
|
import "./anime.es-e284c852.js";
|
|
24
|
-
import "./image-
|
|
24
|
+
import "./image-cd324ded.js";
|
|
25
25
|
import "./color-71c20583.js";
|
|
26
|
-
import "./BaseDatePicker-
|
|
27
|
-
import "./ErrorCallout-
|
|
28
|
-
import "./AddClientCallout-
|
|
29
|
-
import "./ClientAutocomplete-
|
|
30
|
-
import "./SearchApi-
|
|
31
|
-
import "./ClientModal-
|
|
32
|
-
import "./CCallout-
|
|
33
|
-
import "./CField-
|
|
26
|
+
import "./BaseDatePicker-5a89a264.js";
|
|
27
|
+
import "./ErrorCallout-82e50910.js";
|
|
28
|
+
import "./AddClientCallout-b8390699.js";
|
|
29
|
+
import "./ClientAutocomplete-ee0b54d5.js";
|
|
30
|
+
import "./SearchApi-e5cde5cf.js";
|
|
31
|
+
import "./ClientModal-dc178083.js";
|
|
32
|
+
import "./CCallout-1c3a4b40.js";
|
|
33
|
+
import "./CField-d2390b15.js";
|
|
34
34
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
35
|
-
import "./ColorPicker-
|
|
35
|
+
import "./ColorPicker-94e3b1d4.js";
|
|
36
36
|
var Ct = me, vt = he, yt = W;
|
|
37
37
|
function xt(i, e, t) {
|
|
38
38
|
for (var a = -1, n = e.length, s = {}; ++a < n; ) {
|
|
@@ -229,7 +229,11 @@ const R1 = {
|
|
|
229
229
|
company: "application/company"
|
|
230
230
|
}),
|
|
231
231
|
actionButtonText() {
|
|
232
|
-
return this.template || this.updateExistingDocTemplate ? this.$t("_common:update", { thing: this.$t("_common:name") }) : this.$t("_common:create", {
|
|
232
|
+
return this.template || this.updateExistingDocTemplate ? this.$t("_common:update", { thing: this.$t("_common:name") }) : this.$t("_common:create", {
|
|
233
|
+
thing: this.$t("_common:new", {
|
|
234
|
+
thing: this.$t("_common:template")
|
|
235
|
+
}).toLowerCase()
|
|
236
|
+
});
|
|
233
237
|
},
|
|
234
238
|
messages() {
|
|
235
239
|
return {
|
|
@@ -259,7 +263,9 @@ const R1 = {
|
|
|
259
263
|
},
|
|
260
264
|
getNewTemplate() {
|
|
261
265
|
return {
|
|
262
|
-
...this.document.copyTemplateDocDefault({
|
|
266
|
+
...this.document.copyTemplateDocDefault({
|
|
267
|
+
keepClients: this.keepClients
|
|
268
|
+
}),
|
|
263
269
|
name: this.name,
|
|
264
270
|
_id: void 0,
|
|
265
271
|
id: void 0,
|
|
@@ -282,7 +288,10 @@ const R1 = {
|
|
|
282
288
|
let e = this.templateById(i);
|
|
283
289
|
if (!e)
|
|
284
290
|
try {
|
|
285
|
-
await this.loadTemplate({
|
|
291
|
+
await this.loadTemplate({
|
|
292
|
+
id: i,
|
|
293
|
+
params: { isVisible: !0 }
|
|
294
|
+
}), e = this.templateById(i);
|
|
286
295
|
} catch {
|
|
287
296
|
this.canUpdateExistingDocTemplate = !1;
|
|
288
297
|
return;
|
|
@@ -314,7 +323,7 @@ var G1 = function() {
|
|
|
314
323
|
U1,
|
|
315
324
|
!1,
|
|
316
325
|
null,
|
|
317
|
-
"
|
|
326
|
+
"f544bca9",
|
|
318
327
|
null,
|
|
319
328
|
null
|
|
320
329
|
);
|
|
@@ -443,20 +452,26 @@ const j1 = {
|
|
|
443
452
|
}
|
|
444
453
|
},
|
|
445
454
|
created() {
|
|
446
|
-
this.privateProduct = this.product, this.loadTemplateStat(), this.product && (this.socketUnsubscribeFn = we.on(
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
if (
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
455
|
+
this.privateProduct = this.product, this.loadTemplateStat(), this.product && (this.socketUnsubscribeFn = we.on(
|
|
456
|
+
"event",
|
|
457
|
+
async ({ type: i, action: e, data: t }) => {
|
|
458
|
+
var a;
|
|
459
|
+
if (i === "companyPurchase" && e === "applied" && (t == null ? void 0 : t.type) === "template") {
|
|
460
|
+
const n = (a = t == null ? void 0 : t.data) == null ? void 0 : a.id;
|
|
461
|
+
if (n !== this.template.id)
|
|
462
|
+
return;
|
|
463
|
+
const s = {
|
|
464
|
+
templateId: n,
|
|
465
|
+
isVisibleApp: !0,
|
|
466
|
+
includePurchaseInfo: !0
|
|
467
|
+
}, o = await this.fetchGallery(s);
|
|
468
|
+
this.privateProduct = se(
|
|
469
|
+
o[0],
|
|
470
|
+
{ availableProducts: this.stripeProducts }
|
|
471
|
+
);
|
|
472
|
+
}
|
|
458
473
|
}
|
|
459
|
-
|
|
474
|
+
));
|
|
460
475
|
},
|
|
461
476
|
beforeDestroy() {
|
|
462
477
|
this.socketUnsubscribeFn && this.socketUnsubscribeFn();
|
|
@@ -486,9 +501,11 @@ const j1 = {
|
|
|
486
501
|
var K1 = function() {
|
|
487
502
|
var a;
|
|
488
503
|
var e = this, t = e._self._c;
|
|
489
|
-
return t("div", { staticClass: "bg-gray-200 template-modal font-inter" }, [t("div", { staticStyle: { "background-color": "white", "border-radius": "1em", overflow: "auto", border: "10px solid white", "box-shadow": "rgb(244, 244, 244) 0px 2px 14px 0px inset,
|
|
504
|
+
return t("div", { staticClass: "bg-gray-200 template-modal font-inter" }, [t("div", { staticStyle: { "background-color": "white", "border-radius": "1em", overflow: "auto", border: "10px solid white", "box-shadow": "rgb(244, 244, 244) 0px 2px 14px 0px inset,", flex: "1 1 auto", "min-height": "0" } }, [t("simplebar", { staticClass: "w-full h-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: {
|
|
490
505
|
backgroundImage: `url(${e.meta.author.avatar})`
|
|
491
|
-
} }), 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 p-1 mb-5 text-sm border border-gray-300 rounded-full bg-gray-300/60" }, [t("div", { staticClass: "flex items-center justify-center w-5 h-5 rounded-full bg-primary-500" }, [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(
|
|
506
|
+
} }), 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 p-1 mb-5 text-sm border border-gray-300 rounded-full bg-gray-300/60" }, [t("div", { staticClass: "flex items-center justify-center w-5 h-5 rounded-full bg-primary-500" }, [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(
|
|
507
|
+
e.$t("_common:purchased", { thing: e.$t("_common:template") })
|
|
508
|
+
) } })]) : t("CButton", { staticClass: "text-left !justify-start !px-4", 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: "absolute py-1.5 px-2 text-sm leading-none text-white -translate-y-1/2 border rounded-md right-2 top-1/2 bg-primary-400/80 border-primary-600/60", domProps: { textContent: e._s(e.privateProduct.price) } })])] : e._e(), t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ canUseTemplate: n }) {
|
|
492
509
|
return [t("IsPremiumPreStep", { attrs: { feature: "useDocTemplate" }, scopedSlots: e._u([{ key: "default", fn: function({ onClick: s }) {
|
|
493
510
|
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) {
|
|
494
511
|
e.isPublicForm || n ? e.useSelectedTemplate() : s({ callback: e.useSelectedTemplate });
|
|
@@ -508,7 +525,7 @@ var K1 = function() {
|
|
|
508
525
|
Y1,
|
|
509
526
|
!1,
|
|
510
527
|
null,
|
|
511
|
-
"
|
|
528
|
+
"e144913e",
|
|
512
529
|
null,
|
|
513
530
|
null
|
|
514
531
|
);
|
|
@@ -531,7 +548,8 @@ const J1 = Q1.exports, X1 = {
|
|
|
531
548
|
conference: "Conference",
|
|
532
549
|
event: "Event",
|
|
533
550
|
staffing: "Staffing",
|
|
534
|
-
cleaning: "Cleaning"
|
|
551
|
+
cleaning: "Cleaning",
|
|
552
|
+
moving: "Moving"
|
|
535
553
|
}
|
|
536
554
|
},
|
|
537
555
|
sv: {
|
|
@@ -548,7 +566,8 @@ const J1 = Q1.exports, X1 = {
|
|
|
548
566
|
conference: "Konferens",
|
|
549
567
|
event: "Event",
|
|
550
568
|
staffing: "Bemanning",
|
|
551
|
-
cleaning: "Städning"
|
|
569
|
+
cleaning: "Städning",
|
|
570
|
+
moving: "Flytt"
|
|
552
571
|
}
|
|
553
572
|
}
|
|
554
573
|
}
|
|
@@ -577,6 +596,11 @@ const J1 = Q1.exports, X1 = {
|
|
|
577
596
|
canPurchase: {
|
|
578
597
|
type: Boolean,
|
|
579
598
|
default: !0
|
|
599
|
+
},
|
|
600
|
+
// Optional which category to show by default
|
|
601
|
+
galleryCategory: {
|
|
602
|
+
type: String,
|
|
603
|
+
default: ""
|
|
580
604
|
}
|
|
581
605
|
},
|
|
582
606
|
data() {
|
|
@@ -608,10 +632,14 @@ const J1 = Q1.exports, X1 = {
|
|
|
608
632
|
stripeProducts: "stripe/products"
|
|
609
633
|
}),
|
|
610
634
|
galleryItems() {
|
|
611
|
-
return this.isLoading ? Array(6).fill({ placeholder: !0 }) : this.templateGalleryItems.filter(
|
|
635
|
+
return this.isLoading ? Array(6).fill({ placeholder: !0 }) : this.templateGalleryItems.filter(
|
|
636
|
+
({ categories: i }) => i.includes(this.activeCategory && this.activeCategory.key)
|
|
637
|
+
);
|
|
612
638
|
},
|
|
613
639
|
categories() {
|
|
614
|
-
return this.allCategories.filter(
|
|
640
|
+
return this.allCategories.filter(
|
|
641
|
+
({ key: i }) => this.availableCategoryKeys.includes(i)
|
|
642
|
+
);
|
|
615
643
|
},
|
|
616
644
|
language() {
|
|
617
645
|
var e, t;
|
|
@@ -628,19 +656,21 @@ const J1 = Q1.exports, X1 = {
|
|
|
628
656
|
this.$store.hasModule("stripe") || this.$store.registerModuleState("stripe", je);
|
|
629
657
|
},
|
|
630
658
|
async created() {
|
|
631
|
-
var
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
await this.loadTemplateGallery();
|
|
637
|
-
const
|
|
638
|
-
if (
|
|
659
|
+
var t, a, n, s;
|
|
660
|
+
this.canPurchase && await this.loadPrices();
|
|
661
|
+
let i = this.galleryCategory;
|
|
662
|
+
!i && ((a = (t = this.$route) == null ? void 0 : t.query) != null && a.list) && ([i] = this.$route.query.list.split(",")), i && (this.activeCategory = this.allCategories.find(
|
|
663
|
+
({ key: o }) => o === i
|
|
664
|
+
)), await this.loadTemplateGallery();
|
|
665
|
+
const e = (s = (n = this.$route) == null ? void 0 : n.query) == null ? void 0 : s.id;
|
|
666
|
+
if (e)
|
|
639
667
|
try {
|
|
640
|
-
const
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
668
|
+
const o = this.templateGalleryItems.find(
|
|
669
|
+
({ id: l }) => l === e
|
|
670
|
+
);
|
|
671
|
+
this.selectGalleryItem(o);
|
|
672
|
+
} catch (o) {
|
|
673
|
+
D(o);
|
|
644
674
|
}
|
|
645
675
|
},
|
|
646
676
|
methods: {
|
|
@@ -658,11 +688,16 @@ const J1 = Q1.exports, X1 = {
|
|
|
658
688
|
const e = await this.fetchGallery(i);
|
|
659
689
|
this.templateGalleryItems = (e || []).map((t) => {
|
|
660
690
|
if (this.canPurchase && t.isPurchasable) {
|
|
661
|
-
const a = se(t, {
|
|
691
|
+
const a = se(t, {
|
|
692
|
+
availableProducts: this.stripeProducts
|
|
693
|
+
});
|
|
662
694
|
a && (t.product = a);
|
|
663
695
|
}
|
|
664
696
|
return t;
|
|
665
|
-
}), this.availableCategoryKeys = e.reduce(
|
|
697
|
+
}), this.availableCategoryKeys = e.reduce(
|
|
698
|
+
(t, a) => [.../* @__PURE__ */ new Set([...t, ...a.categories])],
|
|
699
|
+
[]
|
|
700
|
+
);
|
|
666
701
|
} catch (e) {
|
|
667
702
|
D(e);
|
|
668
703
|
} finally {
|
|
@@ -791,14 +826,16 @@ var s2 = function(e, t) {
|
|
|
791
826
|
t.listeners.click && t.listeners.click();
|
|
792
827
|
} } }, "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: {
|
|
793
828
|
backgroundImage: `url(${t.props.thumbnail})`
|
|
794
|
-
} }) : 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 right-2 bottom-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(
|
|
829
|
+
} }) : 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 right-2 bottom-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(
|
|
830
|
+
t.parent.$t("_common:empty", { thing: t.parent.$t("_common:template") })
|
|
831
|
+
) } }) : 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)]);
|
|
795
832
|
}, o2 = [], l2 = /* @__PURE__ */ c(
|
|
796
833
|
n2,
|
|
797
834
|
s2,
|
|
798
835
|
o2,
|
|
799
836
|
!0,
|
|
800
837
|
null,
|
|
801
|
-
"
|
|
838
|
+
"e2f4722e",
|
|
802
839
|
null,
|
|
803
840
|
null
|
|
804
841
|
);
|
|
@@ -818,12 +855,16 @@ const c2 = {
|
|
|
818
855
|
beforeDestroy() {
|
|
819
856
|
var e, t;
|
|
820
857
|
const i = (t = (e = this.$refs) == null ? void 0 : e.list) == null ? void 0 : t.scrollElement;
|
|
821
|
-
i && i.removeEventListener("scroll", this.scrollHandler, {
|
|
858
|
+
i && i.removeEventListener("scroll", this.scrollHandler, {
|
|
859
|
+
passive: !0
|
|
860
|
+
});
|
|
822
861
|
},
|
|
823
862
|
mounted() {
|
|
824
863
|
var e, t;
|
|
825
864
|
const i = (t = (e = this.$refs) == null ? void 0 : e.list) == null ? void 0 : t.scrollElement;
|
|
826
|
-
i && (i.addEventListener("scroll", this.scrollHandler, {
|
|
865
|
+
i && (i.addEventListener("scroll", this.scrollHandler, {
|
|
866
|
+
passive: !0
|
|
867
|
+
}), setTimeout(() => {
|
|
827
868
|
this.scrollHandler();
|
|
828
869
|
}, 1e3));
|
|
829
870
|
},
|
|
@@ -836,7 +877,11 @@ const c2 = {
|
|
|
836
877
|
if (!t)
|
|
837
878
|
return;
|
|
838
879
|
const { scrollLeft: a } = t;
|
|
839
|
-
t.scrollTo({
|
|
880
|
+
t.scrollTo({
|
|
881
|
+
top: 0,
|
|
882
|
+
left: a + e,
|
|
883
|
+
behavior: "smooth"
|
|
884
|
+
});
|
|
840
885
|
},
|
|
841
886
|
scrollHandler() {
|
|
842
887
|
clearTimeout(this.scrollTimer), this.scrollTimer = setTimeout(() => {
|
|
@@ -869,7 +914,7 @@ var d2 = function() {
|
|
|
869
914
|
p2,
|
|
870
915
|
!1,
|
|
871
916
|
null,
|
|
872
|
-
"
|
|
917
|
+
"31e10485",
|
|
873
918
|
null,
|
|
874
919
|
null
|
|
875
920
|
);
|
|
@@ -929,7 +974,9 @@ const h2 = {
|
|
|
929
974
|
{
|
|
930
975
|
clients: {
|
|
931
976
|
$elemMatch: {
|
|
932
|
-
$or: ["name", "email", "socialNo", "orgNo"].map((s) => ({
|
|
977
|
+
$or: ["name", "email", "socialNo", "orgNo"].map((s) => ({
|
|
978
|
+
[s]: { $regex: this.query, $options: "i" }
|
|
979
|
+
}))
|
|
933
980
|
}
|
|
934
981
|
}
|
|
935
982
|
}
|
|
@@ -993,7 +1040,7 @@ var f2 = function() {
|
|
|
993
1040
|
g2,
|
|
994
1041
|
!1,
|
|
995
1042
|
null,
|
|
996
|
-
"
|
|
1043
|
+
"496e96d5",
|
|
997
1044
|
null,
|
|
998
1045
|
null
|
|
999
1046
|
);
|
|
@@ -1075,6 +1122,10 @@ const y2 = {
|
|
|
1075
1122
|
type: Boolean,
|
|
1076
1123
|
default: !1
|
|
1077
1124
|
},
|
|
1125
|
+
galleryCategory: {
|
|
1126
|
+
type: String,
|
|
1127
|
+
default: ""
|
|
1128
|
+
},
|
|
1078
1129
|
showGalleryTemplateAuthor: {
|
|
1079
1130
|
type: Boolean,
|
|
1080
1131
|
default: !0
|
|
@@ -1108,7 +1159,10 @@ const y2 = {
|
|
|
1108
1159
|
isAuthenticatedCRM: "settings/isAuthenticatedCRM"
|
|
1109
1160
|
}),
|
|
1110
1161
|
fallbackMedia() {
|
|
1111
|
-
return {
|
|
1162
|
+
return {
|
|
1163
|
+
type: "image",
|
|
1164
|
+
resourceUrl: this.getCompanySetting("offerBrandingBackgroundUrl")
|
|
1165
|
+
};
|
|
1112
1166
|
},
|
|
1113
1167
|
defaultSummaryBackground() {
|
|
1114
1168
|
return this.getCompanySetting("documentThemePriceBackground");
|
|
@@ -1158,7 +1212,12 @@ const y2 = {
|
|
|
1158
1212
|
},
|
|
1159
1213
|
async saveTemplate(i) {
|
|
1160
1214
|
try {
|
|
1161
|
-
const { data: e } = i, t = Te(e, [
|
|
1215
|
+
const { data: e } = i, t = Te(e, [
|
|
1216
|
+
"_id",
|
|
1217
|
+
"id",
|
|
1218
|
+
"companyId",
|
|
1219
|
+
"isVisible"
|
|
1220
|
+
]);
|
|
1162
1221
|
return await this.createTemplate({ body: t }), !0;
|
|
1163
1222
|
} catch (e) {
|
|
1164
1223
|
D(e);
|
|
@@ -1218,7 +1277,7 @@ var x2 = function() {
|
|
|
1218
1277
|
return e.removeTemplate({ template: n });
|
|
1219
1278
|
} } }, [e._v(" " + e._s(e.$t("_common:remove")) + " ")])], 1)], 1);
|
|
1220
1279
|
}), 1)];
|
|
1221
|
-
} }]) })], 1), e.showGallery ? [t("GalleryLogic", { attrs: { "fetch-gallery": e.fetchGallery, "use-template": e.select, "show-template-author": e.showGalleryTemplateAuthor, "modal-props": e.galleryModalProps }, scopedSlots: e._u([{ key: "default", fn: function({
|
|
1280
|
+
} }]) })], 1), e.showGallery ? [t("GalleryLogic", { attrs: { "fetch-gallery": e.fetchGallery, "use-template": e.select, "show-template-author": e.showGalleryTemplateAuthor, "modal-props": e.galleryModalProps, "gallery-category": e.galleryCategory }, scopedSlots: e._u([{ key: "default", fn: function({
|
|
1222
1281
|
galleryItems: a,
|
|
1223
1282
|
categories: n,
|
|
1224
1283
|
activeCategory: s,
|
|
@@ -1236,14 +1295,14 @@ var x2 = function() {
|
|
|
1236
1295
|
r.placeholder || l(r);
|
|
1237
1296
|
} } }, [r.product ? t("div", { staticClass: "p-1 text-xs font-semibold leading-none text-white border rounded shadow-lg bg-primary-500 border-primary-700/40", 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()]);
|
|
1238
1297
|
}), 1)], 1)];
|
|
1239
|
-
} }], null, !1,
|
|
1298
|
+
} }], null, !1, 3899545480) })] : 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)]);
|
|
1240
1299
|
}, w2 = [], b2 = /* @__PURE__ */ c(
|
|
1241
1300
|
y2,
|
|
1242
1301
|
x2,
|
|
1243
1302
|
w2,
|
|
1244
1303
|
!1,
|
|
1245
1304
|
null,
|
|
1246
|
-
"
|
|
1305
|
+
"0fbbec4c",
|
|
1247
1306
|
null,
|
|
1248
1307
|
null
|
|
1249
1308
|
);
|
|
@@ -1885,7 +1944,7 @@ const k2 = (i) => {
|
|
|
1885
1944
|
<image id="meeting-image0" width="2558" height="3837" xlink:href="https://images.unsplash.com/photo-1524758870432-af57e54afa26?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=400&q=80"></image>
|
|
1886
1945
|
</defs>
|
|
1887
1946
|
</svg>
|
|
1888
|
-
|
|
1947
|
+
|
|
1889
1948
|
`,
|
|
1890
1949
|
contentData: (t) => ({
|
|
1891
1950
|
[`data.coverBlock-${t}`]: {
|
|
@@ -2119,7 +2178,7 @@ const k2 = (i) => {
|
|
|
2119
2178
|
</clipPath>
|
|
2120
2179
|
<image id="image0" width="400" height="267" xlink:href="https://images.unsplash.com/photo-1552581234-26160f608093?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=400&q=80" />
|
|
2121
2180
|
</defs>
|
|
2122
|
-
</svg>
|
|
2181
|
+
</svg>
|
|
2123
2182
|
`,
|
|
2124
2183
|
contentData: (t) => ({
|
|
2125
2184
|
[`data.header-${t}`]: {
|
|
@@ -2179,7 +2238,7 @@ const k2 = (i) => {
|
|
|
2179
2238
|
</pattern>
|
|
2180
2239
|
<image id="green-image0" width="668" height="1002" xlink:href="https://images.unsplash.com/photo-1563863137468-972b0c39d5b2?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=400&q=80"></image>
|
|
2181
2240
|
</defs>
|
|
2182
|
-
</svg>
|
|
2241
|
+
</svg>
|
|
2183
2242
|
`,
|
|
2184
2243
|
contentData: (t) => ({
|
|
2185
2244
|
[`data.header-${t}`]: {
|
|
@@ -2237,7 +2296,7 @@ const k2 = (i) => {
|
|
|
2237
2296
|
</pattern>
|
|
2238
2297
|
<image id="corporate-image0" width="2850" height="1900" xlink:href="https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=400&q=80"></image>
|
|
2239
2298
|
</defs>
|
|
2240
|
-
</svg>
|
|
2299
|
+
</svg>
|
|
2241
2300
|
`,
|
|
2242
2301
|
contentData: (t) => ({
|
|
2243
2302
|
[`data.header-${t}`]: {
|
|
@@ -2284,7 +2343,7 @@ const k2 = (i) => {
|
|
|
2284
2343
|
<path d="M48.5449 25.0945C48.5449 26.9117 49.9123 28.2701 51.7294 28.2701C53.5106 28.2701 54.9139 26.8937 54.9139 25.1395C54.9139 23.3764 53.5106 22 51.7204 22C49.9483 22 48.5449 23.3674 48.5449 25.0945Z" fill="#C6F895"/>
|
|
2285
2344
|
<text fill="#C6F895" xml:space="preserve" style="white-space: pre" font-family="Inter" font-size="20" font-weight="800" letter-spacing="0em">${e("purpleGossip.previewDocumentName")}</text>
|
|
2286
2345
|
<text fill="#C6F895" fill-opacity="0.75" xml:space="preserve" style="white-space: pre" font-family="Inter" font-size="7" font-weight="500" letter-spacing="0em">${e("purpleGossip.previewPostText")}</text>
|
|
2287
|
-
</svg>
|
|
2346
|
+
</svg>
|
|
2288
2347
|
`,
|
|
2289
2348
|
contentData: (t) => ({
|
|
2290
2349
|
[`data.header-${t}`]: {
|
|
@@ -2696,7 +2755,7 @@ const yi = ({
|
|
|
2696
2755
|
<div class="submenu-item-badge">
|
|
2697
2756
|
${o("radio.previewText")}
|
|
2698
2757
|
</div>
|
|
2699
|
-
</div>
|
|
2758
|
+
</div>
|
|
2700
2759
|
`,
|
|
2701
2760
|
contentData: (l) => {
|
|
2702
2761
|
const r = Array(2).fill().map(() => d());
|
|
@@ -3108,7 +3167,7 @@ const ki = ({ language: i = "en" } = {}) => [
|
|
|
3108
3167
|
<svg viewBox="0 0 400 250" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3109
3168
|
<rect width="400" height="250" fill="white"/>
|
|
3110
3169
|
<path d="M219.614 104.846H203.345V130.154H219.614M281.076 104.846H264.806V130.154H281.076M275.653 117.5H264.806M214.191 117.5H203.345M295.537 130.154V104.846L315.422 130.154V104.846M114.768 124.188L134.653 137.384M114.768 124.188V110.811M114.768 124.188L134.653 110.811M134.653 137.384L154.537 124.188M134.653 137.384V124.188M154.537 124.188V110.811M154.537 124.188L134.653 110.811M154.537 110.811L134.653 97.6152M154.537 110.811L134.653 124.008L114.768 110.811M134.653 97.6152L114.768 110.811M134.653 97.6152V110.811M102.114 108.461C99.7642 106.111 96.6911 104.846 93.0757 104.846C85.845 104.846 80.4219 110.269 80.4219 117.5C80.4219 124.731 85.845 130.154 93.0757 130.154C96.6911 130.154 99.7642 128.708 102.114 126.538M234.076 119.308H244.922C248.899 119.308 252.153 116.054 252.153 112.077C252.153 108.1 248.899 104.846 244.922 104.846H234.076V130.154V119.308ZM190.691 117.5C190.691 124.731 185.268 130.154 178.037 130.154H168.999V104.846H178.037C185.268 104.846 190.691 110.269 190.691 117.5Z" stroke="black" stroke-width="4.15769" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3111
|
-
</svg>
|
|
3170
|
+
</svg>
|
|
3112
3171
|
<div class="submenu-item-badge">
|
|
3113
3172
|
Demo
|
|
3114
3173
|
</div>
|
|
@@ -3169,7 +3228,7 @@ const ki = ({ language: i = "en" } = {}) => [
|
|
|
3169
3228
|
<rect width="400" height="250" fill="white"/>
|
|
3170
3229
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M219.79 157.837C213.914 171.264 207.538 181.501 198.65 189.921C188.763 199.357 177.01 204.366 163.537 205.528C152.43 206.471 141.61 205.165 130.934 201.971C120.039 198.777 110.149 193.768 101.551 186.146C94.4577 179.759 89.0119 172.136 84.7831 163.571C78.2622 150.433 73.8915 136.641 71.8848 122.05C70.5959 112.614 70.5241 103.249 72.9616 94.0301C75.2538 85.1745 79.9116 77.7709 86.3608 71.4555C92.7365 65.2119 100.117 60.4219 107.999 56.4297C120.113 50.4047 132.796 45.9035 146.125 43.5085C155.656 41.7661 165.187 41.3305 174.789 43.2882C183.816 45.1775 191.556 49.4601 198.292 55.7755C205.601 62.5999 211.047 70.8013 215.488 79.7303C220.578 90.0379 224.161 100.854 225.809 112.324C227.385 123.719 226.668 134.968 223.59 146.079C222.154 150.869 220.506 155.443 219.789 157.837H219.79Z" stroke="#262627" stroke-width="1.63146"/>
|
|
3171
3230
|
<path d="M150.256 110.24V105.956H172.542V110.24H163.657V134.631H159.213V110.24H150.256ZM209.948 134.92C207.582 134.92 205.504 133.758 204.499 132.309V142.906H200.273V113.942H204.499V116.337C205.29 114.959 207.582 113.652 210.018 113.652C215.968 113.652 219.122 117.567 219.122 124.248C219.122 130.856 215.896 134.918 209.95 134.918L209.948 134.92ZM214.676 124.25C214.676 122.145 214.175 120.475 213.243 119.241C212.24 118.006 211.021 117.354 209.517 117.354C208.013 117.354 206.722 117.934 205.791 119.241C204.788 120.475 204.359 122.145 204.359 124.25C204.359 126.354 204.859 128.023 205.791 129.258C206.794 130.492 208.013 131.073 209.517 131.073C211.021 131.073 212.312 130.492 213.243 129.258C214.173 128.023 214.676 126.354 214.676 124.25V124.25ZM241.618 125.481H227.217C227.217 128.749 229.08 131.146 232.234 131.146C234.526 131.146 236.533 129.841 237.536 127.661L241.119 129.113C239.04 133.175 236.676 134.921 232.162 134.921C225.424 134.921 222.703 129.185 222.703 124.322C222.703 119.385 225.497 113.722 232.162 113.722C238.683 113.722 241.548 119.094 241.548 123.667V125.478H241.618V125.481ZM227.289 121.925H237.175C236.82 119.386 235.099 117.425 232.232 117.425C229.581 117.425 227.79 119.241 227.289 121.928V121.925ZM245.06 117.716V113.942H247.711V112.852C247.711 107.987 250.289 105.592 254.518 105.592C255.88 105.592 256.955 105.809 257.887 106.318L257.027 109.948C256.309 109.584 255.521 109.367 254.661 109.367C252.87 109.367 251.937 110.456 251.937 112.634V114.012H256.453V117.789H251.939V134.629H247.713V117.789H245.06V117.716V117.716ZM259.107 124.25C259.107 121.274 259.965 118.732 261.828 116.699C263.62 114.668 266.127 113.652 269.137 113.652C272.146 113.652 274.583 114.666 276.375 116.698C278.166 118.73 279.099 121.272 279.099 124.248C279.099 127.224 278.166 129.762 276.375 131.797C274.583 133.83 272.146 134.848 269.137 134.848C266.127 134.848 263.62 133.83 261.828 131.797C260.037 129.839 259.104 127.297 259.104 124.248L259.107 124.25ZM263.548 124.25C263.548 126.137 264.049 127.733 264.98 129.111C265.984 130.492 267.346 131.146 269.066 131.146C270.785 131.146 272.146 130.493 273.149 129.113C274.153 127.733 274.655 126.137 274.655 124.251C274.655 122.362 274.153 120.765 273.149 119.458C272.146 118.08 270.784 117.425 269.066 117.425C267.346 117.425 265.982 118.151 264.98 119.458C264.051 120.838 263.548 122.434 263.548 124.25V124.25ZM287.338 134.557H283.113V113.942H287.338V117.352C288.7 114.959 291.064 113.578 293.358 113.578C294.288 113.578 295.15 113.725 295.936 114.087L295.221 118.006C294.575 117.571 293.786 117.425 292.856 117.425C291.351 117.425 290.061 118.225 288.986 119.894C287.909 121.564 287.338 123.886 287.338 126.935V134.559V134.557ZM300.236 113.942H304.465V117.425C306.113 114.885 308.12 113.578 310.627 113.578C313.349 113.578 315.641 115.249 316.215 117.861C317.647 115.104 319.941 113.577 322.521 113.577C326.175 113.577 328.325 116.045 328.325 119.747V134.482H324.097V120.691C324.097 118.513 322.951 117.352 321.088 117.352C318.435 117.352 316.357 120.837 316.357 126.281V134.557H312.131V120.767C312.131 118.587 310.985 117.425 309.121 117.425C306.397 117.425 304.39 120.91 304.39 126.79V134.629H300.165V113.942H300.235H300.236ZM196.403 113.942H191.532L184.582 129.04L178.059 113.944H173.26L182.144 134.484L178.275 142.907H183.146L196.403 113.944V113.942Z" fill="#262627"/>
|
|
3172
|
-
</svg>
|
|
3231
|
+
</svg>
|
|
3173
3232
|
<div class="submenu-item-badge">
|
|
3174
3233
|
Demo
|
|
3175
3234
|
</div>
|
|
@@ -3199,7 +3258,7 @@ const ki = ({ language: i = "en" } = {}) => [
|
|
|
3199
3258
|
<rect width="400" height="250" fill="white"/>
|
|
3200
3259
|
<path d="M112.999 149.988V175L137.99 149.988H337.996V75H100.499L63 149.988H112.999Z" fill="#D41F26"/>
|
|
3201
3260
|
<path d="M138.05 124.976H142.22V99.8936H138.05L138.05 124.976ZM142.79 94.4205C142.79 95.9324 141.491 97.0254 140.086 97.0254C138.731 97.0254 137.529 95.9324 137.529 94.4205C137.529 92.8061 138.731 91.7622 140.086 91.7622C141.491 91.7622 142.79 92.8061 142.79 94.4205ZM151.179 107.872V124.976H146.955V99.8409H150.285L150.863 102.401C151.8 100.207 153.825 99.6884 155.234 99.5817C159.763 99.3215 163.516 103.549 163.516 107.872V124.976H159.294V107.872C159.294 105.683 157.426 103.805 155.184 103.805C152.997 103.805 151.18 105.683 151.18 107.872H151.179ZM172.082 125.015H167.916V97.7412C167.916 92.8925 172.549 89.3477 177.81 89.3477V93.5193C174.742 93.5193 172.082 95.4488 172.082 97.7412V105.459H177.239V109.63H172.082V125.015ZM194.295 107.859C194.295 105.199 192.161 103.791 190.026 103.791C187.943 103.791 185.757 105.199 185.757 107.859V116.979C185.757 119.642 187.943 120.997 190.026 120.997C192.161 120.997 194.295 119.642 194.295 116.979L194.295 107.859ZM198.513 116.979C198.513 122.561 194.244 125.274 190.026 125.274C185.757 125.274 181.59 122.561 181.59 116.979V107.859C181.59 102.228 185.808 99.6204 190.026 99.6204C194.295 99.6204 198.513 102.228 198.513 107.859V116.979ZM207.158 117.402C207.006 119.85 209.245 120.942 211.427 120.942C213.406 120.942 215.386 119.588 215.386 117.454V107.233C215.386 105.355 213.199 103.898 211.323 103.843C209.188 103.843 207.158 105.303 207.158 107.388V117.402ZM211.217 135.282C209.403 135.282 206.639 134.293 204.609 132.464L207.006 129.13C208.511 130.378 210.232 131.007 211.217 131.007C213.509 131.007 215.386 129.234 215.386 127.043V122.614C214.661 124.648 212.577 125.169 211.323 125.169C206.951 125.169 202.941 122.298 202.941 117.402V107.388C202.941 103.217 207.006 99.2528 211.323 99.6201C212.991 99.7762 215.075 100.405 215.753 102.805L216.165 99.8796H219.602V127.043C219.602 131.79 215.697 135.282 211.217 135.282V135.282ZM224.256 125.042V100.067H227.744L228.214 102.622C229.673 98.917 233.681 98.8653 236.493 101.111L235.036 104.915C232.586 103.192 228.839 103.615 228.425 107.049V125.042H224.256ZM246.239 121.08C248.215 121.08 250.298 119.464 250.298 117.59V115.037C250.298 112.949 248.482 111.489 246.239 111.489C244.053 111.489 242.227 113.267 242.227 115.505V116.961C242.227 119.209 244.053 121.08 246.239 121.08V121.08ZM238.011 116.961V115.505C238.011 111.127 241.345 107.369 246.133 107.369C247.804 107.369 249.831 108.466 250.405 110.137L250.299 107.945C250.299 105.756 248.482 103.929 246.239 103.929C245.199 103.929 243.691 104.555 242.277 105.91L239.993 102.42C241.763 100.802 244.207 99.6571 246.239 99.6571C250.666 99.6571 254.515 103.354 254.515 107.945V124.996H251.138L250.715 122.329C250.195 124.53 247.538 125.306 246.239 125.306C241.763 125.306 238.011 121.449 238.011 116.961V116.961ZM263.297 124.996H259.136V99.9139H262.409L262.934 102.366C263.977 100.334 265.903 99.6571 267.412 99.6007C269.496 99.55 272.251 100.539 273.549 103.773C274.804 100.539 277.353 99.6007 279.754 99.6007C284.23 99.6007 287.875 103.253 287.875 107.891V124.996H283.705V107.891C283.763 102.209 275.584 102.469 275.584 107.891V124.996H271.419V107.891C271.419 105.702 269.598 103.825 267.305 103.825C265.066 103.825 263.297 105.702 263.297 107.891V124.996Z" fill="#FEFEFE"/>
|
|
3202
|
-
</svg>
|
|
3261
|
+
</svg>
|
|
3203
3262
|
<div class="submenu-item-badge">
|
|
3204
3263
|
Demo
|
|
3205
3264
|
</div>
|
|
@@ -3321,7 +3380,7 @@ const ki = ({ language: i = "en" } = {}) => [
|
|
|
3321
3380
|
<rect opacity="0.4" x="330" y="215" width="12" height="12" rx="2" fill="#C4C4C4"/>
|
|
3322
3381
|
<rect opacity="0.4" x="315" y="215" width="12" height="12" rx="2" fill="#C4C4C4"/>
|
|
3323
3382
|
<rect opacity="0.4" x="300" y="215" width="12" height="12" rx="2" fill="#C4C4C4"/>
|
|
3324
|
-
</svg>
|
|
3383
|
+
</svg>
|
|
3325
3384
|
<div class="submenu-item-badge">
|
|
3326
3385
|
Demo
|
|
3327
3386
|
</div>
|
|
@@ -3408,7 +3467,7 @@ const ki = ({ language: i = "en" } = {}) => [
|
|
|
3408
3467
|
<circle cx="339.5" cy="185.5" r="10.5" fill="#434769"/>
|
|
3409
3468
|
</g>
|
|
3410
3469
|
<path d="M203.707 152.291L216.684 162.37C217.245 162.805 217.185 163.671 216.57 164.026L216.568 164.027L216.566 164.029L216.563 164.03L216.561 164.031L216.558 164.033L216.556 164.034L216.554 164.035L216.551 164.037L216.549 164.038L216.547 164.039L216.544 164.041L216.542 164.042L216.54 164.044L216.537 164.045L216.535 164.046L216.532 164.048L216.53 164.049L216.528 164.05L216.525 164.052L216.523 164.053L216.521 164.054L216.518 164.056L216.516 164.057L216.514 164.058L216.511 164.06L216.509 164.061L216.507 164.063L216.504 164.064L216.502 164.065L216.5 164.067L216.497 164.068L216.495 164.069L216.493 164.071L216.49 164.072L216.488 164.073L216.486 164.075L216.483 164.076L216.481 164.077L216.479 164.079L216.476 164.08L216.474 164.081L216.472 164.083L216.469 164.084L216.467 164.085L216.465 164.087L216.462 164.088L216.46 164.089L216.458 164.091L216.455 164.092L216.453 164.093L216.451 164.095L216.449 164.096L216.446 164.097L216.444 164.099L216.442 164.1L216.439 164.101L216.437 164.103L216.435 164.104L216.432 164.105L216.43 164.107L216.428 164.108L216.425 164.109L216.423 164.111L216.421 164.112L216.419 164.113L216.416 164.115L216.414 164.116L216.412 164.117L216.409 164.119L216.407 164.12L216.405 164.121L216.402 164.123L216.4 164.124L216.398 164.125L216.396 164.127L216.393 164.128L216.391 164.129L216.389 164.131L216.386 164.132L216.384 164.133L216.382 164.135L216.38 164.136L216.377 164.137L216.375 164.139L216.373 164.14L216.371 164.141L216.368 164.142L216.366 164.144L216.364 164.145L216.361 164.146L216.359 164.148L216.357 164.149L216.355 164.15L216.352 164.152L216.35 164.153L216.348 164.154L216.346 164.156L216.343 164.157L216.341 164.158L216.339 164.159L216.337 164.161L216.334 164.162L216.332 164.163L216.33 164.165L216.327 164.166L216.325 164.167L216.323 164.169L216.321 164.17L216.318 164.171L216.316 164.172L216.314 164.174L216.312 164.175L216.309 164.176L216.307 164.178L216.305 164.179L216.303 164.18L216.301 164.182L216.298 164.183L216.296 164.184L216.294 164.185L216.292 164.187L216.289 164.188L216.287 164.189L216.285 164.191L216.283 164.192L216.28 164.193L216.278 164.194L216.276 164.196L216.274 164.197L216.271 164.198L216.269 164.2L216.267 164.201L216.265 164.202L216.263 164.203L216.26 164.205L216.258 164.206L216.256 164.207L216.254 164.209L216.252 164.21L216.249 164.211L216.247 164.212L216.245 164.214L216.243 164.215L216.24 164.216L216.238 164.218L216.236 164.219L216.234 164.22L216.232 164.221L216.229 164.223L216.227 164.224L216.225 164.225L216.223 164.226L216.221 164.228L216.218 164.229L216.216 164.23L216.214 164.231L216.212 164.233L216.21 164.234L216.207 164.235L216.205 164.237L216.203 164.238L216.201 164.239L216.199 164.24L216.196 164.242L216.194 164.243L216.192 164.244L216.19 164.245L216.188 164.247L216.186 164.248L216.183 164.249L216.181 164.25L216.179 164.252L216.177 164.253L216.175 164.254L216.172 164.255L216.17 164.257L216.168 164.258L216.166 164.259L216.164 164.26L216.162 164.262L216.159 164.263L216.157 164.264L216.155 164.266L216.153 164.267L216.151 164.268L216.149 164.269L216.146 164.27L216.144 164.272L216.142 164.273L216.14 164.274L216.138 164.275L216.136 164.277L216.133 164.278L216.131 164.279L216.129 164.28L216.127 164.282L216.125 164.283L216.123 164.284L216.121 164.285L216.118 164.287L216.116 164.288L216.114 164.289L216.112 164.29L216.11 164.292L216.108 164.293L216.106 164.294L216.103 164.295L216.101 164.297L216.099 164.298L216.097 164.299L216.095 164.3L216.093 164.301L216.091 164.303L216.088 164.304L216.086 164.305L216.084 164.306L216.082 164.308L216.08 164.309L216.078 164.31L216.076 164.311L216.074 164.313L216.071 164.314L216.069 164.315L216.067 164.316L216.065 164.317L216.063 164.319L216.061 164.32L216.059 164.321L216.057 164.322L216.055 164.324L216.052 164.325L216.05 164.326L216.048 164.327L216.046 164.328L216.044 164.33L216.042 164.331L216.04 164.332L216.038 164.333L216.036 164.335L216.033 164.336L216.031 164.337L216.029 164.338L216.027 164.339L216.025 164.341L216.023 164.342L216.021 164.343L216.019 164.344L216.017 164.345L216.015 164.347L216.013 164.348L216.01 164.349L216.008 164.35L216.006 164.351L216.004 164.353L216.002 164.354L216 164.355L215.998 164.356L215.996 164.357L215.994 164.359L215.992 164.36L215.99 164.361L215.988 164.362L215.985 164.363L215.983 164.365L215.981 164.366L215.979 164.367L215.977 164.368L215.975 164.369L215.973 164.371L215.971 164.372L215.969 164.373L215.967 164.374L215.965 164.375L215.963 164.377L215.961 164.378L215.959 164.379L215.957 164.38L215.954 164.381L215.952 164.383L215.95 164.384L215.948 164.385L215.946 164.386L215.944 164.387L215.942 164.388L215.94 164.39L215.938 164.391L215.936 164.392L215.934 164.393L215.932 164.394L215.93 164.396L215.928 164.397L215.926 164.398L215.924 164.399L215.922 164.4L215.92 164.401L215.918 164.403L215.916 164.404L215.914 164.405L215.912 164.406L215.909 164.407L215.907 164.408L215.905 164.41L215.903 164.411L215.901 164.412L215.899 164.413L215.897 164.414L215.895 164.416L215.893 164.417L215.891 164.418L215.889 164.419L215.887 164.42L215.885 164.421L215.883 164.423L215.881 164.424L215.879 164.425L215.877 164.426L215.875 164.427L215.873 164.428L215.871 164.429L215.869 164.431L215.867 164.432L215.865 164.433L215.863 164.434L215.861 164.435L215.859 164.436L215.857 164.438L215.855 164.439L215.853 164.44L215.851 164.441L215.849 164.442L215.847 164.443L215.845 164.445L215.843 164.446L215.841 164.447L215.839 164.448L215.837 164.449L215.835 164.45L215.833 164.451L215.831 164.453L215.829 164.454L215.827 164.455L215.825 164.456L215.823 164.457L215.821 164.458L215.819 164.459L215.817 164.461L215.815 164.462L215.813 164.463L215.811 164.464L215.809 164.465L215.807 164.466L215.805 164.467L215.803 164.469L215.801 164.47L215.799 164.471L215.798 164.472L215.796 164.473L215.794 164.474L215.792 164.475L215.79 164.476L215.788 164.478L215.786 164.479L215.784 164.48L215.782 164.481L215.78 164.482L215.778 164.483L215.776 164.484L215.774 164.486L215.772 164.487L215.77 164.488L215.768 164.489L215.766 164.49L215.764 164.491L215.762 164.492L215.76 164.493L215.758 164.495L215.756 164.496L215.755 164.497L215.753 164.498L215.751 164.499L215.749 164.5L215.747 164.501L215.745 164.502L215.743 164.503L215.741 164.505L215.739 164.506L215.737 164.507L215.735 164.508L215.733 164.509L215.731 164.51L215.729 164.511L215.727 164.512L215.726 164.513L215.724 164.515L215.722 164.516L215.72 164.517L215.718 164.518L215.716 164.519L215.714 164.52L215.712 164.521L215.71 164.522L215.708 164.523L215.706 164.525L215.704 164.526L215.703 164.527L215.701 164.528L215.699 164.529L215.697 164.53L215.695 164.531L215.693 164.532L215.691 164.533L215.689 164.534L215.687 164.536L215.685 164.537L215.684 164.538L215.682 164.539L215.68 164.54L215.678 164.541L215.676 164.542L215.674 164.543L215.672 164.544L215.67 164.545L215.668 164.546L215.667 164.548L215.665 164.549L215.663 164.55L215.661 164.551L215.659 164.552L215.657 164.553L215.655 164.554L215.653 164.555L215.651 164.556L215.65 164.557L215.648 164.558L215.646 164.56L215.644 164.561L215.642 164.562L215.64 164.563L215.638 164.564L215.637 164.565L215.635 164.566L215.633 164.567L215.631 164.568L215.629 164.569L215.627 164.57L215.625 164.571L215.623 164.572L215.622 164.574L215.62 164.575L215.618 164.576L215.616 164.577L215.614 164.578L215.612 164.579L215.61 164.58L215.609 164.581L215.607 164.582L215.605 164.583L215.603 164.584L215.601 164.585L215.599 164.586L215.598 164.587L215.596 164.588L215.594 164.59L215.592 164.591L215.59 164.592L215.588 164.593L215.587 164.594L215.585 164.595L215.583 164.596L215.581 164.597L215.579 164.598L215.577 164.599L215.576 164.6L215.574 164.601L215.572 164.602L215.57 164.603L215.568 164.604L215.566 164.605L215.565 164.606L215.563 164.607L215.561 164.609L215.559 164.61L215.557 164.611L215.556 164.612L215.554 164.613L215.552 164.614L215.55 164.615L215.548 164.616L215.546 164.617L215.545 164.618L215.543 164.619L215.541 164.62L215.539 164.621L215.537 164.622L215.536 164.623L215.534 164.624L215.532 164.625L215.53 164.626L215.528 164.627L215.527 164.628L215.525 164.629L215.523 164.63L215.521 164.631L215.519 164.632L215.518 164.634L215.516 164.635L215.514 164.636L215.512 164.637L215.511 164.638L215.509 164.639L215.507 164.64L215.505 164.641C214.597 165.165 214.288 166.325 214.811 167.233L218.481 173.588C218.729 174.018 218.582 174.567 218.152 174.815L215.743 176.206C215.313 176.454 214.764 176.307 214.516 175.877L210.847 169.522C210.323 168.614 209.162 168.303 208.254 168.827L207.118 169.483C206.503 169.838 205.724 169.457 205.627 168.754L203.388 152.476C203.363 152.299 203.566 152.182 203.707 152.291Z" fill="white" stroke="#898989"/>
|
|
3411
|
-
</svg>
|
|
3470
|
+
</svg>
|
|
3412
3471
|
<div class="submenu-item-badge">
|
|
3413
3472
|
Demo
|
|
3414
3473
|
</div>
|
|
@@ -3478,7 +3537,7 @@ const ki = ({ language: i = "en" } = {}) => [
|
|
|
3478
3537
|
terms: F2,
|
|
3479
3538
|
parties: E2,
|
|
3480
3539
|
custom: st,
|
|
3481
|
-
// legacy
|
|
3540
|
+
// legacy
|
|
3482
3541
|
presentation: T2,
|
|
3483
3542
|
estimatedTimeCompleted: R2,
|
|
3484
3543
|
estimatedWorkStartAndEndAtText: W2,
|
|
@@ -3513,7 +3572,12 @@ const ki = ({ language: i = "en" } = {}) => [
|
|
|
3513
3572
|
includeMockData: this.includeMockData,
|
|
3514
3573
|
emit: (...e) => this.$emit(...e)
|
|
3515
3574
|
}),
|
|
3516
|
-
getBlockPayload: (i) => Ie(
|
|
3575
|
+
getBlockPayload: (i) => Ie(
|
|
3576
|
+
i,
|
|
3577
|
+
this.set,
|
|
3578
|
+
G,
|
|
3579
|
+
this.includeMockdata
|
|
3580
|
+
)
|
|
3517
3581
|
});
|
|
3518
3582
|
}
|
|
3519
3583
|
}, Bi = null, Mi = null;
|
|
@@ -3593,7 +3657,7 @@ var Hi = function() {
|
|
|
3593
3657
|
Ai,
|
|
3594
3658
|
!1,
|
|
3595
3659
|
null,
|
|
3596
|
-
"
|
|
3660
|
+
"cd4a251a",
|
|
3597
3661
|
null,
|
|
3598
3662
|
null
|
|
3599
3663
|
);
|
|
@@ -3733,18 +3797,22 @@ var zi = function() {
|
|
|
3733
3797
|
} } }, [e._v(" " + e._s(e.$t("signMissingAdd")) + " ")])];
|
|
3734
3798
|
} }], null, !1, 2898075047) })], 1)]), e.isPublicForm ? t("CButton", { staticStyle: { height: "48px" }, attrs: { slot: "send", type: "secondary", wide: "" }, on: { click: e.onSaveDocument }, slot: "send" }, [e._v(" " + e._s(e.$t("signupToSend")) + " ")]) : e._e(), t("label", { staticClass: "text-gray-600", staticStyle: { display: "inline-flex", "align-items": "center", cursor: "pointer", "user-select": "none", "font-size": "12px", "font-weight": "500", "padding-top": "calc(1 * var(--rem))" }, attrs: { slot: "footer", for: "checkbox-save-as-temp" }, slot: "footer" }, [t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ canCreateTemplate: a }) {
|
|
3735
3799
|
return [t("IsPremiumPreStep", { attrs: { feature: "saveDocTemplate" }, scopedSlots: e._u([{ key: "default", fn: function({ onClick: n }) {
|
|
3736
|
-
return [t("div", { staticClass: "flex items-center", on: { click: (s) => e.onClickSaveAsTemplate({
|
|
3800
|
+
return [t("div", { staticClass: "flex items-center", on: { click: (s) => e.onClickSaveAsTemplate({
|
|
3801
|
+
event: s,
|
|
3802
|
+
can: a,
|
|
3803
|
+
open: n
|
|
3804
|
+
}) } }, [t("CCheckbox", { attrs: { id: "checkbox-save-as-temp", size: "small", type: "secondary" }, model: { value: e.saveTemplate, callback: function(s) {
|
|
3737
3805
|
e.saveTemplate = s;
|
|
3738
3806
|
}, expression: "saveTemplate" } }), t("div", { staticStyle: { "padding-left": "0.5em" } }, [e._v(" " + e._s(e.$t("saveDocAsTemplate")) + " "), t("BaseIcon", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.saveTemplateTooltip, expression: "saveTemplateTooltip" }], attrs: { type: "info", size: "15" } })], 1)], 1)];
|
|
3739
3807
|
} }], null, !0) })];
|
|
3740
|
-
} }], null, !1,
|
|
3808
|
+
} }], null, !1, 2049373406) })], 1)], 1)], 1)]) : e._e();
|
|
3741
3809
|
}, Zi = [], Oi = /* @__PURE__ */ c(
|
|
3742
3810
|
Ei,
|
|
3743
3811
|
zi,
|
|
3744
3812
|
Zi,
|
|
3745
3813
|
!1,
|
|
3746
3814
|
null,
|
|
3747
|
-
"
|
|
3815
|
+
"41e74cd7",
|
|
3748
3816
|
null,
|
|
3749
3817
|
null
|
|
3750
3818
|
);
|
|
@@ -3769,7 +3837,13 @@ const Ri = Oi.exports, Gi = {
|
|
|
3769
3837
|
this.elementWidth = e.width, this.elementHeight = e.height, this.clientX = i.clientX, this.clientY = i.clientY, document.addEventListener("mousemove", this.elementDrag), document.addEventListener("mouseup", this.removeListeners);
|
|
3770
3838
|
},
|
|
3771
3839
|
elementDrag(i) {
|
|
3772
|
-
i.preventDefault(), this.movementX = this.clientX - i.clientX, this.movementY = this.clientY - i.clientY, this.clientX = i.clientX, this.clientY = i.clientY, this.$el.style.top = `${Math.max(
|
|
3840
|
+
i.preventDefault(), this.movementX = this.clientX - i.clientX, this.movementY = this.clientY - i.clientY, this.clientX = i.clientX, this.clientY = i.clientY, this.$el.style.top = `${Math.max(
|
|
3841
|
+
this.$el.offsetTop - this.movementY,
|
|
3842
|
+
0
|
|
3843
|
+
)}px`, this.$el.style.left = `${Math.min(
|
|
3844
|
+
this.$el.offsetLeft - this.movementX,
|
|
3845
|
+
this.windowWidth - this.elementWidth
|
|
3846
|
+
)}px`;
|
|
3773
3847
|
},
|
|
3774
3848
|
removeListeners() {
|
|
3775
3849
|
document.removeEventListener("mousemove", this.elementDrag), document.removeEventListener("mouseup", this.removeListeners);
|
|
@@ -3823,7 +3897,7 @@ var Ki = function() {
|
|
|
3823
3897
|
Yi,
|
|
3824
3898
|
!1,
|
|
3825
3899
|
null,
|
|
3826
|
-
"
|
|
3900
|
+
"58649fd0",
|
|
3827
3901
|
null,
|
|
3828
3902
|
null
|
|
3829
3903
|
);
|
|
@@ -3838,12 +3912,7 @@ const Ji = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Ji), Xi = {
|
|
|
3838
3912
|
FormInputRow: ee,
|
|
3839
3913
|
DragWindow: re
|
|
3840
3914
|
},
|
|
3841
|
-
mixins: [
|
|
3842
|
-
S(
|
|
3843
|
-
["css"],
|
|
3844
|
-
{ useEmit: !1, setFnName: "set" }
|
|
3845
|
-
)
|
|
3846
|
-
],
|
|
3915
|
+
mixins: [S(["css"], { useEmit: !1, setFnName: "set" })],
|
|
3847
3916
|
props: {
|
|
3848
3917
|
set: {
|
|
3849
3918
|
type: Function,
|
|
@@ -3920,11 +3989,7 @@ const Ji = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Ji), Xi = {
|
|
|
3920
3989
|
weight: t
|
|
3921
3990
|
}
|
|
3922
3991
|
},
|
|
3923
|
-
onInput: ({
|
|
3924
|
-
family: a,
|
|
3925
|
-
weight: n,
|
|
3926
|
-
options: s = []
|
|
3927
|
-
}) => {
|
|
3992
|
+
onInput: ({ family: a, weight: n, options: s = [] }) => {
|
|
3928
3993
|
this.update(i, a), Qe(a), t != n && this.update("fontWeight", n), this.fontWeightOptions = s;
|
|
3929
3994
|
}
|
|
3930
3995
|
}
|
|
@@ -4038,8 +4103,14 @@ const Ji = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Ji), Xi = {
|
|
|
4038
4103
|
props: {
|
|
4039
4104
|
value: t
|
|
4040
4105
|
},
|
|
4041
|
-
onIncrease: () => this.update(
|
|
4042
|
-
|
|
4106
|
+
onIncrease: () => this.update(
|
|
4107
|
+
i,
|
|
4108
|
+
`${(parseFloat(t || 0) + 0.01).toFixed(2)}em`
|
|
4109
|
+
),
|
|
4110
|
+
onDecrease: () => this.update(
|
|
4111
|
+
i,
|
|
4112
|
+
`${(parseFloat(t || 0) - 0.01).toFixed(2)}em`
|
|
4113
|
+
)
|
|
4043
4114
|
}
|
|
4044
4115
|
]
|
|
4045
4116
|
};
|
|
@@ -4079,9 +4150,18 @@ const Ji = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Ji), Xi = {
|
|
|
4079
4150
|
props: {
|
|
4080
4151
|
value: e || "initial",
|
|
4081
4152
|
options: [
|
|
4082
|
-
{
|
|
4083
|
-
|
|
4084
|
-
|
|
4153
|
+
{
|
|
4154
|
+
value: "initial",
|
|
4155
|
+
label: this.$t("letterCaseTypes.initial")
|
|
4156
|
+
},
|
|
4157
|
+
{
|
|
4158
|
+
value: "capitalized",
|
|
4159
|
+
label: this.$t("letterCaseTypes.capitalized")
|
|
4160
|
+
},
|
|
4161
|
+
{
|
|
4162
|
+
value: "uppercase",
|
|
4163
|
+
label: this.$t("letterCaseTypes.uppercase")
|
|
4164
|
+
}
|
|
4085
4165
|
]
|
|
4086
4166
|
},
|
|
4087
4167
|
onInput: (t) => this.update(i, t)
|
|
@@ -4226,8 +4306,14 @@ const Ji = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Ji), Xi = {
|
|
|
4226
4306
|
props: {
|
|
4227
4307
|
value: n
|
|
4228
4308
|
},
|
|
4229
|
-
onIncrease: () => this.update(
|
|
4230
|
-
|
|
4309
|
+
onIncrease: () => this.update(
|
|
4310
|
+
e.key,
|
|
4311
|
+
`${parseFloat(n || 0) + 1}px`
|
|
4312
|
+
),
|
|
4313
|
+
onDecrease: () => this.update(
|
|
4314
|
+
e.key,
|
|
4315
|
+
`${parseFloat(n || 0) - 1}px`
|
|
4316
|
+
)
|
|
4231
4317
|
}
|
|
4232
4318
|
]
|
|
4233
4319
|
},
|
|
@@ -4407,7 +4493,7 @@ var ea = function() {
|
|
|
4407
4493
|
ta,
|
|
4408
4494
|
!1,
|
|
4409
4495
|
null,
|
|
4410
|
-
"
|
|
4496
|
+
"4404aad6",
|
|
4411
4497
|
null,
|
|
4412
4498
|
null
|
|
4413
4499
|
);
|
|
@@ -4544,7 +4630,7 @@ var sa = function() {
|
|
|
4544
4630
|
oa,
|
|
4545
4631
|
!1,
|
|
4546
4632
|
null,
|
|
4547
|
-
"
|
|
4633
|
+
"186f2d19",
|
|
4548
4634
|
null,
|
|
4549
4635
|
null
|
|
4550
4636
|
);
|
|
@@ -4598,11 +4684,7 @@ const ca = {
|
|
|
4598
4684
|
options() {
|
|
4599
4685
|
const { fields: i, usedFields: e } = this._document;
|
|
4600
4686
|
return Object.keys(i).map((t) => {
|
|
4601
|
-
const a = i[t], {
|
|
4602
|
-
service: n,
|
|
4603
|
-
inputDisabled: s,
|
|
4604
|
-
virtual: o = !1
|
|
4605
|
-
} = a.meta || {}, l = this.crmService && n === this.crmService ? a.meta.service : null;
|
|
4687
|
+
const a = i[t], { service: n, inputDisabled: s, virtual: o = !1 } = a.meta || {}, l = this.crmService && n === this.crmService ? a.meta.service : null;
|
|
4606
4688
|
return {
|
|
4607
4689
|
...a,
|
|
4608
4690
|
id: t,
|
|
@@ -4640,7 +4722,10 @@ const ca = {
|
|
|
4640
4722
|
// crmFields added first in order to not override same service values
|
|
4641
4723
|
...a,
|
|
4642
4724
|
// Filter out previous service fields if switching connected crm
|
|
4643
|
-
...Object.entries(((t = (e = this._document) == null ? void 0 : e.data) == null ? void 0 : t.fields) || {}).reduce(
|
|
4725
|
+
...Object.entries(((t = (e = this._document) == null ? void 0 : e.data) == null ? void 0 : t.fields) || {}).reduce(
|
|
4726
|
+
(n, [s, o]) => o != null && o.meta.service && o.meta.service !== i ? n : { ...n, [s]: o },
|
|
4727
|
+
{}
|
|
4728
|
+
)
|
|
4644
4729
|
});
|
|
4645
4730
|
}
|
|
4646
4731
|
}
|
|
@@ -4674,7 +4759,9 @@ const ca = {
|
|
|
4674
4759
|
navigator && navigator.clipboard && i && navigator.clipboard.writeText(i).then(() => Pe("info", this.$t("_common:copyMessage"))).catch((e) => D(e));
|
|
4675
4760
|
},
|
|
4676
4761
|
filterMethod(i, e) {
|
|
4677
|
-
return e.filter(
|
|
4762
|
+
return e.filter(
|
|
4763
|
+
(t) => t.label.toLowerCase().includes(i.toLowerCase())
|
|
4764
|
+
);
|
|
4678
4765
|
},
|
|
4679
4766
|
onDragStart(i, e) {
|
|
4680
4767
|
const t = `<span class="mention" data-mention-id="${e.key}" data-tooltip="${e.value}" contenteditable="false">${e.label}</span>`;
|
|
@@ -4703,11 +4790,13 @@ var da = function() {
|
|
|
4703
4790
|
defaultOpen: !0,
|
|
4704
4791
|
items: e.usedFields
|
|
4705
4792
|
},
|
|
4706
|
-
...e.crmService && e.crmFields.length ? [
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4793
|
+
...e.crmService && e.crmFields.length ? [
|
|
4794
|
+
{
|
|
4795
|
+
label: e.$t("crmFields", { crm: e.crmService }),
|
|
4796
|
+
defaultOpen: !1,
|
|
4797
|
+
items: e.crmFields
|
|
4798
|
+
}
|
|
4799
|
+
] : [],
|
|
4711
4800
|
{
|
|
4712
4801
|
label: e.$t("unUsedFields"),
|
|
4713
4802
|
defaultOpen: !e.usedFields.length,
|
|
@@ -4733,7 +4822,7 @@ var da = function() {
|
|
|
4733
4822
|
pa,
|
|
4734
4823
|
!1,
|
|
4735
4824
|
null,
|
|
4736
|
-
"
|
|
4825
|
+
"da1996e8",
|
|
4737
4826
|
null,
|
|
4738
4827
|
null
|
|
4739
4828
|
);
|
|
@@ -4784,11 +4873,7 @@ const ha = {
|
|
|
4784
4873
|
draggable: mt,
|
|
4785
4874
|
Spinner: Ee
|
|
4786
4875
|
},
|
|
4787
|
-
mixins: [S([
|
|
4788
|
-
"externalReferences",
|
|
4789
|
-
"clients",
|
|
4790
|
-
"articles"
|
|
4791
|
-
])],
|
|
4876
|
+
mixins: [S(["externalReferences", "clients", "articles"])],
|
|
4792
4877
|
data() {
|
|
4793
4878
|
return {
|
|
4794
4879
|
activeCrm: null,
|
|
@@ -4825,9 +4910,11 @@ const ha = {
|
|
|
4825
4910
|
currExternalReferences: {
|
|
4826
4911
|
immediate: !0,
|
|
4827
4912
|
async handler(i) {
|
|
4828
|
-
i.length ? await Promise.all(
|
|
4829
|
-
|
|
4830
|
-
|
|
4913
|
+
i.length ? await Promise.all(
|
|
4914
|
+
i.map(async (e) => {
|
|
4915
|
+
await this.fetchReference(e.type);
|
|
4916
|
+
})
|
|
4917
|
+
) : (this.dealDetails = null, this.typeDetails = null);
|
|
4831
4918
|
}
|
|
4832
4919
|
},
|
|
4833
4920
|
allAuthenticatedCRMs: {
|
|
@@ -4849,7 +4936,10 @@ const ha = {
|
|
|
4849
4936
|
this.searchResults = [];
|
|
4850
4937
|
return;
|
|
4851
4938
|
}
|
|
4852
|
-
const { data: t } = await L.search(this.activeCrm, {
|
|
4939
|
+
const { data: t } = await L.search(this.activeCrm, {
|
|
4940
|
+
query: i,
|
|
4941
|
+
type: "deal"
|
|
4942
|
+
});
|
|
4853
4943
|
t && Array.isArray(t) && (this.searchResults = t), t.length || (this.emptyQuery = e);
|
|
4854
4944
|
} catch (e) {
|
|
4855
4945
|
throw e;
|
|
@@ -4871,15 +4961,23 @@ const ha = {
|
|
|
4871
4961
|
const { service: e, type: t, typeId: a } = i;
|
|
4872
4962
|
if (!e || !t || !a)
|
|
4873
4963
|
throw new Error("externalReference is not valid");
|
|
4874
|
-
this.externalReferences = [
|
|
4964
|
+
this.externalReferences = [
|
|
4965
|
+
...this.externalReferences,
|
|
4966
|
+
{ service: e, type: t, typeId: a }
|
|
4967
|
+
];
|
|
4875
4968
|
},
|
|
4876
4969
|
async fetchReference(i = this.dealType) {
|
|
4877
4970
|
try {
|
|
4878
4971
|
this.isLoading = !0;
|
|
4879
|
-
const e = this.externalReferences.find(
|
|
4972
|
+
const e = this.externalReferences.find(
|
|
4973
|
+
(o) => o.service === this.activeCrm && o.type === i
|
|
4974
|
+
);
|
|
4880
4975
|
if (!e)
|
|
4881
4976
|
return;
|
|
4882
|
-
const { service: t, type: a, typeId: n } = e, { data: s } = await L.getExternalReferenceDetails(
|
|
4977
|
+
const { service: t, type: a, typeId: n } = e, { data: s } = await L.getExternalReferenceDetails(
|
|
4978
|
+
t,
|
|
4979
|
+
{ type: a, typeId: n }
|
|
4980
|
+
);
|
|
4883
4981
|
i !== this.dealType ? this.typeDetails = { ...s, type: i } : this.dealDetails = s;
|
|
4884
4982
|
} catch {
|
|
4885
4983
|
i !== this.dealType ? this.typeDetails = null : this.dealDetails = null;
|
|
@@ -4888,15 +4986,22 @@ const ha = {
|
|
|
4888
4986
|
}
|
|
4889
4987
|
},
|
|
4890
4988
|
removeReference(i = this.dealType) {
|
|
4891
|
-
const e = this.externalReferences.find(
|
|
4989
|
+
const e = this.externalReferences.find(
|
|
4990
|
+
(s) => s.service === this.activeCrm && s.type === i
|
|
4991
|
+
);
|
|
4892
4992
|
if (!e)
|
|
4893
4993
|
return;
|
|
4894
4994
|
const { service: t, type: a, typeId: n } = e;
|
|
4895
|
-
!t || !a || !n || (this.externalReferences = this.externalReferences.filter(
|
|
4995
|
+
!t || !a || !n || (this.externalReferences = this.externalReferences.filter(
|
|
4996
|
+
(s) => !(s.service === t && s.type === a && s.typeId === n)
|
|
4997
|
+
), i !== this.dealType ? this.typeDetails = null : this.dealDetails = null);
|
|
4896
4998
|
},
|
|
4897
4999
|
async suggestClients() {
|
|
4898
5000
|
var n;
|
|
4899
|
-
const { service: i, type: e, typeId: t } = this.currentExternalDeal, { data: a } = await L.suggestClients(i, {
|
|
5001
|
+
const { service: i, type: e, typeId: t } = this.currentExternalDeal, { data: a } = await L.suggestClients(i, {
|
|
5002
|
+
type: e,
|
|
5003
|
+
typeId: t
|
|
5004
|
+
});
|
|
4900
5005
|
if (Array.isArray(a) && a.length) {
|
|
4901
5006
|
const s = (n = this._document) == null ? void 0 : n.defaultAnswerMethod, o = a.map((l) => ({
|
|
4902
5007
|
...ze(),
|
|
@@ -4935,7 +5040,12 @@ var fa = function() {
|
|
|
4935
5040
|
return t("CDropdownItem", { key: a, attrs: { type: e.activeCrm === a ? "primary" : "secondary", size: "small" }, on: { click: function(n) {
|
|
4936
5041
|
e.activeCrm = a;
|
|
4937
5042
|
} } }, [e._v(" " + e._s(a.capitalize()) + " ")]);
|
|
4938
|
-
})], 2) : e._e(), e.isLoading && !e.dealDetails ? t("div", { staticClass: "flex items-center justify-center w-full", 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))
|
|
5043
|
+
})], 2) : e._e(), e.isLoading && !e.dealDetails ? t("div", { staticClass: "flex items-center justify-center w-full", 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(
|
|
5044
|
+
e.$t("referenceTo", {
|
|
5045
|
+
crm: e.activeCrm.capitalize(),
|
|
5046
|
+
type: e.$t(`type.${e.typeDetails.type}`)
|
|
5047
|
+
})
|
|
5048
|
+
) } }), t("CButton", { staticStyle: { position: "absolute", right: "2px", top: "2px" }, attrs: { icon: "x", size: "small", type: "none", pattern: "tertiary", circle: "" }, on: { click: function(a) {
|
|
4939
5049
|
return e.removeReference(e.typeDetails.type);
|
|
4940
5050
|
} } })], 1), t("div", { staticClass: "x-hint-name", domProps: { textContent: e._s(e.typeDetails.name || "") } })]), t("div", { staticClass: "divider" })]) : e._e(), t("div", { staticClass: "text-gray-600" }, [e._v(" " + e._s(e.$t("headerText", { crm: e.activeCrm.capitalize() })) + " ")]), t("div", { staticStyle: { height: "2em" } }), e.currentExternalDeal ? [t("div", { staticClass: "text-gray-400", staticStyle: { "font-size": "12px" } }, [e._v(" " + e._s(e.$t("connectedTo", { type: e.dealType })) + " ")]), e.dealDetails ? t("div", { staticStyle: { padding: "0.5em", "border-radius": "3px", "background-color": "hsl(205, 100%, 95%)", border: "1px solid hsl(205, 100%, 78%)" } }, [t("div", [t(e.dealDetails.externalUrl ? "a" : "span", { tag: "component", staticClass: "text-primary-500", staticStyle: { "font-weight": "600" }, attrs: { href: e.dealDetails.externalUrl || "#", target: "_blank" }, domProps: { textContent: e._s(e.dealDetails.name) } })], 1), e.dealDetails.currency ? t("div", { staticStyle: { opacity: "0.75", "font-size": "13px" } }, [e._v(" " + e._s(e.priceFormat(e.dealDetails.value, { showZero: !1, currency: e.dealDetails.currency })) + " ")]) : e._e()]) : e._e(), t("div", [t("CButton", { staticStyle: { "font-size": "12px", padding: "7px" }, attrs: { loading: e.isLoading, size: "small", type: "none", pattern: "tertiary" }, domProps: { textContent: e._s(e.$t("refreshData", { type: e.dealType })) }, on: { click: function(a) {
|
|
4941
5051
|
return e.fetchReference();
|
|
@@ -4951,7 +5061,14 @@ var fa = function() {
|
|
|
4951
5061
|
return t("div", { staticStyle: { "line-height": "1.5" } }, [t("div", { staticStyle: { "font-weight": "500" } }, [e._v(e._s(a.name))]), t("div", { staticClass: "text-gray-600", staticStyle: { "font-size": "14px" } }, [e._v(" " + e._s(a.externalReference.type.capitalize()) + " " + e._s(a.externalReference.typeId) + " "), a.value && a.currency ? [e._v(" · " + e._s(e.priceFormat(a.value, { showZero: !1, currency: a.currency })) + " ")] : e._e()], 2)]);
|
|
4952
5062
|
} }]), model: { value: e.searchQuery, callback: function(a) {
|
|
4953
5063
|
e.searchQuery = a;
|
|
4954
|
-
}, expression: "searchQuery" } }, [t("template", { slot: "empty" }, [e._v(" " + e._s(e.$t("_common:noResults")) + " ")])], 2)], 1)], 2), e.showDealProducts ? t("div", [t("div", { staticStyle: { padding: "0 calc(0.5 * var(--rem)) calc(1 * var(--rem))
|
|
5064
|
+
}, expression: "searchQuery" } }, [t("template", { slot: "empty" }, [e._v(" " + e._s(e.$t("_common:noResults")) + " ")])], 2)], 1)], 2), e.showDealProducts ? t("div", [t("div", { staticStyle: { padding: "0 calc(0.5 * var(--rem)) calc(1 * var(--rem))" } }, [t("div", { staticStyle: { "font-weight": "500" } }, [e._v(" " + e._s(e.$t("productsTitle")) + " "), t("BaseIcon", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: "Use a product by drag & dropping a product to a package.", expression: `
|
|
5065
|
+
'Use a product by drag & dropping a product to a package.'
|
|
5066
|
+
` }], attrs: { type: "info", size: "13" } })], 1), t("div", { staticClass: "text-gray-600", domProps: { textContent: e._s(
|
|
5067
|
+
e.$t("productsText", {
|
|
5068
|
+
type: e.dealType,
|
|
5069
|
+
crm: e.activeCrm.capitalize()
|
|
5070
|
+
})
|
|
5071
|
+
) } })]), e.dealDetails.articles && e.dealDetails.articles.length ? t("draggable", { staticStyle: { "min-height": "calc(3 * var(--rem))", padding: "0 calc(0.5 * var(--rem))" }, attrs: { list: e.dealDetails.articles, group: {
|
|
4955
5072
|
name: "articles",
|
|
4956
5073
|
pull: "clone",
|
|
4957
5074
|
put: !1
|
|
@@ -4966,7 +5083,7 @@ var fa = function() {
|
|
|
4966
5083
|
ga,
|
|
4967
5084
|
!1,
|
|
4968
5085
|
null,
|
|
4969
|
-
"
|
|
5086
|
+
"341fef10",
|
|
4970
5087
|
null,
|
|
4971
5088
|
null
|
|
4972
5089
|
);
|
|
@@ -5068,16 +5185,18 @@ const ya = {
|
|
|
5068
5185
|
required: !0
|
|
5069
5186
|
}
|
|
5070
5187
|
},
|
|
5071
|
-
mixins: [
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5188
|
+
mixins: [
|
|
5189
|
+
S([
|
|
5190
|
+
"tags",
|
|
5191
|
+
"series",
|
|
5192
|
+
"senderId",
|
|
5193
|
+
"language",
|
|
5194
|
+
"currency",
|
|
5195
|
+
"useVat",
|
|
5196
|
+
"vatType",
|
|
5197
|
+
"rounding"
|
|
5198
|
+
])
|
|
5199
|
+
],
|
|
5081
5200
|
data() {
|
|
5082
5201
|
return {
|
|
5083
5202
|
docSeriesOptions: ["document", "proposal", "contract", "ata"],
|
|
@@ -5103,20 +5222,27 @@ const ya = {
|
|
|
5103
5222
|
},
|
|
5104
5223
|
options() {
|
|
5105
5224
|
return [
|
|
5106
|
-
...!this.isLoadingMembers && !this.isPublicForm ? [
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5225
|
+
...!this.isLoadingMembers && !this.isPublicForm ? [
|
|
5226
|
+
{
|
|
5227
|
+
label: this.$t("members.title"),
|
|
5228
|
+
infoTooltip: this.$t("members.tooltip"),
|
|
5229
|
+
inputs: [
|
|
5230
|
+
{
|
|
5231
|
+
component: "select",
|
|
5232
|
+
props: {
|
|
5233
|
+
value: this.senderId,
|
|
5234
|
+
options: Object.values(this.members).filter(
|
|
5235
|
+
(i) => ["projectleader", "admin"].includes(i.role)
|
|
5236
|
+
).map((i) => ({
|
|
5237
|
+
value: i.id,
|
|
5238
|
+
label: i.fullName || i.email
|
|
5239
|
+
}))
|
|
5240
|
+
},
|
|
5241
|
+
onInput: (i) => this.update("senderId", parseInt(i, 10))
|
|
5242
|
+
}
|
|
5243
|
+
]
|
|
5244
|
+
}
|
|
5245
|
+
] : [],
|
|
5120
5246
|
{
|
|
5121
5247
|
label: this.$t("language.title"),
|
|
5122
5248
|
infoTooltip: this.$t("language.tooltip"),
|
|
@@ -5125,7 +5251,10 @@ const ya = {
|
|
|
5125
5251
|
component: "select",
|
|
5126
5252
|
props: {
|
|
5127
5253
|
value: this.language,
|
|
5128
|
-
options: Oe.map((i) => ({
|
|
5254
|
+
options: Oe.map((i) => ({
|
|
5255
|
+
value: i,
|
|
5256
|
+
label: this.$t(`iso:language.${i}`)
|
|
5257
|
+
})).sort((i, e) => i.label.localeCompare(e.label))
|
|
5129
5258
|
},
|
|
5130
5259
|
onInput: (i) => this.update("language", i)
|
|
5131
5260
|
}
|
|
@@ -5139,7 +5268,10 @@ const ya = {
|
|
|
5139
5268
|
component: "select",
|
|
5140
5269
|
props: {
|
|
5141
5270
|
value: this.series,
|
|
5142
|
-
options: ["document", "proposal", "contract", "ata"].map((i) => ({
|
|
5271
|
+
options: ["document", "proposal", "contract", "ata"].map((i) => ({
|
|
5272
|
+
value: i,
|
|
5273
|
+
label: this.$t(`_common:series.${i}`)
|
|
5274
|
+
}))
|
|
5143
5275
|
},
|
|
5144
5276
|
onInput: (i) => this.setSeries(i)
|
|
5145
5277
|
}
|
|
@@ -5185,14 +5317,19 @@ const ya = {
|
|
|
5185
5317
|
},
|
|
5186
5318
|
onInput: (i) => this.update("useVat", i)
|
|
5187
5319
|
},
|
|
5188
|
-
...this.useVat && this.vatTypes.length > 1 ? [
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
5320
|
+
...this.useVat && this.vatTypes.length > 1 ? [
|
|
5321
|
+
{
|
|
5322
|
+
component: "select",
|
|
5323
|
+
props: {
|
|
5324
|
+
value: this.vatType,
|
|
5325
|
+
options: this.vatTypes.map((i) => ({
|
|
5326
|
+
value: i,
|
|
5327
|
+
label: this.$t(`_common:vat.${i}`).capitalize()
|
|
5328
|
+
}))
|
|
5329
|
+
},
|
|
5330
|
+
onInput: (i) => this.update("vatType", i)
|
|
5331
|
+
}
|
|
5332
|
+
] : []
|
|
5196
5333
|
]
|
|
5197
5334
|
},
|
|
5198
5335
|
{
|
|
@@ -5211,46 +5348,55 @@ const ya = {
|
|
|
5211
5348
|
}
|
|
5212
5349
|
]
|
|
5213
5350
|
},
|
|
5214
|
-
...this.rounding.enabled ? [
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
type: "range",
|
|
5230
|
-
min: 0,
|
|
5231
|
-
max: 100,
|
|
5232
|
-
step: 5,
|
|
5233
|
-
value: this.rounding.interval
|
|
5351
|
+
...this.rounding.enabled ? [
|
|
5352
|
+
{
|
|
5353
|
+
label: this.$t("rounding.interval.title"),
|
|
5354
|
+
infoTooltip: this.$t("rounding.interval.tooltip"),
|
|
5355
|
+
inputs: [
|
|
5356
|
+
{
|
|
5357
|
+
component: "input",
|
|
5358
|
+
props: {
|
|
5359
|
+
value: (this.rounding.interval * 0.01).toFixed(2),
|
|
5360
|
+
type: "number"
|
|
5361
|
+
},
|
|
5362
|
+
onInput: (i) => this.updateRounding(
|
|
5363
|
+
"interval",
|
|
5364
|
+
parseInt(Math.max(i, 0.01) * 100, 10)
|
|
5365
|
+
)
|
|
5234
5366
|
},
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5367
|
+
{
|
|
5368
|
+
component: "input",
|
|
5369
|
+
props: {
|
|
5370
|
+
type: "range",
|
|
5371
|
+
min: 0,
|
|
5372
|
+
max: 100,
|
|
5373
|
+
step: 5,
|
|
5374
|
+
value: this.rounding.interval
|
|
5375
|
+
},
|
|
5376
|
+
onInput: (i) => {
|
|
5377
|
+
const e = parseInt(i, 10);
|
|
5378
|
+
this.updateRounding(
|
|
5379
|
+
"interval",
|
|
5380
|
+
e === 0 ? 1 : e
|
|
5381
|
+
);
|
|
5382
|
+
}
|
|
5238
5383
|
}
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5384
|
+
]
|
|
5385
|
+
},
|
|
5386
|
+
{
|
|
5387
|
+
label: this.$t("rounding.show.title"),
|
|
5388
|
+
infoTooltip: this.$t("rounding.show.tooltip"),
|
|
5389
|
+
inputs: [
|
|
5390
|
+
{
|
|
5391
|
+
component: "switch",
|
|
5392
|
+
props: {
|
|
5393
|
+
value: this.rounding.show
|
|
5394
|
+
},
|
|
5395
|
+
onInput: (i) => this.updateRounding("show", i)
|
|
5396
|
+
}
|
|
5397
|
+
]
|
|
5398
|
+
}
|
|
5399
|
+
] : []
|
|
5254
5400
|
];
|
|
5255
5401
|
}
|
|
5256
5402
|
},
|
|
@@ -5271,7 +5417,9 @@ const ya = {
|
|
|
5271
5417
|
};
|
|
5272
5418
|
},
|
|
5273
5419
|
setSeries(i) {
|
|
5274
|
-
const e = this.series, t = (this.tags || []).filter(
|
|
5420
|
+
const e = this.series, t = (this.tags || []).filter(
|
|
5421
|
+
(a) => !(a.type === "category" && a.name === e)
|
|
5422
|
+
);
|
|
5275
5423
|
t.push({ name: i, type: "category" }), this.tags = t, this.series = i;
|
|
5276
5424
|
}
|
|
5277
5425
|
}
|
|
@@ -5291,7 +5439,7 @@ var xa = function() {
|
|
|
5291
5439
|
wa,
|
|
5292
5440
|
!1,
|
|
5293
5441
|
null,
|
|
5294
|
-
"
|
|
5442
|
+
"c2cb1c6b",
|
|
5295
5443
|
null,
|
|
5296
5444
|
null
|
|
5297
5445
|
);
|
|
@@ -5349,9 +5497,13 @@ const Ta = Sa.exports;
|
|
|
5349
5497
|
const Da = H.component("ProBadge", {
|
|
5350
5498
|
name: "ProBadge",
|
|
5351
5499
|
render(i) {
|
|
5352
|
-
return i(
|
|
5353
|
-
|
|
5354
|
-
|
|
5500
|
+
return i(
|
|
5501
|
+
"div",
|
|
5502
|
+
{
|
|
5503
|
+
staticClass: "text-[10px] font-semibold text-white bg-primary-500 rounded leading-none px-1.5 py-1"
|
|
5504
|
+
},
|
|
5505
|
+
"Pro"
|
|
5506
|
+
);
|
|
5355
5507
|
}
|
|
5356
5508
|
}), Va = {
|
|
5357
5509
|
name: "MenuBlocks",
|
|
@@ -5469,15 +5621,26 @@ const Da = H.component("ProBadge", {
|
|
|
5469
5621
|
// if all blocks should be visible
|
|
5470
5622
|
showConvertEditableDialog: !1,
|
|
5471
5623
|
showConvertEditableDialogTarget: null,
|
|
5472
|
-
primaryFilterNames: [
|
|
5624
|
+
primaryFilterNames: [
|
|
5625
|
+
"header",
|
|
5626
|
+
"parties",
|
|
5627
|
+
"packageGroup",
|
|
5628
|
+
"multiGroupPricing",
|
|
5629
|
+
"titleAndText2",
|
|
5630
|
+
"answer"
|
|
5631
|
+
],
|
|
5473
5632
|
tooltips: {
|
|
5474
5633
|
parties: `
|
|
5475
5634
|
<div style="width: 160px;">
|
|
5476
5635
|
<svg style="border-radius: 2px; width="100%" viewBox="0 0 400 250" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5477
5636
|
<rect width="400" height="250" fill="white"/>
|
|
5478
|
-
<text fill="#686868" xml:space="preserve" style="white-space: pre" font-family="Inter" font-size="28" letter-spacing="0em"><tspan x="51" y="55.1818">${this.$t(
|
|
5637
|
+
<text fill="#686868" xml:space="preserve" style="white-space: pre" font-family="Inter" font-size="28" letter-spacing="0em"><tspan x="51" y="55.1818">${this.$t(
|
|
5638
|
+
"_common:to"
|
|
5639
|
+
).capitalize()}</tspan></text>
|
|
5479
5640
|
<text fill="black" xml:space="preserve" style="white-space: pre" font-family="Inter" font-size="32.9032" font-weight="600" letter-spacing="0em"><tspan x="52" y="98.9648">Nick Adams</tspan></text>
|
|
5480
|
-
<text fill="#686868" xml:space="preserve" style="white-space: pre" font-family="Inter" font-size="28" letter-spacing="0em"><tspan x="51" y="169.182">${this.$t(
|
|
5641
|
+
<text fill="#686868" xml:space="preserve" style="white-space: pre" font-family="Inter" font-size="28" letter-spacing="0em"><tspan x="51" y="169.182">${this.$t(
|
|
5642
|
+
"_common:from"
|
|
5643
|
+
).capitalize()}</tspan></text>
|
|
5481
5644
|
<text fill="black" xml:space="preserve" style="white-space: pre" font-family="Inter" font-size="32.9032" font-weight="600" letter-spacing="0em"><tspan x="52" y="212.965">Dorothy Crawford </tspan></text>
|
|
5482
5645
|
<line x1="27" y1="124.5" x2="400" y2="124.5" stroke="#808080"/>
|
|
5483
5646
|
</svg>
|
|
@@ -5727,13 +5890,19 @@ const Da = H.component("ProBadge", {
|
|
|
5727
5890
|
}), i;
|
|
5728
5891
|
},
|
|
5729
5892
|
availableBlocks() {
|
|
5730
|
-
return this.allBlocks.filter(
|
|
5893
|
+
return this.allBlocks.filter(
|
|
5894
|
+
({ isVisible: i }) => this.showAllBlocks || i
|
|
5895
|
+
);
|
|
5731
5896
|
},
|
|
5732
5897
|
primaryBlocks() {
|
|
5733
|
-
return this.availableBlocks.filter(
|
|
5898
|
+
return this.availableBlocks.filter(
|
|
5899
|
+
({ key: i }) => this.primaryFilterNames.includes(i)
|
|
5900
|
+
);
|
|
5734
5901
|
},
|
|
5735
5902
|
secondaryBlocks() {
|
|
5736
|
-
return this.availableBlocks.filter(
|
|
5903
|
+
return this.availableBlocks.filter(
|
|
5904
|
+
({ key: i }) => !this.primaryFilterNames.includes(i)
|
|
5905
|
+
);
|
|
5737
5906
|
},
|
|
5738
5907
|
activeSubMenuKey() {
|
|
5739
5908
|
return u(this.activeSubMenu, "[0].key") || null;
|
|
@@ -5798,9 +5967,13 @@ const Da = H.component("ProBadge", {
|
|
|
5798
5967
|
i.destroy();
|
|
5799
5968
|
}) : this.tippyInstances.destroy && this.tippyInstances.destroy());
|
|
5800
5969
|
},
|
|
5801
|
-
setSubMenuState: A(
|
|
5802
|
-
|
|
5803
|
-
|
|
5970
|
+
setSubMenuState: A(
|
|
5971
|
+
function(e) {
|
|
5972
|
+
this.activeSubMenu = e;
|
|
5973
|
+
},
|
|
5974
|
+
100,
|
|
5975
|
+
{ trailing: !0 }
|
|
5976
|
+
),
|
|
5804
5977
|
onMouseleaveDrawer() {
|
|
5805
5978
|
this.activeSubMenu = null, this.subMenuToShow = null;
|
|
5806
5979
|
},
|
|
@@ -5822,9 +5995,13 @@ const Da = H.component("ProBadge", {
|
|
|
5822
5995
|
},
|
|
5823
5996
|
getSubMenuPayload({ index: i, getBlockPayload: e }) {
|
|
5824
5997
|
if (typeof e != "function")
|
|
5825
|
-
throw new Error(
|
|
5998
|
+
throw new Error(
|
|
5999
|
+
"Invalid param getBlockPayload, should be type function"
|
|
6000
|
+
);
|
|
5826
6001
|
if (!this.activeSubMenu)
|
|
5827
|
-
throw new Error(
|
|
6002
|
+
throw new Error(
|
|
6003
|
+
"Active sub menu not set, need active menu to receive payload"
|
|
6004
|
+
);
|
|
5828
6005
|
const { key: t, contentData: a } = this.activeSubMenu[i];
|
|
5829
6006
|
return {
|
|
5830
6007
|
...e(t),
|
|
@@ -5847,7 +6024,9 @@ var Ba = function() {
|
|
|
5847
6024
|
{ data: e.primaryBlocks },
|
|
5848
6025
|
{ data: e.secondaryBlocks }
|
|
5849
6026
|
], function(o, l) {
|
|
5850
|
-
return t("div", { key: l }, [l > 0 ? t("div", { staticStyle: { height: "1px", "background-color": "hsl(0, 0%, 88%)", margin: "calc(1 * var(--rem))" } }) : e._e(), t("DragList", { attrs: { group: { name: "blocks", pull: "clone", put: !1 }, "get-child-payload": (r) => n(
|
|
6027
|
+
return t("div", { key: l }, [l > 0 ? t("div", { staticStyle: { height: "1px", "background-color": "hsl(0, 0%, 88%)", margin: "calc(1 * var(--rem))" } }) : e._e(), t("DragList", { attrs: { group: { name: "blocks", pull: "clone", put: !1 }, "get-child-payload": (r) => n(
|
|
6028
|
+
e.getSectionKey({ data: o.data, index: r })
|
|
6029
|
+
), "drop-placeholder": {
|
|
5851
6030
|
className: "drag-drop-menu-placeholder"
|
|
5852
6031
|
}, "get-ghost-parent": e.getGhostParent, "non-drag-area-selector": ".no-drag", "drag-handle-selector": ".drag-item", "group-name": "document-blocks", "ghost-class": "drag-drop-ghost", behaviour: "copy" } }, e._l(o.data, function(r) {
|
|
5853
6032
|
return t("DragItem", { key: r.key, class: { "drag-item": e.canDrag } }, [t("div", e._b(
|
|
@@ -5861,7 +6040,9 @@ var Ba = function() {
|
|
|
5861
6040
|
"div",
|
|
5862
6041
|
r.hasTooltip ? { "data-tooltip-key": r.key } : null,
|
|
5863
6042
|
!1
|
|
5864
|
-
), [t("CButton", { ref: "blockItem", refInFor: !0, staticClass: "option-row is-thinner is-left", class: {
|
|
6043
|
+
), [t("CButton", { ref: "blockItem", refInFor: !0, staticClass: "option-row is-thinner is-left", class: {
|
|
6044
|
+
"sub-menu-active": r.key === e.activeSubMenuKey
|
|
6045
|
+
}, staticStyle: { "padding-left": "1.5em", "padding-right": "2em", "border-radius": "0", "font-size": "14px", "border-color": "transparent" }, attrs: { disabled: r.disabled, wide: "", pattern: "secondary" }, on: { click: (p) => e.onUseBlock({ block: r, addBlock: a, openUpgradeModal: s }) } }, [t("div", { staticClass: "flex items-center", staticStyle: { width: "230px" } }, [t("div", { staticClass: "flex items-center", staticStyle: { width: "initial", flex: "1 1 auto" } }, [t("div", { staticClass: "option-image", domProps: { innerHTML: e._s(r.icon) } }), t("div", { staticClass: "option-title" }, [e._v(" " + e._s(e.$t(`blocks.${r.key}`)) + " ")])]), r.locked ? t("ProBadge") : !e.fixed && r.subMenu ? t("BaseIcon", { staticStyle: { color: "hsl(205, 10%, 65%)" }, attrs: { type: "chevron-right", size: "14" } }) : e._e()], 1)])], 1)]);
|
|
5865
6046
|
}), 1)], 1);
|
|
5866
6047
|
}), e._t("footer")], 2), t("transition", { attrs: { name: "slide-right" } }, [t("div", { directives: [{ name: "show", rawName: "v-show", value: e.activeSubMenu, expression: "activeSubMenu" }], staticClass: "submenu", on: { "&mouseover": function(o) {
|
|
5867
6048
|
e.subMenuToShow = e.activeSubMenu;
|
|
@@ -5878,7 +6059,7 @@ var Ba = function() {
|
|
|
5878
6059
|
Ma,
|
|
5879
6060
|
!1,
|
|
5880
6061
|
null,
|
|
5881
|
-
"
|
|
6062
|
+
"126e204b",
|
|
5882
6063
|
null,
|
|
5883
6064
|
null
|
|
5884
6065
|
);
|
|
@@ -5903,7 +6084,7 @@ const Ha = {
|
|
|
5903
6084
|
Fields: ma,
|
|
5904
6085
|
ExtensionTab: va,
|
|
5905
6086
|
DocumentGeneralSettings: _a,
|
|
5906
|
-
DocumentGuide: () => import("./index-
|
|
6087
|
+
DocumentGuide: () => import("./index-22c9f370.js"),
|
|
5907
6088
|
MenuBlocks: Fa,
|
|
5908
6089
|
Simplebar: k
|
|
5909
6090
|
},
|
|
@@ -5984,9 +6165,15 @@ var Aa = function() {
|
|
|
5984
6165
|
} } }), e.extensionTabType ? t("div", { staticClass: "tab-item", class: { "is-active": e.tab === "extension" }, on: { click: function(a) {
|
|
5985
6166
|
e.tab = "extension";
|
|
5986
6167
|
} } }, [t("div", { staticStyle: { width: "18px", height: "18px", background: "#343434", "border-radius": "4px", display: "flex", "align-items": "center", "justify-content": "center", "margin-top": "2px" }, style: [
|
|
5987
|
-
e.extensionTabType === "pipedrive" && {
|
|
5988
|
-
|
|
5989
|
-
|
|
6168
|
+
e.extensionTabType === "pipedrive" && {
|
|
6169
|
+
backgroundColor: "#3A3A3A"
|
|
6170
|
+
},
|
|
6171
|
+
e.extensionTabType === "hubspot" && {
|
|
6172
|
+
backgroundColor: "#FF8F3E"
|
|
6173
|
+
},
|
|
6174
|
+
e.extensionTabType === "salesforce" && {
|
|
6175
|
+
backgroundColor: "#009CDB"
|
|
6176
|
+
}
|
|
5990
6177
|
] }, [t("BaseIcon", { staticStyle: { color: "white" }, attrs: { type: e.extensionTabType, size: "14" } })], 1)]) : e._e(), t("div", { staticClass: "tab-item ml-[2px]", class: { "is-active": e.tab === "generalSettings" }, on: { click: function(a) {
|
|
5991
6178
|
e.tab = "generalSettings";
|
|
5992
6179
|
} } }, [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": e.onAddedBlock } }, [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: "w-full h-full" }, [e.tab === "design" ? t("Design", { attrs: { _document: e.state, _value: {
|
|
@@ -6016,7 +6203,7 @@ var Aa = function() {
|
|
|
6016
6203
|
Pa,
|
|
6017
6204
|
!1,
|
|
6018
6205
|
null,
|
|
6019
|
-
"
|
|
6206
|
+
"0e0165ab",
|
|
6020
6207
|
null,
|
|
6021
6208
|
null
|
|
6022
6209
|
);
|
|
@@ -6070,7 +6257,7 @@ var Oa = function() {
|
|
|
6070
6257
|
Ra,
|
|
6071
6258
|
!1,
|
|
6072
6259
|
null,
|
|
6073
|
-
"
|
|
6260
|
+
"9e35bda4",
|
|
6074
6261
|
null,
|
|
6075
6262
|
null
|
|
6076
6263
|
);
|
|
@@ -6168,7 +6355,7 @@ var qa = function() {
|
|
|
6168
6355
|
Na,
|
|
6169
6356
|
!1,
|
|
6170
6357
|
null,
|
|
6171
|
-
"
|
|
6358
|
+
"3d358acc",
|
|
6172
6359
|
null,
|
|
6173
6360
|
null
|
|
6174
6361
|
);
|
|
@@ -6217,7 +6404,7 @@ var Qa = function() {
|
|
|
6217
6404
|
Ja,
|
|
6218
6405
|
!1,
|
|
6219
6406
|
null,
|
|
6220
|
-
"
|
|
6407
|
+
"28a55097",
|
|
6221
6408
|
null,
|
|
6222
6409
|
null
|
|
6223
6410
|
);
|
|
@@ -6248,7 +6435,7 @@ var an = function() {
|
|
|
6248
6435
|
nn,
|
|
6249
6436
|
!1,
|
|
6250
6437
|
null,
|
|
6251
|
-
"
|
|
6438
|
+
"2d9aa751",
|
|
6252
6439
|
null,
|
|
6253
6440
|
null
|
|
6254
6441
|
);
|
|
@@ -6272,7 +6459,9 @@ const on = sn.exports, ln = {
|
|
|
6272
6459
|
};
|
|
6273
6460
|
var rn = function() {
|
|
6274
6461
|
var e = this, t = e._self._c;
|
|
6275
|
-
return t("div", { staticClass: "z-50 flex justify-end bottom-0 left-0 right-0 pb-[10px] px-[10px] pointer-events-none", class: e.position }, [t("a", { staticClass: "pointer-events-auto inline-flex items-center h-8 pl-1.5 pr-2 border rounded-md bg-black/80 border-white/30", attrs: { href: `https://${e.$t(
|
|
6462
|
+
return t("div", { staticClass: "z-50 flex justify-end bottom-0 left-0 right-0 pb-[10px] px-[10px] pointer-events-none", class: e.position }, [t("a", { staticClass: "pointer-events-auto inline-flex items-center h-8 pl-1.5 pr-2 border rounded-md bg-black/80 border-white/30", attrs: { href: `https://${e.$t(
|
|
6463
|
+
"_common:brand.domain"
|
|
6464
|
+
)}?utm_source=document&utm_medium=logo-banner`, target: "_blank" } }, [t("div", { staticClass: "w-5 h-5 mr-2 overflow-hidden bg-white rounded" }, [t("img", { staticClass: "w-full h-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")) + " ")])])]);
|
|
6276
6465
|
}, cn = [], dn = /* @__PURE__ */ c(
|
|
6277
6466
|
ln,
|
|
6278
6467
|
rn,
|
|
@@ -6296,7 +6485,7 @@ var mn = function() {
|
|
|
6296
6485
|
hn,
|
|
6297
6486
|
!1,
|
|
6298
6487
|
null,
|
|
6299
|
-
"
|
|
6488
|
+
"39c32da6",
|
|
6300
6489
|
null,
|
|
6301
6490
|
null
|
|
6302
6491
|
);
|
|
@@ -6437,28 +6626,35 @@ const ce = (i, e, t = "$children") => {
|
|
|
6437
6626
|
},
|
|
6438
6627
|
currency(i) {
|
|
6439
6628
|
var e, t;
|
|
6440
|
-
i && (Object.keys(((t = (e = this._document._doc) == null ? void 0 : e.data) == null ? void 0 : t.packageGroups) || []).forEach(
|
|
6441
|
-
|
|
6442
|
-
this.
|
|
6443
|
-
|
|
6444
|
-
|
|
6629
|
+
i && (Object.keys(((t = (e = this._document._doc) == null ? void 0 : e.data) == null ? void 0 : t.packageGroups) || []).forEach(
|
|
6630
|
+
(a) => {
|
|
6631
|
+
this._document._doc.data.packageGroups[a].packages.forEach((s, o) => {
|
|
6632
|
+
this.setFormValue({
|
|
6633
|
+
key: `data.packageGroups.${a}.packages[${o}].data.prices.currency`,
|
|
6634
|
+
value: i
|
|
6635
|
+
});
|
|
6445
6636
|
});
|
|
6446
|
-
}
|
|
6447
|
-
|
|
6637
|
+
}
|
|
6638
|
+
), this._document.allArticles.forEach((a, n) => {
|
|
6448
6639
|
const s = `articles[${n}].currency`;
|
|
6449
6640
|
this.setFormValue({ key: s, value: i });
|
|
6450
6641
|
}));
|
|
6451
6642
|
},
|
|
6452
6643
|
async externalReferences(i) {
|
|
6453
|
-
await Promise.all(
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6644
|
+
await Promise.all(
|
|
6645
|
+
(i || []).map(async ({ service: e, type: t, typeId: a }) => {
|
|
6646
|
+
if (t && a && e && this.$store.getters["settings/isAuthenticatedCRM"](e)) {
|
|
6647
|
+
const { data: n } = await L.getFields(
|
|
6648
|
+
e,
|
|
6649
|
+
{ type: t, typeId: a, populated: !0 }
|
|
6650
|
+
);
|
|
6651
|
+
this.setFormValue({
|
|
6652
|
+
key: "data.fields",
|
|
6653
|
+
value: { ...this._document.fields, ...n }
|
|
6654
|
+
});
|
|
6655
|
+
}
|
|
6656
|
+
})
|
|
6657
|
+
);
|
|
6462
6658
|
}
|
|
6463
6659
|
},
|
|
6464
6660
|
methods: {
|
|
@@ -6477,7 +6673,10 @@ const ce = (i, e, t = "$children") => {
|
|
|
6477
6673
|
// Move functions for sections
|
|
6478
6674
|
onBlockMove(i, e) {
|
|
6479
6675
|
const a = e + (i === "down" ? 1 : -1);
|
|
6480
|
-
a >= this._document.readLayout.length || a < 0 || this.onBlockListChange("foo", {
|
|
6676
|
+
a >= this._document.readLayout.length || a < 0 || this.onBlockListChange("foo", {
|
|
6677
|
+
removedIndex: e,
|
|
6678
|
+
addedIndex: a
|
|
6679
|
+
});
|
|
6481
6680
|
},
|
|
6482
6681
|
onBlockRemove(i, e) {
|
|
6483
6682
|
if (i.itemId.startsWith("packageGroup")) {
|
|
@@ -6487,7 +6686,10 @@ const ce = (i, e, t = "$children") => {
|
|
|
6487
6686
|
ce(i, (n) => {
|
|
6488
6687
|
n.value && Object.values(n.value).forEach((s) => {
|
|
6489
6688
|
this.removeFormKeyValue(`${s}`);
|
|
6490
|
-
let o = s.replace(
|
|
6689
|
+
let o = s.replace(
|
|
6690
|
+
/^data.(?!properties)/g,
|
|
6691
|
+
"data.properties."
|
|
6692
|
+
);
|
|
6491
6693
|
const l = o.split(".");
|
|
6492
6694
|
l.length > 3 && (o = l.slice(0, l.length - 1).join("."));
|
|
6493
6695
|
const r = `template.validationSchema.properties.${o}`;
|
|
@@ -6504,33 +6706,43 @@ const ce = (i, e, t = "$children") => {
|
|
|
6504
6706
|
Array.isArray(e.packages) && e.packages.forEach((a) => {
|
|
6505
6707
|
this.setFormValue({
|
|
6506
6708
|
key: "articles",
|
|
6507
|
-
value: u(this._document, "_doc.articles", []).filter(
|
|
6709
|
+
value: u(this._document, "_doc.articles", []).filter(
|
|
6710
|
+
({ packageId: n }) => n !== a.packageId
|
|
6711
|
+
)
|
|
6508
6712
|
});
|
|
6509
6713
|
});
|
|
6510
|
-
const t = Object.assign(
|
|
6511
|
-
|
|
6714
|
+
const t = Object.assign(
|
|
6715
|
+
{},
|
|
6716
|
+
u(this._document, "_doc.data.packageGroups")
|
|
6717
|
+
);
|
|
6718
|
+
delete t[i], this.setFormValue({ key: "data.packageGroups", value: t }), Object.keys(u(this._document, "_doc.data.packageGroups", {})).length || this.removeFormValue(
|
|
6719
|
+
"template.validationSchema.properties.data.properties.packageGroups"
|
|
6720
|
+
);
|
|
6512
6721
|
},
|
|
6513
6722
|
onBlockListChange(i, { removedIndex: e, addedIndex: t, payload: a }) {
|
|
6514
6723
|
if (e !== null && t !== null) {
|
|
6515
6724
|
if (e === t)
|
|
6516
6725
|
return;
|
|
6517
|
-
const n = Re(
|
|
6726
|
+
const n = Re(
|
|
6727
|
+
this.nestedReadLayout,
|
|
6728
|
+
e,
|
|
6729
|
+
t
|
|
6730
|
+
);
|
|
6518
6731
|
this.setFormValue({
|
|
6519
6732
|
key: "template.views.read.nodes",
|
|
6520
6733
|
value: B(n)
|
|
6521
6734
|
});
|
|
6522
6735
|
} else if (!e && t !== null) {
|
|
6523
|
-
const {
|
|
6524
|
-
sectionKey: n,
|
|
6525
|
-
createNewSection: s,
|
|
6526
|
-
addValidation: o,
|
|
6527
|
-
contentData: l
|
|
6528
|
-
} = a, {
|
|
6736
|
+
const { sectionKey: n, createNewSection: s, addValidation: o, contentData: l } = a, {
|
|
6529
6737
|
readView: r,
|
|
6530
6738
|
validation: p,
|
|
6531
6739
|
data: C,
|
|
6532
6740
|
onAddFnName: V = "onAdd"
|
|
6533
|
-
} = s({
|
|
6741
|
+
} = s({
|
|
6742
|
+
sectionKey: n,
|
|
6743
|
+
document: this._document,
|
|
6744
|
+
contentData: l
|
|
6745
|
+
});
|
|
6534
6746
|
o({ validation: p, data: C });
|
|
6535
6747
|
const de = Ge({ tree: r }), pe = [
|
|
6536
6748
|
...this.nestedReadLayout.slice(0, t),
|
|
@@ -6600,7 +6812,9 @@ var vn = function() {
|
|
|
6600
6812
|
e.isDragging = !1;
|
|
6601
6813
|
}, drop: function(l) {
|
|
6602
6814
|
return e.onBlockListChange("blocks-list", l);
|
|
6603
|
-
} } }, e._l(e._document.getReadLayout({
|
|
6815
|
+
} } }, e._l(e._document.getReadLayout({
|
|
6816
|
+
showHiddenNodes: e.isEditView
|
|
6817
|
+
}), function(l, r) {
|
|
6604
6818
|
return t(e.canMove ? "DragItem" : "div", { key: l.nodeId, tag: "component", class: [
|
|
6605
6819
|
{
|
|
6606
6820
|
"drag-item": e.canMove
|
|
@@ -6613,7 +6827,11 @@ var vn = function() {
|
|
|
6613
6827
|
e.drawerState.openSection = p;
|
|
6614
6828
|
}, "toggle-visible": function(p) {
|
|
6615
6829
|
return e.onBlockToggleVisible(l, p);
|
|
6616
|
-
} } }, [t("DynamicChapter", { attrs: { "component-name": l.componentName, "component-props": {
|
|
6830
|
+
} } }, [t("DynamicChapter", { attrs: { "component-name": l.componentName, "component-props": {
|
|
6831
|
+
...l.props,
|
|
6832
|
+
_document: e._document,
|
|
6833
|
+
_value: l.value
|
|
6834
|
+
}, children: l.children, "parent-size": e.parentSize, "is-visible": l.isVisible, "on-input": ({ key: p, value: C, options: V }) => e.setFormValue({ key: p, value: C, options: V }), "on-remove": ({ key: p }) => e.removeFormValue(p), "on-mount": (p) => e.onAddBlockMount(l.nodeId, p) } })], 1)], 1);
|
|
6617
6835
|
}), 1) : e._e(), e.canShowBanner ? t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ isProLike: l }) {
|
|
6618
6836
|
return [!e.isEditView && !l ? t("LogoBanner", { attrs: { position: "sticky" } }) : e._e()];
|
|
6619
6837
|
} }], null, !0) }) : e._e()], 1);
|
|
@@ -6631,7 +6849,7 @@ var vn = function() {
|
|
|
6631
6849
|
yn,
|
|
6632
6850
|
!1,
|
|
6633
6851
|
null,
|
|
6634
|
-
"
|
|
6852
|
+
"7bbc9812",
|
|
6635
6853
|
null,
|
|
6636
6854
|
null
|
|
6637
6855
|
);
|
|
@@ -6681,10 +6899,15 @@ const Tn = {
|
|
|
6681
6899
|
};
|
|
6682
6900
|
var Dn = function() {
|
|
6683
6901
|
var e = this, t = e._self._c;
|
|
6684
|
-
return t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({
|
|
6685
|
-
|
|
6902
|
+
return t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({
|
|
6903
|
+
accountType: a,
|
|
6904
|
+
trialDaysLeft: n,
|
|
6905
|
+
openUpgradeModal: s,
|
|
6906
|
+
initialFreePremiumDays: o
|
|
6907
|
+
}) {
|
|
6908
|
+
return [a === "trial" ? t("v-popover", { attrs: { "popover-inner-class": "bg-white rounded-md shadow-xl" } }, [t("div", { staticClass: "relative flex flex-col justify-center px-2 mr-2 text-xs font-semibold rounded-md cursor-pointer select-none bg-gray-200/50 h-9 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: "h-[3px] bg-gray-300 absolute bottom-1 left-2 right-2 rounded-full ring-1 ring-white/10" }, [t("div", { staticClass: "absolute h-full rounded-full bg-gradient-to-r from-green-500 via-emerald-500 to-primary-600", style: {
|
|
6686
6909
|
width: e.clamp(n / o * 100, 0, 100) + "%"
|
|
6687
|
-
} })])]), t("div", { staticClass: "p-4 text-sm w-56", attrs: { slot: "popover" }, slot: "popover" }, [t("div", { staticClass: "font-semibold" }, [e._v(" " + e._s(e.$t("title.1")) + " "), t("span", { staticClass: "inline-flex py-[3px] px-1.5 leading-none bg-primary-100 border border-primary-200 text-primary-800 rounded-md text-xs" }, [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 py-[3px] px-1.5 leading-none bg-gray-200 border border-gray-300 text-gray-600 rounded-md text-xs font-semibold" }, [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()];
|
|
6910
|
+
} })])]), t("div", { staticClass: "p-4 text-sm w-56", attrs: { slot: "popover" }, slot: "popover" }, [t("div", { staticClass: "font-semibold" }, [e._v(" " + e._s(e.$t("title.1")) + " "), t("span", { staticClass: "inline-flex py-[3px] px-1.5 leading-none bg-primary-100 border border-primary-200 text-primary-800 rounded-md text-xs" }, [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 py-[3px] px-1.5 leading-none bg-gray-200 border border-gray-300 text-gray-600 rounded-md text-xs font-semibold" }, [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()];
|
|
6688
6911
|
} }]) });
|
|
6689
6912
|
}, Vn = [], Bn = /* @__PURE__ */ c(
|
|
6690
6913
|
Tn,
|
|
@@ -6692,7 +6915,7 @@ var Dn = function() {
|
|
|
6692
6915
|
Vn,
|
|
6693
6916
|
!1,
|
|
6694
6917
|
null,
|
|
6695
|
-
"
|
|
6918
|
+
"a8e48834",
|
|
6696
6919
|
null,
|
|
6697
6920
|
null
|
|
6698
6921
|
);
|
|
@@ -6834,7 +7057,7 @@ var Fn = function() {
|
|
|
6834
7057
|
} }], null, !0) })], 1)];
|
|
6835
7058
|
})], 2)];
|
|
6836
7059
|
} }], null, !0) })];
|
|
6837
|
-
} }], null, !1,
|
|
7060
|
+
} }], null, !1, 3160700437) })], 1)], 2), t("DocumentSend", { ref: "documentSend", attrs: { _document: e.document, _value: {
|
|
6838
7061
|
expiresAt: "data.expiresAt",
|
|
6839
7062
|
personalMessage: "data.personalMessage",
|
|
6840
7063
|
defaultAnswerMethod: "data.defaultAnswerMethod",
|
|
@@ -6996,7 +7219,8 @@ const Gn = {
|
|
|
6996
7219
|
"beforeSave",
|
|
6997
7220
|
"beforeSend",
|
|
6998
7221
|
"setFormValue",
|
|
6999
|
-
"removeFormValue"
|
|
7222
|
+
"removeFormValue",
|
|
7223
|
+
"galleryCategory"
|
|
7000
7224
|
])
|
|
7001
7225
|
],
|
|
7002
7226
|
i18nOptions: {
|
|
@@ -7137,7 +7361,7 @@ const Gn = {
|
|
|
7137
7361
|
};
|
|
7138
7362
|
var Un = function() {
|
|
7139
7363
|
var e = this, t = e._self._c;
|
|
7140
|
-
return t("div", { staticClass: "flex flex-col w-full h-full" }, [e.view === "templateSelect" ? t("div", { staticClass: "flex flex-col w-full h-full" }, [t("div", { staticClass: "relative flex items-center justify-center h-16 border-b border-gray-200" }, [t("CButton", { staticClass: "absolute -translate-y-1/2 top-1/2 left-4", attrs: { icon: "x", circle: "" }, on: { click: e.close } }), t("div", [e._v(e._s(e.$t("selectNavTitle")))])], 1), t("TemplateSelector", { staticClass: "min-h-0 body-scroll", attrs: { "on-use-template": e.onTemplateSelect, "show-gallery": e.feature("templateGallery"), "show-gallery-template-author": !1, "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-document": e.onSaveDocument, "is-loading": e.isPosting, close: e.close, "go-back": e.document.id ? null : e.goBack, "can-show-banner": !1 } }) : t("PostSend", { attrs: { document: e.document, "on-send-func": e.close, "on-close-func": e.close } })], 1);
|
|
7364
|
+
return t("div", { staticClass: "flex flex-col w-full h-full" }, [e.view === "templateSelect" ? t("div", { staticClass: "flex flex-col w-full h-full" }, [t("div", { staticClass: "relative flex items-center justify-center h-16 border-b border-gray-200" }, [t("CButton", { staticClass: "absolute -translate-y-1/2 top-1/2 left-4", attrs: { icon: "x", circle: "" }, on: { click: e.close } }), t("div", [e._v(e._s(e.$t("selectNavTitle")))])], 1), t("TemplateSelector", { staticClass: "min-h-0 body-scroll", attrs: { "on-use-template": e.onTemplateSelect, "show-gallery": e.feature("templateGallery"), "show-gallery-template-author": !1, "gallery-category": e.galleryCategory, "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-document": e.onSaveDocument, "is-loading": e.isPosting, close: e.close, "go-back": e.document.id ? null : e.goBack, "can-show-banner": !1 } }) : t("PostSend", { attrs: { document: e.document, "on-send-func": e.close, "on-close-func": e.close } })], 1);
|
|
7141
7365
|
}, Wn = [], qn = /* @__PURE__ */ c(
|
|
7142
7366
|
Gn,
|
|
7143
7367
|
Un,
|