@ozdao/prometheus-framework 0.2.71 → 0.2.74
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth.server.js +8 -21
- package/dist/auth.server.mjs +8 -21
- package/dist/community.server.js +1 -1
- package/dist/community.server.mjs +1 -1
- package/dist/events.server.js +306 -48
- package/dist/events.server.mjs +306 -48
- package/dist/files.server.js +9 -9
- package/dist/files.server.mjs +9 -9
- package/dist/gallery.server.js +2 -2
- package/dist/gallery.server.mjs +2 -2
- package/dist/globals.server.js +1 -1
- package/dist/globals.server.mjs +1 -1
- package/dist/mailing-BX0q8DIs.js +77 -0
- package/dist/mailing-Cdp8NXhP.mjs +78 -0
- package/dist/main-C0wbYN41.mjs +13744 -0
- package/dist/main-vACUb_p5.js +91 -0
- package/dist/main.css +1 -1
- package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.cjs +3 -0
- package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.js +3174 -0
- package/dist/organizations.server.js +1 -1
- package/dist/organizations.server.mjs +1 -1
- package/dist/ownership.schema-BQmRnCsc.mjs +184 -0
- package/dist/ownership.schema-D13NqEgo.js +183 -0
- package/dist/products.server.js +1 -1
- package/dist/products.server.mjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +1 -225
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +225 -1
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.js +53 -0
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +56 -57
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +1 -84
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +84 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +373 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +51 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +1 -51
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +1 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +36 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +1 -36
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +1 -46
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +36 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +19 -20
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +3 -3
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +3 -3
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +2 -2
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -66
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
- 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/elements/ButtonCheck.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +81 -0
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.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 +3 -3
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +127 -83
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
- 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/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.js +8 -5
- package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/store/tickets.js +24 -24
- 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 +2 -2
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconEvents.vue.js +21 -14
- 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 +3 -3
- 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 +13 -1
- 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 +1 -13
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +205 -0
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +157 -72
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.js +65 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +79 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +34 -0
- package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.js +27 -22
- 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/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/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.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/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +4 -4
- 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 +4 -4
- 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 +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 +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.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 +2 -2
- 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 +3 -3
- 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/Images360.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.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 +2 -2
- 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/Leftovers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.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 +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.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/EditModifications.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.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 +2 -2
- 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/products/components/sections/PopularProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.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 +1 -1
- 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 +24 -20
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js +39 -27
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Payments.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Payments.vue.js +57 -0
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Payments.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Payments.vue2.js +1 -0
- 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 +1 -1
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +1 -1
- package/dist/style.css +1 -1
- package/dist/users.server.js +5 -5
- package/dist/users.server.mjs +5 -5
- package/dist/web-BJSg7vH_.js +1 -0
- package/dist/web-DOXRo6XB.mjs +54 -0
- package/package.json +1 -1
- package/src/modules/events/components/pages/EditEventTickets.vue +11 -6
- package/src/modules/users/users.server.js +0 -1
@@ -1,9 +1,9 @@
|
|
1
|
-
import
|
2
|
-
import "../../
|
3
|
-
const
|
1
|
+
import e from "../components/layouts/layoutEvents.vue.js";
|
2
|
+
import { requiresAdmin as t } from "../../middlewares/client/auth.validation.js";
|
3
|
+
const o = [
|
4
4
|
{
|
5
5
|
path: "events",
|
6
|
-
component:
|
6
|
+
component: e,
|
7
7
|
meta: {
|
8
8
|
title: {
|
9
9
|
en: "Events",
|
@@ -69,6 +69,9 @@ const a = [
|
|
69
69
|
path: "events/:url/edit/tickets",
|
70
70
|
name: "Edit Event Tickets",
|
71
71
|
meta: { authorize: [] },
|
72
|
+
beforeEnter: [
|
73
|
+
t
|
74
|
+
],
|
72
75
|
component: () => import(
|
73
76
|
/* webpackChunkName: 'EditEvent' */
|
74
77
|
"../components/pages/EditEventTickets.vue.js"
|
@@ -76,5 +79,5 @@ const a = [
|
|
76
79
|
}
|
77
80
|
];
|
78
81
|
export {
|
79
|
-
|
82
|
+
o as default
|
80
83
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../../../../node_modules/axios/lib/axios.cjs"),l=require("vue"),n=require("../../globals/store/globals.cjs"),c=p.default.create({baseURL:process.env.API_URL,withCredentials:!0}),s=l.reactive({tickets:[],error:null}),m={async read({user:r,type:e,target:a,role:t,skip:o,limit:u,search:d}){try{const i=await c.get("/api/tickets",{params:{user:r,type:e,target:a,role:t,skip:o,limit:u,search:d}});return s.error=null,s.tickets=i.data,Promise.resolve(i.data)}catch(i){return n.setError(i),Promise.reject(i)}},async create(r){try{const e=await c.post("/api/tickets/create",r);return s.error=null,Promise.resolve(e.data)}catch(e){return n.setError(e),Promise.reject(e)}},async update(r){try{const e=await c.post("/api/tickets/update",r);return s.error=null,Promise.resolve(e.data)}catch(e){return n.setError(e),Promise.reject(e)}},async delete(r){try{const e=await c.post("/api/tickets/delete",r);return s.error=null,Promise.resolve(e.data)}catch(e){return n.setError(e),Promise.reject(e)}}},y={handleTicketUpdate(r,e,a){let t;if(Array.isArray(r)?t=r.find(o=>o._id===e.target):typeof r=="object"&&r._id===e.target&&(t=r),t)if(t.hasTicket=a,a)t.tickets.push(e),t.numberOfTickets+=1;else{const o=t.tickets.findIndex(u=>u._id===e._id);o!==-1&&(t.tickets.splice(o,1),t.numberOfTickets-=1)}}};l.watch(s,r=>{});exports.actions=m;exports.mutations=y;exports.state=s;
|
@@ -1,61 +1,61 @@
|
|
1
|
-
import
|
2
|
-
import { reactive as
|
3
|
-
import { setError as
|
4
|
-
const
|
1
|
+
import u from "../../../../node_modules/axios/lib/axios.js";
|
2
|
+
import { reactive as m, watch as d } from "vue";
|
3
|
+
import { setError as c } from "../../globals/store/globals.js";
|
4
|
+
const n = u.create({
|
5
5
|
baseURL: process.env.API_URL,
|
6
6
|
withCredentials: !0
|
7
|
-
}), o =
|
7
|
+
}), o = m({
|
8
8
|
tickets: [],
|
9
9
|
error: null
|
10
|
-
}),
|
11
|
-
async read({ user: r, type: e, target:
|
10
|
+
}), P = {
|
11
|
+
async read({ user: r, type: e, target: a, role: t, skip: s, limit: p, search: l }) {
|
12
12
|
try {
|
13
|
-
const
|
14
|
-
return o.error = null, o.tickets =
|
15
|
-
} catch (
|
16
|
-
return
|
13
|
+
const i = await n.get("/api/tickets", { params: { user: r, type: e, target: a, role: t, skip: s, limit: p, search: l } });
|
14
|
+
return o.error = null, o.tickets = i.data, Promise.resolve(i.data);
|
15
|
+
} catch (i) {
|
16
|
+
return c(i), Promise.reject(i);
|
17
17
|
}
|
18
18
|
},
|
19
19
|
async create(r) {
|
20
20
|
try {
|
21
|
-
const e = await
|
21
|
+
const e = await n.post("/api/tickets/create", r);
|
22
22
|
return o.error = null, Promise.resolve(e.data);
|
23
23
|
} catch (e) {
|
24
|
-
return
|
24
|
+
return c(e), Promise.reject(e);
|
25
25
|
}
|
26
26
|
},
|
27
27
|
async update(r) {
|
28
28
|
try {
|
29
|
-
const e = await
|
29
|
+
const e = await n.post("/api/tickets/update", r);
|
30
30
|
return o.error = null, Promise.resolve(e.data);
|
31
31
|
} catch (e) {
|
32
|
-
return
|
32
|
+
return c(e), Promise.reject(e);
|
33
33
|
}
|
34
34
|
},
|
35
35
|
async delete(r) {
|
36
36
|
try {
|
37
|
-
const e = await
|
37
|
+
const e = await n.post("/api/tickets/delete", r);
|
38
38
|
return o.error = null, Promise.resolve(e.data);
|
39
39
|
} catch (e) {
|
40
|
-
return
|
40
|
+
return c(e), Promise.reject(e);
|
41
41
|
}
|
42
42
|
}
|
43
|
-
},
|
44
|
-
handleTicketUpdate(r, e,
|
43
|
+
}, h = {
|
44
|
+
handleTicketUpdate(r, e, a) {
|
45
45
|
let t;
|
46
46
|
if (Array.isArray(r) ? t = r.find((s) => s._id === e.target) : typeof r == "object" && r._id === e.target && (t = r), t)
|
47
|
-
if (t.hasTicket =
|
47
|
+
if (t.hasTicket = a, a)
|
48
48
|
t.tickets.push(e), t.numberOfTickets += 1;
|
49
49
|
else {
|
50
|
-
const s = t.tickets.findIndex((
|
50
|
+
const s = t.tickets.findIndex((p) => p._id === e._id);
|
51
51
|
s !== -1 && (t.tickets.splice(s, 1), t.numberOfTickets -= 1);
|
52
52
|
}
|
53
53
|
}
|
54
54
|
};
|
55
|
-
|
55
|
+
d(o, (r) => {
|
56
56
|
});
|
57
57
|
export {
|
58
|
-
|
59
|
-
|
58
|
+
P as actions,
|
59
|
+
h as mutations,
|
60
60
|
o as state
|
61
61
|
};
|
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.
|
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,6 +1,6 @@
|
|
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
|
-
import Q from "../../../../components/Field/Field.
|
3
|
-
import W from "../../../../components/Button/Button.
|
2
|
+
import Q from "../../../../components/Field/Field.vue2.js";
|
3
|
+
import W from "../../../../components/Button/Button.vue2.js";
|
4
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";
|
@@ -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.
|
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;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ref as n, computed as D, onMounted as A, openBlock as o, createElementBlock as i, createElementVNode as s, Fragment as C, renderList as z, normalizeClass as L, unref as x, toDisplayString as S, createCommentVNode as r, createVNode as c, Transition as _, withCtx as p, withDirectives as O, vShow as T, createBlock as W, createTextVNode as q } from "vue";
|
2
2
|
import { useRoute as H } from "vue-router";
|
3
|
-
import J from "../../../../components/Field/Field.
|
4
|
-
import K from "../../../../components/Button/Button.
|
3
|
+
import J from "../../../../components/Field/Field.vue2.js";
|
4
|
+
import K from "../../../../components/Button/Button.vue2.js";
|
5
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";
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("../../../icons/navigation/IconSearch.vue.cjs"),u=require("../../../../components/Field/Field.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("../../../icons/navigation/IconSearch.vue.cjs"),u=require("../../../../components/Field/Field.vue2.cjs"),d={class:"flex-v-center flex-nowrap flex pd-small bg-grey w-100 radius-big"},i={__name:"BlockSearch",props:{placeholder:{type:String,default:"Enter shop or product name"},button:{type:String,default:"Search"}},emits:["search"],setup(l,{emit:a}){const c=a;e.ref(null);const o=t=>{c("search",t)};return(t,r)=>(e.openBlock(),e.createElementBlock("div",d,[e.createVNode(s.default,{class:"i-medium t-transp mn-r-thin"}),e.createVNode(u.default,{placeholder:l.placeholder,"onUpdate:field":r[0]||(r[0]=n=>o(n)),class:"w-100"},null,8,["placeholder"])]))}};exports.default=i;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref as s, openBlock as p, createElementBlock as i, createVNode as r } from "vue";
|
2
2
|
import d from "../../../icons/navigation/IconSearch.vue.js";
|
3
|
-
import m from "../../../../components/Field/Field.
|
3
|
+
import m from "../../../../components/Field/Field.vue2.js";
|
4
4
|
const f = { class: "flex-v-center flex-nowrap flex pd-small bg-grey w-100 radius-big" }, g = {
|
5
5
|
__name: "BlockSearch",
|
6
6
|
props: {
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),B=require("vue-router"),E=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),V=require("../../../reports/components/sections/FormReport.vue.cjs"),x=require("../../../../components/Tooltip/Tooltip.vue2.cjs"),C=require("../../../../components/Dropdown/Dropdown.vue.cjs");require("../../../../components/Button/Button.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),B=require("vue-router"),E=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),V=require("../../../reports/components/sections/FormReport.vue.cjs"),x=require("../../../../components/Tooltip/Tooltip.vue2.cjs"),C=require("../../../../components/Dropdown/Dropdown.vue.cjs");require("../../../../components/Button/Button.vue.cjs");require("../../../auth/store/auth.cjs");require("../../../organizations/store/memberships.cjs");const N=require("../../../icons/navigation/IconEllipsis.vue.cjs"),p={key:0,class:"pd-b-zero"},v={class:"w-100 flex-v-center flex-nojustify flex"},$={class:"w-100 flex-nowrap flex-v-center flex"},M=["src"],R={key:2,class:"t-semi"},q={key:1,class:"pos-relative"},D={key:2},S={class:"d-block mn-l-auto flex-nowrap flex flex-v-center"},z={key:0,class:"w-4r i-thin"},P={style:{position:"absolute",top:"0px",right:"0px"},class:"br-solid br-2px br-white z-index-1 radius-big i-thin bg-second flex flex-center t-white p-small t-semi"},F=["src"],U={class:"bg-black pd-thin radius-small"},T=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),L={__name:"CardHeader",props:["user","entity","entityType","date","dateFormatted","owner","creator","members","membersPhotos","type"],setup(t){B.useRouter();function b(o){const r=new Date,d=new Date(o),u=Math.abs(r-d),m=Math.floor(u/1e3),n=Math.floor(m/60),a=Math.floor(n/60),i=Math.floor(a/24),l=Math.floor(i/7);return l>0?`${l} week${l>1?"s":""} ago`:i>0?`${i} day${i>1?"s":""} ago`:a>0?`${a} hour${a>1?"s":""} ago`:n>0?`${n} minute${n>1?"s":""} ago`:"Just now"}return(o,r)=>{var d,u,m,n,a,i,l,h,f,k,g,y,w;return t.owner?(e.openBlock(),e.createElementBlock("header",p,[e.createElementVNode("div",v,[e.createElementVNode("div",$,[((m=(u=(d=t.owner.target)==null?void 0:d.profile)==null?void 0:u.photo)==null?void 0:m.length)>0&&t.type!=="short"?(e.openBlock(),e.createElementBlock("img",{key:0,src:(o.FILE_SERVER_URL||"")+t.owner.target.profile.photo,class:"radius-medium object-fit-cover mn-r-thin i-thin",onClick:r[0]||(r[0]=e.withModifiers(c=>o.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},null,8,M)):e.createCommentVNode("",!0),!((a=(n=t.owner.target)==null?void 0:n.profile)!=null&&a.photo)&&t.type!=="short"?(e.openBlock(),e.createBlock(E.default,{key:1,class:"radius-medium mn-r-thin i-thin",onClick:r[1]||(r[1]=e.withModifiers(c=>o.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))})):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("span",R,[e.createElementVNode("span",{onClick:r[2]||(r[2]=e.withModifiers(c=>o.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},e.toDisplayString((l=(i=t.owner.target)==null?void 0:i.profile)==null?void 0:l.name),1),!t.creator.hidden&&((f=(h=t.owner.target)==null?void 0:h.profile)==null?void 0:f.name)!==((g=(k=t.creator.target)==null?void 0:k.profile)==null?void 0:g.name)?(e.openBlock(),e.createElementBlock("span",{key:0,onClick:r[3]||(r[3]=e.withModifiers(c=>{var s;return o.$router.push({name:"User Profile",params:{_id:(s=t.creator.target)==null?void 0:s._id}})},["stop"]))}," · by "+e.toDisplayString((w=(y=t.creator.target)==null?void 0:y.profile)==null?void 0:w.name),1)):e.createCommentVNode("",!0),t.date?(e.openBlock(),e.createElementBlock("span",q,[t.date?(e.openBlock(),e.createBlock(x.default,{key:0,text:o.formatDate(t.date)},{default:e.withCtx(()=>[e.createTextVNode(" · "+e.toDisplayString(b(t.date)),1)]),_:1},8,["text"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.dateFormatted?(e.openBlock(),e.createElementBlock("span",D," · "+e.toDisplayString(t.dateFormatted),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",S,[t.members?(e.openBlock(),e.createElementBlock("div",z,[e.createElementVNode("span",P,e.toDisplayString(t.members),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.membersPhotos.slice(0,2),(c,s)=>(e.openBlock(),e.createElementBlock("img",{key:s,src:(o.FILE_SERVER_URL||"")+c,style:e.normalizeStyle({position:"absolute",top:"0px",right:s*20+20+"%",zIndex:1-s}),class:"br-solid br-2px br-white i-thin bg-grey radius-big"},null,12,F))),128))])):e.createCommentVNode("",!0)]),t.type!=="short"&&t.user&&t.user!=t.creator.target._id?(e.openBlock(),e.createBlock(C.default,{key:3,label:{component:N.default,class:"t-transp i-regular"},align:"right",class:"cursor-pointer z-index-2"},{default:e.withCtx(()=>[e.createElementVNode("section",U,[t.user!==t.creator.target._id?(e.openBlock(),e.createBlock(V.default,{key:0,user:t.user,type:t.entityType,target:t.entity._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[T]),_:1},8,["user","type","target"])):e.createCommentVNode("",!0)])]),_:1},8,["label"])):e.createCommentVNode("",!0)])])])):e.createCommentVNode("",!0)}}};exports.default=L;
|
@@ -4,7 +4,7 @@ import F from "../../../icons/placeholders/PlaceholderUserpic.vue.js";
|
|
4
4
|
import L from "../../../reports/components/sections/FormReport.vue.js";
|
5
5
|
import T from "../../../../components/Tooltip/Tooltip.vue2.js";
|
6
6
|
import V from "../../../../components/Dropdown/Dropdown.vue.js";
|
7
|
-
import "../../../../components/Button/Button.
|
7
|
+
import "../../../../components/Button/Button.vue.js";
|
8
8
|
import "../../../auth/store/auth.js";
|
9
9
|
import "../../../organizations/store/memberships.js";
|
10
10
|
import S from "../../../icons/navigation/IconEllipsis.vue.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"),l={width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s=["fill"],n={__name:"IconEvents",props:{fill:{type:String,default:"rgb(var(--black))"}},setup(C){return(t,o)=>(e.openBlock(),e.createElementBlock("svg",l,[e.createElementVNode("path",{fill:C.fill,class:e.normalizeClass(t.$attrs.class),d:"M12 66V32H68V66C68 69.25 65.25 72 62 72H18C14.75 72 12 69.25 12 66ZM52 42V46C52 47.125 52.875 48 54 48H58C59.125 48 60 47.125 60 46V42C60 40.875 59.125 40 58 40H54C52.875 40 52 40.875 52 42ZM52 58V62C52 63.125 52.875 64 54 64H58C59.125 64 60 63.125 60 62V58C60 56.875 59.125 56 58 56H54C52.875 56 52 56.875 52 58ZM36 42V46C36 47.125 36.875 48 38 48H42C43.125 48 44 47.125 44 46V42C44 40.875 43.125 40 42 40H38C36.875 40 36 40.875 36 42ZM36 58V62C36 63.125 36.875 64 38 64H42C43.125 64 44 63.125 44 62V58C44 56.875 43.125 56 42 56H38C36.875 56 36 56.875 36 58ZM20 42V46C20 47.125 20.875 48 22 48H26C27.125 48 28 47.125 28 46V42C28 40.875 27.125 40 26 40H22C20.875 40 20 40.875 20 42ZM20 58V62C20 63.125 20.875 64 22 64H26C27.125 64 28 63.125 28 62V58C28 56.875 27.125 56 26 56H22C20.875 56 20 56.875 20 58ZM62 16C65.25 16 68 18.75 68 22V28H12V22C12 18.75 14.75 16 18 16H24V10C24 8.875 24.875 8 26 8H30C31.125 8 32 8.875 32 10V16H48V10C48 8.875 48.875 8 50 8H54C55.125 8 56 8.875 56 10V16H62Z"},null,10,s)]))}};exports.default=n;
|
@@ -1,21 +1,28 @@
|
|
1
|
-
import { openBlock as
|
2
|
-
|
3
|
-
const V = {}, n = {
|
1
|
+
import { openBlock as t, createElementBlock as l, createElementVNode as V, normalizeClass as s } from "vue";
|
2
|
+
const H = {
|
4
3
|
width: "80",
|
5
4
|
height: "80",
|
6
5
|
viewBox: "0 0 80 80",
|
7
6
|
fill: "none",
|
8
7
|
xmlns: "http://www.w3.org/2000/svg"
|
9
|
-
},
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
8
|
+
}, n = ["fill"], r = {
|
9
|
+
__name: "IconEvents",
|
10
|
+
props: {
|
11
|
+
fill: {
|
12
|
+
type: String,
|
13
|
+
default: "rgb(var(--black))"
|
14
|
+
}
|
15
|
+
},
|
16
|
+
setup(C) {
|
17
|
+
return (e, o) => (t(), l("svg", H, [
|
18
|
+
V("path", {
|
19
|
+
fill: C.fill,
|
20
|
+
class: s(e.$attrs.class),
|
21
|
+
d: "M12 66V32H68V66C68 69.25 65.25 72 62 72H18C14.75 72 12 69.25 12 66ZM52 42V46C52 47.125 52.875 48 54 48H58C59.125 48 60 47.125 60 46V42C60 40.875 59.125 40 58 40H54C52.875 40 52 40.875 52 42ZM52 58V62C52 63.125 52.875 64 54 64H58C59.125 64 60 63.125 60 62V58C60 56.875 59.125 56 58 56H54C52.875 56 52 56.875 52 58ZM36 42V46C36 47.125 36.875 48 38 48H42C43.125 48 44 47.125 44 46V42C44 40.875 43.125 40 42 40H38C36.875 40 36 40.875 36 42ZM36 58V62C36 63.125 36.875 64 38 64H42C43.125 64 44 63.125 44 62V58C44 56.875 43.125 56 42 56H38C36.875 56 36 56.875 36 58ZM20 42V46C20 47.125 20.875 48 22 48H26C27.125 48 28 47.125 28 46V42C28 40.875 27.125 40 26 40H22C20.875 40 20 40.875 20 42ZM20 58V62C20 63.125 20.875 64 22 64H26C27.125 64 28 63.125 28 62V58C28 56.875 27.125 56 26 56H22C20.875 56 20 56.875 20 58ZM62 16C65.25 16 68 18.75 68 22V28H12V22C12 18.75 14.75 16 18 16H24V10C24 8.875 24.875 8 26 8H30C31.125 8 32 8.875 32 10V16H48V10C48 8.875 48.875 8 50 8H54C55.125 8 56 8.875 56 10V16H62Z"
|
22
|
+
}, null, 10, n)
|
23
|
+
]));
|
24
|
+
}
|
25
|
+
};
|
19
26
|
export {
|
20
|
-
|
27
|
+
r as default
|
21
28
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Field/Field.
|
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
|
-
import "../../../../components/Field/Field.
|
3
|
-
import "../../../../components/Button/Button.
|
4
|
-
import p from "../../../mobile/components/Menu/Menu.
|
2
|
+
import "../../../../components/Field/Field.vue.js";
|
3
|
+
import "../../../../components/Button/Button.vue.js";
|
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";
|
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 +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
|
+
};
|
11
|
+
export {
|
12
|
+
d as default
|
13
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";
|
@@ -1,13 +1 @@
|
|
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
|
-
};
|
11
|
-
export {
|
12
|
-
d as default
|
13
|
-
};
|
1
|
+
|
package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("vue-router"),x=require("../../../../components/Feed/Feed.vue.cjs");require("../../../../components/Field/Field.vue.cjs");const V=require("../../../../components/Button/Button.vue2.cjs"),f=require("../../../../components/Popup/Popup.vue.cjs"),s=require("../../../../components/Block/Block.vue.cjs"),_=require("../blocks/CardOrderItem.vue.cjs");require("../../../../components/Select/Select.vue2.cjs");require("../../../../components/SelectMulti/SelectMulti.vue2.cjs");const y=require("../sections/FormClientDetails.vue.cjs"),P=require("../sections/FormDelivery.vue.cjs"),q=require("../sections/FormPayment.vue.cjs"),v=require("../../../auth/store/auth.cjs"),a=require("../../../globals/store/globals.cjs"),t=require("../../store/orders.cjs"),B=require("../../../products/store/products.cjs");require("./OrderCreateBackoffice.vue2.cjs");const E={class:"flex-v-center flex-nowrap flex"},O=e.createElementVNode("h2",{class:"mn-r-auto"},"Create Order",-1),F=e.createElementVNode("h3",{class:"mn-b-small"},"Add to order",-1),D={class:"bg-grey mn-b-thin h-min-20r h-max-20r o-scroll pd-medium radius-big"},S={key:0,class:"w-100"},R={class:"flex-nowrap flex"},A=e.createElementVNode("button",{class:"w-100 bg-main pd-small flex-center flex uppercase t-medium"},"Select",-1),I=e.createElementVNode("h3",{class:"mn-b-small"},"Add New Client",-1),T={class:"h3 flex"},M=e.createElementVNode("span",{class:"mn-r-auto t-transp"},"In total",-1),z={__name:"OrderCreateBackoffice",setup(L){const l=p.useRoute(),h=p.useRouter();let b=e.computed(()=>Number(t.state.current.positions.reduce((u,n)=>u+n.price*n.quantity,0)));const c=e.ref(!1);function k(){c.value=!0}function d(){c.value=!1}const i=e.ref(!1);function N(){i.value=!0}function g(){i.value=!1}e.ref(null);function C(){t.state.current.creator={type:"user",target:v.state.user._id},t.state.current.owner={type:"organization",target:l.params._id},t.actions.create(t.state.current)}function w(){h.push({name:"Backoffice Orders",params:{_id:l.params._id}})}return e.onMounted(async()=>{}),(u,n)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(s.default,{class:"mn-b-thin"},{default:e.withCtx(()=>[e.createElementVNode("header",E,[O,e.createVNode(V.default,{submit:C,callback:w,class:"pd-small radius-big bg-main t-black uppercase t-medium"},{default:e.withCtx(()=>[e.createTextVNode(" Add Order ")]),_:1})])]),_:1}),e.createVNode(f.default,{title:"Добавить участника",onClosePopup:d,isPopupOpen:c.value,class:"bg-white w-min-30r w-max-30r radius-big pd-medium"},{default:e.withCtx(()=>[F,e.createElementVNode("div",D,[e.createVNode(x.default,{search:!0,states:{empty:{title:"No Products Found",description:"Currently, there are no such products available."}},store:{read:r=>B.actions.read(r),state:null},options:{organization:e.unref(l).params._id},class:""},{default:e.withCtx(({items:r})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r,(o,j)=>(e.openBlock(),e.createBlock(_.default,{key:o._id,editable:!1,product:o,onClick:()=>{let m={...o};m.quantity=1,a.actions.add(t.state.current.positions,m),d()},class:"bg-white pd-thin radius-medium w-100 mn-b-thin"},null,8,["product","onClick"]))),128))]),_:1},8,["states","store","options"])])]),_:1},8,["isPopupOpen"]),e.createVNode(s.default,{title:"Positions",actions:[{label:"+",function:()=>k()}],class:"mn-b-semi"},{default:e.withCtx(()=>[t.state.current.positions.length===0?(e.openBlock(),e.createElementBlock("span",S," No positions added yet ")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.current.positions,(r,o)=>(e.openBlock(),e.createBlock(_.default,{key:r._id,editable:!0,product:r,onIncrease:()=>{a.actions.increment(t.state.current.positions,r)},onDecrease:()=>{a.actions.decrement(t.state.current.positions,r)},onRemove:()=>{a.actions.delete(t.state.current.positions,r)},class:"mn-b-thin pd-thin radius-medium bg-white"},null,8,["product","onIncrease","onDecrease","onRemove"]))),128))]),_:1},8,["actions"]),e.createVNode(s.default,{title:"Customer",class:"mn-b-semi"},{default:e.withCtx(()=>[e.createElementVNode("div",R,[A,e.createElementVNode("button",{onClick:n[0]||(n[0]=r=>N()),class:"w-100 bg-main pd-small flex-center flex uppercase t-medium"},"Add new")])]),_:1}),t.state.current.status!==!0?(e.openBlock(),e.createBlock(P.default,{key:0,order:t.state.current},null,8,["order"])):e.createCommentVNode("",!0),t.state.current.status!==!0?(e.openBlock(),e.createBlock(q.default,{key:1,order:t.state.current},null,8,["order"])):e.createCommentVNode("",!0),e.createVNode(f.default,{title:"Добавить участника",onClosePopup:g,isPopupOpen:i.value,class:"bg-white w-min-30r w-max-30r radius-big pd-medium"},{default:e.withCtx(()=>[I,e.createVNode(y.default,{order:t.state.current,class:"bg-grey"},null,8,["order"])]),_:1},8,["isPopupOpen"]),e.createVNode(s.default,{class:"mn-b-semi"},{default:e.withCtx(()=>[e.createElementVNode("div",T,[M,e.createElementVNode("span",null,e.toDisplayString(e.unref(b))+" "+e.toDisplayString(u.returnCurrency()),1)])]),_:1})]))}};exports.default=z;
|