@cling-se/widget 0.9.3 → 0.9.5
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-746899d9.js → AddClientCallout-e4e9874f.js} +5 -5
- package/dist/{AnswerModal-fdfea0f8.js → AnswerModal-acd3b9c0.js} +248 -248
- package/dist/{AttachmentItem-5671c64d.js → AttachmentItem-34e91526.js} +8 -8
- package/dist/{BaseDatePicker-a9240306.js → BaseDatePicker-581297bc.js} +43 -43
- package/dist/{BaseInput-d3c3688b.js → BaseInput-29d88150.js} +1 -1
- package/dist/{BaseUpload-8e7a2b72.js → BaseUpload-84d3b68b.js} +27 -26
- package/dist/{BlockMedia-b613a2a4.js → BlockMedia-319932b8.js} +1 -1
- package/dist/{CCallout-e9ff903a.js → CCallout-88ae9c08.js} +6 -6
- package/dist/{CDropdownItem-05d84f95.js → CDropdownItem-d46bf062.js} +76 -75
- package/dist/{CField-cd4dcae9.js → CField-be05883b.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-383db616.js → CSlider.vue_vue_type_style_index_0_lang-df4c839e.js} +1 -1
- package/dist/{ClientAutocomplete-421a2216.js → ClientAutocomplete-68f76bfc.js} +4 -4
- package/dist/{ClientModal-11341b1c.js → ClientModal-73086005.js} +16 -16
- package/dist/{ColorPicker-f90939b5.js → ColorPicker-11ee76f0.js} +2 -2
- package/dist/{CompanyModal-2bfd21b8.js → CompanyModal-0fec4480.js} +8 -8
- package/dist/{ContentWrapper-4aae35b2.js → ContentWrapper-fba78b6f.js} +19 -19
- package/dist/{CoverBlockSettings-1f917be3.js → CoverBlockSettings-7ffa15b1.js} +19 -19
- package/dist/{DocForm-0891c6b2.js → DocForm-e56b3a0c.js} +1208 -832
- package/dist/{DocFormSend-2b35999d.js → DocFormSend-cdc4eaf8.js} +14 -14
- package/dist/{DocModalBase-225e2f2d.js → DocModalBase-e473b946.js} +4 -4
- package/dist/DocPrint-6d8b1f14.js +222 -0
- package/dist/{DocReceipt-1391c17a.js → DocReceipt-c8a543f8.js} +1 -1
- package/dist/{DocSendReminder-c488842d.js → DocSendReminder-70effa09.js} +1 -1
- package/dist/{DocTextEditor-2538e1ab.js → DocTextEditor-cce51e7c.js} +19 -19
- package/dist/{DocTimeline-69ada0de.js → DocTimeline-c2cbd773.js} +11 -11
- package/dist/{DocumentClient-74b8f25b.js → DocumentClient-611c8c1c.js} +8 -6
- package/dist/{formValidationMixin-df38771c.js → DocumentLayout-86c367d1.js} +1617 -1709
- package/dist/{DocumentLogotype-e89b53fb.js → DocumentLogotype-441a9fdb.js} +3 -3
- package/dist/{EmbedInput-b7fefe5e.js → EmbedInput-a5938c25.js} +2 -2
- package/dist/{EmbedSettings-4957252f.js → EmbedSettings-141ab53c.js} +10 -10
- package/dist/ErrorCallout-7dea37df.js +30 -0
- package/dist/{FilePreviewModal-75693619.js → FilePreviewModal-875fd8c9.js} +8 -7
- package/dist/{HeaderSettings-9b69eada.js → HeaderSettings-0364b6df.js} +29 -29
- package/dist/{ImageSelectModal-94d4dc7f.js → ImageSelectModal-2d3a69db.js} +11 -11
- package/dist/{ImageUploadWrapper-a144b042.js → ImageUploadWrapper-7c70045f.js} +4 -4
- package/dist/{Index-023c3119.js → Index-006a27da.js} +10 -10
- package/dist/{Index-ec8d534f.js → Index-0313a553.js} +2 -2
- package/dist/{Index-4563d3fa.js → Index-06bd31c3.js} +26 -26
- package/dist/Index-07ae23ce.js +54 -0
- package/dist/{Index-62936c19.js → Index-0f4c9eb4.js} +34 -34
- package/dist/{Index-3dff19dd.js → Index-1e0cf88a.js} +10 -9
- package/dist/{Index-37a9183b.js → Index-1fc54467.js} +4 -4
- package/dist/{Index-abb8c6e4.js → Index-205dd368.js} +14 -14
- package/dist/{Index-b7def77a.js → Index-245f88ff.js} +10 -10
- package/dist/{Index-9a243eb8.js → Index-28bdb859.js} +2 -2
- package/dist/{Index-90492f19.js → Index-2a0c06b1.js} +3 -3
- package/dist/{Index-2cb8fa22.js → Index-3d84a32c.js} +9 -9
- package/dist/{Index-9ffe9766.js → Index-418c517f.js} +4 -4
- package/dist/{Index-f9b5f03c.js → Index-5196628a.js} +27 -27
- package/dist/{Index-dbe97658.js → Index-532b8844.js} +2 -2
- package/dist/{Index-96f39afc.js → Index-53348c92.js} +4 -4
- package/dist/{Index-cec7d4f1.js → Index-54962a1e.js} +15 -15
- package/dist/{Index-a37beb03.js → Index-5de564da.js} +2 -2
- package/dist/{Index-d68a28da.js → Index-6f957f7e.js} +15 -15
- package/dist/{Index-304c45be.js → Index-710d1132.js} +8 -8
- package/dist/{Index-a86ea774.js → Index-7a2f20fd.js} +9 -9
- package/dist/{Index-693005f0.js → Index-818ef607.js} +4 -4
- package/dist/Index-875e7805.js +79 -0
- package/dist/{Index-f453850f.js → Index-889b6a45.js} +18 -19
- package/dist/{Index-a554b58c.js → Index-8975cd1e.js} +4 -4
- package/dist/{Index-97d1f2f3.js → Index-affdb14c.js} +11 -10
- package/dist/{Index-3ee2e944.js → Index-b80ab22f.js} +2 -2
- package/dist/{Index-53da7be8.js → Index-ba48e68b.js} +8 -8
- package/dist/{Index-35387450.js → Index-beb43a1a.js} +95 -95
- package/dist/{Index-00ef9241.js → Index-c746dc64.js} +13 -13
- package/dist/{Index-1bafafca.js → Index-cf54ef50.js} +2 -2
- package/dist/{Index-4440fe3d.js → Index-dbf5c34c.js} +4 -4
- package/dist/{Index-bcc478b3.js → Index-fa01557d.js} +12 -12
- package/dist/{Index-78f13416.js → Index-ff60354c.js} +7 -7
- package/dist/{InputToggleRow-68320d9f.js → InputToggleRow-c520bed9.js} +5 -5
- package/dist/IsPremiumPreStep-d4739d6a.js +2443 -0
- package/dist/{MediaWrapper-c50879c2.js → MediaWrapper-722723f7.js} +3 -3
- package/dist/{NotBindingText-8f2d9244.js → NotBindingText-613399b6.js} +2 -2
- package/dist/{PackageGroup-2c49e99b.js → PackageGroup-1085c76c.js} +56 -56
- package/dist/{PdfTerms-94153a5f.js → PdfTerms-f98a6f75.js} +8 -7
- package/dist/{PdfViewer-701ad40e.js → PdfViewer-096bbf00.js} +5 -4
- package/dist/{PlainHtml-04a6d7f9.js → PlainHtml-752bc8d6.js} +1 -1
- package/dist/PriceHeader-e25df5eb.js +337 -0
- package/dist/{SearchApi-ffe5b697.js → SearchApi-20629627.js} +2 -2
- package/dist/{TermsSettings-b1bf19e9.js → TermsSettings-4cc4a9ee.js} +11 -11
- package/dist/{ThemeColorRow-913497f6.js → ThemeColorRow-c292abc6.js} +3 -3
- package/dist/{ToggleBinding-6518935d.js → ToggleBinding-406175fb.js} +3 -3
- package/dist/{UploadModal-3c399d25.js → UploadModal-0cbd0c8f.js} +16 -16
- package/dist/{VideoPlayerInput-b54845a4.js → VideoPlayerInput-d7b5fe4b.js} +3 -3
- package/dist/{VideoPlayerSettings-496e9e79.js → VideoPlayerSettings-51c75143.js} +12 -12
- package/dist/VideoSelectModal-e34cde4b.js +111 -0
- package/dist/{answerDocumentMixin-0e5e4dbb.js → answerDocumentMixin-574c5304.js} +3 -3
- package/dist/assets/article-options-10291.png +0 -0
- package/dist/assets/bg-base-13048.png +0 -0
- package/dist/assets/bg-pro-81076.png +0 -0
- package/dist/assets/bg-start-20630.png +0 -0
- package/dist/assets/blank-10674.png +0 -0
- package/dist/assets/block-options-17322.png +0 -0
- package/dist/assets/columnGallery.image-24825.png +0 -0
- package/dist/assets/doc-send-94456.png +0 -0
- package/dist/assets/drag-block-17194.png +0 -0
- package/dist/assets/headerCircularGradient.image-13878.png +0 -0
- package/dist/assets/roiCalculator.image-14704.png +0 -0
- package/dist/assets/text-bubble-53861.png +0 -0
- package/dist/{cssMode-c0865919.js → cssMode-eda08630.js} +19 -15
- package/dist/dom-068d1a7b.js +59 -0
- package/dist/{focusDrawerMixin-298861bc.js → focusDrawerMixin-72f8dd7a.js} +1 -1
- package/dist/{formComponentsInstall-1be6791d.js → formComponentsInstall-3f1c6477.js} +40 -40
- package/dist/formValidationMixin-d4e84872.js +49 -0
- package/dist/{freemarker2-85dde97c.js → freemarker2-42cdfba5.js} +23 -19
- package/dist/{handlebars-6aa1e52b.js → handlebars-b4515777.js} +15 -11
- package/dist/{html-f0c735cd.js → html-ea5d1845.js} +18 -14
- package/dist/{htmlMode-7b3bd7c9.js → htmlMode-1cc3531d.js} +23 -19
- package/dist/{index-1ef6f423.js → index-07377b76.js} +45 -45
- package/dist/index-676b9274.js +17 -0
- package/dist/{index-431938de.js → index-762349d7.js} +7 -7
- package/dist/{index-30808a2c.js → index-7adda710.js} +31 -31
- package/dist/index.es.js +8 -8
- package/dist/index.umd.js +537 -533
- package/dist/{javascript-9c54ad9e.js → javascript-185ef2e0.js} +15 -11
- package/dist/{jsonMode-1d1176fa.js → jsonMode-59ea4e99.js} +23 -19
- package/dist/{liquid-0738c73d.js → liquid-517f2a7c.js} +18 -14
- package/dist/{main-2d9b8259.js → main-95207159.js} +15376 -12887
- package/dist/{mapFormMixin-308bbdab.js → mapFormMixin-a245a297.js} +1 -1
- package/dist/{publicSenderState-9eecb11f.js → publicSenderState-bea5980b.js} +1 -1
- package/dist/{python-588c9e64.js → python-eb6703d8.js} +15 -11
- package/dist/{razor-fbaa1d21.js → razor-4c5b7deb.js} +22 -18
- package/dist/simplebar.min-97b539d6.js +71 -0
- package/dist/style.css +2 -2
- package/dist/template-b3af7583.js +528 -0
- package/dist/{throttle-d7bed81a.js → throttle-a0ce8f66.js} +2 -2
- package/dist/{tinycolor-ef496244.js → tinycolor-65e7dc2e.js} +1 -1
- package/dist/{FormInputRow-09d450e3.js → tippy.esm-3c111ba9.js} +285 -285
- package/dist/{tsMode-c1de8e10.js → tsMode-a4a0e653.js} +19 -15
- package/dist/{typescript-737827aa.js → typescript-aeab7849.js} +15 -11
- package/dist/{utils-69c41ae9.js → utils-580c7144.js} +1 -1
- package/dist/{vuedraggable.umd-67b8cddf.js → vuedraggable.umd-2c22e5f8.js} +41 -41
- package/dist/{xml-30e811a1.js → xml-098907e6.js} +18 -14
- package/package.json +3 -2
- package/stats.html +1 -1
- package/vite-plugin-library-asset-external/index.js +134 -0
- package/dist/ErrorCallout-42e45ec0.js +0 -30
- package/dist/Index-42e26b46.js +0 -79
- package/dist/Index-f2b66b79.js +0 -47
- package/dist/IsPremiumPreStep-0c7032a3.js +0 -1919
- package/dist/PriceHeader-7f92d5a7.js +0 -336
- package/dist/VideoSelectModal-3a566398.js +0 -111
- package/dist/index-6d08eac3.js +0 -14
- package/dist/simplebar.min-75960401.js +0 -2429
- package/dist/template-b877debf.js +0 -526
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
import { m as c } from "./mapFormMixin-a245a297.js";
|
|
2
|
+
import { B as l } from "./BlockMedia-319932b8.js";
|
|
3
|
+
import { n, b as r, q as d, a1 as u } from "./main-95207159.js";
|
|
4
|
+
import { T as m } from "./DocTextEditor-cce51e7c.js";
|
|
5
|
+
import { i as p } from "./i18nMessages-45c6bfd6.js";
|
|
6
|
+
import { t as _ } from "./tinycolor-65e7dc2e.js";
|
|
7
|
+
import { s as y } from "./dom-068d1a7b.js";
|
|
8
|
+
import "./color-71c20583.js";
|
|
9
|
+
import "./tippy.esm-3c111ba9.js";
|
|
10
|
+
import "./ColorPicker-11ee76f0.js";
|
|
11
|
+
import "./DocumentLayout-86c367d1.js";
|
|
12
|
+
import "./CDropdownItem-d46bf062.js";
|
|
13
|
+
import "./CSlider.vue_vue_type_style_index_0_lang-df4c839e.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-441a9fdb.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-95207159.js";
|
|
2
|
+
import { d as p } from "./CDropdownItem-d46bf062.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-95207159.js";
|
|
2
|
+
import { m as c } from "./mapFormMixin-a245a297.js";
|
|
3
|
+
import g from "./Index-205dd368.js";
|
|
4
|
+
import "./DocModalBase-e473b946.js";
|
|
5
|
+
import "./DocumentLayout-86c367d1.js";
|
|
6
|
+
import "./CDropdownItem-d46bf062.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-11ee76f0.js";
|
|
3
|
+
import { n as i } from "./main-95207159.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-a245a297.js";
|
|
2
|
+
import { I as t } from "./InputToggleRow-c520bed9.js";
|
|
3
|
+
import { n as l } from "./main-95207159.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-0313a553.js";
|
|
2
|
+
import { d as o, h as c, z as d, n as m } from "./main-95207159.js";
|
|
3
|
+
import { m as p } from "./vuex.esm-4a0fff7c.js";
|
|
4
|
+
import "./tinycolor-65e7dc2e.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-d46bf062.js";
|
|
2
|
+
import { v as l } from "./utils-580c7144.js";
|
|
3
|
+
import { n } from "./main-95207159.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-d7b5fe4b.js";
|
|
2
|
+
import { n as s } from "./main-95207159.js";
|
|
3
|
+
import "./CDropdownItem-d46bf062.js";
|
|
4
|
+
import "./utils-580c7144.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
|
);
|