mediacube-ui 0.1.229 → 0.1.231

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.1.231](https://github.com/MediaCubeCo/mcui/compare/v0.1.230...v0.1.231) (2024-03-06)
6
+
7
+ ### [0.1.230](https://github.com/MediaCubeCo/mcui/compare/v0.1.229...v0.1.230) (2024-03-05)
8
+
5
9
  ### [0.1.229](https://github.com/MediaCubeCo/mcui/compare/v0.1.228...v0.1.229) (2024-03-05)
6
10
 
7
11
  ### [0.1.228](https://github.com/MediaCubeCo/mcui/compare/v0.1.227...v0.1.228) (2024-03-04)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediacube-ui",
3
- "version": "0.1.229",
3
+ "version": "0.1.231",
4
4
  "description": "Design system for Mediacube services",
5
5
  "author": "Mediacube",
6
6
  "private": false,
@@ -5,6 +5,7 @@
5
5
  :options="computedOptions"
6
6
  :internal-search="!isAjax"
7
7
  :placeholder="computedPlaceholder"
8
+ :loading="loading"
8
9
  :disabled="relationType === 'exists'"
9
10
  class="mc-filter-type-relation"
10
11
  name="relation_select"
@@ -81,6 +82,7 @@ export default {
81
82
  relations: ['is', 'is_not', 'exists'],
82
83
  relationType: 'is',
83
84
  ajaxOptions: [],
85
+ loading: false,
84
86
  }
85
87
  },
86
88
  computed: {
@@ -156,7 +158,9 @@ export default {
156
158
  this.setValue(this.selectedOptionValue)
157
159
  },
158
160
  async setAjaxOptions(value) {
161
+ this.loading = true
159
162
  this.ajaxOptions = await this.filter.getAjaxOptions(value)
163
+ this.loading = false
160
164
  },
161
165
  async addAjaxOption(value) {
162
166
  const option = await this.filter.getAjaxOne(value)
@@ -11,6 +11,7 @@ $gradient-green: linear-gradient(180deg, #C9DD4C 0%, #63BE7E 100%); /* Стол
11
11
  $gradient-red: linear-gradient(180deg, #F26567 0%, #F79440 100%); /* Столбики в графике 1 порядка */
12
12
  $gradient-purple: linear-gradient(270deg, #9a47ed 0%, #8446ff 100%); /* Основной градиент для MCPay */
13
13
  $gradient-purple-pink: linear-gradient(90deg, #722eff 2%, #fe6ffc 100%); /*Градиент промоакции*/
14
+ $gradient-blue-purple: linear-gradient(90deg, #18bfe3 20%, #8756ff 70%); /*Градиент промоакции*/
14
15
 
15
16
  $gradient-primary-radial: radial-gradient(rgb(179, 211, 255), rgb(62, 132, 244)); /* Radial gradient example */
16
17