@ozdao/prometheus-framework 0.2.245 → 0.2.247

Sign up to get free protection for your applications and to get access to all the features.
Files changed (162) hide show
  1. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  2. package/dist/prometheus-framework/src/components/Button/Button.vue.js +1 -1
  3. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +2 -2
  4. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +2 -2
  5. package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +24 -25
  6. package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs.map +1 -1
  7. package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +25 -26
  8. package/dist/prometheus-framework/src/components/Loader/Loader.vue.js.map +1 -1
  9. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  10. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +1 -1
  11. package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
  12. package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
  13. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  14. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  15. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +2 -2
  16. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +2 -2
  17. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -1
  18. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
  19. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
  20. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
  21. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
  22. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
  23. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
  24. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +1 -1
  25. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
  26. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
  27. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  29. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +1 -1
  31. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  33. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  34. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  35. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +2 -2
  36. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +2 -2
  37. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +2 -2
  38. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +2 -2
  39. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  40. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  41. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +2 -2
  42. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +2 -2
  43. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  45. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +9 -5
  46. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs.map +1 -1
  47. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +9 -5
  48. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js.map +1 -1
  49. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  50. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  51. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  52. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  53. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
  54. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
  55. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs +1 -1
  56. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
  57. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  58. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
  59. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  60. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +1 -1
  61. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  62. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  63. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
  64. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  65. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +2 -2
  66. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +2 -2
  67. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +2 -2
  68. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +2 -2
  69. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +1 -1
  71. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js +1 -1
  73. package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
  75. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +2 -2
  76. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
  77. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +2 -2
  78. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +2 -2
  79. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +3 -3
  80. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +3 -3
  81. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  82. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
  83. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  84. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  85. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  86. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  87. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  88. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  89. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  90. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  91. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +4 -4
  92. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +4 -4
  93. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +3 -3
  94. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +3 -3
  95. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +2 -2
  96. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +2 -2
  97. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  98. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
  99. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +3 -3
  100. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -3
  101. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  102. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  103. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +2 -2
  104. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +2 -2
  105. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +2 -2
  106. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  107. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  108. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
  109. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  110. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  111. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +3 -3
  112. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
  113. package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +869 -869
  114. package/dist/prometheus-framework/src/modules/pages/pages.client.js +869 -869
  115. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -1
  116. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
  117. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  118. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  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 +1 -1
  121. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  122. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +1 -1
  123. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  124. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  125. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  126. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  127. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +2 -2
  128. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  129. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  130. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  131. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +2 -2
  132. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
  133. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  134. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +1 -1
  135. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  136. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +1 -1
  137. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +2 -2
  138. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +2 -2
  139. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  140. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
  141. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +2 -2
  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 +3 -3
  150. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +3 -3
  151. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +3 -3
  152. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +3 -3
  153. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  154. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  155. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  156. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +1 -1
  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 +1 -1
  159. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +4 -4
  160. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +4 -4
  161. package/package.json +1 -1
  162. package/src/modules/events/components/elements/ButtonCheck.vue +18 -16
@@ -87,29 +87,31 @@ async function stopScan() {
87
87
  }
88
88
 
89
89
  async function processBarcode(barcode) {
90
- if (isProcessing.value) return
91
- isProcessing.value = true
90
+ if (isProcessing.value) return;
91
+ isProcessing.value = true;
92
+
92
93
  try {
93
94
  if (!barcode || !barcode.rawValue) {
94
- throw new Error('Invalid barcode data')
95
+ throw new Error('Invalid barcode data');
95
96
  }
96
- console.log('barcode is', barcode)
97
+ console.log('barcode is', barcode);
97
98
 
98
- const response = await tickets.actions.update({ _id: barcode.rawValue, status: 'used', check: true })
99
- alert("Ticket checked. And it's all right!")
100
- emits('qrcodecheck')
99
+ const response = await tickets.actions.update({
100
+ _id: barcode.rawValue,
101
+ status: 'used',
102
+ check: true
103
+ });
101
104
 
105
+ alert("Ticket checked. And it's all right!");
106
+ emits('qrcodecheck');
107
+ } catch (e) {
108
+ console.error(e);
109
+ alert(`Ticket is not found, already used or deactivated!`);
110
+ } finally {
102
111
  // Устанавливаем таймаут перед следующим сканированием
103
112
  setTimeout(() => {
104
- isProcessing.value = false
105
- }, SCAN_TIMEOUT)
106
-
107
- } catch (e) {
108
- console.error(e)
109
- isProcessing.value = false
110
- alert(`Ticket is not found, already used or deactivated!`)
111
- // Сбрасываем флаг isProcessing в случае ошибки, чтобы можно было попробовать снова
112
-
113
+ isProcessing.value = false;
114
+ }, SCAN_TIMEOUT);
113
115
  }
114
116
  }
115
117