@ozdao/prometheus-framework 0.2.211 → 0.2.212

Sign up to get free protection for your applications and to get access to all the features.
Files changed (179) hide show
  1. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  2. package/dist/prometheus-framework/src/components/Button/Button.vue.js +1 -1
  3. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  4. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
  5. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  6. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
  7. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  8. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +1 -1
  9. package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
  10. package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
  11. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  12. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  13. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +3 -3
  14. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +3 -3
  15. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -1
  16. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
  17. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +2 -2
  18. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +2 -2
  19. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +2 -2
  20. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
  21. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +2 -2
  22. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +2 -2
  23. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +2 -2
  24. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +2 -2
  25. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +2 -2
  26. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
  27. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  29. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +1 -1
  31. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  33. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  34. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +1 -1
  35. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +3 -3
  36. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +3 -3
  37. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +2 -2
  38. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  39. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +2 -2
  40. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +2 -2
  41. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  42. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  43. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  45. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
  46. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  47. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +2 -2
  48. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
  49. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
  50. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
  51. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  52. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
  53. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  54. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +1 -1
  55. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  56. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  57. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
  58. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  59. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -1
  60. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
  61. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  62. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
  63. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +2 -2
  64. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +2 -2
  65. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +1 -1
  67. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs +1 -1
  68. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js +1 -1
  69. package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
  71. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +3 -3
  72. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +3 -3
  73. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +2 -2
  74. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +2 -2
  75. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +4 -4
  76. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +4 -4
  77. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
  79. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +2 -2
  80. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +2 -2
  81. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +2 -2
  82. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +2 -2
  83. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  84. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
  85. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  86. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  87. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +5 -5
  88. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +5 -5
  89. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +3 -3
  90. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +3 -3
  91. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +4 -4
  92. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs.map +1 -1
  93. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +3 -3
  94. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
  95. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  96. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
  97. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +4 -4
  98. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +4 -4
  99. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  100. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  101. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +139 -0
  102. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs.map +1 -0
  103. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +139 -0
  104. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js.map +1 -0
  105. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +3 -3
  106. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
  107. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  108. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
  109. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +2 -2
  110. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
  111. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +7 -12
  112. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs.map +1 -1
  113. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +7 -12
  114. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js.map +1 -1
  115. package/dist/prometheus-framework/src/modules/organizations/organizations.client.cjs +2 -2
  116. package/dist/prometheus-framework/src/modules/organizations/organizations.client.js +2 -2
  117. package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +584 -584
  118. package/dist/prometheus-framework/src/modules/pages/pages.client.js +584 -584
  119. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +2 -2
  120. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +2 -2
  121. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
  122. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  123. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  124. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  125. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +2 -2
  126. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
  127. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  128. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +1 -1
  129. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  130. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  131. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  132. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  133. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  134. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
  135. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +2 -2
  136. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
  137. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +3 -3
  138. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
  139. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  140. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  141. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +3 -3
  142. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
  143. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  144. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +1 -1
  145. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +2 -2
  146. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +2 -2
  147. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
  149. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +3 -3
  150. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  151. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  152. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
  153. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +2 -2
  154. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  155. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +2 -2
  156. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +2 -2
  157. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  158. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +1 -1
  159. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +4 -4
  160. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +4 -4
  161. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +3 -3
  162. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +3 -3
  163. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  164. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  165. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +2 -2
  166. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +2 -2
  167. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  168. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
  169. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +1 -1
  170. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +1 -1
  171. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +2 -2
  172. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +2 -2
  173. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +2 -2
  174. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +2 -2
  175. package/package.json +1 -1
  176. package/src/modules/organizations/components/pages/Organization.vue +3 -3
  177. package/src/modules/organizations/components/sections/Organizations.vue +0 -1
  178. package/src/modules/organizations/organizations.client.js +2 -2
  179. /package/src/modules/organizations/components/sections/{DetailsTab.vue → DetailsTabSection.vue} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"Organizations.vue.js","sources":["../../../../../../../src/modules/organizations/components/sections/Organizations.vue"],"sourcesContent":["<template>\n\t<div class=\"for-transition bg-white radius-big w-100\">\n\t\t<div class=\"\">\n\t\t\t <EmptyState \n v-if=\"organizations < 1\"\n title=\"You Haven't Joined Any Organization Yet\"\n description=\"Weeder is all about community. Join an organization or maybe you want to create your own?\"\n action=\"Create organization\"\n :callback=\"a = () => $router.push(`/app/organization/create/details`)\"\n />\n\n <div v-else class=\"cols-1\">\n \t<CardOrganization \n\t \t\t\t v-for=\"organization in organizations\" \n\t\t \t:key=\"organization._id\"\n\t\t \t:organization=\"organization\"\n\t\t \t:user=\"auth.state.user\"\n\t\t\t\t\t\t@updateMembership=\"handleMembershipUpdate\"\n\t\t\t\t\t\tclass=\"w-100\"\n\t\t\t\t\t\t:class=\"{'mn-r-small': index !== organizations.length - 1}\"\n\t\t />\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</template>\n\n<script setup>\n\timport { computed,reactive,ref, onMounted,watch } from 'vue'\n\timport { useRoute, useRouter } from 'vue-router'\n\t// Import dependencies\n\timport Cookies from 'js-cookie'\n\t// Import components\n\t// Global\n\timport Tab \t\tfrom '@pf/src/components/Tab/Tab.vue'\n\timport Field \tfrom '@pf/src/components/Field/Field.vue'\n\timport Select \tfrom '@pf/src/components/Select/Select.vue'\n\timport Button \tfrom '@pf/src/components/Button/Button.vue'\n\t// Local\n\timport DetailsTab \t\tfrom '@pf/src/modules/organizations/components/sections/DetailsTab.vue'\n\timport CardOrganization from '@pf/src/modules/organizations/components/blocks/CardOrganization.vue'\n\t// Blocks\n\timport EmptyState \t\tfrom '@pf/src/modules/organizations/components/blocks/EmptyState.vue'\n\timport Unit \tfrom '@pf/src/modules/organizations/components/sections/Unit.vue'\n\t// Import state\n\timport * as auth from '@pf/src/modules/auth/views/store/auth'\n\timport * as organization from '@pf/src/modules/organizations/store/organizations'\n\timport * as memberships from '@pf/src/modules/organizations/store/memberships'\n\n\tconst props = defineProps({\n owner: {\n type: String,\n default: null\n },\n user: {\n type: [String, Number],\n default: null\n },\n onlyuser: {\n type: [String, Number],\n default: null\n }\n });\n\n\tconst organizations = ref(null)\n\n\torganizations.value = await organization.actions.read({owner: props.owner, user: props.user, onlyuser: props.onlyuser });\n\t// Init router\n\tconst router \t= useRouter()\n\tconst route \t= useRoute()\n\t// Accesing state\n\t// console.log(route.query.tab)\n\tlet tab = route.query.tab ? route.query.tab : 'details';\n\n\tconst tabOrganization = ref(tab)\n\n\troute.query.tab = tabOrganization.value\n\n\twatch(tabOrganization, (newValue) => {\n\t router.replace({ query: { ...route.query, tab: newValue } });\n\t});\n</script>\n\n<style lang=\"scss\">\n\t.slide-fade-enter-active {\n\t\t// min-height: 100vh;\n\t transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n\t}\n\n\t.slide-fade-leave-active {\n\t\t// min-height: 100vh;\n\t transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n\t}\n\n\t.slide-fade-enter-from,\n\t.slide-fade-leave-to {\n\t\tmin-height: 0;\n\t\tposition: absolute;\n\t transform: translateX(20px);\n\t opacity: 0;\n\t left: 0;\n\t top: 0;\n\t}\n\n</style>\n"],"names":["organizations","_withAsyncContext","organization.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgDC,UAAM,QAAQ;AAed,UAAMA,kBAAgB,IAAI,IAAI;AAE9BA,oBAAc,SAAQ,CAAA,QAAA,SAAA,IAAAC,iBAAA,MAAMC,QAAqB,KAAK,EAAC,OAAO,MAAM,OAAO,MAAM,MAAM,MAAM,UAAU,MAAM,SAAQ,CAAE,CAAA;AAEvH,UAAM,SAAU,UAAW;AAC3B,UAAM,QAAS,SAAU;AAGzB,QAAI,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM;AAE9C,UAAM,kBAAkB,IAAI,GAAG;AAE/B,UAAM,MAAM,MAAM,gBAAgB;AAElC,UAAM,iBAAiB,CAAC,aAAa;AACnC,aAAO,QAAQ,EAAE,OAAO,EAAE,GAAG,MAAM,OAAO,KAAK,SAAU,EAAA,CAAE;AAAA,IAC9D,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Organizations.vue.js","sources":["../../../../../../../src/modules/organizations/components/sections/Organizations.vue"],"sourcesContent":["<template>\n\t<div class=\"for-transition bg-white radius-big w-100\">\n\t\t<div class=\"\">\n\t\t\t <EmptyState \n v-if=\"organizations < 1\"\n title=\"You Haven't Joined Any Organization Yet\"\n description=\"Weeder is all about community. Join an organization or maybe you want to create your own?\"\n action=\"Create organization\"\n :callback=\"a = () => $router.push(`/app/organization/create/details`)\"\n />\n\n <div v-else class=\"cols-1\">\n \t<CardOrganization \n\t \t\t\t v-for=\"organization in organizations\" \n\t\t \t:key=\"organization._id\"\n\t\t \t:organization=\"organization\"\n\t\t \t:user=\"auth.state.user\"\n\t\t\t\t\t\t@updateMembership=\"handleMembershipUpdate\"\n\t\t\t\t\t\tclass=\"w-100\"\n\t\t\t\t\t\t:class=\"{'mn-r-small': index !== organizations.length - 1}\"\n\t\t />\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</template>\n\n<script setup>\n\timport { computed,reactive,ref, onMounted,watch } from 'vue'\n\timport { useRoute, useRouter } from 'vue-router'\n\t// Import dependencies\n\timport Cookies from 'js-cookie'\n\t// Import components\n\t// Global\n\timport Tab \t\tfrom '@pf/src/components/Tab/Tab.vue'\n\timport Field \tfrom '@pf/src/components/Field/Field.vue'\n\timport Select \tfrom '@pf/src/components/Select/Select.vue'\n\timport Button \tfrom '@pf/src/components/Button/Button.vue'\n\t// Local\n\timport CardOrganization from '@pf/src/modules/organizations/components/blocks/CardOrganization.vue'\n\t// Blocks\n\timport EmptyState \t\tfrom '@pf/src/modules/organizations/components/blocks/EmptyState.vue'\n\timport Unit \tfrom '@pf/src/modules/organizations/components/sections/Unit.vue'\n\t// Import state\n\timport * as auth from '@pf/src/modules/auth/views/store/auth'\n\timport * as organization from '@pf/src/modules/organizations/store/organizations'\n\timport * as memberships from '@pf/src/modules/organizations/store/memberships'\n\n\tconst props = defineProps({\n owner: {\n type: String,\n default: null\n },\n user: {\n type: [String, Number],\n default: null\n },\n onlyuser: {\n type: [String, Number],\n default: null\n }\n });\n\n\tconst organizations = ref(null)\n\n\torganizations.value = await organization.actions.read({owner: props.owner, user: props.user, onlyuser: props.onlyuser });\n\t// Init router\n\tconst router \t= useRouter()\n\tconst route \t= useRoute()\n\t// Accesing state\n\t// console.log(route.query.tab)\n\tlet tab = route.query.tab ? route.query.tab : 'details';\n\n\tconst tabOrganization = ref(tab)\n\n\troute.query.tab = tabOrganization.value\n\n\twatch(tabOrganization, (newValue) => {\n\t router.replace({ query: { ...route.query, tab: newValue } });\n\t});\n</script>\n\n<style lang=\"scss\">\n\t.slide-fade-enter-active {\n\t\t// min-height: 100vh;\n\t transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n\t}\n\n\t.slide-fade-leave-active {\n\t\t// min-height: 100vh;\n\t transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n\t}\n\n\t.slide-fade-enter-from,\n\t.slide-fade-leave-to {\n\t\tmin-height: 0;\n\t\tposition: absolute;\n\t transform: translateX(20px);\n\t opacity: 0;\n\t left: 0;\n\t top: 0;\n\t}\n\n</style>\n"],"names":["organizations","_withAsyncContext","organization.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+CC,UAAM,QAAQ;AAed,UAAMA,kBAAgB,IAAI,IAAI;AAE9BA,oBAAc,SAAQ,CAAA,QAAA,SAAA,IAAAC,iBAAA,MAAMC,QAAqB,KAAK,EAAC,OAAO,MAAM,OAAO,MAAM,MAAM,MAAM,UAAU,MAAM,SAAQ,CAAE,CAAA;AAEvH,UAAM,SAAU,UAAW;AAC3B,UAAM,QAAS,SAAU;AAGzB,QAAI,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM;AAE9C,UAAM,kBAAkB,IAAI,GAAG;AAE/B,UAAM,MAAM,MAAM,gBAAgB;AAElC,UAAM,iBAAiB,CAAC,aAAa;AACnC,aAAO,QAAQ,EAAE,OAAO,EAAE,GAAG,MAAM,OAAO,KAAK,SAAU,EAAA,CAAE;AAAA,IAC9D,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -15,7 +15,7 @@ const EmptyState = require("./components/blocks/EmptyState.vue.cjs");
15
15
  const Contacts = require("./components/blocks/Contacts.vue.cjs");
16
16
  const Socials = require("./components/blocks/Socials.vue.cjs");
17
17
  const MembersAdd = require("./components/sections/MembersAdd.vue.cjs");
18
- const DetailsTab = require("./components/sections/DetailsTab.vue.cjs");
18
+ const DetailsTabSection = require("./components/sections/DetailsTabSection.vue.cjs");
19
19
  const Organizations$1 = require("./components/sections/Organizations.vue.cjs");
20
20
  const Publics = require("./components/sections/Publics.vue.cjs");
21
21
  const Documents = require("./components/sections/Documents.vue.cjs");
@@ -40,7 +40,7 @@ exports.EmptyState = EmptyState.default;
40
40
  exports.Contacts = Contacts.default;
41
41
  exports.Socials = Socials.default;
42
42
  exports.MembersAdd = MembersAdd.default;
43
- exports.DetailsTab = DetailsTab.default;
43
+ exports.DetailsTabSection = DetailsTabSection.default;
44
44
  exports.OrganizationsSection = Organizations$1.default;
45
45
  exports.Publics = Publics.default;
46
46
  exports.Documents = Documents.default;
@@ -13,7 +13,7 @@ import { default as default13 } from "./components/blocks/EmptyState.vue.js";
13
13
  import { default as default14 } from "./components/blocks/Contacts.vue.js";
14
14
  import { default as default15 } from "./components/blocks/Socials.vue.js";
15
15
  import { default as default16 } from "./components/sections/MembersAdd.vue.js";
16
- import { default as default17 } from "./components/sections/DetailsTab.vue.js";
16
+ import { default as default17 } from "./components/sections/DetailsTabSection.vue.js";
17
17
  import { default as default18 } from "./components/sections/Organizations.vue.js";
18
18
  import { default as default19 } from "./components/sections/Publics.vue.js";
19
19
  import { default as default20 } from "./components/sections/Documents.vue.js";
@@ -31,7 +31,7 @@ export {
31
31
  default3 as Department,
32
32
  default6 as DepartmentEdit,
33
33
  default10 as DepartmentSub,
34
- default17 as DetailsTab,
34
+ default17 as DetailsTabSection,
35
35
  default20 as Documents,
36
36
  default8 as EditArray,
37
37
  default13 as EmptyState,