@ozdao/prometheus-framework 0.2.306 → 0.2.307
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/chats.server.js +3 -2
- package/dist/chats.server.mjs +3 -2
- package/dist/main.css +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +2 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +3 -2
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/EmptyState/EmptyState.vue.cjs +2 -2
- package/dist/prometheus-framework/src/components/EmptyState/EmptyState.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/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/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +34 -25
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +37 -28
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +5 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +5 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +502 -502
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +502 -502
- 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/pages/CategoryEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +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/Products.vue.cjs +28 -13
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +32 -17
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/Filters.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/Filters.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/router/products.router.cjs +12 -0
- package/dist/prometheus-framework/src/modules/products/router/products.router.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/router/products.router.js +12 -0
- package/dist/prometheus-framework/src/modules/products/router/products.router.js.map +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/SpotMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.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 +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +1 -1
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +4 -3
- package/dist/wallet.server.js +1 -1
- package/dist/wallet.server.mjs +1 -1
- package/package.json +1 -1
- package/src/components/Chips/Chips.vue +2 -1
- package/src/components/EmptyState/EmptyState.vue +1 -1
- package/src/modules/chats/routes/chats.routes.js +5 -8
- package/src/modules/globals/views/components/layouts/Client.vue +1 -1
- package/src/modules/organizations/components/blocks/CardOrganization.vue +13 -10
- package/src/modules/organizations/components/pages/Organizations.vue +43 -42
- package/src/modules/products/components/pages/Products.vue +37 -26
- package/src/modules/products/router/products.router.js +15 -0
- package/src/modules/wallet/controllers/factories/rewards.factory.js +1 -0
- package/src/modules/wallet/wallet.server.js +1 -1
- package/src/styles/typography.scss +5 -6
@@ -1,6 +1,6 @@
|
|
1
1
|
<template>
|
2
2
|
<div>
|
3
|
-
|
3
|
+
<header v-if="!MOBILE_APP" class="pd-small bg-red flex-v-center flex-nowrap flex">
|
4
4
|
<h2 class="mn-r-medium">Groups</h2>
|
5
5
|
<button
|
6
6
|
@click="$router.push({
|
@@ -18,7 +18,6 @@
|
|
18
18
|
+
|
19
19
|
</button>
|
20
20
|
</header>
|
21
|
-
|
22
21
|
<Tab
|
23
22
|
v-model:selected="tabOrganization"
|
24
23
|
:tabs="[
|
@@ -26,6 +25,7 @@
|
|
26
25
|
{ name: 'Member', value: 'member' },
|
27
26
|
{ name: 'Follower', value: 'follower' }
|
28
27
|
]"
|
28
|
+
style="flex: 1 0 auto;"
|
29
29
|
class="
|
30
30
|
o-hidden
|
31
31
|
h5
|
@@ -35,46 +35,47 @@
|
|
35
35
|
"
|
36
36
|
tabClass="bg-light pd-small radius-small w-100"
|
37
37
|
/>
|
38
|
-
<div class="pd-small">
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
</
|
38
|
+
<div class="pd-small h-100 bg-white">
|
39
|
+
<transition name="slide-fade">
|
40
|
+
<Feed
|
41
|
+
:showLoadMore="false"
|
42
|
+
:search="{
|
43
|
+
placeholder: 'Search organization...',
|
44
|
+
class: 'mn-b-small'
|
45
|
+
}"
|
46
|
+
:states="{
|
47
|
+
empty: {
|
48
|
+
title: 'No organizations Found',
|
49
|
+
description: 'Currently, there are no such organizations available.'
|
50
|
+
}
|
51
|
+
}"
|
52
|
+
:store="{
|
53
|
+
read: (options) => organizations.actions.read(options),
|
54
|
+
state: null
|
55
|
+
}"
|
56
|
+
:options="{
|
57
|
+
user: auth.state.user._id,
|
58
|
+
[tabOrganization === 'owner' ? 'owner' :
|
59
|
+
tabOrganization === 'member' ? 'member' : 'subscriber']: route.params._id,
|
60
|
+
lookup: ['memberships']
|
61
|
+
}"
|
62
|
+
v-slot="{
|
63
|
+
items
|
64
|
+
}"
|
65
|
+
style="height: 200rem"
|
66
|
+
>
|
67
|
+
<CardOrganization
|
68
|
+
v-for="(organization, index) in items"
|
69
|
+
v-memo="[organization._id, organization.profile.name]"
|
70
|
+
:organization="organization"
|
71
|
+
:showRating="true"
|
72
|
+
:showFollowers="true"
|
73
|
+
:showProducts="false"
|
74
|
+
class="bg-light mn-b-thin w-100 o-hidden radius-big pd-medium"
|
75
|
+
/>
|
76
|
+
</Feed>
|
77
|
+
</transition>
|
78
|
+
</div>
|
78
79
|
</div>
|
79
80
|
</template>
|
80
81
|
|
@@ -1,18 +1,18 @@
|
|
1
1
|
<template>
|
2
|
-
<div>
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
2
|
+
<div class="h-100">
|
3
|
+
<header
|
4
|
+
v-if="route.name !== 'Organization' && !MOBILE_APP"
|
5
|
+
class="mn-b-medium flex-v-center flex-nowrap flex"
|
6
|
+
>
|
7
|
+
<h2 class="mn-r-medium">Products</h2>
|
8
|
+
<button
|
9
|
+
@click="$router.push({
|
10
|
+
name: route.params._id ? 'Organization_ProductAdd' : 'ProductAdd'
|
11
|
+
})"
|
12
|
+
class="radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second">
|
13
|
+
+
|
14
|
+
</button>
|
15
|
+
</header>
|
16
16
|
|
17
17
|
<Tab
|
18
18
|
v-if="route.name !== 'Organization'"
|
@@ -23,27 +23,38 @@
|
|
23
23
|
{ name: 'Unpublished', value: 'unpublished' },
|
24
24
|
{ name: 'Archivied', value: 'archivied' }
|
25
25
|
]"
|
26
|
-
|
26
|
+
style="flex: 0 0 auto"
|
27
|
+
class="
|
28
|
+
o-hidden
|
29
|
+
h5
|
30
|
+
bg-light
|
31
|
+
gap-micro pd-small pd-t-thin pd-b-thin
|
32
|
+
pos-sticky pos-t-0
|
33
|
+
z-index-1
|
34
|
+
"
|
35
|
+
tabClass="bg-white pd-small radius-small w-100"
|
27
36
|
/>
|
28
37
|
|
29
|
-
<div class="cols-2-1_3
|
38
|
+
<div class="cols-2-1_3 h-100 z-index-3 pos-relative radius-big gap-thin">
|
30
39
|
|
31
40
|
<BlockFilter
|
32
41
|
v-model:filter="marketplace.state.filter"
|
33
42
|
:options="marketplace.state.filter.options"
|
34
|
-
class="h-100 w-100 desktop-only"
|
43
|
+
class="h-100 w-100 z-index-2 desktop-only"
|
35
44
|
/>
|
36
45
|
|
37
46
|
|
38
|
-
<div class="rows-1">
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
47
|
+
<div class="rows-1 h-100 z-index-3 bg-white radius-tl-big radius-tr-big">
|
48
|
+
<div class="pd-thin z-index-3 radius-tl-big radius-tr-big pos-t-0 pos-sticky">
|
49
|
+
<BlockSearch
|
50
|
+
@search="updateSearch"
|
51
|
+
placeholder="Enter product name"
|
52
|
+
class="bg-light h-4r"
|
53
|
+
/>
|
54
|
+
</div>
|
44
55
|
<Feed
|
45
56
|
v-model:filter="marketplace.state.filter"
|
46
|
-
|
57
|
+
|
47
58
|
:states="{
|
48
59
|
empty: {
|
49
60
|
title: 'No Products Found',
|
@@ -67,14 +78,14 @@
|
|
67
78
|
v-slot="{
|
68
79
|
items
|
69
80
|
}"
|
70
|
-
class="cols-4 gap-thin"
|
81
|
+
class="cols-4 pd-thin gap-thin"
|
71
82
|
>
|
72
83
|
<CardProduct
|
73
84
|
v-for="product in items"
|
74
85
|
:key="product._id"
|
75
86
|
:product="product"
|
76
87
|
:user="auth.state.access"
|
77
|
-
class="h-max"
|
88
|
+
class="h-max bg-white"
|
78
89
|
@click.capture="$router.push({
|
79
90
|
name: 'Organization_Product',
|
80
91
|
params: {
|
@@ -1,5 +1,9 @@
|
|
1
1
|
import * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';
|
2
2
|
|
3
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth';
|
4
|
+
|
5
|
+
import IconPlus from '@pf/src/modules/icons/navigation/IconPlus.vue'
|
6
|
+
|
3
7
|
export function createProductRoutes(prefix = '', options = {}) {
|
4
8
|
const nameWithPrefix = (name) => prefix ? `${prefix}${name}` : name;
|
5
9
|
|
@@ -14,6 +18,17 @@ export function createProductRoutes(prefix = '', options = {}) {
|
|
14
18
|
en: 'Products',
|
15
19
|
ru: 'Товары'
|
16
20
|
},
|
21
|
+
|
22
|
+
actions: [
|
23
|
+
{
|
24
|
+
component: IconPlus,
|
25
|
+
props: {
|
26
|
+
fill: "rgb(var(--main))"
|
27
|
+
},
|
28
|
+
condition: () => auth.state.user && auth.state.user._id,
|
29
|
+
action: (router) => router.push({ name: 'ProductAdd' })
|
30
|
+
}
|
31
|
+
],
|
17
32
|
authorize: options.productsAuthorize || []
|
18
33
|
},
|
19
34
|
component: () => import(/* webpackChunkName: 'Products' */ '@pf/src/modules/products/components/pages/Products.vue'),
|
@@ -17,7 +17,7 @@ function initializePayments(app, db, wss, wdmClient, origins, publicPath) {
|
|
17
17
|
// Setup routes if the app object is provided
|
18
18
|
if (app) {
|
19
19
|
RoutesPayments(app, db, origins, publicPath)
|
20
|
-
RoutesRewards(app, db, wss, wdmClient, origins)
|
20
|
+
// RoutesRewards(app, db, wss, wdmClient, origins)
|
21
21
|
}
|
22
22
|
}
|
23
23
|
|
@@ -12,12 +12,11 @@ body {
|
|
12
12
|
}
|
13
13
|
|
14
14
|
// Font Styles
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
h5,.h5 { font-family: var(--font-main); font-weight: 500; font-size: 1.000rem; line-height: 1.250; letter-spacing: -0.0rem; text-transform: none; }
|
15
|
+
h1,.h1 { font-family: var(--font-main); font-weight: 500; font-size: 3.750rem; line-height: 1.000; letter-spacing: -0.05rem; text-transform: none; }
|
16
|
+
h2,.h2 { font-family: var(--font-main); font-weight: 500; font-size: 2.500rem; line-height: 1.000; letter-spacing: -0.05rem; text-transform: none; }
|
17
|
+
h3,.h3 { font-family: var(--font-main); font-weight: 500; font-size: 1.250rem; line-height: 1.000; letter-spacing: -0.05rem; text-transform: none; }
|
18
|
+
h4,.h4 { font-family: var(--font-main); font-weight: 500; font-size: 1.500rem; line-height: 1.250; letter-spacing: +0.0rem; text-transform: none; }
|
19
|
+
h5,.h5 { font-family: var(--font-main); font-weight: 500; font-size: 0.750rem; line-height: 1.250; letter-spacing: -0.0rem; text-transform: none; }
|
21
20
|
|
22
21
|
// Typogragy Styles
|
23
22
|
.p-small { font-family: var(--font-second); font-weight: 400; font-size: 0.75rem; line-height: 1.250; }
|