@ozdao/prometheus-framework 0.1.61 → 0.1.62

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  2. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +72 -2
  3. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  4. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +2 -72
  5. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  6. package/dist/prometheus-framework/src/components/Select/Select.vue.js +78 -2
  7. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  8. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +2 -78
  9. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  10. package/dist/prometheus-framework/src/modules/auth/store/auth.js +75 -93
  11. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  12. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  13. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  14. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  15. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +4 -1
  16. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +61 -2
  17. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -4
  18. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +2 -61
  19. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  20. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  21. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  22. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  23. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  24. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  25. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  26. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  27. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
  29. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  31. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  33. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  34. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  35. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  36. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  37. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  38. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  39. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  40. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  41. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  42. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  43. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  45. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  46. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  47. package/dist/prometheus-framework/src/modules/products/components/pages/LeftoverAdd.vue.cjs +1 -1
  48. package/dist/prometheus-framework/src/modules/products/components/pages/LeftoverAdd.vue.js +1 -1
  49. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  50. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
  51. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  52. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  53. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  54. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  55. package/dist/style.css +1 -1
  56. package/package.json +1 -1
  57. package/src/modules/auth/store/auth.js +20 -20
@@ -27,27 +27,27 @@
27
27
  },
28
28
  });
29
29
 
30
- async function initialize() {
31
- const userCookie = await getCookie('user');
30
+ // async function initialize() {
31
+ // const userCookie = await getCookie('user');
32
32
 
33
- if (userCookie) {
34
- const {_id, email, phone, roles, accessToken} = userCookie;
35
-
36
- Object.assign(state.user, {_id, email, phone});
37
- Object.assign(state.access, {token: accessToken, roles, status: !!accessToken});
38
-
39
- $axios.interceptors.request.use((config) => {
40
- if (accessToken) {
41
- config.headers['x-access-token'] = accessToken;
42
- }
43
- return config;
44
- }, (error) => {
45
- return Promise.reject(error);
46
- });
47
- }
48
- }
49
-
50
- initialize();
33
+ // if (userCookie) {
34
+ // const {_id, email, phone, roles, accessToken} = userCookie;
35
+
36
+ // Object.assign(state.user, {_id, email, phone});
37
+ // Object.assign(state.access, {token: accessToken, roles, status: !!accessToken});
38
+
39
+ // $axios.interceptors.request.use((config) => {
40
+ // if (accessToken) {
41
+ // config.headers['x-access-token'] = accessToken;
42
+ // }
43
+ // return config;
44
+ // }, (error) => {
45
+ // return Promise.reject(error);
46
+ // });
47
+ // }
48
+ // }
49
+
50
+ // initialize();
51
51
 
52
52
  const actions = {
53
53
  async login (user, type) {