@dxtmisha/functional 1.15.6 → 1.15.8
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 +18 -0
- package/ai-description.md +6 -6
- package/ai-mcp.json +20 -8
- package/ai-types.md +259 -519
- package/dist/library.js +6 -6
- package/dist/types/listTypes.d.ts +1 -1
- package/package.json +1 -1
package/dist/library.js
CHANGED
|
@@ -3,7 +3,7 @@ import { computed as F, customRef as oe, effectScope as se, getCurrentInstance a
|
|
|
3
3
|
import { MediaSocial as be } from "@dxtmisha/media";
|
|
4
4
|
export * from "@dxtmisha/functional-basic";
|
|
5
5
|
//#endregion
|
|
6
|
-
//#region \0@oxc-project+runtime@0.
|
|
6
|
+
//#region \0@oxc-project+runtime@0.139.0/helpers/esm/typeof.js
|
|
7
7
|
function B(e) {
|
|
8
8
|
"@babel/helpers - typeof";
|
|
9
9
|
return B = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
@@ -13,7 +13,7 @@ function B(e) {
|
|
|
13
13
|
}, B(e);
|
|
14
14
|
}
|
|
15
15
|
//#endregion
|
|
16
|
-
//#region \0@oxc-project+runtime@0.
|
|
16
|
+
//#region \0@oxc-project+runtime@0.139.0/helpers/esm/toPrimitive.js
|
|
17
17
|
function xe(e, t) {
|
|
18
18
|
if (B(e) != "object" || !e) return e;
|
|
19
19
|
var n = e[Symbol.toPrimitive];
|
|
@@ -25,13 +25,13 @@ function xe(e, t) {
|
|
|
25
25
|
return (t === "string" ? String : Number)(e);
|
|
26
26
|
}
|
|
27
27
|
//#endregion
|
|
28
|
-
//#region \0@oxc-project+runtime@0.
|
|
28
|
+
//#region \0@oxc-project+runtime@0.139.0/helpers/esm/toPropertyKey.js
|
|
29
29
|
function Se(e) {
|
|
30
30
|
var t = xe(e, "string");
|
|
31
31
|
return B(t) == "symbol" ? t : t + "";
|
|
32
32
|
}
|
|
33
33
|
//#endregion
|
|
34
|
-
//#region \0@oxc-project+runtime@0.
|
|
34
|
+
//#region \0@oxc-project+runtime@0.139.0/helpers/esm/defineProperty.js
|
|
35
35
|
function V(e, t, n) {
|
|
36
36
|
return (t = Se(t)) in e ? Object.defineProperty(e, t, {
|
|
37
37
|
value: n,
|
|
@@ -582,10 +582,10 @@ var Me = class {
|
|
|
582
582
|
return !!e && this.mapItems.value.findIndex((t) => M(t.index, e)) !== -1;
|
|
583
583
|
})), V(this, "isSelectedMin", F(() => {
|
|
584
584
|
let e = Number(H(this.min) || 0);
|
|
585
|
-
return e > 0
|
|
585
|
+
return e > 0 && this.selectedListInGroup.value.length >= e;
|
|
586
586
|
})), V(this, "isSelectedMax", F(() => {
|
|
587
587
|
let e = Number(H(this.max) || 9999999);
|
|
588
|
-
return e > 0
|
|
588
|
+
return e > 0 && this.selectedListInGroup.value.length >= e;
|
|
589
589
|
})), V(this, "selectedList", F(() => {
|
|
590
590
|
let e = this.getSelected();
|
|
591
591
|
return e && this.isSelected.value ? this.mapItems.value.filter((t) => M(t.index, e)) : [];
|
|
@@ -28,7 +28,7 @@ export type ListList<Item extends ListDataBasic = ListDataBasic> = ListDataItem<
|
|
|
28
28
|
* List or record structure for list data/
|
|
29
29
|
* Структура списка или записи для данных списка
|
|
30
30
|
*/
|
|
31
|
-
export type ListRecord<Item extends ListDataBasic = ListDataBasic> =
|
|
31
|
+
export type ListRecord<Item extends ListDataBasic = ListDataBasic> = Item[] | Record<string, Item>;
|
|
32
32
|
/**
|
|
33
33
|
* Extended list item with additional state properties/
|
|
34
34
|
* Расширенный элемент списка с дополнительными свойствами состояния
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxtmisha/functional",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.15.
|
|
4
|
+
"version": "1.15.8",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "A comprehensive library of utilities, base classes, and Vue 3 composables for reactive web development — API orchestration, state singletons (executeUse), storage sync, i18n, formatters, and component design. Extends @dxtmisha/functional-basic.",
|
|
7
7
|
"keywords": [
|