@dxtmisha/functional 1.11.12 → 1.11.13
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/ai-description.txt +5 -1
- package/ai-types.txt +600 -207
- package/dist/library.js +1 -1
- package/dist/src/functions/dxtFunctionalPlugin.d.ts +6 -1
- package/package.json +1 -1
package/dist/library.js
CHANGED
|
@@ -1281,7 +1281,7 @@ var Ot = { install(t, n = {}) {
|
|
|
1281
1281
|
let e = t.config.globalProperties.$router;
|
|
1282
1282
|
e && X.set(e);
|
|
1283
1283
|
}
|
|
1284
|
-
n.errorCauses && s.addList(n.errorCauses), ht();
|
|
1284
|
+
n.errorCauses && s.addList(n.errorCauses), n.errorHandlers && s.addHandlerList(n.errorHandlers), ht();
|
|
1285
1285
|
} };
|
|
1286
1286
|
//#endregion
|
|
1287
1287
|
//#region src/functions/getInject.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Plugin } from 'vue';
|
|
2
|
-
import { ApiConfig, ErrorCenterCauseList, IconsConfig, TranslateConfig } from '@dxtmisha/functional-basic';
|
|
2
|
+
import { ApiConfig, ErrorCenterCauseList, ErrorCenterHandlerList, IconsConfig, TranslateConfig } from '@dxtmisha/functional-basic';
|
|
3
3
|
import { Router } from 'vue-router';
|
|
4
4
|
/**
|
|
5
5
|
* Interface for the functional plugin options /
|
|
@@ -36,6 +36,11 @@ export interface FunctionalPluginOptions {
|
|
|
36
36
|
* Список причин ошибок для центра ошибок
|
|
37
37
|
*/
|
|
38
38
|
errorCauses?: ErrorCenterCauseList;
|
|
39
|
+
/**
|
|
40
|
+
* Error handlers list for error center /
|
|
41
|
+
* Список обработчиков ошибок для центра ошибок
|
|
42
|
+
*/
|
|
43
|
+
errorHandlers?: ErrorCenterHandlerList;
|
|
39
44
|
}
|
|
40
45
|
/**
|
|
41
46
|
* Vue plugin for initializing and configuring global functional services
|
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.13",
|
|
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": [
|