@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
package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs
CHANGED
@@ -3,9 +3,9 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
3
3
|
const vue = require("vue");
|
4
4
|
const IconEdit = require("../../../../icons/navigation/IconEdit.vue.cjs");
|
5
5
|
const IconAdd = require("../../../../icons/navigation/IconAdd.vue.cjs");
|
6
|
-
;/* empty css
|
7
|
-
;/* empty css
|
8
|
-
;/* empty css
|
6
|
+
;/* empty css */
|
7
|
+
;/* empty css */
|
8
|
+
;/* empty css */
|
9
9
|
const vueRouter = require("vue-router");
|
10
10
|
;/* empty css */
|
11
11
|
const _hoisted_1 = { class: "flex flex-nowrap gap-thin card-page-title" };
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { ref, resolveComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, createVNode, unref, withCtx, createTextVNode, toDisplayString, createBlock, createCommentVNode, Fragment, renderList } from "vue";
|
2
2
|
import _sfc_main$1 from "../../../../icons/navigation/IconEdit.vue.js";
|
3
3
|
import _sfc_main$2 from "../../../../icons/navigation/IconAdd.vue.js";
|
4
|
-
/* empty css
|
5
|
-
/* empty css
|
6
|
-
/* empty css
|
4
|
+
/* empty css */
|
5
|
+
/* empty css */
|
6
|
+
/* empty css */
|
7
7
|
import { useRouter } from "vue-router";
|
8
8
|
/* empty css */
|
9
9
|
const _hoisted_1 = { class: "flex flex-nowrap gap-thin card-page-title" };
|
@@ -4,8 +4,8 @@ const vue = require("vue");
|
|
4
4
|
const vueRouter = require("vue-router");
|
5
5
|
const mixins = require("../../../../globals/views/mixins/mixins.cjs");
|
6
6
|
const pages = require("../../store/pages.cjs");
|
7
|
-
const Button = require("../../../../../components/Button/Button.
|
8
|
-
;/* empty css
|
7
|
+
const Button = require("../../../../../components/Button/Button.vue2.cjs");
|
8
|
+
;/* empty css */
|
9
9
|
;/* empty css */
|
10
10
|
;/* empty css */
|
11
11
|
const Constructor = require("../../../../constructor/components/sections/Constructor.vue.cjs");
|
@@ -2,8 +2,8 @@ import { ref, onMounted, openBlock, createElementBlock, createVNode, createComme
|
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
3
3
|
import { useGlobalMixins } from "../../../../globals/views/mixins/mixins.js";
|
4
4
|
import { actions, state } from "../../store/pages.js";
|
5
|
-
import _sfc_main$2 from "../../../../../components/Button/Button.
|
6
|
-
/* empty css
|
5
|
+
import _sfc_main$2 from "../../../../../components/Button/Button.vue2.js";
|
6
|
+
/* empty css */
|
7
7
|
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
import _sfc_main$1 from "../../../../constructor/components/sections/Constructor.vue.js";
|
package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs
CHANGED
@@ -3,8 +3,8 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
3
3
|
const vue = require("vue");
|
4
4
|
const vueRouter = require("vue-router");
|
5
5
|
const Block = require("../../../../../components/Block/Block.vue.cjs");
|
6
|
-
const Popup = require("../../../../../components/Popup/Popup.
|
7
|
-
const Button = require("../../../../../components/Button/Button.
|
6
|
+
const Popup = require("../../../../../components/Popup/Popup.vue2.cjs");
|
7
|
+
const Button = require("../../../../../components/Button/Button.vue2.cjs");
|
8
8
|
const Constructor = require("../../../../constructor/components/sections/Constructor.vue.cjs");
|
9
9
|
const CardPage = require("../blocks/CardPage.vue.cjs");
|
10
10
|
const pages = require("../../store/pages.cjs");
|
package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { computed, ref, onMounted, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, createVNode, createElementVNode, createTextVNode, createCommentVNode } from "vue";
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
3
3
|
import _sfc_main$1 from "../../../../../components/Block/Block.vue.js";
|
4
|
-
import _sfc_main$3 from "../../../../../components/Popup/Popup.
|
5
|
-
import _sfc_main$5 from "../../../../../components/Button/Button.
|
4
|
+
import _sfc_main$3 from "../../../../../components/Popup/Popup.vue2.js";
|
5
|
+
import _sfc_main$5 from "../../../../../components/Button/Button.vue2.js";
|
6
6
|
import _sfc_main$4 from "../../../../constructor/components/sections/Constructor.vue.js";
|
7
7
|
import _sfc_main$2 from "../blocks/CardPage.vue.js";
|
8
8
|
import { actions } from "../../store/pages.js";
|
@@ -1,10 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
3
|
const vue = require("vue");
|
4
|
-
const axios = require("axios");
|
5
4
|
const globals = require("../../../globals/views/store/globals.cjs");
|
6
|
-
const
|
7
|
-
const $axios = axios.create({ baseURL: clientUrl });
|
5
|
+
const axiosInstance = require("../../../globals/views/utils/axios-instance.cjs");
|
8
6
|
const state = vue.reactive({
|
9
7
|
all: [],
|
10
8
|
current: {
|
@@ -18,7 +16,7 @@ const state = vue.reactive({
|
|
18
16
|
const actions = {
|
19
17
|
async create(page) {
|
20
18
|
try {
|
21
|
-
const response = await
|
19
|
+
const response = await axiosInstance.default.post(`/api/pages/create`, page);
|
22
20
|
return response.data;
|
23
21
|
} catch (error) {
|
24
22
|
globals.setError(error);
|
@@ -27,7 +25,7 @@ const actions = {
|
|
27
25
|
},
|
28
26
|
async read(options = {}) {
|
29
27
|
try {
|
30
|
-
const response = await
|
28
|
+
const response = await axiosInstance.default.get("/api/pages/read", { params: options });
|
31
29
|
return response.data;
|
32
30
|
} catch (error) {
|
33
31
|
globals.setError(error);
|
@@ -36,7 +34,7 @@ const actions = {
|
|
36
34
|
},
|
37
35
|
async update(page) {
|
38
36
|
try {
|
39
|
-
const response = await
|
37
|
+
const response = await axiosInstance.default.put(`/api/pages/update`, page);
|
40
38
|
state.current = response.data;
|
41
39
|
return response.data;
|
42
40
|
} catch (error) {
|
@@ -46,7 +44,7 @@ const actions = {
|
|
46
44
|
},
|
47
45
|
async delete(page) {
|
48
46
|
try {
|
49
|
-
const response = await
|
47
|
+
const response = await axiosInstance.default.delete(`/api/pages/delete`, {
|
50
48
|
data: page
|
51
49
|
});
|
52
50
|
state.all.splice(state.all.findIndex((p) => p._id == page), 1);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pages.cjs","sources":["../../../../../../../src/modules/pages/views/store/pages.js"],"sourcesContent":["import { reactive, watch } from \"vue\";\nimport
|
1
|
+
{"version":3,"file":"pages.cjs","sources":["../../../../../../../src/modules/pages/views/store/pages.js"],"sourcesContent":["import { reactive, watch } from \"vue\";\nimport { setError } from \"@pf/src/modules/globals/views/store/globals\";\n\nimport $axios from '@pf/src/modules/globals/views/utils/axios-instance.js';\n\nconst state = reactive({\n all: [],\n current: {\n name: \"\",\n localization: [],\n groups: [],\n url: \"\",\n content: [],\n },\n});\n\nconst actions = {\n async create(page) {\n try {\n const response = await $axios.post(`/api/pages/create`, page);\n\n return response.data;\n } catch (error) {\n setError(error);\n throw error;\n }\n },\n\n\n async read(options = {}) {\n try {\n const response = await $axios.get('/api/pages/read', { params: options });\n\n return response.data;\n } catch (error) {\n setError(error);\n throw error;\n }\n },\n\n\n async update(page) {\n try {\n const response = await $axios.put(`/api/pages/update`, page);\n\n state.current = response.data;\n return response.data;\n } catch (error) {\n setError(error);\n throw error;\n }\n },\n\n async delete(page) {\n try {\n const response = await $axios.delete(`/api/pages/delete`, { \n data: page\n });\n\n state.all.splice(state.all.findIndex((p) => p._id == page), 1);\n return response.data;\n } catch (error) {\n setError(error);\n throw error;\n }\n },\n};\n\nconst history = [];\nhistory.push(state);\n\nwatch(state, (newState) => {\n history.push(newState);\n});\n\nexport { state, actions };"],"names":["reactive","$axios","setError","watch"],"mappings":";;;;;AAKK,MAAC,QAAQA,IAAAA,SAAS;AAAA,EACrB,KAAK,CAAE;AAAA,EACP,SAAS;AAAA,IACP,MAAM;AAAA,IACN,cAAc,CAAE;AAAA,IAChB,QAAQ,CAAE;AAAA,IACV,KAAK;AAAA,IACL,SAAS,CAAE;AAAA,EACZ;AACH,CAAC;AAEI,MAAC,UAAU;AAAA,EACd,MAAM,OAAO,MAAM;AACjB,QAAI;AACF,YAAM,WAAW,MAAMC,sBAAO,KAAK,qBAAqB,IAAI;AAE5D,aAAO,SAAS;AAAA,IACjB,SAAQ,OAAO;AACdC,cAAQ,SAAC,KAAK;AACd,YAAM;AAAA,IACP;AAAA,EACF;AAAA,EAGD,MAAM,KAAK,UAAU,IAAI;AACvB,QAAI;AACF,YAAM,WAAW,MAAMD,cAAAA,QAAO,IAAI,mBAAmB,EAAE,QAAQ,QAAO,CAAE;AAExE,aAAO,SAAS;AAAA,IACjB,SAAQ,OAAO;AACdC,cAAQ,SAAC,KAAK;AACd,YAAM;AAAA,IACP;AAAA,EACF;AAAA,EAGD,MAAM,OAAO,MAAM;AACjB,QAAI;AACF,YAAM,WAAW,MAAMD,sBAAO,IAAI,qBAAqB,IAAI;AAE3D,YAAM,UAAU,SAAS;AACzB,aAAO,SAAS;AAAA,IACjB,SAAQ,OAAO;AACdC,cAAQ,SAAC,KAAK;AACd,YAAM;AAAA,IACP;AAAA,EACF;AAAA,EAED,MAAM,OAAO,MAAM;AACjB,QAAI;AACF,YAAM,WAAW,MAAMD,cAAAA,QAAO,OAAO,qBAAqB;AAAA,QACxD,MAAM;AAAA,MACd,CAAO;AAED,YAAM,IAAI,OAAO,MAAM,IAAI,UAAU,CAAC,MAAM,EAAE,OAAO,IAAI,GAAG,CAAC;AAC7D,aAAO,SAAS;AAAA,IACjB,SAAQ,OAAO;AACdC,cAAQ,SAAC,KAAK;AACd,YAAM;AAAA,IACP;AAAA,EACF;AACH;AAKAC,IAAAA,MAAM,OAAO,CAAC,aAAa;AAE3B,CAAC;;;"}
|
@@ -1,8 +1,6 @@
|
|
1
1
|
import { reactive, watch } from "vue";
|
2
|
-
import axios from "axios";
|
3
2
|
import { setError } from "../../../globals/views/store/globals.js";
|
4
|
-
|
5
|
-
const $axios = axios.create({ baseURL: clientUrl });
|
3
|
+
import $axios from "../../../globals/views/utils/axios-instance.js";
|
6
4
|
const state = reactive({
|
7
5
|
all: [],
|
8
6
|
current: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pages.js","sources":["../../../../../../../src/modules/pages/views/store/pages.js"],"sourcesContent":["import { reactive, watch } from \"vue\";\nimport
|
1
|
+
{"version":3,"file":"pages.js","sources":["../../../../../../../src/modules/pages/views/store/pages.js"],"sourcesContent":["import { reactive, watch } from \"vue\";\nimport { setError } from \"@pf/src/modules/globals/views/store/globals\";\n\nimport $axios from '@pf/src/modules/globals/views/utils/axios-instance.js';\n\nconst state = reactive({\n all: [],\n current: {\n name: \"\",\n localization: [],\n groups: [],\n url: \"\",\n content: [],\n },\n});\n\nconst actions = {\n async create(page) {\n try {\n const response = await $axios.post(`/api/pages/create`, page);\n\n return response.data;\n } catch (error) {\n setError(error);\n throw error;\n }\n },\n\n\n async read(options = {}) {\n try {\n const response = await $axios.get('/api/pages/read', { params: options });\n\n return response.data;\n } catch (error) {\n setError(error);\n throw error;\n }\n },\n\n\n async update(page) {\n try {\n const response = await $axios.put(`/api/pages/update`, page);\n\n state.current = response.data;\n return response.data;\n } catch (error) {\n setError(error);\n throw error;\n }\n },\n\n async delete(page) {\n try {\n const response = await $axios.delete(`/api/pages/delete`, { \n data: page\n });\n\n state.all.splice(state.all.findIndex((p) => p._id == page), 1);\n return response.data;\n } catch (error) {\n setError(error);\n throw error;\n }\n },\n};\n\nconst history = [];\nhistory.push(state);\n\nwatch(state, (newState) => {\n history.push(newState);\n});\n\nexport { state, actions };"],"names":[],"mappings":";;;AAKK,MAAC,QAAQ,SAAS;AAAA,EACrB,KAAK,CAAE;AAAA,EACP,SAAS;AAAA,IACP,MAAM;AAAA,IACN,cAAc,CAAE;AAAA,IAChB,QAAQ,CAAE;AAAA,IACV,KAAK;AAAA,IACL,SAAS,CAAE;AAAA,EACZ;AACH,CAAC;AAEI,MAAC,UAAU;AAAA,EACd,MAAM,OAAO,MAAM;AACjB,QAAI;AACF,YAAM,WAAW,MAAM,OAAO,KAAK,qBAAqB,IAAI;AAE5D,aAAO,SAAS;AAAA,IACjB,SAAQ,OAAO;AACd,eAAS,KAAK;AACd,YAAM;AAAA,IACP;AAAA,EACF;AAAA,EAGD,MAAM,KAAK,UAAU,IAAI;AACvB,QAAI;AACF,YAAM,WAAW,MAAM,OAAO,IAAI,mBAAmB,EAAE,QAAQ,QAAO,CAAE;AAExE,aAAO,SAAS;AAAA,IACjB,SAAQ,OAAO;AACd,eAAS,KAAK;AACd,YAAM;AAAA,IACP;AAAA,EACF;AAAA,EAGD,MAAM,OAAO,MAAM;AACjB,QAAI;AACF,YAAM,WAAW,MAAM,OAAO,IAAI,qBAAqB,IAAI;AAE3D,YAAM,UAAU,SAAS;AACzB,aAAO,SAAS;AAAA,IACjB,SAAQ,OAAO;AACd,eAAS,KAAK;AACd,YAAM;AAAA,IACP;AAAA,EACF;AAAA,EAED,MAAM,OAAO,MAAM;AACjB,QAAI;AACF,YAAM,WAAW,MAAM,OAAO,OAAO,qBAAqB;AAAA,QACxD,MAAM;AAAA,MACd,CAAO;AAED,YAAM,IAAI,OAAO,MAAM,IAAI,UAAU,CAAC,MAAM,EAAE,OAAO,IAAI,GAAG,CAAC;AAC7D,aAAO,SAAS;AAAA,IACjB,SAAQ,OAAO;AACd,eAAS,KAAK;AACd,YAAM;AAAA,IACP;AAAA,EACF;AACH;AAKA,MAAM,OAAO,CAAC,aAAa;AAE3B,CAAC;"}
|
package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
|
-
const Field = require("../../../../components/Field/Field.
|
5
|
-
const Select = require("../../../../components/Select/Select.
|
4
|
+
const Field = require("../../../../components/Field/Field.vue2.cjs");
|
5
|
+
const Select = require("../../../../components/Select/Select.vue2.cjs");
|
6
6
|
;/* empty css */
|
7
7
|
const IconAdd = require("../../../icons/navigation/IconAdd.vue.cjs");
|
8
8
|
const IconDelete = require("../../../icons/navigation/IconDelete.vue.cjs");
|
package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref, computed, watch, openBlock, createElementBlock, createElementVNode, toDisplayString, createBlock, withCtx, createVNode, createCommentVNode, unref } from "vue";
|
2
|
-
import Field from "../../../../components/Field/Field.
|
3
|
-
import Select from "../../../../components/Select/Select.
|
2
|
+
import Field from "../../../../components/Field/Field.vue2.js";
|
3
|
+
import Select from "../../../../components/Select/Select.vue2.js";
|
4
4
|
/* empty css */
|
5
5
|
import _sfc_main$1 from "../../../icons/navigation/IconAdd.vue.js";
|
6
6
|
import _sfc_main$2 from "../../../icons/navigation/IconDelete.vue.js";
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
|
-
const Loader = require("../../../../components/Loader/Loader.
|
4
|
+
const Loader = require("../../../../components/Loader/Loader.vue2.cjs");
|
5
5
|
;/* empty css */
|
6
6
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
|
7
7
|
const _hoisted_1 = { class: "product-360-viewer" };
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref, computed, watch, onMounted, onUnmounted, openBlock, createElementBlock, createStaticVNode, createVNode, Transition, withCtx, withModifiers, createCommentVNode, createBlock } from "vue";
|
2
|
-
import Loader from "../../../../components/Loader/Loader.
|
2
|
+
import Loader from "../../../../components/Loader/Loader.vue2.js";
|
3
3
|
/* empty css */
|
4
4
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
5
5
|
const _hoisted_1 = { class: "product-360-viewer" };
|
package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
|
-
const Popup = require("../../../../components/Popup/Popup.
|
4
|
+
const Popup = require("../../../../components/Popup/Popup.vue2.cjs");
|
5
5
|
const PhotoViewer = require("../../../../components/PhotoViewer/PhotoViewer.vue.cjs");
|
6
6
|
;/* empty css */
|
7
7
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
|
package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref, openBlock, createElementBlock, createElementVNode, Fragment, renderList, createVNode, withCtx } from "vue";
|
2
|
-
import _sfc_main$1 from "../../../../components/Popup/Popup.
|
2
|
+
import _sfc_main$1 from "../../../../components/Popup/Popup.vue2.js";
|
3
3
|
import _sfc_main$2 from "../../../../components/PhotoViewer/PhotoViewer.vue.js";
|
4
4
|
/* empty css */
|
5
5
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.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 vueRouter = require("vue-router");
|
5
|
-
const Field = require("../../../../components/Field/Field.
|
5
|
+
const Field = require("../../../../components/Field/Field.vue2.cjs");
|
6
6
|
const leftovers = require("../../store/leftovers.cjs");
|
7
7
|
;/* empty css */
|
8
8
|
const _hoisted_1 = { class: "flex-column flex-wrap block" };
|
package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { openBlock, createElementBlock, createElementVNode, createCommentVNode, Fragment, renderList, toDisplayString, createVNode } from "vue";
|
2
2
|
import { useRouter, useRoute } from "vue-router";
|
3
|
-
import Field from "../../../../components/Field/Field.
|
3
|
+
import Field from "../../../../components/Field/Field.vue2.js";
|
4
4
|
import { actions } from "../../store/leftovers.js";
|
5
5
|
/* empty css */
|
6
6
|
const _hoisted_1 = { class: "flex-column flex-wrap block" };
|
package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.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 vueRouter = require("vue-router");
|
5
|
-
;/* empty css
|
5
|
+
;/* empty css */
|
6
6
|
const CardPosition = require("./CardPosition.vue.cjs");
|
7
7
|
const leftovers = require("../../store/leftovers.cjs");
|
8
8
|
;/* empty css */
|
package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { openBlock, createElementBlock, createElementVNode, createCommentVNode, Fragment, renderList, toDisplayString, createVNode } from "vue";
|
2
2
|
import { useRouter, useRoute } from "vue-router";
|
3
|
-
/* empty css
|
3
|
+
/* empty css */
|
4
4
|
import _sfc_main$1 from "./CardPosition.vue.js";
|
5
5
|
import { actions } from "../../store/leftovers.js";
|
6
6
|
/* empty css */
|
@@ -4,7 +4,7 @@ const vue = require("vue");
|
|
4
4
|
const vueDraggableNext_esmBundler = require("../../../../../../node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.cjs");
|
5
5
|
const vueRouter = require("vue-router");
|
6
6
|
const categories = require("../../store/categories.cjs");
|
7
|
-
const Button = require("../../../../components/Button/Button.
|
7
|
+
const Button = require("../../../../components/Button/Button.vue2.cjs");
|
8
8
|
const Block = require("../../../../components/Block/Block.vue.cjs");
|
9
9
|
const CardCategory = require("../blocks/CardCategory.vue.cjs");
|
10
10
|
const _hoisted_1 = { class: "pd-thin" };
|
@@ -2,7 +2,7 @@ import { onMounted, resolveComponent, openBlock, createElementBlock, createVNode
|
|
2
2
|
import { VueDraggableNext } from "../../../../../../node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js";
|
3
3
|
import { useRoute, useRouter } from "vue-router";
|
4
4
|
import { actions, state } from "../../store/categories.js";
|
5
|
-
import _sfc_main$2 from "../../../../components/Button/Button.
|
5
|
+
import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
|
6
6
|
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
7
7
|
import _sfc_main$3 from "../blocks/CardCategory.vue.js";
|
8
8
|
const _hoisted_1 = { class: "pd-thin" };
|
package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs
CHANGED
@@ -3,9 +3,9 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
3
3
|
const vue = require("vue");
|
4
4
|
const vueRouter = require("vue-router");
|
5
5
|
const IconDelete = require("../../../icons/navigation/IconDelete.vue.cjs");
|
6
|
-
const Button = require("../../../../components/Button/Button.
|
7
|
-
const Select = require("../../../../components/Select/Select.
|
8
|
-
const Field = require("../../../../components/Field/Field.
|
6
|
+
const Button = require("../../../../components/Button/Button.vue2.cjs");
|
7
|
+
const Select = require("../../../../components/Select/Select.vue2.cjs");
|
8
|
+
const Field = require("../../../../components/Field/Field.vue2.cjs");
|
9
9
|
const Block = require("../../../../components/Block/Block.vue.cjs");
|
10
10
|
const categories = require("../../store/categories.cjs");
|
11
11
|
;/* empty css */
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { computed, openBlock, createElementBlock, Fragment, createVNode, withCtx, createElementVNode, toDisplayString, unref, createTextVNode, renderList } from "vue";
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
3
3
|
import _sfc_main$3 from "../../../icons/navigation/IconDelete.vue.js";
|
4
|
-
import _sfc_main$2 from "../../../../components/Button/Button.
|
5
|
-
import Select from "../../../../components/Select/Select.
|
6
|
-
import Field from "../../../../components/Field/Field.
|
4
|
+
import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
|
5
|
+
import Select from "../../../../components/Select/Select.vue2.js";
|
6
|
+
import Field from "../../../../components/Field/Field.vue2.js";
|
7
7
|
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
8
8
|
import { actions, state } from "../../store/categories.js";
|
9
9
|
/* empty css */
|
package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const Block = require("../../../../components/Block/Block.vue.cjs");
|
5
|
-
const Field = require("../../../../components/Field/Field.
|
5
|
+
const Field = require("../../../../components/Field/Field.vue2.cjs");
|
6
6
|
const Feed = require("../../../../components/Feed/Feed.vue.cjs");
|
7
|
-
const Select = require("../../../../components/Select/Select.
|
8
|
-
const Popup = require("../../../../components/Popup/Popup.
|
7
|
+
const Select = require("../../../../components/Select/Select.vue2.cjs");
|
8
|
+
const Popup = require("../../../../components/Popup/Popup.vue2.cjs");
|
9
9
|
;/* empty css */
|
10
10
|
const CardPosition = require("../blocks/CardPosition.vue.cjs");
|
11
11
|
const CardOrderItem = require("../../../orders/components/blocks/CardOrderItem.vue.cjs");
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { ref, computed, onMounted, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, createVNode, withCtx, Fragment, renderList, createBlock, createCommentVNode } from "vue";
|
2
2
|
import _sfc_main$4 from "../../../../components/Block/Block.vue.js";
|
3
|
-
import Field from "../../../../components/Field/Field.
|
3
|
+
import Field from "../../../../components/Field/Field.vue2.js";
|
4
4
|
import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
|
5
|
-
import Select from "../../../../components/Select/Select.
|
6
|
-
import _sfc_main$1 from "../../../../components/Popup/Popup.
|
5
|
+
import Select from "../../../../components/Select/Select.vue2.js";
|
6
|
+
import _sfc_main$1 from "../../../../components/Popup/Popup.vue2.js";
|
7
7
|
/* empty css */
|
8
8
|
import _sfc_main$5 from "../blocks/CardPosition.vue.js";
|
9
9
|
import _sfc_main$3 from "../../../orders/components/blocks/CardOrderItem.vue.js";
|
@@ -6,10 +6,10 @@ require("vue-i18n");
|
|
6
6
|
;/* empty css */
|
7
7
|
const Block = require("../../../../components/Block/Block.vue.cjs");
|
8
8
|
;/* empty css */
|
9
|
-
const Field = require("../../../../components/Field/Field.
|
9
|
+
const Field = require("../../../../components/Field/Field.vue2.cjs");
|
10
10
|
const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
|
11
|
-
const Button = require("../../../../components/Button/Button.
|
12
|
-
const Popup = require("../../../../components/Popup/Popup.
|
11
|
+
const Button = require("../../../../components/Button/Button.vue2.cjs");
|
12
|
+
const Popup = require("../../../../components/Popup/Popup.vue2.cjs");
|
13
13
|
const Feed = require("../../../../components/Feed/Feed.vue.cjs");
|
14
14
|
const EditImages = require("../../../../components/EditImages/EditImages.vue.cjs");
|
15
15
|
const IconDelete = require("../../../icons/navigation/IconDelete.vue.cjs");
|
@@ -4,10 +4,10 @@ import "vue-i18n";
|
|
4
4
|
/* empty css */
|
5
5
|
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
6
6
|
/* empty css */
|
7
|
-
import Field from "../../../../components/Field/Field.
|
7
|
+
import Field from "../../../../components/Field/Field.vue2.js";
|
8
8
|
import _sfc_main$9 from "../../../../components/Checkbox/Checkbox.vue.js";
|
9
|
-
import _sfc_main$2 from "../../../../components/Button/Button.
|
10
|
-
import _sfc_main$6 from "../../../../components/Popup/Popup.
|
9
|
+
import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
|
10
|
+
import _sfc_main$6 from "../../../../components/Popup/Popup.vue2.js";
|
11
11
|
import _sfc_main$7 from "../../../../components/Feed/Feed.vue.js";
|
12
12
|
import _sfc_main$3 from "../../../../components/EditImages/EditImages.vue.js";
|
13
13
|
import _sfc_main$a from "../../../icons/navigation/IconDelete.vue.js";
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
3
3
|
const vue = require("vue");
|
4
4
|
const vueRouter = require("vue-router");
|
5
5
|
const vueI18n = require("vue-i18n");
|
6
|
-
const Loader = require("../../../../components/Loader/Loader.
|
6
|
+
const Loader = require("../../../../components/Loader/Loader.vue2.cjs");
|
7
7
|
;/* empty css */
|
8
8
|
const FieldBig = require("../../../../components/FieldBig/FieldBig.vue.cjs");
|
9
9
|
const SectionProduct = require("../sections/SectionProduct.vue.cjs");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ref, watchEffect, onMounted, openBlock, createElementBlock, createBlock, createCommentVNode, createVNode, unref, isRef } from "vue";
|
2
2
|
import { useRouter } from "vue-router";
|
3
3
|
import { useI18n } from "vue-i18n";
|
4
|
-
import Loader from "../../../../components/Loader/Loader.
|
4
|
+
import Loader from "../../../../components/Loader/Loader.vue2.js";
|
5
5
|
/* empty css */
|
6
6
|
import _sfc_main$1 from "../../../../components/FieldBig/FieldBig.vue.js";
|
7
7
|
import _sfc_main$2 from "../sections/SectionProduct.vue.js";
|
@@ -9,7 +9,7 @@ require("vue-i18n");
|
|
9
9
|
const categories = require("../../store/categories.cjs");
|
10
10
|
const marketplace = require("../../../marketplace/store/marketplace.cjs");
|
11
11
|
;/* empty css */
|
12
|
-
;/* empty css
|
12
|
+
;/* empty css */
|
13
13
|
const BlockFilter = require("../../../globals/views/components/blocks/BlockFilter.vue.cjs");
|
14
14
|
const CardProduct = require("../blocks/CardProduct.vue.cjs");
|
15
15
|
const auth = require("../../../auth/views/store/auth.cjs");
|
@@ -7,7 +7,7 @@ import "vue-i18n";
|
|
7
7
|
import { actions } from "../../store/categories.js";
|
8
8
|
import { state } from "../../../marketplace/store/marketplace.js";
|
9
9
|
/* empty css */
|
10
|
-
/* empty css
|
10
|
+
/* empty css */
|
11
11
|
import _sfc_main$2 from "../../../globals/views/components/blocks/BlockFilter.vue.js";
|
12
12
|
import _sfc_main$4 from "../blocks/CardProduct.vue.js";
|
13
13
|
import { state as state$2 } from "../../../auth/views/store/auth.js";
|
package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
|
-
const Field = require("../../../../components/Field/Field.
|
4
|
+
const Field = require("../../../../components/Field/Field.vue2.cjs");
|
5
5
|
const _hoisted_1 = {
|
6
6
|
key: 0,
|
7
7
|
class: "mn-b-small w-100"
|
package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { toRefs, openBlock, createElementBlock, unref, createCommentVNode, Fragment, renderList, createElementVNode, createVNode } from "vue";
|
2
|
-
import Field from "../../../../components/Field/Field.
|
2
|
+
import Field from "../../../../components/Field/Field.vue2.js";
|
3
3
|
const _hoisted_1 = {
|
4
4
|
key: 0,
|
5
5
|
class: "mn-b-small w-100"
|
package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
|
-
;/* empty css
|
5
|
-
;/* empty css
|
6
|
-
const Field = require("../../../../components/Field/Field.
|
7
|
-
const Select = require("../../../../components/Select/Select.
|
4
|
+
;/* empty css */
|
5
|
+
;/* empty css */
|
6
|
+
const Field = require("../../../../components/Field/Field.vue2.cjs");
|
7
|
+
const Select = require("../../../../components/Select/Select.vue2.cjs");
|
8
8
|
const _sfc_main = {
|
9
9
|
__name: "EditProductInfo",
|
10
10
|
props: {
|
package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { openBlock, createElementBlock, Fragment, createVNode, withCtx } from "vue";
|
2
|
-
/* empty css
|
3
|
-
/* empty css
|
4
|
-
import Field from "../../../../components/Field/Field.
|
5
|
-
import Select from "../../../../components/Select/Select.
|
2
|
+
/* empty css */
|
3
|
+
/* empty css */
|
4
|
+
import Field from "../../../../components/Field/Field.vue2.js";
|
5
|
+
import Select from "../../../../components/Select/Select.vue2.js";
|
6
6
|
const _sfc_main = {
|
7
7
|
__name: "EditProductInfo",
|
8
8
|
props: {
|
package/dist/prometheus-framework/src/modules/products/components/sections/MenuSection.vue.cjs
ADDED
@@ -0,0 +1,128 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
+
const vue = require("vue");
|
4
|
+
const Loader = require("../../../../components/Loader/Loader.vue2.cjs");
|
5
|
+
const vueRouter = require("vue-router");
|
6
|
+
const vueI18n = require("vue-i18n");
|
7
|
+
const categories = require("../../store/categories.cjs");
|
8
|
+
const products = require("../../store/products.cjs");
|
9
|
+
;/* empty css */
|
10
|
+
const _hoisted_1 = {
|
11
|
+
id: "main-menu",
|
12
|
+
class: "pd-thin pos-relative"
|
13
|
+
};
|
14
|
+
const _hoisted_2 = {
|
15
|
+
key: 0,
|
16
|
+
class: "w-100 h-15r radius-big flex-center bg-light"
|
17
|
+
};
|
18
|
+
const _hoisted_3 = {
|
19
|
+
key: 1,
|
20
|
+
class: "gap-thin grid-container"
|
21
|
+
};
|
22
|
+
const _hoisted_4 = {
|
23
|
+
key: 0,
|
24
|
+
class: "w-33 radius-100 o-hidden mn-r-medium",
|
25
|
+
autoplay: "",
|
26
|
+
loop: "",
|
27
|
+
muted: ""
|
28
|
+
};
|
29
|
+
const _hoisted_5 = { class: "w-100 flex-v-center flex-nowrap flex" };
|
30
|
+
const _hoisted_6 = { class: "t-black capitalize h3" };
|
31
|
+
const _hoisted_7 = ["src"];
|
32
|
+
const _hoisted_8 = {
|
33
|
+
key: 0,
|
34
|
+
class: "mn-t-thin mn-b-thin t-transp t-black p-medium"
|
35
|
+
};
|
36
|
+
const _hoisted_9 = {
|
37
|
+
key: 1,
|
38
|
+
class: "mn-t-small radius-extra hover-bg-black t-medium t-black bg-main hover-t-white button-small button"
|
39
|
+
};
|
40
|
+
const _sfc_main = {
|
41
|
+
__name: "MenuSection",
|
42
|
+
setup(__props) {
|
43
|
+
vueRouter.useRouter();
|
44
|
+
const text = {
|
45
|
+
locale: "en",
|
46
|
+
messages: {
|
47
|
+
en: {
|
48
|
+
categories: []
|
49
|
+
},
|
50
|
+
ru: {
|
51
|
+
categories: []
|
52
|
+
}
|
53
|
+
}
|
54
|
+
};
|
55
|
+
categories.state.all.forEach((category) => {
|
56
|
+
category.localization.forEach((localization) => {
|
57
|
+
text.messages[localization.locale].categories.push(localization.text);
|
58
|
+
});
|
59
|
+
});
|
60
|
+
vueI18n.useI18n(text);
|
61
|
+
const countProduct = vue.ref(0);
|
62
|
+
const menu = vue.ref(false);
|
63
|
+
vue.onMounted(async () => {
|
64
|
+
countProduct.value = await products.actions.read({ count: true });
|
65
|
+
await categories.actions.fetchCategories();
|
66
|
+
menu.value = true;
|
67
|
+
});
|
68
|
+
return (_ctx, _cache) => {
|
69
|
+
const _component_router_link = vue.resolveComponent("router-link");
|
70
|
+
return vue.openBlock(), vue.createElementBlock("section", _hoisted_1, [
|
71
|
+
_cache[1] || (_cache[1] = vue.createElementVNode("h2", { class: "w-m-60r mn-auto pd-t-big pd-b-big t-center" }, [
|
72
|
+
vue.createTextVNode(" Weed and Accessories to "),
|
73
|
+
vue.createElementVNode("br"),
|
74
|
+
vue.createElementVNode("b", null, "Enhance Your Smoking Experience")
|
75
|
+
], -1)),
|
76
|
+
vue.createVNode(vue.Transition, {
|
77
|
+
name: "fade",
|
78
|
+
mode: "out-in",
|
79
|
+
appear: ""
|
80
|
+
}, {
|
81
|
+
default: vue.withCtx(() => [
|
82
|
+
!menu.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
|
83
|
+
vue.createVNode(Loader.default, { class: "pos-relative" })
|
84
|
+
])) : (vue.openBlock(), vue.createElementBlock("ul", _hoisted_3, [
|
85
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(categories.state.all.slice(0, 5), (category, index) => {
|
86
|
+
return vue.openBlock(), vue.createBlock(_component_router_link, {
|
87
|
+
to: _ctx.getMarketplaceLink([category.url]),
|
88
|
+
key: category,
|
89
|
+
class: "cursor-pointer hover-scale-0 flex-v-center flex-h-center flex-nowrap flex-row flex bg-light radius-big pd-medium grid-item"
|
90
|
+
}, {
|
91
|
+
default: vue.withCtx(() => [
|
92
|
+
category.url === "buds" ? (vue.openBlock(), vue.createElementBlock("video", _hoisted_4, _cache[0] || (_cache[0] = [
|
93
|
+
vue.createElementVNode("source", {
|
94
|
+
src: "/output.webm",
|
95
|
+
type: "video/webm"
|
96
|
+
}, null, -1)
|
97
|
+
]))) : vue.createCommentVNode("", true),
|
98
|
+
vue.createElementVNode("div", {
|
99
|
+
class: vue.normalizeClass(["w-100", { "mn-r-auto": category.url === "buds" }])
|
100
|
+
}, [
|
101
|
+
vue.createElementVNode("div", _hoisted_5, [
|
102
|
+
vue.createElementVNode("h3", _hoisted_6, vue.toDisplayString(category.name), 1),
|
103
|
+
category.url !== "buds" ? (vue.openBlock(), vue.createElementBlock("img", {
|
104
|
+
key: 0,
|
105
|
+
loading: "lazy",
|
106
|
+
src: "/icons/categories/" + category.url + ".svg",
|
107
|
+
class: "i-extra t-transp mn-l-auto"
|
108
|
+
}, null, 8, _hoisted_7)) : vue.createCommentVNode("", true)
|
109
|
+
]),
|
110
|
+
category.url === "buds" ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_8, " Unveiling the Exceptional User Curated Best Buds ")) : vue.createCommentVNode("", true),
|
111
|
+
category.url === "buds" ? (vue.openBlock(), vue.createElementBlock("button", _hoisted_9, [
|
112
|
+
vue.createElementVNode("span", null, "Check " + vue.toDisplayString(countProduct.value.count) + " products →", 1)
|
113
|
+
])) : vue.createCommentVNode("", true)
|
114
|
+
], 2)
|
115
|
+
]),
|
116
|
+
_: 2
|
117
|
+
}, 1032, ["to"]);
|
118
|
+
}), 128))
|
119
|
+
]))
|
120
|
+
]),
|
121
|
+
_: 1
|
122
|
+
})
|
123
|
+
]);
|
124
|
+
};
|
125
|
+
}
|
126
|
+
};
|
127
|
+
exports.default = _sfc_main;
|
128
|
+
//# sourceMappingURL=MenuSection.vue.cjs.map
|