@cling-se/widget 0.9.25 → 0.9.27
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-b8390699.js → AddClientCallout-dd99d0d5.js} +5 -5
- package/dist/{AnswerModal-87be4c0b.js → AnswerModal-6afa03a5.js} +82 -70
- package/dist/{AttachmentItem-24ad77d3.js → AttachmentItem-f77592a9.js} +3 -3
- package/dist/{BaseDatePicker-5a89a264.js → BaseDatePicker-8a39d0c2.js} +1 -1
- package/dist/{BaseInput-f180db14.js → BaseInput-dbd3178b.js} +1 -1
- package/dist/{BaseUpload-529d21bb.js → BaseUpload-38ad6097.js} +2 -2
- package/dist/{BlockMedia-93ee8699.js → BlockMedia-843990e1.js} +1 -1
- package/dist/{CCallout-1c3a4b40.js → CCallout-c0f901a7.js} +2 -2
- package/dist/{CDropdownItem-109be2e2.js → CDropdownItem-fa88e012.js} +1 -1
- package/dist/{CField-d2390b15.js → CField-3a437b10.js} +1 -1
- package/dist/{CPhoneFormat-570a91d9.js → CPhoneFormat-a9139d94.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-49fcd521.js → CSlider.vue_vue_type_style_index_0_lang-76a4be84.js} +1 -1
- package/dist/{ClientAutocomplete-ee0b54d5.js → ClientAutocomplete-7cb8a2e1.js} +2 -2
- package/dist/{ClientModal-dc178083.js → ClientModal-26774205.js} +8 -8
- package/dist/{ColorPicker-94e3b1d4.js → ColorPicker-98baa7d4.js} +38 -38
- package/dist/{CompanyModal-6ef7dcdc.js → CompanyModal-897f5534.js} +3 -3
- package/dist/{ContentWrapper-95159ca6.js → ContentWrapper-e1e093b7.js} +13 -13
- package/dist/{CoverBlockSettings-647e6b18.js → CoverBlockSettings-97d062e1.js} +8 -8
- package/dist/{DocAnswer-299edc71.js → DocAnswer-a8c69056.js} +4 -4
- package/dist/{DocDetails-c740d0a6.js → DocDetails-f092d872.js} +4 -4
- package/dist/{DocForm-42c0c67c.js → DocForm-889f2750.js} +508 -487
- package/dist/{DocFormSend-1f9c446f.js → DocFormSend-58b44424.js} +18 -18
- package/dist/{DocLinks-2c63c0dc.js → DocLinks-1bdb3110.js} +2 -2
- package/dist/{DocModalBase-62c42e04.js → DocModalBase-afd069cd.js} +1 -1
- package/dist/{DocPrint-cea9de40.js → DocPrint-3ff914fd.js} +4 -2
- package/dist/{DocReceipt-61b17b52.js → DocReceipt-19de0274.js} +1 -1
- package/dist/{DocSendReminder-d69f4a3f.js → DocSendReminder-23716d0b.js} +1 -1
- package/dist/{DocTextEditor-e6008feb.js → DocTextEditor-6b614e43.js} +8 -8
- package/dist/{DocTimeline-480b7adf.js → DocTimeline-df7cb5f4.js} +3 -3
- package/dist/{DocumentClient-6e36a622.js → DocumentClient-61d7e50f.js} +7 -7
- package/dist/{DocumentLayout-81ae175c.js → DocumentLayout-86646c16.js} +143 -143
- package/dist/{DocumentLogotype-dea21bad.js → DocumentLogotype-14929724.js} +3 -3
- package/dist/{DocumentVoided-1b3a2ab5.js → DocumentVoided-a9d41411.js} +1 -1
- package/dist/{EmbedInput-fbbf12f1.js → EmbedInput-71fd2f2a.js} +2 -2
- package/dist/{EmbedSettings-1063c1e4.js → EmbedSettings-2254a7c3.js} +3 -3
- package/dist/{ErrorCallout-82e50910.js → ErrorCallout-b482d289.js} +1 -1
- package/dist/{FilePreviewModal-dc188de1.js → FilePreviewModal-1802c766.js} +5 -5
- package/dist/{HeaderSettings-663e5b4f.js → HeaderSettings-10cfcc90.js} +16 -16
- package/dist/{ImageSelectModal-a76f7e4b.js → ImageSelectModal-594227d6.js} +9 -9
- package/dist/{ImageUploadWrapper-1c6f0ae4.js → ImageUploadWrapper-452e463d.js} +12 -12
- package/dist/{Index-e63f7ce8.js → Index-0966b580.js} +8 -8
- package/dist/{Index-b1f07b87.js → Index-098078af.js} +2 -2
- package/dist/{Index-0428c10a.js → Index-0f8c36f0.js} +2 -2
- package/dist/{Index-0a6802ca.js → Index-17b82242.js} +16 -16
- package/dist/{Index-ad36c47b.js → Index-2131fa69.js} +4 -4
- package/dist/{Index-2c3b5b59.js → Index-225e8cef.js} +10 -10
- package/dist/{Index-f05733c2.js → Index-235cb5f0.js} +9 -9
- package/dist/{Index-12f4ded1.js → Index-2564d031.js} +5 -5
- package/dist/{Index-6fe85402.js → Index-2621d373.js} +4 -4
- package/dist/{Index-58ee00b1.js → Index-28ce2c21.js} +3 -3
- package/dist/{Index-ca9d1747.js → Index-2e9bbe9d.js} +4 -4
- package/dist/{Index-c0dd3309.js → Index-354b4c80.js} +2 -2
- package/dist/{Index-18c5bc6b.js → Index-3ee432f2.js} +6 -6
- package/dist/{Index-cb5b055d.js → Index-529ba57d.js} +2 -2
- package/dist/{Index-5fc2d521.js → Index-5736c4f7.js} +39 -39
- package/dist/{Index-4b1074d0.js → Index-5921d2de.js} +7 -7
- package/dist/{Index-3f3c03a0.js → Index-5d37606d.js} +14 -14
- package/dist/{Index-a7e8812e.js → Index-780a5e8f.js} +2 -2
- package/dist/{Index-cea034a9.js → Index-83ef778b.js} +4 -4
- package/dist/{Index-b457cd00.js → Index-84a484ed.js} +9 -9
- package/dist/{Index-c1b73537.js → Index-88854d18.js} +6 -6
- package/dist/{Index-f62acccc.js → Index-8fc860de.js} +6 -6
- package/dist/{Index-7c14fd96.js → Index-9fd01853.js} +4 -4
- package/dist/{Index-1914be9d.js → Index-a7b08aa1.js} +2 -2
- package/dist/{Index-5a61849b.js → Index-a8206849.js} +2 -2
- package/dist/{Index-98237ab3.js → Index-be92553f.js} +4 -4
- package/dist/{Index-90cc1544.js → Index-c1d06810.js} +7 -7
- package/dist/{Index-aea14240.js → Index-d036b1fb.js} +2 -2
- package/dist/{Index-ffedf35a.js → Index-d645b179.js} +4 -4
- package/dist/{Index-c2ded827.js → Index-dceaf93a.js} +4 -4
- package/dist/{Index-c1b546ad.js → Index-ddfe7813.js} +8 -8
- package/dist/{Index-f9bbee77.js → Index-e361a308.js} +1 -1
- package/dist/{Index-81c49dd8.js → Index-f1afee11.js} +4 -4
- package/dist/{Index-0078c287.js → Index-fe07902d.js} +1 -1
- package/dist/{InputToggleRow-176f3685.js → InputToggleRow-04cc08de.js} +1 -1
- package/dist/{IsPremiumPreStep-f3040c7a.js → IsPremiumPreStep-94901e25.js} +17 -17
- package/dist/{ManualPopover-b7c65a0c.js → ManualPopover-2fb96f78.js} +1 -1
- package/dist/{MediaWrapper-d1f91245.js → MediaWrapper-abd398c1.js} +3 -3
- package/dist/{NotBindingText-00d1b175.js → NotBindingText-92aa597b.js} +2 -2
- package/dist/{PackageGroup-89033998.js → PackageGroup-ea7e992f.js} +12 -12
- package/dist/{PdfTerms-0e214875.js → PdfTerms-aa7ad8cd.js} +5 -5
- package/dist/{PdfViewer-00d4de8d.js → PdfViewer-a0c897a2.js} +2 -2
- package/dist/{PlainHtml-00ce6fd0.js → PlainHtml-234e0e43.js} +1 -1
- package/dist/{PriceHeader-553f4ff0.js → PriceHeader-1b81d019.js} +13 -13
- package/dist/{SearchApi-e5cde5cf.js → SearchApi-953a1b13.js} +2 -2
- package/dist/{Setup-7f309cf0.js → Setup-7928d952.js} +1 -1
- package/dist/{TermsSettings-74d7c2d9.js → TermsSettings-d40ea3f3.js} +7 -7
- package/dist/{ThemeColorRow-0b7ad102.js → ThemeColorRow-0a8e8f1d.js} +3 -3
- package/dist/{ToggleBinding-33b62557.js → ToggleBinding-1d872e1c.js} +3 -3
- package/dist/{UploadModal-6f43c373.js → UploadModal-006e32ff.js} +3 -3
- package/dist/{VideoPlayerInput-81e64059.js → VideoPlayerInput-d2418095.js} +3 -3
- package/dist/{VideoPlayerSettings-f3445401.js → VideoPlayerSettings-d1fa2cde.js} +4 -4
- package/dist/{VideoSelectModal-736176ac.js → VideoSelectModal-84cc0824.js} +8 -8
- package/dist/{answerDocumentMixin-0b94b90e.js → answerDocumentMixin-a896581b.js} +3 -3
- package/dist/{debounce-9410d5d6.js → debounce-b30e6f76.js} +13 -13
- package/dist/{focusDrawerMixin-14a97cd3.js → focusDrawerMixin-8b4c70e5.js} +1 -1
- package/dist/{formComponentsInstall-6a61db21.js → formComponentsInstall-07c350b0.js} +12 -12
- package/dist/{formDrawerState-b23639bd.js → formDrawerState-e3da6074.js} +1 -1
- package/dist/{formValidationMixin-047668c3.js → formValidationMixin-05028cb3.js} +1 -1
- package/dist/{image-cd324ded.js → image-1b55e804.js} +1 -1
- package/dist/{index-22c9f370.js → index-3197309d.js} +2 -2
- package/dist/{index-3003bff6.js → index-71ec8e8e.js} +4 -4
- package/dist/{index-569793de.js → index-7300a7f5.js} +26 -21
- package/dist/{index-ad0c2be7.js → index-8a437f3d.js} +42 -42
- package/dist/{index-b937c6d2.js → index-a03d80b9.js} +9 -9
- package/dist/{index-a62beb97.js → index-fe840ba4.js} +5 -5
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +139 -139
- package/dist/{main-4f27b552.js → main-989855f4.js} +188 -149
- package/dist/{mapFormMixin-9f326a09.js → mapFormMixin-e6b8b5ef.js} +1 -1
- package/dist/{publicSenderState-ec8a9ad6.js → publicSenderState-4d6c69b4.js} +1 -1
- package/dist/{simplebar.min-c555666e.js → simplebar.min-1ce579b3.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{template-70f4518f.js → template-641a5e0d.js} +2 -2
- package/dist/{throttle-a0a6c1c7.js → throttle-440ddd80.js} +2 -2
- package/dist/{tinycolor-2fdfb0b3.js → tinycolor-f6c2d00e.js} +1 -1
- package/dist/{tippy.esm-e8cf7685.js → tippy.esm-75dfd42d.js} +45 -45
- package/dist/{utils-805171cf.js → utils-e1c6e4eb.js} +1 -1
- package/dist/{vuedraggable.umd-79e4b33e.js → vuedraggable.umd-909ba53a.js} +63 -63
- package/package.json +1 -1
|
@@ -1,109 +1,109 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b2 as fe, b3 as ge, b4 as q, b5 as Ce, b6 as N, b7 as j, b8 as ve, b9 as ye, ba as xe, bb as we, j as K, g as m, n as c, u as Y, b as u, aA as be, c as f, C as Q, bc as _e, bd as ke, J, K as H, h as D, be as Le, bf as $e, B as Se, bg as Te, bh as De, b1 as Ve, bi as Be, P as d, Y as h, aY as y, bj as Me, bk as Ie, bl as Fe, bm as He, E as Ae, bn as Pe, d as Ee, i as L, S as ze, au as Ze, U as Oe, bo as Ue, V as A, a_ as X, a$ as ee, I as E, bp as B, b0 as Re, bq as Ge, br as I, r as We, m as qe, a as Ne, bs as je } from "./main-989855f4.js";
|
|
2
2
|
import { m as g, a as x } from "./vuex.esm-4a0fff7c.js";
|
|
3
|
-
import "./index-
|
|
3
|
+
import "./index-8a437f3d.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
|
|
7
|
-
import { D as
|
|
8
|
-
import { s as k } from "./simplebar.min-
|
|
9
|
-
import { B as
|
|
10
|
-
import { d as
|
|
11
|
-
import { c as
|
|
12
|
-
import { a as
|
|
13
|
-
import { m as S } from "./mapFormMixin-
|
|
14
|
-
import { S as
|
|
15
|
-
import { f as
|
|
16
|
-
import { s as v } from "./formDrawerState-
|
|
17
|
-
import { F as
|
|
18
|
-
import { S as
|
|
19
|
-
import { o as
|
|
20
|
-
import { s as
|
|
21
|
-
import { o as
|
|
22
|
-
import
|
|
5
|
+
import { w as $ } from "./CDropdownItem-fa88e012.js";
|
|
6
|
+
import { a as b, I as _, b as Ke, c as Ye } from "./IsPremiumPreStep-94901e25.js";
|
|
7
|
+
import { D as Qe, l as Je, g as Xe, W as et, b as tt, a as it } from "./DocumentLayout-86646c16.js";
|
|
8
|
+
import { s as k } from "./simplebar.min-1ce579b3.js";
|
|
9
|
+
import { B as at } from "./BlockMedia-843990e1.js";
|
|
10
|
+
import { d as P, t as nt } from "./debounce-b30e6f76.js";
|
|
11
|
+
import { c as st, d as ot } from "./template-641a5e0d.js";
|
|
12
|
+
import { a as lt } from "./tinycolor-f6c2d00e.js";
|
|
13
|
+
import { m as S } from "./mapFormMixin-e6b8b5ef.js";
|
|
14
|
+
import { S as rt, C as te, i as ct } from "./formComponentsInstall-07c350b0.js";
|
|
15
|
+
import { f as dt } from "./formValidationMixin-05028cb3.js";
|
|
16
|
+
import { s as v } from "./formDrawerState-e3da6074.js";
|
|
17
|
+
import { F as ie, d as pt } from "./tippy.esm-75dfd42d.js";
|
|
18
|
+
import { S as ut } from "./CSlider.vue_vue_type_style_index_0_lang-76a4be84.js";
|
|
19
|
+
import { o as mt, d as ht } from "./vuedraggable.umd-909ba53a.js";
|
|
20
|
+
import { s as ft } from "./dom-962579a6.js";
|
|
21
|
+
import { o as gt } from "./index-7300a7f5.js";
|
|
22
|
+
import Ct from "./AnswerModal-6afa03a5.js";
|
|
23
23
|
import "./anime.es-e284c852.js";
|
|
24
|
-
import "./image-
|
|
24
|
+
import "./image-1b55e804.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-8a39d0c2.js";
|
|
27
|
+
import "./ErrorCallout-b482d289.js";
|
|
28
|
+
import "./AddClientCallout-dd99d0d5.js";
|
|
29
|
+
import "./ClientAutocomplete-7cb8a2e1.js";
|
|
30
|
+
import "./SearchApi-953a1b13.js";
|
|
31
|
+
import "./ClientModal-26774205.js";
|
|
32
|
+
import "./CCallout-c0f901a7.js";
|
|
33
|
+
import "./CField-3a437b10.js";
|
|
34
34
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
35
|
-
import "./ColorPicker-
|
|
36
|
-
var
|
|
37
|
-
function
|
|
35
|
+
import "./ColorPicker-98baa7d4.js";
|
|
36
|
+
var vt = fe, yt = ge, xt = q;
|
|
37
|
+
function wt(i, e, t) {
|
|
38
38
|
for (var a = -1, n = e.length, s = {}; ++a < n; ) {
|
|
39
|
-
var o = e[a], l =
|
|
40
|
-
t(l, o) &&
|
|
39
|
+
var o = e[a], l = vt(i, o);
|
|
40
|
+
t(l, o) && yt(s, xt(o, i), l);
|
|
41
41
|
}
|
|
42
42
|
return s;
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
function
|
|
44
|
+
var bt = wt;
|
|
45
|
+
function _t(i, e) {
|
|
46
46
|
return i != null && e in Object(i);
|
|
47
47
|
}
|
|
48
|
-
var
|
|
49
|
-
function
|
|
50
|
-
return
|
|
48
|
+
var kt = _t, Lt = Ce, $t = N, St = "[object Arguments]";
|
|
49
|
+
function Tt(i) {
|
|
50
|
+
return $t(i) && Lt(i) == St;
|
|
51
51
|
}
|
|
52
|
-
var
|
|
52
|
+
var Dt = Tt, z = Dt, Vt = N, ae = Object.prototype, Bt = ae.hasOwnProperty, Mt = ae.propertyIsEnumerable, It = z(function() {
|
|
53
53
|
return arguments;
|
|
54
|
-
}()) ?
|
|
55
|
-
return
|
|
56
|
-
},
|
|
57
|
-
function
|
|
58
|
-
return typeof i == "number" && i > -1 && i % 1 == 0 && i <=
|
|
54
|
+
}()) ? z : function(i) {
|
|
55
|
+
return Vt(i) && Bt.call(i, "callee") && !Mt.call(i, "callee");
|
|
56
|
+
}, ne = It, Ft = 9007199254740991;
|
|
57
|
+
function Ht(i) {
|
|
58
|
+
return typeof i == "number" && i > -1 && i % 1 == 0 && i <= Ft;
|
|
59
59
|
}
|
|
60
|
-
var
|
|
60
|
+
var At = Ht, Pt = q, Et = ne, zt = j, Zt = ve, Ot = At, Ut = ye;
|
|
61
61
|
function Rt(i, e, t) {
|
|
62
|
-
e =
|
|
62
|
+
e = Pt(e, i);
|
|
63
63
|
for (var a = -1, n = e.length, s = !1; ++a < n; ) {
|
|
64
|
-
var o =
|
|
64
|
+
var o = Ut(e[a]);
|
|
65
65
|
if (!(s = i != null && t(i, o)))
|
|
66
66
|
break;
|
|
67
67
|
i = i[o];
|
|
68
68
|
}
|
|
69
|
-
return s || ++a != n ? s : (n = i == null ? 0 : i.length, !!n &&
|
|
69
|
+
return s || ++a != n ? s : (n = i == null ? 0 : i.length, !!n && Ot(n) && Zt(o, n) && (zt(i) || Et(i)));
|
|
70
70
|
}
|
|
71
|
-
var Gt = Rt,
|
|
72
|
-
function
|
|
73
|
-
return i != null &&
|
|
71
|
+
var Gt = Rt, Wt = kt, qt = Gt;
|
|
72
|
+
function Nt(i, e) {
|
|
73
|
+
return i != null && qt(i, e, Wt);
|
|
74
74
|
}
|
|
75
|
-
var
|
|
76
|
-
function
|
|
77
|
-
return
|
|
78
|
-
return
|
|
75
|
+
var jt = Nt, Kt = bt, Yt = jt;
|
|
76
|
+
function Qt(i, e) {
|
|
77
|
+
return Kt(i, e, function(t, a) {
|
|
78
|
+
return Yt(i, a);
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
|
-
var
|
|
82
|
-
function
|
|
81
|
+
var Jt = Qt;
|
|
82
|
+
function Xt(i, e) {
|
|
83
83
|
for (var t = -1, a = e.length, n = i.length; ++t < a; )
|
|
84
84
|
i[n + t] = e[t];
|
|
85
85
|
return i;
|
|
86
86
|
}
|
|
87
|
-
var
|
|
88
|
-
function
|
|
89
|
-
return
|
|
87
|
+
var e1 = Xt, Z = xe, t1 = ne, i1 = j, O = Z ? Z.isConcatSpreadable : void 0;
|
|
88
|
+
function a1(i) {
|
|
89
|
+
return i1(i) || t1(i) || !!(O && i && i[O]);
|
|
90
90
|
}
|
|
91
|
-
var
|
|
92
|
-
function
|
|
91
|
+
var n1 = a1, s1 = e1, o1 = n1;
|
|
92
|
+
function se(i, e, t, a, n) {
|
|
93
93
|
var s = -1, o = i.length;
|
|
94
|
-
for (t || (t =
|
|
94
|
+
for (t || (t = o1), n || (n = []); ++s < o; ) {
|
|
95
95
|
var l = i[s];
|
|
96
|
-
e > 0 && t(l) ? e > 1 ?
|
|
96
|
+
e > 0 && t(l) ? e > 1 ? se(l, e - 1, t, a, n) : s1(n, l) : a || (n[n.length] = l);
|
|
97
97
|
}
|
|
98
98
|
return n;
|
|
99
99
|
}
|
|
100
|
-
var
|
|
101
|
-
function
|
|
100
|
+
var l1 = se, r1 = l1;
|
|
101
|
+
function c1(i) {
|
|
102
102
|
var e = i == null ? 0 : i.length;
|
|
103
|
-
return e ?
|
|
103
|
+
return e ? r1(i, 1) : [];
|
|
104
104
|
}
|
|
105
|
-
var
|
|
106
|
-
function
|
|
105
|
+
var d1 = c1;
|
|
106
|
+
function p1(i, e, t) {
|
|
107
107
|
switch (t.length) {
|
|
108
108
|
case 0:
|
|
109
109
|
return i.call(e);
|
|
@@ -116,55 +116,55 @@ function d1(i, e, t) {
|
|
|
116
116
|
}
|
|
117
117
|
return i.apply(e, t);
|
|
118
118
|
}
|
|
119
|
-
var
|
|
120
|
-
function
|
|
121
|
-
return e =
|
|
122
|
-
for (var a = arguments, n = -1, s =
|
|
119
|
+
var u1 = p1, m1 = u1, U = Math.max;
|
|
120
|
+
function h1(i, e, t) {
|
|
121
|
+
return e = U(e === void 0 ? i.length - 1 : e, 0), function() {
|
|
122
|
+
for (var a = arguments, n = -1, s = U(a.length - e, 0), o = Array(s); ++n < s; )
|
|
123
123
|
o[n] = a[e + n];
|
|
124
124
|
n = -1;
|
|
125
125
|
for (var l = Array(e + 1); ++n < e; )
|
|
126
126
|
l[n] = a[n];
|
|
127
|
-
return l[e] = t(o),
|
|
127
|
+
return l[e] = t(o), m1(i, this, l);
|
|
128
128
|
};
|
|
129
129
|
}
|
|
130
|
-
var
|
|
131
|
-
function
|
|
130
|
+
var f1 = h1;
|
|
131
|
+
function g1(i) {
|
|
132
132
|
return function() {
|
|
133
133
|
return i;
|
|
134
134
|
};
|
|
135
135
|
}
|
|
136
|
-
var
|
|
137
|
-
function
|
|
136
|
+
var C1 = g1;
|
|
137
|
+
function v1(i) {
|
|
138
138
|
return i;
|
|
139
139
|
}
|
|
140
|
-
var
|
|
140
|
+
var y1 = v1, x1 = C1, R = we, w1 = y1, b1 = R ? function(i, e) {
|
|
141
141
|
return R(i, "toString", {
|
|
142
142
|
configurable: !0,
|
|
143
143
|
enumerable: !1,
|
|
144
|
-
value:
|
|
144
|
+
value: x1(e),
|
|
145
145
|
writable: !0
|
|
146
146
|
});
|
|
147
|
-
} :
|
|
148
|
-
function
|
|
147
|
+
} : w1, _1 = b1, k1 = 800, L1 = 16, $1 = Date.now;
|
|
148
|
+
function S1(i) {
|
|
149
149
|
var e = 0, t = 0;
|
|
150
150
|
return function() {
|
|
151
|
-
var a =
|
|
151
|
+
var a = $1(), n = L1 - (a - t);
|
|
152
152
|
if (t = a, n > 0) {
|
|
153
|
-
if (++e >=
|
|
153
|
+
if (++e >= k1)
|
|
154
154
|
return arguments[0];
|
|
155
155
|
} else
|
|
156
156
|
e = 0;
|
|
157
157
|
return i.apply(void 0, arguments);
|
|
158
158
|
};
|
|
159
159
|
}
|
|
160
|
-
var
|
|
161
|
-
function
|
|
162
|
-
return F1(
|
|
160
|
+
var T1 = S1, D1 = _1, V1 = T1, B1 = V1(D1), M1 = B1, I1 = d1, F1 = f1, H1 = M1;
|
|
161
|
+
function A1(i) {
|
|
162
|
+
return H1(F1(i, void 0, I1), i + "");
|
|
163
163
|
}
|
|
164
|
-
var
|
|
165
|
-
return i == null ? {} :
|
|
166
|
-
}),
|
|
167
|
-
const
|
|
164
|
+
var P1 = A1, E1 = Jt, z1 = P1, Z1 = z1(function(i, e) {
|
|
165
|
+
return i == null ? {} : E1(i, e);
|
|
166
|
+
}), O1 = Z1;
|
|
167
|
+
const U1 = /* @__PURE__ */ K(O1);
|
|
168
168
|
const R1 = {
|
|
169
169
|
i18nOptions: {
|
|
170
170
|
namespaces: "DocumentTemplateFormModal",
|
|
@@ -317,18 +317,18 @@ var G1 = function() {
|
|
|
317
317
|
}, expression: "updateExistingDocTemplate" } }, [t("div", { staticClass: "text-gray-600" }, [e._v(" " + e._s(e.$t("updateExisting")) + " ")])])], 1)], 1) : e._e(), e.document && e.document.clients.length ? t("div", [t("CField", { staticStyle: { "padding-left": "calc(0.5 * var(--rem))", "margin-bottom": "calc(0.5 * var(--rem))" } }, [t("CCheckbox", { attrs: { type: "secondary", size: "normal" }, model: { value: e.keepClients, callback: function(a) {
|
|
318
318
|
e.keepClients = a;
|
|
319
319
|
}, expression: "keepClients" } }, [t("div", { staticClass: "text-gray-600" }, [e._v(" " + e._s(e.$t("keepClients")) + " ")])])], 1)], 1) : e._e()], 1), t("CButton", { staticStyle: { "margin-top": "1.5em" }, attrs: { loading: e.isPosting, type: "secondary", wide: "", taller: "" }, on: { click: e.onSave } }, [e._v(" " + e._s(e.actionButtonText) + " ")])], 1);
|
|
320
|
-
},
|
|
320
|
+
}, W1 = [], q1 = /* @__PURE__ */ c(
|
|
321
321
|
R1,
|
|
322
322
|
G1,
|
|
323
|
-
|
|
323
|
+
W1,
|
|
324
324
|
!1,
|
|
325
325
|
null,
|
|
326
326
|
"f544bca9",
|
|
327
327
|
null,
|
|
328
328
|
null
|
|
329
329
|
);
|
|
330
|
-
const
|
|
331
|
-
function
|
|
330
|
+
const oe = q1.exports;
|
|
331
|
+
function N1(i, { availableProducts: e }) {
|
|
332
332
|
if (!i)
|
|
333
333
|
throw new Error("Missing parameter templateId");
|
|
334
334
|
const t = e, a = Object.keys(t).find((n) => {
|
|
@@ -341,10 +341,10 @@ function q1(i, { availableProducts: e }) {
|
|
|
341
341
|
});
|
|
342
342
|
return a ? t[a] : null;
|
|
343
343
|
}
|
|
344
|
-
async function
|
|
344
|
+
async function j1(i) {
|
|
345
345
|
if (!i)
|
|
346
346
|
throw new Error("Missing argument stripeProduct");
|
|
347
|
-
const e = i == null ? void 0 : i.prices[0], { data: t } = await
|
|
347
|
+
const e = i == null ? void 0 : i.prices[0], { data: t } = await be.createCheckoutSession({
|
|
348
348
|
items: [
|
|
349
349
|
{
|
|
350
350
|
stripePriceStripeId: e.stripeId,
|
|
@@ -356,21 +356,21 @@ async function N1(i) {
|
|
|
356
356
|
}), { redirectUrl: a } = t;
|
|
357
357
|
window.open(a, "_blank");
|
|
358
358
|
}
|
|
359
|
-
function
|
|
359
|
+
function le(i, { availableProducts: e }) {
|
|
360
360
|
var n, s, o;
|
|
361
361
|
let t = null;
|
|
362
|
-
const a =
|
|
362
|
+
const a = N1(i.templateId, { availableProducts: e });
|
|
363
363
|
return a && (t = {
|
|
364
|
-
price:
|
|
364
|
+
price: Y((n = a == null ? void 0 : a.prices) == null ? void 0 : n[0].amount, { currency: (s = a == null ? void 0 : a.prices) == null ? void 0 : s[0].currency }),
|
|
365
365
|
isPurchased: ((o = i.purchaseInfo) == null ? void 0 : o.isPurchased) || !1,
|
|
366
|
-
onBuy: async () =>
|
|
366
|
+
onBuy: async () => j1(a)
|
|
367
367
|
}), t;
|
|
368
368
|
}
|
|
369
|
-
const
|
|
369
|
+
const K1 = {
|
|
370
370
|
name: "GalleryTemplateModal",
|
|
371
371
|
components: {
|
|
372
372
|
simplebar: k,
|
|
373
|
-
DocumentLayout:
|
|
373
|
+
DocumentLayout: Qe,
|
|
374
374
|
IsPremium: b,
|
|
375
375
|
IsPremiumPreStep: _
|
|
376
376
|
},
|
|
@@ -436,10 +436,11 @@ const j1 = {
|
|
|
436
436
|
computed: {
|
|
437
437
|
...g({
|
|
438
438
|
isLoading: "templates/isPosting",
|
|
439
|
-
stripeProducts: "stripe/products"
|
|
439
|
+
stripeProducts: "stripe/products",
|
|
440
|
+
isSuperUser: "application/isSuperUser"
|
|
440
441
|
}),
|
|
441
442
|
previewDocument() {
|
|
442
|
-
const { data: i, defaultData: e } = this.template, t = new
|
|
443
|
+
const { data: i, defaultData: e } = this.template, t = new Q({
|
|
443
444
|
data: {
|
|
444
445
|
...e,
|
|
445
446
|
template: i,
|
|
@@ -449,10 +450,13 @@ const j1 = {
|
|
|
449
450
|
getters: this.$store.getters
|
|
450
451
|
});
|
|
451
452
|
return this.sender && (t.sender = this.sender), t;
|
|
453
|
+
},
|
|
454
|
+
allowCopyTemplateLink() {
|
|
455
|
+
return !this.isPublicForm && (f.showAdminSettings || this.isSuperUser());
|
|
452
456
|
}
|
|
453
457
|
},
|
|
454
458
|
created() {
|
|
455
|
-
this.privateProduct = this.product, this.loadTemplateStat(), this.product && (this.socketUnsubscribeFn =
|
|
459
|
+
this.privateProduct = this.product, this.loadTemplateStat(), this.product && (this.socketUnsubscribeFn = _e.on(
|
|
456
460
|
"event",
|
|
457
461
|
async ({ type: i, action: e, data: t }) => {
|
|
458
462
|
var a;
|
|
@@ -465,7 +469,7 @@ const j1 = {
|
|
|
465
469
|
isVisibleApp: !0,
|
|
466
470
|
includePurchaseInfo: !0
|
|
467
471
|
}, o = await this.fetchGallery(s);
|
|
468
|
-
this.privateProduct =
|
|
472
|
+
this.privateProduct = le(
|
|
469
473
|
o[0],
|
|
470
474
|
{ availableProducts: this.stripeProducts }
|
|
471
475
|
);
|
|
@@ -481,7 +485,7 @@ const j1 = {
|
|
|
481
485
|
const i = this.template.id;
|
|
482
486
|
i || (this.templateStat = null);
|
|
483
487
|
try {
|
|
484
|
-
const { data: e } = await
|
|
488
|
+
const { data: e } = await ke.get(i);
|
|
485
489
|
this.templateStat = e;
|
|
486
490
|
} catch {
|
|
487
491
|
this.templateStat = null;
|
|
@@ -495,10 +499,14 @@ const j1 = {
|
|
|
495
499
|
},
|
|
496
500
|
async saveAsTemplate() {
|
|
497
501
|
this.template && typeof this.onSaveTemplate == "function" && (this.didSave = await this.onSaveTemplate(this.template));
|
|
502
|
+
},
|
|
503
|
+
async copyToClipboard(i) {
|
|
504
|
+
const e = `${f.baseUrl}/template/${i}`;
|
|
505
|
+
await J(e) && H("info", this.$t("copyMessage"));
|
|
498
506
|
}
|
|
499
507
|
}
|
|
500
508
|
};
|
|
501
|
-
var
|
|
509
|
+
var Y1 = function() {
|
|
502
510
|
var a;
|
|
503
511
|
var e = this, t = e._self._c;
|
|
504
512
|
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: {
|
|
@@ -514,22 +522,24 @@ var K1 = function() {
|
|
|
514
522
|
} }]) }), t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ canCreateTemplate: n }) {
|
|
515
523
|
return [t("IsPremiumPreStep", { attrs: { feature: "saveDocTemplate" }, scopedSlots: e._u([{ key: "default", fn: function({ onClick: s }) {
|
|
516
524
|
var o;
|
|
517
|
-
return [(e.product ? (o = e.product) != null && o.isPurchased : e.showSave) ? t("CButton", { attrs: { loading: e.isLoading, type: e.didSave ? "success" : "none", "icon-left": e.didSave ? "check" : void 0, wide: "" }, on: { click: function(l) {
|
|
525
|
+
return [(e.product ? (o = e.product) != null && o.isPurchased : e.showSave) ? t("CButton", { staticStyle: { "margin-bottom": "0.5em" }, attrs: { loading: e.isLoading, type: e.didSave ? "success" : "none", "icon-left": e.didSave ? "check" : void 0, wide: "" }, on: { click: function(l) {
|
|
518
526
|
e.didSave || (e.isPublicForm || n ? e.saveAsTemplate() : s({ callback: e.saveAsTemplate }));
|
|
519
527
|
} } }, [e._v(" " + e._s(e.didSave ? e.$t("_common:savedThing", { thing: e.$t("_common:template") }) : e.$t("_common:saveAs", { thing: e.$t("_common:template") })) + " ")]) : e._e()];
|
|
520
528
|
} }], null, !0) })];
|
|
521
|
-
} }]) })
|
|
522
|
-
|
|
523
|
-
|
|
529
|
+
} }]) }), e.allowCopyTemplateLink ? t("CButton", { attrs: { type: "none", "icon-left": "admin", wide: "" }, on: { click: function(n) {
|
|
530
|
+
return e.copyToClipboard(e.template.id);
|
|
531
|
+
} } }, [e._v(" " + e._s(e.$t("_common:copy", { thing: e.$t("_common:link") })) + " ")]) : e._e()], 2)])]);
|
|
532
|
+
}, Q1 = [], J1 = /* @__PURE__ */ c(
|
|
524
533
|
K1,
|
|
525
534
|
Y1,
|
|
535
|
+
Q1,
|
|
526
536
|
!1,
|
|
527
537
|
null,
|
|
528
|
-
"
|
|
538
|
+
"74568361",
|
|
529
539
|
null,
|
|
530
540
|
null
|
|
531
541
|
);
|
|
532
|
-
const
|
|
542
|
+
const X1 = J1.exports, e2 = {
|
|
533
543
|
name: "GalleryLogic",
|
|
534
544
|
i18nOptions: {
|
|
535
545
|
namespaces: "GalleryLogic",
|
|
@@ -623,7 +633,8 @@ const J1 = Q1.exports, X1 = {
|
|
|
623
633
|
{ key: "conference", label: this.$t("categories.conference") },
|
|
624
634
|
{ key: "event", label: this.$t("categories.event") },
|
|
625
635
|
{ key: "staffing", label: this.$t("categories.staffing") },
|
|
626
|
-
{ key: "cleaning", label: this.$t("categories.cleaning") }
|
|
636
|
+
{ key: "cleaning", label: this.$t("categories.cleaning") },
|
|
637
|
+
{ key: "moving", label: this.$t("categories.moving") }
|
|
627
638
|
]
|
|
628
639
|
};
|
|
629
640
|
},
|
|
@@ -653,7 +664,7 @@ const J1 = Q1.exports, X1 = {
|
|
|
653
664
|
}
|
|
654
665
|
},
|
|
655
666
|
beforeCreate() {
|
|
656
|
-
this.$store.hasModule("stripe") || this.$store.registerModuleState("stripe",
|
|
667
|
+
this.$store.hasModule("stripe") || this.$store.registerModuleState("stripe", Ke);
|
|
657
668
|
},
|
|
658
669
|
async created() {
|
|
659
670
|
var t, a, n, s;
|
|
@@ -688,7 +699,7 @@ const J1 = Q1.exports, X1 = {
|
|
|
688
699
|
const e = await this.fetchGallery(i);
|
|
689
700
|
this.templateGalleryItems = (e || []).map((t) => {
|
|
690
701
|
if (this.canPurchase && t.isPurchasable) {
|
|
691
|
-
const a =
|
|
702
|
+
const a = le(t, {
|
|
692
703
|
availableProducts: this.stripeProducts
|
|
693
704
|
});
|
|
694
705
|
a && (t.product = a);
|
|
@@ -712,7 +723,7 @@ const J1 = Q1.exports, X1 = {
|
|
|
712
723
|
isVisibleApp: !0,
|
|
713
724
|
includePurchaseInfo: !0
|
|
714
725
|
}, t = await this.fetchGallery(e), a = (s = t == null ? void 0 : t[0]) == null ? void 0 : s.templateId;
|
|
715
|
-
return a ? (
|
|
726
|
+
return a ? (Le(a), new $e(a)) : null;
|
|
716
727
|
},
|
|
717
728
|
onUseTemplate(i) {
|
|
718
729
|
if (!i)
|
|
@@ -735,7 +746,7 @@ const J1 = Q1.exports, X1 = {
|
|
|
735
746
|
fortnoxCom: "/img/fortnox/apple-touch-icon-180x180.png"
|
|
736
747
|
};
|
|
737
748
|
this.$modal.show(
|
|
738
|
-
|
|
749
|
+
X1,
|
|
739
750
|
{
|
|
740
751
|
template: i,
|
|
741
752
|
fetchGallery: this.fetchGallery,
|
|
@@ -790,30 +801,30 @@ const J1 = Q1.exports, X1 = {
|
|
|
790
801
|
selectGalleryItem: this.selectGalleryItem
|
|
791
802
|
});
|
|
792
803
|
}
|
|
793
|
-
},
|
|
794
|
-
var
|
|
795
|
-
X1,
|
|
804
|
+
}, t2 = null, i2 = null;
|
|
805
|
+
var a2 = /* @__PURE__ */ c(
|
|
796
806
|
e2,
|
|
797
807
|
t2,
|
|
808
|
+
i2,
|
|
798
809
|
!1,
|
|
799
810
|
null,
|
|
800
811
|
null,
|
|
801
812
|
null,
|
|
802
813
|
null
|
|
803
814
|
);
|
|
804
|
-
const
|
|
805
|
-
const
|
|
815
|
+
const n2 = a2.exports;
|
|
816
|
+
const s2 = {
|
|
806
817
|
name: "DocumentIcon",
|
|
807
|
-
truncate:
|
|
818
|
+
truncate: Se,
|
|
808
819
|
inject: {
|
|
809
820
|
components: {
|
|
810
821
|
default: {
|
|
811
|
-
BlockMedia:
|
|
822
|
+
BlockMedia: at
|
|
812
823
|
}
|
|
813
824
|
}
|
|
814
825
|
}
|
|
815
826
|
};
|
|
816
|
-
var
|
|
827
|
+
var o2 = function(e, t) {
|
|
817
828
|
return e("div", t._b({ key: t.data.key, staticClass: "item", class: [
|
|
818
829
|
t.data.staticClass,
|
|
819
830
|
t.data.class,
|
|
@@ -829,18 +840,18 @@ var s2 = function(e, t) {
|
|
|
829
840
|
} }) : 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
841
|
t.parent.$t("_common:empty", { thing: t.parent.$t("_common:template") })
|
|
831
842
|
) } }) : 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)]);
|
|
832
|
-
},
|
|
833
|
-
n2,
|
|
843
|
+
}, l2 = [], r2 = /* @__PURE__ */ c(
|
|
834
844
|
s2,
|
|
835
845
|
o2,
|
|
846
|
+
l2,
|
|
836
847
|
!0,
|
|
837
848
|
null,
|
|
838
849
|
"e2f4722e",
|
|
839
850
|
null,
|
|
840
851
|
null
|
|
841
852
|
);
|
|
842
|
-
const
|
|
843
|
-
const
|
|
853
|
+
const c2 = r2.exports;
|
|
854
|
+
const d2 = {
|
|
844
855
|
name: "HorizontalScroll",
|
|
845
856
|
components: {
|
|
846
857
|
Simplebar: k
|
|
@@ -895,7 +906,7 @@ const c2 = {
|
|
|
895
906
|
}
|
|
896
907
|
}
|
|
897
908
|
};
|
|
898
|
-
var
|
|
909
|
+
var p2 = function() {
|
|
899
910
|
var e = this, t = e._self._c;
|
|
900
911
|
return t("div", { ref: "container", staticClass: "horizontal-scroll" }, [t("div", { staticClass: "hl-navigation" }, [e.hasPrev ? t("div", { staticClass: "hl-btn-left max-sm:hidden", on: { click: function(a) {
|
|
901
912
|
return e.go(-1);
|
|
@@ -908,18 +919,18 @@ var d2 = function() {
|
|
|
908
919
|
return e.$emit("expand");
|
|
909
920
|
} } })];
|
|
910
921
|
})], 2) : e._e()]), t("div", { staticClass: "hl-container" }, [t("Simplebar", { ref: "list", staticClass: "hl-list", on: { scroll: e.scrollHandler } }, [t("div", { staticClass: "flex w-full" }, [e._t("default")], 2)])], 1)]);
|
|
911
|
-
},
|
|
912
|
-
c2,
|
|
922
|
+
}, u2 = [], m2 = /* @__PURE__ */ c(
|
|
913
923
|
d2,
|
|
914
924
|
p2,
|
|
925
|
+
u2,
|
|
915
926
|
!1,
|
|
916
927
|
null,
|
|
917
928
|
"31e10485",
|
|
918
929
|
null,
|
|
919
930
|
null
|
|
920
931
|
);
|
|
921
|
-
const
|
|
922
|
-
const
|
|
932
|
+
const h2 = m2.exports;
|
|
933
|
+
const f2 = {
|
|
923
934
|
name: "DocumentFormRecent",
|
|
924
935
|
i18nOptions: {
|
|
925
936
|
namespaces: "DocumentFormRecent",
|
|
@@ -965,7 +976,7 @@ const h2 = {
|
|
|
965
976
|
async fetchDocuments(i) {
|
|
966
977
|
const e = this.query ? 180 : 90, t = {
|
|
967
978
|
createdAt: {
|
|
968
|
-
$gte: this.$formatDate(
|
|
979
|
+
$gte: this.$formatDate(Te(/* @__PURE__ */ new Date(), e), "yyyy-MM-dd")
|
|
969
980
|
},
|
|
970
981
|
// Only provide or if there is a search query to filter on
|
|
971
982
|
...this.query && {
|
|
@@ -982,7 +993,7 @@ const h2 = {
|
|
|
982
993
|
}
|
|
983
994
|
]
|
|
984
995
|
}
|
|
985
|
-
}, { data: a } = await
|
|
996
|
+
}, { data: a } = await De.getAll({
|
|
986
997
|
lean: !0,
|
|
987
998
|
filter: encodeURIComponent(JSON.stringify(t)),
|
|
988
999
|
fields: "clients,data.name,createdAt",
|
|
@@ -992,7 +1003,7 @@ const h2 = {
|
|
|
992
1003
|
}), { items: n = [] } = a || {};
|
|
993
1004
|
return n;
|
|
994
1005
|
},
|
|
995
|
-
onLoadDocuments:
|
|
1006
|
+
onLoadDocuments: P(async function() {
|
|
996
1007
|
this.isLoading = !0, this.hasItems = !0;
|
|
997
1008
|
const e = await this.fetchDocuments();
|
|
998
1009
|
(!e || !e.length) && (this.canFetchMore = !1), this.list = [...e || []], this.isLoading = !1;
|
|
@@ -1007,7 +1018,7 @@ const h2 = {
|
|
|
1007
1018
|
}
|
|
1008
1019
|
}
|
|
1009
1020
|
};
|
|
1010
|
-
var
|
|
1021
|
+
var g2 = function() {
|
|
1011
1022
|
var e = this, t = e._self._c;
|
|
1012
1023
|
return t("div", [t("div", { staticClass: "flex w-full", staticStyle: { "padding-bottom": "1em" } }, [e._t("default"), e.hasItems ? t("CInput", { staticClass: "hidden md:flex", attrs: { loading: e.isLoading, placeholder: e.$t("_common:search"), type: "search", size: "normal", filled: "" }, on: { input: e.onInput }, model: { value: e.query, callback: function(a) {
|
|
1013
1024
|
e.query = a;
|
|
@@ -1034,18 +1045,18 @@ var f2 = function() {
|
|
|
1034
1045
|
}), 0)];
|
|
1035
1046
|
} }], null, !0) })];
|
|
1036
1047
|
} }]) })]], 2)]);
|
|
1037
|
-
},
|
|
1038
|
-
h2,
|
|
1048
|
+
}, C2 = [], v2 = /* @__PURE__ */ c(
|
|
1039
1049
|
f2,
|
|
1040
1050
|
g2,
|
|
1051
|
+
C2,
|
|
1041
1052
|
!1,
|
|
1042
1053
|
null,
|
|
1043
1054
|
"496e96d5",
|
|
1044
1055
|
null,
|
|
1045
1056
|
null
|
|
1046
1057
|
);
|
|
1047
|
-
const
|
|
1048
|
-
const
|
|
1058
|
+
const y2 = v2.exports;
|
|
1059
|
+
const x2 = {
|
|
1049
1060
|
i18nOptions: {
|
|
1050
1061
|
namespaces: "TemplateSelector",
|
|
1051
1062
|
messages: {
|
|
@@ -1090,10 +1101,10 @@ const y2 = {
|
|
|
1090
1101
|
name: "TemplateSelector",
|
|
1091
1102
|
mixins: [$],
|
|
1092
1103
|
components: {
|
|
1093
|
-
HorizontalScroll:
|
|
1094
|
-
DocumentIcon:
|
|
1095
|
-
DocumentRecent:
|
|
1096
|
-
GalleryLogic:
|
|
1104
|
+
HorizontalScroll: h2,
|
|
1105
|
+
DocumentIcon: c2,
|
|
1106
|
+
DocumentRecent: y2,
|
|
1107
|
+
GalleryLogic: n2,
|
|
1097
1108
|
IsPremiumPreStep: _
|
|
1098
1109
|
},
|
|
1099
1110
|
props: {
|
|
@@ -1156,7 +1167,8 @@ const y2 = {
|
|
|
1156
1167
|
companySettings: "settings/allCompanySettings",
|
|
1157
1168
|
user: "application/user",
|
|
1158
1169
|
company: "application/company",
|
|
1159
|
-
isAuthenticatedCRM: "settings/isAuthenticatedCRM"
|
|
1170
|
+
isAuthenticatedCRM: "settings/isAuthenticatedCRM",
|
|
1171
|
+
isSuperUser: "application/isSuperUser"
|
|
1160
1172
|
}),
|
|
1161
1173
|
fallbackMedia() {
|
|
1162
1174
|
return {
|
|
@@ -1185,6 +1197,9 @@ const y2 = {
|
|
|
1185
1197
|
},
|
|
1186
1198
|
onSaveTemplate: this.saveTemplate
|
|
1187
1199
|
};
|
|
1200
|
+
},
|
|
1201
|
+
allowCopyTemplateLink() {
|
|
1202
|
+
return f.showAdminSettings || this.isSuperUser();
|
|
1188
1203
|
}
|
|
1189
1204
|
},
|
|
1190
1205
|
created() {
|
|
@@ -1212,7 +1227,7 @@ const y2 = {
|
|
|
1212
1227
|
},
|
|
1213
1228
|
async saveTemplate(i) {
|
|
1214
1229
|
try {
|
|
1215
|
-
const { data: e } = i, t =
|
|
1230
|
+
const { data: e } = i, t = Ve(e, [
|
|
1216
1231
|
"_id",
|
|
1217
1232
|
"id",
|
|
1218
1233
|
"companyId",
|
|
@@ -1226,7 +1241,7 @@ const y2 = {
|
|
|
1226
1241
|
},
|
|
1227
1242
|
async openTemplateFormModal({ document: i = null, template: e = null }) {
|
|
1228
1243
|
this.$modal.show(
|
|
1229
|
-
|
|
1244
|
+
oe,
|
|
1230
1245
|
{
|
|
1231
1246
|
document: i,
|
|
1232
1247
|
template: e,
|
|
@@ -1243,15 +1258,19 @@ const y2 = {
|
|
|
1243
1258
|
);
|
|
1244
1259
|
},
|
|
1245
1260
|
async fetchGallery(i = {}) {
|
|
1246
|
-
const { data: e } = await
|
|
1261
|
+
const { data: e } = await Be.get(i);
|
|
1247
1262
|
return e;
|
|
1248
1263
|
},
|
|
1249
1264
|
canUseTemplate(i) {
|
|
1250
1265
|
return i.doConsumeDocumentQuota ? this.canFeature("useDocTemplate") : !0;
|
|
1266
|
+
},
|
|
1267
|
+
async copyToClipboard(i) {
|
|
1268
|
+
const e = `${f.baseUrl}/template/${i}`;
|
|
1269
|
+
await J(e) && H("info", this.$t("copyMessage"));
|
|
1251
1270
|
}
|
|
1252
1271
|
}
|
|
1253
1272
|
};
|
|
1254
|
-
var
|
|
1273
|
+
var w2 = function() {
|
|
1255
1274
|
var e = this, t = e._self._c;
|
|
1256
1275
|
return t("div", { staticClass: "w-full h-full px-4 pt-10 pb-10 overflow-y-auto bg-white md:pt-16 md:px-10 rounded-2xl" }, [t("div", { staticClass: "max-w-5xl mx-auto font-inter form-start main", class: { small: e.mq === "sm" } }, [e._t("header"), t("div", { staticStyle: { width: "100%", "padding-bottom": "5em" } }, [t("div", { staticClass: "section-title" }, [t("div", [e._v(e._s(e.$t("myTemplates")))]), t("div", { staticClass: "section-subtitle" }, [e._v(" " + e._s(e.$t("myTemplatesSubTitle")) + " ")])]), t("IsPremiumPreStep", { attrs: { feature: "useDocTemplate" }, scopedSlots: e._u([{ key: "default", fn: function({ onClick: a }) {
|
|
1257
1276
|
return [t(e.isExpanded ? "div" : "HorizontalScroll", { tag: "component", staticClass: "template-list", class: { "is-expanded": e.isExpanded }, on: { expand: function(n) {
|
|
@@ -1273,9 +1292,11 @@ var x2 = function() {
|
|
|
1273
1292
|
return e.onEditTemplate(n.id);
|
|
1274
1293
|
} } }, [e._v(" " + e._s(e.$t("_common:edit", { thing: e.$t("_common:template") })) + " ")]) : e._e(), t("CDropdownItem", { attrs: { "icon-props": { size: 16 }, "icon-left": "edit" }, on: { click: function(s) {
|
|
1275
1294
|
return e.openTemplateFormModal({ template: n });
|
|
1276
|
-
} } }, [e._v(" " + e._s(e.$t("_common:change", { thing: e.$t("_common:name") })) + " ")]), t("CDropdownItem", { attrs: { separator: "" } }), t("CDropdownItem", { attrs: { "icon-props": { size: 16
|
|
1295
|
+
} } }, [e._v(" " + e._s(e.$t("_common:change", { thing: e.$t("_common:name") })) + " ")]), t("CDropdownItem", { attrs: { separator: "" } }), e.allowCopyTemplateLink ? [t("CDropdownItem", { attrs: { "icon-props": { size: 16 }, "icon-left": "admin" }, on: { click: function(s) {
|
|
1296
|
+
return e.copyToClipboard(n.id);
|
|
1297
|
+
} } }, [e._v(" " + e._s(e.$t("_common:copy", { thing: e.$t("_common:link") })) + " ")]), t("CDropdownItem", { attrs: { separator: "" } })] : e._e(), t("CDropdownItem", { attrs: { "icon-props": { size: 16, stroke: "hsl(360, 100%, 60%)" }, "icon-left": "trash" }, on: { click: function(s) {
|
|
1277
1298
|
return e.removeTemplate({ template: n });
|
|
1278
|
-
} } }, [e._v(" " + e._s(e.$t("_common:remove")) + " ")])],
|
|
1299
|
+
} } }, [e._v(" " + e._s(e.$t("_common:remove")) + " ")])], 2)], 1);
|
|
1279
1300
|
}), 1)];
|
|
1280
1301
|
} }]) })], 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({
|
|
1281
1302
|
galleryItems: a,
|
|
@@ -1296,18 +1317,18 @@ var x2 = function() {
|
|
|
1296
1317
|
} } }, [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()]);
|
|
1297
1318
|
}), 1)], 1)];
|
|
1298
1319
|
} }], 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)]);
|
|
1299
|
-
},
|
|
1300
|
-
y2,
|
|
1320
|
+
}, b2 = [], _2 = /* @__PURE__ */ c(
|
|
1301
1321
|
x2,
|
|
1302
1322
|
w2,
|
|
1323
|
+
b2,
|
|
1303
1324
|
!1,
|
|
1304
1325
|
null,
|
|
1305
|
-
"
|
|
1326
|
+
"093c4702",
|
|
1306
1327
|
null,
|
|
1307
1328
|
null
|
|
1308
1329
|
);
|
|
1309
|
-
const
|
|
1310
|
-
const
|
|
1330
|
+
const k2 = _2.exports;
|
|
1331
|
+
const L2 = (i) => {
|
|
1311
1332
|
const e = Array(2).fill().map(() => d());
|
|
1312
1333
|
return [
|
|
1313
1334
|
{
|
|
@@ -1329,7 +1350,7 @@ const k2 = (i) => {
|
|
|
1329
1350
|
nodeId: e[1]
|
|
1330
1351
|
}
|
|
1331
1352
|
];
|
|
1332
|
-
},
|
|
1353
|
+
}, $2 = (i, e = "en") => [
|
|
1333
1354
|
{ key: `title-${i}`, anyOf: [{ type: "string" }, { type: "null" }], defaultValue: h.t("attachment_plural", { lng: e }).capitalize() },
|
|
1334
1355
|
{
|
|
1335
1356
|
key: `files-${i}`,
|
|
@@ -1338,13 +1359,13 @@ const k2 = (i) => {
|
|
|
1338
1359
|
$ref: `${f.api.baseUrl}/schemas/file/1.json`
|
|
1339
1360
|
}
|
|
1340
1361
|
}
|
|
1341
|
-
],
|
|
1362
|
+
], S2 = ({ document: i = null }) => {
|
|
1342
1363
|
const e = d(), { language: t } = i || {};
|
|
1343
1364
|
return {
|
|
1344
|
-
readView:
|
|
1345
|
-
validation:
|
|
1365
|
+
readView: L2(e),
|
|
1366
|
+
validation: $2(e, t)
|
|
1346
1367
|
};
|
|
1347
|
-
},
|
|
1368
|
+
}, T2 = () => [
|
|
1348
1369
|
{
|
|
1349
1370
|
itemId: "presentation",
|
|
1350
1371
|
itemType: "presentation",
|
|
@@ -1352,11 +1373,11 @@ const k2 = (i) => {
|
|
|
1352
1373
|
parentId: "0",
|
|
1353
1374
|
nodeId: d()
|
|
1354
1375
|
}
|
|
1355
|
-
],
|
|
1356
|
-
readView:
|
|
1376
|
+
], D2 = () => ({
|
|
1377
|
+
readView: T2(),
|
|
1357
1378
|
validation: []
|
|
1358
1379
|
// all relevant data is either within base doc or company settings etc
|
|
1359
|
-
}),
|
|
1380
|
+
}), V2 = () => {
|
|
1360
1381
|
const i = Array(2).fill().map(() => d());
|
|
1361
1382
|
return [
|
|
1362
1383
|
{
|
|
@@ -1379,19 +1400,19 @@ const k2 = (i) => {
|
|
|
1379
1400
|
// uniqid(),
|
|
1380
1401
|
}
|
|
1381
1402
|
];
|
|
1382
|
-
},
|
|
1403
|
+
}, B2 = (i = "en") => [
|
|
1383
1404
|
{
|
|
1384
1405
|
key: "multiGroupPricing-title",
|
|
1385
1406
|
anyOf: [{ type: "string" }, { type: "null" }],
|
|
1386
1407
|
defaultValue: h.t("components:document.chapters.multiGroupPricing.title", { lng: i })
|
|
1387
1408
|
}
|
|
1388
|
-
],
|
|
1409
|
+
], M2 = ({ document: i = null }) => {
|
|
1389
1410
|
const { language: e } = i || {};
|
|
1390
1411
|
return {
|
|
1391
|
-
readView:
|
|
1392
|
-
validation:
|
|
1412
|
+
readView: V2(),
|
|
1413
|
+
validation: B2(e)
|
|
1393
1414
|
};
|
|
1394
|
-
},
|
|
1415
|
+
}, I2 = () => [
|
|
1395
1416
|
{
|
|
1396
1417
|
itemId: "terms",
|
|
1397
1418
|
itemType: "termsDisclaimer",
|
|
@@ -1409,7 +1430,7 @@ const k2 = (i) => {
|
|
|
1409
1430
|
parentId: "0",
|
|
1410
1431
|
nodeId: d()
|
|
1411
1432
|
}
|
|
1412
|
-
],
|
|
1433
|
+
], F2 = () => [
|
|
1413
1434
|
{
|
|
1414
1435
|
key: "terms",
|
|
1415
1436
|
anyOf: [
|
|
@@ -1417,10 +1438,10 @@ const k2 = (i) => {
|
|
|
1417
1438
|
{ type: "null" }
|
|
1418
1439
|
]
|
|
1419
1440
|
}
|
|
1420
|
-
],
|
|
1421
|
-
readView:
|
|
1422
|
-
validation:
|
|
1423
|
-
}),
|
|
1441
|
+
], H2 = () => ({
|
|
1442
|
+
readView: I2(),
|
|
1443
|
+
validation: F2()
|
|
1444
|
+
}), A2 = () => {
|
|
1424
1445
|
const i = Array(5).fill().map(() => d());
|
|
1425
1446
|
return [
|
|
1426
1447
|
{
|
|
@@ -1469,7 +1490,7 @@ const k2 = (i) => {
|
|
|
1469
1490
|
nodeId: i[4]
|
|
1470
1491
|
}
|
|
1471
1492
|
];
|
|
1472
|
-
},
|
|
1493
|
+
}, P2 = () => ({
|
|
1473
1494
|
clients: [{
|
|
1474
1495
|
name: "Pernilla P.",
|
|
1475
1496
|
email: "pernilla@mail.se",
|
|
@@ -1479,20 +1500,20 @@ const k2 = (i) => {
|
|
|
1479
1500
|
deliveryTypes: ["email"],
|
|
1480
1501
|
answerMethod: { accept: "signature", deny: "button" }
|
|
1481
1502
|
}]
|
|
1482
|
-
}),
|
|
1503
|
+
}), E2 = (i = "en") => [
|
|
1483
1504
|
{ key: "senderString", anyOf: [{ type: "string" }, { type: "null" }] },
|
|
1484
1505
|
{ key: "receiverString", anyOf: [{ type: "string" }, { type: "null" }] },
|
|
1485
1506
|
{ key: "partiesString", anyOf: [{ type: "string" }, { type: "null" }], defaultValue: h.t("components:document.chapters.parties.title", { lng: i }) }
|
|
1486
|
-
],
|
|
1507
|
+
], z2 = ({ includeMockData: i = !1, document: e = null, contentData: t = null }) => {
|
|
1487
1508
|
const { language: a } = e || {};
|
|
1488
1509
|
let n = null;
|
|
1489
|
-
return typeof t == "function" ? n = t() : i && (n =
|
|
1490
|
-
readView:
|
|
1491
|
-
validation:
|
|
1510
|
+
return typeof t == "function" ? n = t() : i && (n = P2()), {
|
|
1511
|
+
readView: A2(),
|
|
1512
|
+
validation: E2(a),
|
|
1492
1513
|
// Client / company will for now always exist on doc and in validation
|
|
1493
1514
|
...n && { data: n }
|
|
1494
1515
|
};
|
|
1495
|
-
},
|
|
1516
|
+
}, Z2 = (i) => {
|
|
1496
1517
|
const e = Array(3).fill().map(() => d());
|
|
1497
1518
|
return [
|
|
1498
1519
|
{
|
|
@@ -1521,7 +1542,7 @@ const k2 = (i) => {
|
|
|
1521
1542
|
nodeId: e[2]
|
|
1522
1543
|
}
|
|
1523
1544
|
];
|
|
1524
|
-
},
|
|
1545
|
+
}, O2 = (i) => [
|
|
1525
1546
|
{
|
|
1526
1547
|
key: `estimatedTimeComplete-${i}`,
|
|
1527
1548
|
type: "object",
|
|
@@ -1542,7 +1563,7 @@ const k2 = (i) => {
|
|
|
1542
1563
|
}
|
|
1543
1564
|
}
|
|
1544
1565
|
}
|
|
1545
|
-
],
|
|
1566
|
+
], U2 = (i) => ({
|
|
1546
1567
|
[`estimatedTimeComplete-${i}`]: {
|
|
1547
1568
|
value: 4,
|
|
1548
1569
|
unitType: "hour"
|
|
@@ -1550,9 +1571,9 @@ const k2 = (i) => {
|
|
|
1550
1571
|
}), R2 = ({ includeMockData: i = !1, contentData: e = null }) => {
|
|
1551
1572
|
const t = d();
|
|
1552
1573
|
let a = null;
|
|
1553
|
-
return typeof e == "function" ? a = e(t) : i && (a =
|
|
1554
|
-
readView:
|
|
1555
|
-
validation:
|
|
1574
|
+
return typeof e == "function" ? a = e(t) : i && (a = U2(t)), {
|
|
1575
|
+
readView: Z2(t),
|
|
1576
|
+
validation: O2(t),
|
|
1556
1577
|
...a && { data: a }
|
|
1557
1578
|
};
|
|
1558
1579
|
}, G2 = () => {
|
|
@@ -1589,7 +1610,7 @@ const k2 = (i) => {
|
|
|
1589
1610
|
nodeId: i[2]
|
|
1590
1611
|
}
|
|
1591
1612
|
];
|
|
1592
|
-
},
|
|
1613
|
+
}, W2 = () => [
|
|
1593
1614
|
{
|
|
1594
1615
|
key: "estimatedWorkDates",
|
|
1595
1616
|
type: "object",
|
|
@@ -1598,10 +1619,10 @@ const k2 = (i) => {
|
|
|
1598
1619
|
endAt: { anyOf: [{ type: "null" }, { type: "string" }] }
|
|
1599
1620
|
}
|
|
1600
1621
|
}
|
|
1601
|
-
],
|
|
1622
|
+
], q2 = () => ({
|
|
1602
1623
|
readView: G2(),
|
|
1603
|
-
validation:
|
|
1604
|
-
}),
|
|
1624
|
+
validation: W2()
|
|
1625
|
+
}), N2 = () => {
|
|
1605
1626
|
const i = Array(5).fill().map(() => d());
|
|
1606
1627
|
return [
|
|
1607
1628
|
{
|
|
@@ -1667,7 +1688,7 @@ const k2 = (i) => {
|
|
|
1667
1688
|
nodeId: i[4]
|
|
1668
1689
|
}
|
|
1669
1690
|
];
|
|
1670
|
-
},
|
|
1691
|
+
}, j2 = () => [
|
|
1671
1692
|
{
|
|
1672
1693
|
key: "extraWorkConstruction",
|
|
1673
1694
|
extraWorkConstruction: {
|
|
@@ -1691,11 +1712,11 @@ const k2 = (i) => {
|
|
|
1691
1712
|
}
|
|
1692
1713
|
}
|
|
1693
1714
|
}
|
|
1694
|
-
],
|
|
1695
|
-
readView:
|
|
1696
|
-
validation:
|
|
1715
|
+
], K2 = () => ({
|
|
1716
|
+
readView: N2(),
|
|
1717
|
+
validation: j2()
|
|
1697
1718
|
// Client / company will for now always exist on doc and in validation
|
|
1698
|
-
}),
|
|
1719
|
+
}), Y2 = () => {
|
|
1699
1720
|
const i = Array(3).fill().map(() => d());
|
|
1700
1721
|
return [
|
|
1701
1722
|
{
|
|
@@ -1735,7 +1756,7 @@ const k2 = (i) => {
|
|
|
1735
1756
|
nodeId: i[2]
|
|
1736
1757
|
}
|
|
1737
1758
|
];
|
|
1738
|
-
},
|
|
1759
|
+
}, Q2 = () => [
|
|
1739
1760
|
{
|
|
1740
1761
|
key: "extraWorkTimeImpact",
|
|
1741
1762
|
anyOf: [
|
|
@@ -1759,10 +1780,10 @@ const k2 = (i) => {
|
|
|
1759
1780
|
}
|
|
1760
1781
|
]
|
|
1761
1782
|
}
|
|
1762
|
-
],
|
|
1763
|
-
readView:
|
|
1764
|
-
validation:
|
|
1765
|
-
}),
|
|
1783
|
+
], J2 = () => ({
|
|
1784
|
+
readView: Y2(),
|
|
1785
|
+
validation: Q2()
|
|
1786
|
+
}), X2 = () => {
|
|
1766
1787
|
const i = Array(5).fill().map(() => d());
|
|
1767
1788
|
return [
|
|
1768
1789
|
{
|
|
@@ -1815,13 +1836,13 @@ const k2 = (i) => {
|
|
|
1815
1836
|
nodeId: i[4]
|
|
1816
1837
|
}
|
|
1817
1838
|
];
|
|
1818
|
-
},
|
|
1839
|
+
}, ei = () => [
|
|
1819
1840
|
{ key: "miscAgreements", anyOf: [{ type: "string" }, { type: null }] },
|
|
1820
1841
|
{ key: "notBinding", type: "boolean" }
|
|
1821
|
-
],
|
|
1822
|
-
readView:
|
|
1823
|
-
validation:
|
|
1824
|
-
}),
|
|
1842
|
+
], ti = () => ({
|
|
1843
|
+
readView: X2(),
|
|
1844
|
+
validation: ei()
|
|
1845
|
+
}), ii = (i) => {
|
|
1825
1846
|
const e = Array(2).fill().map(() => d());
|
|
1826
1847
|
return [
|
|
1827
1848
|
{
|
|
@@ -1843,22 +1864,22 @@ const k2 = (i) => {
|
|
|
1843
1864
|
nodeId: e[1]
|
|
1844
1865
|
}
|
|
1845
1866
|
];
|
|
1846
|
-
},
|
|
1867
|
+
}, ai = (i) => [
|
|
1847
1868
|
{ key: `title-${i}`, anyOf: [{ type: "string" }, { type: "null" }], defaultValue: "" },
|
|
1848
1869
|
{ key: `content-${i}`, anyOf: [{ type: "string" }, { type: "null" }] }
|
|
1849
|
-
],
|
|
1870
|
+
], ni = (i) => ({
|
|
1850
1871
|
[`data.title-${i}`]: "My custom text",
|
|
1851
1872
|
[`data.content-${i}`]: "<p>First impressions matter. Make it count by sending beautiful proposals to your clients. Proposals that look great on any device. Proposals that help you to close with notifications and digital signatures.</p>"
|
|
1852
|
-
}),
|
|
1873
|
+
}), si = ({ includeMockData: i = !1, contentData: e = null }) => {
|
|
1853
1874
|
const t = d();
|
|
1854
1875
|
let a = null;
|
|
1855
|
-
return typeof e == "function" ? a = e(t) : i && (a =
|
|
1856
|
-
readView:
|
|
1857
|
-
validation:
|
|
1876
|
+
return typeof e == "function" ? a = e(t) : i && (a = ni(t)), {
|
|
1877
|
+
readView: ii(t),
|
|
1878
|
+
validation: ai(t),
|
|
1858
1879
|
...a && { data: a },
|
|
1859
1880
|
onAddFnName: "conditionalOnAdd"
|
|
1860
1881
|
};
|
|
1861
|
-
},
|
|
1882
|
+
}, oi = (i) => [
|
|
1862
1883
|
{
|
|
1863
1884
|
itemId: "coverBlock",
|
|
1864
1885
|
itemType: "coverBlock",
|
|
@@ -1868,7 +1889,7 @@ const k2 = (i) => {
|
|
|
1868
1889
|
parentId: "0",
|
|
1869
1890
|
nodeId: d()
|
|
1870
1891
|
}
|
|
1871
|
-
],
|
|
1892
|
+
], li = (i, e = "en") => [
|
|
1872
1893
|
{
|
|
1873
1894
|
key: `coverBlock-${i}`,
|
|
1874
1895
|
defaultValue: {
|
|
@@ -1885,7 +1906,7 @@ const k2 = (i) => {
|
|
|
1885
1906
|
},
|
|
1886
1907
|
$ref: `${f.api.baseUrl}/schemas/coverBlock/1.json`
|
|
1887
1908
|
}
|
|
1888
|
-
],
|
|
1909
|
+
], ri = (i) => ({
|
|
1889
1910
|
[`data.coverBlock-${i}`]: {
|
|
1890
1911
|
text: "<h1>We know communication</h1>",
|
|
1891
1912
|
cover: {
|
|
@@ -1895,15 +1916,15 @@ const k2 = (i) => {
|
|
|
1895
1916
|
blur: 0
|
|
1896
1917
|
}
|
|
1897
1918
|
}
|
|
1898
|
-
}),
|
|
1919
|
+
}), ci = ({ includeMockData: i = !1, document: e = null, contentData: t = null } = {}) => {
|
|
1899
1920
|
const a = d(), { language: n } = e || {};
|
|
1900
1921
|
let s = null;
|
|
1901
|
-
return typeof t == "function" ? s = t(a) : i && (s =
|
|
1902
|
-
readView:
|
|
1903
|
-
validation:
|
|
1922
|
+
return typeof t == "function" ? s = t(a) : i && (s = ri(a)), {
|
|
1923
|
+
readView: oi(a),
|
|
1924
|
+
validation: li(a, n),
|
|
1904
1925
|
...s && { data: s }
|
|
1905
1926
|
};
|
|
1906
|
-
},
|
|
1927
|
+
}, di = ({ language: i = "en" } = {}) => {
|
|
1907
1928
|
const e = (t) => h.t(`components:account.documentForm.contentItems.coverBlock.${t}`, {
|
|
1908
1929
|
lng: i
|
|
1909
1930
|
});
|
|
@@ -2048,7 +2069,7 @@ const k2 = (i) => {
|
|
|
2048
2069
|
})
|
|
2049
2070
|
}
|
|
2050
2071
|
];
|
|
2051
|
-
},
|
|
2072
|
+
}, pi = (i) => [
|
|
2052
2073
|
{
|
|
2053
2074
|
itemId: `header-${i}`,
|
|
2054
2075
|
itemType: "header",
|
|
@@ -2058,7 +2079,7 @@ const k2 = (i) => {
|
|
|
2058
2079
|
parentId: "0",
|
|
2059
2080
|
nodeId: d()
|
|
2060
2081
|
}
|
|
2061
|
-
],
|
|
2082
|
+
], ui = (i, e = null) => {
|
|
2062
2083
|
const {
|
|
2063
2084
|
language: t = "en",
|
|
2064
2085
|
name: a = "",
|
|
@@ -2069,7 +2090,7 @@ const k2 = (i) => {
|
|
|
2069
2090
|
background: o,
|
|
2070
2091
|
priceSummaryBackground: l,
|
|
2071
2092
|
backgroundFilter: r
|
|
2072
|
-
} = n || {}, p = l || "hsl(228, 52%, 18%)", C =
|
|
2093
|
+
} = n || {}, p = l || "hsl(228, 52%, 18%)", C = lt.readability(p, "#fff") < 1.8 ? "#111111" : "#FFFFFF";
|
|
2073
2094
|
return [
|
|
2074
2095
|
{
|
|
2075
2096
|
key: `header-${i}`,
|
|
@@ -2110,7 +2131,7 @@ const k2 = (i) => {
|
|
|
2110
2131
|
}
|
|
2111
2132
|
}
|
|
2112
2133
|
];
|
|
2113
|
-
},
|
|
2134
|
+
}, mi = (i) => ({
|
|
2114
2135
|
[`data.header-${i}`]: {
|
|
2115
2136
|
layout: "vertical",
|
|
2116
2137
|
baseStyle: { textAlign: "left", textColor: "#FFFFFF" },
|
|
@@ -2140,15 +2161,15 @@ const k2 = (i) => {
|
|
|
2140
2161
|
}
|
|
2141
2162
|
]
|
|
2142
2163
|
}
|
|
2143
|
-
}),
|
|
2164
|
+
}), hi = ({ includeMockData: i = !1, document: e = null, contentData: t = null }) => {
|
|
2144
2165
|
const a = d();
|
|
2145
2166
|
let n = null;
|
|
2146
|
-
return typeof t == "function" ? n = t(a) : i && (n =
|
|
2147
|
-
readView:
|
|
2148
|
-
validation:
|
|
2167
|
+
return typeof t == "function" ? n = t(a) : i && (n = mi(a)), {
|
|
2168
|
+
readView: pi(a),
|
|
2169
|
+
validation: ui(a, e),
|
|
2149
2170
|
...n && { data: n }
|
|
2150
2171
|
};
|
|
2151
|
-
},
|
|
2172
|
+
}, fi = ({ language: i = "en" } = {}) => {
|
|
2152
2173
|
const e = (t) => h.t(`components:account.documentForm.contentItems.header.${t}`, {
|
|
2153
2174
|
lng: i,
|
|
2154
2175
|
interpolation: { prefix: "__", suffix: "__" }
|
|
@@ -2448,7 +2469,7 @@ h.loadOptions({
|
|
|
2448
2469
|
}
|
|
2449
2470
|
}
|
|
2450
2471
|
});
|
|
2451
|
-
const
|
|
2472
|
+
const gi = (i) => {
|
|
2452
2473
|
const e = Array(2).fill().map(() => d());
|
|
2453
2474
|
return [
|
|
2454
2475
|
{
|
|
@@ -2473,7 +2494,7 @@ const fi = (i) => {
|
|
|
2473
2494
|
nodeId: e[1]
|
|
2474
2495
|
}
|
|
2475
2496
|
];
|
|
2476
|
-
},
|
|
2497
|
+
}, Ci = (i, e = "en") => [
|
|
2477
2498
|
{
|
|
2478
2499
|
key: `packageGroups.${i}`,
|
|
2479
2500
|
validationKey: "packageGroups",
|
|
@@ -2493,11 +2514,11 @@ const fi = (i) => {
|
|
|
2493
2514
|
},
|
|
2494
2515
|
$ref: `${f.api.baseUrl}/schemas/packageGroups/1.json`
|
|
2495
2516
|
}
|
|
2496
|
-
],
|
|
2517
|
+
], vi = () => null, yi = ({ includeMockData: i, document: e = null, contentData: t = null } = {}) => {
|
|
2497
2518
|
const a = d(), { language: n } = e || {};
|
|
2498
2519
|
let s = null;
|
|
2499
|
-
typeof t == "function" ? s = t(a) : i && (s =
|
|
2500
|
-
const o =
|
|
2520
|
+
typeof t == "function" ? s = t(a) : i && (s = vi());
|
|
2521
|
+
const o = gi(a), l = Ci(a, n);
|
|
2501
2522
|
return {
|
|
2502
2523
|
readView: o,
|
|
2503
2524
|
validation: l,
|
|
@@ -2589,7 +2610,7 @@ h.loadOptions({
|
|
|
2589
2610
|
}
|
|
2590
2611
|
}
|
|
2591
2612
|
});
|
|
2592
|
-
const
|
|
2613
|
+
const xi = ({
|
|
2593
2614
|
language: i = "en",
|
|
2594
2615
|
currency: e = "USD",
|
|
2595
2616
|
_getters: t,
|
|
@@ -2946,7 +2967,7 @@ const yi = ({
|
|
|
2946
2967
|
}
|
|
2947
2968
|
}
|
|
2948
2969
|
];
|
|
2949
|
-
},
|
|
2970
|
+
}, wi = (i) => [
|
|
2950
2971
|
{
|
|
2951
2972
|
itemId: "embed",
|
|
2952
2973
|
itemType: "embed",
|
|
@@ -2960,7 +2981,7 @@ const yi = ({
|
|
|
2960
2981
|
parentId: "0",
|
|
2961
2982
|
nodeId: d()
|
|
2962
2983
|
}
|
|
2963
|
-
],
|
|
2984
|
+
], bi = (i) => [
|
|
2964
2985
|
{
|
|
2965
2986
|
key: `embed-${i}`,
|
|
2966
2987
|
$ref: `${f.api.baseUrl}/schemas/embed/1.json`,
|
|
@@ -2969,12 +2990,12 @@ const yi = ({
|
|
|
2969
2990
|
size: "small"
|
|
2970
2991
|
}
|
|
2971
2992
|
}
|
|
2972
|
-
],
|
|
2993
|
+
], _i = () => null, ki = ({ includeMockData: i = !1, document: e = null, contentData: t = null } = {}) => {
|
|
2973
2994
|
const a = d();
|
|
2974
2995
|
let n = null;
|
|
2975
|
-
return typeof t == "function" ? n = t(a) : i && (n =
|
|
2976
|
-
readView:
|
|
2977
|
-
validation:
|
|
2996
|
+
return typeof t == "function" ? n = t(a) : i && (n = _i()), {
|
|
2997
|
+
readView: wi(a),
|
|
2998
|
+
validation: bi(a),
|
|
2978
2999
|
...n && { data: n }
|
|
2979
3000
|
};
|
|
2980
3001
|
};
|
|
@@ -2989,7 +3010,7 @@ h.loadOptions({
|
|
|
2989
3010
|
}
|
|
2990
3011
|
}
|
|
2991
3012
|
});
|
|
2992
|
-
const
|
|
3013
|
+
const Li = ({ language: i = "en" } = {}) => [
|
|
2993
3014
|
{
|
|
2994
3015
|
previewUrl: `
|
|
2995
3016
|
<div style="position: relative;">
|
|
@@ -3281,7 +3302,7 @@ const ki = ({ language: i = "en" } = {}) => [
|
|
|
3281
3302
|
}
|
|
3282
3303
|
})
|
|
3283
3304
|
}
|
|
3284
|
-
],
|
|
3305
|
+
], $i = (i) => [
|
|
3285
3306
|
{
|
|
3286
3307
|
itemId: "videoPlayer",
|
|
3287
3308
|
itemType: "videoPlayer",
|
|
@@ -3294,7 +3315,7 @@ const ki = ({ language: i = "en" } = {}) => [
|
|
|
3294
3315
|
parentId: "0",
|
|
3295
3316
|
nodeId: d()
|
|
3296
3317
|
}
|
|
3297
|
-
],
|
|
3318
|
+
], Si = (i) => [
|
|
3298
3319
|
{
|
|
3299
3320
|
key: `video-${i}`,
|
|
3300
3321
|
$ref: `${f.api.baseUrl}/schemas/videoPlayer/1.json`,
|
|
@@ -3305,7 +3326,7 @@ const ki = ({ language: i = "en" } = {}) => [
|
|
|
3305
3326
|
}
|
|
3306
3327
|
}
|
|
3307
3328
|
}
|
|
3308
|
-
],
|
|
3329
|
+
], Ti = (i) => ({
|
|
3309
3330
|
[`data.video-${i}`]: {
|
|
3310
3331
|
size: "small",
|
|
3311
3332
|
video: {
|
|
@@ -3314,15 +3335,15 @@ const ki = ({ language: i = "en" } = {}) => [
|
|
|
3314
3335
|
id: "166JEb6qkr4"
|
|
3315
3336
|
}
|
|
3316
3337
|
}
|
|
3317
|
-
}),
|
|
3338
|
+
}), Di = ({ includeMockData: i = !1, contentData: e = null }) => {
|
|
3318
3339
|
const t = d();
|
|
3319
3340
|
let a = null;
|
|
3320
|
-
return typeof e == "function" ? a = e(t) : i && (a =
|
|
3321
|
-
readView:
|
|
3322
|
-
validation:
|
|
3341
|
+
return typeof e == "function" ? a = e(t) : i && (a = Ti(t)), {
|
|
3342
|
+
readView: $i(t),
|
|
3343
|
+
validation: Si(t),
|
|
3323
3344
|
...a && { data: a }
|
|
3324
3345
|
};
|
|
3325
|
-
},
|
|
3346
|
+
}, Vi = ({ language: i = "en" } = {}) => [
|
|
3326
3347
|
{
|
|
3327
3348
|
previewUrl: `
|
|
3328
3349
|
<div style="position: relative;">
|
|
@@ -3524,34 +3545,34 @@ const ki = ({ language: i = "en" } = {}) => [
|
|
|
3524
3545
|
})
|
|
3525
3546
|
}
|
|
3526
3547
|
], G = {
|
|
3527
|
-
titleAndText2:
|
|
3528
|
-
attachments2:
|
|
3529
|
-
pdf:
|
|
3530
|
-
packageGroup: vi,
|
|
3531
|
-
multiGroupPricing: B2,
|
|
3532
|
-
coverBlock: ri,
|
|
3533
|
-
videoPlayer: Ti,
|
|
3534
|
-
embed: _i,
|
|
3535
|
-
header: mi,
|
|
3536
|
-
answer: Be,
|
|
3537
|
-
terms: F2,
|
|
3538
|
-
parties: E2,
|
|
3539
|
-
custom: st,
|
|
3540
|
-
// legacy
|
|
3541
|
-
presentation: T2,
|
|
3542
|
-
estimatedTimeCompleted: R2,
|
|
3543
|
-
estimatedWorkStartAndEndAtText: W2,
|
|
3544
|
-
extraWorkConstructionPricingList: j2,
|
|
3545
|
-
extraWorkTimeImpactText: Q2,
|
|
3546
|
-
notBinding: ei
|
|
3547
|
-
}, U = {
|
|
3548
|
-
coverBlock: ci,
|
|
3549
|
-
header: hi,
|
|
3548
|
+
titleAndText2: si,
|
|
3549
|
+
attachments2: S2,
|
|
3550
|
+
pdf: Me,
|
|
3550
3551
|
packageGroup: yi,
|
|
3551
|
-
|
|
3552
|
+
multiGroupPricing: M2,
|
|
3553
|
+
coverBlock: ci,
|
|
3552
3554
|
videoPlayer: Di,
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
+
embed: ki,
|
|
3556
|
+
header: hi,
|
|
3557
|
+
answer: Ie,
|
|
3558
|
+
terms: H2,
|
|
3559
|
+
parties: z2,
|
|
3560
|
+
custom: ot,
|
|
3561
|
+
// legacy
|
|
3562
|
+
presentation: D2,
|
|
3563
|
+
estimatedTimeCompleted: R2,
|
|
3564
|
+
estimatedWorkStartAndEndAtText: q2,
|
|
3565
|
+
extraWorkConstructionPricingList: K2,
|
|
3566
|
+
extraWorkTimeImpactText: J2,
|
|
3567
|
+
notBinding: ti
|
|
3568
|
+
}, W = {
|
|
3569
|
+
coverBlock: di,
|
|
3570
|
+
header: fi,
|
|
3571
|
+
packageGroup: xi,
|
|
3572
|
+
embed: Li,
|
|
3573
|
+
videoPlayer: Vi,
|
|
3574
|
+
custom: st
|
|
3575
|
+
}, Bi = {
|
|
3555
3576
|
name: "AddBlock",
|
|
3556
3577
|
props: {
|
|
3557
3578
|
set: {
|
|
@@ -3565,14 +3586,14 @@ const ki = ({ language: i = "en" } = {}) => [
|
|
|
3565
3586
|
},
|
|
3566
3587
|
render() {
|
|
3567
3588
|
return this.$scopedSlots.default({
|
|
3568
|
-
addBlock: (i) =>
|
|
3589
|
+
addBlock: (i) => Fe({
|
|
3569
3590
|
...i,
|
|
3570
3591
|
set: this.set,
|
|
3571
3592
|
tplGenerators: G,
|
|
3572
3593
|
includeMockData: this.includeMockData,
|
|
3573
3594
|
emit: (...e) => this.$emit(...e)
|
|
3574
3595
|
}),
|
|
3575
|
-
getBlockPayload: (i) =>
|
|
3596
|
+
getBlockPayload: (i) => He(
|
|
3576
3597
|
i,
|
|
3577
3598
|
this.set,
|
|
3578
3599
|
G,
|
|
@@ -3580,19 +3601,19 @@ const ki = ({ language: i = "en" } = {}) => [
|
|
|
3580
3601
|
)
|
|
3581
3602
|
});
|
|
3582
3603
|
}
|
|
3583
|
-
},
|
|
3584
|
-
var
|
|
3585
|
-
Vi,
|
|
3604
|
+
}, Mi = null, Ii = null;
|
|
3605
|
+
var Fi = /* @__PURE__ */ c(
|
|
3586
3606
|
Bi,
|
|
3587
3607
|
Mi,
|
|
3608
|
+
Ii,
|
|
3588
3609
|
!1,
|
|
3589
3610
|
null,
|
|
3590
3611
|
null,
|
|
3591
3612
|
null,
|
|
3592
3613
|
null
|
|
3593
3614
|
);
|
|
3594
|
-
const
|
|
3595
|
-
const
|
|
3615
|
+
const re = Fi.exports;
|
|
3616
|
+
const Hi = {
|
|
3596
3617
|
name: "Drawer",
|
|
3597
3618
|
props: {
|
|
3598
3619
|
value: {
|
|
@@ -3635,7 +3656,7 @@ const Fi = {
|
|
|
3635
3656
|
}
|
|
3636
3657
|
}
|
|
3637
3658
|
};
|
|
3638
|
-
var
|
|
3659
|
+
var Ai = function() {
|
|
3639
3660
|
var e = this, t = e._self._c;
|
|
3640
3661
|
return t("div", [t("transition", { attrs: { name: "fade" } }, [!e.hideOverlay && e.value ? t("div", { staticClass: "d-overlay", style: {
|
|
3641
3662
|
zIndex: e.zIndex
|
|
@@ -3651,18 +3672,18 @@ var Hi = function() {
|
|
|
3651
3672
|
boxShadow: e.boxShadow,
|
|
3652
3673
|
...e.contentStyle
|
|
3653
3674
|
} }, [e._t("default")], 2)]) : e._e()])], 1);
|
|
3654
|
-
},
|
|
3655
|
-
Fi,
|
|
3675
|
+
}, Pi = [], Ei = /* @__PURE__ */ c(
|
|
3656
3676
|
Hi,
|
|
3657
3677
|
Ai,
|
|
3678
|
+
Pi,
|
|
3658
3679
|
!1,
|
|
3659
3680
|
null,
|
|
3660
3681
|
"cd4a251a",
|
|
3661
3682
|
null,
|
|
3662
3683
|
null
|
|
3663
3684
|
);
|
|
3664
|
-
const
|
|
3665
|
-
const
|
|
3685
|
+
const ce = Ei.exports;
|
|
3686
|
+
const zi = {
|
|
3666
3687
|
name: "DocumentSend",
|
|
3667
3688
|
i18nOptions: {
|
|
3668
3689
|
namespaces: "documentSend",
|
|
@@ -3686,12 +3707,12 @@ const Ei = {
|
|
|
3686
3707
|
}
|
|
3687
3708
|
},
|
|
3688
3709
|
components: {
|
|
3689
|
-
AddBlock:
|
|
3690
|
-
Drawer:
|
|
3691
|
-
SendForm:
|
|
3692
|
-
CCheckbox:
|
|
3693
|
-
BaseIcon:
|
|
3694
|
-
CButton:
|
|
3710
|
+
AddBlock: re,
|
|
3711
|
+
Drawer: ce,
|
|
3712
|
+
SendForm: rt,
|
|
3713
|
+
CCheckbox: Ae,
|
|
3714
|
+
BaseIcon: Pe,
|
|
3715
|
+
CButton: Ee,
|
|
3695
3716
|
IsPremium: b,
|
|
3696
3717
|
IsPremiumPreStep: _
|
|
3697
3718
|
},
|
|
@@ -3783,7 +3804,7 @@ const Ei = {
|
|
|
3783
3804
|
}
|
|
3784
3805
|
}
|
|
3785
3806
|
};
|
|
3786
|
-
var
|
|
3807
|
+
var Zi = function() {
|
|
3787
3808
|
var e = this, t = e._self._c;
|
|
3788
3809
|
return e.mq !== "sm" || e.isOpen ? t(e.mq === "sm" ? "div" : "Drawer", { tag: "component", attrs: { placement: "right" }, model: { value: e.isOpen, callback: function(a) {
|
|
3789
3810
|
e.isOpen = a;
|
|
@@ -3806,17 +3827,17 @@ var zi = function() {
|
|
|
3806
3827
|
}, 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)];
|
|
3807
3828
|
} }], null, !0) })];
|
|
3808
3829
|
} }], null, !1, 2049373406) })], 1)], 1)], 1)]) : e._e();
|
|
3809
|
-
},
|
|
3810
|
-
Ei,
|
|
3830
|
+
}, Oi = [], Ui = /* @__PURE__ */ c(
|
|
3811
3831
|
zi,
|
|
3812
3832
|
Zi,
|
|
3833
|
+
Oi,
|
|
3813
3834
|
!1,
|
|
3814
3835
|
null,
|
|
3815
3836
|
"41e74cd7",
|
|
3816
3837
|
null,
|
|
3817
3838
|
null
|
|
3818
3839
|
);
|
|
3819
|
-
const Ri =
|
|
3840
|
+
const Ri = Ui.exports, Gi = {
|
|
3820
3841
|
name: "Draggable",
|
|
3821
3842
|
data() {
|
|
3822
3843
|
return {
|
|
@@ -3854,21 +3875,21 @@ const Ri = Oi.exports, Gi = {
|
|
|
3854
3875
|
dragMousedown: this.onDragMouseDown
|
|
3855
3876
|
});
|
|
3856
3877
|
}
|
|
3857
|
-
},
|
|
3858
|
-
var
|
|
3878
|
+
}, Wi = null, qi = null;
|
|
3879
|
+
var Ni = /* @__PURE__ */ c(
|
|
3859
3880
|
Gi,
|
|
3860
|
-
Ui,
|
|
3861
3881
|
Wi,
|
|
3882
|
+
qi,
|
|
3862
3883
|
!1,
|
|
3863
3884
|
null,
|
|
3864
3885
|
null,
|
|
3865
3886
|
null,
|
|
3866
3887
|
null
|
|
3867
3888
|
);
|
|
3868
|
-
const
|
|
3869
|
-
const
|
|
3889
|
+
const ji = Ni.exports;
|
|
3890
|
+
const Ki = {
|
|
3870
3891
|
components: {
|
|
3871
|
-
Draggable:
|
|
3892
|
+
Draggable: ji
|
|
3872
3893
|
},
|
|
3873
3894
|
props: {
|
|
3874
3895
|
offset: {
|
|
@@ -3881,7 +3902,7 @@ const ji = {
|
|
|
3881
3902
|
}
|
|
3882
3903
|
}
|
|
3883
3904
|
};
|
|
3884
|
-
var
|
|
3905
|
+
var Yi = function() {
|
|
3885
3906
|
var e = this, t = e._self._c;
|
|
3886
3907
|
return t("portal", { attrs: { to: "modal" } }, [t("Draggable", { scopedSlots: e._u([{ key: "default", fn: function({ dragMousedown: a }) {
|
|
3887
3908
|
return [t("div", { staticClass: "popup", staticStyle: { position: "fixed", width: "280px", "border-radius": "calc(0.5 * var(--rem))", padding: "1em 1em 3em 1em", "font-size": "14px", "background-color": "white", "min-height": "400px", "box-shadow": "0 5px 30px -5px rgb(0, 0, 0, 0.2)", "z-index": "1000" }, style: {
|
|
@@ -3891,26 +3912,26 @@ var Ki = function() {
|
|
|
3891
3912
|
return e.$emit("close");
|
|
3892
3913
|
} } }), t("CButton", { staticStyle: { position: "absolute", right: "calc(2.25 * var(--rem))", top: "0", cursor: "grab" }, attrs: { icon: "handle", size: "small", type: "none", pattern: "tertiary", circle: "" }, on: { mousedown: a } }), t("div", { staticStyle: { "font-weight": "700", "font-size": "1.5em", "margin-bottom": "calc(1 * var(--rem))" } }, [e._v(" " + e._s(e.title) + " ")]), e._t("default")], 2)])];
|
|
3893
3914
|
} }], null, !0) })], 1);
|
|
3894
|
-
},
|
|
3895
|
-
ji,
|
|
3915
|
+
}, Qi = [], Ji = /* @__PURE__ */ c(
|
|
3896
3916
|
Ki,
|
|
3897
3917
|
Yi,
|
|
3918
|
+
Qi,
|
|
3898
3919
|
!1,
|
|
3899
3920
|
null,
|
|
3900
3921
|
"58649fd0",
|
|
3901
3922
|
null,
|
|
3902
3923
|
null
|
|
3903
3924
|
);
|
|
3904
|
-
const
|
|
3905
|
-
const
|
|
3925
|
+
const de = Ji.exports;
|
|
3926
|
+
const Xi = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Xi), ea = {
|
|
3906
3927
|
i18nOptions: {
|
|
3907
3928
|
namespaces: "common",
|
|
3908
3929
|
keyPrefix: "designLabels"
|
|
3909
3930
|
},
|
|
3910
3931
|
name: "Design",
|
|
3911
3932
|
components: {
|
|
3912
|
-
FormInputRow:
|
|
3913
|
-
DragWindow:
|
|
3933
|
+
FormInputRow: ie,
|
|
3934
|
+
DragWindow: de
|
|
3914
3935
|
},
|
|
3915
3936
|
mixins: [S(["css"], { useEmit: !1, setFnName: "set" })],
|
|
3916
3937
|
props: {
|
|
@@ -3990,7 +4011,7 @@ const Ji = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Ji), Xi = {
|
|
|
3990
4011
|
}
|
|
3991
4012
|
},
|
|
3992
4013
|
onInput: ({ family: a, weight: n, options: s = [] }) => {
|
|
3993
|
-
this.update(i, a),
|
|
4014
|
+
this.update(i, a), Je(a), t != n && this.update("fontWeight", n), this.fontWeightOptions = s;
|
|
3994
4015
|
}
|
|
3995
4016
|
}
|
|
3996
4017
|
]
|
|
@@ -4456,7 +4477,7 @@ const Ji = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Ji), Xi = {
|
|
|
4456
4477
|
watch: {
|
|
4457
4478
|
async activeItem(i) {
|
|
4458
4479
|
const e = u(i, "style.fontFamily");
|
|
4459
|
-
e && (this.fontWeightOptions = await
|
|
4480
|
+
e && (this.fontWeightOptions = await Xe(e));
|
|
4460
4481
|
}
|
|
4461
4482
|
},
|
|
4462
4483
|
methods: {
|
|
@@ -4468,7 +4489,7 @@ const Ji = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Ji), Xi = {
|
|
|
4468
4489
|
}
|
|
4469
4490
|
}
|
|
4470
4491
|
};
|
|
4471
|
-
var
|
|
4492
|
+
var ta = function() {
|
|
4472
4493
|
var e = this, t = e._self._c;
|
|
4473
4494
|
return t("div", [t("div", { staticStyle: { padding: "calc(0.5 * var(--rem))", position: "relative" } }, [t("div", { staticStyle: { "padding-left": "calc(0.75 * var(--rem))", "font-size": "14px", color: "hsl(0, 0%, 30%)", "padding-bottom": "3px" } }, [e._v(" " + e._s(e.$t("typography")) + " ")]), e._l(e.typography, function(a) {
|
|
4474
4495
|
return t("div", { key: a.label, staticClass: "list-option", on: { click: function(n) {
|
|
@@ -4487,18 +4508,18 @@ var ea = function() {
|
|
|
4487
4508
|
})], 2), e.activeItem ? t("DragWindow", { attrs: { title: e.activeItem.label, offset: e.offset }, on: { close: () => e.activeItem = null } }, e._l(e.activeItemOptions, function(a, n) {
|
|
4488
4509
|
return t("FormInputRow", { key: n, attrs: { label: a.label, inputs: a.inputs } });
|
|
4489
4510
|
}), 1) : e._e()], 1);
|
|
4490
|
-
},
|
|
4491
|
-
Xi,
|
|
4511
|
+
}, ia = [], aa = /* @__PURE__ */ c(
|
|
4492
4512
|
ea,
|
|
4493
4513
|
ta,
|
|
4514
|
+
ia,
|
|
4494
4515
|
!1,
|
|
4495
4516
|
null,
|
|
4496
4517
|
"4404aad6",
|
|
4497
4518
|
null,
|
|
4498
4519
|
null
|
|
4499
4520
|
);
|
|
4500
|
-
const
|
|
4501
|
-
const
|
|
4521
|
+
const na = aa.exports;
|
|
4522
|
+
const sa = {
|
|
4502
4523
|
name: "FieldsModal",
|
|
4503
4524
|
i18nOptions: {
|
|
4504
4525
|
namespaces: "FieldsModal",
|
|
@@ -4532,7 +4553,7 @@ const na = {
|
|
|
4532
4553
|
}
|
|
4533
4554
|
},
|
|
4534
4555
|
components: {
|
|
4535
|
-
CField:
|
|
4556
|
+
CField: te
|
|
4536
4557
|
},
|
|
4537
4558
|
props: {
|
|
4538
4559
|
document: {
|
|
@@ -4608,12 +4629,12 @@ const na = {
|
|
|
4608
4629
|
remove() {
|
|
4609
4630
|
if (!this.existingFieldId)
|
|
4610
4631
|
return;
|
|
4611
|
-
const i =
|
|
4632
|
+
const i = mt(this.document.fields, [this.existingFieldId]);
|
|
4612
4633
|
this.set({ key: "data.fields", value: i }), this.$emit("close");
|
|
4613
4634
|
}
|
|
4614
4635
|
}
|
|
4615
4636
|
};
|
|
4616
|
-
var
|
|
4637
|
+
var oa = function() {
|
|
4617
4638
|
var e = this, t = e._self._c;
|
|
4618
4639
|
return t("div", { staticClass: "flex flex-col items-center w-full text-center bg-white font-inter", staticStyle: { padding: "2em", "border-radius": "10px" } }, [t("div", { staticStyle: { "padding-bottom": "2em" } }, [t("div", { staticStyle: { "font-size": "18px", "font-weight": "600", "margin-bottom": "0.25em" } }, [e._v(" " + e._s(e.existingFieldId ? e.$t("editTitle") : e.$t("newTitle")) + " ")]), t("div", { staticStyle: { "margin-bottom": "0.25em", opacity: "0.65" } }, [e._v(" " + e._s(e.$t("description")) + " ")])]), t("form", { staticStyle: { width: "100%" }, on: { submit: function(a) {
|
|
4619
4640
|
return a.preventDefault(), e.submit.apply(null, arguments);
|
|
@@ -4624,18 +4645,18 @@ var sa = function() {
|
|
|
4624
4645
|
}, expression: "form.label" } })], 1), t("CField", { staticStyle: { width: "100%", "text-align": "left", "margin-bottom": "1em" }, attrs: { label: e.$t("value"), messages: e.messages.form.value, validator: e.$v.form.value, "label-position": "inside" } }, [t("CInput", { attrs: { placeholder: e.$t("valuePlaceholder"), filled: "" }, model: { value: e.form.value, callback: function(a) {
|
|
4625
4646
|
e.$set(e.form, "value", a);
|
|
4626
4647
|
}, expression: "form.value" } })], 1), t("CButton", { staticStyle: { "margin-top": "1.5em" }, attrs: { type: "secondary", wide: "" }, domProps: { textContent: e._s(e.$t("_common:save")) }, on: { click: e.submit } }), e.existingFieldId ? t("CButton", { staticStyle: { "margin-top": "5px" }, attrs: { type: "none", pattern: "tertiary", wide: "" }, domProps: { textContent: e._s(e.$t("_common:remove")) }, on: { click: e.remove } }) : e._e()], 1)]);
|
|
4627
|
-
},
|
|
4628
|
-
na,
|
|
4648
|
+
}, la = [], ra = /* @__PURE__ */ c(
|
|
4629
4649
|
sa,
|
|
4630
4650
|
oa,
|
|
4651
|
+
la,
|
|
4631
4652
|
!1,
|
|
4632
4653
|
null,
|
|
4633
4654
|
"186f2d19",
|
|
4634
4655
|
null,
|
|
4635
4656
|
null
|
|
4636
4657
|
);
|
|
4637
|
-
const
|
|
4638
|
-
const
|
|
4658
|
+
const ca = ra.exports;
|
|
4659
|
+
const da = {
|
|
4639
4660
|
i18nOptions: {
|
|
4640
4661
|
namespaces: "DocumentFormFields",
|
|
4641
4662
|
messages: {
|
|
@@ -4659,9 +4680,9 @@ const ca = {
|
|
|
4659
4680
|
},
|
|
4660
4681
|
name: "DocumentFormFields",
|
|
4661
4682
|
components: {
|
|
4662
|
-
SmartList:
|
|
4663
|
-
CAccordion:
|
|
4664
|
-
CField:
|
|
4683
|
+
SmartList: ut,
|
|
4684
|
+
CAccordion: Ye,
|
|
4685
|
+
CField: te
|
|
4665
4686
|
},
|
|
4666
4687
|
mixins: [S()],
|
|
4667
4688
|
props: {
|
|
@@ -4737,7 +4758,7 @@ const ca = {
|
|
|
4737
4758
|
},
|
|
4738
4759
|
openFieldModal({ existingFieldId: i }) {
|
|
4739
4760
|
this.$modal.show(
|
|
4740
|
-
|
|
4761
|
+
ca,
|
|
4741
4762
|
{
|
|
4742
4763
|
document: this._document,
|
|
4743
4764
|
set: this.set,
|
|
@@ -4756,7 +4777,7 @@ const ca = {
|
|
|
4756
4777
|
);
|
|
4757
4778
|
},
|
|
4758
4779
|
onCopyField(i) {
|
|
4759
|
-
navigator && navigator.clipboard && i && navigator.clipboard.writeText(i).then(() =>
|
|
4780
|
+
navigator && navigator.clipboard && i && navigator.clipboard.writeText(i).then(() => H("info", this.$t("_common:copyMessage"))).catch((e) => D(e));
|
|
4760
4781
|
},
|
|
4761
4782
|
filterMethod(i, e) {
|
|
4762
4783
|
return e.filter(
|
|
@@ -4769,7 +4790,7 @@ const ca = {
|
|
|
4769
4790
|
}
|
|
4770
4791
|
}
|
|
4771
4792
|
};
|
|
4772
|
-
var
|
|
4793
|
+
var pa = function() {
|
|
4773
4794
|
var e = this, t = e._self._c;
|
|
4774
4795
|
return t("div", { staticStyle: { padding: "1em" } }, [t("div", { staticStyle: { margin: "15px 0" } }, [t("div", { staticStyle: { "font-size": "16px", "font-weight": "600" }, domProps: { textContent: e._s(e.$t("title")) } }), t("div", { staticStyle: { color: "hsl(0, 0%, 35%)" }, domProps: { textContent: e._s(e.$t("description")) } })]), t("CInput", { attrs: { placeholder: e.$t("_common:search"), filled: "", size: "small" }, model: { value: e.query, callback: function(a) {
|
|
4775
4796
|
e.query = a;
|
|
@@ -4816,18 +4837,18 @@ var da = function() {
|
|
|
4816
4837
|
} } })], 1)], 1)]);
|
|
4817
4838
|
}) : t("div", { staticStyle: { "font-size": "13px", "text-align": "center", "user-select": "none", padding: "0.5em", "border-radius": "0.25em", opacity: "0.5" }, domProps: { textContent: e._s(e.$t("noResults")) } })], 2)]);
|
|
4818
4839
|
})], 2)], 1);
|
|
4819
|
-
},
|
|
4820
|
-
ca,
|
|
4840
|
+
}, ua = [], ma = /* @__PURE__ */ c(
|
|
4821
4841
|
da,
|
|
4822
4842
|
pa,
|
|
4843
|
+
ua,
|
|
4823
4844
|
!1,
|
|
4824
4845
|
null,
|
|
4825
4846
|
"da1996e8",
|
|
4826
4847
|
null,
|
|
4827
4848
|
null
|
|
4828
4849
|
);
|
|
4829
|
-
const
|
|
4830
|
-
const
|
|
4850
|
+
const ha = ma.exports;
|
|
4851
|
+
const fa = {
|
|
4831
4852
|
i18nOptions: {
|
|
4832
4853
|
messages: {
|
|
4833
4854
|
en: {
|
|
@@ -4870,8 +4891,8 @@ const ha = {
|
|
|
4870
4891
|
},
|
|
4871
4892
|
name: "ExtensionTab",
|
|
4872
4893
|
components: {
|
|
4873
|
-
draggable:
|
|
4874
|
-
Spinner:
|
|
4894
|
+
draggable: ht,
|
|
4895
|
+
Spinner: ze
|
|
4875
4896
|
},
|
|
4876
4897
|
mixins: [S(["externalReferences", "clients", "articles"])],
|
|
4877
4898
|
data() {
|
|
@@ -4925,7 +4946,7 @@ const ha = {
|
|
|
4925
4946
|
}
|
|
4926
4947
|
},
|
|
4927
4948
|
methods: {
|
|
4928
|
-
priceFormat:
|
|
4949
|
+
priceFormat: Y,
|
|
4929
4950
|
async _search(i) {
|
|
4930
4951
|
try {
|
|
4931
4952
|
this.isSearching = !0;
|
|
@@ -4947,7 +4968,7 @@ const ha = {
|
|
|
4947
4968
|
this.isSearching = !1;
|
|
4948
4969
|
}
|
|
4949
4970
|
},
|
|
4950
|
-
search:
|
|
4971
|
+
search: P(async function(e) {
|
|
4951
4972
|
await this._search(e);
|
|
4952
4973
|
}, 750),
|
|
4953
4974
|
useSearchResult(i) {
|
|
@@ -5004,7 +5025,7 @@ const ha = {
|
|
|
5004
5025
|
});
|
|
5005
5026
|
if (Array.isArray(a) && a.length) {
|
|
5006
5027
|
const s = (n = this._document) == null ? void 0 : n.defaultAnswerMethod, o = a.map((l) => ({
|
|
5007
|
-
...
|
|
5028
|
+
...Ze(),
|
|
5008
5029
|
...s && { answerMethod: s },
|
|
5009
5030
|
...l
|
|
5010
5031
|
}));
|
|
@@ -5034,7 +5055,7 @@ const ha = {
|
|
|
5034
5055
|
}
|
|
5035
5056
|
}
|
|
5036
5057
|
};
|
|
5037
|
-
var
|
|
5058
|
+
var ga = function() {
|
|
5038
5059
|
var e = this, t = e._self._c;
|
|
5039
5060
|
return t("div", { staticStyle: { "font-size": "13px", "padding-left": "calc(0.5 * var(--rem))", "padding-right": "calc(0.5 * var(--rem))", "padding-bottom": "calc(4 * var(--rem))" } }, [e.allAuthenticatedCRMs.length > 1 ? t("CDropdown", { staticStyle: { position: "absolute", right: "calc(0.5 * var(--rem))", top: "calc(0.5 * var(--rem))" }, attrs: { position: "is-bottom-left" } }, [t("CButton", { attrs: { slot: "trigger", size: "small", circle: "", type: "none", pattern: "tertiary", icon: "more-vertical" }, slot: "trigger" }), e._l(e.allAuthenticatedCRMs, function(a) {
|
|
5040
5061
|
return t("CDropdownItem", { key: a, attrs: { type: e.activeCrm === a ? "primary" : "secondary", size: "small" }, on: { click: function(n) {
|
|
@@ -5077,18 +5098,18 @@ var fa = function() {
|
|
|
5077
5098
|
return e.addArticle(a);
|
|
5078
5099
|
} } }, [t("div", { staticStyle: { "font-weight": "500", "padding-bottom": "4px", "font-size": "14px" }, domProps: { textContent: e._s(a.name) } }), t("div", { staticClass: "text-gray-600", staticStyle: { "font-size": "12px" } }, [e._v(" " + e._s(e.priceFormat(a.price || 0, { showZero: !1, currency: a.currency || "USD" })) + " · " + e._s(a.quantity || 0) + "x "), a.vat !== null ? [e._v(" · " + e._s(e._document.$t("vat").capitalize()) + " " + e._s(a.vat) + "% ")] : e._e()], 2)]);
|
|
5079
5100
|
}), 0) : t("div", { staticClass: "flex w-full text-gray-600", staticStyle: { "background-color": "hsl(var(--gray-color-100) / 1)", padding: "5px", "font-size": "12px", "border-radius": "5px", "line-height": "1.35" } }, [t("BaseIcon", { staticStyle: { margin: "1px 4px 0 0", "flex-shrink": "0" }, attrs: { type: "info", size: "13" } }), t("div", { domProps: { textContent: e._s(e.$t("noProducts", { type: e.dealType })) } })], 1)], 1) : e._e()] : t("div", { staticClass: "flex flex-col items-center justify-center w-full text-center", staticStyle: { "padding-top": "calc(1 * var(--rem))" } }, [t("BaseIcon", { staticClass: "text-primary-500", staticStyle: { "padding-bottom": "5px" }, attrs: { type: "info", size: "16" } }), t("div", { staticClass: "text-gray-600" }, [e._v(" " + e._s(e.$t("noCrm")) + " ")]), t("div", { staticClass: "text-center", staticStyle: { "padding-top": "calc(1 * var(--rem))" } }, [t("router-link", { staticClass: "text-primary-500", staticStyle: { "font-weight": "500" }, attrs: { to: { name: "settings" } } }, [e._v(" " + e._s(e.$t("noCrmAction")) + " ")])], 1)], 1)], 2);
|
|
5080
|
-
},
|
|
5081
|
-
ha,
|
|
5101
|
+
}, Ca = [], va = /* @__PURE__ */ c(
|
|
5082
5102
|
fa,
|
|
5083
5103
|
ga,
|
|
5104
|
+
Ca,
|
|
5084
5105
|
!1,
|
|
5085
5106
|
null,
|
|
5086
5107
|
"341fef10",
|
|
5087
5108
|
null,
|
|
5088
5109
|
null
|
|
5089
5110
|
);
|
|
5090
|
-
const
|
|
5091
|
-
const
|
|
5111
|
+
const ya = va.exports;
|
|
5112
|
+
const xa = {
|
|
5092
5113
|
i18nOptions: {
|
|
5093
5114
|
namespaces: "DocSettings",
|
|
5094
5115
|
messages: {
|
|
@@ -5176,8 +5197,8 @@ const ya = {
|
|
|
5176
5197
|
},
|
|
5177
5198
|
name: "DocumentGeneralSettings",
|
|
5178
5199
|
components: {
|
|
5179
|
-
FormInputRow:
|
|
5180
|
-
DragWindow:
|
|
5200
|
+
FormInputRow: ie,
|
|
5201
|
+
DragWindow: de
|
|
5181
5202
|
},
|
|
5182
5203
|
props: {
|
|
5183
5204
|
offset: {
|
|
@@ -5218,7 +5239,7 @@ const ya = {
|
|
|
5218
5239
|
vatTypes() {
|
|
5219
5240
|
var e;
|
|
5220
5241
|
const i = ["vat"];
|
|
5221
|
-
return ((e =
|
|
5242
|
+
return ((e = Oe[f.brand]) == null ? void 0 : e.defaultRegion) === "US" && i.push("tax"), i;
|
|
5222
5243
|
},
|
|
5223
5244
|
options() {
|
|
5224
5245
|
return [
|
|
@@ -5251,7 +5272,7 @@ const ya = {
|
|
|
5251
5272
|
component: "select",
|
|
5252
5273
|
props: {
|
|
5253
5274
|
value: this.language,
|
|
5254
|
-
options:
|
|
5275
|
+
options: Ue.map((i) => ({
|
|
5255
5276
|
value: i,
|
|
5256
5277
|
label: this.$t(`iso:language.${i}`)
|
|
5257
5278
|
})).sort((i, e) => i.label.localeCompare(e.label))
|
|
@@ -5424,7 +5445,7 @@ const ya = {
|
|
|
5424
5445
|
}
|
|
5425
5446
|
}
|
|
5426
5447
|
};
|
|
5427
|
-
var
|
|
5448
|
+
var wa = function() {
|
|
5428
5449
|
var e = this, t = e._self._c;
|
|
5429
5450
|
return t("div", { staticStyle: { height: "100%", padding: "1em" } }, [e._l(e.options, function(a, n) {
|
|
5430
5451
|
return t("FormInputRow", { key: n, attrs: { label: a.label, "info-tooltip": a.infoTooltip, inputs: a.inputs } });
|
|
@@ -5433,17 +5454,17 @@ var xa = function() {
|
|
|
5433
5454
|
} } }, [e._l(e.priceOptions, function(a, n) {
|
|
5434
5455
|
return [a.type === "divider" ? t("div", { key: n, staticClass: "divider" }) : t("FormInputRow", { key: n, attrs: { label: a.label, "info-tooltip": a.infoTooltip, inputs: a.inputs } })];
|
|
5435
5456
|
})], 2) : e._e()], 2);
|
|
5436
|
-
},
|
|
5437
|
-
ya,
|
|
5457
|
+
}, ba = [], _a = /* @__PURE__ */ c(
|
|
5438
5458
|
xa,
|
|
5439
5459
|
wa,
|
|
5460
|
+
ba,
|
|
5440
5461
|
!1,
|
|
5441
5462
|
null,
|
|
5442
5463
|
"c2cb1c6b",
|
|
5443
5464
|
null,
|
|
5444
5465
|
null
|
|
5445
5466
|
);
|
|
5446
|
-
const
|
|
5467
|
+
const ka = _a.exports, La = {
|
|
5447
5468
|
name: "MenuBlockConvertPopover",
|
|
5448
5469
|
props: {
|
|
5449
5470
|
target: {
|
|
@@ -5476,25 +5497,25 @@ const _a = ba.exports, ka = {
|
|
|
5476
5497
|
}
|
|
5477
5498
|
}
|
|
5478
5499
|
};
|
|
5479
|
-
var
|
|
5500
|
+
var $a = function() {
|
|
5480
5501
|
var e = this, t = e._self._c;
|
|
5481
5502
|
return t("div", [t("div", { staticClass: "fixed inset-0 z-10", on: { click: function(a) {
|
|
5482
5503
|
return a.target !== a.currentTarget ? null : e.$emit("close");
|
|
5483
5504
|
} } }), t("transition", { attrs: { appear: "", mode: "out-in", "enter-active-class": "transition-all duration-100 ease-out", "enter-class": "-translate-x-4 opacity-0", "enter-to-class": "translate-x-0 opacity-100", "leave-active-class": "transition-opacity duration-100 ease-out", "leave-class": "opacity-100", "leave-to-class": "opacity-0" } }, [t("div", { ref: "popover", staticClass: "absolute z-10 p-4 text-sm -translate-y-1/2 bg-white rounded-lg shadow-xl w-52" }, [t("div", { staticClass: "pb-4", domProps: { innerHTML: e._s(e.$t("text")) } }), t("CButton", { attrs: { type: "secondary", size: "small", "icon-right": "arrow-right" }, on: { click: function(a) {
|
|
5484
5505
|
return e.$emit("convert");
|
|
5485
5506
|
} } }, [e._v(" " + e._s(e.$t("button")) + " ")])], 1)])], 1);
|
|
5486
|
-
},
|
|
5487
|
-
ka,
|
|
5507
|
+
}, Sa = [], Ta = /* @__PURE__ */ c(
|
|
5488
5508
|
La,
|
|
5489
5509
|
$a,
|
|
5510
|
+
Sa,
|
|
5490
5511
|
!1,
|
|
5491
5512
|
null,
|
|
5492
5513
|
null,
|
|
5493
5514
|
null,
|
|
5494
5515
|
null
|
|
5495
5516
|
);
|
|
5496
|
-
const
|
|
5497
|
-
const
|
|
5517
|
+
const Da = Ta.exports;
|
|
5518
|
+
const Va = A.component("ProBadge", {
|
|
5498
5519
|
name: "ProBadge",
|
|
5499
5520
|
render(i) {
|
|
5500
5521
|
return i(
|
|
@@ -5505,7 +5526,7 @@ const Da = H.component("ProBadge", {
|
|
|
5505
5526
|
"Pro"
|
|
5506
5527
|
);
|
|
5507
5528
|
}
|
|
5508
|
-
}),
|
|
5529
|
+
}), Ba = {
|
|
5509
5530
|
name: "MenuBlocks",
|
|
5510
5531
|
i18nOptions: {
|
|
5511
5532
|
namespaces: "menuBlocks",
|
|
@@ -5576,12 +5597,12 @@ const Da = H.component("ProBadge", {
|
|
|
5576
5597
|
},
|
|
5577
5598
|
components: {
|
|
5578
5599
|
simplebar: k,
|
|
5579
|
-
DragList:
|
|
5580
|
-
DragItem:
|
|
5581
|
-
AddBlock:
|
|
5600
|
+
DragList: X,
|
|
5601
|
+
DragItem: ee,
|
|
5602
|
+
AddBlock: re,
|
|
5582
5603
|
IsPremiumPreStep: _,
|
|
5583
|
-
ProBadge:
|
|
5584
|
-
MenuBlockConvertPopover:
|
|
5604
|
+
ProBadge: Va,
|
|
5605
|
+
MenuBlockConvertPopover: Da
|
|
5585
5606
|
},
|
|
5586
5607
|
props: {
|
|
5587
5608
|
_document: {
|
|
@@ -5886,7 +5907,7 @@ const Da = H.component("ProBadge", {
|
|
|
5886
5907
|
}
|
|
5887
5908
|
];
|
|
5888
5909
|
return i.forEach((e) => {
|
|
5889
|
-
|
|
5910
|
+
W[e.key] && (e.subMenu = (W[e.key](this._document || {}) || []).map((t) => ({ ...t, key: e.key, locked: e.locked }))), this.tooltips[e.key] && (e.hasTooltip = !0);
|
|
5890
5911
|
}), i;
|
|
5891
5912
|
},
|
|
5892
5913
|
availableBlocks() {
|
|
@@ -5942,7 +5963,7 @@ const Da = H.component("ProBadge", {
|
|
|
5942
5963
|
if (this.mq === "sm")
|
|
5943
5964
|
return;
|
|
5944
5965
|
const { tooltips: i } = this, e = (s = (n = this.$el).getRootNode) == null ? void 0 : s.call(n), a = (e == null ? void 0 : e.toString()) === "[object ShadowRoot]" ? e : document.body;
|
|
5945
|
-
this.tippyInstances =
|
|
5966
|
+
this.tippyInstances = pt(this.$el, {
|
|
5946
5967
|
target: "[data-tooltip-key]",
|
|
5947
5968
|
allowHTML: !0,
|
|
5948
5969
|
duration: [150, 0],
|
|
@@ -5967,7 +5988,7 @@ const Da = H.component("ProBadge", {
|
|
|
5967
5988
|
i.destroy();
|
|
5968
5989
|
}) : this.tippyInstances.destroy && this.tippyInstances.destroy());
|
|
5969
5990
|
},
|
|
5970
|
-
setSubMenuState:
|
|
5991
|
+
setSubMenuState: P(
|
|
5971
5992
|
function(e) {
|
|
5972
5993
|
this.activeSubMenu = e;
|
|
5973
5994
|
},
|
|
@@ -6010,7 +6031,7 @@ const Da = H.component("ProBadge", {
|
|
|
6010
6031
|
}
|
|
6011
6032
|
}
|
|
6012
6033
|
};
|
|
6013
|
-
var
|
|
6034
|
+
var Ma = function() {
|
|
6014
6035
|
var e = this, t = e._self._c;
|
|
6015
6036
|
return t("AddBlock", { attrs: { set: e.set }, on: { "block-added": function(a) {
|
|
6016
6037
|
return e.$emit("block-added", a);
|
|
@@ -6053,18 +6074,18 @@ var Ba = function() {
|
|
|
6053
6074
|
}), 1)], 1)], 1)])], 1)];
|
|
6054
6075
|
} }], null, !0) })];
|
|
6055
6076
|
} }]) });
|
|
6056
|
-
},
|
|
6057
|
-
Va,
|
|
6077
|
+
}, Ia = [], Fa = /* @__PURE__ */ c(
|
|
6058
6078
|
Ba,
|
|
6059
6079
|
Ma,
|
|
6080
|
+
Ia,
|
|
6060
6081
|
!1,
|
|
6061
6082
|
null,
|
|
6062
6083
|
"126e204b",
|
|
6063
6084
|
null,
|
|
6064
6085
|
null
|
|
6065
6086
|
);
|
|
6066
|
-
const
|
|
6067
|
-
const
|
|
6087
|
+
const Ha = Fa.exports;
|
|
6088
|
+
const Aa = {
|
|
6068
6089
|
name: "DocumentFormMenu",
|
|
6069
6090
|
i18nOptions: {
|
|
6070
6091
|
namespaces: "documentFormMenu",
|
|
@@ -6080,12 +6101,12 @@ const Ha = {
|
|
|
6080
6101
|
}
|
|
6081
6102
|
},
|
|
6082
6103
|
components: {
|
|
6083
|
-
Design:
|
|
6084
|
-
Fields:
|
|
6085
|
-
ExtensionTab:
|
|
6086
|
-
DocumentGeneralSettings:
|
|
6087
|
-
DocumentGuide: () => import("./index-
|
|
6088
|
-
MenuBlocks:
|
|
6104
|
+
Design: na,
|
|
6105
|
+
Fields: ha,
|
|
6106
|
+
ExtensionTab: ya,
|
|
6107
|
+
DocumentGeneralSettings: ka,
|
|
6108
|
+
DocumentGuide: () => import("./index-3197309d.js"),
|
|
6109
|
+
MenuBlocks: Ha,
|
|
6089
6110
|
Simplebar: k
|
|
6090
6111
|
},
|
|
6091
6112
|
props: {
|
|
@@ -6126,7 +6147,7 @@ const Ha = {
|
|
|
6126
6147
|
data() {
|
|
6127
6148
|
return {
|
|
6128
6149
|
showGuide: !1,
|
|
6129
|
-
showGuideNotification: !
|
|
6150
|
+
showGuideNotification: !E.getItem("hideFormGuideNotification"),
|
|
6130
6151
|
tab: "blocks"
|
|
6131
6152
|
};
|
|
6132
6153
|
},
|
|
@@ -6148,11 +6169,11 @@ const Ha = {
|
|
|
6148
6169
|
},
|
|
6149
6170
|
methods: {
|
|
6150
6171
|
openGuide() {
|
|
6151
|
-
this.showGuide = !0, this.showGuideNotification = !1,
|
|
6172
|
+
this.showGuide = !0, this.showGuideNotification = !1, E.setItem("hideFormGuideNotification", !0);
|
|
6152
6173
|
}
|
|
6153
6174
|
}
|
|
6154
6175
|
};
|
|
6155
|
-
var
|
|
6176
|
+
var Pa = function() {
|
|
6156
6177
|
var e = this, t = e._self._c;
|
|
6157
6178
|
return t("div", [t("div", { staticClass: "root menu-wrapper", style: [{ width: `${e.width}px` }, e.fixed && { zIndex: 999 }] }, [e.fixed ? t("div", { staticClass: "fixed inset-0", on: { click: function(a) {
|
|
6158
6179
|
return e.$emit("close");
|
|
@@ -6197,18 +6218,18 @@ var Aa = function() {
|
|
|
6197
6218
|
}, offset: e.width }, on: { input: ({ key: a, value: n }) => e.set({ key: a, value: n }) } }) : e._e()], 1)], 1), e.showGuide ? t("DocumentGuide", { on: { close: function(a) {
|
|
6198
6219
|
e.showGuide = !1;
|
|
6199
6220
|
} } }) : e._e()], 1)])]);
|
|
6200
|
-
},
|
|
6201
|
-
Ha,
|
|
6221
|
+
}, Ea = [], za = /* @__PURE__ */ c(
|
|
6202
6222
|
Aa,
|
|
6203
6223
|
Pa,
|
|
6224
|
+
Ea,
|
|
6204
6225
|
!1,
|
|
6205
6226
|
null,
|
|
6206
6227
|
"0e0165ab",
|
|
6207
6228
|
null,
|
|
6208
6229
|
null
|
|
6209
6230
|
);
|
|
6210
|
-
const
|
|
6211
|
-
const
|
|
6231
|
+
const Za = za.exports;
|
|
6232
|
+
const Oa = {
|
|
6212
6233
|
name: "BlockControlButtons",
|
|
6213
6234
|
i18nOptions: {
|
|
6214
6235
|
namespace: "blockControlButtons",
|
|
@@ -6240,7 +6261,7 @@ const Za = {
|
|
|
6240
6261
|
}
|
|
6241
6262
|
}
|
|
6242
6263
|
};
|
|
6243
|
-
var
|
|
6264
|
+
var Ua = function() {
|
|
6244
6265
|
var e = this, t = e._self._c;
|
|
6245
6266
|
return t("div", { staticClass: "flex gap-2 control-root" }, [e.canToggleVisibility ? t("div", { staticClass: "control-button", on: { click: function(a) {
|
|
6246
6267
|
return e.$emit("toggle-visible", !e.isVisible);
|
|
@@ -6252,8 +6273,8 @@ var Oa = function() {
|
|
|
6252
6273
|
return e.$emit("remove");
|
|
6253
6274
|
} } }, [t("BaseIcon", { attrs: { type: "x", size: "16" } })], 1)]) : e._e()], 2);
|
|
6254
6275
|
}, Ra = [], Ga = /* @__PURE__ */ c(
|
|
6255
|
-
Za,
|
|
6256
6276
|
Oa,
|
|
6277
|
+
Ua,
|
|
6257
6278
|
Ra,
|
|
6258
6279
|
!1,
|
|
6259
6280
|
null,
|
|
@@ -6261,11 +6282,11 @@ var Oa = function() {
|
|
|
6261
6282
|
null,
|
|
6262
6283
|
null
|
|
6263
6284
|
);
|
|
6264
|
-
const
|
|
6265
|
-
const
|
|
6285
|
+
const Wa = Ga.exports;
|
|
6286
|
+
const qa = {
|
|
6266
6287
|
name: "DynamicBlock",
|
|
6267
6288
|
components: {
|
|
6268
|
-
BlockControlButtons:
|
|
6289
|
+
BlockControlButtons: Wa
|
|
6269
6290
|
},
|
|
6270
6291
|
props: {
|
|
6271
6292
|
isDragging: {
|
|
@@ -6326,7 +6347,7 @@ const Wa = {
|
|
|
6326
6347
|
}
|
|
6327
6348
|
}
|
|
6328
6349
|
};
|
|
6329
|
-
var
|
|
6350
|
+
var Na = function() {
|
|
6330
6351
|
var e = this, t = e._self._c;
|
|
6331
6352
|
return t("Animation", { staticClass: "w-full" }, [t("div", { staticClass: "block-root", class: [
|
|
6332
6353
|
{
|
|
@@ -6349,22 +6370,22 @@ var qa = function() {
|
|
|
6349
6370
|
}, remove: function(a) {
|
|
6350
6371
|
return e.$emit("remove");
|
|
6351
6372
|
} } }, [e.showEditButton ? t("CButton", { staticClass: "document-block__edit-button", attrs: { round: "", size: "small", thinner: "", "icon-right": "colored-dots" }, on: { click: e.onEdit } }, [e._v(" " + e._s(e.$t("_common:edit").capitalize()) + " ")]) : e._e()], 1) : e._e()], 1)]);
|
|
6352
|
-
},
|
|
6353
|
-
Wa,
|
|
6373
|
+
}, ja = [], Ka = /* @__PURE__ */ c(
|
|
6354
6374
|
qa,
|
|
6355
6375
|
Na,
|
|
6376
|
+
ja,
|
|
6356
6377
|
!1,
|
|
6357
6378
|
null,
|
|
6358
6379
|
"3d358acc",
|
|
6359
6380
|
null,
|
|
6360
6381
|
null
|
|
6361
6382
|
);
|
|
6362
|
-
const
|
|
6363
|
-
const
|
|
6383
|
+
const Ya = Ka.exports;
|
|
6384
|
+
const Qa = {
|
|
6364
6385
|
name: "DocumentDrawer",
|
|
6365
6386
|
components: {
|
|
6366
6387
|
simplebar: k,
|
|
6367
|
-
Drawer:
|
|
6388
|
+
Drawer: ce
|
|
6368
6389
|
},
|
|
6369
6390
|
props: {
|
|
6370
6391
|
position: {
|
|
@@ -6386,7 +6407,7 @@ const Ya = {
|
|
|
6386
6407
|
}
|
|
6387
6408
|
}
|
|
6388
6409
|
};
|
|
6389
|
-
var
|
|
6410
|
+
var Ja = function() {
|
|
6390
6411
|
var e = this, t = e._self._c;
|
|
6391
6412
|
return t("transition", { attrs: { name: e.fixed ? void 0 : "grow-anim", mode: "out-in" } }, [e.open ? t(e.fixed ? "drawer" : "div", e._b({ ref: "drawer", tag: "component", staticClass: "font-inter document-drawer-root", class: {
|
|
6392
6413
|
"is-sticky": !e.fixed
|
|
@@ -6398,18 +6419,18 @@ var Qa = function() {
|
|
|
6398
6419
|
padding: "calc(2.5 * var(--rem)) calc(1 * var(--rem)) calc(6 * var(--rem)) calc(1 * var(--rem))",
|
|
6399
6420
|
...e.fixedStyle
|
|
6400
6421
|
} }, [e._t("default")], 2)])])]) : e._e()], 1);
|
|
6401
|
-
},
|
|
6402
|
-
Ya,
|
|
6422
|
+
}, Xa = [], en = /* @__PURE__ */ c(
|
|
6403
6423
|
Qa,
|
|
6404
6424
|
Ja,
|
|
6425
|
+
Xa,
|
|
6405
6426
|
!1,
|
|
6406
6427
|
null,
|
|
6407
6428
|
"28a55097",
|
|
6408
6429
|
null,
|
|
6409
6430
|
null
|
|
6410
6431
|
);
|
|
6411
|
-
const
|
|
6412
|
-
const
|
|
6432
|
+
const tn = en.exports;
|
|
6433
|
+
const an = {
|
|
6413
6434
|
name: "DocumentFormViewRadio",
|
|
6414
6435
|
props: {
|
|
6415
6436
|
value: {
|
|
@@ -6422,24 +6443,24 @@ const tn = {
|
|
|
6422
6443
|
}
|
|
6423
6444
|
}
|
|
6424
6445
|
};
|
|
6425
|
-
var
|
|
6446
|
+
var nn = function() {
|
|
6426
6447
|
var e = this, t = e._self._c;
|
|
6427
6448
|
return t("div", { staticClass: "nav-toggle font-inter" }, [t("div", { staticClass: "nav-toggle-button", class: { active: e.value === "edit" }, on: { click: function(a) {
|
|
6428
6449
|
e.value === "preview" && e.$emit("input", "edit");
|
|
6429
6450
|
} } }, [e.small ? t("BaseIcon", { attrs: { type: "edit", size: "18" } }) : [e._v(e._s(e.$t("edit")))]], 2), t("div", { staticClass: "nav-toggle-button", class: { active: e.value === "preview" }, attrs: { "data-onboarding": "preview-button" }, on: { click: function(a) {
|
|
6430
6451
|
e.value === "edit" && e.$emit("input", "preview");
|
|
6431
6452
|
} } }, [e.small ? t("BaseIcon", { attrs: { type: "eye", size: "18" } }) : [e._v(e._s(e.$t("preview")))]], 2)]);
|
|
6432
|
-
},
|
|
6433
|
-
tn,
|
|
6453
|
+
}, sn = [], on = /* @__PURE__ */ c(
|
|
6434
6454
|
an,
|
|
6435
6455
|
nn,
|
|
6456
|
+
sn,
|
|
6436
6457
|
!1,
|
|
6437
6458
|
null,
|
|
6438
6459
|
"2d9aa751",
|
|
6439
6460
|
null,
|
|
6440
6461
|
null
|
|
6441
6462
|
);
|
|
6442
|
-
const
|
|
6463
|
+
const ln = on.exports, rn = {
|
|
6443
6464
|
name: "LogoBanner",
|
|
6444
6465
|
props: {
|
|
6445
6466
|
position: {
|
|
@@ -6457,46 +6478,46 @@ const on = sn.exports, ln = {
|
|
|
6457
6478
|
}
|
|
6458
6479
|
}
|
|
6459
6480
|
};
|
|
6460
|
-
var
|
|
6481
|
+
var cn = function() {
|
|
6461
6482
|
var e = this, t = e._self._c;
|
|
6462
6483
|
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
6484
|
"_common:brand.domain"
|
|
6464
6485
|
)}?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")) + " ")])])]);
|
|
6465
|
-
},
|
|
6466
|
-
ln,
|
|
6486
|
+
}, dn = [], pn = /* @__PURE__ */ c(
|
|
6467
6487
|
rn,
|
|
6468
6488
|
cn,
|
|
6489
|
+
dn,
|
|
6469
6490
|
!1,
|
|
6470
6491
|
null,
|
|
6471
6492
|
null,
|
|
6472
6493
|
null,
|
|
6473
6494
|
null
|
|
6474
6495
|
);
|
|
6475
|
-
const
|
|
6476
|
-
const
|
|
6496
|
+
const un = pn.exports;
|
|
6497
|
+
const mn = {
|
|
6477
6498
|
name: "DocumentFormNav"
|
|
6478
6499
|
};
|
|
6479
|
-
var
|
|
6500
|
+
var hn = function() {
|
|
6480
6501
|
var e = this, t = e._self._c;
|
|
6481
6502
|
return t("div", { staticClass: "DocumentFormNav py-2 px-2 md:px-6 fixed left-0 top-0 right-0 z-[98]" }, [t("div", { staticClass: "flex" }, [t("div", { staticClass: "inline-flex items-center flex-grow" }, [e._t("left")], 2), t("div", { staticClass: "inline-flex items-center justify-center flex-auto" }, [e._t("center")], 2), t("div", { staticClass: "inline-flex items-center justify-end flex-grow" }, [e._t("right")], 2)])]);
|
|
6482
|
-
},
|
|
6483
|
-
un,
|
|
6503
|
+
}, fn = [], gn = /* @__PURE__ */ c(
|
|
6484
6504
|
mn,
|
|
6485
6505
|
hn,
|
|
6506
|
+
fn,
|
|
6486
6507
|
!1,
|
|
6487
6508
|
null,
|
|
6488
6509
|
"39c32da6",
|
|
6489
6510
|
null,
|
|
6490
6511
|
null
|
|
6491
6512
|
);
|
|
6492
|
-
const
|
|
6493
|
-
const
|
|
6513
|
+
const Cn = gn.exports;
|
|
6514
|
+
const pe = (i, e, t = "$children") => {
|
|
6494
6515
|
if (!i)
|
|
6495
6516
|
return;
|
|
6496
6517
|
e(i);
|
|
6497
6518
|
const a = i[t];
|
|
6498
|
-
!a && !Array.isArray(a) || a.forEach((n) =>
|
|
6499
|
-
},
|
|
6519
|
+
!a && !Array.isArray(a) || a.forEach((n) => pe(n, e));
|
|
6520
|
+
}, vn = {
|
|
6500
6521
|
i18nOptions: {
|
|
6501
6522
|
namespaces: "DocumentFormContainer",
|
|
6502
6523
|
messages: {
|
|
@@ -6512,18 +6533,18 @@ const ce = (i, e, t = "$children") => {
|
|
|
6512
6533
|
},
|
|
6513
6534
|
name: "DocumentFormContainer",
|
|
6514
6535
|
components: {
|
|
6515
|
-
WithDimensions:
|
|
6516
|
-
DragList:
|
|
6517
|
-
DragItem:
|
|
6518
|
-
DynamicChapter:
|
|
6519
|
-
DocumentFormMenu:
|
|
6520
|
-
DynamicBlock:
|
|
6521
|
-
DocumentFormViewRadio:
|
|
6522
|
-
DocumentFormNav:
|
|
6523
|
-
DocumentDrawer:
|
|
6524
|
-
DocumentStyleContainer:
|
|
6536
|
+
WithDimensions: et,
|
|
6537
|
+
DragList: X,
|
|
6538
|
+
DragItem: ee,
|
|
6539
|
+
DynamicChapter: tt,
|
|
6540
|
+
DocumentFormMenu: Za,
|
|
6541
|
+
DynamicBlock: Ya,
|
|
6542
|
+
DocumentFormViewRadio: ln,
|
|
6543
|
+
DocumentFormNav: Cn,
|
|
6544
|
+
DocumentDrawer: tn,
|
|
6545
|
+
DocumentStyleContainer: it,
|
|
6525
6546
|
simplebar: k,
|
|
6526
|
-
LogoBanner:
|
|
6547
|
+
LogoBanner: un,
|
|
6527
6548
|
IsPremium: b
|
|
6528
6549
|
},
|
|
6529
6550
|
props: {
|
|
@@ -6659,7 +6680,7 @@ const ce = (i, e, t = "$children") => {
|
|
|
6659
6680
|
},
|
|
6660
6681
|
methods: {
|
|
6661
6682
|
onAddBlockMount(i, e) {
|
|
6662
|
-
!this.onAddRedis[i] || !e || (e.$el && this.$nextTick(() =>
|
|
6683
|
+
!this.onAddRedis[i] || !e || (e.$el && this.$nextTick(() => ft(e.$el, { offset: 100 })), typeof e[this.onAddRedis[i]] == "function" && e[this.onAddRedis[i]](), delete this.onAddRedis[i]);
|
|
6663
6684
|
},
|
|
6664
6685
|
onBlockToggleVisible(i, e) {
|
|
6665
6686
|
const a = [...this.readLayout].findIndex(
|
|
@@ -6683,7 +6704,7 @@ const ce = (i, e, t = "$children") => {
|
|
|
6683
6704
|
const a = i.itemId.split("-")[1];
|
|
6684
6705
|
this.removePackageGroup(a);
|
|
6685
6706
|
} else
|
|
6686
|
-
|
|
6707
|
+
pe(i, (n) => {
|
|
6687
6708
|
n.value && Object.values(n.value).forEach((s) => {
|
|
6688
6709
|
this.removeFormKeyValue(`${s}`);
|
|
6689
6710
|
let o = s.replace(
|
|
@@ -6744,17 +6765,17 @@ const ce = (i, e, t = "$children") => {
|
|
|
6744
6765
|
contentData: l
|
|
6745
6766
|
});
|
|
6746
6767
|
o({ validation: p, data: C });
|
|
6747
|
-
const
|
|
6768
|
+
const ue = Ge({ tree: r }), me = [
|
|
6748
6769
|
...this.nestedReadLayout.slice(0, t),
|
|
6749
|
-
...
|
|
6770
|
+
...ue,
|
|
6750
6771
|
...this.nestedReadLayout.slice(t)
|
|
6751
6772
|
];
|
|
6752
6773
|
this.setFormValue({
|
|
6753
6774
|
key: "template.views.read.nodes",
|
|
6754
|
-
value: B(
|
|
6775
|
+
value: B(me)
|
|
6755
6776
|
});
|
|
6756
|
-
const [{ nodeId:
|
|
6757
|
-
this.onAddRedis[
|
|
6777
|
+
const [{ nodeId: he }] = r;
|
|
6778
|
+
this.onAddRedis[he] = V;
|
|
6758
6779
|
}
|
|
6759
6780
|
},
|
|
6760
6781
|
shouldAnimateDrop(i) {
|
|
@@ -6762,7 +6783,7 @@ const ce = (i, e, t = "$children") => {
|
|
|
6762
6783
|
}
|
|
6763
6784
|
}
|
|
6764
6785
|
};
|
|
6765
|
-
var
|
|
6786
|
+
var yn = function() {
|
|
6766
6787
|
var e = this, t = e._self._c;
|
|
6767
6788
|
return t("div", { staticStyle: { overflow: "auto", height: "100vh" } }, [t("div", { staticClass: "flex container-root font-inter", class: {
|
|
6768
6789
|
"is-edit-view": e.isEditView,
|
|
@@ -6840,30 +6861,30 @@ var vn = function() {
|
|
|
6840
6861
|
} } }, [t("CButton", { staticClass: "absolute top-2 right-2", attrs: { "icon-props": { size: 20 }, size: "normal", icon: "x", circle: "", type: "none", pattern: "tertiary" }, on: { click: function(a) {
|
|
6841
6862
|
e.drawerState.openSection = null;
|
|
6842
6863
|
} } }), t("portal-target", { attrs: { name: "drawer-content" } })], 1)], 1)]);
|
|
6843
|
-
},
|
|
6864
|
+
}, xn = [function() {
|
|
6844
6865
|
var i = this, e = i._self._c;
|
|
6845
6866
|
return e("div", { staticClass: "drag-drop-illustration-block" }, [e("div"), e("div")]);
|
|
6846
|
-
}],
|
|
6847
|
-
Cn,
|
|
6867
|
+
}], wn = /* @__PURE__ */ c(
|
|
6848
6868
|
vn,
|
|
6849
6869
|
yn,
|
|
6870
|
+
xn,
|
|
6850
6871
|
!1,
|
|
6851
6872
|
null,
|
|
6852
6873
|
"7bbc9812",
|
|
6853
6874
|
null,
|
|
6854
6875
|
null
|
|
6855
6876
|
);
|
|
6856
|
-
const
|
|
6857
|
-
function
|
|
6877
|
+
const bn = wn.exports;
|
|
6878
|
+
function _n(i, e, t) {
|
|
6858
6879
|
return i === i && (t !== void 0 && (i = i <= t ? i : t), e !== void 0 && (i = i >= e ? i : e)), i;
|
|
6859
6880
|
}
|
|
6860
|
-
var
|
|
6861
|
-
function
|
|
6862
|
-
return t === void 0 && (t = e, e = void 0), t !== void 0 && (t = M(t), t = t === t ? t : 0), e !== void 0 && (e = M(e), e = e === e ? e : 0),
|
|
6881
|
+
var kn = _n, Ln = kn, M = nt;
|
|
6882
|
+
function $n(i, e, t) {
|
|
6883
|
+
return t === void 0 && (t = e, e = void 0), t !== void 0 && (t = M(t), t = t === t ? t : 0), e !== void 0 && (e = M(e), e = e === e ? e : 0), Ln(M(i), e, t);
|
|
6863
6884
|
}
|
|
6864
|
-
var
|
|
6865
|
-
const
|
|
6866
|
-
const
|
|
6885
|
+
var Sn = $n;
|
|
6886
|
+
const Tn = /* @__PURE__ */ K(Sn);
|
|
6887
|
+
const Dn = {
|
|
6867
6888
|
name: "RemainingTrialButton",
|
|
6868
6889
|
components: { IsPremium: b },
|
|
6869
6890
|
i18nOptions: {
|
|
@@ -6894,10 +6915,10 @@ const Tn = {
|
|
|
6894
6915
|
}
|
|
6895
6916
|
},
|
|
6896
6917
|
methods: {
|
|
6897
|
-
clamp:
|
|
6918
|
+
clamp: Tn
|
|
6898
6919
|
}
|
|
6899
6920
|
};
|
|
6900
|
-
var
|
|
6921
|
+
var Vn = function() {
|
|
6901
6922
|
var e = this, t = e._self._c;
|
|
6902
6923
|
return t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({
|
|
6903
6924
|
accountType: a,
|
|
@@ -6909,31 +6930,31 @@ var Dn = function() {
|
|
|
6909
6930
|
width: e.clamp(n / o * 100, 0, 100) + "%"
|
|
6910
6931
|
} })])]), 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()];
|
|
6911
6932
|
} }]) });
|
|
6912
|
-
},
|
|
6913
|
-
Tn,
|
|
6933
|
+
}, Bn = [], Mn = /* @__PURE__ */ c(
|
|
6914
6934
|
Dn,
|
|
6915
6935
|
Vn,
|
|
6936
|
+
Bn,
|
|
6916
6937
|
!1,
|
|
6917
6938
|
null,
|
|
6918
6939
|
"a8e48834",
|
|
6919
6940
|
null,
|
|
6920
6941
|
null
|
|
6921
6942
|
);
|
|
6922
|
-
const
|
|
6943
|
+
const In = Mn.exports, T = A.observable({
|
|
6923
6944
|
canEdit: !1,
|
|
6924
6945
|
isForm: !0,
|
|
6925
6946
|
setFormValue: null,
|
|
6926
6947
|
removeFormValue: null
|
|
6927
|
-
}),
|
|
6948
|
+
}), Fn = {
|
|
6928
6949
|
name: "DocumentForm",
|
|
6929
6950
|
components: {
|
|
6930
|
-
DocumentFormContainer:
|
|
6951
|
+
DocumentFormContainer: bn,
|
|
6931
6952
|
IsPremium: b,
|
|
6932
6953
|
IsPremiumPreStep: _,
|
|
6933
6954
|
DocumentSend: Ri,
|
|
6934
|
-
RemainingTrialButton:
|
|
6955
|
+
RemainingTrialButton: In
|
|
6935
6956
|
},
|
|
6936
|
-
mixins: [
|
|
6957
|
+
mixins: [dt],
|
|
6937
6958
|
props: {
|
|
6938
6959
|
document: {
|
|
6939
6960
|
type: Object,
|
|
@@ -7020,7 +7041,7 @@ const Mn = Bn.exports, T = H.observable({
|
|
|
7020
7041
|
},
|
|
7021
7042
|
async saveAsTemplate() {
|
|
7022
7043
|
this.document && this.$modal.show(
|
|
7023
|
-
|
|
7044
|
+
oe,
|
|
7024
7045
|
{
|
|
7025
7046
|
document: this.document,
|
|
7026
7047
|
onSaveTemplate: this.onSaveTemplate
|
|
@@ -7037,7 +7058,7 @@ const Mn = Bn.exports, T = H.observable({
|
|
|
7037
7058
|
}
|
|
7038
7059
|
}
|
|
7039
7060
|
};
|
|
7040
|
-
var
|
|
7061
|
+
var Hn = function() {
|
|
7041
7062
|
var e = this, t = e._self._c;
|
|
7042
7063
|
return e.document ? t("div", { staticClass: "flex flex-col w-screen bg-white" }, [t("DocumentFormContainer", { attrs: { _document: e.document, view: e.view, "set-form-value": e.setDocValue, "remove-form-value": e.removeDocValue, "remove-form-key-value": e.removeDocKeyValue, close: e.close, "go-back": e.goBack, "can-show-banner": e.canShowBanner }, on: { "update:view": function(a) {
|
|
7043
7064
|
e.view = a;
|
|
@@ -7065,18 +7086,18 @@ var Fn = function() {
|
|
|
7065
7086
|
reminders: "data.reminders",
|
|
7066
7087
|
name: "data.name"
|
|
7067
7088
|
}, "set-form-value": e.setDocValue, "remove-form-value": e.removeDocValue, "on-save-document": e.onSaveDocument } })], 1) : e._e();
|
|
7068
|
-
},
|
|
7069
|
-
In,
|
|
7089
|
+
}, An = [], Pn = /* @__PURE__ */ c(
|
|
7070
7090
|
Fn,
|
|
7071
7091
|
Hn,
|
|
7092
|
+
An,
|
|
7072
7093
|
!1,
|
|
7073
7094
|
null,
|
|
7074
7095
|
null,
|
|
7075
7096
|
null,
|
|
7076
7097
|
null
|
|
7077
7098
|
);
|
|
7078
|
-
const
|
|
7079
|
-
const
|
|
7099
|
+
const En = Pn.exports;
|
|
7100
|
+
const zn = {
|
|
7080
7101
|
name: "DocumentPostSendStep",
|
|
7081
7102
|
mixins: [$],
|
|
7082
7103
|
i18nOptions: {
|
|
@@ -7133,7 +7154,7 @@ const En = {
|
|
|
7133
7154
|
id: i,
|
|
7134
7155
|
body: { status: "sent" },
|
|
7135
7156
|
showMessage: !1
|
|
7136
|
-
}),
|
|
7157
|
+
}), gt({ id: i })), t || setTimeout(() => this.close(), 2e3);
|
|
7137
7158
|
},
|
|
7138
7159
|
async onSend() {
|
|
7139
7160
|
typeof this.onSendFunc == "function" && this.onSendFunc(this.document), await this.handleDocumentLinks();
|
|
@@ -7152,7 +7173,7 @@ const En = {
|
|
|
7152
7173
|
body: { isAccepted: !0 },
|
|
7153
7174
|
checksum: a
|
|
7154
7175
|
}), await this.sendDocument({ id: i }), this.onSend()) : (this.$modal.show(
|
|
7155
|
-
|
|
7176
|
+
Ct,
|
|
7156
7177
|
{
|
|
7157
7178
|
_document: this.document,
|
|
7158
7179
|
fullScreen: this.modalHeight === "100%",
|
|
@@ -7196,25 +7217,25 @@ const En = {
|
|
|
7196
7217
|
}
|
|
7197
7218
|
}
|
|
7198
7219
|
};
|
|
7199
|
-
var
|
|
7220
|
+
var Zn = function() {
|
|
7200
7221
|
var e = this, t = e._self._c;
|
|
7201
7222
|
return t("div", { staticClass: "font-inter root" }, [t("div", { staticClass: "container" }, [t("div", { staticClass: "icon-wrapper" }, [t("BaseIcon", { attrs: { size: 20, type: "email" } })], 1), t("div", { staticClass: "title", domProps: { textContent: e._s(e.$t("title")) } }), t("div", { staticClass: "divider" }), t("CButton", { staticClass: "close-button", attrs: { type: "secondary" }, on: { click: e.close } }, [e._v(" " + e._s(e.$t("_common:close")) + " ")])], 1)]);
|
|
7202
|
-
},
|
|
7203
|
-
En,
|
|
7223
|
+
}, On = [], Un = /* @__PURE__ */ c(
|
|
7204
7224
|
zn,
|
|
7205
7225
|
Zn,
|
|
7226
|
+
On,
|
|
7206
7227
|
!1,
|
|
7207
7228
|
null,
|
|
7208
7229
|
"673cd86f",
|
|
7209
7230
|
null,
|
|
7210
7231
|
null
|
|
7211
7232
|
);
|
|
7212
|
-
const Rn =
|
|
7213
|
-
|
|
7233
|
+
const Rn = Un.exports;
|
|
7234
|
+
A.use(ct);
|
|
7214
7235
|
const Gn = {
|
|
7215
7236
|
name: "DocForm",
|
|
7216
7237
|
mixins: [
|
|
7217
|
-
|
|
7238
|
+
We([
|
|
7218
7239
|
"closeFunc",
|
|
7219
7240
|
"beforeSave",
|
|
7220
7241
|
"beforeSend",
|
|
@@ -7235,8 +7256,8 @@ const Gn = {
|
|
|
7235
7256
|
}
|
|
7236
7257
|
},
|
|
7237
7258
|
components: {
|
|
7238
|
-
TemplateSelector:
|
|
7239
|
-
DocumentForm:
|
|
7259
|
+
TemplateSelector: k2,
|
|
7260
|
+
DocumentForm: En,
|
|
7240
7261
|
PostSend: Rn
|
|
7241
7262
|
},
|
|
7242
7263
|
props: {
|
|
@@ -7258,7 +7279,7 @@ const Gn = {
|
|
|
7258
7279
|
};
|
|
7259
7280
|
},
|
|
7260
7281
|
computed: {
|
|
7261
|
-
...
|
|
7282
|
+
...qe({
|
|
7262
7283
|
company: "application/company",
|
|
7263
7284
|
feature: "application/feature",
|
|
7264
7285
|
can: "application/can",
|
|
@@ -7287,7 +7308,7 @@ const Gn = {
|
|
|
7287
7308
|
(!this.rawDoc || (i = this.rawDoc) != null && i.__isNew) && (this.view = "templateSelect");
|
|
7288
7309
|
},
|
|
7289
7310
|
methods: {
|
|
7290
|
-
...
|
|
7311
|
+
...Ne({
|
|
7291
7312
|
removeFormKeyValue: m.REMOVE_FORM_KEY_VALUE,
|
|
7292
7313
|
loadDocumentForm: m.LOAD_DOCUMENT2_FORM,
|
|
7293
7314
|
duplicateDocumentForm: m.LOAD_DUPLICATE_DOCUMENT2_FORM,
|
|
@@ -7297,7 +7318,7 @@ const Gn = {
|
|
|
7297
7318
|
async initDoc() {
|
|
7298
7319
|
if (!this.rawDoc)
|
|
7299
7320
|
throw new Error("Missing initiated form document");
|
|
7300
|
-
this.document = new
|
|
7321
|
+
this.document = new Q({
|
|
7301
7322
|
data: this.rawDoc,
|
|
7302
7323
|
can: this.can,
|
|
7303
7324
|
getters: this.$store.getters,
|
|
@@ -7306,7 +7327,7 @@ const Gn = {
|
|
|
7306
7327
|
},
|
|
7307
7328
|
async onTemplateSelect({ templateId: i, documentId: e, formData: t }) {
|
|
7308
7329
|
var n;
|
|
7309
|
-
const a =
|
|
7330
|
+
const a = U1({ ...this.rawDoc }, [
|
|
7310
7331
|
"__tempId",
|
|
7311
7332
|
"externalReferences",
|
|
7312
7333
|
"subscriberCompanyUserIds",
|
|
@@ -7318,7 +7339,7 @@ const Gn = {
|
|
|
7318
7339
|
_formData: a
|
|
7319
7340
|
}) : await this.loadDocumentForm({
|
|
7320
7341
|
templateId: i,
|
|
7321
|
-
formData: t ?
|
|
7342
|
+
formData: t ? je(t, a) : null,
|
|
7322
7343
|
_formData: a
|
|
7323
7344
|
}), (n = a == null ? void 0 : a.data) != null && n.name && this.setDocValue({ key: "data.name", value: a.data.name }), await this.initDoc(), this.view = "editor";
|
|
7324
7345
|
},
|
|
@@ -7359,20 +7380,20 @@ const Gn = {
|
|
|
7359
7380
|
}
|
|
7360
7381
|
}
|
|
7361
7382
|
};
|
|
7362
|
-
var
|
|
7383
|
+
var Wn = function() {
|
|
7363
7384
|
var e = this, t = e._self._c;
|
|
7364
7385
|
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);
|
|
7365
|
-
},
|
|
7386
|
+
}, qn = [], Nn = /* @__PURE__ */ c(
|
|
7366
7387
|
Gn,
|
|
7367
|
-
Un,
|
|
7368
7388
|
Wn,
|
|
7389
|
+
qn,
|
|
7369
7390
|
!1,
|
|
7370
7391
|
null,
|
|
7371
7392
|
null,
|
|
7372
7393
|
null,
|
|
7373
7394
|
null
|
|
7374
7395
|
);
|
|
7375
|
-
const
|
|
7396
|
+
const Ds = Nn.exports;
|
|
7376
7397
|
export {
|
|
7377
|
-
|
|
7398
|
+
Ds as default
|
|
7378
7399
|
};
|