@cling-se/widget 0.9.4 → 0.9.6
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-d472aa84.js → AddClientCallout-d8f5bc53.js} +5 -5
- package/dist/{AnswerModal-06487437.js → AnswerModal-5f83562b.js} +248 -248
- package/dist/{AttachmentItem-d98488ee.js → AttachmentItem-79eb718b.js} +8 -8
- package/dist/{BaseDatePicker-8c098701.js → BaseDatePicker-ae7aebf1.js} +43 -43
- package/dist/{BaseInput-2723d613.js → BaseInput-2c476604.js} +1 -1
- package/dist/{BaseUpload-996d74b3.js → BaseUpload-9e15729d.js} +3 -3
- package/dist/{BlockMedia-00907fb6.js → BlockMedia-a3f00a2f.js} +1 -1
- package/dist/{CCallout-ffa95028.js → CCallout-04e2c8c6.js} +6 -6
- package/dist/{CDropdownItem-74672842.js → CDropdownItem-5532f8af.js} +76 -75
- package/dist/{CField-06dd50f1.js → CField-0bc9de28.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-f49d85e0.js → CSlider.vue_vue_type_style_index_0_lang-d9c2f582.js} +1 -1
- package/dist/{ClientAutocomplete-f65643dd.js → ClientAutocomplete-e13c2753.js} +4 -4
- package/dist/{ClientModal-d276aabd.js → ClientModal-da9fddf9.js} +16 -16
- package/dist/{ColorPicker-4f6b70af.js → ColorPicker-06b731b7.js} +2 -2
- package/dist/{CompanyModal-30c54ce3.js → CompanyModal-b7c42f2a.js} +8 -8
- package/dist/{ContentWrapper-d5653fef.js → ContentWrapper-fe4a67bc.js} +19 -19
- package/dist/{CoverBlockSettings-2335f3a8.js → CoverBlockSettings-2024e993.js} +19 -19
- package/dist/DocForm-af03179d.js +7012 -0
- package/dist/{DocFormSend-d0c6fa1d.js → DocFormSend-44161541.js} +14 -14
- package/dist/{DocModalBase-f4915a62.js → DocModalBase-9eb0f26f.js} +4 -4
- package/dist/DocPrint-92d12950.js +222 -0
- package/dist/{DocReceipt-d192000e.js → DocReceipt-4df57e1d.js} +1 -1
- package/dist/{DocSendReminder-06d5b34c.js → DocSendReminder-041af744.js} +1 -1
- package/dist/{DocTextEditor-c6d1df3c.js → DocTextEditor-b07dd391.js} +19 -19
- package/dist/{DocTimeline-b4c20f93.js → DocTimeline-2ae2ca63.js} +7 -7
- package/dist/{DocumentClient-c2319f00.js → DocumentClient-3a1aecf2.js} +8 -6
- package/dist/{formValidationMixin-4920ab53.js → DocumentLayout-ae49ac7a.js} +1617 -1709
- package/dist/{DocumentLogotype-1efd1ce9.js → DocumentLogotype-91436523.js} +3 -3
- package/dist/{EmbedInput-654c0477.js → EmbedInput-05e22228.js} +2 -2
- package/dist/{EmbedSettings-b81ec734.js → EmbedSettings-9dabb6d4.js} +10 -10
- package/dist/ErrorCallout-c7f69cd9.js +30 -0
- package/dist/{FilePreviewModal-895bd1bd.js → FilePreviewModal-167a40c8.js} +8 -7
- package/dist/{HeaderSettings-c6dac755.js → HeaderSettings-e9b177e0.js} +29 -29
- package/dist/{ImageSelectModal-7cece54e.js → ImageSelectModal-8565c461.js} +11 -11
- package/dist/{ImageUploadWrapper-53afd31d.js → ImageUploadWrapper-1e61e8da.js} +3 -3
- package/dist/{Index-5cc51230.js → Index-0708b238.js} +12 -12
- package/dist/{Index-82574a41.js → Index-0799eaba.js} +18 -19
- package/dist/{Index-1a7e98d7.js → Index-1f3de208.js} +11 -10
- package/dist/{Index-d8879ca9.js → Index-27a05d76.js} +2 -2
- package/dist/{Index-b15cfd62.js → Index-43899daf.js} +13 -13
- package/dist/{Index-c4de05aa.js → Index-4446581c.js} +10 -9
- package/dist/{Index-01c63c88.js → Index-49766088.js} +2 -2
- package/dist/{Index-caf5cf44.js → Index-630600c9.js} +94 -94
- package/dist/{Index-b14d0f03.js → Index-6b63686e.js} +4 -4
- package/dist/{Index-34c84bab.js → Index-716dbe24.js} +10 -10
- package/dist/{Index-f935c492.js → Index-72bcad54.js} +10 -10
- package/dist/{Index-61f7dc92.js → Index-84820d3d.js} +2 -2
- package/dist/{Index-e749f6f1.js → Index-85e8119e.js} +14 -14
- package/dist/Index-88e175bf.js +54 -0
- package/dist/{Index-e45a0c32.js → Index-89addabd.js} +27 -27
- package/dist/{Index-701f0d05.js → Index-8b29bd10.js} +2 -2
- package/dist/{Index-d45a1eff.js → Index-8d1c62be.js} +4 -4
- package/dist/{Index-63805642.js → Index-96a07794.js} +9 -9
- package/dist/{Index-60fc8a6e.js → Index-9bbfa37b.js} +3 -3
- package/dist/{Index-7443e91c.js → Index-a7a6f91c.js} +31 -31
- package/dist/{Index-8bca2d87.js → Index-a987a099.js} +9 -9
- package/dist/{Index-98e8bb86.js → Index-b6b60b81.js} +8 -8
- package/dist/{Index-5e35f4a2.js → Index-ba0c8eaa.js} +8 -8
- package/dist/{Index-9aaf8b90.js → Index-c038406f.js} +26 -26
- package/dist/Index-c53330d6.js +79 -0
- package/dist/{Index-9233cc83.js → Index-c58260f8.js} +15 -15
- package/dist/{Index-2535f58f.js → Index-c893d091.js} +2 -2
- package/dist/{Index-1d361d01.js → Index-ca112d97.js} +4 -4
- package/dist/{Index-cd76b120.js → Index-e728d2f7.js} +7 -7
- package/dist/{Index-6ef78b7a.js → Index-ecf93915.js} +2 -2
- package/dist/{Index-c7e68382.js → Index-eda700f4.js} +4 -4
- package/dist/{Index-82b5de12.js → Index-ee75e74a.js} +4 -4
- package/dist/{Index-c67218ce.js → Index-f75b1dd5.js} +15 -15
- package/dist/{Index-66c8cbfa.js → Index-fc722547.js} +4 -4
- package/dist/{InputToggleRow-9d8a7da4.js → InputToggleRow-483acc75.js} +5 -5
- package/dist/{IsPremiumPreStep-3a087524.js → IsPremiumPreStep-aa08f8c8.js} +856 -432
- package/dist/{MediaWrapper-d4a4b66f.js → MediaWrapper-ed7db800.js} +3 -3
- package/dist/{NotBindingText-b199006c.js → NotBindingText-a99b4f85.js} +2 -2
- package/dist/{PackageGroup-37ac99b1.js → PackageGroup-8cae78f1.js} +56 -56
- package/dist/{PdfTerms-8b52bb6e.js → PdfTerms-9c1c806e.js} +8 -7
- package/dist/{PdfViewer-38bd8439.js → PdfViewer-1227dda6.js} +5 -4
- package/dist/{PlainHtml-9174cbf6.js → PlainHtml-647219e9.js} +1 -1
- package/dist/PriceHeader-cfb22169.js +337 -0
- package/dist/{SearchApi-2e286be6.js → SearchApi-c0067742.js} +2 -2
- package/dist/{TermsSettings-c74eec79.js → TermsSettings-a0282ad7.js} +11 -11
- package/dist/{ThemeColorRow-3558367b.js → ThemeColorRow-71af67bd.js} +3 -3
- package/dist/{ToggleBinding-6c9c1ac3.js → ToggleBinding-16c2879e.js} +3 -3
- package/dist/{UploadModal-6d0abd77.js → UploadModal-084e3c2e.js} +16 -16
- package/dist/{VideoPlayerInput-77cd86aa.js → VideoPlayerInput-fe87698e.js} +3 -3
- package/dist/{VideoPlayerSettings-b7eb781c.js → VideoPlayerSettings-06cfaccc.js} +12 -12
- package/dist/VideoSelectModal-fa81fb92.js +111 -0
- package/dist/{answerDocumentMixin-66023e62.js → answerDocumentMixin-ef48c7eb.js} +3 -3
- package/dist/{cssMode-8552fc56.js → cssMode-916ae2c1.js} +7 -7
- package/dist/dom-068d1a7b.js +59 -0
- package/dist/{focusDrawerMixin-67462262.js → focusDrawerMixin-24942dd1.js} +1 -1
- package/dist/{formComponentsInstall-ad9c2a83.js → formComponentsInstall-2dfa2def.js} +25 -25
- package/dist/formValidationMixin-82793652.js +49 -0
- package/dist/{freemarker2-7e10a65d.js → freemarker2-6fd30e77.js} +7 -7
- package/dist/{handlebars-8045bfa8.js → handlebars-ff07e526.js} +7 -7
- package/dist/{html-8afcb633.js → html-5ad143f9.js} +7 -7
- package/dist/{htmlMode-1a2d1b48.js → htmlMode-adc834ff.js} +7 -7
- package/dist/{index-3d6d7a03.js → index-045c9c73.js} +31 -31
- package/dist/{index-c48c5eb4.js → index-1f068e8e.js} +3 -3
- package/dist/{index-bf93d7c2.js → index-6eda8be0.js} +7 -7
- package/dist/{index-f805bfce.js → index-b3fb8f92.js} +45 -45
- package/dist/index.es.js +8 -8
- package/dist/index.umd.js +565 -561
- package/dist/{javascript-dad5561e.js → javascript-9c241e8d.js} +8 -8
- package/dist/{jsonMode-ce09245f.js → jsonMode-36a8e1fd.js} +7 -7
- package/dist/{liquid-05247459.js → liquid-da99d7af.js} +7 -7
- package/dist/{main-04025a56.js → main-2dc98356.js} +15380 -12891
- package/dist/{mapFormMixin-8d073f99.js → mapFormMixin-4ac649c2.js} +1 -1
- package/dist/{publicSenderState-97108de1.js → publicSenderState-1db8a50c.js} +1 -1
- package/dist/{python-3f3513c5.js → python-15d86041.js} +7 -7
- package/dist/{razor-1f3e9c4e.js → razor-19e0207f.js} +7 -7
- package/dist/simplebar.min-9f5e0b8a.js +71 -0
- package/dist/style.css +2 -2
- package/dist/{template-42a1d852.js → template-069f0890.js} +1 -1
- package/dist/{throttle-a2c1f34d.js → throttle-f8ef830f.js} +2 -2
- package/dist/{tinycolor-88fa380f.js → tinycolor-78c3e3d5.js} +1 -1
- package/dist/{FormInputRow-9819eb71.js → tippy.esm-d2a6f864.js} +285 -285
- package/dist/{tsMode-4c026047.js → tsMode-7fcdffc4.js} +7 -7
- package/dist/{typescript-baf56f67.js → typescript-f492bdab.js} +7 -7
- package/dist/{utils-6670dea6.js → utils-aab0bc31.js} +1 -1
- package/dist/{vuedraggable.umd-d7138234.js → vuedraggable.umd-eb01eee5.js} +41 -41
- package/dist/{xml-ffc6146a.js → xml-976a8723.js} +7 -7
- package/package.json +3 -2
- package/stats.html +1 -1
- package/vite-plugin-library-asset-external/index.js +134 -0
- package/dist/DocForm-9ca24de4.js +0 -6772
- package/dist/ErrorCallout-60d0b3ab.js +0 -30
- package/dist/Index-b020a80c.js +0 -47
- package/dist/Index-e80f5f9c.js +0 -79
- package/dist/PriceHeader-e357afe9.js +0 -336
- package/dist/VideoSelectModal-d2299552.js +0 -111
- package/dist/simplebar.min-3af55aab.js +0 -2429
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
import { m as c } from "./mapFormMixin-4ac649c2.js";
|
|
2
|
+
import { B as l } from "./BlockMedia-a3f00a2f.js";
|
|
3
|
+
import { n, b as r, q as d, a0 as u } from "./main-2dc98356.js";
|
|
4
|
+
import { T as m } from "./DocTextEditor-b07dd391.js";
|
|
5
|
+
import { i as p } from "./i18nMessages-45c6bfd6.js";
|
|
6
|
+
import { t as _ } from "./tinycolor-78c3e3d5.js";
|
|
7
|
+
import { s as y } from "./dom-068d1a7b.js";
|
|
8
|
+
import "./color-71c20583.js";
|
|
9
|
+
import "./tippy.esm-d2a6f864.js";
|
|
10
|
+
import "./ColorPicker-06b731b7.js";
|
|
11
|
+
import "./DocumentLayout-ae49ac7a.js";
|
|
12
|
+
import "./CDropdownItem-5532f8af.js";
|
|
13
|
+
import "./CSlider.vue_vue_type_style_index_0_lang-d9c2f582.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-91436523.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, d as f, e as d, n as m } from "./main-
|
|
2
|
-
import { d as p } from "./CDropdownItem-
|
|
1
|
+
import { g as u, p as h, d as f, e as d, n as m } from "./main-2dc98356.js";
|
|
2
|
+
import { d as p } from "./CDropdownItem-5532f8af.js";
|
|
3
3
|
import { m as y, a as g } from "./vuex.esm-4a0fff7c.js";
|
|
4
4
|
const A = {
|
|
5
5
|
name: "SearchApi",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as m,
|
|
2
|
-
import { m as c } from "./mapFormMixin-
|
|
3
|
-
import g from "./Index-
|
|
4
|
-
import "./DocModalBase-
|
|
5
|
-
import "./
|
|
6
|
-
import "./CDropdownItem-
|
|
1
|
+
import { d as m, y as o, n as v } from "./main-2dc98356.js";
|
|
2
|
+
import { m as c } from "./mapFormMixin-4ac649c2.js";
|
|
3
|
+
import g from "./Index-85e8119e.js";
|
|
4
|
+
import "./DocModalBase-9eb0f26f.js";
|
|
5
|
+
import "./DocumentLayout-ae49ac7a.js";
|
|
6
|
+
import "./CDropdownItem-5532f8af.js";
|
|
7
7
|
const p = {
|
|
8
8
|
i18nOptions: {
|
|
9
9
|
namespaces: "terms",
|
|
@@ -83,7 +83,7 @@ const p = {
|
|
|
83
83
|
var u = function() {
|
|
84
84
|
var t = this, e = t._self._c;
|
|
85
85
|
return e("div", { staticClass: "d-root" }, [e("div", { staticClass: "d-option-title" }, [t._v(" " + t._s(t.$t("title")) + " "), e("svg", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.$t("tooltip"), expression: "$t('tooltip')" }], attrs: { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2.5", "stroke-linecap": "square", "stroke-linejoin": "bevel" } }, [e("circle", { attrs: { cx: "12", cy: "12", r: "10" } }), e("line", { attrs: { x1: "12", y1: "16", x2: "12", y2: "12" } }), e("line", { attrs: { x1: "12", y1: "8", x2: "12", y2: "8" } })])]), e("CDropdown", { attrs: { value: t.term ? t.term.id : null, expanded: "" } }, [e("CButton", { staticClass: "is-left", staticStyle: { width: "100%" }, attrs: { slot: "trigger", "dropdown-icon": !0 }, slot: "trigger" }, [e("div", { staticClass: "truncate-text" }, [t._v(" " + t._s(t.truncate(t.term && t.terms.ids.length && t.terms.data[t.term.termId].name || t.$t("noneSelected"), 20)) + " ")])]), t._l(t.terms.ids, function(a) {
|
|
86
|
-
return e("CDropdownItem", { key: a, staticStyle: { "padding-right": "
|
|
86
|
+
return e("CDropdownItem", { key: a, staticStyle: { "padding-right": "calc(1 * var(--rem))" }, attrs: { value: a }, on: { click: function(n) {
|
|
87
87
|
t.term = t.terms.data[a];
|
|
88
88
|
} } }, [e("div", { staticClass: "truncate-text" }, [t._v(" " + t._s(t.terms.data[a].name) + " ")])]);
|
|
89
89
|
}), e("CDropdownItem", { attrs: { value: null }, on: { click: function(a) {
|
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
import { h as a } from "./color-71c20583.js";
|
|
2
|
-
import { C as l } from "./ColorPicker-
|
|
3
|
-
import { n as i } from "./main-
|
|
2
|
+
import { C as l } from "./ColorPicker-06b731b7.js";
|
|
3
|
+
import { n as i } from "./main-2dc98356.js";
|
|
4
4
|
const f = (o, e = {}) => {
|
|
5
5
|
if (!o || !o.startsWith("https://images.unsplash.com/") || !Object.keys(e || {}).length)
|
|
6
6
|
return o;
|
|
@@ -61,7 +61,7 @@ var p = function() {
|
|
|
61
61
|
u,
|
|
62
62
|
!1,
|
|
63
63
|
null,
|
|
64
|
-
"
|
|
64
|
+
"066e85b2",
|
|
65
65
|
null,
|
|
66
66
|
null
|
|
67
67
|
);
|
|
@@ -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-4ac649c2.js";
|
|
2
|
+
import { I as t } from "./InputToggleRow-483acc75.js";
|
|
3
|
+
import { n as l } from "./main-2dc98356.js";
|
|
4
4
|
const s = {
|
|
5
5
|
name: "ToggleBinding",
|
|
6
6
|
i18nOptions: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import l from "./Index-
|
|
2
|
-
import { d as o,
|
|
3
|
-
import { m } from "./vuex.esm-4a0fff7c.js";
|
|
4
|
-
import "./tinycolor-
|
|
1
|
+
import l from "./Index-ecf93915.js";
|
|
2
|
+
import { d as o, h as c, z as d, n as m } from "./main-2dc98356.js";
|
|
3
|
+
import { m as p } from "./vuex.esm-4a0fff7c.js";
|
|
4
|
+
import "./tinycolor-78c3e3d5.js";
|
|
5
5
|
const u = {
|
|
6
6
|
i18nOptions: {
|
|
7
7
|
namespaces: "uploadModal",
|
|
@@ -27,7 +27,7 @@ const u = {
|
|
|
27
27
|
};
|
|
28
28
|
},
|
|
29
29
|
computed: {
|
|
30
|
-
...
|
|
30
|
+
...p({
|
|
31
31
|
user: "application/user"
|
|
32
32
|
})
|
|
33
33
|
},
|
|
@@ -48,15 +48,15 @@ const u = {
|
|
|
48
48
|
_end: 20
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
|
-
this.recentFiles = (e || []).map(({ displayName: t, mime: s, id:
|
|
51
|
+
this.recentFiles = (e || []).map(({ displayName: t, mime: s, id: r, createdAt: n, url: i }) => ({
|
|
52
52
|
name: t,
|
|
53
53
|
// TODO, could refactor to only 'displayName'
|
|
54
54
|
displayName: t,
|
|
55
55
|
// file-uploader-component uses displayName, therefore needed for select
|
|
56
56
|
mime: s,
|
|
57
|
-
id:
|
|
58
|
-
createdAt:
|
|
59
|
-
url:
|
|
57
|
+
id: r,
|
|
58
|
+
createdAt: n,
|
|
59
|
+
url: i
|
|
60
60
|
}));
|
|
61
61
|
} catch (e) {
|
|
62
62
|
c(e);
|
|
@@ -71,26 +71,26 @@ const u = {
|
|
|
71
71
|
};
|
|
72
72
|
var _ = function() {
|
|
73
73
|
var e = this, t = e._self._c;
|
|
74
|
-
return t("div", { staticClass: "
|
|
74
|
+
return t("div", { staticClass: "bg-white rounded-xl text-base max-h-[90%] w-[460px] max-w-full" }, [t("div", { staticClass: "p-6" }, [t("div", { staticClass: "p-8 text-center text-gray-700 border border-gray-200 rounded-lg cursor-pointer bg-gray-50 hover:bg-gray-100 hover:border-primary-500/20 active:bg-gray-200", on: { click: function(s) {
|
|
75
75
|
return e.$emit("open-picker");
|
|
76
|
-
} } }, [e._v(" " + e._s(e.$t("upPlaceholder")) + " "), t("span", {
|
|
76
|
+
} } }, [e._v(" " + e._s(e.$t("upPlaceholder")) + " "), t("span", { staticClass: "underline text-primary-500" }, [e._v(e._s(e.$t("_common:browse")))])])]), e.isLoading || e.recentFiles.length ? t("div", { staticClass: "pb-4 text-left h-[400px] overflow-auto max-h-[50vh] border-t border-gray-200" }, [t("div", { staticStyle: { "font-size": "15px", padding: "1em", margin: "0px 1em", color: "hsl(0, 0%, 30%)" } }, [e._v(" " + e._s(e.$t("recentlyUsed")) + " ")]), e.isLoading ? e._l(6, function(s) {
|
|
77
77
|
return t("ContentPlaceholders", { key: s, staticClass: "flex items-center w-full up-recent-item", attrs: { animated: !1 } }, [t("ContentPlaceholdersText", { staticStyle: { width: "37px", height: "38px", "font-size": "24px", "margin-right": "4px" }, attrs: { lines: 1 } }), t("div", { staticClass: "flex-grow" }, [t("ContentPlaceholdersText", { attrs: { lines: 1 } }), t("ContentPlaceholdersText", { staticClass: "up-recent-item-hint", staticStyle: { "max-width": "50%" }, attrs: { lines: 1 } })], 1)], 1);
|
|
78
78
|
}) : e._l(e.recentFiles, function(s) {
|
|
79
|
-
return t("div", { key: s.id, staticClass: "flex items-center w-full up-recent-item", on: { click: function(
|
|
79
|
+
return t("div", { key: s.id, staticClass: "flex items-center w-full up-recent-item", on: { click: function(r) {
|
|
80
80
|
return e.onSelect(s);
|
|
81
81
|
} } }, [t("FileIcon", { staticStyle: { "margin-right": "1em" }, attrs: { mime: s.mime, size: 30 } }), t("div", { staticClass: "truncate-text" }, [t("div", { staticClass: "truncate-text", staticStyle: { "font-weight": "500" } }, [e._v(" " + e._s(s.name) + " ")]), t("div", { staticClass: "up-recent-item-hint" }, [e._v(" " + e._s(e.$formatDate(s.createdAt)) + " ")])])], 1);
|
|
82
82
|
})], 2) : e._e()]);
|
|
83
|
-
},
|
|
83
|
+
}, h = [], f = /* @__PURE__ */ m(
|
|
84
84
|
u,
|
|
85
85
|
_,
|
|
86
|
-
|
|
86
|
+
h,
|
|
87
87
|
!1,
|
|
88
88
|
null,
|
|
89
|
-
"
|
|
89
|
+
"a82ceaee",
|
|
90
90
|
null,
|
|
91
91
|
null
|
|
92
92
|
);
|
|
93
|
-
const C =
|
|
93
|
+
const C = f.exports;
|
|
94
94
|
export {
|
|
95
95
|
C as default
|
|
96
96
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as a } from "./CDropdownItem-
|
|
2
|
-
import { v as l } from "./utils-
|
|
3
|
-
import { n } from "./main-
|
|
1
|
+
import { d as a } from "./CDropdownItem-5532f8af.js";
|
|
2
|
+
import { v as l } from "./utils-aab0bc31.js";
|
|
3
|
+
import { n } from "./main-2dc98356.js";
|
|
4
4
|
const r = {
|
|
5
5
|
name: "VideoPlayerInput",
|
|
6
6
|
i18nOptions: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import n from "./VideoPlayerInput-
|
|
2
|
-
import { n as s } from "./main-
|
|
3
|
-
import "./CDropdownItem-
|
|
4
|
-
import "./utils-
|
|
1
|
+
import n from "./VideoPlayerInput-fe87698e.js";
|
|
2
|
+
import { n as s } from "./main-2dc98356.js";
|
|
3
|
+
import "./CDropdownItem-5532f8af.js";
|
|
4
|
+
import "./utils-aab0bc31.js";
|
|
5
5
|
const l = {
|
|
6
6
|
i18nOptions: {
|
|
7
7
|
namespaces: "components",
|
|
@@ -41,13 +41,13 @@ const l = {
|
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
var r = function() {
|
|
44
|
-
var
|
|
45
|
-
return
|
|
46
|
-
return
|
|
47
|
-
} } })], 1),
|
|
48
|
-
return
|
|
49
|
-
return
|
|
50
|
-
} } }, [
|
|
44
|
+
var t = this, e = t._self._c;
|
|
45
|
+
return e("div", { staticClass: "d-root" }, [e("div", { staticClass: "d-option" }, [e("div", { staticClass: "d-option-title" }, [t._v(t._s(t.$t("_common:video").capitalize()))]), e("div", { staticClass: "text-gray-600", staticStyle: { "padding-bottom": "1em", "font-size": "15px" } }, [t._v(" " + t._s(t.$t("subTitle")) + " ")]), e("VideoPlayerInput", { attrs: { value: t.video, "is-drawer-mode": !0 }, on: { input: function(i) {
|
|
46
|
+
return t.$emit("input", { key: "video", value: i });
|
|
47
|
+
} } })], 1), e("div", { staticClass: "d-option" }, [e("div", { staticClass: "d-option-title" }, [t._v(t._s(t.$t("_common:size").capitalize()))]), e("div", { staticStyle: { display: "flex", "flex-direction": "row", "flex-wrap": "wrap" } }, t._l(t.sizeOptions, function({ value: i, svg: a }, o) {
|
|
48
|
+
return e("div", { key: o, staticClass: "size-option", on: { click: function(c) {
|
|
49
|
+
return t.$emit("input", { key: "size", value: i });
|
|
50
|
+
} } }, [e("svg", { staticClass: "size-option-image", class: { "is-active": t.size === i }, attrs: { viewBox: "0 0 99 65" }, domProps: { innerHTML: t._s(a) } })]);
|
|
51
51
|
}), 0)])]);
|
|
52
52
|
}, d = [], v = /* @__PURE__ */ s(
|
|
53
53
|
l,
|
|
@@ -55,7 +55,7 @@ var r = function() {
|
|
|
55
55
|
d,
|
|
56
56
|
!1,
|
|
57
57
|
null,
|
|
58
|
-
"
|
|
58
|
+
"2190dbf6",
|
|
59
59
|
null,
|
|
60
60
|
null
|
|
61
61
|
);
|