@cling-se/widget 0.9.18 → 0.9.20
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-e8abe369.js → AddClientCallout-9619a0cd.js} +5 -5
- package/dist/{AnswerModal-09ffb221.js → AnswerModal-f1389947.js} +3 -3
- package/dist/{AttachmentItem-110f93f7.js → AttachmentItem-95fc684f.js} +3 -3
- package/dist/{BaseDatePicker-03ece6df.js → BaseDatePicker-4d9b61fd.js} +1 -1
- package/dist/{BaseInput-295abce2.js → BaseInput-84339b4c.js} +1 -1
- package/dist/{BaseUpload-7c1121f8.js → BaseUpload-066f809f.js} +2 -2
- package/dist/{BlockMedia-f95986a5.js → BlockMedia-50fb330d.js} +1 -1
- package/dist/{CCallout-6ff50025.js → CCallout-78e08a9d.js} +2 -2
- package/dist/{CDropdownItem-fa27c5e4.js → CDropdownItem-66b82296.js} +2 -1
- package/dist/{CField-855c1d0a.js → CField-ef95a1e3.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-5d538988.js → CSlider.vue_vue_type_style_index_0_lang-2d8796e1.js} +1 -1
- package/dist/{ClientAutocomplete-a569db77.js → ClientAutocomplete-9501cf84.js} +2 -2
- package/dist/{ClientModal-708de29c.js → ClientModal-067ecc75.js} +45 -38
- package/dist/{ColorPicker-eeac209c.js → ColorPicker-8cb1f27c.js} +1 -1
- package/dist/{CompanyModal-b59c2a9d.js → CompanyModal-983de11b.js} +3 -3
- package/dist/{ContentWrapper-b3353d9f.js → ContentWrapper-f7ddec71.js} +12 -12
- package/dist/{CoverBlockSettings-55e7a45b.js → CoverBlockSettings-9c9ee9b7.js} +8 -8
- package/dist/{DocAnswer-3292579d.js → DocAnswer-f1099b05.js} +4 -4
- package/dist/{DocForm-d39f62d7.js → DocForm-408eacc2.js} +633 -568
- package/dist/{DocFormSend-a9d52a13.js → DocFormSend-5dab1505.js} +39 -32
- package/dist/{DocLinks-dcc93a82.js → DocLinks-8e16606e.js} +2 -2
- package/dist/{DocModalBase-16e3129d.js → DocModalBase-7428da89.js} +1 -1
- package/dist/{DocPrint-6efe5f7e.js → DocPrint-54d3217e.js} +48 -29
- package/dist/{DocReceipt-fe1bb7da.js → DocReceipt-907da7e5.js} +1 -1
- package/dist/{DocSendReminder-f25c765c.js → DocSendReminder-f24cadff.js} +1 -1
- package/dist/{DocTextEditor-0a93ad72.js → DocTextEditor-24205e38.js} +8 -8
- package/dist/{DocTimeline-19a2d78f.js → DocTimeline-38d24961.js} +1 -1
- package/dist/{DocumentClient-66a913b6.js → DocumentClient-fe8c5bd9.js} +5 -5
- package/dist/{DocumentLayout-759a064d.js → DocumentLayout-e7b72468.js} +3 -3
- package/dist/{DocumentLogotype-a393c0be.js → DocumentLogotype-b22c2f09.js} +3 -3
- package/dist/{EmbedInput-1f9511d4.js → EmbedInput-19806a9e.js} +2 -2
- package/dist/{EmbedSettings-dab21536.js → EmbedSettings-c0cec374.js} +3 -3
- package/dist/{ErrorCallout-78e56929.js → ErrorCallout-a662ea20.js} +1 -1
- package/dist/{FilePreviewModal-ad52ec07.js → FilePreviewModal-01da22e5.js} +4 -4
- package/dist/{HeaderSettings-52bf0abe.js → HeaderSettings-a3531f64.js} +15 -15
- package/dist/{ImageSelectModal-710b1c98.js → ImageSelectModal-474d9d7a.js} +8 -8
- package/dist/{ImageUploadWrapper-e4ec2d95.js → ImageUploadWrapper-f40bec1d.js} +2 -2
- package/dist/{Index-fa4453cc.js → Index-02c3e9fa.js} +6 -6
- package/dist/{Index-f90de221.js → Index-19126146.js} +2 -2
- package/dist/{Index-36e4bf8c.js → Index-1b7e3d53.js} +4 -4
- package/dist/{Index-ce61e3e6.js → Index-1bfcccc4.js} +9 -9
- package/dist/{Index-e20ec508.js → Index-1de87c6e.js} +7 -7
- package/dist/{Index-d8a20b59.js → Index-32694d1d.js} +2 -2
- package/dist/{Index-8da208ee.js → Index-36b27618.js} +57 -52
- package/dist/{Index-ee78a0d7.js → Index-4cd7a2f2.js} +4 -4
- package/dist/{Index-912c9b2b.js → Index-50314a91.js} +4 -4
- package/dist/{Index-e59b8d01.js → Index-509da1b4.js} +9 -9
- package/dist/{Index-0a824c85.js → Index-52509ecc.js} +6 -6
- package/dist/{Index-aba31a5e.js → Index-56883ef4.js} +6 -6
- package/dist/{Index-59830840.js → Index-56944bc9.js} +4 -4
- package/dist/{Index-fbdf1476.js → Index-73032523.js} +1 -1
- package/dist/{Index-90e16f49.js → Index-73cb2f77.js} +13 -13
- package/dist/{Index-7d913167.js → Index-7c72d521.js} +2 -2
- package/dist/{Index-e9a8bb89.js → Index-87389ddb.js} +25 -25
- package/dist/{Index-33447fc6.js → Index-8929dd51.js} +5 -5
- package/dist/{Index-d34e5825.js → Index-8a61e9e6.js} +1 -1
- package/dist/{Index-0db8754f.js → Index-9e039c9b.js} +2 -2
- package/dist/{Index-ac1e43f2.js → Index-a8a68e5a.js} +7 -7
- package/dist/{Index-d98ab083.js → Index-af0f3e58.js} +4 -4
- package/dist/{Index-d10a939c.js → Index-b0bc65a3.js} +8 -8
- package/dist/{Index-352c9021.js → Index-c10669fe.js} +2 -2
- package/dist/{Index-4353a97c.js → Index-c49111c7.js} +4 -4
- package/dist/{Index-d86c5a75.js → Index-c8f9233b.js} +48 -47
- package/dist/{Index-f5c9987e.js → Index-cf4842b9.js} +2 -2
- package/dist/{Index-8225fee4.js → Index-d198ebd8.js} +2 -2
- package/dist/{Index-d20dca56.js → Index-d265d801.js} +4 -4
- package/dist/{Index-5b64fb7a.js → Index-e6330dff.js} +4 -4
- package/dist/{Index-3fe3326a.js → Index-f249ab5b.js} +2 -2
- package/dist/{Index-62c81443.js → Index-f9983a6a.js} +13 -13
- package/dist/{Index-688ba377.js → Index-fb7e5d20.js} +4 -4
- package/dist/{Index-6051d460.js → Index-fec9c623.js} +3 -3
- package/dist/{InputToggleRow-e4c9fb71.js → InputToggleRow-90cd84bb.js} +1 -1
- package/dist/{IsPremiumPreStep-e4caf2dd.js → IsPremiumPreStep-b154b6c5.js} +38 -31
- package/dist/{ManualPopover-d8269334.js → ManualPopover-d732ac07.js} +1 -1
- package/dist/{MediaWrapper-5b99c2b9.js → MediaWrapper-7a042a7f.js} +3 -3
- package/dist/{NotBindingText-27150bf7.js → NotBindingText-2c0a1b94.js} +2 -2
- package/dist/{PackageGroup-f6bbaea1.js → PackageGroup-cc422650.js} +13 -13
- package/dist/{PdfTerms-1b34c28a.js → PdfTerms-20c78c5b.js} +4 -4
- package/dist/{PdfViewer-fe405d8f.js → PdfViewer-f2026467.js} +5 -5
- package/dist/{PlainHtml-07b4461c.js → PlainHtml-f2b630f9.js} +1 -1
- package/dist/{PriceHeader-693a6414.js → PriceHeader-c9011e48.js} +12 -12
- package/dist/{SearchApi-9d26dde8.js → SearchApi-7b15f157.js} +2 -2
- package/dist/{Setup-ba2a9928.js → Setup-36945741.js} +1 -1
- package/dist/{TermsSettings-9aa52469.js → TermsSettings-36cbaf14.js} +6 -6
- package/dist/{ThemeColorRow-ef3ec593.js → ThemeColorRow-0b5c56fc.js} +3 -3
- package/dist/{ToggleBinding-ac3268f8.js → ToggleBinding-cc06dcef.js} +3 -3
- package/dist/{UploadModal-e8ef00fb.js → UploadModal-c61ec4e8.js} +3 -3
- package/dist/{VideoPlayerInput-9feb576c.js → VideoPlayerInput-91408653.js} +3 -3
- package/dist/{VideoPlayerSettings-2450b21c.js → VideoPlayerSettings-ae7e9175.js} +4 -4
- package/dist/{VideoSelectModal-f282ba52.js → VideoSelectModal-83b9e055.js} +7 -7
- package/dist/{answerDocumentMixin-59e29633.js → answerDocumentMixin-69fdcb8e.js} +3 -3
- package/dist/{cssMode-691cb247.js → cssMode-7d9ff98e.js} +7 -7
- package/dist/{focusDrawerMixin-91e8cb6b.js → focusDrawerMixin-ff6461a8.js} +1 -1
- package/dist/{formComponentsInstall-a371e037.js → formComponentsInstall-f4e2b7d5.js} +14 -13
- package/dist/{formDrawerState-db84952d.js → formDrawerState-aae83c3d.js} +1 -1
- package/dist/{formValidationMixin-699c04c8.js → formValidationMixin-cd15cf18.js} +1 -1
- package/dist/{freemarker2-369c7be7.js → freemarker2-9b942f4a.js} +7 -7
- package/dist/{handlebars-e69d309d.js → handlebars-ed9d2974.js} +7 -7
- package/dist/{html-b90b7472.js → html-f2889a37.js} +7 -7
- package/dist/{htmlMode-852798f7.js → htmlMode-37f68fda.js} +7 -7
- package/dist/{image-45637029.js → image-6862651d.js} +1 -1
- package/dist/{index-e42d306b.js → index-66f749c2.js} +4 -4
- package/dist/{index-03d51584.js → index-7f2e8b37.js} +4 -4
- package/dist/{index-60e5432a.js → index-8255de00.js} +8 -8
- package/dist/{index-ef653c95.js → index-a19a5c70.js} +27 -27
- package/dist/{index-68aa0619.js → index-a1f81228.js} +2 -2
- package/dist/{index-0f4dd31a.js → index-a44f193f.js} +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +488 -488
- package/dist/{javascript-d936cb19.js → javascript-46a9739c.js} +8 -8
- package/dist/{jsonMode-082e4bd3.js → jsonMode-ab05190c.js} +7 -7
- package/dist/{liquid-461e97b3.js → liquid-60a5e8f4.js} +7 -7
- package/dist/{main-870410b4.js → main-1f937d87.js} +3724 -3650
- package/dist/mapFormMixin-8c09dab9.js +73 -0
- package/dist/{publicSenderState-973b902b.js → publicSenderState-73d241e0.js} +1 -1
- package/dist/{python-516db33c.js → python-2fc09c0f.js} +7 -7
- package/dist/{razor-7e80bafe.js → razor-01789f82.js} +7 -7
- package/dist/{simplebar.min-db10f993.js → simplebar.min-76317c3b.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{template-a0e45f2c.js → template-6422cbb1.js} +1 -1
- package/dist/{throttle-9dc46674.js → throttle-2e1b7f21.js} +2 -2
- package/dist/{tinycolor-17c54210.js → tinycolor-024fb881.js} +1 -1
- package/dist/{tippy.esm-e1516e3d.js → tippy.esm-d006e34e.js} +5 -5
- package/dist/{tsMode-dc7b755a.js → tsMode-bc82901a.js} +7 -7
- package/dist/{typescript-18787046.js → typescript-35063579.js} +7 -7
- package/dist/{utils-bc6b4fb5.js → utils-d8ab353e.js} +1 -1
- package/dist/{vuedraggable.umd-b951d1bb.js → vuedraggable.umd-8be16eb5.js} +1 -1
- package/dist/{xml-c6d75bf4.js → xml-a008072c.js} +7 -7
- package/package.json +1 -1
- package/dist/mapFormMixin-3e8412ac.js +0 -66
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as o } from "./ClientAutocomplete-
|
|
2
|
-
import { m as r } from "./mapFormMixin-
|
|
3
|
-
import { n as s } from "./main-
|
|
4
|
-
import "./SearchApi-
|
|
5
|
-
import "./CDropdownItem-
|
|
1
|
+
import { C as o } from "./ClientAutocomplete-9501cf84.js";
|
|
2
|
+
import { m as r } from "./mapFormMixin-8c09dab9.js";
|
|
3
|
+
import { n as s } from "./main-1f937d87.js";
|
|
4
|
+
import "./SearchApi-7b15f157.js";
|
|
5
|
+
import "./CDropdownItem-66b82296.js";
|
|
6
6
|
import "./vuex.esm-4a0fff7c.js";
|
|
7
7
|
const i = {
|
|
8
8
|
i18nOptions: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as nt } from "./anime.es-e284c852.js";
|
|
2
|
-
import { ah as At, h as Ct, n as ot, ai as Tt, G as ft, aj as Ft, ak as kt, al as It, g as xt } from "./main-
|
|
2
|
+
import { ah as At, h as Ct, n as ot, ai as Tt, G as ft, aj as Ft, ak as kt, al as It, g as xt } from "./main-1f937d87.js";
|
|
3
3
|
import { a as Mt } from "./vuex.esm-4a0fff7c.js";
|
|
4
|
-
import { m as dt } from "./mapFormMixin-
|
|
5
|
-
import { C as Rt } from "./CField-
|
|
4
|
+
import { m as dt } from "./mapFormMixin-8c09dab9.js";
|
|
5
|
+
import { C as Rt } from "./CField-ef95a1e3.js";
|
|
6
6
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
7
7
|
const Dt = () => {
|
|
8
8
|
const m = window.location.host.split(".");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import a from "./Index-
|
|
2
|
-
import { n as r } from "./main-
|
|
3
|
-
import "./tinycolor-
|
|
1
|
+
import a from "./Index-19126146.js";
|
|
2
|
+
import { n as r } from "./main-1f937d87.js";
|
|
3
|
+
import "./tinycolor-024fb881.js";
|
|
4
4
|
const i = {
|
|
5
5
|
name: "AttachmentsItem",
|
|
6
6
|
components: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a3 as ki, T as vi, j as Mi, n as Si, q as bi, a8 as Yi, a9 as Oi, a6 as xi } from "./main-1f937d87.js";
|
|
2
2
|
var fs = { exports: {} };
|
|
3
3
|
//! moment.js
|
|
4
4
|
//! version : 2.29.4
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { T as we, j as De, n as $e, aa as ye, H as ve } from "./main-1f937d87.js";
|
|
2
2
|
/*!
|
|
3
3
|
* Compressor.js v1.1.1
|
|
4
4
|
* https://fengyuanchen.github.io/compressorjs
|
|
@@ -1698,7 +1698,7 @@ const Qe = {
|
|
|
1698
1698
|
name: "BaseUpload",
|
|
1699
1699
|
components: {
|
|
1700
1700
|
FileUpload: Ve,
|
|
1701
|
-
UploadModal: () => import("./UploadModal-
|
|
1701
|
+
UploadModal: () => import("./UploadModal-c61ec4e8.js")
|
|
1702
1702
|
},
|
|
1703
1703
|
props: {
|
|
1704
1704
|
// Optional function to handle any errors
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as a, d as s } from "./main-
|
|
2
|
-
import "./CSlider.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { n as a, d as s } from "./main-1f937d87.js";
|
|
2
|
+
import "./CSlider.vue_vue_type_style_index_0_lang-2d8796e1.js";
|
|
3
3
|
const i = {
|
|
4
4
|
name: "CCallout",
|
|
5
5
|
components: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { V as z, af as D, k as T, ag as N, j as A, n as E } from "./main-
|
|
1
|
+
import { V as z, af as D, k as T, ag as N, j as A, n as E } from "./main-1f937d87.js";
|
|
2
2
|
class j {
|
|
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);
|
|
@@ -609,5 +609,6 @@ export {
|
|
|
609
609
|
Ee as g,
|
|
610
610
|
Ae as i,
|
|
611
611
|
ge as r,
|
|
612
|
+
ae as t,
|
|
612
613
|
H as w
|
|
613
614
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as o } from "./SearchApi-
|
|
2
|
-
import { n as l, v as c } from "./main-
|
|
1
|
+
import { S as o } from "./SearchApi-7b15f157.js";
|
|
2
|
+
import { n as l, v as c } from "./main-1f937d87.js";
|
|
3
3
|
const i = {
|
|
4
4
|
i18nOptions: {
|
|
5
5
|
namespaces: "components",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { z as p, P as h, I as v, n as u,
|
|
2
|
-
import { m as f, b
|
|
3
|
-
import { w as
|
|
4
|
-
import { C as
|
|
1
|
+
import { z as p, P as h, I as v, n as u, Q as y, c as C, b as d, g as c, R as b, v as _ } from "./main-1f937d87.js";
|
|
2
|
+
import { m as f, b as $, a as w } from "./vuex.esm-4a0fff7c.js";
|
|
3
|
+
import { w as x } from "./CDropdownItem-66b82296.js";
|
|
4
|
+
import { C as k } from "./ClientAutocomplete-9501cf84.js";
|
|
5
5
|
import { v as r } from "./index-805c56e4.js";
|
|
6
|
-
import "./SearchApi-
|
|
6
|
+
import "./SearchApi-7b15f157.js";
|
|
7
7
|
function g(n) {
|
|
8
8
|
if (typeof n > "u")
|
|
9
9
|
throw Error("Missing param inputParam");
|
|
@@ -32,7 +32,7 @@ function l(n) {
|
|
|
32
32
|
}
|
|
33
33
|
return (/* @__PURE__ */ new Date()).getFullYear() - parseInt(e.substring(0, 4), 10) < 16 ? !1 : g(e.substring(2)) ? e : !1;
|
|
34
34
|
}
|
|
35
|
-
const
|
|
35
|
+
const S = {
|
|
36
36
|
sv: {
|
|
37
37
|
title: "Mottagare",
|
|
38
38
|
updateButton: "Spara mottagare",
|
|
@@ -148,20 +148,20 @@ const x = {
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
|
-
const { mapFields:
|
|
151
|
+
const { mapFields: N } = p({
|
|
152
152
|
getterType: "forms/getField",
|
|
153
153
|
mutationType: "forms/updateField"
|
|
154
|
-
}),
|
|
154
|
+
}), I = {
|
|
155
155
|
name: "FormClient",
|
|
156
156
|
i18nOptions: {
|
|
157
157
|
namespaces: "formClient",
|
|
158
|
-
messages:
|
|
158
|
+
messages: S
|
|
159
159
|
},
|
|
160
160
|
components: {
|
|
161
|
-
ClientAutocomplete:
|
|
161
|
+
ClientAutocomplete: k,
|
|
162
162
|
Animation: h
|
|
163
163
|
},
|
|
164
|
-
mixins: [
|
|
164
|
+
mixins: [x],
|
|
165
165
|
props: {
|
|
166
166
|
requireReference: {
|
|
167
167
|
type: Boolean,
|
|
@@ -235,7 +235,7 @@ const { mapFields: k } = p({
|
|
|
235
235
|
}
|
|
236
236
|
},
|
|
237
237
|
computed: {
|
|
238
|
-
...
|
|
238
|
+
...N({
|
|
239
239
|
id: "endCustomer.id",
|
|
240
240
|
type: "endCustomer.customerType",
|
|
241
241
|
name: "endCustomer.name",
|
|
@@ -301,7 +301,7 @@ const { mapFields: k } = p({
|
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
};
|
|
304
|
-
var
|
|
304
|
+
var F = function() {
|
|
305
305
|
var e = this, t = e._self._c;
|
|
306
306
|
return t("div", { staticClass: "form-client" }, [e.simpleForm ? t("form", { on: { submit: function(i) {
|
|
307
307
|
return i.preventDefault(), e.validateForm.apply(null, arguments);
|
|
@@ -384,27 +384,27 @@ var N = function() {
|
|
|
384
384
|
return e.$emit("update:answer-method", { ...e.answerMethod, accept: i });
|
|
385
385
|
} } }, [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`)) + " ")])])]);
|
|
386
386
|
})], 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("updateButton")))])], 1)], 1)]);
|
|
387
|
-
},
|
|
388
|
-
S,
|
|
389
|
-
N,
|
|
387
|
+
}, z = [], R = /* @__PURE__ */ u(
|
|
390
388
|
I,
|
|
389
|
+
F,
|
|
390
|
+
z,
|
|
391
391
|
!1,
|
|
392
392
|
null,
|
|
393
393
|
"dd8b1fcf",
|
|
394
394
|
null,
|
|
395
395
|
null
|
|
396
396
|
);
|
|
397
|
-
const
|
|
397
|
+
const M = R.exports, { mapFields: O } = p({
|
|
398
398
|
getterType: "forms/getField",
|
|
399
399
|
mutationType: "forms/updateField"
|
|
400
|
-
}),
|
|
400
|
+
}), q = {
|
|
401
401
|
name: "ClientModal",
|
|
402
402
|
i18nOptions: {
|
|
403
403
|
namespaces: "components",
|
|
404
404
|
keyPrefix: "account.documentForm.clients"
|
|
405
405
|
},
|
|
406
406
|
components: {
|
|
407
|
-
FormClient:
|
|
407
|
+
FormClient: M
|
|
408
408
|
},
|
|
409
409
|
props: {
|
|
410
410
|
documentClientIndex: {
|
|
@@ -423,6 +423,10 @@ const z = F.exports, { mapFields: M } = p({
|
|
|
423
423
|
type: Boolean,
|
|
424
424
|
default: !1
|
|
425
425
|
},
|
|
426
|
+
setFormValue: {
|
|
427
|
+
type: Function,
|
|
428
|
+
required: !0
|
|
429
|
+
},
|
|
426
430
|
// Optional prop if this modal is mounted from public form
|
|
427
431
|
isPublicForm: {
|
|
428
432
|
type: Boolean,
|
|
@@ -444,20 +448,24 @@ const z = F.exports, { mapFields: M } = p({
|
|
|
444
448
|
};
|
|
445
449
|
},
|
|
446
450
|
computed: {
|
|
447
|
-
...
|
|
451
|
+
...O({
|
|
448
452
|
endCustomer: "endCustomer"
|
|
449
453
|
}),
|
|
450
|
-
|
|
454
|
+
...$("forms", {
|
|
451
455
|
formData: (n) => n.document2
|
|
452
456
|
}),
|
|
453
457
|
...f({
|
|
454
458
|
can: "application/can",
|
|
459
|
+
feature: "application/feature",
|
|
455
460
|
defaultClientType: "endCustomers/defaultClientType"
|
|
456
|
-
})
|
|
461
|
+
}),
|
|
462
|
+
validateOrgNo() {
|
|
463
|
+
return !!(this.feature("bankId") || this.isPublicForm && y[C.brand].defaultRegion === "SE");
|
|
464
|
+
}
|
|
457
465
|
},
|
|
458
466
|
created() {
|
|
459
467
|
this.forceExpand && (this.showMore = !0);
|
|
460
|
-
const n =
|
|
468
|
+
const n = d(this.formData, `clients[${this.documentClientIndex}]`, {});
|
|
461
469
|
this.loadForm(n), ["endCustomer", "storedNewClient"].forEach((e) => this.$watch(e, {
|
|
462
470
|
deep: !0,
|
|
463
471
|
handler() {
|
|
@@ -466,27 +474,26 @@ const z = F.exports, { mapFields: M } = p({
|
|
|
466
474
|
}));
|
|
467
475
|
},
|
|
468
476
|
methods: {
|
|
469
|
-
...
|
|
470
|
-
saveClient:
|
|
471
|
-
|
|
472
|
-
showMessage: d.SHOW_MESSAGE
|
|
477
|
+
...w({
|
|
478
|
+
saveClient: c.FORM_SUBMIT_ENDCUSTOMER,
|
|
479
|
+
showMessage: c.SHOW_MESSAGE
|
|
473
480
|
}),
|
|
474
481
|
loadForm(n = {}) {
|
|
475
|
-
this.storedNewClient = Object.assign(this.storedNewClient, n), this.endCustomer =
|
|
482
|
+
this.storedNewClient = Object.assign(this.storedNewClient, n), this.endCustomer = b({
|
|
476
483
|
type: this.defaultClientType(),
|
|
477
484
|
...n
|
|
478
485
|
});
|
|
479
486
|
},
|
|
480
487
|
async onSave() {
|
|
481
488
|
this.isLoading = !0;
|
|
482
|
-
let n =
|
|
489
|
+
let n = d(this.endCustomer, "id");
|
|
483
490
|
if (!this.isPublicForm) {
|
|
484
491
|
let e = !1;
|
|
485
492
|
this.endCustomer && (this.endCustomer.id ? this.can("endCustomers", "modify", this.endCustomer.id) && (e = !0) : this.can("endCustomers", "create") && (e = !0)), e && (n = await this.saveClient());
|
|
486
493
|
}
|
|
487
494
|
this.setFormValue({
|
|
488
|
-
key: `
|
|
489
|
-
value:
|
|
495
|
+
key: `clients[${this.documentClientIndex}]`,
|
|
496
|
+
value: _(
|
|
490
497
|
{ ...this.endCustomer, ...n && { id: n } },
|
|
491
498
|
{ ...this.storedNewClient, signOrder: this.signOrder }
|
|
492
499
|
)
|
|
@@ -512,11 +519,11 @@ const z = F.exports, { mapFields: M } = p({
|
|
|
512
519
|
}
|
|
513
520
|
}
|
|
514
521
|
};
|
|
515
|
-
var
|
|
522
|
+
var A = function() {
|
|
516
523
|
var e = this, t = e._self._c;
|
|
517
524
|
return t("div", { staticClass: "font-primary bg-black bg-opacity-10 fixed inset-0 sm:py-4 z-[1000] grid place-items-center overflow-auto max-sm:w-full max-sm:min-h-full max-sm:block max-sm:overflow-auto", on: { "&click": function(i) {
|
|
518
525
|
return i.target !== i.currentTarget ? null : e.close.apply(null, arguments);
|
|
519
|
-
} } }, [t("div", { staticClass: "relative flex flex-col items-center p-10 mx-auto text-lg bg-white rounded-xl max-sm:w-full max-sm:h-initial max-sm:min-h-full max-sm:rounded-none" }, [t("CButton", { staticClass: "absolute z-2 top-4 right-4", class: e.showMore ? "" : "sm:!hidden", attrs: { pattern: "tertiary", type: "none", circle: "", icon: "x" }, on: { click: e.close } }), t("FormClient", { staticClass: "max-w-full p-0", class: [e.showMore ? "w-[520px]" : "w-[360px]"], attrs: { "search-enabled": !0, "require-reference": !1, "simple-form": !e.showMore, "input-focus-on-mount": e.inputFocusOnMount, "document-role": e.storedNewClient.documentRole, "answer-method": e.storedNewClient.answerMethod, "is-public-form": e.isPublicForm }, on: { "update:documentRole": function(i) {
|
|
526
|
+
} } }, [t("div", { staticClass: "relative flex flex-col items-center p-10 mx-auto text-lg bg-white rounded-xl max-sm:w-full max-sm:h-initial max-sm:min-h-full max-sm:rounded-none" }, [t("CButton", { staticClass: "absolute z-2 top-4 right-4", class: e.showMore ? "" : "sm:!hidden", attrs: { pattern: "tertiary", type: "none", circle: "", icon: "x" }, on: { click: e.close } }), t("FormClient", { staticClass: "max-w-full p-0", class: [e.showMore ? "w-[520px]" : "w-[360px]"], attrs: { "search-enabled": !0, "require-reference": !1, "simple-form": !e.showMore, "input-focus-on-mount": e.inputFocusOnMount, "document-role": e.storedNewClient.documentRole, "answer-method": e.storedNewClient.answerMethod, "validate-org-no": e.validateOrgNo, "is-public-form": e.isPublicForm }, on: { "update:documentRole": function(i) {
|
|
520
527
|
return e.$set(e.storedNewClient, "documentRole", i);
|
|
521
528
|
}, "update:document-role": function(i) {
|
|
522
529
|
return e.$set(e.storedNewClient, "documentRole", i);
|
|
@@ -529,17 +536,17 @@ var O = function() {
|
|
|
529
536
|
}, submit: e.onSave, "show-more": function(i) {
|
|
530
537
|
e.showMore = !0;
|
|
531
538
|
} } })], 1)]);
|
|
532
|
-
},
|
|
533
|
-
R,
|
|
534
|
-
O,
|
|
539
|
+
}, B = [], P = /* @__PURE__ */ u(
|
|
535
540
|
q,
|
|
541
|
+
A,
|
|
542
|
+
B,
|
|
536
543
|
!1,
|
|
537
544
|
null,
|
|
538
545
|
null,
|
|
539
546
|
null,
|
|
540
547
|
null
|
|
541
548
|
);
|
|
542
|
-
const
|
|
549
|
+
const Z = P.exports;
|
|
543
550
|
export {
|
|
544
|
-
|
|
551
|
+
Z as default
|
|
545
552
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { z as r, g as i, n as l } from "./main-
|
|
2
|
-
import { w as c } from "./CDropdownItem-
|
|
1
|
+
import { z as r, g as i, n as l } from "./main-1f937d87.js";
|
|
2
|
+
import { w as c } from "./CDropdownItem-66b82296.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-73d241e0.js";
|
|
5
5
|
import { v as m } from "./index-805c56e4.js";
|
|
6
6
|
const { mapFields: f } = r({
|
|
7
7
|
getterType: "forms/getField",
|
|
@@ -1,18 +1,18 @@
|
|
|
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 m } from "./DocTextEditor-
|
|
1
|
+
import { a as l } from "./tinycolor-024fb881.js";
|
|
2
|
+
import { m as n } from "./mapFormMixin-8c09dab9.js";
|
|
3
|
+
import { B as r } from "./BlockMedia-50fb330d.js";
|
|
4
|
+
import { n as s, a4 as i, w as c, y as u, x as p } from "./main-1f937d87.js";
|
|
5
|
+
import { T as m } from "./DocTextEditor-24205e38.js";
|
|
6
6
|
import { i as d } from "./i18nMessages-45c6bfd6.js";
|
|
7
7
|
import "./color-71c20583.js";
|
|
8
|
-
import "./tippy.esm-
|
|
9
|
-
import "./ColorPicker-
|
|
10
|
-
import "./DocumentLayout-
|
|
11
|
-
import "./CDropdownItem-
|
|
12
|
-
import "./CSlider.vue_vue_type_style_index_0_lang-
|
|
8
|
+
import "./tippy.esm-d006e34e.js";
|
|
9
|
+
import "./ColorPicker-8cb1f27c.js";
|
|
10
|
+
import "./DocumentLayout-e7b72468.js";
|
|
11
|
+
import "./CDropdownItem-66b82296.js";
|
|
12
|
+
import "./CSlider.vue_vue_type_style_index_0_lang-2d8796e1.js";
|
|
13
13
|
import "./dom-962579a6.js";
|
|
14
14
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
15
|
-
import "./ManualPopover-
|
|
15
|
+
import "./ManualPopover-d732ac07.js";
|
|
16
16
|
const _ = {
|
|
17
17
|
name: "StaticComboLayout",
|
|
18
18
|
props: {
|
|
@@ -45,7 +45,7 @@ const v = {
|
|
|
45
45
|
messages: d
|
|
46
46
|
},
|
|
47
47
|
components: {
|
|
48
|
-
DocumentLogotype: () => import("./DocumentLogotype-
|
|
48
|
+
DocumentLogotype: () => import("./DocumentLogotype-b22c2f09.js"),
|
|
49
49
|
StaticComboLayout: h,
|
|
50
50
|
TextEditor: m
|
|
51
51
|
},
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as d } from "./mapFormMixin-
|
|
2
|
-
import { T as l } from "./ThemeColorRow-
|
|
3
|
-
import { a as p } from "./image-
|
|
4
|
-
import { n as s, J as u } from "./main-
|
|
1
|
+
import { m as d } from "./mapFormMixin-8c09dab9.js";
|
|
2
|
+
import { T as l } from "./ThemeColorRow-0b5c56fc.js";
|
|
3
|
+
import { a as p } from "./image-6862651d.js";
|
|
4
|
+
import { n as s, J as u } from "./main-1f937d87.js";
|
|
5
5
|
import "./color-71c20583.js";
|
|
6
|
-
import "./ColorPicker-
|
|
7
|
-
import "./ManualPopover-
|
|
6
|
+
import "./ColorPicker-8cb1f27c.js";
|
|
7
|
+
import "./ManualPopover-d732ac07.js";
|
|
8
8
|
const m = (i, e, t, o) => Math.atan2(i - t, e - o) * (180 / Math.PI) * -1 + 180, v = {
|
|
9
9
|
name: "DegreePicker",
|
|
10
10
|
props: {
|
|
@@ -134,8 +134,8 @@ var C = function() {
|
|
|
134
134
|
);
|
|
135
135
|
const x = w.exports;
|
|
136
136
|
const $ = {
|
|
137
|
-
image: () => import("./ImageSelectModal-
|
|
138
|
-
video: () => import("./VideoSelectModal-
|
|
137
|
+
image: () => import("./ImageSelectModal-474d9d7a.js"),
|
|
138
|
+
video: () => import("./VideoSelectModal-83b9e055.js")
|
|
139
139
|
}, S = {
|
|
140
140
|
name: "CoverBlockSettings",
|
|
141
141
|
i18nOptions: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import o from "./AnswerModal-
|
|
2
|
-
import { r as e, u as t, n as s } from "./main-
|
|
1
|
+
import o from "./AnswerModal-f1389947.js";
|
|
2
|
+
import { r as e, u as t, n as s } from "./main-1f937d87.js";
|
|
3
3
|
import "./anime.es-e284c852.js";
|
|
4
4
|
import "./vuex.esm-4a0fff7c.js";
|
|
5
|
-
import "./mapFormMixin-
|
|
6
|
-
import "./CField-
|
|
5
|
+
import "./mapFormMixin-8c09dab9.js";
|
|
6
|
+
import "./CField-ef95a1e3.js";
|
|
7
7
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
8
8
|
const a = {
|
|
9
9
|
components: {
|