@cling-se/widget 0.9.4 → 0.9.5
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-d472aa84.js → AddClientCallout-e4e9874f.js} +5 -5
- package/dist/{AnswerModal-06487437.js → AnswerModal-acd3b9c0.js} +248 -248
- package/dist/{AttachmentItem-d98488ee.js → AttachmentItem-34e91526.js} +8 -8
- package/dist/{BaseDatePicker-8c098701.js → BaseDatePicker-581297bc.js} +43 -43
- package/dist/{BaseInput-2723d613.js → BaseInput-29d88150.js} +1 -1
- package/dist/{BaseUpload-996d74b3.js → BaseUpload-84d3b68b.js} +3 -3
- package/dist/{BlockMedia-00907fb6.js → BlockMedia-319932b8.js} +1 -1
- package/dist/{CCallout-ffa95028.js → CCallout-88ae9c08.js} +6 -6
- package/dist/{CDropdownItem-74672842.js → CDropdownItem-d46bf062.js} +76 -75
- package/dist/{CField-06dd50f1.js → CField-be05883b.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-f49d85e0.js → CSlider.vue_vue_type_style_index_0_lang-df4c839e.js} +1 -1
- package/dist/{ClientAutocomplete-f65643dd.js → ClientAutocomplete-68f76bfc.js} +4 -4
- package/dist/{ClientModal-d276aabd.js → ClientModal-73086005.js} +16 -16
- package/dist/{ColorPicker-4f6b70af.js → ColorPicker-11ee76f0.js} +2 -2
- package/dist/{CompanyModal-30c54ce3.js → CompanyModal-0fec4480.js} +8 -8
- package/dist/{ContentWrapper-d5653fef.js → ContentWrapper-fba78b6f.js} +19 -19
- package/dist/{CoverBlockSettings-2335f3a8.js → CoverBlockSettings-7ffa15b1.js} +19 -19
- package/dist/{DocForm-9ca24de4.js → DocForm-e56b3a0c.js} +1190 -819
- package/dist/{DocFormSend-d0c6fa1d.js → DocFormSend-cdc4eaf8.js} +14 -14
- package/dist/{DocModalBase-f4915a62.js → DocModalBase-e473b946.js} +4 -4
- package/dist/DocPrint-6d8b1f14.js +222 -0
- package/dist/{DocReceipt-d192000e.js → DocReceipt-c8a543f8.js} +1 -1
- package/dist/{DocSendReminder-06d5b34c.js → DocSendReminder-70effa09.js} +1 -1
- package/dist/{DocTextEditor-c6d1df3c.js → DocTextEditor-cce51e7c.js} +19 -19
- package/dist/{DocTimeline-b4c20f93.js → DocTimeline-c2cbd773.js} +11 -11
- package/dist/{DocumentClient-c2319f00.js → DocumentClient-611c8c1c.js} +8 -6
- package/dist/{formValidationMixin-4920ab53.js → DocumentLayout-86c367d1.js} +1617 -1709
- package/dist/{DocumentLogotype-1efd1ce9.js → DocumentLogotype-441a9fdb.js} +3 -3
- package/dist/{EmbedInput-654c0477.js → EmbedInput-a5938c25.js} +2 -2
- package/dist/{EmbedSettings-b81ec734.js → EmbedSettings-141ab53c.js} +10 -10
- package/dist/ErrorCallout-7dea37df.js +30 -0
- package/dist/{FilePreviewModal-895bd1bd.js → FilePreviewModal-875fd8c9.js} +8 -7
- package/dist/{HeaderSettings-c6dac755.js → HeaderSettings-0364b6df.js} +29 -29
- package/dist/{ImageSelectModal-7cece54e.js → ImageSelectModal-2d3a69db.js} +11 -11
- package/dist/{ImageUploadWrapper-53afd31d.js → ImageUploadWrapper-7c70045f.js} +3 -3
- package/dist/{Index-f935c492.js → Index-006a27da.js} +10 -10
- package/dist/{Index-6ef78b7a.js → Index-0313a553.js} +2 -2
- package/dist/{Index-9aaf8b90.js → Index-06bd31c3.js} +26 -26
- package/dist/Index-07ae23ce.js +54 -0
- package/dist/{Index-7443e91c.js → Index-0f4c9eb4.js} +34 -34
- package/dist/{Index-c4de05aa.js → Index-1e0cf88a.js} +10 -9
- package/dist/{Index-d45a1eff.js → Index-1fc54467.js} +4 -4
- package/dist/{Index-e749f6f1.js → Index-205dd368.js} +14 -14
- package/dist/{Index-34c84bab.js → Index-245f88ff.js} +10 -10
- package/dist/{Index-d8879ca9.js → Index-28bdb859.js} +2 -2
- package/dist/{Index-60fc8a6e.js → Index-2a0c06b1.js} +3 -3
- package/dist/{Index-63805642.js → Index-3d84a32c.js} +9 -9
- package/dist/{Index-66c8cbfa.js → Index-418c517f.js} +4 -4
- package/dist/{Index-e45a0c32.js → Index-5196628a.js} +27 -27
- package/dist/{Index-61f7dc92.js → Index-532b8844.js} +2 -2
- package/dist/{Index-b14d0f03.js → Index-53348c92.js} +4 -4
- package/dist/{Index-9233cc83.js → Index-54962a1e.js} +15 -15
- package/dist/{Index-701f0d05.js → Index-5de564da.js} +2 -2
- package/dist/{Index-c67218ce.js → Index-6f957f7e.js} +15 -15
- package/dist/{Index-98e8bb86.js → Index-710d1132.js} +8 -8
- package/dist/{Index-8bca2d87.js → Index-7a2f20fd.js} +9 -9
- package/dist/{Index-1d361d01.js → Index-818ef607.js} +4 -4
- package/dist/Index-875e7805.js +79 -0
- package/dist/{Index-82574a41.js → Index-889b6a45.js} +18 -19
- package/dist/{Index-82b5de12.js → Index-8975cd1e.js} +4 -4
- package/dist/{Index-1a7e98d7.js → Index-affdb14c.js} +11 -10
- package/dist/{Index-01c63c88.js → Index-b80ab22f.js} +2 -2
- package/dist/{Index-5e35f4a2.js → Index-ba48e68b.js} +8 -8
- package/dist/{Index-caf5cf44.js → Index-beb43a1a.js} +94 -94
- package/dist/{Index-b15cfd62.js → Index-c746dc64.js} +13 -13
- package/dist/{Index-2535f58f.js → Index-cf54ef50.js} +2 -2
- package/dist/{Index-c7e68382.js → Index-dbf5c34c.js} +4 -4
- package/dist/{Index-5cc51230.js → Index-fa01557d.js} +12 -12
- package/dist/{Index-cd76b120.js → Index-ff60354c.js} +7 -7
- package/dist/{InputToggleRow-9d8a7da4.js → InputToggleRow-c520bed9.js} +5 -5
- package/dist/IsPremiumPreStep-d4739d6a.js +2443 -0
- package/dist/{MediaWrapper-d4a4b66f.js → MediaWrapper-722723f7.js} +3 -3
- package/dist/{NotBindingText-b199006c.js → NotBindingText-613399b6.js} +2 -2
- package/dist/{PackageGroup-37ac99b1.js → PackageGroup-1085c76c.js} +56 -56
- package/dist/{PdfTerms-8b52bb6e.js → PdfTerms-f98a6f75.js} +8 -7
- package/dist/{PdfViewer-38bd8439.js → PdfViewer-096bbf00.js} +5 -4
- package/dist/{PlainHtml-9174cbf6.js → PlainHtml-752bc8d6.js} +1 -1
- package/dist/PriceHeader-e25df5eb.js +337 -0
- package/dist/{SearchApi-2e286be6.js → SearchApi-20629627.js} +2 -2
- package/dist/{TermsSettings-c74eec79.js → TermsSettings-4cc4a9ee.js} +11 -11
- package/dist/{ThemeColorRow-3558367b.js → ThemeColorRow-c292abc6.js} +3 -3
- package/dist/{ToggleBinding-6c9c1ac3.js → ToggleBinding-406175fb.js} +3 -3
- package/dist/{UploadModal-6d0abd77.js → UploadModal-0cbd0c8f.js} +16 -16
- package/dist/{VideoPlayerInput-77cd86aa.js → VideoPlayerInput-d7b5fe4b.js} +3 -3
- package/dist/{VideoPlayerSettings-b7eb781c.js → VideoPlayerSettings-51c75143.js} +12 -12
- package/dist/VideoSelectModal-e34cde4b.js +111 -0
- package/dist/{answerDocumentMixin-66023e62.js → answerDocumentMixin-574c5304.js} +3 -3
- package/dist/assets/article-options-10291.png +0 -0
- package/dist/assets/bg-base-13048.png +0 -0
- package/dist/assets/bg-pro-81076.png +0 -0
- package/dist/assets/bg-start-20630.png +0 -0
- package/dist/assets/blank-10674.png +0 -0
- package/dist/assets/block-options-17322.png +0 -0
- package/dist/assets/columnGallery.image-24825.png +0 -0
- package/dist/assets/doc-send-94456.png +0 -0
- package/dist/assets/drag-block-17194.png +0 -0
- package/dist/assets/headerCircularGradient.image-13878.png +0 -0
- package/dist/assets/roiCalculator.image-14704.png +0 -0
- package/dist/assets/text-bubble-53861.png +0 -0
- package/dist/{cssMode-8552fc56.js → cssMode-eda08630.js} +19 -15
- package/dist/dom-068d1a7b.js +59 -0
- package/dist/{focusDrawerMixin-67462262.js → focusDrawerMixin-72f8dd7a.js} +1 -1
- package/dist/{formComponentsInstall-ad9c2a83.js → formComponentsInstall-3f1c6477.js} +40 -40
- package/dist/formValidationMixin-d4e84872.js +49 -0
- package/dist/{freemarker2-7e10a65d.js → freemarker2-42cdfba5.js} +23 -19
- package/dist/{handlebars-8045bfa8.js → handlebars-b4515777.js} +15 -11
- package/dist/{html-8afcb633.js → html-ea5d1845.js} +18 -14
- package/dist/{htmlMode-1a2d1b48.js → htmlMode-1cc3531d.js} +23 -19
- package/dist/{index-f805bfce.js → index-07377b76.js} +45 -45
- package/dist/index-676b9274.js +17 -0
- package/dist/{index-bf93d7c2.js → index-762349d7.js} +7 -7
- package/dist/{index-3d6d7a03.js → index-7adda710.js} +31 -31
- package/dist/index.es.js +8 -8
- package/dist/index.umd.js +537 -533
- package/dist/{javascript-dad5561e.js → javascript-185ef2e0.js} +15 -11
- package/dist/{jsonMode-ce09245f.js → jsonMode-59ea4e99.js} +23 -19
- package/dist/{liquid-05247459.js → liquid-517f2a7c.js} +18 -14
- package/dist/{main-04025a56.js → main-95207159.js} +15380 -12891
- package/dist/{mapFormMixin-8d073f99.js → mapFormMixin-a245a297.js} +1 -1
- package/dist/{publicSenderState-97108de1.js → publicSenderState-bea5980b.js} +1 -1
- package/dist/{python-3f3513c5.js → python-eb6703d8.js} +15 -11
- package/dist/{razor-1f3e9c4e.js → razor-4c5b7deb.js} +22 -18
- package/dist/simplebar.min-97b539d6.js +71 -0
- package/dist/style.css +2 -2
- package/dist/template-b3af7583.js +528 -0
- package/dist/{throttle-a2c1f34d.js → throttle-a0ce8f66.js} +2 -2
- package/dist/{tinycolor-88fa380f.js → tinycolor-65e7dc2e.js} +1 -1
- package/dist/{FormInputRow-9819eb71.js → tippy.esm-3c111ba9.js} +285 -285
- package/dist/{tsMode-4c026047.js → tsMode-a4a0e653.js} +19 -15
- package/dist/{typescript-baf56f67.js → typescript-aeab7849.js} +15 -11
- package/dist/{utils-6670dea6.js → utils-580c7144.js} +1 -1
- package/dist/{vuedraggable.umd-d7138234.js → vuedraggable.umd-2c22e5f8.js} +41 -41
- package/dist/{xml-ffc6146a.js → xml-098907e6.js} +18 -14
- package/package.json +3 -2
- package/stats.html +1 -1
- package/vite-plugin-library-asset-external/index.js +134 -0
- package/dist/ErrorCallout-60d0b3ab.js +0 -30
- package/dist/Index-b020a80c.js +0 -47
- package/dist/Index-e80f5f9c.js +0 -79
- package/dist/IsPremiumPreStep-3a087524.js +0 -1919
- package/dist/PriceHeader-e357afe9.js +0 -336
- package/dist/VideoSelectModal-d2299552.js +0 -111
- package/dist/index-c48c5eb4.js +0 -14
- package/dist/simplebar.min-3af55aab.js +0 -2429
- package/dist/template-42a1d852.js +0 -526
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { V as
|
|
1
|
+
import { V as R, ad as D, i as T, ae as N, f as A, n as L } from "./main-95207159.js";
|
|
2
2
|
class F {
|
|
3
3
|
constructor({ defaults: e = { width: 800, height: 600 }, delay: i = 50 } = {}) {
|
|
4
4
|
this._width = e.width, this._height = e.height, this._delay = i, this._timer = null, this._initialized = !1, this._handler = this._handleResize.bind(this);
|
|
@@ -30,29 +30,29 @@ class F {
|
|
|
30
30
|
return this.initialized ? (window.removeEventListener("resize", this._handler, { passive: !0 }), this._initialized = !1, this) : this;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
const H = new F().init(),
|
|
33
|
+
const H = new F().init(), y = new R({ data: { windowSize: H } }), j = {
|
|
34
34
|
computed: {
|
|
35
35
|
windowWidth() {
|
|
36
|
-
return
|
|
36
|
+
return y.windowSize.width;
|
|
37
37
|
},
|
|
38
38
|
windowHeight() {
|
|
39
|
-
return
|
|
39
|
+
return y.windowSize.height;
|
|
40
40
|
},
|
|
41
41
|
mq() {
|
|
42
|
-
const { width: t } =
|
|
42
|
+
const { width: t } = y.windowSize, e = {
|
|
43
43
|
sm: 576,
|
|
44
44
|
md: 1024,
|
|
45
45
|
lg: 1280,
|
|
46
46
|
xl: 1 / 0
|
|
47
47
|
};
|
|
48
48
|
let i = "lg";
|
|
49
|
-
return Object.keys(e).reverse().forEach((
|
|
50
|
-
t <= e[
|
|
49
|
+
return Object.keys(e).reverse().forEach((o) => {
|
|
50
|
+
t <= e[o] && (i = o);
|
|
51
51
|
}), i;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
|
-
var W =
|
|
55
|
+
var W = D, q = function() {
|
|
56
56
|
return W.Date.now();
|
|
57
57
|
}, K = q, V = /\s/;
|
|
58
58
|
function Y(t) {
|
|
@@ -64,7 +64,7 @@ var U = Y, X = U, G = /^\s+/;
|
|
|
64
64
|
function J(t) {
|
|
65
65
|
return t && t.slice(0, X(t) + 1).replace(G, "");
|
|
66
66
|
}
|
|
67
|
-
var Q = J, Z = Q, I = T, ee =
|
|
67
|
+
var Q = J, Z = Q, I = T, ee = N, O = 0 / 0, te = /^[-+]0x[0-9a-f]+$/i, ie = /^0b[01]+$/i, se = /^0o[0-7]+$/i, ne = parseInt;
|
|
68
68
|
function oe(t) {
|
|
69
69
|
if (typeof t == "number")
|
|
70
70
|
return t;
|
|
@@ -80,56 +80,56 @@ function oe(t) {
|
|
|
80
80
|
var i = ie.test(t);
|
|
81
81
|
return i || se.test(t) ? ne(t.slice(2), i ? 2 : 8) : te.test(t) ? O : +t;
|
|
82
82
|
}
|
|
83
|
-
var ae = oe, re = T, w = K,
|
|
83
|
+
var ae = oe, re = T, w = K, S = ae, le = "Expected a function", de = Math.max, ce = Math.min;
|
|
84
84
|
function ue(t, e, i) {
|
|
85
|
-
var
|
|
85
|
+
var o, s, l, n, a, d, u = 0, C = !1, h = !1, v = !0;
|
|
86
86
|
if (typeof t != "function")
|
|
87
87
|
throw new TypeError(le);
|
|
88
|
-
e =
|
|
89
|
-
function b(
|
|
90
|
-
var c =
|
|
91
|
-
return
|
|
88
|
+
e = S(e) || 0, re(i) && (C = !!i.leading, h = "maxWait" in i, l = h ? de(S(i.maxWait) || 0, e) : l, v = "trailing" in i ? !!i.trailing : v);
|
|
89
|
+
function b(r) {
|
|
90
|
+
var c = o, f = s;
|
|
91
|
+
return o = s = void 0, u = r, n = t.apply(f, c), n;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
94
|
-
return u =
|
|
93
|
+
function E(r) {
|
|
94
|
+
return u = r, a = setTimeout(p, e), C ? b(r) : n;
|
|
95
95
|
}
|
|
96
|
-
function M(
|
|
97
|
-
var c =
|
|
98
|
-
return h ? ce(B,
|
|
96
|
+
function M(r) {
|
|
97
|
+
var c = r - d, f = r - u, B = e - c;
|
|
98
|
+
return h ? ce(B, l - f) : B;
|
|
99
99
|
}
|
|
100
|
-
function $(
|
|
101
|
-
var c =
|
|
102
|
-
return
|
|
100
|
+
function $(r) {
|
|
101
|
+
var c = r - d, f = r - u;
|
|
102
|
+
return d === void 0 || c >= e || c < 0 || h && f >= l;
|
|
103
103
|
}
|
|
104
104
|
function p() {
|
|
105
|
-
var
|
|
106
|
-
if ($(
|
|
107
|
-
return k(
|
|
108
|
-
|
|
105
|
+
var r = w();
|
|
106
|
+
if ($(r))
|
|
107
|
+
return k(r);
|
|
108
|
+
a = setTimeout(p, M(r));
|
|
109
109
|
}
|
|
110
|
-
function k(
|
|
111
|
-
return
|
|
110
|
+
function k(r) {
|
|
111
|
+
return a = void 0, v && o ? b(r) : (o = s = void 0, n);
|
|
112
112
|
}
|
|
113
113
|
function z() {
|
|
114
|
-
|
|
114
|
+
a !== void 0 && clearTimeout(a), u = 0, o = d = s = a = void 0;
|
|
115
115
|
}
|
|
116
|
-
function
|
|
117
|
-
return
|
|
116
|
+
function P() {
|
|
117
|
+
return a === void 0 ? n : k(w());
|
|
118
118
|
}
|
|
119
|
-
function
|
|
120
|
-
var
|
|
121
|
-
if (
|
|
122
|
-
if (
|
|
123
|
-
return
|
|
119
|
+
function g() {
|
|
120
|
+
var r = w(), c = $(r);
|
|
121
|
+
if (o = arguments, s = this, d = r, c) {
|
|
122
|
+
if (a === void 0)
|
|
123
|
+
return E(d);
|
|
124
124
|
if (h)
|
|
125
|
-
return clearTimeout(
|
|
125
|
+
return clearTimeout(a), a = setTimeout(p, e), b(d);
|
|
126
126
|
}
|
|
127
|
-
return
|
|
127
|
+
return a === void 0 && (a = setTimeout(p, e)), n;
|
|
128
128
|
}
|
|
129
|
-
return
|
|
129
|
+
return g.cancel = z, g.flush = P, g;
|
|
130
130
|
}
|
|
131
131
|
var he = ue;
|
|
132
|
-
const Te = /* @__PURE__ */
|
|
132
|
+
const Te = /* @__PURE__ */ A(he), m = (t, e = !1) => t ? e ? t.querySelectorAll('*[tabindex="-1"]') : t.querySelectorAll(`a[href]:not([tabindex="-1"]),
|
|
133
133
|
area[href],
|
|
134
134
|
input:not([disabled]),
|
|
135
135
|
select:not([disabled]),
|
|
@@ -143,11 +143,11 @@ const Te = /* @__PURE__ */ L(he), m = (t, e = !1) => t ? e ? t.querySelectorAll(
|
|
|
143
143
|
let _;
|
|
144
144
|
const fe = (t, { value: e = !0 }) => {
|
|
145
145
|
if (e) {
|
|
146
|
-
let i = m(t),
|
|
146
|
+
let i = m(t), o = m(t, !0);
|
|
147
147
|
i && i.length > 0 && (_ = (s) => {
|
|
148
|
-
i = m(t),
|
|
149
|
-
const
|
|
150
|
-
s.target ===
|
|
148
|
+
i = m(t), o = m(t, !0);
|
|
149
|
+
const l = i[0], n = i[i.length - 1];
|
|
150
|
+
s.target === l && s.shiftKey && s.key === "Tab" ? (s.preventDefault(), n.focus()) : (s.target === n || Array.from(o).indexOf(s.target) >= 0) && !s.shiftKey && s.key === "Tab" && (s.preventDefault(), l.focus());
|
|
151
151
|
}, t.addEventListener("keydown", _));
|
|
152
152
|
}
|
|
153
153
|
}, pe = (t) => {
|
|
@@ -167,20 +167,21 @@ var x = { exports: {} };
|
|
|
167
167
|
t.exports = e.default;
|
|
168
168
|
})(x, x.exports);
|
|
169
169
|
var ve = x.exports;
|
|
170
|
-
const be = /* @__PURE__ */
|
|
171
|
-
function
|
|
172
|
-
return e.split(".").reduce((
|
|
170
|
+
const be = /* @__PURE__ */ A(ve), Ae = be();
|
|
171
|
+
function Le(t, e) {
|
|
172
|
+
return e.split(".").reduce((o, s) => o ? o[s] : null, t);
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function ge(t) {
|
|
175
175
|
typeof t.remove < "u" ? t.remove() : typeof t.parentNode < "u" && t.parentNode !== null && t.parentNode.removeChild(t);
|
|
176
176
|
}
|
|
177
|
-
function
|
|
178
|
-
|
|
179
|
-
e.
|
|
180
|
-
|
|
181
|
-
|
|
177
|
+
function ye(t) {
|
|
178
|
+
var n;
|
|
179
|
+
const e = (n = t.getRootNode) == null ? void 0 : n.call(t), o = (e == null ? void 0 : e.toString()) === "[object ShadowRoot]" ? e : document.body, s = document.createElement("div");
|
|
180
|
+
s.style.position = "absolute", s.style.left = "0px", s.style.top = "0px";
|
|
181
|
+
const l = document.createElement("div");
|
|
182
|
+
return s.appendChild(l), l.appendChild(t), o.appendChild(s), s;
|
|
182
183
|
}
|
|
183
|
-
function
|
|
184
|
+
function Ee(t, e, i) {
|
|
184
185
|
return Math.max(e, Math.min(i, t));
|
|
185
186
|
}
|
|
186
187
|
const we = ["escape", "outside"], _e = {
|
|
@@ -343,13 +344,13 @@ const we = ["escape", "outside"], _e = {
|
|
|
343
344
|
}
|
|
344
345
|
},
|
|
345
346
|
mounted() {
|
|
346
|
-
this.appendToBody && (this.$data._bodyEl =
|
|
347
|
+
this.appendToBody && (this.$data._bodyEl = ye(this.$refs.dropdownMenu), this.updateAppendToBody());
|
|
347
348
|
},
|
|
348
349
|
created() {
|
|
349
350
|
typeof window < "u" && (document.addEventListener("click", this.clickedOutside), document.addEventListener("keyup", this.keyPress));
|
|
350
351
|
},
|
|
351
352
|
beforeDestroy() {
|
|
352
|
-
typeof window < "u" && (document.removeEventListener("click", this.clickedOutside), document.removeEventListener("keyup", this.keyPress)), this.appendToBody &&
|
|
353
|
+
typeof window < "u" && (document.removeEventListener("click", this.clickedOutside), document.removeEventListener("keyup", this.keyPress)), this.appendToBody && ge(this.$data._bodyEl);
|
|
353
354
|
},
|
|
354
355
|
methods: {
|
|
355
356
|
/**
|
|
@@ -426,22 +427,22 @@ const we = ["escape", "outside"], _e = {
|
|
|
426
427
|
const t = this.$refs.dropdownMenu, e = this.$refs.trigger;
|
|
427
428
|
if (t && e) {
|
|
428
429
|
const i = this.$data._bodyEl.children[0];
|
|
429
|
-
if (i.classList.forEach((
|
|
430
|
-
if (
|
|
431
|
-
for (const
|
|
432
|
-
|
|
430
|
+
if (i.classList.forEach((n) => i.classList.remove(n)), i.classList.add("dropdown"), i.classList.add("dropdown-menu-animation"), this.$vnode && this.$vnode.data && this.$vnode.data.staticClass && i.classList.add(this.$vnode.data.staticClass), this.rootClasses.forEach((n) => {
|
|
431
|
+
if (n && typeof n == "object")
|
|
432
|
+
for (const a in n)
|
|
433
|
+
n[a] && i.classList.add(a);
|
|
433
434
|
}), this.appendToBodyCopyParent) {
|
|
434
|
-
const
|
|
435
|
-
|
|
436
|
-
|
|
435
|
+
const n = this.$refs.dropdown.parentNode, a = this.$data._bodyEl;
|
|
436
|
+
a.classList.forEach((d) => a.classList.remove(d)), n.classList.forEach((d) => {
|
|
437
|
+
a.classList.add(d);
|
|
437
438
|
});
|
|
438
439
|
}
|
|
439
|
-
const
|
|
440
|
-
let s =
|
|
441
|
-
!this.position || this.position.indexOf("bottom") >= 0 ? s += e.clientHeight : s -= t.clientHeight, this.position && this.position.indexOf("left") >= 0 && (
|
|
440
|
+
const o = e.getBoundingClientRect();
|
|
441
|
+
let s = o.top + window.scrollY, l = o.left + window.scrollX;
|
|
442
|
+
!this.position || this.position.indexOf("bottom") >= 0 ? s += e.clientHeight : s -= t.clientHeight, this.position && this.position.indexOf("left") >= 0 && (l -= t.clientWidth - e.clientWidth), this.style = {
|
|
442
443
|
position: "absolute",
|
|
443
444
|
top: `${s}px`,
|
|
444
|
-
left: `${
|
|
445
|
+
left: `${l}px`,
|
|
445
446
|
zIndex: "1001"
|
|
446
447
|
};
|
|
447
448
|
}
|
|
@@ -456,7 +457,7 @@ var xe = function() {
|
|
|
456
457
|
}, attrs: { "aria-hidden": !e.isActive } }, [e.isActive ? [e._t("header"), i("div", { staticClass: "dropdown-content", class: `${e.uniquePopoverClass}`, style: e.contentStyle, attrs: { role: e.ariaRole } }, [e.isMobileModal && e.mobileLabel ? e._t("mobileLabel", function() {
|
|
457
458
|
return [i("div", { staticClass: "dropdown-content-label" }, [e._v(e._s(e.mobileLabel))])];
|
|
458
459
|
}) : e._e(), e._t("default")], 2), e._t("footer")] : e._e()], 2)])], 1);
|
|
459
|
-
}, Ce = [], $e = /* @__PURE__ */
|
|
460
|
+
}, Ce = [], $e = /* @__PURE__ */ L(
|
|
460
461
|
_e,
|
|
461
462
|
xe,
|
|
462
463
|
Ce,
|
|
@@ -585,7 +586,7 @@ const ke = {
|
|
|
585
586
|
var Be = function() {
|
|
586
587
|
var e = this, i = e._self._c;
|
|
587
588
|
return e.separator ? i("hr", { staticClass: "dropdown-divider" }) : !e.custom && !e.hasLink ? i(e.to && !e.disabled ? "router-link" : "a", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.tooltipItem, expression: "tooltipItem" }], tag: "component", staticClass: "dropdown-item truncate-text", class: [e.anchorClasses, `is-${e.type}`], attrs: { to: e.to, role: e.ariaRoleItem, tabindex: e.isFocusable ? 0 : null }, on: { click: e.selectItem } }, [e.iconLeft ? i("BaseIcon", e._b({ staticClass: "icon dropdown-item-icon", attrs: { type: e.iconLeft } }, "BaseIcon", { size: 18, ...e.iconProps }, !1)) : e._e(), e._t("default"), e.toggle ? i("CSwitch", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.tooltipItem, expression: "tooltipItem" }], staticStyle: { display: "inline-flex", "pointer-events": "none", position: "absolute", right: "0", top: "50%", transform: "translateY(-50%)", "margin-right": "0" }, attrs: { value: e.value, size: "tiny", type: "success" } }) : e._e(), e.iconRight ? i("BaseIcon", e._b({ staticClass: "icon dropdown-item-icon is-right", attrs: { type: e.iconRight || "chevron-up-down" } }, "BaseIcon", { size: 18, ...e.iconProps }, !1)) : e._e()], 2) : i("div", { staticClass: "truncate-text", class: [e.itemClasses, `is-${e.type}`], attrs: { role: e.ariaRoleItem, tabindex: e.isFocusable ? 0 : null }, on: { click: e.selectItem } }, [e.iconLeft ? i("BaseIcon", e._b({ staticClass: "icon dropdown-item-icon", attrs: { type: e.iconLeft } }, "BaseIcon", { size: 18, ...e.iconProps }, !1)) : e._e(), e._t("default"), e.iconRight ? i("BaseIcon", e._b({ staticClass: "icon dropdown-item-icon is-right", attrs: { type: e.iconRight } }, "BaseIcon", { size: 18, ...e.iconProps }, !1)) : e._e()], 2);
|
|
588
|
-
}, Ie = [], Oe = /* @__PURE__ */
|
|
589
|
+
}, Ie = [], Oe = /* @__PURE__ */ L(
|
|
589
590
|
ke,
|
|
590
591
|
Be,
|
|
591
592
|
Ie,
|
|
@@ -600,11 +601,11 @@ export {
|
|
|
600
601
|
Me as C,
|
|
601
602
|
he as a,
|
|
602
603
|
ze as b,
|
|
603
|
-
|
|
604
|
+
ye as c,
|
|
604
605
|
Te as d,
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
606
|
+
Ee as e,
|
|
607
|
+
Le as g,
|
|
608
|
+
Ae as i,
|
|
609
|
+
ge as r,
|
|
609
610
|
j as w
|
|
610
611
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as o } from "./SearchApi-
|
|
2
|
-
import { n as l,
|
|
1
|
+
import { S as o } from "./SearchApi-20629627.js";
|
|
2
|
+
import { n as l, w as c } from "./main-95207159.js";
|
|
3
3
|
const i = {
|
|
4
4
|
i18nOptions: {
|
|
5
5
|
namespaces: "components",
|
|
@@ -55,7 +55,7 @@ var u = function() {
|
|
|
55
55
|
}, select: function(t) {
|
|
56
56
|
e.$emit("setClient", e.convertToNewClient(t));
|
|
57
57
|
} }, scopedSlots: e._u([{ key: "default", fn: function({ option: t }) {
|
|
58
|
-
return s("div", { staticStyle: { "line-height": "1.5" } }, [s("div", { staticStyle: { "font-weight": "500" } }, [e._v(e._s(t.name || t.email))]), s("div", { staticClass: "
|
|
58
|
+
return s("div", { staticStyle: { "line-height": "1.5" } }, [s("div", { staticStyle: { "font-weight": "500" } }, [e._v(e._s(t.name || t.email))]), s("div", { staticClass: "text-gray-600", staticStyle: { "font-size": "14px" } }, [e._v(" " + e._s(t.reference ? `${t.reference} · ` : "") + " " + e._s(t.workStreet || t.street || " ") + " ")])]);
|
|
59
59
|
} }], null, !0) }, "CAutocomplete", {
|
|
60
60
|
placeholder: e.$t("search.placeholder"),
|
|
61
61
|
...e.$attrs,
|
|
@@ -70,7 +70,7 @@ var u = function() {
|
|
|
70
70
|
d,
|
|
71
71
|
!1,
|
|
72
72
|
null,
|
|
73
|
-
"
|
|
73
|
+
"66acce4e",
|
|
74
74
|
null,
|
|
75
75
|
null
|
|
76
76
|
);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { x as p, N as h, I as v, n as u, b as c, g as d, O as y, w as C } from "./main-95207159.js";
|
|
2
2
|
import { m as f, b, a as _ } from "./vuex.esm-4a0fff7c.js";
|
|
3
|
-
import { w as $ } from "./CDropdownItem-
|
|
4
|
-
import { C as w } from "./ClientAutocomplete-
|
|
3
|
+
import { w as $ } from "./CDropdownItem-d46bf062.js";
|
|
4
|
+
import { C as w } from "./ClientAutocomplete-68f76bfc.js";
|
|
5
5
|
import { v as r } from "./index-805c56e4.js";
|
|
6
|
-
import "./SearchApi-
|
|
6
|
+
import "./SearchApi-20629627.js";
|
|
7
7
|
function g(n) {
|
|
8
8
|
if (typeof n > "u")
|
|
9
9
|
throw Error("Missing param inputParam");
|
|
@@ -311,19 +311,19 @@ var N = function() {
|
|
|
311
311
|
e.type = "individual";
|
|
312
312
|
} } }, [e._v(" " + e._s(e.$t("individual")) + " ")]), t("div", { staticClass: "type-toggle-button", class: { active: e.type === "company" }, on: { click: function(i) {
|
|
313
313
|
e.type = "company";
|
|
314
|
-
} } }, [e._v(" " + e._s(e.$t("_common:company").capitalize()) + " ")])])]), t("CField", { staticStyle: { "margin-bottom": "1.
|
|
314
|
+
} } }, [e._v(" " + e._s(e.$t("_common:company").capitalize()) + " ")])])]), t("CField", { staticStyle: { "margin-bottom": "calc(1.5 * var(--rem))" }, attrs: { label: e.isIndivid ? e.$t("_common:name").capitalize() : e.$t("_common:company").capitalize(), validator: e.$v.name, messages: e.messages.name, "label-position": "inside" } }, [t("ClientAutocomplete", { ref: "name", attrs: { placeholder: e.isIndivid ? e.$t("placeholders.name") : e.$t("placeholders.companyName"), "search-enabled": e.searchEnabled, "show-loading": !0 }, on: { setClient: function(i) {
|
|
315
315
|
return e.$emit("setClient", i);
|
|
316
316
|
} }, model: { value: e.name, callback: function(i) {
|
|
317
317
|
e.name = i;
|
|
318
318
|
}, expression: "name" } })], 1), t("Animation", [e.isIndivid ? e._e() : t("CField", { staticClass: "pb-4", attrs: { validator: e.$v.reference, messages: e.messages.reference, label: e.$t("reference").capitalize(), "label-position": "inside" } }, [t("CInput", { ref: "reference", attrs: { placeholder: e.$t("placeholders.reference") }, model: { value: e.reference, callback: function(i) {
|
|
319
319
|
e.reference = i;
|
|
320
|
-
}, expression: "reference" } })], 1)], 1), t("CField", { staticStyle: { "margin-bottom": "1.
|
|
320
|
+
}, expression: "reference" } })], 1)], 1), t("CField", { staticStyle: { "margin-bottom": "calc(1.5 * var(--rem))" }, attrs: { validator: e.$v.email, messages: e.messages.email, label: e.$t("_common:email").capitalize(), "label-position": "inside" } }, [t("CInput", { ref: "email", attrs: { placeholder: e.$t("_common:email").capitalize() }, model: { value: e.email, callback: function(i) {
|
|
321
321
|
e.email = typeof i == "string" ? i.trim() : i;
|
|
322
|
-
}, expression: "email" } })], 1), t("CPhoneInput", { ref: "cellphone", staticStyle: { "margin-bottom": "1.
|
|
322
|
+
}, expression: "email" } })], 1), t("CPhoneInput", { ref: "cellphone", staticStyle: { "margin-bottom": "calc(1.5 * var(--rem))" }, attrs: { label: e.$t("_common:cellphone").capitalize(), placeholder: e.$t("placeholders.cellphone"), region: e.cellphoneRegion, "default-region": e.companyRegion, "label-position": "inside" }, on: { "update:region": function(i) {
|
|
323
323
|
e.cellphoneRegion = i;
|
|
324
324
|
} }, model: { value: e.cellphone, callback: function(i) {
|
|
325
325
|
e.cellphone = i;
|
|
326
|
-
}, expression: "cellphone" } }), e.documentRole ? t("CDropdown", { staticStyle: { "margin-bottom": "
|
|
326
|
+
}, expression: "cellphone" } }), e.documentRole ? t("CDropdown", { staticStyle: { "margin-bottom": "calc(1 * var(--rem))" }, attrs: { expanded: "" } }, [t("CButton", { staticClass: "is-left", staticStyle: { width: "100%" }, attrs: { slot: "trigger", "dropdown-icon": !0, "icon-props": {
|
|
327
327
|
stroke: "hsl(0, 0%, 50%)"
|
|
328
328
|
}, "icon-left": e.documentRole === "signee" ? "pen-tool" : "eye", type: "none", pattern: "secondary" }, slot: "trigger" }, [t("div", { staticStyle: { "line-height": "1.25", padding: "4px 0" } }, [t("div", [e._v(e._s(e.$t(`_common:documentRole.${e.documentRole}.description`)))]), t("div", { staticStyle: { "font-size": "12px", opacity: "0.7" } }, [e._v(" " + e._s(e.$t(`_common:documentRole.${e.documentRole}.label`)) + " ")])])]), e._l(["signee", "recipient", "approver"], function(i) {
|
|
329
329
|
return t("CDropdownItem", { key: i, attrs: { "icon-left": i === "signee" ? "pen-tool" : "eye", "icon-props": {
|
|
@@ -333,7 +333,7 @@ var N = function() {
|
|
|
333
333
|
} } }, [t("div", { staticStyle: { "line-height": "1.25", padding: "4px 0" } }, [t("div", [e._v(e._s(e.$t(`_common:documentRole.${i}.description`)))]), t("div", { staticStyle: { "font-size": "12px", opacity: "0.7" } }, [e._v(" " + e._s(e.$t(`_common:documentRole.${i}.label`)) + " ")])])]);
|
|
334
334
|
})], 2) : e._e(), t("CButton", { attrs: { type: "secondary", pattern: "tertiary", size: "small", "icon-left": "arrow-right" }, on: { click: function(i) {
|
|
335
335
|
return e.$emit("show-more");
|
|
336
|
-
} } }, [e._v(" " + e._s(e.$t("showMore").capitalize()) + " ")]), t("CButton", { staticClass: "mt-4", staticStyle: { padding: "16px", "border-radius": "8px", height: "100%", "font-size": "14px", "font-weight": "600", "box-shadow": "0 2px 4px -1px rgba(0,0,0,0.1)" }, attrs: { loading: e.isPosting, "native-type": "submit", type: "secondary", wide: "", size: "medium" } }, [e._v(" " + e._s(e.$t(`${e.id ? "update" : "create"}Button`)) + " ")])], 1) : t("div", { class: { "column-only": e.windowWidth <= 600 } }, [t("div", { staticClass: "flex items-center justify-center", staticStyle: { "margin-bottom": "2.
|
|
336
|
+
} } }, [e._v(" " + e._s(e.$t("showMore").capitalize()) + " ")]), t("CButton", { staticClass: "mt-4", staticStyle: { padding: "16px", "border-radius": "8px", height: "100%", "font-size": "14px", "font-weight": "600", "box-shadow": "0 2px 4px -1px rgba(0,0,0,0.1)" }, attrs: { loading: e.isPosting, "native-type": "submit", type: "secondary", wide: "", size: "medium" } }, [e._v(" " + e._s(e.$t(`${e.id ? "update" : "create"}Button`)) + " ")])], 1) : t("div", { class: { "column-only": e.windowWidth <= 600 } }, [t("div", { staticClass: "flex items-center justify-center", staticStyle: { "margin-bottom": "calc(2.5 * var(--rem))" } }, [t("div", { staticClass: "type-toggle" }, [t("div", { staticClass: "type-toggle-button", class: { active: e.type === "individual" }, on: { click: function(i) {
|
|
337
337
|
e.type = "individual";
|
|
338
338
|
} } }, [e._v(" " + e._s(e.$t("individual")) + " ")]), t("div", { staticClass: "type-toggle-button", class: { active: e.type === "company" }, on: { click: function(i) {
|
|
339
339
|
e.type = "company";
|
|
@@ -345,11 +345,11 @@ var N = function() {
|
|
|
345
345
|
e.orgNo = i;
|
|
346
346
|
}, expression: "orgNo" } })], 1)], 1), t("Animation", [e.type && !e.isIndivid ? t("CField", { staticClass: "pb-4", attrs: { validator: e.$v.reference, messages: e.messages.reference, label: e.$t("_common:reference").capitalize(), "label-position": "inside" } }, [t("CInput", { ref: "reference", attrs: { placeholder: e.$t("placeholders.reference") }, model: { value: e.reference, callback: function(i) {
|
|
347
347
|
e.reference = i;
|
|
348
|
-
}, expression: "reference" } })], 1) : e._e(), e.type && !e.isIndivid && e.feature("reverseVat") && e.feature("regionSE") ? t("CField", { staticStyle: { "padding-left": "0.5em", "margin-bottom": "
|
|
348
|
+
}, expression: "reference" } })], 1) : e._e(), e.type && !e.isIndivid && e.feature("reverseVat") && e.feature("regionSE") ? t("CField", { staticStyle: { "padding-left": "0.5em", "margin-bottom": "calc(2 * var(--rem))" } }, [t("CCheckbox", { attrs: { size: "normal" }, model: { value: e.reverseVat, callback: function(i) {
|
|
349
349
|
e.reverseVat = i;
|
|
350
350
|
}, expression: "reverseVat" } }, [e._v(" " + e._s(e.$t("_common:vat.reverseVat")) + " ")])], 1) : e._e()], 1), t("CField", { staticClass: "flex", attrs: { grouped: "" } }, [t("CField", { attrs: { validator: e.$v.email, messages: e.messages.email, label: e.$t("_common:email").capitalize(), "label-position": "inside", expanded: "" } }, [t("CInput", { ref: "email", attrs: { placeholder: e.$t("_common:email").capitalize() }, model: { value: e.email, callback: function(i) {
|
|
351
351
|
e.email = typeof i == "string" ? i.trim() : i;
|
|
352
|
-
}, expression: "email" } })], 1), t("CPhoneInput", { staticStyle: { "margin-bottom": "1.
|
|
352
|
+
}, expression: "email" } })], 1), t("CPhoneInput", { staticStyle: { "margin-bottom": "calc(1.5 * var(--rem))" }, attrs: { label: e.$t("_common:cellphone").capitalize(), placeholder: e.$t("placeholders.cellphone"), region: e.cellphoneRegion, "default-region": e.companyRegion, "label-position": "inside" }, on: { "update:region": function(i) {
|
|
353
353
|
e.cellphoneRegion = i;
|
|
354
354
|
} }, model: { value: e.cellphone, callback: function(i) {
|
|
355
355
|
e.cellphone = i;
|
|
@@ -369,7 +369,7 @@ var N = function() {
|
|
|
369
369
|
e.workZip = i;
|
|
370
370
|
}, expression: "workZip" } })], 1), t("CField", { attrs: { expanded: "" } }, [t("CInput", { ref: "workCity", attrs: { placeholder: e.$t("_common:city").capitalize(), expanded: "" }, model: { value: e.workCity, callback: function(i) {
|
|
371
371
|
e.workCity = i;
|
|
372
|
-
}, expression: "workCity" } })], 1)], 1)], 1) : e._e()]), e.documentRole || e.answerMethod ? t("CField", { staticClass: "flex pt-4", attrs: { grouped: "" } }, [e.documentRole ? t("div", { staticClass: "dropdown-field-wrapper" }, [t("div", { staticClass: "my-1 text-sm text-gray-600" }, [e._v(" " + e._s(e.$t("_common:documentRole.title")) + " ")]), t("CDropdown", { staticStyle: { "margin-bottom": "
|
|
372
|
+
}, expression: "workCity" } })], 1)], 1)], 1) : e._e()]), e.documentRole || e.answerMethod ? t("CField", { staticClass: "flex pt-4", attrs: { grouped: "" } }, [e.documentRole ? t("div", { staticClass: "dropdown-field-wrapper" }, [t("div", { staticClass: "my-1 text-sm text-gray-600" }, [e._v(" " + e._s(e.$t("_common:documentRole.title")) + " ")]), t("CDropdown", { staticStyle: { "margin-bottom": "calc(1 * var(--rem))" }, attrs: { expanded: "" } }, [t("CButton", { staticClass: "is-left", staticStyle: { width: "100%" }, attrs: { slot: "trigger", "dropdown-icon": !0, "icon-props": {
|
|
373
373
|
stroke: "hsl(0, 0%, 50%)"
|
|
374
374
|
}, "icon-left": e.documentRole === "signee" ? "pen-tool" : "eye", type: "none", pattern: "secondary" }, slot: "trigger" }, [t("div", { staticStyle: { "line-height": "1.25", padding: "4px 0" } }, [t("div", [e._v(e._s(e.$t(`_common:documentRole.${e.documentRole}.description`)))]), t("div", { staticStyle: { "font-size": "12px", opacity: "0.7" } }, [e._v(" " + e._s(e.$t(`_common:documentRole.${e.documentRole}.label`)) + " ")])])]), e._l(["signee", "recipient", "approver"], function(i) {
|
|
375
375
|
return t("CDropdownItem", { key: i, attrs: { "icon-left": i === "signee" ? "pen-tool" : "eye", "icon-props": {
|
|
@@ -377,22 +377,22 @@ var N = function() {
|
|
|
377
377
|
} }, on: { click: function(a) {
|
|
378
378
|
return e.$emit("update:document-role", i);
|
|
379
379
|
} } }, [t("div", { staticStyle: { "line-height": "1.25", padding: "4px 0" } }, [t("div", [e._v(e._s(e.$t(`_common:documentRole.${i}.description`)))]), t("div", { staticStyle: { "font-size": "12px", opacity: "0.7" } }, [e._v(" " + e._s(e.$t(`_common:documentRole.${i}.label`)) + " ")])])]);
|
|
380
|
-
})], 2)], 1) : e._e(), e.answerMethod ? t("div", { staticClass: "dropdown-field-wrapper" }, [t("div", { staticClass: "my-1 text-sm text-gray-600" }, [e._v(" " + e._s(e.$t("_common:signMethod.title")) + " ")]), t("CDropdown", { staticStyle: { "margin-bottom": "
|
|
380
|
+
})], 2)], 1) : e._e(), e.answerMethod ? t("div", { staticClass: "dropdown-field-wrapper" }, [t("div", { staticClass: "my-1 text-sm text-gray-600" }, [e._v(" " + e._s(e.$t("_common:signMethod.title")) + " ")]), t("CDropdown", { staticStyle: { "margin-bottom": "calc(1 * var(--rem))" }, attrs: { expanded: "" } }, [t("CButton", { staticClass: "is-left", attrs: { slot: "trigger", "dropdown-icon": !0, type: "none", pattern: "secondary", wide: "" }, slot: "trigger" }, [t("div", { staticStyle: { "line-height": "1.25", padding: "4px 0" } }, [t("div", [e._v(e._s(e.$t(`signMethod.${e.answerMethod.accept}.title`)))]), t("div", { staticClass: "truncate", staticStyle: { "font-size": "12px", opacity: "0.7" } }, [e._v(" " + e._s(e.$t(`signMethod.${e.answerMethod.accept}.content`)) + " ")])])]), e._l([
|
|
381
381
|
...!e.isPublicForm && e.feature("bankId") ? ["bankId"] : [],
|
|
382
382
|
"signature",
|
|
383
383
|
"inPerson"
|
|
384
384
|
], function(i) {
|
|
385
385
|
return t("CDropdownItem", { key: i, on: { click: function(a) {
|
|
386
386
|
return e.$emit("update:answer-method", { ...e.answerMethod, accept: i });
|
|
387
|
-
} } }, [t("div", { staticStyle: { "line-height": "1.25", padding: "4px 0" } }, [t("div", [e._v(e._s(e.$t(`signMethod.${i}.title`)))]), t("div", { staticClass: "max-w-[
|
|
388
|
-
})], 2)], 1) : e._e()]) : e._e(), t("div", { staticStyle: { "margin-top": "
|
|
387
|
+
} } }, [t("div", { staticStyle: { "line-height": "1.25", padding: "4px 0" } }, [t("div", [e._v(e._s(e.$t(`signMethod.${i}.title`)))]), t("div", { staticClass: "max-w-[calc(12_*_var(--rem))] truncate", staticStyle: { "font-size": "12px", opacity: "0.7", "text-wrap": "wrap" } }, [e._v(" " + e._s(e.$t(`signMethod.${i}.content`)) + " ")])])]);
|
|
388
|
+
})], 2)], 1) : e._e()]) : e._e(), t("div", { staticStyle: { "margin-top": "calc(3 * var(--rem))" } }, [t("CButton", { staticStyle: { padding: "16px", "border-radius": "8px", height: "100%", "font-size": "14px", "font-weight": "600", "box-shadow": "0 2px 4px -1px rgba(0,0,0,0.1)" }, attrs: { loading: e.isPosting, type: "secondary", wide: "" }, on: { click: e.validateForm } }, [e._v(e._s(e.$t(`${e.id ? "update" : "create"}Button`)))])], 1)], 1)]);
|
|
389
389
|
}, I = [], F = /* @__PURE__ */ u(
|
|
390
390
|
S,
|
|
391
391
|
N,
|
|
392
392
|
I,
|
|
393
393
|
!1,
|
|
394
394
|
null,
|
|
395
|
-
"
|
|
395
|
+
"f6fc066f",
|
|
396
396
|
null,
|
|
397
397
|
null
|
|
398
398
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { J as ht, n as bt } from "./main-95207159.js";
|
|
2
2
|
var vt = { exports: {} };
|
|
3
3
|
(function(gt, Ct) {
|
|
4
4
|
(function(c, i) {
|
|
@@ -2871,7 +2871,7 @@ var yt = /* @__PURE__ */ bt(
|
|
|
2871
2871
|
wt,
|
|
2872
2872
|
!1,
|
|
2873
2873
|
null,
|
|
2874
|
-
"
|
|
2874
|
+
"8702b797",
|
|
2875
2875
|
null,
|
|
2876
2876
|
null
|
|
2877
2877
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { w as c } from "./CDropdownItem-
|
|
1
|
+
import { x as r, g as i, n as l } from "./main-95207159.js";
|
|
2
|
+
import { w as c } from "./CDropdownItem-d46bf062.js";
|
|
3
3
|
import { m as p, b as o, a as d } from "./vuex.esm-4a0fff7c.js";
|
|
4
|
-
import { s as n, a as u } from "./publicSenderState-
|
|
4
|
+
import { s as n, a as u } from "./publicSenderState-bea5980b.js";
|
|
5
5
|
import { v as m } from "./index-805c56e4.js";
|
|
6
6
|
const { mapFields: f } = r({
|
|
7
7
|
getterType: "forms/getField",
|
|
@@ -113,24 +113,24 @@ var h = function() {
|
|
|
113
113
|
"modal-overlay": !0
|
|
114
114
|
}, on: { "&click": function(t) {
|
|
115
115
|
return t.target !== t.currentTarget ? null : e.close.apply(null, arguments);
|
|
116
|
-
} } }, [a("div", { staticClass: "modal-container", style: !e.isFullScreen && { padding: "
|
|
116
|
+
} } }, [a("div", { staticClass: "modal-container", style: !e.isFullScreen && { padding: "calc(3 * var(--rem))" } }, [e.isFullScreen ? a("CButton", { staticClass: "modal-close", attrs: { pattern: "tertiary", type: "none", circle: "", icon: "x" }, on: { click: e.close } }) : e._e(), a("div", { staticClass: "form-client" }, [a("div", { staticStyle: { "font-weight": "600", "font-size": "21px", "padding-bottom": "calc(2.5 * var(--rem))" } }, [e._v(" " + e._s(e.$t("_common:edit", { thing: e.$t("_common:company") })) + " ")]), a("CField", { staticStyle: { "margin-bottom": "calc(1.5 * var(--rem))" }, attrs: { label: e.$t("_common:companyName").capitalize(), validator: e.$v.name, messages: e.messages.name, "label-position": "inside" } }, [a("CInput", { ref: "name", attrs: { disabled: e.isPublicForm ? !1 : !e.can("company", "modify"), placeholder: e.$t("_common:companyName").capitalize(), size: "medium" }, model: { value: e.name, callback: function(t) {
|
|
117
117
|
e.name = t;
|
|
118
|
-
}, expression: "name" } })], 1), a("CField", { staticStyle: { "margin-bottom": "1.
|
|
118
|
+
}, expression: "name" } })], 1), a("CField", { staticStyle: { "margin-bottom": "calc(1.5 * var(--rem))" }, attrs: { label: e.$t("_common:firstName").capitalize(), "label-position": "inside" } }, [a("CInput", { ref: "reference", attrs: { disabled: e.notCurrentUser, placeholder: e.$t("_common:firstName").capitalize(), size: "medium" }, model: { value: e.firstName, callback: function(t) {
|
|
119
119
|
e.firstName = t;
|
|
120
120
|
}, expression: "firstName" } }), a("CField", { attrs: { label: e.$t("_common:lastName").capitalize(), "label-position": "inside" } }, [a("CInput", { attrs: { disabled: e.notCurrentUser, placeholder: e.$t("_common:lastName").capitalize(), size: "medium" }, model: { value: e.lastName, callback: function(t) {
|
|
121
121
|
e.lastName = t;
|
|
122
|
-
}, expression: "lastName" } })], 1)], 1), a("CField", { staticStyle: { "margin-bottom": "1.
|
|
122
|
+
}, expression: "lastName" } })], 1)], 1), a("CField", { staticStyle: { "margin-bottom": "calc(1.5 * var(--rem))" }, attrs: { validator: e.$v.email, messages: e.messages.email, label: e.$t("_common:email").capitalize(), "label-position": "inside" } }, [a("CInput", { ref: "email", attrs: { disabled: !e.isPublicForm, placeholder: e.$t("_common:email").capitalize(), size: "medium" }, model: { value: e.email, callback: function(t) {
|
|
123
123
|
e.email = typeof t == "string" ? t.trim() : t;
|
|
124
124
|
}, expression: "email" } })], 1), a("CField", [a("CPhoneInput", { ref: "cellphone", attrs: { "default-region": e.companyRegion, disabled: e.notCurrentUser, label: e.$t("_common:cellphone").capitalize(), "label-position": "inside", size: "medium" }, model: { value: e.cellphone, callback: function(t) {
|
|
125
125
|
e.cellphone = t;
|
|
126
|
-
}, expression: "cellphone" } })], 1), a("CButton", { staticStyle: { "margin-top": "
|
|
126
|
+
}, expression: "cellphone" } })], 1), a("CButton", { staticStyle: { "margin-top": "calc(3 * var(--rem))" }, attrs: { loading: e.isPosting, type: "secondary", wide: "", size: "medium" }, on: { click: e.save } }, [e._v(" " + e._s(e.$t("_common:save", { thing: e.$t("_common:company") })) + " ")])], 1)], 1)]);
|
|
127
127
|
}, _ = [], g = /* @__PURE__ */ l(
|
|
128
128
|
y,
|
|
129
129
|
h,
|
|
130
130
|
_,
|
|
131
131
|
!1,
|
|
132
132
|
null,
|
|
133
|
-
"
|
|
133
|
+
"bc90e778",
|
|
134
134
|
null,
|
|
135
135
|
null
|
|
136
136
|
);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { a as l } from "./tinycolor-
|
|
2
|
-
import { m as n } from "./mapFormMixin-
|
|
3
|
-
import { B as r } from "./BlockMedia-
|
|
4
|
-
import { n as s,
|
|
5
|
-
import { T as p } from "./DocTextEditor-
|
|
1
|
+
import { a as l } from "./tinycolor-65e7dc2e.js";
|
|
2
|
+
import { m as n } from "./mapFormMixin-a245a297.js";
|
|
3
|
+
import { B as r } from "./BlockMedia-319932b8.js";
|
|
4
|
+
import { n as s, a1 as i, r as c, t as u, s as m } from "./main-95207159.js";
|
|
5
|
+
import { T as p } from "./DocTextEditor-cce51e7c.js";
|
|
6
6
|
import { i as d } from "./i18nMessages-45c6bfd6.js";
|
|
7
7
|
import "./color-71c20583.js";
|
|
8
|
-
import "./
|
|
9
|
-
import "./ColorPicker-
|
|
10
|
-
import "./
|
|
11
|
-
import "./CDropdownItem-
|
|
12
|
-
import "./CSlider.vue_vue_type_style_index_0_lang-
|
|
8
|
+
import "./tippy.esm-3c111ba9.js";
|
|
9
|
+
import "./ColorPicker-11ee76f0.js";
|
|
10
|
+
import "./DocumentLayout-86c367d1.js";
|
|
11
|
+
import "./CDropdownItem-d46bf062.js";
|
|
12
|
+
import "./CSlider.vue_vue_type_style_index_0_lang-df4c839e.js";
|
|
13
13
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
14
14
|
const _ = {
|
|
15
15
|
name: "StaticComboLayout",
|
|
@@ -35,16 +35,16 @@ var f = function() {
|
|
|
35
35
|
null,
|
|
36
36
|
null
|
|
37
37
|
);
|
|
38
|
-
const
|
|
39
|
-
const
|
|
38
|
+
const v = y.exports;
|
|
39
|
+
const h = {
|
|
40
40
|
name: "StaticLayout",
|
|
41
41
|
i18nOptions: {
|
|
42
42
|
namespaces: "staticLayout",
|
|
43
43
|
messages: d
|
|
44
44
|
},
|
|
45
45
|
components: {
|
|
46
|
-
DocumentLogotype: () => import("./DocumentLogotype-
|
|
47
|
-
StaticComboLayout:
|
|
46
|
+
DocumentLogotype: () => import("./DocumentLogotype-441a9fdb.js"),
|
|
47
|
+
StaticComboLayout: v,
|
|
48
48
|
TextEditor: p
|
|
49
49
|
},
|
|
50
50
|
mixins: [n([
|
|
@@ -99,7 +99,7 @@ var g = function() {
|
|
|
99
99
|
t.logotype = a;
|
|
100
100
|
}, expression: "logotype" } }), e("template", { slot: "preText" }, [e("TextEditor", { key: "preText" + t.canEdit, ref: "preTextEditor", staticClass: "no-drag header-text", attrs: { value: t.canEdit ? t.mustacheToSpan(t.preText, t._document.textTemplateMap, t._document._doc) : t.interpolateString(t.preText, t._document._doc), mentions: t.mentions, snippets: !0, placeholder: t.$t("optional").capitalize(), static: "", unstyled: "" }, on: { input: function(a) {
|
|
101
101
|
t.preText = t.spanToMustache(a);
|
|
102
|
-
} } })], 1), e("div", { staticStyle: { "font-size": "
|
|
102
|
+
} } })], 1), e("div", { staticStyle: { "font-size": "calc(2 * var(--rem))", "font-weight": "700", margin: "calc(1 * var(--rem)) 0" }, attrs: { slot: "documentName" }, slot: "documentName" }, [t.canEdit ? e("TextEditor", { ref: "nameEditor", staticClass: "no-drag header-text", attrs: { value: t.internalName, extensions: {
|
|
103
103
|
bulletList: !0,
|
|
104
104
|
heading: [1, 2, 3],
|
|
105
105
|
bold: !0,
|
|
@@ -113,12 +113,12 @@ var g = function() {
|
|
|
113
113
|
t.postText = t.spanToMustache(a);
|
|
114
114
|
} } })], 1)], 2)], 1);
|
|
115
115
|
}, T = [], b = /* @__PURE__ */ s(
|
|
116
|
-
|
|
116
|
+
h,
|
|
117
117
|
g,
|
|
118
118
|
T,
|
|
119
119
|
!1,
|
|
120
120
|
null,
|
|
121
|
-
"
|
|
121
|
+
"854cc8a9",
|
|
122
122
|
null,
|
|
123
123
|
null
|
|
124
124
|
);
|
|
@@ -179,7 +179,7 @@ var w = function() {
|
|
|
179
179
|
null,
|
|
180
180
|
null
|
|
181
181
|
);
|
|
182
|
-
const
|
|
182
|
+
const q = $.exports;
|
|
183
183
|
export {
|
|
184
|
-
|
|
184
|
+
q as default
|
|
185
185
|
};
|