@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.
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +57 -38
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +58 -39
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.cjs +12 -1
- package/dist/prometheus-framework/src/modules/events/router/events.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.js +12 -1
- package/dist/prometheus-framework/src/modules/events/router/events.js.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +444 -426
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +444 -426
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +2 -2
- package/package.json +1 -1
- package/src/modules/events/components/elements/ButtonCheck.vue +67 -36
- package/src/modules/events/router/events.js +12 -1
- package/src/modules/globals/views/components/partials/NavigationBar.vue +6 -0
package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs
CHANGED
@@ -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.
|
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");
|
package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js
CHANGED
@@ -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.
|
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";
|
package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs
CHANGED
@@ -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.
|
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");
|
package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js
CHANGED
@@ -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.
|
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";
|
package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs
CHANGED
@@ -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.
|
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");
|
package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js
CHANGED
@@ -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.
|
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";
|
package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs
CHANGED
@@ -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.
|
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.
|
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";
|
package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs
CHANGED
@@ -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.
|
8
|
-
const Popup = require("../../../../components/Popup/Popup.
|
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.
|
6
|
-
import _sfc_main$1 from "../../../../components/Popup/Popup.
|
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.
|
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.
|
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";
|
package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs
CHANGED
@@ -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.
|
7
|
+
const Select = require("../../../../components/Select/Select.vue.cjs");
|
8
8
|
const _sfc_main = {
|
9
9
|
__name: "EditProductInfo",
|
10
10
|
props: {
|
package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js
CHANGED
@@ -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.
|
5
|
+
import Select from "../../../../components/Select/Select.vue.js";
|
6
6
|
const _sfc_main = {
|
7
7
|
__name: "EditProductInfo",
|
8
8
|
props: {
|
package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs
CHANGED
@@ -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.
|
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.
|
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.
|
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.
|
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);
|
package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs
CHANGED
@@ -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 = {
|
package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js
CHANGED
@@ -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.
|
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.
|
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.
|
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.
|
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";
|
package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs
CHANGED
@@ -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.
|
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"];
|
package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js
CHANGED
@@ -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.
|
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.
|
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.
|
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,76 +1,107 @@
|
|
1
1
|
<template>
|
2
2
|
<div>
|
3
|
-
<Button
|
3
|
+
<Button @click="startScan" class="bg-main button-small radius-extra button">
|
4
4
|
Check Tickets
|
5
5
|
</Button>
|
6
|
-
<
|
7
|
-
|
8
|
-
@
|
9
|
-
|
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
|
-
|
32
|
-
|
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
|
-
|
36
|
-
|
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.
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
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
|
58
|
+
async function stopScan() {
|
60
59
|
try {
|
61
|
-
|
62
|
-
|
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:
|
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: {
|
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
|
];
|