cloud-ide-core 2.0.2 → 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-CN6nR7XC.mjs → cloud-ide-core-page-form.component-DzBvQ1kV.mjs} +8 -8
- package/fesm2022/cloud-ide-core-page-form.component-DzBvQ1kV.mjs.map +1 -0
- package/fesm2022/cloud-ide-core.mjs +813 -1131
- package/fesm2022/cloud-ide-core.mjs.map +1 -1
- package/index.d.ts +85 -121
- package/package.json +1 -1
- package/fesm2022/cloud-ide-core-page-form.component-CN6nR7XC.mjs.map +0 -1
package/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as _angular_core from '@angular/core';
|
|
|
3
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,
|
|
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
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';
|
|
@@ -22,7 +22,7 @@ declare class CloudIdeCoreComponent {
|
|
|
22
22
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CloudIdeCoreComponent, "cide-core", never, {}, {}, never, never, true, never>;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
declare class
|
|
25
|
+
declare class CideCoreMenuListComponent {
|
|
26
26
|
private destroyRef;
|
|
27
27
|
private menuService;
|
|
28
28
|
private fb;
|
|
@@ -47,7 +47,7 @@ declare class MenuListComponent {
|
|
|
47
47
|
quickAddForm: _angular_forms.FormGroup<{
|
|
48
48
|
syme_title: _angular_forms.FormControl<string>;
|
|
49
49
|
syme_desc: _angular_forms.FormControl<string>;
|
|
50
|
-
syme_type: _angular_forms.FormControl<"
|
|
50
|
+
syme_type: _angular_forms.FormControl<"module" | "section" | "menu" | "title">;
|
|
51
51
|
syme_id_syme: _angular_forms.FormControl<string>;
|
|
52
52
|
syme_path: _angular_forms.FormControl<string>;
|
|
53
53
|
syme_icon: _angular_forms.FormControl<string>;
|
|
@@ -292,13 +292,12 @@ declare class MenuListComponent {
|
|
|
292
292
|
* Test method to load sample data for debugging
|
|
293
293
|
*/
|
|
294
294
|
loadTestData(): void;
|
|
295
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
296
|
-
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>;
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
-
declare class
|
|
299
|
+
declare class CideCoreMenuManagementService {
|
|
300
300
|
private http;
|
|
301
|
-
private apiUrl;
|
|
302
301
|
private menuListSubject;
|
|
303
302
|
menuList$: Observable<ICoreSyme[]>;
|
|
304
303
|
constructor(http: HttpClient);
|
|
@@ -306,10 +305,6 @@ declare class MenuManagementService {
|
|
|
306
305
|
* Get menu list from API
|
|
307
306
|
*/
|
|
308
307
|
getMenuList(body: MMenuListPayload): Observable<menuListControllerResponse>;
|
|
309
|
-
/**
|
|
310
|
-
* Get menu list using mock data
|
|
311
|
-
*/
|
|
312
|
-
getMenuListWithMockData(): Observable<menuListControllerResponse>;
|
|
313
308
|
/**
|
|
314
309
|
* Get menu list from cache (if available)
|
|
315
310
|
*/
|
|
@@ -374,41 +369,11 @@ declare class MenuManagementService {
|
|
|
374
369
|
* Handle errors
|
|
375
370
|
*/
|
|
376
371
|
private handleError;
|
|
377
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
378
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
372
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreMenuManagementService, never>;
|
|
373
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideCoreMenuManagementService>;
|
|
379
374
|
}
|
|
380
375
|
|
|
381
|
-
|
|
382
|
-
* Menu Reorder Request
|
|
383
|
-
* Used for reordering menu items
|
|
384
|
-
*/
|
|
385
|
-
interface MenuReorderRequest {
|
|
386
|
-
items: MMenu[];
|
|
387
|
-
}
|
|
388
|
-
/**
|
|
389
|
-
* Menu Type Options
|
|
390
|
-
* Available menu types for selection
|
|
391
|
-
*/
|
|
392
|
-
declare const MENU_TYPES: readonly [{
|
|
393
|
-
readonly value: "module";
|
|
394
|
-
readonly label: "Module";
|
|
395
|
-
}, {
|
|
396
|
-
readonly value: "section";
|
|
397
|
-
readonly label: "Section";
|
|
398
|
-
}, {
|
|
399
|
-
readonly value: "menu";
|
|
400
|
-
readonly label: "Menu Item";
|
|
401
|
-
}, {
|
|
402
|
-
readonly value: "title";
|
|
403
|
-
readonly label: "Title";
|
|
404
|
-
}];
|
|
405
|
-
/**
|
|
406
|
-
* Menu Type
|
|
407
|
-
* Type definition for menu types
|
|
408
|
-
*/
|
|
409
|
-
type MenuType = 'menu' | 'section' | 'title' | 'module';
|
|
410
|
-
|
|
411
|
-
declare class DepartmentListComponent {
|
|
376
|
+
declare class CideCoreDepartmentListComponent {
|
|
412
377
|
private destroyRef;
|
|
413
378
|
private departmentService;
|
|
414
379
|
private appState;
|
|
@@ -578,11 +543,11 @@ declare class DepartmentListComponent {
|
|
|
578
543
|
* Track by function for ngFor
|
|
579
544
|
*/
|
|
580
545
|
trackByItemId(index: number, item: ICoreSydept): string;
|
|
581
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
582
|
-
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>;
|
|
583
548
|
}
|
|
584
549
|
|
|
585
|
-
declare class
|
|
550
|
+
declare class CideCoreDepartmentManagementService {
|
|
586
551
|
private http;
|
|
587
552
|
private departmentListSubject;
|
|
588
553
|
departmentList$: Observable<ICoreSydept[]>;
|
|
@@ -643,8 +608,8 @@ declare class DepartmentManagementService {
|
|
|
643
608
|
* Handle errors
|
|
644
609
|
*/
|
|
645
610
|
private handleError;
|
|
646
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
647
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
611
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreDepartmentManagementService, never>;
|
|
612
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideCoreDepartmentManagementService>;
|
|
648
613
|
}
|
|
649
614
|
|
|
650
615
|
interface HierarchicalNode {
|
|
@@ -661,7 +626,7 @@ interface HierarchicalNode {
|
|
|
661
626
|
grade_level: string;
|
|
662
627
|
parentId: string | null;
|
|
663
628
|
}
|
|
664
|
-
declare class
|
|
629
|
+
declare class CideCoreDesignationListComponent {
|
|
665
630
|
private destroyRef;
|
|
666
631
|
private designationService;
|
|
667
632
|
private gradeLevelService;
|
|
@@ -880,11 +845,11 @@ declare class DesignationListComponent {
|
|
|
880
845
|
* Track by function for ngFor
|
|
881
846
|
*/
|
|
882
847
|
trackByItemId(index: number, item: ICoreSydsg): string;
|
|
883
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
884
|
-
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>;
|
|
885
850
|
}
|
|
886
851
|
|
|
887
|
-
declare class
|
|
852
|
+
declare class CideCoreDesignationManagementService {
|
|
888
853
|
private http;
|
|
889
854
|
private apiUrl;
|
|
890
855
|
private designationListSubject;
|
|
@@ -946,11 +911,11 @@ declare class DesignationManagementService {
|
|
|
946
911
|
* Handle errors
|
|
947
912
|
*/
|
|
948
913
|
private handleError;
|
|
949
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
950
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
914
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreDesignationManagementService, never>;
|
|
915
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideCoreDesignationManagementService>;
|
|
951
916
|
}
|
|
952
917
|
|
|
953
|
-
declare class
|
|
918
|
+
declare class CideCoreGradeLevelListComponent {
|
|
954
919
|
private destroyRef;
|
|
955
920
|
private gradeLevelService;
|
|
956
921
|
private appState;
|
|
@@ -1141,11 +1106,11 @@ declare class GradeLevelListComponent {
|
|
|
1141
1106
|
* Track by function for ngFor
|
|
1142
1107
|
*/
|
|
1143
1108
|
trackByItemId(index: number, item: ICoreSydsgl): string;
|
|
1144
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1145
|
-
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>;
|
|
1146
1111
|
}
|
|
1147
1112
|
|
|
1148
|
-
declare class
|
|
1113
|
+
declare class CideCoreGradeLevelManagementService {
|
|
1149
1114
|
private http;
|
|
1150
1115
|
private apiUrl;
|
|
1151
1116
|
private gradeLevelListSubject;
|
|
@@ -1207,11 +1172,11 @@ declare class GradeLevelManagementService {
|
|
|
1207
1172
|
* Handle errors
|
|
1208
1173
|
*/
|
|
1209
1174
|
private handleError;
|
|
1210
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1211
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
1175
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreGradeLevelManagementService, never>;
|
|
1176
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideCoreGradeLevelManagementService>;
|
|
1212
1177
|
}
|
|
1213
1178
|
|
|
1214
|
-
declare class
|
|
1179
|
+
declare class CideCorePageListComponent {
|
|
1215
1180
|
private destroyRef;
|
|
1216
1181
|
private pageService;
|
|
1217
1182
|
private appState;
|
|
@@ -1294,11 +1259,11 @@ declare class PageListComponent {
|
|
|
1294
1259
|
* Close all dropdowns
|
|
1295
1260
|
*/
|
|
1296
1261
|
private closeAllDropdowns;
|
|
1297
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1298
|
-
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>;
|
|
1299
1264
|
}
|
|
1300
1265
|
|
|
1301
|
-
declare class
|
|
1266
|
+
declare class CideCorePageThemeComponent implements OnInit {
|
|
1302
1267
|
private destroyRef;
|
|
1303
1268
|
private themeService;
|
|
1304
1269
|
private appState;
|
|
@@ -1478,11 +1443,11 @@ declare class PageThemeComponent implements OnInit {
|
|
|
1478
1443
|
* Set selected theme (only one can be selected per page)
|
|
1479
1444
|
*/
|
|
1480
1445
|
setSelectedTheme(theme: ICoreSytm): void;
|
|
1481
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1482
|
-
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>;
|
|
1483
1448
|
}
|
|
1484
1449
|
|
|
1485
|
-
declare class
|
|
1450
|
+
declare class CideCorePageControlsComponent implements OnInit {
|
|
1486
1451
|
private destroyRef;
|
|
1487
1452
|
private controlsService;
|
|
1488
1453
|
private appState;
|
|
@@ -1601,11 +1566,11 @@ declare class PageControlsComponent implements OnInit {
|
|
|
1601
1566
|
closeAllDropdowns(): void;
|
|
1602
1567
|
selectControl(control: ICoreSype): void;
|
|
1603
1568
|
trackByControlId(index: number, control: ICoreSype): string;
|
|
1604
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1605
|
-
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>;
|
|
1606
1571
|
}
|
|
1607
1572
|
|
|
1608
|
-
declare class
|
|
1573
|
+
declare class CideCorePageManagementService {
|
|
1609
1574
|
private http;
|
|
1610
1575
|
constructor(http: HttpClient);
|
|
1611
1576
|
/**
|
|
@@ -1640,11 +1605,11 @@ declare class PageManagementService {
|
|
|
1640
1605
|
* Handle errors
|
|
1641
1606
|
*/
|
|
1642
1607
|
private handleError;
|
|
1643
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1644
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
1608
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCorePageManagementService, never>;
|
|
1609
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideCorePageManagementService>;
|
|
1645
1610
|
}
|
|
1646
1611
|
|
|
1647
|
-
declare class
|
|
1612
|
+
declare class CideCorePageThemeService {
|
|
1648
1613
|
private http;
|
|
1649
1614
|
private apiUrl;
|
|
1650
1615
|
constructor(http: HttpClient);
|
|
@@ -1680,11 +1645,11 @@ declare class PageThemeService {
|
|
|
1680
1645
|
* Handle errors
|
|
1681
1646
|
*/
|
|
1682
1647
|
private handleError;
|
|
1683
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1684
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
1648
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCorePageThemeService, never>;
|
|
1649
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideCorePageThemeService>;
|
|
1685
1650
|
}
|
|
1686
1651
|
|
|
1687
|
-
declare class
|
|
1652
|
+
declare class CideCorePageControlsService {
|
|
1688
1653
|
private http;
|
|
1689
1654
|
constructor(http: HttpClient);
|
|
1690
1655
|
/**
|
|
@@ -1731,19 +1696,19 @@ declare class PageControlsService {
|
|
|
1731
1696
|
* Handle errors
|
|
1732
1697
|
*/
|
|
1733
1698
|
private handleError;
|
|
1734
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1735
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
1699
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCorePageControlsService, never>;
|
|
1700
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideCorePageControlsService>;
|
|
1736
1701
|
}
|
|
1737
1702
|
|
|
1738
|
-
declare class
|
|
1703
|
+
declare class CideCoreUserCreateComponent implements OnInit {
|
|
1739
1704
|
private destroyRef;
|
|
1740
1705
|
private fb;
|
|
1741
1706
|
private userMasterService;
|
|
1742
1707
|
private entityService;
|
|
1743
|
-
private
|
|
1708
|
+
private CideCoreRoleSelectService;
|
|
1744
1709
|
private designationService;
|
|
1745
1710
|
private departmentService;
|
|
1746
|
-
private
|
|
1711
|
+
private CideCoreGeneralMasterService;
|
|
1747
1712
|
private pinCodeService;
|
|
1748
1713
|
private countryService;
|
|
1749
1714
|
private router;
|
|
@@ -2037,15 +2002,15 @@ declare class UserCreateComponent implements OnInit {
|
|
|
2037
2002
|
* Load dropdown data for existing addresses in edit mode
|
|
2038
2003
|
*/
|
|
2039
2004
|
private loadDropdownDataForExistingAddresses;
|
|
2040
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
2041
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
2005
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreUserCreateComponent, never>;
|
|
2006
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideCoreUserCreateComponent, "cide-core-user-create", never, {}, {}, never, never, true, never>;
|
|
2042
2007
|
}
|
|
2043
2008
|
|
|
2044
2009
|
type AuthUserMstCreatePayload = any;
|
|
2045
2010
|
type AuthUserMstGetByIdPayload = any;
|
|
2046
2011
|
type authUserMstCreateControllerResponse = any;
|
|
2047
2012
|
type authUserMstGetByIdControllerResponse = any;
|
|
2048
|
-
declare class
|
|
2013
|
+
declare class CideCoreUserMasterService {
|
|
2049
2014
|
private http;
|
|
2050
2015
|
/**
|
|
2051
2016
|
* Save or update user master data using proper API endpoint
|
|
@@ -2082,13 +2047,13 @@ declare class CideLytUserMasterService {
|
|
|
2082
2047
|
* @returns Observable of response
|
|
2083
2048
|
*/
|
|
2084
2049
|
deleteUser(userId: string): Observable<any>;
|
|
2085
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
2086
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
2050
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreUserMasterService, never>;
|
|
2051
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideCoreUserMasterService>;
|
|
2087
2052
|
}
|
|
2088
2053
|
|
|
2089
|
-
declare class
|
|
2054
|
+
declare class CideCoreUserListComponent implements OnInit, AfterViewInit {
|
|
2090
2055
|
router: Router;
|
|
2091
|
-
userMasterService:
|
|
2056
|
+
userMasterService: CideCoreUserMasterService;
|
|
2092
2057
|
appState: AppStateHelperService;
|
|
2093
2058
|
gridComponent: CideEleDataGridComponent<any>;
|
|
2094
2059
|
actionsTemplate: TemplateRef<any>;
|
|
@@ -2148,11 +2113,11 @@ declare class UserListComponent implements OnInit, AfterViewInit {
|
|
|
2148
2113
|
getPasswordChangeText(requiresChange: boolean): string;
|
|
2149
2114
|
getDropdownItems(user: AuthUserMst): DropdownItem[];
|
|
2150
2115
|
onDropdownItemClick(item: DropdownItem, user: AuthUserMst): void;
|
|
2151
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
2152
|
-
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>;
|
|
2153
2118
|
}
|
|
2154
2119
|
|
|
2155
|
-
declare class
|
|
2120
|
+
declare class CideCoreRoleSelectService {
|
|
2156
2121
|
private http;
|
|
2157
2122
|
/**
|
|
2158
2123
|
* Get role options for user master form
|
|
@@ -2164,11 +2129,11 @@ declare class RoleSelectService {
|
|
|
2164
2129
|
* @returns Observable of role list
|
|
2165
2130
|
*/
|
|
2166
2131
|
getAllRoles(): Observable<any>;
|
|
2167
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
2168
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
2132
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreRoleSelectService, never>;
|
|
2133
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideCoreRoleSelectService>;
|
|
2169
2134
|
}
|
|
2170
2135
|
|
|
2171
|
-
declare class
|
|
2136
|
+
declare class CideCoreUserAttributesComponent implements OnInit {
|
|
2172
2137
|
private fb;
|
|
2173
2138
|
private route;
|
|
2174
2139
|
private router;
|
|
@@ -2182,11 +2147,11 @@ declare class CideAdmUserAttributesComponent implements OnInit {
|
|
|
2182
2147
|
onSubmit(): void;
|
|
2183
2148
|
private markFormGroupTouched;
|
|
2184
2149
|
goBack(): void;
|
|
2185
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
2186
|
-
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>;
|
|
2187
2152
|
}
|
|
2188
2153
|
|
|
2189
|
-
declare class
|
|
2154
|
+
declare class CideCoreUserContactAddressesComponent implements OnInit {
|
|
2190
2155
|
private fb;
|
|
2191
2156
|
private route;
|
|
2192
2157
|
private router;
|
|
@@ -2200,11 +2165,11 @@ declare class CideAdmUserContactAddressesComponent implements OnInit {
|
|
|
2200
2165
|
onSubmit(): void;
|
|
2201
2166
|
private markFormGroupTouched;
|
|
2202
2167
|
goBack(): void;
|
|
2203
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
2204
|
-
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>;
|
|
2205
2170
|
}
|
|
2206
2171
|
|
|
2207
|
-
declare class
|
|
2172
|
+
declare class CideCoreUserDocumentsComponent implements OnInit {
|
|
2208
2173
|
private fb;
|
|
2209
2174
|
private route;
|
|
2210
2175
|
private router;
|
|
@@ -2218,11 +2183,11 @@ declare class CideAdmUserDocumentsComponent implements OnInit {
|
|
|
2218
2183
|
onSubmit(): void;
|
|
2219
2184
|
private markFormGroupTouched;
|
|
2220
2185
|
goBack(): void;
|
|
2221
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
2222
|
-
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>;
|
|
2223
2188
|
}
|
|
2224
2189
|
|
|
2225
|
-
declare class
|
|
2190
|
+
declare class CideCoreUserEntityAccessComponent implements OnInit {
|
|
2226
2191
|
private fb;
|
|
2227
2192
|
private route;
|
|
2228
2193
|
private router;
|
|
@@ -2236,11 +2201,11 @@ declare class CideAdmUserEntityAccessComponent implements OnInit {
|
|
|
2236
2201
|
onSubmit(): void;
|
|
2237
2202
|
private markFormGroupTouched;
|
|
2238
2203
|
goBack(): void;
|
|
2239
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
2240
|
-
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>;
|
|
2241
2206
|
}
|
|
2242
2207
|
|
|
2243
|
-
declare class
|
|
2208
|
+
declare class CideCoreUserFamilyDetailsComponent implements OnInit {
|
|
2244
2209
|
private fb;
|
|
2245
2210
|
private route;
|
|
2246
2211
|
private router;
|
|
@@ -2254,15 +2219,15 @@ declare class CideAdmUserFamilyDetailsComponent implements OnInit {
|
|
|
2254
2219
|
onSubmit(): void;
|
|
2255
2220
|
private markFormGroupTouched;
|
|
2256
2221
|
goBack(): void;
|
|
2257
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
2258
|
-
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>;
|
|
2259
2224
|
}
|
|
2260
2225
|
|
|
2261
2226
|
interface DropdownOption {
|
|
2262
2227
|
value: string;
|
|
2263
2228
|
label: string;
|
|
2264
2229
|
}
|
|
2265
|
-
declare class
|
|
2230
|
+
declare class CideCoreEntityCreateComponent implements OnInit, OnDestroy {
|
|
2266
2231
|
entityForm: FormGroup;
|
|
2267
2232
|
entityTypes: _angular_core.WritableSignal<DropdownOption[]>;
|
|
2268
2233
|
currencies: _angular_core.WritableSignal<DropdownOption[]>;
|
|
@@ -2285,7 +2250,7 @@ declare class CideLytEntityCreateComponent implements OnInit, OnDestroy {
|
|
|
2285
2250
|
activeTab: _angular_core.WritableSignal<string>;
|
|
2286
2251
|
entityTabs: _angular_core.WritableSignal<TabItem[]>;
|
|
2287
2252
|
private entityService;
|
|
2288
|
-
private
|
|
2253
|
+
private CideCoreGeneralMasterService;
|
|
2289
2254
|
private pinCodeService;
|
|
2290
2255
|
private userService;
|
|
2291
2256
|
private currencyService;
|
|
@@ -2328,11 +2293,11 @@ declare class CideLytEntityCreateComponent implements OnInit, OnDestroy {
|
|
|
2328
2293
|
onTabChange(tab: TabItem): void;
|
|
2329
2294
|
onSubmit(): void;
|
|
2330
2295
|
onReset(): void;
|
|
2331
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
2332
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
2296
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreEntityCreateComponent, never>;
|
|
2297
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideCoreEntityCreateComponent, "cide-core-entity-create", never, {}, {}, never, never, true, never>;
|
|
2333
2298
|
}
|
|
2334
2299
|
|
|
2335
|
-
declare class
|
|
2300
|
+
declare class CideCoreEntityListComponent implements OnInit {
|
|
2336
2301
|
router: Router;
|
|
2337
2302
|
private entityService;
|
|
2338
2303
|
gridComponent: _angular_core.Signal<CideEleDataGridComponent<CoreSystemEntityListResponse> | undefined>;
|
|
@@ -2425,8 +2390,8 @@ declare class CideLytEntityListComponent implements OnInit {
|
|
|
2425
2390
|
* Export all entities
|
|
2426
2391
|
*/
|
|
2427
2392
|
onExportAll(): void;
|
|
2428
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
2429
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
2393
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreEntityListComponent, never>;
|
|
2394
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideCoreEntityListComponent, "cide-core-entity-list", never, {}, {}, never, never, true, never>;
|
|
2430
2395
|
}
|
|
2431
2396
|
|
|
2432
2397
|
/**
|
|
@@ -2434,7 +2399,7 @@ declare class CideLytEntityListComponent implements OnInit {
|
|
|
2434
2399
|
*
|
|
2435
2400
|
* This service handles all entity management operations directly without dependencies on admin services.
|
|
2436
2401
|
*/
|
|
2437
|
-
declare class
|
|
2402
|
+
declare class CideCoreEntityManagementService {
|
|
2438
2403
|
private http;
|
|
2439
2404
|
/**
|
|
2440
2405
|
* Save or update entity data using coreRoutesUrl?.entity endpoint
|
|
@@ -2460,9 +2425,8 @@ declare class CideLytEntityManagementService {
|
|
|
2460
2425
|
* @returns Observable of the delete response
|
|
2461
2426
|
*/
|
|
2462
2427
|
deleteEntity(entityId: string): Observable<entityControllerResponse>;
|
|
2463
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
2464
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
2428
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreEntityManagementService, never>;
|
|
2429
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideCoreEntityManagementService>;
|
|
2465
2430
|
}
|
|
2466
2431
|
|
|
2467
|
-
export {
|
|
2468
|
-
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 };
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cloud-ide-core-page-form.component-CN6nR7XC.mjs","sources":["../../../projects/cloud-ide-core/src/lib/core/page-management/components/page-form/page-form.component.ts","../../../projects/cloud-ide-core/src/lib/core/page-management/components/page-form/page-form.component.html"],"sourcesContent":["import { Component, signal, computed, inject, OnInit, DestroyRef } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { Validators, ReactiveFormsModule, NonNullableFormBuilder, FormsModule } from '@angular/forms';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\nimport { PageManagementService } from '../../services/page-management.service';\nimport { AppStateHelperService } from 'cloud-ide-layout';\nimport { CideEleButtonComponent, CideInputComponent, CideSelectComponent, CideTextareaComponent, CideIconComponent, CideEleFileInputComponent, CideEleJsonEditorComponent } from 'cloud-ide-element';\nimport { ICoreSypg, MSystemPagesInsertUpdatePayload, generateObjectFromString, systemPagesByIdControllerResponse, systemPagesInsertUpdateControllerResponse } from 'cloud-ide-lms-model';\n\n@Component({\n selector: 'cide-core-page-form',\n standalone: true,\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormsModule,\n CideEleButtonComponent,\n CideInputComponent,\n CideTextareaComponent,\n CideEleJsonEditorComponent\n ],\n templateUrl: './page-form.component.html',\n styleUrls: ['./page-form.component.scss']\n})\nexport class PageFormComponent implements OnInit {\n private destroyRef = inject(DestroyRef);\n private pageService = inject(PageManagementService);\n private appState = inject(AppStateHelperService);\n private fb = inject(NonNullableFormBuilder);\n private router = inject(Router);\n private route = inject(ActivatedRoute);\n\n loading = signal(false);\n error = signal<string | null>(null);\n success = signal<string | null>(null);\n\n // Page information\n pageId = signal<string | null>(null);\n isEditMode = signal(false);\n\n pageForm = this.fb.group({\n sypg_title: ['', [Validators.required, Validators.maxLength(100)]],\n sypg_desc: ['', [Validators.maxLength(255)]],\n sypg_page_code: ['', [Validators.required, Validators.maxLength(40), Validators.pattern(/^[a-zA-Z0-9_]+$/)]],\n sypg_configuration: ['{}', [Validators.required]],\n sypg_isactive: [true]\n });\n\n constructor() {\n this.setupFormSubscriptions();\n }\n\n ngOnInit(): void {\n // Check for page ID in query parameters\n this.checkForPageId();\n }\n\n\n\n // Check for page ID in query parameters\n private checkForPageId() {\n console.log('🔍 Checking for page ID in query parameters', this.route.params);\n this.route.params.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(params => {\n console.log('🔍 Query params:', params);\n // Check for pageId, id, or page parameter\n const queryParams = params['query'];\n const queryData = generateObjectFromString(queryParams);\n\n // If pageId is an object string (from generateStringFromObject), try to parse it\n const pageId = queryData.sypg_id;\n if (pageId) {\n console.log('🔍 Page ID found in query params:', pageId);\n this.pageId.set(pageId);\n this.isEditMode.set(true);\n this.loadPageData(pageId);\n } else {\n console.log('🆕 No page ID found - creating new page');\n this.isEditMode.set(false);\n this.pageId.set(null);\n }\n });\n }\n\n // Load page data for editing\n private loadPageData(pageId: string) {\n this.loading.set(true);\n this.error.set(null);\n\n console.log('📥 Loading page data for ID:', pageId);\n\n this.pageService.getPageById(pageId).pipe(\n takeUntilDestroyed(this.destroyRef)\n ).subscribe({\n next: (response: systemPagesByIdControllerResponse) => {\n console.log('✅ Page data loaded:', response);\n \n if (response?.success && response?.data) {\n const pageData = response.data;\n if (pageData) {\n this.populateFormWithPageData(pageData);\n this.success.set('Page data loaded successfully');\n } else {\n this.error.set('Page data not found');\n console.error('❌ Page data not found in response:', response);\n }\n } else {\n this.error.set('Failed to load page data');\n console.error('❌ Page data response invalid:', response);\n }\n this.loading.set(false);\n },\n error: (err) => {\n console.error('❌ Failed to load page data:', err);\n \n let errorMessage = 'Failed to load page data.';\n \n if (err?.error?.message) {\n errorMessage = err.error.message;\n } else if (err?.message) {\n errorMessage = err.message;\n } else if (err?.status === 404) {\n errorMessage = 'Page not found.';\n } else if (err?.status === 500) {\n errorMessage = 'Server error. Please try again later.';\n }\n \n this.error.set(errorMessage);\n this.loading.set(false);\n }\n });\n }\n\n // Populate form with page data\n private populateFormWithPageData(pageData: ICoreSypg) {\n try {\n console.log('📝 Populating form with page data:', pageData);\n\n const formData = {\n sypg_title: pageData.sypg_title || '',\n sypg_desc: pageData.sypg_desc || '',\n sypg_page_code: pageData.sypg_page_code || '',\n sypg_configuration: pageData.sypg_configuration ? JSON.stringify(pageData.sypg_configuration) : '{}',\n sypg_isactive: pageData.sypg_isactive !== undefined ? pageData.sypg_isactive : true\n };\n\n // Patch the form with the page data\n this.pageForm.patchValue(formData, { emitEvent: false });\n\n console.log('✅ Form populated successfully');\n } catch (error) {\n console.error('💥 Error populating form with page data:', error);\n this.error.set('Error loading page data into form');\n }\n }\n\n private setupFormSubscriptions(): void {\n // Watch for form changes to enable/disable save button\n this.pageForm.valueChanges\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe(() => {\n // Form validation is handled by computed signals\n });\n }\n\n // Computed values\n\n isFormDirty = computed(() => this.pageForm.dirty);\n\n // Form submission\n savePage(): void {\n if (!this.pageForm.valid) {\n this.markFormAsTouched();\n return;\n }\n\n const formValue = this.pageForm.getRawValue();\n \n const pageData: MSystemPagesInsertUpdatePayload = {\n _id: this.pageId() || '',\n sypg_title: formValue.sypg_title,\n sypg_desc: formValue.sypg_desc,\n sypg_page_code: formValue.sypg_page_code,\n sypg_configuration: formValue.sypg_configuration,\n sypg_isactive: formValue.sypg_isactive\n };\n\n this.loading.set(true);\n this.error.set(null);\n\n this.pageService.createOrUpdatePage(pageData)\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe({\n next: (response: systemPagesInsertUpdateControllerResponse) => {\n if (response.success) {\n this.success.set(this.isEditMode() ? 'Page updated successfully' : 'Page created successfully');\n console.log('✅ Page saved successfully');\n // Navigate back to page list after a short delay\n setTimeout(() => {\n this.router.navigate(['/control-panel/page']);\n }, 1500);\n } else {\n this.error.set(response.message || 'Failed to save page');\n console.error('❌ Failed to save page:', response.message);\n }\n this.loading.set(false);\n },\n error: (error) => {\n console.error('❌ Error saving page:', error);\n this.error.set('Failed to save page. Please try again.');\n this.loading.set(false);\n }\n });\n }\n\n // Cancel form\n cancelForm(): void {\n this.router.navigate(['/control-panel/page']);\n }\n\n // Go back to page list\n goBack(): void {\n this.router.navigate(['/control-panel/page']);\n }\n\n // Mark form as touched to trigger validation display\n private markFormAsTouched(): void {\n Object.keys(this.pageForm.controls).forEach(key => {\n const control = this.pageForm.get(key);\n control?.markAsTouched();\n });\n }\n}\n","<div class=\"page-form-fullscreen\">\n <div class=\"page-form-container\">\n <form class=\"page-form\" [formGroup]=\"pageForm\" [class.loading]=\"loading()\" (ngSubmit)=\"savePage()\">\n \n <!-- Header Section -->\n <div class=\"form-header\">\n <h2 class=\"form-title\">{{ isEditMode() ? 'Edit Page' : 'Create Page' }}</h2>\n <p class=\"form-subtitle\">\n {{ isEditMode() ? 'Update page information and configuration' : 'Create a new page with configuration' }}\n </p>\n </div>\n\n <!-- Success and Error Messages -->\n @if (success()) {\n <div class=\"alert alert-success\">\n <svg class=\"alert-icon\" fill=\"none\" stroke=\"currentColor\" viewBox=\"0 0 24 24\">\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 13l4 4L19 7\"></path>\n </svg>\n {{ success() }}\n </div>\n }\n @if (error()) {\n <div class=\"alert alert-error\">\n <svg class=\"alert-icon\" fill=\"none\" stroke=\"currentColor\" viewBox=\"0 0 24 24\">\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18L18 6M6 6l12 12\"></path>\n </svg>\n {{ error() }}\n </div>\n }\n\n <!-- Form Content -->\n <div class=\"form-section\">\n <div class=\"grid grid-2 gap-md lg-grid-2 md-grid-1\">\n <cide-ele-input \n id=\"sypg_title\"\n label=\"Page Title *\" \n formControlName=\"sypg_title\"\n placeholder=\"Enter page title\"\n size=\"md\">\n </cide-ele-input>\n \n <cide-ele-input \n id=\"sypg_page_code\"\n label=\"Page Code *\" \n formControlName=\"sypg_page_code\"\n placeholder=\"Enter page code (alphanumeric and underscore only)\"\n size=\"md\">\n </cide-ele-input>\n </div>\n\n <div class=\"grid grid-1 gap-md\">\n <cide-ele-textarea \n id=\"sypg_desc\"\n label=\"Page Description\" \n formControlName=\"sypg_desc\"\n placeholder=\"Enter page description\"\n [rows]=\"3\"\n size=\"md\">\n </cide-ele-textarea>\n </div>\n\n <div class=\"grid grid-1 gap-md\">\n <cide-ele-json-editor\n id=\"sypg_configuration\"\n label=\"Configuration JSON *\"\n formControlName=\"sypg_configuration\"\n placeholder='{\"key\": \"value\"}'>\n </cide-ele-json-editor>\n </div>\n\n <div class=\"grid grid-1 gap-sm\">\n <cide-ele-input\n id=\"sypg_isactive\"\n type=\"checkbox\"\n formControlName=\"sypg_isactive\"\n label=\"Active Status\"\n size=\"sm\">\n </cide-ele-input>\n </div>\n </div>\n\n <!-- Form Actions -->\n <div class=\"form-actions\">\n <button cideEleButton\n type=\"button\" \n variant=\"secondary\" \n (click)=\"cancelForm()\" \n leftIcon=\"close\"\n [disabled]=\"loading()\">\n Cancel\n </button>\n \n <button cideEleButton\n type=\"submit\" \n variant=\"primary\" \n [disabled]=\"loading() || !pageForm.valid\"\n [loading]=\"loading()\"\n leftIcon=\"save\">\n {{ isEditMode() ? 'Update Page' : 'Create Page' }}\n </button>\n </div>\n </form>\n </div>\n</div>\n"],"names":[],"mappings":";;;;;;;;;;;;MA0Ba,iBAAiB,CAAA;AACpB,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAC/B,IAAA,WAAW,GAAG,MAAM,CAAC,qBAAqB,CAAC;AAC3C,IAAA,QAAQ,GAAG,MAAM,CAAC,qBAAqB,CAAC;AACxC,IAAA,EAAE,GAAG,MAAM,CAAC,sBAAsB,CAAC;AACnC,IAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACvB,IAAA,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC;AAEtC,IAAA,OAAO,GAAG,MAAM,CAAC,KAAK,mDAAC;AACvB,IAAA,KAAK,GAAG,MAAM,CAAgB,IAAI,iDAAC;AACnC,IAAA,OAAO,GAAG,MAAM,CAAgB,IAAI,mDAAC;;AAGrC,IAAA,MAAM,GAAG,MAAM,CAAgB,IAAI,kDAAC;AACpC,IAAA,UAAU,GAAG,MAAM,CAAC,KAAK,sDAAC;AAE1B,IAAA,QAAQ,GAAG,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC;AACvB,QAAA,UAAU,EAAE,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;AAClE,QAAA,SAAS,EAAE,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC,GAAG,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