cloud-ide-core 2.0.1 → 2.0.3
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/{cloud-ide-core-page-form.component-BatglsBU.mjs → cloud-ide-core-page-form.component-DzBvQ1kV.mjs} +9 -12
- package/fesm2022/cloud-ide-core-page-form.component-DzBvQ1kV.mjs.map +1 -0
- package/fesm2022/cloud-ide-core.mjs +5486 -1794
- package/fesm2022/cloud-ide-core.mjs.map +1 -1
- package/index.d.ts +540 -229
- package/package.json +1 -1
- package/fesm2022/cloud-ide-core-general-master-type.component-OPaXxAXW.mjs +0 -609
- package/fesm2022/cloud-ide-core-general-master-type.component-OPaXxAXW.mjs.map +0 -1
- package/fesm2022/cloud-ide-core-general-master-type.service-8JWTVijZ.mjs +0 -206
- package/fesm2022/cloud-ide-core-general-master-type.service-8JWTVijZ.mjs.map +0 -1
- package/fesm2022/cloud-ide-core-general-master.component-BEHWqXvF.mjs +0 -901
- package/fesm2022/cloud-ide-core-general-master.component-BEHWqXvF.mjs.map +0 -1
- package/fesm2022/cloud-ide-core-page-form.component-BatglsBU.mjs.map +0 -1
package/index.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { Route, Router } from '@angular/router';
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
|
-
import { TemplateRef, OnInit, AfterViewInit } from '@angular/core';
|
|
3
|
+
import { TemplateRef, OnInit, AfterViewInit, OnDestroy } from '@angular/core';
|
|
4
4
|
import * as _angular_forms from '@angular/forms';
|
|
5
5
|
import { FormGroup, FormArray } from '@angular/forms';
|
|
6
|
-
import { ICoreSyme, MMenuListPayload, menuListControllerResponse, menuByIdControllerResponse, menuDeleteControllerResponse,
|
|
7
|
-
import { TemplateContext, GridConfiguration, GridEvent, DropdownItem, CideEleDataGridComponent } from 'cloud-ide-element';
|
|
6
|
+
import { ICoreSyme, MMenuListPayload, menuListControllerResponse, menuByIdControllerResponse, menuDeleteControllerResponse, ICoreSydept, MDepartment, departmentControllerResponse, departmentByIdControllerResponse, departmentDeleteControllerResponse, MDepartmentToggleStatusPayload, departmentToggleStatusControllerResponse, ICoreSydsg, ICoreSydsgl, MDesignation, designationControllerResponse, designationInsertUpdateControllerResponse, designationByIdControllerResponse, designationDeleteControllerResponse, MGradeLevel, gradeLevelControllerResponse, gradeLevelByIdControllerResponse, ICoreSypg, ICoreSytm, ICoreSythDrawer, ICoreSype, MSystemPages, systemPagesControllerResponse, MSystemPagesInsertUpdatePayload, systemPagesInsertUpdateControllerResponse, systemPagesByIdControllerResponse, systemPagesDeleteControllerResponse, MSystemPagesToggleStatusPayload, systemPagesToggleStatusControllerResponse, MSystemPagesCheckCodeExistsPayload, systemPagesCheckCodeExistsControllerResponse, MSystemPagesTheme, systemPagesThemeControllerResponse, MSystemPagesThemeInsertUpdatePayload, systemPagesThemeInsertUpdateControllerResponse, systemPagesThemeByIdControllerResponse, systemPagesThemeByPageIdControllerResponse, systemPagesThemeDeleteControllerResponse, MSystemPagesThemeToggleStatusPayload, systemPagesThemeToggleStatusControllerResponse, MPageElements, pageElementsControllerResponse, MPageElementsInsertUpdatePayload, pageElementsInsertUpdateControllerResponse, pageElementsByIdControllerResponse, pageElementsByPageIdControllerResponse, pageElementsMappingByPageIdControllerResponse, MPageElementsMappingInsertUpdatePayload, pageElementsMappingInsertUpdateControllerResponse, pageElementsMappingDeleteControllerResponse, pageElementsDeleteControllerResponse, MPageElementsToggleStatusPayload, pageElementsToggleStatusControllerResponse, AuthUserCoreUserContactAddresses, AuthUserCoreUserDocuments, AuthUserCoreUserFamilyDetails, AuthUserCoreEntityMapping, CoreSystemEntityListResponse, ICoreSygms, pinCodeSelectResponseData, ICoreSyctr, AuthUserMstListPayload, authUserMstListControllerResponse, AuthUserMst, selectSearchType, CoreSystemEntity, entityControllerResponse, MEntity } from 'cloud-ide-lms-model';
|
|
7
|
+
import { TemplateContext, GridConfiguration, GridEvent, DropdownItem, TabItem, CideEleDataGridComponent } from 'cloud-ide-element';
|
|
8
8
|
import { HttpClient } from '@angular/common/http';
|
|
9
9
|
import { Observable } from 'rxjs';
|
|
10
|
+
import { AppStateHelperService } from 'cloud-ide-layout';
|
|
10
11
|
|
|
11
12
|
declare const coreRoutes: Route[];
|
|
12
13
|
|
|
@@ -21,7 +22,7 @@ declare class CloudIdeCoreComponent {
|
|
|
21
22
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CloudIdeCoreComponent, "cide-core", never, {}, {}, never, never, true, never>;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
|
-
declare class
|
|
25
|
+
declare class CideCoreMenuListComponent {
|
|
25
26
|
private destroyRef;
|
|
26
27
|
private menuService;
|
|
27
28
|
private fb;
|
|
@@ -291,13 +292,12 @@ declare class MenuListComponent {
|
|
|
291
292
|
* Test method to load sample data for debugging
|
|
292
293
|
*/
|
|
293
294
|
loadTestData(): void;
|
|
294
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
295
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
295
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreMenuListComponent, never>;
|
|
296
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideCoreMenuListComponent, "cide-core-menu-list", never, {}, {}, never, never, true, never>;
|
|
296
297
|
}
|
|
297
298
|
|
|
298
|
-
declare class
|
|
299
|
+
declare class CideCoreMenuManagementService {
|
|
299
300
|
private http;
|
|
300
|
-
private apiUrl;
|
|
301
301
|
private menuListSubject;
|
|
302
302
|
menuList$: Observable<ICoreSyme[]>;
|
|
303
303
|
constructor(http: HttpClient);
|
|
@@ -305,10 +305,6 @@ declare class MenuManagementService {
|
|
|
305
305
|
* Get menu list from API
|
|
306
306
|
*/
|
|
307
307
|
getMenuList(body: MMenuListPayload): Observable<menuListControllerResponse>;
|
|
308
|
-
/**
|
|
309
|
-
* Get menu list using mock data
|
|
310
|
-
*/
|
|
311
|
-
getMenuListWithMockData(): Observable<menuListControllerResponse>;
|
|
312
308
|
/**
|
|
313
309
|
* Get menu list from cache (if available)
|
|
314
310
|
*/
|
|
@@ -373,41 +369,11 @@ declare class MenuManagementService {
|
|
|
373
369
|
* Handle errors
|
|
374
370
|
*/
|
|
375
371
|
private handleError;
|
|
376
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
377
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
372
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreMenuManagementService, never>;
|
|
373
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideCoreMenuManagementService>;
|
|
378
374
|
}
|
|
379
375
|
|
|
380
|
-
|
|
381
|
-
* Menu Reorder Request
|
|
382
|
-
* Used for reordering menu items
|
|
383
|
-
*/
|
|
384
|
-
interface MenuReorderRequest {
|
|
385
|
-
items: MMenu[];
|
|
386
|
-
}
|
|
387
|
-
/**
|
|
388
|
-
* Menu Type Options
|
|
389
|
-
* Available menu types for selection
|
|
390
|
-
*/
|
|
391
|
-
declare const MENU_TYPES: readonly [{
|
|
392
|
-
readonly value: "module";
|
|
393
|
-
readonly label: "Module";
|
|
394
|
-
}, {
|
|
395
|
-
readonly value: "section";
|
|
396
|
-
readonly label: "Section";
|
|
397
|
-
}, {
|
|
398
|
-
readonly value: "menu";
|
|
399
|
-
readonly label: "Menu Item";
|
|
400
|
-
}, {
|
|
401
|
-
readonly value: "title";
|
|
402
|
-
readonly label: "Title";
|
|
403
|
-
}];
|
|
404
|
-
/**
|
|
405
|
-
* Menu Type
|
|
406
|
-
* Type definition for menu types
|
|
407
|
-
*/
|
|
408
|
-
type MenuType = 'menu' | 'section' | 'title' | 'module';
|
|
409
|
-
|
|
410
|
-
declare class DepartmentListComponent {
|
|
376
|
+
declare class CideCoreDepartmentListComponent {
|
|
411
377
|
private destroyRef;
|
|
412
378
|
private departmentService;
|
|
413
379
|
private appState;
|
|
@@ -577,11 +543,11 @@ declare class DepartmentListComponent {
|
|
|
577
543
|
* Track by function for ngFor
|
|
578
544
|
*/
|
|
579
545
|
trackByItemId(index: number, item: ICoreSydept): string;
|
|
580
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
581
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
546
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreDepartmentListComponent, never>;
|
|
547
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideCoreDepartmentListComponent, "cide-core-department-list", never, {}, {}, never, never, true, never>;
|
|
582
548
|
}
|
|
583
549
|
|
|
584
|
-
declare class
|
|
550
|
+
declare class CideCoreDepartmentManagementService {
|
|
585
551
|
private http;
|
|
586
552
|
private departmentListSubject;
|
|
587
553
|
departmentList$: Observable<ICoreSydept[]>;
|
|
@@ -642,8 +608,8 @@ declare class DepartmentManagementService {
|
|
|
642
608
|
* Handle errors
|
|
643
609
|
*/
|
|
644
610
|
private handleError;
|
|
645
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
646
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
611
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreDepartmentManagementService, never>;
|
|
612
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideCoreDepartmentManagementService>;
|
|
647
613
|
}
|
|
648
614
|
|
|
649
615
|
interface HierarchicalNode {
|
|
@@ -660,7 +626,7 @@ interface HierarchicalNode {
|
|
|
660
626
|
grade_level: string;
|
|
661
627
|
parentId: string | null;
|
|
662
628
|
}
|
|
663
|
-
declare class
|
|
629
|
+
declare class CideCoreDesignationListComponent {
|
|
664
630
|
private destroyRef;
|
|
665
631
|
private designationService;
|
|
666
632
|
private gradeLevelService;
|
|
@@ -879,11 +845,11 @@ declare class DesignationListComponent {
|
|
|
879
845
|
* Track by function for ngFor
|
|
880
846
|
*/
|
|
881
847
|
trackByItemId(index: number, item: ICoreSydsg): string;
|
|
882
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
883
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
848
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreDesignationListComponent, never>;
|
|
849
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideCoreDesignationListComponent, "cide-core-designation-list", never, {}, {}, never, never, true, never>;
|
|
884
850
|
}
|
|
885
851
|
|
|
886
|
-
declare class
|
|
852
|
+
declare class CideCoreDesignationManagementService {
|
|
887
853
|
private http;
|
|
888
854
|
private apiUrl;
|
|
889
855
|
private designationListSubject;
|
|
@@ -945,11 +911,11 @@ declare class DesignationManagementService {
|
|
|
945
911
|
* Handle errors
|
|
946
912
|
*/
|
|
947
913
|
private handleError;
|
|
948
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
949
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
914
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreDesignationManagementService, never>;
|
|
915
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideCoreDesignationManagementService>;
|
|
950
916
|
}
|
|
951
917
|
|
|
952
|
-
declare class
|
|
918
|
+
declare class CideCoreGradeLevelListComponent {
|
|
953
919
|
private destroyRef;
|
|
954
920
|
private gradeLevelService;
|
|
955
921
|
private appState;
|
|
@@ -1140,11 +1106,11 @@ declare class GradeLevelListComponent {
|
|
|
1140
1106
|
* Track by function for ngFor
|
|
1141
1107
|
*/
|
|
1142
1108
|
trackByItemId(index: number, item: ICoreSydsgl): string;
|
|
1143
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1144
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1109
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreGradeLevelListComponent, never>;
|
|
1110
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideCoreGradeLevelListComponent, "cide-core-grade-level-list", never, {}, {}, never, never, true, never>;
|
|
1145
1111
|
}
|
|
1146
1112
|
|
|
1147
|
-
declare class
|
|
1113
|
+
declare class CideCoreGradeLevelManagementService {
|
|
1148
1114
|
private http;
|
|
1149
1115
|
private apiUrl;
|
|
1150
1116
|
private gradeLevelListSubject;
|
|
@@ -1206,11 +1172,11 @@ declare class GradeLevelManagementService {
|
|
|
1206
1172
|
* Handle errors
|
|
1207
1173
|
*/
|
|
1208
1174
|
private handleError;
|
|
1209
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1210
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
1175
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreGradeLevelManagementService, never>;
|
|
1176
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideCoreGradeLevelManagementService>;
|
|
1211
1177
|
}
|
|
1212
1178
|
|
|
1213
|
-
declare class
|
|
1179
|
+
declare class CideCorePageListComponent {
|
|
1214
1180
|
private destroyRef;
|
|
1215
1181
|
private pageService;
|
|
1216
1182
|
private appState;
|
|
@@ -1293,11 +1259,11 @@ declare class PageListComponent {
|
|
|
1293
1259
|
* Close all dropdowns
|
|
1294
1260
|
*/
|
|
1295
1261
|
private closeAllDropdowns;
|
|
1296
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1297
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1262
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCorePageListComponent, never>;
|
|
1263
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideCorePageListComponent, "cide-core-page-list", never, {}, {}, never, never, true, never>;
|
|
1298
1264
|
}
|
|
1299
1265
|
|
|
1300
|
-
declare class
|
|
1266
|
+
declare class CideCorePageThemeComponent implements OnInit {
|
|
1301
1267
|
private destroyRef;
|
|
1302
1268
|
private themeService;
|
|
1303
1269
|
private appState;
|
|
@@ -1477,11 +1443,11 @@ declare class PageThemeComponent implements OnInit {
|
|
|
1477
1443
|
* Set selected theme (only one can be selected per page)
|
|
1478
1444
|
*/
|
|
1479
1445
|
setSelectedTheme(theme: ICoreSytm): void;
|
|
1480
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1481
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1446
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCorePageThemeComponent, never>;
|
|
1447
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideCorePageThemeComponent, "cide-core-page-theme", never, {}, {}, never, never, true, never>;
|
|
1482
1448
|
}
|
|
1483
1449
|
|
|
1484
|
-
declare class
|
|
1450
|
+
declare class CideCorePageControlsComponent implements OnInit {
|
|
1485
1451
|
private destroyRef;
|
|
1486
1452
|
private controlsService;
|
|
1487
1453
|
private appState;
|
|
@@ -1600,11 +1566,11 @@ declare class PageControlsComponent implements OnInit {
|
|
|
1600
1566
|
closeAllDropdowns(): void;
|
|
1601
1567
|
selectControl(control: ICoreSype): void;
|
|
1602
1568
|
trackByControlId(index: number, control: ICoreSype): string;
|
|
1603
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1604
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1569
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCorePageControlsComponent, never>;
|
|
1570
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideCorePageControlsComponent, "cide-core-page-controls", never, {}, {}, never, never, true, never>;
|
|
1605
1571
|
}
|
|
1606
1572
|
|
|
1607
|
-
declare class
|
|
1573
|
+
declare class CideCorePageManagementService {
|
|
1608
1574
|
private http;
|
|
1609
1575
|
constructor(http: HttpClient);
|
|
1610
1576
|
/**
|
|
@@ -1639,11 +1605,11 @@ declare class PageManagementService {
|
|
|
1639
1605
|
* Handle errors
|
|
1640
1606
|
*/
|
|
1641
1607
|
private handleError;
|
|
1642
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1643
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
1608
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCorePageManagementService, never>;
|
|
1609
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideCorePageManagementService>;
|
|
1644
1610
|
}
|
|
1645
1611
|
|
|
1646
|
-
declare class
|
|
1612
|
+
declare class CideCorePageThemeService {
|
|
1647
1613
|
private http;
|
|
1648
1614
|
private apiUrl;
|
|
1649
1615
|
constructor(http: HttpClient);
|
|
@@ -1679,11 +1645,11 @@ declare class PageThemeService {
|
|
|
1679
1645
|
* Handle errors
|
|
1680
1646
|
*/
|
|
1681
1647
|
private handleError;
|
|
1682
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1683
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
1648
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCorePageThemeService, never>;
|
|
1649
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideCorePageThemeService>;
|
|
1684
1650
|
}
|
|
1685
1651
|
|
|
1686
|
-
declare class
|
|
1652
|
+
declare class CideCorePageControlsService {
|
|
1687
1653
|
private http;
|
|
1688
1654
|
constructor(http: HttpClient);
|
|
1689
1655
|
/**
|
|
@@ -1730,57 +1696,168 @@ declare class PageControlsService {
|
|
|
1730
1696
|
* Handle errors
|
|
1731
1697
|
*/
|
|
1732
1698
|
private handleError;
|
|
1733
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1734
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
1699
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCorePageControlsService, never>;
|
|
1700
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideCorePageControlsService>;
|
|
1735
1701
|
}
|
|
1736
1702
|
|
|
1737
|
-
declare class
|
|
1703
|
+
declare class CideCoreUserCreateComponent implements OnInit {
|
|
1704
|
+
private destroyRef;
|
|
1738
1705
|
private fb;
|
|
1739
1706
|
private userMasterService;
|
|
1740
|
-
private
|
|
1741
|
-
private
|
|
1742
|
-
private
|
|
1743
|
-
private
|
|
1707
|
+
private entityService;
|
|
1708
|
+
private CideCoreRoleSelectService;
|
|
1709
|
+
private designationService;
|
|
1710
|
+
private departmentService;
|
|
1711
|
+
private CideCoreGeneralMasterService;
|
|
1712
|
+
private pinCodeService;
|
|
1713
|
+
private countryService;
|
|
1714
|
+
private router;
|
|
1715
|
+
private route;
|
|
1716
|
+
private appState;
|
|
1744
1717
|
userMasterForm: FormGroup;
|
|
1745
1718
|
activeTab: _angular_core.WritableSignal<string>;
|
|
1746
1719
|
loading: _angular_core.WritableSignal<boolean>;
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1720
|
+
error: _angular_core.WritableSignal<string | null>;
|
|
1721
|
+
userId: _angular_core.WritableSignal<string>;
|
|
1722
|
+
isEditMode: _angular_core.WritableSignal<boolean>;
|
|
1723
|
+
showPasswordFields: _angular_core.WritableSignal<boolean>;
|
|
1724
|
+
contactAddresses: _angular_core.WritableSignal<AuthUserCoreUserContactAddresses[]>;
|
|
1725
|
+
documents: _angular_core.WritableSignal<AuthUserCoreUserDocuments[]>;
|
|
1726
|
+
familyDetails: _angular_core.WritableSignal<AuthUserCoreUserFamilyDetails[]>;
|
|
1727
|
+
entityMappings: _angular_core.WritableSignal<AuthUserCoreEntityMapping[]>;
|
|
1751
1728
|
menuRightsMap: _angular_core.WritableSignal<{
|
|
1752
1729
|
[mappingIndex: string]: any[];
|
|
1753
1730
|
}>;
|
|
1754
1731
|
constructor();
|
|
1732
|
+
get entityMappingsFormArray(): FormArray;
|
|
1733
|
+
get contactAddressesFormArray(): FormArray;
|
|
1734
|
+
get documentsFormArray(): FormArray;
|
|
1735
|
+
get familyDetailsFormArray(): FormArray;
|
|
1736
|
+
private createEntityMappingFormGroup;
|
|
1737
|
+
private createContactAddressFormGroup;
|
|
1738
|
+
private createDocumentFormGroup;
|
|
1739
|
+
private createFamilyDetailFormGroup;
|
|
1755
1740
|
userTabs(): {
|
|
1756
1741
|
id: string;
|
|
1757
1742
|
label: string;
|
|
1758
1743
|
icon: string;
|
|
1759
1744
|
}[];
|
|
1760
|
-
entityOptions: _angular_core.WritableSignal<
|
|
1745
|
+
entityOptions: _angular_core.WritableSignal<CoreSystemEntityListResponse[]>;
|
|
1761
1746
|
roleOptions: _angular_core.WritableSignal<any[]>;
|
|
1762
|
-
designationOptions: _angular_core.WritableSignal<
|
|
1763
|
-
|
|
1747
|
+
designationOptions: _angular_core.WritableSignal<{
|
|
1748
|
+
[entityId: string]: ICoreSydsg[];
|
|
1749
|
+
}>;
|
|
1750
|
+
departmentOptions: _angular_core.WritableSignal<{
|
|
1751
|
+
[entityId: string]: ICoreSydept[];
|
|
1752
|
+
}>;
|
|
1764
1753
|
menuOptions: _angular_core.WritableSignal<any[]>;
|
|
1765
1754
|
permissionOptions: _angular_core.WritableSignal<any[]>;
|
|
1766
1755
|
entityRoleMap: _angular_core.WritableSignal<{
|
|
1767
1756
|
[entityId: string]: any[];
|
|
1768
1757
|
}>;
|
|
1758
|
+
addressTypeOptions: _angular_core.WritableSignal<ICoreSygms[]>;
|
|
1759
|
+
documentTypeOptions: _angular_core.WritableSignal<ICoreSygms[]>;
|
|
1760
|
+
photoGroupOptions: _angular_core.WritableSignal<any[]>;
|
|
1761
|
+
documentVerificationStatusOptions: _angular_core.WritableSignal<ICoreSygms[]>;
|
|
1762
|
+
documentKycStatusOptions: _angular_core.WritableSignal<ICoreSygms[]>;
|
|
1763
|
+
bloodGroupOptions: _angular_core.WritableSignal<ICoreSygms[]>;
|
|
1764
|
+
relationshipOptionsData: _angular_core.WritableSignal<ICoreSygms[]>;
|
|
1765
|
+
addressPostalCodes: _angular_core.WritableSignal<{
|
|
1766
|
+
[addressIndex: number]: pinCodeSelectResponseData[];
|
|
1767
|
+
}>;
|
|
1768
|
+
addressCountries: _angular_core.WritableSignal<{
|
|
1769
|
+
[addressIndex: number]: ICoreSyctr[];
|
|
1770
|
+
}>;
|
|
1771
|
+
addressPostalCodesLoading: _angular_core.WritableSignal<{
|
|
1772
|
+
[addressIndex: number]: boolean;
|
|
1773
|
+
}>;
|
|
1774
|
+
addressCountriesLoading: _angular_core.WritableSignal<{
|
|
1775
|
+
[addressIndex: number]: boolean;
|
|
1776
|
+
}>;
|
|
1777
|
+
postalCodeDataCache: _angular_core.WritableSignal<{
|
|
1778
|
+
[addressIndex: number]: pinCodeSelectResponseData[];
|
|
1779
|
+
}>;
|
|
1769
1780
|
ngOnInit(): void;
|
|
1781
|
+
/**
|
|
1782
|
+
* Initialize component
|
|
1783
|
+
*/
|
|
1784
|
+
private initializeComponent;
|
|
1785
|
+
/**
|
|
1786
|
+
* Setup form subscriptions
|
|
1787
|
+
*/
|
|
1788
|
+
private setupFormSubscriptions;
|
|
1789
|
+
/**
|
|
1790
|
+
* Set entity ID from app state for new user creation
|
|
1791
|
+
*/
|
|
1792
|
+
private setEntityIdFromAppState;
|
|
1793
|
+
/**
|
|
1794
|
+
* Update password validation based on create/edit mode
|
|
1795
|
+
*/
|
|
1796
|
+
private updatePasswordValidation;
|
|
1797
|
+
/**
|
|
1798
|
+
* Custom validator for password confirmation
|
|
1799
|
+
*/
|
|
1800
|
+
private passwordMatchValidator;
|
|
1801
|
+
/**
|
|
1802
|
+
* Check if password update is required (edit mode with password fields filled or triggered)
|
|
1803
|
+
*/
|
|
1804
|
+
isPasswordUpdateRequired(): boolean;
|
|
1805
|
+
/**
|
|
1806
|
+
* Add default entity mapping with active entity
|
|
1807
|
+
*/
|
|
1808
|
+
private addDefaultEntityMapping;
|
|
1809
|
+
/**
|
|
1810
|
+
* Load user data for edit mode
|
|
1811
|
+
*/
|
|
1812
|
+
private loadUserData;
|
|
1813
|
+
/**
|
|
1814
|
+
* Populate form with user data
|
|
1815
|
+
*/
|
|
1816
|
+
private populateFormWithUserData;
|
|
1770
1817
|
private loadDropdownOptions;
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
label: string;
|
|
1774
|
-
}[];
|
|
1775
|
-
relationshipOptions(): {
|
|
1776
|
-
value: string;
|
|
1777
|
-
label: string;
|
|
1778
|
-
}[];
|
|
1779
|
-
onTabChange(tab: any): void;
|
|
1818
|
+
relationshipOptions(): ICoreSygms[];
|
|
1819
|
+
onTabChange(tab: TabItem): void;
|
|
1780
1820
|
addEntityMapping(): void;
|
|
1781
1821
|
removeEntityMapping(index: number): void;
|
|
1782
|
-
onEntityChange(mappingIndex: number, event:
|
|
1822
|
+
onEntityChange(mappingIndex: number, event: AuthUserCoreEntityMapping): void;
|
|
1823
|
+
/**
|
|
1824
|
+
* Trigger update of entity dropdowns to reflect changes in selected entities
|
|
1825
|
+
*/
|
|
1826
|
+
private triggerEntityDropdownUpdate;
|
|
1827
|
+
onDepartmentChange(event: ICoreSydept): void;
|
|
1783
1828
|
getRoleOptionsForEntity(mappingIndex: number): any[];
|
|
1829
|
+
/**
|
|
1830
|
+
* Get filtered entity options with disabled state for already selected entities in other mappings
|
|
1831
|
+
* @param currentMappingIndex The index of the current mapping being edited
|
|
1832
|
+
* @returns Entity options with disabled state for already selected entities
|
|
1833
|
+
*/
|
|
1834
|
+
getFilteredEntityOptions(currentMappingIndex: number): (CoreSystemEntityListResponse & {
|
|
1835
|
+
disabled?: boolean;
|
|
1836
|
+
})[];
|
|
1837
|
+
/**
|
|
1838
|
+
* Check if all entities are already selected in other mappings
|
|
1839
|
+
* @param currentMappingIndex The index of the current mapping being edited
|
|
1840
|
+
* @returns True if all entities are already selected
|
|
1841
|
+
*/
|
|
1842
|
+
isAllEntitiesSelected(currentMappingIndex: number): boolean;
|
|
1843
|
+
/**
|
|
1844
|
+
* Check if all entities are already mapped (for disabling Add Entity Mapping button)
|
|
1845
|
+
* @returns True if all entities are already mapped
|
|
1846
|
+
*/
|
|
1847
|
+
isAllEntitiesMapped(): boolean;
|
|
1848
|
+
/**
|
|
1849
|
+
* Clear department selection for a specific mapping
|
|
1850
|
+
*/
|
|
1851
|
+
private clearDepartmentForMapping;
|
|
1852
|
+
/**
|
|
1853
|
+
* Load departments for a specific entity
|
|
1854
|
+
*/
|
|
1855
|
+
private loadDepartmentsForEntity;
|
|
1856
|
+
/**
|
|
1857
|
+
* Get department options for a specific entity mapping
|
|
1858
|
+
*/
|
|
1859
|
+
getDepartmentOptionsForEntity(mappingIndex: number): ICoreSydept[];
|
|
1860
|
+
getDesignationOptionsForEntity(mappingIndex: number): ICoreSydsg[];
|
|
1784
1861
|
addPermissionException(mappingIndex: number): void;
|
|
1785
1862
|
removePermissionException(mappingIndex: number, exceptionIndex: number): void;
|
|
1786
1863
|
private removePermissionExceptionControls;
|
|
@@ -1796,6 +1873,8 @@ declare class UserCreateComponent implements OnInit {
|
|
|
1796
1873
|
getDefaultEntityName(): string;
|
|
1797
1874
|
hasDefaultEntity(): boolean;
|
|
1798
1875
|
getUserFullName(): string;
|
|
1876
|
+
generateFullName(): void;
|
|
1877
|
+
onNameFieldChange(): void;
|
|
1799
1878
|
getUserUsername(): string;
|
|
1800
1879
|
getUserEmail(): string;
|
|
1801
1880
|
getUserMobile(): string;
|
|
@@ -1811,159 +1890,171 @@ declare class UserCreateComponent implements OnInit {
|
|
|
1811
1890
|
removeFamilyDetail(index: number): void;
|
|
1812
1891
|
onSubmit(): void;
|
|
1813
1892
|
resetForm(): void;
|
|
1814
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserCreateComponent, never>;
|
|
1815
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserCreateComponent, "cide-core-user-create", never, {}, {}, never, never, true, never>;
|
|
1816
|
-
}
|
|
1817
|
-
|
|
1818
|
-
declare class CideAdmUserMasterService {
|
|
1819
|
-
private http;
|
|
1820
1893
|
/**
|
|
1821
|
-
*
|
|
1822
|
-
* @param data - User master data to save
|
|
1823
|
-
* @returns Observable of the save response
|
|
1894
|
+
* Go back to user list
|
|
1824
1895
|
*/
|
|
1825
|
-
|
|
1896
|
+
goBackToUserList(): void;
|
|
1826
1897
|
/**
|
|
1827
|
-
*
|
|
1828
|
-
* @param userId - User ID to fetch
|
|
1829
|
-
* @returns Observable of user master data
|
|
1898
|
+
* Cancel form and optionally navigate back
|
|
1830
1899
|
*/
|
|
1831
|
-
|
|
1900
|
+
cancelForm(): void;
|
|
1832
1901
|
/**
|
|
1833
|
-
*
|
|
1834
|
-
* @param userId - User ID to update
|
|
1835
|
-
* @param data - Updated user master data
|
|
1836
|
-
* @returns Observable of the update response
|
|
1902
|
+
* Get page title based on mode
|
|
1837
1903
|
*/
|
|
1838
|
-
|
|
1904
|
+
getPageTitle(): string;
|
|
1839
1905
|
/**
|
|
1840
|
-
*
|
|
1841
|
-
* @param userId - User ID to delete
|
|
1842
|
-
* @returns Observable of the delete response
|
|
1906
|
+
* Check if password fields should be shown in the UI
|
|
1843
1907
|
*/
|
|
1844
|
-
|
|
1845
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideAdmUserMasterService, never>;
|
|
1846
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideAdmUserMasterService>;
|
|
1847
|
-
}
|
|
1848
|
-
|
|
1849
|
-
declare class CideAdmUserMasterListService {
|
|
1850
|
-
private http;
|
|
1908
|
+
shouldShowPasswordFields(): boolean;
|
|
1851
1909
|
/**
|
|
1852
|
-
* Get
|
|
1853
|
-
* @param body - Payload for filtering/pagination
|
|
1854
|
-
* @returns Observable of response
|
|
1910
|
+
* Get password field label based on mode
|
|
1855
1911
|
*/
|
|
1856
|
-
|
|
1912
|
+
getPasswordFieldLabel(): string;
|
|
1857
1913
|
/**
|
|
1858
|
-
* Get
|
|
1859
|
-
* @returns Observable of response
|
|
1914
|
+
* Get password confirmation field label based on mode
|
|
1860
1915
|
*/
|
|
1861
|
-
|
|
1916
|
+
getPasswordConfirmLabel(): string;
|
|
1862
1917
|
/**
|
|
1863
|
-
* Get
|
|
1864
|
-
* @param filters - Filter parameters
|
|
1865
|
-
* @returns Observable of response
|
|
1918
|
+
* Get password validation error message
|
|
1866
1919
|
*/
|
|
1867
|
-
|
|
1920
|
+
getPasswordError(): string | null;
|
|
1868
1921
|
/**
|
|
1869
|
-
*
|
|
1870
|
-
* @param userId - User ID to toggle status
|
|
1871
|
-
* @returns Observable of response
|
|
1922
|
+
* Get confirm password validation error message
|
|
1872
1923
|
*/
|
|
1873
|
-
|
|
1924
|
+
getConfirmPasswordError(): string | null;
|
|
1874
1925
|
/**
|
|
1875
|
-
*
|
|
1876
|
-
* @param userId - User ID to delete
|
|
1877
|
-
* @returns Observable of response
|
|
1926
|
+
* Check if password field has error
|
|
1878
1927
|
*/
|
|
1879
|
-
|
|
1928
|
+
hasPasswordError(): boolean;
|
|
1880
1929
|
/**
|
|
1881
|
-
*
|
|
1882
|
-
* @param userId - User ID to reset password
|
|
1883
|
-
* @returns Observable of response
|
|
1930
|
+
* Check if confirm password field has error
|
|
1884
1931
|
*/
|
|
1885
|
-
|
|
1932
|
+
hasConfirmPasswordError(): boolean;
|
|
1886
1933
|
/**
|
|
1887
|
-
*
|
|
1888
|
-
* This should be removed when actual API is implemented
|
|
1934
|
+
* Check if password fields have any input
|
|
1889
1935
|
*/
|
|
1890
|
-
|
|
1936
|
+
hasPasswordInput(): boolean;
|
|
1891
1937
|
/**
|
|
1892
|
-
*
|
|
1893
|
-
* This should be removed when actual API is implemented
|
|
1938
|
+
* Trigger password update mode (for edit mode)
|
|
1894
1939
|
*/
|
|
1895
|
-
|
|
1896
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideAdmUserMasterListService, never>;
|
|
1897
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideAdmUserMasterListService>;
|
|
1898
|
-
}
|
|
1899
|
-
|
|
1900
|
-
declare class EntitySelectService {
|
|
1901
|
-
private http;
|
|
1940
|
+
triggerPasswordUpdate(): void;
|
|
1902
1941
|
/**
|
|
1903
|
-
*
|
|
1904
|
-
* @returns Observable of entity options
|
|
1942
|
+
* Cancel password update mode (for edit mode)
|
|
1905
1943
|
*/
|
|
1906
|
-
|
|
1944
|
+
cancelPasswordUpdate(): void;
|
|
1907
1945
|
/**
|
|
1908
|
-
*
|
|
1909
|
-
* @returns Observable of entity list
|
|
1946
|
+
* Load countries for a specific address dropdown
|
|
1910
1947
|
*/
|
|
1911
|
-
|
|
1912
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntitySelectService, never>;
|
|
1913
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<EntitySelectService>;
|
|
1914
|
-
}
|
|
1915
|
-
|
|
1916
|
-
declare class RoleSelectService {
|
|
1917
|
-
private http;
|
|
1948
|
+
loadCountriesForAddress(addressIndex: number): void;
|
|
1918
1949
|
/**
|
|
1919
|
-
*
|
|
1920
|
-
* @returns Observable of role options
|
|
1950
|
+
* Search countries with filter for a specific address
|
|
1921
1951
|
*/
|
|
1922
|
-
|
|
1952
|
+
onCountrySearch(event: any, addressIndex: number): void;
|
|
1923
1953
|
/**
|
|
1924
|
-
*
|
|
1925
|
-
* @returns Observable of role list
|
|
1954
|
+
* Search postal codes for a specific address
|
|
1926
1955
|
*/
|
|
1927
|
-
|
|
1928
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RoleSelectService, never>;
|
|
1929
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<RoleSelectService>;
|
|
1930
|
-
}
|
|
1931
|
-
|
|
1932
|
-
declare class DesignationSelectService {
|
|
1933
|
-
private http;
|
|
1956
|
+
onPostalCodeSearch(event: any, addressIndex: number): void;
|
|
1934
1957
|
/**
|
|
1935
|
-
*
|
|
1936
|
-
* @returns Observable of designation options
|
|
1958
|
+
* Handle postal code selection to auto-fill city, state, country
|
|
1937
1959
|
*/
|
|
1938
|
-
|
|
1960
|
+
onPostalCodeSelection(event: pinCodeSelectResponseData, addressIndex: number): void;
|
|
1939
1961
|
/**
|
|
1940
|
-
*
|
|
1941
|
-
* @returns Observable of designation list
|
|
1962
|
+
* Check if a country is already in the dropdown for a specific address
|
|
1942
1963
|
*/
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1964
|
+
private isCountryInDropdown;
|
|
1965
|
+
/**
|
|
1966
|
+
* Load a specific country for postal code auto-fill
|
|
1967
|
+
*/
|
|
1968
|
+
private loadCountryForPostalCode;
|
|
1969
|
+
/**
|
|
1970
|
+
* Get postal code data from the API response cache
|
|
1971
|
+
*/
|
|
1972
|
+
private getPostalCodeDataFromResponse;
|
|
1973
|
+
/**
|
|
1974
|
+
* Load address types from general master service
|
|
1975
|
+
*/
|
|
1976
|
+
private loadAddressTypes;
|
|
1977
|
+
/**
|
|
1978
|
+
* Load document types from general master service
|
|
1979
|
+
*/
|
|
1980
|
+
private loadDocumentTypes;
|
|
1981
|
+
/**
|
|
1982
|
+
* Load photo groups
|
|
1983
|
+
*/
|
|
1984
|
+
private loadPhotoGroups;
|
|
1985
|
+
/**
|
|
1986
|
+
* Load document verification status from general master service
|
|
1987
|
+
*/
|
|
1988
|
+
private loadDocumentVerificationStatus;
|
|
1989
|
+
/**
|
|
1990
|
+
* Load document KYC status from general master service
|
|
1991
|
+
*/
|
|
1992
|
+
private loadDocumentKycStatus;
|
|
1993
|
+
/**
|
|
1994
|
+
* Load blood groups from general master service
|
|
1995
|
+
*/
|
|
1996
|
+
private loadBloodGroups;
|
|
1997
|
+
/**
|
|
1998
|
+
* Load relationship options from general master service
|
|
1999
|
+
*/
|
|
2000
|
+
private loadRelationshipOptions;
|
|
2001
|
+
/**
|
|
2002
|
+
* Load dropdown data for existing addresses in edit mode
|
|
2003
|
+
*/
|
|
2004
|
+
private loadDropdownDataForExistingAddresses;
|
|
2005
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreUserCreateComponent, never>;
|
|
2006
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideCoreUserCreateComponent, "cide-core-user-create", never, {}, {}, never, never, true, never>;
|
|
1946
2007
|
}
|
|
1947
2008
|
|
|
1948
|
-
|
|
2009
|
+
type AuthUserMstCreatePayload = any;
|
|
2010
|
+
type AuthUserMstGetByIdPayload = any;
|
|
2011
|
+
type authUserMstCreateControllerResponse = any;
|
|
2012
|
+
type authUserMstGetByIdControllerResponse = any;
|
|
2013
|
+
declare class CideCoreUserMasterService {
|
|
1949
2014
|
private http;
|
|
1950
2015
|
/**
|
|
1951
|
-
*
|
|
1952
|
-
* @
|
|
2016
|
+
* Save or update user master data using proper API endpoint
|
|
2017
|
+
* @param data - User master data to save (either form data or AuthUserMstCreatePayload)
|
|
2018
|
+
* @returns Observable of the save response
|
|
2019
|
+
*/
|
|
2020
|
+
saveUpdateUserMaster(data: AuthUserMstCreatePayload): Observable<authUserMstCreateControllerResponse>;
|
|
2021
|
+
/**
|
|
2022
|
+
* Get user master by ID
|
|
2023
|
+
* @returns Observable of user master data
|
|
1953
2024
|
*/
|
|
1954
|
-
|
|
2025
|
+
getUserMasterById(payload: AuthUserMstGetByIdPayload): Observable<authUserMstGetByIdControllerResponse>;
|
|
1955
2026
|
/**
|
|
1956
|
-
*
|
|
1957
|
-
* @
|
|
2027
|
+
* Delete user master
|
|
2028
|
+
* @param userId - User ID to delete
|
|
2029
|
+
* @returns Observable of the delete response
|
|
1958
2030
|
*/
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
2031
|
+
deleteUserMaster(userId: string): Observable<any>;
|
|
2032
|
+
/**
|
|
2033
|
+
* Get list of users using the proper API endpoint
|
|
2034
|
+
* @param payload - AuthUserMstListPayload for filtering/pagination
|
|
2035
|
+
* @returns Observable of response
|
|
2036
|
+
*/
|
|
2037
|
+
getUserList(payload: AuthUserMstListPayload): Observable<authUserMstListControllerResponse>;
|
|
2038
|
+
/**
|
|
2039
|
+
* Toggle user status
|
|
2040
|
+
* @param userId - User ID to toggle status
|
|
2041
|
+
* @returns Observable of response
|
|
2042
|
+
*/
|
|
2043
|
+
toggleUserStatus(userId: string): Observable<any>;
|
|
2044
|
+
/**
|
|
2045
|
+
* Delete user
|
|
2046
|
+
* @param userId - User ID to delete
|
|
2047
|
+
* @returns Observable of response
|
|
2048
|
+
*/
|
|
2049
|
+
deleteUser(userId: string): Observable<any>;
|
|
2050
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreUserMasterService, never>;
|
|
2051
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideCoreUserMasterService>;
|
|
1962
2052
|
}
|
|
1963
2053
|
|
|
1964
|
-
declare class
|
|
2054
|
+
declare class CideCoreUserListComponent implements OnInit, AfterViewInit {
|
|
1965
2055
|
router: Router;
|
|
1966
|
-
|
|
2056
|
+
userMasterService: CideCoreUserMasterService;
|
|
2057
|
+
appState: AppStateHelperService;
|
|
1967
2058
|
gridComponent: CideEleDataGridComponent<any>;
|
|
1968
2059
|
actionsTemplate: TemplateRef<any>;
|
|
1969
2060
|
userDetailsTemplate: TemplateRef<any>;
|
|
@@ -2005,7 +2096,6 @@ declare class UserListComponent implements OnInit, AfterViewInit {
|
|
|
2005
2096
|
onDeleteUserConfirmed(userId: string): void;
|
|
2006
2097
|
private updateGridData;
|
|
2007
2098
|
loadUsersFromServer(isRefresh?: boolean): void;
|
|
2008
|
-
private loadTestData;
|
|
2009
2099
|
onViewUser(user: any): void;
|
|
2010
2100
|
onEditUser(user: any): void;
|
|
2011
2101
|
onManageAddresses(user: any): void;
|
|
@@ -2023,11 +2113,27 @@ declare class UserListComponent implements OnInit, AfterViewInit {
|
|
|
2023
2113
|
getPasswordChangeText(requiresChange: boolean): string;
|
|
2024
2114
|
getDropdownItems(user: AuthUserMst): DropdownItem[];
|
|
2025
2115
|
onDropdownItemClick(item: DropdownItem, user: AuthUserMst): void;
|
|
2026
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
2027
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
2116
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreUserListComponent, never>;
|
|
2117
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideCoreUserListComponent, "cide-core-user-list", never, {}, {}, never, never, true, never>;
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2120
|
+
declare class CideCoreRoleSelectService {
|
|
2121
|
+
private http;
|
|
2122
|
+
/**
|
|
2123
|
+
* Get role options for user master form
|
|
2124
|
+
* @returns Observable of role options
|
|
2125
|
+
*/
|
|
2126
|
+
getRoleOptions(): Observable<any>;
|
|
2127
|
+
/**
|
|
2128
|
+
* Get role list with default parameters
|
|
2129
|
+
* @returns Observable of role list
|
|
2130
|
+
*/
|
|
2131
|
+
getAllRoles(): Observable<any>;
|
|
2132
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreRoleSelectService, never>;
|
|
2133
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideCoreRoleSelectService>;
|
|
2028
2134
|
}
|
|
2029
2135
|
|
|
2030
|
-
declare class
|
|
2136
|
+
declare class CideCoreUserAttributesComponent implements OnInit {
|
|
2031
2137
|
private fb;
|
|
2032
2138
|
private route;
|
|
2033
2139
|
private router;
|
|
@@ -2041,11 +2147,11 @@ declare class CideAdmUserAttributesComponent implements OnInit {
|
|
|
2041
2147
|
onSubmit(): void;
|
|
2042
2148
|
private markFormGroupTouched;
|
|
2043
2149
|
goBack(): void;
|
|
2044
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
2045
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
2150
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreUserAttributesComponent, never>;
|
|
2151
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideCoreUserAttributesComponent, "cide-core-user-attributes", never, {}, {}, never, never, true, never>;
|
|
2046
2152
|
}
|
|
2047
2153
|
|
|
2048
|
-
declare class
|
|
2154
|
+
declare class CideCoreUserContactAddressesComponent implements OnInit {
|
|
2049
2155
|
private fb;
|
|
2050
2156
|
private route;
|
|
2051
2157
|
private router;
|
|
@@ -2059,11 +2165,11 @@ declare class CideAdmUserContactAddressesComponent implements OnInit {
|
|
|
2059
2165
|
onSubmit(): void;
|
|
2060
2166
|
private markFormGroupTouched;
|
|
2061
2167
|
goBack(): void;
|
|
2062
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
2063
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
2168
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreUserContactAddressesComponent, never>;
|
|
2169
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideCoreUserContactAddressesComponent, "cide-core-user-contact-addresses", never, {}, {}, never, never, true, never>;
|
|
2064
2170
|
}
|
|
2065
2171
|
|
|
2066
|
-
declare class
|
|
2172
|
+
declare class CideCoreUserDocumentsComponent implements OnInit {
|
|
2067
2173
|
private fb;
|
|
2068
2174
|
private route;
|
|
2069
2175
|
private router;
|
|
@@ -2077,11 +2183,11 @@ declare class CideAdmUserDocumentsComponent implements OnInit {
|
|
|
2077
2183
|
onSubmit(): void;
|
|
2078
2184
|
private markFormGroupTouched;
|
|
2079
2185
|
goBack(): void;
|
|
2080
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
2081
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
2186
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreUserDocumentsComponent, never>;
|
|
2187
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideCoreUserDocumentsComponent, "cide-core-user-documents", never, {}, {}, never, never, true, never>;
|
|
2082
2188
|
}
|
|
2083
2189
|
|
|
2084
|
-
declare class
|
|
2190
|
+
declare class CideCoreUserEntityAccessComponent implements OnInit {
|
|
2085
2191
|
private fb;
|
|
2086
2192
|
private route;
|
|
2087
2193
|
private router;
|
|
@@ -2095,11 +2201,11 @@ declare class CideAdmUserEntityAccessComponent implements OnInit {
|
|
|
2095
2201
|
onSubmit(): void;
|
|
2096
2202
|
private markFormGroupTouched;
|
|
2097
2203
|
goBack(): void;
|
|
2098
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
2099
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
2204
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreUserEntityAccessComponent, never>;
|
|
2205
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideCoreUserEntityAccessComponent, "cide-core-user-entity-access", never, {}, {}, never, never, true, never>;
|
|
2100
2206
|
}
|
|
2101
2207
|
|
|
2102
|
-
declare class
|
|
2208
|
+
declare class CideCoreUserFamilyDetailsComponent implements OnInit {
|
|
2103
2209
|
private fb;
|
|
2104
2210
|
private route;
|
|
2105
2211
|
private router;
|
|
@@ -2113,9 +2219,214 @@ declare class CideAdmUserFamilyDetailsComponent implements OnInit {
|
|
|
2113
2219
|
onSubmit(): void;
|
|
2114
2220
|
private markFormGroupTouched;
|
|
2115
2221
|
goBack(): void;
|
|
2116
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
2117
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
2222
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreUserFamilyDetailsComponent, never>;
|
|
2223
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideCoreUserFamilyDetailsComponent, "cide-core-user-family-details", never, {}, {}, never, never, true, never>;
|
|
2224
|
+
}
|
|
2225
|
+
|
|
2226
|
+
interface DropdownOption {
|
|
2227
|
+
value: string;
|
|
2228
|
+
label: string;
|
|
2229
|
+
}
|
|
2230
|
+
declare class CideCoreEntityCreateComponent implements OnInit, OnDestroy {
|
|
2231
|
+
entityForm: FormGroup;
|
|
2232
|
+
entityTypes: _angular_core.WritableSignal<DropdownOption[]>;
|
|
2233
|
+
currencies: _angular_core.WritableSignal<DropdownOption[]>;
|
|
2234
|
+
users: _angular_core.WritableSignal<DropdownOption[]>;
|
|
2235
|
+
postalCodes: _angular_core.WritableSignal<DropdownOption[]>;
|
|
2236
|
+
photoIdDocuments: _angular_core.WritableSignal<DropdownOption[]>;
|
|
2237
|
+
corporateCountries: _angular_core.WritableSignal<DropdownOption[]>;
|
|
2238
|
+
registeredCountries: _angular_core.WritableSignal<DropdownOption[]>;
|
|
2239
|
+
private pinCodeDataMap;
|
|
2240
|
+
private logoFile?;
|
|
2241
|
+
loading: _angular_core.WritableSignal<boolean>;
|
|
2242
|
+
error: _angular_core.WritableSignal<string | null>;
|
|
2243
|
+
success: _angular_core.WritableSignal<string | null>;
|
|
2244
|
+
postalCodesLoading: _angular_core.WritableSignal<boolean>;
|
|
2245
|
+
usersLoading: _angular_core.WritableSignal<boolean>;
|
|
2246
|
+
registeredCountriesLoading: _angular_core.WritableSignal<boolean>;
|
|
2247
|
+
corporateCountriesLoading: _angular_core.WritableSignal<boolean>;
|
|
2248
|
+
isEditMode: _angular_core.WritableSignal<boolean>;
|
|
2249
|
+
entityId: _angular_core.WritableSignal<string | null>;
|
|
2250
|
+
activeTab: _angular_core.WritableSignal<string>;
|
|
2251
|
+
entityTabs: _angular_core.WritableSignal<TabItem[]>;
|
|
2252
|
+
private entityService;
|
|
2253
|
+
private CideCoreGeneralMasterService;
|
|
2254
|
+
private pinCodeService;
|
|
2255
|
+
private userService;
|
|
2256
|
+
private currencyService;
|
|
2257
|
+
private countryService;
|
|
2258
|
+
private appState;
|
|
2259
|
+
private fb;
|
|
2260
|
+
private route;
|
|
2261
|
+
private destroy$;
|
|
2262
|
+
private globalErrorHandler?;
|
|
2263
|
+
private globalRejectionHandler?;
|
|
2264
|
+
constructor();
|
|
2265
|
+
ngOnInit(): void;
|
|
2266
|
+
ngOnDestroy(): void;
|
|
2267
|
+
private checkForEntityId;
|
|
2268
|
+
private loadEntityData;
|
|
2269
|
+
private populateFormWithEntityData;
|
|
2270
|
+
private setupPostalCodeListeners;
|
|
2271
|
+
private populateAddressFromPinCode;
|
|
2272
|
+
loadDropdowns(): void;
|
|
2273
|
+
private transformGeneralMasterToDropdown;
|
|
2274
|
+
private transformCurrencyToDropdown;
|
|
2275
|
+
private transformUserToDropdown;
|
|
2276
|
+
private transformPinCodeToDropdown;
|
|
2277
|
+
private transformCountryToDropdown;
|
|
2278
|
+
getControl(controlName: string): _angular_forms.AbstractControl<any, any, any> | null;
|
|
2279
|
+
onPostalCodeSearch(event: selectSearchType): void;
|
|
2280
|
+
onUserSearch(event: selectSearchType): void;
|
|
2281
|
+
onCorporateCountrySearch(event: selectSearchType): void;
|
|
2282
|
+
onRegisteredCountrySearch(event: selectSearchType): void;
|
|
2283
|
+
onPostalCodeSelection(event: Event | string): void;
|
|
2284
|
+
hasError(controlName: string, errorType?: string): boolean;
|
|
2285
|
+
getErrorMessage(controlName: string): string;
|
|
2286
|
+
getFormValidationSummary(): string[];
|
|
2287
|
+
get isFormValid(): boolean;
|
|
2288
|
+
get currentMode(): string;
|
|
2289
|
+
get currentEntityId(): string | null;
|
|
2290
|
+
get pageTitle(): string;
|
|
2291
|
+
get pageSubtitle(): string;
|
|
2292
|
+
onFileChange(event: FileList | null): void;
|
|
2293
|
+
onTabChange(tab: TabItem): void;
|
|
2294
|
+
onSubmit(): void;
|
|
2295
|
+
onReset(): void;
|
|
2296
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreEntityCreateComponent, never>;
|
|
2297
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideCoreEntityCreateComponent, "cide-core-entity-create", never, {}, {}, never, never, true, never>;
|
|
2298
|
+
}
|
|
2299
|
+
|
|
2300
|
+
declare class CideCoreEntityListComponent implements OnInit {
|
|
2301
|
+
router: Router;
|
|
2302
|
+
private entityService;
|
|
2303
|
+
gridComponent: _angular_core.Signal<CideEleDataGridComponent<CoreSystemEntityListResponse> | undefined>;
|
|
2304
|
+
entityDetailsRenderer: _angular_core.Signal<TemplateRef<TemplateContext<CoreSystemEntityListResponse>>>;
|
|
2305
|
+
entityTypeRenderer: _angular_core.Signal<TemplateRef<TemplateContext<CoreSystemEntityListResponse>>>;
|
|
2306
|
+
actionsDropdownRenderer: _angular_core.Signal<TemplateRef<TemplateContext<CoreSystemEntityListResponse>>>;
|
|
2307
|
+
entities: _angular_core.WritableSignal<CoreSystemEntityListResponse[]>;
|
|
2308
|
+
loading: _angular_core.WritableSignal<boolean>;
|
|
2309
|
+
error: _angular_core.WritableSignal<string | null>;
|
|
2310
|
+
searchQuery: _angular_core.WritableSignal<string>;
|
|
2311
|
+
currentPage: _angular_core.WritableSignal<number>;
|
|
2312
|
+
pageSize: _angular_core.WritableSignal<number>;
|
|
2313
|
+
totalItems: _angular_core.WritableSignal<number>;
|
|
2314
|
+
selectedEntityType: _angular_core.WritableSignal<string>;
|
|
2315
|
+
get selectedEntityTypeValue(): string;
|
|
2316
|
+
set selectedEntityTypeValue(value: string);
|
|
2317
|
+
totalPages: _angular_core.WritableSignal<number>;
|
|
2318
|
+
hasNextPage: _angular_core.WritableSignal<boolean>;
|
|
2319
|
+
hasPreviousPage: _angular_core.WritableSignal<boolean>;
|
|
2320
|
+
jumpToPage: number;
|
|
2321
|
+
loadStartTime: number;
|
|
2322
|
+
entityTypeOptions: _angular_core.WritableSignal<{
|
|
2323
|
+
value: string;
|
|
2324
|
+
label: string;
|
|
2325
|
+
}[]>;
|
|
2326
|
+
gridConfig: _angular_core.WritableSignal<GridConfiguration<CoreSystemEntityListResponse>>;
|
|
2327
|
+
templateRenderers: _angular_core.Signal<Record<string, TemplateRef<TemplateContext<CoreSystemEntityListResponse>>>>;
|
|
2328
|
+
getEntityTypeName(row: CoreSystemEntityListResponse): string;
|
|
2329
|
+
$any: (value: any) => any;
|
|
2330
|
+
getDropdownConfig(): {
|
|
2331
|
+
triggerIcon: string;
|
|
2332
|
+
triggerSize: "sm";
|
|
2333
|
+
usePortal: boolean;
|
|
2334
|
+
};
|
|
2335
|
+
getDropdownItems(entity: CoreSystemEntityListResponse): DropdownItem[];
|
|
2336
|
+
onDropdownItemClick(item: DropdownItem, entity: CoreSystemEntityListResponse): void;
|
|
2337
|
+
private editEntity;
|
|
2338
|
+
private deleteEntity;
|
|
2339
|
+
actionHandlers: {};
|
|
2340
|
+
ngOnInit(): void;
|
|
2341
|
+
onGridEvent(event: GridEvent<CoreSystemEntityListResponse>): void;
|
|
2342
|
+
private onEntityRowClick;
|
|
2343
|
+
private onEntityRefresh;
|
|
2344
|
+
private onEntitySearch;
|
|
2345
|
+
private onEntityPageChange;
|
|
2346
|
+
private onDeleteEntityConfirmed;
|
|
2347
|
+
private updateGridData;
|
|
2348
|
+
loadEntities(isRefresh?: boolean): void;
|
|
2349
|
+
private updatePaginationState;
|
|
2350
|
+
onSearch(): void;
|
|
2351
|
+
onFilterChange(): void;
|
|
2352
|
+
onPageChange(page: number | string): void;
|
|
2353
|
+
onPageSizeChange(): void;
|
|
2354
|
+
onRefresh(): void;
|
|
2355
|
+
onAddEntity(): void;
|
|
2356
|
+
onEditEntity(entity: CoreSystemEntityListResponse): void;
|
|
2357
|
+
onViewEntity(entity: CoreSystemEntityListResponse): void;
|
|
2358
|
+
onDeleteEntity(entity: CoreSystemEntityListResponse): void;
|
|
2359
|
+
getStatusClass(isActive: boolean): string;
|
|
2360
|
+
getStatusText(isActive: boolean): string;
|
|
2361
|
+
formatDate(date: Date | string | undefined): string;
|
|
2362
|
+
getPageNumbers(): number[];
|
|
2363
|
+
getItemRangeText(): string;
|
|
2364
|
+
trackByEntityId(index: number, entity: CoreSystemEntityListResponse): string;
|
|
2365
|
+
/**
|
|
2366
|
+
* Get enhanced page numbers with ellipsis for better navigation
|
|
2367
|
+
*/
|
|
2368
|
+
getEnhancedPageNumbers(): (number | string)[];
|
|
2369
|
+
/**
|
|
2370
|
+
* Calculate progress percentage based on current position
|
|
2371
|
+
*/
|
|
2372
|
+
getProgressPercentage(): number;
|
|
2373
|
+
/**
|
|
2374
|
+
* Jump to specific page functionality
|
|
2375
|
+
*/
|
|
2376
|
+
onJumpToPage(): void;
|
|
2377
|
+
/**
|
|
2378
|
+
* Get simulated load time for performance display
|
|
2379
|
+
*/
|
|
2380
|
+
getLoadTime(): number;
|
|
2381
|
+
/**
|
|
2382
|
+
* Get total data size for display
|
|
2383
|
+
*/
|
|
2384
|
+
getTotalDataSize(): number;
|
|
2385
|
+
/**
|
|
2386
|
+
* Export current page entities
|
|
2387
|
+
*/
|
|
2388
|
+
onExportCurrentPage(): void;
|
|
2389
|
+
/**
|
|
2390
|
+
* Export all entities
|
|
2391
|
+
*/
|
|
2392
|
+
onExportAll(): void;
|
|
2393
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreEntityListComponent, never>;
|
|
2394
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideCoreEntityListComponent, "cide-core-entity-list", never, {}, {}, never, never, true, never>;
|
|
2395
|
+
}
|
|
2396
|
+
|
|
2397
|
+
/**
|
|
2398
|
+
* Entity Management Service for Core Project
|
|
2399
|
+
*
|
|
2400
|
+
* This service handles all entity management operations directly without dependencies on admin services.
|
|
2401
|
+
*/
|
|
2402
|
+
declare class CideCoreEntityManagementService {
|
|
2403
|
+
private http;
|
|
2404
|
+
/**
|
|
2405
|
+
* Save or update entity data using coreRoutesUrl?.entity endpoint
|
|
2406
|
+
* @param data - Entity data to save/update
|
|
2407
|
+
* @returns Observable of the save response
|
|
2408
|
+
*/
|
|
2409
|
+
saveUpdateEntity(data: CoreSystemEntity): Observable<entityControllerResponse>;
|
|
2410
|
+
/**
|
|
2411
|
+
* Get entity by ID
|
|
2412
|
+
* @param entityId - ID of the entity to retrieve
|
|
2413
|
+
* @returns Observable of the entity data
|
|
2414
|
+
*/
|
|
2415
|
+
getEntityById(entityId: string): Observable<entityControllerResponse>;
|
|
2416
|
+
/**
|
|
2417
|
+
* Get list of entities using the proper API endpoint
|
|
2418
|
+
* @param body - MEntity payload for filtering/pagination
|
|
2419
|
+
* @returns Observable of entityControllerResponse
|
|
2420
|
+
*/
|
|
2421
|
+
getEntityList(body: MEntity): Observable<entityControllerResponse>;
|
|
2422
|
+
/**
|
|
2423
|
+
* Delete entity by ID
|
|
2424
|
+
* @param entityId - ID of the entity to delete
|
|
2425
|
+
* @returns Observable of the delete response
|
|
2426
|
+
*/
|
|
2427
|
+
deleteEntity(entityId: string): Observable<entityControllerResponse>;
|
|
2428
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreEntityManagementService, never>;
|
|
2429
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideCoreEntityManagementService>;
|
|
2118
2430
|
}
|
|
2119
2431
|
|
|
2120
|
-
export {
|
|
2121
|
-
export type { MenuReorderRequest, MenuType };
|
|
2432
|
+
export { CideCoreDepartmentListComponent, CideCoreDepartmentManagementService, CideCoreDesignationListComponent, CideCoreDesignationManagementService, CideCoreEntityCreateComponent, CideCoreEntityListComponent, CideCoreEntityManagementService, CideCoreGradeLevelListComponent, CideCoreGradeLevelManagementService, CideCoreMenuListComponent, CideCoreMenuManagementService, CideCorePageControlsComponent, CideCorePageControlsService, CideCorePageListComponent, CideCorePageManagementService, CideCorePageThemeComponent, CideCorePageThemeService, CideCoreRoleSelectService, CideCoreUserAttributesComponent, CideCoreUserContactAddressesComponent, CideCoreUserCreateComponent, CideCoreUserDocumentsComponent, CideCoreUserEntityAccessComponent, CideCoreUserFamilyDetailsComponent, CideCoreUserListComponent, CideCoreUserMasterService, CloudIdeCoreComponent, CloudIdeCoreService, coreRoutes };
|