@ozdao/prometheus-framework 0.2.250 → 0.2.252
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/builder.js +8 -9
- package/dist/builder.mjs +8 -9
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +2 -2
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +2 -2
- 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/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/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/views/components/layouts/Auth.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.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/BlogPost.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +3 -3
- 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/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js.map +1 -1
- 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 +3 -3
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +3 -3
- 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/EventsBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
- 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/events.client.cjs +35 -13
- package/dist/prometheus-framework/src/modules/events/events.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/events.client.js +41 -19
- package/dist/prometheus-framework/src/modules/events/events.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.cjs +95 -91
- package/dist/prometheus-framework/src/modules/events/router/events.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.js +94 -90
- package/dist/prometheus-framework/src/modules/events/router/events.js.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +5 -5
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/globals/globals.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/globals.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.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/DepartmentEdit.vue.cjs +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +5 -5
- 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/OrganizationEdit.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +4 -4
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +2 -10
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +3 -11
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +785 -772
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +785 -772
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/store/pages.cjs +5 -7
- package/dist/prometheus-framework/src/modules/pages/views/store/pages.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/store/pages.js +1 -3
- package/dist/prometheus-framework/src/modules/pages/views/store/pages.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
- 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/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/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 +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +3 -3
- 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 +4 -4
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/products/components/sections/MenuSection.vue.cjs +128 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/MenuSection.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/MenuSection.vue.js +128 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/MenuSection.vue.js.map +1 -0
- 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/products/products.client.cjs +2 -0
- package/dist/prometheus-framework/src/modules/products/products.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.js +24 -22
- package/dist/prometheus-framework/src/modules/products/products.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +5 -5
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +5 -5
- package/package.json +1 -1
- package/src/builder/webpack/webpack.config.spa.js +7 -7
- package/src/modules/events/components/elements/ButtonCheck.vue +11 -11
- package/src/modules/events/components/pages/EventsBackoffice.vue +1 -1
- package/src/modules/events/events.client.js +43 -18
- package/src/modules/events/router/events.js +79 -66
- package/src/modules/globals/globals.client.js +15 -14
- package/src/modules/governance/controllers/factories/initiatives.controller.js +94 -0
- package/src/modules/governance/controllers/factories/tasks.controller.js +94 -0
- package/src/modules/governance/controllers/factories/votes.controller.js +68 -0
- package/src/modules/governance/controllers/factories/votings.controller.js +112 -0
- package/src/modules/governance/controllers/routes/initiatives.routes.js +13 -0
- package/src/modules/governance/controllers/routes/tasks.routes.js +13 -0
- package/src/modules/governance/controllers/routes/votes.routes.js +11 -0
- package/src/modules/governance/controllers/routes/votings.routes.js +14 -0
- package/src/modules/governance/governance.client.js +62 -0
- package/src/modules/governance/governance.server.js +56 -0
- package/src/modules/governance/models/initiative.model.js +25 -0
- package/src/modules/governance/models/task.model.js +21 -0
- package/src/modules/governance/models/vote.model.js +20 -0
- package/src/modules/governance/models/voting.model.js +22 -0
- package/src/modules/governance/views/components/blocks/CardInitiativeItem.vue +18 -0
- package/src/modules/governance/views/components/blocks/CardTaskItem.vue +19 -0
- package/src/modules/governance/views/components/blocks/CardVotingItem.vue +18 -0
- package/src/modules/governance/views/components/pages/Initiative.vue +22 -0
- package/src/modules/governance/views/components/pages/InitiativeCreate.vue +24 -0
- package/src/modules/governance/views/components/pages/Initiatives.vue +19 -0
- package/src/modules/governance/views/components/pages/Task.vue +23 -0
- package/src/modules/governance/views/components/pages/TaskCreate.vue +25 -0
- package/src/modules/governance/views/components/pages/Tasks.vue +19 -0
- package/src/modules/governance/views/components/pages/Voting.vue +30 -0
- package/src/modules/governance/views/components/pages/VotingCreate.vue +25 -0
- package/src/modules/governance/views/components/pages/Votings.vue +19 -0
- package/src/modules/governance/views/components/partials/RewardDisplay.vue +19 -0
- package/src/modules/governance/views/components/partials/VoteDisplay.vue +21 -0
- package/src/modules/governance/views/components/partials/VotingResult.vue +21 -0
- package/src/modules/governance/views/components/sections/FormInitiativeDetails.vue +37 -0
- package/src/modules/governance/views/components/sections/FormTaskDetails.vue +41 -0
- package/src/modules/governance/views/components/sections/FormVotingDetails.vue +37 -0
- package/src/modules/governance/views/components/sections/VoteForm.vue +29 -0
- package/src/modules/governance/views/store/initiatives.js +102 -0
- package/src/modules/governance/views/store/tasks.js +104 -0
- package/src/modules/governance/views/store/votes.js +115 -0
- package/src/modules/governance/views/store/votings.js +81 -0
- package/src/modules/marketplace/router/marketplace.js +0 -1
- package/src/modules/organizations/router/organizations.js +4 -11
- package/src/modules/pages/views/store/pages.js +1 -3
- package/src/modules/products/components/sections/MenuSection.vue +8 -9
- package/src/modules/products/products.client.js +2 -2
@@ -1,11 +1,10 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
3
|
-
const layoutEvents = require("../components/layouts/layoutEvents.vue.cjs");
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
4
3
|
require("../../auth/views/store/auth.cjs");
|
5
|
-
|
6
|
-
{
|
7
|
-
|
8
|
-
|
4
|
+
function createEventRoutes(prefix = "", options = {}) {
|
5
|
+
const nameWithPrefix = (name) => prefix ? `${prefix}${name}` : name;
|
6
|
+
const routes = {
|
7
|
+
path: options.basePath || "events",
|
9
8
|
meta: {
|
10
9
|
title: {
|
11
10
|
en: "Events",
|
@@ -13,94 +12,99 @@ const eventsRoutes = [
|
|
13
12
|
},
|
14
13
|
title_hide: true
|
15
14
|
},
|
16
|
-
children: [
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
15
|
+
children: [
|
16
|
+
{
|
17
|
+
path: "",
|
18
|
+
name: nameWithPrefix("Events"),
|
19
|
+
meta: {
|
20
|
+
title: {
|
21
|
+
en: "Events",
|
22
|
+
ru: "События"
|
23
|
+
},
|
24
|
+
title_hide: true
|
23
25
|
},
|
24
|
-
|
26
|
+
component: () => Promise.resolve().then(() => require(
|
27
|
+
/* webpackChunkName: 'Events' */
|
28
|
+
"../components/pages/Events.vue.cjs"
|
29
|
+
))
|
25
30
|
},
|
26
|
-
|
27
|
-
|
28
|
-
"
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
31
|
+
{
|
32
|
+
path: "backoffice",
|
33
|
+
name: nameWithPrefix("Events Backoffice"),
|
34
|
+
meta: {
|
35
|
+
title: {
|
36
|
+
en: "Manage Events",
|
37
|
+
ru: "Управление Событиями"
|
38
|
+
},
|
39
|
+
authorize: options.backofficeAuthorize || []
|
40
|
+
},
|
41
|
+
component: () => Promise.resolve().then(() => require(
|
42
|
+
/* webpackChunkName: 'Events' */
|
43
|
+
"../components/pages/EventsBackoffice.vue.cjs"
|
44
|
+
))
|
39
45
|
},
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
46
|
+
{
|
47
|
+
path: "create",
|
48
|
+
name: nameWithPrefix("Create Event"),
|
49
|
+
meta: {
|
50
|
+
title: {
|
51
|
+
en: "Create Event",
|
52
|
+
ru: "Создать Событие"
|
53
|
+
},
|
54
|
+
authorize: options.createEventAuthorize || []
|
55
|
+
},
|
56
|
+
component: () => Promise.resolve().then(() => require(
|
57
|
+
/* webpackChunkName: 'Events' */
|
58
|
+
"../components/pages/EditEvent.vue.cjs"
|
59
|
+
))
|
54
60
|
},
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
}
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
61
|
+
{
|
62
|
+
path: ":url",
|
63
|
+
name: nameWithPrefix("Event"),
|
64
|
+
meta: {
|
65
|
+
title: {
|
66
|
+
en: "Event",
|
67
|
+
ru: "Событие"
|
68
|
+
}
|
69
|
+
},
|
70
|
+
component: () => Promise.resolve().then(() => require(
|
71
|
+
/* webpackChunkName: 'Events' */
|
72
|
+
"../components/pages/Event.vue.cjs"
|
73
|
+
))
|
74
|
+
},
|
75
|
+
{
|
76
|
+
path: ":url/edit",
|
77
|
+
name: nameWithPrefix("Edit Event"),
|
78
|
+
meta: {
|
79
|
+
title: {
|
80
|
+
en: "Edit Event",
|
81
|
+
ru: "Редактировать Событие"
|
82
|
+
},
|
83
|
+
authorize: options.editEventAuthorize || []
|
84
|
+
},
|
85
|
+
component: () => Promise.resolve().then(() => require(
|
86
|
+
/* webpackChunkName: 'Events' */
|
87
|
+
"../components/pages/EditEvent.vue.cjs"
|
88
|
+
))
|
89
|
+
},
|
90
|
+
{
|
91
|
+
path: ":url/edit/tickets",
|
92
|
+
name: nameWithPrefix("Edit Event Tickets"),
|
93
|
+
meta: {
|
94
|
+
title: {
|
95
|
+
en: "Event Tickets",
|
96
|
+
ru: "Билеты События"
|
97
|
+
},
|
98
|
+
authorize: options.editTicketsAuthorize || []
|
99
|
+
},
|
100
|
+
component: () => Promise.resolve().then(() => require(
|
101
|
+
/* webpackChunkName: 'Events' */
|
102
|
+
"../components/pages/EditEventTickets.vue.cjs"
|
103
|
+
))
|
97
104
|
}
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
}
|
104
|
-
];
|
105
|
-
exports.default = eventsRoutes;
|
105
|
+
]
|
106
|
+
};
|
107
|
+
return routes;
|
108
|
+
}
|
109
|
+
exports.createEventRoutes = createEventRoutes;
|
106
110
|
//# sourceMappingURL=events.cjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"events.cjs","sources":["../../../../../../src/modules/events/router/events.js"],"sourcesContent":["import
|
1
|
+
{"version":3,"file":"events.cjs","sources":["../../../../../../src/modules/events/router/events.js"],"sourcesContent":["import * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\nexport function createEventRoutes(prefix = '', options = {}) {\n const nameWithPrefix = (name) => prefix ? `${prefix}${name}` : name;\n\n const routes = {\n path: options.basePath || 'events',\n meta: {\n title: {\n en: 'Events',\n ru: 'События'\n },\n title_hide: true\n },\n children: [\n {\n path: '',\n name: nameWithPrefix('Events'),\n meta: {\n title: {\n en: 'Events',\n ru: 'События'\n },\n title_hide: true\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/Events.vue')\n },\n {\n path: 'backoffice',\n name: nameWithPrefix('Events Backoffice'),\n meta: {\n title: {\n en: 'Manage Events',\n ru: 'Управление Событиями'\n },\n authorize: options.backofficeAuthorize || []\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/EventsBackoffice.vue')\n },\n {\n path: 'create',\n name: nameWithPrefix('Create Event'),\n meta: {\n title: {\n en: 'Create Event',\n ru: 'Создать Событие'\n },\n authorize: options.createEventAuthorize || []\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/EditEvent.vue')\n },\n {\n path: ':url',\n name: nameWithPrefix('Event'),\n meta: {\n title: {\n en: 'Event',\n ru: 'Событие'\n }\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/Event.vue')\n },\n {\n path: ':url/edit',\n name: nameWithPrefix('Edit Event'),\n meta: {\n title: {\n en: 'Edit Event',\n ru: 'Редактировать Событие'\n },\n authorize: options.editEventAuthorize || []\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/EditEvent.vue')\n },\n {\n path: ':url/edit/tickets',\n name: nameWithPrefix('Edit Event Tickets'),\n meta: {\n title: {\n en: 'Event Tickets',\n ru: 'Билеты События'\n },\n authorize: options.editTicketsAuthorize || []\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/EditEventTickets.vue')\n }\n ]\n }\n\n return routes;\n}\n\n// Example usage:\n// const eventsRoutes = createEventRoutes('Admin', { basePath: 'admin/events' });\n// export default eventsRoutes;"],"names":[],"mappings":";;;AAEO,SAAS,kBAAkB,SAAS,IAAI,UAAU,CAAA,GAAI;AAC3D,QAAM,iBAAiB,CAAC,SAAS,SAAS,GAAG,MAAM,GAAG,IAAI,KAAK;AAE/D,QAAM,SAAS;AAAA,IACb,MAAM,QAAQ,YAAY;AAAA,IAC1B,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,MACD,YAAY;AAAA,IACb;AAAA,IACD,UAAU;AAAA,MACR;AAAA,QACE,MAAM;AAAA,QACN,MAAM,eAAe,QAAQ;AAAA,QAC7B,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,UACD,YAAY;AAAA,QACb;AAAA,QACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,UAA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oB;AAAA,QACzC,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,UACD,WAAW,QAAQ,wBAAwB,CAAE;AAAA,QAC9C;AAAA,QACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,UAAiC;AAAA,QAA0C,CAAC;AAAA,MACrG;AAAA,IACF;AAAA,EACF;AAED,SAAO;AACT;;"}
|
@@ -1,9 +1,8 @@
|
|
1
|
-
import _sfc_main from "../components/layouts/layoutEvents.vue.js";
|
2
1
|
import "../../auth/views/store/auth.js";
|
3
|
-
|
4
|
-
{
|
5
|
-
|
6
|
-
|
2
|
+
function createEventRoutes(prefix = "", options = {}) {
|
3
|
+
const nameWithPrefix = (name) => prefix ? `${prefix}${name}` : name;
|
4
|
+
const routes = {
|
5
|
+
path: options.basePath || "events",
|
7
6
|
meta: {
|
8
7
|
title: {
|
9
8
|
en: "Events",
|
@@ -11,96 +10,101 @@ const eventsRoutes = [
|
|
11
10
|
},
|
12
11
|
title_hide: true
|
13
12
|
},
|
14
|
-
children: [
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
13
|
+
children: [
|
14
|
+
{
|
15
|
+
path: "",
|
16
|
+
name: nameWithPrefix("Events"),
|
17
|
+
meta: {
|
18
|
+
title: {
|
19
|
+
en: "Events",
|
20
|
+
ru: "События"
|
21
|
+
},
|
22
|
+
title_hide: true
|
21
23
|
},
|
22
|
-
|
24
|
+
component: () => import(
|
25
|
+
/* webpackChunkName: 'Events' */
|
26
|
+
"../components/pages/Events.vue.js"
|
27
|
+
)
|
23
28
|
},
|
24
|
-
|
25
|
-
|
26
|
-
"
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
29
|
+
{
|
30
|
+
path: "backoffice",
|
31
|
+
name: nameWithPrefix("Events Backoffice"),
|
32
|
+
meta: {
|
33
|
+
title: {
|
34
|
+
en: "Manage Events",
|
35
|
+
ru: "Управление Событиями"
|
36
|
+
},
|
37
|
+
authorize: options.backofficeAuthorize || []
|
38
|
+
},
|
39
|
+
component: () => import(
|
40
|
+
/* webpackChunkName: 'Events' */
|
41
|
+
"../components/pages/EventsBackoffice.vue.js"
|
42
|
+
)
|
37
43
|
},
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
44
|
+
{
|
45
|
+
path: "create",
|
46
|
+
name: nameWithPrefix("Create Event"),
|
47
|
+
meta: {
|
48
|
+
title: {
|
49
|
+
en: "Create Event",
|
50
|
+
ru: "Создать Событие"
|
51
|
+
},
|
52
|
+
authorize: options.createEventAuthorize || []
|
53
|
+
},
|
54
|
+
component: () => import(
|
55
|
+
/* webpackChunkName: 'Events' */
|
56
|
+
"../components/pages/EditEvent.vue.js"
|
57
|
+
)
|
52
58
|
},
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
}
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
59
|
+
{
|
60
|
+
path: ":url",
|
61
|
+
name: nameWithPrefix("Event"),
|
62
|
+
meta: {
|
63
|
+
title: {
|
64
|
+
en: "Event",
|
65
|
+
ru: "Событие"
|
66
|
+
}
|
67
|
+
},
|
68
|
+
component: () => import(
|
69
|
+
/* webpackChunkName: 'Events' */
|
70
|
+
"../components/pages/Event.vue.js"
|
71
|
+
)
|
72
|
+
},
|
73
|
+
{
|
74
|
+
path: ":url/edit",
|
75
|
+
name: nameWithPrefix("Edit Event"),
|
76
|
+
meta: {
|
77
|
+
title: {
|
78
|
+
en: "Edit Event",
|
79
|
+
ru: "Редактировать Событие"
|
80
|
+
},
|
81
|
+
authorize: options.editEventAuthorize || []
|
82
|
+
},
|
83
|
+
component: () => import(
|
84
|
+
/* webpackChunkName: 'Events' */
|
85
|
+
"../components/pages/EditEvent.vue.js"
|
86
|
+
)
|
87
|
+
},
|
88
|
+
{
|
89
|
+
path: ":url/edit/tickets",
|
90
|
+
name: nameWithPrefix("Edit Event Tickets"),
|
91
|
+
meta: {
|
92
|
+
title: {
|
93
|
+
en: "Event Tickets",
|
94
|
+
ru: "Билеты События"
|
95
|
+
},
|
96
|
+
authorize: options.editTicketsAuthorize || []
|
97
|
+
},
|
98
|
+
component: () => import(
|
99
|
+
/* webpackChunkName: 'Events' */
|
100
|
+
"../components/pages/EditEventTickets.vue.js"
|
101
|
+
)
|
95
102
|
}
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
)
|
101
|
-
}
|
102
|
-
];
|
103
|
+
]
|
104
|
+
};
|
105
|
+
return routes;
|
106
|
+
}
|
103
107
|
export {
|
104
|
-
|
108
|
+
createEventRoutes
|
105
109
|
};
|
106
110
|
//# sourceMappingURL=events.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"events.js","sources":["../../../../../../src/modules/events/router/events.js"],"sourcesContent":["import
|
1
|
+
{"version":3,"file":"events.js","sources":["../../../../../../src/modules/events/router/events.js"],"sourcesContent":["import * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\nexport function createEventRoutes(prefix = '', options = {}) {\n const nameWithPrefix = (name) => prefix ? `${prefix}${name}` : name;\n\n const routes = {\n path: options.basePath || 'events',\n meta: {\n title: {\n en: 'Events',\n ru: 'События'\n },\n title_hide: true\n },\n children: [\n {\n path: '',\n name: nameWithPrefix('Events'),\n meta: {\n title: {\n en: 'Events',\n ru: 'События'\n },\n title_hide: true\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/Events.vue')\n },\n {\n path: 'backoffice',\n name: nameWithPrefix('Events Backoffice'),\n meta: {\n title: {\n en: 'Manage Events',\n ru: 'Управление Событиями'\n },\n authorize: options.backofficeAuthorize || []\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/EventsBackoffice.vue')\n },\n {\n path: 'create',\n name: nameWithPrefix('Create Event'),\n meta: {\n title: {\n en: 'Create Event',\n ru: 'Создать Событие'\n },\n authorize: options.createEventAuthorize || []\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/EditEvent.vue')\n },\n {\n path: ':url',\n name: nameWithPrefix('Event'),\n meta: {\n title: {\n en: 'Event',\n ru: 'Событие'\n }\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/Event.vue')\n },\n {\n path: ':url/edit',\n name: nameWithPrefix('Edit Event'),\n meta: {\n title: {\n en: 'Edit Event',\n ru: 'Редактировать Событие'\n },\n authorize: options.editEventAuthorize || []\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/EditEvent.vue')\n },\n {\n path: ':url/edit/tickets',\n name: nameWithPrefix('Edit Event Tickets'),\n meta: {\n title: {\n en: 'Event Tickets',\n ru: 'Билеты События'\n },\n authorize: options.editTicketsAuthorize || []\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/EditEventTickets.vue')\n }\n ]\n }\n\n return routes;\n}\n\n// Example usage:\n// const eventsRoutes = createEventRoutes('Admin', { basePath: 'admin/events' });\n// export default eventsRoutes;"],"names":[],"mappings":";AAEO,SAAS,kBAAkB,SAAS,IAAI,UAAU,CAAA,GAAI;AAC3D,QAAM,iBAAiB,CAAC,SAAS,SAAS,GAAG,MAAM,GAAG,IAAI,KAAK;AAE/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OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,UACD,WAAW,QAAQ,sBAAsB,CAAE;AAAA,QAC5C;AAAA,QACD,WAAW,MAAM;AAAA;AAAA,UAAwC;AAAA,QAAmC;AAAA,MAC7F;AAAA,MACD;AAAA,QACE,MAAM;AAAA,QACN,MAAM,eAAe,oBAAoB;AAAA,QACzC,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,UACD,WAAW,QAAQ,wBAAwB,CAAE;AAAA,QAC9C;AAAA,QACD,WAAW,MAAM;AAAA;AAAA,UAAwC;AAAA,QAA0C;AAAA,MACpG;AAAA,IACF;AAAA,EACF;AAED,SAAO;AACT;"}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const Feed = require("../../../../components/Feed/Feed.vue.cjs");
|
5
|
-
const Popup = require("../../../../components/Popup/Popup.
|
5
|
+
const Popup = require("../../../../components/Popup/Popup.vue2.cjs");
|
6
6
|
const PhotoViewer = require("../../../../components/PhotoViewer/PhotoViewer.vue.cjs");
|
7
7
|
const SectionPageTitle = require("../../../globals/views/components/sections/SectionPageTitle.vue.cjs");
|
8
8
|
const gallery = require("../../store/gallery.cjs");
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref, openBlock, createElementBlock, createVNode, withCtx, unref, isRef, Fragment, renderList, createElementVNode } from "vue";
|
2
2
|
import _sfc_main$4 from "../../../../components/Feed/Feed.vue.js";
|
3
|
-
import _sfc_main$2 from "../../../../components/Popup/Popup.
|
3
|
+
import _sfc_main$2 from "../../../../components/Popup/Popup.vue2.js";
|
4
4
|
import _sfc_main$3 from "../../../../components/PhotoViewer/PhotoViewer.vue.js";
|
5
5
|
import _sfc_main$1 from "../../../globals/views/components/sections/SectionPageTitle.vue.js";
|
6
6
|
import gallery from "../../store/gallery.js";
|
package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const vueRouter = require("vue-router");
|
5
|
-
;/* empty css
|
6
|
-
const Button = require("../../../../components/Button/Button.
|
7
|
-
;/* empty css
|
8
|
-
const Chips = require("../../../../components/Chips/Chips.
|
5
|
+
;/* empty css */
|
6
|
+
const Button = require("../../../../components/Button/Button.vue2.cjs");
|
7
|
+
;/* empty css */
|
8
|
+
const Chips = require("../../../../components/Chips/Chips.vue.cjs");
|
9
9
|
;/* empty css */
|
10
|
-
const Popup = require("../../../../components/Popup/Popup.
|
10
|
+
const Popup = require("../../../../components/Popup/Popup.vue2.cjs");
|
11
11
|
const Feed = require("../../../../components/Feed/Feed.vue.cjs");
|
12
12
|
const PhotoViewer = require("../../../../components/PhotoViewer/PhotoViewer.vue.cjs");
|
13
13
|
const auth = require("../../../auth/views/store/auth.cjs");
|
package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { ref, openBlock, createElementBlock, createVNode, unref, isRef, withCtx, Fragment, renderList, createElementVNode, toDisplayString, createBlock, createCommentVNode, createTextVNode } from "vue";
|
2
2
|
import { useRoute } from "vue-router";
|
3
|
-
/* empty css
|
4
|
-
import _sfc_main$9 from "../../../../components/Button/Button.
|
5
|
-
/* empty css
|
6
|
-
import _sfc_main$4 from "../../../../components/Chips/Chips.
|
3
|
+
/* empty css */
|
4
|
+
import _sfc_main$9 from "../../../../components/Button/Button.vue2.js";
|
5
|
+
/* empty css */
|
6
|
+
import _sfc_main$4 from "../../../../components/Chips/Chips.vue.js";
|
7
7
|
/* empty css */
|
8
|
-
import _sfc_main$5 from "../../../../components/Popup/Popup.
|
8
|
+
import _sfc_main$5 from "../../../../components/Popup/Popup.vue2.js";
|
9
9
|
import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
|
10
10
|
import _sfc_main$6 from "../../../../components/PhotoViewer/PhotoViewer.vue.js";
|
11
11
|
import { state } from "../../../auth/views/store/auth.js";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"globals.client.cjs","sources":["../../../../../src/modules/globals/globals.client.js"],"sourcesContent":["// Components\n// import Client from \"./components/layouts/Client.vue\"\n\nimport getBrowserLocale from './views/localization/get-browser-locale.js';\nimport scrollBehavior from './views/router/scrollBehavior.js';\n\nimport layoutApp from './views/components/layouts/App.vue'\nimport layoutClient from './views/components/layouts/Client.vue'\nimport Header from '@pf/src/modules/globals/views/components/partials/Header.vue'\nimport Sidebar from '@pf/src/modules/globals/views/components/partials/Sidebar.vue'\nimport BottomNavigationBar from '@pf/src/modules/globals/views/components/partials/BottomNavigationBar.vue'\n\nimport * as mixins from './views/mixins/mixins.js'\nimport * as appRenderer from './views/utils/vue-app-renderer.js';\nimport * as storeGlobals from './views/store/globals.js';\n\
|
1
|
+
{"version":3,"file":"globals.client.cjs","sources":["../../../../../src/modules/globals/globals.client.js"],"sourcesContent":["// Components\n// import Client from \"./components/layouts/Client.vue\"\n\nimport getBrowserLocale from './views/localization/get-browser-locale.js';\nimport scrollBehavior from './views/router/scrollBehavior.js';\n\nimport layoutApp from './views/components/layouts/App.vue'\nimport layoutClient from './views/components/layouts/Client.vue'\nimport Header from '@pf/src/modules/globals/views/components/partials/Header.vue'\nimport Sidebar from '@pf/src/modules/globals/views/components/partials/Sidebar.vue'\nimport BottomNavigationBar from '@pf/src/modules/globals/views/components/partials/BottomNavigationBar.vue'\n\nimport * as mixins from './views/mixins/mixins.js'\nimport * as appRenderer from './views/utils/vue-app-renderer.js';\nimport * as storeGlobals from './views/store/globals.js';\n\n\n// Пример функции инициализации для модуля заказов\nfunction initializeGlobals(app, store, router, options = {}) {\n const route = options.route || 'Home';\n\n const envVariables = [\n 'NODE_ENV',\n 'PORT',\n 'APP_NAME',\n 'DOMAIN_URL',\n 'API_URL',\n 'WSS_URL',\n 'FILE_SERVER_URL',\n 'WDT_TOKEN',\n 'WDM_URL_PROD',\n 'GOOGLE_MAPS_API_KEY',\n 'MOBILE_APP'\n ];\n\n app.config.globalProperties.DOMAIN_URL = process.env.DOMAIN_URL;\n app.config.globalProperties.API_URL = process.env.API_URL;\n app.config.globalProperties.MOBILE_APP = process.env.MOBILE_APP;\n app.config.globalProperties.FILE_SERVER_URL = process.env.FILE_SERVER_URL;\n app.config.globalProperties.GOOGLE_MAPS_API_KEY = process.env.GOOGLE_MAPS_API_KEY;\n\n app\n .mixin(mixins.globalMixins);\n \n // Change Locale to Route Locale if available\n router.beforeEach((to, from, next) => {\n const locale = to.params.locale;\n\n if (locale) {\n if (!app.config.globalProperties.$i18n.availableLocales.includes(locale)) {\n return next({ path: '/404' });\n } else {\n app.config.globalProperties.$i18n.locale = locale;\n return next();\n }\n }\n\n return next();\n \n });\n\n store.addStore('globals', storeGlobals);\n\n router.addRoute(route, { path: '404', name: 'notfound', component: () => import('@pf/src/modules/globals/views/components/pages/404.vue') });\n router.addRoute(route, { path: '401', name: 'unauthorized', component: () => import('@pf/src/modules/globals/views/components/pages/401.vue') });\n router.addRoute(route, { path: ':pathMatch(.*)*', name: 'NotFound', redirect: { name: 'notfound' } });\n}\n\nconst ModuleGlobals = {\n initialize: initializeGlobals,\n views: {\n store: {\n storeGlobals,\n },\n router: {\n // routerOrders\n },\n components: {\n // Pages\n layoutClient,\n layoutApp,\n Header,\n Sidebar,\n BottomNavigationBar\n }\n }\n}\n\nexport {\n // Client,\n mixins,\n scrollBehavior,\n getBrowserLocale,\n appRenderer,\n // Store\n storeGlobals,\n // Components\n layoutClient,\n layoutApp,\n Header,\n Sidebar\n};\n\nexport default ModuleGlobals\n"],"names":["mixins.globalMixins","storeGlobals","layoutClient","layoutApp","Header","Sidebar","BottomNavigationBar"],"mappings":";;;;;;;;;;;;AAkB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AAMC,IAAS;AAAA,MACf,QAAMC,OAAM;AAAA,MACZ,SAAMC,QAAO;AAAA,MACb,qBAAMC,oBAAmB;AAAA,IACpB;AAAA,EACF;AACH;;;;;;;;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"globals.client.js","sources":["../../../../../src/modules/globals/globals.client.js"],"sourcesContent":["// Components\n// import Client from \"./components/layouts/Client.vue\"\n\nimport getBrowserLocale from './views/localization/get-browser-locale.js';\nimport scrollBehavior from './views/router/scrollBehavior.js';\n\nimport layoutApp from './views/components/layouts/App.vue'\nimport layoutClient from './views/components/layouts/Client.vue'\nimport Header from '@pf/src/modules/globals/views/components/partials/Header.vue'\nimport Sidebar from '@pf/src/modules/globals/views/components/partials/Sidebar.vue'\nimport BottomNavigationBar from '@pf/src/modules/globals/views/components/partials/BottomNavigationBar.vue'\n\nimport * as mixins from './views/mixins/mixins.js'\nimport * as appRenderer from './views/utils/vue-app-renderer.js';\nimport * as storeGlobals from './views/store/globals.js';\n\
|
1
|
+
{"version":3,"file":"globals.client.js","sources":["../../../../../src/modules/globals/globals.client.js"],"sourcesContent":["// Components\n// import Client from \"./components/layouts/Client.vue\"\n\nimport getBrowserLocale from './views/localization/get-browser-locale.js';\nimport scrollBehavior from './views/router/scrollBehavior.js';\n\nimport layoutApp from './views/components/layouts/App.vue'\nimport layoutClient from './views/components/layouts/Client.vue'\nimport Header from '@pf/src/modules/globals/views/components/partials/Header.vue'\nimport Sidebar from '@pf/src/modules/globals/views/components/partials/Sidebar.vue'\nimport BottomNavigationBar from '@pf/src/modules/globals/views/components/partials/BottomNavigationBar.vue'\n\nimport * as mixins from './views/mixins/mixins.js'\nimport * as appRenderer from './views/utils/vue-app-renderer.js';\nimport * as storeGlobals from './views/store/globals.js';\n\n\n// Пример функции инициализации для модуля заказов\nfunction initializeGlobals(app, store, router, options = {}) {\n const route = options.route || 'Home';\n\n const envVariables = [\n 'NODE_ENV',\n 'PORT',\n 'APP_NAME',\n 'DOMAIN_URL',\n 'API_URL',\n 'WSS_URL',\n 'FILE_SERVER_URL',\n 'WDT_TOKEN',\n 'WDM_URL_PROD',\n 'GOOGLE_MAPS_API_KEY',\n 'MOBILE_APP'\n ];\n\n app.config.globalProperties.DOMAIN_URL = process.env.DOMAIN_URL;\n app.config.globalProperties.API_URL = process.env.API_URL;\n app.config.globalProperties.MOBILE_APP = process.env.MOBILE_APP;\n app.config.globalProperties.FILE_SERVER_URL = process.env.FILE_SERVER_URL;\n app.config.globalProperties.GOOGLE_MAPS_API_KEY = process.env.GOOGLE_MAPS_API_KEY;\n\n app\n .mixin(mixins.globalMixins);\n \n // Change Locale to Route Locale if available\n router.beforeEach((to, from, next) => {\n const locale = to.params.locale;\n\n if (locale) {\n if (!app.config.globalProperties.$i18n.availableLocales.includes(locale)) {\n return next({ path: '/404' });\n } else {\n app.config.globalProperties.$i18n.locale = locale;\n return next();\n }\n }\n\n return next();\n \n });\n\n store.addStore('globals', storeGlobals);\n\n router.addRoute(route, { path: '404', name: 'notfound', component: () => import('@pf/src/modules/globals/views/components/pages/404.vue') });\n router.addRoute(route, { path: '401', name: 'unauthorized', component: () => import('@pf/src/modules/globals/views/components/pages/401.vue') });\n router.addRoute(route, { path: ':pathMatch(.*)*', name: 'NotFound', redirect: { name: 'notfound' } });\n}\n\nconst ModuleGlobals = {\n initialize: initializeGlobals,\n views: {\n store: {\n storeGlobals,\n },\n router: {\n // routerOrders\n },\n components: {\n // Pages\n layoutClient,\n layoutApp,\n Header,\n Sidebar,\n BottomNavigationBar\n }\n }\n}\n\nexport {\n // Client,\n mixins,\n scrollBehavior,\n getBrowserLocale,\n appRenderer,\n // Store\n storeGlobals,\n // Components\n layoutClient,\n layoutApp,\n Header,\n Sidebar\n};\n\nexport default ModuleGlobals\n"],"names":["mixins.globalMixins","storeGlobals","layoutClient","layoutApp","Header","Sidebar","BottomNavigationBar"],"mappings":";;;;;;;;;;;AAkBA,SAAS,kBAAkB,KAAK,OAAO,QAAQ,UAAU,CAAA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ACD;AAAA,EACF;AACH;"}
|
package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const IconSearch = require("../../../../icons/navigation/IconSearch.vue.cjs");
|
5
|
-
const Field = require("../../../../../components/Field/Field.
|
5
|
+
const Field = require("../../../../../components/Field/Field.vue2.cjs");
|
6
6
|
const _hoisted_1 = { class: "flex-v-center flex-nowrap flex pd-small bg-light w-100 radius-big" };
|
7
7
|
const _sfc_main = {
|
8
8
|
__name: "BlockSearch",
|
package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref, openBlock, createElementBlock, createVNode } from "vue";
|
2
2
|
import _sfc_main$1 from "../../../../icons/navigation/IconSearch.vue.js";
|
3
|
-
import Field from "../../../../../components/Field/Field.
|
3
|
+
import Field from "../../../../../components/Field/Field.vue2.js";
|
4
4
|
const _hoisted_1 = { class: "flex-v-center flex-nowrap flex pd-small bg-light w-100 radius-big" };
|
5
5
|
const _sfc_main = {
|
6
6
|
__name: "BlockSearch",
|
package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs
CHANGED
@@ -5,9 +5,9 @@ const vueRouter = require("vue-router");
|
|
5
5
|
const PlaceholderUserpic = require("../../../../icons/placeholders/PlaceholderUserpic.vue.cjs");
|
6
6
|
const FormReport = require("../../../../reports/components/sections/FormReport.vue.cjs");
|
7
7
|
const Tooltip = require("../../../../../components/Tooltip/Tooltip.vue2.cjs");
|
8
|
-
const Dropdown = require("../../../../../components/Dropdown/Dropdown.
|
9
|
-
;/* empty css
|
10
|
-
;/* empty css
|
8
|
+
const Dropdown = require("../../../../../components/Dropdown/Dropdown.vue.cjs");
|
9
|
+
;/* empty css */
|
10
|
+
;/* empty css */
|
11
11
|
require("../../../../auth/views/store/auth.cjs");
|
12
12
|
require("../../../../organizations/store/memberships.cjs");
|
13
13
|
const IconEllipsis = require("../../../../icons/navigation/IconEllipsis.vue.cjs");
|