@ozdao/prometheus-framework 0.2.229 → 0.2.231

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. package/dist/builder.js +46 -1
  2. package/dist/builder.mjs +46 -1
  3. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  4. package/dist/prometheus-framework/src/components/Button/Button.vue.js +1 -1
  5. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  6. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
  7. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  8. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +1 -1
  9. package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
  10. package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
  11. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  12. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  13. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +2 -2
  14. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +2 -2
  15. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -1
  16. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
  17. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
  18. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
  19. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
  20. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
  21. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
  22. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +1 -1
  23. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
  24. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
  25. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +2 -2
  26. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +2 -2
  27. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +2 -2
  28. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +2 -2
  29. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  31. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
  33. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +59 -39
  34. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs.map +1 -1
  35. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +60 -40
  36. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js.map +1 -1
  37. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  38. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  39. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  40. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  41. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  42. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  43. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
  45. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  46. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
  47. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  48. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +1 -1
  49. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  50. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  51. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +2 -2
  52. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +2 -2
  53. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
  54. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
  55. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
  56. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +1 -1
  57. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
  58. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs.map +1 -1
  59. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
  60. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js.map +1 -1
  61. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +2 -2
  62. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
  63. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  64. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
  65. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  67. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  68. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  69. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
  70. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  71. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
  73. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +2 -2
  74. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  75. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
  77. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  79. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +2 -2
  80. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  81. package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +470 -457
  82. package/dist/prometheus-framework/src/modules/pages/pages.client.js +470 -457
  83. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +2 -2
  84. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +2 -2
  85. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
  86. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  87. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  88. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  89. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  90. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +1 -1
  91. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  92. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
  93. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  94. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  95. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  96. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  97. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  98. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +1 -1
  99. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +2 -2
  100. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +2 -2
  101. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  102. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
  103. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  104. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  105. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  106. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  107. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  108. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +1 -1
  109. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
  110. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +1 -1
  111. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +2 -2
  112. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
  113. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  114. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +1 -1
  115. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  116. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +1 -1
  117. package/package.json +1 -1
  118. package/src/builder/templates/screen.js +38 -0
  119. package/src/builder/webpack/webpack.config.spa.js +1 -1
  120. package/src/modules/events/components/elements/ButtonCheck.vue +65 -37
  121. package/src/modules/events/components/elements/ButtonCheck1.vue +107 -0
  122. package/src/modules/events/components/elements/ButtonCheck2.vue +76 -0
  123. package/src/modules/globals/views/components/partials/NavigationBar.vue +6 -0
@@ -3,8 +3,8 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue = require("vue");
4
4
  const IconEdit = require("../../../../icons/navigation/IconEdit.vue.cjs");
5
5
  const IconAdd = require("../../../../icons/navigation/IconAdd.vue.cjs");
6
- ;/* empty css */
7
- ;/* empty css */
6
+ ;/* empty css */
7
+ ;/* empty css */
8
8
  ;/* empty css */
9
9
  const vueRouter = require("vue-router");
10
10
  ;/* empty css */
@@ -1,8 +1,8 @@
1
1
  import { ref, resolveComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, createVNode, unref, withCtx, createTextVNode, toDisplayString, createBlock, createCommentVNode, Fragment, renderList } from "vue";
2
2
  import _sfc_main$1 from "../../../../icons/navigation/IconEdit.vue.js";
3
3
  import _sfc_main$2 from "../../../../icons/navigation/IconAdd.vue.js";
4
- /* empty css */
5
- /* empty css */
4
+ /* empty css */
5
+ /* empty css */
6
6
  /* empty css */
7
7
  import { useRouter } from "vue-router";
8
8
  /* empty css */
@@ -4,7 +4,7 @@ const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  const mixins = require("../../../../globals/views/mixins/mixins.cjs");
6
6
  const pages = require("../../store/pages.cjs");
7
- const Button = require("../../../../../components/Button/Button.vue2.cjs");
7
+ const Button = require("../../../../../components/Button/Button.vue.cjs");
8
8
  ;/* empty css */
9
9
  ;/* empty css */
10
10
  ;/* empty css */
@@ -2,7 +2,7 @@ import { ref, onMounted, openBlock, createElementBlock, createVNode, createComme
2
2
  import { useRoute, useRouter } from "vue-router";
3
3
  import { useGlobalMixins } from "../../../../globals/views/mixins/mixins.js";
4
4
  import { actions, state } from "../../store/pages.js";
5
- import _sfc_main$2 from "../../../../../components/Button/Button.vue2.js";
5
+ import _sfc_main$2 from "../../../../../components/Button/Button.vue.js";
6
6
  /* empty css */
7
7
  /* empty css */
8
8
  /* empty css */
@@ -4,7 +4,7 @@ const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  const Block = require("../../../../../components/Block/Block.vue.cjs");
6
6
  const Popup = require("../../../../../components/Popup/Popup.vue.cjs");
7
- const Button = require("../../../../../components/Button/Button.vue2.cjs");
7
+ const Button = require("../../../../../components/Button/Button.vue.cjs");
8
8
  const Constructor = require("../../../../constructor/components/sections/Constructor.vue.cjs");
9
9
  const CardPage = require("../blocks/CardPage.vue.cjs");
10
10
  const pages = require("../../store/pages.cjs");
@@ -2,7 +2,7 @@ import { computed, ref, onMounted, openBlock, createBlock, withCtx, createElemen
2
2
  import { useRoute, useRouter } from "vue-router";
3
3
  import _sfc_main$1 from "../../../../../components/Block/Block.vue.js";
4
4
  import _sfc_main$3 from "../../../../../components/Popup/Popup.vue.js";
5
- import _sfc_main$5 from "../../../../../components/Button/Button.vue2.js";
5
+ import _sfc_main$5 from "../../../../../components/Button/Button.vue.js";
6
6
  import _sfc_main$4 from "../../../../constructor/components/sections/Constructor.vue.js";
7
7
  import _sfc_main$2 from "../blocks/CardPage.vue.js";
8
8
  import { actions } from "../../store/pages.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 Loader = require("../../../../components/Loader/Loader.vue2.cjs");
4
+ const Loader = require("../../../../components/Loader/Loader.vue.cjs");
5
5
  ;/* empty css */
6
6
  const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
7
7
  const _hoisted_1 = { class: "product-360-viewer" };
@@ -1,5 +1,5 @@
1
1
  import { ref, computed, watch, onMounted, onUnmounted, openBlock, createElementBlock, createVNode, Transition, withCtx, withModifiers, createCommentVNode, createBlock, createStaticVNode } from "vue";
2
- import Loader from "../../../../components/Loader/Loader.vue2.js";
2
+ import Loader from "../../../../components/Loader/Loader.vue.js";
3
3
  /* empty css */
4
4
  import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
5
5
  const _hoisted_1 = { class: "product-360-viewer" };
@@ -4,7 +4,7 @@ const vue = require("vue");
4
4
  const vueDraggableNext_esmBundler = require("../../../../../../node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.cjs");
5
5
  const vueRouter = require("vue-router");
6
6
  const categories = require("../../store/categories.cjs");
7
- const Button = require("../../../../components/Button/Button.vue2.cjs");
7
+ const Button = require("../../../../components/Button/Button.vue.cjs");
8
8
  const Block = require("../../../../components/Block/Block.vue.cjs");
9
9
  const CardCategory = require("../blocks/CardCategory.vue.cjs");
10
10
  const _hoisted_1 = { class: "pd-thin" };
@@ -2,7 +2,7 @@ import { onMounted, resolveComponent, openBlock, createElementBlock, createVNode
2
2
  import { VueDraggableNext } from "../../../../../../node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js";
3
3
  import { useRoute, useRouter } from "vue-router";
4
4
  import { actions, state } from "../../store/categories.js";
5
- import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
5
+ import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
6
6
  import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
7
7
  import _sfc_main$3 from "../blocks/CardCategory.vue.js";
8
8
  const _hoisted_1 = { class: "pd-thin" };
@@ -3,7 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  const IconDelete = require("../../../icons/navigation/IconDelete.vue.cjs");
6
- const Button = require("../../../../components/Button/Button.vue2.cjs");
6
+ const Button = require("../../../../components/Button/Button.vue.cjs");
7
7
  const Select = require("../../../../components/Select/Select.vue.cjs");
8
8
  const Field = require("../../../../components/Field/Field.vue2.cjs");
9
9
  const Block = require("../../../../components/Block/Block.vue.cjs");
@@ -1,7 +1,7 @@
1
1
  import { computed, openBlock, createElementBlock, Fragment, createVNode, withCtx, createElementVNode, toDisplayString, unref, createTextVNode, renderList } from "vue";
2
2
  import { useRoute, useRouter } from "vue-router";
3
3
  import _sfc_main$3 from "../../../icons/navigation/IconDelete.vue.js";
4
- import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
4
+ import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
5
5
  import Select from "../../../../components/Select/Select.vue.js";
6
6
  import Field from "../../../../components/Field/Field.vue2.js";
7
7
  import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
@@ -8,7 +8,7 @@ const Block = require("../../../../components/Block/Block.vue.cjs");
8
8
  ;/* empty css */
9
9
  const Field = require("../../../../components/Field/Field.vue2.cjs");
10
10
  const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
11
- const Button = require("../../../../components/Button/Button.vue2.cjs");
11
+ const Button = require("../../../../components/Button/Button.vue.cjs");
12
12
  const Popup = require("../../../../components/Popup/Popup.vue.cjs");
13
13
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
14
14
  const EditImages = require("../../../../components/EditImages/EditImages.vue.cjs");
@@ -6,7 +6,7 @@ import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
6
6
  /* empty css */
7
7
  import Field from "../../../../components/Field/Field.vue2.js";
8
8
  import _sfc_main$9 from "../../../../components/Checkbox/Checkbox.vue.js";
9
- import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
9
+ import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
10
10
  import _sfc_main$6 from "../../../../components/Popup/Popup.vue.js";
11
11
  import _sfc_main$7 from "../../../../components/Feed/Feed.vue.js";
12
12
  import _sfc_main$3 from "../../../../components/EditImages/EditImages.vue.js";
@@ -3,7 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  const vueI18n = require("vue-i18n");
6
- const Loader = require("../../../../components/Loader/Loader.vue2.cjs");
6
+ const Loader = require("../../../../components/Loader/Loader.vue.cjs");
7
7
  ;/* empty css */
8
8
  const FieldBig = require("../../../../components/FieldBig/FieldBig.vue.cjs");
9
9
  const SectionProduct = require("../sections/SectionProduct.vue.cjs");
@@ -1,7 +1,7 @@
1
1
  import { ref, watchEffect, onMounted, openBlock, createElementBlock, createBlock, createCommentVNode, createVNode, unref, isRef } from "vue";
2
2
  import { useRouter } from "vue-router";
3
3
  import { useI18n } from "vue-i18n";
4
- import Loader from "../../../../components/Loader/Loader.vue2.js";
4
+ import Loader from "../../../../components/Loader/Loader.vue.js";
5
5
  /* empty css */
6
6
  import _sfc_main$1 from "../../../../components/FieldBig/FieldBig.vue.js";
7
7
  import _sfc_main$2 from "../sections/SectionProduct.vue.js";
@@ -1,8 +1,8 @@
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
  const Field = require("../../../../components/Field/Field.vue2.cjs");
7
7
  const Select = require("../../../../components/Select/Select.vue.cjs");
8
8
  const _sfc_main = {
@@ -1,6 +1,6 @@
1
1
  import { openBlock, createElementBlock, Fragment, createVNode, withCtx } from "vue";
2
- /* empty css */
3
- /* empty css */
2
+ /* empty css */
3
+ /* empty css */
4
4
  import Field from "../../../../components/Field/Field.vue2.js";
5
5
  import Select from "../../../../components/Select/Select.vue.js";
6
6
  const _sfc_main = {
@@ -5,7 +5,7 @@ const vueRouter = require("vue-router");
5
5
  const vueI18n = 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
- const Loader = require("../../../../components/Loader/Loader.vue2.cjs");
8
+ const Loader = require("../../../../components/Loader/Loader.vue.cjs");
9
9
  const CardProduct = require("../blocks/CardProduct.vue.cjs");
10
10
  const products = require("../../store/products.cjs");
11
11
  ;/* empty css */
@@ -3,7 +3,7 @@ import { useRouter } from "vue-router";
3
3
  import { useI18n } from "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
- import Loader from "../../../../components/Loader/Loader.vue2.js";
6
+ import Loader from "../../../../components/Loader/Loader.vue.js";
7
7
  import _sfc_main$1 from "../blocks/CardProduct.vue.js";
8
8
  import { actions } from "../../store/products.js";
9
9
  /* empty css */
@@ -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 Button = require("../../../../components/Button/Button.vue2.cjs");
4
+ const Button = require("../../../../components/Button/Button.vue.cjs");
5
5
  const PlaceholderImage = require("../../../icons/placeholders/PlaceholderImage.vue.cjs");
6
6
  const Images360 = require("../blocks/Images360.vue.cjs");
7
7
  const ImagesThumbnails = require("../blocks/ImagesThumbnails.vue.cjs");
@@ -1,5 +1,5 @@
1
1
  import { computed, openBlock, createElementBlock, createElementVNode, createBlock, createCommentVNode, toDisplayString, unref, createVNode, Fragment, renderList, withCtx, createTextVNode } from "vue";
2
- import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
2
+ import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
3
3
  import PlaceholderImage from "../../../icons/placeholders/PlaceholderImage.vue.js";
4
4
  import Images360 from "../blocks/Images360.vue.js";
5
5
  import ImagesThumbnails from "../blocks/ImagesThumbnails.vue.js";
@@ -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 Popup = require("../../../../components/Popup/Popup.vue.cjs");
5
- const Button = require("../../../../components/Button/Button.vue2.cjs");
5
+ const Button = require("../../../../components/Button/Button.vue.cjs");
6
6
  const Select = require("../../../../components/Select/Select.vue.cjs");
7
7
  const reports = require("../../store/reports.cjs");
8
8
  const _hoisted_1 = /* @__PURE__ */ vue.createElementVNode("h3", { class: "mn-b-small" }, " Report Content ", -1);
@@ -1,6 +1,6 @@
1
1
  import { reactive, ref, openBlock, createElementBlock, renderSlot, createVNode, withCtx, createTextVNode, createElementVNode } from "vue";
2
2
  import _sfc_main$1 from "../../../../components/Popup/Popup.vue.js";
3
- import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
3
+ import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
4
4
  import Select from "../../../../components/Select/Select.vue.js";
5
5
  import { actions } from "../../store/reports.js";
6
6
  const _hoisted_1 = /* @__PURE__ */ createElementVNode("h3", { class: "mn-b-small" }, " Report Content ", -1);
@@ -3,7 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  const index = require("../../../../../../node_modules/@googlemaps/js-api-loader/dist/index.cjs");
6
- const Button = require("../../../../components/Button/Button.vue2.cjs");
6
+ const Button = require("../../../../components/Button/Button.vue.cjs");
7
7
  const organizations = require("../../../organizations/store/organizations.cjs");
8
8
  const globals = require("../../../globals/views/store/globals.cjs");
9
9
  const marketplace = require("../../../marketplace/store/marketplace.cjs");
@@ -1,7 +1,7 @@
1
1
  import { ref, onMounted, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, createTextVNode, pushScopeId, popScopeId } from "vue";
2
2
  import { useRouter, useRoute } from "vue-router";
3
3
  import { Loader } from "../../../../../../node_modules/@googlemaps/js-api-loader/dist/index.js";
4
- import _sfc_main$1 from "../../../../components/Button/Button.vue2.js";
4
+ import _sfc_main$1 from "../../../../components/Button/Button.vue.js";
5
5
  import { actions, state as state$2 } from "../../../organizations/store/organizations.js";
6
6
  import { state } from "../../../globals/views/store/globals.js";
7
7
  import { state as state$1 } from "../../../marketplace/store/marketplace.js";
@@ -10,7 +10,7 @@ const Select = require("../../../../components/Select/Select.vue.cjs");
10
10
  const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
11
11
  const Address = require("../../../../components/Address/Address.vue2.cjs");
12
12
  const LocationMarker = require("../../../../components/LocationMarker/LocationMarker.vue2.cjs");
13
- const Button = require("../../../../components/Button/Button.vue2.cjs");
13
+ const Button = require("../../../../components/Button/Button.vue.cjs");
14
14
  require("vue-i18n");
15
15
  ;/* empty css */
16
16
  const spots = require("../../store/spots.cjs");
@@ -8,7 +8,7 @@ import Select from "../../../../components/Select/Select.vue.js";
8
8
  import _sfc_main$4 from "../../../../components/Checkbox/Checkbox.vue.js";
9
9
  import _sfc_main$5 from "../../../../components/Address/Address.vue2.js";
10
10
  import _sfc_main$6 from "../../../../components/LocationMarker/LocationMarker.vue2.js";
11
- import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
11
+ import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
12
12
  import "vue-i18n";
13
13
  /* empty css */
14
14
  import { actions, state } from "../../store/spots.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
- ;/* empty css */
6
- ;/* empty css */
5
+ ;/* empty css */
6
+ ;/* empty css */
7
7
  const Dropdown = require("../../../../components/Dropdown/Dropdown.vue.cjs");
8
8
  const Completion = require("../../../../components/Completion/Completion.vue.cjs");
9
9
  const Menu = require("../../../../components/Menu/Menu.vue.cjs");
@@ -1,7 +1,7 @@
1
1
  import { ref, onMounted, openBlock, createElementBlock, unref, createBlock, createCommentVNode, createElementVNode, withCtx, createVNode, toDisplayString, Fragment, renderList, normalizeClass } from "vue";
2
2
  /* empty css */
3
- /* empty css */
4
- /* empty css */
3
+ /* empty css */
4
+ /* empty css */
5
5
  import _sfc_main$2 from "../../../../components/Dropdown/Dropdown.vue.js";
6
6
  import _sfc_main$1 from "../../../../components/Completion/Completion.vue.js";
7
7
  import _sfc_main$7 from "../../../../components/Menu/Menu.vue.js";
@@ -4,7 +4,7 @@ const vue = require("vue");
4
4
  ;/* empty css */
5
5
  const Field = require("../../../../components/Field/Field.vue2.cjs");
6
6
  const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
7
- const Button = require("../../../../components/Button/Button.vue2.cjs");
7
+ const Button = require("../../../../components/Button/Button.vue.cjs");
8
8
  const UploadImage = require("../../../../components/UploadImage/UploadImage.vue.cjs");
9
9
  const ProfileCompletion = require("../sections/ProfileCompletion.vue.cjs");
10
10
  const vueRouter = require("vue-router");
@@ -2,7 +2,7 @@ import { ref, onMounted, openBlock, createElementBlock, unref, createBlock, crea
2
2
  /* empty css */
3
3
  import Field from "../../../../components/Field/Field.vue2.js";
4
4
  import _sfc_main$3 from "../../../../components/Checkbox/Checkbox.vue.js";
5
- import _sfc_main$4 from "../../../../components/Button/Button.vue2.js";
5
+ import _sfc_main$4 from "../../../../components/Button/Button.vue.js";
6
6
  import _sfc_main$2 from "../../../../components/UploadImage/UploadImage.vue.js";
7
7
  import _sfc_main$1 from "../sections/ProfileCompletion.vue.js";
8
8
  import { useRoute, useRouter } from "vue-router";
@@ -6,7 +6,7 @@ const Web3 = require("web3");
6
6
  const wallet_store = require("../../store/wallet.store.cjs");
7
7
  const wallet = require("../../localization/wallet.json.cjs");
8
8
  const Popup = require("../../../../../components/Popup/Popup.vue.cjs");
9
- const Button = require("../../../../../components/Button/Button.vue2.cjs");
9
+ const Button = require("../../../../../components/Button/Button.vue.cjs");
10
10
  require("vue-router");
11
11
  ;/* empty css */
12
12
  require("../../../../reports/store/reports.cjs");
@@ -4,7 +4,7 @@ import Web3 from "web3";
4
4
  import { state, actions } from "../../store/wallet.store.js";
5
5
  import text from "../../localization/wallet.json.js";
6
6
  import _sfc_main$3 from "../../../../../components/Popup/Popup.vue.js";
7
- import _sfc_main$1 from "../../../../../components/Button/Button.vue2.js";
7
+ import _sfc_main$1 from "../../../../../components/Button/Button.vue.js";
8
8
  import "vue-router";
9
9
  /* empty css */
10
10
  import "../../../../reports/store/reports.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ozdao/prometheus-framework",
3
- "version": "0.2.229",
3
+ "version": "0.2.231",
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",
@@ -0,0 +1,38 @@
1
+ module.exports = `
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>NMS</title>
8
+
9
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{googleTagId}}"></script>
10
+ <script>
11
+ window.dataLayer = window.dataLayer || [];
12
+ function gtag(){dataLayer.push(arguments);}
13
+ gtag('js', new Date());
14
+
15
+ gtag('config', '{{googleTagId}}');
16
+ </script>
17
+ <script>(function(){var s;(s=document.currentScript||document.scripts[document.scripts.length-1]).parentNode.removeChild(s);}());</script>
18
+
19
+ <link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png">
20
+ <link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png">
21
+ <link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png">
22
+ <link rel="manifest" href="/favicon/site.webmanifest">
23
+ <link rel="mask-icon" href="/favicon/safari-pinned-tab.svg" color="#5bbad5">
24
+
25
+ <link rel="stylesheet" type="text/css" href="/main.css">
26
+
27
+ <meta name="msapplication-TileColor" content="#000000">
28
+ <meta name="theme-color" content="#ffffff">
29
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
30
+ </head>
31
+ <body>
32
+ <div id="app"></div>
33
+
34
+ <script src="/main.js"></script>
35
+ </body>
36
+ </body>
37
+ </html>
38
+ `;
@@ -36,7 +36,7 @@ module.exports = (projectRoot) => {
36
36
  }),
37
37
  new HtmlWebpackPlugin({
38
38
  templateContent: async () => {
39
- const template = require("../templates/page.js");
39
+ const template = require("../templates/screen.js");
40
40
 
41
41
  const meta = {
42
42
  htmlAttrs: 'lang="en"',
@@ -1,76 +1,104 @@
1
1
  <template>
2
2
  <div>
3
- <Button :submit="startScan" class="bg-main button-small radius-extra button">
3
+ <Button @click="startScan" class="bg-main button-small radius-extra button">
4
4
  Check Tickets
5
5
  </Button>
6
- <Popup
7
- title="Scan QR Code"
8
- @close-popup="closePublicationPopup"
9
- :isPopupOpen="isPublicationPopup"
10
- class="w-max-30r h-max-30r t-left pd-big bg-white radius-big"
11
- >
12
- <h3 class="mn-b-small">Scan QR Code</h3>
13
- <div class="h-max">
14
- <!-- Scanning will be handled by Capacitor, so we don't need a visual component here -->
15
- </div>
16
- </Popup>
6
+ <div v-if="isScanning" class="barcode-scanner-modal">
7
+ <!-- Add any UI elements for the scanner here -->
8
+ <Button @click="stopScan" class="stop-scan-button">Stop Scan</Button>
9
+ </div>
17
10
  </div>
18
11
  </template>
19
12
 
20
13
  <script setup>
21
- import { ref } from 'vue'
14
+ import { ref, onMounted, onUnmounted } from 'vue'
22
15
  import { BarcodeScanner } from '@capacitor-mlkit/barcode-scanning'
23
- import Popup from '@pf/src/components/Popup/Popup.vue'
24
16
  import Button from '@pf/src/components/Button/Button.vue'
25
17
  import * as tickets from '@pf/src/modules/events/store/tickets'
26
18
 
27
19
  const emits = defineEmits(['qrcodecheck'])
28
- const isPublicationPopup = ref(false)
29
20
  const error = ref('')
21
+ const isScanning = ref(false)
30
22
 
31
- function openPublicationPopup() {
32
- isPublicationPopup.value = true
33
- }
23
+ onMounted(async () => {
24
+ const { supported } = await BarcodeScanner.isSupported()
25
+ if (!supported) {
26
+ error.value = 'Barcode scanning is not supported on this device'
27
+ }
28
+ })
34
29
 
35
- function closePublicationPopup() {
36
- isPublicationPopup.value = false
37
- }
30
+ onUnmounted(async () => {
31
+ await BarcodeScanner.removeAllListeners()
32
+ })
38
33
 
39
34
  async function startScan() {
40
- openPublicationPopup()
41
-
35
+ document.querySelector('body')?.classList.add('barcode-scanner-active');
36
+
42
37
  try {
43
- await BarcodeScanner.isSupported()
44
- const { barcodes } = await BarcodeScanner.scan()
45
-
46
- if (barcodes.length > 0) {
47
- await processBarcode(barcodes[0].rawValue)
48
- } else {
49
- throw new Error('No barcode detected')
38
+ const { camera } = await BarcodeScanner.checkPermissions()
39
+ if (camera !== 'granted') {
40
+ const { camera: newStatus } = await BarcodeScanner.requestPermissions()
41
+ if (newStatus !== 'granted') {
42
+ throw new Error('Camera permission is required to scan barcodes')
43
+ }
50
44
  }
45
+
46
+ document.querySelector('body')?.classList.add('barcode-scanner-active')
47
+ isScanning.value = true
48
+
49
+ await BarcodeScanner.addListener('barcodeScanned', async (result) => {
50
+ await processBarcode(result.barcode)
51
+ })
52
+
53
+ await BarcodeScanner.startScan()
51
54
  } catch (e) {
52
55
  error.value = e.message
53
56
  alert(`Error: ${error.value}`)
54
- } finally {
55
- closePublicationPopup()
56
57
  }
57
58
  }
58
59
 
59
- async function processBarcode(qrcode) {
60
+ async function stopScan() {
60
61
  try {
61
- if (!qrcode) {
62
- throw new Error('Troubles with qrcode reading')
62
+ document.querySelector('body')?.classList.remove('barcode-scanner-active');
63
+ isScanning.value = false
64
+ await BarcodeScanner.stopScan()
65
+ await BarcodeScanner.removeAllListeners()
66
+ } catch (e) {
67
+ error.value = e.message
68
+ alert(`Error stopping scan: ${error.value}`)
69
+ }
70
+ }
71
+
72
+ async function processBarcode(barcode) {
73
+ try {
74
+ if (!barcode) {
75
+ throw new Error('Troubles with barcode reading')
63
76
  }
64
- const response = await tickets.actions.update({ _id: qrcode, status: 'used', check: true })
77
+ const response = await tickets.actions.update({ _id: barcode, status: 'used', check: true })
65
78
  alert("Ticket checked. And it's all right!")
66
79
  } catch (e) {
67
80
  alert(`Ticket is not found, already used or deactivated!`)
68
81
  } finally {
69
82
  emits('qrcodecheck')
83
+ await stopScan()
70
84
  }
71
85
  }
72
86
  </script>
73
87
 
74
88
  <style scoped>
75
- /* Existing styles can stay unchanged */
89
+ body.barcode-scanner-active {
90
+ visibility: hidden;
91
+ --background: transparent;
92
+ --ion-background-color: transparent;
93
+ }
94
+ .barcode-scanner-modal {
95
+ visibility: visible;
96
+ }
97
+
98
+ @media (prefers-color-scheme: dark) {
99
+ .barcode-scanner-modal {
100
+ --background: transparent;
101
+ --ion-background-color: transparent;
102
+ }
103
+ }
76
104
  </style>