@ozdao/prometheus-framework 0.2.230 → 0.2.231

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) 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 +5 -4
  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 +5 -4
  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.js +1 -1
  59. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +2 -2
  60. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
  61. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  62. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
  63. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  64. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  65. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  67. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
  68. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  69. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
  71. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +2 -2
  72. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  73. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
  75. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  77. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +2 -2
  78. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  79. package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +633 -638
  80. package/dist/prometheus-framework/src/modules/pages/pages.client.js +633 -638
  81. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +2 -2
  82. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +2 -2
  83. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
  84. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  85. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  86. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  87. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  88. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +1 -1
  89. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  90. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
  91. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  92. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  93. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  94. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  95. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  96. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +1 -1
  97. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +2 -2
  98. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +2 -2
  99. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  100. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
  101. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  102. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  103. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  104. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  105. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  106. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +1 -1
  107. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
  108. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +1 -1
  109. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +2 -2
  110. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
  111. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  112. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +1 -1
  113. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  114. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +1 -1
  115. package/package.json +1 -1
  116. package/src/builder/templates/screen.js +38 -0
  117. package/src/builder/webpack/webpack.config.spa.js +1 -1
  118. package/src/modules/events/components/elements/ButtonCheck.vue +14 -17
  119. package/src/modules/events/components/elements/ButtonCheck1.vue +107 -0
  120. package/src/modules/events/components/elements/ButtonCheck2.vue +76 -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.230",
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"',
@@ -32,6 +32,8 @@ onUnmounted(async () => {
32
32
  })
33
33
 
34
34
  async function startScan() {
35
+ document.querySelector('body')?.classList.add('barcode-scanner-active');
36
+
35
37
  try {
36
38
  const { camera } = await BarcodeScanner.checkPermissions()
37
39
  if (camera !== 'granted') {
@@ -57,7 +59,7 @@ async function startScan() {
57
59
 
58
60
  async function stopScan() {
59
61
  try {
60
- document.querySelector('body')?.classList.remove('barcode-scanner-active')
62
+ document.querySelector('body')?.classList.remove('barcode-scanner-active');
61
63
  isScanning.value = false
62
64
  await BarcodeScanner.stopScan()
63
65
  await BarcodeScanner.removeAllListeners()
@@ -84,24 +86,19 @@ async function processBarcode(barcode) {
84
86
  </script>
85
87
 
86
88
  <style scoped>
89
+ body.barcode-scanner-active {
90
+ visibility: hidden;
91
+ --background: transparent;
92
+ --ion-background-color: transparent;
93
+ }
87
94
  .barcode-scanner-modal {
88
- position: fixed;
89
- top: 0;
90
- left: 0;
91
- right: 0;
92
- bottom: 0;
93
- background: rgba(0, 0, 0, 0.8);
94
- display: flex;
95
- justify-content: center;
96
- align-items: center;
95
+ visibility: visible;
97
96
  }
98
97
 
99
- .stop-scan-button {
100
- position: absolute;
101
- bottom: 20px;
102
- left: 50%;
103
- transform: translateX(-50%);
98
+ @media (prefers-color-scheme: dark) {
99
+ .barcode-scanner-modal {
100
+ --background: transparent;
101
+ --ion-background-color: transparent;
102
+ }
104
103
  }
105
-
106
- /* Existing styles can stay unchanged */
107
104
  </style>
@@ -0,0 +1,107 @@
1
+ <template>
2
+ <div>
3
+ <Button @click="startScan" class="bg-main button-small radius-extra button">
4
+ Check Tickets
5
+ </Button>
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>
10
+ </div>
11
+ </template>
12
+
13
+ <script setup>
14
+ import { ref, onMounted, onUnmounted } from 'vue'
15
+ import { BarcodeScanner } from '@capacitor-mlkit/barcode-scanning'
16
+ import Button from '@pf/src/components/Button/Button.vue'
17
+ import * as tickets from '@pf/src/modules/events/store/tickets'
18
+
19
+ const emits = defineEmits(['qrcodecheck'])
20
+ const error = ref('')
21
+ const isScanning = ref(false)
22
+
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
+ })
29
+
30
+ onUnmounted(async () => {
31
+ await BarcodeScanner.removeAllListeners()
32
+ })
33
+
34
+ async function startScan() {
35
+ try {
36
+ const { camera } = await BarcodeScanner.checkPermissions()
37
+ if (camera !== 'granted') {
38
+ const { camera: newStatus } = await BarcodeScanner.requestPermissions()
39
+ if (newStatus !== 'granted') {
40
+ throw new Error('Camera permission is required to scan barcodes')
41
+ }
42
+ }
43
+
44
+ document.querySelector('body')?.classList.add('barcode-scanner-active')
45
+ isScanning.value = true
46
+
47
+ await BarcodeScanner.addListener('barcodeScanned', async (result) => {
48
+ await processBarcode(result.barcode)
49
+ })
50
+
51
+ await BarcodeScanner.startScan()
52
+ } catch (e) {
53
+ error.value = e.message
54
+ alert(`Error: ${error.value}`)
55
+ }
56
+ }
57
+
58
+ async function stopScan() {
59
+ try {
60
+ document.querySelector('body')?.classList.remove('barcode-scanner-active')
61
+ isScanning.value = false
62
+ await BarcodeScanner.stopScan()
63
+ await BarcodeScanner.removeAllListeners()
64
+ } catch (e) {
65
+ error.value = e.message
66
+ alert(`Error stopping scan: ${error.value}`)
67
+ }
68
+ }
69
+
70
+ async function processBarcode(barcode) {
71
+ try {
72
+ if (!barcode) {
73
+ throw new Error('Troubles with barcode reading')
74
+ }
75
+ const response = await tickets.actions.update({ _id: barcode, status: 'used', check: true })
76
+ alert("Ticket checked. And it's all right!")
77
+ } catch (e) {
78
+ alert(`Ticket is not found, already used or deactivated!`)
79
+ } finally {
80
+ emits('qrcodecheck')
81
+ await stopScan()
82
+ }
83
+ }
84
+ </script>
85
+
86
+ <style scoped>
87
+ .barcode-scanner-modal {
88
+ position: fixed;
89
+ top: 0;
90
+ left: 0;
91
+ right: 0;
92
+ bottom: 0;
93
+ background: rgba(0, 0, 0, 0.8);
94
+ display: flex;
95
+ justify-content: center;
96
+ align-items: center;
97
+ }
98
+
99
+ .stop-scan-button {
100
+ position: absolute;
101
+ bottom: 20px;
102
+ left: 50%;
103
+ transform: translateX(-50%);
104
+ }
105
+
106
+ /* Existing styles can stay unchanged */
107
+ </style>