@ozdao/prometheus-framework 0.2.228 → 0.2.230

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  2. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  3. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
  4. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +1 -1
  5. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  6. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  7. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  8. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
  9. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  10. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  11. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +57 -38
  12. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs.map +1 -1
  13. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +58 -39
  14. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js.map +1 -1
  15. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  16. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  17. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  18. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  19. package/dist/prometheus-framework/src/modules/events/router/events.cjs +12 -1
  20. package/dist/prometheus-framework/src/modules/events/router/events.cjs.map +1 -1
  21. package/dist/prometheus-framework/src/modules/events/router/events.js +12 -1
  22. package/dist/prometheus-framework/src/modules/events/router/events.js.map +1 -1
  23. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  24. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  25. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +2 -2
  26. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
  27. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
  29. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +1 -1
  31. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs.map +1 -1
  32. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js.map +1 -1
  33. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs +1 -1
  34. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js +1 -1
  35. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  36. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  37. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  38. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  39. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +2 -2
  40. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  41. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  42. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  43. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  45. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  46. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  47. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
  48. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  49. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +2 -2
  50. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
  51. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  52. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  53. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  54. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
  55. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +2 -2
  56. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  57. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  58. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  59. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  60. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  61. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  62. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  63. package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +444 -426
  64. package/dist/prometheus-framework/src/modules/pages/pages.client.js +444 -426
  65. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  67. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  68. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  69. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  71. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  73. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +2 -2
  74. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  75. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  77. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  79. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +2 -2
  80. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  81. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  82. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  83. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +2 -2
  84. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
  85. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  86. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
  87. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  88. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
  89. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +2 -2
  90. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +2 -2
  91. package/package.json +1 -1
  92. package/src/modules/events/components/elements/ButtonCheck.vue +67 -36
  93. package/src/modules/events/router/events.js +12 -1
  94. package/src/modules/globals/views/components/partials/NavigationBar.vue +6 -0
@@ -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 Block = require("../../../../../components/Block/Block.vue.cjs");
6
- const Popup = require("../../../../../components/Popup/Popup.vue2.cjs");
6
+ const Popup = require("../../../../../components/Popup/Popup.vue.cjs");
7
7
  const Button = require("../../../../../components/Button/Button.vue2.cjs");
8
8
  const Constructor = require("../../../../constructor/components/sections/Constructor.vue.cjs");
9
9
  const CardPage = require("../blocks/CardPage.vue.cjs");
@@ -1,7 +1,7 @@
1
1
  import { computed, ref, onMounted, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, createVNode, createElementVNode, createTextVNode, createCommentVNode } from "vue";
2
2
  import { useRoute, useRouter } from "vue-router";
3
3
  import _sfc_main$1 from "../../../../../components/Block/Block.vue.js";
4
- import _sfc_main$3 from "../../../../../components/Popup/Popup.vue2.js";
4
+ import _sfc_main$3 from "../../../../../components/Popup/Popup.vue.js";
5
5
  import _sfc_main$5 from "../../../../../components/Button/Button.vue2.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";
@@ -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 Field = require("../../../../components/Field/Field.vue2.cjs");
5
- const Select = require("../../../../components/Select/Select.vue2.cjs");
5
+ const Select = require("../../../../components/Select/Select.vue.cjs");
6
6
  ;/* empty css */
7
7
  const IconAdd = require("../../../icons/navigation/IconAdd.vue.cjs");
8
8
  const IconDelete = require("../../../icons/navigation/IconDelete.vue.cjs");
@@ -1,6 +1,6 @@
1
1
  import { ref, computed, watch, openBlock, createElementBlock, createElementVNode, toDisplayString, createBlock, withCtx, createVNode, createCommentVNode, unref } from "vue";
2
2
  import Field from "../../../../components/Field/Field.vue2.js";
3
- import Select from "../../../../components/Select/Select.vue2.js";
3
+ import Select from "../../../../components/Select/Select.vue.js";
4
4
  /* empty css */
5
5
  import _sfc_main$1 from "../../../icons/navigation/IconAdd.vue.js";
6
6
  import _sfc_main$2 from "../../../icons/navigation/IconDelete.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 Popup = require("../../../../components/Popup/Popup.vue2.cjs");
4
+ const Popup = require("../../../../components/Popup/Popup.vue.cjs");
5
5
  const PhotoViewer = require("../../../../components/PhotoViewer/PhotoViewer.vue.cjs");
6
6
  ;/* empty css */
7
7
  const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
@@ -1,5 +1,5 @@
1
1
  import { ref, openBlock, createElementBlock, createElementVNode, Fragment, renderList, createVNode, withCtx } from "vue";
2
- import _sfc_main$1 from "../../../../components/Popup/Popup.vue2.js";
2
+ import _sfc_main$1 from "../../../../components/Popup/Popup.vue.js";
3
3
  import _sfc_main$2 from "../../../../components/PhotoViewer/PhotoViewer.vue.js";
4
4
  /* empty css */
5
5
  import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
@@ -4,7 +4,7 @@ const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  const IconDelete = require("../../../icons/navigation/IconDelete.vue.cjs");
6
6
  const Button = require("../../../../components/Button/Button.vue2.cjs");
7
- const Select = require("../../../../components/Select/Select.vue2.cjs");
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");
10
10
  const categories = require("../../store/categories.cjs");
@@ -2,7 +2,7 @@ import { computed, openBlock, createElementBlock, Fragment, createVNode, withCtx
2
2
  import { useRoute, useRouter } from "vue-router";
3
3
  import _sfc_main$3 from "../../../icons/navigation/IconDelete.vue.js";
4
4
  import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
5
- import Select from "../../../../components/Select/Select.vue2.js";
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
8
  import { actions, state } from "../../store/categories.js";
@@ -4,8 +4,8 @@ const vue = require("vue");
4
4
  const Block = require("../../../../components/Block/Block.vue.cjs");
5
5
  const Field = require("../../../../components/Field/Field.vue2.cjs");
6
6
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
7
- const Select = require("../../../../components/Select/Select.vue2.cjs");
8
- const Popup = require("../../../../components/Popup/Popup.vue2.cjs");
7
+ const Select = require("../../../../components/Select/Select.vue.cjs");
8
+ const Popup = require("../../../../components/Popup/Popup.vue.cjs");
9
9
  ;/* empty css */
10
10
  const CardPosition = require("../blocks/CardPosition.vue.cjs");
11
11
  const CardOrderItem = require("../../../orders/components/blocks/CardOrderItem.vue.cjs");
@@ -2,8 +2,8 @@ import { ref, computed, onMounted, openBlock, createElementBlock, createElementV
2
2
  import _sfc_main$4 from "../../../../components/Block/Block.vue.js";
3
3
  import Field from "../../../../components/Field/Field.vue2.js";
4
4
  import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
5
- import Select from "../../../../components/Select/Select.vue2.js";
6
- import _sfc_main$1 from "../../../../components/Popup/Popup.vue2.js";
5
+ import Select from "../../../../components/Select/Select.vue.js";
6
+ import _sfc_main$1 from "../../../../components/Popup/Popup.vue.js";
7
7
  /* empty css */
8
8
  import _sfc_main$5 from "../blocks/CardPosition.vue.js";
9
9
  import _sfc_main$3 from "../../../orders/components/blocks/CardOrderItem.vue.js";
@@ -9,7 +9,7 @@ const Block = require("../../../../components/Block/Block.vue.cjs");
9
9
  const Field = require("../../../../components/Field/Field.vue2.cjs");
10
10
  const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
11
11
  const Button = require("../../../../components/Button/Button.vue2.cjs");
12
- const Popup = require("../../../../components/Popup/Popup.vue2.cjs");
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");
15
15
  const IconDelete = require("../../../icons/navigation/IconDelete.vue.cjs");
@@ -7,7 +7,7 @@ import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
7
7
  import Field from "../../../../components/Field/Field.vue2.js";
8
8
  import _sfc_main$9 from "../../../../components/Checkbox/Checkbox.vue.js";
9
9
  import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
10
- import _sfc_main$6 from "../../../../components/Popup/Popup.vue2.js";
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";
13
13
  import _sfc_main$a from "../../../icons/navigation/IconDelete.vue.js";
@@ -4,7 +4,7 @@ const vue = require("vue");
4
4
  ;/* empty css */
5
5
  ;/* empty css */
6
6
  const Field = require("../../../../components/Field/Field.vue2.cjs");
7
- const Select = require("../../../../components/Select/Select.vue2.cjs");
7
+ const Select = require("../../../../components/Select/Select.vue.cjs");
8
8
  const _sfc_main = {
9
9
  __name: "EditProductInfo",
10
10
  props: {
@@ -2,7 +2,7 @@ import { openBlock, createElementBlock, Fragment, createVNode, withCtx } from "v
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import Field from "../../../../components/Field/Field.vue2.js";
5
- import Select from "../../../../components/Select/Select.vue2.js";
5
+ import Select from "../../../../components/Select/Select.vue.js";
6
6
  const _sfc_main = {
7
7
  __name: "EditProductInfo",
8
8
  props: {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- const Popup = require("../../../../components/Popup/Popup.vue2.cjs");
4
+ const Popup = require("../../../../components/Popup/Popup.vue.cjs");
5
5
  const Button = require("../../../../components/Button/Button.vue2.cjs");
6
- const Select = require("../../../../components/Select/Select.vue2.cjs");
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);
9
9
  const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("p", { class: "p-medium mn-b-small" }, " We strive to maintain a safe and comfortable environment for all users. If you encounter content that you believe violates our guidelines, please report it: ", -1);
@@ -1,7 +1,7 @@
1
1
  import { reactive, ref, openBlock, createElementBlock, renderSlot, createVNode, withCtx, createTextVNode, createElementVNode } from "vue";
2
- import _sfc_main$1 from "../../../../components/Popup/Popup.vue2.js";
2
+ import _sfc_main$1 from "../../../../components/Popup/Popup.vue.js";
3
3
  import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
4
- import Select from "../../../../components/Select/Select.vue2.js";
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);
7
7
  const _hoisted_2 = /* @__PURE__ */ createElementVNode("p", { class: "p-medium mn-b-small" }, " We strive to maintain a safe and comfortable environment for all users. If you encounter content that you believe violates our guidelines, please report it: ", -1);
@@ -3,7 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue = require("vue");
4
4
  ;/* empty css */
5
5
  const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
6
- ;/* empty css */
6
+ ;/* empty css */
7
7
  ;/* empty css */
8
8
  const _hoisted_1 = { class: "br-grey-transp-25 radius-small mn-b-small" };
9
9
  const _hoisted_2 = {
@@ -1,7 +1,7 @@
1
1
  import { ref, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, createBlock, toDisplayString, createCommentVNode } from "vue";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- /* empty css */
4
+ /* empty css */
5
5
  /* empty css */
6
6
  const _hoisted_1 = { class: "br-grey-transp-25 radius-small mn-b-small" };
7
7
  const _hoisted_2 = {
@@ -6,13 +6,13 @@ const Block = require("../../../../components/Block/Block.vue.cjs");
6
6
  const UploadImage = require("../../../../components/UploadImage/UploadImage.vue.cjs");
7
7
  ;/* empty css */
8
8
  const Field = require("../../../../components/Field/Field.vue2.cjs");
9
- const Select = require("../../../../components/Select/Select.vue2.cjs");
9
+ 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
13
  const Button = require("../../../../components/Button/Button.vue2.cjs");
14
14
  require("vue-i18n");
15
- ;/* empty css */
15
+ ;/* empty css */
16
16
  const spots = require("../../store/spots.cjs");
17
17
  const _hoisted_1 = { class: "for-transition w-100 cols-1 pd-thin gap-thin" };
18
18
  const _hoisted_2 = { class: "mn-r-auto" };
@@ -4,13 +4,13 @@ import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
4
4
  import _sfc_main$3 from "../../../../components/UploadImage/UploadImage.vue.js";
5
5
  /* empty css */
6
6
  import Field from "../../../../components/Field/Field.vue2.js";
7
- import Select from "../../../../components/Select/Select.vue2.js";
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
11
  import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
12
12
  import "vue-i18n";
13
- /* empty css */
13
+ /* empty css */
14
14
  import { actions, state } from "../../store/spots.js";
15
15
  const _hoisted_1 = { class: "for-transition w-100 cols-1 pd-thin gap-thin" };
16
16
  const _hoisted_2 = { class: "mn-r-auto" };
@@ -6,7 +6,7 @@ const vue = require("vue");
6
6
  ;/* empty css */
7
7
  const Dropdown = require("../../../../components/Dropdown/Dropdown.vue.cjs");
8
8
  const Completion = require("../../../../components/Completion/Completion.vue.cjs");
9
- const Menu = require("../../../../components/Menu/Menu.vue2.cjs");
9
+ const Menu = require("../../../../components/Menu/Menu.vue.cjs");
10
10
  const MenuItem = require("../../../../components/Menu/MenuItem.vue.cjs");
11
11
  const ButtonToggleMembership = require("../../../organizations/components/elements/ButtonToggleMembership.vue.cjs");
12
12
  const FormReport = require("../../../reports/components/sections/FormReport.vue.cjs");
@@ -4,7 +4,7 @@ import { ref, onMounted, openBlock, createElementBlock, unref, createBlock, crea
4
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
- import _sfc_main$7 from "../../../../components/Menu/Menu.vue2.js";
7
+ import _sfc_main$7 from "../../../../components/Menu/Menu.vue.js";
8
8
  import _sfc_main$8 from "../../../../components/Menu/MenuItem.vue.js";
9
9
  import _sfc_main$4 from "../../../organizations/components/elements/ButtonToggleMembership.vue.js";
10
10
  import _sfc_main$3 from "../../../reports/components/sections/FormReport.vue.js";
@@ -6,7 +6,7 @@ const bignumber = require("../../../../../../node_modules/bignumber.js/bignumber
6
6
  const wallet_store = require("../../store/wallet.store.cjs");
7
7
  const wallet = require("../../localization/wallet.json.cjs");
8
8
  const Field = require("../../../../../components/Field/Field.vue2.cjs");
9
- const Select = require("../../../../../components/Select/Select.vue2.cjs");
9
+ const Select = require("../../../../../components/Select/Select.vue.cjs");
10
10
  const _hoisted_1 = { class: "mn-b-small t-center t-bold" };
11
11
  const _hoisted_2 = { class: "t-semi" };
12
12
  const _hoisted_3 = ["disabled"];
@@ -4,7 +4,7 @@ import { BigNumber } from "../../../../../../node_modules/bignumber.js/bignumber
4
4
  import { state, actions } from "../../store/wallet.store.js";
5
5
  import text from "../../localization/wallet.json.js";
6
6
  import Field from "../../../../../components/Field/Field.vue2.js";
7
- import Select from "../../../../../components/Select/Select.vue2.js";
7
+ import Select from "../../../../../components/Select/Select.vue.js";
8
8
  const _hoisted_1 = { class: "mn-b-small t-center t-bold" };
9
9
  const _hoisted_2 = { class: "t-semi" };
10
10
  const _hoisted_3 = ["disabled"];
@@ -5,10 +5,10 @@ const vueI18n = require("vue-i18n");
5
5
  const Web3 = require("web3");
6
6
  const wallet_store = require("../../store/wallet.store.cjs");
7
7
  const wallet = require("../../localization/wallet.json.cjs");
8
- const Popup = require("../../../../../components/Popup/Popup.vue2.cjs");
8
+ const Popup = require("../../../../../components/Popup/Popup.vue.cjs");
9
9
  const Button = require("../../../../../components/Button/Button.vue2.cjs");
10
10
  require("vue-router");
11
- ;/* empty css */
11
+ ;/* empty css */
12
12
  require("../../../../reports/store/reports.cjs");
13
13
  ;/* empty css */
14
14
  ;/* empty css */
@@ -3,10 +3,10 @@ import { useI18n } from "vue-i18n";
3
3
  import Web3 from "web3";
4
4
  import { state, actions } from "../../store/wallet.store.js";
5
5
  import text from "../../localization/wallet.json.js";
6
- import _sfc_main$3 from "../../../../../components/Popup/Popup.vue2.js";
6
+ import _sfc_main$3 from "../../../../../components/Popup/Popup.vue.js";
7
7
  import _sfc_main$1 from "../../../../../components/Button/Button.vue2.js";
8
8
  import "vue-router";
9
- /* empty css */
9
+ /* empty css */
10
10
  import "../../../../reports/store/reports.js";
11
11
  /* empty css */
12
12
  /* empty css */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ozdao/prometheus-framework",
3
- "version": "0.2.228",
3
+ "version": "0.2.230",
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",
@@ -1,76 +1,107 @@
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
-
42
35
  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')
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
+ }
50
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()
51
52
  } catch (e) {
52
53
  error.value = e.message
53
54
  alert(`Error: ${error.value}`)
54
- } finally {
55
- closePublicationPopup()
56
55
  }
57
56
  }
58
57
 
59
- async function processBarcode(qrcode) {
58
+ async function stopScan() {
60
59
  try {
61
- if (!qrcode) {
62
- throw new Error('Troubles with qrcode reading')
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')
63
74
  }
64
- const response = await tickets.actions.update({ _id: qrcode, status: 'used', check: true })
75
+ const response = await tickets.actions.update({ _id: barcode, status: 'used', check: true })
65
76
  alert("Ticket checked. And it's all right!")
66
77
  } catch (e) {
67
78
  alert(`Ticket is not found, already used or deactivated!`)
68
79
  } finally {
69
80
  emits('qrcodecheck')
81
+ await stopScan()
70
82
  }
71
83
  }
72
84
  </script>
73
85
 
74
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
+
75
106
  /* Existing styles can stay unchanged */
76
107
  </style>
@@ -59,11 +59,22 @@ const eventsRoutes = [
59
59
  },{
60
60
  path: 'events/:url/edit',
61
61
  name: 'Edit Event',
62
- meta: { authorize: [] },
62
+ meta: {
63
+ title: {
64
+ en: 'Edit Event',
65
+ ru: 'Редактировать Событие'
66
+ }
67
+ },
63
68
  component: () => import(/* webpackChunkName: 'EditEvent' */ '../components/pages/EditEvent.vue')
64
69
  },{
65
70
  path: 'events/:url/edit/tickets',
66
71
  name: 'Edit Event Tickets',
72
+ meta: {
73
+ title: {
74
+ en: 'Event Tickets',
75
+ ru: 'Билеты События'
76
+ }
77
+ },
67
78
  component: () => import(/* webpackChunkName: 'EditEvent' */ '../components/pages/EditEventTickets.vue')
68
79
  }
69
80
  ];
@@ -49,6 +49,12 @@
49
49
 
50
50
  <p v-else class="t-semi h-2r h4 d-block" >
51
51
  {{route.meta.title[locale.toLowerCase()]}}
52
+
53
+ <!-- if (route.meta.title) {
54
+ route.meta.title[locale.toLowerCase()]
55
+ } else {
56
+ route.name
57
+ } -->
52
58
  </p>
53
59
  </div>
54
60
  </transition>