@cling-se/widget 0.9.22 → 0.9.24
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-f30100da.js → AddClientCallout-4afb07ff.js} +5 -5
- package/dist/{AnswerModal-d30e03bd.js → AnswerModal-2b11381b.js} +84 -27
- package/dist/{AttachmentItem-446bb069.js → AttachmentItem-c666fb74.js} +7 -5
- package/dist/{BaseDatePicker-6a365a09.js → BaseDatePicker-e1efcf48.js} +1 -1
- package/dist/{BaseInput-7ed92f6a.js → BaseInput-44c3af54.js} +6 -2
- package/dist/{BaseUpload-636eeec3.js → BaseUpload-740b1f88.js} +28 -11
- package/dist/{BlockMedia-3cb86ebf.js → BlockMedia-f5086397.js} +5 -3
- package/dist/{CCallout-44e44f26.js → CCallout-1a1feea0.js} +6 -9
- package/dist/{CDropdownItem-52cf4f0e.js → CDropdownItem-cc274799.js} +3 -3
- package/dist/{CField-a80001b1.js → CField-372bd9c7.js} +18 -4
- package/dist/{CPhoneFormat-3db8947d.js → CPhoneFormat-b273a499.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-42fea525.js → CSlider.vue_vue_type_style_index_0_lang-ef031b7b.js} +4 -2
- package/dist/{ClientAutocomplete-84cfcc88.js → ClientAutocomplete-0f51c1cd.js} +3 -3
- package/dist/{ClientModal-5c684c95.js → ClientModal-1bec5a45.js} +34 -19
- package/dist/{ColorPicker-043d7a04.js → ColorPicker-43c741fb.js} +2 -2
- package/dist/{CompanyModal-64d16864.js → CompanyModal-adec1d7e.js} +8 -5
- package/dist/{ContentWrapper-f3c1c1cb.js → ContentWrapper-48e69342.js} +40 -27
- package/dist/{CoverBlockSettings-8f28a3a5.js → CoverBlockSettings-c0a57bee.js} +49 -34
- package/dist/{DocAnswer-2402eee3.js → DocAnswer-f0f7d55d.js} +4 -4
- package/dist/{DocDetails-ec7f2a02.js → DocDetails-0e25552f.js} +71 -46
- package/dist/{DocForm-c9df5aa0.js → DocForm-2ab0c521.js} +515 -291
- package/dist/{DocFormSend-31f95da1.js → DocFormSend-e60808ca.js} +18 -18
- package/dist/{DocLinks-93f538c9.js → DocLinks-20719644.js} +2 -2
- package/dist/{DocModalBase-5c9138cc.js → DocModalBase-039f53c2.js} +4 -4
- package/dist/{DocPrint-a4475559.js → DocPrint-aafc72e2.js} +2 -2
- package/dist/{DocReceipt-4e571cee.js → DocReceipt-641b141c.js} +33 -10
- package/dist/{DocSendReminder-fe49cd44.js → DocSendReminder-aabc0994.js} +30 -5
- package/dist/{DocTextEditor-2bb318af.js → DocTextEditor-3eb97671.js} +86 -37
- package/dist/{DocTimeline-9f47bab8.js → DocTimeline-9d765ded.js} +29 -16
- package/dist/{DocumentClient-99d7039b.js → DocumentClient-8d59d823.js} +7 -7
- package/dist/{DocumentLayout-11af5e3b.js → DocumentLayout-a659ce2a.js} +31 -11
- package/dist/{DocumentLogotype-1931e1ad.js → DocumentLogotype-393d1610.js} +8 -8
- package/dist/{DocumentVoided-6351a1df.js → DocumentVoided-9294f5d4.js} +1 -1
- package/dist/{EmbedInput-7d0562fc.js → EmbedInput-e6a9ee21.js} +2 -2
- package/dist/{EmbedSettings-9df99e76.js → EmbedSettings-e31ccfdc.js} +7 -7
- package/dist/ErrorCallout-d6c77efa.js +30 -0
- package/dist/{FilePreviewModal-095408ae.js → FilePreviewModal-84d6ab65.js} +6 -6
- package/dist/{HeaderSettings-6d350190.js → HeaderSettings-51d44d2d.js} +65 -63
- package/dist/{ImageSelectModal-971708e1.js → ImageSelectModal-051e0929.js} +27 -27
- package/dist/{ImageUploadWrapper-3fac23f0.js → ImageUploadWrapper-dcceec48.js} +11 -5
- package/dist/{Index-9b1e35fa.js → Index-06045b22.js} +9 -10
- package/dist/{Index-8b39f885.js → Index-0932b744.js} +32 -20
- package/dist/{Index-ffff3ae8.js → Index-20c0168b.js} +15 -15
- package/dist/{Index-6e6d2653.js → Index-3571dbbe.js} +2 -2
- package/dist/{Index-d3667461.js → Index-36ba2c7c.js} +20 -16
- package/dist/{Index-7b9b5dee.js → Index-39d0e781.js} +17 -17
- package/dist/{Index-88af8453.js → Index-3bdfc806.js} +3 -3
- package/dist/{Index-fad050d0.js → Index-3cb4cf49.js} +4 -4
- package/dist/Index-42639492.js +28 -0
- package/dist/{Index-eb9a3a06.js → Index-494c3112.js} +300 -147
- package/dist/{Index-ffd8211f.js → Index-51ceb867.js} +20 -16
- package/dist/{Index-70f16919.js → Index-54695ef1.js} +13 -11
- package/dist/{Index-2abd5d2b.js → Index-5b2c568a.js} +13 -11
- package/dist/{Index-77bcf959.js → Index-5def7508.js} +17 -12
- package/dist/{Index-8c335677.js → Index-5ead0dc5.js} +2 -2
- package/dist/{Index-57d5951b.js → Index-652a82d0.js} +6 -6
- package/dist/{Index-4fa057f8.js → Index-75922cfc.js} +13 -13
- package/dist/{Index-7477a320.js → Index-9a162ce6.js} +2 -2
- package/dist/{Index-938d67eb.js → Index-a94f257f.js} +56 -31
- package/dist/{Index-5a0d7d8c.js → Index-a98c290d.js} +21 -18
- package/dist/{Index-1e62aedf.js → Index-b33109a3.js} +13 -9
- package/dist/{Index-d9001d15.js → Index-c1aa1453.js} +3 -3
- package/dist/{Index-e27c2fdf.js → Index-c2008029.js} +2 -2
- package/dist/{Index-d617c13f.js → Index-c4942c4e.js} +22 -27
- package/dist/{Index-567e408c.js → Index-c5983b2b.js} +13 -15
- package/dist/{Index-c8e36c6e.js → Index-c8ded03a.js} +2 -2
- package/dist/{Index-8f883e55.js → Index-cc56dad6.js} +7 -7
- package/dist/{Index-8c04b710.js → Index-d77ba606.js} +51 -43
- package/dist/{Index-868d52a9.js → Index-d7a7de69.js} +24 -17
- package/dist/{Index-356bc162.js → Index-e8a3b12b.js} +4 -4
- package/dist/{Index-20d85e3a.js → Index-e9da5a9c.js} +3 -3
- package/dist/{Index-79f564d7.js → Index-f36accd7.js} +4 -4
- package/dist/{Index-bf0c487f.js → Index-fd6da129.js} +7 -7
- package/dist/{Index-a1f74882.js → Index-fdb53118.js} +6 -9
- package/dist/{InputToggleRow-e6ceba8d.js → InputToggleRow-79bbd6c6.js} +4 -4
- package/dist/{IsPremiumPreStep-5760ca12.js → IsPremiumPreStep-f0524e76.js} +81 -36
- package/dist/{ManualPopover-814d1319.js → ManualPopover-8a1e53a5.js} +5 -2
- package/dist/{MediaWrapper-e67928b8.js → MediaWrapper-b128c707.js} +3 -3
- package/dist/{NotBindingText-f72244ab.js → NotBindingText-561df6d3.js} +2 -2
- package/dist/{PackageGroup-b457cbbb.js → PackageGroup-3eaff6a7.js} +184 -69
- package/dist/{PdfTerms-fa51699a.js → PdfTerms-27d7ea41.js} +8 -8
- package/dist/{PdfViewer-93b67f36.js → PdfViewer-5b2bcbb5.js} +2 -2
- package/dist/{PlainHtml-4decb4b1.js → PlainHtml-c743e90e.js} +1 -1
- package/dist/{PriceHeader-85923b9b.js → PriceHeader-287b8219.js} +48 -32
- package/dist/{SearchApi-e49da25f.js → SearchApi-1cd32dd3.js} +40 -20
- package/dist/{Setup-9e46ec76.js → Setup-647c8d19.js} +1 -1
- package/dist/{TermsSettings-79755d10.js → TermsSettings-28e00bdf.js} +11 -11
- package/dist/{ThemeColorRow-ce0c5083.js → ThemeColorRow-87aad7e1.js} +4 -4
- package/dist/{ToggleBinding-cda92aa3.js → ToggleBinding-86912659.js} +3 -3
- package/dist/{UploadModal-0e80a0f2.js → UploadModal-4065d410.js} +16 -14
- package/dist/{VideoPlayerInput-6145c645.js → VideoPlayerInput-1b402e91.js} +3 -3
- package/dist/{VideoPlayerSettings-b6d55453.js → VideoPlayerSettings-4dcca863.js} +5 -5
- package/dist/{VideoSelectModal-61d97f65.js → VideoSelectModal-4f9def15.js} +32 -36
- package/dist/{answerDocumentMixin-8edab24a.js → answerDocumentMixin-6b6cfdb6.js} +3 -3
- package/dist/{debounce-62af9d61.js → debounce-97bb38ac.js} +1 -1
- package/dist/{focusDrawerMixin-745d4e52.js → focusDrawerMixin-0d00dfeb.js} +1 -1
- package/dist/{formComponentsInstall-dc68b7e8.js → formComponentsInstall-0e28cca8.js} +210 -168
- package/dist/{formDrawerState-6408853b.js → formDrawerState-68670778.js} +1 -1
- package/dist/{formValidationMixin-a27a1b47.js → formValidationMixin-cb6f10e2.js} +1 -1
- package/dist/{image-7f7c16da.js → image-456aa00c.js} +1 -1
- package/dist/{index-2a4b06f7.js → index-1f6e36c5.js} +4 -4
- package/dist/{index-474d6e34.js → index-2710ab1c.js} +3 -3
- package/dist/{index-a72b19e9.js → index-63ab2d14.js} +12 -12
- package/dist/{index-1cf2de3c.js → index-b8207e2a.js} +1 -1
- package/dist/{index-14df19cb.js → index-e4f936ec.js} +8 -6
- package/dist/{index-cc6b4d3a.js → index-ea1c7f84.js} +17 -9
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +167 -138
- package/dist/{main-b72127b8.js → main-b5eb6366.js} +2374 -2298
- package/dist/{mapFormMixin-52ec1660.js → mapFormMixin-e0c45bbd.js} +1 -1
- package/dist/{publicSenderState-1a30e0c5.js → publicSenderState-4163b1b6.js} +1 -1
- package/dist/{simplebar.min-c28f1a61.js → simplebar.min-147772cd.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{template-c65478b1.js → template-6e93622c.js} +7 -7
- package/dist/{throttle-040bd305.js → throttle-7a7a1299.js} +2 -2
- package/dist/{tinycolor-10bcd30d.js → tinycolor-bb8652ea.js} +1 -1
- package/dist/{tippy.esm-0ef95919.js → tippy.esm-f533f77b.js} +8 -8
- package/dist/{utils-6073fc98.js → utils-066c47a5.js} +1 -1
- package/dist/{vuedraggable.umd-d2790aec.js → vuedraggable.umd-76911d11.js} +1 -1
- package/package.json +2 -2
- package/dist/ErrorCallout-106838ce.js +0 -30
- package/dist/Index-a65bded3.js +0 -28
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { b as s, x as n, y as c, z as i, K as a, n as l } from "./main-
|
|
2
|
-
import { m as v } from "./mapFormMixin-
|
|
3
|
-
import { f as d } from "./focusDrawerMixin-
|
|
4
|
-
import { B as u } from "./BlockMedia-
|
|
5
|
-
import { T as m } from "./DocTextEditor-
|
|
6
|
-
import "./formDrawerState-
|
|
1
|
+
import { b as s, x as n, y as c, z as i, K as a, n as l } from "./main-b5eb6366.js";
|
|
2
|
+
import { m as v } from "./mapFormMixin-e0c45bbd.js";
|
|
3
|
+
import { f as d } from "./focusDrawerMixin-0d00dfeb.js";
|
|
4
|
+
import { B as u } from "./BlockMedia-f5086397.js";
|
|
5
|
+
import { T as m } from "./DocTextEditor-3eb97671.js";
|
|
6
|
+
import "./formDrawerState-68670778.js";
|
|
7
7
|
import "./color-71c20583.js";
|
|
8
|
-
import "./tippy.esm-
|
|
9
|
-
import "./ColorPicker-
|
|
10
|
-
import "./DocumentLayout-
|
|
11
|
-
import "./debounce-
|
|
12
|
-
import "./CDropdownItem-
|
|
13
|
-
import "./CSlider.vue_vue_type_style_index_0_lang-
|
|
8
|
+
import "./tippy.esm-f533f77b.js";
|
|
9
|
+
import "./ColorPicker-43c741fb.js";
|
|
10
|
+
import "./DocumentLayout-a659ce2a.js";
|
|
11
|
+
import "./debounce-97bb38ac.js";
|
|
12
|
+
import "./CDropdownItem-cc274799.js";
|
|
13
|
+
import "./CSlider.vue_vue_type_style_index_0_lang-ef031b7b.js";
|
|
14
14
|
import "./dom-962579a6.js";
|
|
15
15
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
16
|
-
import "./ManualPopover-
|
|
16
|
+
import "./ManualPopover-8a1e53a5.js";
|
|
17
17
|
const _ = {
|
|
18
18
|
name: "CoverBlock",
|
|
19
19
|
components: {
|
|
20
20
|
BlockMedia: u,
|
|
21
21
|
TextEditor: m,
|
|
22
|
-
CoverBlockSettings: () => import("./CoverBlockSettings-
|
|
22
|
+
CoverBlockSettings: () => import("./CoverBlockSettings-c0a57bee.js")
|
|
23
23
|
},
|
|
24
24
|
mixins: [v(["coverBlock"]), d],
|
|
25
25
|
inject: ["parentSize"],
|
|
@@ -32,7 +32,11 @@ const _ = {
|
|
|
32
32
|
text: {
|
|
33
33
|
get() {
|
|
34
34
|
const t = s(this, "coverBlock.text", "");
|
|
35
|
-
return this.canEdit ? n(
|
|
35
|
+
return this.canEdit ? n(
|
|
36
|
+
t,
|
|
37
|
+
this._document.textTemplateMap,
|
|
38
|
+
this._document._doc
|
|
39
|
+
) : c(t, this._document._doc);
|
|
36
40
|
},
|
|
37
41
|
set(t) {
|
|
38
42
|
this.setValue({ key: "text", value: i(t) });
|
|
@@ -83,7 +87,7 @@ var p = function() {
|
|
|
83
87
|
f,
|
|
84
88
|
!1,
|
|
85
89
|
null,
|
|
86
|
-
"
|
|
90
|
+
"883fca3d",
|
|
87
91
|
null,
|
|
88
92
|
null
|
|
89
93
|
);
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
import { m as n } from "./mapFormMixin-
|
|
2
|
-
import { n as t } from "./main-
|
|
1
|
+
import { m as n } from "./mapFormMixin-e0c45bbd.js";
|
|
2
|
+
import { n as t } from "./main-b5eb6366.js";
|
|
3
3
|
const a = {
|
|
4
4
|
name: "ExtraWorkConstructionPricingList",
|
|
5
5
|
components: {
|
|
6
|
-
Read: () => import("./Index-
|
|
7
|
-
Edit: () => import("./Index-
|
|
6
|
+
Read: () => import("./Index-c1aa1453.js"),
|
|
7
|
+
Edit: () => import("./Index-5def7508.js")
|
|
8
8
|
},
|
|
9
|
-
mixins: [
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
mixins: [
|
|
10
|
+
n([
|
|
11
|
+
"workPrice",
|
|
12
|
+
"managementPrice",
|
|
13
|
+
"entrepreneurMarkupPercentage",
|
|
14
|
+
"miscMarkupPercentage"
|
|
15
|
+
])
|
|
16
|
+
]
|
|
15
17
|
};
|
|
16
18
|
var c = function() {
|
|
17
19
|
var e = this, r = e._self._c;
|
|
@@ -22,7 +24,7 @@ var c = function() {
|
|
|
22
24
|
m,
|
|
23
25
|
!1,
|
|
24
26
|
null,
|
|
25
|
-
"
|
|
27
|
+
"b31d846d",
|
|
26
28
|
null,
|
|
27
29
|
null
|
|
28
30
|
);
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
import { m as e } from "./mapFormMixin-
|
|
2
|
-
import { n as i } from "./main-
|
|
1
|
+
import { m as e } from "./mapFormMixin-e0c45bbd.js";
|
|
2
|
+
import { n as i } from "./main-b5eb6366.js";
|
|
3
3
|
const r = {
|
|
4
4
|
name: "ExtraWorkTimeImpactText",
|
|
5
5
|
components: {
|
|
6
|
-
Read: () => import("./Index-
|
|
7
|
-
Edit: () => import("./Index-
|
|
6
|
+
Read: () => import("./Index-5ead0dc5.js"),
|
|
7
|
+
Edit: () => import("./Index-0932b744.js")
|
|
8
8
|
},
|
|
9
|
-
mixins: [
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
mixins: [
|
|
10
|
+
e([
|
|
11
|
+
"workStartAt",
|
|
12
|
+
"workEndAt",
|
|
13
|
+
"timeUnit",
|
|
14
|
+
"noOfTimeUnits",
|
|
15
|
+
"timeDeltaDirection"
|
|
16
|
+
])
|
|
17
|
+
]
|
|
16
18
|
};
|
|
17
19
|
var o = function() {
|
|
18
20
|
var t = this, n = t._self._c;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as a } from "./mapFormMixin-
|
|
2
|
-
import { I as n } from "./InputToggleRow-
|
|
3
|
-
import { B as c } from "./BaseInput-
|
|
4
|
-
import { n as o } from "./main-
|
|
1
|
+
import { m as a } from "./mapFormMixin-e0c45bbd.js";
|
|
2
|
+
import { I as n } from "./InputToggleRow-79bbd6c6.js";
|
|
3
|
+
import { B as c } from "./BaseInput-44c3af54.js";
|
|
4
|
+
import { n as o } from "./main-b5eb6366.js";
|
|
5
5
|
const s = {
|
|
6
6
|
i18nOptions: {
|
|
7
7
|
namespaces: "ExtraWorkConstructionPricingListEdit",
|
|
@@ -27,17 +27,22 @@ const s = {
|
|
|
27
27
|
BaseInput: c
|
|
28
28
|
},
|
|
29
29
|
mixins: [
|
|
30
|
-
a(
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
30
|
+
a(
|
|
31
|
+
[
|
|
32
|
+
"workPrice",
|
|
33
|
+
"managementPrice",
|
|
34
|
+
"entrepreneurMarkupPercentage",
|
|
35
|
+
"miscMarkupPercentage"
|
|
36
|
+
],
|
|
37
|
+
{ type: "number" }
|
|
38
|
+
)
|
|
36
39
|
]
|
|
37
40
|
};
|
|
38
41
|
var i = function() {
|
|
39
42
|
var e = this, r = e._self._c;
|
|
40
|
-
return r("div", [r("div", { staticClass: "flex justify-end w-full", staticStyle: { position: "relative" } }, [e.workPrice || e.managementPrice ? r("div", { staticClass: "ex-vat" }, [e._v(e._s(e.$t("_common:vat.exVat", { thing: e.$t("_common:vat.sharedTitle") }).capitalize()))]) : e._e()]), r("InputToggleRow", { attrs: { "display-value": e.workPrice ? `${e.workPrice / 100} ${e.$t("_common:currency.SEK")}/${e.$t(
|
|
43
|
+
return r("div", [r("div", { staticClass: "flex justify-end w-full", staticStyle: { position: "relative" } }, [e.workPrice || e.managementPrice ? r("div", { staticClass: "ex-vat" }, [e._v(" " + e._s(e.$t("_common:vat.exVat", { thing: e.$t("_common:vat.sharedTitle") }).capitalize()) + " ")]) : e._e()]), r("InputToggleRow", { attrs: { "display-value": e.workPrice ? `${e.workPrice / 100} ${e.$t("_common:currency.SEK")}/${e.$t(
|
|
44
|
+
"_common:unitType.hour"
|
|
45
|
+
)}` : e.$t("_common:add"), label: e.$t("workPrice") } }, [r("BaseInput", { attrs: { "is-price": !0, type: "price" }, model: { value: e.workPrice, callback: function(t) {
|
|
41
46
|
e.workPrice = e._n(t);
|
|
42
47
|
}, expression: "workPrice" } }, [r("template", { slot: "suffix" }, [e._v(e._s(e.$t("currency.SEK")) + "/" + e._s(e.$t("_common:unitType.hour")))])], 2)], 1), r("InputToggleRow", { attrs: { "display-value": e.managementPrice ? `${e.managementPrice / 100} kr/h` : e.$t("_common:add"), label: e.$t("managementPrice") } }, [r("BaseInput", { attrs: { "is-price": !0, type: "price" }, model: { value: e.managementPrice, callback: function(t) {
|
|
43
48
|
e.managementPrice = e._n(t);
|
|
@@ -52,7 +57,7 @@ var i = function() {
|
|
|
52
57
|
m,
|
|
53
58
|
!1,
|
|
54
59
|
null,
|
|
55
|
-
"
|
|
60
|
+
"a374ca46",
|
|
56
61
|
null,
|
|
57
62
|
null
|
|
58
63
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as n } from "./mapFormMixin-
|
|
2
|
-
import { f as o } from "./focusDrawerMixin-
|
|
3
|
-
import { n as i } from "./main-
|
|
4
|
-
import "./formDrawerState-
|
|
1
|
+
import { m as n } from "./mapFormMixin-e0c45bbd.js";
|
|
2
|
+
import { f as o } from "./focusDrawerMixin-0d00dfeb.js";
|
|
3
|
+
import { n as i } from "./main-b5eb6366.js";
|
|
4
|
+
import "./formDrawerState-68670778.js";
|
|
5
5
|
const a = {
|
|
6
6
|
// eslint-disable-next-line vue/multi-word-component-names
|
|
7
7
|
name: "Terms",
|
|
@@ -17,8 +17,8 @@ const a = {
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
components: {
|
|
20
|
-
Read: () => import("./Index-
|
|
21
|
-
TermsSettings: () => import("./TermsSettings-
|
|
20
|
+
Read: () => import("./Index-b33109a3.js"),
|
|
21
|
+
TermsSettings: () => import("./TermsSettings-28e00bdf.js")
|
|
22
22
|
},
|
|
23
23
|
mixins: [
|
|
24
24
|
n(["href", "termType", "file", "text"]),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as l } from "./mapFormMixin-
|
|
2
|
-
import { q as r, n as o } from "./main-
|
|
1
|
+
import { m as l } from "./mapFormMixin-e0c45bbd.js";
|
|
2
|
+
import { q as r, n as o } from "./main-b5eb6366.js";
|
|
3
3
|
const c = {
|
|
4
4
|
name: "DocChapter",
|
|
5
5
|
components: {
|
|
@@ -26,25 +26,25 @@ const c = {
|
|
|
26
26
|
};
|
|
27
27
|
var p = function() {
|
|
28
28
|
var i;
|
|
29
|
-
var
|
|
29
|
+
var e = this, n = e._self._c;
|
|
30
30
|
return n("div", { staticClass: "chapter" }, [n("div", { staticClass: "no-drag", class: {
|
|
31
|
-
"chapter-spacing-x":
|
|
32
|
-
"chapter-spacing-y":
|
|
33
|
-
} }, [
|
|
31
|
+
"chapter-spacing-x": e.enableSpacingX,
|
|
32
|
+
"chapter-spacing-y": e.enableSpacingY
|
|
33
|
+
} }, [e.canEdit && ((i = e._value) != null && i.title) ? n("CInput", { ref: "input", staticClass: "title preview-title-input", attrs: { value: e.title, spellcheck: !1, placeholder: e.$t("components:account.documentForm.titleAndText.title"), static: "" }, on: { blur: (t) => {
|
|
34
34
|
var s;
|
|
35
|
-
|
|
36
|
-
}, "hook:mounted": function(
|
|
37
|
-
return
|
|
38
|
-
} }, nativeOn: { keydown: function(
|
|
39
|
-
return !
|
|
40
|
-
} } }) :
|
|
35
|
+
e.title = ((s = t.target) == null ? void 0 : s.value) || "";
|
|
36
|
+
}, "hook:mounted": function(t) {
|
|
37
|
+
return e.$emit("triggerOnAdd");
|
|
38
|
+
} }, nativeOn: { keydown: function(t) {
|
|
39
|
+
return !t.type.indexOf("key") && e._k(t.keyCode, "enter", 13, t.key, "Enter") ? null : t.target.blur();
|
|
40
|
+
} } }) : e.title ? n("div", { staticClass: "title" }, [e._v(" " + e._s(e.title) + " ")]) : e._e(), n("div", [e._t("default")], 2)], 1)]);
|
|
41
41
|
}, d = [], u = /* @__PURE__ */ o(
|
|
42
42
|
c,
|
|
43
43
|
p,
|
|
44
44
|
d,
|
|
45
45
|
!1,
|
|
46
46
|
null,
|
|
47
|
-
"
|
|
47
|
+
"a4874efe",
|
|
48
48
|
null,
|
|
49
49
|
null
|
|
50
50
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as r } from "./main-
|
|
1
|
+
import { n as r } from "./main-b5eb6366.js";
|
|
2
2
|
const l = {
|
|
3
3
|
name: "DocChapterSub",
|
|
4
4
|
inheritAttrs: !1,
|
|
@@ -23,7 +23,7 @@ var o = function(e, t) {
|
|
|
23
23
|
u,
|
|
24
24
|
!0,
|
|
25
25
|
null,
|
|
26
|
-
"
|
|
26
|
+
"7f7e7550",
|
|
27
27
|
null,
|
|
28
28
|
null
|
|
29
29
|
);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
import { m as C } from "./mapFormMixin-
|
|
3
|
-
import { C as
|
|
4
|
-
const
|
|
1
|
+
import { n as h, b as f } from "./main-b5eb6366.js";
|
|
2
|
+
import { m as C } from "./mapFormMixin-e0c45bbd.js";
|
|
3
|
+
import { C as b } from "./CPhoneFormat-b273a499.js";
|
|
4
|
+
const $ = {
|
|
5
5
|
name: "DocPartiesItem",
|
|
6
6
|
components: {
|
|
7
|
-
CPhoneFormat:
|
|
7
|
+
CPhoneFormat: b
|
|
8
8
|
},
|
|
9
9
|
props: {
|
|
10
10
|
label: {
|
|
@@ -32,20 +32,20 @@ var x = function() {
|
|
|
32
32
|
} }, [t("span", { on: { click: function(a) {
|
|
33
33
|
return e.$emit("click");
|
|
34
34
|
} } }, [e.type === "phone" ? t("CPhoneFormat", { attrs: { phone: e.data.cellphone, region: e.data.region } }) : [e._v(e._s(e.data))]], 2)])]);
|
|
35
|
-
}, w = [], k = /* @__PURE__ */
|
|
36
|
-
|
|
35
|
+
}, w = [], k = /* @__PURE__ */ h(
|
|
36
|
+
$,
|
|
37
37
|
x,
|
|
38
38
|
w,
|
|
39
39
|
!1,
|
|
40
40
|
null,
|
|
41
|
-
"
|
|
41
|
+
"9bad68ca",
|
|
42
42
|
null,
|
|
43
43
|
null
|
|
44
44
|
);
|
|
45
45
|
const S = k.exports;
|
|
46
46
|
const I = {
|
|
47
|
-
client: () => import("./ClientModal-
|
|
48
|
-
company: () => import("./CompanyModal-
|
|
47
|
+
client: () => import("./ClientModal-1bec5a45.js"),
|
|
48
|
+
company: () => import("./CompanyModal-adec1d7e.js")
|
|
49
49
|
}, F = {
|
|
50
50
|
i18nOptions: {
|
|
51
51
|
namespaces: "components"
|
|
@@ -53,7 +53,7 @@ const I = {
|
|
|
53
53
|
name: "DocParties",
|
|
54
54
|
components: {
|
|
55
55
|
DocPartiesItem: S,
|
|
56
|
-
AddClientCallout: () => import("./AddClientCallout-
|
|
56
|
+
AddClientCallout: () => import("./AddClientCallout-4afb07ff.js")
|
|
57
57
|
},
|
|
58
58
|
mixins: [C()],
|
|
59
59
|
props: {
|
|
@@ -88,19 +88,38 @@ const I = {
|
|
|
88
88
|
} = t, c = d === "individual", o = l && (l.standard || l.work);
|
|
89
89
|
o && (o.formKey = l.standard ? "street" : "workStreet");
|
|
90
90
|
const g = [
|
|
91
|
-
i && {
|
|
92
|
-
|
|
91
|
+
i && {
|
|
92
|
+
label: n("company"),
|
|
93
|
+
value: i,
|
|
94
|
+
formKey: "name"
|
|
95
|
+
},
|
|
96
|
+
a && {
|
|
97
|
+
label: n("orgNoShort"),
|
|
98
|
+
value: a,
|
|
99
|
+
formKey: "orgNo"
|
|
100
|
+
},
|
|
93
101
|
r && {
|
|
94
102
|
label: n(c ? "name" : "reference"),
|
|
95
103
|
value: r,
|
|
96
104
|
formKey: c ? "name" : "reference"
|
|
97
105
|
},
|
|
98
|
-
s && c && {
|
|
99
|
-
|
|
106
|
+
s && c && {
|
|
107
|
+
label: n("socialNo"),
|
|
108
|
+
value: s,
|
|
109
|
+
formKey: "orgNo"
|
|
110
|
+
},
|
|
111
|
+
u && {
|
|
112
|
+
label: n("email"),
|
|
113
|
+
value: u,
|
|
114
|
+
formKey: "email"
|
|
115
|
+
},
|
|
100
116
|
m && {
|
|
101
117
|
label: n("phone"),
|
|
102
118
|
type: "phone",
|
|
103
|
-
value: {
|
|
119
|
+
value: {
|
|
120
|
+
cellphone: m,
|
|
121
|
+
region: y || f(this._document, "sender.company.region", "")
|
|
122
|
+
},
|
|
104
123
|
formKey: "cellphone"
|
|
105
124
|
},
|
|
106
125
|
o && {
|
|
@@ -109,7 +128,13 @@ const I = {
|
|
|
109
128
|
formKey: o.formKey
|
|
110
129
|
}
|
|
111
130
|
], p = [];
|
|
112
|
-
return v && p.push({
|
|
131
|
+
return v && p.push({
|
|
132
|
+
label: this._document.$t("chapters.parties.fTax"),
|
|
133
|
+
value: v
|
|
134
|
+
}), _ && p.push({
|
|
135
|
+
label: this._document.$t("chapters.parties.allRiskAndLiability"),
|
|
136
|
+
value: _
|
|
137
|
+
}), {
|
|
113
138
|
main: g,
|
|
114
139
|
checks: p
|
|
115
140
|
};
|
|
@@ -117,21 +142,18 @@ const I = {
|
|
|
117
142
|
}
|
|
118
143
|
},
|
|
119
144
|
created() {
|
|
120
|
-
|
|
145
|
+
f(this, "_value.parties", "") !== "clients" && (this.type = "company");
|
|
121
146
|
},
|
|
122
147
|
methods: {
|
|
123
148
|
openModal({ formKey: n, index: e } = {}) {
|
|
124
149
|
let t = "name", a = !1;
|
|
125
|
-
n && (t = n, ["name", "email", "cellphone", "reference"].includes(n) || (a = !0)), this.$modal.show(
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
isPublicForm: this.viewSettings.isPublicForm
|
|
133
|
-
}
|
|
134
|
-
);
|
|
150
|
+
n && (t = n, ["name", "email", "cellphone", "reference"].includes(n) || (a = !0)), this.$modal.show(I[this.type], {
|
|
151
|
+
inputFocusOnMount: t,
|
|
152
|
+
forceExpand: a,
|
|
153
|
+
documentClientIndex: e,
|
|
154
|
+
setFormValue: this.viewSettings.setFormValue,
|
|
155
|
+
isPublicForm: this.viewSettings.isPublicForm
|
|
156
|
+
});
|
|
135
157
|
},
|
|
136
158
|
removeClient(n) {
|
|
137
159
|
this.parties[n] && this.removeField(`clients[${n}]`);
|
|
@@ -149,7 +171,10 @@ const I = {
|
|
|
149
171
|
});
|
|
150
172
|
},
|
|
151
173
|
setClient(n) {
|
|
152
|
-
this.$emit("input", {
|
|
174
|
+
this.$emit("input", {
|
|
175
|
+
key: `clients[${this.parties.length}]`,
|
|
176
|
+
value: n
|
|
177
|
+
});
|
|
153
178
|
}
|
|
154
179
|
}
|
|
155
180
|
};
|
|
@@ -184,13 +209,13 @@ var P = function() {
|
|
|
184
209
|
return t("div", { key: r, staticClass: "check-text" }, [t("svg", { attrs: { width: "11", height: "11", viewBox: "0 0 218 185", xmlns: "http://www.w3.org/2000/svg" } }, [t("path", { staticClass: "primary-svg-fill", attrs: { d: "M217.931476 30.821773L180.506583.515692 85.82601 117.436462 29.993388 72.224097.068524 109.178227l93.257515 75.518447z", fill: "#D8D8D8", "fill-rule": "evenodd" } })]), t("div", [e._v(e._s(i.label))])]);
|
|
185
210
|
}), 0) : e._e()], 2);
|
|
186
211
|
})], 2);
|
|
187
|
-
}, D = [], M = /* @__PURE__ */
|
|
212
|
+
}, D = [], M = /* @__PURE__ */ h(
|
|
188
213
|
F,
|
|
189
214
|
P,
|
|
190
215
|
D,
|
|
191
216
|
!1,
|
|
192
217
|
null,
|
|
193
|
-
"
|
|
218
|
+
"f1713381",
|
|
194
219
|
null,
|
|
195
220
|
null
|
|
196
221
|
);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as n } from "./mapFormMixin-
|
|
2
|
-
import { V as r } from "./PdfViewer-
|
|
3
|
-
import { n as l } from "./main-
|
|
1
|
+
import { m as n } from "./mapFormMixin-e0c45bbd.js";
|
|
2
|
+
import { V as r } from "./PdfViewer-5b2bcbb5.js";
|
|
3
|
+
import { n as l } from "./main-b5eb6366.js";
|
|
4
4
|
import "./dom-962579a6.js";
|
|
5
|
-
import "./DocumentLayout-
|
|
6
|
-
import "./debounce-
|
|
7
|
-
import "./CDropdownItem-
|
|
5
|
+
import "./DocumentLayout-a659ce2a.js";
|
|
6
|
+
import "./debounce-97bb38ac.js";
|
|
7
|
+
import "./CDropdownItem-cc274799.js";
|
|
8
8
|
const i = {
|
|
9
9
|
i18nOptions: {
|
|
10
10
|
namespaces: "pdfBlock",
|
|
@@ -25,12 +25,10 @@ const i = {
|
|
|
25
25
|
name: "Pdf",
|
|
26
26
|
components: {
|
|
27
27
|
PdfViewer: r,
|
|
28
|
-
FileIcon: () => import("./Index-
|
|
29
|
-
BaseUpload: () => import("./BaseUpload-
|
|
28
|
+
FileIcon: () => import("./Index-c2008029.js"),
|
|
29
|
+
BaseUpload: () => import("./BaseUpload-740b1f88.js")
|
|
30
30
|
},
|
|
31
|
-
mixins: [
|
|
32
|
-
n(["file"])
|
|
33
|
-
],
|
|
31
|
+
mixins: [n(["file"])],
|
|
34
32
|
inject: {
|
|
35
33
|
isPdf: {
|
|
36
34
|
default: !1
|
|
@@ -58,12 +56,7 @@ const i = {
|
|
|
58
56
|
},
|
|
59
57
|
methods: {
|
|
60
58
|
onUploadSuccess(o) {
|
|
61
|
-
const {
|
|
62
|
-
id: e,
|
|
63
|
-
displayName: s,
|
|
64
|
-
url: t,
|
|
65
|
-
mime: a
|
|
66
|
-
} = o.response;
|
|
59
|
+
const { id: e, displayName: s, url: t, mime: a } = o.response;
|
|
67
60
|
if (!e)
|
|
68
61
|
throw new Error("Could not read id from uploaded file");
|
|
69
62
|
this.file = {
|
|
@@ -81,7 +74,17 @@ var d = function() {
|
|
|
81
74
|
e.isHover = !0;
|
|
82
75
|
}, mouseleave: function(t) {
|
|
83
76
|
e.isHover = !1;
|
|
84
|
-
} } }, [e.canEdit ? s("div", { directives: [{ name: "show", rawName: "v-show", value: e.showControls, expression: "showControls" }], staticClass: "flex items-center p-4 text-left bg-gray-100 rounded-lg pdf-control-root", class: !!e.file && [
|
|
77
|
+
} } }, [e.canEdit ? s("div", { directives: [{ name: "show", rawName: "v-show", value: e.showControls, expression: "showControls" }], staticClass: "flex items-center p-4 text-left bg-gray-100 rounded-lg pdf-control-root", class: !!e.file && [
|
|
78
|
+
"absolute",
|
|
79
|
+
"z-10",
|
|
80
|
+
"left-2",
|
|
81
|
+
"right-2",
|
|
82
|
+
"top-2",
|
|
83
|
+
"shadow-lg",
|
|
84
|
+
"bg-white",
|
|
85
|
+
"border",
|
|
86
|
+
"border-gray-200"
|
|
87
|
+
] }, [s("FileIcon", { attrs: { mime: "application/pdf" } }), s("div", { staticClass: "flex-auto pl-4" }, [s("div", { staticClass: "font-medium" }, [e._v("PDF")]), s("div", { staticClass: "text-sm text-gray-600" }, [e._v(" " + e._s(e.$t("embedded")) + " " + e._s(e.numPages ? e.$t("numOfPages", { numPages: e.numPages }) : "") + " ")])]), s("BaseUpload", { ref: "uploader", attrs: { "autostart-upload": !0, "background-drop": !1, extensions: "pdf", accept: "application/pdf" }, on: { input: ([t]) => e.uploadProgress = t ? parseInt(t.progress, 10) : null, "upload-success": e.onUploadSuccess }, scopedSlots: e._u([{ key: "default", fn: function({ openFilePicker: t }) {
|
|
85
88
|
return [s("CButton", { staticStyle: { "z-index": "2" }, attrs: { type: e.file ? "none" : "secondary", pattern: e.file ? "secondary" : "primary", disabled: e.uploadProgress !== null }, on: { click: t } }, [e.uploadProgress !== null ? [e._v(" " + e._s(`${e.uploadProgress}% ${e.$t("_common:uploading")}`) + " ")] : [e._v(" " + e._s(e.file ? e.$t("_common:change", { thing: e.$t("_common:file") }) : e.$t("upload")) + " ")]], 2)];
|
|
86
89
|
} }], null, !1, 3134809537) })], 1) : e._e(), e.file ? s("div", [s("div", { staticClass: "print-page-break" }, [e.file && e.file.url ? s("PdfViewer", { attrs: { src: e.file.url }, on: { numPages: (t) => e.numPages = t } }) : e._e()], 1)]) : e._e()]);
|
|
87
90
|
}, u = [], p = /* @__PURE__ */ l(
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { m as n } from "./mapFormMixin-
|
|
2
|
-
import { D as o } from "./DocModalBase-
|
|
3
|
-
import { a } from "./DocumentLayout-
|
|
4
|
-
import { n as l } from "./main-
|
|
5
|
-
import "./debounce-
|
|
6
|
-
import "./CDropdownItem-
|
|
1
|
+
import { m as n } from "./mapFormMixin-e0c45bbd.js";
|
|
2
|
+
import { D as o } from "./DocModalBase-039f53c2.js";
|
|
3
|
+
import { a } from "./DocumentLayout-a659ce2a.js";
|
|
4
|
+
import { n as l } from "./main-b5eb6366.js";
|
|
5
|
+
import "./debounce-97bb38ac.js";
|
|
6
|
+
import "./CDropdownItem-cc274799.js";
|
|
7
7
|
const c = {
|
|
8
8
|
name: "TermsModal",
|
|
9
9
|
components: {
|
|
@@ -65,7 +65,7 @@ const f = {
|
|
|
65
65
|
},
|
|
66
66
|
computed: {
|
|
67
67
|
printPdfTerms() {
|
|
68
|
-
return this.isPdf ? () => import("./PdfTerms-
|
|
68
|
+
return this.isPdf ? () => import("./PdfTerms-27d7ea41.js") : void 0;
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
methods: {
|
|
@@ -120,7 +120,11 @@ const f = {
|
|
|
120
120
|
[
|
|
121
121
|
i("div", { staticClass: "terms-disclaimer__divider" }),
|
|
122
122
|
this._document.$t("chapters.termsDisclaimer.description"),
|
|
123
|
-
i(
|
|
123
|
+
i(
|
|
124
|
+
"a",
|
|
125
|
+
s,
|
|
126
|
+
this._document.$t("chapters.termsDisclaimer.termsAndConditions")
|
|
127
|
+
),
|
|
124
128
|
"."
|
|
125
129
|
]
|
|
126
130
|
);
|
|
@@ -132,7 +136,7 @@ var v = /* @__PURE__ */ l(
|
|
|
132
136
|
h,
|
|
133
137
|
!1,
|
|
134
138
|
null,
|
|
135
|
-
"
|
|
139
|
+
"e3a578a8",
|
|
136
140
|
null,
|
|
137
141
|
null
|
|
138
142
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as c, u, n as m } from "./main-
|
|
2
|
-
import { P as p } from "./PlainHtml-
|
|
1
|
+
import { L as c, u, n as m } from "./main-b5eb6366.js";
|
|
2
|
+
import { P as p } from "./PlainHtml-c743e90e.js";
|
|
3
3
|
import { s as g } from "./dom-962579a6.js";
|
|
4
4
|
const f = {
|
|
5
5
|
name: "ExtraWorkConstructionPricingListRead",
|
|
@@ -164,7 +164,7 @@ var k = /* @__PURE__ */ m(
|
|
|
164
164
|
b,
|
|
165
165
|
!1,
|
|
166
166
|
null,
|
|
167
|
-
"
|
|
167
|
+
"0887611f",
|
|
168
168
|
null,
|
|
169
169
|
null
|
|
170
170
|
);
|