@cling-se/widget 0.15.2 → 0.15.3
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-CSxN7XFh.js → AddClientCallout-8s5a1_CZ.js} +3 -3
- package/dist/{AnswerModal-DEwMlsT8.js → AnswerModal-Cnp43tGo.js} +3 -3
- package/dist/{AttachmentItem-R7YMKqQ2.js → AttachmentItem-BP85gcjP.js} +6 -4
- package/dist/{BaseDatePicker-Bd1maWgF.js → BaseDatePicker-C27CsTzy.js} +561 -557
- package/dist/{BaseUpload-C9Jd1JBo.js → BaseUpload-DnhS3hGx.js} +2 -2
- package/dist/{BlockMedia-CUCZYVdZ.js → BlockMedia-D4nhek2s.js} +1 -1
- package/dist/{CCallout-_k7FPbsE.js → CCallout-CQjRcxpC.js} +1 -1
- package/dist/{CCurrencyDropdown-DejfeYVY.js → CCurrencyDropdown-BT01qBGg.js} +24 -20
- package/dist/{CDropdownItem-b6ZzOnv-.js → CDropdownItem-BSPNul90.js} +1 -1
- package/dist/{CFormField-BjGICSv5.js → CFormField-Cz_jNazS.js} +1 -1
- package/dist/{CPhoneFormat-Bf2fgYtr.js → CPhoneFormat-C017AoM0.js} +1 -1
- package/dist/{CPriceInput-myrETXfz.js → CPriceInput-jktMjvwx.js} +20 -16
- package/dist/ClientAutocomplete-B3z6RPXr.js +82 -0
- package/dist/{ClientModal-DSmFJ9bu.js → ClientModal-DLtFhJya.js} +31 -25
- package/dist/{ColorPicker-B1MJicqo.js → ColorPicker-MQmVGbvm.js} +1 -1
- package/dist/{CompanyModal-BXs3aAYm.js → CompanyModal-Qx5xMku0.js} +4 -4
- package/dist/{ContentWrapper-BKWZy4Bp.js → ContentWrapper-B9NQqp2q.js} +60 -52
- package/dist/{CoverBlockSettings-7Ivt9zN0.js → CoverBlockSettings-Bcz_W5I3.js} +5 -5
- package/dist/{DocAnswer-CaoTYUNh.js → DocAnswer-BlxFv_Gc.js} +2 -2
- package/dist/{DocDetails-C9EEpNg2.js → DocDetails-dGcYGJpp.js} +39 -35
- package/dist/{DocForm-Dww8Ust9.js → DocForm-C6o_XBcW.js} +352 -320
- package/dist/{DocFormSend-DKAqaT50.js → DocFormSend-_prtxNIf.js} +11 -7
- package/dist/{DocLinks-DFUO03dk.js → DocLinks-Dp495SCS.js} +2 -2
- package/dist/{DocModalBase-QZosNhiK.js → DocModalBase-B0wYq3ft.js} +1 -1
- package/dist/{DocPrint--T278pDE.js → DocPrint-CURxofeU.js} +1 -1
- package/dist/{DocReceipt-CPg45_I7.js → DocReceipt-DgGcBRVH.js} +5 -3
- package/dist/{DocSendReminder-DQAaiUrs.js → DocSendReminder-CPty4svi.js} +1 -1
- package/dist/{DocTextEditor-CM1f8eMD.js → DocTextEditor-BYsXFRLg.js} +67 -63
- package/dist/{DocTimeline-Ce0OZgGP.js → DocTimeline-CHg1QykR.js} +7 -5
- package/dist/{DocumentClient-DHU-Rg3r.js → DocumentClient-CZ6N73pQ.js} +5 -5
- package/dist/{DocumentLayout-GYCBw2F_.js → DocumentLayout-CiszuoQc.js} +17 -13
- package/dist/{DocumentLogotype-Cilc0ElE.js → DocumentLogotype-BgFCWcwC.js} +17 -15
- package/dist/{DocumentVoided-BH8pkv85.js → DocumentVoided-DT2hhHk2.js} +1 -1
- package/dist/{EmbedInput-lMSVQSey.js → EmbedInput-aLmvzK1I.js} +2 -2
- package/dist/{EmbedSettings-D65Y2AZL.js → EmbedSettings-BZipciy9.js} +2 -2
- package/dist/{ErrorCallout-BBNHzuhf.js → ErrorCallout-CNxSDsr_.js} +1 -1
- package/dist/{FilePreviewModal-iPIuaIor.js → FilePreviewModal-DxdksQiy.js} +2 -2
- package/dist/{Flag-CwnrA4SV.js → Flag-3OyFDPsP.js} +1 -1
- package/dist/{HeaderSettings-WKUIBCfF.js → HeaderSettings-DeoSRi6O.js} +18 -14
- package/dist/{ImageSelectModal-BTMFM3o9.js → ImageSelectModal-DvQz2VPi.js} +13 -11
- package/dist/{ImageUploadWrapper-BaLjUZF5.js → ImageUploadWrapper-CNQRdHF9.js} +2 -2
- package/dist/{Index-CEHhYmLe.js → Index-3bD76d9q.js} +6 -6
- package/dist/{Index-DK3b6Cv-.js → Index-B0n1UOOA.js} +2 -2
- package/dist/{Index-B-UWz1IM.js → Index-B3Q09phm.js} +4 -4
- package/dist/{Index-Bsv15ctO.js → Index-B9_POjpY.js} +5 -5
- package/dist/{Index-Dv1fkHWQ.js → Index-BDCgilFk.js} +2 -2
- package/dist/{Index-ZKkQzVOj.js → Index-BEpKb8IR.js} +3 -3
- package/dist/{Index-BepvyGqo.js → Index-BIv8flFB.js} +8 -8
- package/dist/{Index-9PMrT3eB.js → Index-BNJ2KHKc.js} +2 -2
- package/dist/{Index-BBOJRRgx.js → Index-BeMeWDIf.js} +5 -5
- package/dist/{Index-BBTn35Kj.js → Index-BglKAnNq.js} +21 -17
- package/dist/{Index-rL3fz1Ew.js → Index-BiVwDgqW.js} +2 -2
- package/dist/{Index-BQ3kapHk.js → Index-BjdxeF4C.js} +2 -2
- package/dist/{Index-C6tGNKAk.js → Index-C-CE21WK.js} +5 -5
- package/dist/{Index-2PGn8Pnv.js → Index-CDKq7Fx6.js} +4 -4
- package/dist/{Index-CEaZgZqg.js → Index-CJeSVpRh.js} +2 -2
- package/dist/{Index-CtZMlBfK.js → Index-CPjAXBMU.js} +5 -5
- package/dist/{Index-B_ta4yT_.js → Index-CTk6Nh-I.js} +5 -5
- package/dist/{Index-B5XaBVyJ.js → Index-CTqdaykO.js} +3 -3
- package/dist/{Index-BUEXgHEE.js → Index-CWj2vDHc.js} +17 -15
- package/dist/{Index-CtQo0b8t.js → Index-CXibuEkU.js} +1 -1
- package/dist/{Index-GrrsUUz1.js → Index-CePHdKi2.js} +4 -4
- package/dist/{Index-ivhPuQy5.js → Index-Cfc0Q0AG.js} +5 -5
- package/dist/{Index-DrSgVUyo.js → Index-Ch5j2tqD.js} +1 -1
- package/dist/{Index-B51tj7qY.js → Index-CjfCyQlB.js} +4 -4
- package/dist/{Index-B0pgh8nR.js → Index-Cr6DlYGN.js} +2 -2
- package/dist/{Index-DS7xellB.js → Index-CvRNeJ4U.js} +7 -7
- package/dist/{Index-B-YqdbQX.js → Index-D-l3i9vY.js} +3 -3
- package/dist/{Index-cPIqnY80.js → Index-D1NwTUs-.js} +5 -5
- package/dist/{Index-DJeZiYxr.js → Index-FC1UsElU.js} +4 -4
- package/dist/{Index-DS1PwlDq.js → Index-PUFeH_1z.js} +4 -4
- package/dist/{Index-Ccx9wHcb.js → Index-S3LqU0A0.js} +9 -7
- package/dist/{Index-BVt3pj58.js → Index-jIIHHGh3.js} +371 -345
- package/dist/{Index-oKRUWCcJ.js → Index-q04Dwxrr.js} +17 -15
- package/dist/{Index-0aZtDWyk.js → Index-w5DWfGOc.js} +4 -4
- package/dist/{InputToggleRow-CJF0vwk3.js → InputToggleRow-CvHvRdsn.js} +1 -1
- package/dist/{ManualPopover-CEF7LMpn.js → ManualPopover-DxE-6-Sp.js} +13 -11
- package/dist/{MediaWrapper-CM6vWCoZ.js → MediaWrapper-DNi80fbw.js} +3 -3
- package/dist/{NotBindingText-Cee9yA0M.js → NotBindingText-D2rYFVxr.js} +2 -2
- package/dist/{PackageGroup-CFXogKPM.js → PackageGroup-6ar8HjPo.js} +5 -5
- package/dist/{PdfTerms-ChtDfzne.js → PdfTerms-B-lbU_6H.js} +2 -2
- package/dist/{PdfViewer-Cd0Jm2VB.js → PdfViewer-B5qbLLtd.js} +21 -21
- package/dist/{PlainHtml-CucWAcOU.js → PlainHtml-CIMtcn2F.js} +1 -1
- package/dist/{PriceHeader-DdMZUaq5.js → PriceHeader-BSpj_-5M.js} +6 -6
- package/dist/{SearchApi-knNqVduO.js → SearchApi-Cwgf52EV.js} +2 -2
- package/dist/{Setup-7HIAWuiK.js → Setup-CRmiH9lD.js} +1 -1
- package/dist/{SmartList-cSmGbybV.js → SmartList-D6AvxfSL.js} +1 -1
- package/dist/{TermsSettings-CAB-08E3.js → TermsSettings-DEO1O460.js} +7 -5
- package/dist/{ThemeColorRow-DxcMvBGq.js → ThemeColorRow-Cy1NKEIG.js} +14 -12
- package/dist/{ToggleBinding-CTTYdrkp.js → ToggleBinding-BvIUt1Jx.js} +8 -6
- package/dist/{UploadModal-CvoSMExA.js → UploadModal-C1j-GeMD.js} +2 -2
- package/dist/{VideoPlayerInput-X5baUH3q.js → VideoPlayerInput-BmbrquN6.js} +3 -3
- package/dist/{VideoPlayerSettings-DsIvpufB.js → VideoPlayerSettings-B7HpBoWX.js} +2 -2
- package/dist/VideoSelectModal-CeaG2tME.js +104 -0
- package/dist/{answerDocumentMixin-B8HB1WAX.js → answerDocumentMixin-AcDG8Byi.js} +3 -3
- package/dist/{debounce-B2lqFJg2.js → debounce-HJoaSvIY.js} +1 -1
- package/dist/{focusDrawerMixin-B2djM7ql.js → focusDrawerMixin-CBYjpEGL.js} +1 -1
- package/dist/{formComponentsInstall-CdjgjI6y.js → formComponentsInstall-DMoWrprH.js} +50 -40
- package/dist/{formDrawerState-CchCpZRc.js → formDrawerState-DYSBcjo4.js} +1 -1
- package/dist/{formValidationMixin-Dz9Mabvi.js → formValidationMixin-Dqlhg0R2.js} +1 -1
- package/dist/{index-kV9OZ5y0.js → index-CFe1BJZJ.js} +1 -1
- package/dist/{index-BaGtbWcA.js → index-CFwLDxbi.js} +5 -5
- package/dist/{index-twnaU4rC.js → index-CFx0cpeM.js} +1 -1
- package/dist/{index-BCrDgR_4.js → index-CKZmpLr6.js} +69 -45
- package/dist/{index-H1Kx9sJM.js → index-CLOsPxCh.js} +14 -12
- package/dist/{index-Dk6sZCYv.js → index-zzCfHTf8.js} +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +31 -31
- package/dist/{main-CerYX9PA.js → main-BIwKzAN8.js} +14 -14
- package/dist/{mapFormMixin-Hj1Y7rVt.js → mapFormMixin-e2PJ431T.js} +1 -1
- package/dist/{omit-DGBewD2h.js → omit-CpamclWf.js} +1 -1
- package/dist/{publicSenderState-t7Gu53cA.js → publicSenderState-D-_7UwjT.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{throttle-B8hI9bkk.js → throttle-B2yMLA5N.js} +2 -2
- package/dist/{tinycolor-BaK26Ky-.js → tinycolor-vIxz4Xgi.js} +1 -1
- package/dist/{tippy.esm-BuWRbveV.js → tippy.esm-DiOYviyf.js} +57 -53
- package/dist/{utils-Pmm0DT8o.js → utils-CFXqaEy7.js} +1 -1
- package/dist/{vuedraggable.umd-Besz6Tlv.js → vuedraggable.umd-DDT8qZBI.js} +1 -1
- package/package.json +1 -1
- package/dist/ClientAutocomplete-DyXQEfcS.js +0 -78
- package/dist/VideoSelectModal-VMcSU3bM.js +0 -100
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { m as s } from "./mapFormMixin-
|
|
2
|
-
import { B as c } from "./BlockMedia-
|
|
3
|
-
import { T as
|
|
4
|
-
import { f as
|
|
5
|
-
import { b as i, z as l, A as v, B as
|
|
1
|
+
import { m as s } from "./mapFormMixin-e2PJ431T.js";
|
|
2
|
+
import { B as c } from "./BlockMedia-D4nhek2s.js";
|
|
3
|
+
import { T as n } from "./DocTextEditor-BYsXFRLg.js";
|
|
4
|
+
import { f as a } from "./focusDrawerMixin-CBYjpEGL.js";
|
|
5
|
+
import { b as i, z as l, A as v, B as u, Q as d, n as m } from "./main-BIwKzAN8.js";
|
|
6
6
|
const _ = {
|
|
7
7
|
name: "CoverBlock",
|
|
8
8
|
components: {
|
|
9
9
|
BlockMedia: c,
|
|
10
|
-
TextEditor:
|
|
11
|
-
CoverBlockSettings: () => import("./CoverBlockSettings-
|
|
10
|
+
TextEditor: n,
|
|
11
|
+
CoverBlockSettings: () => import("./CoverBlockSettings-Bcz_W5I3.js")
|
|
12
12
|
},
|
|
13
|
-
mixins: [s(["coverBlock"]),
|
|
13
|
+
mixins: [s(["coverBlock"]), a],
|
|
14
14
|
inject: ["parentSize"],
|
|
15
15
|
data() {
|
|
16
16
|
return {
|
|
@@ -28,7 +28,7 @@ const _ = {
|
|
|
28
28
|
) : v(t, this._document._doc);
|
|
29
29
|
},
|
|
30
30
|
set(t) {
|
|
31
|
-
this.setValue({ key: "text", value:
|
|
31
|
+
this.setValue({ key: "text", value: u(t) });
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
media() {
|
|
@@ -38,7 +38,7 @@ const _ = {
|
|
|
38
38
|
},
|
|
39
39
|
methods: {
|
|
40
40
|
setValue({ key: t, value: e }) {
|
|
41
|
-
this.coverBlock =
|
|
41
|
+
this.coverBlock = d(this.coverBlock, t, e);
|
|
42
42
|
},
|
|
43
43
|
onAdd() {
|
|
44
44
|
const t = () => this.$refs.editor.focus();
|
|
@@ -56,7 +56,11 @@ var p = function() {
|
|
|
56
56
|
return e.$emit("triggerOnAdd");
|
|
57
57
|
} }, model: { value: e.text, callback: function(r) {
|
|
58
58
|
e.text = r;
|
|
59
|
-
}, expression: "text" } })], 1)])], 1), e.isForm ? [e.showDrawer ? o("portal", { attrs: { to: "drawer-content" }
|
|
59
|
+
}, expression: "text" } })], 1)])], 1), e.isForm ? [e.showDrawer ? o("portal", { attrs: { to: "drawer-content" }, scopedSlots: e._u([{ key: "footer", fn: function() {
|
|
60
|
+
return [o("div", { staticClass: "footer-button" }, [o("CButton", { attrs: { type: "danger", pattern: "tertiary", wide: "" }, on: { click: function(r) {
|
|
61
|
+
return e.$emit("section-remove");
|
|
62
|
+
} } }, [e._v(" " + e._s(e.$t("_common:remove")) + " ")])], 1)];
|
|
63
|
+
}, proxy: !0 }], null, !1, 3361209597) }, [o("CoverBlockSettings", { attrs: { _document: e._document, _value: {
|
|
60
64
|
type: `${e._value.coverBlock}.type`,
|
|
61
65
|
video: `${e._value.coverBlock}.cover.video`,
|
|
62
66
|
resourceUrl: `${e._value.coverBlock}.cover.resourceUrl`,
|
|
@@ -67,16 +71,14 @@ var p = function() {
|
|
|
67
71
|
overlayColor: `${e._value.coverBlock}.cover.overlayColor`,
|
|
68
72
|
gradient: `${e._value.coverBlock}.cover.gradient`,
|
|
69
73
|
backgroundColor: `${e._value.coverBlock}.cover.backgroundColor`
|
|
70
|
-
} } }),
|
|
71
|
-
return e.$emit("section-remove");
|
|
72
|
-
} } }, [e._v(" " + e._s(e.$t("_common:remove")) + " ")])], 1)], 1) : e._e()] : e._e()], 2);
|
|
74
|
+
} } })], 1) : e._e()] : e._e()], 2);
|
|
73
75
|
}, f = [], k = /* @__PURE__ */ m(
|
|
74
76
|
_,
|
|
75
77
|
p,
|
|
76
78
|
f,
|
|
77
79
|
!1,
|
|
78
80
|
null,
|
|
79
|
-
"
|
|
81
|
+
"0812f605"
|
|
80
82
|
);
|
|
81
83
|
const g = k.exports;
|
|
82
84
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as n } from "./mapFormMixin-
|
|
2
|
-
import { n as i } from "./main-
|
|
1
|
+
import { m as n } from "./mapFormMixin-e2PJ431T.js";
|
|
2
|
+
import { n as i } from "./main-BIwKzAN8.js";
|
|
3
3
|
const r = {
|
|
4
4
|
name: "ExtraWorkTimeImpactText",
|
|
5
5
|
components: {
|
|
6
|
-
Read: () => import("./Index-
|
|
7
|
-
Edit: () => import("./Index-
|
|
6
|
+
Read: () => import("./Index-BDCgilFk.js"),
|
|
7
|
+
Edit: () => import("./Index-CTqdaykO.js")
|
|
8
8
|
},
|
|
9
9
|
mixins: [
|
|
10
10
|
n([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
const
|
|
1
|
+
import { n as s } from "./main-BIwKzAN8.js";
|
|
2
|
+
const i = {
|
|
3
3
|
name: "ManualPopover",
|
|
4
4
|
data() {
|
|
5
5
|
return {
|
|
@@ -33,26 +33,28 @@ const n = {
|
|
|
33
33
|
this.getRootElm().removeEventListener("click", this.onClickOutside);
|
|
34
34
|
},
|
|
35
35
|
getRootElm() {
|
|
36
|
-
var o,
|
|
37
|
-
const t = (
|
|
36
|
+
var o, n;
|
|
37
|
+
const t = (n = (o = this.$el).getRootNode) == null ? void 0 : n.call(o);
|
|
38
38
|
return (t == null ? void 0 : t.toString()) === "[object ShadowRoot]" ? t : document;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
var r = function() {
|
|
43
43
|
var e = this, o = e._self._c;
|
|
44
|
-
return o("v-popover", e._g(e._b({ ref: "popover", attrs: { trigger: "manual", open: e.open, "auto-hide": !1 }, on: { "update:open": function(
|
|
45
|
-
e.open =
|
|
46
|
-
} }
|
|
47
|
-
|
|
48
|
-
|
|
44
|
+
return o("v-popover", e._g(e._b({ ref: "popover", attrs: { trigger: "manual", open: e.open, "auto-hide": !1 }, on: { "update:open": function(n) {
|
|
45
|
+
e.open = n;
|
|
46
|
+
} }, scopedSlots: e._u([{ key: "popover", fn: function() {
|
|
47
|
+
return [o("div", [e._t("popover")], 2)];
|
|
48
|
+
}, proxy: !0 }], null, !0) }, "v-popover", e.$attrs, !1), e.$listeners), [e._t("default")], 2);
|
|
49
|
+
}, l = [], a = /* @__PURE__ */ s(
|
|
50
|
+
i,
|
|
49
51
|
r,
|
|
50
52
|
l,
|
|
51
53
|
!1,
|
|
52
54
|
null,
|
|
53
55
|
null
|
|
54
56
|
);
|
|
55
|
-
const
|
|
57
|
+
const u = a.exports;
|
|
56
58
|
export {
|
|
57
|
-
|
|
59
|
+
u as M
|
|
58
60
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as a } from "./mapFormMixin-
|
|
2
|
-
import { B as n } from "./BlockMedia-
|
|
3
|
-
import { n as m } from "./main-
|
|
1
|
+
import { m as a } from "./mapFormMixin-e2PJ431T.js";
|
|
2
|
+
import { B as n } from "./BlockMedia-D4nhek2s.js";
|
|
3
|
+
import { n as m } from "./main-BIwKzAN8.js";
|
|
4
4
|
const o = {
|
|
5
5
|
name: "MediaWrapper",
|
|
6
6
|
components: { BlockMedia: n },
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as g } from "./mapFormMixin-
|
|
2
|
-
import { E as y } from "./ErrorCallout-
|
|
3
|
-
import { aq as f, ar as v, w as _, n as d, as as k, A as w, b as p, d as P, c as $ } from "./main-
|
|
4
|
-
import { t as m } from "./tinycolor-
|
|
5
|
-
import { T as b } from "./DocTextEditor-
|
|
1
|
+
import { m as g } from "./mapFormMixin-e2PJ431T.js";
|
|
2
|
+
import { E as y } from "./ErrorCallout-CNxSDsr_.js";
|
|
3
|
+
import { aq as f, ar as v, w as _, n as d, as as k, A as w, b as p, d as P, c as $ } from "./main-BIwKzAN8.js";
|
|
4
|
+
import { t as m } from "./tinycolor-vIxz4Xgi.js";
|
|
5
|
+
import { T as b } from "./DocTextEditor-BYsXFRLg.js";
|
|
6
6
|
const x = {
|
|
7
7
|
name: "ArticleItem",
|
|
8
8
|
mixins: [g([])],
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
import { e as
|
|
3
|
-
import { W as m } from "./DocumentLayout-
|
|
4
|
-
import { w as h } from "./CDropdownItem-
|
|
1
|
+
import { n as l, c as n, P as g } from "./main-BIwKzAN8.js";
|
|
2
|
+
import { e as d } from "./dom-CJxkno7i.js";
|
|
3
|
+
import { W as m } from "./DocumentLayout-CiszuoQc.js";
|
|
4
|
+
import { w as h } from "./CDropdownItem-BSPNul90.js";
|
|
5
5
|
let c, u, p, f;
|
|
6
6
|
function w(a) {
|
|
7
7
|
return typeof a == "object" && a !== null && a.__PDFDocumentLoadingTask === !0;
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const y = {
|
|
10
10
|
name: "PdfPage",
|
|
11
11
|
components: {
|
|
12
12
|
WithDimensions: m
|
|
@@ -132,13 +132,13 @@ const b = {
|
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
};
|
|
135
|
-
var
|
|
135
|
+
var b = function() {
|
|
136
136
|
var e = this, t = e._self._c;
|
|
137
137
|
return t("div", [e.loading ? e._t("loading") : e._e(), t("div", { ref: "container", staticClass: "pdfViewer tracking-normal", class: e.containerClass }), t("WithDimensions", { on: { resize: e.resizeScale } }, [t("div", { staticClass: "w-full" })])], 2);
|
|
138
|
-
},
|
|
138
|
+
}, v = [], P = /* @__PURE__ */ l(
|
|
139
|
+
y,
|
|
139
140
|
b,
|
|
140
141
|
v,
|
|
141
|
-
y,
|
|
142
142
|
!1,
|
|
143
143
|
null,
|
|
144
144
|
null
|
|
@@ -212,7 +212,7 @@ var x = function() {
|
|
|
212
212
|
} } }, [t("CIcon", { attrs: { type: "download", size: "20" } })], 1)]) : e._e()])], 1), e.mq === "sm" ? t("button", { staticClass: "h-10 w-10 rounded-full text-gray-400", on: { click: function(s) {
|
|
213
213
|
e.compactExpand = !e.compactExpand;
|
|
214
214
|
} } }, [t("CIcon", { staticClass: "duration-500", class: { "rotate-180": e.compactExpand }, attrs: { type: "chevron-right", size: "20" } })], 1) : e._e()])]);
|
|
215
|
-
}, C = [], $ = /* @__PURE__ */
|
|
215
|
+
}, C = [], $ = /* @__PURE__ */ l(
|
|
216
216
|
k,
|
|
217
217
|
x,
|
|
218
218
|
C,
|
|
@@ -221,7 +221,7 @@ var x = function() {
|
|
|
221
221
|
"c18582b3"
|
|
222
222
|
);
|
|
223
223
|
const V = $.exports;
|
|
224
|
-
function
|
|
224
|
+
function S(a, e) {
|
|
225
225
|
let t;
|
|
226
226
|
if (typeof a == "string")
|
|
227
227
|
t = {
|
|
@@ -234,7 +234,7 @@ function L(a, e) {
|
|
|
234
234
|
const s = window.pdfjsLib.getDocument(t).promise;
|
|
235
235
|
return s.__PDFDocumentLoadingTask = !0, e && e.onPassword && (s.onPassword = e.onPassword), e && e.onProgress && (s.onProgress = e.onProgress), s;
|
|
236
236
|
}
|
|
237
|
-
const o = "4.0.379",
|
|
237
|
+
const o = "4.0.379", L = {
|
|
238
238
|
components: {
|
|
239
239
|
VuePdf: _,
|
|
240
240
|
PDFToolbar: V
|
|
@@ -277,10 +277,10 @@ const o = "4.0.379", S = {
|
|
|
277
277
|
src: {
|
|
278
278
|
immediate: !0,
|
|
279
279
|
async handler(a) {
|
|
280
|
-
this.hasLoadedScripts || (await
|
|
280
|
+
this.hasLoadedScripts || (await d(
|
|
281
281
|
// `https://unpkg.com/pdfjs-dist@${pdfjsVersion}/build/pdf.min.mjs`
|
|
282
282
|
`${n.api.baseUrl}/js/pdfjs-dist@${o}/build/pdf.min.mjs`
|
|
283
|
-
), await
|
|
283
|
+
), await d(
|
|
284
284
|
// `https://unpkg.com/pdfjs-dist@${pdfjsVersion}/web/pdf_viewer.mjs`
|
|
285
285
|
`${n.api.baseUrl}/js/pdfjs-dist@${o}/web/pdf_viewer.mjs`
|
|
286
286
|
), window.pdfjsLib.GlobalWorkerOptions.workerSrc = `${n.api.baseUrl}/js/pdfjs-dist@${o}/build/pdf.worker.min.mjs`, this.hasLoadedScripts = !0), this.setPdf(a);
|
|
@@ -291,7 +291,7 @@ const o = "4.0.379", S = {
|
|
|
291
291
|
this.observer && (this.observer.disconnect(), this.observer = null);
|
|
292
292
|
},
|
|
293
293
|
methods: {
|
|
294
|
-
createLoadingTask:
|
|
294
|
+
createLoadingTask: S,
|
|
295
295
|
async setPdf(a) {
|
|
296
296
|
a && (this.loading = !0, this.pdfLoadingTask = this.createLoadingTask(a), this.$nextTick(() => {
|
|
297
297
|
this.pdfLoadingTask.then((e) => {
|
|
@@ -352,21 +352,21 @@ var F = function() {
|
|
|
352
352
|
}, download: e.download, "navigate-to-page": e.navigateToPage } }) : e._e(), t("div", { staticClass: "mx-auto", class: { "chapter-spacing-x max-w-full": e.autoZoom } }, [e.loading ? t("div", { staticClass: "mb-4 grid aspect-[210/297] w-full place-items-center border border-gray-100 bg-gray-50" }, [t("CIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: "28" } })], 1) : e._e(), t("div", { class: { "overflow-x-auto": !e.autoZoom } }, e._l(e.numPages, function(s) {
|
|
353
353
|
return t("VuePdf", e._b({ key: s, ref: "pageComponent", refInFor: !0, staticClass: "page-shadow", attrs: { page: s, "data-page": s, scale: e.scale, resize: e.autoZoom, "container-class": "mb-4" }, on: { "update:scale": function(i) {
|
|
354
354
|
e.scale = i;
|
|
355
|
-
} }
|
|
355
|
+
} }, scopedSlots: e._u([{ key: "loading", fn: function() {
|
|
356
|
+
return [t("div", { staticClass: "mb-4 grid aspect-[210/297] place-items-center border border-gray-100 bg-gray-50" }, [t("CIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: "28" } })], 1)];
|
|
357
|
+
}, proxy: !0 }], null, !0) }, "VuePdf", {
|
|
356
358
|
...e.$attrs,
|
|
357
359
|
...e.$props,
|
|
358
360
|
pdfLoadingTask: e.pdfLoadingTask
|
|
359
|
-
}, !1)
|
|
360
|
-
return [t("div", { staticClass: "mb-4 grid aspect-[210/297] place-items-center border border-gray-100 bg-gray-50", attrs: { slot: "loading" }, slot: "loading" }, [t("CIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: "28" } })], 1)];
|
|
361
|
-
})], 2);
|
|
361
|
+
}, !1));
|
|
362
362
|
}), 1)])]], 2);
|
|
363
|
-
}, T = [], D = /* @__PURE__ */
|
|
364
|
-
|
|
363
|
+
}, T = [], D = /* @__PURE__ */ l(
|
|
364
|
+
L,
|
|
365
365
|
F,
|
|
366
366
|
T,
|
|
367
367
|
!1,
|
|
368
368
|
null,
|
|
369
|
-
"
|
|
369
|
+
"0f4dbe96"
|
|
370
370
|
);
|
|
371
371
|
const N = D.exports;
|
|
372
372
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { m as c } from "./mapFormMixin-
|
|
2
|
-
import { B as l } from "./BlockMedia-
|
|
3
|
-
import { b as r, w as d, n, af as m } from "./main-
|
|
4
|
-
import { t as u } from "./tinycolor-
|
|
1
|
+
import { m as c } from "./mapFormMixin-e2PJ431T.js";
|
|
2
|
+
import { B as l } from "./BlockMedia-D4nhek2s.js";
|
|
3
|
+
import { b as r, w as d, n, af as m } from "./main-BIwKzAN8.js";
|
|
4
|
+
import { t as u } from "./tinycolor-vIxz4Xgi.js";
|
|
5
5
|
import { s as p } from "./dom-CJxkno7i.js";
|
|
6
|
-
import { T as y } from "./DocTextEditor-
|
|
6
|
+
import { T as y } from "./DocTextEditor-BYsXFRLg.js";
|
|
7
7
|
import { i as h } from "./i18nMessages-Chz_lxGG.js";
|
|
8
8
|
const _ = {
|
|
9
9
|
name: "SummaryBottom",
|
|
@@ -138,7 +138,7 @@ const S = f.exports, x = {
|
|
|
138
138
|
},
|
|
139
139
|
components: {
|
|
140
140
|
TextEditor: y,
|
|
141
|
-
DocumentLogotype: () => import("./DocumentLogotype-
|
|
141
|
+
DocumentLogotype: () => import("./DocumentLogotype-BgFCWcwC.js")
|
|
142
142
|
},
|
|
143
143
|
mixins: [c([])],
|
|
144
144
|
inject: ["parentSize"],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as u, p as h, i as f, j as d, n as m } from "./main-
|
|
2
|
-
import { d as p } from "./debounce-
|
|
1
|
+
import { g as u, p as h, i as f, j as d, n as m } from "./main-BIwKzAN8.js";
|
|
2
|
+
import { d as p } from "./debounce-HJoaSvIY.js";
|
|
3
3
|
import { m as y, a as g } from "./vuex.esm-DKGl8mcw.js";
|
|
4
4
|
const A = {
|
|
5
5
|
name: "SearchApi",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as m, G as o, n as v } from "./main-
|
|
2
|
-
import { m as c } from "./mapFormMixin-
|
|
3
|
-
import g from "./Index-
|
|
1
|
+
import { i as m, G as o, n as v } from "./main-BIwKzAN8.js";
|
|
2
|
+
import { m as c } from "./mapFormMixin-e2PJ431T.js";
|
|
3
|
+
import g from "./Index-Cfc0Q0AG.js";
|
|
4
4
|
const p = {
|
|
5
5
|
i18nOptions: {
|
|
6
6
|
namespaces: "terms",
|
|
@@ -79,7 +79,9 @@ const p = {
|
|
|
79
79
|
};
|
|
80
80
|
var u = function() {
|
|
81
81
|
var t = this, e = t._self._c;
|
|
82
|
-
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: "" }
|
|
82
|
+
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: "" }, scopedSlots: t._u([{ key: "trigger", fn: function() {
|
|
83
|
+
return [e("CButton", { staticClass: "is-left", staticStyle: { width: "100%" }, attrs: { "dropdown-icon": !0 } }, [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)) + " ")])])];
|
|
84
|
+
}, proxy: !0 }]) }, [t._l(t.terms.ids, function(a) {
|
|
83
85
|
return e("CDropdownItem", { key: a, staticStyle: { "padding-right": "calc(1 * var(--rem))" }, attrs: { value: a }, on: { click: function(n) {
|
|
84
86
|
t.term = t.terms.data[a];
|
|
85
87
|
} } }, [e("div", { staticClass: "truncate-text" }, [t._v(" " + t._s(t.terms.data[a].name) + " ")])]);
|
|
@@ -94,7 +96,7 @@ var u = function() {
|
|
|
94
96
|
h,
|
|
95
97
|
!1,
|
|
96
98
|
null,
|
|
97
|
-
"
|
|
99
|
+
"caf2c4cd"
|
|
98
100
|
);
|
|
99
101
|
const y = f.exports;
|
|
100
102
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as n } from "./ColorPicker-
|
|
2
|
-
import { M as s } from "./ManualPopover-
|
|
1
|
+
import { C as n } from "./ColorPicker-MQmVGbvm.js";
|
|
2
|
+
import { M as s } from "./ManualPopover-DxE-6-Sp.js";
|
|
3
3
|
import { h as a } from "./color-TdtKxwVa.js";
|
|
4
|
-
import { n as i } from "./main-
|
|
4
|
+
import { n as i } from "./main-BIwKzAN8.js";
|
|
5
5
|
const l = {
|
|
6
6
|
name: "ThemeColorRow",
|
|
7
7
|
components: {
|
|
@@ -44,22 +44,24 @@ const l = {
|
|
|
44
44
|
};
|
|
45
45
|
var c = function() {
|
|
46
46
|
var e = this, t = e._self._c;
|
|
47
|
-
return t("div", { ref: "themeContainer", staticClass: "theme-row" }, [t("div", { staticStyle: { flex: "1 1 auto" } }, [e._t("default")], 2), e.showReset ? t("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.$t("reset"), expression: "$t('reset')" }], staticClass: "reset-button", on: { click: e.reset } }, [t("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [t("path", { attrs: { d: "M2.5 2v6h6M2.66 15.57a10 10 0 1 0 .57-8.38" } })])]) : e._e(), t("ManualPopover", { attrs: { "popover-class": "popover-color-picker no-tip", "popover-inner-class": "color-wrapper" }
|
|
47
|
+
return t("div", { ref: "themeContainer", staticClass: "theme-row" }, [t("div", { staticStyle: { flex: "1 1 auto" } }, [e._t("default")], 2), e.showReset ? t("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.$t("reset"), expression: "$t('reset')" }], staticClass: "reset-button", on: { click: e.reset } }, [t("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [t("path", { attrs: { d: "M2.5 2v6h6M2.66 15.57a10 10 0 1 0 .57-8.38" } })])]) : e._e(), t("ManualPopover", { attrs: { "popover-class": "popover-color-picker no-tip", "popover-inner-class": "color-wrapper" }, scopedSlots: e._u([{ key: "popover", fn: function() {
|
|
48
|
+
return [t("div", { on: { mousedown: function(o) {
|
|
49
|
+
o.stopPropagation();
|
|
50
|
+
}, click: function(o) {
|
|
51
|
+
o.stopPropagation();
|
|
52
|
+
} } }, [t("ColorPicker", e._b({ ref: "colorPicker", model: { value: e.internalValue, callback: function(o) {
|
|
53
|
+
e.internalValue = o;
|
|
54
|
+
}, expression: "internalValue" } }, "ColorPicker", e.pickerOptions, !1))], 1)];
|
|
55
|
+
}, proxy: !0 }]) }, [t("div", { ref: "button" }, [e._t("button", function() {
|
|
48
56
|
return [t("div", { staticClass: "current-color-icon", style: { backgroundColor: e.internalValue } })];
|
|
49
|
-
})], 2),
|
|
50
|
-
o.stopPropagation();
|
|
51
|
-
}, click: function(o) {
|
|
52
|
-
o.stopPropagation();
|
|
53
|
-
} }, slot: "popover" }, [t("ColorPicker", e._b({ ref: "colorPicker", model: { value: e.internalValue, callback: function(o) {
|
|
54
|
-
e.internalValue = o;
|
|
55
|
-
}, expression: "internalValue" } }, "ColorPicker", e.pickerOptions, !1))], 1)])], 1);
|
|
57
|
+
})], 2)])], 1);
|
|
56
58
|
}, p = [], u = /* @__PURE__ */ i(
|
|
57
59
|
l,
|
|
58
60
|
c,
|
|
59
61
|
p,
|
|
60
62
|
!1,
|
|
61
63
|
null,
|
|
62
|
-
"
|
|
64
|
+
"4a704dc8"
|
|
63
65
|
);
|
|
64
66
|
const h = u.exports;
|
|
65
67
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as i } from "./mapFormMixin-
|
|
2
|
-
import { I as t } from "./InputToggleRow-
|
|
3
|
-
import { n as s } from "./main-
|
|
1
|
+
import { m as i } from "./mapFormMixin-e2PJ431T.js";
|
|
2
|
+
import { I as t } from "./InputToggleRow-CvHvRdsn.js";
|
|
3
|
+
import { n as s } from "./main-BIwKzAN8.js";
|
|
4
4
|
const a = {
|
|
5
5
|
name: "ToggleBinding",
|
|
6
6
|
i18nOptions: {
|
|
@@ -21,9 +21,11 @@ const a = {
|
|
|
21
21
|
};
|
|
22
22
|
var l = function() {
|
|
23
23
|
var n = this, e = n._self._c;
|
|
24
|
-
return e("div", [e("InputToggleRow", { attrs: { "display-value": n.notBinding, label: n.$t("label") }
|
|
25
|
-
n.notBinding
|
|
26
|
-
|
|
24
|
+
return e("div", [e("InputToggleRow", { attrs: { "display-value": n.notBinding, label: n.$t("label") }, scopedSlots: n._u([{ key: "toggle", fn: function() {
|
|
25
|
+
return [e("CSwitch", { model: { value: n.notBinding, callback: function(o) {
|
|
26
|
+
n.notBinding = o;
|
|
27
|
+
}, expression: "notBinding" } })];
|
|
28
|
+
}, proxy: !0 }]) })], 1);
|
|
27
29
|
}, r = [], g = /* @__PURE__ */ s(
|
|
28
30
|
a,
|
|
29
31
|
l,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as l, h as o, H as c, n as d } from "./main-
|
|
2
|
-
import m from "./Index-
|
|
1
|
+
import { i as l, h as o, H as c, n as d } from "./main-BIwKzAN8.js";
|
|
2
|
+
import m from "./Index-BjdxeF4C.js";
|
|
3
3
|
import { m as p } from "./vuex.esm-DKGl8mcw.js";
|
|
4
4
|
const u = {
|
|
5
5
|
i18nOptions: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as a } from "./debounce-
|
|
2
|
-
import { v as l } from "./utils-
|
|
3
|
-
import { n as r } from "./main-
|
|
1
|
+
import { d as a } from "./debounce-HJoaSvIY.js";
|
|
2
|
+
import { v as l } from "./utils-CFXqaEy7.js";
|
|
3
|
+
import { n as r } from "./main-BIwKzAN8.js";
|
|
4
4
|
const n = {
|
|
5
5
|
name: "VideoPlayerInput",
|
|
6
6
|
i18nOptions: {
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import h from "./VideoPlayerInput-BmbrquN6.js";
|
|
2
|
+
import { B as v, a as g } from "./index-CFwLDxbi.js";
|
|
3
|
+
import { c as y, n as x, o as _ } from "./main-BIwKzAN8.js";
|
|
4
|
+
const V = y.pexels.id, w = {
|
|
5
|
+
name: "VideoSelectModal",
|
|
6
|
+
i18nOptions: {
|
|
7
|
+
namespaces: "videoSelectModal",
|
|
8
|
+
messages: {
|
|
9
|
+
en: {
|
|
10
|
+
creditVideos: "Videos from {{thing}}",
|
|
11
|
+
tabLink: "Use link"
|
|
12
|
+
},
|
|
13
|
+
sv: {
|
|
14
|
+
creditVideos: "Videor från {{thing}}",
|
|
15
|
+
tabLink: "Egen länk"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
components: {
|
|
20
|
+
BackgroundModal: v,
|
|
21
|
+
BackgroundList: g,
|
|
22
|
+
VideoPlayerInput: h
|
|
23
|
+
},
|
|
24
|
+
data() {
|
|
25
|
+
return {
|
|
26
|
+
activeTab: "pexels",
|
|
27
|
+
selectedVideo: null,
|
|
28
|
+
customVideo: null
|
|
29
|
+
};
|
|
30
|
+
},
|
|
31
|
+
methods: {
|
|
32
|
+
async fetch({ query: s, page: t }) {
|
|
33
|
+
const { data: e } = await _.get("https://api.pexels.com/videos/search", {
|
|
34
|
+
headers: {
|
|
35
|
+
Authorization: V
|
|
36
|
+
},
|
|
37
|
+
params: {
|
|
38
|
+
page: t,
|
|
39
|
+
per_page: 12,
|
|
40
|
+
query: s
|
|
41
|
+
}
|
|
42
|
+
}), a = (o, i) => o.height < i.height || o.width < i.width ? -1 : 1, u = (o) => (o.find(({ height: i }) => i > 1e3 && i < 1200) || {}).link;
|
|
43
|
+
return {
|
|
44
|
+
items: (e.videos || []).map(
|
|
45
|
+
({ id: o, image: i, video_files: r = [], user: d }) => {
|
|
46
|
+
const { sd: m, hd: p } = (r || []).sort(a).reduce(
|
|
47
|
+
(l, n) => (l[n.quality] && n.link && l[n.quality].push(n.link), l),
|
|
48
|
+
{ sd: [], hd: [] }
|
|
49
|
+
), [f] = m;
|
|
50
|
+
let c = u(r);
|
|
51
|
+
return c || ([c] = p.length ? p : m.slice(-1)), {
|
|
52
|
+
id: `${o}`,
|
|
53
|
+
image: i,
|
|
54
|
+
minImage: i,
|
|
55
|
+
video: c,
|
|
56
|
+
minVideo: f,
|
|
57
|
+
userName: d.name,
|
|
58
|
+
userLink: d.link
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
),
|
|
62
|
+
total: e.total_results
|
|
63
|
+
};
|
|
64
|
+
},
|
|
65
|
+
selectVideo(s) {
|
|
66
|
+
const { id: t, image: e, video: a } = s || {};
|
|
67
|
+
this.selectedVideo = {
|
|
68
|
+
id: t,
|
|
69
|
+
url: a,
|
|
70
|
+
thumbnail: e,
|
|
71
|
+
provider: "pexels"
|
|
72
|
+
};
|
|
73
|
+
},
|
|
74
|
+
onSave() {
|
|
75
|
+
const s = this.activeTab === "pexels" ? this.selectedVideo : this.customVideo;
|
|
76
|
+
this.$emit("input", s), this.$parent && this.$parent.$emit("input", s), this.$emit("close");
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
var k = function() {
|
|
81
|
+
var t = this, e = t._self._c;
|
|
82
|
+
return e("BackgroundModal", t._g({ scopedSlots: t._u([{ key: "header", fn: function() {
|
|
83
|
+
return [e("div", { staticClass: "flex w-full items-center justify-center", staticStyle: { padding: "calc(0.25 * var(--rem)) calc(1 * var(--rem))", "border-bottom": "1px solid hsl(0, 0%, 88%)" } }, [e("CButton", { staticStyle: { "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, style: t.activeTab === "pexels" && { opacity: 1 }, on: { click: function(a) {
|
|
84
|
+
t.activeTab = "pexels";
|
|
85
|
+
} } }, [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(a) {
|
|
86
|
+
t.activeTab = "customUrl";
|
|
87
|
+
} } }, [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)];
|
|
88
|
+
}, proxy: !0 }]) }, t.$listeners), [t.activeTab === "pexels" ? e("BackgroundList", { attrs: { fetch: t.fetch, "credit-text": t.$t("creditVideos", { thing: "Pexels" }), "default-query": "nature" }, on: { select: t.selectVideo }, scopedSlots: t._u([{ key: "footer", fn: function() {
|
|
89
|
+
return [e("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { disable: !t.selectedVideo, type: "secondary" }, on: { click: t.onSave } }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])];
|
|
90
|
+
}, proxy: !0 }], null, !1, 3698158385) }) : e("div", { staticClass: "flex w-full flex-col items-center justify-center" }, [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(a) {
|
|
91
|
+
t.customVideo = a;
|
|
92
|
+
}, 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);
|
|
93
|
+
}, b = [], S = /* @__PURE__ */ x(
|
|
94
|
+
w,
|
|
95
|
+
k,
|
|
96
|
+
b,
|
|
97
|
+
!1,
|
|
98
|
+
null,
|
|
99
|
+
"7ff369a0"
|
|
100
|
+
);
|
|
101
|
+
const C = S.exports;
|
|
102
|
+
export {
|
|
103
|
+
C as default
|
|
104
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { w as a } from "./CDropdownItem-
|
|
2
|
-
import { b as r } from "./main-
|
|
1
|
+
import { w as a } from "./CDropdownItem-BSPNul90.js";
|
|
2
|
+
import { b as r } from "./main-BIwKzAN8.js";
|
|
3
3
|
const m = ({ documentKey: s = "document" } = {}) => ({
|
|
4
4
|
mixins: [a],
|
|
5
5
|
inject: {
|
|
@@ -23,7 +23,7 @@ const m = ({ documentKey: s = "document" } = {}) => ({
|
|
|
23
23
|
const e = r(this, s);
|
|
24
24
|
if (!e || e.isPreview || !(t === "decline" ? !0 : this.isValid()))
|
|
25
25
|
return;
|
|
26
|
-
const o = this.mq === "sm" ? "100%" : "auto", n = () => import("./AnswerModal-
|
|
26
|
+
const o = this.mq === "sm" ? "100%" : "auto", n = () => import("./AnswerModal-Cnp43tGo.js");
|
|
27
27
|
this.$modal.show(
|
|
28
28
|
n,
|
|
29
29
|
{
|