@cling-se/widget 0.9.10 → 0.9.12
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 +35 -35
- package/dist/{AddClientCallout-98b5d2c9.js → AddClientCallout-6b0621ec.js} +5 -5
- package/dist/{AnswerModal-995e7a87.js → AnswerModal-f6cb74d7.js} +156 -145
- package/dist/{AttachmentItem-331b9c1e.js → AttachmentItem-2a4cb524.js} +4 -4
- package/dist/{BaseDatePicker-7f047527.js → BaseDatePicker-2daf62c0.js} +1 -1
- package/dist/{BaseInput-c79f0001.js → BaseInput-a4523348.js} +1 -1
- package/dist/{BaseUpload-9402cc1b.js → BaseUpload-737004ad.js} +3 -3
- package/dist/{BlockMedia-80a082ed.js → BlockMedia-a145fc19.js} +2 -2
- package/dist/{CCallout-bd314caa.js → CCallout-7fb1ad5c.js} +6 -6
- package/dist/{CDropdownItem-ab42f924.js → CDropdownItem-79c8dc70.js} +5 -5
- package/dist/{CField-6da7299b.js → CField-2b1118f9.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-c70342a2.js → CSlider.vue_vue_type_style_index_0_lang-47894df7.js} +1 -1
- package/dist/{ClientAutocomplete-67fc253c.js → ClientAutocomplete-3d098904.js} +6 -6
- package/dist/{ClientModal-1709e8c7.js → ClientModal-d1bf8d0d.js} +5 -5
- package/dist/{ColorPicker-4880a624.js → ColorPicker-c61cd86f.js} +29 -29
- package/dist/{CompanyModal-dbe85884.js → CompanyModal-46cab2d1.js} +4 -4
- package/dist/{ContentWrapper-a602cc3d.js → ContentWrapper-3251ab37.js} +14 -14
- package/dist/{CoverBlockSettings-f37fe6e1.js → CoverBlockSettings-3ad93db4.js} +21 -20
- package/dist/{DocAnswer-081e8239.js → DocAnswer-a0f2853b.js} +4 -4
- package/dist/DocForm-a4c0a0f1.js +7087 -0
- package/dist/{DocFormSend-c9b955b9.js → DocFormSend-ed982485.js} +24 -21
- package/dist/{DocModalBase-8c238a59.js → DocModalBase-22abfff9.js} +4 -4
- package/dist/{DocPrint-2a181ffb.js → DocPrint-028aa0ed.js} +5 -5
- package/dist/{DocReceipt-00c0f631.js → DocReceipt-3bd27c4a.js} +1 -1
- package/dist/{DocSendReminder-9effd808.js → DocSendReminder-8ad0ca86.js} +1 -1
- package/dist/{DocTextEditor-0c8a4782.js → DocTextEditor-8930e458.js} +12 -12
- package/dist/{DocTimeline-be5e8b9d.js → DocTimeline-2ab336f0.js} +1 -1
- package/dist/{DocumentClient-13f55b25.js → DocumentClient-441798b5.js} +5 -5
- package/dist/{DocumentLayout-2ff55f9f.js → DocumentLayout-02c32058.js} +97 -97
- package/dist/{DocumentLogotype-80a2521a.js → DocumentLogotype-43ef9231.js} +6 -6
- package/dist/{EmbedInput-8572a42b.js → EmbedInput-996ae0e3.js} +2 -2
- package/dist/{EmbedSettings-1a60358e.js → EmbedSettings-41af8b9c.js} +5 -5
- package/dist/{ErrorCallout-84e8168b.js → ErrorCallout-d392ffe9.js} +2 -2
- package/dist/{FilePreviewModal-cdafbf1c.js → FilePreviewModal-e298691e.js} +5 -5
- package/dist/{HeaderSettings-9f4d182b.js → HeaderSettings-687131c9.js} +20 -19
- package/dist/{ImageSelectModal-b97c8185.js → ImageSelectModal-eec441aa.js} +16 -18
- package/dist/{ImageUploadWrapper-ebcdbc9e.js → ImageUploadWrapper-b244cf9e.js} +3 -3
- package/dist/{Index-6c782bef.js → Index-01a3b6ed.js} +12 -12
- package/dist/{Index-473d0fad.js → Index-0ed1b84a.js} +3 -3
- package/dist/{Index-4bbfdb2e.js → Index-13b65d9b.js} +2 -2
- package/dist/{Index-dd30bbc5.js → Index-2468cd69.js} +12 -12
- package/dist/{Index-8eff4eae.js → Index-25ce24cc.js} +2 -2
- package/dist/{Index-0bd4a30c.js → Index-2b19a264.js} +16 -16
- package/dist/{Index-7b1fd376.js → Index-30ebb13c.js} +2 -2
- package/dist/{Index-b233276b.js → Index-37d3fd60.js} +2 -2
- package/dist/{Index-8c4fd5b4.js → Index-485b35e8.js} +27 -27
- package/dist/{Index-341f9388.js → Index-5ff95ead.js} +8 -8
- package/dist/{Index-ba4cfb80.js → Index-62ea070e.js} +6 -6
- package/dist/{Index-dca28212.js → Index-6c5de42a.js} +2 -2
- package/dist/{Index-11d16691.js → Index-6ca4a7e4.js} +22 -22
- package/dist/{Index-8cba5dac.js → Index-6d61f98d.js} +26 -26
- package/dist/{Index-de93e029.js → Index-77a7d639.js} +7 -7
- package/dist/{Index-8053871b.js → Index-7c421b05.js} +4 -4
- package/dist/{Index-0306a974.js → Index-7d2fe1bd.js} +12 -12
- package/dist/{Index-c2b2ccd9.js → Index-87cd4771.js} +8 -8
- package/dist/{Index-8755440b.js → Index-8882ee1b.js} +5 -5
- package/dist/{Index-7f01697f.js → Index-8c254496.js} +7 -7
- package/dist/{Index-623bb993.js → Index-9ccce76f.js} +4 -4
- package/dist/{Index-ffc7dba1.js → Index-a7871ea6.js} +5 -5
- package/dist/{Index-3ccc66e4.js → Index-a9f197a7.js} +4 -4
- package/dist/{Index-451f5485.js → Index-af3a9b66.js} +5 -5
- package/dist/{Index-f9063054.js → Index-b9b80eae.js} +7 -7
- package/dist/{Index-5428e87c.js → Index-bf23d7a9.js} +11 -11
- package/dist/{Index-0022bc40.js → Index-c3a619f4.js} +4 -4
- package/dist/{Index-ddf49640.js → Index-d3225e03.js} +6 -6
- package/dist/{Index-95f0dd2f.js → Index-d76bf229.js} +19 -19
- package/dist/{Index-2ecefac2.js → Index-e2919ed0.js} +4 -4
- package/dist/{Index-8ecb9aa4.js → Index-ee558d21.js} +2 -2
- package/dist/{Index-9c5f5d6e.js → Index-efa47af4.js} +7 -7
- package/dist/{Index-039d9c9d.js → Index-f14261e7.js} +6 -6
- package/dist/{Index-0bbbe1cf.js → Index-fd947a18.js} +13 -13
- package/dist/{InputToggleRow-533651e6.js → InputToggleRow-ee713437.js} +2 -2
- package/dist/IsPremiumPreStep-9b5a0a01.js +3669 -0
- package/dist/{MediaWrapper-388589e5.js → MediaWrapper-45257b41.js} +3 -3
- package/dist/{NotBindingText-b833c49b.js → NotBindingText-c2f7c9cb.js} +2 -2
- package/dist/{PackageGroup-41b2d524.js → PackageGroup-b2aa42da.js} +15 -15
- package/dist/{PdfTerms-461fcd9e.js → PdfTerms-2d66043e.js} +7 -7
- package/dist/{PdfViewer-099b598c.js → PdfViewer-947ee278.js} +2 -2
- package/dist/{PlainHtml-37aa5b7b.js → PlainHtml-a3d47a45.js} +1 -1
- package/dist/PriceHeader-b6a99a57.js +337 -0
- package/dist/{SearchApi-25909227.js → SearchApi-c6511bc3.js} +2 -2
- package/dist/Setup-60ec3c2a.js +54 -0
- package/dist/{TermsSettings-c730ac70.js → TermsSettings-836555da.js} +10 -10
- package/dist/{ThemeColorRow-31d8285b.js → ThemeColorRow-672086c3.js} +12 -21
- package/dist/{ToggleBinding-1a98360f.js → ToggleBinding-3c581fbb.js} +3 -3
- package/dist/{UploadModal-e0a37c3e.js → UploadModal-b3933203.js} +4 -4
- package/dist/{VideoPlayerInput-4d7f302a.js → VideoPlayerInput-5ad13a27.js} +3 -3
- package/dist/{VideoPlayerSettings-81168a6b.js → VideoPlayerSettings-e964804b.js} +5 -5
- package/dist/{VideoSelectModal-dc429ff0.js → VideoSelectModal-321b2270.js} +30 -30
- package/dist/{answerDocumentMixin-3ff2b25d.js → answerDocumentMixin-76224b35.js} +3 -3
- package/dist/{cssMode-c6b1b286.js → cssMode-2bf89988.js} +7 -7
- package/dist/{focusDrawerMixin-01b547f0.js → focusDrawerMixin-dffff858.js} +1 -1
- package/dist/{formComponentsInstall-9e33cb8f.js → formComponentsInstall-57c30f22.js} +265 -255
- package/dist/{formValidationMixin-74c239ee.js → formValidationMixin-9d5c1283.js} +1 -1
- package/dist/{freemarker2-076519a0.js → freemarker2-503b066f.js} +7 -7
- package/dist/{handlebars-bb155717.js → handlebars-8c0c0a90.js} +7 -7
- package/dist/{html-1cf008d9.js → html-5b503855.js} +7 -7
- package/dist/{htmlMode-bf67fa2b.js → htmlMode-b751a462.js} +7 -7
- package/dist/image-a902f5a5.js +18 -0
- package/dist/{index-e37214e9.js → index-1c1cefec.js} +4 -4
- package/dist/{index-908333a3.js → index-771f5571.js} +9 -9
- package/dist/index-9a5227ef.js +82 -0
- package/dist/{index-7097f05c.js → index-a9f8e647.js} +13 -13
- package/dist/{index-0f09ca1c.js → index-d81be181.js} +10 -10
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +581 -581
- package/dist/{javascript-b98377f9.js → javascript-2d18f43b.js} +8 -8
- package/dist/{jsonMode-e9595a57.js → jsonMode-95421c7a.js} +7 -7
- package/dist/{liquid-b60636e3.js → liquid-47ff3277.js} +7 -7
- package/dist/{main-cf622dd3.js → main-5532481e.js} +7274 -7171
- package/dist/{mapFormMixin-490a1765.js → mapFormMixin-218f9749.js} +1 -1
- package/dist/{publicSenderState-6b369e21.js → publicSenderState-7c91d66d.js} +1 -1
- package/dist/{python-4e4d18f5.js → python-afd06bc4.js} +7 -7
- package/dist/{razor-63ead89f.js → razor-28875ccf.js} +7 -7
- package/dist/{simplebar.min-3f1edc12.js → simplebar.min-3682e5c9.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{template-66eba036.js → template-cd101772.js} +1 -1
- package/dist/throttle-3a262479.js +18 -0
- package/dist/{tinycolor-9f3cc25c.js → tinycolor-ca02e626.js} +6 -6
- package/dist/{tippy.esm-dec03596.js → tippy.esm-a7740684.js} +7 -7
- package/dist/{tsMode-e93504e4.js → tsMode-bc258439.js} +7 -7
- package/dist/{typescript-111230d0.js → typescript-ac68850c.js} +7 -7
- package/dist/{utils-fb02e603.js → utils-b0646315.js} +5 -5
- package/dist/{vuedraggable.umd-f2d6d3e3.js → vuedraggable.umd-934a0379.js} +1 -1
- package/dist/{xml-987e33cc.js → xml-a8591419.js} +7 -7
- package/package.json +1 -1
- package/.env +0 -12
- package/dist/DocForm-c69281fc.js +0 -7062
- package/dist/IsPremiumPreStep-8d46fadc.js +0 -2349
- package/dist/PriceHeader-41c48787.js +0 -337
- package/dist/regions-29ee6964.js +0 -1250
- package/dist/throttle-2b45d29c.js +0 -18
- package/jsconfig.json +0 -11
- package/postcss.config.cjs +0 -6
- package/stats.html +0 -4044
- package/tailwind.config.cjs +0 -26
- package/vite-plugin-library-asset-external/index.js +0 -134
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as n } from "./BlockMedia-
|
|
2
|
-
import { m as a } from "./mapFormMixin-
|
|
3
|
-
import { n as m } from "./main-
|
|
1
|
+
import { B as n } from "./BlockMedia-a145fc19.js";
|
|
2
|
+
import { m as a } from "./mapFormMixin-218f9749.js";
|
|
3
|
+
import { n as m } from "./main-5532481e.js";
|
|
4
4
|
import "./color-71c20583.js";
|
|
5
5
|
const o = {
|
|
6
6
|
name: "MediaWrapper",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { t as m } from "./tinycolor-
|
|
2
|
-
import {
|
|
3
|
-
import { E as x } from "./ErrorCallout-
|
|
4
|
-
import { m as _ } from "./mapFormMixin-
|
|
5
|
-
import { T as b } from "./DocTextEditor-
|
|
6
|
-
import "./tippy.esm-
|
|
7
|
-
import "./ColorPicker-
|
|
8
|
-
import "./DocumentLayout-
|
|
9
|
-
import "./CDropdownItem-
|
|
10
|
-
import "./CSlider.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { t as m } from "./tinycolor-ca02e626.js";
|
|
2
|
+
import { ab as y, ac as v, s as g, n as p, ad as f, x as k, b as u, ae as w, c as P } from "./main-5532481e.js";
|
|
3
|
+
import { E as x } from "./ErrorCallout-d392ffe9.js";
|
|
4
|
+
import { m as _ } from "./mapFormMixin-218f9749.js";
|
|
5
|
+
import { T as b } from "./DocTextEditor-8930e458.js";
|
|
6
|
+
import "./tippy.esm-a7740684.js";
|
|
7
|
+
import "./ColorPicker-c61cd86f.js";
|
|
8
|
+
import "./DocumentLayout-02c32058.js";
|
|
9
|
+
import "./CDropdownItem-79c8dc70.js";
|
|
10
|
+
import "./CSlider.vue_vue_type_style_index_0_lang-47894df7.js";
|
|
11
11
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
12
12
|
import "./color-71c20583.js";
|
|
13
13
|
const $ = {
|
|
@@ -136,7 +136,7 @@ var T = function() {
|
|
|
136
136
|
S,
|
|
137
137
|
!1,
|
|
138
138
|
null,
|
|
139
|
-
"
|
|
139
|
+
"24e9f828",
|
|
140
140
|
null,
|
|
141
141
|
null
|
|
142
142
|
);
|
|
@@ -195,7 +195,7 @@ var A = function() {
|
|
|
195
195
|
D,
|
|
196
196
|
!1,
|
|
197
197
|
null,
|
|
198
|
-
"
|
|
198
|
+
"0814223b",
|
|
199
199
|
null,
|
|
200
200
|
null
|
|
201
201
|
);
|
|
@@ -335,7 +335,7 @@ var M = function() {
|
|
|
335
335
|
W,
|
|
336
336
|
!1,
|
|
337
337
|
null,
|
|
338
|
-
"
|
|
338
|
+
"1b1d9599",
|
|
339
339
|
null,
|
|
340
340
|
null
|
|
341
341
|
);
|
|
@@ -490,7 +490,7 @@ var Z = function() {
|
|
|
490
490
|
E,
|
|
491
491
|
!1,
|
|
492
492
|
null,
|
|
493
|
-
"
|
|
493
|
+
"03965578",
|
|
494
494
|
null,
|
|
495
495
|
null
|
|
496
496
|
);
|
|
@@ -581,7 +581,7 @@ var R = function() {
|
|
|
581
581
|
H,
|
|
582
582
|
!1,
|
|
583
583
|
null,
|
|
584
|
-
"
|
|
584
|
+
"949caf8b",
|
|
585
585
|
null,
|
|
586
586
|
null
|
|
587
587
|
);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { V as s } from "./PdfViewer-
|
|
2
|
-
import { n as t } from "./main-
|
|
1
|
+
import { V as s } from "./PdfViewer-947ee278.js";
|
|
2
|
+
import { n as t } from "./main-5532481e.js";
|
|
3
3
|
import "./dom-068d1a7b.js";
|
|
4
|
-
import "./DocumentLayout-
|
|
5
|
-
import "./CDropdownItem-
|
|
4
|
+
import "./DocumentLayout-02c32058.js";
|
|
5
|
+
import "./CDropdownItem-79c8dc70.js";
|
|
6
6
|
const n = {
|
|
7
7
|
name: "PdfTerms",
|
|
8
8
|
functional: !0,
|
|
@@ -31,11 +31,11 @@ var a = /* @__PURE__ */ t(
|
|
|
31
31
|
l,
|
|
32
32
|
!1,
|
|
33
33
|
null,
|
|
34
|
-
"
|
|
34
|
+
"5d832f2b",
|
|
35
35
|
null,
|
|
36
36
|
null
|
|
37
37
|
);
|
|
38
|
-
const
|
|
38
|
+
const d = a.exports;
|
|
39
39
|
export {
|
|
40
|
-
|
|
40
|
+
d as default
|
|
41
41
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as u, L as g } from "./main-
|
|
1
|
+
import { n as u, L as g } from "./main-5532481e.js";
|
|
2
2
|
import { e as d } from "./dom-068d1a7b.js";
|
|
3
|
-
import { W as m } from "./DocumentLayout-
|
|
3
|
+
import { W as m } from "./DocumentLayout-02c32058.js";
|
|
4
4
|
let o, l, f, c, p;
|
|
5
5
|
function w(e) {
|
|
6
6
|
return typeof e == "object" && e !== null && e.__PDFDocumentLoadingTask === !0;
|
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
import { m as c } from "./mapFormMixin-218f9749.js";
|
|
2
|
+
import { B as l } from "./BlockMedia-a145fc19.js";
|
|
3
|
+
import { n, b as r, s as d, a2 as u } from "./main-5532481e.js";
|
|
4
|
+
import { T as m } from "./DocTextEditor-8930e458.js";
|
|
5
|
+
import { i as p } from "./i18nMessages-45c6bfd6.js";
|
|
6
|
+
import { t as _ } from "./tinycolor-ca02e626.js";
|
|
7
|
+
import { s as y } from "./dom-068d1a7b.js";
|
|
8
|
+
import "./color-71c20583.js";
|
|
9
|
+
import "./tippy.esm-a7740684.js";
|
|
10
|
+
import "./ColorPicker-c61cd86f.js";
|
|
11
|
+
import "./DocumentLayout-02c32058.js";
|
|
12
|
+
import "./CDropdownItem-79c8dc70.js";
|
|
13
|
+
import "./CSlider.vue_vue_type_style_index_0_lang-47894df7.js";
|
|
14
|
+
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
15
|
+
const h = {
|
|
16
|
+
name: "SummaryTop",
|
|
17
|
+
i18nOptions: {
|
|
18
|
+
namespaces: "summaryTop",
|
|
19
|
+
messages: p
|
|
20
|
+
},
|
|
21
|
+
components: {
|
|
22
|
+
TextEditor: m,
|
|
23
|
+
DocumentLogotype: () => import("./DocumentLogotype-43ef9231.js")
|
|
24
|
+
},
|
|
25
|
+
inject: ["parentSize"],
|
|
26
|
+
mixins: [c([])],
|
|
27
|
+
props: {
|
|
28
|
+
showLogo: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: !0
|
|
31
|
+
},
|
|
32
|
+
logotype: {
|
|
33
|
+
type: String,
|
|
34
|
+
default: null
|
|
35
|
+
},
|
|
36
|
+
companyLogotype: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: null
|
|
39
|
+
},
|
|
40
|
+
senderName: {
|
|
41
|
+
type: String,
|
|
42
|
+
default: null
|
|
43
|
+
},
|
|
44
|
+
docName: {
|
|
45
|
+
type: String,
|
|
46
|
+
default: null
|
|
47
|
+
},
|
|
48
|
+
docType: {
|
|
49
|
+
type: String,
|
|
50
|
+
required: !0
|
|
51
|
+
},
|
|
52
|
+
docNumber: {
|
|
53
|
+
type: [Number, String],
|
|
54
|
+
default: null
|
|
55
|
+
},
|
|
56
|
+
sentAt: {
|
|
57
|
+
type: [String, Number],
|
|
58
|
+
default: null
|
|
59
|
+
// required: true,
|
|
60
|
+
},
|
|
61
|
+
expiresAt: {
|
|
62
|
+
type: String,
|
|
63
|
+
default: null
|
|
64
|
+
},
|
|
65
|
+
estimatedTime: {
|
|
66
|
+
type: String,
|
|
67
|
+
default: null
|
|
68
|
+
},
|
|
69
|
+
validator: {
|
|
70
|
+
type: Object,
|
|
71
|
+
default: () => ({})
|
|
72
|
+
},
|
|
73
|
+
hasHover: {
|
|
74
|
+
type: Boolean,
|
|
75
|
+
default: !1
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
computed: {
|
|
79
|
+
logotypeListeners() {
|
|
80
|
+
return {
|
|
81
|
+
...this.$listeners,
|
|
82
|
+
input: (i) => this.$emit("update:logotype", i)
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
var v = function() {
|
|
88
|
+
var e = this, t = e._self._c;
|
|
89
|
+
return t("section", { staticClass: "flex justify-center w-full summary-top" }, [t("div", { staticClass: "doc-summary-top-wrapper" }, [t("div", { staticClass: "doc-summary-top-wrapper__background" }), t("div", { staticClass: "flex justify-between w-full", staticStyle: { "margin-bottom": "calc(2.5 * var(--rem))" } }, [e.showLogo && (e.logotype || e.companyLogotype) || e.canEdit ? t("DocumentLogotype", e._g({ attrs: { value: e.logotype, "show-logo": e.showLogo, "company-logotype": e.companyLogotype, "has-hover": e.hasHover } }, e.logotypeListeners)) : t("div", { staticClass: "company-name" }, [e._v(" " + e._s(e.senderName) + " ")]), t("div", { staticClass: "top-right-text-wrapper" }, [e.sentAt ? t("div", [e._v(e._s(e.$formatDate(e.sentAt)))]) : e._e(), e.docNumber ? t("div", [e._v(" #" + e._s(e.docNumber))]) : e._e()])], 1), t("div", { staticClass: "title-text" }, [e.canEdit ? t("TextEditor", { ref: "editor", staticClass: "no-drag", staticStyle: { "will-change": "opacity" }, attrs: { value: e.docName, placeholder: e.$t("name.placeholder"), extensions: {
|
|
90
|
+
bulletList: !1,
|
|
91
|
+
heading: [1, 2, 3],
|
|
92
|
+
bold: !1,
|
|
93
|
+
link: !1,
|
|
94
|
+
underline: !1,
|
|
95
|
+
blockquote: !0,
|
|
96
|
+
table: !1
|
|
97
|
+
}, unstyled: "", static: "" }, on: { input: function(s) {
|
|
98
|
+
return e.$emit("update:doc-name", s);
|
|
99
|
+
} } }) : t("div", { staticClass: "quill-custom", domProps: { innerHTML: e._s(e.docName) } })], 1), t("div", { staticClass: "flex justify-between w-full" }, [e.expiresAt ? t("div", { staticClass: "data-group" }, [t("div", { staticClass: "label-text caps" }, [e._v(e._s(e._document.$t("replyBy")))]), t("div", { staticClass: "data-text" }, [e._v(e._s(e.$formatDate(e.expiresAt)))])]) : e._e(), e.docType !== "document" ? t("div", { staticClass: "data-group" }, [t("div", { staticClass: "label-text caps" }, [e._v(e._s(e._document.$t("document").capitalize()))]), t("div", { staticClass: "data-text" }, [e._v(e._s(e._document.$t(`series.${e.docType}`).capitalize()))])]) : e._e(), e.parentSize.width >= 576 ? [e.estimatedTime ? t("div", { staticClass: "data-group" }, [t("div", { staticClass: "label-text caps" }, [e._v(e._s(e.$t("time.estimatedTime")))]), t("div", { staticClass: "data-text" }, [e._v(e._s(e._document.$t("approx")) + " " + e._s(e.estimatedTime))])]) : e._e()] : e._e()], 2)])]);
|
|
100
|
+
}, g = [], f = /* @__PURE__ */ n(
|
|
101
|
+
h,
|
|
102
|
+
v,
|
|
103
|
+
g,
|
|
104
|
+
!1,
|
|
105
|
+
null,
|
|
106
|
+
"ec3c14d9",
|
|
107
|
+
null,
|
|
108
|
+
null
|
|
109
|
+
);
|
|
110
|
+
const S = f.exports;
|
|
111
|
+
const x = {
|
|
112
|
+
name: "SummaryBottom",
|
|
113
|
+
mixins: [c([])],
|
|
114
|
+
props: {
|
|
115
|
+
base: {
|
|
116
|
+
type: Object,
|
|
117
|
+
default: null
|
|
118
|
+
},
|
|
119
|
+
options: {
|
|
120
|
+
type: Array,
|
|
121
|
+
default: () => []
|
|
122
|
+
},
|
|
123
|
+
backgroundColor: {
|
|
124
|
+
type: String,
|
|
125
|
+
default: "#4c576d"
|
|
126
|
+
},
|
|
127
|
+
documentCurrency: {
|
|
128
|
+
type: String,
|
|
129
|
+
required: !0
|
|
130
|
+
},
|
|
131
|
+
vatType: {
|
|
132
|
+
type: String,
|
|
133
|
+
required: !0
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
inject: ["parentSize"],
|
|
137
|
+
data() {
|
|
138
|
+
return {
|
|
139
|
+
get: r,
|
|
140
|
+
tinycolor: _
|
|
141
|
+
};
|
|
142
|
+
},
|
|
143
|
+
computed: {
|
|
144
|
+
prices() {
|
|
145
|
+
return r(this, "base.prices") || {};
|
|
146
|
+
},
|
|
147
|
+
isIndivid() {
|
|
148
|
+
return r(this.prices, "helpers.isIndivid", !0);
|
|
149
|
+
},
|
|
150
|
+
showIncVat() {
|
|
151
|
+
return this.isIndivid;
|
|
152
|
+
},
|
|
153
|
+
priceTotal() {
|
|
154
|
+
return this.isIndivid ? r(this.prices, "total", null) : r(this.prices, "subTotal", null);
|
|
155
|
+
},
|
|
156
|
+
priceType() {
|
|
157
|
+
return this.prices.type || ["fixed"];
|
|
158
|
+
},
|
|
159
|
+
currency() {
|
|
160
|
+
return this.prices.currency || this.documentCurrency;
|
|
161
|
+
},
|
|
162
|
+
openAccMaxPrice() {
|
|
163
|
+
return this.prices.maxTotal || null;
|
|
164
|
+
},
|
|
165
|
+
houseWorkType() {
|
|
166
|
+
return r(this.prices, "region.houseWorkType", null);
|
|
167
|
+
},
|
|
168
|
+
isReverseVat() {
|
|
169
|
+
return r(this.prices, "region.reverseVat", !1);
|
|
170
|
+
},
|
|
171
|
+
priceTypeString() {
|
|
172
|
+
return this.priceType.includes("openAccMaxPrice") ? this._document.$t("price.openAccMaxPrice") : this.priceType.includes("openAcc") ? this._document.$t("price.openAcc") : this._document.$t("price.price").capitalize();
|
|
173
|
+
},
|
|
174
|
+
priceDeductionVatString() {
|
|
175
|
+
let i = "";
|
|
176
|
+
if (this.isReverseVat && !this.showIncVat) {
|
|
177
|
+
const e = this.priceFormat(0, { currency: this.currency, showZero: !0 });
|
|
178
|
+
return i = this._document.$t("summaryBottom.reverseVat", { amount: e }), i;
|
|
179
|
+
}
|
|
180
|
+
return this.houseWorkType && (i = this._document.$t("deduction.afterType", { type: `${this.houseWorkType}_percentage` })), this.showIncVat && (i += ` ${this._document.$t("vat.incVat", { thing: this._document.$t(`vat.${this.vatType}`) })}`), this.showIncVat || (i += ` ${this._document.$t("vat.exVat", { thing: this._document.$t(`vat.${this.vatType}`) })}`), i.capitalize();
|
|
181
|
+
},
|
|
182
|
+
backgroundSecondary() {
|
|
183
|
+
if (!this.isSmallScreen)
|
|
184
|
+
return { backgroundColor: "transparent" };
|
|
185
|
+
const i = this.backgroundColor.match(/(\d*\.)?\d+/g)[0], e = this.backgroundColor.match(/(\d*\.)?\d+/g)[1], t = this.backgroundColor.match(/(\d*\.)?\d+/g)[2], s = this.backgroundColor.match(/(\d*\.)?\d+/g)[3];
|
|
186
|
+
return {
|
|
187
|
+
backgroundColor: `hsla(${i}, ${e ** 0.9}%, ${t ** 0.9}%, ${s})`
|
|
188
|
+
};
|
|
189
|
+
},
|
|
190
|
+
isSmallScreen() {
|
|
191
|
+
return this.parentSize.width <= 576;
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
methods: {
|
|
195
|
+
priceFormat: d,
|
|
196
|
+
scrollToPricing() {
|
|
197
|
+
const i = document.querySelector("#price");
|
|
198
|
+
i && y(i);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
var b = function() {
|
|
203
|
+
var e = this, t = e._self._c;
|
|
204
|
+
return t("section", { staticClass: "summary-bottom-root" }, [t("div", { staticClass: "summary-bottom", style: [
|
|
205
|
+
{
|
|
206
|
+
backgroundColor: e.backgroundColor,
|
|
207
|
+
color: e.tinycolor.readability(e.backgroundColor, "#FFF") > 2.2 ? "#FFF" : "#000"
|
|
208
|
+
},
|
|
209
|
+
e.options.length && {
|
|
210
|
+
overflow: "hidden",
|
|
211
|
+
padding: 0
|
|
212
|
+
}
|
|
213
|
+
] }, [e.options.length ? t("div", { staticClass: "flex items-center justify-end w-full", staticStyle: { height: "108px" } }, [t("div", { staticStyle: { "text-align": "right", padding: "calc(2 * var(--rem))" } }, [t("div", { staticStyle: { "font-size": "calc(1.5 * var(--rem))", "font-weight": "900" } }, [e._v(e._s(e._document.$t("price.proposal")))]), t("div", [e._v(e._s(e._document.$t("summaryBottom.chooseFrom")))])]), t("div", { staticStyle: { "background-color": "hsla(0, 0%, 0%, 0.15)", paadding: "calc(1 * var(--rem)) calc(2 * var(--rem))", height: "100%", display: "inline-flex" } }, [e.base ? t("div", { staticStyle: { display: "flex", "flex-direction": "column", "align-items": "flex-start", "justify-content": "center", padding: "calc(1 * var(--rem)) calc(1 * var(--rem))", "text-align": "left" } }, [t("div", { staticStyle: { "font-weight": "900", "font-size": "calc(1.5 * var(--rem))" } }, [e._v(e._s(e.priceFormat(e.base.prices.total, { currency: e.currency, decimals: 2, hideZeroDecimals: !0 })))]), t("div", [e._v("+ " + e._s(e._document.$tc("summaryBottom.option", { count: e.options.length })))])]) : t("div", { staticStyle: { padding: "calc(2 * var(--rem))", display: "inline-flex", "align-items": "center", "justify-content": "center", "font-weight": "900", "font-size": "calc(2.5 * var(--rem))" } }, [e._v(" " + e._s(e._document.$t("summaryBottom.noOfOptions", { count: e.options.length })) + " ")])]), t("div", { staticStyle: { "background-color": "hsla(0, 0%, 0%, 0.4)", overflow: "hidden", width: "calc(1.5 * var(--rem))", display: "flex", "flex-direction": "column", "justify-content": "center", "align-items": "center", height: "100%", color: "hsla(0, 0%, 100%, 0.2)" } })]) : t("div", { staticClass: "flex justify-between w-full", class: [
|
|
214
|
+
{
|
|
215
|
+
column: e.isSmallScreen,
|
|
216
|
+
sm: e.isSmallScreen
|
|
217
|
+
}
|
|
218
|
+
], staticStyle: { position: "relative" } }, [t("div", { staticClass: "flex flex-col w-full", class: [{ "fixed-price-type-string": e.isSmallScreen }], staticStyle: { "background-color": "hsl(224, 57%, 39%)" }, style: [e.backgroundSecondary] }, [t("div", { staticClass: "price-type-string data-text" }, [e._v(" " + e._s(e.priceTypeString) + " ")]), e.isSmallScreen ? e._e() : t("div", { staticClass: "price-deduction-text" }, [e._v(" " + e._s(e.priceDeductionVatString) + " ")])]), e.priceType.some((s) => ["openAcc", "openAccMaxPrice"].includes(s)) ? t("div", { staticClass: "open-acc-wrapper" }, [e.openAccMaxPrice ? t("div", { staticClass: "open-acc-item" }, [t("div", [e._v(e._s(e._document.$t("price.maxPrice").capitalize()) + " " + e._s(e._document.$t("vat.exVat", { thing: e._document.$t(`vat.${e.vatType}`) })) + ":")]), t("div", [e._v(e._s(e.priceFormat(e.openAccMaxPrice, { currency: e.currency })))])]) : e._e(), t("div", { staticClass: "open-acc-link" }, [e._v(" " + e._s(e._document.$t("see").capitalize()) + " "), t("span", { staticStyle: { color: "inherit", cursor: "pointer" }, on: { click: e.scrollToPricing } }, [t("u", [e._v(e._s(e._document.$t("price.price_plural")))])]), e._v(" " + e._s(e._document.$t("summaryBottom.forDetails")) + " ")])]) : t("div", { staticClass: "flex items-center w-full", class: [{ "justify-end": !e.isSmallScreen }] }, [t("div", { staticClass: "data-text", staticStyle: { "font-size": "calc(2 * var(--rem))", "font-weight": "900", "letter-spacing": "1px", "line-height": "1", "padding-bottom": "calc(0.3 * var(--rem))" } }, [e._v(" " + e._s(e.priceType.includes("approx") ? e._document.$t("approx").capitalize() : "") + " " + e._s(e.priceFormat(e.priceTotal, { currency: e.currency, decimals: 2, hideZeroDecimals: !0 })) + " ")])]), e.isSmallScreen ? t("div", { staticClass: "label-text caps price-deduction-text", staticStyle: { "margin-top": "4px" } }, [e._v(" " + e._s(e.priceDeductionVatString) + " ")]) : e._e()])])]);
|
|
219
|
+
}, C = [], $ = /* @__PURE__ */ n(
|
|
220
|
+
x,
|
|
221
|
+
b,
|
|
222
|
+
C,
|
|
223
|
+
!1,
|
|
224
|
+
null,
|
|
225
|
+
"8ace9bc8",
|
|
226
|
+
null,
|
|
227
|
+
null
|
|
228
|
+
);
|
|
229
|
+
const w = $.exports;
|
|
230
|
+
const T = {
|
|
231
|
+
name: "PriceHeader",
|
|
232
|
+
components: {
|
|
233
|
+
SummaryTop: S,
|
|
234
|
+
SummaryBottom: w,
|
|
235
|
+
BlockMedia: l
|
|
236
|
+
},
|
|
237
|
+
mixins: [c([
|
|
238
|
+
"media",
|
|
239
|
+
"backgroundColor",
|
|
240
|
+
"documentName",
|
|
241
|
+
"showPriceSummary",
|
|
242
|
+
"showLogo",
|
|
243
|
+
"logotype"
|
|
244
|
+
])],
|
|
245
|
+
props: {
|
|
246
|
+
_document: {
|
|
247
|
+
type: Object,
|
|
248
|
+
default: () => ({})
|
|
249
|
+
},
|
|
250
|
+
_value: {
|
|
251
|
+
type: Object,
|
|
252
|
+
default: () => ({})
|
|
253
|
+
},
|
|
254
|
+
hasHover: {
|
|
255
|
+
type: Boolean,
|
|
256
|
+
default: !1
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
computed: {
|
|
260
|
+
internalName: {
|
|
261
|
+
get() {
|
|
262
|
+
return this.documentName;
|
|
263
|
+
},
|
|
264
|
+
set(i) {
|
|
265
|
+
this.documentName = i, this.$emit("input", { key: "data.name", value: u(i).trim().slice(0, 255) });
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
company() {
|
|
269
|
+
return this._document.sender.company;
|
|
270
|
+
},
|
|
271
|
+
prices() {
|
|
272
|
+
return this._document.prices;
|
|
273
|
+
},
|
|
274
|
+
estimatedTimeString() {
|
|
275
|
+
var t, s;
|
|
276
|
+
const { value: i, unitType: e } = ((s = (t = this._document) == null ? void 0 : t.data) == null ? void 0 : s.estimatedTime) || {};
|
|
277
|
+
return !i || !e ? null : this.$tc(`${e}`, { count: i });
|
|
278
|
+
},
|
|
279
|
+
sendAtShowDate() {
|
|
280
|
+
const { sentAt: i, scheduledFirstDelivery: e } = this._document;
|
|
281
|
+
return i || (e ? e.sendAt : null);
|
|
282
|
+
},
|
|
283
|
+
summaryBottom() {
|
|
284
|
+
var s;
|
|
285
|
+
let i = {
|
|
286
|
+
show: !1,
|
|
287
|
+
backgroundColor: this.backgroundColor || this._document.theme.priceSummaryBackground,
|
|
288
|
+
documentCurrency: this._document.currency,
|
|
289
|
+
vatType: this._document.vatType
|
|
290
|
+
}, { showPriceSummary: e } = this;
|
|
291
|
+
typeof e != "boolean" && ({ showPriceSummary: e } = this._document.theme);
|
|
292
|
+
const t = ((s = this._document.packageGroups) == null ? void 0 : s.packages) || [];
|
|
293
|
+
return t.length > 1 ? i = {
|
|
294
|
+
...i,
|
|
295
|
+
show: e,
|
|
296
|
+
base: { prices: this.prices },
|
|
297
|
+
options: t.filter(({ toggable: a }) => a).map(({ prices: a }) => ({ prices: a }))
|
|
298
|
+
} : i = {
|
|
299
|
+
...i,
|
|
300
|
+
show: e && this._document.readPrices && (this.prices.total || this.prices.type.some((a) => ["openAccMaxPrice", "openAcc"].includes(a))),
|
|
301
|
+
base: { prices: this.prices }
|
|
302
|
+
}, this.canEdit && e && (i.show = !0), i.documentCurrency || (i.show = !1), i;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
};
|
|
306
|
+
var k = function() {
|
|
307
|
+
var s, a;
|
|
308
|
+
var e = this, t = e._self._c;
|
|
309
|
+
return t("div", [t("div", { staticClass: "doc-jumbotron-wrapper" }, [t("BlockMedia", { staticClass: "price-media-wrapper", attrs: { media: {
|
|
310
|
+
...e.media,
|
|
311
|
+
resourceUrl: ((s = e.media) == null ? void 0 : s.resourceUrl) || e._document.theme.background,
|
|
312
|
+
overlayColor: ((a = e.media) == null ? void 0 : a.overlayColor) || e._document.theme.backgroundFilter
|
|
313
|
+
} } }), t("SummaryTop", { attrs: { _document: e._document, "show-logo": e.showLogo, logotype: e.logotype, "company-logotype": e.company.logotype, "sender-name": e.company.name, "doc-type": e._document.docNumber.series, "doc-name": e.internalName, "doc-number": e._document.docNumber.value, "sent-at": e.sendAtShowDate, "expires-at": e._document.expiresAt, "estimated-time": e.estimatedTimeString, "has-hover": e.hasHover }, on: { "update:showLogo": function(o) {
|
|
314
|
+
e.showLogo = o;
|
|
315
|
+
}, "update:show-logo": function(o) {
|
|
316
|
+
e.showLogo = o;
|
|
317
|
+
}, "update:logotype": function(o) {
|
|
318
|
+
e.logotype = o;
|
|
319
|
+
}, "update:docName": function(o) {
|
|
320
|
+
e.internalName = o;
|
|
321
|
+
}, "update:doc-name": function(o) {
|
|
322
|
+
e.internalName = o;
|
|
323
|
+
} } })], 1), e.summaryBottom.show ? t("SummaryBottom", e._b({ attrs: { _document: e._document } }, "SummaryBottom", e.summaryBottom, !1)) : e._e()], 1);
|
|
324
|
+
}, A = [], B = /* @__PURE__ */ n(
|
|
325
|
+
T,
|
|
326
|
+
k,
|
|
327
|
+
A,
|
|
328
|
+
!1,
|
|
329
|
+
null,
|
|
330
|
+
"4a30cbe0",
|
|
331
|
+
null,
|
|
332
|
+
null
|
|
333
|
+
);
|
|
334
|
+
const R = B.exports;
|
|
335
|
+
export {
|
|
336
|
+
R as default
|
|
337
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as u, p as h,
|
|
2
|
-
import { d as p } from "./CDropdownItem-
|
|
1
|
+
import { g as u, p as h, f, i as d, n as m } from "./main-5532481e.js";
|
|
2
|
+
import { d as p } from "./CDropdownItem-79c8dc70.js";
|
|
3
3
|
import { m as y, a as g } from "./vuex.esm-4a0fff7c.js";
|
|
4
4
|
const A = {
|
|
5
5
|
name: "SearchApi",
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { n as s, c as o, e as i } from "./main-5532481e.js";
|
|
2
|
+
const l = {
|
|
3
|
+
// eslint-disable-next-line vue/multi-word-component-names
|
|
4
|
+
name: "Setup",
|
|
5
|
+
props: {
|
|
6
|
+
partnerName: {
|
|
7
|
+
type: String,
|
|
8
|
+
default: "Partner"
|
|
9
|
+
},
|
|
10
|
+
closeFunc: {
|
|
11
|
+
type: Function,
|
|
12
|
+
default: () => {
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
computed: {
|
|
17
|
+
baseAppUrl() {
|
|
18
|
+
var n, r;
|
|
19
|
+
return ((r = (n = window.location) == null ? void 0 : n.origin) == null ? void 0 : r.startsWith("http://localhost:")) ? "http://localhost:8080" : o.baseUrl;
|
|
20
|
+
},
|
|
21
|
+
iframeUrl() {
|
|
22
|
+
return `${this.baseAppUrl}/partner/connect?partnerName=${this.partnerName}`;
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
created() {
|
|
26
|
+
window.addEventListener("message", this.onReceiveMessage);
|
|
27
|
+
},
|
|
28
|
+
beforeDestroy() {
|
|
29
|
+
window.removeEventListener("message", this.onReceiveMessage);
|
|
30
|
+
},
|
|
31
|
+
methods: {
|
|
32
|
+
onReceiveMessage({ data: e, origin: n, source: r }) {
|
|
33
|
+
var t;
|
|
34
|
+
n === this.baseAppUrl && ((e == null ? void 0 : e.type) === "channelPartnerConnect" && (r == null || r.postMessage({ type: "readyForPartnerConnect" }, n)), (e == null ? void 0 : e.type) === "partnerUserConnect" && (i.trigger("account:userConnect", e == null ? void 0 : e.value), (t = this.closeFunc) == null || t.call(this)));
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
var c = function() {
|
|
39
|
+
var n = this, r = n._self._c;
|
|
40
|
+
return r("iframe", { staticClass: "w-full h-full", attrs: { title: "Partner Connect", src: n.iframeUrl, frameborder: "0" } });
|
|
41
|
+
}, p = [], a = /* @__PURE__ */ s(
|
|
42
|
+
l,
|
|
43
|
+
c,
|
|
44
|
+
p,
|
|
45
|
+
!1,
|
|
46
|
+
null,
|
|
47
|
+
null,
|
|
48
|
+
null,
|
|
49
|
+
null
|
|
50
|
+
);
|
|
51
|
+
const m = a.exports;
|
|
52
|
+
export {
|
|
53
|
+
m as default
|
|
54
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { m as c } from "./mapFormMixin-
|
|
3
|
-
import g from "./Index-
|
|
4
|
-
import "./DocModalBase-
|
|
5
|
-
import "./DocumentLayout-
|
|
6
|
-
import "./CDropdownItem-
|
|
1
|
+
import { f as m, A as o, n as v } from "./main-5532481e.js";
|
|
2
|
+
import { m as c } from "./mapFormMixin-218f9749.js";
|
|
3
|
+
import g from "./Index-01a3b6ed.js";
|
|
4
|
+
import "./DocModalBase-22abfff9.js";
|
|
5
|
+
import "./DocumentLayout-02c32058.js";
|
|
6
|
+
import "./CDropdownItem-79c8dc70.js";
|
|
7
7
|
const p = {
|
|
8
8
|
i18nOptions: {
|
|
9
9
|
namespaces: "terms",
|
|
@@ -91,17 +91,17 @@ var u = function() {
|
|
|
91
91
|
} } }, [t._v(t._s(t.$t("notSet")))]), t.terms.ids.length ? t._e() : e("CDropdownItem", { attrs: { disabled: "" } }, [t._v(t._s(t.$t("noResults")))])], 2), t.viewSettings.isPublicForm ? e("CCallout", { staticStyle: { margin: "1em 0" }, attrs: { title: t.$t("publicFormCalloutTitle"), size: "small" } }, [t._v(" " + t._s(t.$t("publicFormCallout")) + " ")]) : t._e(), t.term ? e("TermsDisclaimer", { attrs: { _document: t._document, "term-type": t.term.type, href: t.term.href, text: t.term.text, file: t.term.file }, scopedSlots: t._u([{ key: "default", fn: function({ openTerms: a }) {
|
|
92
92
|
return [e("CButton", { staticStyle: { "margin-top": "5px" }, attrs: { type: "none", pattern: "secondary", size: "small", "icon-left": "eye" }, on: { click: a } }, [t._v(" " + t._s(t.$t("show")) + " ")])];
|
|
93
93
|
} }], null, !1, 1475186016) }) : t._e()], 1);
|
|
94
|
-
},
|
|
94
|
+
}, f = [], h = /* @__PURE__ */ v(
|
|
95
95
|
p,
|
|
96
96
|
u,
|
|
97
|
-
|
|
97
|
+
f,
|
|
98
98
|
!1,
|
|
99
99
|
null,
|
|
100
|
-
"
|
|
100
|
+
"d64f938f",
|
|
101
101
|
null,
|
|
102
102
|
null
|
|
103
103
|
);
|
|
104
|
-
const C =
|
|
104
|
+
const C = h.exports;
|
|
105
105
|
export {
|
|
106
106
|
C as default
|
|
107
107
|
};
|
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
import { h as
|
|
2
|
-
import { C as l } from "./ColorPicker-
|
|
3
|
-
import { n as
|
|
4
|
-
const
|
|
5
|
-
if (!o || !o.startsWith("https://images.unsplash.com/") || !Object.keys(e || {}).length)
|
|
6
|
-
return o;
|
|
7
|
-
const t = new URL(o), r = new URLSearchParams(t.search), n = ["h", "w", "crop", "fm", "q", "fit", "dpi"];
|
|
8
|
-
return Object.keys(e).forEach((s) => {
|
|
9
|
-
n.includes(s) && r.set(s, e[s]);
|
|
10
|
-
}), t.search = r.toString(), t.toString();
|
|
11
|
-
};
|
|
12
|
-
const c = {
|
|
1
|
+
import { h as n } from "./color-71c20583.js";
|
|
2
|
+
import { C as l } from "./ColorPicker-c61cd86f.js";
|
|
3
|
+
import { n as s } from "./main-5532481e.js";
|
|
4
|
+
const a = {
|
|
13
5
|
name: "ThemeColorRow",
|
|
14
6
|
components: {
|
|
15
7
|
ColorPicker: l
|
|
@@ -38,7 +30,7 @@ const c = {
|
|
|
38
30
|
return this.value;
|
|
39
31
|
},
|
|
40
32
|
set(o) {
|
|
41
|
-
this.$emit("change",
|
|
33
|
+
this.$emit("change", n(o.hsl));
|
|
42
34
|
}
|
|
43
35
|
}
|
|
44
36
|
},
|
|
@@ -48,25 +40,24 @@ const c = {
|
|
|
48
40
|
}
|
|
49
41
|
}
|
|
50
42
|
};
|
|
51
|
-
var
|
|
43
|
+
var i = function() {
|
|
52
44
|
var e = this, t = e._self._c;
|
|
53
45
|
return t("div", { ref: "themeContainer", staticClass: "theme-row" }, [t("div", { staticStyle: { flex: "1 1 auto" } }, [e._t("default")], 2), e.showReset ? t("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.$t("reset"), expression: "$t('reset')" }], staticClass: "reset-button", on: { click: e.reset } }, [t("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [t("path", { attrs: { d: "M2.5 2v6h6M2.66 15.57a10 10 0 1 0 .57-8.38" } })])]) : e._e(), t("v-popover", { attrs: { container: e.$refs.themeContainer, "boundaries-element": e.$refs.button, placement: e.placement, "popover-class": "popover-color-picker no-tip", "popover-inner-class": "color-wrapper", trigger: "click" } }, [t("div", { ref: "button" }, [e._t("button", function() {
|
|
54
46
|
return [t("div", { staticClass: "current-color-icon", style: { backgroundColor: e.internalValue } })];
|
|
55
47
|
})], 2), t("ColorPicker", e._b({ ref: "colorPicker", attrs: { slot: "popover" }, slot: "popover", model: { value: e.internalValue, callback: function(r) {
|
|
56
48
|
e.internalValue = r;
|
|
57
49
|
}, expression: "internalValue" } }, "ColorPicker", e.pickerOptions, !1))], 1)], 1);
|
|
58
|
-
},
|
|
50
|
+
}, c = [], p = /* @__PURE__ */ s(
|
|
51
|
+
a,
|
|
52
|
+
i,
|
|
59
53
|
c,
|
|
60
|
-
p,
|
|
61
|
-
u,
|
|
62
54
|
!1,
|
|
63
55
|
null,
|
|
64
|
-
"
|
|
56
|
+
"066e85b2",
|
|
65
57
|
null,
|
|
66
58
|
null
|
|
67
59
|
);
|
|
68
|
-
const v =
|
|
60
|
+
const v = p.exports;
|
|
69
61
|
export {
|
|
70
|
-
v as T
|
|
71
|
-
f as g
|
|
62
|
+
v as T
|
|
72
63
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as i } from "./mapFormMixin-
|
|
2
|
-
import { I as t } from "./InputToggleRow-
|
|
3
|
-
import { n as l } from "./main-
|
|
1
|
+
import { m as i } from "./mapFormMixin-218f9749.js";
|
|
2
|
+
import { I as t } from "./InputToggleRow-ee713437.js";
|
|
3
|
+
import { n as l } from "./main-5532481e.js";
|
|
4
4
|
const s = {
|
|
5
5
|
name: "ToggleBinding",
|
|
6
6
|
i18nOptions: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import l from "./Index-
|
|
2
|
-
import {
|
|
1
|
+
import l from "./Index-13b65d9b.js";
|
|
2
|
+
import { f as o, h as c, B as d, n as m } from "./main-5532481e.js";
|
|
3
3
|
import { m as p } from "./vuex.esm-4a0fff7c.js";
|
|
4
|
-
import "./tinycolor-
|
|
4
|
+
import "./tinycolor-ca02e626.js";
|
|
5
5
|
const u = {
|
|
6
6
|
i18nOptions: {
|
|
7
7
|
namespaces: "uploadModal",
|
|
@@ -86,7 +86,7 @@ var _ = function() {
|
|
|
86
86
|
h,
|
|
87
87
|
!1,
|
|
88
88
|
null,
|
|
89
|
-
"
|
|
89
|
+
"a82ceaee",
|
|
90
90
|
null,
|
|
91
91
|
null
|
|
92
92
|
);
|