@ozdao/prometheus-framework 0.2.249 → 0.2.250

Sign up to get free protection for your applications and to get access to all the features.
Files changed (166) hide show
  1. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +2 -2
  2. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +2 -2
  3. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  4. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
  5. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  6. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +1 -1
  7. package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
  8. package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
  9. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  10. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  11. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +3 -3
  12. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +3 -3
  13. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -1
  14. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
  15. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +2 -2
  16. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +2 -2
  17. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +2 -2
  18. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
  19. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +2 -2
  20. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +2 -2
  21. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +2 -2
  22. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +2 -2
  23. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +2 -2
  24. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
  25. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  26. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  27. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  29. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +3 -3
  30. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +3 -3
  31. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +4 -4
  32. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +4 -4
  33. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +3 -3
  34. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
  35. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +3 -3
  36. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +3 -3
  37. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  38. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  39. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  40. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  41. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +46 -3
  42. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs.map +1 -1
  43. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +46 -3
  44. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js.map +1 -1
  45. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  46. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  47. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +3 -3
  48. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +3 -3
  49. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +3 -3
  50. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +3 -3
  51. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
  52. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
  53. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  54. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
  55. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  56. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +1 -1
  57. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  58. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  59. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +5 -5
  60. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +5 -5
  61. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -1
  62. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
  63. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +3 -3
  64. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +3 -3
  65. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +2 -2
  66. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +2 -2
  67. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +2 -2
  68. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +2 -2
  69. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
  71. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +3 -3
  72. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +3 -3
  73. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  75. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +4 -4
  76. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +4 -4
  77. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +3 -3
  78. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
  79. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +2 -2
  80. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +2 -2
  81. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  82. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
  83. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  84. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  85. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  86. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  87. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  88. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  89. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +5 -5
  90. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +5 -5
  91. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  92. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
  93. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +4 -4
  94. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +4 -4
  95. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +2 -2
  96. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +2 -2
  97. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +4 -4
  98. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +4 -4
  99. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  100. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
  101. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +3 -3
  102. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
  103. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +4 -4
  104. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +4 -4
  105. package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +981 -981
  106. package/dist/prometheus-framework/src/modules/pages/pages.client.js +981 -981
  107. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +3 -3
  108. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +3 -3
  109. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +2 -2
  110. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +2 -2
  111. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +2 -2
  112. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
  113. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +2 -2
  114. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
  115. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  116. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +1 -1
  117. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  118. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  119. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  120. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  121. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  122. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
  123. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  124. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
  125. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +3 -3
  126. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
  127. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +3 -3
  128. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
  129. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +3 -3
  130. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
  131. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  132. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +1 -1
  133. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  134. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +1 -1
  135. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
  136. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
  137. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +4 -4
  138. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +4 -4
  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/products/components/sections/SectionProduct.vue.cjs +1 -1
  142. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  143. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +3 -3
  144. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
  145. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  146. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  147. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +2 -2
  148. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +2 -2
  149. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +2 -2
  150. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +2 -2
  151. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  152. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +1 -1
  153. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +4 -4
  154. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +4 -4
  155. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +4 -4
  156. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +4 -4
  157. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +2 -2
  158. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +2 -2
  159. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +1 -1
  160. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +1 -1
  161. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +2 -2
  162. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +2 -2
  163. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +5 -5
  164. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +5 -5
  165. package/package.json +1 -1
  166. package/src/modules/events/components/elements/ButtonCheck.vue +17 -17
@@ -2,9 +2,9 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const SkeletonEvent = require("../../modules/icons/skeletons/SkeletonEvent.vue.cjs");
5
- const Loader = require("../Loader/Loader.vue2.cjs");
5
+ const Loader = require("../Loader/Loader.vue.cjs");
6
6
  const EmptyState = require("../EmptyState/EmptyState.vue.cjs");
7
- const Dropdown = require("../Dropdown/Dropdown.vue.cjs");
7
+ const Dropdown = require("../Dropdown/Dropdown.vue2.cjs");
8
8
  const Calendar = require("../DatePicker/Calendar.vue2.cjs");
9
9
  const BottomSheet = require("../BottomSheet/BottomSheet.vue.cjs");
10
10
  const BlockSearch = require("../../modules/globals/views/components/blocks/BlockSearch.vue.cjs");
@@ -1,8 +1,8 @@
1
1
  import { mergeModels, useModel, shallowRef, ref, watch, onMounted, onUnmounted, openBlock, createElementBlock, Fragment, createBlock, normalizeClass, createCommentVNode, createElementVNode, createVNode, withCtx, unref, TransitionGroup, renderList, renderSlot } from "vue";
2
2
  import SkeletonEvent from "../../modules/icons/skeletons/SkeletonEvent.vue.js";
3
- import Loader from "../Loader/Loader.vue2.js";
3
+ import Loader from "../Loader/Loader.vue.js";
4
4
  import _sfc_main$a from "../EmptyState/EmptyState.vue.js";
5
- import _sfc_main$5 from "../Dropdown/Dropdown.vue.js";
5
+ import _sfc_main$5 from "../Dropdown/Dropdown.vue2.js";
6
6
  import _sfc_main$7 from "../DatePicker/Calendar.vue2.js";
7
7
  import _sfc_main$3 from "../BottomSheet/BottomSheet.vue.js";
8
8
  import _sfc_main$1 from "../../modules/globals/views/components/blocks/BlockSearch.vue.js";
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- const Field = require("../Field/Field.vue2.cjs");
4
+ const Field = require("../Field/Field.vue.cjs");
5
5
  const IconArrow = require("../../modules/icons/navigation/IconArrow.vue.cjs");
6
6
  const vueI18n = require("vue-i18n");
7
7
  const _hoisted_1 = { class: "pd-thin radius-extra flex-nowrap flex" };
@@ -1,5 +1,5 @@
1
1
  import { ref, onMounted, watchEffect, openBlock, createElementBlock, createVNode, unref, isRef, createElementVNode, toDisplayString, createCommentVNode } from "vue";
2
- import Field from "../Field/Field.vue2.js";
2
+ import Field from "../Field/Field.vue.js";
3
3
  import _sfc_main$1 from "../../modules/icons/navigation/IconArrow.vue.js";
4
4
  import { useI18n } from "vue-i18n";
5
5
  const _hoisted_1 = { class: "pd-thin radius-extra flex-nowrap flex" };
@@ -2,7 +2,7 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const index = require("../../../../node_modules/@googlemaps/js-api-loader/dist/index.cjs");
5
- const Loader = require("../Loader/Loader.vue2.cjs");
5
+ const Loader = require("../Loader/Loader.vue.cjs");
6
6
  ;/* empty css */
7
7
  const _hoisted_1 = { class: "pos-relative" };
8
8
  const _hoisted_2 = {
@@ -1,6 +1,6 @@
1
1
  import { ref, onMounted, watchEffect, openBlock, createElementBlock, createElementVNode, createVNode, Transition, withCtx, createBlock } from "vue";
2
2
  import { Loader } from "../../../../node_modules/@googlemaps/js-api-loader/dist/index.js";
3
- import Loader$1 from "../Loader/Loader.vue2.js";
3
+ import Loader$1 from "../Loader/Loader.vue.js";
4
4
  /* empty css */
5
5
  const _hoisted_1 = { class: "pos-relative" };
6
6
  const _hoisted_2 = {
@@ -5,7 +5,7 @@ const vueRouter = require("vue-router");
5
5
  require("vue-i18n");
6
6
  const emblaCarouselVue_esm = require("../../../../node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs");
7
7
  const emblaCarouselAutoplay_esm = require("../../../../node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs");
8
- ;/* empty css */
8
+ ;/* empty css */
9
9
  const _hoisted_1 = { class: "embla__container" };
10
10
  const _sfc_main = {
11
11
  __name: "Slider",
@@ -3,7 +3,7 @@ import { useRouter } from "vue-router";
3
3
  import "vue-i18n";
4
4
  import emblaCarouselVue from "../../../../node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js";
5
5
  import Autoplay from "../../../../node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js";
6
- /* empty css */
6
+ /* empty css */
7
7
  const _hoisted_1 = { class: "embla__container" };
8
8
  const _sfc_main = {
9
9
  __name: "Slider",
@@ -2,7 +2,7 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const axios = require("axios");
5
- const Loader = require("../Loader/Loader.vue2.cjs");
5
+ const Loader = require("../Loader/Loader.vue.cjs");
6
6
  const IconUpload = require("../../modules/icons/navigation/IconUpload.vue.cjs");
7
7
  const _hoisted_1 = {
8
8
  key: 0,
@@ -1,6 +1,6 @@
1
1
  import { ref, openBlock, createElementBlock, withModifiers, createVNode, Transition, withCtx, toDisplayString, createCommentVNode, createBlock, createElementVNode } from "vue";
2
2
  import axios from "axios";
3
- import Loader from "../Loader/Loader.vue2.js";
3
+ import Loader from "../Loader/Loader.vue.js";
4
4
  import _sfc_main$1 from "../../modules/icons/navigation/IconUpload.vue.js";
5
5
  const _hoisted_1 = {
6
6
  key: 0,
@@ -2,9 +2,9 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  ;/* empty css */
5
- ;/* empty css */
6
- ;/* empty css */
7
- ;/* empty css */
5
+ ;/* empty css */
6
+ ;/* empty css */
7
+ ;/* empty css */
8
8
  require("vue-i18n");
9
9
  ;/* empty css */
10
10
  const vueRouter = require("vue-router");
@@ -1,8 +1,8 @@
1
1
  import { ref, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, Transition, createBlock, resolveDynamicComponent, createElementVNode } from "vue";
2
2
  /* empty css */
3
- /* empty css */
4
- /* empty css */
5
- /* empty css */
3
+ /* empty css */
4
+ /* empty css */
5
+ /* empty css */
6
6
  import "vue-i18n";
7
7
  /* empty css */
8
8
  import { useRoute, useRouter } from "vue-router";
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- ;/* empty css */
4
+ ;/* empty css */
5
5
  const vueRouter = require("vue-router");
6
6
  const vueI18n = require("vue-i18n");
7
7
  const auth = require("../../store/auth.cjs");
@@ -1,5 +1,5 @@
1
1
  import { reactive, watch, ref, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, withDirectives, vModelText } from "vue";
2
- /* empty css */
2
+ /* empty css */
3
3
  import { useRoute, useRouter } from "vue-router";
4
4
  import { useI18n } from "vue-i18n";
5
5
  import { state as state$1 } from "../../store/auth.js";
@@ -2,8 +2,8 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  ;/* empty css */
5
- const Field = require("../../../../../components/Field/Field.vue2.cjs");
6
- const Button = require("../../../../../components/Button/Button.vue2.cjs");
5
+ const Field = require("../../../../../components/Field/Field.vue.cjs");
6
+ const Button = require("../../../../../components/Button/Button.vue.cjs");
7
7
  const vueRouter = require("vue-router");
8
8
  const vueI18n = require("vue-i18n");
9
9
  const auth = require("../../store/auth.cjs");
@@ -1,7 +1,7 @@
1
1
  import { ref, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, createVNode, createTextVNode, createCommentVNode, withCtx } from "vue";
2
2
  /* empty css */
3
- import Field from "../../../../../components/Field/Field.vue2.js";
4
- import _sfc_main$1 from "../../../../../components/Button/Button.vue2.js";
3
+ import Field from "../../../../../components/Field/Field.vue.js";
4
+ import _sfc_main$1 from "../../../../../components/Button/Button.vue.js";
5
5
  import { useRoute, useRouter } from "vue-router";
6
6
  import { useI18n } from "vue-i18n";
7
7
  import { state, actions } from "../../store/auth.js";
@@ -2,8 +2,8 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  ;/* empty css */
5
- const Field = require("../../../../../components/Field/Field.vue2.cjs");
6
- const Button = require("../../../../../components/Button/Button.vue2.cjs");
5
+ const Field = require("../../../../../components/Field/Field.vue.cjs");
6
+ const Button = require("../../../../../components/Button/Button.vue.cjs");
7
7
  const vueRouter = require("vue-router");
8
8
  const auth = require("../../store/auth.cjs");
9
9
  const invites = require("../../../../organizations/store/invites.cjs");
@@ -1,7 +1,7 @@
1
1
  import { ref, onMounted, openBlock, createElementBlock, createElementVNode, createVNode, withCtx } from "vue";
2
2
  /* empty css */
3
- import Field from "../../../../../components/Field/Field.vue2.js";
4
- import _sfc_main$1 from "../../../../../components/Button/Button.vue2.js";
3
+ import Field from "../../../../../components/Field/Field.vue.js";
4
+ import _sfc_main$1 from "../../../../../components/Button/Button.vue.js";
5
5
  import { useRoute, useRouter } from "vue-router";
6
6
  import { state, actions as actions$1 } from "../../store/auth.js";
7
7
  import { actions } from "../../../../organizations/store/invites.js";
@@ -2,9 +2,9 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const Tab = require("../../../../../components/Tab/Tab.vue2.cjs");
5
- const Field = require("../../../../../components/Field/Field.vue2.cjs");
5
+ const Field = require("../../../../../components/Field/Field.vue.cjs");
6
6
  const FieldPhone = require("../../../../../components/FieldPhone/FieldPhone.vue.cjs");
7
- const Button = require("../../../../../components/Button/Button.vue2.cjs");
7
+ const Button = require("../../../../../components/Button/Button.vue.cjs");
8
8
  const vueRouter = require("vue-router");
9
9
  const vueI18n = require("vue-i18n");
10
10
  const ResetPassword = require("../../localization/ResetPassword.json.cjs");
@@ -1,8 +1,8 @@
1
1
  import { ref, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, createVNode, Transition, withCtx, createCommentVNode, createTextVNode } from "vue";
2
2
  import _sfc_main$1 from "../../../../../components/Tab/Tab.vue2.js";
3
- import Field from "../../../../../components/Field/Field.vue2.js";
3
+ import Field from "../../../../../components/Field/Field.vue.js";
4
4
  import _sfc_main$2 from "../../../../../components/FieldPhone/FieldPhone.vue.js";
5
- import _sfc_main$3 from "../../../../../components/Button/Button.vue2.js";
5
+ import _sfc_main$3 from "../../../../../components/Button/Button.vue.js";
6
6
  import { useRoute, useRouter } from "vue-router";
7
7
  import { useI18n } from "vue-i18n";
8
8
  import text from "../../localization/ResetPassword.json.js";
@@ -2,9 +2,9 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const Tab = require("../../../../../components/Tab/Tab.vue2.cjs");
5
- const Field = require("../../../../../components/Field/Field.vue2.cjs");
5
+ const Field = require("../../../../../components/Field/Field.vue.cjs");
6
6
  const FieldPhone = require("../../../../../components/FieldPhone/FieldPhone.vue.cjs");
7
- const Button = require("../../../../../components/Button/Button.vue2.cjs");
7
+ const Button = require("../../../../../components/Button/Button.vue.cjs");
8
8
  const vueRouter = require("vue-router");
9
9
  const vueI18n = require("vue-i18n");
10
10
  const SignIn = require("../../localization/SignIn.json.cjs");
@@ -1,8 +1,8 @@
1
1
  import { ref, onMounted, resolveComponent, openBlock, createElementBlock, createElementVNode, createTextVNode, toDisplayString, unref, createVNode, withCtx, Transition, withDirectives, vShow } from "vue";
2
2
  import _sfc_main$1 from "../../../../../components/Tab/Tab.vue2.js";
3
- import Field from "../../../../../components/Field/Field.vue2.js";
3
+ import Field from "../../../../../components/Field/Field.vue.js";
4
4
  import _sfc_main$2 from "../../../../../components/FieldPhone/FieldPhone.vue.js";
5
- import _sfc_main$3 from "../../../../../components/Button/Button.vue2.js";
5
+ import _sfc_main$3 from "../../../../../components/Button/Button.vue.js";
6
6
  import { useRoute, useRouter } from "vue-router";
7
7
  import { useI18n } from "vue-i18n";
8
8
  import text from "../../localization/SignIn.json.js";
@@ -2,9 +2,9 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const Tab = require("../../../../../components/Tab/Tab.vue2.cjs");
5
- const Field = require("../../../../../components/Field/Field.vue2.cjs");
5
+ const Field = require("../../../../../components/Field/Field.vue.cjs");
6
6
  const FieldPhone = require("../../../../../components/FieldPhone/FieldPhone.vue.cjs");
7
- const Button = require("../../../../../components/Button/Button.vue2.cjs");
7
+ const Button = require("../../../../../components/Button/Button.vue.cjs");
8
8
  const vueRouter = require("vue-router");
9
9
  const vueI18n = require("vue-i18n");
10
10
  const SignUp = require("../../localization/SignUp.json.cjs");
@@ -1,8 +1,8 @@
1
1
  import { ref, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, createVNode, Transition, withCtx, withDirectives, vShow, createTextVNode } from "vue";
2
2
  import _sfc_main$1 from "../../../../../components/Tab/Tab.vue2.js";
3
- import Field from "../../../../../components/Field/Field.vue2.js";
3
+ import Field from "../../../../../components/Field/Field.vue.js";
4
4
  import _sfc_main$2 from "../../../../../components/FieldPhone/FieldPhone.vue.js";
5
- import _sfc_main$3 from "../../../../../components/Button/Button.vue2.js";
5
+ import _sfc_main$3 from "../../../../../components/Button/Button.vue.js";
6
6
  import { useRoute, useRouter } from "vue-router";
7
7
  import { useI18n } from "vue-i18n";
8
8
  import text from "../../localization/SignUp.json.js";
@@ -4,7 +4,7 @@ const vue = require("vue");
4
4
  const CardHeader = require("../../../globals/views/components/blocks/CardHeader.vue.cjs");
5
5
  const FooterBlogpost = require("./FooterBlogpost.vue.cjs");
6
6
  const Text = require("../../../../components/Text/Text.vue.cjs");
7
- ;/* empty css */
7
+ ;/* empty css */
8
8
  const vueRouter = require("vue-router");
9
9
  const _hoisted_1 = { class: "pos-relative bg-light radius-big flex-column flex" };
10
10
  const _hoisted_2 = { class: "pd-t-zero pd-b-zero pd-medium" };
@@ -2,7 +2,7 @@ import { computed, openBlock, createElementBlock, createVNode, normalizeClass, c
2
2
  import _sfc_main$1 from "../../../globals/views/components/blocks/CardHeader.vue.js";
3
3
  import _sfc_main$3 from "./FooterBlogpost.vue.js";
4
4
  import _sfc_main$2 from "../../../../components/Text/Text.vue.js";
5
- /* empty css */
5
+ /* empty css */
6
6
  import { useRouter } from "vue-router";
7
7
  const _hoisted_1 = { class: "pos-relative bg-light radius-big flex-column flex" };
8
8
  const _hoisted_2 = { class: "pd-t-zero pd-b-zero pd-medium" };
@@ -2,7 +2,7 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
- const Select = require("../../../../components/Select/Select.vue2.cjs");
5
+ const Select = require("../../../../components/Select/Select.vue.cjs");
6
6
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
7
7
  const CardOrganization = require("../../../organizations/components/blocks/CardOrganization.vue.cjs");
8
8
  const IconFeatured = require("../../../icons/entities/IconFeatured.vue.cjs");
@@ -1,6 +1,6 @@
1
1
  import { resolveComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, unref, createVNode, createTextVNode, createCommentVNode, createBlock, withCtx, Transition, resolveDynamicComponent, Fragment, renderList } from "vue";
2
2
  import { useRoute, useRouter } from "vue-router";
3
- import Select from "../../../../components/Select/Select.vue2.js";
3
+ import Select from "../../../../components/Select/Select.vue.js";
4
4
  import _sfc_main$5 from "../../../../components/Feed/Feed.vue.js";
5
5
  import _sfc_main$6 from "../../../organizations/components/blocks/CardOrganization.vue.js";
6
6
  import _sfc_main$1 from "../../../icons/entities/IconFeatured.vue.js";
@@ -2,13 +2,13 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const vue_65b7bcda = require("../../../../../../node_modules/@unhead/vue/dist/shared/vue.65b7bcda.cjs");
5
- ;/* empty css */
5
+ ;/* empty css */
6
6
  const EmptyState = require("../../../../components/EmptyState/EmptyState.vue.cjs");
7
7
  const CardBlogpost = require("../blocks/CardBlogpost.vue.cjs");
8
8
  const SkeletonBlogpost = require("../../../icons/skeletons/SkeletonBlogpost.vue.cjs");
9
9
  const vueRouter = require("vue-router");
10
- ;/* empty css */
11
- ;/* empty css */
10
+ ;/* empty css */
11
+ ;/* empty css */
12
12
  const auth = require("../../../auth/views/store/auth.cjs");
13
13
  require("../../../organizations/store/memberships.cjs");
14
14
  require("../../../organizations/store/organizations.cjs");
@@ -1,12 +1,12 @@
1
1
  import { computed, ref, onServerPrefetch, onMounted, openBlock, createElementBlock, createVNode, TransitionGroup, withCtx, Fragment, renderList, createCommentVNode, Transition, createBlock } from "vue";
2
2
  import { u as useHead } from "../../../../../../node_modules/@unhead/vue/dist/shared/vue.65b7bcda.js";
3
- /* empty css */
3
+ /* empty css */
4
4
  import _sfc_main$1 from "../../../../components/EmptyState/EmptyState.vue.js";
5
5
  import _sfc_main$2 from "../blocks/CardBlogpost.vue.js";
6
6
  import SkeletonBlogpost from "../../../icons/skeletons/SkeletonBlogpost.vue.js";
7
7
  import { useRoute } from "vue-router";
8
- /* empty css */
9
- /* empty css */
8
+ /* empty css */
9
+ /* empty css */
10
10
  import { state as state$1 } from "../../../auth/views/store/auth.js";
11
11
  import "../../../organizations/store/memberships.js";
12
12
  import "../../../organizations/store/organizations.js";
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- ;/* empty css */
4
+ ;/* empty css */
5
5
  const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
6
- ;/* empty css */
7
- ;/* empty css */
8
- ;/* empty css */
6
+ ;/* empty css */
7
+ ;/* empty css */
8
+ ;/* empty css */
9
9
  require("axios");
10
10
  ;/* empty css */
11
11
  const CardBlogpost = require("../blocks/CardBlogpost.vue.cjs");
@@ -1,9 +1,9 @@
1
1
  import { withAsyncContext, ref, computed, openBlock, createElementBlock, createElementVNode, unref, Fragment, renderList, createBlock, withCtx } from "vue";
2
- /* empty css */
2
+ /* empty css */
3
3
  import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- /* empty css */
5
- /* empty css */
6
- /* empty css */
4
+ /* empty css */
5
+ /* empty css */
6
+ /* empty css */
7
7
  import "axios";
8
8
  /* empty css */
9
9
  import _sfc_main$1 from "../blocks/CardBlogpost.vue.js";
@@ -4,14 +4,14 @@ const vue = require("vue");
4
4
  require("isomorphic-dompurify");
5
5
  ;/* empty css */
6
6
  const Constructor = require("../../../constructor/components/sections/Constructor.vue.cjs");
7
- const Popup = require("../../../../components/Popup/Popup.vue2.cjs");
7
+ const Popup = require("../../../../components/Popup/Popup.vue.cjs");
8
8
  ;/* empty css */
9
9
  ;/* empty css */
10
10
  const BlockTags = require("../../../../components/FieldTags/BlockTags.vue.cjs");
11
11
  const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
12
- const Field = require("../../../../components/Field/Field.vue2.cjs");
12
+ const Field = require("../../../../components/Field/Field.vue.cjs");
13
13
  const SelectMulti = require("../../../../components/SelectMulti/SelectMulti.vue.cjs");
14
- const Button = require("../../../../components/Button/Button.vue2.cjs");
14
+ const Button = require("../../../../components/Button/Button.vue.cjs");
15
15
  const vueRouter = require("vue-router");
16
16
  const blogposts = require("../../store/blogposts.cjs");
17
17
  const auth = require("../../../auth/views/store/auth.cjs");
@@ -2,14 +2,14 @@ import { ref, onMounted, computed, openBlock, createElementBlock, createElementV
2
2
  import "isomorphic-dompurify";
3
3
  /* empty css */
4
4
  import _sfc_main$1 from "../../../constructor/components/sections/Constructor.vue.js";
5
- import _sfc_main$2 from "../../../../components/Popup/Popup.vue2.js";
5
+ import _sfc_main$2 from "../../../../components/Popup/Popup.vue.js";
6
6
  /* empty css */
7
7
  /* empty css */
8
8
  import _sfc_main$3 from "../../../../components/FieldTags/BlockTags.vue.js";
9
9
  import _sfc_main$4 from "../../../../components/Checkbox/Checkbox.vue.js";
10
- import Field from "../../../../components/Field/Field.vue2.js";
10
+ import Field from "../../../../components/Field/Field.vue.js";
11
11
  import SelectMulti from "../../../../components/SelectMulti/SelectMulti.vue.js";
12
- import _sfc_main$5 from "../../../../components/Button/Button.vue2.js";
12
+ import _sfc_main$5 from "../../../../components/Button/Button.vue.js";
13
13
  import { useRoute, useRouter } from "vue-router";
14
14
  import { read, clean, state as state$1, update, create, remove } from "../../store/blogposts.js";
15
15
  import { state } from "../../../auth/views/store/auth.js";
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- ;/* empty css */
5
- ;/* empty css */
4
+ ;/* empty css */
5
+ ;/* empty css */
6
6
  ;/* empty css */
7
- ;/* empty css */
7
+ ;/* empty css */
8
8
  ;/* empty css */
9
9
  ;/* empty css */
10
10
  const Slider = require("../../../../components/Slider/Slider.vue.cjs");
@@ -1,8 +1,8 @@
1
1
  import { resolveComponent, openBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, withCtx, createBlock } from "vue";
2
- /* empty css */
3
- /* empty css */
2
+ /* empty css */
3
+ /* empty css */
4
4
  /* empty css */
5
- /* empty css */
5
+ /* empty css */
6
6
  /* empty css */
7
7
  /* empty css */
8
8
  import _sfc_main$1 from "../../../../components/Slider/Slider.vue.js";
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- const Field = require("../../../../components/Field/Field.vue2.cjs");
4
+ const Field = require("../../../../components/Field/Field.vue.cjs");
5
5
  const _hoisted_1 = { class: "mn-b-thin w-100 pd-medium bg-white radius-medium" };
6
6
  const _hoisted_2 = ["innerHTML"];
7
7
  const _hoisted_3 = {
@@ -1,5 +1,5 @@
1
1
  import { ref, openBlock, createElementBlock, createVNode, createElementVNode } from "vue";
2
- import Field from "../../../../components/Field/Field.vue2.js";
2
+ import Field from "../../../../components/Field/Field.vue.js";
3
3
  const _hoisted_1 = { class: "mn-b-thin w-100 pd-medium bg-white radius-medium" };
4
4
  const _hoisted_2 = ["innerHTML"];
5
5
  const _hoisted_3 = {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- const Chips = require("../../../../components/Chips/Chips.vue.cjs");
4
+ const Chips = require("../../../../components/Chips/Chips.vue2.cjs");
5
5
  const IconEdit = require("../../../icons/navigation/IconEdit.vue.cjs");
6
6
  const CardHeader = require("../../../globals/views/components/blocks/CardHeader.vue.cjs");
7
7
  require("../../../community/store/reactions.cjs");
@@ -1,5 +1,5 @@
1
1
  import { ref, computed, openBlock, createElementBlock, normalizeClass, createVNode, createElementVNode, createCommentVNode, createBlock, withModifiers, toDisplayString, renderSlot } from "vue";
2
- import _sfc_main$3 from "../../../../components/Chips/Chips.vue.js";
2
+ import _sfc_main$3 from "../../../../components/Chips/Chips.vue2.js";
3
3
  import _sfc_main$2 from "../../../icons/navigation/IconEdit.vue.js";
4
4
  import _sfc_main$1 from "../../../globals/views/components/blocks/CardHeader.vue.js";
5
5
  import "../../../community/store/reactions.js";
@@ -2,8 +2,8 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const index = require("../../../../../../node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.cjs");
5
- const Button = require("../../../../components/Button/Button.vue2.cjs");
6
- require("../../store/tickets.cjs");
5
+ const Button = require("../../../../components/Button/Button.vue.cjs");
6
+ const tickets = require("../../store/tickets.cjs");
7
7
  ;/* empty css */
8
8
  const _hoisted_1 = {
9
9
  key: 0,
@@ -14,16 +14,18 @@ const _hoisted_2 = {
14
14
  class: "zoom-ratio-wrapper"
15
15
  };
16
16
  const _hoisted_3 = ["min", "max"];
17
+ const SCAN_TIMEOUT = 1e3;
17
18
  const _sfc_main = {
18
19
  __name: "ButtonCheck",
19
20
  emits: ["qrcodecheck"],
20
21
  setup(__props, { emit: __emit }) {
22
+ const emits = __emit;
21
23
  const error = vue.ref("");
22
24
  const isScanning = vue.ref(false);
23
25
  const isTorchAvailable = vue.ref(false);
24
26
  const minZoomRatio = vue.ref(void 0);
25
27
  const maxZoomRatio = vue.ref(void 0);
26
- vue.ref(false);
28
+ const isProcessing = vue.ref(false);
27
29
  vue.onMounted(async () => {
28
30
  const { supported } = await index.BarcodeScanner.isSupported();
29
31
  if (!supported) {
@@ -38,9 +40,26 @@ const _sfc_main = {
38
40
  async function startScan() {
39
41
  var _a, _b;
40
42
  try {
43
+ const { camera } = await index.BarcodeScanner.checkPermissions();
44
+ if (camera !== "granted") {
45
+ const { camera: newStatus } = await index.BarcodeScanner.requestPermissions();
46
+ if (newStatus !== "granted") {
47
+ throw new Error("Camera permission is required to scan barcodes");
48
+ }
49
+ }
41
50
  (_a = document.querySelector("body")) == null ? void 0 : _a.classList.add("barcode-scanner-active");
42
51
  (_b = document.querySelector("html")) == null ? void 0 : _b.classList.add("barcode-scanner-active-html");
43
52
  isScanning.value = true;
53
+ await index.BarcodeScanner.addListener("barcodeScanned", async (result) => {
54
+ if (!isProcessing.value) {
55
+ await processBarcode(result.barcode);
56
+ }
57
+ });
58
+ await index.BarcodeScanner.startScan();
59
+ const { zoomRatio: min } = await index.BarcodeScanner.getMinZoomRatio();
60
+ const { zoomRatio: max } = await index.BarcodeScanner.getMaxZoomRatio();
61
+ minZoomRatio.value = min;
62
+ maxZoomRatio.value = max;
44
63
  } catch (e) {
45
64
  error.value = e.message;
46
65
  alert(`Error: ${error.value}`);
@@ -59,6 +78,30 @@ const _sfc_main = {
59
78
  alert(`Error stopping scan: ${error.value}`);
60
79
  }
61
80
  }
81
+ async function processBarcode(barcode) {
82
+ if (isProcessing.value) return;
83
+ isProcessing.value = true;
84
+ try {
85
+ if (!barcode || !barcode.rawValue) {
86
+ throw new Error("Invalid barcode data");
87
+ }
88
+ console.log("barcode is", barcode);
89
+ const response = await tickets.actions.update({
90
+ _id: barcode.rawValue,
91
+ status: "used",
92
+ check: true
93
+ });
94
+ alert("Ticket checked. And it's all right!");
95
+ emits("qrcodecheck");
96
+ } catch (e) {
97
+ console.error(e);
98
+ alert(`Ticket is not found, already used or deactivated!`);
99
+ } finally {
100
+ setTimeout(() => {
101
+ isProcessing.value = false;
102
+ }, SCAN_TIMEOUT);
103
+ }
104
+ }
62
105
  async function setZoomRatio(event) {
63
106
  const zoomRatio = parseFloat(event.target.value);
64
107
  await index.BarcodeScanner.setZoomRatio({ zoomRatio });