@cling-se/widget 0.9.10 → 0.9.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -35
- package/dist/{AddClientCallout-98b5d2c9.js → AddClientCallout-6b0621ec.js} +5 -5
- package/dist/{AnswerModal-995e7a87.js → AnswerModal-f6cb74d7.js} +156 -145
- package/dist/{AttachmentItem-331b9c1e.js → AttachmentItem-2a4cb524.js} +4 -4
- package/dist/{BaseDatePicker-7f047527.js → BaseDatePicker-2daf62c0.js} +1 -1
- package/dist/{BaseInput-c79f0001.js → BaseInput-a4523348.js} +1 -1
- package/dist/{BaseUpload-9402cc1b.js → BaseUpload-737004ad.js} +3 -3
- package/dist/{BlockMedia-80a082ed.js → BlockMedia-a145fc19.js} +2 -2
- package/dist/{CCallout-bd314caa.js → CCallout-7fb1ad5c.js} +6 -6
- package/dist/{CDropdownItem-ab42f924.js → CDropdownItem-79c8dc70.js} +5 -5
- package/dist/{CField-6da7299b.js → CField-2b1118f9.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-c70342a2.js → CSlider.vue_vue_type_style_index_0_lang-47894df7.js} +1 -1
- package/dist/{ClientAutocomplete-67fc253c.js → ClientAutocomplete-3d098904.js} +6 -6
- package/dist/{ClientModal-1709e8c7.js → ClientModal-d1bf8d0d.js} +5 -5
- package/dist/{ColorPicker-4880a624.js → ColorPicker-c61cd86f.js} +29 -29
- package/dist/{CompanyModal-dbe85884.js → CompanyModal-46cab2d1.js} +4 -4
- package/dist/{ContentWrapper-a602cc3d.js → ContentWrapper-3251ab37.js} +14 -14
- package/dist/{CoverBlockSettings-f37fe6e1.js → CoverBlockSettings-3ad93db4.js} +21 -20
- package/dist/{DocAnswer-081e8239.js → DocAnswer-a0f2853b.js} +4 -4
- package/dist/DocForm-a4c0a0f1.js +7087 -0
- package/dist/{DocFormSend-c9b955b9.js → DocFormSend-ed982485.js} +24 -21
- package/dist/{DocModalBase-8c238a59.js → DocModalBase-22abfff9.js} +4 -4
- package/dist/{DocPrint-2a181ffb.js → DocPrint-028aa0ed.js} +5 -5
- package/dist/{DocReceipt-00c0f631.js → DocReceipt-3bd27c4a.js} +1 -1
- package/dist/{DocSendReminder-9effd808.js → DocSendReminder-8ad0ca86.js} +1 -1
- package/dist/{DocTextEditor-0c8a4782.js → DocTextEditor-8930e458.js} +12 -12
- package/dist/{DocTimeline-be5e8b9d.js → DocTimeline-2ab336f0.js} +1 -1
- package/dist/{DocumentClient-13f55b25.js → DocumentClient-441798b5.js} +5 -5
- package/dist/{DocumentLayout-2ff55f9f.js → DocumentLayout-02c32058.js} +97 -97
- package/dist/{DocumentLogotype-80a2521a.js → DocumentLogotype-43ef9231.js} +6 -6
- package/dist/{EmbedInput-8572a42b.js → EmbedInput-996ae0e3.js} +2 -2
- package/dist/{EmbedSettings-1a60358e.js → EmbedSettings-41af8b9c.js} +5 -5
- package/dist/{ErrorCallout-84e8168b.js → ErrorCallout-d392ffe9.js} +2 -2
- package/dist/{FilePreviewModal-cdafbf1c.js → FilePreviewModal-e298691e.js} +5 -5
- package/dist/{HeaderSettings-9f4d182b.js → HeaderSettings-687131c9.js} +20 -19
- package/dist/{ImageSelectModal-b97c8185.js → ImageSelectModal-eec441aa.js} +16 -18
- package/dist/{ImageUploadWrapper-ebcdbc9e.js → ImageUploadWrapper-b244cf9e.js} +3 -3
- package/dist/{Index-6c782bef.js → Index-01a3b6ed.js} +12 -12
- package/dist/{Index-473d0fad.js → Index-0ed1b84a.js} +3 -3
- package/dist/{Index-4bbfdb2e.js → Index-13b65d9b.js} +2 -2
- package/dist/{Index-dd30bbc5.js → Index-2468cd69.js} +12 -12
- package/dist/{Index-8eff4eae.js → Index-25ce24cc.js} +2 -2
- package/dist/{Index-0bd4a30c.js → Index-2b19a264.js} +16 -16
- package/dist/{Index-7b1fd376.js → Index-30ebb13c.js} +2 -2
- package/dist/{Index-b233276b.js → Index-37d3fd60.js} +2 -2
- package/dist/{Index-8c4fd5b4.js → Index-485b35e8.js} +27 -27
- package/dist/{Index-341f9388.js → Index-5ff95ead.js} +8 -8
- package/dist/{Index-ba4cfb80.js → Index-62ea070e.js} +6 -6
- package/dist/{Index-dca28212.js → Index-6c5de42a.js} +2 -2
- package/dist/{Index-11d16691.js → Index-6ca4a7e4.js} +22 -22
- package/dist/{Index-8cba5dac.js → Index-6d61f98d.js} +26 -26
- package/dist/{Index-de93e029.js → Index-77a7d639.js} +7 -7
- package/dist/{Index-8053871b.js → Index-7c421b05.js} +4 -4
- package/dist/{Index-0306a974.js → Index-7d2fe1bd.js} +12 -12
- package/dist/{Index-c2b2ccd9.js → Index-87cd4771.js} +8 -8
- package/dist/{Index-8755440b.js → Index-8882ee1b.js} +5 -5
- package/dist/{Index-7f01697f.js → Index-8c254496.js} +7 -7
- package/dist/{Index-623bb993.js → Index-9ccce76f.js} +4 -4
- package/dist/{Index-ffc7dba1.js → Index-a7871ea6.js} +5 -5
- package/dist/{Index-3ccc66e4.js → Index-a9f197a7.js} +4 -4
- package/dist/{Index-451f5485.js → Index-af3a9b66.js} +5 -5
- package/dist/{Index-f9063054.js → Index-b9b80eae.js} +7 -7
- package/dist/{Index-5428e87c.js → Index-bf23d7a9.js} +11 -11
- package/dist/{Index-0022bc40.js → Index-c3a619f4.js} +4 -4
- package/dist/{Index-ddf49640.js → Index-d3225e03.js} +6 -6
- package/dist/{Index-95f0dd2f.js → Index-d76bf229.js} +19 -19
- package/dist/{Index-2ecefac2.js → Index-e2919ed0.js} +4 -4
- package/dist/{Index-8ecb9aa4.js → Index-ee558d21.js} +2 -2
- package/dist/{Index-9c5f5d6e.js → Index-efa47af4.js} +7 -7
- package/dist/{Index-039d9c9d.js → Index-f14261e7.js} +6 -6
- package/dist/{Index-0bbbe1cf.js → Index-fd947a18.js} +13 -13
- package/dist/{InputToggleRow-533651e6.js → InputToggleRow-ee713437.js} +2 -2
- package/dist/IsPremiumPreStep-9b5a0a01.js +3669 -0
- package/dist/{MediaWrapper-388589e5.js → MediaWrapper-45257b41.js} +3 -3
- package/dist/{NotBindingText-b833c49b.js → NotBindingText-c2f7c9cb.js} +2 -2
- package/dist/{PackageGroup-41b2d524.js → PackageGroup-b2aa42da.js} +15 -15
- package/dist/{PdfTerms-461fcd9e.js → PdfTerms-2d66043e.js} +7 -7
- package/dist/{PdfViewer-099b598c.js → PdfViewer-947ee278.js} +2 -2
- package/dist/{PlainHtml-37aa5b7b.js → PlainHtml-a3d47a45.js} +1 -1
- package/dist/PriceHeader-b6a99a57.js +337 -0
- package/dist/{SearchApi-25909227.js → SearchApi-c6511bc3.js} +2 -2
- package/dist/Setup-60ec3c2a.js +54 -0
- package/dist/{TermsSettings-c730ac70.js → TermsSettings-836555da.js} +10 -10
- package/dist/{ThemeColorRow-31d8285b.js → ThemeColorRow-672086c3.js} +12 -21
- package/dist/{ToggleBinding-1a98360f.js → ToggleBinding-3c581fbb.js} +3 -3
- package/dist/{UploadModal-e0a37c3e.js → UploadModal-b3933203.js} +4 -4
- package/dist/{VideoPlayerInput-4d7f302a.js → VideoPlayerInput-5ad13a27.js} +3 -3
- package/dist/{VideoPlayerSettings-81168a6b.js → VideoPlayerSettings-e964804b.js} +5 -5
- package/dist/{VideoSelectModal-dc429ff0.js → VideoSelectModal-321b2270.js} +30 -30
- package/dist/{answerDocumentMixin-3ff2b25d.js → answerDocumentMixin-76224b35.js} +3 -3
- package/dist/{cssMode-c6b1b286.js → cssMode-2bf89988.js} +7 -7
- package/dist/{focusDrawerMixin-01b547f0.js → focusDrawerMixin-dffff858.js} +1 -1
- package/dist/{formComponentsInstall-9e33cb8f.js → formComponentsInstall-57c30f22.js} +265 -255
- package/dist/{formValidationMixin-74c239ee.js → formValidationMixin-9d5c1283.js} +1 -1
- package/dist/{freemarker2-076519a0.js → freemarker2-503b066f.js} +7 -7
- package/dist/{handlebars-bb155717.js → handlebars-8c0c0a90.js} +7 -7
- package/dist/{html-1cf008d9.js → html-5b503855.js} +7 -7
- package/dist/{htmlMode-bf67fa2b.js → htmlMode-b751a462.js} +7 -7
- package/dist/image-a902f5a5.js +18 -0
- package/dist/{index-e37214e9.js → index-1c1cefec.js} +4 -4
- package/dist/{index-908333a3.js → index-771f5571.js} +9 -9
- package/dist/index-9a5227ef.js +82 -0
- package/dist/{index-7097f05c.js → index-a9f8e647.js} +13 -13
- package/dist/{index-0f09ca1c.js → index-d81be181.js} +10 -10
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +581 -581
- package/dist/{javascript-b98377f9.js → javascript-2d18f43b.js} +8 -8
- package/dist/{jsonMode-e9595a57.js → jsonMode-95421c7a.js} +7 -7
- package/dist/{liquid-b60636e3.js → liquid-47ff3277.js} +7 -7
- package/dist/{main-cf622dd3.js → main-5532481e.js} +7274 -7171
- package/dist/{mapFormMixin-490a1765.js → mapFormMixin-218f9749.js} +1 -1
- package/dist/{publicSenderState-6b369e21.js → publicSenderState-7c91d66d.js} +1 -1
- package/dist/{python-4e4d18f5.js → python-afd06bc4.js} +7 -7
- package/dist/{razor-63ead89f.js → razor-28875ccf.js} +7 -7
- package/dist/{simplebar.min-3f1edc12.js → simplebar.min-3682e5c9.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{template-66eba036.js → template-cd101772.js} +1 -1
- package/dist/throttle-3a262479.js +18 -0
- package/dist/{tinycolor-9f3cc25c.js → tinycolor-ca02e626.js} +6 -6
- package/dist/{tippy.esm-dec03596.js → tippy.esm-a7740684.js} +7 -7
- package/dist/{tsMode-e93504e4.js → tsMode-bc258439.js} +7 -7
- package/dist/{typescript-111230d0.js → typescript-ac68850c.js} +7 -7
- package/dist/{utils-fb02e603.js → utils-b0646315.js} +5 -5
- package/dist/{vuedraggable.umd-f2d6d3e3.js → vuedraggable.umd-934a0379.js} +1 -1
- package/dist/{xml-987e33cc.js → xml-a8591419.js} +7 -7
- package/package.json +1 -1
- package/.env +0 -12
- package/dist/DocForm-c69281fc.js +0 -7062
- package/dist/IsPremiumPreStep-8d46fadc.js +0 -2349
- package/dist/PriceHeader-41c48787.js +0 -337
- package/dist/regions-29ee6964.js +0 -1250
- package/dist/throttle-2b45d29c.js +0 -18
- package/jsconfig.json +0 -11
- package/postcss.config.cjs +0 -6
- package/stats.html +0 -4044
- package/tailwind.config.cjs +0 -26
- package/vite-plugin-library-asset-external/index.js +0 -134
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as a } from "./CDropdownItem-
|
|
2
|
-
import { v as l } from "./utils-
|
|
3
|
-
import { n } from "./main-
|
|
1
|
+
import { d as a } from "./CDropdownItem-79c8dc70.js";
|
|
2
|
+
import { v as l } from "./utils-b0646315.js";
|
|
3
|
+
import { n } from "./main-5532481e.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-5ad13a27.js";
|
|
2
|
+
import { n as s } from "./main-5532481e.js";
|
|
3
|
+
import "./CDropdownItem-79c8dc70.js";
|
|
4
|
+
import "./utils-b0646315.js";
|
|
5
5
|
const l = {
|
|
6
6
|
i18nOptions: {
|
|
7
7
|
namespaces: "components",
|
|
@@ -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
|
);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { B as _, a as y } from "./index-
|
|
3
|
-
import x from "./VideoPlayerInput-
|
|
4
|
-
import "./CDropdownItem-
|
|
5
|
-
import "./throttle-
|
|
1
|
+
import { c as h, n as f, l as g } from "./main-5532481e.js";
|
|
2
|
+
import { B as _, a as y } from "./index-771f5571.js";
|
|
3
|
+
import x from "./VideoPlayerInput-5ad13a27.js";
|
|
4
|
+
import "./CDropdownItem-79c8dc70.js";
|
|
5
|
+
import "./throttle-3a262479.js";
|
|
6
6
|
import "./dom-068d1a7b.js";
|
|
7
|
-
import "./simplebar.min-
|
|
8
|
-
import "./utils-
|
|
9
|
-
const V = h.pexels.id,
|
|
7
|
+
import "./simplebar.min-3682e5c9.js";
|
|
8
|
+
import "./utils-b0646315.js";
|
|
9
|
+
const V = h.pexels.id, b = {
|
|
10
10
|
name: "VideoSelectModal",
|
|
11
11
|
i18nOptions: {
|
|
12
12
|
namespaces: "videoSelectModal",
|
|
@@ -34,7 +34,7 @@ const V = h.pexels.id, w = {
|
|
|
34
34
|
};
|
|
35
35
|
},
|
|
36
36
|
methods: {
|
|
37
|
-
async fetch({ query:
|
|
37
|
+
async fetch({ query: a, page: t }) {
|
|
38
38
|
const { data: e } = await g.get("https://api.pexels.com/videos/search", {
|
|
39
39
|
headers: {
|
|
40
40
|
Authorization: V
|
|
@@ -42,18 +42,18 @@ const V = h.pexels.id, w = {
|
|
|
42
42
|
params: {
|
|
43
43
|
page: t,
|
|
44
44
|
per_page: 12,
|
|
45
|
-
query:
|
|
45
|
+
query: a
|
|
46
46
|
}
|
|
47
|
-
}),
|
|
47
|
+
}), s = (o, i) => o.height < i.height || o.width < i.width ? -1 : 1, u = (o) => (o.find(({ height: i }) => i > 1e3 && i < 1200) || {}).link;
|
|
48
48
|
return {
|
|
49
49
|
items: (e.videos || []).map(({
|
|
50
50
|
id: o,
|
|
51
51
|
image: i,
|
|
52
|
-
video_files:
|
|
52
|
+
video_files: r = [],
|
|
53
53
|
user: d
|
|
54
54
|
}) => {
|
|
55
|
-
const { sd: m, hd: p } = (
|
|
56
|
-
let n = u(
|
|
55
|
+
const { sd: m, hd: p } = (r || []).sort(s).reduce((c, l) => (c[l.quality] && l.link && c[l.quality].push(l.link), c), { sd: [], hd: [] }), [v] = m;
|
|
56
|
+
let n = u(r);
|
|
57
57
|
return n || ([n] = p.length ? p : m.slice(-1)), {
|
|
58
58
|
id: `${o}`,
|
|
59
59
|
image: i,
|
|
@@ -67,45 +67,45 @@ const V = h.pexels.id, w = {
|
|
|
67
67
|
total: e.total_results
|
|
68
68
|
};
|
|
69
69
|
},
|
|
70
|
-
selectVideo(
|
|
70
|
+
selectVideo(a) {
|
|
71
71
|
const {
|
|
72
72
|
id: t,
|
|
73
73
|
image: e,
|
|
74
|
-
video:
|
|
75
|
-
} =
|
|
74
|
+
video: s
|
|
75
|
+
} = a || {};
|
|
76
76
|
this.selectedVideo = {
|
|
77
77
|
id: t,
|
|
78
|
-
url:
|
|
78
|
+
url: s,
|
|
79
79
|
thumbnail: e,
|
|
80
80
|
provider: "pexels"
|
|
81
81
|
};
|
|
82
82
|
},
|
|
83
83
|
onSave() {
|
|
84
|
-
const
|
|
85
|
-
this.$emit("input",
|
|
84
|
+
const a = this.activeTab === "pexels" ? this.selectedVideo : this.customVideo;
|
|
85
|
+
this.$emit("input", a), this.$parent && this.$parent.$emit("input", a), this.$emit("close");
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
};
|
|
89
|
-
var
|
|
89
|
+
var w = function() {
|
|
90
90
|
var t = this, e = t._self._c;
|
|
91
|
-
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" }, [e("CButton", { staticStyle: { "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, style: t.activeTab === "pexels" && { opacity: 1 }, on: { click: function(
|
|
91
|
+
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" }, [e("CButton", { staticStyle: { "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, style: t.activeTab === "pexels" && { opacity: 1 }, on: { click: function(s) {
|
|
92
92
|
t.activeTab = "pexels";
|
|
93
|
-
} } }, [e("span", { staticStyle: { display: "inline-flex", "align-items": "center" } }, [e("svg", { staticStyle: { "margin-right": "calc(0.5 * var(--rem))" }, attrs: { xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", viewBox: "0 0 32 32" } }, [e("path", { attrs: { 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" } }), e("path", { attrs: { 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" } })]), t._v(" " + t._s(t.$t("_common:video").capitalize()) + " ")])]), e("CButton", { staticStyle: { "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, style: t.activeTab === "customUrl" && { opacity: 1 }, on: { click: function(
|
|
93
|
+
} } }, [e("span", { staticStyle: { display: "inline-flex", "align-items": "center" } }, [e("svg", { staticStyle: { "margin-right": "calc(0.5 * var(--rem))" }, attrs: { xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", viewBox: "0 0 32 32" } }, [e("path", { attrs: { 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" } }), e("path", { attrs: { 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" } })]), t._v(" " + t._s(t.$t("_common:video").capitalize()) + " ")])]), e("CButton", { staticStyle: { "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, style: t.activeTab === "customUrl" && { opacity: 1 }, on: { click: function(s) {
|
|
94
94
|
t.activeTab = "customUrl";
|
|
95
|
-
} } }, [e("span", { staticStyle: { display: "inline-flex", "align-items": "center" } }, [e("svg", { staticStyle: { "margin-right": "calc(0.5 * var(--rem))" }, attrs: { 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" } }, [e("g", { attrs: { transform: "scale(.58824)" } }, [e("path", { attrs: { 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" } }), e("path", { attrs: { fill: "#fff", d: "M80.2 42.5L48.6 24.3v36.4z" } })])]), t._v(" " + t._s(t.$t("tabLink").capitalize()) + " ")])])], 1), t.activeTab === "pexels" ? e("BackgroundList", { attrs: { fetch: t.fetch, "credit-text": t.$t("creditVideos", { thing: "Pexels" }), "default-query": "nature" }, on: { select: t.selectVideo } }, [e("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { slot: "footer", disable: !t.selectedVideo, type: "secondary" }, on: { click: t.onSave }, slot: "footer" }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1) : 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(
|
|
96
|
-
t.customVideo =
|
|
95
|
+
} } }, [e("span", { staticStyle: { display: "inline-flex", "align-items": "center" } }, [e("svg", { staticStyle: { "margin-right": "calc(0.5 * var(--rem))" }, attrs: { 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" } }, [e("g", { attrs: { transform: "scale(.58824)" } }, [e("path", { attrs: { 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" } }), e("path", { attrs: { fill: "#fff", d: "M80.2 42.5L48.6 24.3v36.4z" } })])]), t._v(" " + t._s(t.$t("tabLink").capitalize()) + " ")])])], 1), t.activeTab === "pexels" ? e("BackgroundList", { attrs: { fetch: t.fetch, "credit-text": t.$t("creditVideos", { thing: "Pexels" }), "default-query": "nature" }, on: { select: t.selectVideo } }, [e("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { slot: "footer", disable: !t.selectedVideo, type: "secondary" }, on: { click: t.onSave }, slot: "footer" }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1) : 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(s) {
|
|
96
|
+
t.customVideo = s;
|
|
97
97
|
}, expression: "customVideo" } }, [e("CButton", { attrs: { disable: !t.customVideo, type: "secondary" }, on: { click: t.onSave } }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1)], 1)])], 1);
|
|
98
|
-
},
|
|
98
|
+
}, k = [], S = /* @__PURE__ */ f(
|
|
99
|
+
b,
|
|
99
100
|
w,
|
|
100
101
|
k,
|
|
101
|
-
b,
|
|
102
102
|
!1,
|
|
103
103
|
null,
|
|
104
|
-
"
|
|
104
|
+
"8d77a3bb",
|
|
105
105
|
null,
|
|
106
106
|
null
|
|
107
107
|
);
|
|
108
|
-
const
|
|
108
|
+
const q = S.exports;
|
|
109
109
|
export {
|
|
110
|
-
|
|
110
|
+
q as default
|
|
111
111
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as r } from "./main-
|
|
2
|
-
import { w as l } from "./CDropdownItem-
|
|
1
|
+
import { b as r } from "./main-5532481e.js";
|
|
2
|
+
import { w as l } from "./CDropdownItem-79c8dc70.js";
|
|
3
3
|
const m = ({ documentKey: s = "document" } = {}) => ({
|
|
4
4
|
mixins: [l],
|
|
5
5
|
inject: {
|
|
@@ -26,7 +26,7 @@ const m = ({ documentKey: s = "document" } = {}) => ({
|
|
|
26
26
|
const o = t === "decline" ? !0 : this.isValid();
|
|
27
27
|
if (!i.isPreview && !o)
|
|
28
28
|
return;
|
|
29
|
-
const n = this.mq === "sm" ? "100%" : "auto", a = () => import("./AnswerModal-
|
|
29
|
+
const n = this.mq === "sm" ? "100%" : "auto", a = () => import("./AnswerModal-f6cb74d7.js");
|
|
30
30
|
this.$modal.show(
|
|
31
31
|
a,
|
|
32
32
|
{
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
var Le = Object.defineProperty;
|
|
2
2
|
var Fe = (e, n, i) => n in e ? Le(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var E = (e, n, i) => (Fe(e, typeof n != "symbol" ? n + "" : n, i), i);
|
|
4
|
-
import { m as je } from "./Index-
|
|
5
|
-
import "./mapFormMixin-
|
|
6
|
-
import "./main-
|
|
7
|
-
import "./throttle-
|
|
8
|
-
import "./CDropdownItem-
|
|
4
|
+
import { m as je } from "./Index-485b35e8.js";
|
|
5
|
+
import "./mapFormMixin-218f9749.js";
|
|
6
|
+
import "./main-5532481e.js";
|
|
7
|
+
import "./throttle-3a262479.js";
|
|
8
|
+
import "./CDropdownItem-79c8dc70.js";
|
|
9
9
|
import "./splitpanes-ba7897bf.js";
|
|
10
|
-
import "./DocumentLayout-
|
|
11
|
-
import "./template-
|
|
10
|
+
import "./DocumentLayout-02c32058.js";
|
|
11
|
+
import "./template-cd101772.js";
|
|
12
12
|
/*!-----------------------------------------------------------------------------
|
|
13
13
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
14
14
|
* Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)
|