@ozdao/prometheus-framework 0.2.156 → 0.2.157

Sign up to get free protection for your applications and to get access to all the features.
Files changed (318) 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/Feed/Feed.vue.cjs +1 -1
  27. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
  28. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  29. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +47 -30
  30. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +9 -9
  31. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  32. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +10 -10
  33. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +14 -14
  34. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +9 -9
  35. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +11 -11
  36. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +34 -34
  37. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +27 -27
  38. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +1 -0
  39. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +58 -0
  40. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  41. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +11 -180
  42. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -0
  43. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +190 -0
  44. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
  45. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +9 -7
  46. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  47. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +48 -43
  48. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  49. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  50. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  51. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +41 -63
  52. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  53. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
  54. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  55. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +37 -36
  56. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  57. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +5 -5
  58. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  59. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
  60. package/dist/prometheus-framework/src/modules/community/router/blogposts.cjs +1 -1
  61. package/dist/prometheus-framework/src/modules/community/router/blogposts.js +3 -0
  62. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +13 -13
  63. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -5
  64. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +105 -53
  65. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +92 -98
  67. package/dist/prometheus-framework/src/modules/constructor/components/sections/Viewer.vue.cjs +1 -0
  68. package/dist/prometheus-framework/src/modules/constructor/components/sections/Viewer.vue.js +39 -0
  69. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  71. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  73. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +13 -12
  75. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +19 -19
  77. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  79. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  80. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  81. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +7 -7
  82. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  83. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  84. package/dist/prometheus-framework/src/modules/globals/components/sections/SectionPageTitle.vue.cjs +1 -1
  85. package/dist/prometheus-framework/src/modules/globals/components/sections/SectionPageTitle.vue.js +2 -2
  86. package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -1
  87. package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +13 -15
  88. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  89. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  90. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  91. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  92. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  93. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  94. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  95. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +4 -4
  96. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +8 -8
  97. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  98. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  99. package/dist/prometheus-framework/src/modules/orders/orders.client.cjs +1 -1
  100. package/dist/prometheus-framework/src/modules/orders/orders.client.js +34 -33
  101. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  102. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  103. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  104. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  105. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  106. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
  107. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  108. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +14 -14
  109. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  110. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
  111. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  112. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +10 -10
  113. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  114. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +5 -5
  115. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  116. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +4 -4
  117. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
  118. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +13 -7
  119. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  120. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +18 -18
  121. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  122. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  123. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +6 -6
  124. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  125. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +11 -11
  126. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  127. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +17 -17
  128. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  129. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +30 -30
  130. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +9 -9
  131. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  132. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  133. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  134. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  135. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  136. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  137. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  138. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  139. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  140. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +1 -1
  141. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
  142. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +16 -16
  143. package/dist/prometheus-framework/src/modules/spots/router/spots.cjs +1 -1
  144. package/dist/prometheus-framework/src/modules/spots/router/spots.js +4 -0
  145. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  146. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
  147. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +22 -22
  148. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +4 -4
  149. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  150. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +17 -17
  151. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  152. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +4 -4
  153. package/dist/prometheus-framework.cjs.js +1 -1
  154. package/dist/prometheus-framework.es.js +1 -1
  155. package/dist/style.css +1 -1
  156. package/dist/{web-3rnOWrQO.mjs → web-CT2tGYho.mjs} +1 -1
  157. package/dist/{web-C04IcLk4.js → web-DWjMBTNi.js} +1 -1
  158. package/package.json +3 -2
  159. package/src/builder/builder.js +14 -0
  160. package/src/builder/modes/spa.dev.js +100 -0
  161. package/src/builder/modes/spa.prod.js +59 -0
  162. package/src/builder/modes/ssr.dev.js +184 -0
  163. package/src/builder/modes/ssr.prod.js +76 -0
  164. package/src/builder/ssr/ssr-render-html.js +57 -0
  165. package/src/builder/ssr/ssr-transform-webpack-stats.js +54 -0
  166. package/src/builder/templates/page.html +37 -0
  167. package/src/builder/templates/screen.html +33 -0
  168. package/src/builder/utils/hot-reload.js +5 -0
  169. package/src/builder/webpack/index.js +13 -0
  170. package/src/builder/webpack/webpack.config.base.js +127 -0
  171. package/src/builder/webpack/webpack.config.client.js +78 -0
  172. package/src/builder/webpack/webpack.config.server.js +31 -0
  173. package/src/builder/webpack/webpack.config.spa.js +80 -0
  174. package/src/builder/webpack/webpack.config.ssr.js +57 -0
  175. package/src/components/Breadcrumbs/Breadcrumbs.vue +39 -16
  176. package/src/components/Field/Field.vue +21 -2
  177. package/src/components/Popup/Popup.vue +1 -1
  178. package/src/modules/auth/store/auth.js +1 -2
  179. package/src/modules/backoffice/components/layouts/Backoffice.vue +36 -62
  180. package/src/modules/backoffice/components/pages/Dashboard.vue +2 -125
  181. package/src/modules/backoffice/components/partials/Sidebar.vue +176 -0
  182. package/src/modules/backoffice/router/admin.js +0 -15
  183. package/src/modules/backoffice/router/backoffice.js +5 -1
  184. package/src/modules/community/components/blocks/CardBlogpost.vue +6 -1
  185. package/src/modules/community/components/pages/BlogPost.vue +30 -67
  186. package/src/modules/community/components/sections/Comments.vue +1 -1
  187. package/src/modules/community/router/blogposts.js +4 -0
  188. package/src/modules/constructor/components/elements/Textarea.vue +197 -79
  189. package/src/modules/constructor/components/sections/Constructor.vue +19 -32
  190. package/src/modules/constructor/components/sections/Viewer.vue +53 -0
  191. package/src/modules/globals/components/layouts/Client.vue +21 -7
  192. package/src/modules/globals/components/layouts/Empty.vue +1 -6
  193. package/src/modules/globals/components/pages/404.vue +1 -1
  194. package/src/modules/globals/components/sections/SectionPageTitle.vue +2 -2
  195. package/src/modules/globals/mixins/mixins.js +129 -97
  196. package/src/modules/landing/router/landing.js +3 -0
  197. package/src/modules/marketplace/components/pages/Catalog.vue +1 -1
  198. package/src/modules/middlewares/client/auth.validation.js +14 -15
  199. package/src/modules/orders/orders.client.js +4 -2
  200. package/src/modules/organizations/router/organizations.js +9 -3
  201. package/src/modules/pages/controllers/factories/pages.factory.js +106 -0
  202. package/src/modules/pages/controllers/routes/pages.routes.js +24 -0
  203. package/src/modules/pages/models/page.model.js +18 -11
  204. package/src/modules/pages/pages.client.js +40 -0
  205. package/src/modules/pages/pages.server.js +32 -0
  206. package/src/modules/pages/views/components/blocks/CardPage.vue +123 -0
  207. package/src/modules/pages/views/components/pages/Page.vue +173 -0
  208. package/src/modules/pages/views/components/pages/PageEdit.vue +121 -0
  209. package/src/modules/pages/views/components/pages/Pages.vue +60 -0
  210. package/src/modules/pages/views/components/partials/SidebarPages.vue +112 -0
  211. package/src/modules/pages/views/router/pages.backoffice.router.js +46 -0
  212. package/src/modules/pages/views/router/pages.router.js +25 -0
  213. package/src/modules/pages/views/store/pages.js +78 -0
  214. package/src/modules/pages/views/store/pages.store.js +5 -0
  215. package/src/modules/products/controllers/leftovers.controller.js +1 -1
  216. package/src/modules/spots/router/spots.js +4 -0
  217. package/src/styles/base/all.scss +66 -53
  218. package/dist/index-BshfsiQG.js +0 -220
  219. package/dist/index-C-8xOJnM.mjs +0 -244
  220. package/dist/index-C-DW6ra2.js +0 -260
  221. package/dist/index-CDbtWkBj.js +0 -243
  222. package/dist/index-D4j29ivg.mjs +0 -261
  223. package/dist/index-DKtnWDNC.mjs +0 -221
  224. package/dist/index-DNI4aUP2.js +0 -259
  225. package/dist/index-Tcyehi73.mjs +0 -260
  226. package/dist/main-3Vn8SU2y.mjs +0 -14509
  227. package/dist/main-5IrI2IOV.js +0 -92
  228. package/dist/main-BFKp44Ze.mjs +0 -14509
  229. package/dist/main-BF_nMkug.js +0 -92
  230. package/dist/main-BHr0-Z3t.mjs +0 -14510
  231. package/dist/main-BY2OvGB9.mjs +0 -14509
  232. package/dist/main-Bcj0J6tP.mjs +0 -14509
  233. package/dist/main-Bq5YvSWe.mjs +0 -14509
  234. package/dist/main-BxHxhrZ_.js +0 -92
  235. package/dist/main-By5Tbyui.js +0 -92
  236. package/dist/main-CEoQQpJV.js +0 -92
  237. package/dist/main-CI9l9xMs.js +0 -92
  238. package/dist/main-Ckn0Sslr.js +0 -92
  239. package/dist/main-DBv451oC.js +0 -92
  240. package/dist/main-DPg58GOU.mjs +0 -14509
  241. package/dist/main-DTHFR7H_.mjs +0 -14510
  242. package/dist/main-DxyAONrm.mjs +0 -14438
  243. package/dist/main-gY_284gJ.js +0 -92
  244. package/dist/main-wXdocsbd.js +0 -92
  245. package/dist/middlewares.server.js +0 -19
  246. package/dist/middlewares.server.mjs +0 -20
  247. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +0 -1
  248. package/dist/prometheus-framework/src/components/Address/Address.vue.js +0 -89
  249. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +0 -1
  250. package/dist/prometheus-framework/src/components/Button/Button.vue.js +0 -95
  251. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +0 -1
  252. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +0 -26
  253. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +0 -1
  254. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +0 -57
  255. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +0 -1
  256. package/dist/prometheus-framework/src/components/Field/Field.vue.js +0 -83
  257. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +0 -1
  258. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +0 -127
  259. package/dist/prometheus-framework/src/components/Menu/Menu.vue.cjs +0 -1
  260. package/dist/prometheus-framework/src/components/Menu/Menu.vue.js +0 -13
  261. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +0 -1
  262. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +0 -77
  263. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +0 -1
  264. package/dist/prometheus-framework/src/components/Select/Select.vue.js +0 -103
  265. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +0 -1
  266. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +0 -36
  267. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +0 -1
  268. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +0 -44
  269. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +0 -1
  270. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +0 -125
  271. package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.cjs +0 -2
  272. package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.js +0 -47
  273. package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.cjs +0 -2
  274. package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.js +0 -46
  275. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +0 -4
  276. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +0 -65
  277. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +0 -5
  278. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -67
  279. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.cjs +0 -1
  280. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.js +0 -30
  281. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.cjs +0 -1
  282. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.js +0 -42
  283. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.cjs +0 -1
  284. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.js +0 -26
  285. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.cjs +0 -1
  286. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.js +0 -42
  287. package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.cjs +0 -1
  288. package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.js +0 -26
  289. package/dist/queryProcessor-g8208K6g.mjs +0 -178
  290. package/dist/queryProcessor-haY_gPGg.js +0 -177
  291. package/dist/web-5eyiz9L7.mjs +0 -54
  292. package/dist/web-BPUCAST-.mjs +0 -54
  293. package/dist/web-Be96Xqd4.mjs +0 -54
  294. package/dist/web-BmdKi_fZ.js +0 -1
  295. package/dist/web-Bqpk8Mpk.js +0 -1
  296. package/dist/web-BwHcRwYc.mjs +0 -54
  297. package/dist/web-BzUFKqzw.js +0 -1
  298. package/dist/web-CcFPvlkl.js +0 -1
  299. package/dist/web-CgjTW1bL.js +0 -1
  300. package/dist/web-Cw0ijzjY.js +0 -1
  301. package/dist/web-CwTWV4ca.mjs +0 -54
  302. package/dist/web-DHeZE1jJ.js +0 -1
  303. package/dist/web-DZUec7pP.js +0 -1
  304. package/dist/web-Dh669DqQ.mjs +0 -54
  305. package/dist/web-DkWpHYrh.mjs +0 -54
  306. package/dist/web-Dt2RCU54.js +0 -1
  307. package/dist/web-krQQeSb6.mjs +0 -54
  308. package/dist/web-nqFW_Sd1.mjs +0 -54
  309. package/src/modules/community/controllers/comments.controller.aggr.js +0 -280
  310. package/src/modules/community/controllers/comments.controller.populate.js +0 -180
  311. package/src/modules/constructor/components/elements/H2.vue +0 -102
  312. package/src/modules/pages/components/pages/Page.vue +0 -174
  313. package/src/modules/pages/components/pages/PageEdit.vue +0 -159
  314. package/src/modules/pages/components/pages/Pages.vue +0 -108
  315. package/src/modules/pages/controllers/pages.controller.js +0 -71
  316. package/src/modules/pages/router/pages.router.js +0 -15
  317. package/src/modules/pages/routes/pages.routes.js +0 -30
  318. package/src/modules/pages/store/pages.js +0 -94
@@ -1,77 +0,0 @@
1
- import { watch as y, openBlock as s, createBlock as i, Transition as l, withCtx as a, Teleport as k, createElementBlock as p, createVNode as m, createElementVNode as u, mergeProps as P, toDisplayString as b, createCommentVNode as n, renderSlot as g, normalizeClass as x } from "vue";
2
- import { useRoute as T, useRouter as $ } from "vue-router";
3
- import { useI18n as C } from "vue-i18n";
4
- import O from "../../modules/icons/navigation/IconCross.vue.js";
5
- /* empty css */
6
- const h = {
7
- key: "popup-content",
8
- class: "pd-small z-index-6 popup-wrapper"
9
- }, w = {
10
- key: 0,
11
- class: "mn-b-small"
12
- }, L = {
13
- __name: "Popup",
14
- props: {
15
- isPopupOpen: {
16
- type: Boolean,
17
- default: !1
18
- },
19
- style: String,
20
- title: String
21
- },
22
- emits: ["close-popup"],
23
- setup(e, { emit: c }) {
24
- const d = e, f = c;
25
- function r() {
26
- f("close-popup");
27
- }
28
- return y(() => d.isPopupOpen, (t) => {
29
- t ? document.body.classList.add("no-scroll") : document.body.classList.remove("no-scroll");
30
- }), T(), $(), C({
31
- messages: {
32
- en: {},
33
- ru: {}
34
- }
35
- }), (t, o) => (s(), i(l, {
36
- name: "TransitionTranslateY",
37
- appear: ""
38
- }, {
39
- default: a(() => [
40
- e.isPopupOpen ? (s(), i(k, {
41
- key: 0,
42
- to: "body"
43
- }, [
44
- e.isPopupOpen ? (s(), p("div", h, [
45
- m(l, {
46
- name: "TransitionTranslateY",
47
- mode: "out-in"
48
- }, {
49
- default: a(() => [
50
- u("section", P({ class: "pos-relative" }, t.$attrs, {
51
- class: t.$attrs.class
52
- }), [
53
- e.title ? (s(), p("h4", w, b(e.title), 1)) : n("", !0),
54
- m(O, {
55
- fill: "rgb(var(--white))",
56
- onClick: o[0] || (o[0] = (v) => r()),
57
- class: "cursor-pointer bg-second pd-micro radius-extra pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-medium z-index-5"
58
- }),
59
- g(t.$slots, "default")
60
- ], 16)
61
- ]),
62
- _: 3
63
- }),
64
- u("div", {
65
- onClick: o[1] || (o[1] = (v) => r()),
66
- class: x([{ active: e.isPopupOpen === !0 }, "color-overlay z-index-3"])
67
- }, null, 2)
68
- ])) : n("", !0)
69
- ])) : n("", !0)
70
- ]),
71
- _: 3
72
- }));
73
- }
74
- };
75
- export {
76
- L as default
77
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),y=require("../FieldPhone/click-outside.cjs");;/* empty css */const g=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),B={key:0,class:"t-transp mn-r-small"},b={class:"w-100"},w=["onClick"],S={key:0,class:"w-100"},_={key:0,class:"mn-t-thin invalid-feedback"},C={__name:"Select",props:{label:String,placeholder:{type:String,default:"Please select an item"},select:[String,Object],property:String,options:{type:Array,default:()=>[]},validation:Boolean},emits:["update:select","focus","blur"],setup(n,{emit:m}){let f=y.default;const i=m,t=n,a=e.ref(!1),o=e.ref(t.property?d(t.select,t.property,t.options):t.select),v=e.computed(()=>t.select?t.options.filter(l=>l!==t.select):t.options);e.watch(()=>t.select,l=>{o.value=t.property?d(t.select,t.property,t.options):t.select});const u=()=>{a.value=!a.value,i(a.value?"focus":"blur")};function k(){a.value=!1}const h=l=>{o.value=l,u(),t.property?i("update:select",o.value[t.property]):i("update:select",o.value)};function d(l,p,c){for(const s of c)if(s[p]===l||s===l)return s;return null}return(l,p)=>{var c,s;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives((e.openBlock(),e.createElementBlock("div",{onClick:e.withModifiers(u,["stop"]),class:e.normalizeClass([l.$attrs.class,"cursor-pointer flex-v-center flex-nowrap flex pos-relative"])},[n.label?(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("span",null,e.toDisplayString(n.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("li",b,[e.createElementVNode("span",null,e.toDisplayString((c=o.value)!=null&&c.name?(s=o.value)==null?void 0:s.name:o.value||n.placeholder),1)]),e.createVNode(e.Transition,{mode:"out-in",name:"TransitionTranslateY"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("ul",{class:e.normalizeClass([l.$attrs.class,"bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),style:{"min-width":"max-content"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,r=>(e.openBlock(),e.createElementBlock("li",{onClick:e.withModifiers(V=>h(r),["stop"])},[r?(e.openBlock(),e.createElementBlock("span",S,e.toDisplayString(r.name||r),1)):e.createCommentVNode("",!0)],8,w))),256))],2),[[e.vShow,a.value]])]),_:1})],2)),[[e.unref(f),k]]),e.createVNode(e.Transition,{mode:"out-in",name:"fade"},{default:e.withCtx(()=>[n.validation?(e.openBlock(),e.createElementBlock("div",_," * "+e.toDisplayString(n.validation.message),1)):e.createCommentVNode("",!0)]),_:1})],64)}}},E=g.default(C,[["__scopeId","data-v-bf25c24d"]]);exports.default=E;
@@ -1,103 +0,0 @@
1
- import { ref as y, computed as M, watch as N, openBlock as s, createElementBlock as n, Fragment as b, withDirectives as k, withModifiers as w, normalizeClass as S, createElementVNode as u, toDisplayString as d, createCommentVNode as m, createVNode as _, Transition as g, withCtx as x, renderList as T, vShow as $, unref as z } from "vue";
2
- import D from "../FieldPhone/click-outside.js";
3
- /* empty css */
4
- import E from "../../../../_virtual/_plugin-vue_export-helper.js";
5
- const L = {
6
- key: 0,
7
- class: "t-transp mn-r-small"
8
- }, A = { class: "w-100" }, F = ["onClick"], I = {
9
- key: 0,
10
- class: "w-100"
11
- }, P = {
12
- key: 0,
13
- class: "mn-t-thin invalid-feedback"
14
- }, Y = {
15
- __name: "Select",
16
- props: {
17
- label: String,
18
- placeholder: { type: String, default: "Please select an item" },
19
- select: [String, Object],
20
- property: String,
21
- options: { type: Array, default: () => [] },
22
- validation: Boolean
23
- },
24
- emits: [
25
- "update:select",
26
- "focus",
27
- "blur"
28
- ],
29
- setup(o, { emit: C }) {
30
- let O = D;
31
- const p = C, e = o, c = y(!1), l = y(
32
- e.property ? v(e.select, e.property, e.options) : e.select
33
- ), B = M(() => e.select ? e.options.filter((t) => t !== e.select) : e.options);
34
- N(() => e.select, (t) => {
35
- l.value = e.property ? v(e.select, e.property, e.options) : e.select;
36
- });
37
- const f = () => {
38
- c.value = !c.value, p(c.value ? "focus" : "blur");
39
- };
40
- function V() {
41
- c.value = !1;
42
- }
43
- const j = (t) => {
44
- l.value = t, f(), e.property ? p("update:select", l.value[e.property]) : p("update:select", l.value);
45
- };
46
- function v(t, h, i) {
47
- for (const a of i)
48
- if (a[h] === t || a === t)
49
- return a;
50
- return null;
51
- }
52
- return (t, h) => {
53
- var i, a;
54
- return s(), n(b, null, [
55
- k((s(), n("div", {
56
- onClick: w(f, ["stop"]),
57
- class: S([t.$attrs.class, "cursor-pointer flex-v-center flex-nowrap flex pos-relative"])
58
- }, [
59
- o.label ? (s(), n("div", L, [
60
- u("span", null, d(o.label), 1)
61
- ])) : m("", !0),
62
- u("li", A, [
63
- u("span", null, d((i = l.value) != null && i.name ? (a = l.value) == null ? void 0 : a.name : l.value || o.placeholder), 1)
64
- ]),
65
- _(g, {
66
- mode: "out-in",
67
- name: "TransitionTranslateY"
68
- }, {
69
- default: x(() => [
70
- k(u("ul", {
71
- class: S([t.$attrs.class, "bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),
72
- style: { "min-width": "max-content" }
73
- }, [
74
- (s(!0), n(b, null, T(B.value, (r) => (s(), n("li", {
75
- onClick: w((q) => j(r), ["stop"])
76
- }, [
77
- r ? (s(), n("span", I, d(r.name || r), 1)) : m("", !0)
78
- ], 8, F))), 256))
79
- ], 2), [
80
- [$, c.value]
81
- ])
82
- ]),
83
- _: 1
84
- })
85
- ], 2)), [
86
- [z(O), V]
87
- ]),
88
- _(g, {
89
- mode: "out-in",
90
- name: "fade"
91
- }, {
92
- default: x(() => [
93
- o.validation ? (s(), n("div", P, " * " + d(o.validation.message), 1)) : m("", !0)
94
- ]),
95
- _: 1
96
- })
97
- ], 64);
98
- };
99
- }
100
- }, Q = /* @__PURE__ */ E(Y, [["__scopeId", "data-v-bf25c24d"]]);
101
- export {
102
- Q as default
103
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const d={class:"flex-nowrap flex-v-center flex pos-relative"},m=["onClick"],b={__name:"Tab",props:{tabs:Array,selected:String,callback:Function},emits:["update:selected"],setup(s,{emit:o}){const i=o,t=s,c=e.ref(0);if(t.selected){const l=t.tabs.findIndex(a=>a.value===t.selected);l!==-1&&(c.value=l)}function u(l,a){c.value=l,i("update:selected",a.value),t.callback&&t.callback()}return(l,a)=>(e.openBlock(),e.createElementBlock("div",d,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.tabs,(r,n)=>(e.openBlock(),e.createElementBlock("div",{key:n,onClick:p=>u(n,r),class:e.normalizeClass([{"t-transp":n!==c.value,"br-solid br-b-3px br-main":n===c.value},"z-index-1 t-center pd-small w-max"])},[e.createElementVNode("label",null,e.toDisplayString(r.name),1)],10,m))),128))]))}};exports.default=b;
@@ -1,36 +0,0 @@
1
- import { ref as m, openBlock as s, createElementBlock as n, Fragment as p, renderList as b, normalizeClass as f, createElementVNode as v, toDisplayString as k } from "vue";
2
- /* empty css */
3
- const _ = { class: "flex-nowrap flex-v-center flex pos-relative" }, x = ["onClick"], C = {
4
- __name: "Tab",
5
- props: {
6
- tabs: Array,
7
- selected: String,
8
- callback: Function
9
- },
10
- emits: ["update:selected"],
11
- setup(r, { emit: i }) {
12
- const d = i, e = r, l = m(0);
13
- if (e.selected) {
14
- const t = e.tabs.findIndex((a) => a.value === e.selected);
15
- t !== -1 && (l.value = t);
16
- }
17
- function u(t, a) {
18
- l.value = t, d("update:selected", a.value), e.callback && e.callback();
19
- }
20
- return (t, a) => (s(), n("div", _, [
21
- (s(!0), n(p, null, b(r.tabs, (o, c) => (s(), n("div", {
22
- key: c,
23
- onClick: (g) => u(c, o),
24
- class: f([{
25
- "t-transp": c !== l.value,
26
- "br-solid br-b-3px br-main": c === l.value
27
- }, "z-index-1 t-center pd-small w-max"])
28
- }, [
29
- v("label", null, k(o.name), 1)
30
- ], 10, x))), 128))
31
- ]));
32
- }
33
- };
34
- export {
35
- C as default
36
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const s={__name:"Tooltip",props:{text:{type:String,required:!0}},setup(n){const l=e.ref(!1),t=e.reactive({position:"absolute",width:"max-content",zIndex:1e3,background:"#333",color:"#fff",padding:"5px 10px",borderRadius:"3px",fontSize:"14px",display:"none"});function i(o){l.value=!0,t.left=`${o.clientX/100+10}px`,t.top=`${o.clientY/100+10}px`,t.display="block"}function r(){l.value=!1,t.display="none"}return(o,a)=>(e.openBlock(),e.createElementBlock("div",{class:"cursor-pointer tooltip-container",onMouseover:i,onMouseleave:r},[e.renderSlot(o.$slots,"default"),e.createElementVNode("div",{class:"tooltip-content",style:e.normalizeStyle(t)},e.toDisplayString(n.text),5)],32))}};exports.default=s;
@@ -1,44 +0,0 @@
1
- import { ref as r, reactive as p, openBlock as s, createElementBlock as a, renderSlot as c, createElementVNode as d, normalizeStyle as u, toDisplayString as f } from "vue";
2
- /* empty css */
3
- const v = {
4
- __name: "Tooltip",
5
- props: {
6
- text: {
7
- type: String,
8
- required: !0
9
- }
10
- },
11
- setup(n) {
12
- const o = r(!1), e = p({
13
- position: "absolute",
14
- width: "max-content",
15
- zIndex: 1e3,
16
- background: "#333",
17
- color: "#fff",
18
- padding: "5px 10px",
19
- borderRadius: "3px",
20
- fontSize: "14px",
21
- display: "none"
22
- });
23
- function l(t) {
24
- o.value = !0, e.left = `${t.clientX / 100 + 10}px`, e.top = `${t.clientY / 100 + 10}px`, e.display = "block";
25
- }
26
- function i() {
27
- o.value = !1, e.display = "none";
28
- }
29
- return (t, x) => (s(), a("div", {
30
- class: "cursor-pointer tooltip-container",
31
- onMouseover: l,
32
- onMouseleave: i
33
- }, [
34
- c(t.$slots, "default"),
35
- d("div", {
36
- class: "tooltip-content",
37
- style: u(e)
38
- }, f(n.text), 5)
39
- ], 32));
40
- }
41
- };
42
- export {
43
- v as default
44
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("../../../../components/Loader/Loader.vue2.cjs"),f=require("../../../../components/EmptyState/EmptyState.vue.cjs"),g=require("../blocks/CardBlogpost.vue.cjs"),c=require("../../store/blogposts.cjs"),m={__name:"Feed",props:{category:{type:String,default:null},limit:{type:Number,default:7},skip:{type:Number,default:0},owner:{type:String,default:null},creator:{type:String,default:null},following:{type:String,default:null},status:{type:String,default:"published"},user:{type:[String,Number],default:null},period:{type:String,default:null}},setup(u){const t=u,a=e.ref([]),r=e.ref(!0);let o=e.ref(!0),n=e.ref(t.skip),s=e.ref(t.limit);const d=async()=>{if(r.value){n.value+=s.value;const l=await c.read({skip:n.value,limit:s.value,category:t.category,user:t.user,owner:t.owner,following:t.following,creator:t.creator,status:t.status,period:t.period});l.length===0&&(r.value=!1),a.value=[...a.value,...l]}};return e.onMounted(async()=>{const l=await c.read({skip:n.value,limit:s.value,category:t.category,user:t.user,owner:t.owner,following:t.following,status:t.status,creator:t.creator,period:t.period});l.length===0?r.value=!1:r.value=!0,a.value=l,o.value=!1}),(l,k)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[e.unref(o)?(e.openBlock(),e.createBlock(p.default,{key:0,class:"z-index-5 pos-t-50 left-t-50 pos-absolute"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[!e.unref(o)&&a.value.length<1?(e.openBlock(),e.createBlock(f.default,{key:0,title:"No Blog Posts Found",description:"Currently, there are no posts available in this blog. Please check back later.",class:"pd-medium mn-b-thin bg-light radius-big"})):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(l.$attrs.class)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,i=>(e.openBlock(),e.createBlock(g.default,{key:i._id,blogpost:i,user:u.user,class:"h-max-40r mn-b-medium"},null,8,["blogpost","user"]))),128)),e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[r.value&&a.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:d,class:"w-100 bg-main button"}," Load more ")):e.createCommentVNode("",!0)]),_:1})],2))]),_:1})],64))}};exports.default=m;
@@ -1,125 +0,0 @@
1
- import { ref as o, onMounted as w, openBlock as a, createElementBlock as s, Fragment as y, createVNode as c, Transition as d, withCtx as m, unref as v, createBlock as p, createCommentVNode as b, normalizeClass as _, renderList as S } from "vue";
2
- import N from "../../../../components/Loader/Loader.vue2.js";
3
- import C from "../../../../components/EmptyState/EmptyState.vue.js";
4
- import x from "../blocks/CardBlogpost.vue.js";
5
- import { read as k } from "../../store/blogposts.js";
6
- const $ = {
7
- __name: "Feed",
8
- props: {
9
- category: {
10
- type: String,
11
- default: null
12
- },
13
- limit: {
14
- type: Number,
15
- default: 7
16
- },
17
- skip: {
18
- type: Number,
19
- default: 0
20
- },
21
- owner: {
22
- type: String,
23
- default: null
24
- },
25
- creator: {
26
- type: String,
27
- default: null
28
- },
29
- following: {
30
- type: String,
31
- default: null
32
- },
33
- status: {
34
- type: String,
35
- default: "published"
36
- },
37
- user: {
38
- type: [String, Number],
39
- default: null
40
- },
41
- period: {
42
- type: String,
43
- default: null
44
- }
45
- },
46
- setup(f) {
47
- const e = f, l = o([]), r = o(!0);
48
- let n = o(!0), u = o(e.skip), i = o(e.limit);
49
- const h = async () => {
50
- if (r.value) {
51
- u.value += i.value;
52
- const t = await k({
53
- skip: u.value,
54
- limit: i.value,
55
- category: e.category,
56
- user: e.user,
57
- owner: e.owner,
58
- following: e.following,
59
- creator: e.creator,
60
- status: e.status,
61
- period: e.period
62
- });
63
- t.length === 0 && (r.value = !1), l.value = [...l.value, ...t];
64
- }
65
- };
66
- return w(async () => {
67
- const t = await k({
68
- skip: u.value,
69
- limit: i.value,
70
- category: e.category,
71
- user: e.user,
72
- owner: e.owner,
73
- following: e.following,
74
- status: e.status,
75
- creator: e.creator,
76
- period: e.period
77
- });
78
- t.length === 0 ? r.value = !1 : r.value = !0, l.value = t, n.value = !1;
79
- }), (t, B) => (a(), s(y, null, [
80
- c(d, { name: "scaleTransition" }, {
81
- default: m(() => [
82
- v(n) ? (a(), p(N, {
83
- key: 0,
84
- class: "z-index-5 pos-t-50 left-t-50 pos-absolute"
85
- })) : b("", !0)
86
- ]),
87
- _: 1
88
- }),
89
- c(d, { name: "scaleTransition" }, {
90
- default: m(() => [
91
- !v(n) && l.value.length < 1 ? (a(), p(C, {
92
- key: 0,
93
- title: "No Blog Posts Found",
94
- description: "Currently, there are no posts available in this blog. Please check back later.",
95
- class: "pd-medium mn-b-thin bg-light radius-big"
96
- })) : (a(), s("div", {
97
- key: 1,
98
- class: _(t.$attrs.class)
99
- }, [
100
- (a(!0), s(y, null, S(l.value, (g) => (a(), p(x, {
101
- key: g._id,
102
- blogpost: g,
103
- user: f.user,
104
- class: "h-max-40r mn-b-medium"
105
- }, null, 8, ["blogpost", "user"]))), 128)),
106
- c(d, { name: "scaleTransition" }, {
107
- default: m(() => [
108
- r.value && l.value.length > 0 ? (a(), s("button", {
109
- key: 0,
110
- onClick: h,
111
- class: "w-100 bg-main button"
112
- }, " Load more ")) : b("", !0)
113
- ]),
114
- _: 1
115
- })
116
- ], 2))
117
- ]),
118
- _: 1
119
- })
120
- ], 64));
121
- }
122
- };
123
- export {
124
- $ as default
125
- };
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=["placeholder"],h={__name:"Bullets",props:["obj","label","prop","value","content","textarea","placeholder","index","ref"],emits:["deleteBlock","addBlock","focus"],setup(t,{emit:p}){const l=t;e.ref(l);const r=e.ref(null),i=p;function f(n){const o=/^\s*[-*]\s+(.*)/;let s=n.target.value.split(/\n+/).map(u=>{const d=o.exec(u);return d?d[1]:null}).filter(u=>u!==null);s.length>0?(l.prop[l.content]=s,a()):n.target.value.trim()===""&&(l.prop[l.content]=[],a())}function a(){r.value.style.height="1rem",r.value.style.height=r.value.scrollHeight+"px"}return e.onUpdated(()=>{a()}),e.onMounted(()=>{a()}),e.watch(()=>l.prop[l.content],n=>{(!n||n.length===0)&&i("deleteBlock",l.prop)}),(n,o)=>(e.openBlock(),e.createElementBlock("div",null,[e.createTextVNode(e.toDisplayString(t.prop[t.content])+" ",1),e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":o[0]||(o[0]=c=>t.prop[t.content]=c),placeholder:t.placeholder?t.placeholder:"Enter text",onInput:f,onFocus:o[1]||(o[1]=c=>i("focus",r.value)),ref_key:"textarea",ref:r,tabindex:"-1",class:"text-area mn-b-small"},`
2
- `,40,m),[[e.vModelText,t.prop[t.content]]])]))}};exports.default=h;
@@ -1,47 +0,0 @@
1
- import { ref as d, onUpdated as f, onMounted as x, watch as h, openBlock as v, createElementBlock as g, createTextVNode as b, toDisplayString as k, withDirectives as B, createElementVNode as y, vModelText as E } from "vue";
2
- const D = ["placeholder"], M = {
3
- __name: "Bullets",
4
- props: ["obj", "label", "prop", "value", "content", "textarea", "placeholder", "index", "ref"],
5
- emits: ["deleteBlock", "addBlock", "focus"],
6
- setup(e, { emit: p }) {
7
- const t = e;
8
- d(t);
9
- const o = d(null), i = p;
10
- function m(l) {
11
- const n = /^\s*[-*]\s+(.*)/;
12
- let u = l.target.value.split(/\n+/).map((c) => {
13
- const s = n.exec(c);
14
- return s ? s[1] : null;
15
- }).filter((c) => c !== null);
16
- u.length > 0 ? (t.prop[t.content] = u, a()) : l.target.value.trim() === "" && (t.prop[t.content] = [], a());
17
- }
18
- function a() {
19
- o.value.style.height = "1rem", o.value.style.height = o.value.scrollHeight + "px";
20
- }
21
- return f(() => {
22
- a();
23
- }), x(() => {
24
- a();
25
- }), h(() => t.prop[t.content], (l) => {
26
- (!l || l.length === 0) && i("deleteBlock", t.prop);
27
- }), (l, n) => (v(), g("div", null, [
28
- b(k(e.prop[e.content]) + " ", 1),
29
- B(y("textarea", {
30
- "onUpdate:modelValue": n[0] || (n[0] = (r) => e.prop[e.content] = r),
31
- placeholder: e.placeholder ? e.placeholder : "Enter text",
32
- onInput: m,
33
- onFocus: n[1] || (n[1] = (r) => i("focus", o.value)),
34
- ref_key: "textarea",
35
- ref: o,
36
- tabindex: "-1",
37
- class: "text-area mn-b-small"
38
- }, `
39
- `, 40, D), [
40
- [E, e.prop[e.content]]
41
- ])
42
- ]));
43
- }
44
- };
45
- export {
46
- M as default
47
- };
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),f=["placeholder"],h={__name:"Caption",props:["obj","label","prop","value","content","textarea","placeholder","index","ref"],emits:["deleteBlock","addBlock","focus"],setup(l,{emit:p}){const t=l;e.ref(t);const r=e.ref(null),u=p;function m(n){const o=/^\s*[-*]\s+(.*)/;let s=n.target.value.split(/\n+/).map(i=>{const d=o.exec(i);return d?d[1]:null}).filter(i=>i!==null);s.length>0?(t.prop[t.content]=s,a()):n.target.value.trim()===""&&(t.prop[t.content]=[],a())}function a(){r.value.style.height="1rem",r.value.style.height=r.value.scrollHeight+"px"}return e.onUpdated(()=>{a()}),e.onMounted(()=>{a()}),e.watch(()=>t.prop[t.content],n=>{(!n||n.length===0)&&u("deleteBlock",t.prop)}),(n,o)=>(e.openBlock(),e.createElementBlock("div",null,[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":o[0]||(o[0]=c=>l.prop[l.content]=c),placeholder:l.placeholder?l.placeholder:"Enter text",onInput:m,onFocus:o[1]||(o[1]=c=>u("focus",r.value)),ref_key:"textarea",ref:r,tabindex:"-1",class:"br-l br-solid br-main pd-l-small text-area mn-b-small"},`
2
- `,40,f),[[e.vModelText,l.prop[l.content]]])]))}};exports.default=h;
@@ -1,46 +0,0 @@
1
- import { ref as d, onUpdated as f, onMounted as h, watch as x, openBlock as v, createElementBlock as b, withDirectives as g, createElementVNode as k, vModelText as B } from "vue";
2
- const y = ["placeholder"], I = {
3
- __name: "Caption",
4
- props: ["obj", "label", "prop", "value", "content", "textarea", "placeholder", "index", "ref"],
5
- emits: ["deleteBlock", "addBlock", "focus"],
6
- setup(t, { emit: p }) {
7
- const e = t;
8
- d(e);
9
- const o = d(null), i = p;
10
- function m(l) {
11
- const n = /^\s*[-*]\s+(.*)/;
12
- let s = l.target.value.split(/\n+/).map((c) => {
13
- const u = n.exec(c);
14
- return u ? u[1] : null;
15
- }).filter((c) => c !== null);
16
- s.length > 0 ? (e.prop[e.content] = s, a()) : l.target.value.trim() === "" && (e.prop[e.content] = [], a());
17
- }
18
- function a() {
19
- o.value.style.height = "1rem", o.value.style.height = o.value.scrollHeight + "px";
20
- }
21
- return f(() => {
22
- a();
23
- }), h(() => {
24
- a();
25
- }), x(() => e.prop[e.content], (l) => {
26
- (!l || l.length === 0) && i("deleteBlock", e.prop);
27
- }), (l, n) => (v(), b("div", null, [
28
- g(k("textarea", {
29
- "onUpdate:modelValue": n[0] || (n[0] = (r) => t.prop[t.content] = r),
30
- placeholder: t.placeholder ? t.placeholder : "Enter text",
31
- onInput: m,
32
- onFocus: n[1] || (n[1] = (r) => i("focus", o.value)),
33
- ref_key: "textarea",
34
- ref: o,
35
- tabindex: "-1",
36
- class: "br-l br-solid br-main pd-l-small text-area mn-b-small"
37
- }, `
38
- `, 40, y), [
39
- [B, t.prop[t.content]]
40
- ])
41
- ]));
42
- }
43
- };
44
- export {
45
- I as default
46
- };
@@ -1,4 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const k=["placeholder"],x={__name:"H2",props:["obj","label","prop","value","content","textarea","placeholder","index","ref","setFocus"],emits:["deleteBlock","updateBlock","addBlock","focus"],setup(a,{emit:s}){const t=a;e.ref(t);const o=e.ref(null),c=s;e.ref(0);function d(n){let l=n.target.value.split(/\n+/);if(l.length>1){t.prop[t.content]=l[0],e.nextTick(()=>{r()});let u=l.slice(1).map(f=>({type:"Textarea",content:f}));c("addBlock","Textarea","",t.index,{blocks:u,ref:o})}else n.target.value.trim()===""&&n.target.value.includes(`
2
-
3
- `)&&(console.log("We are adding new block:"+t.index+newBlocks+o),c("addBlock","Textarea","",t.index,{blocks:newBlocks,ref:o})),r()}function p(n){(n.keyCode===8||n.keyCode===46)&&t.prop[t.content].trim()===""&&c("deleteBlock",t.prop)}function i(){e.nextTick(()=>{o.value.focus(),c("updateBlock",t.prop,{setFocus:!1})})}function r(){o.value.style.height="1rem",o.value.style.height=o.value.scrollHeight+"px"}return e.onUpdated(()=>{t.setFocus&&e.nextTick(()=>{i()}),r()}),e.onMounted(()=>{t.setFocus&&e.nextTick(()=>{i()}),r()}),e.watch(()=>t.prop[t.content],n=>{}),(n,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":l[0]||(l[0]=u=>a.prop[a.content]=u),placeholder:a.placeholder?a.placeholder:"Enter text",onInput:d,onFocus:l[1]||(l[1]=u=>c("focus",o.value)),onKeyup:p,ref_key:"textarea",ref:o,tabindex:"-1",class:"h3 text-area mn-b-thin"},`
4
- `,40,k),[[e.vModelText,a.prop[a.content]]])]))}};exports.default=x;
@@ -1,65 +0,0 @@
1
- import { ref as d, onUpdated as x, nextTick as s, onMounted as h, watch as m, openBlock as B, createElementBlock as g, withDirectives as v, createElementVNode as y, vModelText as b } from "vue";
2
- /* empty css */
3
- const w = ["placeholder"], E = {
4
- __name: "H2",
5
- props: ["obj", "label", "prop", "value", "content", "textarea", "placeholder", "index", "ref", "setFocus"],
6
- emits: ["deleteBlock", "updateBlock", "addBlock", "focus"],
7
- setup(l, { emit: u }) {
8
- const e = l;
9
- d(e);
10
- const t = d(null), a = u;
11
- d(0);
12
- function p(o) {
13
- let n = o.target.value.split(/\n+/);
14
- if (n.length > 1) {
15
- e.prop[e.content] = n[0], s(() => {
16
- c();
17
- });
18
- let r = n.slice(1).map((k) => ({ type: "Textarea", content: k }));
19
- a("addBlock", "Textarea", "", e.index, { blocks: r, ref: t });
20
- } else
21
- o.target.value.trim() === "" && o.target.value.includes(`
22
-
23
- `) && (console.log("We are adding new block:" + e.index + newBlocks + t), a("addBlock", "Textarea", "", e.index, { blocks: newBlocks, ref: t })), c();
24
- }
25
- function f(o) {
26
- (o.keyCode === 8 || o.keyCode === 46) && e.prop[e.content].trim() === "" && a("deleteBlock", e.prop);
27
- }
28
- function i() {
29
- s(() => {
30
- t.value.focus(), a("updateBlock", e.prop, { setFocus: !1 });
31
- });
32
- }
33
- function c() {
34
- t.value.style.height = "1rem", t.value.style.height = t.value.scrollHeight + "px";
35
- }
36
- return x(() => {
37
- e.setFocus && s(() => {
38
- i();
39
- }), c();
40
- }), h(() => {
41
- e.setFocus && s(() => {
42
- i();
43
- }), c();
44
- }), m(() => e.prop[e.content], (o) => {
45
- }), (o, n) => (B(), g("div", null, [
46
- v(y("textarea", {
47
- "onUpdate:modelValue": n[0] || (n[0] = (r) => l.prop[l.content] = r),
48
- placeholder: l.placeholder ? l.placeholder : "Enter text",
49
- onInput: p,
50
- onFocus: n[1] || (n[1] = (r) => a("focus", t.value)),
51
- onKeyup: f,
52
- ref_key: "textarea",
53
- ref: t,
54
- tabindex: "-1",
55
- class: "h3 text-area mn-b-thin"
56
- }, `
57
- `, 40, w), [
58
- [b, l.prop[l.content]]
59
- ])
60
- ]));
61
- }
62
- };
63
- export {
64
- E as default
65
- };
@@ -1,5 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const k=["placeholder"],x={__name:"Textarea",props:["prop","value","content","placeholder","index","setFocus"],emits:["deleteBlock","updateBlock","addBlock","focus"],setup(o,{emit:s}){const t=o,c=s;e.ref(t);const n=e.ref(null);e.ref(0);function d(a){let l=a.target.value.split(/\n+/);if(l.length>1){t.prop[t.content]=l[0],e.nextTick(()=>{r()});let i=l.slice(1).map(f=>({__name:"Textarea",content:f}));c("addBlock","Textarea","",t.index,{blocks:i,ref:n})}else a.target.value.trim()===""&&a.target.value.includes(`
2
-
3
- `)&&(console.log("We are adding new block:"+t.index+newBlocks+n),c("addBlock","Textarea","",t.index,{blocks:newBlocks,ref:n})),r()}function p(a){(a.keyCode===8||a.keyCode===46)&&t.prop[t.content].trim()===""&&c("deleteBlock",t.prop)}function u(){e.nextTick(()=>{n.value.focus(),c("updateBlock",t.prop,{setFocus:!1})})}function r(){n.value.style.height="1rem",n.value.style.height=n.value.scrollHeight+"px"}return e.onUpdated(()=>{t.setFocus&&e.nextTick(()=>{u()}),r()}),e.onMounted(()=>{t.setFocus&&e.nextTick(()=>{u()}),r()}),(a,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":l[0]||(l[0]=i=>o.prop[o.content]=i),placeholder:o.placeholder?o.placeholder:"",onInput:d,onFocus:l[1]||(l[1]=i=>c("focus",n.value)),onKeyup:p,ref_key:"textarea",ref:n,tabindex:"-1",class:e.normalizeClass(["text-area mn-b-thin",{"t-main t-semi":o.prop.type==="Link"}])},`
4
-
5
- `,42,k),[[e.vModelText,o.prop[o.content]]])]))}};exports.default=x;