@cling-se/widget 0.12.2 → 0.12.4
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-55d62947.js → AddClientCallout-96e94ad9.js} +7 -7
- package/dist/{AnswerModal-b6711c04.js → AnswerModal-6990ea17.js} +225 -266
- package/dist/{AttachmentItem-ae30a5f1.js → AttachmentItem-0d327381.js} +6 -6
- package/dist/{BaseDatePicker-eb8f882d.js → BaseDatePicker-e2e1ea6e.js} +2 -2
- package/dist/{BaseInput-2937b370.js → BaseInput-d9c734b0.js} +1 -1
- package/dist/{BaseUpload-43e14bd0.js → BaseUpload-9efbce6d.js} +2 -2
- package/dist/{BlockMedia-8360c785.js → BlockMedia-70d92534.js} +1 -1
- package/dist/{CCallout-0151c27a.js → CCallout-419f1eac.js} +4 -4
- package/dist/{CDropdownItem-b1e4c6f3.js → CDropdownItem-60893039.js} +2 -2
- package/dist/{CField-fdd6dcfd.js → CField-2e027461.js} +1 -1
- package/dist/{CPhoneFormat-df833bce.js → CPhoneFormat-b0670312.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-55e6c2fe.js → CSlider.vue_vue_type_style_index_0_lang-852dfd0e.js} +1 -1
- package/dist/{ClientAutocomplete-205a7590.js → ClientAutocomplete-44998c42.js} +2 -2
- package/dist/{ClientModal-68127a2f.js → ClientModal-d4ebef77.js} +11 -11
- package/dist/{ColorPicker-43c3cfaf.js → ColorPicker-cd9e1cc0.js} +2 -2
- package/dist/{CompanyModal-71ebe768.js → CompanyModal-36820c26.js} +3 -3
- package/dist/{ContentWrapper-8f8bee09.js → ContentWrapper-520e4761.js} +19 -19
- package/dist/{CoverBlockSettings-d5369ff3.js → CoverBlockSettings-0251d18f.js} +17 -17
- package/dist/{DocAnswer-5e76d312.js → DocAnswer-dad0bf7f.js} +4 -4
- package/dist/{DocDetails-66a88018.js → DocDetails-31009b60.js} +29 -29
- package/dist/{DocForm-6bd82138.js → DocForm-3e6d9d83.js} +88 -85
- package/dist/{DocFormSend-c216bd22.js → DocFormSend-3b8e9604.js} +19 -19
- package/dist/{DocLinks-c970a046.js → DocLinks-1467ba01.js} +2 -2
- package/dist/{DocModalBase-cbaaa05d.js → DocModalBase-c596787a.js} +7 -7
- package/dist/{DocPrint-8151565c.js → DocPrint-3970f8e8.js} +13 -13
- package/dist/{DocReceipt-493488a1.js → DocReceipt-dd5c7d5b.js} +7 -7
- package/dist/{DocSendReminder-ffc469ba.js → DocSendReminder-a3909a71.js} +6 -6
- package/dist/{DocTextEditor-4892f553.js → DocTextEditor-f0223af8.js} +16 -16
- package/dist/{DocTimeline-7a10530a.js → DocTimeline-9b29e5f6.js} +4 -4
- package/dist/{DocumentClient-414f097b.js → DocumentClient-f77bc578.js} +46 -32
- package/dist/{DocumentLayout-2cca22a1.js → DocumentLayout-9cc2a08e.js} +6 -6
- package/dist/{DocumentLogotype-e77e7f40.js → DocumentLogotype-20216f74.js} +9 -9
- package/dist/{DocumentVoided-09d10c10.js → DocumentVoided-1198114e.js} +2 -2
- package/dist/{EmbedInput-25566df2.js → EmbedInput-df3aa286.js} +2 -2
- package/dist/{EmbedSettings-167509c0.js → EmbedSettings-b71e059b.js} +3 -3
- package/dist/{ErrorCallout-42eae3f2.js → ErrorCallout-a39eba4d.js} +1 -1
- package/dist/{FilePreviewModal-8e1122db.js → FilePreviewModal-b5edeee0.js} +8 -8
- package/dist/{Flag-38700bb4.js → Flag-c7a354cd.js} +1 -1
- package/dist/{HeaderSettings-081d2355.js → HeaderSettings-db6e32c8.js} +24 -24
- package/dist/{ImageSelectModal-6a1cd80d.js → ImageSelectModal-856e363b.js} +8 -8
- package/dist/{ImageUploadWrapper-9a6f033f.js → ImageUploadWrapper-24dadc15.js} +5 -5
- package/dist/{Index-0e0ad8c0.js → Index-007a1233.js} +5 -5
- package/dist/{Index-a934610b.js → Index-0099e82e.js} +1 -1
- package/dist/{Index-9502eaff.js → Index-014d0ac2.js} +47 -41
- package/dist/{Index-39261a3a.js → Index-12ea21c5.js} +1 -1
- package/dist/{Index-3e206913.js → Index-139b1013.js} +2 -2
- package/dist/{Index-79894831.js → Index-1bf76a16.js} +4 -4
- package/dist/{Index-8e921bc3.js → Index-3378fcf6.js} +4 -4
- package/dist/{Index-c25f3084.js → Index-34978d11.js} +2 -2
- package/dist/{Index-54fd8589.js → Index-3889e134.js} +4 -4
- package/dist/{Index-d1ab5e5c.js → Index-40083942.js} +14 -14
- package/dist/{Index-8f01dd46.js → Index-4e675d8a.js} +4 -4
- package/dist/{Index-bf5c0b5b.js → Index-4f25825f.js} +10 -10
- package/dist/{Index-b62d0ef2.js → Index-4f9afe72.js} +6 -6
- package/dist/{Index-1273cdc7.js → Index-5355b449.js} +7 -7
- package/dist/{Index-7114ff1a.js → Index-54a78fad.js} +6 -6
- package/dist/{Index-34195119.js → Index-607f6640.js} +6 -6
- package/dist/{Index-4a8142d1.js → Index-6d22d9d1.js} +2 -2
- package/dist/{Index-b925e767.js → Index-73cee68c.js} +5 -5
- package/dist/{Index-fdaebd99.js → Index-75368b48.js} +2 -2
- package/dist/{Index-7c04c559.js → Index-7b2e5ac5.js} +24 -24
- package/dist/{Index-a75ce263.js → Index-8ac2ed05.js} +4 -4
- package/dist/{Index-4369488e.js → Index-9891ee1a.js} +6 -6
- package/dist/{Index-915af180.js → Index-99ac0ac2.js} +4 -4
- package/dist/{Index-2c33f7e6.js → Index-a5a82682.js} +9 -9
- package/dist/{Index-a8e9faf7.js → Index-b5480383.js} +9 -9
- package/dist/{Index-ddb1face.js → Index-bc5f3ca9.js} +4 -4
- package/dist/{Index-88084849.js → Index-c551781f.js} +6 -6
- package/dist/{Index-c55a7553.js → Index-cada810e.js} +7 -7
- package/dist/{Index-860a7def.js → Index-d689466d.js} +2 -2
- package/dist/{Index-ba70d622.js → Index-dcbfb822.js} +2 -2
- package/dist/{Index-614cfe86.js → Index-dd5f8fc7.js} +9 -9
- package/dist/{Index-b0b08a5f.js → Index-ef955a66.js} +3 -3
- package/dist/{Index-f5620e99.js → Index-f05fe2a1.js} +4 -4
- package/dist/{Index-ae9bb0e5.js → Index-f06fcb76.js} +48 -38
- package/dist/{InputToggleRow-afcabf8b.js → InputToggleRow-a9229972.js} +6 -6
- package/dist/{IsPremiumPreStep-231700e7.js → IsPremiumPreStep-4e9e2883.js} +27 -27
- package/dist/{ManualPopover-07af41a9.js → ManualPopover-720770bb.js} +1 -1
- package/dist/{MediaWrapper-3f16a687.js → MediaWrapper-90c72ae5.js} +3 -3
- package/dist/{NotBindingText-4ba4eb33.js → NotBindingText-832d5350.js} +2 -2
- package/dist/{PackageGroup-bb70a242.js → PackageGroup-22cbb76c.js} +87 -73
- package/dist/{PdfTerms-73cdcc78.js → PdfTerms-ce2d5d5e.js} +5 -5
- package/dist/{PdfViewer-0ca6548a.js → PdfViewer-ebff4b6c.js} +4 -4
- package/dist/{PlainHtml-834d9eb9.js → PlainHtml-faae67a3.js} +1 -1
- package/dist/{PriceHeader-27bc4ab4.js → PriceHeader-67ac2108.js} +37 -37
- package/dist/{SearchApi-e24cb043.js → SearchApi-d90fd0d2.js} +2 -2
- package/dist/{Setup-38eb90ad.js → Setup-88387515.js} +2 -2
- package/dist/{TermsSettings-0566ebc2.js → TermsSettings-82f18edc.js} +7 -7
- package/dist/{ThemeColorRow-6bb39c8c.js → ThemeColorRow-ca0c7f34.js} +4 -4
- package/dist/{ToggleBinding-b399a2d3.js → ToggleBinding-87b13b54.js} +3 -3
- package/dist/{UploadModal-69feba8c.js → UploadModal-9c6b64dc.js} +8 -8
- package/dist/{VideoPlayerInput-0289e1ad.js → VideoPlayerInput-87ae1e67.js} +3 -3
- package/dist/{VideoPlayerSettings-cc63392e.js → VideoPlayerSettings-ab7c9dd9.js} +4 -4
- package/dist/{VideoSelectModal-c98090a3.js → VideoSelectModal-b9c128a2.js} +15 -15
- package/dist/answerDocumentMixin-1a04710f.js +51 -0
- package/dist/{debounce-ceac3c0c.js → debounce-5f4cc346.js} +1 -1
- package/dist/{focusDrawerMixin-6b40c0e4.js → focusDrawerMixin-fcfab690.js} +1 -1
- package/dist/{formComponentsInstall-4bc1ca62.js → formComponentsInstall-f2198c99.js} +41 -41
- package/dist/{formDrawerState-2389a9f5.js → formDrawerState-6ff961ac.js} +1 -1
- package/dist/{formValidationMixin-198347ab.js → formValidationMixin-5882b9a7.js} +1 -1
- package/dist/{i18nMessages-45c6bfd6.js → i18nMessages-6b279c15.js} +4 -2
- package/dist/{index-4e8daf4c.js → index-069b282b.js} +3 -3
- package/dist/{index-323657a2.js → index-09727136.js} +1 -1
- package/dist/{index-2e4624f0.js → index-383fefaf.js} +1 -1
- package/dist/{index-df8dbf78.js → index-525e4866.js} +13 -13
- package/dist/{index-f44b504d.js → index-7fa7534f.js} +14 -14
- package/dist/{index-e3f717e9.js → index-9d8996e9.js} +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +144 -144
- package/dist/{main-e7c2bb1b.js → main-0ba93efc.js} +6037 -6233
- package/dist/{mapFormMixin-cb52494b.js → mapFormMixin-46fe94a8.js} +1 -1
- package/dist/{publicSenderState-60a99040.js → publicSenderState-644bb177.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{throttle-27be8808.js → throttle-61f5ee70.js} +2 -2
- package/dist/{tinycolor-314fba6f.js → tinycolor-4773d945.js} +1 -1
- package/dist/{tippy.esm-4fc6fa67.js → tippy.esm-b5320973.js} +6 -6
- package/dist/{utils-e42920bb.js → utils-8d533496.js} +1 -1
- package/dist/{vuedraggable.umd-945498e7.js → vuedraggable.umd-37bf712b.js} +1 -1
- package/package.json +2 -2
- package/dist/answerDocumentMixin-a2c8c0c9.js +0 -54
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as _o, n as Pt, Y as wn, c as aa, V as ca, o as la, s as ua, b as da } from "./main-
|
|
2
|
-
import { d as fa } from "./debounce-
|
|
3
|
-
import { a as di, C as pa } from "./CDropdownItem-
|
|
1
|
+
import { j as _o, n as Pt, Y as wn, c as aa, V as ca, o as la, s as ua, b as da } from "./main-0ba93efc.js";
|
|
2
|
+
import { d as fa } from "./debounce-5f4cc346.js";
|
|
3
|
+
import { a as di, C as pa } from "./CDropdownItem-60893039.js";
|
|
4
4
|
var fi = { exports: {} }, ha = fi.exports = {};
|
|
5
5
|
ha.forEach = function(d, c) {
|
|
6
6
|
for (var f = 0; f < d.length; f++) {
|
|
@@ -4808,7 +4808,7 @@ const ui = Pc.exports, Ac = {
|
|
|
4808
4808
|
},
|
|
4809
4809
|
computed: {
|
|
4810
4810
|
loader() {
|
|
4811
|
-
return () => Ec(/* @__PURE__ */ Object.assign({ "../blocks/answer/Index.vue": () => import("./Index-
|
|
4811
|
+
return () => Ec(/* @__PURE__ */ Object.assign({ "../blocks/answer/Index.vue": () => import("./Index-f06fcb76.js"), "../blocks/attachments/Index.vue": () => import("./Index-dd5f8fc7.js"), "../blocks/coverBlock/Index.vue": () => import("./Index-40083942.js"), "../blocks/custom/Index.vue": () => import("./Index-4f9afe72.js"), "../blocks/docChapter/Index.vue": () => import("./Index-139b1013.js"), "../blocks/docChapterSub/Index.vue": () => import("./Index-12ea21c5.js"), "../blocks/docParties/Index.vue": () => import("./Index-9891ee1a.js"), "../blocks/embed/Index.vue": () => import("./Index-607f6640.js"), "../blocks/estimatedTimeToCompleteText/Index.vue": () => import("./Index-1bf76a16.js"), "../blocks/estimatedWorkStartAndEndAtText/Index.vue": () => import("./Index-8ac2ed05.js"), "../blocks/extraWorkConstructionPricingList/Index.vue": () => import("./Index-f05fe2a1.js"), "../blocks/extraWorkTimeImpactText/Index.vue": () => import("./Index-4e675d8a.js"), "../blocks/header/Index.vue": () => import("./Index-a5a82682.js"), "../blocks/multiGroupPricing/Index.vue": () => import("./Index-0099e82e.js"), "../blocks/notBinding/Index.vue": () => import("./Index-3889e134.js"), "../blocks/packageGroup/Index.vue": () => import("./Index-3378fcf6.js"), "../blocks/pdf/Index.vue": () => import("./Index-b5480383.js"), "../blocks/presentation/Index.vue": () => import("./Index-7b2e5ac5.js"), "../blocks/terms/Index.vue": () => import("./Index-c551781f.js"), "../blocks/textContent/Index.vue": () => import("./Index-4f25825f.js"), "../blocks/videoPlayer/Index.vue": () => import("./Index-5355b449.js"), "../blocks/workAddressText/Index.vue": () => import("./Index-ef955a66.js") }), `../blocks/${this.componentName}/Index.vue`);
|
|
4812
4812
|
},
|
|
4813
4813
|
isPdfPrintAndPdfBlock() {
|
|
4814
4814
|
var d, c;
|
|
@@ -4884,9 +4884,9 @@ const Oi = Lc.exports, Rc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object
|
|
|
4884
4884
|
};
|
|
4885
4885
|
var Fc = function() {
|
|
4886
4886
|
var c = this, f = c._self._c;
|
|
4887
|
-
return f("div", { staticClass: "
|
|
4887
|
+
return f("div", { staticClass: "font-family-default h-full w-full" }, [f("WithDimensions", { attrs: { "provide-device": !0 }, scopedSlots: c._u([{ key: "default", fn: function({ width: a, height: $ }) {
|
|
4888
4888
|
var R, x;
|
|
4889
|
-
return f("DocumentStyleContainer", { staticClass: "
|
|
4889
|
+
return f("DocumentStyleContainer", { staticClass: "h-full w-full", staticStyle: { flex: "1 0 auto" }, style: {
|
|
4890
4890
|
...c.calcStyle({ width: a, height: $ })
|
|
4891
4891
|
}, attrs: { "input-style": (x = (R = c.document) == null ? void 0 : R.data) == null ? void 0 : x.css } }, c._l(c.layout, function(k, M) {
|
|
4892
4892
|
return f("DynamicChapter", { key: M, attrs: { "component-name": k.componentName, "component-props": {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { g as
|
|
1
|
+
import { g as a, n as s } from "./main-0ba93efc.js";
|
|
2
2
|
import { m as l, a as p } from "./vuex.esm-4a0fff7c.js";
|
|
3
|
-
import { a as r } from "./publicSenderState-
|
|
3
|
+
import { a as r } from "./publicSenderState-644bb177.js";
|
|
4
4
|
const c = {
|
|
5
5
|
name: "DocumentLogotype",
|
|
6
6
|
components: {
|
|
7
|
-
ImageUploadWrapper: () => import("./ImageUploadWrapper-
|
|
7
|
+
ImageUploadWrapper: () => import("./ImageUploadWrapper-24dadc15.js")
|
|
8
8
|
},
|
|
9
9
|
props: {
|
|
10
10
|
value: {
|
|
@@ -42,7 +42,7 @@ const c = {
|
|
|
42
42
|
},
|
|
43
43
|
methods: {
|
|
44
44
|
...p({
|
|
45
|
-
updateCompany:
|
|
45
|
+
updateCompany: a.DO_UPDATE_CURRENT_COMPANY
|
|
46
46
|
}),
|
|
47
47
|
initUpload() {
|
|
48
48
|
this.$refs.uploadWrapper && this.$refs.uploadWrapper.onClick();
|
|
@@ -64,7 +64,7 @@ var m = function() {
|
|
|
64
64
|
return t.viewSettings.canEdit ? o("ImageUploadWrapper", { ref: "uploadWrapper", staticStyle: { display: "inline-block", width: "fit-content", "will-change": "opacity", "z-index": "3" }, attrs: { "on-image-upload": t.setLogotype, "upload-options": { maxWidth: 500, maxHeight: 300 } }, scopedSlots: t._u([{ key: "default", fn: function({ progress: n }) {
|
|
65
65
|
return [o("CDropdown", { attrs: { position: "is-bottom-right" }, nativeOn: { click: function(i) {
|
|
66
66
|
i.stopPropagation();
|
|
67
|
-
} } }, [o("template", { slot: "trigger" }, [t.logotype && t.showLogo ? o("div", { staticClass: "logo", staticStyle: { "min-height": "35px" } }, [o("img", { staticClass: "hover:outline-
|
|
67
|
+
} } }, [o("template", { slot: "trigger" }, [t.logotype && t.showLogo ? o("div", { staticClass: "logo", staticStyle: { "min-height": "35px" } }, [o("img", { staticClass: "hover:outline-primary-500 hover:outline hover:outline-2", attrs: { src: t.logotype, alt: "", width: "150" } })]) : o("CButton", { staticClass: "button-logo", style: !t.hasHover && {
|
|
68
68
|
visibility: "hidden",
|
|
69
69
|
pointerEvents: "none"
|
|
70
70
|
}, attrs: { loading: !!n && n < 100 || t.isPosting, type: "text", size: "normal", pattern: "secondary" } }, [t._v(" " + t._s(t.$t("_common:logo").capitalize()) + " ")])], 1), o("CDropdownItem", { attrs: { value: t.showLogo, "close-on-click": !1, toggle: "" }, on: { input: function(i) {
|
|
@@ -72,18 +72,18 @@ var m = function() {
|
|
|
72
72
|
} } }, [t._v(" " + t._s(t.$t("_common:show", { thing: t.$t("_common:logotype") })) + " ")]), t.showLogo ? [o("CDropdownItem", { attrs: { separator: !0 } }), o("CDropdownItem", { on: { click: t.initUpload } }, [t._v(" " + t._s(t.$t("_common:change", { thing: t.$t("_common:logotype") })) + " ")]), o("CDropdownItem", { attrs: { disabled: !t.value }, on: { click: function(i) {
|
|
73
73
|
return t.$emit("input", "");
|
|
74
74
|
} } }, [t._v(" " + t._s(t.$t("_common:reset")) + " ")])] : t._e()], 2)];
|
|
75
|
-
} }], null, !1,
|
|
76
|
-
}, u = [],
|
|
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__ */ s(
|
|
77
77
|
c,
|
|
78
78
|
m,
|
|
79
79
|
u,
|
|
80
80
|
!1,
|
|
81
81
|
null,
|
|
82
|
-
"
|
|
82
|
+
"45ca9a93",
|
|
83
83
|
null,
|
|
84
84
|
null
|
|
85
85
|
);
|
|
86
|
-
const h =
|
|
86
|
+
const h = g.exports;
|
|
87
87
|
export {
|
|
88
88
|
h as default
|
|
89
89
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n } from "./main-
|
|
1
|
+
import { n } from "./main-0ba93efc.js";
|
|
2
2
|
const s = {
|
|
3
3
|
name: "DocumentVoided",
|
|
4
4
|
props: {
|
|
@@ -10,7 +10,7 @@ const s = {
|
|
|
10
10
|
};
|
|
11
11
|
var o = function() {
|
|
12
12
|
var t = this, e = t._self._c;
|
|
13
|
-
return e("div", { staticClass: "grid h-full
|
|
13
|
+
return e("div", { staticClass: "grid h-full place-items-center text-center" }, [e("div", { staticClass: "py-12" }, [e("BaseIcon", { 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
14
|
}, r = [], c = /* @__PURE__ */ n(
|
|
15
15
|
s,
|
|
16
16
|
o,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d } from "./debounce-
|
|
2
|
-
import { b as l, n as o } from "./main-
|
|
1
|
+
import { d } from "./debounce-5f4cc346.js";
|
|
2
|
+
import { b as l, n as o } from "./main-0ba93efc.js";
|
|
3
3
|
const m = (t) => {
|
|
4
4
|
const i = new DOMParser().parseFromString(t, "text/html"), [s] = l(i, "body.children") || [];
|
|
5
5
|
return !s || s.tagName !== "IFRAME" ? {} : Array.from(s.attributes).reduce(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import n from "./EmbedInput-
|
|
2
|
-
import { n as l } from "./main-
|
|
3
|
-
import "./debounce-
|
|
1
|
+
import n from "./EmbedInput-df3aa286.js";
|
|
2
|
+
import { n as l } from "./main-0ba93efc.js";
|
|
3
|
+
import "./debounce-5f4cc346.js";
|
|
4
4
|
const o = {
|
|
5
5
|
i18nOptions: {
|
|
6
6
|
namespaces: "embedSettings",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n, S as o } from "./main-
|
|
2
|
-
import { V as r } from "./PdfViewer-
|
|
1
|
+
import { n, S as o } from "./main-0ba93efc.js";
|
|
2
|
+
import { V as r } from "./PdfViewer-ebff4b6c.js";
|
|
3
3
|
import "./dom-962579a6.js";
|
|
4
|
-
import "./DocumentLayout-
|
|
5
|
-
import "./debounce-
|
|
6
|
-
import "./CDropdownItem-
|
|
4
|
+
import "./DocumentLayout-9cc2a08e.js";
|
|
5
|
+
import "./debounce-5f4cc346.js";
|
|
6
|
+
import "./CDropdownItem-60893039.js";
|
|
7
7
|
const a = {
|
|
8
8
|
name: "FilesPreviewModal",
|
|
9
9
|
components: {
|
|
@@ -56,13 +56,13 @@ const a = {
|
|
|
56
56
|
};
|
|
57
57
|
var l = function() {
|
|
58
58
|
var t = this, e = t._self._c;
|
|
59
|
-
return e("div", { staticClass: "flex flex-col
|
|
59
|
+
return e("div", { staticClass: "flex w-full flex-col", staticStyle: { height: "100%" } }, [e("div", { staticClass: "image-modal-overlay" }), e("div", { staticClass: "image-modal-nav", staticStyle: { "z-index": "2" } }, [e("div", { staticClass: "truncate-text", staticStyle: { "align-items": "center", display: "flex" } }, [e("div", { staticClass: "truncate-text" }, [t._v(t._s(t.list[t.currentIndex].name))])]), e("div", { staticStyle: { display: "flex" } }, [e("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.$t("show", { thing: t.$t("previous") }), expression: "$t('show', { thing: $t('previous') })" }], staticClass: "image-modal-nav-button", class: { disabled: !t.list[t.currentIndex - 1] }, on: { click: function(s) {
|
|
60
60
|
return t.onGo(-1);
|
|
61
61
|
} } }, [e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("path", { attrs: { d: "M19 12H6M12 5l-7 7 7 7" } })])]), e("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.$t("show", { thing: t.$t("next") }), expression: "$t('show', { thing: $t('next') })" }], staticClass: "image-modal-nav-button", class: { disabled: !t.list[t.currentIndex + 1] }, on: { click: function(s) {
|
|
62
62
|
return t.onGo(1);
|
|
63
63
|
} } }, [e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("path", { attrs: { d: "M5 12h13M12 5l7 7-7 7" } })])]), e("a", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.$t("download"), expression: "$t('download')" }], staticClass: "image-modal-nav-button", attrs: { href: t.list[t.currentIndex].url, target: "_blank", download: "" } }, [e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("path", { attrs: { d: "M3 15v4c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2v-4M17 9l-5 5-5-5M12 12.8V2.5" } })])]), e("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.$t("close"), expression: "$t('close')" }], staticClass: "image-modal-nav-button", on: { click: function(s) {
|
|
64
64
|
return t.$emit("close");
|
|
65
|
-
} } }, [e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("line", { attrs: { x1: "18", y1: "6", x2: "6", y2: "18" } }), e("line", { attrs: { x1: "6", y1: "6", x2: "18", y2: "18" } })])])])]), e("div", { staticClass: "flex items-center justify-center
|
|
65
|
+
} } }, [e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [e("line", { attrs: { x1: "18", y1: "6", x2: "6", y2: "18" } }), e("line", { attrs: { x1: "6", y1: "6", x2: "18", y2: "18" } })])])])]), e("div", { staticClass: "content-container flex w-full items-center justify-center", staticStyle: { position: "relative" }, on: { click: function(s) {
|
|
66
66
|
return t.$emit("close");
|
|
67
67
|
} } }, [t.isLoading ? e("Spinner", { staticStyle: { position: "absolute", left: "50%", top: "50%", transform: "translate(-50%, -50%)" }, attrs: { size: "50px" } }) : t._e(), t.isPdf ? e("div", { staticClass: "pdf-root" }, [e("VuePdf", { staticClass: "pdf-page", attrs: { src: t.list[t.currentIndex].url }, on: { rendered: () => {
|
|
68
68
|
t.isLoading = !1;
|
|
@@ -77,7 +77,7 @@ var l = function() {
|
|
|
77
77
|
d,
|
|
78
78
|
!1,
|
|
79
79
|
null,
|
|
80
|
-
"
|
|
80
|
+
"a365799a",
|
|
81
81
|
null,
|
|
82
82
|
null
|
|
83
83
|
);
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { m as x } from "./mapFormMixin-
|
|
2
|
-
import { T as _ } from "./ThemeColorRow-
|
|
3
|
-
import { c as v, n as y, o as d, E as w } from "./main-
|
|
4
|
-
import { B as C, a as
|
|
5
|
-
import
|
|
6
|
-
import S from "./ImageUploadWrapper-
|
|
7
|
-
import { a as A } from "./tinycolor-
|
|
1
|
+
import { m as x } from "./mapFormMixin-46fe94a8.js";
|
|
2
|
+
import { T as _ } from "./ThemeColorRow-ca0c7f34.js";
|
|
3
|
+
import { c as v, n as y, o as d, E as w } from "./main-0ba93efc.js";
|
|
4
|
+
import { B as C, a as b } from "./index-525e4866.js";
|
|
5
|
+
import k from "./VideoPlayerInput-87ae1e67.js";
|
|
6
|
+
import S from "./ImageUploadWrapper-24dadc15.js";
|
|
7
|
+
import { a as A } from "./tinycolor-4773d945.js";
|
|
8
8
|
import "./color-71c20583.js";
|
|
9
|
-
import "./ColorPicker-
|
|
10
|
-
import "./ManualPopover-
|
|
11
|
-
import "./debounce-
|
|
12
|
-
import "./throttle-
|
|
9
|
+
import "./ColorPicker-cd9e1cc0.js";
|
|
10
|
+
import "./ManualPopover-720770bb.js";
|
|
11
|
+
import "./debounce-5f4cc346.js";
|
|
12
|
+
import "./throttle-61f5ee70.js";
|
|
13
13
|
import "./dom-962579a6.js";
|
|
14
|
-
import "./CDropdownItem-
|
|
15
|
-
import "./Flag-
|
|
16
|
-
import "./utils-
|
|
17
|
-
import "./BaseUpload-
|
|
14
|
+
import "./CDropdownItem-60893039.js";
|
|
15
|
+
import "./Flag-c7a354cd.js";
|
|
16
|
+
import "./utils-8d533496.js";
|
|
17
|
+
import "./BaseUpload-9efbce6d.js";
|
|
18
18
|
const g = v.unsplash.id, L = v.pexels.id, z = {
|
|
19
19
|
name: "MediaSelectModal",
|
|
20
20
|
i18nOptions: {
|
|
@@ -36,8 +36,8 @@ const g = v.unsplash.id, L = v.pexels.id, z = {
|
|
|
36
36
|
},
|
|
37
37
|
components: {
|
|
38
38
|
BackgroundModal: C,
|
|
39
|
-
BackgroundList:
|
|
40
|
-
VideoPlayerInput:
|
|
39
|
+
BackgroundList: b,
|
|
40
|
+
VideoPlayerInput: k,
|
|
41
41
|
ImageUploadWrapper: S
|
|
42
42
|
},
|
|
43
43
|
props: {
|
|
@@ -175,16 +175,16 @@ const g = v.unsplash.id, L = v.pexels.id, z = {
|
|
|
175
175
|
};
|
|
176
176
|
var I = function() {
|
|
177
177
|
var t = this, e = t._self._c;
|
|
178
|
-
return e("BackgroundModal", t._g({}, t.$listeners), [e("div", { staticClass: "flex items-center justify-center
|
|
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, s) {
|
|
179
179
|
return e("CButton", { key: s, staticStyle: { "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, style: t.activeTab === o.value && { opacity: 1 }, on: { click: function(r) {
|
|
180
180
|
t.activeTab = o.value;
|
|
181
|
-
} } }, [e("span", { staticClass: "inline-flex
|
|
181
|
+
} } }, [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
182
|
}), 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) {
|
|
183
183
|
t.isImage ? t.selectImage(o) : t.selectVideo(o);
|
|
184
|
-
} } }, [e("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { slot: "footer", disabled: t.isImage ? !t.selectedImage : !t.selectedVideo, type: "secondary" }, on: { click: t.onSave }, slot: "footer" }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1) : t.activeTab === "customVideo" ? e("div", { staticClass: "flex flex-col items-center justify-center
|
|
184
|
+
} } }, [e("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { slot: "footer", disabled: t.isImage ? !t.selectedImage : !t.selectedVideo, type: "secondary" }, on: { click: t.onSave }, slot: "footer" }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1) : t.activeTab === "customVideo" ? e("div", { staticClass: "flex 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(o) {
|
|
185
185
|
t.customVideo = o;
|
|
186
186
|
}, expression: "customVideo" } }, [e("CButton", { attrs: { disabled: !t.customVideo, type: "secondary" }, on: { click: t.onSave } }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1)], 1)]) : e("div", { staticClass: "flex flex-col items-center justify-center" }, [e("div", { staticStyle: { "max-width": "500px", width: "100%", margin: "0 auto", "padding-top": "calc(3 * var(--rem))" } }, [e("ImageUploadWrapper", { ref: "uploadWrapper", attrs: { "on-image-upload": t.setCustomBackground }, scopedSlots: t._u([{ key: "default", fn: function({ progress: o }) {
|
|
187
|
-
return [e("div", { staticClass: "relative w-full
|
|
187
|
+
return [e("div", { staticClass: "relative mb-6 w-full" }, [t.customImage ? e("img", { staticClass: "h-full w-full object-cover object-scale-down object-top", staticStyle: { "max-height": "500px" }, attrs: { src: t.customImage, alt: t.customImage } }) : e("div", { staticClass: "flex aspect-video flex-col items-center justify-center rounded-md bg-gray-100" }, [e("CButton", { style: t.customImage && { opacity: 0.5 }, attrs: { loading: !!o && o < 100, "icon-left": "upload", type: "none" } }, [t._v(" " + t._s(t.$t("_common:upload")) + " ")]), e("div", { staticClass: "text-center text-gray-600", staticStyle: { "padding-top": "calc(1 * var(--rem))", "font-size": "14px", "max-width": "40ch" } }, [t._v(" " + t._s(t.$t("minWidth")) + " ")])], 1)])];
|
|
188
188
|
} }]) }), e("div", { staticClass: "flex items-center justify-center" }, [e("CButton", { attrs: { disabled: !t.customImage, type: "secondary" }, on: { click: t.onSave } }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1)], 1)])], 1);
|
|
189
189
|
}, V = [], M = /* @__PURE__ */ y(
|
|
190
190
|
z,
|
|
@@ -192,7 +192,7 @@ var I = function() {
|
|
|
192
192
|
V,
|
|
193
193
|
!1,
|
|
194
194
|
null,
|
|
195
|
-
"
|
|
195
|
+
"7234cabe",
|
|
196
196
|
null,
|
|
197
197
|
null
|
|
198
198
|
);
|
|
@@ -384,7 +384,7 @@ var B = function() {
|
|
|
384
384
|
t.backgroundColor = o, t._document.setDirty(t._value.backgroundColor);
|
|
385
385
|
} } }, [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
386
|
t.textColor = o, t._document.setDirty(t._value.textColor);
|
|
387
|
-
} } }, [t._v(" " + t._s(t.$t("_common:textColor").capitalize()) + " ")])], 1), e("div", { staticClass: "flex w-full
|
|
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: s }, r) {
|
|
388
388
|
return e("CRadioButton", { key: r, class: !t.textAlign && "text-gray-400", attrs: { "native-value": o, type: t.textAlign ? "secondary" : "none", size: "small" }, on: { input: function(a) {
|
|
389
389
|
return t._document.setDirty(t._value.textAlign);
|
|
390
390
|
} }, model: { value: t.textAlign, callback: function(a) {
|
|
@@ -397,7 +397,7 @@ var B = function() {
|
|
|
397
397
|
P,
|
|
398
398
|
!1,
|
|
399
399
|
null,
|
|
400
|
-
"
|
|
400
|
+
"eeb771f1",
|
|
401
401
|
null,
|
|
402
402
|
null
|
|
403
403
|
);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as r, n as l, o as n, E as i } from "./main-
|
|
2
|
-
import c from "./ImageUploadWrapper-
|
|
3
|
-
import { B as m, a as d } from "./index-
|
|
4
|
-
import "./BaseUpload-
|
|
5
|
-
import "./debounce-
|
|
6
|
-
import "./throttle-
|
|
1
|
+
import { c as r, n as l, o as n, E as i } from "./main-0ba93efc.js";
|
|
2
|
+
import c from "./ImageUploadWrapper-24dadc15.js";
|
|
3
|
+
import { B as m, a as d } from "./index-525e4866.js";
|
|
4
|
+
import "./BaseUpload-9efbce6d.js";
|
|
5
|
+
import "./debounce-5f4cc346.js";
|
|
6
|
+
import "./throttle-61f5ee70.js";
|
|
7
7
|
import "./dom-962579a6.js";
|
|
8
|
-
import "./CDropdownItem-
|
|
9
|
-
import "./Flag-
|
|
8
|
+
import "./CDropdownItem-60893039.js";
|
|
9
|
+
import "./Flag-c7a354cd.js";
|
|
10
10
|
const o = r.unsplash.id, p = {
|
|
11
11
|
name: "ImageSelectModal",
|
|
12
12
|
i18nOptions: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Xt from "./BaseUpload-
|
|
2
|
-
import { V as k, n as _t, L as Yt } from "./main-
|
|
1
|
+
import Xt from "./BaseUpload-9efbce6d.js";
|
|
2
|
+
import { V as k, n as _t, L as Yt } from "./main-0ba93efc.js";
|
|
3
3
|
function yt(t, e) {
|
|
4
4
|
var i = Object.keys(t);
|
|
5
5
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -1480,15 +1480,15 @@ const Ce = {
|
|
|
1480
1480
|
};
|
|
1481
1481
|
var Ee = function() {
|
|
1482
1482
|
var e = this, i = e._self._c;
|
|
1483
|
-
return i("div", { staticClass: "fixed inset-0 flex flex-col items-center justify-center
|
|
1483
|
+
return i("div", { staticClass: "fixed inset-0 flex h-full w-full flex-col items-center justify-center gap-8 bg-black/80", on: { mousedown: function(n) {
|
|
1484
1484
|
e.currentTarget = n.target;
|
|
1485
1485
|
}, mouseup: function(n) {
|
|
1486
1486
|
if (n.target !== n.currentTarget)
|
|
1487
1487
|
return null;
|
|
1488
1488
|
e.currentTarget === n.target && e.$emit("close");
|
|
1489
|
-
} } }, [i("CButton", { staticClass: "absolute z-50 border-transparent text-white/90
|
|
1489
|
+
} } }, [i("CButton", { staticClass: "absolute right-2 top-2 z-50 border-transparent bg-black/50 text-white/90", attrs: { circle: "", icon: "x", type: "text" }, on: { click: function(n) {
|
|
1490
1490
|
return e.$emit("close");
|
|
1491
|
-
} } }), i("div", { staticClass: "flex
|
|
1491
|
+
} } }), i("div", { staticClass: "flex min-h-0 max-w-[calc(100%_-_4_*_var(--rem))] flex-auto items-center justify-center pt-8" }, [i("Cropper", e._b({ ref: "cropper", staticClass: "h-full w-full", attrs: { src: e.imageData } }, "Cropper", e.cropperOptions, !1))], 1), i("div", { staticClass: "shrink-0 flex-grow py-8" }, [i("CButton", { staticClass: "w-36", attrs: { type: "secondary" }, on: { click: e.onSave } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")])], 1)], 1);
|
|
1492
1492
|
}, Oe = [], We = /* @__PURE__ */ _t(
|
|
1493
1493
|
Ce,
|
|
1494
1494
|
Ee,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as r } from "./mapFormMixin-
|
|
2
|
-
import { I as n } from "./InputToggleRow-
|
|
3
|
-
import { B as l } from "./BaseDatePicker-
|
|
4
|
-
import { n as s } from "./main-
|
|
5
|
-
import "./CDropdownItem-
|
|
1
|
+
import { m as r } from "./mapFormMixin-46fe94a8.js";
|
|
2
|
+
import { I as n } from "./InputToggleRow-a9229972.js";
|
|
3
|
+
import { B as l } from "./BaseDatePicker-e2e1ea6e.js";
|
|
4
|
+
import { n as s } from "./main-0ba93efc.js";
|
|
5
|
+
import "./CDropdownItem-60893039.js";
|
|
6
6
|
const c = {
|
|
7
7
|
i18nOptions: {
|
|
8
8
|
namespaces: "estimatedTimeStartEnd",
|