infinity-forge 2.3.9 → 2.4.1
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/dist/system/data/use-cases/menu/remote-get-menu.d.ts +2 -1
- package/dist/system/data/use-cases/menu/remote-get-menu.js +1 -1
- package/dist/system/data/use-cases/notifications/remote-notifications.d.ts +2 -1
- package/dist/system/data/use-cases/notifications/remote-notifications.js +1 -1
- package/dist/system/data/use-cases/users/remote-load-user-admin.d.ts +2 -1
- package/dist/system/data/use-cases/users/remote-load-user-admin.js +1 -1
- package/dist/system/data/use-cases/users/remote-users.d.ts +2 -1
- package/dist/system/data/use-cases/users/remote-users.js +1 -1
- package/dist/system/domain/use-cases/dynamic-section/dynamic-section.d.ts +2 -1
- package/dist/system/domain/use-cases/menu/detail.d.ts +2 -1
- package/dist/system/domain/use-cases/menu/load-all.d.ts +2 -1
- package/dist/system/domain/use-cases/users/load-all-users.d.ts +2 -1
- package/dist/system/domain/use-cases/users/load-user-admin.d.ts +2 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils/resolveSelection.d.ts +0 -18
- package/dist/ui/components/form/input-mask/lib/mask/utils/validate.d.ts +0 -13
- package/package.json +75 -75
|
@@ -8,4 +8,5 @@ export declare class RemoteMenu implements domain.LoadAllMenu, domain.CreateUser
|
|
|
8
8
|
create(params: domain.CreateUser.Params): Promise<domain.CreateUser.Model>;
|
|
9
9
|
delete(params: domain.DeleteUser.Params): Promise<any>;
|
|
10
10
|
edit(params: domain.EditUser.Params): Promise<any>;
|
|
11
|
-
getDetail(params: domain.LoadDetailUser.Params):
|
|
11
|
+
getDetail(params: domain.LoadDetailUser.Params): Promise<domain.User>;
|
|
12
|
+
}
|
|
@@ -7,4 +7,5 @@ export declare class RemoteNotifications implements domain.LoadNoReadNotificatio
|
|
|
7
7
|
loadAll(params: domain.LoadAllNotifications.Params): Promise<domain.LoadAllNotifications.Model>;
|
|
8
8
|
create(params: domain.CreateNotification.Params): Promise<domain.CreateNotification.Model>;
|
|
9
9
|
loadNoRead(): Promise<domain.LoadNoReadNotifications.Model>;
|
|
10
|
-
readAll(params: domain.ReadNotifications.Params): Promise<domain.
|
|
10
|
+
readAll(params: domain.ReadNotifications.Params): Promise<domain.ReadNotifications.Model>;
|
|
11
|
+
}
|
|
@@ -4,4 +4,5 @@ export declare class RemoteLoadUserAdmin implements domain.LoadUserAdmin {
|
|
|
4
4
|
private readonly makeApiURL;
|
|
5
5
|
private readonly httpClient;
|
|
6
6
|
constructor(makeApiURL: makeApiURL, httpClient: domain.HttpClient<domain.LoadUserAdmin.Model>);
|
|
7
|
-
load(): Promise<
|
|
7
|
+
load(): Promise<domain.UserAdmin>;
|
|
8
|
+
}
|
|
@@ -8,4 +8,5 @@ export declare class RemoteUsers implements domain.LoadAllUsers, domain.CreateUs
|
|
|
8
8
|
create(params: domain.CreateUser.Params): Promise<domain.CreateUser.Model>;
|
|
9
9
|
delete(params: domain.DeleteUser.Params): Promise<any>;
|
|
10
10
|
edit(params: domain.EditUser.Params): Promise<any>;
|
|
11
|
-
getDetail(params: domain.LoadDetailUser.
|
|
11
|
+
getDetail(params: domain.LoadDetailUser.Params): Promise<any>;
|
|
12
|
+
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { MaskPart, Replacement } from '../types.js';
|
|
2
|
-
import type { InputType } from '../../core/index.js';
|
|
3
|
-
interface ResolveSelectionParam {
|
|
4
|
-
inputType: InputType;
|
|
5
|
-
value: string;
|
|
6
|
-
addedValue: string;
|
|
7
|
-
beforeChangeValue: string;
|
|
8
|
-
parts: MaskPart[];
|
|
9
|
-
replacement: Replacement;
|
|
10
|
-
separate: boolean;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Определяет позицию курсора для последующей установки
|
|
14
|
-
* @param param
|
|
15
|
-
* @returns
|
|
16
|
-
*/
|
|
17
|
-
export default function resolveSelection({ inputType, value, addedValue, beforeChangeValue, parts, replacement, separate, }: ResolveSelectionParam): number;
|
|
18
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Replacement } from '../types.js';
|
|
2
|
-
interface ValidateParam {
|
|
3
|
-
initialValue: string;
|
|
4
|
-
mask: string;
|
|
5
|
-
replacement: Replacement;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Выводит в консоль сообщения об ошибках.
|
|
9
|
-
* Сообщения выводятся на этапе инициализации элеменета.
|
|
10
|
-
* @param param
|
|
11
|
-
*/
|
|
12
|
-
export default function validate({ initialValue, mask, replacement }: ValidateParam): void;
|
|
13
|
-
export {};
|
package/package.json
CHANGED
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "infinity-forge",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "codie Library",
|
|
5
|
-
"main": "./dist/index",
|
|
6
|
-
"module": "./dist/index",
|
|
7
|
-
"types": "./dist/index.d.ts",
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "https://github.com/CodieDigital/codiedigital-library"
|
|
11
|
-
},
|
|
12
|
-
"scripts": {
|
|
13
|
-
"dev": "next -p 3051",
|
|
14
|
-
"deploy": "npm version patch && npm publish",
|
|
15
|
-
"next": "next build",
|
|
16
|
-
"start": "next start -p 3015",
|
|
17
|
-
"build": "concurrently --kill-others-on-fail \"tsc -w\" \"tsc-alias -w --resolve-full-paths\" \"npm run build:CSS\" \"npm run fonts\"",
|
|
18
|
-
"build:CSS": "npm run minify-css && node combine-css.ts && cpx \"src/**/*.css\" dist --watch",
|
|
19
|
-
"minify-css": "postcss src/**/*.css --use cssnano -d dist --no-map",
|
|
20
|
-
"fonts": "tsc-alias -p tsconfig.json && mkdir dist\\fonts && for /r src %i in (*.otf, *.ttf) do copy \"%i\" dist\\fonts\\"
|
|
21
|
-
},
|
|
22
|
-
"peerDependencies": {
|
|
23
|
-
"react": ">=16"
|
|
24
|
-
},
|
|
25
|
-
"files": [
|
|
26
|
-
"dist",
|
|
27
|
-
"LICENSE",
|
|
28
|
-
"README.md"
|
|
29
|
-
],
|
|
30
|
-
"keywords": [
|
|
31
|
-
"react",
|
|
32
|
-
"typescript",
|
|
33
|
-
"awesome-project"
|
|
34
|
-
],
|
|
35
|
-
"author": "Codie Digital",
|
|
36
|
-
"license": "MIT",
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"@types/node": "^20.12.12",
|
|
39
|
-
"@types/react": "^18.3.3",
|
|
40
|
-
"@types/react-dom": "^18.3.0",
|
|
41
|
-
"@types/styled-components": "^5.1.34",
|
|
42
|
-
"concurrently": "^8.2.2",
|
|
43
|
-
"copyfiles": "^2.4.1",
|
|
44
|
-
"cpx": "^1.5.0",
|
|
45
|
-
"cssnano": "^7.0.1",
|
|
46
|
-
"fs-extra": "^11.2.0",
|
|
47
|
-
"postcss": "^8.4.38",
|
|
48
|
-
"postcss-cli": "^11.0.0",
|
|
49
|
-
"tsc-alias": "^1.8.10",
|
|
50
|
-
"tslib": "^2.6.2",
|
|
51
|
-
"typescript": "^5.4.5"
|
|
52
|
-
},
|
|
53
|
-
"dependencies": {
|
|
54
|
-
"@types/lodash": "^4.17.7",
|
|
55
|
-
"axios": "^1.7.2",
|
|
56
|
-
"chroma-js": "^2.4.2",
|
|
57
|
-
"formik": "^2.4.6",
|
|
58
|
-
"inversify": "^6.0.2",
|
|
59
|
-
"lodash": "^4.17.21",
|
|
60
|
-
"moment": "^2.30.1",
|
|
61
|
-
"next": "^14.2.3",
|
|
62
|
-
"react": "18.3.1",
|
|
63
|
-
"react-dom": "18.3.1",
|
|
64
|
-
"react-ga": "^3.3.1",
|
|
65
|
-
"react-rte": "^0.16.5",
|
|
66
|
-
"react-select": "^5.8.0",
|
|
67
|
-
"react-share": "^5.1.0",
|
|
68
|
-
"react-webcam": "^7.2.0",
|
|
69
|
-
"reflect-metadata": "^0.2.2",
|
|
70
|
-
"sharp": "^0.33.4",
|
|
71
|
-
"styled-components": "^6.1.11",
|
|
72
|
-
"yup": "^1.4.0",
|
|
73
|
-
"zustand": "^4.5.2"
|
|
74
|
-
}
|
|
75
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "infinity-forge",
|
|
3
|
+
"version": "2.4.1",
|
|
4
|
+
"description": "codie Library",
|
|
5
|
+
"main": "./dist/index",
|
|
6
|
+
"module": "./dist/index",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/CodieDigital/codiedigital-library"
|
|
11
|
+
},
|
|
12
|
+
"scripts": {
|
|
13
|
+
"dev": "next -p 3051",
|
|
14
|
+
"deploy": "npm version patch && npm publish",
|
|
15
|
+
"next": "next build",
|
|
16
|
+
"start": "next start -p 3015",
|
|
17
|
+
"build": "concurrently --kill-others-on-fail \"tsc -w\" \"tsc-alias -w --resolve-full-paths\" \"npm run build:CSS\" \"npm run fonts\"",
|
|
18
|
+
"build:CSS": "npm run minify-css && node combine-css.ts && cpx \"src/**/*.css\" dist --watch",
|
|
19
|
+
"minify-css": "postcss src/**/*.css --use cssnano -d dist --no-map",
|
|
20
|
+
"fonts": "tsc-alias -p tsconfig.json && mkdir dist\\fonts && for /r src %i in (*.otf, *.ttf) do copy \"%i\" dist\\fonts\\"
|
|
21
|
+
},
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"react": ">=16"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist",
|
|
27
|
+
"LICENSE",
|
|
28
|
+
"README.md"
|
|
29
|
+
],
|
|
30
|
+
"keywords": [
|
|
31
|
+
"react",
|
|
32
|
+
"typescript",
|
|
33
|
+
"awesome-project"
|
|
34
|
+
],
|
|
35
|
+
"author": "Codie Digital",
|
|
36
|
+
"license": "MIT",
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@types/node": "^20.12.12",
|
|
39
|
+
"@types/react": "^18.3.3",
|
|
40
|
+
"@types/react-dom": "^18.3.0",
|
|
41
|
+
"@types/styled-components": "^5.1.34",
|
|
42
|
+
"concurrently": "^8.2.2",
|
|
43
|
+
"copyfiles": "^2.4.1",
|
|
44
|
+
"cpx": "^1.5.0",
|
|
45
|
+
"cssnano": "^7.0.1",
|
|
46
|
+
"fs-extra": "^11.2.0",
|
|
47
|
+
"postcss": "^8.4.38",
|
|
48
|
+
"postcss-cli": "^11.0.0",
|
|
49
|
+
"tsc-alias": "^1.8.10",
|
|
50
|
+
"tslib": "^2.6.2",
|
|
51
|
+
"typescript": "^5.4.5"
|
|
52
|
+
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"@types/lodash": "^4.17.7",
|
|
55
|
+
"axios": "^1.7.2",
|
|
56
|
+
"chroma-js": "^2.4.2",
|
|
57
|
+
"formik": "^2.4.6",
|
|
58
|
+
"inversify": "^6.0.2",
|
|
59
|
+
"lodash": "^4.17.21",
|
|
60
|
+
"moment": "^2.30.1",
|
|
61
|
+
"next": "^14.2.3",
|
|
62
|
+
"react": "18.3.1",
|
|
63
|
+
"react-dom": "18.3.1",
|
|
64
|
+
"react-ga": "^3.3.1",
|
|
65
|
+
"react-rte": "^0.16.5",
|
|
66
|
+
"react-select": "^5.8.0",
|
|
67
|
+
"react-share": "^5.1.0",
|
|
68
|
+
"react-webcam": "^7.2.0",
|
|
69
|
+
"reflect-metadata": "^0.2.2",
|
|
70
|
+
"sharp": "^0.33.4",
|
|
71
|
+
"styled-components": "^6.1.11",
|
|
72
|
+
"yup": "^1.4.0",
|
|
73
|
+
"zustand": "^4.5.2"
|
|
74
|
+
}
|
|
75
|
+
}
|