@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
@@ -0,0 +1,21 @@
|
|
1
|
+
<script setup>
|
2
|
+
import { defineProps } from 'vue';
|
3
|
+
|
4
|
+
const props = defineProps({
|
5
|
+
results: {
|
6
|
+
type: Object,
|
7
|
+
required: true
|
8
|
+
}
|
9
|
+
});
|
10
|
+
</script>
|
11
|
+
|
12
|
+
<template>
|
13
|
+
<div class="voting-result">
|
14
|
+
<h3>Voting Results</h3>
|
15
|
+
<ul>
|
16
|
+
<li v-for="(count, option) in results" :key="option">
|
17
|
+
{{ option }}: {{ count }} votes
|
18
|
+
</li>
|
19
|
+
</ul>
|
20
|
+
</div>
|
21
|
+
</template>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<script setup>
|
2
|
+
import { defineProps } from 'vue';
|
3
|
+
|
4
|
+
const props = defineProps({
|
5
|
+
results: {
|
6
|
+
type: Object,
|
7
|
+
required: true
|
8
|
+
}
|
9
|
+
});
|
10
|
+
</script>
|
11
|
+
|
12
|
+
<template>
|
13
|
+
<div class="voting-result">
|
14
|
+
<h3>Voting Results</h3>
|
15
|
+
<ul>
|
16
|
+
<li v-for="(count, option) in results" :key="option">
|
17
|
+
{{ option }}: {{ count }} votes
|
18
|
+
</li>
|
19
|
+
</ul>
|
20
|
+
</div>
|
21
|
+
</template>
|
@@ -0,0 +1,37 @@
|
|
1
|
+
<script setup>
|
2
|
+
import { defineProps, defineEmits } from 'vue';
|
3
|
+
|
4
|
+
const props = defineProps({
|
5
|
+
modelValue: {
|
6
|
+
type: Object,
|
7
|
+
required: true
|
8
|
+
}
|
9
|
+
});
|
10
|
+
|
11
|
+
const emit = defineEmits(['update:modelValue']);
|
12
|
+
|
13
|
+
const updateField = (field, value) => {
|
14
|
+
emit('update:modelValue', { ...props.modelValue, [field]: value });
|
15
|
+
};
|
16
|
+
</script>
|
17
|
+
|
18
|
+
<template>
|
19
|
+
<form>
|
20
|
+
<div>
|
21
|
+
<label for="name">Name:</label>
|
22
|
+
<input id="name" v-model="modelValue.name" @input="updateField('name', $event.target.value)" />
|
23
|
+
</div>
|
24
|
+
<div>
|
25
|
+
<label for="description">Description:</label>
|
26
|
+
<textarea id="description" v-model="modelValue.description" @input="updateField('description', $event.target.value)"></textarea>
|
27
|
+
</div>
|
28
|
+
<div>
|
29
|
+
<label for="status">Status:</label>
|
30
|
+
<select id="status" v-model="modelValue.status" @change="updateField('status', $event.target.value)">
|
31
|
+
<option value="draft">Draft</option>
|
32
|
+
<option value="active">Active</option>
|
33
|
+
<option value="completed">Completed</option>
|
34
|
+
</select>
|
35
|
+
</div>
|
36
|
+
</form>
|
37
|
+
</template>
|
@@ -0,0 +1,41 @@
|
|
1
|
+
<script setup>
|
2
|
+
import { defineProps, defineEmits } from 'vue';
|
3
|
+
|
4
|
+
const props = defineProps({
|
5
|
+
modelValue: {
|
6
|
+
type: Object,
|
7
|
+
required: true
|
8
|
+
}
|
9
|
+
});
|
10
|
+
|
11
|
+
const emit = defineEmits(['update:modelValue']);
|
12
|
+
|
13
|
+
const updateField = (field, value) => {
|
14
|
+
emit('update:modelValue', { ...props.modelValue, [field]: value });
|
15
|
+
};
|
16
|
+
</script>
|
17
|
+
|
18
|
+
<template>
|
19
|
+
<form>
|
20
|
+
<div>
|
21
|
+
<label for="name">Name:</label>
|
22
|
+
<input id="name" v-model="modelValue.name" @input="updateField('name', $event.target.value)" />
|
23
|
+
</div>
|
24
|
+
<div>
|
25
|
+
<label for="description">Description:</label>
|
26
|
+
<textarea id="description" v-model="modelValue.description" @input="updateField('description', $event.target.value)"></textarea>
|
27
|
+
</div>
|
28
|
+
<div>
|
29
|
+
<label for="status">Status:</label>
|
30
|
+
<select id="status" v-model="modelValue.status" @change="updateField('status', $event.target.value)">
|
31
|
+
<option value="todo">To Do</option>
|
32
|
+
<option value="inProgress">In Progress</option>
|
33
|
+
<option value="done">Done</option>
|
34
|
+
</select>
|
35
|
+
</div>
|
36
|
+
<div>
|
37
|
+
<label for="assignedTo">Assigned To:</label>
|
38
|
+
<input id="assignedTo" v-model="modelValue.assignedTo" @input="updateField('assignedTo', $event.target.value)" />
|
39
|
+
</div>
|
40
|
+
</form>
|
41
|
+
</template>
|
@@ -0,0 +1,37 @@
|
|
1
|
+
<script setup>
|
2
|
+
import { defineProps, defineEmits } from 'vue';
|
3
|
+
|
4
|
+
const props = defineProps({
|
5
|
+
modelValue: {
|
6
|
+
type: Object,
|
7
|
+
required: true
|
8
|
+
}
|
9
|
+
});
|
10
|
+
|
11
|
+
const emit = defineEmits(['update:modelValue']);
|
12
|
+
|
13
|
+
const updateField = (field, value) => {
|
14
|
+
emit('update:modelValue', { ...props.modelValue, [field]: value });
|
15
|
+
};
|
16
|
+
</script>
|
17
|
+
|
18
|
+
<template>
|
19
|
+
<form>
|
20
|
+
<div>
|
21
|
+
<label for="title">Title:</label>
|
22
|
+
<input id="title" v-model="modelValue.title" @input="updateField('title', $event.target.value)" />
|
23
|
+
</div>
|
24
|
+
<div>
|
25
|
+
<label for="description">Description:</label>
|
26
|
+
<textarea id="description" v-model="modelValue.description" @input="updateField('description', $event.target.value)"></textarea>
|
27
|
+
</div>
|
28
|
+
<div>
|
29
|
+
<label for="startDate">Start Date:</label>
|
30
|
+
<input id="startDate" type="datetime-local" v-model="modelValue.startDate" @input="updateField('startDate', $event.target.value)" />
|
31
|
+
</div>
|
32
|
+
<div>
|
33
|
+
<label for="endDate">End Date:</label>
|
34
|
+
<input id="endDate" type="datetime-local" v-model="modelValue.endDate" @input="updateField('endDate', $event.target.value)" />
|
35
|
+
</div>
|
36
|
+
</form>
|
37
|
+
</template>
|
@@ -0,0 +1,29 @@
|
|
1
|
+
<script setup>
|
2
|
+
import { ref } from 'vue';
|
3
|
+
import { defineProps } from 'vue';
|
4
|
+
import { votesActions } from '../store/votes';
|
5
|
+
|
6
|
+
const props = defineProps({
|
7
|
+
votingId: {
|
8
|
+
type: String,
|
9
|
+
required: true
|
10
|
+
}
|
11
|
+
});
|
12
|
+
|
13
|
+
const choice = ref('');
|
14
|
+
|
15
|
+
const castVote = async () => {
|
16
|
+
await votesActions.castVote(props.votingId, { choice: choice.value });
|
17
|
+
// Show success message or update UI
|
18
|
+
};
|
19
|
+
</script>
|
20
|
+
|
21
|
+
<template>
|
22
|
+
<form @submit.prevent="castVote">
|
23
|
+
<div>
|
24
|
+
<label for="choice">Your Choice:</label>
|
25
|
+
<input id="choice" v-model="choice" required />
|
26
|
+
</div>
|
27
|
+
<button type="submit">Cast Vote</button>
|
28
|
+
</form>
|
29
|
+
</template>
|
@@ -0,0 +1,102 @@
|
|
1
|
+
import { reactive, watch } from "vue";
|
2
|
+
|
3
|
+
import { setError } from "@pf/src/modules/globals/views/store/globals";
|
4
|
+
|
5
|
+
import $axios from '@pf/src/modules/globals/views/utils/axios-instance.js';
|
6
|
+
|
7
|
+
// Initiatives Store
|
8
|
+
const initiativesState = reactive({
|
9
|
+
all: [],
|
10
|
+
current: {
|
11
|
+
name: "",
|
12
|
+
description: "",
|
13
|
+
status: "",
|
14
|
+
createdBy: "",
|
15
|
+
createdAt: null,
|
16
|
+
updatedAt: null,
|
17
|
+
},
|
18
|
+
});
|
19
|
+
|
20
|
+
const initiativesActions = {
|
21
|
+
async getAllInitiatives() {
|
22
|
+
try {
|
23
|
+
const response = await $axios.get('/api/initiatives');
|
24
|
+
initiativesState.all = response.data;
|
25
|
+
return response.data;
|
26
|
+
} catch (error) {
|
27
|
+
setError(error);
|
28
|
+
throw error;
|
29
|
+
}
|
30
|
+
},
|
31
|
+
async getInitiativeById(id) {
|
32
|
+
try {
|
33
|
+
const response = await $axios.get(`/api/initiatives/${id}`);
|
34
|
+
initiativesState.current = response.data;
|
35
|
+
return response.data;
|
36
|
+
} catch (error) {
|
37
|
+
setError(error);
|
38
|
+
throw error;
|
39
|
+
}
|
40
|
+
},
|
41
|
+
async createInitiative(initiative) {
|
42
|
+
try {
|
43
|
+
const response = await $axios.post('/api/initiatives', initiative);
|
44
|
+
initiativesState.all.push(response.data);
|
45
|
+
return response.data;
|
46
|
+
} catch (error) {
|
47
|
+
setError(error);
|
48
|
+
throw error;
|
49
|
+
}
|
50
|
+
},
|
51
|
+
async updateInitiative(initiative) {
|
52
|
+
try {
|
53
|
+
const response = await $axios.put(`/api/initiatives/${initiative.id}`, initiative);
|
54
|
+
const index = initiativesState.all.findIndex(i => i.id === initiative.id);
|
55
|
+
if (index !== -1) {
|
56
|
+
initiativesState.all[index] = response.data;
|
57
|
+
}
|
58
|
+
return response.data;
|
59
|
+
} catch (error) {
|
60
|
+
setError(error);
|
61
|
+
throw error;
|
62
|
+
}
|
63
|
+
},
|
64
|
+
async deleteInitiative(id) {
|
65
|
+
try {
|
66
|
+
await $axios.delete(`/api/initiatives/${id}`);
|
67
|
+
initiativesState.all = initiativesState.all.filter(i => i.id !== id);
|
68
|
+
} catch (error) {
|
69
|
+
setError(error);
|
70
|
+
throw error;
|
71
|
+
}
|
72
|
+
},
|
73
|
+
async approveInitiative(id) {
|
74
|
+
try {
|
75
|
+
const response = await $axios.post(`/api/initiatives/${id}/approve`);
|
76
|
+
return response.data;
|
77
|
+
} catch (error) {
|
78
|
+
setError(error);
|
79
|
+
throw error;
|
80
|
+
}
|
81
|
+
},
|
82
|
+
async rejectInitiative(id) {
|
83
|
+
try {
|
84
|
+
const response = await $axios.post(`/api/initiatives/${id}/reject`);
|
85
|
+
return response.data;
|
86
|
+
} catch (error) {
|
87
|
+
setError(error);
|
88
|
+
throw error;
|
89
|
+
}
|
90
|
+
},
|
91
|
+
};
|
92
|
+
|
93
|
+
const initiativesHistory = [];
|
94
|
+
|
95
|
+
watch(initiativesState, (newState) => {
|
96
|
+
initiativesHistory.push(JSON.parse(JSON.stringify(newState)));
|
97
|
+
});
|
98
|
+
|
99
|
+
export {
|
100
|
+
initiativesState,
|
101
|
+
initiativesActions,
|
102
|
+
};
|
@@ -0,0 +1,104 @@
|
|
1
|
+
import { reactive, watch } from "vue";
|
2
|
+
|
3
|
+
import { setError } from "@pf/src/modules/globals/views/store/globals";
|
4
|
+
|
5
|
+
import $axios from '@pf/src/modules/globals/views/utils/axios-instance.js';
|
6
|
+
|
7
|
+
|
8
|
+
const tasksState = reactive({
|
9
|
+
all: [],
|
10
|
+
current: {
|
11
|
+
name: "",
|
12
|
+
description: "",
|
13
|
+
status: "",
|
14
|
+
assignedTo: "",
|
15
|
+
createdBy: "",
|
16
|
+
createdAt: null,
|
17
|
+
updatedAt: null,
|
18
|
+
},
|
19
|
+
});
|
20
|
+
|
21
|
+
const tasksActions = {
|
22
|
+
async getAllTasks() {
|
23
|
+
try {
|
24
|
+
const response = await $axios.get('/api/tasks');
|
25
|
+
tasksState.all = response.data;
|
26
|
+
return response.data;
|
27
|
+
} catch (error) {
|
28
|
+
setError(error);
|
29
|
+
throw error;
|
30
|
+
}
|
31
|
+
},
|
32
|
+
async getTaskById(id) {
|
33
|
+
try {
|
34
|
+
const response = await $axios.get(`/api/tasks/${id}`);
|
35
|
+
tasksState.current = response.data;
|
36
|
+
return response.data;
|
37
|
+
} catch (error) {
|
38
|
+
setError(error);
|
39
|
+
throw error;
|
40
|
+
}
|
41
|
+
},
|
42
|
+
async createTask(task) {
|
43
|
+
try {
|
44
|
+
const response = await $axios.post('/api/tasks', task);
|
45
|
+
tasksState.all.push(response.data);
|
46
|
+
return response.data;
|
47
|
+
} catch (error) {
|
48
|
+
setError(error);
|
49
|
+
throw error;
|
50
|
+
}
|
51
|
+
},
|
52
|
+
async updateTask(task) {
|
53
|
+
try {
|
54
|
+
const response = await $axios.put(`/api/tasks/${task.id}`, task);
|
55
|
+
const index = tasksState.all.findIndex(t => t.id === task.id);
|
56
|
+
if (index !== -1) {
|
57
|
+
tasksState.all[index] = response.data;
|
58
|
+
}
|
59
|
+
return response.data;
|
60
|
+
} catch (error) {
|
61
|
+
setError(error);
|
62
|
+
throw error;
|
63
|
+
}
|
64
|
+
},
|
65
|
+
async deleteTask(id) {
|
66
|
+
try {
|
67
|
+
await $axios.delete(`/api/tasks/${id}`);
|
68
|
+
tasksState.all = tasksState.all.filter(t => t.id !== id);
|
69
|
+
} catch (error) {
|
70
|
+
setError(error);
|
71
|
+
throw error;
|
72
|
+
}
|
73
|
+
},
|
74
|
+
async assignTask(id, userId) {
|
75
|
+
try {
|
76
|
+
const response = await $axios.post(`/api/tasks/${id}/assign`, { userId });
|
77
|
+
return response.data;
|
78
|
+
} catch (error) {
|
79
|
+
setError(error);
|
80
|
+
throw error;
|
81
|
+
}
|
82
|
+
},
|
83
|
+
async completeTask(id) {
|
84
|
+
try {
|
85
|
+
const response = await $axios.post(`/api/tasks/${id}/complete`);
|
86
|
+
return response.data;
|
87
|
+
} catch (error) {
|
88
|
+
setError(error);
|
89
|
+
throw error;
|
90
|
+
}
|
91
|
+
},
|
92
|
+
};
|
93
|
+
|
94
|
+
const tasksHistory = [];
|
95
|
+
|
96
|
+
watch(tasksState, (newState) => {
|
97
|
+
tasksHistory.push(JSON.parse(JSON.stringify(newState)));
|
98
|
+
});
|
99
|
+
|
100
|
+
|
101
|
+
export {
|
102
|
+
tasksState,
|
103
|
+
tasksActions
|
104
|
+
};
|
@@ -0,0 +1,115 @@
|
|
1
|
+
import { reactive, watch } from "vue";
|
2
|
+
|
3
|
+
import { setError } from "@pf/src/modules/globals/views/store/globals";
|
4
|
+
|
5
|
+
import $axios from '@pf/src/modules/globals/views/utils/axios-instance.js';
|
6
|
+
|
7
|
+
// Votings Store
|
8
|
+
const votingsState = reactive({
|
9
|
+
all: [],
|
10
|
+
current: {
|
11
|
+
title: "",
|
12
|
+
description: "",
|
13
|
+
status: "",
|
14
|
+
startDate: null,
|
15
|
+
endDate: null,
|
16
|
+
createdBy: "",
|
17
|
+
createdAt: null,
|
18
|
+
updatedAt: null,
|
19
|
+
},
|
20
|
+
});
|
21
|
+
|
22
|
+
const votingsActions = {
|
23
|
+
async getAllVotings() {
|
24
|
+
try {
|
25
|
+
const response = await $axios.get('/api/votings');
|
26
|
+
votingsState.all = response.data;
|
27
|
+
return response.data;
|
28
|
+
} catch (error) {
|
29
|
+
setError(error);
|
30
|
+
throw error;
|
31
|
+
}
|
32
|
+
},
|
33
|
+
async getVotingById(id) {
|
34
|
+
try {
|
35
|
+
const response = await $axios.get(`/api/votings/${id}`);
|
36
|
+
votingsState.current = response.data;
|
37
|
+
return response.data;
|
38
|
+
} catch (error) {
|
39
|
+
setError(error);
|
40
|
+
throw error;
|
41
|
+
}
|
42
|
+
},
|
43
|
+
async createVoting(voting) {
|
44
|
+
try {
|
45
|
+
const response = await $axios.post('/api/votings', voting);
|
46
|
+
votingsState.all.push(response.data);
|
47
|
+
return response.data;
|
48
|
+
} catch (error) {
|
49
|
+
setError(error);
|
50
|
+
throw error;
|
51
|
+
}
|
52
|
+
},
|
53
|
+
async updateVoting(voting) {
|
54
|
+
try {
|
55
|
+
const response = await $axios.put(`/api/votings/${voting.id}`, voting);
|
56
|
+
const index = votingsState.all.findIndex(v => v.id === voting.id);
|
57
|
+
if (index !== -1) {
|
58
|
+
votingsState.all[index] = response.data;
|
59
|
+
}
|
60
|
+
return response.data;
|
61
|
+
} catch (error) {
|
62
|
+
setError(error);
|
63
|
+
throw error;
|
64
|
+
}
|
65
|
+
},
|
66
|
+
async deleteVoting(id) {
|
67
|
+
try {
|
68
|
+
await $axios.delete(`/api/votings/${id}`);
|
69
|
+
votingsState.all = votingsState.all.filter(v => v.id !== id);
|
70
|
+
} catch (error) {
|
71
|
+
setError(error);
|
72
|
+
throw error;
|
73
|
+
}
|
74
|
+
},
|
75
|
+
async startVoting(id) {
|
76
|
+
try {
|
77
|
+
const response = await $axios.post(`/api/votings/${id}/start`);
|
78
|
+
return response.data;
|
79
|
+
} catch (error) {
|
80
|
+
setError(error);
|
81
|
+
throw error;
|
82
|
+
}
|
83
|
+
},
|
84
|
+
async endVoting(id) {
|
85
|
+
try {
|
86
|
+
const response = await $axios.post(`/api/votings/${id}/end`);
|
87
|
+
return response.data;
|
88
|
+
} catch (error) {
|
89
|
+
setError(error);
|
90
|
+
throw error;
|
91
|
+
}
|
92
|
+
},
|
93
|
+
async getVotingResults(id) {
|
94
|
+
try {
|
95
|
+
const response = await $axios.get(`/api/votings/${id}/results`);
|
96
|
+
return response.data;
|
97
|
+
} catch (error) {
|
98
|
+
setError(error);
|
99
|
+
throw error;
|
100
|
+
}
|
101
|
+
},
|
102
|
+
};
|
103
|
+
|
104
|
+
const votingsHistory = [];
|
105
|
+
|
106
|
+
watch(votingsState, (newState) => {
|
107
|
+
votingsHistory.push(JSON.parse(JSON.stringify(newState)));
|
108
|
+
});
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
export {
|
113
|
+
votingsState,
|
114
|
+
votingsActions
|
115
|
+
};
|
@@ -0,0 +1,81 @@
|
|
1
|
+
import { reactive, watch } from "vue";
|
2
|
+
|
3
|
+
import { setError } from "@pf/src/modules/globals/views/store/globals";
|
4
|
+
|
5
|
+
import $axios from '@pf/src/modules/globals/views/utils/axios-instance.js';
|
6
|
+
|
7
|
+
// Votes Store
|
8
|
+
const votesState = reactive({
|
9
|
+
all: [],
|
10
|
+
current: {
|
11
|
+
votingId: "",
|
12
|
+
userId: "",
|
13
|
+
choice: "",
|
14
|
+
createdAt: null,
|
15
|
+
},
|
16
|
+
});
|
17
|
+
|
18
|
+
const votesActions = {
|
19
|
+
async castVote(votingId, vote) {
|
20
|
+
try {
|
21
|
+
const response = await $axios.post(`/api/votings/${votingId}/vote`, vote);
|
22
|
+
votesState.all.push(response.data);
|
23
|
+
return response.data;
|
24
|
+
} catch (error) {
|
25
|
+
setError(error);
|
26
|
+
throw error;
|
27
|
+
}
|
28
|
+
},
|
29
|
+
async getVotesForVoting(votingId) {
|
30
|
+
try {
|
31
|
+
const response = await $axios.get(`/api/votings/${votingId}/votes`);
|
32
|
+
return response.data;
|
33
|
+
} catch (error) {
|
34
|
+
setError(error);
|
35
|
+
throw error;
|
36
|
+
}
|
37
|
+
},
|
38
|
+
async getUserVotes(userId) {
|
39
|
+
try {
|
40
|
+
const response = await $axios.get(`/api/users/${userId}/votes`);
|
41
|
+
return response.data;
|
42
|
+
} catch (error) {
|
43
|
+
setError(error);
|
44
|
+
throw error;
|
45
|
+
}
|
46
|
+
},
|
47
|
+
async updateVote(id, vote) {
|
48
|
+
try {
|
49
|
+
const response = await $axios.put(`/api/votes/${id}`, vote);
|
50
|
+
const index = votesState.all.findIndex(v => v.id === id);
|
51
|
+
if (index !== -1) {
|
52
|
+
votesState.all[index] = response.data;
|
53
|
+
}
|
54
|
+
return response.data;
|
55
|
+
} catch (error) {
|
56
|
+
setError(error);
|
57
|
+
throw error;
|
58
|
+
}
|
59
|
+
},
|
60
|
+
async deleteVote(id) {
|
61
|
+
try {
|
62
|
+
await $axios.delete(`/api/votes/${id}`);
|
63
|
+
votesState.all = votesState.all.filter(v => v.id !== id);
|
64
|
+
} catch (error) {
|
65
|
+
setError(error);
|
66
|
+
throw error;
|
67
|
+
}
|
68
|
+
},
|
69
|
+
};
|
70
|
+
|
71
|
+
const votesHistory = [];
|
72
|
+
|
73
|
+
|
74
|
+
watch(votesState, (newState) => {
|
75
|
+
votesHistory.push(JSON.parse(JSON.stringify(newState)));
|
76
|
+
});
|
77
|
+
|
78
|
+
export {
|
79
|
+
votesState,
|
80
|
+
votesActions
|
81
|
+
};
|
@@ -4,7 +4,7 @@ import membersRoutes from './members.router.js';
|
|
4
4
|
import departmentRoutes from './departments.router.js'
|
5
5
|
|
6
6
|
import productRoutes from '@pf/src/modules/products/router/products.router.js'
|
7
|
-
import
|
7
|
+
import { createEventRoutes } from '@pf/src/modules/events/router/events';
|
8
8
|
import categoriesRoutes from '@pf/src/modules/products/router/categories.router.js'
|
9
9
|
import leftoversRoutes from '@pf/src/modules/products/router/leftovers.router.js'
|
10
10
|
|
@@ -16,6 +16,8 @@ import backofficeRoutes from '@pf/src/modules/organizations/router/backoffice.ro
|
|
16
16
|
|
17
17
|
import * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';
|
18
18
|
|
19
|
+
const eventsRoutes = createEventRoutes('Organization_');
|
20
|
+
|
19
21
|
const organizations = [{
|
20
22
|
path: 'organizations',
|
21
23
|
component: layoutEmpty,
|
@@ -67,16 +69,7 @@ const organizations = [{
|
|
67
69
|
...membersRoutes,
|
68
70
|
...departmentRoutes,
|
69
71
|
...productRoutes,
|
70
|
-
|
71
|
-
...route,
|
72
|
-
path: route.path,
|
73
|
-
name: `Organization_${route.name}`,
|
74
|
-
meta: {
|
75
|
-
...route.meta,
|
76
|
-
organizationScoped: true
|
77
|
-
},
|
78
|
-
props: true
|
79
|
-
})),
|
72
|
+
eventsRoutes,
|
80
73
|
...categoriesRoutes,
|
81
74
|
...leftoversRoutes,
|
82
75
|
...paymentsRoutes,
|
@@ -1,9 +1,7 @@
|
|
1
1
|
import { reactive, watch } from "vue";
|
2
|
-
import axios from "axios";
|
3
2
|
import { setError } from "@pf/src/modules/globals/views/store/globals";
|
4
3
|
|
5
|
-
|
6
|
-
const $axios = axios.create({ baseURL: clientUrl });
|
4
|
+
import $axios from '@pf/src/modules/globals/views/utils/axios-instance.js';
|
7
5
|
|
8
6
|
const state = reactive({
|
9
7
|
all: [],
|