@ozdao/prometheus-framework 0.2.53 → 0.2.54
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main-180a9315.js +91 -0
- package/dist/main-3b7bd446.mjs +13631 -0
- package/dist/main-Im8ovDCi.mjs +13609 -0
- package/dist/main-MjvO1l5U.js +91 -0
- package/dist/main.css +1 -1
- package/dist/organizations.server.js +17 -3
- package/dist/organizations.server.mjs +17 -3
- package/dist/products.server.js +1 -1
- package/dist/products.server.mjs +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +20 -20
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +28 -25
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +70 -2
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +2 -70
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +95 -2
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +2 -95
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +57 -77
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +65 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +2 -65
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +98 -94
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +59 -52
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +8 -13
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +11 -2
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +2 -11
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +53 -77
- package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.js +42 -32
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
- 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/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +5 -3
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.router.js +20 -5
- 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/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +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/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +61 -75
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +2 -2
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +1 -1
- package/dist/style.css +1 -1
- package/dist/web-8b404cc2.js +1 -0
- package/dist/web-e9b09dc6.mjs +55 -0
- package/dist/web-i-suCpLM.mjs +55 -0
- package/dist/web-vB7UhMOt.js +1 -0
- package/package.json +1 -1
- package/src/components/EditImages/EditImages.vue +1 -1
- package/src/components/Field/Field.vue +5 -0
- package/src/components/LocationSelection/LocationSelection.vue +2 -2
- package/src/modules/backoffice/components/pages/Dashboard.vue +4 -25
- package/src/modules/backoffice/router/admin.js +0 -14
- package/src/modules/backoffice/router/backoffice.js +1 -1
- package/src/modules/events/components/pages/EditEvent.vue +10 -6
- package/src/modules/events/components/sections/HeroEvent.vue +12 -2
- package/src/modules/events/components/sections/SectionPreviousEvents.vue +1 -1
- package/src/modules/landing/components/sections/MobileApp.vue +2 -6
- package/src/modules/orders/components/blocks/StatusHistory.vue +91 -31
- package/src/modules/orders/components/pages/EditOrder.vue +4 -21
- package/src/modules/orders/components/pages/FormOrder.vue +53 -15
- package/src/modules/orders/components/pages/Order.vue +2 -2
- package/src/modules/orders/components/sections/FormClientDetails.vue +63 -0
- package/src/modules/orders/components/sections/FormDelivery.vue +72 -0
- package/src/modules/orders/components/sections/FormPayment.vue +27 -0
- package/src/modules/orders/controllers/orders.controller.js +63 -49
- package/src/modules/orders/models/order.model.js +9 -13
- package/src/modules/orders/routes/orders.routes.js +6 -20
- package/src/modules/orders/store/orders.js +24 -12
- package/src/modules/organizations/controllers/organizations.controller.js +28 -9
- package/src/modules/organizations/router/organizations.js +4 -1
- package/src/modules/organizations/router/organizations.router.js +18 -2
- package/src/modules/products/controllers/products.controller.js +3 -2
- package/src/modules/users/components/pages/Profile.vue +2 -2
- package/src/modules/orders/components/sections/FormOrderDetails.vue +0 -220
@@ -1,18 +1,18 @@
|
|
1
|
-
import { ref as
|
1
|
+
import { ref as j, onMounted as B, openBlock as t, createElementBlock as o, createElementVNode as n, createCommentVNode as s, Fragment as E, renderList as T, toDisplayString as c, createBlock as V } from "vue";
|
2
2
|
import "vue-i18n";
|
3
|
-
import
|
3
|
+
import C from "../../../../components/Countdown/Countdown.vue.js";
|
4
4
|
import "./HeroEvent.vue2.js";
|
5
|
-
import
|
6
|
-
const
|
5
|
+
import L from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
6
|
+
const S = { class: "t-white t-center w-100 pos-relative gap-thin cols-2 pos-relative" }, H = {
|
7
7
|
style: { "min-height": "20rem" },
|
8
8
|
class: "desktop-only radius-big o-hidden bg-black pos-relative"
|
9
|
-
},
|
9
|
+
}, N = ["src"], O = ["src", "type"], P = { class: "content-hero-refactor radius-big o-hidden bg-black pd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero" }, W = { class: "mn-b-big z-index-1 flex-nowrap flex gap-small" }, $ = ["src"], A = { class: "pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra mn-b-thin" }, D = { class: "z-index-1 t-main mn-b-semi" }, F = { class: "z-index-1 p-big mn-b-semi" }, I = { class: "z-index-1 t-transp p-small mn-b-thin" }, M = {
|
10
10
|
key: 0,
|
11
11
|
class: "bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra"
|
12
|
-
},
|
12
|
+
}, q = {
|
13
13
|
key: 1,
|
14
14
|
class: "z-index-1 mn-t-medium mn-b-small flex-nowrap flex gap-thin"
|
15
|
-
},
|
15
|
+
}, G = ["src"], J = ["src"], K = {
|
16
16
|
__name: "HeroEvent",
|
17
17
|
props: {
|
18
18
|
content: {
|
@@ -23,43 +23,46 @@ const L = { class: "t-white t-center w-100 pos-relative gap-thin cols-2 pos-rela
|
|
23
23
|
}
|
24
24
|
},
|
25
25
|
setup(e) {
|
26
|
-
const k = e,
|
26
|
+
const k = e, l = j(null);
|
27
27
|
var a = !1;
|
28
28
|
function x() {
|
29
|
-
|
29
|
+
l.value.onplaying = function() {
|
30
30
|
a = !0;
|
31
|
-
},
|
31
|
+
}, l.value.onpause = function() {
|
32
32
|
a = !1;
|
33
33
|
};
|
34
34
|
}
|
35
|
-
|
36
|
-
|
37
|
-
|
35
|
+
function g(i) {
|
36
|
+
return i.endsWith(".mp4") ? "video/mp4" : i.endsWith(".webm") ? "video/webm" : "";
|
37
|
+
}
|
38
|
+
async function w() {
|
39
|
+
if (l.value.paused && !a)
|
40
|
+
return l.value.play();
|
38
41
|
}
|
39
42
|
B(() => {
|
40
|
-
x(),
|
43
|
+
x(), w();
|
41
44
|
});
|
42
|
-
function
|
43
|
-
var
|
45
|
+
function z() {
|
46
|
+
var i;
|
44
47
|
gtag("event", "buy_ticket", {
|
45
48
|
event_category: "conversion",
|
46
49
|
event_label: "Buy Ticket"
|
47
|
-
}), window.open((
|
50
|
+
}), window.open((i = k.content) == null ? void 0 : i.ticketLinkStripe);
|
48
51
|
}
|
49
|
-
return (
|
50
|
-
var r, u, m, p,
|
51
|
-
return t(),
|
52
|
-
|
53
|
-
e.content.cover && !e.content.video ? (t(),
|
52
|
+
return (i, d) => {
|
53
|
+
var r, u, m, p, b, v, y, h;
|
54
|
+
return t(), o("section", S, [
|
55
|
+
n("div", H, [
|
56
|
+
e.content.cover && !e.content.video ? (t(), o("img", {
|
54
57
|
key: 0,
|
55
58
|
src: e.content.cover,
|
56
59
|
class: "desktop-only object-fit-cover pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100"
|
57
|
-
}, null, 8,
|
58
|
-
e.content.video ? (t(),
|
60
|
+
}, null, 8, N)) : s("", !0),
|
61
|
+
e.content.video ? (t(), o("video", {
|
59
62
|
key: 1,
|
60
63
|
style: { "object-fit": "cover" },
|
61
64
|
ref_key: "videoElement",
|
62
|
-
ref:
|
65
|
+
ref: l,
|
63
66
|
class: "pos-absolute pos-t-0 pos-l-0 w-100 h-100",
|
64
67
|
preload: "",
|
65
68
|
autoplay: "",
|
@@ -67,48 +70,52 @@ const L = { class: "t-white t-center w-100 pos-relative gap-thin cols-2 pos-rela
|
|
67
70
|
loop: "",
|
68
71
|
playsinlineclass: "",
|
69
72
|
playsinline: "",
|
70
|
-
src: e.content.video,
|
71
73
|
itemprop: "video",
|
72
74
|
type: "video/webm"
|
73
|
-
},
|
75
|
+
}, [
|
76
|
+
n("source", {
|
77
|
+
src: e.content.video,
|
78
|
+
type: g(e.content.video)
|
79
|
+
}, null, 8, O)
|
80
|
+
], 512)) : s("", !0)
|
74
81
|
]),
|
75
|
-
|
76
|
-
|
77
|
-
(t(!0),
|
78
|
-
class: "radius-thin i-big",
|
82
|
+
n("div", P, [
|
83
|
+
n("div", W, [
|
84
|
+
(t(!0), o(E, null, T(e.content.logos, (f) => (t(), o("img", {
|
85
|
+
class: "radius-thin object-fit-contain i-big",
|
79
86
|
src: f
|
80
|
-
}, null, 8,
|
87
|
+
}, null, 8, $))), 256))
|
81
88
|
]),
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
(
|
89
|
+
n("h3", A, c((r = e.content) == null ? void 0 : r.subtitle), 1),
|
90
|
+
n("h1", D, c((u = e.content) == null ? void 0 : u.title), 1),
|
91
|
+
n("p", F, c((m = e.content) == null ? void 0 : m.description), 1),
|
92
|
+
n("p", I, [
|
93
|
+
n("span", null, c((p = e.content) == null ? void 0 : p.ticketText), 1),
|
94
|
+
(b = e.options) != null && b.price ? (t(), o("span", M, c((v = e.options) == null ? void 0 : v.price) + " " + c(i.returnCurrency()), 1)) : s("", !0)
|
88
95
|
]),
|
89
|
-
e.options.date ? (t(),
|
96
|
+
e.options.date ? (t(), V(C, {
|
90
97
|
key: 0,
|
91
98
|
class: "z-index-1 mn-t-medium w-100 w-max-30r",
|
92
99
|
date: e.options.date
|
93
|
-
}, null, 8, ["date"])) :
|
94
|
-
(y = e.content) != null && y.ticketLinkStripe ? (t(),
|
95
|
-
|
100
|
+
}, null, 8, ["date"])) : s("", !0),
|
101
|
+
(y = e.content) != null && y.ticketLinkStripe ? (t(), o("div", q, [
|
102
|
+
n("a", {
|
96
103
|
href: "#",
|
97
|
-
onClick: d[0] || (d[0] = (f) =>
|
104
|
+
onClick: d[0] || (d[0] = (f) => z()),
|
98
105
|
class: "pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-black bg-white"
|
99
|
-
},
|
100
|
-
])) :
|
101
|
-
e.content.cover && !e.content.video ? (t(),
|
106
|
+
}, c(((h = e.content) == null ? void 0 : h.ticketTextButton) || "Buy Ticket"), 1)
|
107
|
+
])) : s("", !0),
|
108
|
+
e.content.cover && !e.content.video ? (t(), o("img", {
|
102
109
|
key: 2,
|
103
110
|
style: { "object-fit": "cover", opacity: "0.2" },
|
104
111
|
src: e.content.cover,
|
105
112
|
class: "mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100"
|
106
|
-
}, null, 8,
|
107
|
-
e.content.video ? (t(),
|
113
|
+
}, null, 8, G)) : s("", !0),
|
114
|
+
e.content.video ? (t(), o("video", {
|
108
115
|
key: 3,
|
109
116
|
style: { "object-fit": "cover", opacity: "0.2" },
|
110
117
|
ref_key: "videoElement",
|
111
|
-
ref:
|
118
|
+
ref: l,
|
112
119
|
class: "mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100",
|
113
120
|
preload: "",
|
114
121
|
autoplay: "",
|
@@ -119,12 +126,12 @@ const L = { class: "t-white t-center w-100 pos-relative gap-thin cols-2 pos-rela
|
|
119
126
|
src: e.content.video,
|
120
127
|
itemprop: "video",
|
121
128
|
type: "video/webm"
|
122
|
-
}, null, 8,
|
129
|
+
}, null, 8, J)) : s("", !0)
|
123
130
|
])
|
124
131
|
]);
|
125
132
|
};
|
126
133
|
}
|
127
|
-
},
|
134
|
+
}, _ = /* @__PURE__ */ L(K, [["__scopeId", "data-v-e01b64fa"]]);
|
128
135
|
export {
|
129
|
-
|
136
|
+
_ as default
|
130
137
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),w=require("vue-i18n"),T={class:"cols-2 gap-big pos-relative"},S={class:"cols-1 gap-small"},D=["src"],j={class:"t-white bg-black pd-l-small pd-b-thin pd-t-thin pd-r-small h4 radius-extra uppercase t-nye204"},A={key:1,class:"pd-small radius-big bg-second flex flex-center gap-small p-medium t-medium t-white"},I=["href"],L={class:"br-solid br-1px br-white-transp-10 o-hidden radius-big bg-black"},M=["src"],P={class:"pd-big flex-column flex w-100 h-100 gap-zero"},_={key:0,class:"t-unna t-nye204 mn-b-small"},O={key:1,class:"p-medium t-transp mn-b-big"},q={key:2,class:"flex-nowrap flex gap-thin"},z=["href"],R={__name:"SectionPreviousEvents",props:{content:{type:Object},options:{type:Object}},setup(t){const B=t;w.useI18n({messages:{en:{nye2024:{title:"Explore our exclusive party archive",titleTicket:"Are you ready?",description:"Experience the ultimate party vibe at The Commune! Elevate your evening with distinctive and exhilarating activities, ensuring an unforgettable time. Dive into the excitement and make every moment special.",checkinblog:"CHECK IN INSTAGRAM"}}}});const n=e.ref(null);var o=!1;function N(){n.value.onplaying=function(){o=!0},n.value.onpause=function(){o=!1}}async function V(){if(n.value.paused&&!o)return n.value.play()}function C(){var i;gtag("event","buy_ticket",{event_category:"conversion",event_label:"Buy Ticket"}),window.open((i=B.options)==null?void 0:i.link)}return e.onMounted(()=>{N(),V()}),(i,l)=>{var c,a,s,r,d,u,m,p,k,h,v,y,g,b,f,x,E;return e.openBlock(),e.createElementBlock("div",T,[e.createElementVNode("div",S,[(c=t.options)!=null&&c.link?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:l[0]||(l[0]=G=>C()),href:"#",class:"bg-main flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto o-hidden radius-big pd-big flex-center flex-column flex w-100 gap-zero"},[(a=t.content)!=null&&a.ticket?(e.openBlock(),e.createElementBlock("img",{key:0,class:"w-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),w=require("vue-i18n"),T={class:"cols-2 gap-big pos-relative"},S={class:"cols-1 gap-small"},D=["src"],j={class:"t-white bg-black pd-l-small pd-b-thin pd-t-thin pd-r-small h4 radius-extra uppercase t-nye204"},A={key:1,class:"pd-small radius-big bg-second flex flex-center gap-small p-medium t-medium t-white"},I=["href"],L={class:"br-solid br-1px br-white-transp-10 o-hidden radius-big bg-black"},M=["src"],P={class:"pd-big flex-column flex w-100 h-100 gap-zero"},_={key:0,class:"t-unna t-nye204 mn-b-small"},O={key:1,class:"p-medium t-transp mn-b-big"},q={key:2,class:"flex-nowrap flex gap-thin"},z=["href"],R={__name:"SectionPreviousEvents",props:{content:{type:Object},options:{type:Object}},setup(t){const B=t;w.useI18n({messages:{en:{nye2024:{title:"Explore our exclusive party archive",titleTicket:"Are you ready?",description:"Experience the ultimate party vibe at The Commune! Elevate your evening with distinctive and exhilarating activities, ensuring an unforgettable time. Dive into the excitement and make every moment special.",checkinblog:"CHECK IN INSTAGRAM"}}}});const n=e.ref(null);var o=!1;function N(){n.value.onplaying=function(){o=!0},n.value.onpause=function(){o=!1}}async function V(){if(n.value.paused&&!o)return n.value.play()}function C(){var i;gtag("event","buy_ticket",{event_category:"conversion",event_label:"Buy Ticket"}),window.open((i=B.options)==null?void 0:i.link)}return e.onMounted(()=>{N(),V()}),(i,l)=>{var c,a,s,r,d,u,m,p,k,h,v,y,g,b,f,x,E;return e.openBlock(),e.createElementBlock("div",T,[e.createElementVNode("div",S,[(c=t.options)!=null&&c.link?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:l[0]||(l[0]=G=>C()),href:"#",class:"bg-main flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto o-hidden radius-big pd-big flex-center flex-column flex w-100 gap-zero"},[(a=t.content)!=null&&a.ticket?(e.openBlock(),e.createElementBlock("img",{key:0,class:"w-80",src:(s=t.content)==null?void 0:s.ticket},null,8,D)):e.createCommentVNode("",!0),e.createElementVNode("a",j,e.toDisplayString(((r=t.content)==null?void 0:r.ticketTextButton)||"Buy Ticket"),1)])):e.createCommentVNode("",!0),(d=t.content)!=null&&d.paymentContact?(e.openBlock(),e.createElementBlock("p",A,[e.createElementVNode("span",null,e.toDisplayString((u=t.content)==null?void 0:u.paymentText),1),e.createElementVNode("a",{class:"t-black bg-white radius-extra pd-thin",href:(m=t.content)==null?void 0:m.paymentContactURL,target:"_blank"},e.toDisplayString((p=t.content)==null?void 0:p.paymentContact),9,I)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",L,[(k=t.options)!=null&&k.video?(e.openBlock(),e.createElementBlock("video",{key:0,style:{"max-height":"20rem","object-fit":"cover"},ref_key:"videoElement",ref:n,class:"pos-t-0 pos-l-0 w-100 h-auto",preload:"",autoplay:"",muted:"",loop:"",playsinlineclass:"",playsinline:"",src:(h=t.options)==null?void 0:h.video,itemprop:"video",type:"video/mp4"},null,8,M)):e.createCommentVNode("",!0),e.createElementVNode("div",P,[(v=t.content)!=null&&v.previousTitle?(e.openBlock(),e.createElementBlock("h3",_,e.toDisplayString((y=t.content)==null?void 0:y.previousTitle),1)):e.createCommentVNode("",!0),(g=t.content)!=null&&g.previousDescription?(e.openBlock(),e.createElementBlock("p",O,e.toDisplayString((b=t.content)==null?void 0:b.previousDescription),1)):e.createCommentVNode("",!0),(f=t.content)!=null&&f.previousLink?(e.openBlock(),e.createElementBlock("div",q,[e.createElementVNode("a",{href:(x=t.content)==null?void 0:x.previousLink,target:"_blank",class:"pd-l-medium pd-r-medium pd-t-small pd-b-small t-black radius-extra uppercase t-medium bg-white"},e.toDisplayString(((E=t.content)==null?void 0:E.previousLinkText)||"Check"),9,z)])):e.createCommentVNode("",!0)])])])}}};exports.default=R;
|
@@ -70,7 +70,7 @@ const P = { class: "cols-2 gap-big pos-relative" }, S = { class: "cols-1 gap-sma
|
|
70
70
|
}, [
|
71
71
|
(u = e.content) != null && u.ticket ? (t(), n("img", {
|
72
72
|
key: 0,
|
73
|
-
class: "w-
|
73
|
+
class: "w-80",
|
74
74
|
src: (m = e.content) == null ? void 0 : m.ticket
|
75
75
|
}, null, 8, z)) : o("", !0),
|
76
76
|
i("a", M, a(((p = e.content) == null ? void 0 : p.ticketTextButton) || "Buy Ticket"), 1)
|
package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),I=require("../../../../components/Field/Field.vue2.cjs"),q=require("../../../../components/Button/Button.vue2.cjs"),M=require("../../../../components/Select/Select.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),I=require("../../../../components/Field/Field.vue2.cjs"),q=require("../../../../components/Button/Button.vue2.cjs"),M=require("../../../../components/Select/Select.vue.cjs"),s=require("../../store/gallery.cjs"),P=require("../../../../components/EditImages/EditImages.vue.cjs");require("./BackofficeGallery.vue2.cjs");const j=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),c=i=>(e.pushScopeId("data-v-c506f5e5"),i=i(),e.popScopeId(),i),G={class:"pos-relative w-100"},D={class:"mn-b-semi flex-v-center flex-nowrap flex"},T=c(()=>e.createElementVNode("h1",{class:"mn-r-small"},"Manage Gallery",-1)),U=["data-id"],$=["src","onClick"],F={key:1,class:"radius-small bg-white"},O=["src","onClick"],L={class:"t-black p-small mn-b-thin"},A=c(()=>e.createElementVNode("span",{class:"uppercase t-transp"},"Size",-1)),H=c(()=>e.createElementVNode("br",null,null,-1)),R={class:"pd-2px radius-big d-inline-block bg-grey"},J={class:"t-black p-small mn-b-small uppe"},K=c(()=>e.createElementVNode("span",{class:"uppercase t-transp"},"Categories",-1)),Q=c(()=>e.createElementVNode("br",null,null,-1)),W={class:"pd-2px radius-big d-inline-block bg-grey t-semi"},X={class:"flex-nowrap flex"},Y=["onClick"],Z={class:"modal pd-thin"},ee={class:"modal-content radius-big"},te={class:""},le=["src"],oe={key:0,class:"flex-v-center flex m modal pd-big"},ae={class:"modal-content radius-small pd-medium bg-white"},se=["src"],ne=["src"],y=10,ce={__name:"BackofficeGallery",setup(i){const r=e.ref(!0),h=e.ref(null);let v=1,f=e.ref(null),_=e.ref(!1);const d=e.ref([]),E=o=>{d.value=o},w=e.computed(()=>k.value==="all"?s.state.gallery:s.state.gallery.filter(o=>o.categories.includes(k.value))),V=async()=>{_.value=!0,await s.actions.fetchGallery(v,y),_.value=!1},u=e.ref(null),t=e.ref({categories:"",size:"",image:!1}),m=e.ref(null),g=o=>{console.log(r.value),r.value?N(o):(u.value="modal",t.value.image=o,b())},N=o=>{u.value="edit-modal",t.value=o||{categories:"",size:"",image:null},b()},n=()=>{t.value={categories:"",size:"",image:!1},m.value=null,B()},b=()=>{document.body.style.overflow="hidden",document.documentElement.style.overflow="hidden"},B=()=>{document.body.style.overflow="",document.documentElement.style.overflow=""},C=[{name:"Small",value:""},{name:"Regular",value:"grid-item--width1 grid-item--height1"},{name:"Medium",value:"grid-item--width2 grid-item--height2"},{name:"Big",value:"grid-item--width3 grid-item--height3"}],x=async o=>{await s.actions.deletePhoto(o)},S=async()=>{await s.actions.updatePhoto(t.value),n()},z=async o=>{if(d.length<1||!t.value.categories||!t.value.size){console.error("All fields are required.");return}await s.actions.createPhoto({images:d.value,size:t.value.size,categories:typeof t.value.categories=="string"?t.value.categories.split(",").map(a=>a.trim()):t.value.categories}),n()};let k=e.ref("all");return e.onMounted(async()=>{await s.actions.fetchGallery(v,y),typeof window<"u"&&new IntersectionObserver(a=>{a.some(l=>l.isIntersecting)&&(v+=1,V())}).observe(f.value)}),(o,a)=>(e.openBlock(),e.createElementBlock("div",G,[e.createElementVNode("div",D,[T,r.value?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:a[0]||(a[0]=l=>g(null)),class:"t-white t-black bg-second i-big radius-extra"},"+")):e.createCommentVNode("",!0)]),e.createElementVNode("div",{ref_key:"grid",ref:h,class:"cols-4 gap-thin"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,(l,re)=>(e.openBlock(),e.createElementBlock("div",{key:l.id,"data-id":l.id},[e.createVNode(e.Transition,{name:"scaleIn",mode:"in-out"},{default:e.withCtx(()=>[!r.value&&h.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:"https://thecommunephuket.com/photos/"+l.cover,class:"w-100 h-100 o-hidden radius-medium object-fit-cover",onClick:p=>g(l.image)},null,8,$)):(e.openBlock(),e.createElementBlock("div",F,[e.createElementVNode("img",{src:"https://thecommunephuket.com/photos/"+l.cover,class:"w-100 radius-small mn-b-small h-10r object-fit-cover",onClick:p=>g(l)},null,8,O),e.createElementVNode("p",L,[A,H,e.createElementVNode("span",R,e.toDisplayString(l.size.name),1)]),e.createElementVNode("p",J,[K,Q,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.categories,p=>(e.openBlock(),e.createElementBlock("span",W,e.toDisplayString(p),1))),256))]),e.createElementVNode("div",X,[e.createElementVNode("button",{class:"button-small w-100 button",onClick:p=>x(l._id)},"Delete",8,Y)])]))]),_:2},1024)],8,U))),128)),e.createElementVNode("div",{ref_key:"sentinel",ref:f,class:"sentinel"},null,512),e.createVNode(e.Transition,{name:"modal"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",Z,[e.createElementVNode("div",ee,[e.createElementVNode("div",te,[e.createElementVNode("span",{class:"close",onClick:n},"×"),e.createElementVNode("img",{src:"https://thecommunephuket.com/photos/"+t.value.image},null,8,le)])])],512),[[e.vShow,t.value.image!==!1&&u.value==="modal"]])]),_:1}),e.createVNode(e.Transition,{name:"modal"},{default:e.withCtx(()=>[t.value.image!==!1&&u.value==="edit-modal"?(e.openBlock(),e.createElementBlock("div",oe,[e.createElementVNode("div",ae,[e.createElementVNode("span",{class:"close",onClick:n},"×"),typeof m.value=="string"?(e.openBlock(),e.createElementBlock("img",{key:0,src:m.value,class:"radius-small w-100 mn-b-small h-20r object-fit-cover"},null,8,se)):e.createCommentVNode("",!0),typeof m.value=="object"&&t.value.image!==null?(e.openBlock(),e.createElementBlock("img",{key:1,class:"radius-small w-100 mn-b-small h-20r object-fit-cover",src:"/photos/"+t.value.cover},null,8,ne)):e.createCommentVNode("",!0),e.createVNode(M.default,{options:C,label:"Size",select:t.value.size,"onUpdate:select":a[1]||(a[1]=l=>t.value.size=l),placeholder:"Select Size",class:"bg-grey pd-thin radius-small mn-b-thin t-black"},null,8,["select"]),e.createVNode(I.default,{field:t.value.categories,"onUpdate:field":a[2]||(a[2]=l=>t.value.categories=l),type:"text",label:"Categories",placeholder:"Enter categories for image (comma separated)",class:"bg-grey pd-thin radius-small mn-b-medium t-black"},null,8,["field"]),e.createVNode(P.default,{images:d.value,"onUpdate:images":E,uploadPath:"photos",class:"mn-b-semi"},null,8,["images"]),e.createVNode(q.default,{submit:t.value._id?S:z,callback:n,class:"mn-b-thin"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.value._id?"Update":"Create"),1)]),_:1},8,["submit"])])])):e.createCommentVNode("",!0)]),_:1})],512)]))}},ie=j.default(ce,[["__scopeId","data-v-c506f5e5"]]);exports.default=ie;
|
package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ref as n, computed as q, onMounted as A, openBlock as a, createElementBlock as o, createElementVNode as t, createCommentVNode as f, Fragment as E, renderList as M, createVNode as c, Transition as w, withCtx as b, toDisplayString as x, withDirectives as L, vShow as R, createTextVNode as H, pushScopeId as J, popScopeId as K } from "vue";
|
2
2
|
import Q from "../../../../components/Field/Field.vue2.js";
|
3
3
|
import W from "../../../../components/Button/Button.vue2.js";
|
4
|
-
import X from "../../../../components/Select/Select.
|
4
|
+
import X from "../../../../components/Select/Select.vue.js";
|
5
5
|
import { state as G, actions as d } from "../../store/gallery.js";
|
6
6
|
import Y from "../../../../components/EditImages/EditImages.vue.js";
|
7
7
|
import "./BackofficeGallery.vue2.js";
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),x=require("vue-router"),z=require("../../../../components/Field/Field.vue2.cjs"),S=require("../../../../components/Button/Button.vue2.cjs"),q=require("../../../../components/Select/Select.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),x=require("vue-router"),z=require("../../../../components/Field/Field.vue2.cjs"),S=require("../../../../components/Button/Button.vue2.cjs"),q=require("../../../../components/Select/Select.vue.cjs"),M=require("../../../../components/Upload/Upload.vue.cjs"),s=require("../../store/gallery.cjs");require("./GalleryWithCategories.vue2.cjs");const F=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),I={class:"pd-medium flex-v-center gap-big flex-nowrap flex pd-t-thin pd-b-thin o-scroll"},P=["onClick"],j=["data-id"],G=["src","onClick"],R={class:"modal pd-thin"},T={class:"modal-content radius-big"},U={class:""},D=["src"],L={key:0,class:"flex-v-center flex m modal pd-big"},O={class:"modal-content radius-small pd-medium bg-white"},$=["src"],A=["src"],W=!1,f=10,H={__name:"GalleryWithCategories",setup(K){x.useRoute();const m=e.ref(null),h=["all","place","drinks","people","events"];let d=1,v=e.ref(null),g=e.ref(!1);const _=e.computed(()=>r.value==="all"?s.state.gallery:s.state.gallery.filter(a=>a.categories.includes(r.value))),b=async()=>{g.value=!0,await s.actions.fetchGallery(d,f),g.value=!1},c=e.ref(null),t=e.ref({categories:"",size:"",image:!1}),i=e.ref(null),k=a=>{W.value?y(a):(c.value="modal",t.value.image=a,p())},y=a=>{c.value="edit-modal",t.value=a||{categories:"",size:"",image:null},p()},n=()=>{t.value={categories:"",size:"",image:!1},i.value=null,w()},p=()=>{document.body.style.overflow="hidden",document.documentElement.style.overflow="hidden"},w=()=>{document.body.style.overflow="",document.documentElement.style.overflow=""},V=[{name:"Small",value:""},{name:"Regular",value:"grid-item--width1 grid-item--height1"},{name:"Medium",value:"grid-item--width2 grid-item--height2"},{name:"Big",value:"grid-item--width3 grid-item--height3"}],C=async()=>{await s.actions.updatePhoto(t.value),n()},E=a=>{const o=a.files;if(t.value.image=o,o&&o.length>0){const l=new FileReader;l.onload=u=>{i.value=u.target.result},l.readAsDataURL(o[0])}},N=async a=>{if(!t.value.image||!t.value.categories||!t.value.size){console.error("All fields are required.");return}await s.actions.createPhoto({...t.value,size:t.value.size,categories:typeof t.value.categories=="string"?t.value.categories.split(",").map(o=>o.trim()):t.value.categories}),n()};let r=e.ref("all");const B=a=>{r.value=a};return e.onMounted(async()=>{await s.actions.fetchGallery(d,f),typeof window<"u"&&new IntersectionObserver(o=>{o.some(l=>l.isIntersecting)&&(d+=1,b())}).observe(v.value)}),(a,o)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",I,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(h,l=>e.createElementVNode("a",{key:l,onClick:u=>B(l),class:e.normalizeClass(["h3 uppercase",{"t-transp":e.unref(r)!==l,"pd-thin bg-main radius-small":e.unref(r)===l}])},e.toDisplayString(a.$t("gallery.categories."+l)),11,P)),64)),e.createCommentVNode("",!0)]),e.createElementVNode("div",{ref_key:"grid",ref:m,class:"pd-medium cols-4 gap-thin"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,(l,u)=>(e.openBlock(),e.createElementBlock("div",{key:l.id,"data-id":l.id},[e.createVNode(e.Transition,{name:"scaleIn",mode:"in-out"},{default:e.withCtx(()=>[m.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:"https://thecommunephuket.com/photos/"+l.cover,class:"w-100 h-100 o-hidden radius-big object-fit-cover",onClick:Q=>k(l.image)},null,8,G)):e.createCommentVNode("",!0)]),_:2},1024)],8,j))),128)),e.createElementVNode("div",{ref_key:"sentinel",ref:v,class:"sentinel"},null,512),e.createVNode(e.Transition,{name:"modal"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",R,[e.createElementVNode("div",T,[e.createElementVNode("div",U,[e.createElementVNode("span",{class:"close",onClick:n},"×"),e.createElementVNode("img",{src:"https://thecommunephuket.com/photos/"+t.value.image},null,8,D)])])],512),[[e.vShow,t.value.image!==!1&&c.value==="modal"]])]),_:1}),e.createVNode(e.Transition,{name:"modal"},{default:e.withCtx(()=>[t.value.image!==!1&&c.value==="edit-modal"?(e.openBlock(),e.createElementBlock("div",L,[e.createElementVNode("div",O,[e.createElementVNode("span",{class:"close",onClick:n},"×"),typeof i.value=="string"?(e.openBlock(),e.createElementBlock("img",{key:0,src:i.value,class:"radius-small w-100 mn-b-small h-20r object-fit-cover"},null,8,$)):e.createCommentVNode("",!0),typeof i.value=="object"&&t.value.image!==null?(e.openBlock(),e.createElementBlock("img",{key:1,class:"radius-small w-100 mn-b-small h-20r object-fit-cover",src:"/photos/"+t.value.cover},null,8,A)):e.createCommentVNode("",!0),t.value._id?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(M.default,{key:2,id:"photo",name:"photo",type:"file",class:"t-black bg-grey pd-thin radius-small mn-b-thin",onFileChange:E,multiple:"true"})),e.createVNode(q.default,{options:V,label:"Size",select:t.value.size,"onUpdate:select":o[1]||(o[1]=l=>t.value.size=l),placeholder:"Select Size",class:"bg-grey pd-thin radius-small mn-b-thin t-black"},null,8,["select"]),e.createVNode(z.default,{field:t.value.categories,"onUpdate:field":o[2]||(o[2]=l=>t.value.categories=l),type:"text",label:"Categories",placeholder:"Enter categories for image (comma separated)",class:"bg-grey pd-thin radius-small mn-b-medium t-black"},null,8,["field"]),e.createVNode(S.default,{submit:t.value._id?C:N,callback:n,class:"mn-b-thin"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.value._id?"Update":"Create"),1)]),_:1},8,["submit"])])])):e.createCommentVNode("",!0)]),_:1})],512)]))}},J=F.default(H,[["__scopeId","data-v-4c5bced8"]]);exports.default=J;
|
@@ -2,7 +2,7 @@ import { ref as n, computed as D, onMounted as A, openBlock as o, createElementB
|
|
2
2
|
import { useRoute as H } from "vue-router";
|
3
3
|
import J from "../../../../components/Field/Field.vue2.js";
|
4
4
|
import K from "../../../../components/Button/Button.vue2.js";
|
5
|
-
import Q from "../../../../components/Select/Select.
|
5
|
+
import Q from "../../../../components/Select/Select.vue.js";
|
6
6
|
import X from "../../../../components/Upload/Upload.vue.js";
|
7
7
|
import { state as E, actions as g } from "../../store/gallery.js";
|
8
8
|
import "./GalleryWithCategories.vue2.js";
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("vue-i18n"),l=require("../../../icons/labels/LabelAppStore.vue.cjs"),c=require("../../../icons/labels/LabelGooglePlay.vue.cjs");require("./MobileApp.vue2.cjs");const d={id:"mobileApp",class:"pd-thin"},u={class:"pos-relative cols-2 pd-thin o-hidden bg-black t-white radius-extra"},p={class:"z-index-1 h-100"},m=["src"],f={class:"pd-big flex flex-h-center flex-column z-index-1 w-1/2"},h={class:"mn-t-medium mn-b-semi w-m-40r"},_={class:"t-transp mn-b-big p-big w-m-33r"},g={class:"mn-b-big gap-medium cols-2"},b={class:"feature"},y={class:"t-transp p-medium"},x={class:"feature"},N={class:"t-transp p-medium"},V={class:"feature"},v={class:"t-transp p-medium"},E={class:"feature"},w={class:"t-transp p-medium"},S={class:"w-m-25r flex-nowrap flex gap-medium"},k=["href","target"],D={key:0,class:"z-index-2 radius-big bg-main t-semi uppercase pd-l-thin pd-r-thin pos-absolute pos-r-small-negative pos-t-small-negative"},A=["href","target"],C={key:0,class:"z-index-2 pd-l-thin pd-r-thin radius-big bg-main t-semi uppercase pos-absolute pos-r-small-negative pos-t-small-negative"},I={__name:"MobileApp",props:{mockupImage:{type:String,default:"/landing/mockup.jpg"},bgImage:{type:String,default:""},textData:{type:Object,default:()=>({messages:{en:{title:"Explore the Cannabis World at Your Fingertips",description:"Intuitive, Efficient, and Customized for Your Cannabis Needs",features:{soonLabel:"Soon",instantUpdates:{title:"Instant Updates",text:"Receive real-time notifications for new product releases and community updates. Always stay in the loop."},locate:{title:"Locate with Ease",text:"Discover nearby dispensaries and cannabis events with our integrated geolocation services."},wallet:{title:"Wallet Integration",text:"Quickly and securely manage your transactions with integrated digital wallet functionality. Safety and convenience come together."},customization:{title:"Customization by AI",text:"Experience the AI difference with personalized recommendations based on your preferences and trends in the community."}}}}})}},setup(n){const o=n,{t,te:a}=r.useI18n(o.textData);return(i,z)=>{const s=e.resolveComponent("H4");return e.openBlock(),e.createElementBlock("div",d,[e.createElementVNode("section",u,[e.createElementVNode("div",p,[e.createElementVNode("img",{src:(i.FILE_SERVER_URL||"")+n.mockupImage,alt:"Desktop App Mockup",class:"radius-extra h-100 w-100 object-fit-cover"},null,8,m)]),e.createElementVNode("div",f,[e.createElementVNode("h2",h,e.toDisplayString(e.unref(t)("title")),1),e.createElementVNode("p",_,e.toDisplayString(e.unref(t)("description")),1),e.createElementVNode("div",g,[e.createElementVNode("div",b,[e.createVNode(s,{class:"mn-b-thin"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("features.instantUpdates.title")),1)]),_:1}),e.createElementVNode("p",y,e.toDisplayString(e.unref(t)("features.instantUpdates.text")),1)]),e.createElementVNode("div",x,[e.createVNode(s,{class:"mn-b-thin"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("features.locate.title")),1)]),_:1}),e.createElementVNode("p",N,e.toDisplayString(e.unref(t)("features.locate.text")),1)]),e.createElementVNode("div",V,[e.createVNode(s,{class:"mn-b-thin"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("features.wallet.title")),1)]),_:1}),e.createElementVNode("p",v,e.toDisplayString(e.unref(t)("features.wallet.text")),1)]),e.createElementVNode("div",E,[e.createVNode(s,{class:"mn-b-thin"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("features.customization.title")),1)]),_:1}),e.createElementVNode("p",w,e.toDisplayString(e.unref(t)("features.customization.text")),1)])]),e.createElementVNode("div",S,[e.createElementVNode("a",{href:e.unref(a)("features.linkAppStore")?e.unref(t)("features.linkAppStore"):null,target:e.unref(a)("features.linkAppStore")?"_blank":null,class:"pos-relative w-100 h-100"},[e.unref(a)("features.soonLabel")?(e.openBlock(),e.createElementBlock("span",D,e.toDisplayString(e.unref(t)("features.soonLabel")),1)):e.createCommentVNode("",!0),e.createVNode(l.default,{class:"w-100 h-100",alt:"Download on App Store"})],8,k),e.createElementVNode("a",{href:e.unref(a)("features.linkGooglePlay")?e.unref(t)("features.linkGooglePlay"):null,target:e.unref(a)("features.linkGooglePlay")?"_blank":null,class:"pos-relative w-100 h-100"},[e.unref(a)("features.soonLabel")?(e.openBlock(),e.createElementBlock("span",C,e.toDisplayString(e.unref(t)("features.soonLabel")),1)):e.createCommentVNode("",!0),e.createVNode(c.default,{class:"w-100 h-100",alt:"Download on Google Play"})],8,A)])])])])}}};exports.default=I;
|
@@ -6,10 +6,10 @@ import "./MobileApp.vue2.js";
|
|
6
6
|
const x = {
|
7
7
|
id: "mobileApp",
|
8
8
|
class: "pd-thin"
|
9
|
-
}, v = { class: "pos-relative cols-2 pd-thin o-hidden bg-black t-white radius-extra" }, w = { class: "z-index-1 h-100" }, y = ["src"], k = { class: "pd-big flex flex-h-center flex-column z-index-1 w-1/2" },
|
9
|
+
}, v = { class: "pos-relative cols-2 pd-thin o-hidden bg-black t-white radius-extra" }, w = { class: "z-index-1 h-100" }, y = ["src"], k = { class: "pd-big flex flex-h-center flex-column z-index-1 w-1/2" }, A = { class: "mn-t-medium mn-b-semi w-m-40r" }, S = { class: "t-transp mn-b-big p-big w-m-33r" }, z = { class: "mn-b-big gap-medium cols-2" }, I = { class: "feature" }, L = { class: "t-transp p-medium" }, E = { class: "feature" }, C = { class: "t-transp p-medium" }, D = { class: "feature" }, G = { class: "t-transp p-medium" }, N = { class: "feature" }, P = { class: "t-transp p-medium" }, U = { class: "w-m-25r flex-nowrap flex gap-medium" }, V = ["href", "target"], R = {
|
10
10
|
key: 0,
|
11
11
|
class: "z-index-2 radius-big bg-main t-semi uppercase pd-l-thin pd-r-thin pos-absolute pos-r-small-negative pos-t-small-negative"
|
12
|
-
},
|
12
|
+
}, j = ["href", "target"], B = {
|
13
13
|
key: 0,
|
14
14
|
class: "z-index-2 pd-l-thin pd-r-thin radius-big bg-main t-semi uppercase pos-absolute pos-r-small-negative pos-t-small-negative"
|
15
15
|
}, Q = {
|
@@ -17,16 +17,11 @@ const x = {
|
|
17
17
|
props: {
|
18
18
|
mockupImage: {
|
19
19
|
type: String,
|
20
|
-
default: "/landing/mockup.
|
21
|
-
},
|
22
|
-
mockupMobile: {
|
23
|
-
type: String,
|
24
|
-
default: "/landing/mockup-mobile.png"
|
20
|
+
default: "/landing/mockup.jpg"
|
25
21
|
},
|
26
22
|
bgImage: {
|
27
23
|
type: String,
|
28
24
|
default: ""
|
29
|
-
// Введите ваше стандартное значение здесь, если необходимо
|
30
25
|
},
|
31
26
|
textData: {
|
32
27
|
type: Object,
|
@@ -61,7 +56,7 @@ const x = {
|
|
61
56
|
},
|
62
57
|
setup(p) {
|
63
58
|
const m = p, { t: s, te: o } = _(m.textData);
|
64
|
-
return (f,
|
59
|
+
return (f, F) => {
|
65
60
|
const i = h("H4");
|
66
61
|
return c(), d("div", x, [
|
67
62
|
t("section", v, [
|
@@ -73,8 +68,8 @@ const x = {
|
|
73
68
|
}, null, 8, y)
|
74
69
|
]),
|
75
70
|
t("div", k, [
|
76
|
-
t("h2",
|
77
|
-
t("p",
|
71
|
+
t("h2", A, a(e(s)("title")), 1),
|
72
|
+
t("p", S, a(e(s)("description")), 1),
|
78
73
|
t("div", z, [
|
79
74
|
t("div", I, [
|
80
75
|
n(i, { class: "mn-b-thin" }, {
|
@@ -130,12 +125,12 @@ const x = {
|
|
130
125
|
target: e(o)("features.linkGooglePlay") ? "_blank" : null,
|
131
126
|
class: "pos-relative w-100 h-100"
|
132
127
|
}, [
|
133
|
-
e(o)("features.soonLabel") ? (c(), d("span",
|
128
|
+
e(o)("features.soonLabel") ? (c(), d("span", B, a(e(s)("features.soonLabel")), 1)) : u("", !0),
|
134
129
|
n(b, {
|
135
130
|
class: "w-100 h-100",
|
136
131
|
alt: "Download on Google Play"
|
137
132
|
})
|
138
|
-
], 8,
|
133
|
+
], 8, j)
|
139
134
|
])
|
140
135
|
])
|
141
136
|
])
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Button/Button.vue.cjs");const a=require("../../../mobile/components/Menu/Menu.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Button/Button.vue.cjs");const a=require("../../../mobile/components/Menu/Menu.vue.cjs"),r=require("../../../mobile/components/Menu/MenuItem.vue.cjs"),n=require("vue-router");require("../../../auth/store/auth.cjs");require("./Legal.vue2.cjs");const u={class:"for-transition w-100 pd-medium"},l=e.createStaticVNode('<div class="bg-grey radius-medium pd-medium mn-b-small"><h2 class="mn-b-small">About No More Snow CO., LTD.</h2><p class="mn-b-small"> Welcome to NO MORE SNOW CO., LTD.! We are dedicated to providing top-notch services and creating a trustworthy environment for our users. Your trust and safety are our priority, and we are committed to being transparent about our policies and practices. </p><p class="mn-b-small"> If you have any questions, concerns, or feedback, please do not hesitate to contact us through the following details. Our team is always here to assist you! </p><p class="mn-b-small"> Address: 10/3 Laemsai Rd, Karon, Mueang Phuket District, Phuket 83100<br> Telephone: +660803202142<br> Email: <a href="mailto:hello@thecommunephuket.com">hello@thecommunephuket.com</a><br> Website: <a href="https://thecommunephuket.com" target="_blank">https://thecommunephuket.com</a></p></div>',1),i=e.createElementVNode("span",null,"Terms of Use",-1),c=e.createElementVNode("span",null,"Privacy Policy",-1),d=e.createElementVNode("span",null,"Cookie Policy",-1),m=e.createElementVNode("span",null,"EULA",-1),p={__name:"Legal",setup(h){n.useRoute();const o=n.useRouter();return e.ref(!1),(f,t)=>(e.openBlock(),e.createElementBlock("div",u,[l,e.createVNode(a.default,{class:"bg-grey"},{default:e.withCtx(()=>[e.createVNode(r.default,{onClick:t[0]||(t[0]=s=>e.unref(o).push({name:"Terms of Use"})),class:"cursor-pointer"},{default:e.withCtx(()=>[i]),_:1}),e.createVNode(r.default,{onClick:t[1]||(t[1]=s=>e.unref(o).push({name:"Privacy Policy"})),class:"cursor-pointer"},{default:e.withCtx(()=>[c]),_:1}),e.createVNode(r.default,{onClick:t[2]||(t[2]=s=>e.unref(o).push({name:"Cookie Policy"})),class:"cursor-pointer"},{default:e.withCtx(()=>[d]),_:1}),e.createVNode(r.default,{onClick:t[3]||(t[3]=s=>e.unref(o).push({name:"EULA"})),class:"cursor-pointer"},{default:e.withCtx(()=>[m]),_:1})]),_:1})]))}};exports.default=p;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ref as l, openBlock as m, createElementBlock as u, createVNode as t, withCtx as o, unref as r, createStaticVNode as c, createElementVNode as a } from "vue";
|
2
2
|
import "../../../../components/Field/Field.vue.js";
|
3
3
|
import "../../../../components/Button/Button.vue.js";
|
4
|
-
import p from "../../../mobile/components/Menu/Menu.
|
4
|
+
import p from "../../../mobile/components/Menu/Menu.vue.js";
|
5
5
|
import n from "../../../mobile/components/Menu/MenuItem.vue.js";
|
6
6
|
import { useRoute as d, useRouter as h } from "vue-router";
|
7
7
|
import "../../../auth/store/auth.js";
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Menu.vue2.cjs");const r={class:"mobile-menu-section pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium"},o={__name:"Menu",setup(u){return(t,n)=>(e.openBlock(),e.createElementBlock("section",r,[e.renderSlot(t.$slots,"default")]))}};exports.default=o;
|
@@ -1,4 +1,13 @@
|
|
1
|
-
|
1
|
+
import { openBlock as t, createElementBlock as o, renderSlot as n } from "vue";
|
2
|
+
import "./Menu.vue2.js";
|
3
|
+
const r = { class: "mobile-menu-section pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium" }, d = {
|
4
|
+
__name: "Menu",
|
5
|
+
setup(s) {
|
6
|
+
return (e, i) => (t(), o("section", r, [
|
7
|
+
n(e.$slots, "default")
|
8
|
+
]));
|
9
|
+
}
|
10
|
+
};
|
2
11
|
export {
|
3
|
-
|
12
|
+
d as default
|
4
13
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=e;
|
@@ -1,13 +1,4 @@
|
|
1
|
-
|
2
|
-
import "./Menu.vue.js";
|
3
|
-
const r = { class: "mobile-menu-section pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium" }, d = {
|
4
|
-
__name: "Menu",
|
5
|
-
setup(s) {
|
6
|
-
return (e, i) => (t(), o("section", r, [
|
7
|
-
n(e.$slots, "default")
|
8
|
-
]));
|
9
|
-
}
|
10
|
-
};
|
1
|
+
const e = "";
|
11
2
|
export {
|
12
|
-
|
3
|
+
e as default
|
13
4
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),N=require("vue-router"),f=require("../../../../components/Block/Block.vue.cjs");require("../../../../components/Field/Field.vue.cjs");const _=require("../../../products/components/blocks/CardPosition.vue.cjs");require("../../../products/store/leftovers.cjs");require("../../../products/components/blocks/ListPositions.vue2.cjs");const r=require("../../store/orders.cjs"),V=require("../../../products/store/products.cjs");require("./EditOrder.vue2.cjs");const E=e.createElementVNode("header",{class:"mn-b-medium flex-v-center flex-nowrap flex"},[e.createElementVNode("h2",{class:"mn-r-medium"},"Edit Order")],-1),g={key:0,class:"w-100"},b={class:"mn-thinw-100 flex-v-center flex block"},P={class:"p-big"},x={key:0,class:"p-big t-semi"},q={key:1,class:"p-big t-semi"},C={key:2,class:"p-big t-semi"},w={key:3},S={key:4},D={key:5},T=e.createElementVNode("button",{class:"mn-l-auto button"},"Запросить онлайн",-1),O={__name:"EditOrder",props:["showProduct"],setup(k){const h=N.useRoute(),v=k;v.showProduct=[];function s(t){r.actions.addProduct(t)}function y(t){r.actions.deleteProduct(t)}let B=e.reactive([]);e.toRefs(B),e.ref(!1);const c=e.ref([]);let o=e.ref({});e.onMounted(async()=>{try{const t=await V.actions.read({organization:"65141c476cf9860013b49f6d"});console.log(t),c.value=t}catch{console.error("error")}await r.actions.fetchOrder(h.params.id),o.value=r.state.current});const n=e.computed(()=>100);return e.computed(()=>[]),(t,R)=>{var a,l,d,i,u,m;return e.openBlock(),e.createElementBlock(e.Fragment,null,[E,e.createVNode(f.default,{title:"Add Position",class:"mn-b-semi"},{default:e.withCtx(()=>[e.createVNode(_.default,{onAdd:s,products:c.value},null,8,["products"])]),_:1}),e.createVNode(f.default,{title:"Invetory Sheet",class:"mn-b-semi"},{default:e.withCtx(()=>[r.state.current.positions.length===0?(e.openBlock(),e.createElementBlock("span",g," No positions added yet ")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.state.current.positions,(p,A)=>(e.openBlock(),e.createBlock(_.default,{key:p._id,product:p,products:c.value,onAdd:s,onDelete:y,onUpdate:t.updateProduct},null,8,["product","products","onUpdate"]))),128))]),_:1}),e.createElementVNode("div",b,[e.createElementVNode("p",P,[e.createTextVNode("Сумма к оплате: "),((a=e.unref(o).info)==null?void 0:a.delivery)==="Самовывоз"?(e.openBlock(),e.createElementBlock("span",x,e.toDisplayString(n.value/100)+" ₽",1)):e.createCommentVNode("",!0),((l=e.unref(o).info)==null?void 0:l.delivery)==="Курьером"?(e.openBlock(),e.createElementBlock("span",q,e.toDisplayString(n.value/100+350)+" ₽",1)):e.createCommentVNode("",!0),((d=e.unref(o).info)==null?void 0:d.delivery)==="Почтой"?(e.openBlock(),e.createElementBlock("span",C,e.toDisplayString(n.value/100+550)+" ₽",1)):e.createCommentVNode("",!0),e.createTextVNode(" (Заказ "+e.toDisplayString(n.value/100)+" ₽ + доставка ",1),((i=e.unref(o).info)==null?void 0:i.delivery)==="Самовывоз"?(e.openBlock(),e.createElementBlock("span",w,"0")):e.createCommentVNode("",!0),((u=e.unref(o).info)==null?void 0:u.delivery)==="Курьером"?(e.openBlock(),e.createElementBlock("span",S,"350")):e.createCommentVNode("",!0),((m=e.unref(o).info)==null?void 0:m.delivery)==="Почтой"?(e.openBlock(),e.createElementBlock("span",D,"550")):e.createCommentVNode("",!0),e.createTextVNode(" ₽) ")]),T])],64)}}};exports.default=O;
|