@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,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { a as r } from "./
|
|
1
|
+
import { a } from "./publicSenderState-BysO0Mzz.js";
|
|
2
|
+
import { g as s, n as l } from "./main-DBw231uy.js";
|
|
3
|
+
import { m as p, a as r } from "./vuex.esm-DKGl8mcw.js";
|
|
4
4
|
const c = {
|
|
5
5
|
name: "DocumentLogotype",
|
|
6
6
|
components: {
|
|
7
|
-
ImageUploadWrapper: () => import("./ImageUploadWrapper-
|
|
7
|
+
ImageUploadWrapper: () => import("./ImageUploadWrapper-K0-MmL-L.js")
|
|
8
|
+
},
|
|
9
|
+
inject: {
|
|
10
|
+
viewSettings: {
|
|
11
|
+
default: () => ({
|
|
12
|
+
canEdit: !1,
|
|
13
|
+
isPublicForm: !1
|
|
14
|
+
})
|
|
15
|
+
}
|
|
8
16
|
},
|
|
9
17
|
props: {
|
|
10
18
|
value: {
|
|
@@ -24,16 +32,8 @@ const c = {
|
|
|
24
32
|
default: !1
|
|
25
33
|
}
|
|
26
34
|
},
|
|
27
|
-
inject: {
|
|
28
|
-
viewSettings: {
|
|
29
|
-
default: () => ({
|
|
30
|
-
canEdit: !1,
|
|
31
|
-
isPublicForm: !1
|
|
32
|
-
})
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
35
|
computed: {
|
|
36
|
-
...
|
|
36
|
+
...p({
|
|
37
37
|
isPosting: "companies/isPosting"
|
|
38
38
|
}),
|
|
39
39
|
logotype() {
|
|
@@ -41,8 +41,8 @@ const c = {
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
methods: {
|
|
44
|
-
...
|
|
45
|
-
updateCompany:
|
|
44
|
+
...r({
|
|
45
|
+
updateCompany: s.DO_UPDATE_CURRENT_COMPANY
|
|
46
46
|
}),
|
|
47
47
|
initUpload() {
|
|
48
48
|
this.$refs.uploadWrapper && this.$refs.uploadWrapper.onClick();
|
|
@@ -55,7 +55,7 @@ const c = {
|
|
|
55
55
|
if (this.isPosting)
|
|
56
56
|
return;
|
|
57
57
|
const t = { LogotypePublicId: e };
|
|
58
|
-
this.viewSettings.isPublicForm ?
|
|
58
|
+
this.viewSettings.isPublicForm ? a({ company: t }) : await this.updateCompany({ body: t });
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
};
|
|
@@ -73,17 +73,15 @@ var m = function() {
|
|
|
73
73
|
return t.$emit("input", "");
|
|
74
74
|
} } }, [t._v(" " + t._s(t.$t("_common:reset")) + " ")])] : t._e()], 2)];
|
|
75
75
|
} }], null, !1, 818564773) }) : t.showLogo ? o("div", { staticStyle: { display: "inline-block" } }, [o("img", { attrs: { src: t.logotype, alt: "", width: "150" } })]) : t._e();
|
|
76
|
-
}, u = [], g = /* @__PURE__ */
|
|
76
|
+
}, u = [], g = /* @__PURE__ */ l(
|
|
77
77
|
c,
|
|
78
78
|
m,
|
|
79
79
|
u,
|
|
80
80
|
!1,
|
|
81
81
|
null,
|
|
82
|
-
"
|
|
83
|
-
null,
|
|
84
|
-
null
|
|
82
|
+
"ad15ba8a"
|
|
85
83
|
);
|
|
86
|
-
const
|
|
84
|
+
const f = g.exports;
|
|
87
85
|
export {
|
|
88
|
-
|
|
86
|
+
f as default
|
|
89
87
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { n } from "./main-DBw231uy.js";
|
|
2
|
+
const s = {
|
|
3
|
+
name: "DocumentVoided",
|
|
4
|
+
props: {
|
|
5
|
+
document: {
|
|
6
|
+
type: Object,
|
|
7
|
+
required: !0
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
var o = function() {
|
|
12
|
+
var t = this, e = t._self._c;
|
|
13
|
+
return e("div", { staticClass: "grid h-full place-items-center text-center" }, [e("div", { staticClass: "py-12" }, [e("CIcon", { staticClass: "text-primary-500 mb-2", attrs: { type: "info" } }), e("div", { staticClass: "text-lg font-medium", domProps: { textContent: t._s(t.document.$t("documentVoided.title")) } }), e("div", { staticClass: "text-gray-700", domProps: { textContent: t._s(t.document.$t("documentVoided.description")) } })], 1)]);
|
|
14
|
+
}, r = [], c = /* @__PURE__ */ n(
|
|
15
|
+
s,
|
|
16
|
+
o,
|
|
17
|
+
r,
|
|
18
|
+
!1,
|
|
19
|
+
null,
|
|
20
|
+
null
|
|
21
|
+
);
|
|
22
|
+
const a = c.exports;
|
|
23
|
+
export {
|
|
24
|
+
a as D
|
|
25
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d } from "./debounce-
|
|
2
|
-
import { b as l, n as o } from "./main-
|
|
1
|
+
import { d } from "./debounce-DceKdgy2.js";
|
|
2
|
+
import { b as l, n as o } from "./main-DBw231uy.js";
|
|
3
3
|
const m = (t) => {
|
|
4
|
-
const i = new DOMParser().parseFromString(t, "text/html"), [
|
|
5
|
-
return !
|
|
6
|
-
(
|
|
4
|
+
const i = new DOMParser().parseFromString(t, "text/html"), [a] = l(i, "body.children") || [];
|
|
5
|
+
return !a || a.tagName !== "IFRAME" ? {} : Array.from(a.attributes).reduce(
|
|
6
|
+
(s, { name: r, value: n }) => ({ ...s, [r]: n }),
|
|
7
7
|
{}
|
|
8
8
|
);
|
|
9
9
|
}, u = (t) => {
|
|
@@ -13,8 +13,7 @@ const m = (t) => {
|
|
|
13
13
|
return Object.keys(t).forEach((i) => e.setAttribute(i, t[i])), e.hasAttribute("src") ? e.outerHTML : "";
|
|
14
14
|
}, c = (t) => /^(?:https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|www\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9]+\.[^\s]{2,}|www\.[a-zA-Z0-9]+\.[^\s]{2,})/gi.test(
|
|
15
15
|
t
|
|
16
|
-
)
|
|
17
|
-
const p = {
|
|
16
|
+
), p = {
|
|
18
17
|
name: "EmbedInput",
|
|
19
18
|
i18nOptions: {
|
|
20
19
|
namespaces: "embedInput",
|
|
@@ -95,9 +94,9 @@ var f = function() {
|
|
|
95
94
|
display: "flex",
|
|
96
95
|
flexDirection: "column",
|
|
97
96
|
alignItems: "flex-start"
|
|
98
|
-
}, attrs: { grouped: !e.isDrawerMode } }, [i("CField", { staticStyle: { width: "100%" }, attrs: { validator: e.$v.embed, messages: e.messages.embed, expanded: "" } }, [i("CInput", { ref: "input", attrs: { placeholder: e.inputPlaceholder, size: e.isDrawerMode ? "small" : void 0, loading: e.isLoading, filled: e.isDrawerMode, "auto-resize": !0, type: "textarea", expanded: "" }, on: { input: e.onInput }, model: { value: e.iFrameTplString, callback: function(
|
|
99
|
-
e.iFrameTplString =
|
|
100
|
-
}, expression: "iFrameTplString" } })], 1), i("CButton", { attrs: { disabled: e.isLoading, size: e.isDrawerMode ? "small" : void 0, type: "secondary" }, on: { click: function(
|
|
97
|
+
}, attrs: { grouped: !e.isDrawerMode } }, [i("CField", { staticStyle: { width: "100%" }, attrs: { validator: e.$v.embed, messages: e.messages.embed, expanded: "" } }, [i("CInput", { ref: "input", attrs: { placeholder: e.inputPlaceholder, size: e.isDrawerMode ? "small" : void 0, loading: e.isLoading, filled: e.isDrawerMode, "auto-resize": !0, type: "textarea", expanded: "" }, on: { input: e.onInput }, model: { value: e.iFrameTplString, callback: function(a) {
|
|
98
|
+
e.iFrameTplString = a;
|
|
99
|
+
}, expression: "iFrameTplString" } })], 1), i("CButton", { attrs: { disabled: e.isLoading, size: e.isDrawerMode ? "small" : void 0, type: "secondary" }, on: { click: function(a) {
|
|
101
100
|
return e.validateInput(e.iFrameTplString);
|
|
102
101
|
} } }, [e._v(" " + e._s(e.$t("_common:add")) + " ")])], 1);
|
|
103
102
|
}, h = [], b = /* @__PURE__ */ o(
|
|
@@ -106,8 +105,6 @@ var f = function() {
|
|
|
106
105
|
h,
|
|
107
106
|
!1,
|
|
108
107
|
null,
|
|
109
|
-
null,
|
|
110
|
-
null,
|
|
111
108
|
null
|
|
112
109
|
);
|
|
113
110
|
const v = b.exports;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import n from "./EmbedInput-
|
|
2
|
-
import { n as l } from "./main-
|
|
3
|
-
import "./debounce-b0ffdee0.js";
|
|
1
|
+
import n from "./EmbedInput-bXXwMP4u.js";
|
|
2
|
+
import { n as l } from "./main-DBw231uy.js";
|
|
4
3
|
const o = {
|
|
5
4
|
i18nOptions: {
|
|
6
5
|
namespaces: "embedSettings",
|
|
@@ -59,17 +58,15 @@ var r = function() {
|
|
|
59
58
|
return e.$emit("update:size", i);
|
|
60
59
|
} } }, [t("svg", { staticClass: "size-option-image", class: { "is-active": e.size === i }, attrs: { viewBox: "0 0 99 65" }, domProps: { innerHTML: e._s(s) } })]);
|
|
61
60
|
}), 0) : e._e()])]);
|
|
62
|
-
}, d = [],
|
|
61
|
+
}, d = [], v = /* @__PURE__ */ l(
|
|
63
62
|
o,
|
|
64
63
|
r,
|
|
65
64
|
d,
|
|
66
65
|
!1,
|
|
67
66
|
null,
|
|
68
|
-
"
|
|
69
|
-
null,
|
|
70
|
-
null
|
|
67
|
+
"5e441f83"
|
|
71
68
|
);
|
|
72
|
-
const
|
|
69
|
+
const z = v.exports;
|
|
73
70
|
export {
|
|
74
|
-
|
|
71
|
+
z as default
|
|
75
72
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { n as e } from "./main-DBw231uy.js";
|
|
2
|
+
const a = {
|
|
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 s = function(r, t) {
|
|
16
|
+
return r("div", { staticClass: "flex items-center", class: [t.data.staticClass], staticStyle: { "margin-top": "calc(1 * var(--rem))" }, style: [t.data.staticStyle] }, [r("div", { staticClass: "error-wrapper bg-red-50 text-red-500", class: [`is-${t.props.size}`], staticStyle: { margin: "calc(1 * var(--rem)) 0" } }, [r("CIcon", { staticStyle: { "margin-right": "0.5em", flex: "0 0 18px" }, attrs: { type: "alert", size: "18" } }), r("div", [t._v(" " + t._s(t.props.message) + " ")])], 1)]);
|
|
17
|
+
}, i = [], n = /* @__PURE__ */ e(
|
|
18
|
+
a,
|
|
19
|
+
s,
|
|
20
|
+
i,
|
|
21
|
+
!0,
|
|
22
|
+
null,
|
|
23
|
+
"a90b7cb8"
|
|
24
|
+
);
|
|
25
|
+
const c = n.exports;
|
|
26
|
+
export {
|
|
27
|
+
c as E
|
|
28
|
+
};
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "./dom-962579a6.js";
|
|
4
|
-
import "./DocumentLayout-8104d93d.js";
|
|
5
|
-
import "./debounce-b0ffdee0.js";
|
|
6
|
-
import "./CDropdownItem-d0cd42d6.js";
|
|
1
|
+
import { V as n } from "./PdfViewer-CPSINxc8.js";
|
|
2
|
+
import { n as o, S as r } from "./main-DBw231uy.js";
|
|
7
3
|
const a = {
|
|
8
4
|
name: "FilesPreviewModal",
|
|
9
5
|
components: {
|
|
10
|
-
Spinner:
|
|
11
|
-
VuePdf:
|
|
6
|
+
Spinner: r,
|
|
7
|
+
VuePdf: n
|
|
12
8
|
},
|
|
13
9
|
props: {
|
|
14
10
|
index: {
|
|
@@ -71,17 +67,15 @@ var l = function() {
|
|
|
71
67
|
} } })], 1) : t.isLoading ? t._e() : e("img", { staticClass: "modal-image", attrs: { src: t.list[t.currentIndex].url }, on: { load: function(s) {
|
|
72
68
|
t.isLoading = !1;
|
|
73
69
|
} } })], 1)]);
|
|
74
|
-
}, d = [], c = /* @__PURE__ */
|
|
70
|
+
}, d = [], c = /* @__PURE__ */ o(
|
|
75
71
|
a,
|
|
76
72
|
l,
|
|
77
73
|
d,
|
|
78
74
|
!1,
|
|
79
75
|
null,
|
|
80
|
-
"
|
|
81
|
-
null,
|
|
82
|
-
null
|
|
76
|
+
"76622471"
|
|
83
77
|
);
|
|
84
|
-
const
|
|
78
|
+
const p = c.exports;
|
|
85
79
|
export {
|
|
86
|
-
|
|
80
|
+
p as default
|
|
87
81
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as c, n as
|
|
1
|
+
import { N as c, n as _ } from "./main-DBw231uy.js";
|
|
2
2
|
var m = {
|
|
3
3
|
name: "simplebar-vue",
|
|
4
4
|
mounted: function() {
|
|
@@ -13,7 +13,7 @@ var m = {
|
|
|
13
13
|
return this.$refs.contentElement;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
}, d = m,
|
|
16
|
+
}, d = m, o = function() {
|
|
17
17
|
var e = this, s = e.$createElement, r = e._self._c || s;
|
|
18
18
|
return r("div", {
|
|
19
19
|
ref: "element"
|
|
@@ -56,17 +56,17 @@ var m = {
|
|
|
56
56
|
staticClass: "simplebar-scrollbar"
|
|
57
57
|
})]);
|
|
58
58
|
}];
|
|
59
|
-
|
|
60
|
-
var
|
|
61
|
-
function
|
|
59
|
+
o._withStripped = !0;
|
|
60
|
+
var p = void 0, u = void 0;
|
|
61
|
+
function f(t, e, s, r, n, i, l, S) {
|
|
62
62
|
var a = (typeof s == "function" ? s.options : s) || {};
|
|
63
|
-
return a.__file = "/Users/adriendenat/Sites/simplebar/packages/simplebar-vue/index.vue", a.render || (a.render = t.render, a.staticRenderFns = t.staticRenderFns, a._compiled = !0
|
|
63
|
+
return a.__file = "/Users/adriendenat/Sites/simplebar/packages/simplebar-vue/index.vue", a.render || (a.render = t.render, a.staticRenderFns = t.staticRenderFns, a._compiled = !0), a._scopeId = r, a;
|
|
64
64
|
}
|
|
65
|
-
var
|
|
66
|
-
render:
|
|
65
|
+
var $ = f({
|
|
66
|
+
render: o,
|
|
67
67
|
staticRenderFns: v
|
|
68
|
-
},
|
|
69
|
-
const
|
|
68
|
+
}, p, d, u);
|
|
69
|
+
const h = {
|
|
70
70
|
name: "FlagIcon",
|
|
71
71
|
props: {
|
|
72
72
|
region: {
|
|
@@ -91,26 +91,24 @@ const b = {
|
|
|
91
91
|
n.id = t, n.rel = "stylesheet", n.type = "text/css", n.href = "https://www.unpkg.com/flag-icons@6.6.6/css/flag-icons.min.css", n.media = "all", r.appendChild(n);
|
|
92
92
|
}
|
|
93
93
|
};
|
|
94
|
-
var
|
|
94
|
+
var b = function() {
|
|
95
95
|
var e = this, s = e._self._c;
|
|
96
96
|
return e.region ? s("span", { staticClass: "fi", class: [
|
|
97
|
-
`fi-${
|
|
97
|
+
`fi-${e.region.toLowerCase()}`,
|
|
98
98
|
{
|
|
99
|
-
fis:
|
|
99
|
+
fis: e.isSquared
|
|
100
100
|
}
|
|
101
101
|
], attrs: { title: e.title || e.region } }) : e._e();
|
|
102
|
-
},
|
|
102
|
+
}, g = [], C = /* @__PURE__ */ _(
|
|
103
|
+
h,
|
|
103
104
|
b,
|
|
104
105
|
g,
|
|
105
|
-
C,
|
|
106
106
|
!1,
|
|
107
107
|
null,
|
|
108
|
-
null,
|
|
109
|
-
null,
|
|
110
108
|
null
|
|
111
109
|
);
|
|
112
|
-
const
|
|
110
|
+
const w = C.exports;
|
|
113
111
|
export {
|
|
114
|
-
|
|
115
|
-
|
|
112
|
+
w as F,
|
|
113
|
+
$ as s
|
|
116
114
|
};
|
|
@@ -1,20 +1,10 @@
|
|
|
1
|
-
import { m as x } from "./mapFormMixin-
|
|
2
|
-
import { T as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import k from "./
|
|
6
|
-
import S from "./
|
|
7
|
-
import { t as A } from "./tinycolor-
|
|
8
|
-
import "./color-c1606adc.js";
|
|
9
|
-
import "./ColorPicker-3d06f308.js";
|
|
10
|
-
import "./ManualPopover-6cf3f592.js";
|
|
11
|
-
import "./debounce-b0ffdee0.js";
|
|
12
|
-
import "./throttle-4f3f879a.js";
|
|
13
|
-
import "./dom-962579a6.js";
|
|
14
|
-
import "./CDropdownItem-d0cd42d6.js";
|
|
15
|
-
import "./Flag-1aceeff5.js";
|
|
16
|
-
import "./utils-4d39389a.js";
|
|
17
|
-
import "./BaseUpload-941ca869.js";
|
|
1
|
+
import { m as x } from "./mapFormMixin-BrtcYsT9.js";
|
|
2
|
+
import { T as w } from "./ThemeColorRow-D7TCU3ap.js";
|
|
3
|
+
import C from "./VideoPlayerInput-Db0RRtb5.js";
|
|
4
|
+
import _ from "./ImageUploadWrapper-K0-MmL-L.js";
|
|
5
|
+
import { B as k, a as b } from "./index-0kj8-T7-.js";
|
|
6
|
+
import { c as v, n as y, o as d, E as S } from "./main-DBw231uy.js";
|
|
7
|
+
import { t as A } from "./tinycolor-Be3bF6zy.js";
|
|
18
8
|
const g = v.unsplash.id, L = v.pexels.id, z = {
|
|
19
9
|
name: "MediaSelectModal",
|
|
20
10
|
i18nOptions: {
|
|
@@ -35,10 +25,10 @@ const g = v.unsplash.id, L = v.pexels.id, z = {
|
|
|
35
25
|
}
|
|
36
26
|
},
|
|
37
27
|
components: {
|
|
38
|
-
BackgroundModal:
|
|
28
|
+
BackgroundModal: k,
|
|
39
29
|
BackgroundList: b,
|
|
40
|
-
VideoPlayerInput:
|
|
41
|
-
ImageUploadWrapper:
|
|
30
|
+
VideoPlayerInput: C,
|
|
31
|
+
ImageUploadWrapper: _
|
|
42
32
|
},
|
|
43
33
|
props: {
|
|
44
34
|
currentType: {
|
|
@@ -118,23 +108,23 @@ const g = v.unsplash.id, L = v.pexels.id, z = {
|
|
|
118
108
|
per_page: 12,
|
|
119
109
|
query: i
|
|
120
110
|
}
|
|
121
|
-
}), o = (
|
|
111
|
+
}), o = (s, a) => s.height < a.height || s.width < a.width ? -1 : 1, r = (s) => (s.find(({ height: a }) => a > 1e3 && a < 1200) || {}).link;
|
|
122
112
|
return {
|
|
123
113
|
items: (e.videos || []).map(
|
|
124
|
-
({ id:
|
|
125
|
-
const { sd: h, hd: p } = (
|
|
114
|
+
({ id: s, image: a, video_files: u = [], user: m }) => {
|
|
115
|
+
const { sd: h, hd: p } = (u || []).sort(o).reduce(
|
|
126
116
|
(n, l) => (n[l.quality] && l.link && n[l.quality].push(l.link), n),
|
|
127
117
|
{ sd: [], hd: [] }
|
|
128
118
|
), [f] = h;
|
|
129
|
-
let c =
|
|
119
|
+
let c = r(u);
|
|
130
120
|
return c || ([c] = p.length ? p : h.slice(-1)), {
|
|
131
|
-
id: `${
|
|
121
|
+
id: `${s}`,
|
|
132
122
|
image: a,
|
|
133
123
|
minImage: a,
|
|
134
124
|
video: c,
|
|
135
125
|
minVideo: f,
|
|
136
|
-
userName:
|
|
137
|
-
userLink:
|
|
126
|
+
userName: m.name,
|
|
127
|
+
userLink: m.link
|
|
138
128
|
};
|
|
139
129
|
}
|
|
140
130
|
),
|
|
@@ -142,7 +132,7 @@ const g = v.unsplash.id, L = v.pexels.id, z = {
|
|
|
142
132
|
};
|
|
143
133
|
},
|
|
144
134
|
selectImage({ image: i, links: t, color: e }) {
|
|
145
|
-
this.selectedImage =
|
|
135
|
+
this.selectedImage = S(i, { w: 1800 }), e && (this.preferredColor = e);
|
|
146
136
|
const o = new Image();
|
|
147
137
|
o.src = this.selectedImage, d.get(t.download_location, {
|
|
148
138
|
params: {
|
|
@@ -175,8 +165,8 @@ const g = v.unsplash.id, L = v.pexels.id, z = {
|
|
|
175
165
|
};
|
|
176
166
|
var I = function() {
|
|
177
167
|
var t = this, e = t._self._c;
|
|
178
|
-
return e("BackgroundModal", t._g({}, t.$listeners), [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%)" }, attrs: { slot: "header" }, slot: "header" }, t._l(t.tabs, function(o,
|
|
179
|
-
return e("CButton", { key:
|
|
168
|
+
return e("BackgroundModal", t._g({}, t.$listeners), [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%)" }, attrs: { slot: "header" }, slot: "header" }, t._l(t.tabs, function(o, r) {
|
|
169
|
+
return e("CButton", { key: r, staticStyle: { "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, style: t.activeTab === o.value && { opacity: 1 }, on: { click: function(s) {
|
|
180
170
|
t.activeTab = o.value;
|
|
181
171
|
} } }, [e("span", { staticClass: "inline-flex items-center justify-center" }, [e("div", { domProps: { innerHTML: t._s(o.icon) } }), e("span", { staticClass: "max-md:!hidden" }, [t._v(t._s(o.label))])])]);
|
|
182
172
|
}), 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) {
|
|
@@ -192,15 +182,12 @@ var I = function() {
|
|
|
192
182
|
V,
|
|
193
183
|
!1,
|
|
194
184
|
null,
|
|
195
|
-
"
|
|
196
|
-
null,
|
|
197
|
-
null
|
|
185
|
+
"459dc015"
|
|
198
186
|
);
|
|
199
|
-
const T = M.exports
|
|
200
|
-
const $ = {
|
|
187
|
+
const T = M.exports, $ = {
|
|
201
188
|
name: "HeaderSettings",
|
|
202
189
|
components: {
|
|
203
|
-
ThemeColorRow:
|
|
190
|
+
ThemeColorRow: w
|
|
204
191
|
},
|
|
205
192
|
mixins: [
|
|
206
193
|
x(
|
|
@@ -343,7 +330,7 @@ const $ = {
|
|
|
343
330
|
// Used for setting the correct array item order for specific layouts
|
|
344
331
|
// will place the given item type first in items
|
|
345
332
|
setLayout({ layout: i, type: t = "" }) {
|
|
346
|
-
const e = (o) => (
|
|
333
|
+
const e = (o) => (r) => r.type === o ? -1 : 1;
|
|
347
334
|
t && (this.items = [...this.items].sort(e(t))), this.layout = i;
|
|
348
335
|
},
|
|
349
336
|
openBgModal() {
|
|
@@ -356,11 +343,11 @@ const $ = {
|
|
|
356
343
|
{},
|
|
357
344
|
{
|
|
358
345
|
input: ({ type: t, value: e, preferredColor: o }) => {
|
|
359
|
-
const
|
|
346
|
+
const r = t === "image" ? "resourceUrl" : "video";
|
|
360
347
|
this.media = {
|
|
361
348
|
...this.media,
|
|
362
349
|
type: t,
|
|
363
|
-
[
|
|
350
|
+
[r]: e
|
|
364
351
|
}, o && !this._document.isDirty(this._value.backgroundColor) && (this.backgroundColor = o);
|
|
365
352
|
}
|
|
366
353
|
}
|
|
@@ -370,8 +357,8 @@ const $ = {
|
|
|
370
357
|
};
|
|
371
358
|
var B = function() {
|
|
372
359
|
var t = this, e = t._self._c;
|
|
373
|
-
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:
|
|
374
|
-
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:
|
|
360
|
+
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: r, icon: s }, a) {
|
|
361
|
+
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: r } }, [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(s) } })]);
|
|
375
362
|
}), 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: {
|
|
376
363
|
backgroundImage: `url(${t.background || t.theme.background})`
|
|
377
364
|
}, 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) {
|
|
@@ -384,12 +371,12 @@ var B = function() {
|
|
|
384
371
|
t.backgroundColor = o, t._document.setDirty(t._value.backgroundColor);
|
|
385
372
|
} } }, [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) {
|
|
386
373
|
t.textColor = o, t._document.setDirty(t._value.textColor);
|
|
387
|
-
} } }, [t._v(" " + t._s(t.$t("_common:textColor").capitalize()) + " ")])], 1), e("div", { staticClass: "d-option flex w-full" }, [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:
|
|
388
|
-
return e("CRadioButton", { key:
|
|
374
|
+
} } }, [t._v(" " + t._s(t.$t("_common:textColor").capitalize()) + " ")])], 1), e("div", { staticClass: "d-option flex w-full" }, [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: r }, s) {
|
|
375
|
+
return e("CRadioButton", { key: s, class: !t.textAlign && "text-gray-400", attrs: { "native-value": o, type: t.textAlign ? "secondary" : "none", size: "small" }, on: { input: function(a) {
|
|
389
376
|
return t._document.setDirty(t._value.textAlign);
|
|
390
377
|
} }, model: { value: t.textAlign, callback: function(a) {
|
|
391
378
|
t.textAlign = a;
|
|
392
|
-
}, expression: "textAlign" } }, [e("svg", { staticStyle: { margin: "0" }, attrs: { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 48 48", fill: "currentColor", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }, domProps: { innerHTML: t._s(
|
|
379
|
+
}, expression: "textAlign" } }, [e("svg", { staticStyle: { margin: "0" }, attrs: { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 48 48", fill: "currentColor", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }, domProps: { innerHTML: t._s(r) } })]);
|
|
393
380
|
}), 1)], 1)]], 2);
|
|
394
381
|
}, P = [], F = /* @__PURE__ */ y(
|
|
395
382
|
$,
|
|
@@ -397,11 +384,9 @@ var B = function() {
|
|
|
397
384
|
P,
|
|
398
385
|
!1,
|
|
399
386
|
null,
|
|
400
|
-
"
|
|
401
|
-
null,
|
|
402
|
-
null
|
|
387
|
+
"adcf8352"
|
|
403
388
|
);
|
|
404
|
-
const
|
|
389
|
+
const q = F.exports;
|
|
405
390
|
export {
|
|
406
|
-
|
|
391
|
+
q as default
|
|
407
392
|
};
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import "./debounce-b0ffdee0.js";
|
|
6
|
-
import "./throttle-4f3f879a.js";
|
|
7
|
-
import "./dom-962579a6.js";
|
|
8
|
-
import "./CDropdownItem-d0cd42d6.js";
|
|
9
|
-
import "./Flag-1aceeff5.js";
|
|
10
|
-
const o = r.unsplash.id, p = {
|
|
1
|
+
import r from "./ImageUploadWrapper-K0-MmL-L.js";
|
|
2
|
+
import { B as l, a as i } from "./index-0kj8-T7-.js";
|
|
3
|
+
import { c, n as m, o as n, E as d } from "./main-DBw231uy.js";
|
|
4
|
+
const o = c.unsplash.id, p = {
|
|
11
5
|
name: "ImageSelectModal",
|
|
12
6
|
i18nOptions: {
|
|
13
7
|
namespaces: "imageSelectModal",
|
|
@@ -21,9 +15,9 @@ const o = r.unsplash.id, p = {
|
|
|
21
15
|
}
|
|
22
16
|
},
|
|
23
17
|
components: {
|
|
24
|
-
BackgroundModal:
|
|
25
|
-
BackgroundList:
|
|
26
|
-
ImageUploadWrapper:
|
|
18
|
+
BackgroundModal: l,
|
|
19
|
+
BackgroundList: i,
|
|
20
|
+
ImageUploadWrapper: r
|
|
27
21
|
},
|
|
28
22
|
data() {
|
|
29
23
|
return {
|
|
@@ -53,7 +47,7 @@ const o = r.unsplash.id, p = {
|
|
|
53
47
|
};
|
|
54
48
|
},
|
|
55
49
|
selectImage(a) {
|
|
56
|
-
this.selectedUrl =
|
|
50
|
+
this.selectedUrl = d(a.image, { w: 1800 });
|
|
57
51
|
const e = new Image();
|
|
58
52
|
e.src = this.selectedUrl, n.get(a.links.download_location, {
|
|
59
53
|
params: {
|
|
@@ -76,17 +70,15 @@ var u = function() {
|
|
|
76
70
|
} }, scopedSlots: e._u([{ key: "default", fn: function({ progress: s }) {
|
|
77
71
|
return [t("CButton", { attrs: { loading: !!s, "icon-left": "upload", type: "none" } }, [e._v(" " + e._s(e.$t("_common:upload")) + " ")])];
|
|
78
72
|
} }]) }), t("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { type: "secondary" }, on: { click: e.onSave } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")])], 1)], 2)], 1);
|
|
79
|
-
}, g = [],
|
|
73
|
+
}, g = [], h = /* @__PURE__ */ m(
|
|
80
74
|
p,
|
|
81
75
|
u,
|
|
82
76
|
g,
|
|
83
77
|
!1,
|
|
84
78
|
null,
|
|
85
|
-
"
|
|
86
|
-
null,
|
|
87
|
-
null
|
|
79
|
+
"d3705339"
|
|
88
80
|
);
|
|
89
|
-
const
|
|
81
|
+
const v = h.exports;
|
|
90
82
|
export {
|
|
91
|
-
|
|
83
|
+
v as default
|
|
92
84
|
};
|