@ozdao/prometheus-framework 0.1.61 → 0.1.63

Sign up to get free protection for your applications and to get access to all the features.
Files changed (259) hide show
  1. package/dist/BackofficeGallery-30022293.js +1 -0
  2. package/dist/BackofficeGallery-f64daa0d.mjs +264 -0
  3. package/dist/BackofficeReports-cb4b180d.mjs +44 -0
  4. package/dist/BackofficeReports-d021871f.js +1 -0
  5. package/dist/BlockTags-8cddaef7.js +1 -0
  6. package/dist/BlockTags-ee310572.mjs +853 -0
  7. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
  8. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
  9. package/dist/Button-7643c9aa.js +1 -0
  10. package/dist/Button-9e1a9284.mjs +226 -0
  11. package/dist/Button.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
  12. package/dist/Button.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
  13. package/dist/ButtonToggleMembership-7ee4dc8e.mjs +90 -0
  14. package/dist/ButtonToggleMembership-b9352cec.js +1 -0
  15. package/dist/CardBlogpost-3c92fbc9.mjs +246 -0
  16. package/dist/CardBlogpost-c7364b1e.js +1 -0
  17. package/dist/CardOrganization-647cb571.js +1 -0
  18. package/dist/CardOrganization-facb77f7.mjs +234 -0
  19. package/dist/CardProduct-92affca1.js +1 -0
  20. package/dist/CardProduct-fca53299.mjs +193 -0
  21. package/dist/Checkbox-5dbe7b23.mjs +62 -0
  22. package/dist/Checkbox-76f09248.js +1 -0
  23. package/dist/Chips-0fdb31c9.js +1 -0
  24. package/dist/Chips-f1a0d085.mjs +214 -0
  25. package/dist/Community-534d473c.mjs +132 -0
  26. package/dist/Community-e9aff969.js +1 -0
  27. package/dist/Dashboard-91d73bc5.js +1 -0
  28. package/dist/Dashboard-ea9035bc.mjs +152 -0
  29. package/dist/Dropdown-31115457.js +1 -0
  30. package/dist/Dropdown-cab3605b.mjs +146 -0
  31. package/dist/EULA-aba6a807.js +1 -0
  32. package/dist/EULA-e05236af.mjs +4210 -0
  33. package/dist/EditOrder-94bbebff.mjs +221 -0
  34. package/dist/EditOrder-c070d474.js +1 -0
  35. package/dist/EmptyState-d65bab5b.js +1 -0
  36. package/dist/EmptyState-e404b05d.mjs +36 -0
  37. package/dist/Events-46ae8fc6.mjs +123 -0
  38. package/dist/Events-813c8c7b.js +1 -0
  39. package/dist/Feed-2d443ad2.mjs +146 -0
  40. package/dist/Feed-3a4e7a9c.js +1 -0
  41. package/dist/Feed-8b554fc1.js +1 -0
  42. package/dist/Feed-98b47c6f.js +1 -0
  43. package/dist/Feed-a21d6007.mjs +124 -0
  44. package/dist/Feed-b39138c8.js +1 -0
  45. package/dist/Feed-c41ef736.mjs +361 -0
  46. package/dist/Feed-d114330c.mjs +112 -0
  47. package/dist/Field-e2a43424.js +1 -0
  48. package/dist/Field-e5ad88d3.mjs +75 -0
  49. package/dist/Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-0ea8fbf8.js +1 -0
  50. package/dist/Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-4ed993c7.mjs +1 -0
  51. package/dist/Gallery-46b5f939.js +1 -0
  52. package/dist/Gallery-762a9c2d.mjs +241 -0
  53. package/dist/IconChevronRight-a55f838e.js +1 -0
  54. package/dist/IconChevronRight-fae9d012.mjs +28 -0
  55. package/dist/IconCommunity-468dc457.mjs +65 -0
  56. package/dist/IconCommunity-b339e806.js +1 -0
  57. package/dist/IconCross-5bf93179.js +1 -0
  58. package/dist/IconCross-84cb1292.mjs +28 -0
  59. package/dist/IconEdit-9edfd74d.mjs +21 -0
  60. package/dist/IconEdit-c0469b45.js +1 -0
  61. package/dist/Image-4dcfddb8.js +9 -0
  62. package/dist/Image-e0da17ac.mjs +571 -0
  63. package/dist/LabelGooglePlay-24feb437.mjs +31 -0
  64. package/dist/LabelGooglePlay-f80e5ff0.js +1 -0
  65. package/dist/LeftoverAdd-5a8988d9.js +1 -0
  66. package/dist/LeftoverAdd-c4f37f47.mjs +227 -0
  67. package/dist/Leftovers-470a1689.js +1 -0
  68. package/dist/Leftovers-69c7dcd9.mjs +136 -0
  69. package/dist/Loader-21f016da.js +1 -0
  70. package/dist/Loader-cd422786.mjs +41 -0
  71. package/dist/Loader.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
  72. package/dist/Loader.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
  73. package/dist/Members-04273cd4.mjs +114 -0
  74. package/dist/Members-0685a15f.js +1 -0
  75. package/dist/Menu-b5d6a0c7.js +1 -0
  76. package/dist/Menu-dd7645c1.mjs +13 -0
  77. package/dist/MenuItem-56ae7f94.js +1 -0
  78. package/dist/MenuItem-6296d02f.mjs +63 -0
  79. package/dist/Orders-b64e8cb9.js +1 -0
  80. package/dist/Orders-ff30db05.mjs +75 -0
  81. package/dist/Organizations-46aab2c8.mjs +73 -0
  82. package/dist/Organizations-a8627bc5.js +1 -0
  83. package/dist/Payments-53e5fecf.js +1 -0
  84. package/dist/Payments-82e545e1.mjs +87 -0
  85. package/dist/PlaceholderUserpic-14c6ea7e.mjs +28 -0
  86. package/dist/PlaceholderUserpic-47f6f319.js +1 -0
  87. package/dist/Popup-0915427c.mjs +74 -0
  88. package/dist/Popup-795f5c88.js +1 -0
  89. package/dist/Popup.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
  90. package/dist/Popup.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
  91. package/dist/Product-7e001b81.js +7 -0
  92. package/dist/Product-f3f42158.mjs +653 -0
  93. package/dist/ProductEdit-959b3cd3.mjs +295 -0
  94. package/dist/ProductEdit-bae5e898.js +1 -0
  95. package/dist/ProductsBackoffice-0716123f.js +1 -0
  96. package/dist/ProductsBackoffice-a36ecbc6.mjs +85 -0
  97. package/dist/ProfileBlogposts-c790d1b2.js +1 -0
  98. package/dist/ProfileBlogposts-f43cf32e.mjs +79 -0
  99. package/dist/ProfileEvents-12f80fff.mjs +70 -0
  100. package/dist/ProfileEvents-585570a3.js +1 -0
  101. package/dist/ProfileOrganizations-bbc2cf40.mjs +73 -0
  102. package/dist/ProfileOrganizations-d7103514.js +1 -0
  103. package/dist/Publics-094f3c2c.mjs +45 -0
  104. package/dist/Publics-1032c0f4.js +1 -0
  105. package/dist/Select-11ddabf5.mjs +79 -0
  106. package/dist/Select-3ca5ab39.js +1 -0
  107. package/dist/SelectMulti-58704d69.mjs +1038 -0
  108. package/dist/SelectMulti-c25765cf.js +1 -0
  109. package/dist/SkeletonBlogpost-95db0fa9.js +1 -0
  110. package/dist/SkeletonBlogpost-e0621af7.mjs +16 -0
  111. package/dist/SkeletonEvent-8690422d.mjs +16 -0
  112. package/dist/SkeletonEvent-eb284de8.js +1 -0
  113. package/dist/SkeletonEventShort-6c9e3940.js +1 -0
  114. package/dist/SkeletonEventShort-f030e56f.mjs +16 -0
  115. package/dist/SkeletonOrganization-5c09cfc5.js +1 -0
  116. package/dist/SkeletonOrganization-8690422d.mjs +16 -0
  117. package/dist/Socials-31c06635.mjs +74 -0
  118. package/dist/Socials-cceaeaf2.js +1 -0
  119. package/dist/Tab-054b61f7.mjs +46 -0
  120. package/dist/Tab-2c1e4224.js +1 -0
  121. package/dist/Tab.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
  122. package/dist/Tab.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
  123. package/dist/Upload-06d93178.js +1 -0
  124. package/dist/Upload-23212d9d.mjs +74 -0
  125. package/dist/UploadImage-0f488170.js +1 -0
  126. package/dist/UploadImage-3c627d89.mjs +83 -0
  127. package/dist/UploadImageMultiple-cb6c7188.mjs +58 -0
  128. package/dist/UploadImageMultiple-eddaac87.js +1 -0
  129. package/dist/Wallet-2043b611.mjs +24682 -0
  130. package/dist/Wallet-8fa7386a.js +55 -0
  131. package/dist/_plugin-vue_export-helper-dad06003.mjs +9 -0
  132. package/dist/_plugin-vue_export-helper-f246444f.js +1 -0
  133. package/dist/auth-56dc2ba7.mjs +607 -0
  134. package/dist/auth-f018f5b3.js +7 -0
  135. package/dist/auth.client.cjs +7 -0
  136. package/dist/auth.client.js +3874 -0
  137. package/dist/auth.validation-c31a60e7.mjs +24 -0
  138. package/dist/auth.validation-d049b341.js +1 -0
  139. package/dist/backoffice.client.cjs +1 -0
  140. package/dist/backoffice.client.js +265 -0
  141. package/dist/carousel.es-44c501bc.mjs +383 -0
  142. package/dist/carousel.es-cdfb392c.js +5 -0
  143. package/dist/categories-5b08da53.mjs +121 -0
  144. package/dist/categories-7ccd6be9.js +1 -0
  145. package/dist/click-outside-0b0727d1.js +2 -0
  146. package/dist/click-outside-6101836c.mjs +19 -0
  147. package/dist/community.client.cjs +1 -0
  148. package/dist/community.client.js +692 -0
  149. package/dist/dribbble-8e8e169b.js +1 -0
  150. package/dist/dribbble-ae37c2ac.mjs +127 -0
  151. package/dist/events.client.cjs +2 -0
  152. package/dist/events.client.js +8885 -0
  153. package/dist/files.client.cjs +1 -0
  154. package/dist/files.client.js +1 -0
  155. package/dist/gallery-d4297191.mjs +54 -0
  156. package/dist/gallery-f92912df.js +1 -0
  157. package/dist/gallery.client.cjs +1 -0
  158. package/dist/gallery.client.js +18 -0
  159. package/dist/globals-928eb13c.js +1 -0
  160. package/dist/globals-96ba60e4.mjs +91 -0
  161. package/dist/globals.client.cjs +1 -0
  162. package/dist/globals.client.js +12 -0
  163. package/dist/icons.client.cjs +1 -0
  164. package/dist/icons.client.js +84 -0
  165. package/dist/index-a661083c.mjs +934 -0
  166. package/dist/index-b41aac19.js +2 -0
  167. package/dist/inputs.validation-d7cef32b.js +1 -0
  168. package/dist/inputs.validation-db65277a.mjs +83 -0
  169. package/dist/landing.client.cjs +1 -0
  170. package/dist/landing.client.js +111 -0
  171. package/dist/leftovers-5d1ff88b.mjs +67 -0
  172. package/dist/leftovers-b60180cf.js +1 -0
  173. package/dist/legal.client.cjs +1 -0
  174. package/dist/legal.client.js +8512 -0
  175. package/dist/memberships-12210953.mjs +68 -0
  176. package/dist/memberships-393765d8.js +1 -0
  177. package/dist/middlewares.client.cjs +1 -0
  178. package/dist/middlewares.client.js +1 -0
  179. package/dist/orders-13c10d49.mjs +85 -0
  180. package/dist/orders-37f041aa.js +1 -0
  181. package/dist/organizations-587d5a4d.mjs +122 -0
  182. package/dist/organizations-b4d902a2.js +1 -0
  183. package/dist/organizations.client-35b74e44.mjs +2997 -0
  184. package/dist/organizations.client-f982f55a.js +3 -0
  185. package/dist/organizations.client.cjs +1 -0
  186. package/dist/organizations.client.js +86 -0
  187. package/dist/products-3c43eb18.js +1 -0
  188. package/dist/products-943fb95e.mjs +107 -0
  189. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  190. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +72 -2
  191. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  192. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +2 -72
  193. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  194. package/dist/prometheus-framework/src/components/Select/Select.vue.js +78 -2
  195. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  196. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +2 -78
  197. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  198. package/dist/prometheus-framework/src/modules/auth/store/auth.js +75 -93
  199. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  200. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  201. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  202. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  203. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +4 -1
  204. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +61 -2
  205. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -4
  206. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +2 -61
  207. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  208. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  209. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  211. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  212. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  213. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  214. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  215. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  216. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
  217. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  218. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  219. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  220. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  221. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  222. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  223. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  224. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  225. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  226. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  227. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  228. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  229. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  230. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  231. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  232. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  233. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  234. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  235. package/dist/prometheus-framework/src/modules/products/components/pages/LeftoverAdd.vue.cjs +1 -1
  236. package/dist/prometheus-framework/src/modules/products/components/pages/LeftoverAdd.vue.js +1 -1
  237. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  238. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
  239. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  240. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  241. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  242. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  243. package/dist/prometheus-framework.cjs.js +19 -19
  244. package/dist/prometheus-framework.es.js +2208 -2198
  245. package/dist/reports-270f69df.js +1 -0
  246. package/dist/reports-79cd9459.mjs +91 -0
  247. package/dist/reports.client.cjs +1 -0
  248. package/dist/reports.client.js +8 -0
  249. package/dist/states.validation-3b70f83a.js +1 -0
  250. package/dist/states.validation-944e334c.mjs +13 -0
  251. package/dist/style.css +1 -1
  252. package/dist/users.client.cjs +1 -0
  253. package/dist/users.client.js +632 -0
  254. package/dist/vue-draggable-next.esm-bundler-21a209c6.js +10 -0
  255. package/dist/vue-draggable-next.esm-bundler-ff6e3f52.mjs +1557 -0
  256. package/dist/vuex.esm-bundler-57d8b6ba.mjs +750 -0
  257. package/dist/vuex.esm-bundler-685cf29f.js +5 -0
  258. package/package.json +1 -1
  259. package/src/modules/auth/store/auth.js +20 -20
@@ -0,0 +1,5 @@
1
+ "use strict";const E=require("vue");function q(){return L().__VUE_DEVTOOLS_GLOBAL_HOOK__}function L(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const J=typeof Proxy=="function",W="devtools-plugin:setup",Y="plugin:settings:set";let b,S;function X(){var e;return b!==void 0||(typeof window<"u"&&window.performance?(b=!0,S=window.performance):typeof global<"u"&&(!((e=global.perf_hooks)===null||e===void 0)&&e.performance)?(b=!0,S=global.perf_hooks.performance):b=!1),b}function z(){return X()?S.now():Date.now()}class Z{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const i in t.settings){const c=t.settings[i];r[i]=c.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let s=Object.assign({},r);try{const i=localStorage.getItem(o),c=JSON.parse(i);Object.assign(s,c)}catch{}this.fallbacks={getSettings(){return s},setSettings(i){try{localStorage.setItem(o,JSON.stringify(i))}catch{}s=i},now(){return z()}},n&&n.on(Y,(i,c)=>{i===this.plugin.id&&this.fallbacks.setSettings(c)}),this.proxiedOn=new Proxy({},{get:(i,c)=>this.target?this.target.on[c]:(...a)=>{this.onQueue.push({method:c,args:a})}}),this.proxiedTarget=new Proxy({},{get:(i,c)=>this.target?this.target[c]:c==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(c)?(...a)=>(this.targetQueue.push({method:c,args:a,resolve:()=>{}}),this.fallbacks[c](...a)):(...a)=>new Promise(l=>{this.targetQueue.push({method:c,args:a,resolve:l})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function tt(e,t){const n=e,r=L(),o=q(),s=J&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))o.emit(W,e,t);else{const i=s?new Z(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*!
2
+ * vuex v4.1.0
3
+ * (c) 2022 Evan You
4
+ * @license MIT
5
+ */var G="store";function et(e){return e===void 0&&(e=null),E.inject(e!==null?e:G)}function g(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function rt(e){return e!==null&&typeof e=="object"}function nt(e){return e&&typeof e.then=="function"}function v(e,t){if(!e)throw new Error("[vuex] "+t)}function ot(e,t){return function(){return e(t)}}function P(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function M(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;w(e,n,[],e._modules.root,!0),C(e,n,t)}function C(e,t,n){var r=e._state,o=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var s=e._wrappedGetters,i={},c={},a=E.effectScope(!0);a.run(function(){g(s,function(l,u){i[u]=ot(l,e),c[u]=E.computed(function(){return i[u]()}),Object.defineProperty(e.getters,u,{get:function(){return c[u].value},enumerable:!0})})}),e._state=E.reactive({data:t}),e._scope=a,e.strict&&ut(e),r&&n&&e._withCommit(function(){r.data=null}),o&&o.stop()}function w(e,t,n,r,o){var s=!n.length,i=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[i]&&process.env.NODE_ENV!=="production"&&console.error("[vuex] duplicate namespace "+i+" for the namespaced module "+n.join("/")),e._modulesNamespaceMap[i]=r),!s&&!o){var c=D(t,n.slice(0,-1)),a=n[n.length-1];e._withCommit(function(){process.env.NODE_ENV!=="production"&&a in c&&console.warn('[vuex] state field "'+a+'" was overridden by a module with the same name at "'+n.join(".")+'"'),c[a]=r.state})}var l=r.context=it(e,i,n);r.forEachMutation(function(u,f){var p=i+f;st(e,p,u,l)}),r.forEachAction(function(u,f){var p=u.root?f:i+f,d=u.handler||u;ct(e,p,d,l)}),r.forEachGetter(function(u,f){var p=i+f;at(e,p,u,l)}),r.forEachChild(function(u,f){w(e,t,n.concat(f),u,o)})}function it(e,t,n){var r=t==="",o={dispatch:r?e.dispatch:function(s,i,c){var a=O(s,i,c),l=a.payload,u=a.options,f=a.type;if((!u||!u.root)&&(f=t+f,process.env.NODE_ENV!=="production"&&!e._actions[f])){console.error("[vuex] unknown local action type: "+a.type+", global type: "+f);return}return e.dispatch(f,l)},commit:r?e.commit:function(s,i,c){var a=O(s,i,c),l=a.payload,u=a.options,f=a.type;if((!u||!u.root)&&(f=t+f,process.env.NODE_ENV!=="production"&&!e._mutations[f])){console.error("[vuex] unknown local mutation type: "+a.type+", global type: "+f);return}e.commit(f,l,u)}};return Object.defineProperties(o,{getters:{get:r?function(){return e.getters}:function(){return $(e,t)}},state:{get:function(){return D(e.state,n)}}}),o}function $(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(o){if(o.slice(0,r)===t){var s=o.slice(r);Object.defineProperty(n,s,{get:function(){return e.getters[o]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function st(e,t,n,r){var o=e._mutations[t]||(e._mutations[t]=[]);o.push(function(i){n.call(e,r.state,i)})}function ct(e,t,n,r){var o=e._actions[t]||(e._actions[t]=[]);o.push(function(i){var c=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},i);return nt(c)||(c=Promise.resolve(c)),e._devtoolHook?c.catch(function(a){throw e._devtoolHook.emit("vuex:error",a),a}):c})}function at(e,t,n,r){if(e._wrappedGetters[t]){process.env.NODE_ENV!=="production"&&console.error("[vuex] duplicate getter key: "+t);return}e._wrappedGetters[t]=function(s){return n(r.state,r.getters,s.state,s.getters)}}function ut(e){E.watch(function(){return e._state.data},function(){process.env.NODE_ENV!=="production"&&v(e._committing,"do not mutate vuex store state outside mutation handlers.")},{deep:!0,flush:"sync"})}function D(e,t){return t.reduce(function(n,r){return n[r]},e)}function O(e,t,n){return rt(e)&&e.type&&(n=t,t=e,e=e.type),process.env.NODE_ENV!=="production"&&v(typeof e=="string","expects string as the type, but found "+typeof e+"."),{type:e,payload:t,options:n}}var ft="vuex bindings",I="vuex:mutations",N="vuex:actions",y="vuex",lt=0;function dt(e,t){tt({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[ft]},function(n){n.addTimelineLayer({id:I,label:"Vuex Mutations",color:A}),n.addTimelineLayer({id:N,label:"Vuex Actions",color:A}),n.addInspector({id:y,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===y)if(r.filter){var o=[];H(o,t._modules.root,r.filter,""),r.rootNodes=o}else r.rootNodes=[k(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===y){var o=r.nodeId;$(t,o),r.state=vt(gt(t._modules,o),o==="root"?t.getters:t._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===y){var o=r.nodeId,s=r.path;o!=="root"&&(s=o.split("/").filter(Boolean).concat(s)),t._withCommit(function(){r.set(t._state.data,s,r.state.value)})}}),t.subscribe(function(r,o){var s={};r.payload&&(s.payload=r.payload),s.state=o,n.notifyComponentUpdate(),n.sendInspectorTree(y),n.sendInspectorState(y),n.addTimelineEvent({layerId:I,event:{time:Date.now(),title:r.type,data:s}})}),t.subscribeAction({before:function(r,o){var s={};r.payload&&(s.payload=r.payload),r._id=lt++,r._time=Date.now(),s.state=o,n.addTimelineEvent({layerId:N,event:{time:r._time,title:r.type,groupId:r._id,subtitle:"start",data:s}})},after:function(r,o){var s={},i=Date.now()-r._time;s.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},r.payload&&(s.payload=r.payload),s.state=o,n.addTimelineEvent({layerId:N,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:s}})}})})}var A=8702998,pt=6710886,ht=16777215,R={label:"namespaced",textColor:ht,backgroundColor:pt};function U(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function k(e,t){return{id:t||"root",label:U(t),tags:e.namespaced?[R]:[],children:Object.keys(e._children).map(function(n){return k(e._children[n],t+n+"/")})}}function H(e,t,n,r){r.includes(n)&&e.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:t.namespaced?[R]:[]}),Object.keys(t._children).forEach(function(o){H(e,t._children[o],n,r+o+"/")})}function vt(e,t,n){t=n==="root"?t:t[n];var r=Object.keys(t),o={state:Object.keys(e.state).map(function(i){return{key:i,editable:!0,value:e.state[i]}})};if(r.length){var s=_t(t);o.getters=Object.keys(s).map(function(i){return{key:i.endsWith("/")?U(i):i,editable:!1,value:x(function(){return s[i]})}})}return o}function _t(e){var t={};return Object.keys(e).forEach(function(n){var r=n.split("/");if(r.length>1){var o=t,s=r.pop();r.forEach(function(i){o[i]||(o[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),o=o[i]._custom.value}),o[s]=x(function(){return e[n]})}else t[n]=x(function(){return e[n]})}),t}function gt(e,t){var n=t.split("/").filter(function(r){return r});return n.reduce(function(r,o,s){var i=r[o];if(!i)throw new Error('Missing module "'+o+'" for path "'+t+'".');return s===n.length-1?i:i._children},t==="root"?e:e.root._children)}function x(e){try{return e()}catch(t){return t}}var _=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var r=t.state;this.state=(typeof r=="function"?r():r)||{}},Q={namespaced:{configurable:!0}};Q.namespaced.get=function(){return!!this._rawModule.namespaced};_.prototype.addChild=function(t,n){this._children[t]=n};_.prototype.removeChild=function(t){delete this._children[t]};_.prototype.getChild=function(t){return this._children[t]};_.prototype.hasChild=function(t){return t in this._children};_.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};_.prototype.forEachChild=function(t){g(this._children,t)};_.prototype.forEachGetter=function(t){this._rawModule.getters&&g(this._rawModule.getters,t)};_.prototype.forEachAction=function(t){this._rawModule.actions&&g(this._rawModule.actions,t)};_.prototype.forEachMutation=function(t){this._rawModule.mutations&&g(this._rawModule.mutations,t)};Object.defineProperties(_.prototype,Q);var m=function(t){this.register([],t,!1)};m.prototype.get=function(t){return t.reduce(function(n,r){return n.getChild(r)},this.root)};m.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(r,o){return n=n.getChild(o),r+(n.namespaced?o+"/":"")},"")};m.prototype.update=function(t){K([],this.root,t)};m.prototype.register=function(t,n,r){var o=this;r===void 0&&(r=!0),process.env.NODE_ENV!=="production"&&B(t,n);var s=new _(n,r);if(t.length===0)this.root=s;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],s)}n.modules&&g(n.modules,function(c,a){o.register(t.concat(a),c,r)})};m.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1],o=n.getChild(r);if(!o){process.env.NODE_ENV!=="production"&&console.warn("[vuex] trying to unregister module '"+r+"', which is not registered");return}o.runtime&&n.removeChild(r)};m.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1];return n?n.hasChild(r):!1};function K(e,t,n){if(process.env.NODE_ENV!=="production"&&B(e,n),t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r)){process.env.NODE_ENV!=="production"&&console.warn("[vuex] trying to add a new module '"+r+"' on hot reloading, manual reload is needed");return}K(e.concat(r),t.getChild(r),n.modules[r])}}var V={assert:function(e){return typeof e=="function"},expected:"function"},mt={assert:function(e){return typeof e=="function"||typeof e=="object"&&typeof e.handler=="function"},expected:'function or object with "handler" function'},T={getters:V,mutations:V,actions:mt};function B(e,t){Object.keys(T).forEach(function(n){if(t[n]){var r=T[n];g(t[n],function(o,s){v(r.assert(o),bt(e,n,s,o,r.expected))})}})}function bt(e,t,n,r,o){var s=t+" should be "+o+' but "'+t+"."+n+'"';return e.length>0&&(s+=' in module "'+e.join(".")+'"'),s+=" is "+JSON.stringify(r)+".",s}var h=function e(t){var n=this;t===void 0&&(t={}),process.env.NODE_ENV!=="production"&&(v(typeof Promise<"u","vuex requires a Promise polyfill in this browser."),v(this instanceof e,"store must be called with the new operator."));var r=t.plugins;r===void 0&&(r=[]);var o=t.strict;o===void 0&&(o=!1);var s=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new m(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=s;var i=this,c=this,a=c.dispatch,l=c.commit;this.dispatch=function(p,d){return a.call(i,p,d)},this.commit=function(p,d,F){return l.call(i,p,d,F)},this.strict=o;var u=this._modules.root.state;w(this,u,[],this._modules.root),C(this,u),r.forEach(function(f){return f(n)})},j={state:{configurable:!0}};h.prototype.install=function(t,n){t.provide(n||G,this),t.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:process.env.NODE_ENV!=="production"||!1;r&&dt(t,this)};j.state.get=function(){return this._state.data};j.state.set=function(e){process.env.NODE_ENV!=="production"&&v(!1,"use store.replaceState() to explicit replace store state.")};h.prototype.commit=function(t,n,r){var o=this,s=O(t,n,r),i=s.type,c=s.payload,a=s.options,l={type:i,payload:c},u=this._mutations[i];if(!u){process.env.NODE_ENV!=="production"&&console.error("[vuex] unknown mutation type: "+i);return}this._withCommit(function(){u.forEach(function(p){p(c)})}),this._subscribers.slice().forEach(function(f){return f(l,o.state)}),process.env.NODE_ENV!=="production"&&a&&a.silent&&console.warn("[vuex] mutation type: "+i+". Silent option has been removed. Use the filter functionality in the vue-devtools")};h.prototype.dispatch=function(t,n){var r=this,o=O(t,n),s=o.type,i=o.payload,c={type:s,payload:i},a=this._actions[s];if(!a){process.env.NODE_ENV!=="production"&&console.error("[vuex] unknown action type: "+s);return}try{this._actionSubscribers.slice().filter(function(u){return u.before}).forEach(function(u){return u.before(c,r.state)})}catch(u){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in before action subscribers: "),console.error(u))}var l=a.length>1?Promise.all(a.map(function(u){return u(i)})):a[0](i);return new Promise(function(u,f){l.then(function(p){try{r._actionSubscribers.filter(function(d){return d.after}).forEach(function(d){return d.after(c,r.state)})}catch(d){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in after action subscribers: "),console.error(d))}u(p)},function(p){try{r._actionSubscribers.filter(function(d){return d.error}).forEach(function(d){return d.error(c,r.state,p)})}catch(d){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in error action subscribers: "),console.error(d))}f(p)})})};h.prototype.subscribe=function(t,n){return P(t,this._subscribers,n)};h.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return P(r,this._actionSubscribers,n)};h.prototype.watch=function(t,n,r){var o=this;return process.env.NODE_ENV!=="production"&&v(typeof t=="function","store.watch only accepts a function."),E.watch(function(){return t(o.state,o.getters)},n,Object.assign({},r))};h.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};h.prototype.registerModule=function(t,n,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),process.env.NODE_ENV!=="production"&&(v(Array.isArray(t),"module path must be a string or an Array."),v(t.length>0,"cannot register the root module by using registerModule.")),this._modules.register(t,n),w(this,this.state,t,this._modules.get(t),r.preserveState),C(this,this.state)};h.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),process.env.NODE_ENV!=="production"&&v(Array.isArray(t),"module path must be a string or an Array."),this._modules.unregister(t),this._withCommit(function(){var r=D(n.state,t.slice(0,-1));delete r[t[t.length-1]]}),M(this)};h.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),process.env.NODE_ENV!=="production"&&v(Array.isArray(t),"module path must be a string or an Array."),this._modules.isRegistered(t)};h.prototype.hotUpdate=function(t){this._modules.update(t),M(this,!0)};h.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(h.prototype,j);exports.useStore=et;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ozdao/prometheus-framework",
3
- "version": "0.1.61",
3
+ "version": "0.1.63",
4
4
  "description": "Web3 Framework focused on user experience and ease of development.",
5
5
  "author": "OZ DAO <hello@ozdao.dev>",
6
6
  "license": "GPL-3.0-or-later",
@@ -27,27 +27,27 @@
27
27
  },
28
28
  });
29
29
 
30
- async function initialize() {
31
- const userCookie = await getCookie('user');
30
+ // async function initialize() {
31
+ // const userCookie = await getCookie('user');
32
32
 
33
- if (userCookie) {
34
- const {_id, email, phone, roles, accessToken} = userCookie;
35
-
36
- Object.assign(state.user, {_id, email, phone});
37
- Object.assign(state.access, {token: accessToken, roles, status: !!accessToken});
38
-
39
- $axios.interceptors.request.use((config) => {
40
- if (accessToken) {
41
- config.headers['x-access-token'] = accessToken;
42
- }
43
- return config;
44
- }, (error) => {
45
- return Promise.reject(error);
46
- });
47
- }
48
- }
49
-
50
- initialize();
33
+ // if (userCookie) {
34
+ // const {_id, email, phone, roles, accessToken} = userCookie;
35
+
36
+ // Object.assign(state.user, {_id, email, phone});
37
+ // Object.assign(state.access, {token: accessToken, roles, status: !!accessToken});
38
+
39
+ // $axios.interceptors.request.use((config) => {
40
+ // if (accessToken) {
41
+ // config.headers['x-access-token'] = accessToken;
42
+ // }
43
+ // return config;
44
+ // }, (error) => {
45
+ // return Promise.reject(error);
46
+ // });
47
+ // }
48
+ // }
49
+
50
+ // initialize();
51
51
 
52
52
  const actions = {
53
53
  async login (user, type) {