@cling-se/widget 0.13.0 → 0.13.2
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 +27 -22
- package/dist/{AddClientCallout-92b43564.js → AddClientCallout-7LpWNu29.js} +11 -16
- package/dist/{AnswerModal-b22aab96.js → AnswerModal-DnTU4eo8.js} +1931 -1948
- package/dist/{AttachmentItem-39196508.js → AttachmentItem-DcwbrFUh.js} +15 -18
- package/dist/{BaseDatePicker-8be0c5ee.js → BaseDatePicker-BpyeJH3N.js} +139 -142
- package/dist/{BaseInput-779cb5b2.js → BaseInput-DJreiE5M.js} +77 -56
- package/dist/{BaseUpload-941ca869.js → BaseUpload-iosxX2-N.js} +208 -212
- package/dist/{BlockMedia-bf89f8a9.js → BlockMedia-DnbdVEZz.js} +6 -8
- package/dist/{CCallout-4239825f.js → CCallout-CgviPbdr.js} +26 -16
- package/dist/{CDropdownItem-d0cd42d6.js → CDropdownItem-CTJ55d4m.js} +51 -50
- package/dist/{CField-9b72b886.js → CField-FGP7ehRq.js} +75 -58
- package/dist/{CPhoneFormat-34b4c650.js → CPhoneFormat-8u5dmTPd.js} +5 -7
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-c1638d8a.js → CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-Dc_pbPEA.js} +6 -8
- package/dist/{ClientAutocomplete-0d21002e.js → ClientAutocomplete-hcl0bJxO.js} +11 -13
- package/dist/{ClientModal-9b8173e2.js → ClientModal-B8PkUqY2.js} +25 -32
- package/dist/{ColorPicker-3d06f308.js → ColorPicker-6AIHrfJ5.js} +5 -7
- package/dist/{CompanyModal-2e203a3a.js → CompanyModal-H4hHfy7Y.js} +28 -30
- package/dist/{ContentWrapper-71bc374a.js → ContentWrapper-CHZtfhFI.js} +25 -43
- package/dist/{CoverBlockSettings-b6c200ee.js → CoverBlockSettings-etwL5N5l.js} +20 -31
- package/dist/{DocAnswer-d4ea9b74.js → DocAnswer-Udn1ItYd.js} +5 -12
- package/dist/{DocDetails-ea2635ac.js → DocDetails-BQz-is7P.js} +47 -59
- package/dist/{DocForm-cff1c78e.js → DocForm-Cvuxr89v.js} +4869 -4944
- package/dist/{DocFormSend-d0979323.js → DocFormSend-Bo6YPSMr.js} +15 -33
- package/dist/DocLinks-DlWyanFQ.js +38 -0
- package/dist/{DocModalBase-77df9b3d.js → DocModalBase-BnuOPozg.js} +8 -10
- package/dist/{DocPrint-d39100c7.js → DocPrint-Uw8zz2tr.js} +6 -10
- package/dist/{DocReceipt-cf0e772b.js → DocReceipt-DsRzRjD8.js} +11 -15
- package/dist/{DocSendReminder-dca2775e.js → DocSendReminder-BEEEh-L9.js} +2 -6
- package/dist/{DocTextEditor-5676c56f.js → DocTextEditor-C-qeLSQa.js} +2509 -2529
- package/dist/{DocTimeline-5911b608.js → DocTimeline-Bz29bHJu.js} +26 -37
- package/dist/{DocumentClient-eca72dd7.js → DocumentClient-1O7wxh-X.js} +15 -22
- package/dist/{DocumentLayout-8104d93d.js → DocumentLayout-BrN5peVY.js} +4510 -4527
- package/dist/{DocumentLogotype-c43c4bbb.js → DocumentLogotype-Bbas4MsY.js} +20 -22
- package/dist/DocumentVoided-Dy-pp_ng.js +25 -0
- package/dist/{EmbedInput-02971bf6.js → EmbedInput-bXXwMP4u.js} +9 -12
- package/dist/{EmbedSettings-575fae0e.js → EmbedSettings-BA2THNrd.js} +6 -9
- package/dist/ErrorCallout-Dvy9895L.js +28 -0
- package/dist/{FilePreviewModal-c1d2d5e7.js → FilePreviewModal-r84Ah3lE.js} +8 -14
- package/dist/{Flag-1aceeff5.js → Flag-CDN9A_59.js} +18 -20
- package/dist/{HeaderSettings-993f8c98.js → HeaderSettings-DoDFhLcR.js} +34 -49
- package/dist/{ImageSelectModal-5dfe4a29.js → ImageSelectModal-D6ifkvIw.js} +12 -20
- package/dist/{ImageUploadWrapper-1e38bbe2.js → ImageUploadWrapper-K0-MmL-L.js} +356 -384
- package/dist/{Index-a7779d2a.js → Index-3p6X7Ln-.js} +24 -26
- package/dist/{Index-57800d9c.js → Index-B26J4tXQ.js} +7 -9
- package/dist/{Index-7cbe4a17.js → Index-B6gB5CD3.js} +6 -8
- package/dist/{Index-ec8820ee.js → Index-B6u3OUGH.js} +20 -23
- package/dist/{Index-bc0d3abe.js → Index-BN64idjX.js} +18 -31
- package/dist/{Index-50b0a9b8.js → Index-BNGaREiU.js} +14 -21
- package/dist/{Index-fa4f462a.js → Index-BNeg0lcx.js} +13 -15
- package/dist/{Index-4350bb0f.js → Index-BQVjSt_5.js} +29 -29
- package/dist/Index-BVNgUe07.js +21 -0
- package/dist/{Index-be8b14a8.js → Index-Be-J2RvQ.js} +8 -11
- package/dist/{Index-33635702.js → Index-Btlub0dK.js} +11 -13
- package/dist/{Index-46b2296e.js → Index-BtzGGZEN.js} +459 -510
- package/dist/{Index-c6a8a298.js → Index-ByCpvqCC.js} +16 -21
- package/dist/{Index-8a956c1b.js → Index-CSg7HLqX.js} +8 -10
- package/dist/{Index-08737451.js → Index-CUZJomAi.js} +10 -12
- package/dist/{Index-9a0233b0.js → Index-Cj_3udAp.js} +12 -21
- package/dist/{Index-13e229bb.js → Index-CnOdi4ux.js} +4 -6
- package/dist/{Index-c1c7db19.js → Index-DT9AWIQ2.js} +12 -15
- package/dist/Index-DWHl_jys.js +24 -0
- package/dist/{Index-cfc393ae.js → Index-Di3ibm8r.js} +51 -58
- package/dist/Index-Dk-kPbWy.js +52 -0
- package/dist/Index-Dl87oWQa.js +49 -0
- package/dist/{Index-c4296623.js → Index-DnDY3FUU.js} +9 -11
- package/dist/{Index-45c7841a.js → Index-DoKh3I_O.js} +19 -26
- package/dist/{Index-2c960d57.js → Index-DvA5sZ1U.js} +7 -9
- package/dist/{Index-670097a7.js → Index-DwlzPadK.js} +233 -273
- package/dist/{Index-e9f705f3.js → Index-ID37TIgR.js} +2 -4
- package/dist/Index-TPRXPN4a.js +26 -0
- package/dist/{Index-9b7b4516.js → Index-YdyeCcFX.js} +80 -90
- package/dist/{Index-a1097b66.js → Index-b0dDsObZ.js} +5 -9
- package/dist/{Index-677b2c85.js → Index-bIYFzizT.js} +4 -6
- package/dist/{Index-04f332ec.js → Index-d5iMi4y5.js} +116 -118
- package/dist/{Index-2504f599.js → Index-oYQ9EfP9.js} +16 -18
- package/dist/{Index-cfa81e3f.js → Index-phsroK51.js} +6 -8
- package/dist/{InputToggleRow-a0dc7e03.js → InputToggleRow-ClHkgn7s.js} +3 -5
- package/dist/{ManualPopover-6cf3f592.js → ManualPopover-DrhgZvGC.js} +1 -3
- package/dist/{MediaWrapper-2c2e3d44.js → MediaWrapper-BxNEJOT7.js} +3 -6
- package/dist/{NotBindingText-12f78064.js → NotBindingText-BhKMdYBN.js} +5 -7
- package/dist/{PackageGroup-75a1ad26.js → PackageGroup--pDNkIMj.js} +35 -59
- package/dist/{PdfTerms-5686a37b.js → PdfTerms-BL34ex7f.js} +11 -18
- package/dist/{PdfViewer-d1d05125.js → PdfViewer-CPSINxc8.js} +25 -29
- package/dist/{PlainHtml-6cc2bace.js → PlainHtml-Dc76U4EV.js} +5 -7
- package/dist/{PriceHeader-e45b65bc.js → PriceHeader-CEGF-DO3.js} +113 -130
- package/dist/SearchApi-D4yY2KZj.js +161 -0
- package/dist/{Setup-bf823254.js → Setup-BJIY_mWN.js} +9 -11
- package/dist/{TermsSettings-7a077b22.js → TermsSettings-DM4pvL-n.js} +6 -12
- package/dist/{ThemeColorRow-aad0248e.js → ThemeColorRow-D7TCU3ap.js} +8 -10
- package/dist/{ToggleBinding-abd0832e.js → ToggleBinding-CSgFUF6o.js} +7 -9
- package/dist/{UploadModal-42302f2b.js → UploadModal-Cz7o7DeT.js} +16 -19
- package/dist/{VideoPlayerInput-1c6cbf06.js → VideoPlayerInput-Db0RRtb5.js} +6 -8
- package/dist/{VideoPlayerSettings-5ec723e1.js → VideoPlayerSettings-BgbNuWbP.js} +7 -11
- package/dist/{VideoSelectModal-16acfd43.js → VideoSelectModal-BIKeCzUZ.js} +20 -28
- package/dist/{answerDocumentMixin-97b33f14.js → answerDocumentMixin-Bqg9Of1S.js} +5 -5
- package/dist/{debounce-b0ffdee0.js → debounce-DceKdgy2.js} +3 -3
- package/dist/{dom-962579a6.js → dom-CPYqHOIw.js} +2 -2
- package/dist/{focusDrawerMixin-1d99a268.js → focusDrawerMixin-Cx41U1xU.js} +1 -1
- package/dist/{formComponentsInstall-6ccace37.js → formComponentsInstall-CWgaR4yB.js} +1198 -1171
- package/dist/{formDrawerState-a7b5832a.js → formDrawerState-DLCSwrgc.js} +1 -1
- package/dist/{formValidationMixin-7216cb94.js → formValidationMixin-CsLym0iM.js} +2 -2
- package/dist/{index-7690fb79.js → index-0kj8-T7-.js} +39 -44
- package/dist/{index-6caf947c.js → index-4MqvoLi4.js} +3 -5
- package/dist/{index-93d3e2cb.js → index-By9c7IPL.js} +41 -59
- package/dist/{index-d73fd8ca.js → index-C16hoSRM.js} +5 -3
- package/dist/{index-ef3da59c.js → index-C6C4uskP.js} +14 -16
- package/dist/{IsPremiumPreStep-42eeebac.js → index-Cp7dG8Zm.js} +531 -566
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +1019 -1028
- package/dist/{main-2c8b76b7.js → main-DBw231uy.js} +21733 -21943
- package/dist/{mapFormMixin-c2bc089c.js → mapFormMixin-BrtcYsT9.js} +1 -2
- package/dist/{vuedraggable.umd-e89c3d5e.js → omit-DQqb9hkZ.js} +143 -133
- package/dist/{publicSenderState-e6458640.js → publicSenderState-BysO0Mzz.js} +1 -1
- package/dist/{splitpanes-ba7897bf.js → splitpanes-BHUVsCZF.js} +38 -42
- package/dist/style.css +2 -2
- package/dist/{throttle-4f3f879a.js → throttle-DKrISvLg.js} +2 -2
- package/dist/{tinycolor-f780e5ca.js → tinycolor-Be3bF6zy.js} +6 -6
- package/dist/{tippy.esm-a855665a.js → tippy.esm-yjYH8SnL.js} +226 -232
- package/dist/{utils-4d39389a.js → utils-DP30AdJH.js} +1 -1
- package/package.json +3 -4
- package/dist/DocLinks-48aa6dd6.js +0 -41
- package/dist/DocumentVoided-2d93ef71.js +0 -27
- package/dist/ErrorCallout-05a4796b.js +0 -30
- package/dist/Index-1cb59290.js +0 -23
- package/dist/Index-2a88c858.js +0 -54
- package/dist/Index-5fb421de.js +0 -26
- package/dist/Index-6f6fc018.js +0 -28
- package/dist/Index-98c7217d.js +0 -61
- package/dist/SearchApi-410c081e.js +0 -167
- package/dist/index-805c56e4.js +0 -4
- package/dist/index-a1d51619.js +0 -14
- /package/dist/{CField.vue_vue_type_style_index_0_lang-4ed993c7.js → CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js} +0 -0
- /package/dist/{anime.es-e284c852.js → anime.es-BrPTThYb.js} +0 -0
- /package/dist/{color-c1606adc.js → color-TdtKxwVa.js} +0 -0
- /package/dist/{i18nMessages-6b279c15.js → i18nMessages-Chz_lxGG.js} +0 -0
- /package/dist/{vuex.esm-4a0fff7c.js → vuex.esm-DKGl8mcw.js} +0 -0
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import l from "./
|
|
2
|
-
import
|
|
3
|
-
import { m as p } from "./vuex.esm-
|
|
4
|
-
import "./tinycolor-f780e5ca.js";
|
|
1
|
+
import { i as l, h as o, D as c, n as d } from "./main-DBw231uy.js";
|
|
2
|
+
import m from "./Index-d5iMi4y5.js";
|
|
3
|
+
import { m as p } from "./vuex.esm-DKGl8mcw.js";
|
|
5
4
|
const u = {
|
|
6
5
|
i18nOptions: {
|
|
7
6
|
namespaces: "uploadModal",
|
|
@@ -18,7 +17,7 @@ const u = {
|
|
|
18
17
|
},
|
|
19
18
|
name: "UploadModal",
|
|
20
19
|
components: {
|
|
21
|
-
FileIcon:
|
|
20
|
+
FileIcon: m
|
|
22
21
|
},
|
|
23
22
|
data() {
|
|
24
23
|
return {
|
|
@@ -39,7 +38,7 @@ const u = {
|
|
|
39
38
|
var a;
|
|
40
39
|
this.isLoading = !0;
|
|
41
40
|
try {
|
|
42
|
-
const { data: e } = await
|
|
41
|
+
const { data: e } = await l("/file", {
|
|
43
42
|
params: {
|
|
44
43
|
companyUserId: (a = this.user) == null ? void 0 : a.id,
|
|
45
44
|
_sort: "lastUsedAt",
|
|
@@ -49,29 +48,29 @@ const u = {
|
|
|
49
48
|
}
|
|
50
49
|
});
|
|
51
50
|
this.recentFiles = (e || []).map(
|
|
52
|
-
({ displayName: t, mime: s, id: r, createdAt:
|
|
51
|
+
({ displayName: t, mime: s, id: r, createdAt: i, url: n }) => ({
|
|
53
52
|
name: t,
|
|
54
53
|
// TODO, could refactor to only 'displayName'
|
|
55
54
|
displayName: t,
|
|
56
55
|
// file-uploader-component uses displayName, therefore needed for select
|
|
57
56
|
mime: s,
|
|
58
57
|
id: r,
|
|
59
|
-
createdAt:
|
|
60
|
-
url:
|
|
58
|
+
createdAt: i,
|
|
59
|
+
url: n
|
|
61
60
|
})
|
|
62
61
|
);
|
|
63
62
|
} catch (e) {
|
|
64
|
-
|
|
63
|
+
o(e);
|
|
65
64
|
} finally {
|
|
66
65
|
this.isLoading = !1;
|
|
67
66
|
}
|
|
68
67
|
},
|
|
69
68
|
onSelect(a) {
|
|
70
|
-
|
|
69
|
+
c(`/file/${a.id}/updateLastUsedAt`), this.$emit("select", a);
|
|
71
70
|
}
|
|
72
71
|
}
|
|
73
72
|
};
|
|
74
|
-
var
|
|
73
|
+
var h = function() {
|
|
75
74
|
var e = this, t = e._self._c;
|
|
76
75
|
return t("div", { staticClass: "max-h-[90%] w-[460px] max-w-full rounded-xl bg-white text-base" }, [t("div", { staticClass: "p-6" }, [t("div", { staticClass: "hover:border-primary-500/20 cursor-pointer rounded-lg border border-gray-200 bg-gray-50 p-8 text-center text-gray-700 hover:bg-gray-100 active:bg-gray-200", on: { click: function(s) {
|
|
77
76
|
return e.$emit("open-picker");
|
|
@@ -82,17 +81,15 @@ var _ = function() {
|
|
|
82
81
|
return e.onSelect(s);
|
|
83
82
|
} } }, [t("FileIcon", { staticStyle: { "margin-right": "1em" }, attrs: { mime: s.mime, size: 30 } }), t("div", { staticClass: "truncate-text" }, [t("div", { staticClass: "truncate-text", staticStyle: { "font-weight": "500" } }, [e._v(" " + e._s(s.name) + " ")]), t("div", { staticClass: "up-recent-item-hint" }, [e._v(" " + e._s(e.$formatDate(s.createdAt)) + " ")])])], 1);
|
|
84
83
|
})], 2) : e._e()]);
|
|
85
|
-
},
|
|
84
|
+
}, f = [], _ = /* @__PURE__ */ d(
|
|
86
85
|
u,
|
|
87
|
-
_,
|
|
88
86
|
h,
|
|
87
|
+
f,
|
|
89
88
|
!1,
|
|
90
89
|
null,
|
|
91
|
-
"
|
|
92
|
-
null,
|
|
93
|
-
null
|
|
90
|
+
"35ada666"
|
|
94
91
|
);
|
|
95
|
-
const
|
|
92
|
+
const y = _.exports;
|
|
96
93
|
export {
|
|
97
|
-
|
|
94
|
+
y as default
|
|
98
95
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as a } from "./debounce-
|
|
2
|
-
import { v as l } from "./utils-
|
|
3
|
-
import { n } from "./main-
|
|
4
|
-
const
|
|
1
|
+
import { d as a } from "./debounce-DceKdgy2.js";
|
|
2
|
+
import { v as l } from "./utils-DP30AdJH.js";
|
|
3
|
+
import { n as r } from "./main-DBw231uy.js";
|
|
4
|
+
const n = {
|
|
5
5
|
name: "VideoPlayerInput",
|
|
6
6
|
i18nOptions: {
|
|
7
7
|
namespaces: "components",
|
|
@@ -79,14 +79,12 @@ var o = function() {
|
|
|
79
79
|
return e.validateUrl(e.url);
|
|
80
80
|
} } }, [e._v(" " + e._s(e.$t("_common:add")) + " ")])];
|
|
81
81
|
})], 2);
|
|
82
|
-
}, d = [], u = /* @__PURE__ */
|
|
83
|
-
|
|
82
|
+
}, d = [], u = /* @__PURE__ */ r(
|
|
83
|
+
n,
|
|
84
84
|
o,
|
|
85
85
|
d,
|
|
86
86
|
!1,
|
|
87
87
|
null,
|
|
88
|
-
null,
|
|
89
|
-
null,
|
|
90
88
|
null
|
|
91
89
|
);
|
|
92
90
|
const m = u.exports;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import n from "./VideoPlayerInput-
|
|
2
|
-
import { n as s } from "./main-
|
|
3
|
-
import "./debounce-b0ffdee0.js";
|
|
4
|
-
import "./utils-4d39389a.js";
|
|
1
|
+
import n from "./VideoPlayerInput-Db0RRtb5.js";
|
|
2
|
+
import { n as s } from "./main-DBw231uy.js";
|
|
5
3
|
const l = {
|
|
6
4
|
i18nOptions: {
|
|
7
5
|
namespaces: "components",
|
|
@@ -49,17 +47,15 @@ var r = function() {
|
|
|
49
47
|
return t.$emit("input", { key: "size", value: i });
|
|
50
48
|
} } }, [e("svg", { staticClass: "size-option-image", class: { "is-active": t.size === i }, attrs: { viewBox: "0 0 99 65" }, domProps: { innerHTML: t._s(a) } })]);
|
|
51
49
|
}), 0)])]);
|
|
52
|
-
},
|
|
50
|
+
}, v = [], d = /* @__PURE__ */ s(
|
|
53
51
|
l,
|
|
54
52
|
r,
|
|
55
|
-
|
|
53
|
+
v,
|
|
56
54
|
!1,
|
|
57
55
|
null,
|
|
58
|
-
"ba43bad1"
|
|
59
|
-
null,
|
|
60
|
-
null
|
|
56
|
+
"ba43bad1"
|
|
61
57
|
);
|
|
62
|
-
const
|
|
58
|
+
const f = d.exports;
|
|
63
59
|
export {
|
|
64
|
-
|
|
60
|
+
f as default
|
|
65
61
|
};
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { B as
|
|
3
|
-
import x from "./
|
|
4
|
-
|
|
5
|
-
import "./throttle-4f3f879a.js";
|
|
6
|
-
import "./dom-962579a6.js";
|
|
7
|
-
import "./CDropdownItem-d0cd42d6.js";
|
|
8
|
-
import "./Flag-1aceeff5.js";
|
|
9
|
-
import "./utils-4d39389a.js";
|
|
10
|
-
const V = h.pexels.id, w = {
|
|
1
|
+
import v from "./VideoPlayerInput-Db0RRtb5.js";
|
|
2
|
+
import { B as f, a as g } from "./index-0kj8-T7-.js";
|
|
3
|
+
import { c as x, n as y, o as _ } from "./main-DBw231uy.js";
|
|
4
|
+
const V = x.pexels.id, w = {
|
|
11
5
|
name: "VideoSelectModal",
|
|
12
6
|
i18nOptions: {
|
|
13
7
|
namespaces: "videoSelectModal",
|
|
@@ -23,9 +17,9 @@ const V = h.pexels.id, w = {
|
|
|
23
17
|
}
|
|
24
18
|
},
|
|
25
19
|
components: {
|
|
26
|
-
BackgroundModal:
|
|
27
|
-
BackgroundList:
|
|
28
|
-
VideoPlayerInput:
|
|
20
|
+
BackgroundModal: f,
|
|
21
|
+
BackgroundList: g,
|
|
22
|
+
VideoPlayerInput: v
|
|
29
23
|
},
|
|
30
24
|
data() {
|
|
31
25
|
return {
|
|
@@ -36,7 +30,7 @@ const V = h.pexels.id, w = {
|
|
|
36
30
|
},
|
|
37
31
|
methods: {
|
|
38
32
|
async fetch({ query: s, page: t }) {
|
|
39
|
-
const { data: e } = await
|
|
33
|
+
const { data: e } = await _.get("https://api.pexels.com/videos/search", {
|
|
40
34
|
headers: {
|
|
41
35
|
Authorization: V
|
|
42
36
|
},
|
|
@@ -48,18 +42,18 @@ const V = h.pexels.id, w = {
|
|
|
48
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;
|
|
49
43
|
return {
|
|
50
44
|
items: (e.videos || []).map(
|
|
51
|
-
({ id: o, image: i, video_files:
|
|
52
|
-
const { sd: m, hd: p } = (
|
|
53
|
-
(
|
|
45
|
+
({ id: o, image: i, video_files: r = [], user: d }) => {
|
|
46
|
+
const { sd: m, hd: p } = (r || []).sort(a).reduce(
|
|
47
|
+
(c, n) => (c[n.quality] && n.link && c[n.quality].push(n.link), c),
|
|
54
48
|
{ sd: [], hd: [] }
|
|
55
|
-
), [
|
|
56
|
-
let
|
|
57
|
-
return
|
|
49
|
+
), [h] = m;
|
|
50
|
+
let l = u(r);
|
|
51
|
+
return l || ([l] = p.length ? p : m.slice(-1)), {
|
|
58
52
|
id: `${o}`,
|
|
59
53
|
image: i,
|
|
60
54
|
minImage: i,
|
|
61
|
-
video:
|
|
62
|
-
minVideo:
|
|
55
|
+
video: l,
|
|
56
|
+
minVideo: h,
|
|
63
57
|
userName: d.name,
|
|
64
58
|
userLink: d.link
|
|
65
59
|
};
|
|
@@ -92,17 +86,15 @@ var b = function() {
|
|
|
92
86
|
} } }, [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 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) {
|
|
93
87
|
t.customVideo = a;
|
|
94
88
|
}, 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);
|
|
95
|
-
}, k = [], S = /* @__PURE__ */
|
|
89
|
+
}, k = [], S = /* @__PURE__ */ y(
|
|
96
90
|
w,
|
|
97
91
|
b,
|
|
98
92
|
k,
|
|
99
93
|
!1,
|
|
100
94
|
null,
|
|
101
|
-
"
|
|
102
|
-
null,
|
|
103
|
-
null
|
|
95
|
+
"670d3d62"
|
|
104
96
|
);
|
|
105
|
-
const
|
|
97
|
+
const C = S.exports;
|
|
106
98
|
export {
|
|
107
|
-
|
|
99
|
+
C as default
|
|
108
100
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { w as a } from "./CDropdownItem-CTJ55d4m.js";
|
|
2
|
+
import { b as r } from "./main-DBw231uy.js";
|
|
3
3
|
const m = ({ documentKey: s = "document" } = {}) => ({
|
|
4
|
-
mixins: [
|
|
4
|
+
mixins: [a],
|
|
5
5
|
inject: {
|
|
6
6
|
formValidation: { default: null }
|
|
7
7
|
},
|
|
@@ -20,10 +20,10 @@ const m = ({ documentKey: s = "document" } = {}) => ({
|
|
|
20
20
|
onAnswer(t = "accept", i = {}) {
|
|
21
21
|
if (this.isAnswerModalOpen())
|
|
22
22
|
return;
|
|
23
|
-
const e =
|
|
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-DnTU4eo8.js");
|
|
27
27
|
this.$modal.show(
|
|
28
28
|
n,
|
|
29
29
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
var L =
|
|
1
|
+
import { _ as C, l as k, U as j, k as A } from "./main-DBw231uy.js";
|
|
2
|
+
var L = C, M = function() {
|
|
3
3
|
return L.Date.now();
|
|
4
4
|
}, B = M, F = /\s/;
|
|
5
5
|
function R(e) {
|
|
@@ -11,7 +11,7 @@ var D = R, U = D, H = /^\s+/;
|
|
|
11
11
|
function P(e) {
|
|
12
12
|
return e && e.slice(0, U(e) + 1).replace(H, "");
|
|
13
13
|
}
|
|
14
|
-
var X = P, q = X, p = k, w =
|
|
14
|
+
var X = P, q = X, p = k, w = j, y = NaN, z = /^[-+]0x[0-9a-f]+$/i, G = /^0b[01]+$/i, J = /^0o[0-7]+$/i, K = parseInt;
|
|
15
15
|
function Q(e) {
|
|
16
16
|
if (typeof e == "number")
|
|
17
17
|
return e;
|