@dxtmisha/functional 1.11.9 → 1.11.10
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 +9 -0
- package/dist/library.js +9 -9
- package/package.json +5 -13
- /package/dist/{classes → src/classes}/design/DesignAbstract.d.ts +0 -0
- /package/dist/{classes → src/classes}/design/DesignAsyncAbstract.d.ts +0 -0
- /package/dist/{classes → src/classes}/design/DesignChanged.d.ts +0 -0
- /package/dist/{classes → src/classes}/design/DesignComp.d.ts +0 -0
- /package/dist/{classes → src/classes}/design/DesignComponents.d.ts +0 -0
- /package/dist/{classes → src/classes}/design/DesignConstructorAbstract.d.ts +0 -0
- /package/dist/{classes → src/classes}/ref/DatetimeRef.d.ts +0 -0
- /package/dist/{classes → src/classes}/ref/EffectScopeGlobal.d.ts +0 -0
- /package/dist/{classes → src/classes}/ref/EventRef.d.ts +0 -0
- /package/dist/{classes → src/classes}/ref/GeoFlagRef.d.ts +0 -0
- /package/dist/{classes → src/classes}/ref/GeoIntlRef.d.ts +0 -0
- /package/dist/{classes → src/classes}/ref/GeoRef.d.ts +0 -0
- /package/dist/{classes → src/classes}/ref/ListDataRef.d.ts +0 -0
- /package/dist/{classes → src/classes}/ref/RouterItemRef.d.ts +0 -0
- /package/dist/{classes → src/classes}/ref/ScrollbarWidthRef.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useApiAsyncRef.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useApiDelete.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useApiGet.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useApiManagementAsyncRef.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useApiManagementRef.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useApiPost.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useApiPut.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useApiRef.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useApiRequest.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useBroadcastValueRef.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useCookieRef.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useFormattersRef.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useGeoIntlRef.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useHashRef.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useLazyItemByMarginRef.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useLazyRef.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useLoadingRef.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useMeta.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useRouterList.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useSearchRef.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useSearchValueRef.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useSessionRef.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useStorageRef.d.ts +0 -0
- /package/dist/{composables → src/composables}/ref/useTranslateRef.d.ts +0 -0
- /package/dist/{flags.d.ts → src/flags.d.ts} +0 -0
- /package/dist/{functions → src/functions}/basic.d.ts +0 -0
- /package/dist/{functions → src/functions}/computedAsync.d.ts +0 -0
- /package/dist/{functions → src/functions}/computedByLanguage.d.ts +0 -0
- /package/dist/{functions → src/functions}/computedEternity.d.ts +0 -0
- /package/dist/{functions → src/functions}/dxtFunctionalPlugin.d.ts +0 -0
- /package/dist/{functions → src/functions}/executeUse.d.ts +0 -0
- /package/dist/{functions → src/functions}/getInject.d.ts +0 -0
- /package/dist/{functions → src/functions}/getOptions.d.ts +0 -0
- /package/dist/{functions → src/functions}/ref/getBindRef.d.ts +0 -0
- /package/dist/{functions → src/functions}/ref/getRef.d.ts +0 -0
- /package/dist/{functions → src/functions}/ref/render.d.ts +0 -0
- /package/dist/{functions → src/functions}/ref/setRef.d.ts +0 -0
- /package/dist/{functions → src/functions}/ref/toRefItem.d.ts +0 -0
- /package/dist/{functions → src/functions}/render/getBind.d.ts +0 -0
- /package/dist/{functions → src/functions}/render/getClassName.d.ts +0 -0
- /package/dist/{functions → src/functions}/render/getIndexForRender.d.ts +0 -0
- /package/dist/{functions → src/functions}/toBind.d.ts +0 -0
- /package/dist/{functions → src/functions}/toBinds.d.ts +0 -0
- /package/dist/{library.d.ts → src/library.d.ts} +0 -0
- /package/dist/{types → src/types}/apiTypes.d.ts +0 -0
- /package/dist/{types → src/types}/constructorTypes.d.ts +0 -0
- /package/dist/{types → src/types}/listTypes.d.ts +0 -0
- /package/dist/{types → src/types}/refTypes.d.ts +0 -0
- /package/dist/{types → src/types}/searchTypes.d.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [1.11.9] - 2026-05-12
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- **useApiManagementRef**: Exposed `isResponseContractValid` and `responseValidationResult` to the return interface, providing better transparency for data schema validation.
|
|
9
|
+
- **useApiRef**: Added reactive properties `isResponseContractValid` and `responseValidationResult` to track the status and details of the response contract validation.
|
|
10
|
+
|
|
11
|
+
### Changed / Improved
|
|
12
|
+
- **JSDoc**: Comprehensive update of JSDoc comments for API management composables to improve developer experience and IDE support.
|
|
13
|
+
|
|
5
14
|
## [1.11.6] - 2026-05-01
|
|
6
15
|
|
|
7
16
|
### Added
|
package/dist/library.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Api as e, ApiMethodItem as t, BroadcastMessage as n, Cookie as r, DataS
|
|
|
2
2
|
import { computed as N, customRef as ae, effectScope as oe, getCurrentInstance as se, h as ce, hasInjectionContext as le, inject as ue, isRef as P, onServerPrefetch as de, onUnmounted as fe, provide as pe, ref as F, shallowRef as I, toRefs as me, triggerRef as he, useAttrs as ge, useSlots as _e, watch as L, watchEffect as ve } from "vue";
|
|
3
3
|
export * from "@dxtmisha/functional-basic";
|
|
4
4
|
//#endregion
|
|
5
|
-
//#region \0@oxc-project+runtime@0.
|
|
5
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/typeof.js
|
|
6
6
|
function R(e) {
|
|
7
7
|
"@babel/helpers - typeof";
|
|
8
8
|
return R = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
@@ -12,7 +12,7 @@ function R(e) {
|
|
|
12
12
|
}, R(e);
|
|
13
13
|
}
|
|
14
14
|
//#endregion
|
|
15
|
-
//#region \0@oxc-project+runtime@0.
|
|
15
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/toPrimitive.js
|
|
16
16
|
function ye(e, t) {
|
|
17
17
|
if (R(e) != "object" || !e) return e;
|
|
18
18
|
var n = e[Symbol.toPrimitive];
|
|
@@ -24,13 +24,13 @@ function ye(e, t) {
|
|
|
24
24
|
return (t === "string" ? String : Number)(e);
|
|
25
25
|
}
|
|
26
26
|
//#endregion
|
|
27
|
-
//#region \0@oxc-project+runtime@0.
|
|
27
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/toPropertyKey.js
|
|
28
28
|
function be(e) {
|
|
29
29
|
var t = ye(e, "string");
|
|
30
30
|
return R(t) == "symbol" ? t : t + "";
|
|
31
31
|
}
|
|
32
32
|
//#endregion
|
|
33
|
-
//#region \0@oxc-project+runtime@0.
|
|
33
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/defineProperty.js
|
|
34
34
|
function z(e, t, n) {
|
|
35
35
|
return (t = be(t)) in e ? Object.defineProperty(e, t, {
|
|
36
36
|
value: n,
|
|
@@ -43,7 +43,7 @@ function z(e, t, n) {
|
|
|
43
43
|
//#region src/classes/design/DesignChanged.ts
|
|
44
44
|
var xe = class {
|
|
45
45
|
constructor(e, t = Object.keys(e)) {
|
|
46
|
-
z(this, "cache", {}), this.props = e, this.watch = t;
|
|
46
|
+
z(this, "props", void 0), z(this, "watch", void 0), z(this, "cache", {}), this.props = e, this.watch = t;
|
|
47
47
|
}
|
|
48
48
|
is(e) {
|
|
49
49
|
return E(e) ? !!e.find((e) => this.isDifferent(e)) : this.isDifferent(e);
|
|
@@ -64,7 +64,7 @@ var xe = class {
|
|
|
64
64
|
}
|
|
65
65
|
}, Se = class {
|
|
66
66
|
constructor(e, t, n) {
|
|
67
|
-
z(this, "event", {}), z(this, "changed", void 0), this.props = e, this.callback = t, this.changed = new xe(e, n);
|
|
67
|
+
z(this, "props", void 0), z(this, "callback", void 0), z(this, "event", {}), z(this, "changed", void 0), this.props = e, this.callback = t, this.changed = new xe(e, n);
|
|
68
68
|
}
|
|
69
69
|
make(e) {
|
|
70
70
|
return this.makeCallback(e), this;
|
|
@@ -135,7 +135,7 @@ function De(...e) {
|
|
|
135
135
|
//#region src/classes/design/DesignComponents.ts
|
|
136
136
|
var H = class {
|
|
137
137
|
constructor(e = {}, t) {
|
|
138
|
-
z(this, "caching", {}), this.components = e, this.modification = t;
|
|
138
|
+
z(this, "components", void 0), z(this, "modification", void 0), z(this, "caching", {}), this.components = e, this.modification = t;
|
|
139
139
|
}
|
|
140
140
|
is(e) {
|
|
141
141
|
return e in this.components;
|
|
@@ -178,7 +178,7 @@ var H = class {
|
|
|
178
178
|
}
|
|
179
179
|
}, Oe = class extends H {}, ke = class {
|
|
180
180
|
constructor(e, t, n) {
|
|
181
|
-
z(this, "name", void 0), z(this, "element", F()), z(this, "refs", void 0), z(this, "components", void 0), z(this, "emits", void 0), z(this, "classes", void 0), z(this, "classesSub", void 0), z(this, "styles", void 0), z(this, "stylesSub", void 0), z(this, "attrs", void 0), z(this, "slots", void 0), z(this, "dataExpose", void 0), this.props = t, this.options = n, this.name = this.initName(e), this.refs = this.props ? me(this.props) : {}, this.components = new H(n == null ? void 0 : n.components, n == null ? void 0 : n.compMod), this.emits = n == null ? void 0 : n.emits, this.classes = N(() => this.updateClasses()), this.styles = N(() => this.updateStyles()), this.attrs = ge(), this.slots = _e();
|
|
181
|
+
z(this, "props", void 0), z(this, "options", void 0), z(this, "name", void 0), z(this, "element", F()), z(this, "refs", void 0), z(this, "components", void 0), z(this, "emits", void 0), z(this, "classes", void 0), z(this, "classesSub", void 0), z(this, "styles", void 0), z(this, "stylesSub", void 0), z(this, "attrs", void 0), z(this, "slots", void 0), z(this, "dataExpose", void 0), this.props = t, this.options = n, this.name = this.initName(e), this.refs = this.props ? me(this.props) : {}, this.components = new H(n == null ? void 0 : n.components, n == null ? void 0 : n.compMod), this.emits = n == null ? void 0 : n.emits, this.classes = N(() => this.updateClasses()), this.styles = N(() => this.updateStyles()), this.attrs = ge(), this.slots = _e();
|
|
182
182
|
}
|
|
183
183
|
init() {
|
|
184
184
|
return this.classesSub = N(() => this.initClasses()), this.stylesSub = N(() => this.initStyles()), this.dataExpose = this.initExpose(), this;
|
|
@@ -453,7 +453,7 @@ var Ne = class {
|
|
|
453
453
|
}
|
|
454
454
|
}, Pe = class e {
|
|
455
455
|
constructor(e, t, n, r, i, a, o, s, c, l = 0, u = 9999999, d) {
|
|
456
|
-
z(this, "subList", {}), z(this, "data", N(() => S(B(this.list) || [], (e, t) => this.initItem(t, e)))), z(this, "liteData", N(() => {
|
|
456
|
+
z(this, "list", void 0), z(this, "focus", void 0), z(this, "highlight", void 0), z(this, "highlightLengthStart", void 0), z(this, "filterMode", void 0), z(this, "selected", void 0), z(this, "keyValue", void 0), z(this, "keyLabel", void 0), z(this, "lite", void 0), z(this, "min", void 0), z(this, "max", void 0), z(this, "parent", void 0), z(this, "subList", {}), z(this, "data", N(() => S(B(this.list) || [], (e, t) => this.initItem(t, e)))), z(this, "liteData", N(() => {
|
|
457
457
|
if (this.isLite()) {
|
|
458
458
|
let e = [];
|
|
459
459
|
for (let t of this.data.value) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxtmisha/functional",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.11.
|
|
4
|
+
"version": "1.11.10",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "A comprehensive library of utilities, base classes, and Vue 3 composables for reactive web development. Extends @dxtmisha/functional-basic with Composition API.",
|
|
7
7
|
"keywords": [
|
|
@@ -57,17 +57,17 @@
|
|
|
57
57
|
],
|
|
58
58
|
"main": "dist/library.js",
|
|
59
59
|
"module": "dist/library.js",
|
|
60
|
-
"types": "dist/library.d.ts",
|
|
60
|
+
"types": "dist/src/library.d.ts",
|
|
61
61
|
"exports": {
|
|
62
62
|
".": {
|
|
63
63
|
"import": "./dist/library.js",
|
|
64
|
-
"types": "./dist/library.d.ts"
|
|
64
|
+
"types": "./dist/src/library.d.ts"
|
|
65
65
|
},
|
|
66
66
|
"./flags": {
|
|
67
67
|
"import": "./dist/flags.js",
|
|
68
|
-
"types": "./dist/flags.d.ts"
|
|
68
|
+
"types": "./dist/src/flags.d.ts"
|
|
69
69
|
},
|
|
70
|
-
"./types/*": "./dist/*"
|
|
70
|
+
"./types/*": "./dist/src/*"
|
|
71
71
|
},
|
|
72
72
|
"engines": {
|
|
73
73
|
"node": ">=20.0.0"
|
|
@@ -77,14 +77,6 @@
|
|
|
77
77
|
"@dxtmisha/functional-basic": "*",
|
|
78
78
|
"vue": "*"
|
|
79
79
|
},
|
|
80
|
-
"peerDependenciesMeta": {
|
|
81
|
-
"@dxtmisha/media": {
|
|
82
|
-
"optional": true
|
|
83
|
-
},
|
|
84
|
-
"vue": {
|
|
85
|
-
"optional": true
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
80
|
"dependencies": {},
|
|
89
81
|
"sideEffects": false
|
|
90
82
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|