@ozdao/prometheus-framework 0.2.35 → 0.2.37

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. package/dist/main.css +1 -1
  2. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  3. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +42 -52
  4. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
  5. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +61 -2
  6. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
  7. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +2 -61
  8. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  9. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +2 -49
  10. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  11. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +49 -2
  12. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  13. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
  14. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  15. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +39 -242
  16. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +1 -0
  17. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +373 -0
  18. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.cjs +1 -0
  19. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.js +4 -0
  20. package/dist/prometheus-framework/src/components/FieldPhone/click-outside.cjs +1 -2
  21. package/dist/prometheus-framework/src/components/FieldPhone/click-outside.js +13 -13
  22. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  23. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +111 -2
  24. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  25. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +70 -2
  26. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  27. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +2 -70
  28. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  29. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +49 -47
  30. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  31. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  32. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  33. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +45 -44
  34. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +2 -2
  35. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +61 -56
  36. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  37. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +2 -2
  38. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs +1 -1
  39. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +1 -1
  40. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  41. package/dist/prometheus-framework/src/modules/events/store/events.js +59 -39
  42. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  43. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  44. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
  45. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +31 -31
  46. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
  47. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +85 -55
  48. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  49. package/dist/prometheus-framework/src/modules/orders/store/orders.js +30 -38
  50. package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs +1 -1
  51. package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +31 -21
  52. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  53. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  54. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  55. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
  56. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  57. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +96 -93
  58. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  59. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  60. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  61. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  62. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  63. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  64. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  65. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
  66. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  67. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +54 -74
  68. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  69. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +58 -48
  70. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  71. package/dist/prometheus-framework/src/modules/products/store/products.js +26 -26
  72. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  73. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  74. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  75. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
  76. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  77. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +2 -2
  78. package/dist/prometheus-framework.cjs.js +13 -14
  79. package/dist/prometheus-framework.es.js +346 -557
  80. package/dist/style.css +1 -1
  81. package/package.json +1 -1
  82. package/src/components/Button/Button.vue +26 -19
  83. package/src/components/FieldBig/FieldBig.vue +1 -1
  84. package/src/components/FieldPhone/FieldPhone.vue +55 -304
  85. package/src/components/FieldPhone/FieldPhone2.vue +671 -0
  86. package/src/components/FieldPhone/click-outside.js +16 -11
  87. package/src/components/Footer/Footer.vue +4 -4
  88. package/src/components/Header/Header.vue +2 -1
  89. package/src/components/Select/Select.vue +2 -1
  90. package/src/modules/chats/components/sections/ChatWindow.vue +3 -1
  91. package/src/modules/chats/store/chat.store.js +1 -3
  92. package/src/modules/events/components/pages/EditEvent.vue +2 -1
  93. package/src/modules/events/components/pages/Event.vue +8 -2
  94. package/src/modules/events/components/sections/SectionMainGuest.vue +1 -1
  95. package/src/modules/events/components/sections/SectionSpecialGuests.vue +0 -1
  96. package/src/modules/events/store/events.js +23 -3
  97. package/src/modules/globals/mixins/mixins.js +33 -2
  98. package/src/modules/landing/components/sections/HeroGovernance.vue +156 -0
  99. package/src/modules/marketplace/components/sections/Filters.vue +3 -0
  100. package/src/modules/marketplace/router/marketplace.js +1 -0
  101. package/src/modules/orders/components/blocks/StatusHistory.vue +8 -3
  102. package/src/modules/orders/components/pages/EditOrder.vue +9 -11
  103. package/src/modules/orders/components/pages/FormOrder.vue +58 -46
  104. package/src/modules/orders/components/pages/Order.vue +63 -42
  105. package/src/modules/orders/components/sections/FormOrderDetails.vue +50 -18
  106. package/src/modules/orders/controllers/orders.controller.js +10 -1
  107. package/src/modules/orders/models/order.model.js +1 -0
  108. package/src/modules/orders/store/orders.js +21 -27
  109. package/src/modules/orders/store/shopcart.js +14 -2
  110. package/src/modules/organizations/components/sections/DetailsTab.vue +2 -2
  111. package/src/modules/products/components/sections/FilterProducts.vue +3 -4
  112. package/src/modules/products/components/sections/HeroRecommendation.vue +29 -2
  113. package/src/modules/products/components/sections/SectionProduct.vue +14 -9
  114. package/src/modules/products/controllers/products.controller.js +26 -17
  115. package/src/modules/products/routes/products.routes.js +6 -6
  116. package/src/modules/products/store/products.js +10 -10
  117. package/src/styles/config.scss +10 -3
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="pd-t-zero pd-thin">
3
- <footer class="bg-black t-white radius-small pd-thin">
3
+ <footer class="bg-grey t-black radius-big pd-thin">
4
4
  <!--
5
5
  <div id="top-footer" class="cols-3 section">
6
6
 
@@ -117,10 +117,10 @@
117
117
  email: 'Contact by email',
118
118
  // request: 'hello@weeder.delivery',
119
119
  time: "24 / 7 Seven days a week",
120
- copyright: "2022 © Weeder Delivery. Proudly created with OZ DAO.",
120
+ copyright: "2024 © Weeder Delivery. Proudly created with OZ DAO.",
121
121
  pages: [],
122
122
  categories: [],
123
- year: "2023",
123
+ year: "2024",
124
124
  heart: "❤",
125
125
  name: "Weeder",
126
126
  tagline: "Builded with love in"
@@ -136,7 +136,7 @@
136
136
  email: 'Связаться по email',
137
137
  // request: 'hello@weeder.delivery',
138
138
  time: "24 / 7 без перерывов",
139
- copyright: "2022 © Weeder Delivery. С гордостью создано OZ DAO.",
139
+ copyright: "2024 © Weeder Delivery. С гордостью создано OZ DAO.",
140
140
  pages: [],
141
141
  categories: []
142
142
  }
@@ -57,13 +57,14 @@
57
57
  name="prices"
58
58
  class="desktop-only t-semi pd-micro br-2px br-solid radius-extra br-black-transp-5"
59
59
  />
60
+
60
61
  <Button
61
62
  :submit="a => store.shopcart.actions.toggleShopcart()"
62
63
  :counter="store.shopcart.getters.cartTotalAmount"
63
64
  class="pd-zero mn-l-auto"
64
65
  >
65
66
  <IconShopcart class="i-semi"/>
66
-
67
+ <!-- <div class="w-max p-small pos-absolute pos-t-100 pos-r-0">Product Added to Shopcart</div> -->
67
68
  </Button>
68
69
 
69
70
  <Button
@@ -22,9 +22,10 @@
22
22
  <!-- Dropdown menu -->
23
23
  <transition mode="out-in" name="TransitionTranslateY">
24
24
  <ul
25
- v-if="showMenu"
25
+ v-show="showMenu"
26
26
  :class="$attrs.class"
27
27
  class="bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"
28
+ style="min-width: max-content;"
28
29
  >
29
30
  <li @click.stop="selectOption(option)" v-for="option in optionsListed">
30
31
  <span v-if="option" class="w-100">
@@ -7,7 +7,7 @@
7
7
  :message="message"
8
8
  />
9
9
  </div>
10
- <input class="bg-main w-100 radius-big pd-small" placeholder="Enter your message" type="text" v-model="newMessage" @keyup.enter="sendMessage" />
10
+ <input class="bg-white w-100 radius-big pd-small" placeholder="Enter your message" type="text" v-model="newMessage" @keyup.enter="sendMessage" />
11
11
  </div>
12
12
  </template>
13
13
 
@@ -27,7 +27,9 @@ const sendMessage = () => {
27
27
  username: chatStore.state.username,
28
28
  chatId: chatStore.state.currentChatId
29
29
  };
30
+
30
31
  chatStore.methods.addMessage(message);
32
+
31
33
  newMessage.value = '';
32
34
  }
33
35
  };
@@ -19,7 +19,7 @@ const methods = {
19
19
  const message = JSON.parse(event.data);
20
20
 
21
21
  if (message.chatId === state.currentChatId) {
22
- methods.addMessage(message);
22
+ state.messages.push(message);
23
23
  }
24
24
  };
25
25
  state.websocket.onerror = function(err) {
@@ -31,8 +31,6 @@ const methods = {
31
31
  state.messages = messages;
32
32
  },
33
33
  addMessage(message) {
34
- state.messages.push(message);
35
-
36
34
  if (state.websocket) {
37
35
  state.websocket.send(JSON.stringify(message));
38
36
  }
@@ -73,6 +73,7 @@
73
73
  >
74
74
  Video in Hero Section
75
75
  </h5>
76
+ <p>Need to upload in webm format because of needs of optimization</p>
76
77
  <Upload
77
78
  v-model:field="event.specialData.video"
78
79
  :placeholder="'Upload video'"
@@ -125,7 +126,7 @@
125
126
  </h4>
126
127
 
127
128
  <Field
128
- v-model:field="event.specialData.titleMainGuest"
129
+ v-model:field="event.specialData.guestTitle"
129
130
  placeholder="Title for Main Guest section"
130
131
  class="mn-b-thin w-100 bg-grey pd-medium radius-small"
131
132
  />
@@ -65,12 +65,18 @@
65
65
  class="mn-b-thin t-white gap-big w-100 h-max o-hidden radius-big pd-big pos-relative bg-black"
66
66
  >
67
67
  <h2 class="mn-b-big w-100 t-center">Event Details</h2>
68
- <div class="gap-big mn-b-thin cols-2">
68
+ <div
69
+ class="gap-big mn-b-thin"
70
+ :class="{
71
+ 'cols-2': event.specialData.guests.lenght > 0,
72
+ 'cols-1': event.specialData.guests.lenght > 1
73
+ }"
74
+ >
69
75
 
70
76
  <SectionSpecialGuests
77
+ v-if="event.specialData.guests.lenght > 0"
71
78
  :content="{
72
79
  title: 'Special Guests',
73
- description:'Enjoy a festive dining experience at The Commune, featuring a fine selection of dishes and drinks presented on your table throughout the evening.',
74
80
  guests: event.specialData.guests
75
81
  }"
76
82
  />
@@ -31,7 +31,7 @@
31
31
  allowfullscreen=""
32
32
  allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture"
33
33
  loading="lazy"
34
- class="mn-t-big"
34
+ class="mn-t-thin radius-big o-hidden"
35
35
  ></iframe>
36
36
  </div>
37
37
 
@@ -1,7 +1,6 @@
1
1
  <template>
2
2
 
3
3
  <div class="o-hidden bg-black-transp-15 bg-blur-extra t-white pos-relative radius-big gap-zero pos-relative">
4
- <!-- <h3>Event Crew</h3> -->
5
4
  <h3 class="t-center w-100 pd-small br-b br-white-transp-20 br-solid">{{content?.title}}</h3>
6
5
 
7
6
  <div style="max-height: 100%" class="cols-1 gap-semi">
@@ -28,9 +28,7 @@ const state = reactive({
28
28
  current: {
29
29
  _id: "",
30
30
  special: false,
31
- specialData: {
32
- subtitle: null
33
- },
31
+ specialData: {},
34
32
  cover: "",
35
33
  url: "",
36
34
  status: "",
@@ -169,6 +167,28 @@ function clean () {
169
167
  url: "",
170
168
  phase: "",
171
169
  name: "",
170
+ special: false,
171
+ specialData: {
172
+ subtitle: '',
173
+ logos: [],
174
+ video: '',
175
+ ticketImage: '',
176
+ ticketLinkStripe: '',
177
+ ticketPrice: '',
178
+ guestTitle: '',
179
+ guestDescription: '',
180
+ guestFacebook: '',
181
+ guestInstagram: '',
182
+ guestTwitter: '',
183
+ guestTelegram: '',
184
+ guestSoundcloud: '',
185
+ guestSpotify: '',
186
+ guestVideo: '',
187
+ guests: [],
188
+ lineup: [],
189
+ lineupBackground: '',
190
+ previousVideo: ''
191
+ },
172
192
  tags: [],
173
193
  date: {
174
194
  start: null,
@@ -10,7 +10,7 @@ export const globalMixins = {
10
10
  let formattedNumber = number.toFixed(2).replace('.', ',').replace(/\B(?=(\d{3})+(?!\d))/g, ' ');
11
11
  return `${formattedNumber} ${currency}`;
12
12
  },
13
- formatDate(d) {
13
+ formatDate(d, options = {}) {
14
14
  var fixedDate = new Date(d);
15
15
  var yyyy = fixedDate.getFullYear().toString();
16
16
  var mm = (fixedDate.getMonth() + 1).toString();
@@ -18,8 +18,39 @@ export const globalMixins = {
18
18
  var hh = fixedDate.getHours().toString();
19
19
  var minmin = fixedDate.getMinutes().toString();
20
20
 
21
- return yyyy + '.' + (mm[1] ? mm : "0" + mm[0]) + '.' + (dd[1] ? dd : "0" + dd[0]) + " в " + (hh[1] ? hh : "0" + hh[0]) + ':' + (minmin[1] ? minmin : "0" + minmin[0]);
21
+ // Параметры для форматирования
22
+ var format = {
23
+ dateOnly: options.dateOnly || false,
24
+ timeOnly: options.timeOnly || false,
25
+ dayMonth: options.dayMonth || false,
26
+ dayTime: options.dayTime || false,
27
+ monthYear: options.monthYear || false,
28
+ yearOnly: options.yearOnly || false,
29
+ custom: options.custom || ""
30
+ };
31
+
32
+ // Формирование строки в зависимости от параметров
33
+ if (format.dateOnly) {
34
+ return yyyy + '.' + (mm[1] ? mm : "0" + mm[0]) + '.' + (dd[1] ? dd : "0" + dd[0]);
35
+ } else if (format.timeOnly) {
36
+ return (hh[1] ? hh : "0" + hh[0]) + ':' + (minmin[1] ? minmin : "0" + minmin[0]);
37
+ } else if (format.dayMonth) {
38
+ return (dd[1] ? dd : "0" + dd[0]) + '.' + (mm[1] ? mm : "0" + mm[0]);
39
+ } else if (format.dayTime) {
40
+ return (dd[1] ? dd : "0" + dd[0]) + " в " + (hh[1] ? hh : "0" + hh[0]) + ':' + (minmin[1] ? minmin : "0" + minmin[0]);
41
+ } else if (format.monthYear) {
42
+ return (mm[1] ? mm : "0" + mm[0]) + '.' + yyyy;
43
+ } else if (format.yearOnly) {
44
+ return yyyy;
45
+ } else if (format.custom) {
46
+ // Пользователь может определить свой формат
47
+ return format.custom.replace("yyyy", yyyy).replace("mm", (mm[1] ? mm : "0" + mm[0])).replace("dd", (dd[1] ? dd : "0" + dd[0])).replace("hh", (hh[1] ? hh : "0" + hh[0])).replace("min", (minmin[1] ? minmin : "0" + minmin[0]));
48
+ }
49
+
50
+ // Формат по умолчанию
51
+ return (hh[1] ? hh : "0" + hh[0]) + ':' + (minmin[1] ? minmin : "0" + minmin[0]) + ", " + yyyy + '.' + (mm[1] ? mm : "0" + mm[0]) + '.' + (dd[1] ? dd : "0" + dd[0]);
22
52
  },
53
+
23
54
  normalizeUrlParam(param) {
24
55
  if (!param) param = ''
25
56
 
@@ -0,0 +1,156 @@
1
+ <script setup>
2
+ import { useRouter } from 'vue-router'
3
+ import { useI18n } from 'vue-i18n'
4
+
5
+ const props = defineProps({
6
+ textData: {
7
+ type: Object,
8
+ default: () => ({
9
+ messages: {
10
+ en: {
11
+ TITLE: "Smoke Weed Every Day &<b> Get A Slice Of The Pie</b>",
12
+ DESCRIPTION: "Earn Weeder Token and Get part of the profits of Weeder Delivery. The more tokens you have, the bigger your cut of the profits will be. So what are you waiting for?",
13
+ ACTION: "Open Marketplace →",
14
+ SUBACTION: "Sign Up To Start"
15
+ }
16
+ }
17
+ })
18
+ }
19
+ })
20
+
21
+ const { t } = useI18n(props.textData)
22
+ </script>
23
+
24
+
25
+ <template>
26
+ <div
27
+ id="heroGovernance"
28
+ class="pd-thin"
29
+ >
30
+
31
+ <div
32
+ class="pos-relative bg-black o-hidden t-white t-center pd-extra radius-big flex-column flex-center flex"
33
+ >
34
+ <div class="sheen h-5r mn-b-small radius-extra o-hidden pos-relative ">
35
+ <img src="/logo/wdt.svg" class="w-100 h-100">
36
+ </div>
37
+
38
+ <h1
39
+ class="w-max-35r mn-b-medium"
40
+ v-html="t('TITLE')"
41
+ />
42
+
43
+ <p
44
+ class="w-max-40r mn-b-big t-transp p-big"
45
+ v-html="t('DESCRIPTION')"
46
+ />
47
+
48
+ <div
49
+ class="t-white gap-small cols-2-fit-content"
50
+ >
51
+ <router-link
52
+ :to="{
53
+ name: 'Sign In'
54
+ }"
55
+ class="w-max bg-light t-dark br-light button"
56
+ v-html="t('SUBACTION')"
57
+ />
58
+
59
+ <router-link
60
+ :to="{
61
+ name: 'Marketplace'
62
+ }"
63
+ class="w-max bg-dark t-white button"
64
+ v-html="t('ACTION')"
65
+ />
66
+ </div>
67
+
68
+ <div class="w-100 h-100 pos-absolute pos-t-0 pos-r-0 z-index-0 grid ">
69
+ <div class="grid-lines"></div>
70
+ </div>
71
+
72
+ </div>
73
+
74
+ </div>
75
+ </template>
76
+
77
+ <style lang="scss">
78
+ .sheen:after {
79
+ content:'';
80
+ top:0;
81
+ left: -25%;
82
+ transform:translateX(100%);
83
+ width:100%;
84
+ height:220px;
85
+ position: absolute;
86
+ z-index:1;
87
+ animation: slide 3s infinite;
88
+
89
+ /*
90
+ CSS Gradient - complete browser support from http://www.colorzilla.com/gradient-editor/
91
+ */
92
+ background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(128,186,232,0) 99%, rgba(125,185,232,0) 100%); /* FF3.6+ */
93
+ background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(50%,rgba(255,255,255,0.8)), color-stop(99%,rgba(128,186,232,0)), color-stop(100%,rgba(125,185,232,0))); /* Chrome,Safari4+ */
94
+ background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 50%,rgba(128,186,232,0) 99%,rgba(125,185,232,0) 100%); /* Chrome10+,Safari5.1+ */
95
+ background: -o-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 50%,rgba(128,186,232,0) 99%,rgba(125,185,232,0) 100%); /* Opera 11.10+ */
96
+ background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 50%,rgba(128,186,232,0) 99%,rgba(125,185,232,0) 100%); /* IE10+ */
97
+ background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 50%,rgba(128,186,232,0) 99%,rgba(125,185,232,0) 100%); /* W3C */
98
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#007db9e8',GradientType=1 ); /* IE6-9 */
99
+ }
100
+
101
+ /* animation */
102
+
103
+ @keyframes slide {
104
+ 0% {
105
+ transform:translateX(-00%);
106
+ opacity: 0;
107
+ }
108
+ 20% {
109
+ opacity: 1
110
+ }
111
+ 80% {
112
+ opacity: 1
113
+ }
114
+ 100% {
115
+ transform:translateX(100%);
116
+ opacity: 0
117
+ }
118
+ }
119
+
120
+
121
+ .grid {
122
+ perspective: 450px;
123
+ background-size: cover;
124
+ }
125
+
126
+ .grid-lines {
127
+ width: 100%;
128
+ height: 200%;
129
+ background-image: linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 0), linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 0);
130
+ background-size: 45px 30px;
131
+ background-repeat: repeat;
132
+ transform-origin: 100% 0 0;
133
+ animation: play 15s linear infinite;
134
+ }
135
+
136
+ @keyframes play {
137
+ 0% {
138
+ transform: rotateX(45deg) translateY(-50%);
139
+ }
140
+ 100% {
141
+ transform: rotateX(45deg) translateY(0);
142
+ }
143
+ }
144
+
145
+ @media screen and (max-width: 1025px) {
146
+ #mobileApp {
147
+ text-align: center;
148
+ > section {
149
+ flex-direction: column;
150
+ > div {
151
+ order: 1;
152
+ }
153
+ }
154
+ }
155
+ }
156
+ </style>
@@ -2,6 +2,7 @@
2
2
  <div class="z-index-1 pos-relative radius-big bg-black t-white pd-medium flex-v-center flex-nowrap flex">
3
3
  <!-- <p class="t-semi radius-extra uppercase p-medium mn-r-thin">Filter by</p> -->
4
4
  <Dropdown
5
+ id="fitlerCategory"
5
6
  :label="t('categoriesTitle')"
6
7
  class="cursor-pointer mn-r-small br-solid br-2px br-white pd-thin t-semi radius-extra uppercase p-medium"
7
8
  :class="[
@@ -22,6 +23,7 @@
22
23
  </Dropdown>
23
24
 
24
25
  <Dropdown
26
+ id="fitlerPrice"
25
27
  :label="t('filters.price.title')"
26
28
  class="cursor-pointer mn-r-small br-solid br-2px br-white pd-thin t-semi radius-extra uppercase p-medium"
27
29
  :class="[
@@ -43,6 +45,7 @@
43
45
 
44
46
  <Dropdown
45
47
  label="Delivery"
48
+ id="fitlerDelivery"
46
49
  class="cursor-pointer mn-r-auto br-solid br-2px br-white pd-thin t-semi radius-extra uppercase p-medium"
47
50
  :class="[
48
51
  store.marketplace.state.filter.delivery.length > 0 ? 'bg-white t-black' : ''
@@ -5,6 +5,7 @@ const marketplace = [
5
5
  {
6
6
  path: 'marketplace',
7
7
  component: layoutMarketplace,
8
+ name: 'Marketplace',
8
9
  meta: {
9
10
  title: {
10
11
  en: 'Marketplace',
@@ -2,9 +2,11 @@
2
2
  <div class="bg-grey radius-medium w-100">
3
3
  <h3 class="pd-medium">Tracking History</h3>
4
4
  <div v-for="status in statuses" :key="status.value" class="w-100 br-t br-solid br-black-transp-10 pd-medium flex-v-center flex-nowrap flex">
5
- <div v-if="isStatusInHistory(status.value)" class="flex-center flex i-big radius-extra br-solid br-2px br-black-transp-10 mn-r-small">✔</div>
5
+ <div class="flex-center flex i-big radius-extra br-solid br-2px br-black-transp-10 mn-r-small">
6
+ <span v-if="isStatusInHistory(status.value)">✔</span>
7
+ </div>
6
8
  <p class="h4 w-8r">{{status.name}}</p>
7
- <button :disabled="!isNextPossibleStatus(status.value)" @click="setStatus(status)" class="mn-l-auto bg-main button radius-big">Set status</button>
9
+ <button v-if="edit" :disabled="!isNextPossibleStatus(status.value)" @click="setStatus(status)" class="mn-l-auto bg-main button radius-big">Set status</button>
8
10
  </div>
9
11
  </div>
10
12
  </template>
@@ -18,6 +20,9 @@ const props = defineProps({
18
20
  },
19
21
  statusCurrent: {
20
22
  type: String
23
+ },
24
+ edit: {
25
+ type: Boolean
21
26
  }
22
27
  })
23
28
 
@@ -77,7 +82,7 @@ const isNextPossibleStatus = (statusValue) => {
77
82
 
78
83
  // Функция установки нового статуса
79
84
  const setStatus = async (newStatus) => {
80
- console.log(status)
85
+ // console.log(status)
81
86
  // orders.state.current.status = status.value
82
87
  // await orders.actions.update(orders.state.current)
83
88
  }
@@ -119,27 +119,25 @@
119
119
  let order = ref({})
120
120
  // Replace store orders.actions with your orders.actions
121
121
  onMounted(async () => {
122
-
123
-
124
- await orders.actions.fetchOrder(route.params.order) // Implement this action in your store
125
-
126
- order.value = orders.state.current
127
-
128
- // Replace Vuex orders.actions with your orders.actions
122
+ // Replace Vuex orders.actions with your orders.actions
129
123
  try {
130
124
  const productsResponse = await products.actions.read({
131
- organization: orders.state.current.organization
125
+ organization: '65141c476cf9860013b49f6d'
132
126
  });
133
127
  console.log(productsResponse)
134
128
  Products.value = productsResponse;
135
129
  } catch (error) {
136
130
  console.error('error');
137
131
  }
132
+
133
+ await orders.actions.fetchOrder(route.params.id) // Implement this action in your store
134
+
135
+ order.value = orders.state.current
138
136
  })
139
137
 
140
138
 
141
139
  function saveItemList() {
142
- orders.actions.updateOrderpositions(route.params.order) // Replace Vuex action with your action
140
+ orders.actions.updateOrderpositions(route.params.id) // Replace Vuex action with your action
143
141
  }
144
142
 
145
143
  function changeEdit(index) {
@@ -147,7 +145,7 @@
147
145
  }
148
146
 
149
147
  function resetOrderList() {
150
- orders.actions.fetchOrder(route.params.order) // Replace Vuex action with your action
148
+ orders.actions.fetchOrder(route.params.id) // Replace Vuex action with your action
151
149
  }
152
150
 
153
151
  function changeAdd() {
@@ -171,4 +169,4 @@
171
169
  .vue-select-header {
172
170
  height: 3rem;
173
171
  }
174
- </style>
172
+ </style>