@ozdao/prometheus-framework 0.2.95 → 0.2.97

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. package/dist/orders.server.js +12 -12
  2. package/dist/orders.server.mjs +12 -12
  3. package/dist/organizations.server.js +2 -1
  4. package/dist/organizations.server.mjs +2 -1
  5. package/dist/prometheus-framework/src/components/Completion/Completion.vue.cjs +1 -1
  6. package/dist/prometheus-framework/src/components/Completion/Completion.vue.js +17 -17
  7. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
  8. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +1 -36
  9. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
  10. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +36 -1
  11. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  12. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  13. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  14. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  15. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  16. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +1 -13
  17. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  18. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +13 -1
  19. package/dist/prometheus-framework/src/modules/orders/store/customers.store.cjs +1 -1
  20. package/dist/prometheus-framework/src/modules/orders/store/customers.store.js +3 -3
  21. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  22. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +1 -1
  23. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  24. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
  25. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  26. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
  27. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  29. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  31. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  33. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  34. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
  35. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  36. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +12 -12
  37. package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs +1 -1
  38. package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js +18 -18
  39. package/dist/style.css +1 -1
  40. package/package.json +1 -1
  41. package/src/components/Completion/Completion.vue +2 -2
  42. package/src/modules/globals/services/globals.crud.js +2 -0
  43. package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +1 -1
  44. package/src/modules/orders/controllers/orders.controller.js +3 -2
  45. package/src/modules/orders/routes/orders.routes.js +9 -9
  46. package/src/modules/orders/store/customers.store.js +1 -1
  47. package/src/modules/organizations/components/pages/Organizations.vue +2 -1
  48. package/src/modules/organizations/controllers/organizations.controller.js +5 -4
  49. package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
  50. package/src/modules/users/components/sections/ProfileCompletion.vue +2 -2
  51. package/src/modules/users/components/pages/ProfileOrganizations.vue +0 -97
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <section class="w-100 mn-b-semi radius-medium pd-medium bg-main t-black">
2
+ <section class="w-100 mn-b-semi radius-medium pd-medium bg-second t-black">
3
3
  <div class="mn-b-thin flex-v-center flex-nowrap flex">
4
4
  <h4>
5
5
  {{text}}
@@ -22,7 +22,7 @@
22
22
  </div>
23
23
 
24
24
  <div class=" w-100 h-2r pos-relative pd-nano bg-black radius-big">
25
- <div :style="`width: ${completionPercentage}%`"class="h-100 bg-main mn-b-thin radius-big">
25
+ <div :style="`width: ${completionPercentage}%`"class="h-100 bg-second mn-b-thin radius-big">
26
26
  </div>
27
27
  </div>
28
28
 
@@ -1,97 +0,0 @@
1
- <template>
2
- <div class="pd-thin">
3
- <header class="mn-b-medium flex-v-center flex-nowrap flex">
4
- <h2 class="mn-r-medium">Groups</h2>
5
- <button
6
- v-if="auth.state.user._id === route.params._id"
7
- @click="$router.push({
8
- name: 'Create Organization'
9
- })"
10
- class="radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second">
11
- +
12
- </button>
13
- </header>
14
-
15
- <Tab
16
- v-model:selected="tabOrganization"
17
- :tabs="[
18
- { name: 'Member', value: 'member' },
19
- { name: 'Follower', value: 'follower' }
20
- ]"
21
- class="mn-b-medium mn-r-medium o-hidden h5 radius-big bg-grey"
22
- />
23
-
24
- <transition name="slide-fade">
25
- <Feed
26
- v-if="tabOrganization === 'member'"
27
- :states="{
28
- empty: {
29
- title: 'No Organization Found',
30
- description: 'Currently, there are no organization available.'
31
- }
32
- }"
33
- :store="{
34
- read: (options) => organizations.actions.read(options),
35
- state: organizations.state
36
- }"
37
- :options="{
38
- user: auth.state.user._id,
39
- member: auth.state.user._id,
40
- limit: 10
41
- }"
42
- v-slot="{
43
- items
44
- }"
45
- >
46
- <CardOrganization
47
- v-for="organization in items"
48
- :key="organization._id"
49
- :organization="organization"
50
- :user="auth.state.user"
51
- :showProducts="false"
52
- :showRating="false"
53
- :showFeatured="false"
54
- :showFollowers="false"
55
- @updateMembership="handleMembershipUpdate"
56
- class="mn-b-thin w-100 pd-0 bg-white radius-big o-hidden"
57
- />
58
- </Feed>
59
- </transition>
60
-
61
- <!-- <transition name="slide-fade">
62
- <Feed
63
- v-if="tabOrganization === 'follower'"
64
- :user="auth.state.user._id"
65
- :subscriber="route.params._id"
66
- />
67
- </transition> -->
68
- </div>
69
- </template>
70
-
71
- <script setup>
72
- import { watch, ref } from 'vue'
73
- import { useRoute, useRouter } from 'vue-router'
74
- // Components
75
- import Tab from '@pf/src/components/Tab/Tab.vue'
76
- import Feed from '@pf/src/components/Feed/Feed.vue'
77
-
78
- import CardOrganization from '@pf/src/modules/organizations/components/blocks/CardOrganization.vue'
79
-
80
- // import Feed from '@pf/src/modules/organizations/components/sections/Feed.vue';
81
-
82
- import * as auth from '@pf/src/modules/auth/store/auth';
83
- import * as organizations from '@pf/src/modules/organizations/store/organizations'
84
- // Accessing router
85
- const route = useRoute()
86
- const router = useRouter()
87
- // State
88
- let tab = route.query.tab ? route.query.tab : 'member';
89
-
90
- const tabOrganization = ref(tab)
91
-
92
- route.query.tab = tabOrganization.value
93
-
94
- watch(tabOrganization, (newValue) => {
95
- router.replace({ query: { ...route.query, tab: newValue } });
96
- });
97
- </script>