@ozdao/prometheus-framework 0.2.325 → 0.2.326
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main.css +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +0 -93
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +1 -94
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs +93 -0
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js +94 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +2 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +2 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/sections/EventsHot.vue.cjs +2 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/EventsHot.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/EventsHot.vue.js +2 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/EventsHot.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +1 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockFilter.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockFilter.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.js +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +751 -747
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +751 -747
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +2 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +2 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +2 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +2 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js +1 -1
- package/package.json +1 -1
- package/src/modules/icons/navigation/IconCalendar.vue +7 -1
@@ -1,95 +1,2 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
-
const vue = require("vue");
|
4
|
-
const vueDraggableNext_esmBundler = require("../../../../node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.cjs");
|
5
|
-
const UploadImageMultiple = require("../UploadImageMultiple/UploadImageMultiple.vue.cjs");
|
6
|
-
const IconCross = require("../../modules/icons/navigation/IconCross.vue.cjs");
|
7
|
-
require("./EditImages.vue2.cjs");
|
8
|
-
const _hoisted_1 = { class: "flex-nowrap flex gap-small" };
|
9
|
-
const _hoisted_2 = { class: "pos-relative" };
|
10
|
-
const _hoisted_3 = ["src"];
|
11
|
-
const _hoisted_4 = {
|
12
|
-
key: 1,
|
13
|
-
class: "i-extra uppercase flex-center flex radius-small o-hidden br-solid br-main br-2px pd-small"
|
14
|
-
};
|
15
|
-
const _sfc_main = {
|
16
|
-
__name: "EditImages",
|
17
|
-
props: {
|
18
|
-
images: Array,
|
19
|
-
text: Object,
|
20
|
-
options: Object,
|
21
|
-
uploadPath: {
|
22
|
-
type: Object,
|
23
|
-
default: "unsorted"
|
24
|
-
}
|
25
|
-
},
|
26
|
-
emits: ["update:images"],
|
27
|
-
setup(__props, { emit: __emit }) {
|
28
|
-
const props = __props;
|
29
|
-
const emit = __emit;
|
30
|
-
const localImages = vue.ref([...props.images]);
|
31
|
-
vue.watchEffect(() => {
|
32
|
-
localImages.value = [...props.images];
|
33
|
-
});
|
34
|
-
const emitChanges = () => {
|
35
|
-
emit("update:images", localImages.value);
|
36
|
-
};
|
37
|
-
const onImagesUpdate = (newImages) => {
|
38
|
-
localImages.value = [...localImages.value, ...newImages];
|
39
|
-
emitChanges();
|
40
|
-
};
|
41
|
-
const deleteImage = (index) => {
|
42
|
-
localImages.value.splice(index, 1);
|
43
|
-
emitChanges();
|
44
|
-
};
|
45
|
-
return (_ctx, _cache) => {
|
46
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
47
|
-
localImages.value.length > 0 ? (vue.openBlock(), vue.createBlock(vue.unref(vueDraggableNext_esmBundler.VueDraggableNext), {
|
48
|
-
key: 0,
|
49
|
-
class: "gap-small flex dragArea list-group w-full",
|
50
|
-
modelValue: localImages.value,
|
51
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => localImages.value = $event),
|
52
|
-
onChange: emitChanges
|
53
|
-
}, {
|
54
|
-
default: vue.withCtx(() => [
|
55
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(localImages.value, (image, index) => {
|
56
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
|
57
|
-
vue.createElementVNode("img", {
|
58
|
-
loading: "lazy",
|
59
|
-
class: "i-extra object-fit-contain bg-black-transp-5 pd-nano radius-small o-hidden",
|
60
|
-
src: (_ctx.FILE_SERVER_URL || "") + image
|
61
|
-
}, null, 8, _hoisted_3),
|
62
|
-
vue.createVNode(IconCross.default, {
|
63
|
-
onClick: ($event) => deleteImage(index),
|
64
|
-
class: "cursor-pointer pos-absolute t-center flex-center flex radius-extra i-medium bg-red pos-t-10-negative pos-r-10-negative pd-micro"
|
65
|
-
}, null, 8, ["onClick"])
|
66
|
-
]);
|
67
|
-
}), 256))
|
68
|
-
]),
|
69
|
-
_: 1
|
70
|
-
}, 8, ["modelValue"])) : vue.createCommentVNode("", true),
|
71
|
-
localImages.value.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
|
72
|
-
vue.createVNode(UploadImageMultiple.default, {
|
73
|
-
"onUpdate:images": onImagesUpdate,
|
74
|
-
text: "Add",
|
75
|
-
options: {
|
76
|
-
showText: false
|
77
|
-
},
|
78
|
-
uploadPath: "photos",
|
79
|
-
class: "radius-big"
|
80
|
-
})
|
81
|
-
])) : vue.createCommentVNode("", true),
|
82
|
-
localImages.value.length < 1 ? (vue.openBlock(), vue.createBlock(UploadImageMultiple.default, {
|
83
|
-
key: 2,
|
84
|
-
"onUpdate:images": onImagesUpdate,
|
85
|
-
uploadPath: props.uploadPath,
|
86
|
-
text: props.text,
|
87
|
-
options: props.options,
|
88
|
-
class: "w-100 pd-medium"
|
89
|
-
}, null, 8, ["uploadPath", "text", "options"])) : vue.createCommentVNode("", true)
|
90
|
-
]);
|
91
|
-
};
|
92
|
-
}
|
93
|
-
};
|
94
|
-
exports.default = _sfc_main;
|
95
2
|
//# sourceMappingURL=EditImages.vue.cjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EditImages.vue.cjs","sources":[
|
1
|
+
{"version":3,"file":"EditImages.vue.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
@@ -1,95 +1,2 @@
|
|
1
|
-
|
2
|
-
import { VueDraggableNext } from "../../../../node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js";
|
3
|
-
import _sfc_main$2 from "../UploadImageMultiple/UploadImageMultiple.vue.js";
|
4
|
-
import _sfc_main$1 from "../../modules/icons/navigation/IconCross.vue.js";
|
5
|
-
import "./EditImages.vue2.js";
|
6
|
-
const _hoisted_1 = { class: "flex-nowrap flex gap-small" };
|
7
|
-
const _hoisted_2 = { class: "pos-relative" };
|
8
|
-
const _hoisted_3 = ["src"];
|
9
|
-
const _hoisted_4 = {
|
10
|
-
key: 1,
|
11
|
-
class: "i-extra uppercase flex-center flex radius-small o-hidden br-solid br-main br-2px pd-small"
|
12
|
-
};
|
13
|
-
const _sfc_main = {
|
14
|
-
__name: "EditImages",
|
15
|
-
props: {
|
16
|
-
images: Array,
|
17
|
-
text: Object,
|
18
|
-
options: Object,
|
19
|
-
uploadPath: {
|
20
|
-
type: Object,
|
21
|
-
default: "unsorted"
|
22
|
-
}
|
23
|
-
},
|
24
|
-
emits: ["update:images"],
|
25
|
-
setup(__props, { emit: __emit }) {
|
26
|
-
const props = __props;
|
27
|
-
const emit = __emit;
|
28
|
-
const localImages = ref([...props.images]);
|
29
|
-
watchEffect(() => {
|
30
|
-
localImages.value = [...props.images];
|
31
|
-
});
|
32
|
-
const emitChanges = () => {
|
33
|
-
emit("update:images", localImages.value);
|
34
|
-
};
|
35
|
-
const onImagesUpdate = (newImages) => {
|
36
|
-
localImages.value = [...localImages.value, ...newImages];
|
37
|
-
emitChanges();
|
38
|
-
};
|
39
|
-
const deleteImage = (index) => {
|
40
|
-
localImages.value.splice(index, 1);
|
41
|
-
emitChanges();
|
42
|
-
};
|
43
|
-
return (_ctx, _cache) => {
|
44
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [
|
45
|
-
localImages.value.length > 0 ? (openBlock(), createBlock(unref(VueDraggableNext), {
|
46
|
-
key: 0,
|
47
|
-
class: "gap-small flex dragArea list-group w-full",
|
48
|
-
modelValue: localImages.value,
|
49
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => localImages.value = $event),
|
50
|
-
onChange: emitChanges
|
51
|
-
}, {
|
52
|
-
default: withCtx(() => [
|
53
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(localImages.value, (image, index) => {
|
54
|
-
return openBlock(), createElementBlock("div", _hoisted_2, [
|
55
|
-
createElementVNode("img", {
|
56
|
-
loading: "lazy",
|
57
|
-
class: "i-extra object-fit-contain bg-black-transp-5 pd-nano radius-small o-hidden",
|
58
|
-
src: (_ctx.FILE_SERVER_URL || "") + image
|
59
|
-
}, null, 8, _hoisted_3),
|
60
|
-
createVNode(_sfc_main$1, {
|
61
|
-
onClick: ($event) => deleteImage(index),
|
62
|
-
class: "cursor-pointer pos-absolute t-center flex-center flex radius-extra i-medium bg-red pos-t-10-negative pos-r-10-negative pd-micro"
|
63
|
-
}, null, 8, ["onClick"])
|
64
|
-
]);
|
65
|
-
}), 256))
|
66
|
-
]),
|
67
|
-
_: 1
|
68
|
-
}, 8, ["modelValue"])) : createCommentVNode("", true),
|
69
|
-
localImages.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
70
|
-
createVNode(_sfc_main$2, {
|
71
|
-
"onUpdate:images": onImagesUpdate,
|
72
|
-
text: "Add",
|
73
|
-
options: {
|
74
|
-
showText: false
|
75
|
-
},
|
76
|
-
uploadPath: "photos",
|
77
|
-
class: "radius-big"
|
78
|
-
})
|
79
|
-
])) : createCommentVNode("", true),
|
80
|
-
localImages.value.length < 1 ? (openBlock(), createBlock(_sfc_main$2, {
|
81
|
-
key: 2,
|
82
|
-
"onUpdate:images": onImagesUpdate,
|
83
|
-
uploadPath: props.uploadPath,
|
84
|
-
text: props.text,
|
85
|
-
options: props.options,
|
86
|
-
class: "w-100 pd-medium"
|
87
|
-
}, null, 8, ["uploadPath", "text", "options"])) : createCommentVNode("", true)
|
88
|
-
]);
|
89
|
-
};
|
90
|
-
}
|
91
|
-
};
|
92
|
-
export {
|
93
|
-
_sfc_main as default
|
94
|
-
};
|
1
|
+
|
95
2
|
//# sourceMappingURL=EditImages.vue.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EditImages.vue.js","sources":[
|
1
|
+
{"version":3,"file":"EditImages.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
@@ -1,2 +1,95 @@
|
|
1
1
|
"use strict";
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
+
const vue = require("vue");
|
4
|
+
const vueDraggableNext_esmBundler = require("../../../../node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.cjs");
|
5
|
+
const UploadImageMultiple = require("../UploadImageMultiple/UploadImageMultiple.vue.cjs");
|
6
|
+
const IconCross = require("../../modules/icons/navigation/IconCross.vue.cjs");
|
7
|
+
require("./EditImages.vue.cjs");
|
8
|
+
const _hoisted_1 = { class: "flex-nowrap flex gap-small" };
|
9
|
+
const _hoisted_2 = { class: "pos-relative" };
|
10
|
+
const _hoisted_3 = ["src"];
|
11
|
+
const _hoisted_4 = {
|
12
|
+
key: 1,
|
13
|
+
class: "i-extra uppercase flex-center flex radius-small o-hidden br-solid br-main br-2px pd-small"
|
14
|
+
};
|
15
|
+
const _sfc_main = {
|
16
|
+
__name: "EditImages",
|
17
|
+
props: {
|
18
|
+
images: Array,
|
19
|
+
text: Object,
|
20
|
+
options: Object,
|
21
|
+
uploadPath: {
|
22
|
+
type: Object,
|
23
|
+
default: "unsorted"
|
24
|
+
}
|
25
|
+
},
|
26
|
+
emits: ["update:images"],
|
27
|
+
setup(__props, { emit: __emit }) {
|
28
|
+
const props = __props;
|
29
|
+
const emit = __emit;
|
30
|
+
const localImages = vue.ref([...props.images]);
|
31
|
+
vue.watchEffect(() => {
|
32
|
+
localImages.value = [...props.images];
|
33
|
+
});
|
34
|
+
const emitChanges = () => {
|
35
|
+
emit("update:images", localImages.value);
|
36
|
+
};
|
37
|
+
const onImagesUpdate = (newImages) => {
|
38
|
+
localImages.value = [...localImages.value, ...newImages];
|
39
|
+
emitChanges();
|
40
|
+
};
|
41
|
+
const deleteImage = (index) => {
|
42
|
+
localImages.value.splice(index, 1);
|
43
|
+
emitChanges();
|
44
|
+
};
|
45
|
+
return (_ctx, _cache) => {
|
46
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
47
|
+
localImages.value.length > 0 ? (vue.openBlock(), vue.createBlock(vue.unref(vueDraggableNext_esmBundler.VueDraggableNext), {
|
48
|
+
key: 0,
|
49
|
+
class: "gap-small flex dragArea list-group w-full",
|
50
|
+
modelValue: localImages.value,
|
51
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => localImages.value = $event),
|
52
|
+
onChange: emitChanges
|
53
|
+
}, {
|
54
|
+
default: vue.withCtx(() => [
|
55
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(localImages.value, (image, index) => {
|
56
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
|
57
|
+
vue.createElementVNode("img", {
|
58
|
+
loading: "lazy",
|
59
|
+
class: "i-extra object-fit-contain bg-black-transp-5 pd-nano radius-small o-hidden",
|
60
|
+
src: (_ctx.FILE_SERVER_URL || "") + image
|
61
|
+
}, null, 8, _hoisted_3),
|
62
|
+
vue.createVNode(IconCross.default, {
|
63
|
+
onClick: ($event) => deleteImage(index),
|
64
|
+
class: "cursor-pointer pos-absolute t-center flex-center flex radius-extra i-medium bg-red pos-t-10-negative pos-r-10-negative pd-micro"
|
65
|
+
}, null, 8, ["onClick"])
|
66
|
+
]);
|
67
|
+
}), 256))
|
68
|
+
]),
|
69
|
+
_: 1
|
70
|
+
}, 8, ["modelValue"])) : vue.createCommentVNode("", true),
|
71
|
+
localImages.value.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
|
72
|
+
vue.createVNode(UploadImageMultiple.default, {
|
73
|
+
"onUpdate:images": onImagesUpdate,
|
74
|
+
text: "Add",
|
75
|
+
options: {
|
76
|
+
showText: false
|
77
|
+
},
|
78
|
+
uploadPath: "photos",
|
79
|
+
class: "radius-big"
|
80
|
+
})
|
81
|
+
])) : vue.createCommentVNode("", true),
|
82
|
+
localImages.value.length < 1 ? (vue.openBlock(), vue.createBlock(UploadImageMultiple.default, {
|
83
|
+
key: 2,
|
84
|
+
"onUpdate:images": onImagesUpdate,
|
85
|
+
uploadPath: props.uploadPath,
|
86
|
+
text: props.text,
|
87
|
+
options: props.options,
|
88
|
+
class: "w-100 pd-medium"
|
89
|
+
}, null, 8, ["uploadPath", "text", "options"])) : vue.createCommentVNode("", true)
|
90
|
+
]);
|
91
|
+
};
|
92
|
+
}
|
93
|
+
};
|
94
|
+
exports.default = _sfc_main;
|
2
95
|
//# sourceMappingURL=EditImages.vue2.cjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EditImages.vue2.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
|
+
{"version":3,"file":"EditImages.vue2.cjs","sources":["../../../../../src/components/EditImages/EditImages.vue"],"sourcesContent":["<template>\n\t<div class=\"flex-nowrap flex gap-small\">\n <VueDraggableNext v-if=\"localImages.length > 0\" class=\"gap-small flex dragArea list-group w-full\" v-model=\"localImages\" @change=\"emitChanges\">\n\t\t\t<div v-for=\"(image, index) in localImages\" class=\"pos-relative\">\n\t\t\t\t<img loading=\"lazy\" class=\"i-extra object-fit-contain bg-black-transp-5 pd-nano radius-small o-hidden\" :src=\"(FILE_SERVER_URL || '') + image\" />\n\t\t\t\t\n <IconCross \n @click=\"deleteImage(index)\" \n class=\"cursor-pointer pos-absolute t-center flex-center flex radius-extra i-medium bg-red pos-t-10-negative pos-r-10-negative pd-micro\"\n />\n\t\t\t</div>\n\t\t</VueDraggableNext>\n <div\n v-if=\"localImages.length > 0\" \n class=\"i-extra uppercase flex-center flex radius-small o-hidden br-solid br-main br-2px pd-small\"\n >\n <UploadImageMultiple \n @update:images=\"onImagesUpdate\"\n text=\"Add\"\n :options=\"{\n showText: false\n }\"\n :uploadPath=\"'photos'\"\n class=\"radius-big\"\n />\n </div>\n\n\n\t\t<UploadImageMultiple \t\n v-if=\"localImages.length < 1\" \n @update:images=\"onImagesUpdate\"\n :uploadPath=\"props.uploadPath\"\n :text=\"props.text\"\n :options=\"props.options\"\n class=\"w-100 pd-medium\"\n />\n\t</div>\t\n</template>\n\n<script setup>\nimport { ref, defineProps, watchEffect } from 'vue';\nimport { VueDraggableNext } from 'vue-draggable-next'\nimport UploadImageMultiple from \"@pf/src/components/UploadImageMultiple/UploadImageMultiple.vue\";\nimport IconCross from '@pf/src/modules/icons/navigation/IconCross.vue';\n\nconst props = defineProps({\n images: Array,\n text: Object,\n options: Object,\n uploadPath: {\n type: Object,\n default: 'unsorted'\n }\n});\n\nconst emit = defineEmits(['update:images'])\n\nconst localImages = ref([...props.images])\n\nwatchEffect(() => {\n localImages.value = [...props.images]; // Обновление localImages при изменении props.images\n});\n\nconst emitChanges = () => {\n emit('update:images', localImages.value)\n}\n\nconst onImagesUpdate = (newImages) => {\n localImages.value = [...localImages.value, ...newImages]\n emitChanges()\n}\n\nconst deleteImage = (index) => {\n localImages.value.splice(index, 1)\n emitChanges()\n}\n</script>\n\n<style lang=\"scss\">\n// Your styles here\n</style>\n"],"names":["ref","watchEffect"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CA,UAAM,QAAQ;AAUd,UAAM,OAAO;AAEb,UAAM,cAAcA,IAAAA,IAAI,CAAC,GAAG,MAAM,MAAM,CAAC;AAEzCC,QAAAA,YAAY,MAAM;AAChB,kBAAY,QAAQ,CAAC,GAAG,MAAM,MAAM;AAAA,IACtC,CAAC;AAED,UAAM,cAAc,MAAM;AACxB,WAAK,iBAAiB,YAAY,KAAK;AAAA,IACzC;AAEA,UAAM,iBAAiB,CAAC,cAAc;AACpC,kBAAY,QAAQ,CAAC,GAAG,YAAY,OAAO,GAAG,SAAS;AACvD,kBAAa;AAAA,IACf;AAEA,UAAM,cAAc,CAAC,UAAU;AAC7B,kBAAY,MAAM,OAAO,OAAO,CAAC;AACjC,kBAAa;AAAA,IACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,2 +1,95 @@
|
|
1
|
-
|
1
|
+
import { ref, watchEffect, openBlock, createElementBlock, createBlock, unref, withCtx, Fragment, renderList, createElementVNode, createVNode, createCommentVNode } from "vue";
|
2
|
+
import { VueDraggableNext } from "../../../../node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js";
|
3
|
+
import _sfc_main$2 from "../UploadImageMultiple/UploadImageMultiple.vue.js";
|
4
|
+
import _sfc_main$1 from "../../modules/icons/navigation/IconCross.vue.js";
|
5
|
+
import "./EditImages.vue.js";
|
6
|
+
const _hoisted_1 = { class: "flex-nowrap flex gap-small" };
|
7
|
+
const _hoisted_2 = { class: "pos-relative" };
|
8
|
+
const _hoisted_3 = ["src"];
|
9
|
+
const _hoisted_4 = {
|
10
|
+
key: 1,
|
11
|
+
class: "i-extra uppercase flex-center flex radius-small o-hidden br-solid br-main br-2px pd-small"
|
12
|
+
};
|
13
|
+
const _sfc_main = {
|
14
|
+
__name: "EditImages",
|
15
|
+
props: {
|
16
|
+
images: Array,
|
17
|
+
text: Object,
|
18
|
+
options: Object,
|
19
|
+
uploadPath: {
|
20
|
+
type: Object,
|
21
|
+
default: "unsorted"
|
22
|
+
}
|
23
|
+
},
|
24
|
+
emits: ["update:images"],
|
25
|
+
setup(__props, { emit: __emit }) {
|
26
|
+
const props = __props;
|
27
|
+
const emit = __emit;
|
28
|
+
const localImages = ref([...props.images]);
|
29
|
+
watchEffect(() => {
|
30
|
+
localImages.value = [...props.images];
|
31
|
+
});
|
32
|
+
const emitChanges = () => {
|
33
|
+
emit("update:images", localImages.value);
|
34
|
+
};
|
35
|
+
const onImagesUpdate = (newImages) => {
|
36
|
+
localImages.value = [...localImages.value, ...newImages];
|
37
|
+
emitChanges();
|
38
|
+
};
|
39
|
+
const deleteImage = (index) => {
|
40
|
+
localImages.value.splice(index, 1);
|
41
|
+
emitChanges();
|
42
|
+
};
|
43
|
+
return (_ctx, _cache) => {
|
44
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
45
|
+
localImages.value.length > 0 ? (openBlock(), createBlock(unref(VueDraggableNext), {
|
46
|
+
key: 0,
|
47
|
+
class: "gap-small flex dragArea list-group w-full",
|
48
|
+
modelValue: localImages.value,
|
49
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => localImages.value = $event),
|
50
|
+
onChange: emitChanges
|
51
|
+
}, {
|
52
|
+
default: withCtx(() => [
|
53
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(localImages.value, (image, index) => {
|
54
|
+
return openBlock(), createElementBlock("div", _hoisted_2, [
|
55
|
+
createElementVNode("img", {
|
56
|
+
loading: "lazy",
|
57
|
+
class: "i-extra object-fit-contain bg-black-transp-5 pd-nano radius-small o-hidden",
|
58
|
+
src: (_ctx.FILE_SERVER_URL || "") + image
|
59
|
+
}, null, 8, _hoisted_3),
|
60
|
+
createVNode(_sfc_main$1, {
|
61
|
+
onClick: ($event) => deleteImage(index),
|
62
|
+
class: "cursor-pointer pos-absolute t-center flex-center flex radius-extra i-medium bg-red pos-t-10-negative pos-r-10-negative pd-micro"
|
63
|
+
}, null, 8, ["onClick"])
|
64
|
+
]);
|
65
|
+
}), 256))
|
66
|
+
]),
|
67
|
+
_: 1
|
68
|
+
}, 8, ["modelValue"])) : createCommentVNode("", true),
|
69
|
+
localImages.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
70
|
+
createVNode(_sfc_main$2, {
|
71
|
+
"onUpdate:images": onImagesUpdate,
|
72
|
+
text: "Add",
|
73
|
+
options: {
|
74
|
+
showText: false
|
75
|
+
},
|
76
|
+
uploadPath: "photos",
|
77
|
+
class: "radius-big"
|
78
|
+
})
|
79
|
+
])) : createCommentVNode("", true),
|
80
|
+
localImages.value.length < 1 ? (openBlock(), createBlock(_sfc_main$2, {
|
81
|
+
key: 2,
|
82
|
+
"onUpdate:images": onImagesUpdate,
|
83
|
+
uploadPath: props.uploadPath,
|
84
|
+
text: props.text,
|
85
|
+
options: props.options,
|
86
|
+
class: "w-100 pd-medium"
|
87
|
+
}, null, 8, ["uploadPath", "text", "options"])) : createCommentVNode("", true)
|
88
|
+
]);
|
89
|
+
};
|
90
|
+
}
|
91
|
+
};
|
92
|
+
export {
|
93
|
+
_sfc_main as default
|
94
|
+
};
|
2
95
|
//# sourceMappingURL=EditImages.vue2.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EditImages.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
|
+
{"version":3,"file":"EditImages.vue2.js","sources":["../../../../../src/components/EditImages/EditImages.vue"],"sourcesContent":["<template>\n\t<div class=\"flex-nowrap flex gap-small\">\n <VueDraggableNext v-if=\"localImages.length > 0\" class=\"gap-small flex dragArea list-group w-full\" v-model=\"localImages\" @change=\"emitChanges\">\n\t\t\t<div v-for=\"(image, index) in localImages\" class=\"pos-relative\">\n\t\t\t\t<img loading=\"lazy\" class=\"i-extra object-fit-contain bg-black-transp-5 pd-nano radius-small o-hidden\" :src=\"(FILE_SERVER_URL || '') + image\" />\n\t\t\t\t\n <IconCross \n @click=\"deleteImage(index)\" \n class=\"cursor-pointer pos-absolute t-center flex-center flex radius-extra i-medium bg-red pos-t-10-negative pos-r-10-negative pd-micro\"\n />\n\t\t\t</div>\n\t\t</VueDraggableNext>\n <div\n v-if=\"localImages.length > 0\" \n class=\"i-extra uppercase flex-center flex radius-small o-hidden br-solid br-main br-2px pd-small\"\n >\n <UploadImageMultiple \n @update:images=\"onImagesUpdate\"\n text=\"Add\"\n :options=\"{\n showText: false\n }\"\n :uploadPath=\"'photos'\"\n class=\"radius-big\"\n />\n </div>\n\n\n\t\t<UploadImageMultiple \t\n v-if=\"localImages.length < 1\" \n @update:images=\"onImagesUpdate\"\n :uploadPath=\"props.uploadPath\"\n :text=\"props.text\"\n :options=\"props.options\"\n class=\"w-100 pd-medium\"\n />\n\t</div>\t\n</template>\n\n<script setup>\nimport { ref, defineProps, watchEffect } from 'vue';\nimport { VueDraggableNext } from 'vue-draggable-next'\nimport UploadImageMultiple from \"@pf/src/components/UploadImageMultiple/UploadImageMultiple.vue\";\nimport IconCross from '@pf/src/modules/icons/navigation/IconCross.vue';\n\nconst props = defineProps({\n images: Array,\n text: Object,\n options: Object,\n uploadPath: {\n type: Object,\n default: 'unsorted'\n }\n});\n\nconst emit = defineEmits(['update:images'])\n\nconst localImages = ref([...props.images])\n\nwatchEffect(() => {\n localImages.value = [...props.images]; // Обновление localImages при изменении props.images\n});\n\nconst emitChanges = () => {\n emit('update:images', localImages.value)\n}\n\nconst onImagesUpdate = (newImages) => {\n localImages.value = [...localImages.value, ...newImages]\n emitChanges()\n}\n\nconst deleteImage = (index) => {\n localImages.value.splice(index, 1)\n emitChanges()\n}\n</script>\n\n<style lang=\"scss\">\n// Your styles here\n</style>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA6CA,UAAM,QAAQ;AAUd,UAAM,OAAO;AAEb,UAAM,cAAc,IAAI,CAAC,GAAG,MAAM,MAAM,CAAC;AAEzC,gBAAY,MAAM;AAChB,kBAAY,QAAQ,CAAC,GAAG,MAAM,MAAM;AAAA,IACtC,CAAC;AAED,UAAM,cAAc,MAAM;AACxB,WAAK,iBAAiB,YAAY,KAAK;AAAA,IACzC;AAEA,UAAM,iBAAiB,CAAC,cAAc;AACpC,kBAAY,QAAQ,CAAC,GAAG,YAAY,OAAO,GAAG,SAAS;AACvD,kBAAa;AAAA,IACf;AAEA,UAAM,cAAc,CAAC,UAAU;AAC7B,kBAAY,MAAM,OAAO,OAAO,CAAC;AACjC,kBAAa;AAAA,IACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -5,7 +5,7 @@ const vue = require("vue");
|
|
5
5
|
;/* empty css */
|
6
6
|
;/* empty css */
|
7
7
|
const Dropdown = require("../../../../../components/Dropdown/Dropdown.vue2.cjs");
|
8
|
-
const Menu = require("../../../../../components/Menu/Menu.
|
8
|
+
const Menu = require("../../../../../components/Menu/Menu.vue.cjs");
|
9
9
|
const MenuItem = require("../../../../../components/Menu/MenuItem.vue.cjs");
|
10
10
|
const ButtonToggleMembership = require("../../../../organizations/components/elements/ButtonToggleMembership.vue.cjs");
|
11
11
|
const FormReport = require("../../../../reports/components/sections/FormReport.vue.cjs");
|
@@ -3,7 +3,7 @@ import { ref, inject, computed, onMounted, openBlock, createElementBlock, create
|
|
3
3
|
/* empty css */
|
4
4
|
/* empty css */
|
5
5
|
import _sfc_main$1 from "../../../../../components/Dropdown/Dropdown.vue2.js";
|
6
|
-
import _sfc_main$6 from "../../../../../components/Menu/Menu.
|
6
|
+
import _sfc_main$6 from "../../../../../components/Menu/Menu.vue.js";
|
7
7
|
import _sfc_main$7 from "../../../../../components/Menu/MenuItem.vue.js";
|
8
8
|
import _sfc_main$3 from "../../../../organizations/components/elements/ButtonToggleMembership.vue.js";
|
9
9
|
import _sfc_main$2 from "../../../../reports/components/sections/FormReport.vue.js";
|
@@ -3,9 +3,9 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
3
3
|
const vue = require("vue");
|
4
4
|
const Block = require("../../../../components/Block/Block.vue.cjs");
|
5
5
|
const Feed = require("../../../../components/Feed/Feed.vue.cjs");
|
6
|
-
;/* empty css
|
6
|
+
;/* empty css */
|
7
7
|
require("../../../../components/Menu/MenuItem.vue.cjs");
|
8
|
-
;/* empty css
|
8
|
+
;/* empty css */
|
9
9
|
const IconProfile = require("../../../icons/entities/IconProfile.vue.cjs");
|
10
10
|
const IconOrders = require("../../../icons/entities/IconOrders.vue.cjs");
|
11
11
|
const vueRouter = require("vue-router");
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { ref, onMounted, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, Fragment, renderList, toDisplayString } from "vue";
|
2
2
|
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
3
3
|
import _sfc_main$4 from "../../../../components/Feed/Feed.vue.js";
|
4
|
-
/* empty css
|
4
|
+
/* empty css */
|
5
5
|
import "../../../../components/Menu/MenuItem.vue.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
7
|
import _sfc_main$2 from "../../../icons/entities/IconProfile.vue.js";
|
8
8
|
import _sfc_main$3 from "../../../icons/entities/IconOrders.vue.js";
|
9
9
|
import { useRoute, useRouter } from "vue-router";
|
package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
|
-
;/* empty css
|
4
|
+
;/* empty css */
|
5
5
|
const IconProducts = require("../../../icons/entities/IconProducts.vue.cjs");
|
6
6
|
const IconPayments = require("../../../icons/entities/IconPayments.vue.cjs");
|
7
7
|
const IconEvents = require("../../../icons/entities/IconEvents.vue.cjs");
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref, onMounted, openBlock, createElementBlock, createElementVNode, Fragment, renderList, unref, createBlock, resolveDynamicComponent, createCommentVNode, toDisplayString } from "vue";
|
2
|
-
/* empty css
|
2
|
+
/* empty css */
|
3
3
|
import _sfc_main$3 from "../../../icons/entities/IconProducts.vue.js";
|
4
4
|
import _sfc_main$8 from "../../../icons/entities/IconPayments.vue.js";
|
5
5
|
import _sfc_main$7 from "../../../icons/entities/IconEvents.vue.js";
|
package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs
CHANGED
@@ -5,7 +5,8 @@ const vue = require("vue");
|
|
5
5
|
;/* empty css */
|
6
6
|
;/* empty css */
|
7
7
|
;/* empty css */
|
8
|
-
;/* empty css
|
8
|
+
;/* empty css */
|
9
|
+
;/* empty css */
|
9
10
|
;/* empty css */
|
10
11
|
const Slider = require("../../../../components/Slider/Slider.vue.cjs");
|
11
12
|
const CardBlogpost = require("../blocks/CardBlogpost.vue.cjs");
|
package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HotPosts.vue.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"HotPosts.vue.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -3,7 +3,8 @@ import { openBlock, createBlock, withCtx } from "vue";
|
|
3
3
|
/* empty css */
|
4
4
|
/* empty css */
|
5
5
|
/* empty css */
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
|
+
/* empty css */
|
7
8
|
/* empty css */
|
8
9
|
import Slider from "../../../../components/Slider/Slider.vue.js";
|
9
10
|
import _sfc_main$1 from "../blocks/CardBlogpost.vue.js";
|
package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HotPosts.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"HotPosts.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -12,12 +12,12 @@ const Popup = require("../../../../components/Popup/Popup.vue.cjs");
|
|
12
12
|
const Field = require("../../../../components/Field/Field.vue.cjs");
|
13
13
|
const BlockTags = require("../../../../components/FieldTags/BlockTags.vue.cjs");
|
14
14
|
const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
|
15
|
-
;/* empty css
|
15
|
+
;/* empty css */
|
16
16
|
require("axios");
|
17
17
|
;/* empty css */
|
18
18
|
const UploadImage = require("../../../../components/UploadImage/UploadImage.vue.cjs");
|
19
19
|
;/* empty css */
|
20
|
-
require("../../../../components/EditImages/EditImages.
|
20
|
+
require("../../../../components/EditImages/EditImages.vue.cjs");
|
21
21
|
const Feed = require("../../../../components/Feed/Feed.vue.cjs");
|
22
22
|
const Button = require("../../../../components/Button/Button.vue.cjs");
|
23
23
|
const Card = require("../../../globals/views/components/blocks/Card.vue.cjs");
|
@@ -10,12 +10,12 @@ import _sfc_main$5 from "../../../../components/Popup/Popup.vue.js";
|
|
10
10
|
import Field from "../../../../components/Field/Field.vue.js";
|
11
11
|
import _sfc_main$6 from "../../../../components/FieldTags/BlockTags.vue.js";
|
12
12
|
import _sfc_main$9 from "../../../../components/Checkbox/Checkbox.vue.js";
|
13
|
-
/* empty css
|
13
|
+
/* empty css */
|
14
14
|
import "axios";
|
15
15
|
/* empty css */
|
16
16
|
import _sfc_main$1 from "../../../../components/UploadImage/UploadImage.vue.js";
|
17
17
|
/* empty css */
|
18
|
-
import "../../../../components/EditImages/EditImages.
|
18
|
+
import "../../../../components/EditImages/EditImages.vue.js";
|
19
19
|
import _sfc_main$8 from "../../../../components/Feed/Feed.vue.js";
|
20
20
|
import _sfc_main$a from "../../../../components/Button/Button.vue.js";
|
21
21
|
import _sfc_main$7 from "../../../globals/views/components/blocks/Card.vue.js";
|
@@ -5,7 +5,8 @@ const vue = require("vue");
|
|
5
5
|
;/* empty css */
|
6
6
|
;/* empty css */
|
7
7
|
;/* empty css */
|
8
|
-
;/* empty css
|
8
|
+
;/* empty css */
|
9
|
+
;/* empty css */
|
9
10
|
;/* empty css */
|
10
11
|
const Slider = require("../../../../components/Slider/Slider.vue.cjs");
|
11
12
|
const Media = require("../../../../components/Media/Media.vue.cjs");
|
package/dist/prometheus-framework/src/modules/events/components/sections/EventsHot.vue.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EventsHot.vue.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"EventsHot.vue.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -3,7 +3,8 @@ import { resolveComponent, openBlock, createBlock, withCtx, createVNode, createE
|
|
3
3
|
/* empty css */
|
4
4
|
/* empty css */
|
5
5
|
/* empty css */
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
|
+
/* empty css */
|
7
8
|
/* empty css */
|
8
9
|
import Slider from "../../../../components/Slider/Slider.vue.js";
|
9
10
|
import Media from "../../../../components/Media/Media.vue.js";
|
package/dist/prometheus-framework/src/modules/events/components/sections/EventsHot.vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EventsHot.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"EventsHot.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -2,6 +2,7 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
require("vue-i18n");
|
5
|
+
;/* empty css */
|
5
6
|
;/* empty css */
|
6
7
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
|
7
8
|
const _hoisted_1 = { class: "t-white t-center w-100 pos-relative gap-thin cols-1 pos-relative h-min-20r" };
|
package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HeroEvent.vue.cjs","sources":["../../../../../../../src/modules/events/components/sections/HeroEvent.vue"],"sourcesContent":["<template>\n <section \n \tclass=\"\n\t \tt-white\n\t \tt-center\n\t \tw-100 \n\t \tpos-relative\n\t \tgap-thin\n\t \tcols-1\n\t \tpos-relative\n\t \th-min-20r\n\t \"\n\t >\n \t<div \n \t\t\n \t\tclass=\"pos-absolute bg-white w-100 h-100 z-index-0 bg-black\"\n \t>\n\n \t\t<div class=\"bg-white-overlay z-index-1 w-100 h-100 pos-absolute pos-t-0 pos-r-0\">\n \t\t</div>\n\t <img loading=\"lazy\" v-if=\"content.cover && !content.video\" :src=\"content.cover\" \tclass=\" object-fit-cover pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100\">\n\n\t\t\t<video \n\t\t\t\tv-if=\"content.video\"\n\t\t\t\tstyle=\"object-fit: cover;\" \n\t\t\t\tref=\"videoElement\" \n\t\t\t\tclass=\"pos-absolute pos-t-0 pos-l-0 w-100 h-100\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline\n\t\t\t\titemprop=\"video\" \n\t\t\t\ttype=\"video/webm\"\n\t\t\t>\n\t\t\t\t <source :src=\"content.video\" :type=\"getVideoType(content.video)\" />\n\t\t\t</video>\n\t </div>\n\n \t<div \n \t\tclass=\"\n\t \to-hidden \n\t \tpos-relative\n\t \tz-index-1\n\t \tpd-extra \n\t \tpd-b-zero\n\t \tmn-r-auto mn-l-auto \n\t \tt-white t-left\n\t \tflex flex-justify-end flex-column\n\t \to-hidden \n\t \tw-100 h-100 \n\t \tgap-zero\"\n\t >\n \t\n </div>\n </section>\n</template>\n\n\n<script setup>\n\timport { ref, onMounted } from 'vue'\n\timport { useI18n } from 'vue-i18n'\n\n\timport IconCalendar from '@pf/src/modules/icons/navigation/IconCalendar.vue'\n\n\n\n\tconst props = defineProps({\n\t\tcontent: {\n\t\t\ttype: Object\n\t\t},\n\t\toptions: {\n\t\t\ttype: Object\n\t\t}\n\t})\n\n\n\tconst videoElement = ref(null)\n\n\tvar isPlaying = false;\n\n\tconst targetDate = new Date(props.options.date).getTime();\n\tconst currentDate = ref(new Date().getTime());\n\tconst timeDifference = targetDate - currentDate.value;\n\n\tfunction checkAndPlayVideo() {\n\t\tif (videoElement.value) videoElement.value.onplaying = function() { isPlaying = true; };\n\t\tif (videoElement.value) videoElement.value.onpause = function() { isPlaying = false; };\t\n }\n\n function getVideoType(videoUrl) {\n if (videoUrl.endsWith('.mp4')) {\n return 'video/mp4';\n } else if (videoUrl.endsWith('.webm')) {\n return 'video/webm';\n }\n return '';\n }\n\n\tasync function playVid() { \n if (videoElement.value?.paused && !isPlaying) {\n return videoElement.value.play();\n }\n\t} \n\n\tonMounted(() => {\n\t\t\tcheckAndPlayVideo()\n\t\t\tplayVid()\n\t})\n\n</script>\n\n<style lang=\"scss\" scoped>\n.bg-white-overlay {\n background: linear-gradient(0deg, rgba(var(--white),1) 0%, rgba(var(--white),0) 100%);\n}\n</style>\n"],"names":["ref","onMounted"],"mappings":"
|
1
|
+
{"version":3,"file":"HeroEvent.vue.cjs","sources":["../../../../../../../src/modules/events/components/sections/HeroEvent.vue"],"sourcesContent":["<template>\n <section \n \tclass=\"\n\t \tt-white\n\t \tt-center\n\t \tw-100 \n\t \tpos-relative\n\t \tgap-thin\n\t \tcols-1\n\t \tpos-relative\n\t \th-min-20r\n\t \"\n\t >\n \t<div \n \t\t\n \t\tclass=\"pos-absolute bg-white w-100 h-100 z-index-0 bg-black\"\n \t>\n\n \t\t<div class=\"bg-white-overlay z-index-1 w-100 h-100 pos-absolute pos-t-0 pos-r-0\">\n \t\t</div>\n\t <img loading=\"lazy\" v-if=\"content.cover && !content.video\" :src=\"content.cover\" \tclass=\" object-fit-cover pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100\">\n\n\t\t\t<video \n\t\t\t\tv-if=\"content.video\"\n\t\t\t\tstyle=\"object-fit: cover;\" \n\t\t\t\tref=\"videoElement\" \n\t\t\t\tclass=\"pos-absolute pos-t-0 pos-l-0 w-100 h-100\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline\n\t\t\t\titemprop=\"video\" \n\t\t\t\ttype=\"video/webm\"\n\t\t\t>\n\t\t\t\t <source :src=\"content.video\" :type=\"getVideoType(content.video)\" />\n\t\t\t</video>\n\t </div>\n\n \t<div \n \t\tclass=\"\n\t \to-hidden \n\t \tpos-relative\n\t \tz-index-1\n\t \tpd-extra \n\t \tpd-b-zero\n\t \tmn-r-auto mn-l-auto \n\t \tt-white t-left\n\t \tflex flex-justify-end flex-column\n\t \to-hidden \n\t \tw-100 h-100 \n\t \tgap-zero\"\n\t >\n \t\n </div>\n </section>\n</template>\n\n\n<script setup>\n\timport { ref, onMounted } from 'vue'\n\timport { useI18n } from 'vue-i18n'\n\n\timport IconCalendar from '@pf/src/modules/icons/navigation/IconCalendar.vue'\n\n\n\n\tconst props = defineProps({\n\t\tcontent: {\n\t\t\ttype: Object\n\t\t},\n\t\toptions: {\n\t\t\ttype: Object\n\t\t}\n\t})\n\n\n\tconst videoElement = ref(null)\n\n\tvar isPlaying = false;\n\n\tconst targetDate = new Date(props.options.date).getTime();\n\tconst currentDate = ref(new Date().getTime());\n\tconst timeDifference = targetDate - currentDate.value;\n\n\tfunction checkAndPlayVideo() {\n\t\tif (videoElement.value) videoElement.value.onplaying = function() { isPlaying = true; };\n\t\tif (videoElement.value) videoElement.value.onpause = function() { isPlaying = false; };\t\n }\n\n function getVideoType(videoUrl) {\n if (videoUrl.endsWith('.mp4')) {\n return 'video/mp4';\n } else if (videoUrl.endsWith('.webm')) {\n return 'video/webm';\n }\n return '';\n }\n\n\tasync function playVid() { \n if (videoElement.value?.paused && !isPlaying) {\n return videoElement.value.play();\n }\n\t} \n\n\tonMounted(() => {\n\t\t\tcheckAndPlayVideo()\n\t\t\tplayVid()\n\t})\n\n</script>\n\n<style lang=\"scss\" scoped>\n.bg-white-overlay {\n background: linear-gradient(0deg, rgba(var(--white),1) 0%, rgba(var(--white),0) 100%);\n}\n</style>\n"],"names":["ref","onMounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AA+DC,UAAM,QAAQ;AAUd,UAAM,eAAeA,IAAG,IAAC,IAAI;AAE7B,QAAI,YAAY;AAEhB,UAAM,aAAa,IAAI,KAAK,MAAM,QAAQ,IAAI,EAAE;AAChD,UAAM,cAAcA,IAAAA,KAAI,oBAAI,KAAI,GAAG,QAAS,CAAA;AACrB,iBAAa,YAAY;AAEhD,aAAS,oBAAoB;AAC5B,UAAI,aAAa,MAAO,cAAa,MAAM,YAAY,WAAW;AAAE,oBAAY;AAAA;AAChF,UAAI,aAAa,MAAO,cAAa,MAAM,UAAU,WAAW;AAAE,oBAAY;AAAA;IAC7E;AAED,aAAS,aAAa,UAAU;AAC9B,UAAI,SAAS,SAAS,MAAM,GAAG;AAC7B,eAAO;AAAA,MACR,WAAU,SAAS,SAAS,OAAO,GAAG;AACrC,eAAO;AAAA,MACR;AACD,aAAO;AAAA,IACR;AAEF,mBAAe,UAAU;;AACtB,YAAI,kBAAa,UAAb,mBAAoB,WAAU,CAAC,WAAW;AAC5C,eAAO,aAAa,MAAM;MAC3B;AAAA,IACH;AAEDC,QAAAA,UAAU,MAAM;AACd,wBAAmB;AACnB,cAAS;AAAA,IACZ,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|