spiderly 19.2.0 → 19.3.0-preview.0
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/fesm2022/spiderly.mjs +2195 -2108
- package/fesm2022/spiderly.mjs.map +1 -1
- package/lib/components/auth/login/login.component.d.ts +6 -7
- package/lib/components/auth/partials/verification-wrapper.component.d.ts +4 -4
- package/lib/components/base-details/role-base-details.component.d.ts +13 -23
- package/lib/components/base-form/base-form copy.d.ts +11 -28
- package/lib/components/info-card/info-card.component.d.ts +4 -2
- package/lib/components/layout/profile-avatar/profile-avatar.component.d.ts +18 -11
- package/lib/components/layout/sidebar/menuitem.component.d.ts +3 -3
- package/lib/components/spiderly-buttons/google-button/google-button.component.d.ts +2 -5
- package/lib/components/spiderly-buttons/spiderly-button/spiderly-button.component.d.ts +2 -1
- package/lib/components/spiderly-buttons/spiderly-button-base/spiderly-button-base.d.ts +2 -1
- package/lib/components/spiderly-data-table/spiderly-data-table.component.d.ts +12 -8
- package/lib/components/spiderly-form-control/spiderly-form-control.d.ts +24 -7
- package/lib/components/spiderly-panels/spiderly-card/spiderly-card.component.d.ts +1 -1
- package/lib/components/spiderly-panels/spiderly-panel/spiderly-panel.component.d.ts +2 -1
- package/lib/components/spiderly-panels/spiderly-panels.module.d.ts +4 -5
- package/lib/controls/base-control.d.ts +4 -3
- package/lib/controls/base-dropdown-control.d.ts +2 -2
- package/lib/controls/spiderly-autocomplete/spiderly-autocomplete.component.d.ts +4 -4
- package/lib/controls/spiderly-controls.module.d.ts +10 -11
- package/lib/controls/spiderly-file/spiderly-file.component.d.ts +7 -4
- package/lib/entities/base-entity.d.ts +14 -2
- package/lib/entities/codebook.d.ts +1 -0
- package/lib/entities/filter-sort-meta.d.ts +13 -0
- package/lib/entities/filter.d.ts +29 -1
- package/lib/entities/init-company-auth-dialog-details.d.ts +1 -0
- package/lib/entities/init-top-bar-data.d.ts +1 -0
- package/lib/entities/is-authorized-for-save-event.d.ts +2 -3
- package/lib/entities/last-menu-icon-index-clicked.d.ts +1 -0
- package/lib/entities/lazy-load-selected-ids-result.d.ts +1 -0
- package/lib/entities/namebook.d.ts +11 -2
- package/lib/entities/primeng-option.d.ts +1 -0
- package/lib/entities/security-entities.d.ts +197 -56
- package/lib/entities/simple-save-result.d.ts +1 -0
- package/lib/entities/spiderly-button.d.ts +5 -8
- package/lib/enums/security-enums.d.ts +0 -8
- package/lib/errors/spiderly-error.d.ts +3 -0
- package/lib/services/api.service.security.d.ts +1 -3
- package/lib/services/app-initializer.d.ts +1 -1
- package/lib/services/app-layout-base.service.d.ts +3 -3
- package/lib/services/auth-base.service.d.ts +4 -5
- package/lib/services/base-form.service.d.ts +10 -11
- package/lib/services/config-base.service.d.ts +0 -1
- package/lib/services/helper-functions.d.ts +17 -7
- package/lib/services/spiderly-message.service.d.ts +0 -1
- package/lib/services/spiderly-transloco-loader.d.ts +3 -1
- package/package.json +10 -10
- package/public-api.d.ts +1 -5
- package/styles/components/info-card/info-card.component.scss +61 -0
- package/styles/components/layout/profile-avatar/profile-avatar.component.scss +9 -0
- package/styles/components/spiderly-panels/panel-body/panel-body.component.scss +9 -0
- package/styles/components/spiderly-panels/panel-footer/panel-footer.component.scss +7 -0
- package/styles/components/spiderly-panels/spiderly-panel/spiderly-panel.component.scss +87 -10
- package/styles/controls/base-controls.scss +17 -0
- package/styles/styles/layout/_variables.scss +1 -1
- package/styles/styles/shared.scss +39 -105
- package/lib/components/auth/partials/registration-verification.component.d.ts +0 -17
- package/lib/components/auth/registration/registration.component.d.ts +0 -34
- package/lib/handlers/spiderly-transloco-fallback-strategy.d.ts +0 -13
- package/lib/modules/core.module.d.ts +0 -21
- package/lib/modules/spiderly-transloco.module.d.ts +0 -51
|
@@ -5,18 +5,17 @@ import * as i3 from "./spiderly-checkbox/spiderly-checkbox.component";
|
|
|
5
5
|
import * as i4 from "./spiderly-calendar/spiderly-calendar.component";
|
|
6
6
|
import * as i5 from "../components/spiderly-buttons/return-button/return-button.component";
|
|
7
7
|
import * as i6 from "../components/spiderly-buttons/spiderly-button/spiderly-button.component";
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "./spiderly-
|
|
10
|
-
import * as i9 from "./spiderly-
|
|
11
|
-
import * as i10 from "./spiderly-
|
|
12
|
-
import * as i11 from "./spiderly-
|
|
13
|
-
import * as i12 from "./spiderly-
|
|
14
|
-
import * as i13 from "./spiderly-
|
|
15
|
-
import * as i14 from "./spiderly-
|
|
16
|
-
import * as i15 from "./spiderly-
|
|
17
|
-
import * as i16 from "./spiderly-file/spiderly-file.component";
|
|
8
|
+
import * as i7 from "./spiderly-password/spiderly-password.component";
|
|
9
|
+
import * as i8 from "./spiderly-autocomplete/spiderly-autocomplete.component";
|
|
10
|
+
import * as i9 from "./spiderly-multiautocomplete/spiderly-multiautocomplete.component";
|
|
11
|
+
import * as i10 from "./spiderly-multiselect/spiderly-multiselect.component";
|
|
12
|
+
import * as i11 from "./spiderly-number/spiderly-number.component";
|
|
13
|
+
import * as i12 from "./spiderly-dropdown/spiderly-dropdown.component";
|
|
14
|
+
import * as i13 from "./spiderly-editor/spiderly-editor.component";
|
|
15
|
+
import * as i14 from "./spiderly-colorpicker/spiderly-colorpicker.component";
|
|
16
|
+
import * as i15 from "./spiderly-file/spiderly-file.component";
|
|
18
17
|
export declare class SpiderlyControlsModule {
|
|
19
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyControlsModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SpiderlyControlsModule, never, [typeof i1.SpiderlyTextboxComponent, typeof i2.SpiderlyTextareaComponent, typeof i3.SpiderlyCheckboxComponent, typeof i4.SpiderlyCalendarComponent, typeof i5.SpiderlyReturnButtonComponent, typeof i6.SpiderlyButtonComponent, typeof i7.
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SpiderlyControlsModule, never, [typeof i1.SpiderlyTextboxComponent, typeof i2.SpiderlyTextareaComponent, typeof i3.SpiderlyCheckboxComponent, typeof i4.SpiderlyCalendarComponent, typeof i5.SpiderlyReturnButtonComponent, typeof i6.SpiderlyButtonComponent, typeof i7.SpiderlyPasswordComponent, typeof i8.SpiderlyAutocompleteComponent, typeof i9.SpiderlyMultiAutocompleteComponent, typeof i10.SpiderlyMultiSelectComponent, typeof i11.SpiderlyNumberComponent, typeof i12.SpiderlyDropdownComponent, typeof i13.SpiderlyEditorComponent, typeof i14.SpiderlyColorPickerComponent, typeof i15.SpiderlyFileComponent], [typeof i1.SpiderlyTextboxComponent, typeof i2.SpiderlyTextareaComponent, typeof i3.SpiderlyCheckboxComponent, typeof i4.SpiderlyCalendarComponent, typeof i5.SpiderlyReturnButtonComponent, typeof i6.SpiderlyButtonComponent, typeof i7.SpiderlyPasswordComponent, typeof i8.SpiderlyAutocompleteComponent, typeof i9.SpiderlyMultiAutocompleteComponent, typeof i10.SpiderlyMultiSelectComponent, typeof i11.SpiderlyNumberComponent, typeof i12.SpiderlyDropdownComponent, typeof i13.SpiderlyEditorComponent, typeof i14.SpiderlyColorPickerComponent, typeof i15.SpiderlyFileComponent]>;
|
|
21
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<SpiderlyControlsModule>;
|
|
22
21
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { BaseControl } from '../base-control';
|
|
3
|
-
import { FileSelectEvent } from 'primeng/fileupload';
|
|
4
2
|
import { TranslocoService } from '@jsverse/transloco';
|
|
3
|
+
import { FileSelectEvent } from 'primeng/fileupload';
|
|
5
4
|
import { BaseEntity } from '../../entities/base-entity';
|
|
5
|
+
import { BaseControl } from '../base-control';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class SpiderlyFileComponent extends BaseControl implements OnInit {
|
|
8
8
|
protected translocoService: TranslocoService;
|
|
@@ -13,6 +13,7 @@ export declare class SpiderlyFileComponent extends BaseControl implements OnInit
|
|
|
13
13
|
acceptedFileTypes: Array<'image/*' | 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' | 'application/vnd.ms-excel' | '.xlsx' | '.xls'>;
|
|
14
14
|
required: boolean;
|
|
15
15
|
multiple: boolean;
|
|
16
|
+
isCloudinaryFileData: boolean;
|
|
16
17
|
acceptedFileTypesCommaSeparated: string;
|
|
17
18
|
files: File[];
|
|
18
19
|
constructor(translocoService: TranslocoService);
|
|
@@ -20,11 +21,12 @@ export declare class SpiderlyFileComponent extends BaseControl implements OnInit
|
|
|
20
21
|
filesSelected(event: FileSelectEvent): void;
|
|
21
22
|
choose(event: any, chooseCallback: any): void;
|
|
22
23
|
fileRemoved(removeFileCallback: any, index: number): void;
|
|
23
|
-
|
|
24
|
+
pushFileFromCloudinaryUrl(cloudinaryUrl: string): Promise<File>;
|
|
25
|
+
getFileFromBase64(base64String: string): File;
|
|
24
26
|
isImageFileType(mimeType: string): boolean;
|
|
25
27
|
isExcelFileType(mimeType: string): boolean;
|
|
26
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyFileComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyFileComponent, "spiderly-file", never, { "objectId": { "alias": "objectId"; "required": false; }; "fileData": { "alias": "fileData"; "required": false; }; "acceptedFileTypes": { "alias": "acceptedFileTypes"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "files": { "alias": "files"; "required": false; }; }, { "onFileSelected": "onFileSelected"; "onFileRemoved": "onFileRemoved"; }, never, never, true, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyFileComponent, "spiderly-file", never, { "objectId": { "alias": "objectId"; "required": false; }; "fileData": { "alias": "fileData"; "required": false; }; "acceptedFileTypes": { "alias": "acceptedFileTypes"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "isCloudinaryFileData": { "alias": "isCloudinaryFileData"; "required": false; }; "files": { "alias": "files"; "required": false; }; }, { "onFileSelected": "onFileSelected"; "onFileRemoved": "onFileRemoved"; }, never, never, true, never>;
|
|
28
30
|
}
|
|
29
31
|
export declare class SpiderlyFileSelectEvent extends BaseEntity {
|
|
30
32
|
file?: File;
|
|
@@ -33,4 +35,5 @@ export declare class SpiderlyFileSelectEvent extends BaseEntity {
|
|
|
33
35
|
file?: File;
|
|
34
36
|
formData?: FormData;
|
|
35
37
|
});
|
|
38
|
+
static readonly typeName: "SpiderlyFileSelectEvent";
|
|
36
39
|
}
|
|
@@ -1,4 +1,16 @@
|
|
|
1
|
+
interface PropertySchema {
|
|
2
|
+
type: string;
|
|
3
|
+
nestedConstructor?: SchemaAwareConstructor<any>;
|
|
4
|
+
isSaveBodyMainDTO?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export interface ClassSchema {
|
|
7
|
+
[propertyName: string]: PropertySchema;
|
|
8
|
+
}
|
|
9
|
+
export type SchemaAwareConstructor<T> = {
|
|
10
|
+
new (...args: any[]): T;
|
|
11
|
+
readonly schema: ClassSchema;
|
|
12
|
+
readonly typeName: string;
|
|
13
|
+
};
|
|
1
14
|
export declare class BaseEntity {
|
|
2
|
-
typeName?: string;
|
|
3
|
-
constructor(typeName: string);
|
|
4
15
|
}
|
|
16
|
+
export {};
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
export declare class FilterSortMeta {
|
|
2
2
|
field: string;
|
|
3
3
|
order: number;
|
|
4
|
+
constructor({ field, order, }?: {
|
|
5
|
+
field?: string;
|
|
6
|
+
order?: number;
|
|
7
|
+
});
|
|
8
|
+
static schema: {
|
|
9
|
+
readonly field: {
|
|
10
|
+
readonly type: "string";
|
|
11
|
+
};
|
|
12
|
+
readonly order: {
|
|
13
|
+
readonly type: "number";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
static readonly typeName: "FilterSortMeta";
|
|
4
17
|
}
|
package/lib/entities/filter.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseEntity } from "./base-entity";
|
|
2
|
-
import { FilterSortMeta as FilterSortMeta } from "./filter-sort-meta";
|
|
3
2
|
import { FilterRule } from "./filter-rule";
|
|
3
|
+
import { FilterSortMeta } from "./filter-sort-meta";
|
|
4
4
|
export declare class Filter<T extends BaseEntity = any> extends BaseEntity {
|
|
5
5
|
filters?: {
|
|
6
6
|
[K in keyof T]?: FilterRule[];
|
|
@@ -24,4 +24,32 @@ export declare class Filter<T extends BaseEntity = any> extends BaseEntity {
|
|
|
24
24
|
additionalFilterIdInt?: number;
|
|
25
25
|
additionalFilterIdLong?: number;
|
|
26
26
|
});
|
|
27
|
+
static schema: {
|
|
28
|
+
readonly filters: {
|
|
29
|
+
readonly type: "Object";
|
|
30
|
+
};
|
|
31
|
+
readonly first: {
|
|
32
|
+
readonly type: "number";
|
|
33
|
+
};
|
|
34
|
+
readonly rows: {
|
|
35
|
+
readonly type: "number";
|
|
36
|
+
};
|
|
37
|
+
readonly sortField: {
|
|
38
|
+
readonly type: "string";
|
|
39
|
+
};
|
|
40
|
+
readonly sortOrder: {
|
|
41
|
+
readonly type: "number";
|
|
42
|
+
};
|
|
43
|
+
readonly multiSortMeta: {
|
|
44
|
+
readonly type: "FilterSortMeta[]";
|
|
45
|
+
readonly nestedConstructor: typeof FilterSortMeta;
|
|
46
|
+
};
|
|
47
|
+
readonly additionalFilterIdInt: {
|
|
48
|
+
readonly type: "number";
|
|
49
|
+
};
|
|
50
|
+
readonly additionalFilterIdLong: {
|
|
51
|
+
readonly type: "number";
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
static readonly typeName: "Filter";
|
|
27
55
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { BaseEntity } from "./base-entity";
|
|
2
2
|
export declare class IsAuthorizedForSaveEvent extends BaseEntity {
|
|
3
3
|
isAuthorizedForSave?: boolean;
|
|
4
|
-
|
|
5
|
-
constructor({ isAuthorizedForSave, currentUserPermissionCodes, }?: {
|
|
4
|
+
constructor({ isAuthorizedForSave, }?: {
|
|
6
5
|
isAuthorizedForSave?: boolean;
|
|
7
|
-
currentUserPermissionCodes?: string[];
|
|
8
6
|
});
|
|
7
|
+
static readonly typeName: "IsAuthorizedForSaveEvent";
|
|
9
8
|
}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { BaseEntity } from "../entities/base-entity";
|
|
2
2
|
export declare class Namebook extends BaseEntity {
|
|
3
|
-
id?:
|
|
3
|
+
id?: any;
|
|
4
4
|
displayName?: string;
|
|
5
5
|
constructor({ id, displayName, }?: {
|
|
6
|
-
id?:
|
|
6
|
+
id?: any;
|
|
7
7
|
displayName?: string;
|
|
8
8
|
});
|
|
9
|
+
static schema: {
|
|
10
|
+
readonly id: {
|
|
11
|
+
readonly type: "any";
|
|
12
|
+
};
|
|
13
|
+
readonly displayName: {
|
|
14
|
+
readonly type: "string";
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
static readonly typeName: "Namebook";
|
|
9
18
|
}
|
|
@@ -1,27 +1,24 @@
|
|
|
1
1
|
import { BaseEntity } from "./base-entity";
|
|
2
|
-
import { RegistrationVerificationResultStatusCodes } from "../enums/security-enums";
|
|
3
2
|
import { Namebook } from "./namebook";
|
|
4
3
|
export declare class UserBase extends BaseEntity {
|
|
4
|
+
static readonly typeName: "UserBase";
|
|
5
5
|
id?: number;
|
|
6
6
|
email?: string;
|
|
7
7
|
constructor({ id, email, }?: {
|
|
8
8
|
id?: number;
|
|
9
9
|
email?: string;
|
|
10
10
|
});
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
userEmail?: string;
|
|
20
|
-
accessToken?: string;
|
|
21
|
-
token?: RefreshToken;
|
|
22
|
-
});
|
|
11
|
+
static readonly schema: {
|
|
12
|
+
readonly id: {
|
|
13
|
+
readonly type: "number";
|
|
14
|
+
};
|
|
15
|
+
readonly email: {
|
|
16
|
+
readonly type: "string";
|
|
17
|
+
};
|
|
18
|
+
};
|
|
23
19
|
}
|
|
24
20
|
export declare class RolePermission extends BaseEntity {
|
|
21
|
+
static readonly typeName: "RolePermission";
|
|
25
22
|
roleDisplayName?: string;
|
|
26
23
|
roleId?: number;
|
|
27
24
|
permissionDisplayName?: string;
|
|
@@ -32,14 +29,36 @@ export declare class RolePermission extends BaseEntity {
|
|
|
32
29
|
permissionDisplayName?: string;
|
|
33
30
|
permissionId?: number;
|
|
34
31
|
});
|
|
32
|
+
static readonly schema: {
|
|
33
|
+
readonly roleDisplayName: {
|
|
34
|
+
readonly type: "string";
|
|
35
|
+
};
|
|
36
|
+
readonly roleId: {
|
|
37
|
+
readonly type: "number";
|
|
38
|
+
};
|
|
39
|
+
readonly permissionDisplayName: {
|
|
40
|
+
readonly type: "string";
|
|
41
|
+
};
|
|
42
|
+
readonly permissionId: {
|
|
43
|
+
readonly type: "number";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
35
46
|
}
|
|
36
47
|
export declare class RolePermissionSaveBody extends BaseEntity {
|
|
48
|
+
static readonly typeName: "RolePermissionSaveBody";
|
|
37
49
|
rolePermissionDTO?: RolePermission;
|
|
38
50
|
constructor({ rolePermissionDTO }?: {
|
|
39
51
|
rolePermissionDTO?: RolePermission;
|
|
40
52
|
});
|
|
53
|
+
static readonly schema: {
|
|
54
|
+
readonly rolePermissionDTO: {
|
|
55
|
+
readonly type: "RolePermission";
|
|
56
|
+
readonly nestedConstructor: typeof RolePermission;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
41
59
|
}
|
|
42
60
|
export declare class AuthResult extends BaseEntity {
|
|
61
|
+
static readonly typeName: "AuthResult";
|
|
43
62
|
userId?: number;
|
|
44
63
|
email?: string;
|
|
45
64
|
accessToken?: string;
|
|
@@ -50,8 +69,23 @@ export declare class AuthResult extends BaseEntity {
|
|
|
50
69
|
accessToken?: string;
|
|
51
70
|
refreshToken?: string;
|
|
52
71
|
});
|
|
72
|
+
static readonly schema: {
|
|
73
|
+
readonly userId: {
|
|
74
|
+
readonly type: "number";
|
|
75
|
+
};
|
|
76
|
+
readonly email: {
|
|
77
|
+
readonly type: "string";
|
|
78
|
+
};
|
|
79
|
+
readonly accessToken: {
|
|
80
|
+
readonly type: "string";
|
|
81
|
+
};
|
|
82
|
+
readonly refreshToken: {
|
|
83
|
+
readonly type: "string";
|
|
84
|
+
};
|
|
85
|
+
};
|
|
53
86
|
}
|
|
54
87
|
export declare class VerificationTokenRequest extends BaseEntity {
|
|
88
|
+
static readonly typeName: "VerificationTokenRequest";
|
|
55
89
|
verificationCode?: string;
|
|
56
90
|
browserId?: string;
|
|
57
91
|
email?: string;
|
|
@@ -60,48 +94,67 @@ export declare class VerificationTokenRequest extends BaseEntity {
|
|
|
60
94
|
browserId?: string;
|
|
61
95
|
email?: string;
|
|
62
96
|
});
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
browserId?: string;
|
|
75
|
-
expireAt?: Date;
|
|
76
|
-
constructor({ email, browserId, expireAt }?: {
|
|
77
|
-
email?: string;
|
|
78
|
-
browserId?: string;
|
|
79
|
-
expireAt?: Date;
|
|
80
|
-
});
|
|
97
|
+
static readonly schema: {
|
|
98
|
+
readonly verificationCode: {
|
|
99
|
+
readonly type: "string";
|
|
100
|
+
};
|
|
101
|
+
readonly browserId: {
|
|
102
|
+
readonly type: "string";
|
|
103
|
+
};
|
|
104
|
+
readonly email: {
|
|
105
|
+
readonly type: "string";
|
|
106
|
+
};
|
|
107
|
+
};
|
|
81
108
|
}
|
|
82
109
|
export declare class ExternalProvider extends BaseEntity {
|
|
110
|
+
static readonly typeName: "ExternalProvider";
|
|
83
111
|
idToken?: string;
|
|
84
112
|
browserId?: string;
|
|
85
113
|
constructor({ idToken, browserId }?: {
|
|
86
114
|
idToken?: string;
|
|
87
115
|
browserId?: string;
|
|
88
116
|
});
|
|
117
|
+
static readonly schema: {
|
|
118
|
+
readonly idToken: {
|
|
119
|
+
readonly type: "string";
|
|
120
|
+
};
|
|
121
|
+
readonly browserId: {
|
|
122
|
+
readonly type: "string";
|
|
123
|
+
};
|
|
124
|
+
};
|
|
89
125
|
}
|
|
90
126
|
export declare class UserRole extends BaseEntity {
|
|
127
|
+
static readonly typeName: "UserRole";
|
|
91
128
|
roleId?: number;
|
|
92
129
|
userId?: number;
|
|
93
130
|
constructor({ roleId, userId }?: {
|
|
94
131
|
roleId?: number;
|
|
95
132
|
userId?: number;
|
|
96
133
|
});
|
|
134
|
+
static readonly schema: {
|
|
135
|
+
readonly roleId: {
|
|
136
|
+
readonly type: "number";
|
|
137
|
+
};
|
|
138
|
+
readonly userId: {
|
|
139
|
+
readonly type: "number";
|
|
140
|
+
};
|
|
141
|
+
};
|
|
97
142
|
}
|
|
98
143
|
export declare class UserRoleSaveBody extends BaseEntity {
|
|
144
|
+
static readonly typeName: "UserRoleSaveBody";
|
|
99
145
|
userRoleDTO?: UserRole;
|
|
100
146
|
constructor({ userRoleDTO }?: {
|
|
101
147
|
userRoleDTO?: UserRole;
|
|
102
148
|
});
|
|
149
|
+
static readonly schema: {
|
|
150
|
+
readonly userRoleDTO: {
|
|
151
|
+
readonly type: "UserRole";
|
|
152
|
+
readonly nestedConstructor: typeof UserRole;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
103
155
|
}
|
|
104
156
|
export declare class LoginVerificationToken extends BaseEntity {
|
|
157
|
+
static readonly typeName: "LoginVerificationToken";
|
|
105
158
|
email?: string;
|
|
106
159
|
userId?: number;
|
|
107
160
|
browserId?: string;
|
|
@@ -112,32 +165,57 @@ export declare class LoginVerificationToken extends BaseEntity {
|
|
|
112
165
|
browserId?: string;
|
|
113
166
|
expireAt?: Date;
|
|
114
167
|
});
|
|
168
|
+
static readonly schema: {
|
|
169
|
+
readonly email: {
|
|
170
|
+
readonly type: "string";
|
|
171
|
+
};
|
|
172
|
+
readonly userId: {
|
|
173
|
+
readonly type: "number";
|
|
174
|
+
};
|
|
175
|
+
readonly browserId: {
|
|
176
|
+
readonly type: "string";
|
|
177
|
+
};
|
|
178
|
+
readonly expireAt: {
|
|
179
|
+
readonly type: "Date";
|
|
180
|
+
};
|
|
181
|
+
};
|
|
115
182
|
}
|
|
116
183
|
export declare class Login extends BaseEntity {
|
|
184
|
+
static readonly typeName: "Login";
|
|
117
185
|
email?: string;
|
|
118
186
|
browserId?: string;
|
|
119
187
|
constructor({ email, browserId }?: {
|
|
120
188
|
email?: string;
|
|
121
189
|
browserId?: string;
|
|
122
190
|
});
|
|
191
|
+
static readonly schema: {
|
|
192
|
+
readonly email: {
|
|
193
|
+
readonly type: "string";
|
|
194
|
+
};
|
|
195
|
+
readonly browserId: {
|
|
196
|
+
readonly type: "string";
|
|
197
|
+
};
|
|
198
|
+
};
|
|
123
199
|
}
|
|
124
200
|
export declare class RefreshTokenRequest extends BaseEntity {
|
|
201
|
+
static readonly typeName: "RefreshTokenRequest";
|
|
125
202
|
refreshToken?: string;
|
|
126
203
|
browserId?: string;
|
|
127
204
|
constructor({ refreshToken, browserId }?: {
|
|
128
205
|
refreshToken?: string;
|
|
129
206
|
browserId?: string;
|
|
130
207
|
});
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
208
|
+
static readonly schema: {
|
|
209
|
+
readonly refreshToken: {
|
|
210
|
+
readonly type: "string";
|
|
211
|
+
};
|
|
212
|
+
readonly browserId: {
|
|
213
|
+
readonly type: "string";
|
|
214
|
+
};
|
|
215
|
+
};
|
|
139
216
|
}
|
|
140
217
|
export declare class Role extends BaseEntity {
|
|
218
|
+
static readonly typeName: "Role";
|
|
141
219
|
name?: string;
|
|
142
220
|
description?: string;
|
|
143
221
|
version?: number;
|
|
@@ -152,18 +230,54 @@ export declare class Role extends BaseEntity {
|
|
|
152
230
|
createdAt?: Date;
|
|
153
231
|
modifiedAt?: Date;
|
|
154
232
|
});
|
|
233
|
+
static readonly schema: {
|
|
234
|
+
readonly name: {
|
|
235
|
+
readonly type: "string";
|
|
236
|
+
};
|
|
237
|
+
readonly description: {
|
|
238
|
+
readonly type: "string";
|
|
239
|
+
};
|
|
240
|
+
readonly version: {
|
|
241
|
+
readonly type: "number";
|
|
242
|
+
};
|
|
243
|
+
readonly id: {
|
|
244
|
+
readonly type: "number";
|
|
245
|
+
};
|
|
246
|
+
readonly createdAt: {
|
|
247
|
+
readonly type: "Date";
|
|
248
|
+
};
|
|
249
|
+
readonly modifiedAt: {
|
|
250
|
+
readonly type: "Date";
|
|
251
|
+
};
|
|
252
|
+
};
|
|
155
253
|
}
|
|
156
254
|
export declare class RoleMainUIForm extends BaseEntity {
|
|
255
|
+
static readonly typeName: "RoleMainUIForm";
|
|
157
256
|
roleDTO?: Role;
|
|
158
257
|
usersNamebookDTOList?: Namebook[];
|
|
159
|
-
|
|
160
|
-
constructor({ roleDTO, usersNamebookDTOList,
|
|
258
|
+
permissionsIds?: number[];
|
|
259
|
+
constructor({ roleDTO, usersNamebookDTOList, permissionsIds }?: {
|
|
161
260
|
roleDTO?: Role;
|
|
162
261
|
usersNamebookDTOList?: Namebook[];
|
|
163
|
-
|
|
262
|
+
permissionsIds?: number[];
|
|
164
263
|
});
|
|
264
|
+
static readonly schema: {
|
|
265
|
+
readonly roleDTO: {
|
|
266
|
+
readonly type: "Role";
|
|
267
|
+
readonly nestedConstructor: typeof Role;
|
|
268
|
+
readonly isMainDTOForMainUIFormDTO: true;
|
|
269
|
+
};
|
|
270
|
+
readonly usersNamebookDTOList: {
|
|
271
|
+
readonly type: "Namebook[]";
|
|
272
|
+
readonly nestedConstructor: typeof Namebook;
|
|
273
|
+
};
|
|
274
|
+
readonly permissionsIds: {
|
|
275
|
+
readonly type: "number[]";
|
|
276
|
+
};
|
|
277
|
+
};
|
|
165
278
|
}
|
|
166
279
|
export declare class RoleSaveBody extends BaseEntity {
|
|
280
|
+
static readonly typeName: "RoleSaveBody";
|
|
167
281
|
roleDTO?: Role;
|
|
168
282
|
selectedPermissionsIds?: number[];
|
|
169
283
|
selectedUsersIds?: number[];
|
|
@@ -172,22 +286,22 @@ export declare class RoleSaveBody extends BaseEntity {
|
|
|
172
286
|
selectedPermissionsIds?: number[];
|
|
173
287
|
selectedUsersIds?: number[];
|
|
174
288
|
});
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
});
|
|
289
|
+
static readonly schema: {
|
|
290
|
+
readonly roleDTO: {
|
|
291
|
+
readonly type: "Role";
|
|
292
|
+
readonly nestedConstructor: typeof Role;
|
|
293
|
+
readonly isSaveBodyMainDTO: true;
|
|
294
|
+
};
|
|
295
|
+
readonly selectedPermissionsIds: {
|
|
296
|
+
readonly type: "number[]";
|
|
297
|
+
};
|
|
298
|
+
readonly selectedUsersIds: {
|
|
299
|
+
readonly type: "number[]";
|
|
300
|
+
};
|
|
301
|
+
};
|
|
189
302
|
}
|
|
190
303
|
export declare class Permission extends BaseEntity {
|
|
304
|
+
static readonly typeName: "Permission";
|
|
191
305
|
name?: string;
|
|
192
306
|
nameLatin?: string;
|
|
193
307
|
description?: string;
|
|
@@ -202,10 +316,37 @@ export declare class Permission extends BaseEntity {
|
|
|
202
316
|
code?: string;
|
|
203
317
|
id?: number;
|
|
204
318
|
});
|
|
319
|
+
static readonly schema: {
|
|
320
|
+
readonly name: {
|
|
321
|
+
readonly type: "string";
|
|
322
|
+
};
|
|
323
|
+
readonly nameLatin: {
|
|
324
|
+
readonly type: "string";
|
|
325
|
+
};
|
|
326
|
+
readonly description: {
|
|
327
|
+
readonly type: "string";
|
|
328
|
+
};
|
|
329
|
+
readonly descriptionLatin: {
|
|
330
|
+
readonly type: "string";
|
|
331
|
+
};
|
|
332
|
+
readonly code: {
|
|
333
|
+
readonly type: "string";
|
|
334
|
+
};
|
|
335
|
+
readonly id: {
|
|
336
|
+
readonly type: "number";
|
|
337
|
+
};
|
|
338
|
+
};
|
|
205
339
|
}
|
|
206
340
|
export declare class PermissionSaveBody extends BaseEntity {
|
|
341
|
+
static readonly typeName: "PermissionSaveBody";
|
|
207
342
|
permissionDTO?: Permission;
|
|
208
343
|
constructor({ permissionDTO }?: {
|
|
209
344
|
permissionDTO?: Permission;
|
|
210
345
|
});
|
|
346
|
+
static readonly schema: {
|
|
347
|
+
readonly permissionDTO: {
|
|
348
|
+
readonly type: "Permission";
|
|
349
|
+
readonly nestedConstructor: typeof Permission;
|
|
350
|
+
};
|
|
351
|
+
};
|
|
211
352
|
}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
export declare class SpiderlyButton extends BaseEntity {
|
|
1
|
+
export interface SpiderlyButton {
|
|
3
2
|
label?: string;
|
|
4
3
|
icon?: string;
|
|
5
4
|
disabled?: boolean;
|
|
6
5
|
onClick?: () => void;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
onClick?: () => void;
|
|
12
|
-
});
|
|
6
|
+
outlined?: boolean;
|
|
7
|
+
severity?: 'success' | 'info' | 'warn' | 'danger' | 'help' | 'primary' | 'secondary' | 'contrast' | null | undefined;
|
|
8
|
+
rounded?: boolean;
|
|
9
|
+
size?: 'small' | 'large' | undefined;
|
|
13
10
|
}
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
export declare enum LoginVerificationResultStatusCodes {
|
|
2
|
-
}
|
|
3
|
-
export declare enum RegistrationVerificationResultStatusCodes {
|
|
4
|
-
UserDoesNotExistAndDoesNotHaveValidToken = 0,
|
|
5
|
-
UserWithoutPasswordExists = 1,
|
|
6
|
-
UserWithPasswordExists = 2,
|
|
7
|
-
UnexpectedError = 3
|
|
8
|
-
}
|
|
9
1
|
export declare enum SecurityPermissionCodes {
|
|
10
2
|
ReadUser = "ReadUser",
|
|
11
3
|
UpdateUser = "UpdateUser",
|