@cling-se/widget 0.9.19 → 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-56062c9e.js → AddClientCallout-9619a0cd.js} +5 -5
- package/dist/{AnswerModal-89282157.js → AnswerModal-f1389947.js} +3 -3
- package/dist/{AttachmentItem-62102ff9.js → AttachmentItem-95fc684f.js} +3 -3
- package/dist/{BaseDatePicker-c236b147.js → BaseDatePicker-4d9b61fd.js} +1 -1
- package/dist/{BaseInput-a23a8bff.js → BaseInput-84339b4c.js} +1 -1
- package/dist/{BaseUpload-1eb2faf5.js → BaseUpload-066f809f.js} +2 -2
- package/dist/{BlockMedia-a5e9227b.js → BlockMedia-50fb330d.js} +1 -1
- package/dist/{CCallout-e4abad1f.js → CCallout-78e08a9d.js} +2 -2
- package/dist/{CDropdownItem-55d36127.js → CDropdownItem-66b82296.js} +1 -1
- package/dist/{CField-1825b939.js → CField-ef95a1e3.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-e3343543.js → CSlider.vue_vue_type_style_index_0_lang-2d8796e1.js} +1 -1
- package/dist/{ClientAutocomplete-8286e949.js → ClientAutocomplete-9501cf84.js} +2 -2
- package/dist/{ClientModal-368445f8.js → ClientModal-067ecc75.js} +45 -38
- package/dist/{ColorPicker-ec8e8175.js → ColorPicker-8cb1f27c.js} +1 -1
- package/dist/{CompanyModal-ca53bda3.js → CompanyModal-983de11b.js} +3 -3
- package/dist/{ContentWrapper-7cb9d1c6.js → ContentWrapper-f7ddec71.js} +12 -12
- package/dist/{CoverBlockSettings-08f56770.js → CoverBlockSettings-9c9ee9b7.js} +8 -8
- package/dist/{DocAnswer-ced017c1.js → DocAnswer-f1099b05.js} +4 -4
- package/dist/{DocForm-2db2db45.js → DocForm-408eacc2.js} +60 -57
- package/dist/{DocFormSend-2e9c1718.js → DocFormSend-5dab1505.js} +39 -32
- package/dist/{DocLinks-c4862422.js → DocLinks-8e16606e.js} +2 -2
- package/dist/{DocModalBase-2711130a.js → DocModalBase-7428da89.js} +1 -1
- package/dist/{DocPrint-48195954.js → DocPrint-54d3217e.js} +1 -1
- package/dist/{DocReceipt-10e465b3.js → DocReceipt-907da7e5.js} +1 -1
- package/dist/{DocSendReminder-c4e0228f.js → DocSendReminder-f24cadff.js} +1 -1
- package/dist/{DocTextEditor-fa8bf4e1.js → DocTextEditor-24205e38.js} +8 -8
- package/dist/{DocTimeline-445eca6e.js → DocTimeline-38d24961.js} +1 -1
- package/dist/{DocumentClient-9e7c6344.js → DocumentClient-fe8c5bd9.js} +5 -5
- package/dist/{DocumentLayout-48c2d8a7.js → DocumentLayout-e7b72468.js} +3 -3
- package/dist/{DocumentLogotype-124c8aa4.js → DocumentLogotype-b22c2f09.js} +3 -3
- package/dist/{EmbedInput-70967810.js → EmbedInput-19806a9e.js} +2 -2
- package/dist/{EmbedSettings-5b7849f2.js → EmbedSettings-c0cec374.js} +3 -3
- package/dist/{ErrorCallout-aba1259b.js → ErrorCallout-a662ea20.js} +1 -1
- package/dist/{FilePreviewModal-d6641d5a.js → FilePreviewModal-01da22e5.js} +4 -4
- package/dist/{HeaderSettings-927fc995.js → HeaderSettings-a3531f64.js} +15 -15
- package/dist/{ImageSelectModal-b0f47a70.js → ImageSelectModal-474d9d7a.js} +8 -8
- package/dist/{ImageUploadWrapper-d6824c36.js → ImageUploadWrapper-f40bec1d.js} +2 -2
- package/dist/{Index-8c47aae3.js → Index-02c3e9fa.js} +6 -6
- package/dist/{Index-723b56fd.js → Index-19126146.js} +2 -2
- package/dist/{Index-b3d8c89b.js → Index-1b7e3d53.js} +4 -4
- package/dist/{Index-800624cc.js → Index-1bfcccc4.js} +9 -9
- package/dist/{Index-c1f81c5d.js → Index-1de87c6e.js} +7 -7
- package/dist/{Index-b476e19e.js → Index-32694d1d.js} +2 -2
- package/dist/{Index-f9e6924b.js → Index-36b27618.js} +57 -52
- package/dist/{Index-1a3b0017.js → Index-4cd7a2f2.js} +4 -4
- package/dist/{Index-8e7dad66.js → Index-50314a91.js} +4 -4
- package/dist/{Index-29e20c7b.js → Index-509da1b4.js} +9 -9
- package/dist/{Index-6610cff8.js → Index-52509ecc.js} +6 -6
- package/dist/{Index-b79b46ed.js → Index-56883ef4.js} +6 -6
- package/dist/{Index-86c7faa0.js → Index-56944bc9.js} +4 -4
- package/dist/{Index-c89d4517.js → Index-73032523.js} +1 -1
- package/dist/{Index-26266d8f.js → Index-73cb2f77.js} +13 -13
- package/dist/{Index-52fae967.js → Index-7c72d521.js} +2 -2
- package/dist/{Index-b21fc0d5.js → Index-87389ddb.js} +25 -25
- package/dist/{Index-5f8f46d7.js → Index-8929dd51.js} +5 -5
- package/dist/{Index-1176ba23.js → Index-8a61e9e6.js} +1 -1
- package/dist/{Index-c6475ab6.js → Index-9e039c9b.js} +2 -2
- package/dist/{Index-04f97514.js → Index-a8a68e5a.js} +7 -7
- package/dist/{Index-29f59b0b.js → Index-af0f3e58.js} +4 -4
- package/dist/{Index-97f8832c.js → Index-b0bc65a3.js} +8 -8
- package/dist/{Index-89fde246.js → Index-c10669fe.js} +2 -2
- package/dist/{Index-5d4f7700.js → Index-c49111c7.js} +4 -4
- package/dist/{Index-5c3393a7.js → Index-c8f9233b.js} +48 -47
- package/dist/{Index-11df2c1a.js → Index-cf4842b9.js} +2 -2
- package/dist/{Index-e7cb0094.js → Index-d198ebd8.js} +2 -2
- package/dist/{Index-fa1cebef.js → Index-d265d801.js} +4 -4
- package/dist/{Index-0ce48100.js → Index-e6330dff.js} +4 -4
- package/dist/{Index-9db9f33d.js → Index-f249ab5b.js} +2 -2
- package/dist/{Index-38b6a5b2.js → Index-f9983a6a.js} +13 -13
- package/dist/{Index-b93d220a.js → Index-fb7e5d20.js} +4 -4
- package/dist/{Index-e16918b8.js → Index-fec9c623.js} +3 -3
- package/dist/{InputToggleRow-e0f2f03d.js → InputToggleRow-90cd84bb.js} +1 -1
- package/dist/{IsPremiumPreStep-19c21cf9.js → IsPremiumPreStep-b154b6c5.js} +3 -3
- package/dist/{ManualPopover-dfa0e9ab.js → ManualPopover-d732ac07.js} +1 -1
- package/dist/{MediaWrapper-0141ada8.js → MediaWrapper-7a042a7f.js} +3 -3
- package/dist/{NotBindingText-0d2714ed.js → NotBindingText-2c0a1b94.js} +2 -2
- package/dist/{PackageGroup-47bcb0de.js → PackageGroup-cc422650.js} +13 -13
- package/dist/{PdfTerms-31e6e4d8.js → PdfTerms-20c78c5b.js} +4 -4
- package/dist/{PdfViewer-05cdae7d.js → PdfViewer-f2026467.js} +2 -2
- package/dist/{PlainHtml-25f86c0e.js → PlainHtml-f2b630f9.js} +1 -1
- package/dist/{PriceHeader-2dd6a207.js → PriceHeader-c9011e48.js} +12 -12
- package/dist/{SearchApi-e4822fb0.js → SearchApi-7b15f157.js} +2 -2
- package/dist/{Setup-7acab382.js → Setup-36945741.js} +1 -1
- package/dist/{TermsSettings-2e29c7b5.js → TermsSettings-36cbaf14.js} +6 -6
- package/dist/{ThemeColorRow-fc8942b5.js → ThemeColorRow-0b5c56fc.js} +3 -3
- package/dist/{ToggleBinding-4eeba32c.js → ToggleBinding-cc06dcef.js} +3 -3
- package/dist/{UploadModal-4a1b0129.js → UploadModal-c61ec4e8.js} +3 -3
- package/dist/{VideoPlayerInput-627a5cdf.js → VideoPlayerInput-91408653.js} +3 -3
- package/dist/{VideoPlayerSettings-46355f8b.js → VideoPlayerSettings-ae7e9175.js} +4 -4
- package/dist/{VideoSelectModal-c9d739eb.js → VideoSelectModal-83b9e055.js} +7 -7
- package/dist/{answerDocumentMixin-b844a10e.js → answerDocumentMixin-69fdcb8e.js} +3 -3
- package/dist/{cssMode-5aedeee4.js → cssMode-7d9ff98e.js} +7 -7
- package/dist/{focusDrawerMixin-9627614a.js → focusDrawerMixin-ff6461a8.js} +1 -1
- package/dist/{formComponentsInstall-a9269119.js → formComponentsInstall-f4e2b7d5.js} +14 -13
- package/dist/{formDrawerState-876f57b6.js → formDrawerState-aae83c3d.js} +1 -1
- package/dist/{formValidationMixin-ed233af0.js → formValidationMixin-cd15cf18.js} +1 -1
- package/dist/{freemarker2-60ee9aee.js → freemarker2-9b942f4a.js} +7 -7
- package/dist/{handlebars-694dfedf.js → handlebars-ed9d2974.js} +7 -7
- package/dist/{html-a2234a8c.js → html-f2889a37.js} +7 -7
- package/dist/{htmlMode-caaf687c.js → htmlMode-37f68fda.js} +7 -7
- package/dist/{image-a8004950.js → image-6862651d.js} +1 -1
- package/dist/{index-c504f71f.js → index-66f749c2.js} +4 -4
- package/dist/{index-c9bc377d.js → index-7f2e8b37.js} +4 -4
- package/dist/{index-a0048c9d.js → index-8255de00.js} +8 -8
- package/dist/{index-da2125a0.js → index-a19a5c70.js} +27 -27
- package/dist/{index-ef7204d4.js → index-a1f81228.js} +2 -2
- package/dist/{index-7c059780.js → index-a44f193f.js} +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +417 -417
- package/dist/{javascript-f139d6eb.js → javascript-46a9739c.js} +8 -8
- package/dist/{jsonMode-63fc85d2.js → jsonMode-ab05190c.js} +7 -7
- package/dist/{liquid-b7a8bbf7.js → liquid-60a5e8f4.js} +7 -7
- package/dist/{main-73b04297.js → main-1f937d87.js} +3095 -3020
- package/dist/mapFormMixin-8c09dab9.js +73 -0
- package/dist/{publicSenderState-aa1142cf.js → publicSenderState-73d241e0.js} +1 -1
- package/dist/{python-d3a01852.js → python-2fc09c0f.js} +7 -7
- package/dist/{razor-cdee010d.js → razor-01789f82.js} +7 -7
- package/dist/{simplebar.min-c240d344.js → simplebar.min-76317c3b.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{template-6d164806.js → template-6422cbb1.js} +1 -1
- package/dist/{throttle-5aa94034.js → throttle-2e1b7f21.js} +2 -2
- package/dist/{tinycolor-7e30d091.js → tinycolor-024fb881.js} +1 -1
- package/dist/{tippy.esm-eb9486e0.js → tippy.esm-d006e34e.js} +5 -5
- package/dist/{tsMode-af4d2070.js → tsMode-bc82901a.js} +7 -7
- package/dist/{typescript-b453757b.js → typescript-35063579.js} +7 -7
- package/dist/{utils-ad6484bb.js → utils-d8ab353e.js} +1 -1
- package/dist/{vuedraggable.umd-045dd09e.js → vuedraggable.umd-8be16eb5.js} +1 -1
- package/dist/{xml-3f196cee.js → xml-a008072c.js} +7 -7
- package/package.json +1 -1
- package/dist/mapFormMixin-eca2705b.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);
|
|
@@ -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: {
|