@ozdao/prometheus-framework 0.2.257 → 0.2.259

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. package/dist/events.server.js +14 -40
  2. package/dist/events.server.mjs +14 -40
  3. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  4. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
  5. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +1 -1
  6. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +1 -1
  7. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -1
  8. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
  9. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
  10. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
  11. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.cjs +2 -2
  12. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
  13. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs +1 -1
  14. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +1 -1
  15. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +1 -1
  16. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.js +1 -1
  17. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
  18. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
  19. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
  20. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +1 -1
  21. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
  22. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
  23. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +2 -2
  24. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +2 -2
  25. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +2 -2
  26. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +2 -2
  27. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  29. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  31. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +1 -1
  33. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  34. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
  35. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  36. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  37. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  38. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
  39. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  40. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  41. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  42. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  43. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
  45. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
  46. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  47. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  48. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
  49. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
  50. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +1 -1
  51. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs +1 -1
  52. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js +1 -1
  53. package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
  54. package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
  55. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  56. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  57. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +3 -3
  58. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +3 -3
  59. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  60. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
  61. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  62. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  63. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  64. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  65. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  67. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  68. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  69. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
  70. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  71. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +2 -2
  72. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
  73. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +2 -2
  74. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +2 -2
  75. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +2 -2
  76. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +2 -2
  77. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +3 -3
  78. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -3
  79. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  80. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  81. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +2 -2
  82. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +2 -2
  83. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  84. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  85. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +2 -2
  86. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  87. package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +783 -783
  88. package/dist/prometheus-framework/src/modules/pages/pages.client.js +783 -783
  89. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +2 -2
  90. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
  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/EditLeftover.vue.cjs +2 -2
  94. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  95. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  96. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  97. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  98. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  99. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  100. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +1 -1
  101. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  102. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  103. package/dist/prometheus-framework/src/modules/products/components/sections/Filters.vue.cjs +2 -2
  104. package/dist/prometheus-framework/src/modules/products/components/sections/Filters.vue.js +2 -2
  105. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  106. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  107. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  108. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  109. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  110. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  111. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  112. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +1 -1
  113. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +2 -2
  114. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
  115. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  116. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
  117. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +3 -3
  118. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
  119. package/dist/wallet.server.js +1 -0
  120. package/dist/wallet.server.mjs +1 -0
  121. package/package.json +1 -1
  122. package/src/modules/events/events.server.js +13 -10
  123. package/src/modules/events/models/event.model.js +14 -40
  124. package/src/modules/wallet/controllers/routes/payments.routes.js +1 -0
@@ -2,8 +2,8 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const Field = require("../../../../components/Field/Field.vue.cjs");
5
- const Select = require("../../../../components/Select/Select.vue.cjs");
6
- ;/* empty css */
5
+ const Select = require("../../../../components/Select/Select.vue2.cjs");
6
+ ;/* empty css */
7
7
  const IconAdd = require("../../../icons/navigation/IconAdd.vue.cjs");
8
8
  const IconDelete = require("../../../icons/navigation/IconDelete.vue.cjs");
9
9
  const _hoisted_1 = { class: "gap-thin" };
@@ -1,7 +1,7 @@
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.vue.js";
3
- import Select from "../../../../components/Select/Select.vue.js";
4
- /* empty css */
3
+ import Select from "../../../../components/Select/Select.vue2.js";
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";
7
7
  const _hoisted_1 = { class: "gap-thin" };
@@ -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.vue.cjs");
7
- const Select = require("../../../../components/Select/Select.vue.cjs");
7
+ const Select = require("../../../../components/Select/Select.vue2.cjs");
8
8
  const Field = require("../../../../components/Field/Field.vue.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.vue.js";
5
- import Select from "../../../../components/Select/Select.vue.js";
5
+ import Select from "../../../../components/Select/Select.vue2.js";
6
6
  import Field from "../../../../components/Field/Field.vue.js";
7
7
  import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
8
8
  import { actions, state } from "../../store/categories.js";
@@ -4,9 +4,9 @@ const vue = require("vue");
4
4
  const Block = require("../../../../components/Block/Block.vue.cjs");
5
5
  const Field = require("../../../../components/Field/Field.vue.cjs");
6
6
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
7
- const Select = require("../../../../components/Select/Select.vue.cjs");
7
+ const Select = require("../../../../components/Select/Select.vue2.cjs");
8
8
  const Popup = require("../../../../components/Popup/Popup.vue.cjs");
9
- ;/* empty css */
9
+ ;/* empty css */
10
10
  const CardPosition = require("../blocks/CardPosition.vue.cjs");
11
11
  const CardOrderItem = require("../../../orders/components/blocks/CardOrderItem.vue.cjs");
12
12
  const vueRouter = require("vue-router");
@@ -2,9 +2,9 @@ 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.vue.js";
4
4
  import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
5
- import Select from "../../../../components/Select/Select.vue.js";
5
+ import Select from "../../../../components/Select/Select.vue2.js";
6
6
  import _sfc_main$1 from "../../../../components/Popup/Popup.vue.js";
7
- /* empty css */
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";
10
10
  import { useRoute, useRouter } from "vue-router";
@@ -2,7 +2,7 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
- const Tab = require("../../../../components/Tab/Tab.vue2.cjs");
5
+ const Tab = require("../../../../components/Tab/Tab.vue.cjs");
6
6
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
7
7
  const CardLeftover = require("../blocks/CardLeftover.vue.cjs");
8
8
  const leftovers = require("../../store/leftovers.cjs");
@@ -1,6 +1,6 @@
1
1
  import { ref, computed, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode, unref, withCtx, Fragment, renderList, createBlock } from "vue";
2
2
  import { useRoute, useRouter } from "vue-router";
3
- import _sfc_main$1 from "../../../../components/Tab/Tab.vue2.js";
3
+ import _sfc_main$1 from "../../../../components/Tab/Tab.vue.js";
4
4
  import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
5
5
  import CardLeftover from "../blocks/CardLeftover.vue.js";
6
6
  import { state, actions } from "../../store/leftovers.js";
@@ -5,7 +5,7 @@ const vueRouter = require("vue-router");
5
5
  require("vue-i18n");
6
6
  ;/* empty css */
7
7
  const Block = require("../../../../components/Block/Block.vue.cjs");
8
- ;/* empty css */
8
+ ;/* empty css */
9
9
  const Field = require("../../../../components/Field/Field.vue.cjs");
10
10
  const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
11
11
  const Button = require("../../../../components/Button/Button.vue.cjs");
@@ -3,7 +3,7 @@ import { useRoute, useRouter } from "vue-router";
3
3
  import "vue-i18n";
4
4
  /* empty css */
5
5
  import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
6
- /* empty css */
6
+ /* empty css */
7
7
  import Field from "../../../../components/Field/Field.vue.js";
8
8
  import _sfc_main$9 from "../../../../components/Checkbox/Checkbox.vue.js";
9
9
  import _sfc_main$2 from "../../../../components/Button/Button.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 vueRouter = require("vue-router");
5
- const Tab = require("../../../../components/Tab/Tab.vue2.cjs");
5
+ const Tab = require("../../../../components/Tab/Tab.vue.cjs");
6
6
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
7
7
  ;/* empty css */
8
8
  require("vue-i18n");
@@ -1,6 +1,6 @@
1
1
  import { ref, watch, onMounted, openBlock, createElementBlock, unref, createElementVNode, createCommentVNode, createBlock, createVNode, withCtx, Fragment, renderList } from "vue";
2
2
  import { useRoute, useRouter } from "vue-router";
3
- import _sfc_main$1 from "../../../../components/Tab/Tab.vue2.js";
3
+ import _sfc_main$1 from "../../../../components/Tab/Tab.vue.js";
4
4
  import _sfc_main$3 from "../../../../components/Feed/Feed.vue.js";
5
5
  /* empty css */
6
6
  import "vue-i18n";
@@ -4,7 +4,7 @@ const vue = require("vue");
4
4
  ;/* empty css */
5
5
  ;/* empty css */
6
6
  const Field = require("../../../../components/Field/Field.vue.cjs");
7
- const Select = require("../../../../components/Select/Select.vue.cjs");
7
+ const Select = require("../../../../components/Select/Select.vue2.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.vue.js";
5
- import Select from "../../../../components/Select/Select.vue.js";
5
+ import Select from "../../../../components/Select/Select.vue2.js";
6
6
  const _sfc_main = {
7
7
  __name: "EditProductInfo",
8
8
  props: {
@@ -2,8 +2,8 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
5
- ;/* empty css */
6
- const Dropdown = require("../../../../components/Dropdown/Dropdown.vue2.cjs");
5
+ ;/* empty css */
6
+ const Dropdown = require("../../../../components/Dropdown/Dropdown.vue.cjs");
7
7
  const vueI18n = require("vue-i18n");
8
8
  const marketplace = require("../../store/marketplace.cjs");
9
9
  const categories = require("../../store/categories.cjs");
@@ -1,7 +1,7 @@
1
1
  import { onMounted, openBlock, createElementBlock, createElementVNode, createVNode, unref, normalizeClass, withCtx, Fragment, renderList } from "vue";
2
2
  import _sfc_main$2 from "../../../../components/Checkbox/Checkbox.vue.js";
3
- /* empty css */
4
- import _sfc_main$1 from "../../../../components/Dropdown/Dropdown.vue2.js";
3
+ /* empty css */
4
+ import _sfc_main$1 from "../../../../components/Dropdown/Dropdown.vue.js";
5
5
  import { useI18n } from "vue-i18n";
6
6
  import { state } from "../../store/marketplace.js";
7
7
  import * as categories from "../../store/categories.js";
@@ -3,7 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue = require("vue");
4
4
  const Popup = require("../../../../components/Popup/Popup.vue.cjs");
5
5
  const Button = require("../../../../components/Button/Button.vue.cjs");
6
- const Select = require("../../../../components/Select/Select.vue.cjs");
6
+ const Select = require("../../../../components/Select/Select.vue2.cjs");
7
7
  const reports = require("../../store/reports.cjs");
8
8
  const _sfc_main = {
9
9
  __name: "FormReport",
@@ -1,7 +1,7 @@
1
1
  import { reactive, ref, openBlock, createElementBlock, renderSlot, createVNode, withCtx, createElementVNode, createTextVNode } from "vue";
2
2
  import _sfc_main$1 from "../../../../components/Popup/Popup.vue.js";
3
3
  import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
4
- import Select from "../../../../components/Select/Select.vue.js";
4
+ import Select from "../../../../components/Select/Select.vue2.js";
5
5
  import { actions } from "../../store/reports.js";
6
6
  const _sfc_main = {
7
7
  __name: "FormReport",
@@ -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 IconEdit = require("../../../icons/navigation/IconEdit.vue.cjs");
5
- const Chips = require("../../../../components/Chips/Chips.vue2.cjs");
5
+ const Chips = require("../../../../components/Chips/Chips.vue.cjs");
6
6
  const Map = require("../../../../components/Map/Map.vue.cjs");
7
7
  ;/* empty css */
8
8
  const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
@@ -1,6 +1,6 @@
1
1
  import { openBlock, createElementBlock, createVNode, createElementVNode, toDisplayString, createBlock, createCommentVNode } from "vue";
2
2
  import _sfc_main$1 from "../../../icons/navigation/IconEdit.vue.js";
3
- import _sfc_main$2 from "../../../../components/Chips/Chips.vue2.js";
3
+ import _sfc_main$2 from "../../../../components/Chips/Chips.vue.js";
4
4
  import Map from "../../../../components/Map/Map.vue.js";
5
5
  /* empty css */
6
6
  import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
@@ -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,7 +6,7 @@ const vueI18n = require("vue-i18n");
6
6
  ;/* empty css */
7
7
  ;/* empty css */
8
8
  ;/* empty css */
9
- ;/* empty css */
9
+ ;/* empty css */
10
10
  const globals = require("../../../globals/views/store/globals.cjs");
11
11
  const categories = require("../../../products/store/categories.cjs");
12
12
  const marketplace = require("../../../products/store/marketplace.cjs");
@@ -4,7 +4,7 @@ import { useI18n } from "vue-i18n";
4
4
  /* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
7
- /* empty css */
7
+ /* empty css */
8
8
  import { state as state$1 } from "../../../globals/views/store/globals.js";
9
9
  import { actions, state as state$2 } from "../../../products/store/categories.js";
10
10
  import { state } from "../../../products/store/marketplace.js";
@@ -4,9 +4,9 @@ const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  const Block = require("../../../../components/Block/Block.vue.cjs");
6
6
  const UploadImage = require("../../../../components/UploadImage/UploadImage.vue.cjs");
7
- ;/* empty css */
7
+ ;/* empty css */
8
8
  const Field = require("../../../../components/Field/Field.vue.cjs");
9
- const Select = require("../../../../components/Select/Select.vue.cjs");
9
+ const Select = require("../../../../components/Select/Select.vue2.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");
@@ -2,9 +2,9 @@ import { ref, onMounted, openBlock, createElementBlock, createVNode, withCtx, cr
2
2
  import { useRouter, useRoute } from "vue-router";
3
3
  import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
4
4
  import _sfc_main$3 from "../../../../components/UploadImage/UploadImage.vue.js";
5
- /* empty css */
5
+ /* empty css */
6
6
  import Field from "../../../../components/Field/Field.vue.js";
7
- import Select from "../../../../components/Select/Select.vue.js";
7
+ import Select from "../../../../components/Select/Select.vue2.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";
@@ -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.vue.cjs");
9
- const Select = require("../../../../../components/Select/Select.vue.cjs");
9
+ const Select = require("../../../../../components/Select/Select.vue2.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.vue.js";
7
- import Select from "../../../../../components/Select/Select.vue.js";
7
+ import Select from "../../../../../components/Select/Select.vue2.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"];
@@ -8,14 +8,14 @@ const wallet = require("../../localization/wallet.json.cjs");
8
8
  const Popup = require("../../../../../components/Popup/Popup.vue.cjs");
9
9
  const Button = require("../../../../../components/Button/Button.vue.cjs");
10
10
  require("vue-router");
11
- ;/* empty css */
11
+ ;/* empty css */
12
12
  require("../../../../reports/store/reports.cjs");
13
13
  ;/* empty css */
14
- ;/* empty css */
14
+ ;/* empty css */
15
15
  require("../../../../auth/views/store/auth.cjs");
16
16
  require("../../../../organizations/store/memberships.cjs");
17
17
  require("../../../../community/store/reactions.cjs");
18
- ;/* empty css */
18
+ ;/* empty css */
19
19
  const ConnectMetamask = require("../elements/ConnectMetamask.vue.cjs");
20
20
  const CashDeposit = require("../blocks/CashDeposit.vue.cjs");
21
21
  const CardDeposit = require("../blocks/CardDeposit.vue.cjs");
@@ -6,14 +6,14 @@ import text from "../../localization/wallet.json.js";
6
6
  import _sfc_main$3 from "../../../../../components/Popup/Popup.vue.js";
7
7
  import _sfc_main$1 from "../../../../../components/Button/Button.vue.js";
8
8
  import "vue-router";
9
- /* empty css */
9
+ /* empty css */
10
10
  import "../../../../reports/store/reports.js";
11
11
  /* empty css */
12
- /* empty css */
12
+ /* empty css */
13
13
  import "../../../../auth/views/store/auth.js";
14
14
  import "../../../../organizations/store/memberships.js";
15
15
  import "../../../../community/store/reactions.js";
16
- /* empty css */
16
+ /* empty css */
17
17
  import _sfc_main$2 from "../elements/ConnectMetamask.vue.js";
18
18
  import _sfc_main$4 from "../blocks/CashDeposit.vue.js";
19
19
  import _sfc_main$5 from "../blocks/CardDeposit.vue.js";
@@ -285,6 +285,7 @@ var payments_routes = function(app, db, origins, publicPath) {
285
285
  const observer = new Observer2();
286
286
  new WebhookStripe(app, db, observer);
287
287
  const controller = controllerFactory(db);
288
+ console.log("payments ticket", publicPath);
288
289
  const controllerTickets = controllerFactoryTickets(db, publicPath);
289
290
  middlewareFactoryAuth$1(db);
290
291
  observer.subscribe("checkout.session.completed", async (paymentIntent) => {
@@ -284,6 +284,7 @@ var payments_routes = function(app, db, origins, publicPath) {
284
284
  const observer = new Observer2();
285
285
  new WebhookStripe(app, db, observer);
286
286
  const controller = controllerFactory(db);
287
+ console.log("payments ticket", publicPath);
287
288
  const controllerTickets = controllerFactoryTickets(db, publicPath);
288
289
  middlewareFactoryAuth$1(db);
289
290
  observer.subscribe("checkout.session.completed", async (paymentIntent) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ozdao/prometheus-framework",
3
- "version": "0.2.257",
3
+ "version": "0.2.259",
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",
@@ -7,14 +7,18 @@ const eventsRoutes = require('./routes/events.routes.js');
7
7
  const ticketsRoutes = require('./routes/tickets.routes.js');
8
8
 
9
9
  // Импортируем модели
10
- const EventModel = require('./models/event.model.js');
11
- const TicketModel = require('./models/ticket.model.js');
10
+ const createEventModel = require('./models/event.model.js');
11
+ const createTicketModel = require('./models/ticket.model.js');
12
12
 
13
- function initializeEvent(app, db, origins, publicPath) {
14
- console.log('initializeEvent publicPath:', publicPath);
15
- // Настраиваем модели в объекте базы данных
16
- db.event = EventModel(db);
17
- db.ticket = TicketModel(db);
13
+ function initializeEvent(app, db, origins, publicPath, options = {}) {
14
+ console.log('initializeEvent publicPath:', publicPath);
15
+
16
+ // Получаем дополнительные поля для моделей из options
17
+ const { eventFields = {}, ticketFields = {} } = options;
18
+
19
+ // Инициализируем модели с дополнительными полями
20
+ db.event = createEventModel(db, eventFields);
21
+ db.ticket = createTicketModel(db, ticketFields);
18
22
 
19
23
  // Настраиваем маршруты, если объект приложения передан
20
24
  if (app) {
@@ -23,12 +27,11 @@ function initializeEvent(app, db, origins, publicPath) {
23
27
  }
24
28
  }
25
29
 
26
- // Экспортируем функцию инициализации, контроллеры, роуты и модели
27
30
  module.exports = {
28
31
  initialize: initializeEvent,
29
32
  models: {
30
- EventModel,
31
- TicketModel,
33
+ EventModel: createEventModel,
34
+ TicketModel: createTicketModel,
32
35
  },
33
36
  routes: {
34
37
  eventsRoutes,
@@ -3,9 +3,9 @@ const applyEngagementSchema = require('@pf/src/modules/globals/models/schemas/en
3
3
  const applyOwnershipSchema = require('@pf/src/modules/globals/models/schemas/ownership.schema.js');
4
4
  const applyMetadataSchema = require('@pf/src/modules/globals/models/schemas/metadata.schema.js');
5
5
 
6
- module.exports = (db) => {
7
-
8
- const EventSchema = new db.mongoose.Schema({
6
+ module.exports = (db, additionalFields = {}) => {
7
+ // Базовая схема
8
+ const baseSchema = {
9
9
  cover: {
10
10
  type: String,
11
11
  },
@@ -31,42 +31,17 @@ module.exports = (db) => {
31
31
  },
32
32
  specialData: {
33
33
  type: Object,
34
- // default: () => ({
35
- // subtitle: 'NMS Presents',
36
- // ticketPrice: 499,
37
- // ticketText: 'Hurry up and purchase your ticket at a special price of only',
38
- // ticketTextButton: 'Buy Ticket Now →',
39
- // ticketImage: null,
40
- // ticketLinkStripe: null,
41
- // video: null,
42
- // guests: [],
43
- // guestVideo: null,
44
- // guestTitle: null,
45
- // guestDescription: null,
46
- // guestFacebook: null,
47
- // guestInstagram: null,
48
- // guestTelegram: null,
49
- // guestTwitter: null,
50
- // guestSoundcloud: null,
51
- // guestSpotify: null,
52
- // guestYoutube: null,
53
- // paymentContact: null,
54
- // paymentText: 'For extra payment options contact',
55
- // previousTitle: null,
56
- // previousDescription: null,
57
- // previousLink: null,
58
- // previousLinkText: null,
59
- // logos: [],
60
- // lineup: [],
61
- // lineupBackground: null,
62
- // previousVideo: null
63
- // })
64
34
  },
65
- // Adding special boolean property
66
35
  special: {
67
36
  type: Boolean,
68
37
  default: false
69
38
  }
39
+ };
40
+
41
+ // Объединяем базовую схему с дополнительными полями
42
+ const EventSchema = new db.mongoose.Schema({
43
+ ...baseSchema,
44
+ ...additionalFields
70
45
  }, {
71
46
  timestamps: {
72
47
  currentTime: () => Date.now()
@@ -79,13 +54,12 @@ module.exports = (db) => {
79
54
  'date.end': -1,
80
55
  });
81
56
 
82
- applyCommonSchema(EventSchema,db);
83
- applyEngagementSchema(EventSchema,db);
84
- applyOwnershipSchema(EventSchema,db);
85
- applyMetadataSchema(EventSchema,db);
57
+ applyCommonSchema(EventSchema, db);
58
+ applyEngagementSchema(EventSchema, db);
59
+ applyOwnershipSchema(EventSchema, db);
60
+ applyMetadataSchema(EventSchema, db);
86
61
 
87
62
  const Event = db.mongoose.model("Event", EventSchema);
88
63
 
89
64
  return Event;
90
- };
91
-
65
+ };
@@ -14,6 +14,7 @@ module.exports = function(app, db, origins, publicPath) {
14
14
  const webhook = new WebhookStripe(app, db, observer);
15
15
 
16
16
  const controller = controllerFactory(db);
17
+ console.log('payments ticket', publicPath)
17
18
  const controllerTickets = controllerFactoryTickets(db, publicPath);
18
19
 
19
20
  const { verifySignUp, verifyUser } = middlewareFactoryAuth(db);