cloud-ide-core 2.0.86 → 2.0.88
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.mjs +14 -6
- package/fesm2022/cloud-ide-core.mjs.map +1 -1
- package/index.d.ts +3 -3
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ import { Router, ActivatedRoute } from '@angular/router';
|
|
|
9
9
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
10
10
|
import { BehaviorSubject, throwError, Observable, Subject, takeUntil, debounceTime, distinctUntilChanged } from 'rxjs';
|
|
11
11
|
import { tap, catchError, map } from 'rxjs/operators';
|
|
12
|
-
import { coreRoutesUrl, generateStringFromObject, cidePath, hostManagerRoutesUrl, MDesignationInsertUpdatePayload, generateObjectFromString, userRoutesUrl, AuthUserMstGetByIdPayload, customEncrypt, customDecrypt, AuthUserMstListPayload, academicsRoutesUrl } from 'cloud-ide-lms-model';
|
|
12
|
+
import { coreRoutesUrl, generateStringFromObject, cidePath, hostManagerRoutesUrl, MDesignationInsertUpdatePayload, MDesignation, generateObjectFromString, userRoutesUrl, AuthUserMstGetByIdPayload, customEncrypt, customDecrypt, AuthUserMstListPayload, academicsRoutesUrl } from 'cloud-ide-lms-model';
|
|
13
13
|
import * as i1 from '@angular/common/http';
|
|
14
14
|
import { HttpClient } from '@angular/common/http';
|
|
15
15
|
import { NotificationService, CideEleDataGridComponent, CideEleButtonComponent, CideInputComponent, CideSelectComponent, CideTextareaComponent, CideIconComponent, CideEleDropdownComponent, ConfirmationService, CideEleGlobalNotificationsComponent, CideEleConfirmationModalComponent, CideEleJsonEditorComponent, CideEleFileInputComponent, CideEleFileImageDirective, CideFormFieldErrorComponent, CideEleFileManagerService, CideEleTabComponent, CideEleFloatingFeaturesService, CideEleToastNotificationComponent } from 'cloud-ide-element';
|
|
@@ -3958,12 +3958,20 @@ class CideCoreDesignationListComponent {
|
|
|
3958
3958
|
console.log('🚀 CideCoreDesignationListComponent.loadDesignations() called');
|
|
3959
3959
|
this.loading.set(true);
|
|
3960
3960
|
this.error.set(null);
|
|
3961
|
-
const
|
|
3961
|
+
const activeEntityId = this.appState.getActiveEntityId();
|
|
3962
|
+
if (!activeEntityId) {
|
|
3963
|
+
console.error('❌ No active entity ID found');
|
|
3964
|
+
this.error.set('No active entity selected');
|
|
3965
|
+
this.loading.set(false);
|
|
3966
|
+
return;
|
|
3967
|
+
}
|
|
3968
|
+
const requestBody = new MDesignation({
|
|
3962
3969
|
total: this.totalItems(),
|
|
3963
3970
|
pageIndex: this.currentPage(),
|
|
3964
3971
|
pageSize: this.pageSize(),
|
|
3965
|
-
query: this.searchTerm()
|
|
3966
|
-
|
|
3972
|
+
query: this.searchTerm(),
|
|
3973
|
+
desg_entity_id_syen: activeEntityId
|
|
3974
|
+
});
|
|
3967
3975
|
console.log('📋 Request body:', requestBody);
|
|
3968
3976
|
if (!this.designationService) {
|
|
3969
3977
|
console.error('❌ DesignationService is not available');
|
|
@@ -18774,7 +18782,7 @@ class CideCoreUserRoleListComponent {
|
|
|
18774
18782
|
canToggleStatus = computed(() => this.rightsService.hasRight('TOGGLE_STATUS'), ...(ngDevMode ? [{ debugName: "canToggleStatus" }] : []));
|
|
18775
18783
|
ngOnInit() {
|
|
18776
18784
|
// Initialize rights for user role management
|
|
18777
|
-
this.rightsService.initializeRights('
|
|
18785
|
+
this.rightsService.initializeRights('core_user_role');
|
|
18778
18786
|
console.log('👥 User Role List Component initialized');
|
|
18779
18787
|
this.loadUserRoles();
|
|
18780
18788
|
}
|
|
@@ -19288,7 +19296,7 @@ class CideCoreUserRoleFormComponent {
|
|
|
19288
19296
|
}, ...(ngDevMode ? [{ debugName: "templateRenderers" }] : []));
|
|
19289
19297
|
ngOnInit() {
|
|
19290
19298
|
// Initialize rights for user role management
|
|
19291
|
-
this.rightsService.initializeRights('
|
|
19299
|
+
this.rightsService.initializeRights('core_user_role');
|
|
19292
19300
|
console.log('👥 User Role Form Component initialized');
|
|
19293
19301
|
this.initializeForm();
|
|
19294
19302
|
this.loadMasterData();
|