ngx-techlify-core 18.11.0 → 18.13.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/esm2022/lib/entity-files/entity-files-view-all.component.mjs +12 -4
- package/esm2022/lib/entity-files/entity-files-view-all.module.mjs +6 -3
- package/esm2022/lib/file-dropper/file-dropper.component.mjs +3 -3
- package/esm2022/lib/login/login-form-fields/login-form-fields.component.mjs +25 -10
- package/esm2022/lib/pipes/wrap.pipe.mjs +20 -0
- package/esm2022/lib/role/permission/permissions-management.component.mjs +10 -11
- package/esm2022/lib/searchable-selector/searchable-selector.component.mjs +3 -3
- package/esm2022/lib/user/user-form.component.mjs +7 -8
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/ngx-techlify-core.mjs +120 -79
- package/fesm2022/ngx-techlify-core.mjs.map +1 -1
- package/lib/entity-files/entity-files-view-all.component.d.ts +4 -1
- package/lib/entity-files/entity-files-view-all.module.d.ts +2 -1
- package/lib/file-dropper/file-dropper.component.d.ts +1 -1
- package/lib/login/login-form-fields/login-form-fields.component.d.ts +3 -1
- package/lib/pipes/wrap.pipe.d.ts +7 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -26,8 +26,11 @@ export declare class EntityFilesViewAllComponent implements OnInit {
|
|
|
26
26
|
displayMode: boolean;
|
|
27
27
|
allowMultipleFiles: boolean;
|
|
28
28
|
allowBulkUpdate: boolean;
|
|
29
|
+
viewMode: 'list' | 'timeline';
|
|
30
|
+
fileDropperHeight: string;
|
|
29
31
|
documentIds: any[];
|
|
30
32
|
isAllSelected: boolean;
|
|
33
|
+
total: number;
|
|
31
34
|
/**
|
|
32
35
|
* Should we allow tagging entity-files?
|
|
33
36
|
*/
|
|
@@ -78,5 +81,5 @@ export declare class EntityFilesViewAllComponent implements OnInit {
|
|
|
78
81
|
resetFieldValueOfRow(field: string, event: any): void;
|
|
79
82
|
bulkUpdate(fieldName: any): Promise<void>;
|
|
80
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<EntityFilesViewAllComponent, never>;
|
|
81
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntityFilesViewAllComponent, "app-entity-files-view-all", never, { "entityId": { "alias": "entityId"; "required": false; }; "entityType": { "alias": "entityType"; "required": false; }; "viewOnly": { "alias": "viewOnly"; "required": false; }; "removeSearch": { "alias": "removeSearch"; "required": false; }; "hideTitleAndDetails": { "alias": "hideTitleAndDetails"; "required": false; }; "displayMode": { "alias": "displayMode"; "required": false; }; "allowMultipleFiles": { "alias": "allowMultipleFiles"; "required": false; }; "allowBulkUpdate": { "alias": "allowBulkUpdate"; "required": false; }; "useTechlifyTags": { "alias": "useTechlifyTags"; "required": false; }; "techlifyTagCategories": { "alias": "techlifyTagCategories"; "required": false; }; "techlifyTagConfig": { "alias": "techlifyTagConfig"; "required": false; }; "title": { "alias": "title"; "required": false; }; "permission": { "alias": "permission"; "required": false; }; }, {}, never, never, false, never>;
|
|
84
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntityFilesViewAllComponent, "app-entity-files-view-all", never, { "entityId": { "alias": "entityId"; "required": false; }; "entityType": { "alias": "entityType"; "required": false; }; "viewOnly": { "alias": "viewOnly"; "required": false; }; "removeSearch": { "alias": "removeSearch"; "required": false; }; "hideTitleAndDetails": { "alias": "hideTitleAndDetails"; "required": false; }; "displayMode": { "alias": "displayMode"; "required": false; }; "allowMultipleFiles": { "alias": "allowMultipleFiles"; "required": false; }; "allowBulkUpdate": { "alias": "allowBulkUpdate"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; "fileDropperHeight": { "alias": "fileDropperHeight"; "required": false; }; "useTechlifyTags": { "alias": "useTechlifyTags"; "required": false; }; "techlifyTagCategories": { "alias": "techlifyTagCategories"; "required": false; }; "techlifyTagConfig": { "alias": "techlifyTagConfig"; "required": false; }; "title": { "alias": "title"; "required": false; }; "permission": { "alias": "permission"; "required": false; }; }, {}, never, never, false, never>;
|
|
82
85
|
}
|
|
@@ -13,8 +13,9 @@ import * as i11 from "../techlify-tagger-tag-form-field/techlify-tagger-tag-form
|
|
|
13
13
|
import * as i12 from "../searchable-selector/searchable-selector.module";
|
|
14
14
|
import * as i13 from "../read-more/read-more.module";
|
|
15
15
|
import * as i14 from "@angular/material/progress-bar";
|
|
16
|
+
import * as i15 from "../pipes/wrap.pipe";
|
|
16
17
|
export declare class EntityFilesViewAllModule {
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<EntityFilesViewAllModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EntityFilesViewAllModule, [typeof i1.EntityFileFormComponent, typeof i2.EntityFilesViewAllComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.FlexLayoutModule, typeof i6.FileDropperModule, typeof i7.DocumentViewerModule, typeof i8.InfiniteScrollModule, typeof i9.ActionPopupModule, typeof i10.MaterialModule, typeof i11.TechlifyTaggerTagFormFieldModule, typeof i12.SearchableSelectorModule, typeof i13.ReadMoreModule, typeof i14.MatProgressBarModule], [typeof i2.EntityFilesViewAllComponent]>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EntityFilesViewAllModule, [typeof i1.EntityFileFormComponent, typeof i2.EntityFilesViewAllComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.FlexLayoutModule, typeof i6.FileDropperModule, typeof i7.DocumentViewerModule, typeof i8.InfiniteScrollModule, typeof i9.ActionPopupModule, typeof i10.MaterialModule, typeof i11.TechlifyTaggerTagFormFieldModule, typeof i12.SearchableSelectorModule, typeof i13.ReadMoreModule, typeof i14.MatProgressBarModule, typeof i15.WrapPipe], [typeof i2.EntityFilesViewAllComponent]>;
|
|
19
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<EntityFilesViewAllModule>;
|
|
20
21
|
}
|
|
@@ -26,7 +26,7 @@ export declare class FileDropperComponent implements OnInit {
|
|
|
26
26
|
/**Method to add files in the array */
|
|
27
27
|
addFiles(fileArray: any): void;
|
|
28
28
|
/**Method to sort the files in asc */
|
|
29
|
-
sortFiles(a: any, b: any):
|
|
29
|
+
sortFiles(a: any, b: any): 1 | 0 | -1;
|
|
30
30
|
/**Method tp validate the file size */
|
|
31
31
|
fileSizeAllowed(file: any): boolean;
|
|
32
32
|
/**Method invokes when the drop box is clicked to upload the file */
|
|
@@ -6,6 +6,7 @@ import { CurrentUserService } from '../../user';
|
|
|
6
6
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
7
7
|
import { MultiUserConfig, UserConfigService } from '../../user-config';
|
|
8
8
|
import { UserTypeEnum } from '../../user/user-type.enum';
|
|
9
|
+
import { NgxPermissionsService } from 'ngx-permissions';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class LoginFormFieldsComponent extends TechlifyFormComponentInterface implements OnInit {
|
|
11
12
|
private fb;
|
|
@@ -17,6 +18,7 @@ export declare class LoginFormFieldsComponent extends TechlifyFormComponentInter
|
|
|
17
18
|
private route;
|
|
18
19
|
userConfigService: UserConfigService;
|
|
19
20
|
private errorHandler;
|
|
21
|
+
private ngxPermissionsService;
|
|
20
22
|
userConfig?: MultiUserConfig;
|
|
21
23
|
isWorking: boolean;
|
|
22
24
|
form: UntypedFormGroup;
|
|
@@ -26,7 +28,7 @@ export declare class LoginFormFieldsComponent extends TechlifyFormComponentInter
|
|
|
26
28
|
};
|
|
27
29
|
userClients: any[];
|
|
28
30
|
userType: typeof UserTypeEnum;
|
|
29
|
-
constructor(fb: FormBuilder, formValidatorService: FormValidatorService, config: ConfigService, credentialService: CredentialsService, currentUserService: CurrentUserService, authService: AuthenticationService, router: Router, route: ActivatedRoute, userConfigService: UserConfigService, errorHandler: ErrorHandlerService);
|
|
31
|
+
constructor(fb: FormBuilder, formValidatorService: FormValidatorService, config: ConfigService, credentialService: CredentialsService, currentUserService: CurrentUserService, authService: AuthenticationService, router: Router, route: ActivatedRoute, userConfigService: UserConfigService, errorHandler: ErrorHandlerService, ngxPermissionsService: NgxPermissionsService);
|
|
30
32
|
ngOnInit(): void;
|
|
31
33
|
handleUserRedirect(): void;
|
|
32
34
|
login(): void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class WrapPipe implements PipeTransform {
|
|
4
|
+
transform(value: string | null | undefined, length?: number): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WrapPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<WrapPipe, "wrap", true>;
|
|
7
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -135,3 +135,4 @@ export * from './lib/app-switcher/app-switcher.component';
|
|
|
135
135
|
export * from './lib/app-admin/app-admin.module';
|
|
136
136
|
export * from './lib/app-admin/app-admin-home/app-admin-home.component';
|
|
137
137
|
export * from './lib/app-admin/tenant/tenant-list-widget/tenant-list-widget.component';
|
|
138
|
+
export * from './lib/pipes/wrap.pipe';
|