@ozdao/prometheus-framework 0.2.44 → 0.2.46
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/products.server.js +875 -0
- package/dist/products.server.mjs +875 -0
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +18 -18
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue.js +43 -0
- package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.js +4 -0
- 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 +39 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +4 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +87 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +4 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +138 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +114 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +4 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +53 -0
- package/dist/prometheus-framework/src/modules/products/products.client.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/products.client.js +56 -0
- package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.js +2 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/modules/products/components/pages/ProductRecommmendation.vue +2 -2
- package/src/modules/products/products.client.js +76 -20
- package/src/modules/products/products.server.js +8 -4
- package/src/modules/products/router/products.router.js +4 -2
@@ -1,35 +1,91 @@
|
|
1
|
-
//
|
1
|
+
// Импортирование Vue компонентов
|
2
|
+
// import EditFilters from './components/blocks/EditFilters.vue';
|
3
|
+
import ImagesThumbnails from './components/blocks/ImagesThumbnails.vue';
|
4
|
+
import LeftoverPositions from './components/blocks/LeftoverPositions.vue';
|
5
|
+
import ListPositions from './components/blocks/ListPositions.vue';
|
6
|
+
import CategoryCard from './components/blocks/CategoryCard.vue';
|
2
7
|
import CardProduct from './components/blocks/CardProduct.vue';
|
3
8
|
import CardLeftover from './components/blocks/CardLeftover.vue';
|
4
|
-
import
|
5
|
-
import
|
6
|
-
|
7
|
-
import
|
8
|
-
import
|
9
|
+
import Images360 from './components/blocks/Images360.vue';
|
10
|
+
import CardPosition from './components/blocks/CardPosition.vue';
|
11
|
+
|
12
|
+
import SectionProduct from './components/sections/SectionProduct.vue';
|
13
|
+
// import ProductInformationSection from './components/sections/ProductInformationSection.vue';
|
14
|
+
import HeroRecommendation from './components/sections/HeroRecommendation.vue';
|
9
15
|
import FilterProducts from './components/sections/FilterProducts.vue';
|
10
|
-
import
|
16
|
+
// import MenuSection from './components/sections/MenuSection.vue';
|
17
|
+
import SortProducts from './components/sections/SortProducts.vue';
|
18
|
+
import EditModifications from './components/sections/EditModifications.vue';
|
19
|
+
import PopularProducts from './components/sections/PopularProducts.vue';
|
20
|
+
import EditProductInfo from './components/sections/EditProductInfo.vue';
|
11
21
|
|
12
|
-
|
13
|
-
import
|
22
|
+
import Price from './components/elements/Price.vue';
|
23
|
+
import THC from './components/elements/THC.vue';
|
24
|
+
|
25
|
+
import Product from './components/pages/Product.vue';
|
26
|
+
|
27
|
+
// import OrganizationDetails from './components/pages/OrganizationDetails.vue';
|
28
|
+
// import OrganizationDocuments from './components/pages/OrganizationDocuments.vue';
|
29
|
+
// import OrganizationPeople from './components/pages/OrganizationPeople.vue';
|
30
|
+
// import OrganizationCreate from './components/pages/OrganizationCreate.vue';
|
31
|
+
|
32
|
+
import ProductsBackoffice from './components/pages/ProductsBackoffice.vue';
|
33
|
+
import ProductEdit from './components/pages/ProductEdit.vue';
|
34
|
+
import EditLeftover from './components/pages/EditLeftover.vue';
|
35
|
+
import ProductRecommendation from './components/pages/ProductRecommmendation.vue'; // Исправленная опечатка
|
36
|
+
import Products from './components/pages/Products.vue';
|
37
|
+
import Leftovers from './components/pages/Leftovers.vue';
|
38
|
+
|
39
|
+
// Импортирование Vuex модулей хранилища
|
14
40
|
import * as categoriesStore from './store/categories.js';
|
15
41
|
import * as leftoversStore from './store/leftovers.js';
|
42
|
+
import * as productsStore from './store/products.js';
|
16
43
|
|
17
|
-
//
|
18
|
-
import productsRoutes from './router/products.router.js';
|
44
|
+
// Импортирование Vue Router маршрутов
|
45
|
+
// import productsRoutes from './router/products.router.js';
|
19
46
|
|
20
|
-
//
|
47
|
+
// Экспортирование компонентов, модулей хранилища и маршрутов
|
21
48
|
export {
|
49
|
+
// EditFilters,
|
50
|
+
ImagesThumbnails,
|
51
|
+
LeftoverPositions,
|
52
|
+
ListPositions,
|
53
|
+
CategoryCard,
|
22
54
|
CardProduct,
|
23
55
|
CardLeftover,
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
56
|
+
Images360,
|
57
|
+
CardPosition,
|
58
|
+
|
59
|
+
SectionProduct,
|
60
|
+
// ProductInformationSection,
|
61
|
+
HeroRecommendation,
|
29
62
|
FilterProducts,
|
30
|
-
|
31
|
-
|
63
|
+
// MenuSection,
|
64
|
+
SortProducts,
|
65
|
+
EditModifications,
|
66
|
+
PopularProducts,
|
67
|
+
EditProductInfo,
|
68
|
+
|
69
|
+
Price,
|
70
|
+
THC,
|
71
|
+
|
72
|
+
Product,
|
73
|
+
|
74
|
+
// OrganizationDetails,
|
75
|
+
// OrganizationDocuments,
|
76
|
+
// OrganizationPeople,
|
77
|
+
// OrganizationCreate,
|
78
|
+
|
79
|
+
ProductsBackoffice,
|
80
|
+
ProductEdit,
|
81
|
+
EditLeftover,
|
82
|
+
ProductRecommendation,
|
83
|
+
Products,
|
84
|
+
Leftovers,
|
85
|
+
|
32
86
|
categoriesStore,
|
33
87
|
leftoversStore,
|
34
|
-
|
88
|
+
productsStore,
|
89
|
+
|
90
|
+
// productsRoutes
|
35
91
|
};
|
@@ -1,14 +1,18 @@
|
|
1
1
|
// Models
|
2
|
-
import ProductModel from './models/
|
3
|
-
import CategoryModel from './models/
|
4
|
-
import ModificationModel from './models/
|
5
|
-
import LeftoverModel from './models/
|
2
|
+
import ProductModel from './models/product.model.js';
|
3
|
+
import CategoryModel from './models/category.model.js';
|
4
|
+
import ModificationModel from './models/modification.model.js';
|
5
|
+
import LeftoverModel from './models/leftover.model.js';
|
6
6
|
// Routes
|
7
7
|
import productsRoutes from './routes/products.routes.js'
|
8
8
|
import categoriesRoutes from './routes/categories.routes.js'
|
9
9
|
import leftoversRoutes from './routes/leftovers.routes.js'
|
10
10
|
|
11
11
|
export {
|
12
|
+
ProductModel,
|
13
|
+
CategoryModel,
|
14
|
+
ModificationModel,
|
15
|
+
LeftoverModel,
|
12
16
|
productsRoutes,
|
13
17
|
categoriesRoutes,
|
14
18
|
leftoversRoutes
|
@@ -1,9 +1,11 @@
|
|
1
|
-
import layoutProducts from '../components/layouts/Products.vue'
|
1
|
+
// import layoutProducts from '../components/layouts/Products.vue'
|
2
|
+
import layoutEmpty from '@pf/src/modules/globals/components/layouts/Empty.vue'
|
3
|
+
|
2
4
|
import * as validationAuth from '@pf/src/modules/middlewares/client/auth.validation.js';
|
3
5
|
|
4
6
|
const productsRoutes = [{
|
5
7
|
path: 'products',
|
6
|
-
component:
|
8
|
+
component: layoutEmpty,
|
7
9
|
beforeEnter: [
|
8
10
|
validationAuth.requiresAdmin,
|
9
11
|
],
|