@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.
Files changed (38) hide show
  1. package/dist/products.server.js +875 -0
  2. package/dist/products.server.mjs +875 -0
  3. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  4. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +18 -18
  5. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
  6. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +1 -1
  7. package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue.cjs +1 -0
  8. package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue.js +43 -0
  9. package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.cjs +1 -0
  10. package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.js +4 -0
  11. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  12. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  13. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  14. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +39 -2
  15. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +1 -0
  16. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +4 -0
  17. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -0
  18. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +87 -0
  19. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +1 -0
  20. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +4 -0
  21. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -0
  22. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +138 -0
  23. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -0
  24. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +114 -0
  25. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +1 -0
  26. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +4 -0
  27. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +1 -0
  28. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +53 -0
  29. package/dist/prometheus-framework/src/modules/products/products.client.cjs +1 -0
  30. package/dist/prometheus-framework/src/modules/products/products.client.js +56 -0
  31. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/products/store/products.js +2 -0
  33. package/dist/style.css +1 -1
  34. package/package.json +1 -1
  35. package/src/modules/products/components/pages/ProductRecommmendation.vue +2 -2
  36. package/src/modules/products/products.client.js +76 -20
  37. package/src/modules/products/products.server.js +8 -4
  38. package/src/modules/products/router/products.router.js +4 -2
@@ -1,35 +1,91 @@
1
- // Importing Vue components
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 ProductPage from './components/pages/Product.vue';
5
- import ProductsPage from './components/pages/Products.vue';
6
- import EditProduct from './components/pages/ProductEdit.vue';
7
- import ProductInformationSection from './components/sections/ProductInformationSection.vue';
8
- import SortProducts from './components/sections/SortProducts.vue';
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 ProductsLayout from './components/layouts/LayoutProducts.vue'; // Этот компонент предполагается, так как он не указан в вашем списке
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
- // Importing Vuex store modules
13
- import * as productsStore from './store/products.js';
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
- // Importing Vue Router routes
18
- import productsRoutes from './router/products.router.js';
44
+ // Импортирование Vue Router маршрутов
45
+ // import productsRoutes from './router/products.router.js';
19
46
 
20
- // Exporting components, models, store modules, and routes
47
+ // Экспортирование компонентов, модулей хранилища и маршрутов
21
48
  export {
49
+ // EditFilters,
50
+ ImagesThumbnails,
51
+ LeftoverPositions,
52
+ ListPositions,
53
+ CategoryCard,
22
54
  CardProduct,
23
55
  CardLeftover,
24
- ProductPage,
25
- ProductsPage,
26
- EditProduct,
27
- ProductInformationSection,
28
- SortProducts,
56
+ Images360,
57
+ CardPosition,
58
+
59
+ SectionProduct,
60
+ // ProductInformationSection,
61
+ HeroRecommendation,
29
62
  FilterProducts,
30
- ProductsLayout, // Это предположение, убедитесь, что у вас есть соответствующий компонент
31
- productsStore,
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
- productsRoutes
88
+ productsStore,
89
+
90
+ // productsRoutes
35
91
  };
@@ -1,14 +1,18 @@
1
1
  // Models
2
- import ProductModel from './models/event.model.js';
3
- import CategoryModel from './models/ticket.model.js';
4
- import ModificationModel from './models/ticket.model.js';
5
- import LeftoverModel from './models/ticket.model.js';
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: layoutProducts,
8
+ component: layoutEmpty,
7
9
  beforeEnter: [
8
10
  validationAuth.requiresAdmin,
9
11
  ],