mediacube-ui 0.1.387 → 0.1.388
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,8 @@
|
|
|
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.388](https://github.com/MediaCubeCo/mcui/compare/v0.1.387...v0.1.388) (2025-06-19)
|
|
6
|
+
|
|
5
7
|
### [0.1.387](https://github.com/MediaCubeCo/mcui/compare/v0.1.386...v0.1.387) (2025-06-16)
|
|
6
8
|
|
|
7
9
|
### [0.1.386](https://github.com/MediaCubeCo/mcui/compare/v0.1.385...v0.1.386) (2025-06-16)
|
package/package.json
CHANGED
|
@@ -436,7 +436,13 @@ export default {
|
|
|
436
436
|
computedOptions() {
|
|
437
437
|
let options = !this.groupKeys
|
|
438
438
|
? [...this.options, ...this.local_options].filter(
|
|
439
|
-
(v, i, a) =>
|
|
439
|
+
(v, i, a) =>
|
|
440
|
+
a.findIndex(afi => {
|
|
441
|
+
if (typeof afi.value === 'object') {
|
|
442
|
+
return JSON.stringify(afi.value) === JSON.stringify(v.value)
|
|
443
|
+
}
|
|
444
|
+
return String(afi.value) === String(v.value)
|
|
445
|
+
}) === i,
|
|
440
446
|
)
|
|
441
447
|
: this.options
|
|
442
448
|
if (this.searchValueInOptions && this.taggable) {
|
|
@@ -580,7 +586,13 @@ export default {
|
|
|
580
586
|
|
|
581
587
|
//Делаем Юник, что бы опции не повторялись
|
|
582
588
|
this.local_options = this.local_options.filter(
|
|
583
|
-
(v, i, a) =>
|
|
589
|
+
(v, i, a) =>
|
|
590
|
+
a.findIndex(afi => {
|
|
591
|
+
if (typeof afi.value === 'object') {
|
|
592
|
+
return JSON.stringify(afi.value) === JSON.stringify(v.value)
|
|
593
|
+
}
|
|
594
|
+
return String(afi.value) === String(v.value)
|
|
595
|
+
}) === i,
|
|
584
596
|
)
|
|
585
597
|
},
|
|
586
598
|
handleOpen() {
|