@ozdao/prometheus-framework 0.2.224 → 0.2.226
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/builder.js +3 -3
- package/dist/builder.mjs +3 -3
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Status/Status.vue.cjs +7 -2
- package/dist/prometheus-framework/src/components/Status/Status.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Status/Status.vue.js +7 -2
- package/dist/prometheus-framework/src/components/Status/Status.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/auth.client.cjs +6 -0
- package/dist/prometheus-framework/src/modules/auth/auth.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/auth.client.js +6 -0
- package/dist/prometheus-framework/src/modules/auth/auth.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.cjs +5 -0
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.js +5 -0
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js.map +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 +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +2 -2
- 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/FormDelivery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.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/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/DetailsTabSection.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +587 -587
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +587 -587
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +2 -2
- 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/LeftoverPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
- 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/layouts/Spots.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.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 +3 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.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 +3 -3
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +8 -3
- package/dist/tickets.controller-BGJZtL9V.mjs +408 -0
- package/dist/tickets.controller-DUsBFD24.js +407 -0
- package/dist/wallet.server.js +1 -1
- package/dist/wallet.server.mjs +1 -1
- package/package.json +1 -1
- package/src/builder/ssr/ssr-render-html.js +1 -1
- package/src/builder/templates/page.js +1 -1
- package/src/builder/webpack/webpack.config.spa.js +1 -1
- package/src/components/Status/Status.vue +4 -2
- package/src/modules/auth/auth.client.js +10 -0
- package/src/modules/events/controllers/utils/templateEmail.js +1 -1
- package/src/modules/events/controllers/utils/templateTicket.js +25 -19
- package/src/modules/globals/views/components/layouts/Client.vue +1 -0
package/dist/builder.js
CHANGED
@@ -62,7 +62,7 @@ var page = `
|
|
62
62
|
<link rel="mask-icon" href="/favicon/safari-pinned-tab.svg" color="#5bbad5">
|
63
63
|
<meta name="msapplication-TileColor" content="#000000">
|
64
64
|
<meta name="theme-color" content="#ffffff">
|
65
|
-
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
|
65
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
66
66
|
{{{ head }}}
|
67
67
|
<!-- Sign in with Apple -->
|
68
68
|
<!-- <script type="text/javascript" src="https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js"></script> -->
|
@@ -105,7 +105,7 @@ const renderHtml$1 = async (stuff) => {
|
|
105
105
|
};
|
106
106
|
const createHtmlRenderer$1 = (onTemplateUpdate) => {
|
107
107
|
setInterval(() => {
|
108
|
-
delete require.cache[
|
108
|
+
delete require.cache[template];
|
109
109
|
if (onTemplateUpdate) {
|
110
110
|
onTemplateUpdate();
|
111
111
|
}
|
@@ -727,7 +727,7 @@ var webpack_config_spa = (projectRoot) => {
|
|
727
727
|
htmlAttrs: 'lang="en"',
|
728
728
|
headAttrs: "",
|
729
729
|
bodyAttrs: "",
|
730
|
-
head: '<meta name="description" content="Example">',
|
730
|
+
// head: '<meta name="description" content="Example">',
|
731
731
|
body: ""
|
732
732
|
};
|
733
733
|
const data = {
|
package/dist/builder.mjs
CHANGED
@@ -39,7 +39,7 @@ var page = `
|
|
39
39
|
<link rel="mask-icon" href="/favicon/safari-pinned-tab.svg" color="#5bbad5">
|
40
40
|
<meta name="msapplication-TileColor" content="#000000">
|
41
41
|
<meta name="theme-color" content="#ffffff">
|
42
|
-
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
|
42
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
43
43
|
{{{ head }}}
|
44
44
|
<!-- Sign in with Apple -->
|
45
45
|
<!-- <script type="text/javascript" src="https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js"></script> -->
|
@@ -82,7 +82,7 @@ const renderHtml$1 = async (stuff) => {
|
|
82
82
|
};
|
83
83
|
const createHtmlRenderer$1 = (onTemplateUpdate) => {
|
84
84
|
setInterval(() => {
|
85
|
-
delete require.cache[
|
85
|
+
delete require.cache[template];
|
86
86
|
if (onTemplateUpdate) {
|
87
87
|
onTemplateUpdate();
|
88
88
|
}
|
@@ -704,7 +704,7 @@ var webpack_config_spa = (projectRoot) => {
|
|
704
704
|
htmlAttrs: 'lang="en"',
|
705
705
|
headAttrs: "",
|
706
706
|
bodyAttrs: "",
|
707
|
-
head: '<meta name="description" content="Example">',
|
707
|
+
// head: '<meta name="description" content="Example">',
|
708
708
|
body: ""
|
709
709
|
};
|
710
710
|
const data = {
|
package/dist/events.server.js
CHANGED
@@ -6,7 +6,7 @@ const queryProcessor$2 = require("./queryProcessor-CcsJEUBr.js");
|
|
6
6
|
const metadata_schema = require("./metadata.schema-6slGhpQS.js");
|
7
7
|
const require$$1 = require("stripe");
|
8
8
|
const index = require("./index-CsS7qx1d.js");
|
9
|
-
const tickets_controller = require("./tickets.controller-
|
9
|
+
const tickets_controller = require("./tickets.controller-DUsBFD24.js");
|
10
10
|
const common_schema = require("./common.schema-BFhpUXUt.js");
|
11
11
|
const engagement_schema = require("./engagement.schema-D-9md46B.js");
|
12
12
|
const ownership_schema = require("./ownership.schema-DN0SlQL6.js");
|
package/dist/events.server.mjs
CHANGED
@@ -4,7 +4,7 @@ import { q as queryProcessor$2 } from "./queryProcessor-CU4A6Y4N.mjs";
|
|
4
4
|
import { s as seoFriendlyUrl, m as metadata_schema } from "./metadata.schema-CK5e2O3f.mjs";
|
5
5
|
import require$$1 from "stripe";
|
6
6
|
import { m as middlewares } from "./index-UIHE6Rk3.mjs";
|
7
|
-
import { t as tickets_controller } from "./tickets.controller-
|
7
|
+
import { t as tickets_controller } from "./tickets.controller-BGJZtL9V.mjs";
|
8
8
|
import { c as common_schema } from "./common.schema-ChBVARrs.mjs";
|
9
9
|
import { e as engagement_schema } from "./engagement.schema-CCdSLKd4.mjs";
|
10
10
|
import { o as ownership_schema } from "./ownership.schema-oyx6eNkZ.mjs";
|
@@ -4,7 +4,7 @@ const vue = require("vue");
|
|
4
4
|
const SkeletonEvent = require("../../modules/icons/skeletons/SkeletonEvent.vue.cjs");
|
5
5
|
const Loader = require("../Loader/Loader.vue2.cjs");
|
6
6
|
const EmptyState = require("../EmptyState/EmptyState.vue.cjs");
|
7
|
-
const Dropdown = require("../Dropdown/Dropdown.
|
7
|
+
const Dropdown = require("../Dropdown/Dropdown.vue2.cjs");
|
8
8
|
const Calendar = require("../DatePicker/Calendar.vue2.cjs");
|
9
9
|
const BottomSheet = require("../BottomSheet/BottomSheet.vue.cjs");
|
10
10
|
const BlockSearch = require("../../modules/globals/views/components/blocks/BlockSearch.vue.cjs");
|
@@ -2,7 +2,7 @@ import { mergeModels, useModel, shallowRef, ref, watch, onMounted, onUnmounted,
|
|
2
2
|
import SkeletonEvent from "../../modules/icons/skeletons/SkeletonEvent.vue.js";
|
3
3
|
import Loader from "../Loader/Loader.vue2.js";
|
4
4
|
import _sfc_main$a from "../EmptyState/EmptyState.vue.js";
|
5
|
-
import _sfc_main$5 from "../Dropdown/Dropdown.
|
5
|
+
import _sfc_main$5 from "../Dropdown/Dropdown.vue2.js";
|
6
6
|
import _sfc_main$7 from "../DatePicker/Calendar.vue2.js";
|
7
7
|
import _sfc_main$3 from "../BottomSheet/BottomSheet.vue.js";
|
8
8
|
import _sfc_main$1 from "../../modules/globals/views/components/blocks/BlockSearch.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 Field = require("../Field/Field.
|
4
|
+
const Field = require("../Field/Field.vue.cjs");
|
5
5
|
const IconArrow = require("../../modules/icons/navigation/IconArrow.vue.cjs");
|
6
6
|
const vueI18n = require("vue-i18n");
|
7
7
|
const _hoisted_1 = { class: "pd-thin radius-extra flex-nowrap flex" };
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref, onMounted, watchEffect, openBlock, createElementBlock, createVNode, unref, isRef, createElementVNode, toDisplayString, createCommentVNode } from "vue";
|
2
|
-
import Field from "../Field/Field.
|
2
|
+
import Field from "../Field/Field.vue.js";
|
3
3
|
import _sfc_main$1 from "../../modules/icons/navigation/IconArrow.vue.js";
|
4
4
|
import { useI18n } from "vue-i18n";
|
5
5
|
const _hoisted_1 = { class: "pd-thin radius-extra flex-nowrap flex" };
|
@@ -15,7 +15,12 @@ const _sfc_main = {
|
|
15
15
|
show: Boolean,
|
16
16
|
data: Object
|
17
17
|
},
|
18
|
-
|
18
|
+
emits: "close",
|
19
|
+
setup(__props, { emit: __emit }) {
|
20
|
+
const emits = __emit;
|
21
|
+
function closeError() {
|
22
|
+
emits("close");
|
23
|
+
}
|
19
24
|
return (_ctx, _cache) => {
|
20
25
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
21
26
|
vue.createElementVNode("div", _hoisted_2, [
|
@@ -24,7 +29,7 @@ const _sfc_main = {
|
|
24
29
|
_hoisted_4
|
25
30
|
]),
|
26
31
|
vue.createVNode(IconCross.default, {
|
27
|
-
onClick: _cache[0] || (_cache[0] = ($event) =>
|
32
|
+
onClick: _cache[0] || (_cache[0] = ($event) => closeError()),
|
28
33
|
class: "cursor-pointer hover-scale-1 i-regular z-index-5"
|
29
34
|
})
|
30
35
|
])
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Status.vue.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"Status.vue.cjs","sources":["../../../../../src/components/Status/Status.vue"],"sourcesContent":["<template>\n\t<div class=\"pd-small error-wrapper\">\n\t\t<div class=\"\n\t\t\tflex-nowrap flex\n\t\t\tradius-small\n\t\t\tpd-small\n\t\t\tt-white \n\t\t\tbg-fourth\n\t\t\">\n\t\t\t<p class=\"w-100\">\n\t\t\t\t{{data.message}}\n\t\t\t\t<!-- <span class=\"t-semi\">Ошибка: {{status}} </span> -->\n\t\t\t\t<br>\n\t\t\t\t<!-- <span>Сообщение: {{message}}</span> -->\n\t\t\t</p>\n\t\t\t\n\t\t\t<IconCross @click=\"closeError()\" class=\"cursor-pointer hover-scale-1 i-regular z-index-5\"/>\n\t\t</div>\n\t</div>\n</template>\n\n\n<script setup=\"props\">\n\timport { computed } from 'vue'\n\timport IconCross from '@pf/src/modules/icons/navigation/IconCross.vue';\n\n\tconst emits = defineEmits('close')\n\n\tconst props = defineProps({\n\t status: String,\n\t message: String,\n\t show: Boolean,\n\t data: Object\n\t})\n\n\tfunction closeError () {\n\t\temits('close')\n\t} \n</script>\n\n<style lang=\"scss\">\n\t.error-wrapper {\n\t\tposition: fixed;\n\t\tleft: 0;\n\t\tright: 0;\n\t\topacity: 0.9\n\t}\n</style>\n\n\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AA0BC,UAAM,QAAQ;AASd,aAAS,aAAc;AACtB,YAAM,OAAO;AAAA,IACb;;;;;;;;;;;;;;;;;;"}
|
@@ -13,7 +13,12 @@ const _sfc_main = {
|
|
13
13
|
show: Boolean,
|
14
14
|
data: Object
|
15
15
|
},
|
16
|
-
|
16
|
+
emits: "close",
|
17
|
+
setup(__props, { emit: __emit }) {
|
18
|
+
const emits = __emit;
|
19
|
+
function closeError() {
|
20
|
+
emits("close");
|
21
|
+
}
|
17
22
|
return (_ctx, _cache) => {
|
18
23
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
19
24
|
createElementVNode("div", _hoisted_2, [
|
@@ -22,7 +27,7 @@ const _sfc_main = {
|
|
22
27
|
_hoisted_4
|
23
28
|
]),
|
24
29
|
createVNode(_sfc_main$1, {
|
25
|
-
onClick: _cache[0] || (_cache[0] = ($event) =>
|
30
|
+
onClick: _cache[0] || (_cache[0] = ($event) => closeError()),
|
26
31
|
class: "cursor-pointer hover-scale-1 i-regular z-index-5"
|
27
32
|
})
|
28
33
|
])
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Status.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"Status.vue.js","sources":["../../../../../src/components/Status/Status.vue"],"sourcesContent":["<template>\n\t<div class=\"pd-small error-wrapper\">\n\t\t<div class=\"\n\t\t\tflex-nowrap flex\n\t\t\tradius-small\n\t\t\tpd-small\n\t\t\tt-white \n\t\t\tbg-fourth\n\t\t\">\n\t\t\t<p class=\"w-100\">\n\t\t\t\t{{data.message}}\n\t\t\t\t<!-- <span class=\"t-semi\">Ошибка: {{status}} </span> -->\n\t\t\t\t<br>\n\t\t\t\t<!-- <span>Сообщение: {{message}}</span> -->\n\t\t\t</p>\n\t\t\t\n\t\t\t<IconCross @click=\"closeError()\" class=\"cursor-pointer hover-scale-1 i-regular z-index-5\"/>\n\t\t</div>\n\t</div>\n</template>\n\n\n<script setup=\"props\">\n\timport { computed } from 'vue'\n\timport IconCross from '@pf/src/modules/icons/navigation/IconCross.vue';\n\n\tconst emits = defineEmits('close')\n\n\tconst props = defineProps({\n\t status: String,\n\t message: String,\n\t show: Boolean,\n\t data: Object\n\t})\n\n\tfunction closeError () {\n\t\temits('close')\n\t} \n</script>\n\n<style lang=\"scss\">\n\t.error-wrapper {\n\t\tposition: fixed;\n\t\tleft: 0;\n\t\tright: 0;\n\t\topacity: 0.9\n\t}\n</style>\n\n\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AA0BC,UAAM,QAAQ;AASd,aAAS,aAAc;AACtB,YAAM,OAAO;AAAA,IACb;;;;;;;;;;;;;;;;;"}
|
@@ -3,6 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
3
3
|
const auth = require("./views/store/auth.cjs");
|
4
4
|
const twofa = require("./views/store/twofa.cjs");
|
5
5
|
const auth$1 = require("./views/router/auth.cjs");
|
6
|
+
const auth_validation = require("./views/middlewares/auth.validation.cjs");
|
6
7
|
const Auth = require("./views/components/layouts/Auth.vue.cjs");
|
7
8
|
const EnterCode = require("./views/components/pages/EnterCode.vue.cjs");
|
8
9
|
const Invite = require("./views/components/pages/Invite.vue.cjs");
|
@@ -14,6 +15,11 @@ const SliderFeatures = require("./views/components/sections/SliderFeatures.vue.c
|
|
14
15
|
function initializeAuth(app, store, router, options = {}) {
|
15
16
|
const route = options.route || "Home";
|
16
17
|
router.addRoute(route, auth$1.default);
|
18
|
+
const homeRoute = router.getRoutes().find((routes) => routes.name === route);
|
19
|
+
if (homeRoute && process.env.MOBILE_APP) {
|
20
|
+
homeRoute.beforeEnter = homeRoute.beforeEnter || [];
|
21
|
+
homeRoute.beforeEnter.push(auth_validation.initUser);
|
22
|
+
}
|
17
23
|
store.addStore("auth", auth);
|
18
24
|
store.addStore("twofa", twofa);
|
19
25
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"auth.client.cjs","sources":["../../../../../src/modules/auth/auth.client.js"],"sourcesContent":["// Store\nimport * as storeAuth from './views/store/auth.js';\nimport * as storeTwofa from './views/store/twofa.js';\n\n// Router\nimport routerAuth from './views/router/auth.js';\n\n// Views\nimport Auth from './views/components/layouts/Auth.vue';\nimport EnterCode from './views/components/pages/EnterCode.vue';\nimport Invite from './views/components/pages/Invite.vue';\nimport EnterPassword from './views/components/pages/EnterPassword.vue';\nimport ResetPassword from './views/components/pages/ResetPassword.vue';\nimport SignUp from './views/components/pages/SignUp.vue';\nimport SignIn from './views/components/pages/SignIn.vue';\n\n// Importing sections components\nimport SliderFeatures from './views/components/sections/SliderFeatures.vue';\n\n// Пример функции инициализации для модуля аутентификации\nfunction initializeAuth(app, store, router, options = {}) {\n const route = options.route || 'Home';\n \n router.addRoute(route, routerAuth);\n \n store.addStore('auth', storeAuth);\n store.addStore('twofa', storeTwofa);\n}\n\nconst ModuleAuth = {\n initialize: initializeAuth,\n views: {\n store: {\n storeAuth,\n storeTwofa\n },\n router: {\n routerAuth\n },\n components: {\n // Layout\n Auth,\n // Pages\n EnterCode,\n Invite,\n EnterPassword,\n ResetPassword,\n SignUp,\n SignIn,\n // Sections\n SliderFeatures\n }\n }\n}\n\nexport default ModuleAuth"],"names":["routerAuth","storeAuth","storeTwofa","Auth","EnterCode","Invite","EnterPassword","ResetPassword","SignUp","SignIn","SliderFeatures"],"mappings":"
|
1
|
+
{"version":3,"file":"auth.client.cjs","sources":["../../../../../src/modules/auth/auth.client.js"],"sourcesContent":["// Store\nimport * as storeAuth from './views/store/auth.js';\nimport * as storeTwofa from './views/store/twofa.js';\n\n// Router\nimport routerAuth from './views/router/auth.js';\n\n// Middlewares\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\n// Views\nimport Auth from './views/components/layouts/Auth.vue';\nimport EnterCode from './views/components/pages/EnterCode.vue';\nimport Invite from './views/components/pages/Invite.vue';\nimport EnterPassword from './views/components/pages/EnterPassword.vue';\nimport ResetPassword from './views/components/pages/ResetPassword.vue';\nimport SignUp from './views/components/pages/SignUp.vue';\nimport SignIn from './views/components/pages/SignIn.vue';\n\n// Importing sections components\nimport SliderFeatures from './views/components/sections/SliderFeatures.vue';\n\n// Пример функции инициализации для модуля аутентификации\nfunction initializeAuth(app, store, router, options = {}) {\n const route = options.route || 'Home';\n \n router.addRoute(route, routerAuth);\n\n const homeRoute = router.getRoutes().find(routes => routes.name === route);\n \n if (homeRoute && process.env.MOBILE_APP) {\n homeRoute.beforeEnter = homeRoute.beforeEnter || [];\n homeRoute.beforeEnter.push(validationAuth.initUser);\n }\n \n store.addStore('auth', storeAuth);\n store.addStore('twofa', storeTwofa);\n}\n\nconst ModuleAuth = {\n initialize: initializeAuth,\n views: {\n store: {\n storeAuth,\n storeTwofa\n },\n router: {\n routerAuth\n },\n components: {\n // Layout\n Auth,\n // Pages\n EnterCode,\n Invite,\n EnterPassword,\n ResetPassword,\n SignUp,\n SignIn,\n // Sections\n SliderFeatures\n }\n }\n}\n\nexport default ModuleAuth"],"names":["routerAuth","validationAuth.initUser","storeAuth","storeTwofa","Auth","EnterCode","Invite","EnterPassword","ResetPassword","SignUp","SignIn","SliderFeatures"],"mappings":";;;;;;;;;;;;;;AAuBA,SAAS,eAAe,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AACxD,QAAM,QAAQ,QAAQ,SAAS;AAE/B,SAAO,SAAS,OAAOA,OAAAA,OAAU;AAEjC,QAAM,YAAY,OAAO,YAAY,KAAK,YAAU,OAAO,SAAS,KAAK;AAEzE,MAAI,aAAa,QAAQ,IAAI,YAAY;AACvC,cAAU,cAAc,UAAU,eAAe,CAAA;AACjD,cAAU,YAAY,KAAKC,gBAAAA,QAAuB;AAAA,EACnD;AAED,QAAM,SAAS,QAAQC,IAAS;AAChC,QAAM,SAAS,SAASC,KAAU;AACpC;AAEK,MAAC,aAAa;AAAA,EACjB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,WAAMD;AAAAA,MACN,YAAMC;AAAAA,IACD;AAAA,IACD,QAAQ;AAAA,MACZ,YAAMH,OAAU;AAAA,IACX;AAAA,IACD,YAAY;AAAA;AAAA,MAEhB,MAAMI,KAAI;AAAA;AAAA,MAEV,WAAMC,UAAS;AAAA,MACf,QAAMC,OAAM;AAAA,MACZ,eAAMC,cAAa;AAAA,MACnB,eAAMC,cAAa;AAAA,MACnB,QAAMC,OAAM;AAAA,MACZ,QAAMC,OAAM;AAAA;AAAA,MAEZ,gBAAMC,eAAc;AAAA,IACf;AAAA,EACF;AACH;;"}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import * as auth from "./views/store/auth.js";
|
2
2
|
import * as twofa from "./views/store/twofa.js";
|
3
3
|
import auth$1 from "./views/router/auth.js";
|
4
|
+
import { initUser } from "./views/middlewares/auth.validation.js";
|
4
5
|
import _sfc_main from "./views/components/layouts/Auth.vue.js";
|
5
6
|
import _sfc_main$1 from "./views/components/pages/EnterCode.vue.js";
|
6
7
|
import _sfc_main$2 from "./views/components/pages/Invite.vue.js";
|
@@ -12,6 +13,11 @@ import _sfc_main$7 from "./views/components/sections/SliderFeatures.vue.js";
|
|
12
13
|
function initializeAuth(app, store, router, options = {}) {
|
13
14
|
const route = options.route || "Home";
|
14
15
|
router.addRoute(route, auth$1);
|
16
|
+
const homeRoute = router.getRoutes().find((routes) => routes.name === route);
|
17
|
+
if (homeRoute && process.env.MOBILE_APP) {
|
18
|
+
homeRoute.beforeEnter = homeRoute.beforeEnter || [];
|
19
|
+
homeRoute.beforeEnter.push(initUser);
|
20
|
+
}
|
15
21
|
store.addStore("auth", auth);
|
16
22
|
store.addStore("twofa", twofa);
|
17
23
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"auth.client.js","sources":["../../../../../src/modules/auth/auth.client.js"],"sourcesContent":["// Store\nimport * as storeAuth from './views/store/auth.js';\nimport * as storeTwofa from './views/store/twofa.js';\n\n// Router\nimport routerAuth from './views/router/auth.js';\n\n// Views\nimport Auth from './views/components/layouts/Auth.vue';\nimport EnterCode from './views/components/pages/EnterCode.vue';\nimport Invite from './views/components/pages/Invite.vue';\nimport EnterPassword from './views/components/pages/EnterPassword.vue';\nimport ResetPassword from './views/components/pages/ResetPassword.vue';\nimport SignUp from './views/components/pages/SignUp.vue';\nimport SignIn from './views/components/pages/SignIn.vue';\n\n// Importing sections components\nimport SliderFeatures from './views/components/sections/SliderFeatures.vue';\n\n// Пример функции инициализации для модуля аутентификации\nfunction initializeAuth(app, store, router, options = {}) {\n const route = options.route || 'Home';\n \n router.addRoute(route, routerAuth);\n \n store.addStore('auth', storeAuth);\n store.addStore('twofa', storeTwofa);\n}\n\nconst ModuleAuth = {\n initialize: initializeAuth,\n views: {\n store: {\n storeAuth,\n storeTwofa\n },\n router: {\n routerAuth\n },\n components: {\n // Layout\n Auth,\n // Pages\n EnterCode,\n Invite,\n EnterPassword,\n ResetPassword,\n SignUp,\n SignIn,\n // Sections\n SliderFeatures\n }\n }\n}\n\nexport default ModuleAuth"],"names":["routerAuth","storeAuth","storeTwofa","Auth","EnterCode","Invite","EnterPassword","ResetPassword","SignUp","SignIn","SliderFeatures"],"mappings":"
|
1
|
+
{"version":3,"file":"auth.client.js","sources":["../../../../../src/modules/auth/auth.client.js"],"sourcesContent":["// Store\nimport * as storeAuth from './views/store/auth.js';\nimport * as storeTwofa from './views/store/twofa.js';\n\n// Router\nimport routerAuth from './views/router/auth.js';\n\n// Middlewares\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\n// Views\nimport Auth from './views/components/layouts/Auth.vue';\nimport EnterCode from './views/components/pages/EnterCode.vue';\nimport Invite from './views/components/pages/Invite.vue';\nimport EnterPassword from './views/components/pages/EnterPassword.vue';\nimport ResetPassword from './views/components/pages/ResetPassword.vue';\nimport SignUp from './views/components/pages/SignUp.vue';\nimport SignIn from './views/components/pages/SignIn.vue';\n\n// Importing sections components\nimport SliderFeatures from './views/components/sections/SliderFeatures.vue';\n\n// Пример функции инициализации для модуля аутентификации\nfunction initializeAuth(app, store, router, options = {}) {\n const route = options.route || 'Home';\n \n router.addRoute(route, routerAuth);\n\n const homeRoute = router.getRoutes().find(routes => routes.name === route);\n \n if (homeRoute && process.env.MOBILE_APP) {\n homeRoute.beforeEnter = homeRoute.beforeEnter || [];\n homeRoute.beforeEnter.push(validationAuth.initUser);\n }\n \n store.addStore('auth', storeAuth);\n store.addStore('twofa', storeTwofa);\n}\n\nconst ModuleAuth = {\n initialize: initializeAuth,\n views: {\n store: {\n storeAuth,\n storeTwofa\n },\n router: {\n routerAuth\n },\n components: {\n // Layout\n Auth,\n // Pages\n EnterCode,\n Invite,\n EnterPassword,\n ResetPassword,\n SignUp,\n SignIn,\n // Sections\n SliderFeatures\n }\n }\n}\n\nexport default ModuleAuth"],"names":["routerAuth","validationAuth.initUser","storeAuth","storeTwofa","Auth","EnterCode","Invite","EnterPassword","ResetPassword","SignUp","SignIn","SliderFeatures"],"mappings":";;;;;;;;;;;;AAuBA,SAAS,eAAe,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AACxD,QAAM,QAAQ,QAAQ,SAAS;AAE/B,SAAO,SAAS,OAAOA,MAAU;AAEjC,QAAM,YAAY,OAAO,YAAY,KAAK,YAAU,OAAO,SAAS,KAAK;AAEzE,MAAI,aAAa,QAAQ,IAAI,YAAY;AACvC,cAAU,cAAc,UAAU,eAAe,CAAA;AACjD,cAAU,YAAY,KAAKC,QAAuB;AAAA,EACnD;AAED,QAAM,SAAS,QAAQC,IAAS;AAChC,QAAM,SAAS,SAASC,KAAU;AACpC;AAEK,MAAC,aAAa;AAAA,EACjB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,WAAMD;AAAAA,MACN,YAAMC;AAAAA,IACD;AAAA,IACD,QAAQ;AAAA,MACZ,YAAMH;AAAAA,IACD;AAAA,IACD,YAAY;AAAA;AAAA,MAEhB,MAAMI;AAAAA;AAAAA,MAEN,WAAMC;AAAAA,MACN,QAAMC;AAAAA,MACN,eAAMC;AAAAA,MACN,eAAMC;AAAAA,MACN,QAAMC;AAAAA,MACN,QAAMC;AAAAA;AAAAA,MAEN,gBAAMC;AAAAA,IACD;AAAA,EACF;AACH;"}
|
@@ -2,9 +2,9 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
;/* empty css */
|
5
|
-
;/* empty css
|
6
|
-
;/* empty css */
|
5
|
+
;/* empty css */
|
7
6
|
;/* empty css */
|
7
|
+
;/* empty css */
|
8
8
|
require("vue-i18n");
|
9
9
|
;/* empty css */
|
10
10
|
const vueRouter = require("vue-router");
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { ref, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, Transition, createBlock, resolveDynamicComponent, createElementVNode } from "vue";
|
2
2
|
/* empty css */
|
3
|
-
/* empty css
|
4
|
-
/* empty css */
|
3
|
+
/* empty css */
|
5
4
|
/* empty css */
|
5
|
+
/* empty css */
|
6
6
|
import "vue-i18n";
|
7
7
|
/* empty css */
|
8
8
|
import { useRoute, useRouter } from "vue-router";
|
@@ -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
|
-
;/* empty css
|
4
|
+
;/* empty css */
|
5
5
|
const vueRouter = require("vue-router");
|
6
6
|
const vueI18n = require("vue-i18n");
|
7
7
|
const auth = require("../../store/auth.cjs");
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { reactive, watch, ref, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, withDirectives, vModelText } from "vue";
|
2
|
-
/* empty css
|
2
|
+
/* empty css */
|
3
3
|
import { useRoute, useRouter } from "vue-router";
|
4
4
|
import { useI18n } from "vue-i18n";
|
5
5
|
import { state as state$1 } from "../../store/auth.js";
|
package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
;/* empty css */
|
5
|
-
const Field = require("../../../../../components/Field/Field.
|
6
|
-
const Button = require("../../../../../components/Button/Button.
|
5
|
+
const Field = require("../../../../../components/Field/Field.vue.cjs");
|
6
|
+
const Button = require("../../../../../components/Button/Button.vue.cjs");
|
7
7
|
const vueRouter = require("vue-router");
|
8
8
|
const vueI18n = require("vue-i18n");
|
9
9
|
const auth = require("../../store/auth.cjs");
|
package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ref, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, createVNode, createTextVNode, createCommentVNode, withCtx } from "vue";
|
2
2
|
/* empty css */
|
3
|
-
import Field from "../../../../../components/Field/Field.
|
4
|
-
import _sfc_main$1 from "../../../../../components/Button/Button.
|
3
|
+
import Field from "../../../../../components/Field/Field.vue.js";
|
4
|
+
import _sfc_main$1 from "../../../../../components/Button/Button.vue.js";
|
5
5
|
import { useRoute, useRouter } from "vue-router";
|
6
6
|
import { useI18n } from "vue-i18n";
|
7
7
|
import { state, actions } from "../../store/auth.js";
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
;/* empty css */
|
5
|
-
const Field = require("../../../../../components/Field/Field.
|
6
|
-
const Button = require("../../../../../components/Button/Button.
|
5
|
+
const Field = require("../../../../../components/Field/Field.vue.cjs");
|
6
|
+
const Button = require("../../../../../components/Button/Button.vue.cjs");
|
7
7
|
const vueRouter = require("vue-router");
|
8
8
|
const auth = require("../../store/auth.cjs");
|
9
9
|
const invites = require("../../../../organizations/store/invites.cjs");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ref, onMounted, openBlock, createElementBlock, createElementVNode, createVNode, withCtx } from "vue";
|
2
2
|
/* empty css */
|
3
|
-
import Field from "../../../../../components/Field/Field.
|
4
|
-
import _sfc_main$1 from "../../../../../components/Button/Button.
|
3
|
+
import Field from "../../../../../components/Field/Field.vue.js";
|
4
|
+
import _sfc_main$1 from "../../../../../components/Button/Button.vue.js";
|
5
5
|
import { useRoute, useRouter } from "vue-router";
|
6
6
|
import { state, actions as actions$1 } from "../../store/auth.js";
|
7
7
|
import { actions } from "../../../../organizations/store/invites.js";
|
package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const Tab = require("../../../../../components/Tab/Tab.vue2.cjs");
|
5
|
-
const Field = require("../../../../../components/Field/Field.
|
5
|
+
const Field = require("../../../../../components/Field/Field.vue.cjs");
|
6
6
|
const FieldPhone = require("../../../../../components/FieldPhone/FieldPhone.vue.cjs");
|
7
|
-
const Button = require("../../../../../components/Button/Button.
|
7
|
+
const Button = require("../../../../../components/Button/Button.vue.cjs");
|
8
8
|
const vueRouter = require("vue-router");
|
9
9
|
const vueI18n = require("vue-i18n");
|
10
10
|
const ResetPassword = require("../../localization/ResetPassword.json.cjs");
|
package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { ref, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, createVNode, Transition, withCtx, createCommentVNode, createTextVNode } from "vue";
|
2
2
|
import _sfc_main$1 from "../../../../../components/Tab/Tab.vue2.js";
|
3
|
-
import Field from "../../../../../components/Field/Field.
|
3
|
+
import Field from "../../../../../components/Field/Field.vue.js";
|
4
4
|
import _sfc_main$2 from "../../../../../components/FieldPhone/FieldPhone.vue.js";
|
5
|
-
import _sfc_main$3 from "../../../../../components/Button/Button.
|
5
|
+
import _sfc_main$3 from "../../../../../components/Button/Button.vue.js";
|
6
6
|
import { useRoute, useRouter } from "vue-router";
|
7
7
|
import { useI18n } from "vue-i18n";
|
8
8
|
import text from "../../localization/ResetPassword.json.js";
|
@@ -2,9 +2,9 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const Tab = require("../../../../../components/Tab/Tab.vue2.cjs");
|
5
|
-
const Field = require("../../../../../components/Field/Field.
|
5
|
+
const Field = require("../../../../../components/Field/Field.vue.cjs");
|
6
6
|
const FieldPhone = require("../../../../../components/FieldPhone/FieldPhone.vue.cjs");
|
7
|
-
const Button = require("../../../../../components/Button/Button.
|
7
|
+
const Button = require("../../../../../components/Button/Button.vue.cjs");
|
8
8
|
const vueRouter = require("vue-router");
|
9
9
|
const vueI18n = require("vue-i18n");
|
10
10
|
const SignIn = require("../../localization/SignIn.json.cjs");
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { ref, onMounted, resolveComponent, openBlock, createElementBlock, createElementVNode, createTextVNode, toDisplayString, unref, createVNode, withCtx, Transition, withDirectives, vShow } from "vue";
|
2
2
|
import _sfc_main$1 from "../../../../../components/Tab/Tab.vue2.js";
|
3
|
-
import Field from "../../../../../components/Field/Field.
|
3
|
+
import Field from "../../../../../components/Field/Field.vue.js";
|
4
4
|
import _sfc_main$2 from "../../../../../components/FieldPhone/FieldPhone.vue.js";
|
5
|
-
import _sfc_main$3 from "../../../../../components/Button/Button.
|
5
|
+
import _sfc_main$3 from "../../../../../components/Button/Button.vue.js";
|
6
6
|
import { useRoute, useRouter } from "vue-router";
|
7
7
|
import { useI18n } from "vue-i18n";
|
8
8
|
import text from "../../localization/SignIn.json.js";
|
@@ -2,9 +2,9 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const Tab = require("../../../../../components/Tab/Tab.vue2.cjs");
|
5
|
-
const Field = require("../../../../../components/Field/Field.
|
5
|
+
const Field = require("../../../../../components/Field/Field.vue.cjs");
|
6
6
|
const FieldPhone = require("../../../../../components/FieldPhone/FieldPhone.vue.cjs");
|
7
|
-
const Button = require("../../../../../components/Button/Button.
|
7
|
+
const Button = require("../../../../../components/Button/Button.vue.cjs");
|
8
8
|
const vueRouter = require("vue-router");
|
9
9
|
const vueI18n = require("vue-i18n");
|
10
10
|
const SignUp = require("../../localization/SignUp.json.cjs");
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { ref, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, createVNode, Transition, withCtx, withDirectives, vShow, createTextVNode } from "vue";
|
2
2
|
import _sfc_main$1 from "../../../../../components/Tab/Tab.vue2.js";
|
3
|
-
import Field from "../../../../../components/Field/Field.
|
3
|
+
import Field from "../../../../../components/Field/Field.vue.js";
|
4
4
|
import _sfc_main$2 from "../../../../../components/FieldPhone/FieldPhone.vue.js";
|
5
|
-
import _sfc_main$3 from "../../../../../components/Button/Button.
|
5
|
+
import _sfc_main$3 from "../../../../../components/Button/Button.vue.js";
|
6
6
|
import { useRoute, useRouter } from "vue-router";
|
7
7
|
import { useI18n } from "vue-i18n";
|
8
8
|
import text from "../../localization/SignUp.json.js";
|
@@ -8,6 +8,10 @@ function resetUser(to, from, next) {
|
|
8
8
|
auth.state.user.password = "";
|
9
9
|
auth.state.user.passwordRepeat = "";
|
10
10
|
}
|
11
|
+
async function initUser(to, from, next) {
|
12
|
+
await (void 0)();
|
13
|
+
next();
|
14
|
+
}
|
11
15
|
function checkUser(to, from, next) {
|
12
16
|
if (auth.state.user.phone === "" && auth.state.user.email === "") {
|
13
17
|
next("/auth/signin");
|
@@ -43,6 +47,7 @@ async function requiresAdmin(to, from, next) {
|
|
43
47
|
next();
|
44
48
|
}
|
45
49
|
exports.checkUser = checkUser;
|
50
|
+
exports.initUser = initUser;
|
46
51
|
exports.requiresAdmin = requiresAdmin;
|
47
52
|
exports.requiresAuth = requiresAuth;
|
48
53
|
exports.requiresNoAuth = requiresNoAuth;
|
package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"auth.validation.cjs","sources":["../../../../../../../src/modules/auth/views/middlewares/auth.validation.js"],"sourcesContent":["import * as auth from '@pf/src/modules/auth/views/store/auth'\n\nfunction resetUser(to, from, next) {\n next()\n auth.state.user.phone = ''\n auth.state.user.email = ''\n auth.state.user.password = ''\n auth.state.user.passwordRepeat = ''\n}\n\nasync function initUser(to, from, next) {\n await auth.initialize();\n next()\n}\n\n\n// Check state before open\nfunction checkUser(to, from, next) {\n if (auth.state.user.phone === '' && auth.state.user.email === '') {\n next('/auth/signin')\n } else {\n next()\n }\n}\n\nfunction requiresNoAuth(to, from, next) {\n\n const isLogin = auth.state.access.status;\n\n console.log(isLogin)\n console.log(auth.state.access)\n\n console.log('')\n\n if (isLogin) {\n\n console.log('havee login')\n return next('/profile/' + auth.state.user._id);\n }\n\n console.log('not have login')\n\n next();\n}\n\nfunction requiresAuth(to, from, next) {\n const isLogin = auth.state.access.status;\n\n if (isLogin !== true) {\n return next('/auth/signin');\n }\n\n next();\n}\n\nasync function requiresAdmin(to, from, next) {\n\n const isAdmin = auth.state.access.roles?.includes('ROLE_ADMIN') ? auth.state.access.roles.includes('ROLE_ADMIN') : false;\n\n if (isAdmin !== true) {\n return next('/401');\n }\n\n next();\n}\n\n\n\nexport {\n requiresNoAuth,\n requiresAuth,\n requiresAdmin,\n resetUser,\n checkUser,\n initUser\n}"],"names":["auth.state"],"mappings":";;;AAEA,SAAS,UAAU,IAAI,MAAM,MAAM;AACjC,OAAM;AACNA,aAAW,KAAK,QAAQ;AACxBA,aAAW,KAAK,QAAQ;AACxBA,aAAW,KAAK,WAAW;AAC3BA,aAAW,KAAK,iBAAiB;AACnC;
|
1
|
+
{"version":3,"file":"auth.validation.cjs","sources":["../../../../../../../src/modules/auth/views/middlewares/auth.validation.js"],"sourcesContent":["import * as auth from '@pf/src/modules/auth/views/store/auth'\n\nfunction resetUser(to, from, next) {\n next()\n auth.state.user.phone = ''\n auth.state.user.email = ''\n auth.state.user.password = ''\n auth.state.user.passwordRepeat = ''\n}\n\nasync function initUser(to, from, next) {\n await auth.initialize();\n next()\n}\n\n\n// Check state before open\nfunction checkUser(to, from, next) {\n if (auth.state.user.phone === '' && auth.state.user.email === '') {\n next('/auth/signin')\n } else {\n next()\n }\n}\n\nfunction requiresNoAuth(to, from, next) {\n\n const isLogin = auth.state.access.status;\n\n console.log(isLogin)\n console.log(auth.state.access)\n\n console.log('')\n\n if (isLogin) {\n\n console.log('havee login')\n return next('/profile/' + auth.state.user._id);\n }\n\n console.log('not have login')\n\n next();\n}\n\nfunction requiresAuth(to, from, next) {\n const isLogin = auth.state.access.status;\n\n if (isLogin !== true) {\n return next('/auth/signin');\n }\n\n next();\n}\n\nasync function requiresAdmin(to, from, next) {\n\n const isAdmin = auth.state.access.roles?.includes('ROLE_ADMIN') ? auth.state.access.roles.includes('ROLE_ADMIN') : false;\n\n if (isAdmin !== true) {\n return next('/401');\n }\n\n next();\n}\n\n\n\nexport {\n requiresNoAuth,\n requiresAuth,\n requiresAdmin,\n resetUser,\n checkUser,\n initUser\n}"],"names":["auth.state","auth.initialize"],"mappings":";;;AAEA,SAAS,UAAU,IAAI,MAAM,MAAM;AACjC,OAAM;AACNA,aAAW,KAAK,QAAQ;AACxBA,aAAW,KAAK,QAAQ;AACxBA,aAAW,KAAK,WAAW;AAC3BA,aAAW,KAAK,iBAAiB;AACnC;AAEA,eAAe,SAAS,IAAI,MAAM,MAAM;AACtC,QAAMC,SAAe;AACrB,OAAM;AACR;AAIA,SAAS,UAAU,IAAI,MAAM,MAAM;AACjC,MAAID,KAAU,MAAC,KAAK,UAAU,MAAMA,KAAAA,MAAW,KAAK,UAAU,IAAI;AAChE,SAAK,cAAc;AAAA,EACvB,OAAS;AACL,SAAM;AAAA,EACP;AACH;AAEA,SAAS,eAAe,IAAI,MAAM,MAAM;AAEtC,QAAM,UAAUA,KAAAA,MAAW,OAAO;AAElC,UAAQ,IAAI,OAAO;AACjB,UAAQ,IAAIA,KAAU,MAAC,MAAM;AAE/B,UAAQ,IAAI,EAAE;AAEd,MAAI,SAAS;AAEX,YAAQ,IAAI,aAAa;AACzB,WAAO,KAAK,cAAcA,KAAU,MAAC,KAAK,GAAG;AAAA,EAC9C;AAED,UAAQ,IAAI,gBAAgB;AAE5B;AACF;AAEA,SAAS,aAAa,IAAI,MAAM,MAAM;AACpC,QAAM,UAAUA,KAAAA,MAAW,OAAO;AAElC,MAAI,YAAY,MAAM;AACpB,WAAO,KAAK,cAAc;AAAA,EAC3B;AAED;AACF;AAEA,eAAe,cAAc,IAAI,MAAM,MAAM;;AAE3C,QAAM,YAAUA,UAAU,MAAC,OAAO,UAAlBA,mBAAyB,SAAS,iBAAgBA,KAAU,MAAC,OAAO,MAAM,SAAS,YAAY,IAAI;AAEnH,MAAI,YAAY,MAAM;AACpB,WAAO,KAAK,MAAM;AAAA,EACnB;AAED;AACF;;;;;;;"}
|
@@ -6,6 +6,10 @@ function resetUser(to, from, next) {
|
|
6
6
|
state.user.password = "";
|
7
7
|
state.user.passwordRepeat = "";
|
8
8
|
}
|
9
|
+
async function initUser(to, from, next) {
|
10
|
+
await (void 0)();
|
11
|
+
next();
|
12
|
+
}
|
9
13
|
function checkUser(to, from, next) {
|
10
14
|
if (state.user.phone === "" && state.user.email === "") {
|
11
15
|
next("/auth/signin");
|
@@ -42,6 +46,7 @@ async function requiresAdmin(to, from, next) {
|
|
42
46
|
}
|
43
47
|
export {
|
44
48
|
checkUser,
|
49
|
+
initUser,
|
45
50
|
requiresAdmin,
|
46
51
|
requiresAuth,
|
47
52
|
requiresNoAuth,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"auth.validation.js","sources":["../../../../../../../src/modules/auth/views/middlewares/auth.validation.js"],"sourcesContent":["import * as auth from '@pf/src/modules/auth/views/store/auth'\n\nfunction resetUser(to, from, next) {\n next()\n auth.state.user.phone = ''\n auth.state.user.email = ''\n auth.state.user.password = ''\n auth.state.user.passwordRepeat = ''\n}\n\nasync function initUser(to, from, next) {\n await auth.initialize();\n next()\n}\n\n\n// Check state before open\nfunction checkUser(to, from, next) {\n if (auth.state.user.phone === '' && auth.state.user.email === '') {\n next('/auth/signin')\n } else {\n next()\n }\n}\n\nfunction requiresNoAuth(to, from, next) {\n\n const isLogin = auth.state.access.status;\n\n console.log(isLogin)\n console.log(auth.state.access)\n\n console.log('')\n\n if (isLogin) {\n\n console.log('havee login')\n return next('/profile/' + auth.state.user._id);\n }\n\n console.log('not have login')\n\n next();\n}\n\nfunction requiresAuth(to, from, next) {\n const isLogin = auth.state.access.status;\n\n if (isLogin !== true) {\n return next('/auth/signin');\n }\n\n next();\n}\n\nasync function requiresAdmin(to, from, next) {\n\n const isAdmin = auth.state.access.roles?.includes('ROLE_ADMIN') ? auth.state.access.roles.includes('ROLE_ADMIN') : false;\n\n if (isAdmin !== true) {\n return next('/401');\n }\n\n next();\n}\n\n\n\nexport {\n requiresNoAuth,\n requiresAuth,\n requiresAdmin,\n resetUser,\n checkUser,\n initUser\n}"],"names":["auth.state"],"mappings":";AAEA,SAAS,UAAU,IAAI,MAAM,MAAM;AACjC,OAAM;AACNA,QAAW,KAAK,QAAQ;AACxBA,QAAW,KAAK,QAAQ;AACxBA,QAAW,KAAK,WAAW;AAC3BA,QAAW,KAAK,iBAAiB;AACnC;
|
1
|
+
{"version":3,"file":"auth.validation.js","sources":["../../../../../../../src/modules/auth/views/middlewares/auth.validation.js"],"sourcesContent":["import * as auth from '@pf/src/modules/auth/views/store/auth'\n\nfunction resetUser(to, from, next) {\n next()\n auth.state.user.phone = ''\n auth.state.user.email = ''\n auth.state.user.password = ''\n auth.state.user.passwordRepeat = ''\n}\n\nasync function initUser(to, from, next) {\n await auth.initialize();\n next()\n}\n\n\n// Check state before open\nfunction checkUser(to, from, next) {\n if (auth.state.user.phone === '' && auth.state.user.email === '') {\n next('/auth/signin')\n } else {\n next()\n }\n}\n\nfunction requiresNoAuth(to, from, next) {\n\n const isLogin = auth.state.access.status;\n\n console.log(isLogin)\n console.log(auth.state.access)\n\n console.log('')\n\n if (isLogin) {\n\n console.log('havee login')\n return next('/profile/' + auth.state.user._id);\n }\n\n console.log('not have login')\n\n next();\n}\n\nfunction requiresAuth(to, from, next) {\n const isLogin = auth.state.access.status;\n\n if (isLogin !== true) {\n return next('/auth/signin');\n }\n\n next();\n}\n\nasync function requiresAdmin(to, from, next) {\n\n const isAdmin = auth.state.access.roles?.includes('ROLE_ADMIN') ? auth.state.access.roles.includes('ROLE_ADMIN') : false;\n\n if (isAdmin !== true) {\n return next('/401');\n }\n\n next();\n}\n\n\n\nexport {\n requiresNoAuth,\n requiresAuth,\n requiresAdmin,\n resetUser,\n checkUser,\n initUser\n}"],"names":["auth.state","auth.initialize"],"mappings":";AAEA,SAAS,UAAU,IAAI,MAAM,MAAM;AACjC,OAAM;AACNA,QAAW,KAAK,QAAQ;AACxBA,QAAW,KAAK,QAAQ;AACxBA,QAAW,KAAK,WAAW;AAC3BA,QAAW,KAAK,iBAAiB;AACnC;AAEA,eAAe,SAAS,IAAI,MAAM,MAAM;AACtC,QAAMC,SAAe;AACrB,OAAM;AACR;AAIA,SAAS,UAAU,IAAI,MAAM,MAAM;AACjC,MAAID,MAAW,KAAK,UAAU,MAAMA,MAAW,KAAK,UAAU,IAAI;AAChE,SAAK,cAAc;AAAA,EACvB,OAAS;AACL,SAAM;AAAA,EACP;AACH;AAEA,SAAS,eAAe,IAAI,MAAM,MAAM;AAEtC,QAAM,UAAUA,MAAW,OAAO;AAElC,UAAQ,IAAI,OAAO;AACjB,UAAQ,IAAIA,MAAW,MAAM;AAE/B,UAAQ,IAAI,EAAE;AAEd,MAAI,SAAS;AAEX,YAAQ,IAAI,aAAa;AACzB,WAAO,KAAK,cAAcA,MAAW,KAAK,GAAG;AAAA,EAC9C;AAED,UAAQ,IAAI,gBAAgB;AAE5B;AACF;AAEA,SAAS,aAAa,IAAI,MAAM,MAAM;AACpC,QAAM,UAAUA,MAAW,OAAO;AAElC,MAAI,YAAY,MAAM;AACpB,WAAO,KAAK,cAAc;AAAA,EAC3B;AAED;AACF;AAEA,eAAe,cAAc,IAAI,MAAM,MAAM;;AAE3C,QAAM,YAAUA,WAAW,OAAO,UAAlBA,mBAAyB,SAAS,iBAAgBA,MAAW,OAAO,MAAM,SAAS,YAAY,IAAI;AAEnH,MAAI,YAAY,MAAM;AACpB,WAAO,KAAK,MAAM;AAAA,EACnB;AAED;AACF;"}
|
package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs
CHANGED
@@ -4,7 +4,7 @@ const vue = require("vue");
|
|
4
4
|
const CardHeader = require("../../../globals/views/components/blocks/CardHeader.vue.cjs");
|
5
5
|
const FooterBlogpost = require("./FooterBlogpost.vue.cjs");
|
6
6
|
const Text = require("../../../../components/Text/Text.vue.cjs");
|
7
|
-
;/* empty css
|
7
|
+
;/* empty css */
|
8
8
|
const vueRouter = require("vue-router");
|
9
9
|
const _hoisted_1 = { class: "pos-relative bg-light radius-big flex-column flex" };
|
10
10
|
const _hoisted_2 = { class: "pd-t-zero pd-b-zero pd-medium" };
|
package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js
CHANGED
@@ -2,7 +2,7 @@ import { computed, openBlock, createElementBlock, createVNode, normalizeClass, c
|
|
2
2
|
import _sfc_main$1 from "../../../globals/views/components/blocks/CardHeader.vue.js";
|
3
3
|
import _sfc_main$3 from "./FooterBlogpost.vue.js";
|
4
4
|
import _sfc_main$2 from "../../../../components/Text/Text.vue.js";
|
5
|
-
/* empty css
|
5
|
+
/* empty css */
|
6
6
|
import { useRouter } from "vue-router";
|
7
7
|
const _hoisted_1 = { class: "pos-relative bg-light radius-big flex-column flex" };
|
8
8
|
const _hoisted_2 = { class: "pd-t-zero pd-b-zero pd-medium" };
|
@@ -7,8 +7,8 @@ const EmptyState = require("../../../../components/EmptyState/EmptyState.vue.cjs
|
|
7
7
|
const CardBlogpost = require("../blocks/CardBlogpost.vue.cjs");
|
8
8
|
const SkeletonBlogpost = require("../../../icons/skeletons/SkeletonBlogpost.vue.cjs");
|
9
9
|
const vueRouter = require("vue-router");
|
10
|
-
;/* empty css
|
11
|
-
;/* empty css
|
10
|
+
;/* empty css */
|
11
|
+
;/* empty css */
|
12
12
|
const auth = require("../../../auth/views/store/auth.cjs");
|
13
13
|
require("../../../organizations/store/memberships.cjs");
|
14
14
|
require("../../../organizations/store/organizations.cjs");
|
@@ -5,8 +5,8 @@ import _sfc_main$1 from "../../../../components/EmptyState/EmptyState.vue.js";
|
|
5
5
|
import _sfc_main$2 from "../blocks/CardBlogpost.vue.js";
|
6
6
|
import SkeletonBlogpost from "../../../icons/skeletons/SkeletonBlogpost.vue.js";
|
7
7
|
import { useRoute } from "vue-router";
|
8
|
-
/* empty css
|
9
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
|
+
/* empty css */
|
10
10
|
import { state as state$1 } from "../../../auth/views/store/auth.js";
|
11
11
|
import "../../../organizations/store/memberships.js";
|
12
12
|
import "../../../organizations/store/organizations.js";
|
@@ -1,11 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
|
-
;/* empty css
|
4
|
+
;/* empty css */
|
5
5
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
|
6
6
|
;/* empty css */
|
7
7
|
;/* empty css */
|
8
|
-
;/* empty css
|
8
|
+
;/* empty css */
|
9
9
|
require("axios");
|
10
10
|
;/* empty css */
|
11
11
|
const CardBlogpost = require("../blocks/CardBlogpost.vue.cjs");
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { withAsyncContext, ref, computed, openBlock, createElementBlock, createElementVNode, unref, Fragment, renderList, createBlock, withCtx, pushScopeId, popScopeId } from "vue";
|
2
|
-
/* empty css
|
2
|
+
/* empty css */
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
4
4
|
/* empty css */
|
5
5
|
/* empty css */
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
7
|
import "axios";
|
8
8
|
/* empty css */
|
9
9
|
import _sfc_main$1 from "../blocks/CardBlogpost.vue.js";
|
package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs
CHANGED
@@ -9,9 +9,9 @@ const Popup = require("../../../../components/Popup/Popup.vue.cjs");
|
|
9
9
|
;/* empty css */
|
10
10
|
const BlockTags = require("../../../../components/FieldTags/BlockTags.vue.cjs");
|
11
11
|
const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
|
12
|
-
const Field = require("../../../../components/Field/Field.
|
12
|
+
const Field = require("../../../../components/Field/Field.vue.cjs");
|
13
13
|
const SelectMulti = require("../../../../components/SelectMulti/SelectMulti.vue.cjs");
|
14
|
-
const Button = require("../../../../components/Button/Button.
|
14
|
+
const Button = require("../../../../components/Button/Button.vue.cjs");
|
15
15
|
const vueRouter = require("vue-router");
|
16
16
|
const blogposts = require("../../store/blogposts.cjs");
|
17
17
|
const auth = require("../../../auth/views/store/auth.cjs");
|
package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js
CHANGED
@@ -7,9 +7,9 @@ import _sfc_main$2 from "../../../../components/Popup/Popup.vue.js";
|
|
7
7
|
/* empty css */
|
8
8
|
import _sfc_main$3 from "../../../../components/FieldTags/BlockTags.vue.js";
|
9
9
|
import _sfc_main$4 from "../../../../components/Checkbox/Checkbox.vue.js";
|
10
|
-
import Field from "../../../../components/Field/Field.
|
10
|
+
import Field from "../../../../components/Field/Field.vue.js";
|
11
11
|
import SelectMulti from "../../../../components/SelectMulti/SelectMulti.vue.js";
|
12
|
-
import _sfc_main$5 from "../../../../components/Button/Button.
|
12
|
+
import _sfc_main$5 from "../../../../components/Button/Button.vue.js";
|
13
13
|
import { useRoute, useRouter } from "vue-router";
|
14
14
|
import { read, clean, state as state$1, update, create, remove } from "../../store/blogposts.js";
|
15
15
|
import { state } from "../../../auth/views/store/auth.js";
|