@cling-se/widget 0.13.1 → 0.13.2
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/README.md +27 -22
- package/dist/{AddClientCallout-fd6dc000.js → AddClientCallout-7LpWNu29.js} +11 -16
- package/dist/{AnswerModal-7c83d608.js → AnswerModal-DnTU4eo8.js} +1931 -1948
- package/dist/{AttachmentItem-468fd65c.js → AttachmentItem-DcwbrFUh.js} +15 -18
- package/dist/{BaseDatePicker-1975be7c.js → BaseDatePicker-BpyeJH3N.js} +139 -142
- package/dist/{BaseInput-2ca68242.js → BaseInput-DJreiE5M.js} +77 -56
- package/dist/{BaseUpload-a37ee3a3.js → BaseUpload-iosxX2-N.js} +208 -212
- package/dist/{BlockMedia-9fa610ce.js → BlockMedia-DnbdVEZz.js} +6 -8
- package/dist/{CCallout-4c253200.js → CCallout-CgviPbdr.js} +26 -16
- package/dist/{CDropdownItem-7e71da85.js → CDropdownItem-CTJ55d4m.js} +51 -50
- package/dist/{CField-823448be.js → CField-FGP7ehRq.js} +75 -58
- package/dist/{CPhoneFormat-54baa501.js → CPhoneFormat-8u5dmTPd.js} +5 -7
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-ceb19661.js → CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-Dc_pbPEA.js} +6 -8
- package/dist/{ClientAutocomplete-186cc118.js → ClientAutocomplete-hcl0bJxO.js} +11 -13
- package/dist/{ClientModal-c5ee3885.js → ClientModal-B8PkUqY2.js} +25 -32
- package/dist/{ColorPicker-65a47379.js → ColorPicker-6AIHrfJ5.js} +5 -7
- package/dist/{CompanyModal-564e2b35.js → CompanyModal-H4hHfy7Y.js} +28 -30
- package/dist/{ContentWrapper-ac56e749.js → ContentWrapper-CHZtfhFI.js} +25 -43
- package/dist/{CoverBlockSettings-8949a330.js → CoverBlockSettings-etwL5N5l.js} +20 -31
- package/dist/{DocAnswer-2c0cb58f.js → DocAnswer-Udn1ItYd.js} +5 -12
- package/dist/{DocDetails-6522bb1b.js → DocDetails-BQz-is7P.js} +47 -59
- package/dist/{DocForm-983d41f5.js → DocForm-Cvuxr89v.js} +4869 -4944
- package/dist/{DocFormSend-787ce614.js → DocFormSend-Bo6YPSMr.js} +15 -33
- package/dist/DocLinks-DlWyanFQ.js +38 -0
- package/dist/{DocModalBase-60c69c7f.js → DocModalBase-BnuOPozg.js} +8 -10
- package/dist/{DocPrint-78c501ca.js → DocPrint-Uw8zz2tr.js} +6 -10
- package/dist/{DocReceipt-ac44b93f.js → DocReceipt-DsRzRjD8.js} +11 -15
- package/dist/{DocSendReminder-6cf2424c.js → DocSendReminder-BEEEh-L9.js} +2 -6
- package/dist/{DocTextEditor-81f63135.js → DocTextEditor-C-qeLSQa.js} +2509 -2529
- package/dist/{DocTimeline-35106a94.js → DocTimeline-Bz29bHJu.js} +26 -37
- package/dist/{DocumentClient-eda56a3c.js → DocumentClient-1O7wxh-X.js} +15 -22
- package/dist/{DocumentLayout-4005baa4.js → DocumentLayout-BrN5peVY.js} +4510 -4527
- package/dist/{DocumentLogotype-0d7d5080.js → DocumentLogotype-Bbas4MsY.js} +20 -22
- package/dist/DocumentVoided-Dy-pp_ng.js +25 -0
- package/dist/{EmbedInput-8c301d27.js → EmbedInput-bXXwMP4u.js} +9 -12
- package/dist/{EmbedSettings-05ab2762.js → EmbedSettings-BA2THNrd.js} +6 -9
- package/dist/ErrorCallout-Dvy9895L.js +28 -0
- package/dist/{FilePreviewModal-743fe489.js → FilePreviewModal-r84Ah3lE.js} +8 -14
- package/dist/{Flag-a6b545e0.js → Flag-CDN9A_59.js} +18 -20
- package/dist/{HeaderSettings-b739ddbb.js → HeaderSettings-DoDFhLcR.js} +34 -49
- package/dist/{ImageSelectModal-b626ef57.js → ImageSelectModal-D6ifkvIw.js} +12 -20
- package/dist/{ImageUploadWrapper-be047810.js → ImageUploadWrapper-K0-MmL-L.js} +356 -384
- package/dist/{Index-071b97c8.js → Index-3p6X7Ln-.js} +24 -26
- package/dist/{Index-c049a6e2.js → Index-B26J4tXQ.js} +7 -9
- package/dist/{Index-8f237754.js → Index-B6gB5CD3.js} +6 -8
- package/dist/{Index-b56a2d94.js → Index-B6u3OUGH.js} +20 -23
- package/dist/{Index-ecbffb52.js → Index-BN64idjX.js} +18 -31
- package/dist/{Index-a52df5e2.js → Index-BNGaREiU.js} +14 -21
- package/dist/{Index-4298f3e2.js → Index-BNeg0lcx.js} +13 -15
- package/dist/{Index-56e4127a.js → Index-BQVjSt_5.js} +29 -29
- package/dist/Index-BVNgUe07.js +21 -0
- package/dist/{Index-3f02e8ca.js → Index-Be-J2RvQ.js} +8 -11
- package/dist/{Index-848bb05c.js → Index-Btlub0dK.js} +11 -13
- package/dist/{Index-4f119d80.js → Index-BtzGGZEN.js} +459 -510
- package/dist/{Index-8ea1a895.js → Index-ByCpvqCC.js} +16 -21
- package/dist/{Index-5bf8b9b7.js → Index-CSg7HLqX.js} +8 -10
- package/dist/{Index-54f457ee.js → Index-CUZJomAi.js} +10 -12
- package/dist/{Index-63aea2b8.js → Index-Cj_3udAp.js} +12 -21
- package/dist/{Index-6b66b9ff.js → Index-CnOdi4ux.js} +4 -6
- package/dist/{Index-8e82da74.js → Index-DT9AWIQ2.js} +12 -15
- package/dist/Index-DWHl_jys.js +24 -0
- package/dist/{Index-fe0e805b.js → Index-Di3ibm8r.js} +51 -58
- package/dist/Index-Dk-kPbWy.js +52 -0
- package/dist/Index-Dl87oWQa.js +49 -0
- package/dist/{Index-a3920b7b.js → Index-DnDY3FUU.js} +9 -11
- package/dist/{Index-8ebe3371.js → Index-DoKh3I_O.js} +19 -26
- package/dist/{Index-c349151b.js → Index-DvA5sZ1U.js} +7 -9
- package/dist/{Index-01224b38.js → Index-DwlzPadK.js} +233 -273
- package/dist/{Index-b2de3af8.js → Index-ID37TIgR.js} +2 -4
- package/dist/Index-TPRXPN4a.js +26 -0
- package/dist/{Index-8cfeac73.js → Index-YdyeCcFX.js} +80 -90
- package/dist/{Index-97c18be1.js → Index-b0dDsObZ.js} +5 -9
- package/dist/{Index-caebb616.js → Index-bIYFzizT.js} +4 -6
- package/dist/{Index-4b09d0fa.js → Index-d5iMi4y5.js} +116 -118
- package/dist/{Index-ea1e223d.js → Index-oYQ9EfP9.js} +16 -18
- package/dist/{Index-f1bf6520.js → Index-phsroK51.js} +6 -8
- package/dist/{InputToggleRow-f86fdf91.js → InputToggleRow-ClHkgn7s.js} +3 -5
- package/dist/{ManualPopover-d7c2a780.js → ManualPopover-DrhgZvGC.js} +1 -3
- package/dist/{MediaWrapper-2381bc95.js → MediaWrapper-BxNEJOT7.js} +3 -6
- package/dist/{NotBindingText-a9eae0b2.js → NotBindingText-BhKMdYBN.js} +5 -7
- package/dist/{PackageGroup-95d99d03.js → PackageGroup--pDNkIMj.js} +35 -59
- package/dist/{PdfTerms-4a6d6067.js → PdfTerms-BL34ex7f.js} +11 -18
- package/dist/{PdfViewer-8d7f2143.js → PdfViewer-CPSINxc8.js} +25 -29
- package/dist/{PlainHtml-9d3f71d6.js → PlainHtml-Dc76U4EV.js} +5 -7
- package/dist/{PriceHeader-f2cb6529.js → PriceHeader-CEGF-DO3.js} +113 -130
- package/dist/SearchApi-D4yY2KZj.js +161 -0
- package/dist/{Setup-74c47337.js → Setup-BJIY_mWN.js} +9 -11
- package/dist/{TermsSettings-0c5a6cad.js → TermsSettings-DM4pvL-n.js} +6 -12
- package/dist/{ThemeColorRow-bbf4f527.js → ThemeColorRow-D7TCU3ap.js} +8 -10
- package/dist/{ToggleBinding-50af6f0f.js → ToggleBinding-CSgFUF6o.js} +7 -9
- package/dist/{UploadModal-d2757015.js → UploadModal-Cz7o7DeT.js} +16 -19
- package/dist/{VideoPlayerInput-cb6c91e8.js → VideoPlayerInput-Db0RRtb5.js} +6 -8
- package/dist/{VideoPlayerSettings-bff30628.js → VideoPlayerSettings-BgbNuWbP.js} +7 -11
- package/dist/{VideoSelectModal-9ec9ecfc.js → VideoSelectModal-BIKeCzUZ.js} +20 -28
- package/dist/{answerDocumentMixin-9368852c.js → answerDocumentMixin-Bqg9Of1S.js} +5 -5
- package/dist/{debounce-f8aeabc5.js → debounce-DceKdgy2.js} +3 -3
- package/dist/{dom-962579a6.js → dom-CPYqHOIw.js} +2 -2
- package/dist/{focusDrawerMixin-e2312605.js → focusDrawerMixin-Cx41U1xU.js} +1 -1
- package/dist/{formComponentsInstall-6894b988.js → formComponentsInstall-CWgaR4yB.js} +1198 -1171
- package/dist/{formDrawerState-b99be3a7.js → formDrawerState-DLCSwrgc.js} +1 -1
- package/dist/{formValidationMixin-a9a35060.js → formValidationMixin-CsLym0iM.js} +2 -2
- package/dist/{index-b2348f09.js → index-0kj8-T7-.js} +39 -44
- package/dist/{index-9d1ade78.js → index-4MqvoLi4.js} +3 -5
- package/dist/{index-96e9db00.js → index-By9c7IPL.js} +41 -59
- package/dist/{index-d35e9363.js → index-C16hoSRM.js} +5 -3
- package/dist/{index-c9186403.js → index-C6C4uskP.js} +14 -16
- package/dist/{IsPremiumPreStep-27645ee9.js → index-Cp7dG8Zm.js} +531 -566
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +1019 -1028
- package/dist/{main-b9ea9725.js → main-DBw231uy.js} +21733 -21943
- package/dist/{mapFormMixin-de4a37c3.js → mapFormMixin-BrtcYsT9.js} +1 -2
- package/dist/{vuedraggable.umd-1b113186.js → omit-DQqb9hkZ.js} +143 -133
- package/dist/{publicSenderState-a2c0cc9d.js → publicSenderState-BysO0Mzz.js} +1 -1
- package/dist/{splitpanes-ba7897bf.js → splitpanes-BHUVsCZF.js} +38 -42
- package/dist/style.css +2 -2
- package/dist/{throttle-53a6c735.js → throttle-DKrISvLg.js} +2 -2
- package/dist/{tinycolor-071e269c.js → tinycolor-Be3bF6zy.js} +6 -6
- package/dist/{tippy.esm-1b89bf69.js → tippy.esm-yjYH8SnL.js} +226 -232
- package/dist/{utils-44a35f52.js → utils-DP30AdJH.js} +1 -1
- package/package.json +2 -2
- package/dist/DocLinks-d6b1b080.js +0 -41
- package/dist/DocumentVoided-fe1bd505.js +0 -27
- package/dist/ErrorCallout-87033b39.js +0 -30
- package/dist/Index-6bfbbbd2.js +0 -61
- package/dist/Index-6c21af02.js +0 -28
- package/dist/Index-cbd0f3f6.js +0 -23
- package/dist/Index-f006e9fe.js +0 -26
- package/dist/Index-fc0516f6.js +0 -54
- package/dist/SearchApi-2a59cdc7.js +0 -167
- package/dist/index-3671e1b7.js +0 -14
- package/dist/index-805c56e4.js +0 -4
- /package/dist/{CField.vue_vue_type_style_index_0_lang-4ed993c7.js → CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js} +0 -0
- /package/dist/{anime.es-e284c852.js → anime.es-BrPTThYb.js} +0 -0
- /package/dist/{color-c1606adc.js → color-TdtKxwVa.js} +0 -0
- /package/dist/{i18nMessages-6b279c15.js → i18nMessages-Chz_lxGG.js} +0 -0
- /package/dist/{vuex.esm-4a0fff7c.js → vuex.esm-DKGl8mcw.js} +0 -0
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { w as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import "./SearchApi-2a59cdc7.js";
|
|
7
|
-
import "./debounce-f8aeabc5.js";
|
|
1
|
+
import { C as v } from "./ClientAutocomplete-hcl0bJxO.js";
|
|
2
|
+
import { A as u, W as y, I as C, n as p, d as b, c as _, b as d, g as c, X as $, v as w } from "./main-DBw231uy.js";
|
|
3
|
+
import { w as f } from "./CDropdownItem-CTJ55d4m.js";
|
|
4
|
+
import { v as r } from "./index-C16hoSRM.js";
|
|
5
|
+
import { m as g, b as x, a as k } from "./vuex.esm-DKGl8mcw.js";
|
|
8
6
|
function h(a) {
|
|
9
7
|
if (typeof a > "u")
|
|
10
8
|
throw Error("Missing param inputParam");
|
|
@@ -151,8 +149,7 @@ const S = {
|
|
|
151
149
|
}
|
|
152
150
|
}
|
|
153
151
|
}
|
|
154
|
-
}
|
|
155
|
-
const { mapFields: N } = u({
|
|
152
|
+
}, { mapFields: N } = u({
|
|
156
153
|
getterType: "forms/getField",
|
|
157
154
|
mutationType: "forms/updateField"
|
|
158
155
|
}), I = {
|
|
@@ -162,10 +159,10 @@ const { mapFields: N } = u({
|
|
|
162
159
|
messages: S
|
|
163
160
|
},
|
|
164
161
|
components: {
|
|
165
|
-
ClientAutocomplete:
|
|
166
|
-
Animation:
|
|
162
|
+
ClientAutocomplete: v,
|
|
163
|
+
Animation: y
|
|
167
164
|
},
|
|
168
|
-
mixins: [
|
|
165
|
+
mixins: [f],
|
|
169
166
|
props: {
|
|
170
167
|
requireReference: {
|
|
171
168
|
type: Boolean,
|
|
@@ -239,11 +236,6 @@ const { mapFields: N } = u({
|
|
|
239
236
|
}
|
|
240
237
|
};
|
|
241
238
|
},
|
|
242
|
-
watch: {
|
|
243
|
-
type(a) {
|
|
244
|
-
y.setItem("defaultClientType", a);
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
239
|
computed: {
|
|
248
240
|
...N({
|
|
249
241
|
id: "endCustomer.id",
|
|
@@ -264,7 +256,7 @@ const { mapFields: N } = u({
|
|
|
264
256
|
reverseVat: "endCustomer.reverseVat",
|
|
265
257
|
doUpdateEndCustomer: "endCustomer.doUpdateEndCustomer"
|
|
266
258
|
}),
|
|
267
|
-
...
|
|
259
|
+
...g({
|
|
268
260
|
isPosting: "endCustomers/isPosting",
|
|
269
261
|
companyRegion: "application/companyRegion",
|
|
270
262
|
feature: "application/feature"
|
|
@@ -302,6 +294,11 @@ const { mapFields: N } = u({
|
|
|
302
294
|
return this.type === "individual";
|
|
303
295
|
}
|
|
304
296
|
},
|
|
297
|
+
watch: {
|
|
298
|
+
type(a) {
|
|
299
|
+
C.setItem("defaultClientType", a);
|
|
300
|
+
}
|
|
301
|
+
},
|
|
305
302
|
mounted() {
|
|
306
303
|
this.$refs[this.inputFocusOnMount] ? this.$refs[this.inputFocusOnMount].$el.querySelector("input").focus() : this.$refs.name.$el.querySelector("input").focus();
|
|
307
304
|
},
|
|
@@ -403,9 +400,7 @@ var F = function() {
|
|
|
403
400
|
z,
|
|
404
401
|
!1,
|
|
405
402
|
null,
|
|
406
|
-
"
|
|
407
|
-
null,
|
|
408
|
-
null
|
|
403
|
+
"59306239"
|
|
409
404
|
);
|
|
410
405
|
const R = M.exports, { mapFields: O } = u({
|
|
411
406
|
getterType: "forms/getField",
|
|
@@ -444,7 +439,7 @@ const R = M.exports, { mapFields: O } = u({
|
|
|
444
439
|
components: {
|
|
445
440
|
FormClient: R
|
|
446
441
|
},
|
|
447
|
-
mixins: [
|
|
442
|
+
mixins: [f],
|
|
448
443
|
props: {
|
|
449
444
|
documentClientIndex: {
|
|
450
445
|
type: Number,
|
|
@@ -494,16 +489,16 @@ const R = M.exports, { mapFields: O } = u({
|
|
|
494
489
|
...O({
|
|
495
490
|
endCustomer: "endCustomer"
|
|
496
491
|
}),
|
|
497
|
-
...
|
|
492
|
+
...x("forms", {
|
|
498
493
|
formData: (a) => a.document2
|
|
499
494
|
}),
|
|
500
|
-
...
|
|
495
|
+
...g({
|
|
501
496
|
can: "application/can",
|
|
502
497
|
feature: "application/feature",
|
|
503
498
|
defaultClientType: "endCustomers/defaultClientType"
|
|
504
499
|
}),
|
|
505
500
|
validateOrgNo() {
|
|
506
|
-
return !!(this.feature("bankId") || this.isPublicForm &&
|
|
501
|
+
return !!(this.feature("bankId") || this.isPublicForm && b[_.brand].defaultRegion === "SE");
|
|
507
502
|
},
|
|
508
503
|
existsOnDocument() {
|
|
509
504
|
return !!d(this.formData, `clients[${this.documentClientIndex}]`);
|
|
@@ -526,12 +521,12 @@ const R = M.exports, { mapFields: O } = u({
|
|
|
526
521
|
);
|
|
527
522
|
},
|
|
528
523
|
methods: {
|
|
529
|
-
...
|
|
524
|
+
...k({
|
|
530
525
|
saveClient: c.FORM_SUBMIT_ENDCUSTOMER,
|
|
531
526
|
showMessage: c.SHOW_MESSAGE
|
|
532
527
|
}),
|
|
533
528
|
loadForm(a = {}) {
|
|
534
|
-
this.storedNewClient = Object.assign(this.storedNewClient, a), this.endCustomer =
|
|
529
|
+
this.storedNewClient = Object.assign(this.storedNewClient, a), this.endCustomer = $({
|
|
535
530
|
type: this.defaultClientType(),
|
|
536
531
|
...a
|
|
537
532
|
});
|
|
@@ -545,7 +540,7 @@ const R = M.exports, { mapFields: O } = u({
|
|
|
545
540
|
}
|
|
546
541
|
this.setFormValue({
|
|
547
542
|
key: `clients[${this.documentClientIndex}]`,
|
|
548
|
-
value:
|
|
543
|
+
value: w(
|
|
549
544
|
{ ...this.endCustomer, ...a && { id: a } },
|
|
550
545
|
{ ...this.storedNewClient, signOrder: this.signOrder }
|
|
551
546
|
)
|
|
@@ -614,11 +609,9 @@ var A = function() {
|
|
|
614
609
|
D,
|
|
615
610
|
!1,
|
|
616
611
|
null,
|
|
617
|
-
null,
|
|
618
|
-
null,
|
|
619
612
|
null
|
|
620
613
|
);
|
|
621
|
-
const
|
|
614
|
+
const L = B.exports;
|
|
622
615
|
export {
|
|
623
|
-
|
|
616
|
+
L as default
|
|
624
617
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Y as ht, n as bt } from "./main-
|
|
1
|
+
import { Y as ht, n as bt } from "./main-DBw231uy.js";
|
|
2
2
|
var vt = { exports: {} };
|
|
3
3
|
(function(gt, Ct) {
|
|
4
4
|
(function(c, i) {
|
|
@@ -151,7 +151,7 @@ var vt = { exports: {} };
|
|
|
151
151
|
}
|
|
152
152
|
};
|
|
153
153
|
};
|
|
154
|
-
var W = function() {
|
|
154
|
+
var W = /* @__PURE__ */ function() {
|
|
155
155
|
var S = [];
|
|
156
156
|
return function(j, L) {
|
|
157
157
|
return S[j] = L, S.filter(Boolean).join(`
|
|
@@ -1251,9 +1251,9 @@ var vt = { exports: {} };
|
|
|
1251
1251
|
var l = "(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)", p = "[\\s|\\(]+(" + l + ")[,|\\s]+(" + l + ")[,|\\s]+(" + l + ")\\s*\\)?", u = "[\\s|\\(]+(" + l + ")[,|\\s]+(" + l + ")[,|\\s]+(" + l + ")[,|\\s]+(" + l + ")\\s*\\)?";
|
|
1252
1252
|
return { CSS_UNIT: new RegExp(l), rgb: new RegExp("rgb" + p), rgba: new RegExp("rgba" + u), hsl: new RegExp("hsl" + p), hsla: new RegExp("hsla" + u), hsv: new RegExp("hsv" + p), hsva: new RegExp("hsva" + u), hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/, hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/ };
|
|
1253
1253
|
}();
|
|
1254
|
-
c !== void 0 && c.exports ? c.exports = a : (n = function() {
|
|
1254
|
+
c !== void 0 && c.exports ? c.exports = a : (n = (function() {
|
|
1255
1255
|
return a;
|
|
1256
|
-
}.call(i, e, i, c)) !== void 0 && (c.exports = n);
|
|
1256
|
+
}).call(i, e, i, c)) !== void 0 && (c.exports = n);
|
|
1257
1257
|
})(Math);
|
|
1258
1258
|
}, function(c, i, e) {
|
|
1259
1259
|
var n = e(67);
|
|
@@ -2871,9 +2871,7 @@ var yt = /* @__PURE__ */ bt(
|
|
|
2871
2871
|
wt,
|
|
2872
2872
|
!1,
|
|
2873
2873
|
null,
|
|
2874
|
-
"c60bd4ad"
|
|
2875
|
-
null,
|
|
2876
|
-
null
|
|
2874
|
+
"c60bd4ad"
|
|
2877
2875
|
);
|
|
2878
2876
|
const Ft = yt.exports;
|
|
2879
2877
|
export {
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
const { mapFields: f } =
|
|
1
|
+
import { w as r } from "./CDropdownItem-CTJ55d4m.js";
|
|
2
|
+
import { A as l, g as s, n as c } from "./main-DBw231uy.js";
|
|
3
|
+
import { v as o } from "./index-C16hoSRM.js";
|
|
4
|
+
import { m as p, b as n, a as d } from "./vuex.esm-DKGl8mcw.js";
|
|
5
|
+
import { s as m, a as u } from "./publicSenderState-BysO0Mzz.js";
|
|
6
|
+
const { mapFields: f } = l({
|
|
7
7
|
getterType: "forms/getField",
|
|
8
8
|
mutationType: "forms/updateField"
|
|
9
9
|
}), y = {
|
|
10
10
|
name: "CompanyModal",
|
|
11
|
+
mixins: [r],
|
|
11
12
|
props: {
|
|
12
13
|
inputFocusOnMount: {
|
|
13
14
|
type: String,
|
|
@@ -18,7 +19,6 @@ const { mapFields: f } = r({
|
|
|
18
19
|
default: !1
|
|
19
20
|
}
|
|
20
21
|
},
|
|
21
|
-
mixins: [c],
|
|
22
22
|
data() {
|
|
23
23
|
return {
|
|
24
24
|
isLoading: !1
|
|
@@ -26,10 +26,10 @@ const { mapFields: f } = r({
|
|
|
26
26
|
},
|
|
27
27
|
validations: {
|
|
28
28
|
name: {
|
|
29
|
-
required:
|
|
29
|
+
required: o.required
|
|
30
30
|
},
|
|
31
31
|
email: {
|
|
32
|
-
email:
|
|
32
|
+
email: o.email
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
computed: {
|
|
@@ -49,11 +49,11 @@ const { mapFields: f } = r({
|
|
|
49
49
|
lastName: "companyUser.lastname",
|
|
50
50
|
cellphone: "companyUser.cellphone"
|
|
51
51
|
}),
|
|
52
|
-
...
|
|
53
|
-
currentUserId: (
|
|
52
|
+
...n("application", {
|
|
53
|
+
currentUserId: (i) => i.user.userId
|
|
54
54
|
}),
|
|
55
|
-
...
|
|
56
|
-
documentCompanyUserId: ({ document2:
|
|
55
|
+
...n("forms", {
|
|
56
|
+
documentCompanyUserId: ({ document2: i }) => i && i.companyUserId
|
|
57
57
|
}),
|
|
58
58
|
isFullScreen() {
|
|
59
59
|
return this.mq === "sm";
|
|
@@ -65,14 +65,14 @@ const { mapFields: f } = r({
|
|
|
65
65
|
return this.currentUserId !== this.documentCompanyUserId && !this.isPublicForm;
|
|
66
66
|
},
|
|
67
67
|
messages() {
|
|
68
|
-
const
|
|
68
|
+
const i = (e) => this.$t(`views:account.settings.company.validations.${e}`);
|
|
69
69
|
return {
|
|
70
70
|
name: {
|
|
71
|
-
required:
|
|
71
|
+
required: i("name.required")
|
|
72
72
|
},
|
|
73
73
|
email: {
|
|
74
|
-
required:
|
|
75
|
-
email:
|
|
74
|
+
required: i("email.required"),
|
|
75
|
+
email: i("email.email")
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
78
|
}
|
|
@@ -85,15 +85,15 @@ const { mapFields: f } = r({
|
|
|
85
85
|
},
|
|
86
86
|
methods: {
|
|
87
87
|
...d({
|
|
88
|
-
formEditCompany:
|
|
89
|
-
formEditCompanyUser:
|
|
90
|
-
formSubmitCompany:
|
|
91
|
-
formSubmitCompanyUser:
|
|
92
|
-
setForm:
|
|
93
|
-
showMessage:
|
|
88
|
+
formEditCompany: s.FORM_EDIT_COMPANY,
|
|
89
|
+
formEditCompanyUser: s.FORM_EDIT_COMPANY_USER,
|
|
90
|
+
formSubmitCompany: s.FORM_SUBMIT_COMPANY,
|
|
91
|
+
formSubmitCompanyUser: s.FORM_SUBMIT_COMPANY_USER,
|
|
92
|
+
setForm: s.SET_FORM,
|
|
93
|
+
showMessage: s.SHOW_MESSAGE
|
|
94
94
|
}),
|
|
95
95
|
loadForm() {
|
|
96
|
-
this.isPublicForm ? (this.setForm({ key: "company", formData:
|
|
96
|
+
this.isPublicForm ? (this.setForm({ key: "company", formData: m.company }), this.setForm({ key: "companyUser", formData: m.user })) : (this.formEditCompany({ props: ["name"] }), this.formEditCompanyUser({
|
|
97
97
|
id: this.documentCompanyUserId,
|
|
98
98
|
props: ["id", "firstname", "lastname", "cellphone", "email"]
|
|
99
99
|
}));
|
|
@@ -127,17 +127,15 @@ var h = function() {
|
|
|
127
127
|
}, 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) {
|
|
128
128
|
e.cellphone = t;
|
|
129
129
|
}, 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)]);
|
|
130
|
-
},
|
|
130
|
+
}, g = [], C = /* @__PURE__ */ c(
|
|
131
131
|
y,
|
|
132
132
|
h,
|
|
133
|
-
|
|
133
|
+
g,
|
|
134
134
|
!1,
|
|
135
135
|
null,
|
|
136
|
-
"
|
|
137
|
-
null,
|
|
138
|
-
null
|
|
136
|
+
"20ecbb22"
|
|
139
137
|
);
|
|
140
|
-
const S =
|
|
138
|
+
const S = C.exports;
|
|
141
139
|
export {
|
|
142
140
|
S as default
|
|
143
141
|
};
|
|
@@ -1,19 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { i as d } from "./i18nMessages-
|
|
7
|
-
import "./color-c1606adc.js";
|
|
8
|
-
import "./tippy.esm-1b89bf69.js";
|
|
9
|
-
import "./ColorPicker-65a47379.js";
|
|
10
|
-
import "./DocumentLayout-4005baa4.js";
|
|
11
|
-
import "./debounce-f8aeabc5.js";
|
|
12
|
-
import "./CDropdownItem-7e71da85.js";
|
|
13
|
-
import "./CSlider.vue_vue_type_style_index_0_lang-ceb19661.js";
|
|
14
|
-
import "./dom-962579a6.js";
|
|
15
|
-
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
16
|
-
import "./ManualPopover-d7c2a780.js";
|
|
1
|
+
import { m as n } from "./mapFormMixin-BrtcYsT9.js";
|
|
2
|
+
import { B as l } from "./BlockMedia-DnbdVEZz.js";
|
|
3
|
+
import { t as r } from "./tinycolor-Be3bF6zy.js";
|
|
4
|
+
import { T as i } from "./DocTextEditor-C-qeLSQa.js";
|
|
5
|
+
import { n as s, Z as c, w as u, y as m, x as p } from "./main-DBw231uy.js";
|
|
6
|
+
import { i as d } from "./i18nMessages-Chz_lxGG.js";
|
|
17
7
|
const _ = {
|
|
18
8
|
name: "StaticComboLayout",
|
|
19
9
|
props: {
|
|
@@ -28,27 +18,24 @@ var f = function() {
|
|
|
28
18
|
return ["horizontal"].includes(t.layout) ? e("div", { staticClass: "flex w-full flex-col", staticStyle: { flex: "1 1 auto", "min-height": "100%" } }, [t._t("logo"), e("div", { staticClass: "flex w-full flex-col justify-end", staticStyle: { flex: "1 1 auto" } }, [t._t("preText"), t._t("documentName"), t._t("postText")], 2)], 2) : e("div", { staticClass: "flex w-full flex-col justify-between", class: {
|
|
29
19
|
"items-center": t.layout === "center"
|
|
30
20
|
}, staticStyle: { flex: "1 1 auto", "min-height": "100%" } }, [t._t("logo"), e("div", { staticClass: "flex w-full flex-col justify-center", staticStyle: { flex: "1 1 auto" } }, [t._t("preText"), t._t("documentName")], 2), t._t("postText")], 2);
|
|
31
|
-
},
|
|
21
|
+
}, x = [], y = /* @__PURE__ */ s(
|
|
32
22
|
_,
|
|
33
23
|
f,
|
|
34
|
-
|
|
24
|
+
x,
|
|
35
25
|
!1,
|
|
36
26
|
null,
|
|
37
|
-
"8e41c57b"
|
|
38
|
-
null,
|
|
39
|
-
null
|
|
27
|
+
"8e41c57b"
|
|
40
28
|
);
|
|
41
|
-
const h =
|
|
42
|
-
const v = {
|
|
29
|
+
const h = y.exports, v = {
|
|
43
30
|
name: "StaticLayout",
|
|
44
31
|
i18nOptions: {
|
|
45
32
|
namespaces: "staticLayout",
|
|
46
33
|
messages: d
|
|
47
34
|
},
|
|
48
35
|
components: {
|
|
49
|
-
DocumentLogotype: () => import("./DocumentLogotype-
|
|
36
|
+
DocumentLogotype: () => import("./DocumentLogotype-Bbas4MsY.js"),
|
|
50
37
|
StaticComboLayout: h,
|
|
51
|
-
TextEditor:
|
|
38
|
+
TextEditor: i
|
|
52
39
|
},
|
|
53
40
|
mixins: [
|
|
54
41
|
n([
|
|
@@ -83,7 +70,7 @@ const v = {
|
|
|
83
70
|
set(o) {
|
|
84
71
|
this.documentName = o, this.$emit("input", {
|
|
85
72
|
key: "data.name",
|
|
86
|
-
value:
|
|
73
|
+
value: c(o).trim().slice(0, 255)
|
|
87
74
|
});
|
|
88
75
|
}
|
|
89
76
|
},
|
|
@@ -92,14 +79,14 @@ const v = {
|
|
|
92
79
|
}
|
|
93
80
|
},
|
|
94
81
|
methods: {
|
|
95
|
-
mustacheToSpan:
|
|
96
|
-
spanToMustache:
|
|
82
|
+
mustacheToSpan: u,
|
|
83
|
+
spanToMustache: m,
|
|
97
84
|
interpolateString: p
|
|
98
85
|
}
|
|
99
86
|
};
|
|
100
87
|
var g = function() {
|
|
101
88
|
var t = this, e = t._self._c;
|
|
102
|
-
return e("div", { staticClass: "dont-break-out flex w-full flex-col
|
|
89
|
+
return e("div", { staticClass: "dont-break-out hyphens-auto flex w-full flex-col break-words", class: [`is-layout-${t.layout}`], staticStyle: { "word-wrap": "break-word", "word-break": "break-word" } }, [e("StaticComboLayout", { attrs: { layout: t.layout } }, [e("DocumentLogotype", { attrs: { slot: "logo", "show-logo": t.showLogo, "company-logotype": t.companyLogotype, "has-hover": t.hasHover }, on: { "update:showLogo": function(a) {
|
|
103
90
|
t.showLogo = a;
|
|
104
91
|
}, "update:show-logo": function(a) {
|
|
105
92
|
t.showLogo = a;
|
|
@@ -134,16 +121,13 @@ var g = function() {
|
|
|
134
121
|
T,
|
|
135
122
|
!1,
|
|
136
123
|
null,
|
|
137
|
-
"
|
|
138
|
-
null,
|
|
139
|
-
null
|
|
124
|
+
"5e1fe7d6"
|
|
140
125
|
);
|
|
141
|
-
const C = b.exports
|
|
142
|
-
const S = {
|
|
126
|
+
const C = b.exports, w = {
|
|
143
127
|
name: "ContentWrapper",
|
|
144
128
|
components: {
|
|
145
129
|
StaticCombo: C,
|
|
146
|
-
BlockMedia:
|
|
130
|
+
BlockMedia: l
|
|
147
131
|
},
|
|
148
132
|
mixins: [n(["layout", "item", "baseStyle"])],
|
|
149
133
|
props: {
|
|
@@ -171,11 +155,11 @@ const S = {
|
|
|
171
155
|
return ((o = this.baseStyle) == null ? void 0 : o.textAlign) || "left";
|
|
172
156
|
},
|
|
173
157
|
fallbackTextColor() {
|
|
174
|
-
return this.backgroundColor &&
|
|
158
|
+
return this.backgroundColor && r.readability(this.backgroundColor, "#fff") < 1.8 ? "#111111" : "#FFFFFF";
|
|
175
159
|
}
|
|
176
160
|
}
|
|
177
161
|
};
|
|
178
|
-
var
|
|
162
|
+
var S = function() {
|
|
179
163
|
var t = this, e = t._self._c;
|
|
180
164
|
return e("div", { staticClass: "content-root", class: { "has-hover": t.hasHover }, style: { color: t.color, textAlign: t.textAlign } }, [t.layout !== "center" ? e("BlockMedia", { staticClass: "content-media", attrs: { media: t.item.media } }) : t._e(), e("div", { staticClass: "content-spacing" }, [e("StaticCombo", t._g({ attrs: { "has-hover": t.hasHover, _document: t._document, _value: {
|
|
181
165
|
layout: t._value.layout,
|
|
@@ -186,16 +170,14 @@ var w = function() {
|
|
|
186
170
|
logotype: `${t._value.item}.value.logotype`
|
|
187
171
|
}, validator: t.validator } }, t.$listeners))], 1)], 1);
|
|
188
172
|
}, $ = [], L = /* @__PURE__ */ s(
|
|
189
|
-
S,
|
|
190
173
|
w,
|
|
174
|
+
S,
|
|
191
175
|
$,
|
|
192
176
|
!1,
|
|
193
177
|
null,
|
|
194
|
-
"
|
|
195
|
-
null,
|
|
196
|
-
null
|
|
178
|
+
"3dfe0998"
|
|
197
179
|
);
|
|
198
|
-
const
|
|
180
|
+
const j = L.exports;
|
|
199
181
|
export {
|
|
200
|
-
|
|
182
|
+
j as default
|
|
201
183
|
};
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { m as d } from "./mapFormMixin-
|
|
2
|
-
import { T as l } from "./ThemeColorRow-
|
|
3
|
-
import { n as s, M as p, E as u } from "./main-
|
|
4
|
-
|
|
5
|
-
import "./ColorPicker-65a47379.js";
|
|
6
|
-
import "./ManualPopover-d7c2a780.js";
|
|
7
|
-
const v = (i, e, t, o) => Math.atan2(i - t, e - o) * (180 / Math.PI) * -1 + 180, m = {
|
|
1
|
+
import { m as d } from "./mapFormMixin-BrtcYsT9.js";
|
|
2
|
+
import { T as l } from "./ThemeColorRow-D7TCU3ap.js";
|
|
3
|
+
import { n as s, M as p, E as u } from "./main-DBw231uy.js";
|
|
4
|
+
const m = (i, e, t, o) => Math.atan2(i - t, e - o) * (180 / Math.PI) * -1 + 180, v = {
|
|
8
5
|
name: "DegreePicker",
|
|
9
6
|
props: {
|
|
10
7
|
value: {
|
|
@@ -32,7 +29,7 @@ const v = (i, e, t, o) => Math.atan2(i - t, e - o) * (180 / Math.PI) * -1 + 180,
|
|
|
32
29
|
);
|
|
33
30
|
},
|
|
34
31
|
mouseMoveHandler(i, { centerX: e, centerY: t }) {
|
|
35
|
-
const o =
|
|
32
|
+
const o = m(
|
|
36
33
|
i.clientX,
|
|
37
34
|
i.clientY,
|
|
38
35
|
e,
|
|
@@ -46,21 +43,18 @@ const v = (i, e, t, o) => Math.atan2(i - t, e - o) * (180 / Math.PI) * -1 + 180,
|
|
|
46
43
|
}
|
|
47
44
|
}
|
|
48
45
|
};
|
|
49
|
-
var
|
|
46
|
+
var g = function() {
|
|
50
47
|
var e = this, t = e._self._c;
|
|
51
48
|
return t("div", { staticClass: "gradient-degrees-options" }, [t("div", { staticStyle: { "pointer-events": "none", "user-select": "none", "padding-right": "0.5em", opacity: "0.75" } }, [t("div", [e._v(e._s(e.value) + "°")])]), t("div", { staticClass: "gradient-degrees", on: { mousedown: e.onButtonDown } }, [t("div", { staticClass: "gradient-degree-center", style: e.degreesStyle }, [t("div", { staticClass: "gradient-degree-pointer" })])])]);
|
|
52
|
-
},
|
|
53
|
-
|
|
54
|
-
_,
|
|
49
|
+
}, _ = [], f = /* @__PURE__ */ s(
|
|
50
|
+
v,
|
|
55
51
|
g,
|
|
52
|
+
_,
|
|
56
53
|
!1,
|
|
57
54
|
null,
|
|
58
|
-
"0c48c700"
|
|
59
|
-
null,
|
|
60
|
-
null
|
|
55
|
+
"0c48c700"
|
|
61
56
|
);
|
|
62
|
-
const y = f.exports
|
|
63
|
-
const h = {
|
|
57
|
+
const y = f.exports, h = {
|
|
64
58
|
name: "GradientPicker",
|
|
65
59
|
i18nOptions: {
|
|
66
60
|
namespaces: "gradientPicker",
|
|
@@ -138,14 +132,11 @@ var C = function() {
|
|
|
138
132
|
b,
|
|
139
133
|
!1,
|
|
140
134
|
null,
|
|
141
|
-
"
|
|
142
|
-
null,
|
|
143
|
-
null
|
|
135
|
+
"e22a6b42"
|
|
144
136
|
);
|
|
145
|
-
const
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
video: () => import("./VideoSelectModal-9ec9ecfc.js")
|
|
137
|
+
const $ = w.exports, x = {
|
|
138
|
+
image: () => import("./ImageSelectModal-D6ifkvIw.js"),
|
|
139
|
+
video: () => import("./VideoSelectModal-BIKeCzUZ.js")
|
|
149
140
|
}, S = {
|
|
150
141
|
name: "CoverBlockSettings",
|
|
151
142
|
i18nOptions: {
|
|
@@ -171,7 +162,7 @@ const $ = {
|
|
|
171
162
|
},
|
|
172
163
|
components: {
|
|
173
164
|
ThemeColorRow: l,
|
|
174
|
-
GradientPicker:
|
|
165
|
+
GradientPicker: $
|
|
175
166
|
},
|
|
176
167
|
mixins: [
|
|
177
168
|
d(
|
|
@@ -216,7 +207,7 @@ const $ = {
|
|
|
216
207
|
},
|
|
217
208
|
openResourceModal(i) {
|
|
218
209
|
this.$modal.show(
|
|
219
|
-
|
|
210
|
+
x[i],
|
|
220
211
|
{},
|
|
221
212
|
{},
|
|
222
213
|
{
|
|
@@ -276,11 +267,9 @@ var k = function() {
|
|
|
276
267
|
R,
|
|
277
268
|
!1,
|
|
278
269
|
null,
|
|
279
|
-
"
|
|
280
|
-
null,
|
|
281
|
-
null
|
|
270
|
+
"30a9943d"
|
|
282
271
|
);
|
|
283
|
-
const
|
|
272
|
+
const B = D.exports;
|
|
284
273
|
export {
|
|
285
|
-
|
|
274
|
+
B as default
|
|
286
275
|
};
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import r from "./AnswerModal-
|
|
2
|
-
import { n as o } from "./main-
|
|
3
|
-
import "./anime.es-e284c852.js";
|
|
4
|
-
import "./vuex.esm-4a0fff7c.js";
|
|
5
|
-
import "./mapFormMixin-de4a37c3.js";
|
|
6
|
-
import "./CField-823448be.js";
|
|
7
|
-
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
1
|
+
import r from "./AnswerModal-DnTU4eo8.js";
|
|
2
|
+
import { n as o } from "./main-DBw231uy.js";
|
|
8
3
|
const t = {
|
|
9
4
|
components: {
|
|
10
5
|
AnswerModal: r
|
|
@@ -27,17 +22,15 @@ const t = {
|
|
|
27
22
|
var s = function() {
|
|
28
23
|
var e = this, n = e._self._c;
|
|
29
24
|
return n("AnswerModal", { attrs: { mode: e.answerType, _document: e.document }, on: { close: e.closeFunc } });
|
|
30
|
-
}, c = [],
|
|
25
|
+
}, c = [], a = /* @__PURE__ */ o(
|
|
31
26
|
t,
|
|
32
27
|
s,
|
|
33
28
|
c,
|
|
34
29
|
!1,
|
|
35
30
|
null,
|
|
36
|
-
null,
|
|
37
|
-
null,
|
|
38
31
|
null
|
|
39
32
|
);
|
|
40
|
-
const
|
|
33
|
+
const m = a.exports;
|
|
41
34
|
export {
|
|
42
|
-
|
|
35
|
+
m as default
|
|
43
36
|
};
|