@ozdao/prometheus-framework 0.2.211 → 0.2.213

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) 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 +2 -2
  4. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs.map +1 -1
  5. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +2 -2
  6. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js.map +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/Spoiler/Spoiler.vue.cjs +41 -0
  12. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs.map +1 -0
  13. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +41 -0
  14. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js.map +1 -0
  15. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  16. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  17. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +2 -2
  18. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +2 -2
  19. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -1
  20. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
  21. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
  22. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
  23. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
  24. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
  25. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
  26. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +1 -1
  27. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
  29. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs.map +1 -1
  30. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js.map +1 -1
  31. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -2
  32. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs.map +1 -1
  33. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +1 -2
  34. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js.map +1 -1
  35. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  36. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +1 -1
  37. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +2 -2
  38. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +2 -2
  39. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  40. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  41. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +2 -2
  42. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +2 -2
  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/elements/ButtonJoin.vue.cjs +1 -1
  46. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  47. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  48. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  49. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  50. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  51. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
  52. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
  53. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  54. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
  55. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  56. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +1 -1
  57. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  58. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  59. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockFilter.vue.cjs +1 -1
  60. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockFilter.vue.js +1 -1
  61. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +2 -2
  62. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +2 -2
  63. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +5 -0
  64. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs.map +1 -1
  65. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +7 -2
  66. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js.map +1 -1
  67. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +15 -7
  68. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
  69. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +15 -7
  70. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
  71. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +1 -1
  73. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
  75. package/dist/prometheus-framework/src/modules/globals/views/store/globals.cjs +56 -4
  76. package/dist/prometheus-framework/src/modules/globals/views/store/globals.cjs.map +1 -1
  77. package/dist/prometheus-framework/src/modules/globals/views/store/globals.js +56 -4
  78. package/dist/prometheus-framework/src/modules/globals/views/store/globals.js.map +1 -1
  79. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs +1 -1
  80. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs.map +1 -1
  81. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js +1 -1
  82. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js.map +1 -1
  83. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs +2 -2
  84. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs.map +1 -1
  85. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js +2 -2
  86. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js.map +1 -1
  87. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs +1 -1
  88. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs.map +1 -1
  89. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js +1 -1
  90. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js.map +1 -1
  91. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs +1 -1
  92. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs.map +1 -1
  93. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js +1 -1
  94. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js.map +1 -1
  95. package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.cjs +1 -1
  96. package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.js +1 -1
  97. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +2 -2
  98. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
  99. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  100. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
  101. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  102. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  103. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  104. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +1 -1
  105. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  106. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  107. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  108. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
  109. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
  110. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  111. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +2 -2
  112. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs.map +1 -1
  113. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  114. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
  115. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  116. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
  117. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +139 -0
  118. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs.map +1 -0
  119. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +139 -0
  120. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js.map +1 -0
  121. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +2 -2
  122. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  123. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  124. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
  125. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  126. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  127. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +5 -10
  128. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs.map +1 -1
  129. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +5 -10
  130. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js.map +1 -1
  131. package/dist/prometheus-framework/src/modules/organizations/organizations.client.cjs +2 -2
  132. package/dist/prometheus-framework/src/modules/organizations/organizations.client.js +2 -2
  133. package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +850 -850
  134. package/dist/prometheus-framework/src/modules/pages/pages.client.js +850 -850
  135. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +2 -2
  136. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +2 -2
  137. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
  138. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  139. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  140. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  141. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  142. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +1 -1
  143. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  144. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
  145. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  146. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  147. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  149. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  150. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +1 -1
  151. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  152. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +1 -1
  153. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +2 -2
  154. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +2 -2
  155. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  156. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  157. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  158. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
  159. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  160. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  161. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  162. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  163. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  164. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +1 -1
  165. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  166. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +1 -1
  167. package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs +1 -1
  168. package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js +1 -1
  169. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
  170. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +1 -1
  171. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +2 -2
  172. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
  173. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +14 -4
  174. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs.map +1 -1
  175. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +18 -8
  176. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js.map +1 -1
  177. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  178. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +1 -1
  179. package/dist/prometheus-framework.cjs.js +1 -1
  180. package/dist/prometheus-framework.es.js +3 -3
  181. package/package.json +1 -1
  182. package/src/components/Feed/Feed.vue +1 -1
  183. package/src/modules/community/components/blocks/CardBlogpost.vue +0 -22
  184. package/src/modules/community/components/pages/Blog.vue +1 -1
  185. package/src/modules/globals/views/components/layouts/App.vue +10 -2
  186. package/src/modules/globals/views/components/layouts/Client.vue +57 -46
  187. package/src/modules/globals/views/store/globals.js +69 -6
  188. package/src/modules/icons/logos/Logotype.vue +0 -4
  189. package/src/modules/icons/skeletons/SkeletonBlogpost.vue +1 -1
  190. package/src/modules/icons/skeletons/SkeletonEvent.vue +3 -3
  191. package/src/modules/icons/skeletons/SkeletonEventShort.vue +1 -1
  192. package/src/modules/icons/skeletons/SkeletonOrganization.vue +1 -1
  193. package/src/modules/organizations/components/pages/Organization.vue +3 -3
  194. package/src/modules/organizations/components/sections/Organizations.vue +0 -1
  195. package/src/modules/organizations/organizations.client.js +2 -2
  196. package/src/modules/users/components/pages/ProfileEdit.vue +11 -0
  197. /package/src/modules/organizations/components/sections/{DetailsTab.vue → DetailsTabSection.vue} +0 -0
@@ -3,8 +3,8 @@ 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 */
6
+ ;/* empty css */
7
+ ;/* empty css */
8
8
  ;/* empty css */
9
9
  const vueRouter = require("vue-router");
10
10
  ;/* empty css */
@@ -1,8 +1,8 @@
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 */
4
+ /* empty css */
5
+ /* empty css */
6
6
  /* empty css */
7
7
  import { useRouter } from "vue-router";
8
8
  /* empty css */
@@ -4,7 +4,7 @@ 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.vue.cjs");
7
+ const Button = require("../../../../../components/Button/Button.vue2.cjs");
8
8
  ;/* empty css */
9
9
  ;/* empty css */
10
10
  ;/* empty css */
@@ -2,7 +2,7 @@ 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.vue.js";
5
+ import _sfc_main$2 from "../../../../../components/Button/Button.vue2.js";
6
6
  /* empty css */
7
7
  /* empty css */
8
8
  /* empty css */
@@ -4,7 +4,7 @@ const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  const Block = require("../../../../../components/Block/Block.vue.cjs");
6
6
  const Popup = require("../../../../../components/Popup/Popup.vue.cjs");
7
- const Button = require("../../../../../components/Button/Button.vue.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");
@@ -2,7 +2,7 @@ import { computed, ref, onMounted, openBlock, createBlock, withCtx, createElemen
2
2
  import { useRoute, useRouter } from "vue-router";
3
3
  import _sfc_main$1 from "../../../../../components/Block/Block.vue.js";
4
4
  import _sfc_main$3 from "../../../../../components/Popup/Popup.vue.js";
5
- import _sfc_main$5 from "../../../../../components/Button/Button.vue.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,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.vue.cjs");
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, createVNode, Transition, withCtx, withModifiers, createCommentVNode, createBlock, createStaticVNode } from "vue";
2
- import Loader from "../../../../components/Loader/Loader.vue.js";
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" };
@@ -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.vue.cjs");
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.vue.js";
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" };
@@ -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 IconDelete = require("../../../icons/navigation/IconDelete.vue.cjs");
6
- const Button = require("../../../../components/Button/Button.vue.cjs");
6
+ const Button = require("../../../../components/Button/Button.vue2.cjs");
7
7
  const Select = require("../../../../components/Select/Select.vue.cjs");
8
8
  const Field = require("../../../../components/Field/Field.vue2.cjs");
9
9
  const Block = require("../../../../components/Block/Block.vue.cjs");
@@ -1,7 +1,7 @@
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.vue.js";
4
+ import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
5
5
  import Select from "../../../../components/Select/Select.vue.js";
6
6
  import Field from "../../../../components/Field/Field.vue2.js";
7
7
  import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
@@ -8,7 +8,7 @@ const Block = require("../../../../components/Block/Block.vue.cjs");
8
8
  ;/* empty css */
9
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.vue.cjs");
11
+ const Button = require("../../../../components/Button/Button.vue2.cjs");
12
12
  const Popup = require("../../../../components/Popup/Popup.vue.cjs");
13
13
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
14
14
  const EditImages = require("../../../../components/EditImages/EditImages.vue.cjs");
@@ -6,7 +6,7 @@ import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
6
6
  /* empty css */
7
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.vue.js";
9
+ import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
10
10
  import _sfc_main$6 from "../../../../components/Popup/Popup.vue.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";
@@ -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.vue.cjs");
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.vue.js";
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";
@@ -4,7 +4,7 @@ const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  const Tab = require("../../../../components/Tab/Tab.vue2.cjs");
6
6
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
7
- ;/* empty css */
7
+ ;/* empty css */
8
8
  require("vue-i18n");
9
9
  const categories = require("../../store/categories.cjs");
10
10
  const marketplace = require("../../../marketplace/store/marketplace.cjs");
@@ -2,7 +2,7 @@ import { ref, watch, onMounted, openBlock, createElementBlock, unref, createElem
2
2
  import { useRoute, useRouter } from "vue-router";
3
3
  import _sfc_main$1 from "../../../../components/Tab/Tab.vue2.js";
4
4
  import _sfc_main$3 from "../../../../components/Feed/Feed.vue.js";
5
- /* empty css */
5
+ /* empty css */
6
6
  import "vue-i18n";
7
7
  import { actions } from "../../store/categories.js";
8
8
  import { state } from "../../../marketplace/store/marketplace.js";
@@ -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
- ;/* empty css */
5
- ;/* empty css */
4
+ ;/* empty css */
5
+ ;/* empty css */
6
6
  const Field = require("../../../../components/Field/Field.vue2.cjs");
7
7
  const Select = require("../../../../components/Select/Select.vue.cjs");
8
8
  const _sfc_main = {
@@ -1,6 +1,6 @@
1
1
  import { openBlock, createElementBlock, Fragment, createVNode, withCtx } from "vue";
2
- /* empty css */
3
- /* empty css */
2
+ /* empty css */
3
+ /* empty css */
4
4
  import Field from "../../../../components/Field/Field.vue2.js";
5
5
  import Select from "../../../../components/Select/Select.vue.js";
6
6
  const _sfc_main = {
@@ -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 Spoiler = require("../../../../components/Spoiler/Spoiler.vue2.cjs");
4
+ const Spoiler = require("../../../../components/Spoiler/Spoiler.vue.cjs");
5
5
  const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
6
6
  const vueI18n = require("vue-i18n");
7
7
  const vueRouter = require("vue-router");
@@ -1,5 +1,5 @@
1
1
  import { ref, watch, onMounted, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, toDisplayString, unref, Fragment, renderList, createBlock } from "vue";
2
- import _sfc_main$1 from "../../../../components/Spoiler/Spoiler.vue2.js";
2
+ import _sfc_main$1 from "../../../../components/Spoiler/Spoiler.vue.js";
3
3
  import _sfc_main$2 from "../../../../components/Checkbox/Checkbox.vue.js";
4
4
  import { useI18n } from "vue-i18n";
5
5
  import { useRoute, useRouter } from "vue-router";
@@ -5,7 +5,7 @@ const vueRouter = require("vue-router");
5
5
  const vueI18n = require("vue-i18n");
6
6
  const emblaCarouselVue_esm = require("../../../../../../node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs");
7
7
  const emblaCarouselAutoplay_esm = require("../../../../../../node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs");
8
- const Loader = require("../../../../components/Loader/Loader.vue.cjs");
8
+ const Loader = require("../../../../components/Loader/Loader.vue2.cjs");
9
9
  const CardProduct = require("../blocks/CardProduct.vue.cjs");
10
10
  const products = require("../../store/products.cjs");
11
11
  ;/* empty css */
@@ -3,7 +3,7 @@ import { useRouter } from "vue-router";
3
3
  import { useI18n } from "vue-i18n";
4
4
  import emblaCarouselVue from "../../../../../../node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js";
5
5
  import Autoplay from "../../../../../../node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js";
6
- import Loader from "../../../../components/Loader/Loader.vue.js";
6
+ import Loader from "../../../../components/Loader/Loader.vue2.js";
7
7
  import _sfc_main$1 from "../blocks/CardProduct.vue.js";
8
8
  import { actions } from "../../store/products.js";
9
9
  /* empty css */
@@ -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 Button = require("../../../../components/Button/Button.vue.cjs");
4
+ const Button = require("../../../../components/Button/Button.vue2.cjs");
5
5
  const PlaceholderImage = require("../../../icons/placeholders/PlaceholderImage.vue.cjs");
6
6
  const Images360 = require("../blocks/Images360.vue.cjs");
7
7
  const ImagesThumbnails = require("../blocks/ImagesThumbnails.vue.cjs");
@@ -1,5 +1,5 @@
1
1
  import { computed, openBlock, createElementBlock, createElementVNode, createBlock, createCommentVNode, toDisplayString, unref, createVNode, Fragment, renderList, withCtx, createTextVNode } from "vue";
2
- import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
2
+ import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
3
3
  import PlaceholderImage from "../../../icons/placeholders/PlaceholderImage.vue.js";
4
4
  import Images360 from "../blocks/Images360.vue.js";
5
5
  import ImagesThumbnails from "../blocks/ImagesThumbnails.vue.js";
@@ -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 Popup = require("../../../../components/Popup/Popup.vue.cjs");
5
- const Button = require("../../../../components/Button/Button.vue.cjs");
5
+ const Button = require("../../../../components/Button/Button.vue2.cjs");
6
6
  const Select = require("../../../../components/Select/Select.vue.cjs");
7
7
  const reports = require("../../store/reports.cjs");
8
8
  const _hoisted_1 = /* @__PURE__ */ vue.createElementVNode("h3", { class: "mn-b-small" }, " Report Content ", -1);
@@ -1,6 +1,6 @@
1
1
  import { reactive, ref, openBlock, createElementBlock, renderSlot, createVNode, withCtx, createTextVNode, createElementVNode } from "vue";
2
2
  import _sfc_main$1 from "../../../../components/Popup/Popup.vue.js";
3
- import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
3
+ import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
4
4
  import Select from "../../../../components/Select/Select.vue.js";
5
5
  import { actions } from "../../store/reports.js";
6
6
  const _hoisted_1 = /* @__PURE__ */ createElementVNode("h3", { class: "mn-b-small" }, " Report Content ", -1);
@@ -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
- ;/* empty css */
6
+ ;/* empty css */
7
7
  ;/* empty css */
8
8
  ;/* empty css */
9
9
  ;/* empty css */
@@ -1,7 +1,7 @@
1
1
  import { ref, onMounted, watch, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createCommentVNode, createVNode, withCtx, Transition, createBlock, resolveDynamicComponent } from "vue";
2
2
  import { useRoute, useRouter } from "vue-router";
3
3
  import { useI18n } from "vue-i18n";
4
- /* empty css */
4
+ /* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
7
7
  /* empty css */
@@ -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 index = require("../../../../../../node_modules/@googlemaps/js-api-loader/dist/index.cjs");
6
- const Button = require("../../../../components/Button/Button.vue.cjs");
6
+ const Button = require("../../../../components/Button/Button.vue2.cjs");
7
7
  const organizations = require("../../../organizations/store/organizations.cjs");
8
8
  const globals = require("../../../globals/views/store/globals.cjs");
9
9
  const marketplace = require("../../../marketplace/store/marketplace.cjs");
@@ -1,7 +1,7 @@
1
1
  import { ref, onMounted, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, createTextVNode, pushScopeId, popScopeId } from "vue";
2
2
  import { useRouter, useRoute } from "vue-router";
3
3
  import { Loader } from "../../../../../../node_modules/@googlemaps/js-api-loader/dist/index.js";
4
- import _sfc_main$1 from "../../../../components/Button/Button.vue.js";
4
+ import _sfc_main$1 from "../../../../components/Button/Button.vue2.js";
5
5
  import { actions, state as state$2 } from "../../../organizations/store/organizations.js";
6
6
  import { state } from "../../../globals/views/store/globals.js";
7
7
  import { state as state$1 } from "../../../marketplace/store/marketplace.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 Spoiler = require("../../../../components/Spoiler/Spoiler.vue2.cjs");
4
+ const Spoiler = require("../../../../components/Spoiler/Spoiler.vue.cjs");
5
5
  const Map = require("../../../../components/Map/Map.vue.cjs");
6
6
  const SpotSub = require("../blocks/SpotSub.vue.cjs");
7
7
  const CardUser = require("../../../users/components/blocks/CardUser.vue.cjs");
@@ -1,5 +1,5 @@
1
1
  import { openBlock, createElementBlock, createVNode, createElementVNode, withCtx, toDisplayString, createCommentVNode, Fragment, renderList, createBlock, pushScopeId, popScopeId } from "vue";
2
- import _sfc_main$1 from "../../../../components/Spoiler/Spoiler.vue2.js";
2
+ import _sfc_main$1 from "../../../../components/Spoiler/Spoiler.vue.js";
3
3
  import Map from "../../../../components/Map/Map.vue.js";
4
4
  import SpotSub from "../blocks/SpotSub.vue.js";
5
5
  import _sfc_main$2 from "../../../users/components/blocks/CardUser.vue.js";
@@ -10,7 +10,7 @@ const Select = require("../../../../components/Select/Select.vue.cjs");
10
10
  const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
11
11
  const Address = require("../../../../components/Address/Address.vue2.cjs");
12
12
  const LocationMarker = require("../../../../components/LocationMarker/LocationMarker.vue2.cjs");
13
- const Button = require("../../../../components/Button/Button.vue.cjs");
13
+ const Button = require("../../../../components/Button/Button.vue2.cjs");
14
14
  require("vue-i18n");
15
15
  ;/* empty css */
16
16
  const spots = require("../../store/spots.cjs");
@@ -8,7 +8,7 @@ import Select from "../../../../components/Select/Select.vue.js";
8
8
  import _sfc_main$4 from "../../../../components/Checkbox/Checkbox.vue.js";
9
9
  import _sfc_main$5 from "../../../../components/Address/Address.vue2.js";
10
10
  import _sfc_main$6 from "../../../../components/LocationMarker/LocationMarker.vue2.js";
11
- import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
11
+ import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
12
12
  import "vue-i18n";
13
13
  /* empty css */
14
14
  import { actions, state } from "../../store/spots.js";
@@ -2,8 +2,8 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  ;/* empty css */
5
- ;/* empty css */
6
- ;/* empty css */
5
+ ;/* empty css */
6
+ ;/* empty css */
7
7
  const Dropdown = require("../../../../components/Dropdown/Dropdown.vue.cjs");
8
8
  const Completion = require("../../../../components/Completion/Completion.vue.cjs");
9
9
  const Menu = require("../../../../components/Menu/Menu.vue.cjs");
@@ -1,7 +1,7 @@
1
1
  import { ref, onMounted, openBlock, createElementBlock, unref, createBlock, createCommentVNode, createElementVNode, withCtx, createVNode, toDisplayString, Fragment, renderList, normalizeClass } from "vue";
2
2
  /* empty css */
3
- /* empty css */
4
- /* empty css */
3
+ /* empty css */
4
+ /* empty css */
5
5
  import _sfc_main$2 from "../../../../components/Dropdown/Dropdown.vue.js";
6
6
  import _sfc_main$1 from "../../../../components/Completion/Completion.vue.js";
7
7
  import _sfc_main$7 from "../../../../components/Menu/Menu.vue.js";
@@ -3,12 +3,14 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue = require("vue");
4
4
  ;/* empty css */
5
5
  const Field = require("../../../../components/Field/Field.vue2.cjs");
6
- const Button = require("../../../../components/Button/Button.vue.cjs");
6
+ const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
7
+ const Button = require("../../../../components/Button/Button.vue2.cjs");
7
8
  const UploadImage = require("../../../../components/UploadImage/UploadImage.vue.cjs");
8
9
  const ProfileCompletion = require("../sections/ProfileCompletion.vue.cjs");
9
10
  const vueRouter = require("vue-router");
10
11
  const auth = require("../../../auth/views/store/auth.cjs");
11
12
  const users = require("../../store/users.cjs");
13
+ const globals = require("../../../globals/views/store/globals.cjs");
12
14
  require("./ProfileEdit.vue2.cjs");
13
15
  const _hoisted_1 = {
14
16
  key: 0,
@@ -21,7 +23,8 @@ const _hoisted_5 = { class: "mn-b-thin radius-small w-100 h-10r bg-light flex-ce
21
23
  const _hoisted_6 = /* @__PURE__ */ vue.createElementVNode("h4", null, "Upload userpic", -1);
22
24
  const _hoisted_7 = /* @__PURE__ */ vue.createElementVNode("h3", { class: "mn-b-small" }, "Socials", -1);
23
25
  const _hoisted_8 = /* @__PURE__ */ vue.createElementVNode("p", { class: "mn-b-thin" }, "Please provide only the username for social media profiles, without full links.", -1);
24
- const _hoisted_9 = /* @__PURE__ */ vue.createElementVNode("h3", { class: "mn-b-small" }, "Account", -1);
26
+ const _hoisted_9 = /* @__PURE__ */ vue.createElementVNode("h3", { class: "mn-b-small" }, "Settings", -1);
27
+ const _hoisted_10 = /* @__PURE__ */ vue.createElementVNode("h3", { class: "mn-b-small" }, "Account", -1);
25
28
  const _sfc_main = {
26
29
  __name: "ProfileEdit",
27
30
  setup(__props) {
@@ -125,9 +128,16 @@ const _sfc_main = {
125
128
  class: "mn-b-semi bg-light pd-medium radius-small"
126
129
  }, null, 8, ["field"]),
127
130
  _hoisted_9,
131
+ vue.createVNode(Checkbox.default, {
132
+ label: "Darkmode",
133
+ radio: globals.state.theme.darkmode,
134
+ "onUpdate:radio": _cache[8] || (_cache[8] = (event) => globals.actions.toggleTheme()),
135
+ class: "mn-b-semi w-100 bg-light t-black pd-medium radius-small"
136
+ }, null, 8, ["radio"]),
137
+ _hoisted_10,
128
138
  vue.createVNode(Field.default, {
129
139
  field: users.state.current.phone,
130
- "onUpdate:field": _cache[8] || (_cache[8] = ($event) => users.state.current.phone = $event),
140
+ "onUpdate:field": _cache[9] || (_cache[9] = ($event) => users.state.current.phone = $event),
131
141
  label: "Phone",
132
142
  placeholder: "Not specified",
133
143
  class: "mn-b-thin bg-light pd-medium mn-b-thin radius-small",
@@ -136,7 +146,7 @@ const _sfc_main = {
136
146
  }, null, 8, ["field", "validation"]),
137
147
  vue.createVNode(Field.default, {
138
148
  field: users.state.current.email,
139
- "onUpdate:field": _cache[9] || (_cache[9] = ($event) => users.state.current.email = $event),
149
+ "onUpdate:field": _cache[10] || (_cache[10] = ($event) => users.state.current.email = $event),
140
150
  label: "Email",
141
151
  placeholder: "Not specified",
142
152
  class: "mn-b-semi bg-light pd-medium radius-small",
@@ -1 +1 @@
1
- {"version":3,"file":"ProfileEdit.vue.cjs","sources":["../../../../../../../src/modules/users/components/pages/ProfileEdit.vue"],"sourcesContent":["<template>\n\t<div v-if=\"show\" class=\"pd-medium for-transition w-100\">\n \n <ProfileCompletion \n v-if=\"route.params._id === auth.state.user._id\" \n :user=\"auth.state.user._id\"\n :target=\"users.state.current\"\n :cta=\"false\"\n />\n <!-- -->\n <h3 class=\"mn-b-small\">Username</h3>\n\n <Field \n v-model:field=\"users.state.current.username\" \n label=\"@\" \n placeholder=\"Not specified\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n disabled=\"true\"\n :validation=\"organizationName\" \n />\n\n <p class=\"mn-b-semi\">Your username will be used for URL of profile like {{API_URL}}/users/username</p>\n <!-- -->\n <h3 class=\"mn-b-small\">Profile</h3>\n\n <div class=\"mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex\">\n <UploadImage \n v-model:photo=\"users.state.current.profile.photo\"\n :uploadPath=\"'users/' + users.state.current._id + '/avatars'\"\n class=\"h-4r w-4r aspect-1x1 o-hidden bg-white mn-b-thin radius-extra\" \n />\n <h4>Upload userpic</h4>\n </div>\n\n <Field \n v-model:field=\"users.state.current.profile.name\" \n label=\"Name\" \n placeholder=\"Not specified\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n />\n\n <Field \n v-model:field=\"users.state.current.profile.description\" \n label=\"Description\" \n placeholder=\"Not specified\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n />\n\n <!-- <p class=\"mn-b-thin\">Select your birthday if you want to receive your birthday gift.</p>\n \n <Field \n v-model:field=\"users.state.current.birthday\" \n label=\"Birthday\" \n type=\"date\"\n placeholder=\"Not specified\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n /> -->\n <h3 class=\"mn-b-small\">Socials</h3>\n <p class=\"mn-b-thin\">Please provide only the username for social media profiles, without full links.</p>\n\n <Field \n v-model:field=\"users.state.current.socials.instagram\"\n label=\"Instagram\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.twitter\"\n label=\"Twitter\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.facebook\"\n label=\"Facebook\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.telegram\"\n label=\"Telegram\" \n placeholder=\"\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n />\n <!-- -->\n <h3 class=\"mn-b-small\">Account</h3>\n \n <Field \n v-model:field=\"users.state.current.phone\" \n label=\"Phone\" \n placeholder=\"Not specified\" \n class=\"mn-b-thin bg-light pd-medium mn-b-thin radius-small\" \n disabled=\"true\"\n :validation=\"organizationName\" \n />\n\n <Field \n v-model:field=\"users.state.current.email\" \n label=\"Email\" \n placeholder=\"Not specified\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n :disabled=\"true\"\n :validation=\"organizationName\" \n />\n\n <Button \n :submit=\"onSubmit\" \n :callback=\"redirectTo\" \n class=\"mn-b-thin bg-main w-100\"\n > \n Save\n </Button>\n\n\t\t<Button\n :submit=\"onSubmitDelete\" \n :callback=\"a = () => {router.push({name: 'Sign In'})}\" \n class=\"mn-b-thin w-100 bg-red t-white\"\n >\n Delete Account\n </Button>\n\t</div>\n</template>\n\n<script setup>\n // Import components\n import Tab from '@pf/src/components/Tab/Tab.vue'\n import Field from '@pf/src/components/Field/Field.vue'\n import Button from '@pf/src/components/Button/Button.vue'\n import UploadImage from '@pf/src/components/UploadImage/UploadImage.vue';\n import ProfileCompletion from '@pf/src/modules/users/components/sections/ProfileCompletion.vue'\n // Import libs\n import { computed, onMounted, ref, onBeforeMount } from 'vue'\n import { useRoute, useRouter } from 'vue-router'\n // Import state\n import * as auth from '@pf/src/modules/auth/views/store/auth'\n import * as users from '@pf/src/modules/users/store/users'\n // Import validation\n import * as inputsValidation from '@pf/src/modules/auth/views/validations/inputs.validation'\n const passswordValidation = ref(null)\n // Accessing router\n const route = useRoute()\n const router = useRouter()\n\n const user = ref(null)\n const show = ref(false)\n\n\n onMounted(async () => {\n await users.actions.read({ _id: route.params._id, user: auth.state.user._id });\n show.value = true\n })\n // Methods\n async function onSubmit() {\n await users.actions.update(users.state.current)\n }\n\n async function onSubmitDelete() {\n const confirmation = window.confirm(\"Are you sure you want to delete your account? Restoration will be possible only with the help of an administrator.\");\n \n if (!confirmation) {\n return;\n }\n\n users.state.current.status = 'removed'\n await users.actions.update(users.state.current)\n auth.actions.logout()\n }\n function redirectTo () {\n router.replace({ name: 'User Profile', params: { _id: users.state.current._id }});\n }\n</script>\n\n<style lang=\"scss\">\n\t#header {\n\t\t// height: 3rem;\n\t}\n</style>\n"],"names":["ref","useRoute","useRouter","onMounted","users.actions","auth.state","users.state","auth.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA6I8BA,QAAAA,IAAI,IAAI;AAEpC,UAAM,QAAQC,UAAAA,SAAU;AACxB,UAAM,SAASC,UAAAA,UAAW;AAEbF,QAAAA,IAAI,IAAI;AACrB,UAAM,OAAOA,IAAG,IAAC,KAAK;AAGtBG,QAAAA,UAAU,YAAY;AACpB,YAAMC,cAAc,KAAK,EAAE,KAAK,MAAM,OAAO,KAAK,MAAMC,KAAU,MAAC,KAAK,IAAK,CAAA;AAC7E,WAAK,QAAQ;AAAA,IACjB,CAAG;AAED,mBAAe,WAAW;AACxB,YAAMD,cAAc,OAAOE,MAAW,MAAC,OAAO;AAAA,IAC/C;AAED,mBAAe,iBAAiB;AAC9B,YAAM,eAAe,OAAO,QAAQ,oHAAoH;AAExJ,UAAI,CAAC,cAAc;AACf;AAAA,MACH;AAEDA,kBAAY,QAAQ,SAAS;AAC7B,YAAMF,cAAc,OAAOE,MAAW,MAAC,OAAO;AAC9CC,WAAAA,QAAa,OAAQ;AAAA,IACtB;AACD,aAAS,aAAc;AACrB,aAAO,QAAQ,EAAE,MAAM,gBAAgB,QAAQ,EAAE,KAAKD,YAAY,QAAQ,IAAG,EAAE,CAAC;AAAA,IACjF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ProfileEdit.vue.cjs","sources":["../../../../../../../src/modules/users/components/pages/ProfileEdit.vue"],"sourcesContent":["<template>\n\t<div v-if=\"show\" class=\"pd-medium for-transition w-100\">\n \n <ProfileCompletion \n v-if=\"route.params._id === auth.state.user._id\" \n :user=\"auth.state.user._id\"\n :target=\"users.state.current\"\n :cta=\"false\"\n />\n <!-- -->\n <h3 class=\"mn-b-small\">Username</h3>\n\n <Field \n v-model:field=\"users.state.current.username\" \n label=\"@\" \n placeholder=\"Not specified\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n disabled=\"true\"\n :validation=\"organizationName\" \n />\n\n <p class=\"mn-b-semi\">Your username will be used for URL of profile like {{API_URL}}/users/username</p>\n <!-- -->\n <h3 class=\"mn-b-small\">Profile</h3>\n\n <div class=\"mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex\">\n <UploadImage \n v-model:photo=\"users.state.current.profile.photo\"\n :uploadPath=\"'users/' + users.state.current._id + '/avatars'\"\n class=\"h-4r w-4r aspect-1x1 o-hidden bg-white mn-b-thin radius-extra\" \n />\n <h4>Upload userpic</h4>\n </div>\n\n <Field \n v-model:field=\"users.state.current.profile.name\" \n label=\"Name\" \n placeholder=\"Not specified\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n />\n\n <Field \n v-model:field=\"users.state.current.profile.description\" \n label=\"Description\" \n placeholder=\"Not specified\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n />\n\n <!-- <p class=\"mn-b-thin\">Select your birthday if you want to receive your birthday gift.</p>\n \n <Field \n v-model:field=\"users.state.current.birthday\" \n label=\"Birthday\" \n type=\"date\"\n placeholder=\"Not specified\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n /> -->\n <h3 class=\"mn-b-small\">Socials</h3>\n <p class=\"mn-b-thin\">Please provide only the username for social media profiles, without full links.</p>\n\n <Field \n v-model:field=\"users.state.current.socials.instagram\"\n label=\"Instagram\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.twitter\"\n label=\"Twitter\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.facebook\"\n label=\"Facebook\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.telegram\"\n label=\"Telegram\" \n placeholder=\"\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n />\n <h3 class=\"mn-b-small\">Settings</h3>\n <Checkbox \n :label=\"'Darkmode'\"\n :radio=\"globals.state.theme.darkmode\"\n @update:radio=\"event => globals.actions.toggleTheme()\"\n class=\"mn-b-semi w-100 bg-light t-black pd-medium radius-small\"\n />\n\n <!-- -->\n <h3 class=\"mn-b-small\">Account</h3>\n \n <Field \n v-model:field=\"users.state.current.phone\" \n label=\"Phone\" \n placeholder=\"Not specified\" \n class=\"mn-b-thin bg-light pd-medium mn-b-thin radius-small\" \n disabled=\"true\"\n :validation=\"organizationName\" \n />\n\n <Field \n v-model:field=\"users.state.current.email\" \n label=\"Email\" \n placeholder=\"Not specified\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n :disabled=\"true\"\n :validation=\"organizationName\" \n />\n\n <Button \n :submit=\"onSubmit\" \n :callback=\"redirectTo\" \n class=\"mn-b-thin bg-main w-100\"\n > \n Save\n </Button>\n\n\t\t<Button\n :submit=\"onSubmitDelete\" \n :callback=\"a = () => {router.push({name: 'Sign In'})}\" \n class=\"mn-b-thin w-100 bg-red t-white\"\n >\n Delete Account\n </Button>\n\t</div>\n</template>\n\n<script setup>\n // Import components\n import Tab from '@pf/src/components/Tab/Tab.vue'\n import Field from '@pf/src/components/Field/Field.vue'\n import Checkbox from '@pf/src/components/Checkbox/Checkbox.vue'\n import Button from '@pf/src/components/Button/Button.vue'\n import UploadImage from '@pf/src/components/UploadImage/UploadImage.vue';\n\n import ProfileCompletion from '@pf/src/modules/users/components/sections/ProfileCompletion.vue'\n // Import libs\n import { computed, onMounted, ref, onBeforeMount } from 'vue'\n import { useRoute, useRouter } from 'vue-router'\n // Import state\n import * as auth from '@pf/src/modules/auth/views/store/auth'\n import * as users from '@pf/src/modules/users/store/users'\n import * as globals from '@pf/src/modules/globals/views/store/globals'\n // Import validation\n import * as inputsValidation from '@pf/src/modules/auth/views/validations/inputs.validation'\n const passswordValidation = ref(null)\n // Accessing router\n const route = useRoute()\n const router = useRouter()\n\n const user = ref(null)\n const show = ref(false)\n\n\n onMounted(async () => {\n await users.actions.read({ _id: route.params._id, user: auth.state.user._id });\n show.value = true\n })\n // Methods\n async function onSubmit() {\n await users.actions.update(users.state.current)\n }\n\n async function onSubmitDelete() {\n const confirmation = window.confirm(\"Are you sure you want to delete your account? Restoration will be possible only with the help of an administrator.\");\n \n if (!confirmation) {\n return;\n }\n\n users.state.current.status = 'removed'\n await users.actions.update(users.state.current)\n auth.actions.logout()\n }\n function redirectTo () {\n router.replace({ name: 'User Profile', params: { _id: users.state.current._id }});\n }\n</script>\n\n<style lang=\"scss\">\n\t#header {\n\t\t// height: 3rem;\n\t}\n</style>\n"],"names":["ref","useRoute","useRouter","onMounted","users.actions","auth.state","users.state","auth.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwJ8BA,QAAAA,IAAI,IAAI;AAEpC,UAAM,QAAQC,UAAAA,SAAU;AACxB,UAAM,SAASC,UAAAA,UAAW;AAEbF,QAAAA,IAAI,IAAI;AACrB,UAAM,OAAOA,IAAG,IAAC,KAAK;AAGtBG,QAAAA,UAAU,YAAY;AACpB,YAAMC,cAAc,KAAK,EAAE,KAAK,MAAM,OAAO,KAAK,MAAMC,KAAU,MAAC,KAAK,IAAK,CAAA;AAC7E,WAAK,QAAQ;AAAA,IACjB,CAAG;AAED,mBAAe,WAAW;AACxB,YAAMD,cAAc,OAAOE,MAAW,MAAC,OAAO;AAAA,IAC/C;AAED,mBAAe,iBAAiB;AAC9B,YAAM,eAAe,OAAO,QAAQ,oHAAoH;AAExJ,UAAI,CAAC,cAAc;AACf;AAAA,MACH;AAEDA,kBAAY,QAAQ,SAAS;AAC7B,YAAMF,cAAc,OAAOE,MAAW,MAAC,OAAO;AAC9CC,WAAAA,QAAa,OAAQ;AAAA,IACtB;AACD,aAAS,aAAc;AACrB,aAAO,QAAQ,EAAE,MAAM,gBAAgB,QAAQ,EAAE,KAAKD,YAAY,QAAQ,IAAG,EAAE,CAAC;AAAA,IACjF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,12 +1,14 @@
1
1
  import { ref, onMounted, openBlock, createElementBlock, unref, createBlock, createCommentVNode, createVNode, createElementVNode, toDisplayString, withCtx, createTextVNode } from "vue";
2
2
  /* empty css */
3
3
  import Field from "../../../../components/Field/Field.vue2.js";
4
- import _sfc_main$3 from "../../../../components/Button/Button.vue.js";
4
+ import _sfc_main$3 from "../../../../components/Checkbox/Checkbox.vue.js";
5
+ import _sfc_main$4 from "../../../../components/Button/Button.vue2.js";
5
6
  import _sfc_main$2 from "../../../../components/UploadImage/UploadImage.vue.js";
6
7
  import _sfc_main$1 from "../sections/ProfileCompletion.vue.js";
7
8
  import { useRoute, useRouter } from "vue-router";
8
- import { state, actions as actions$1 } from "../../../auth/views/store/auth.js";
9
+ import { state, actions as actions$2 } from "../../../auth/views/store/auth.js";
9
10
  import { actions, state as state$1 } from "../../store/users.js";
11
+ import { state as state$2, actions as actions$1 } from "../../../globals/views/store/globals.js";
10
12
  import "./ProfileEdit.vue2.js";
11
13
  const _hoisted_1 = {
12
14
  key: 0,
@@ -19,7 +21,8 @@ const _hoisted_5 = { class: "mn-b-thin radius-small w-100 h-10r bg-light flex-ce
19
21
  const _hoisted_6 = /* @__PURE__ */ createElementVNode("h4", null, "Upload userpic", -1);
20
22
  const _hoisted_7 = /* @__PURE__ */ createElementVNode("h3", { class: "mn-b-small" }, "Socials", -1);
21
23
  const _hoisted_8 = /* @__PURE__ */ createElementVNode("p", { class: "mn-b-thin" }, "Please provide only the username for social media profiles, without full links.", -1);
22
- const _hoisted_9 = /* @__PURE__ */ createElementVNode("h3", { class: "mn-b-small" }, "Account", -1);
24
+ const _hoisted_9 = /* @__PURE__ */ createElementVNode("h3", { class: "mn-b-small" }, "Settings", -1);
25
+ const _hoisted_10 = /* @__PURE__ */ createElementVNode("h3", { class: "mn-b-small" }, "Account", -1);
23
26
  const _sfc_main = {
24
27
  __name: "ProfileEdit",
25
28
  setup(__props) {
@@ -42,7 +45,7 @@ const _sfc_main = {
42
45
  }
43
46
  state$1.current.status = "removed";
44
47
  await actions.update(state$1.current);
45
- actions$1.logout();
48
+ actions$2.logout();
46
49
  }
47
50
  function redirectTo() {
48
51
  router.replace({ name: "User Profile", params: { _id: state$1.current._id } });
@@ -123,9 +126,16 @@ const _sfc_main = {
123
126
  class: "mn-b-semi bg-light pd-medium radius-small"
124
127
  }, null, 8, ["field"]),
125
128
  _hoisted_9,
129
+ createVNode(_sfc_main$3, {
130
+ label: "Darkmode",
131
+ radio: state$2.theme.darkmode,
132
+ "onUpdate:radio": _cache[8] || (_cache[8] = (event) => actions$1.toggleTheme()),
133
+ class: "mn-b-semi w-100 bg-light t-black pd-medium radius-small"
134
+ }, null, 8, ["radio"]),
135
+ _hoisted_10,
126
136
  createVNode(Field, {
127
137
  field: state$1.current.phone,
128
- "onUpdate:field": _cache[8] || (_cache[8] = ($event) => state$1.current.phone = $event),
138
+ "onUpdate:field": _cache[9] || (_cache[9] = ($event) => state$1.current.phone = $event),
129
139
  label: "Phone",
130
140
  placeholder: "Not specified",
131
141
  class: "mn-b-thin bg-light pd-medium mn-b-thin radius-small",
@@ -134,14 +144,14 @@ const _sfc_main = {
134
144
  }, null, 8, ["field", "validation"]),
135
145
  createVNode(Field, {
136
146
  field: state$1.current.email,
137
- "onUpdate:field": _cache[9] || (_cache[9] = ($event) => state$1.current.email = $event),
147
+ "onUpdate:field": _cache[10] || (_cache[10] = ($event) => state$1.current.email = $event),
138
148
  label: "Email",
139
149
  placeholder: "Not specified",
140
150
  class: "mn-b-semi bg-light pd-medium radius-small",
141
151
  disabled: true,
142
152
  validation: _ctx.organizationName
143
153
  }, null, 8, ["field", "validation"]),
144
- createVNode(_sfc_main$3, {
154
+ createVNode(_sfc_main$4, {
145
155
  submit: onSubmit,
146
156
  callback: redirectTo,
147
157
  class: "mn-b-thin bg-main w-100"
@@ -151,7 +161,7 @@ const _sfc_main = {
151
161
  ]),
152
162
  _: 1
153
163
  }),
154
- createVNode(_sfc_main$3, {
164
+ createVNode(_sfc_main$4, {
155
165
  submit: onSubmitDelete,
156
166
  callback: _ctx.a = () => {
157
167
  unref(router).push({ name: "Sign In" });