@ozdao/prometheus-framework 0.2.156 → 0.2.158

Sign up to get free protection for your applications and to get access to all the features.
Files changed (322) hide show
  1. package/dist/_virtual/_commonjsHelpers.cjs +1 -1
  2. package/dist/_virtual/_commonjsHelpers.js +5 -3
  3. package/dist/_virtual/purify.cjs +1 -0
  4. package/dist/_virtual/purify.js +4 -0
  5. package/dist/builder.js +822 -0
  6. package/dist/builder.mjs +801 -0
  7. package/dist/{main-D_RRsfEH.mjs → main-Ba3SEUWZ.mjs} +1812 -1774
  8. package/dist/main-ldzk-jIP.js +92 -0
  9. package/dist/main.css +1 -1
  10. package/dist/node_modules/dompurify/dist/purify.cjs +2 -0
  11. package/dist/node_modules/dompurify/dist/purify.js +531 -0
  12. package/dist/node_modules/isomorphic-dompurify/browser.cjs +1 -0
  13. package/dist/node_modules/isomorphic-dompurify/browser.js +7 -0
  14. package/dist/products.server.js +1 -1
  15. package/dist/products.server.mjs +1 -1
  16. package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/regex.cjs +1 -0
  17. package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/regex.js +4 -0
  18. package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/rng.cjs +1 -0
  19. package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/rng.js +9 -0
  20. package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/stringify.cjs +1 -0
  21. package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/stringify.js +13 -0
  22. package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/v4.cjs +1 -0
  23. package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/v4.js +10 -0
  24. package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/validate.cjs +1 -0
  25. package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/validate.js +7 -0
  26. package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
  27. package/dist/prometheus-framework/src/components/Block/Block.vue.js +1 -1
  28. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  29. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
  30. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  31. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +47 -30
  32. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +9 -9
  33. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  34. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +10 -10
  35. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +14 -14
  36. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +9 -9
  37. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +11 -11
  38. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +34 -34
  39. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +27 -27
  40. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +1 -0
  41. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +58 -0
  42. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  43. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +11 -180
  44. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -0
  45. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +190 -0
  46. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
  47. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +9 -7
  48. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  49. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +48 -43
  50. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  51. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  52. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  53. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +41 -63
  54. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  55. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
  56. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  57. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +37 -36
  58. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  59. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +5 -5
  60. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  61. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
  62. package/dist/prometheus-framework/src/modules/community/router/blogposts.cjs +1 -1
  63. package/dist/prometheus-framework/src/modules/community/router/blogposts.js +3 -0
  64. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +13 -13
  65. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -5
  66. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +105 -53
  67. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  68. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +92 -98
  69. package/dist/prometheus-framework/src/modules/constructor/components/sections/Viewer.vue.cjs +1 -0
  70. package/dist/prometheus-framework/src/modules/constructor/components/sections/Viewer.vue.js +39 -0
  71. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  73. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  75. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +13 -12
  77. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +19 -19
  79. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  80. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  81. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  82. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  83. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +7 -7
  84. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  85. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +2 -2
  86. package/dist/prometheus-framework/src/modules/globals/components/sections/SectionPageTitle.vue.cjs +1 -1
  87. package/dist/prometheus-framework/src/modules/globals/components/sections/SectionPageTitle.vue.js +2 -2
  88. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  89. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  90. package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -1
  91. package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +13 -15
  92. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  93. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  94. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  95. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  96. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  97. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  98. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  99. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +4 -4
  100. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +8 -8
  101. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  102. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  103. package/dist/prometheus-framework/src/modules/orders/orders.client.cjs +1 -1
  104. package/dist/prometheus-framework/src/modules/orders/orders.client.js +34 -33
  105. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  106. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  107. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  108. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  109. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  110. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +3 -3
  111. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  112. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  113. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  114. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +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 +14 -14
  117. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  118. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
  119. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  120. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +10 -10
  121. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  122. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +5 -5
  123. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  124. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +4 -4
  125. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
  126. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +13 -7
  127. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  128. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +18 -18
  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.js +6 -6
  132. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  133. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +11 -11
  134. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +17 -17
  136. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  137. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +30 -30
  138. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +9 -9
  139. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  140. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  141. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  142. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  143. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  144. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  145. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  146. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  147. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +1 -1
  149. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
  150. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +16 -16
  151. package/dist/prometheus-framework/src/modules/spots/router/spots.cjs +1 -1
  152. package/dist/prometheus-framework/src/modules/spots/router/spots.js +4 -0
  153. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  154. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
  155. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +22 -22
  156. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +4 -4
  157. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  158. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +17 -17
  159. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  160. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +5 -5
  161. package/dist/prometheus-framework.cjs.js +1 -1
  162. package/dist/prometheus-framework.es.js +1 -1
  163. package/dist/style.css +1 -1
  164. package/dist/{web-5eyiz9L7.mjs → web-CT2tGYho.mjs} +1 -1
  165. package/dist/{web-C04IcLk4.js → web-DWjMBTNi.js} +1 -1
  166. package/package.json +7 -2
  167. package/src/builder/builder.js +14 -0
  168. package/src/builder/modes/spa.dev.js +100 -0
  169. package/src/builder/modes/spa.prod.js +59 -0
  170. package/src/builder/modes/ssr.dev.js +184 -0
  171. package/src/builder/modes/ssr.prod.js +76 -0
  172. package/src/builder/ssr/ssr-render-html.js +57 -0
  173. package/src/builder/ssr/ssr-transform-webpack-stats.js +54 -0
  174. package/src/builder/templates/page.html +37 -0
  175. package/src/builder/templates/screen.html +33 -0
  176. package/src/builder/utils/hot-reload.js +5 -0
  177. package/src/builder/webpack/index.js +13 -0
  178. package/src/builder/webpack/webpack.config.base.js +127 -0
  179. package/src/builder/webpack/webpack.config.client.js +78 -0
  180. package/src/builder/webpack/webpack.config.server.js +31 -0
  181. package/src/builder/webpack/webpack.config.spa.js +80 -0
  182. package/src/builder/webpack/webpack.config.ssr.js +57 -0
  183. package/src/components/Breadcrumbs/Breadcrumbs.vue +39 -16
  184. package/src/components/Field/Field.vue +21 -2
  185. package/src/components/Popup/Popup.vue +1 -1
  186. package/src/modules/auth/store/auth.js +1 -2
  187. package/src/modules/backoffice/components/layouts/Backoffice.vue +36 -62
  188. package/src/modules/backoffice/components/pages/Dashboard.vue +2 -125
  189. package/src/modules/backoffice/components/partials/Sidebar.vue +176 -0
  190. package/src/modules/backoffice/router/admin.js +0 -15
  191. package/src/modules/backoffice/router/backoffice.js +5 -1
  192. package/src/modules/community/components/blocks/CardBlogpost.vue +6 -1
  193. package/src/modules/community/components/pages/BlogPost.vue +30 -67
  194. package/src/modules/community/components/sections/Comments.vue +1 -1
  195. package/src/modules/community/router/blogposts.js +4 -0
  196. package/src/modules/constructor/components/elements/Textarea.vue +197 -79
  197. package/src/modules/constructor/components/sections/Constructor.vue +19 -32
  198. package/src/modules/constructor/components/sections/Viewer.vue +53 -0
  199. package/src/modules/globals/components/layouts/Client.vue +21 -7
  200. package/src/modules/globals/components/layouts/Empty.vue +1 -6
  201. package/src/modules/globals/components/pages/404.vue +1 -1
  202. package/src/modules/globals/components/sections/SectionPageTitle.vue +2 -2
  203. package/src/modules/globals/mixins/mixins.js +129 -97
  204. package/src/modules/landing/router/landing.js +3 -0
  205. package/src/modules/marketplace/components/pages/Catalog.vue +1 -1
  206. package/src/modules/middlewares/client/auth.validation.js +14 -15
  207. package/src/modules/orders/orders.client.js +4 -2
  208. package/src/modules/organizations/router/organizations.js +9 -3
  209. package/src/modules/pages/controllers/factories/pages.factory.js +106 -0
  210. package/src/modules/pages/controllers/routes/pages.routes.js +24 -0
  211. package/src/modules/pages/models/page.model.js +18 -11
  212. package/src/modules/pages/pages.client.js +40 -0
  213. package/src/modules/pages/pages.server.js +32 -0
  214. package/src/modules/pages/views/components/blocks/CardPage.vue +123 -0
  215. package/src/modules/pages/views/components/pages/Page.vue +173 -0
  216. package/src/modules/pages/views/components/pages/PageEdit.vue +121 -0
  217. package/src/modules/pages/views/components/pages/Pages.vue +60 -0
  218. package/src/modules/pages/views/components/partials/SidebarPages.vue +112 -0
  219. package/src/modules/pages/views/router/pages.backoffice.router.js +46 -0
  220. package/src/modules/pages/views/router/pages.router.js +25 -0
  221. package/src/modules/pages/views/store/pages.js +78 -0
  222. package/src/modules/pages/views/store/pages.store.js +5 -0
  223. package/src/modules/products/controllers/leftovers.controller.js +1 -1
  224. package/src/modules/spots/router/spots.js +4 -0
  225. package/src/styles/base/all.scss +66 -53
  226. package/dist/index-BshfsiQG.js +0 -220
  227. package/dist/index-C-8xOJnM.mjs +0 -244
  228. package/dist/index-C-DW6ra2.js +0 -260
  229. package/dist/index-CDbtWkBj.js +0 -243
  230. package/dist/index-D4j29ivg.mjs +0 -261
  231. package/dist/index-DKtnWDNC.mjs +0 -221
  232. package/dist/index-DNI4aUP2.js +0 -259
  233. package/dist/index-Tcyehi73.mjs +0 -260
  234. package/dist/main-3Vn8SU2y.mjs +0 -14509
  235. package/dist/main-5IrI2IOV.js +0 -92
  236. package/dist/main-BFKp44Ze.mjs +0 -14509
  237. package/dist/main-BF_nMkug.js +0 -92
  238. package/dist/main-BHr0-Z3t.mjs +0 -14510
  239. package/dist/main-BY2OvGB9.mjs +0 -14509
  240. package/dist/main-Bcj0J6tP.mjs +0 -14509
  241. package/dist/main-Bq5YvSWe.mjs +0 -14509
  242. package/dist/main-BxHxhrZ_.js +0 -92
  243. package/dist/main-By5Tbyui.js +0 -92
  244. package/dist/main-CEoQQpJV.js +0 -92
  245. package/dist/main-CI9l9xMs.js +0 -92
  246. package/dist/main-Ckn0Sslr.js +0 -92
  247. package/dist/main-DBv451oC.js +0 -92
  248. package/dist/main-DPg58GOU.mjs +0 -14509
  249. package/dist/main-DTHFR7H_.mjs +0 -14510
  250. package/dist/main-DxyAONrm.mjs +0 -14438
  251. package/dist/main-gY_284gJ.js +0 -92
  252. package/dist/main-wXdocsbd.js +0 -92
  253. package/dist/middlewares.server.js +0 -19
  254. package/dist/middlewares.server.mjs +0 -20
  255. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +0 -1
  256. package/dist/prometheus-framework/src/components/Address/Address.vue.js +0 -89
  257. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +0 -1
  258. package/dist/prometheus-framework/src/components/Button/Button.vue.js +0 -95
  259. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +0 -1
  260. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +0 -26
  261. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +0 -1
  262. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +0 -57
  263. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +0 -1
  264. package/dist/prometheus-framework/src/components/Field/Field.vue.js +0 -83
  265. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +0 -1
  266. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +0 -127
  267. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +0 -1
  268. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +0 -77
  269. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +0 -1
  270. package/dist/prometheus-framework/src/components/Select/Select.vue.js +0 -103
  271. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +0 -1
  272. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +0 -36
  273. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +0 -1
  274. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +0 -125
  275. package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.cjs +0 -2
  276. package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.js +0 -47
  277. package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.cjs +0 -2
  278. package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.js +0 -46
  279. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +0 -4
  280. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +0 -65
  281. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +0 -5
  282. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -67
  283. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.cjs +0 -1
  284. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.js +0 -30
  285. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.cjs +0 -1
  286. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.js +0 -42
  287. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.cjs +0 -1
  288. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.js +0 -26
  289. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.cjs +0 -1
  290. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.js +0 -42
  291. package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.cjs +0 -1
  292. package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.js +0 -26
  293. package/dist/queryProcessor-g8208K6g.mjs +0 -178
  294. package/dist/queryProcessor-haY_gPGg.js +0 -177
  295. package/dist/web-3rnOWrQO.mjs +0 -54
  296. package/dist/web-BPUCAST-.mjs +0 -54
  297. package/dist/web-Be96Xqd4.mjs +0 -54
  298. package/dist/web-BmdKi_fZ.js +0 -1
  299. package/dist/web-Bqpk8Mpk.js +0 -1
  300. package/dist/web-BwHcRwYc.mjs +0 -54
  301. package/dist/web-BzUFKqzw.js +0 -1
  302. package/dist/web-CcFPvlkl.js +0 -1
  303. package/dist/web-CgjTW1bL.js +0 -1
  304. package/dist/web-Cw0ijzjY.js +0 -1
  305. package/dist/web-CwTWV4ca.mjs +0 -54
  306. package/dist/web-DHeZE1jJ.js +0 -1
  307. package/dist/web-DZUec7pP.js +0 -1
  308. package/dist/web-Dh669DqQ.mjs +0 -54
  309. package/dist/web-DkWpHYrh.mjs +0 -54
  310. package/dist/web-Dt2RCU54.js +0 -1
  311. package/dist/web-krQQeSb6.mjs +0 -54
  312. package/dist/web-nqFW_Sd1.mjs +0 -54
  313. package/src/modules/community/controllers/comments.controller.aggr.js +0 -280
  314. package/src/modules/community/controllers/comments.controller.populate.js +0 -180
  315. package/src/modules/constructor/components/elements/H2.vue +0 -102
  316. package/src/modules/pages/components/pages/Page.vue +0 -174
  317. package/src/modules/pages/components/pages/PageEdit.vue +0 -159
  318. package/src/modules/pages/components/pages/Pages.vue +0 -108
  319. package/src/modules/pages/controllers/pages.controller.js +0 -71
  320. package/src/modules/pages/router/pages.router.js +0 -15
  321. package/src/modules/pages/routes/pages.routes.js +0 -30
  322. package/src/modules/pages/store/pages.js +0 -94
@@ -1,23 +1,23 @@
1
- import { ref as p, onMounted as k, resolveComponent as E, openBlock as V, createElementBlock as I, createElementVNode as l, createTextVNode as c, toDisplayString as r, unref as s, createVNode as o, withCtx as d, Transition as b, withDirectives as g, vShow as w } from "vue";
1
+ import { ref as p, onMounted as k, resolveComponent as E, openBlock as V, createElementBlock as I, createElementVNode as s, createTextVNode as c, toDisplayString as r, unref as l, createVNode as o, withCtx as d, Transition as b, withDirectives as g, vShow as w } from "vue";
2
2
  import q from "../../../../components/Tab/Tab.vue2.js";
3
3
  import y from "../../../../components/Field/Field.vue2.js";
4
4
  import D from "../../../../components/FieldPhone/FieldPhone.vue.js";
5
5
  import O from "../../../../components/Button/Button.vue2.js";
6
- import { useRoute as $, useRouter as j } from "vue-router";
7
- import { useI18n as A } from "vue-i18n";
8
- import N from "../../localization/SignIn.json.js";
9
- import { state as i, actions as T } from "../../store/auth.js";
10
- import { validateInputs as S, validatePhone as B, validateEmail as R } from "../../../middlewares/client/inputs.validation.js";
6
+ import { useRoute as j, useRouter as A } from "vue-router";
7
+ import { useI18n as N } from "vue-i18n";
8
+ import T from "../../localization/SignIn.json.js";
9
+ import { state as i, actions as $ } from "../../store/auth.js";
10
+ import { validateInputs as S, validatePhone as B, validateEmail as F } from "../../../middlewares/client/inputs.validation.js";
11
11
  /* empty css */
12
- const F = { class: "" }, L = /* @__PURE__ */ l("img", {
12
+ const R = { class: "" }, L = /* @__PURE__ */ s("img", {
13
13
  src: "/logo/logo.svg",
14
14
  class: "i-extra radius-small mn-b-small"
15
- }, null, -1), M = { class: "mn-b-medium" }, z = /* @__PURE__ */ l("br", null, null, -1), G = { class: "t-semi" }, H = { class: "mn-b-big" }, J = { class: "mn-b-small p-small uppercase t-semi bg-light radius-big o-hidden" }, K = { class: "pos-relative" }, Q = { class: "mn-b-thin radius-small" }, W = { class: "mn-b-thin radius-small o-hidden" }, X = { class: "w-100 mn-b-big" }, ue = {
15
+ }, null, -1), M = { class: "mn-b-medium" }, z = /* @__PURE__ */ s("br", null, null, -1), G = { class: "t-semi" }, H = { class: "mn-b-big" }, J = { class: "mn-b-small p-small uppercase t-semi bg-light radius-big o-hidden" }, K = { class: "pos-relative" }, Q = { class: "mn-b-thin radius-small" }, W = { class: "mn-b-thin radius-small o-hidden" }, X = { class: "w-100 mn-b-big" }, ue = {
16
16
  __name: "SignIn",
17
17
  setup(Y) {
18
- const h = p(null), x = p(null), _ = p(null), f = $(), v = j(), { t: a } = A({
18
+ const h = p(null), x = p(null), f = p(null), _ = j(), v = A(), { t: a } = N({
19
19
  useScope: "global",
20
- ...N
20
+ ...T
21
21
  }), n = p("phone"), C = (u) => new Promise((t, m) => {
22
22
  const e = document.createElement("script");
23
23
  e.type = "text/javascript", e.src = u, e.onload = t, e.onerror = m, document.head.appendChild(e);
@@ -33,8 +33,8 @@ const F = { class: "" }, L = /* @__PURE__ */ l("img", {
33
33
  i.user.phone,
34
34
  "Некорректный телефон"
35
35
  ), n.value === "email" && await S(
36
- _,
37
- R,
36
+ f,
37
+ F,
38
38
  i.user.email,
39
39
  "Некорректный email"
40
40
  );
@@ -42,11 +42,11 @@ const F = { class: "" }, L = /* @__PURE__ */ l("img", {
42
42
  throw new Error();
43
43
  }
44
44
  const u = { ...i.user };
45
- await T.login(u, n.value);
45
+ await $.login(u, n.value);
46
46
  }
47
47
  function P() {
48
- f.query.returnUrl ? v.push({
49
- path: f.query.returnUrl,
48
+ _.query.returnUrl ? v.push({
49
+ path: _.query.returnUrl,
50
50
  query: {
51
51
  afterAuth: "true"
52
52
  }
@@ -62,38 +62,38 @@ const F = { class: "" }, L = /* @__PURE__ */ l("img", {
62
62
  }
63
63
  return (u, t) => {
64
64
  const m = E("router-link");
65
- return V(), I("section", F, [
65
+ return V(), I("section", R, [
66
66
  L,
67
- l("h3", M, [
68
- c(r(s(a)("title")) + " ", 1),
67
+ s("h3", M, [
68
+ c(r(l(a)("title")) + " ", 1),
69
69
  z,
70
- l("span", G, r(s(a)("subtitle")), 1)
70
+ s("span", G, r(l(a)("subtitle")), 1)
71
71
  ]),
72
- l("p", H, [
72
+ s("p", H, [
73
73
  o(m, {
74
74
  to: { name: "Sign Up" },
75
75
  class: "underline t-second"
76
76
  }, {
77
77
  default: d(() => [
78
- c(r(s(a)("signup")), 1)
78
+ c(r(l(a)("signup")), 1)
79
79
  ]),
80
80
  _: 1
81
81
  })
82
82
  ]),
83
- l("div", J, [
83
+ s("div", J, [
84
84
  o(q, {
85
85
  selected: n.value,
86
86
  "onUpdate:selected": t[0] || (t[0] = (e) => n.value = e),
87
87
  tabs: [
88
- { name: s(a)("phone"), value: "phone" },
89
- { name: s(a)("email"), value: "email" }
88
+ { name: l(a)("phone"), value: "phone" },
89
+ { name: l(a)("email"), value: "email" }
90
90
  ]
91
91
  }, null, 8, ["selected", "tabs"])
92
92
  ]),
93
- l("div", K, [
93
+ s("div", K, [
94
94
  o(b, { name: "slide-fade" }, {
95
95
  default: d(() => [
96
- g(l("div", Q, [
96
+ g(s("div", Q, [
97
97
  o(D, {
98
98
  onChange: t[1] || (t[1] = (e) => i.user.phone = e),
99
99
  dropdownOptions: {
@@ -104,7 +104,7 @@ const F = { class: "" }, L = /* @__PURE__ */ l("img", {
104
104
  validCharactersOnly: !0,
105
105
  validation: h.value,
106
106
  mode: "national",
107
- inputOptions: { placeholder: s(a)("phonePlaceholder"), type: "tel" },
107
+ inputOptions: { placeholder: l(a)("phonePlaceholder"), type: "tel" },
108
108
  class: "bg-light pd-small radius-small mn-b-thin"
109
109
  }, null, 8, ["validation", "inputOptions"])
110
110
  ], 512), [
@@ -115,12 +115,12 @@ const F = { class: "" }, L = /* @__PURE__ */ l("img", {
115
115
  }),
116
116
  o(b, { name: "slide-fade" }, {
117
117
  default: d(() => [
118
- g(l("div", W, [
118
+ g(s("div", W, [
119
119
  o(y, {
120
120
  field: i.user.email,
121
121
  "onUpdate:field": t[2] || (t[2] = (e) => i.user.email = e),
122
- placeholder: s(a)("emailPlaceholder"),
123
- validation: _.value,
122
+ placeholder: l(a)("emailPlaceholder"),
123
+ validation: f.value,
124
124
  class: "bg-light pd-medium radius-small"
125
125
  }, null, 8, ["field", "placeholder", "validation"])
126
126
  ], 512), [
@@ -135,16 +135,16 @@ const F = { class: "" }, L = /* @__PURE__ */ l("img", {
135
135
  "onUpdate:field": t[3] || (t[3] = (e) => i.user.password = e),
136
136
  type: "password",
137
137
  validation: x.value,
138
- placeholder: s(a)("passwordPlaceholder"),
138
+ placeholder: l(a)("passwordPlaceholder"),
139
139
  class: "bg-light pd-medium radius-small mn-b-semi"
140
140
  }, null, 8, ["field", "validation", "placeholder"]),
141
- l("div", X, [
141
+ s("div", X, [
142
142
  o(m, {
143
143
  to: "/auth/reset-password",
144
144
  class: "underline d-block t-blue"
145
145
  }, {
146
146
  default: d(() => [
147
- c(r(s(a)("forgotPassword")), 1)
147
+ c(r(l(a)("forgotPassword")), 1)
148
148
  ]),
149
149
  _: 1
150
150
  })
@@ -155,7 +155,7 @@ const F = { class: "" }, L = /* @__PURE__ */ l("img", {
155
155
  class: "w-100 bg-main mn-b-thin"
156
156
  }, {
157
157
  default: d(() => [
158
- c(r(s(a)("signin")), 1)
158
+ c(r(l(a)("signin")), 1)
159
159
  ]),
160
160
  _: 1
161
161
  })
@@ -1,32 +1,32 @@
1
- import { ref as d, resolveComponent as E, openBlock as S, createElementBlock as x, createElementVNode as o, toDisplayString as r, unref as t, createVNode as l, Transition as h, withCtx as m, withDirectives as _, vShow as f, createTextVNode as v } from "vue";
1
+ import { ref as d, resolveComponent as E, openBlock as S, createElementBlock as x, createElementVNode as o, toDisplayString as r, unref as t, createVNode as a, Transition as h, withCtx as m, withDirectives as _, vShow as f, createTextVNode as v } from "vue";
2
2
  import N from "../../../../components/Tab/Tab.vue2.js";
3
3
  import V from "../../../../components/Field/Field.vue2.js";
4
4
  import y from "../../../../components/FieldPhone/FieldPhone.vue.js";
5
5
  import D from "../../../../components/Button/Button.vue2.js";
6
- import { useRoute as I, useRouter as $ } from "vue-router";
7
- import { useI18n as O } from "vue-i18n";
8
- import P from "../../localization/SignUp.json.js";
6
+ import { useRoute as I, useRouter as O } from "vue-router";
7
+ import { useI18n as P } from "vue-i18n";
8
+ import T from "../../localization/SignUp.json.js";
9
9
  import { state as s } from "../../store/auth.js";
10
- import { sendCode as T } from "../../store/twofa.js";
11
- import { validateInputs as b, validatePhone as U, validateEmail as A } from "../../../middlewares/client/inputs.validation.js";
10
+ import { sendCode as U } from "../../store/twofa.js";
11
+ import { validateInputs as b, validatePhone as $, validateEmail as A } from "../../../middlewares/client/inputs.validation.js";
12
12
  /* empty css */
13
- const B = { class: "t-left pd-medium" }, R = { class: "mn-b-small" }, F = { class: "mn-b-small p-small uppercase t-semi bg-light radius-big o-hidden" }, L = { class: "pos-relative" }, j = { class: "mn-b-semi radius-small" }, q = { class: "mn-b-small t-transp" }, z = { class: "mn-b-semi radius-small o-hidden" }, G = { class: "mn-b-small t-transp" }, H = { class: "w-100" }, ie = {
13
+ const B = { class: "t-left pd-medium" }, F = { class: "mn-b-small" }, R = { class: "mn-b-small p-small uppercase t-semi bg-light radius-big o-hidden" }, L = { class: "pos-relative" }, j = { class: "mn-b-semi radius-small" }, q = { class: "mn-b-small t-transp" }, z = { class: "mn-b-semi radius-small o-hidden" }, G = { class: "mn-b-small t-transp" }, H = { class: "w-100" }, ie = {
14
14
  __name: "SignUp",
15
15
  setup(J) {
16
- const { t: e } = O({
16
+ const { t: e } = P({
17
17
  useScope: "global",
18
- ...P
18
+ ...T
19
19
  }), u = d(null), c = d(null);
20
20
  I();
21
- const g = $(), a = d("phone");
21
+ const g = O(), l = d("phone");
22
22
  async function w() {
23
23
  try {
24
- a.value === "phone" && await b(
24
+ l.value === "phone" && await b(
25
25
  u,
26
- U,
26
+ $,
27
27
  s.user.phone,
28
28
  "Некорректный телефон"
29
- ), a.value === "email" && await b(
29
+ ), l.value === "email" && await b(
30
30
  c,
31
31
  A,
32
32
  s.user.email,
@@ -36,7 +36,7 @@ const B = { class: "t-left pd-medium" }, R = { class: "mn-b-small" }, F = { clas
36
36
  throw new Error();
37
37
  }
38
38
  try {
39
- await T(s.user, "signup", a.value);
39
+ await U(s.user, "signup", l.value);
40
40
  } catch {
41
41
  throw new Error();
42
42
  }
@@ -47,11 +47,11 @@ const B = { class: "t-left pd-medium" }, R = { class: "mn-b-small" }, F = { clas
47
47
  return (p, i) => {
48
48
  const k = E("router-link");
49
49
  return S(), x("section", B, [
50
- o("h3", R, r(t(e)("title")), 1),
51
- o("div", F, [
52
- l(N, {
53
- selected: a.value,
54
- "onUpdate:selected": i[0] || (i[0] = (n) => a.value = n),
50
+ o("h3", F, r(t(e)("title")), 1),
51
+ o("div", R, [
52
+ a(N, {
53
+ selected: l.value,
54
+ "onUpdate:selected": i[0] || (i[0] = (n) => l.value = n),
55
55
  tabs: [
56
56
  { name: t(e)("phone"), value: "phone" },
57
57
  { name: t(e)("email"), value: "email" }
@@ -59,11 +59,11 @@ const B = { class: "t-left pd-medium" }, R = { class: "mn-b-small" }, F = { clas
59
59
  }, null, 8, ["selected", "tabs"])
60
60
  ]),
61
61
  o("div", L, [
62
- l(h, { name: "slide-fade" }, {
62
+ a(h, { name: "slide-fade" }, {
63
63
  default: m(() => [
64
64
  _(o("div", j, [
65
65
  o("p", q, r(t(e)("smsNotice")), 1),
66
- l(y, {
66
+ a(y, {
67
67
  onChange: i[1] || (i[1] = (n) => s.user.phone = n),
68
68
  dropdownOptions: {
69
69
  showDialCodeInSelection: !0,
@@ -76,16 +76,16 @@ const B = { class: "t-left pd-medium" }, R = { class: "mn-b-small" }, F = { clas
76
76
  class: "bg-light pd-small radius-small mn-b-thin"
77
77
  }, null, 8, ["validation", "inputOptions"])
78
78
  ], 512), [
79
- [f, a.value === "phone"]
79
+ [f, l.value === "phone"]
80
80
  ])
81
81
  ]),
82
82
  _: 1
83
83
  }),
84
- l(h, { name: "slide-fade" }, {
84
+ a(h, { name: "slide-fade" }, {
85
85
  default: m(() => [
86
86
  _(o("div", z, [
87
87
  o("p", G, r(t(e)("emailNotice")), 1),
88
- l(V, {
88
+ a(V, {
89
89
  field: s.user.email,
90
90
  "onUpdate:field": i[2] || (i[2] = (n) => s.user.email = n),
91
91
  placeholder: t(e)("emailPlaceholder"),
@@ -93,13 +93,13 @@ const B = { class: "t-left pd-medium" }, R = { class: "mn-b-small" }, F = { clas
93
93
  class: "bg-light pd-medium radius-small"
94
94
  }, null, 8, ["field", "placeholder", "validation"])
95
95
  ], 512), [
96
- [f, a.value === "email"]
96
+ [f, l.value === "email"]
97
97
  ])
98
98
  ]),
99
99
  _: 1
100
100
  })
101
101
  ]),
102
- l(D, {
102
+ a(D, {
103
103
  submit: w,
104
104
  callback: C,
105
105
  class: "w-100 bg-main mn-b-big"
@@ -110,7 +110,7 @@ const B = { class: "t-left pd-medium" }, R = { class: "mn-b-small" }, F = { clas
110
110
  _: 1
111
111
  }),
112
112
  o("div", H, [
113
- l(k, {
113
+ a(k, {
114
114
  to: "/auth/signin",
115
115
  class: "underline mn-b-medium d-block t-blue"
116
116
  }, {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("vue-router");require("../../../auth/store/auth.cjs");require("../../../organizations/store/organizations.cjs");const a={id:"account",class:"gap-thin pd-thin cols-2-1_3"},s={key:0,class:"w-100"},u={class:"w-100"},i={__name:"Backoffice",props:{favorites:Array},setup(l){const t=o.useRoute();return o.useRouter(),e.ref(null),e.ref([]),e.onMounted(async()=>{}),(d,_)=>{const n=e.resolveComponent("router-view");return e.openBlock(),e.createElementBlock("section",a,[e.unref(t).meta.sidebar?(e.openBlock(),e.createElementBlock("div",s,[e.createVNode(e.Transition,{name:"scaleIn",mode:"out-in"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(t).meta.sidebar)))]),_:1})])):e.createCommentVNode("",!0),e.createElementVNode("div",u,[e.createVNode(n,null,{default:e.withCtx(({Component:r,route:c})=>[e.createVNode(e.Transition,{name:"scaleIn",mode:"out-in"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r),{ref:"page",key:c.path}))]),_:2},1024)]),_:1})])])}}};exports.default=i;
@@ -0,0 +1,58 @@
1
+ import { ref as r, onMounted as d, resolveComponent as p, openBlock as e, createElementBlock as a, unref as s, createVNode as t, Transition as c, withCtx as o, createBlock as i, resolveDynamicComponent as m, createCommentVNode as f, createElementVNode as h } from "vue";
2
+ import { useRoute as v, useRouter as k } from "vue-router";
3
+ import "../../../auth/store/auth.js";
4
+ import "../../../organizations/store/organizations.js";
5
+ const w = {
6
+ id: "account",
7
+ class: "gap-thin pd-thin cols-2-1_3"
8
+ }, y = {
9
+ key: 0,
10
+ class: "w-100"
11
+ }, B = { class: "w-100" }, I = {
12
+ __name: "Backoffice",
13
+ props: {
14
+ favorites: Array
15
+ },
16
+ setup(C) {
17
+ const n = v();
18
+ return k(), r(null), r([]), d(async () => {
19
+ }), (x, N) => {
20
+ const u = p("router-view");
21
+ return e(), a("section", w, [
22
+ s(n).meta.sidebar ? (e(), a("div", y, [
23
+ t(c, {
24
+ name: "scaleIn",
25
+ mode: "out-in"
26
+ }, {
27
+ default: o(() => [
28
+ (e(), i(m(s(n).meta.sidebar)))
29
+ ]),
30
+ _: 1
31
+ })
32
+ ])) : f("", !0),
33
+ h("div", B, [
34
+ t(u, null, {
35
+ default: o(({ Component: l, route: _ }) => [
36
+ t(c, {
37
+ name: "scaleIn",
38
+ mode: "out-in"
39
+ }, {
40
+ default: o(() => [
41
+ (e(), i(m(l), {
42
+ ref: "page",
43
+ key: _.path
44
+ }))
45
+ ]),
46
+ _: 2
47
+ }, 1024)
48
+ ]),
49
+ _: 1
50
+ })
51
+ ])
52
+ ]);
53
+ };
54
+ }
55
+ };
56
+ export {
57
+ I as default
58
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("../../../../components/Menu/Menu.vue2.cjs"),s=require("../../../../components/Menu/MenuItem.vue.cjs");;/* empty css */const a=require("../../../icons/entities/IconProducts.vue.cjs"),u=require("../../../icons/entities/IconEvents.vue.cjs"),i=require("../../../icons/entities/IconGroups.vue.cjs"),c=require("../../../icons/entities/IconGallery.vue.cjs"),d=require("../../../icons/entities/IconOrders.vue.cjs"),f=require("../../../icons/entities/IconLeftovers.vue.cjs"),l=require("vue-router");require("../../../auth/store/auth.cjs");require("../../../organizations/store/organizations.cjs");const m={class:""},p=e.createElementVNode("h1",{class:"pd-medium radius-medium bg-light mn-b-small"},"Welcome to Backoffice2",-1),N=e.createElementVNode("span",null," Members ",-1),V=e.createElementVNode("span",null," Community ",-1),v=e.createElementVNode("span",null," Products ",-1),h=e.createElementVNode("span",null," Leftovers ",-1),_=e.createElementVNode("span",null," Orders ",-1),C=e.createElementVNode("span",null," Gallery ",-1),k=e.createElementVNode("span",null," Events ",-1),g=e.createElementVNode("span",null," Payments ",-1),w=e.createElementVNode("span",null," Organizations ",-1),b=e.createElementVNode("span",null," Pages ",-1),E=e.createElementVNode("span",null," Reports ",-1),x={__name:"Dashboard",props:{favorites:Array},setup(q){l.useRoute();const r=l.useRouter();return e.ref(null),e.ref([]),e.onMounted(async()=>{}),($,t)=>(e.openBlock(),e.createElementBlock("div",m,[p,e.createVNode(n.default,{class:"bg-light mn-b-semi"},{default:e.withCtx(()=>[e.createVNode(s.default,{onClick:t[0]||(t[0]=o=>e.unref(r).push({name:"Organization Members"})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(i.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),N]),_:1}),e.createVNode(s.default,{onClick:t[1]||(t[1]=o=>e.unref(r).push({name:"Backoffice Community"})),class:"cursor-pointer"},{default:e.withCtx(()=>[V]),_:1}),e.createVNode(s.default,{onClick:t[2]||(t[2]=o=>e.unref(r).push({name:"Products"})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(a.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),v]),_:1}),e.createVNode(s.default,{onClick:t[3]||(t[3]=o=>e.unref(r).push({name:"Leftovers"})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(f.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),h]),_:1}),e.createVNode(s.default,{onClick:t[4]||(t[4]=o=>e.unref(r).push({name:"Backoffice Orders"})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(d.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),_]),_:1}),e.createVNode(s.default,{onClick:t[5]||(t[5]=o=>e.unref(r).push({name:"Backoffice Gallery"})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(c.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),C]),_:1}),e.createVNode(s.default,{onClick:t[6]||(t[6]=o=>e.unref(r).push({name:"Backoffice Events"})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(u.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),k]),_:1}),e.createVNode(s.default,{onClick:t[7]||(t[7]=o=>e.unref(r).push({name:"Payments"})),class:"cursor-pointer"},{default:e.withCtx(()=>[g]),_:1})]),_:1}),e.createVNode(n.default,{class:"bg-light"},{default:e.withCtx(()=>[e.createVNode(s.default,{onClick:t[8]||(t[8]=o=>e.unref(r).push({name:"Backoffice Organizations"})),class:"cursor-pointer"},{default:e.withCtx(()=>[w]),_:1}),e.createVNode(s.default,{onClick:t[9]||(t[9]=o=>e.unref(r).push({name:"Backoffice Pages"})),class:"cursor-pointer"},{default:e.withCtx(()=>[b]),_:1}),e.createVNode(s.default,{onClick:t[10]||(t[10]=o=>e.unref(r).push({name:"Backoffice Reports"})),class:"cursor-pointer"},{default:e.withCtx(()=>[E]),_:1})]),_:1})]))}};exports.default=x;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */require("../../../../components/Menu/MenuItem.vue.cjs");;/* empty css */const r=require("vue-router");require("../../../auth/store/auth.cjs");require("../../../organizations/store/organizations.cjs");const t={class:""},o=e.createElementVNode("h1",{class:"pd-medium radius-medium bg-light mn-b-small"},"Welcome to Backoffice",-1),u=[o],s={__name:"Dashboard",props:{favorites:Array},setup(c){return r.useRoute(),r.useRouter(),e.ref(null),e.ref([]),e.onMounted(async()=>{}),(i,n)=>(e.openBlock(),e.createElementBlock("div",t,u))}};exports.default=s;
@@ -1,191 +1,22 @@
1
- import { ref as a, onMounted as m, openBlock as f, createElementBlock as c, createVNode as e, withCtx as o, unref as i, createElementVNode as t } from "vue";
2
- import u from "../../../../components/Menu/Menu.vue2.js";
3
- import r from "../../../../components/Menu/MenuItem.vue.js";
1
+ import { ref as e, onMounted as o, openBlock as t, createElementBlock as r, createElementVNode as s } from "vue";
2
+ /* empty css */
3
+ import "../../../../components/Menu/MenuItem.vue.js";
4
4
  /* empty css */
5
- import p from "../../../icons/entities/IconProducts.vue.js";
6
- import d from "../../../icons/entities/IconEvents.vue.js";
7
- import _ from "../../../icons/entities/IconGroups.vue.js";
8
- import v from "../../../icons/entities/IconGallery.vue.js";
9
- import k from "../../../icons/entities/IconOrders.vue.js";
10
- import $ from "../../../icons/entities/IconLeftovers.vue.js";
11
- import { useRoute as g, useRouter as h } from "vue-router";
5
+ import { useRoute as m, useRouter as c } from "vue-router";
12
6
  import "../../../auth/store/auth.js";
13
7
  import "../../../organizations/store/organizations.js";
14
- const b = { class: "" }, C = /* @__PURE__ */ t("h1", { class: "pd-medium radius-medium bg-light mn-b-small" }, "Welcome to Backoffice2", -1), B = /* @__PURE__ */ t("span", null, " Members ", -1), y = /* @__PURE__ */ t("span", null, " Community ", -1), w = /* @__PURE__ */ t("span", null, " Products ", -1), P = /* @__PURE__ */ t("span", null, " Leftovers ", -1), O = /* @__PURE__ */ t("span", null, " Orders ", -1), E = /* @__PURE__ */ t("span", null, " Gallery ", -1), R = /* @__PURE__ */ t("span", null, " Events ", -1), x = /* @__PURE__ */ t("span", null, " Payments ", -1), z = /* @__PURE__ */ t("span", null, " Organizations ", -1), G = /* @__PURE__ */ t("span", null, " Pages ", -1), M = /* @__PURE__ */ t("span", null, " Reports ", -1), T = {
8
+ const i = { class: "" }, a = /* @__PURE__ */ s("h1", { class: "pd-medium radius-medium bg-light mn-b-small" }, "Welcome to Backoffice", -1), n = [
9
+ a
10
+ ], g = {
15
11
  __name: "Dashboard",
16
12
  props: {
17
13
  favorites: Array
18
14
  },
19
- setup(L) {
20
- g();
21
- const n = h();
22
- return a(null), a([]), m(async () => {
23
- }), (N, s) => (f(), c("div", b, [
24
- C,
25
- e(u, { class: "bg-light mn-b-semi" }, {
26
- default: o(() => [
27
- e(r, {
28
- onClick: s[0] || (s[0] = (l) => i(n).push({
29
- name: "Organization Members"
30
- })),
31
- class: "cursor-pointer"
32
- }, {
33
- default: o(() => [
34
- e(_, {
35
- class: "i-semi",
36
- icon: !0,
37
- fill: "rgb(var(--white))"
38
- }),
39
- B
40
- ]),
41
- _: 1
42
- }),
43
- e(r, {
44
- onClick: s[1] || (s[1] = (l) => i(n).push({
45
- name: "Backoffice Community"
46
- })),
47
- class: "cursor-pointer"
48
- }, {
49
- default: o(() => [
50
- y
51
- ]),
52
- _: 1
53
- }),
54
- e(r, {
55
- onClick: s[2] || (s[2] = (l) => i(n).push({
56
- name: "Products"
57
- })),
58
- class: "cursor-pointer"
59
- }, {
60
- default: o(() => [
61
- e(p, {
62
- class: "i-semi",
63
- icon: !0,
64
- fill: "rgb(var(--white))"
65
- }),
66
- w
67
- ]),
68
- _: 1
69
- }),
70
- e(r, {
71
- onClick: s[3] || (s[3] = (l) => i(n).push({
72
- name: "Leftovers"
73
- })),
74
- class: "cursor-pointer"
75
- }, {
76
- default: o(() => [
77
- e($, {
78
- class: "i-semi",
79
- icon: !0,
80
- fill: "rgb(var(--white))"
81
- }),
82
- P
83
- ]),
84
- _: 1
85
- }),
86
- e(r, {
87
- onClick: s[4] || (s[4] = (l) => i(n).push({
88
- name: "Backoffice Orders"
89
- })),
90
- class: "cursor-pointer"
91
- }, {
92
- default: o(() => [
93
- e(k, {
94
- class: "i-semi",
95
- icon: !0,
96
- fill: "rgb(var(--white))"
97
- }),
98
- O
99
- ]),
100
- _: 1
101
- }),
102
- e(r, {
103
- onClick: s[5] || (s[5] = (l) => i(n).push({
104
- name: "Backoffice Gallery"
105
- })),
106
- class: "cursor-pointer"
107
- }, {
108
- default: o(() => [
109
- e(v, {
110
- class: "i-semi",
111
- icon: !0,
112
- fill: "rgb(var(--white))"
113
- }),
114
- E
115
- ]),
116
- _: 1
117
- }),
118
- e(r, {
119
- onClick: s[6] || (s[6] = (l) => i(n).push({
120
- name: "Backoffice Events"
121
- })),
122
- class: "cursor-pointer"
123
- }, {
124
- default: o(() => [
125
- e(d, {
126
- class: "i-semi",
127
- icon: !0,
128
- fill: "rgb(var(--white))"
129
- }),
130
- R
131
- ]),
132
- _: 1
133
- }),
134
- e(r, {
135
- onClick: s[7] || (s[7] = (l) => i(n).push({
136
- name: "Payments"
137
- })),
138
- class: "cursor-pointer"
139
- }, {
140
- default: o(() => [
141
- x
142
- ]),
143
- _: 1
144
- })
145
- ]),
146
- _: 1
147
- }),
148
- e(u, { class: "bg-light" }, {
149
- default: o(() => [
150
- e(r, {
151
- onClick: s[8] || (s[8] = (l) => i(n).push({
152
- name: "Backoffice Organizations"
153
- })),
154
- class: "cursor-pointer"
155
- }, {
156
- default: o(() => [
157
- z
158
- ]),
159
- _: 1
160
- }),
161
- e(r, {
162
- onClick: s[9] || (s[9] = (l) => i(n).push({
163
- name: "Backoffice Pages"
164
- })),
165
- class: "cursor-pointer"
166
- }, {
167
- default: o(() => [
168
- G
169
- ]),
170
- _: 1
171
- }),
172
- e(r, {
173
- onClick: s[10] || (s[10] = (l) => i(n).push({
174
- name: "Backoffice Reports"
175
- })),
176
- class: "cursor-pointer"
177
- }, {
178
- default: o(() => [
179
- M
180
- ]),
181
- _: 1
182
- })
183
- ]),
184
- _: 1
185
- })
186
- ]));
15
+ setup(p) {
16
+ return m(), c(), e(null), e([]), o(async () => {
17
+ }), (_, l) => (t(), r("div", i, n));
187
18
  }
188
19
  };
189
20
  export {
190
- T as default
21
+ g as default
191
22
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("../../../../components/Menu/Menu.vue.cjs"),n=require("../../../../components/Menu/MenuItem.vue.cjs");;/* empty css */const u=require("../../../icons/entities/IconProducts.vue.cjs"),a=require("../../../icons/entities/IconEvents.vue.cjs"),i=require("../../../icons/entities/IconGroups.vue.cjs"),c=require("../../../icons/entities/IconGallery.vue.cjs"),d=require("../../../icons/entities/IconOrders.vue.cjs"),f=require("../../../icons/entities/IconLeftovers.vue.cjs"),l=require("vue-router");require("../../../auth/store/auth.cjs");require("../../../organizations/store/organizations.cjs");const m={class:""},p=e.createElementVNode("span",null," Members ",-1),N=e.createElementVNode("span",null," Community ",-1),V=e.createElementVNode("span",null," Products ",-1),v=e.createElementVNode("span",null," Leftovers ",-1),C=e.createElementVNode("span",null," Orders ",-1),_=e.createElementVNode("span",null," Gallery ",-1),h=e.createElementVNode("span",null," Events ",-1),k=e.createElementVNode("span",null," Payments ",-1),w=e.createElementVNode("span",null," Organizations ",-1),g=e.createElementVNode("span",null," Pages ",-1),E=e.createElementVNode("span",null," Reports ",-1),b={__name:"Sidebar",props:{favorites:Array},setup(x){l.useRoute();const r=l.useRouter();return e.ref(null),e.ref([]),e.onMounted(async()=>{}),(q,t)=>(e.openBlock(),e.createElementBlock("div",m,[e.createVNode(o.default,{class:"bg-light mn-b-semi"},{default:e.withCtx(()=>[e.createVNode(n.default,{onClick:t[0]||(t[0]=s=>e.unref(r).push({name:"Organization Members"})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(i.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),p]),_:1}),e.createVNode(n.default,{onClick:t[1]||(t[1]=s=>e.unref(r).push({name:"Backoffice Community"})),class:"cursor-pointer"},{default:e.withCtx(()=>[N]),_:1}),e.createVNode(n.default,{onClick:t[2]||(t[2]=s=>e.unref(r).push({name:"Products"})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(u.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),V]),_:1}),e.createVNode(n.default,{onClick:t[3]||(t[3]=s=>e.unref(r).push({name:"Leftovers"})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(f.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),v]),_:1}),e.createVNode(n.default,{onClick:t[4]||(t[4]=s=>e.unref(r).push({name:"Backoffice Orders"})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(d.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),C]),_:1}),e.createVNode(n.default,{onClick:t[5]||(t[5]=s=>e.unref(r).push({name:"Backoffice Gallery"})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(c.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),_]),_:1}),e.createVNode(n.default,{onClick:t[6]||(t[6]=s=>e.unref(r).push({name:"Backoffice Events"})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(a.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),h]),_:1}),e.createVNode(n.default,{onClick:t[7]||(t[7]=s=>e.unref(r).push({name:"Payments"})),class:"cursor-pointer"},{default:e.withCtx(()=>[k]),_:1})]),_:1}),e.createVNode(o.default,{class:"bg-light"},{default:e.withCtx(()=>[e.createVNode(n.default,{onClick:t[8]||(t[8]=s=>e.unref(r).push({name:"Backoffice Organizations"})),class:"cursor-pointer"},{default:e.withCtx(()=>[w]),_:1}),e.createVNode(n.default,{onClick:t[9]||(t[9]=s=>e.unref(r).push({name:"Backoffice Pages"})),class:"cursor-pointer"},{default:e.withCtx(()=>[g]),_:1}),e.createVNode(n.default,{onClick:t[10]||(t[10]=s=>e.unref(r).push({name:"Backoffice Reports"})),class:"cursor-pointer"},{default:e.withCtx(()=>[E]),_:1})]),_:1})]))}};exports.default=b;