@cling-se/widget 0.9.4 → 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-d472aa84.js → AddClientCallout-e4e9874f.js} +5 -5
- package/dist/{AnswerModal-06487437.js → AnswerModal-acd3b9c0.js} +248 -248
- package/dist/{AttachmentItem-d98488ee.js → AttachmentItem-34e91526.js} +8 -8
- package/dist/{BaseDatePicker-8c098701.js → BaseDatePicker-581297bc.js} +43 -43
- package/dist/{BaseInput-2723d613.js → BaseInput-29d88150.js} +1 -1
- package/dist/{BaseUpload-996d74b3.js → BaseUpload-84d3b68b.js} +3 -3
- package/dist/{BlockMedia-00907fb6.js → BlockMedia-319932b8.js} +1 -1
- package/dist/{CCallout-ffa95028.js → CCallout-88ae9c08.js} +6 -6
- package/dist/{CDropdownItem-74672842.js → CDropdownItem-d46bf062.js} +76 -75
- package/dist/{CField-06dd50f1.js → CField-be05883b.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-f49d85e0.js → CSlider.vue_vue_type_style_index_0_lang-df4c839e.js} +1 -1
- package/dist/{ClientAutocomplete-f65643dd.js → ClientAutocomplete-68f76bfc.js} +4 -4
- package/dist/{ClientModal-d276aabd.js → ClientModal-73086005.js} +16 -16
- package/dist/{ColorPicker-4f6b70af.js → ColorPicker-11ee76f0.js} +2 -2
- package/dist/{CompanyModal-30c54ce3.js → CompanyModal-0fec4480.js} +8 -8
- package/dist/{ContentWrapper-d5653fef.js → ContentWrapper-fba78b6f.js} +19 -19
- package/dist/{CoverBlockSettings-2335f3a8.js → CoverBlockSettings-7ffa15b1.js} +19 -19
- package/dist/{DocForm-9ca24de4.js → DocForm-e56b3a0c.js} +1190 -819
- package/dist/{DocFormSend-d0c6fa1d.js → DocFormSend-cdc4eaf8.js} +14 -14
- package/dist/{DocModalBase-f4915a62.js → DocModalBase-e473b946.js} +4 -4
- package/dist/DocPrint-6d8b1f14.js +222 -0
- package/dist/{DocReceipt-d192000e.js → DocReceipt-c8a543f8.js} +1 -1
- package/dist/{DocSendReminder-06d5b34c.js → DocSendReminder-70effa09.js} +1 -1
- package/dist/{DocTextEditor-c6d1df3c.js → DocTextEditor-cce51e7c.js} +19 -19
- package/dist/{DocTimeline-b4c20f93.js → DocTimeline-c2cbd773.js} +11 -11
- package/dist/{DocumentClient-c2319f00.js → DocumentClient-611c8c1c.js} +8 -6
- package/dist/{formValidationMixin-4920ab53.js → DocumentLayout-86c367d1.js} +1617 -1709
- package/dist/{DocumentLogotype-1efd1ce9.js → DocumentLogotype-441a9fdb.js} +3 -3
- package/dist/{EmbedInput-654c0477.js → EmbedInput-a5938c25.js} +2 -2
- package/dist/{EmbedSettings-b81ec734.js → EmbedSettings-141ab53c.js} +10 -10
- package/dist/ErrorCallout-7dea37df.js +30 -0
- package/dist/{FilePreviewModal-895bd1bd.js → FilePreviewModal-875fd8c9.js} +8 -7
- package/dist/{HeaderSettings-c6dac755.js → HeaderSettings-0364b6df.js} +29 -29
- package/dist/{ImageSelectModal-7cece54e.js → ImageSelectModal-2d3a69db.js} +11 -11
- package/dist/{ImageUploadWrapper-53afd31d.js → ImageUploadWrapper-7c70045f.js} +3 -3
- package/dist/{Index-f935c492.js → Index-006a27da.js} +10 -10
- package/dist/{Index-6ef78b7a.js → Index-0313a553.js} +2 -2
- package/dist/{Index-9aaf8b90.js → Index-06bd31c3.js} +26 -26
- package/dist/Index-07ae23ce.js +54 -0
- package/dist/{Index-7443e91c.js → Index-0f4c9eb4.js} +34 -34
- package/dist/{Index-c4de05aa.js → Index-1e0cf88a.js} +10 -9
- package/dist/{Index-d45a1eff.js → Index-1fc54467.js} +4 -4
- package/dist/{Index-e749f6f1.js → Index-205dd368.js} +14 -14
- package/dist/{Index-34c84bab.js → Index-245f88ff.js} +10 -10
- package/dist/{Index-d8879ca9.js → Index-28bdb859.js} +2 -2
- package/dist/{Index-60fc8a6e.js → Index-2a0c06b1.js} +3 -3
- package/dist/{Index-63805642.js → Index-3d84a32c.js} +9 -9
- package/dist/{Index-66c8cbfa.js → Index-418c517f.js} +4 -4
- package/dist/{Index-e45a0c32.js → Index-5196628a.js} +27 -27
- package/dist/{Index-61f7dc92.js → Index-532b8844.js} +2 -2
- package/dist/{Index-b14d0f03.js → Index-53348c92.js} +4 -4
- package/dist/{Index-9233cc83.js → Index-54962a1e.js} +15 -15
- package/dist/{Index-701f0d05.js → Index-5de564da.js} +2 -2
- package/dist/{Index-c67218ce.js → Index-6f957f7e.js} +15 -15
- package/dist/{Index-98e8bb86.js → Index-710d1132.js} +8 -8
- package/dist/{Index-8bca2d87.js → Index-7a2f20fd.js} +9 -9
- package/dist/{Index-1d361d01.js → Index-818ef607.js} +4 -4
- package/dist/Index-875e7805.js +79 -0
- package/dist/{Index-82574a41.js → Index-889b6a45.js} +18 -19
- package/dist/{Index-82b5de12.js → Index-8975cd1e.js} +4 -4
- package/dist/{Index-1a7e98d7.js → Index-affdb14c.js} +11 -10
- package/dist/{Index-01c63c88.js → Index-b80ab22f.js} +2 -2
- package/dist/{Index-5e35f4a2.js → Index-ba48e68b.js} +8 -8
- package/dist/{Index-caf5cf44.js → Index-beb43a1a.js} +94 -94
- package/dist/{Index-b15cfd62.js → Index-c746dc64.js} +13 -13
- package/dist/{Index-2535f58f.js → Index-cf54ef50.js} +2 -2
- package/dist/{Index-c7e68382.js → Index-dbf5c34c.js} +4 -4
- package/dist/{Index-5cc51230.js → Index-fa01557d.js} +12 -12
- package/dist/{Index-cd76b120.js → Index-ff60354c.js} +7 -7
- package/dist/{InputToggleRow-9d8a7da4.js → InputToggleRow-c520bed9.js} +5 -5
- package/dist/IsPremiumPreStep-d4739d6a.js +2443 -0
- package/dist/{MediaWrapper-d4a4b66f.js → MediaWrapper-722723f7.js} +3 -3
- package/dist/{NotBindingText-b199006c.js → NotBindingText-613399b6.js} +2 -2
- package/dist/{PackageGroup-37ac99b1.js → PackageGroup-1085c76c.js} +56 -56
- package/dist/{PdfTerms-8b52bb6e.js → PdfTerms-f98a6f75.js} +8 -7
- package/dist/{PdfViewer-38bd8439.js → PdfViewer-096bbf00.js} +5 -4
- package/dist/{PlainHtml-9174cbf6.js → PlainHtml-752bc8d6.js} +1 -1
- package/dist/PriceHeader-e25df5eb.js +337 -0
- package/dist/{SearchApi-2e286be6.js → SearchApi-20629627.js} +2 -2
- package/dist/{TermsSettings-c74eec79.js → TermsSettings-4cc4a9ee.js} +11 -11
- package/dist/{ThemeColorRow-3558367b.js → ThemeColorRow-c292abc6.js} +3 -3
- package/dist/{ToggleBinding-6c9c1ac3.js → ToggleBinding-406175fb.js} +3 -3
- package/dist/{UploadModal-6d0abd77.js → UploadModal-0cbd0c8f.js} +16 -16
- package/dist/{VideoPlayerInput-77cd86aa.js → VideoPlayerInput-d7b5fe4b.js} +3 -3
- package/dist/{VideoPlayerSettings-b7eb781c.js → VideoPlayerSettings-51c75143.js} +12 -12
- package/dist/VideoSelectModal-e34cde4b.js +111 -0
- package/dist/{answerDocumentMixin-66023e62.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-8552fc56.js → cssMode-eda08630.js} +19 -15
- package/dist/dom-068d1a7b.js +59 -0
- package/dist/{focusDrawerMixin-67462262.js → focusDrawerMixin-72f8dd7a.js} +1 -1
- package/dist/{formComponentsInstall-ad9c2a83.js → formComponentsInstall-3f1c6477.js} +40 -40
- package/dist/formValidationMixin-d4e84872.js +49 -0
- package/dist/{freemarker2-7e10a65d.js → freemarker2-42cdfba5.js} +23 -19
- package/dist/{handlebars-8045bfa8.js → handlebars-b4515777.js} +15 -11
- package/dist/{html-8afcb633.js → html-ea5d1845.js} +18 -14
- package/dist/{htmlMode-1a2d1b48.js → htmlMode-1cc3531d.js} +23 -19
- package/dist/{index-f805bfce.js → index-07377b76.js} +45 -45
- package/dist/index-676b9274.js +17 -0
- package/dist/{index-bf93d7c2.js → index-762349d7.js} +7 -7
- package/dist/{index-3d6d7a03.js → index-7adda710.js} +31 -31
- package/dist/index.es.js +8 -8
- package/dist/index.umd.js +537 -533
- package/dist/{javascript-dad5561e.js → javascript-185ef2e0.js} +15 -11
- package/dist/{jsonMode-ce09245f.js → jsonMode-59ea4e99.js} +23 -19
- package/dist/{liquid-05247459.js → liquid-517f2a7c.js} +18 -14
- package/dist/{main-04025a56.js → main-95207159.js} +15380 -12891
- package/dist/{mapFormMixin-8d073f99.js → mapFormMixin-a245a297.js} +1 -1
- package/dist/{publicSenderState-97108de1.js → publicSenderState-bea5980b.js} +1 -1
- package/dist/{python-3f3513c5.js → python-eb6703d8.js} +15 -11
- package/dist/{razor-1f3e9c4e.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-a2c1f34d.js → throttle-a0ce8f66.js} +2 -2
- package/dist/{tinycolor-88fa380f.js → tinycolor-65e7dc2e.js} +1 -1
- package/dist/{FormInputRow-9819eb71.js → tippy.esm-3c111ba9.js} +285 -285
- package/dist/{tsMode-4c026047.js → tsMode-a4a0e653.js} +19 -15
- package/dist/{typescript-baf56f67.js → typescript-aeab7849.js} +15 -11
- package/dist/{utils-6670dea6.js → utils-580c7144.js} +1 -1
- package/dist/{vuedraggable.umd-d7138234.js → vuedraggable.umd-2c22e5f8.js} +41 -41
- package/dist/{xml-ffc6146a.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-60d0b3ab.js +0 -30
- package/dist/Index-b020a80c.js +0 -47
- package/dist/Index-e80f5f9c.js +0 -79
- package/dist/IsPremiumPreStep-3a087524.js +0 -1919
- package/dist/PriceHeader-e357afe9.js +0 -336
- package/dist/VideoSelectModal-d2299552.js +0 -111
- package/dist/index-c48c5eb4.js +0 -14
- package/dist/simplebar.min-3af55aab.js +0 -2429
- package/dist/template-42a1d852.js +0 -526
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { g as s, n as a } from "./main-
|
|
1
|
+
import { g as s, n as a } from "./main-95207159.js";
|
|
2
2
|
import { m as l, a as p } from "./vuex.esm-4a0fff7c.js";
|
|
3
|
-
import { a as r } from "./publicSenderState-
|
|
3
|
+
import { a as r } from "./publicSenderState-bea5980b.js";
|
|
4
4
|
const c = {
|
|
5
5
|
name: "DocumentLogotype",
|
|
6
6
|
components: {
|
|
7
|
-
ImageUploadWrapper: () => import("./ImageUploadWrapper-
|
|
7
|
+
ImageUploadWrapper: () => import("./ImageUploadWrapper-7c70045f.js")
|
|
8
8
|
},
|
|
9
9
|
props: {
|
|
10
10
|
value: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d } from "./CDropdownItem-
|
|
2
|
-
import { b as l, n as o } from "./main-
|
|
1
|
+
import { d } from "./CDropdownItem-d46bf062.js";
|
|
2
|
+
import { b as l, n as o } from "./main-95207159.js";
|
|
3
3
|
const m = (t) => {
|
|
4
4
|
const i = new DOMParser().parseFromString(t, "text/html"), [s] = l(i, "body.children") || [];
|
|
5
5
|
return !s || s.tagName !== "IFRAME" ? {} : Array.from(s.attributes).reduce(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import n from "./EmbedInput-
|
|
2
|
-
import { n as l } from "./main-
|
|
3
|
-
import "./CDropdownItem-
|
|
1
|
+
import n from "./EmbedInput-a5938c25.js";
|
|
2
|
+
import { n as l } from "./main-95207159.js";
|
|
3
|
+
import "./CDropdownItem-d46bf062.js";
|
|
4
4
|
const o = {
|
|
5
5
|
i18nOptions: {
|
|
6
6
|
namespaces: "embedSettings",
|
|
@@ -52,12 +52,12 @@ const o = {
|
|
|
52
52
|
};
|
|
53
53
|
var r = function() {
|
|
54
54
|
var e = this, t = e._self._c;
|
|
55
|
-
return t("div", { staticClass: "d-root" }, [t("div", { staticClass: "d-option" }, [t("div", { staticClass: "d-option-title" }, [e._v(e._s(e.$t("title").capitalize()))]), t("div", { staticClass: "
|
|
56
|
-
return e.$emit("input",
|
|
57
|
-
} } })], 1), t("div", { staticClass: "d-option" }, [t("div", { staticClass: "d-option-title" }, [t("div", { staticStyle: { flex: "1 1 auto" } }, [e._v(" " + e._s(e.$t("responsiveSize")) + " ")]), t("CSwitch", { staticStyle: { "margin-right": "0" }, attrs: { value: !!e.size, size: "small", type: "secondary" }, on: { input: (
|
|
58
|
-
return t("div", { key: a, staticClass: "size-option", on: { click: function(
|
|
59
|
-
return e.$emit("update:size",
|
|
60
|
-
} } }, [t("svg", { staticClass: "size-option-image", class: { "is-active": e.size ===
|
|
55
|
+
return t("div", { staticClass: "d-root" }, [t("div", { staticClass: "d-option" }, [t("div", { staticClass: "d-option-title" }, [e._v(e._s(e.$t("title").capitalize()))]), t("div", { staticClass: "text-gray-600", staticStyle: { "padding-bottom": "1em" } }, [e._v(" " + e._s(e.$t("subTitle")) + " ")]), t("EmbedInput", { attrs: { value: e.value, "is-drawer-mode": !0 }, on: { input: function(i) {
|
|
56
|
+
return e.$emit("input", i);
|
|
57
|
+
} } })], 1), t("div", { staticClass: "d-option" }, [t("div", { staticClass: "d-option-title" }, [t("div", { staticStyle: { flex: "1 1 auto" } }, [e._v(" " + e._s(e.$t("responsiveSize")) + " ")]), t("CSwitch", { staticStyle: { "margin-right": "0" }, attrs: { value: !!e.size, size: "small", type: "secondary" }, on: { input: (i) => e.$emit("update:size", i ? "small" : null) } })], 1), e.size ? t("div", { staticStyle: { display: "flex", "flex-direction": "row", "flex-wrap": "wrap", "padding-top": "5px" } }, e._l(e.sizeOptions, function({ value: i, svg: s }, a) {
|
|
58
|
+
return t("div", { key: a, staticClass: "size-option", on: { click: function(c) {
|
|
59
|
+
return e.$emit("update:size", i);
|
|
60
|
+
} } }, [t("svg", { staticClass: "size-option-image", class: { "is-active": e.size === i }, attrs: { viewBox: "0 0 99 65" }, domProps: { innerHTML: e._s(s) } })]);
|
|
61
61
|
}), 0) : e._e()])]);
|
|
62
62
|
}, d = [], p = /* @__PURE__ */ l(
|
|
63
63
|
o,
|
|
@@ -65,7 +65,7 @@ var r = function() {
|
|
|
65
65
|
d,
|
|
66
66
|
!1,
|
|
67
67
|
null,
|
|
68
|
-
"
|
|
68
|
+
"e95b62ec",
|
|
69
69
|
null,
|
|
70
70
|
null
|
|
71
71
|
);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { n as r } from "./main-95207159.js";
|
|
2
|
+
const s = {
|
|
3
|
+
name: "ErrorCallout",
|
|
4
|
+
props: {
|
|
5
|
+
message: {
|
|
6
|
+
type: String,
|
|
7
|
+
required: !0
|
|
8
|
+
},
|
|
9
|
+
size: {
|
|
10
|
+
type: String,
|
|
11
|
+
default: "normal"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
var a = function(t, e) {
|
|
16
|
+
return t("div", { staticClass: "flex items-center", class: [e.data.staticClass], staticStyle: { "margin-top": "calc(1 * var(--rem))" }, style: [e.data.staticStyle] }, [t("div", { staticClass: "error-wrapper bg-red-50 text-red-500", class: [`is-${e.props.size}`], staticStyle: { margin: "calc(1 * var(--rem)) 0" } }, [t("BaseIcon", { staticStyle: { "margin-right": "0.5em", flex: "0 0 18px" }, attrs: { type: "alert", size: "18" } }), t("div", [e._v(" " + e._s(e.props.message) + " ")])], 1)]);
|
|
17
|
+
}, l = [], n = /* @__PURE__ */ r(
|
|
18
|
+
s,
|
|
19
|
+
a,
|
|
20
|
+
l,
|
|
21
|
+
!0,
|
|
22
|
+
null,
|
|
23
|
+
"7e7d102f",
|
|
24
|
+
null,
|
|
25
|
+
null
|
|
26
|
+
);
|
|
27
|
+
const c = n.exports;
|
|
28
|
+
export {
|
|
29
|
+
c as E
|
|
30
|
+
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { n, S as o } from "./main-
|
|
2
|
-
import { V as r } from "./PdfViewer-
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
1
|
+
import { n, S as o } from "./main-95207159.js";
|
|
2
|
+
import { V as r } from "./PdfViewer-096bbf00.js";
|
|
3
|
+
import "./dom-068d1a7b.js";
|
|
4
|
+
import "./DocumentLayout-86c367d1.js";
|
|
5
|
+
import "./CDropdownItem-d46bf062.js";
|
|
5
6
|
const a = {
|
|
6
7
|
name: "FilesPreviewModal",
|
|
7
8
|
components: {
|
|
@@ -75,11 +76,11 @@ var l = function() {
|
|
|
75
76
|
d,
|
|
76
77
|
!1,
|
|
77
78
|
null,
|
|
78
|
-
"
|
|
79
|
+
"c103b633",
|
|
79
80
|
null,
|
|
80
81
|
null
|
|
81
82
|
);
|
|
82
|
-
const
|
|
83
|
+
const g = c.exports;
|
|
83
84
|
export {
|
|
84
|
-
|
|
85
|
+
g as default
|
|
85
86
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { m as x } from "./mapFormMixin-
|
|
2
|
-
import { g as _, T as w } from "./ThemeColorRow-
|
|
3
|
-
import {
|
|
4
|
-
import { B as C, a as k } from "./index-
|
|
5
|
-
import b from "./VideoPlayerInput-
|
|
6
|
-
import S from "./ImageUploadWrapper-
|
|
7
|
-
import { a as A } from "./tinycolor-
|
|
1
|
+
import { m as x } from "./mapFormMixin-a245a297.js";
|
|
2
|
+
import { g as _, T as w } from "./ThemeColorRow-c292abc6.js";
|
|
3
|
+
import { k as v, n as y, j as d } from "./main-95207159.js";
|
|
4
|
+
import { B as C, a as k } from "./index-762349d7.js";
|
|
5
|
+
import b from "./VideoPlayerInput-d7b5fe4b.js";
|
|
6
|
+
import S from "./ImageUploadWrapper-7c70045f.js";
|
|
7
|
+
import { a as A } from "./tinycolor-65e7dc2e.js";
|
|
8
8
|
import "./color-71c20583.js";
|
|
9
|
-
import "./ColorPicker-
|
|
10
|
-
import "./CDropdownItem-
|
|
11
|
-
import "./throttle-
|
|
12
|
-
import "./
|
|
13
|
-
import "./simplebar.min-
|
|
14
|
-
import "./utils-
|
|
15
|
-
import "./BaseUpload-
|
|
9
|
+
import "./ColorPicker-11ee76f0.js";
|
|
10
|
+
import "./CDropdownItem-d46bf062.js";
|
|
11
|
+
import "./throttle-a0ce8f66.js";
|
|
12
|
+
import "./dom-068d1a7b.js";
|
|
13
|
+
import "./simplebar.min-97b539d6.js";
|
|
14
|
+
import "./utils-580c7144.js";
|
|
15
|
+
import "./BaseUpload-84d3b68b.js";
|
|
16
16
|
const g = v.unsplash.id, L = v.pexels.id, z = {
|
|
17
17
|
name: "MediaSelectModal",
|
|
18
18
|
i18nOptions: {
|
|
@@ -50,22 +50,22 @@ const g = v.unsplash.id, L = v.pexels.id, z = {
|
|
|
50
50
|
{
|
|
51
51
|
value: "unsplash",
|
|
52
52
|
label: "Unsplash",
|
|
53
|
-
icon: '<svg style="margin-right: 0.
|
|
53
|
+
icon: '<svg style="margin-right: calc(0.5 * var(--rem));" width="20" height="20" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M10 9V0h12v9H10zm12 5h10v18H0V14h10v9h12v-9z"/></svg>'
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
value: "customImage",
|
|
57
57
|
label: this.$t("_common:upload"),
|
|
58
|
-
icon: '<svg style="margin-right: 0.
|
|
58
|
+
icon: '<svg style="margin-right: calc(0.5 * var(--rem));" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2"/><circle cx="8.5" cy="8.5" r="1.5"/><path d="M20.4 14.5L16 10 4 20"/></svg>'
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
value: "pexels",
|
|
62
62
|
label: "Pexels",
|
|
63
|
-
icon: '<svg style="margin-right: 0.
|
|
63
|
+
icon: '<svg style="margin-right: calc(0.5 * var(--rem));" xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 32 32"><path d="M2 0h28a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z" fill="#05A081"></path><path d="M13 21h3.863v-3.752h1.167a3.124 3.124 0 1 0 0-6.248H13v10zm5.863 2H11V9h7.03a5.124 5.124 0 0 1 .833 10.18V23z" fill="#fff"></path></svg>'
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
value: "customVideo",
|
|
67
67
|
label: this.$t("tabLink"),
|
|
68
|
-
icon: '<svg style="margin-right: 0.
|
|
68
|
+
icon: '<svg style="margin-right: calc(0.5 * var(--rem));" width="28" height="28" xmlns="http://www.w3.org/2000/svg" version="1.1" x="0" y="0" xml:space="preserve" viewBox="0 0 71.412 50"><g transform="scale(.58824)"><path d="M118.9 13.3c-1.4-5.2-5.5-9.3-10.7-10.7C98.7 0 60.7 0 60.7 0s-38 0-47.5 2.5C8.1 3.9 3.9 8.1 2.5 13.3 0 22.8 0 42.5 0 42.5s0 19.8 2.5 29.2C3.9 76.9 8 81 13.2 82.4 22.8 85 60.7 85 60.7 85s38 0 47.5-2.5c5.2-1.4 9.3-5.5 10.7-10.7 2.5-9.5 2.5-29.2 2.5-29.2s.1-19.8-2.5-29.3z" fill="red" fill-opacity="1"/><path fill="#fff" d="M80.2 42.5L48.6 24.3v36.4z"/></g></svg>'
|
|
69
69
|
}
|
|
70
70
|
],
|
|
71
71
|
activeTab: "unsplash",
|
|
@@ -173,16 +173,16 @@ const g = v.unsplash.id, L = v.pexels.id, z = {
|
|
|
173
173
|
};
|
|
174
174
|
var I = function() {
|
|
175
175
|
var t = this, e = t._self._c;
|
|
176
|
-
return e("BackgroundModal", [e("div", { staticClass: "flex items-center justify-center w-full", staticStyle: { padding: "0.
|
|
176
|
+
return e("BackgroundModal", [e("div", { staticClass: "flex items-center justify-center w-full", staticStyle: { padding: "calc(0.25 * var(--rem)) calc(1 * var(--rem))", "border-bottom": "1px solid hsl(0, 0%, 88%)" }, attrs: { slot: "header" }, slot: "header" }, t._l(t.tabs, function(o, s) {
|
|
177
177
|
return e("CButton", { key: s, staticStyle: { "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, style: t.activeTab === o.value && { opacity: 1 }, on: { click: function(r) {
|
|
178
178
|
t.activeTab = o.value;
|
|
179
179
|
} } }, [e("span", { staticStyle: { display: "inline-flex", "align-items": "center" } }, [e("div", { domProps: { innerHTML: t._s(o.icon) } }), t._v(" " + t._s(o.label) + " ")])]);
|
|
180
180
|
}), 1), ["unsplash", "pexels"].includes(t.activeTab) ? e("BackgroundList", { key: t.activeTab, attrs: { fetch: t.isImage ? t.fetchImage : t.fetchVideo, "credit-text": t.$t("creditVideos", { thing: t.activeTab.capitalize() }), "default-query": "nature" }, on: { select: function(o) {
|
|
181
181
|
t.isImage ? t.selectImage(o) : t.selectVideo(o);
|
|
182
|
-
} } }, [e("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { slot: "footer", disabled: t.isImage ? !t.selectedImage : !t.selectedVideo, type: "secondary" }, on: { click: t.onSave }, slot: "footer" }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1) : t.activeTab === "customVideo" ? e("div", { staticClass: "flex flex-col items-center justify-center w-full" }, [e("div", { staticStyle: { "max-width": "500px", width: "100%", margin: "0 auto", "padding-top": "
|
|
182
|
+
} } }, [e("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { slot: "footer", disabled: t.isImage ? !t.selectedImage : !t.selectedVideo, type: "secondary" }, on: { click: t.onSave }, slot: "footer" }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1) : t.activeTab === "customVideo" ? e("div", { staticClass: "flex flex-col items-center justify-center w-full" }, [e("div", { staticStyle: { "max-width": "500px", width: "100%", margin: "0 auto", "padding-top": "calc(3 * var(--rem))" } }, [e("div", { staticStyle: { position: "relative", width: "100%", "padding-top": "56.25%", "background-color": "hsl(var(--gray-color-100) / 1)", "border-radius": "0.5em", "margin-bottom": "calc(1.5 * var(--rem))" } }, [t.customVideo ? e("iframe", { staticClass: "custom-video-preview", attrs: { src: t.customVideo.url } }) : t._e()]), e("VideoPlayerInput", { attrs: { filled: !0, "video-options": { background: !0 } }, model: { value: t.customVideo, callback: function(o) {
|
|
183
183
|
t.customVideo = o;
|
|
184
|
-
}, expression: "customVideo" } }, [e("CButton", { attrs: { disabled: !t.customVideo, type: "secondary" }, on: { click: t.onSave } }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1)], 1)]) : e("div", { staticClass: "flex flex-col items-center justify-center" }, [e("div", { staticStyle: { "max-width": "500px", width: "100%", margin: "0 auto", "padding-top": "
|
|
185
|
-
return [e("div", { staticClass: "relative w-full mb-6" }, [t.customImage ? e("img", { staticClass: "object-cover w-full h-full", attrs: { src: t.customImage, alt: t.customImage } }) : e("div", { staticClass: "flex flex-col items-center justify-center bg-gray-100 rounded-md aspect-video" }, [e("CButton", { style: t.customImage && { opacity: 0.5 }, attrs: { loading: !!o && o < 100, "icon-left": "upload", type: "none" } }, [t._v(" " + t._s(t.$t("_common:upload")) + " ")]), e("div", { staticClass: "text-center
|
|
184
|
+
}, expression: "customVideo" } }, [e("CButton", { attrs: { disabled: !t.customVideo, type: "secondary" }, on: { click: t.onSave } }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1)], 1)]) : e("div", { staticClass: "flex flex-col items-center justify-center" }, [e("div", { staticStyle: { "max-width": "500px", width: "100%", margin: "0 auto", "padding-top": "calc(3 * var(--rem))" } }, [e("ImageUploadWrapper", { ref: "uploadWrapper", attrs: { "on-image-upload": t.setCustomBackground }, scopedSlots: t._u([{ key: "default", fn: function({ progress: o }) {
|
|
185
|
+
return [e("div", { staticClass: "relative w-full mb-6" }, [t.customImage ? e("img", { staticClass: "object-cover w-full h-full", attrs: { src: t.customImage, alt: t.customImage } }) : e("div", { staticClass: "flex flex-col items-center justify-center bg-gray-100 rounded-md aspect-video" }, [e("CButton", { style: t.customImage && { opacity: 0.5 }, attrs: { loading: !!o && o < 100, "icon-left": "upload", type: "none" } }, [t._v(" " + t._s(t.$t("_common:upload")) + " ")]), e("div", { staticClass: "text-center text-gray-600", staticStyle: { "padding-top": "calc(1 * var(--rem))", "font-size": "14px", "max-width": "40ch" } }, [t._v(" " + t._s(t.$t("minWidth")) + " ")])], 1)])];
|
|
186
186
|
} }]) }), e("div", { staticClass: "flex items-center justify-center" }, [e("CButton", { attrs: { disabled: !t.customImage, type: "secondary" }, on: { click: t.onSave } }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1)], 1)])], 1);
|
|
187
187
|
}, V = [], M = /* @__PURE__ */ y(
|
|
188
188
|
z,
|
|
@@ -190,7 +190,7 @@ var I = function() {
|
|
|
190
190
|
V,
|
|
191
191
|
!1,
|
|
192
192
|
null,
|
|
193
|
-
"
|
|
193
|
+
"5d67c30b",
|
|
194
194
|
null,
|
|
195
195
|
null
|
|
196
196
|
);
|
|
@@ -375,9 +375,9 @@ const $ = {
|
|
|
375
375
|
};
|
|
376
376
|
var B = function() {
|
|
377
377
|
var t = this, e = t._self._c;
|
|
378
|
-
return e("div", { staticClass: "d-root" }, [e("div", { staticClass: "d-option" }, [e("div", { staticClass: "d-option-title", staticStyle: { "padding-bottom": "0.
|
|
378
|
+
return e("div", { staticClass: "d-root" }, [e("div", { staticClass: "d-option" }, [e("div", { staticClass: "d-option-title", staticStyle: { "padding-bottom": "calc(0.5 * var(--rem))" } }, [t._v(" Layouts ")]), e("div", { staticClass: "grid grid-cols-3 gap-2 p-1" }, t._l(t.layoutOptions, function({ isActive: o, onClick: s, icon: r }, a) {
|
|
379
379
|
return e("CButton", { key: a, staticStyle: { padding: "6px 10px", "border-radius": "3px", height: "initial" }, attrs: { type: o ? "secondary" : "none", pattern: o ? "primary" : "secondary", size: "normal" }, on: { click: s } }, [e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.75", "stroke-linecap": "round", "stroke-linejoin": "round" }, domProps: { innerHTML: t._s(r) } })]);
|
|
380
|
-
}), 1)]), e("div", { staticClass: "d-option" }, [e("div", { staticClass: "d-option-title", staticStyle: { "padding-bottom": "0.
|
|
380
|
+
}), 1)]), e("div", { staticClass: "d-option" }, [e("div", { staticClass: "d-option-title", staticStyle: { "padding-bottom": "calc(0.5 * var(--rem))" } }, [t._v(" " + t._s(t.$t("_common:background").capitalize()) + " ")]), e("div", { staticClass: "d-option-button-image", style: {
|
|
381
381
|
backgroundImage: `url(${t.background || t.theme.background})`
|
|
382
382
|
}, on: { click: t.openBgModal } })]), e("div", { staticClass: "d-option", staticStyle: { "padding-bottom": "0.5em" } }, [e("ThemeColorRow", { staticClass: "d-option-title", attrs: { value: t.overlayColor || t.theme.backgroundFilter || "", placement: "auto" }, on: { change: function(o) {
|
|
383
383
|
t.overlayColor = o;
|
|
@@ -387,10 +387,10 @@ var B = function() {
|
|
|
387
387
|
t.backgroundColor = o;
|
|
388
388
|
} } }, [t._v(" " + t._s(t.$t("_common:backgroundColor").capitalize()) + " ")])], 1) : t._e()]) : [t.layout !== "center" ? e("div", { staticClass: "d-option" }, [e("ThemeColorRow", { staticClass: "d-option-title", attrs: { value: t.backgroundColor || t.theme.priceSummaryBackground || "", "picker-options": { disableAlpha: !0 }, placement: "auto" }, on: { change: function(o) {
|
|
389
389
|
t.backgroundColor = o, t._document.setDirty(t._value.backgroundColor);
|
|
390
|
-
} } }, [t._v(" " + t._s(t.$t("_common:backgroundColor").capitalize()) + " ")])], 1) : t._e(), e("div", { staticClass: "d-option" }, [e("ThemeColorRow", { staticClass: "d-option-title", staticStyle: { "margin-top": "0.
|
|
390
|
+
} } }, [t._v(" " + t._s(t.$t("_common:backgroundColor").capitalize()) + " ")])], 1) : t._e(), e("div", { staticClass: "d-option" }, [e("ThemeColorRow", { staticClass: "d-option-title", staticStyle: { "margin-top": "calc(0.5 * var(--rem))" }, attrs: { value: t.textColor || "", "picker-options": { disableAlpha: !0 }, placement: "auto" }, on: { change: function(o) {
|
|
391
391
|
t.textColor = o, t._document.setDirty(t._value.textColor);
|
|
392
|
-
} } }, [t._v(" " + t._s(t.$t("_common:textColor").capitalize()) + " ")])], 1), e("div", { staticClass: "flex w-full d-option" }, [e("div", { staticClass: "d-option-title", staticStyle: { "margin-top": "0.
|
|
393
|
-
return e("CRadioButton", { key: r, class: !t.textAlign && "
|
|
392
|
+
} } }, [t._v(" " + t._s(t.$t("_common:textColor").capitalize()) + " ")])], 1), e("div", { staticClass: "flex w-full d-option" }, [e("div", { staticClass: "d-option-title", staticStyle: { "margin-top": "calc(0.5 * var(--rem))" } }, [t._v(" " + t._s(t.$t("_common:textAlign").capitalize()) + " ")]), e("CField", { staticStyle: { "margin-left": "auto" } }, t._l(t.alignOptions, function({ value: o, icon: s }, r) {
|
|
393
|
+
return e("CRadioButton", { key: r, class: !t.textAlign && "text-gray-400", attrs: { "native-value": o, type: t.textAlign ? "secondary" : "none", size: "small" }, on: { input: function(a) {
|
|
394
394
|
return t._document.setDirty(t._value.textAlign);
|
|
395
395
|
} }, model: { value: t.textAlign, callback: function(a) {
|
|
396
396
|
t.textAlign = a;
|
|
@@ -402,7 +402,7 @@ var B = function() {
|
|
|
402
402
|
P,
|
|
403
403
|
!1,
|
|
404
404
|
null,
|
|
405
|
-
"
|
|
405
|
+
"f4832ed6",
|
|
406
406
|
null,
|
|
407
407
|
null
|
|
408
408
|
);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { g as i } from "./ThemeColorRow-
|
|
3
|
-
import c from "./ImageUploadWrapper-
|
|
4
|
-
import { B as m, a as p } from "./index-
|
|
1
|
+
import { k as r, n as l, j as o } from "./main-95207159.js";
|
|
2
|
+
import { g as i } from "./ThemeColorRow-c292abc6.js";
|
|
3
|
+
import c from "./ImageUploadWrapper-7c70045f.js";
|
|
4
|
+
import { B as m, a as p } from "./index-762349d7.js";
|
|
5
5
|
import "./color-71c20583.js";
|
|
6
|
-
import "./ColorPicker-
|
|
7
|
-
import "./BaseUpload-
|
|
8
|
-
import "./CDropdownItem-
|
|
9
|
-
import "./throttle-
|
|
10
|
-
import "./
|
|
11
|
-
import "./simplebar.min-
|
|
6
|
+
import "./ColorPicker-11ee76f0.js";
|
|
7
|
+
import "./BaseUpload-84d3b68b.js";
|
|
8
|
+
import "./CDropdownItem-d46bf062.js";
|
|
9
|
+
import "./throttle-a0ce8f66.js";
|
|
10
|
+
import "./dom-068d1a7b.js";
|
|
11
|
+
import "./simplebar.min-97b539d6.js";
|
|
12
12
|
const n = r.unsplash.id, d = {
|
|
13
13
|
name: "ImageSelectModal",
|
|
14
14
|
i18nOptions: {
|
|
@@ -84,7 +84,7 @@ var u = function() {
|
|
|
84
84
|
g,
|
|
85
85
|
!1,
|
|
86
86
|
null,
|
|
87
|
-
"
|
|
87
|
+
"24971860",
|
|
88
88
|
null,
|
|
89
89
|
null
|
|
90
90
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Xt from "./BaseUpload-
|
|
2
|
-
import { V as k, n as _t,
|
|
1
|
+
import Xt from "./BaseUpload-84d3b68b.js";
|
|
2
|
+
import { V as k, n as _t, a2 as Yt } from "./main-95207159.js";
|
|
3
3
|
function yt(t, e) {
|
|
4
4
|
var i = Object.keys(t);
|
|
5
5
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -1488,7 +1488,7 @@ var Ee = function() {
|
|
|
1488
1488
|
e.currentTarget === n.target && e.$emit("close");
|
|
1489
1489
|
} } }, [i("CButton", { staticClass: "absolute z-50 border-transparent text-white/90 right-2 top-2 bg-black/50", attrs: { circle: "", icon: "x", type: "text" }, on: { click: function(n) {
|
|
1490
1490
|
return e.$emit("close");
|
|
1491
|
-
} } }), i("div", { staticClass: "flex items-center justify-center flex-auto min-h-0 pt-8 max-w-[calc(100
|
|
1491
|
+
} } }), i("div", { staticClass: "flex items-center justify-center flex-auto min-h-0 pt-8 max-w-[calc(100%_-_4_*_var(--rem))]" }, [i("Cropper", e._b({ ref: "cropper", staticClass: "w-full h-full", attrs: { src: e.imageData } }, "Cropper", e.cropperOptions, !1))], 1), i("div", { staticClass: "flex-grow py-8 shrink-0" }, [i("CButton", { staticClass: "w-36", attrs: { type: "secondary" }, on: { click: e.onSave } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")])], 1)], 1);
|
|
1492
1492
|
}, Oe = [], We = /* @__PURE__ */ _t(
|
|
1493
1493
|
Ce,
|
|
1494
1494
|
Ee,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as o } from "./mapFormMixin-
|
|
2
|
-
import { I as i } from "./InputToggleRow-
|
|
3
|
-
import { B as a } from "./BaseInput-
|
|
4
|
-
import { n as
|
|
5
|
-
const
|
|
1
|
+
import { m as o } from "./mapFormMixin-a245a297.js";
|
|
2
|
+
import { I as i } from "./InputToggleRow-c520bed9.js";
|
|
3
|
+
import { B as a } from "./BaseInput-29d88150.js";
|
|
4
|
+
import { n as l } from "./main-95207159.js";
|
|
5
|
+
const m = {
|
|
6
6
|
i18nOptions: {
|
|
7
7
|
namespaces: "estimatedTimeToCompleteText",
|
|
8
8
|
messages: {
|
|
@@ -35,13 +35,13 @@ var s = function() {
|
|
|
35
35
|
count: t.noOfTimeUnits
|
|
36
36
|
})}` : t.$t("_common:add"), label: t.$t("label"), "show-clear": !!(t.noOfTimeUnits && t.timeUnit) }, on: { remove: function(n) {
|
|
37
37
|
t.noOfTimeUnits = null;
|
|
38
|
-
} } }, [e("BaseInput", { staticStyle: { width: "
|
|
38
|
+
} } }, [e("BaseInput", { staticStyle: { width: "calc(15 * var(--rem))" }, attrs: { type: "number" }, model: { value: t.noOfTimeUnits, callback: function(n) {
|
|
39
39
|
t.noOfTimeUnits = t._n(n);
|
|
40
40
|
}, expression: "noOfTimeUnits" } }, [e("CSelect", { staticClass: "select-width plain", staticStyle: { width: "120px" }, attrs: { slot: "append", placeholder: t.$t("placeholder") }, slot: "append", model: { value: t.timeUnit, callback: function(n) {
|
|
41
41
|
t.timeUnit = n;
|
|
42
42
|
}, expression: "timeUnit" } }, [e("option", { attrs: { value: "hour" } }, [t._v(t._s(t.$t("_common:hour_plural")))]), e("option", { attrs: { value: "day" } }, [t._v(t._s(t.$t("_common:day_plural")))]), e("option", { attrs: { value: "week" } }, [t._v(t._s(t.$t("_common:week_plural")))]), e("option", { attrs: { value: "month" } }, [t._v(t._s(t.$t("_common:month_plural")))])])], 1)], 1);
|
|
43
|
-
}, r = [], p = /* @__PURE__ */
|
|
44
|
-
|
|
43
|
+
}, r = [], p = /* @__PURE__ */ l(
|
|
44
|
+
m,
|
|
45
45
|
s,
|
|
46
46
|
r,
|
|
47
47
|
!1,
|
|
@@ -50,7 +50,7 @@ var s = function() {
|
|
|
50
50
|
null,
|
|
51
51
|
null
|
|
52
52
|
);
|
|
53
|
-
const
|
|
53
|
+
const v = p.exports;
|
|
54
54
|
export {
|
|
55
|
-
|
|
55
|
+
v as default
|
|
56
56
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var j6 = Object.defineProperty;
|
|
2
2
|
var K6 = (s, e, t) => e in s ? j6(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
|
|
3
3
|
var zt = (s, e, t) => (K6(s, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
|
-
import { m as q6 } from "./mapFormMixin-
|
|
5
|
-
import { t as G6 } from "./throttle-
|
|
6
|
-
import {
|
|
4
|
+
import { m as q6 } from "./mapFormMixin-a245a297.js";
|
|
5
|
+
import { t as G6 } from "./throttle-a0ce8f66.js";
|
|
6
|
+
import { s as tw, bk as S2, b as y2, n as Gk } from "./main-95207159.js";
|
|
7
7
|
import { s as Z6, p as Y6 } from "./splitpanes-ba7897bf.js";
|
|
8
|
-
import { d as X6 } from "./CDropdownItem-
|
|
9
|
-
import { W as L2 } from "./
|
|
10
|
-
import { a as Q6, b as iw, d as nw } from "./template-
|
|
8
|
+
import { d as X6 } from "./CDropdownItem-d46bf062.js";
|
|
9
|
+
import { W as L2 } from "./DocumentLayout-86c367d1.js";
|
|
10
|
+
import { a as Q6, b as iw, d as nw } from "./template-b3af7583.js";
|
|
11
11
|
const J6 = `
|
|
12
12
|
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}html{box-sizing:border-box;font-family:sans-serif}*,::after,::before{box-sizing:inherit}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,p,pre{margin:0}button{background:0 0;padding:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}fieldset{margin:0;padding:0}ol,ul{margin:0}*,::after,::before{border-width:0;border-style:solid;border-color:#dae1e7}img{border-style:solid}[type=button],[type=reset],[type=submit],button{border-radius:0}textarea{resize:vertical}img{max-width:100%;height:auto}button,input,optgroup,select,textarea{font-family:inherit}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:inherit;opacity:.5}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:inherit;opacity:.5}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:inherit;opacity:.5}input::placeholder,textarea::placeholder{color:inherit;opacity:.5}[role=button],button{cursor:pointer}table{border-collapse:collapse}
|
|
13
13
|
`, eB = (s, { _document: e, id: t, firstRender: i }) => `
|
|
@@ -60087,37 +60087,37 @@ ue({
|
|
|
60087
60087
|
id: "freemarker2",
|
|
60088
60088
|
extensions: [".ftl", ".ftlh", ".ftlx"],
|
|
60089
60089
|
aliases: ["FreeMarker2", "Apache FreeMarker2"],
|
|
60090
|
-
loader: () => import("./freemarker2-
|
|
60090
|
+
loader: () => import("./freemarker2-42cdfba5.js").then((s) => s.TagAutoInterpolationDollar)
|
|
60091
60091
|
});
|
|
60092
60092
|
ue({
|
|
60093
60093
|
id: "freemarker2.tag-angle.interpolation-dollar",
|
|
60094
60094
|
aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
|
|
60095
|
-
loader: () => import("./freemarker2-
|
|
60095
|
+
loader: () => import("./freemarker2-42cdfba5.js").then((s) => s.TagAngleInterpolationDollar)
|
|
60096
60096
|
});
|
|
60097
60097
|
ue({
|
|
60098
60098
|
id: "freemarker2.tag-bracket.interpolation-dollar",
|
|
60099
60099
|
aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
|
|
60100
|
-
loader: () => import("./freemarker2-
|
|
60100
|
+
loader: () => import("./freemarker2-42cdfba5.js").then((s) => s.TagBracketInterpolationDollar)
|
|
60101
60101
|
});
|
|
60102
60102
|
ue({
|
|
60103
60103
|
id: "freemarker2.tag-angle.interpolation-bracket",
|
|
60104
60104
|
aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
|
|
60105
|
-
loader: () => import("./freemarker2-
|
|
60105
|
+
loader: () => import("./freemarker2-42cdfba5.js").then((s) => s.TagAngleInterpolationBracket)
|
|
60106
60106
|
});
|
|
60107
60107
|
ue({
|
|
60108
60108
|
id: "freemarker2.tag-bracket.interpolation-bracket",
|
|
60109
60109
|
aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
|
|
60110
|
-
loader: () => import("./freemarker2-
|
|
60110
|
+
loader: () => import("./freemarker2-42cdfba5.js").then((s) => s.TagBracketInterpolationBracket)
|
|
60111
60111
|
});
|
|
60112
60112
|
ue({
|
|
60113
60113
|
id: "freemarker2.tag-auto.interpolation-dollar",
|
|
60114
60114
|
aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
|
|
60115
|
-
loader: () => import("./freemarker2-
|
|
60115
|
+
loader: () => import("./freemarker2-42cdfba5.js").then((s) => s.TagAutoInterpolationDollar)
|
|
60116
60116
|
});
|
|
60117
60117
|
ue({
|
|
60118
60118
|
id: "freemarker2.tag-auto.interpolation-bracket",
|
|
60119
60119
|
aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
|
|
60120
|
-
loader: () => import("./freemarker2-
|
|
60120
|
+
loader: () => import("./freemarker2-42cdfba5.js").then((s) => s.TagAutoInterpolationBracket)
|
|
60121
60121
|
});
|
|
60122
60122
|
/*!-----------------------------------------------------------------------------
|
|
60123
60123
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -60155,7 +60155,7 @@ ue({
|
|
|
60155
60155
|
extensions: [".handlebars", ".hbs"],
|
|
60156
60156
|
aliases: ["Handlebars", "handlebars", "hbs"],
|
|
60157
60157
|
mimetypes: ["text/x-handlebars-template"],
|
|
60158
|
-
loader: () => import("./handlebars-
|
|
60158
|
+
loader: () => import("./handlebars-b4515777.js")
|
|
60159
60159
|
});
|
|
60160
60160
|
/*!-----------------------------------------------------------------------------
|
|
60161
60161
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -60180,7 +60180,7 @@ ue({
|
|
|
60180
60180
|
extensions: [".html", ".htm", ".shtml", ".xhtml", ".mdoc", ".jsp", ".asp", ".aspx", ".jshtm"],
|
|
60181
60181
|
aliases: ["HTML", "htm", "html", "xhtml"],
|
|
60182
60182
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
60183
|
-
loader: () => import("./html-
|
|
60183
|
+
loader: () => import("./html-ea5d1845.js")
|
|
60184
60184
|
});
|
|
60185
60185
|
/*!-----------------------------------------------------------------------------
|
|
60186
60186
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -60221,7 +60221,7 @@ ue({
|
|
|
60221
60221
|
filenames: ["jakefile"],
|
|
60222
60222
|
aliases: ["JavaScript", "javascript", "js"],
|
|
60223
60223
|
mimetypes: ["text/javascript"],
|
|
60224
|
-
loader: () => import("./javascript-
|
|
60224
|
+
loader: () => import("./javascript-185ef2e0.js")
|
|
60225
60225
|
});
|
|
60226
60226
|
/*!-----------------------------------------------------------------------------
|
|
60227
60227
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -60296,7 +60296,7 @@ ue({
|
|
|
60296
60296
|
extensions: [".liquid", ".html.liquid"],
|
|
60297
60297
|
aliases: ["Liquid", "liquid"],
|
|
60298
60298
|
mimetypes: ["application/liquid"],
|
|
60299
|
-
loader: () => import("./liquid-
|
|
60299
|
+
loader: () => import("./liquid-517f2a7c.js")
|
|
60300
60300
|
});
|
|
60301
60301
|
/*!-----------------------------------------------------------------------------
|
|
60302
60302
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -60515,7 +60515,7 @@ ue({
|
|
|
60515
60515
|
extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
|
|
60516
60516
|
aliases: ["Python", "py"],
|
|
60517
60517
|
firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
|
|
60518
|
-
loader: () => import("./python-
|
|
60518
|
+
loader: () => import("./python-eb6703d8.js")
|
|
60519
60519
|
});
|
|
60520
60520
|
/*!-----------------------------------------------------------------------------
|
|
60521
60521
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -60552,7 +60552,7 @@ ue({
|
|
|
60552
60552
|
extensions: [".cshtml"],
|
|
60553
60553
|
aliases: ["Razor", "razor"],
|
|
60554
60554
|
mimetypes: ["text/x-cshtml"],
|
|
60555
|
-
loader: () => import("./razor-
|
|
60555
|
+
loader: () => import("./razor-4c5b7deb.js")
|
|
60556
60556
|
});
|
|
60557
60557
|
/*!-----------------------------------------------------------------------------
|
|
60558
60558
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -60804,7 +60804,7 @@ ue({
|
|
|
60804
60804
|
extensions: [".ts", ".tsx"],
|
|
60805
60805
|
aliases: ["TypeScript", "ts", "typescript"],
|
|
60806
60806
|
mimetypes: ["text/typescript"],
|
|
60807
|
-
loader: () => import("./typescript-
|
|
60807
|
+
loader: () => import("./typescript-aeab7849.js")
|
|
60808
60808
|
});
|
|
60809
60809
|
/*!-----------------------------------------------------------------------------
|
|
60810
60810
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -60844,7 +60844,7 @@ ue({
|
|
|
60844
60844
|
firstLine: "(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",
|
|
60845
60845
|
aliases: ["XML", "xml"],
|
|
60846
60846
|
mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
|
|
60847
|
-
loader: () => import("./xml-
|
|
60847
|
+
loader: () => import("./xml-098907e6.js")
|
|
60848
60848
|
});
|
|
60849
60849
|
/*!-----------------------------------------------------------------------------
|
|
60850
60850
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -60942,7 +60942,7 @@ var CN = class {
|
|
|
60942
60942
|
}, R3 = new CN("css", vN, wN), O3 = new CN("scss", vN, wN), P3 = new CN("less", vN, wN);
|
|
60943
60943
|
Of.languages.css = { cssDefaults: R3, lessDefaults: P3, scssDefaults: O3 };
|
|
60944
60944
|
function SN() {
|
|
60945
|
-
return import("./cssMode-
|
|
60945
|
+
return import("./cssMode-eda08630.js");
|
|
60946
60946
|
}
|
|
60947
60947
|
Of.languages.onLanguage("less", () => {
|
|
60948
60948
|
SN().then((s) => s.setupMode(P3));
|
|
@@ -61037,7 +61037,7 @@ rv.languages.html = {
|
|
|
61037
61037
|
registerHTMLLanguageService: cv
|
|
61038
61038
|
};
|
|
61039
61039
|
function mie() {
|
|
61040
|
-
return import("./htmlMode-
|
|
61040
|
+
return import("./htmlMode-1cc3531d.js");
|
|
61041
61041
|
}
|
|
61042
61042
|
function cv(s, e = av, t = lv(s)) {
|
|
61043
61043
|
const i = new hie(s, e, t);
|
|
@@ -61114,7 +61114,7 @@ var Sie = class {
|
|
|
61114
61114
|
}, V3 = new Sie("json", yie, Lie);
|
|
61115
61115
|
Gm.languages.json = { jsonDefaults: V3 };
|
|
61116
61116
|
function xie() {
|
|
61117
|
-
return import("./jsonMode-
|
|
61117
|
+
return import("./jsonMode-59ea4e99.js");
|
|
61118
61118
|
}
|
|
61119
61119
|
Gm.languages.register({
|
|
61120
61120
|
id: "json",
|
|
@@ -61253,7 +61253,7 @@ lf.languages.typescript = {
|
|
|
61253
61253
|
getJavaScriptWorker: Rie
|
|
61254
61254
|
};
|
|
61255
61255
|
function dv() {
|
|
61256
|
-
return import("./tsMode-
|
|
61256
|
+
return import("./tsMode-a4a0e653.js");
|
|
61257
61257
|
}
|
|
61258
61258
|
lf.languages.onLanguage("typescript", () => dv().then((s) => s.setupTypeScript(q3)));
|
|
61259
61259
|
lf.languages.onLanguage("javascript", () => dv().then((s) => s.setupJavaScript(G3)));
|
|
@@ -94903,7 +94903,7 @@ var Wme = function() {
|
|
|
94903
94903
|
e.showControls = !0;
|
|
94904
94904
|
}, "&mouseleave": function(i) {
|
|
94905
94905
|
e.showControls = !1;
|
|
94906
|
-
} } }, [e.isEdited ? t("CustomView", { staticStyle: { width: "100%", "min-height": "0" }, attrs: { html: e.html, css: e.css, javascript: e.javascript, _document: e._document } }) : e._e(), e.isForm ? [e.showControls ? t("CButton", { staticClass: "document-block__edit-button", attrs: { round: "", size: "small", thinner: "", "icon-right": "colored-dots" }, on: { click: e.openModal } }, [e._v(" " + e._s(e.$t("_common:edit").capitalize()) + " ")]) : e._e(), e.canEdit && !e.isEdited ? t("div", { staticClass: "flex flex-col items-center justify-center text-center", staticStyle: { padding: "
|
|
94906
|
+
} } }, [e.isEdited ? t("CustomView", { staticStyle: { width: "100%", "min-height": "0" }, attrs: { html: e.html, css: e.css, javascript: e.javascript, _document: e._document } }) : e._e(), e.isForm ? [e.showControls ? t("CButton", { staticClass: "document-block__edit-button", attrs: { round: "", size: "small", thinner: "", "icon-right": "colored-dots" }, on: { click: e.openModal } }, [e._v(" " + e._s(e.$t("_common:edit").capitalize()) + " ")]) : e._e(), e.canEdit && !e.isEdited ? t("div", { staticClass: "flex flex-col items-center justify-center text-center", staticStyle: { padding: "calc(3 * var(--rem)) calc(1 * var(--rem)) calc(4 * var(--rem)) calc(1 * var(--rem))", "line-height": "1.5", color: "white" } }, [t("div", { staticStyle: { "font-weight": "500", "margin-bottom": "0.25em", opacity: "0.98" }, domProps: { textContent: e._s(e.$t("title")) } }), t("div", { staticStyle: { "font-size": "14px", "margin-bottom": "calc(2 * var(--rem))", color: "hsl(218deg 24% 60%)", "max-width": "40ch" }, domProps: { textContent: e._s(e.$t("text")) } }), t("CButton", { staticStyle: { "font-size": "14px", "border-radius": "8px", padding: "12px 12px", height: "initial", "box-shadow": "rgb(0, 0, 0, 50%) 0px 10px 40px" }, attrs: { size: "normal", "icon-left": "code", type: "secondary" }, on: { click: e.openModal } }, [e._v(" " + e._s(e.$t("action")) + " ")])], 1) : e._e()] : e._e(), t("CustomModal", { ref: "customModal", attrs: { html: e.html, css: e.css, javascript: e.javascript, _document: e._document }, on: { "update:html": function(i) {
|
|
94907
94907
|
e.html = i;
|
|
94908
94908
|
}, "update:css": function(i) {
|
|
94909
94909
|
e.css = i;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { m as l } from "./mapFormMixin-a245a297.js";
|
|
2
|
+
import { o as r, n as o } from "./main-95207159.js";
|
|
3
|
+
const c = {
|
|
4
|
+
name: "DocChapter",
|
|
5
|
+
components: {
|
|
6
|
+
CInput: r
|
|
7
|
+
},
|
|
8
|
+
mixins: [l(["title"])],
|
|
9
|
+
props: {
|
|
10
|
+
enableSpacingX: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: !0
|
|
13
|
+
},
|
|
14
|
+
enableSpacingY: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: !0
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
methods: {
|
|
20
|
+
// Naming convention used by generateTemplate-functions in order for it to choose whether or not to run on add
|
|
21
|
+
conditionalOnAdd() {
|
|
22
|
+
const a = () => this.$refs.input.focus();
|
|
23
|
+
this.$refs.input ? a() : this.$once("triggerOnAdd", a);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
var p = function() {
|
|
28
|
+
var i;
|
|
29
|
+
var t = this, n = t._self._c;
|
|
30
|
+
return n("div", { staticClass: "chapter" }, [n("div", { staticClass: "no-drag", class: {
|
|
31
|
+
"chapter-spacing-x": t.enableSpacingX,
|
|
32
|
+
"chapter-spacing-y": t.enableSpacingY
|
|
33
|
+
} }, [t.canEdit && ((i = t._value) != null && i.title) ? n("CInput", { ref: "input", staticClass: "title preview-title-input", attrs: { value: t.title, spellcheck: !1, placeholder: t.$t("components:account.documentForm.titleAndText.title"), static: "" }, on: { blur: (e) => {
|
|
34
|
+
var s;
|
|
35
|
+
t.title = ((s = e.target) == null ? void 0 : s.value) || "";
|
|
36
|
+
}, "hook:mounted": function(e) {
|
|
37
|
+
return t.$emit("triggerOnAdd");
|
|
38
|
+
} }, nativeOn: { keydown: function(e) {
|
|
39
|
+
return !e.type.indexOf("key") && t._k(e.keyCode, "enter", 13, e.key, "Enter") ? null : e.target.blur();
|
|
40
|
+
} } }) : t.title ? n("div", { staticClass: "title" }, [t._v(" " + t._s(t.title) + " ")]) : t._e(), n("div", [t._t("default")], 2)], 1)]);
|
|
41
|
+
}, d = [], u = /* @__PURE__ */ o(
|
|
42
|
+
c,
|
|
43
|
+
p,
|
|
44
|
+
d,
|
|
45
|
+
!1,
|
|
46
|
+
null,
|
|
47
|
+
"24381944",
|
|
48
|
+
null,
|
|
49
|
+
null
|
|
50
|
+
);
|
|
51
|
+
const m = u.exports;
|
|
52
|
+
export {
|
|
53
|
+
m as default
|
|
54
|
+
};
|