cloud-ide-shared 1.0.72 → 1.0.74

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { InjectionToken, OnInit, OnDestroy, OnChanges, EventEmitter, SimpleChanges, Type } from '@angular/core';
2
+ import { InjectionToken, Type, InputSignal, OutputEmitterRef, OnInit, OnDestroy, OnChanges, EventEmitter, SimpleChanges } from '@angular/core';
3
3
  import { CanActivateFn, Router } from '@angular/router';
4
4
  import { Observable } from 'rxjs';
5
5
  import { MEntity, entityControllerResponse, entityByIdControllerResponse, CoreSystemEntitySaveUpdatePayload, MPinCodeSelect, pinCodeSelectControllerResponse, MSyctrList, countryListControllerResponse, CoreNationalityListPayload, nationalityListControllerResponse, MSycrList, currencyListControllerResponse, MClassProgramMaster, classProgramMasterControllerResponse, MPrgTrmSection, prgTrmSectionControllerResponse, MPrgTrmSectionGetByIdPayload, prgTrmSectionByIdControllerResponse, MPrgTrmSectionInsertUpdatePayload, prgTrmSectionInsertUpdateControllerResponse, MPrgTrmSectionDeletePayload, prgTrmSectionDeleteControllerResponse, MPrgTrmSectionToggleStatusPayload, prgTrmSectionToggleStatusControllerResponse, MPrgTrmSectionToggleLockPayload, prgTrmSectionToggleLockControllerResponse, ICoreSygmt, MGeneralMasterType, generalMasterTypeListControllerResponse, generalMasterTypeInsertUpdateControllerResponse, generalMasterTypeByIdControllerResponse, generalMasterTypeDeleteControllerResponse, generalMasterTypeToggleStatusControllerResponse, ICoreSygms, IGeneralMasterListRequest, generalMasterListControllerResponse, generalMasterInsertUpdateControllerResponse, generalMasterByIdControllerResponse, generalMasterDeleteControllerResponse, generalMasterToggleStatusControllerResponse, AuthUserMstListPayload, authUserMstListControllerResponse, MFinancialYear, financialYearControllerResponse, MFinancialYearGetByIdPayload, financialYearByIdControllerResponse, MFinancialYearInsertUpdatePayload, financialYearInsertUpdateControllerResponse, MFinancialYearDeletePayload, financialYearDeleteControllerResponse, MFinancialYearToggleStatusPayload, financialYearToggleStatusControllerResponse, MAcademicYear, academicYearControllerResponse, MAcademicYearGetByIdPayload, academicYearByIdControllerResponse, MAcademicYearInsertUpdatePayload, academicYearInsertUpdateControllerResponse, MAcademicYearDeletePayload, academicYearDeleteControllerResponse, MAcademicYearToggleStatusPayload, academicYearToggleStatusControllerResponse, MFeeStructure, feeStructureControllerResponse, MFeeStructureGetByIdPayload, feeStructureByIdControllerResponse, MFeeStructureInsertUpdatePayload, feeStructureInsertUpdateControllerResponse, MFeeStructureDeletePayload, feeStructureDeleteControllerResponse, MFeeStructureToggleStatusPayload, feeStructureToggleStatusControllerResponse, MFeePayment, feePaymentControllerResponse, MFeePaymentGetByIdPayload, feePaymentByIdControllerResponse, MFeePaymentInsertUpdatePayload, feePaymentInsertUpdateControllerResponse, MFeePaymentDeletePayload, feePaymentDeleteControllerResponse, controllerResponse, CoreSystemEntityListResponse, AcaClassProgramMasterResponse, selectSearchType } from 'cloud-ide-lms-model';
@@ -966,6 +966,123 @@ interface IEducationBoardService {
966
966
  */
967
967
  declare const EDUCATION_BOARD_SERVICE_TOKEN: InjectionToken<IEducationBoardService>;
968
968
 
969
+ /**
970
+ * Type for FeeDetailsViewerComponent
971
+ * This represents the component interface that must be implemented
972
+ */
973
+ interface FeeDetailsViewerComponentType {
974
+ isOpen?: boolean | (() => boolean);
975
+ feeData?: any;
976
+ assignmentDate?: Date | null;
977
+ discount?: number | null;
978
+ closed?: () => void;
979
+ }
980
+ /**
981
+ * Injection token for FeeDetailsViewerComponent
982
+ * This allows the component to be provided without direct import dependency
983
+ *
984
+ * @example
985
+ * ```typescript
986
+ * // In app.config.ts
987
+ * import { FeeDetailsViewerComponent } from 'cloud-ide-fees';
988
+ * import { FEE_DETAILS_VIEWER_COMPONENT_TOKEN } from 'cloud-ide-shared';
989
+ *
990
+ * providers: [
991
+ * { provide: FEE_DETAILS_VIEWER_COMPONENT_TOKEN, useValue: FeeDetailsViewerComponent }
992
+ * ]
993
+ *
994
+ * // In component template
995
+ * <cide-shared-fee-details-viewer-wrapper
996
+ * [isOpen]="viewingFeeDetails() !== null"
997
+ * [feeData]="getFeeDataForViewer()"
998
+ * [assignmentDate]="getAssignmentDate()"
999
+ * [discount]="getFeeDiscountForViewer()"
1000
+ * (closed)="closeFeeDetails()">
1001
+ * </cide-shared-fee-details-viewer-wrapper>
1002
+ * ```
1003
+ */
1004
+ declare const FEE_DETAILS_VIEWER_COMPONENT_TOKEN: InjectionToken<Type<FeeDetailsViewerComponentType>>;
1005
+
1006
+ /**
1007
+ * Type for ProgramSectionSelectorValues output
1008
+ */
1009
+ interface ProgramSectionSelectorValues$1 {
1010
+ classProgramId?: string | null;
1011
+ branchId?: string | null;
1012
+ termId?: string | null;
1013
+ sectionId?: string | null;
1014
+ }
1015
+ /**
1016
+ * Type for ProgramSectionSelectorComponent
1017
+ * This represents the component interface that must be implemented
1018
+ */
1019
+ interface ProgramSectionSelectorComponentType {
1020
+ formGroup?: FormGroup | (() => FormGroup);
1021
+ classProgramControlName?: string | (() => string);
1022
+ branchControlName?: string | (() => string);
1023
+ termControlName?: string | (() => string);
1024
+ sectionControlName?: string | (() => string);
1025
+ academicYearId?: string | null | (() => string | null);
1026
+ entityId?: string | null | (() => string | null);
1027
+ disabled?: boolean | (() => boolean);
1028
+ showLabels?: boolean | (() => boolean);
1029
+ gridCols?: string | (() => string);
1030
+ showAllPrograms?: boolean | (() => boolean);
1031
+ includeInactive?: boolean | (() => boolean);
1032
+ valuesChange?: (values: ProgramSectionSelectorValues$1) => void;
1033
+ }
1034
+ /**
1035
+ * Injection token for ProgramSectionSelectorComponent
1036
+ * This allows the component to be provided without direct import dependency
1037
+ *
1038
+ * @example
1039
+ * ```typescript
1040
+ * // In app.config.ts
1041
+ * import { CideLytProgramSectionSelectorComponent } from 'cloud-ide-academics';
1042
+ * import { PROGRAM_SECTION_SELECTOR_COMPONENT_TOKEN } from 'cloud-ide-shared';
1043
+ *
1044
+ * providers: [
1045
+ * { provide: PROGRAM_SECTION_SELECTOR_COMPONENT_TOKEN, useValue: CideLytProgramSectionSelectorComponent }
1046
+ * ]
1047
+ *
1048
+ * // In component template
1049
+ * <cide-shared-program-section-selector-wrapper
1050
+ * [formGroup]="form"
1051
+ * [classProgramControlName]="'class_program_id'"
1052
+ * [academicYearId]="academicYearId()"
1053
+ * (valuesChange)="onValuesChange($event)">
1054
+ * </cide-shared-program-section-selector-wrapper>
1055
+ * ```
1056
+ */
1057
+ declare const PROGRAM_SECTION_SELECTOR_COMPONENT_TOKEN: InjectionToken<Type<ProgramSectionSelectorComponentType>>;
1058
+
1059
+ /**
1060
+ * Type for FeeApplicableFeesComponent
1061
+ * This represents the component interface that must be implemented
1062
+ */
1063
+ interface FeeApplicableFeesComponentType {
1064
+ entityId: InputSignal<string | null>;
1065
+ academicYearId: InputSignal<string>;
1066
+ classProgramId: InputSignal<string>;
1067
+ termId: InputSignal<string>;
1068
+ branchId: InputSignal<string | null>;
1069
+ sectionId: InputSignal<string | null>;
1070
+ studentId: InputSignal<string | null>;
1071
+ feesCalculated: OutputEmitterRef<{
1072
+ fees: any[];
1073
+ totalOriginal: number;
1074
+ totalDiscount: number;
1075
+ totalScholarship: number;
1076
+ totalFinal: number;
1077
+ structureId: string | null;
1078
+ }>;
1079
+ }
1080
+ /**
1081
+ * Injection token for FeeApplicableFeesComponent
1082
+ * This allows the component to be provided without direct import dependency
1083
+ */
1084
+ declare const FEE_APPLICABLE_FEES_COMPONENT_TOKEN: InjectionToken<Type<FeeApplicableFeesComponentType>>;
1085
+
969
1086
  declare class CideSharedOrgStructureComponent implements OnInit {
970
1087
  allowSwitching: _angular_core.InputSignal<boolean>;
971
1088
  showActions: _angular_core.InputSignal<boolean>;
@@ -1036,7 +1153,7 @@ interface SelectOption {
1036
1153
  value: string;
1037
1154
  label: string;
1038
1155
  }
1039
- interface ProgramSectionSelectorValues$1 {
1156
+ interface ProgramSectionSelectorValues {
1040
1157
  classProgramId?: string | null;
1041
1158
  branchId?: string | null;
1042
1159
  termId?: string | null;
@@ -1055,7 +1172,7 @@ declare class CideSharedProgramSectionSelectorComponent implements OnInit, OnDes
1055
1172
  readonly gridCols: _angular_core.InputSignal<string>;
1056
1173
  readonly showAllPrograms: _angular_core.InputSignal<boolean>;
1057
1174
  readonly includeInactive: _angular_core.InputSignal<boolean>;
1058
- readonly valuesChange: _angular_core.OutputEmitterRef<ProgramSectionSelectorValues$1>;
1175
+ readonly valuesChange: _angular_core.OutputEmitterRef<ProgramSectionSelectorValues>;
1059
1176
  private readonly destroyRef;
1060
1177
  private readonly http;
1061
1178
  private readonly classProgramService;
@@ -1122,59 +1239,6 @@ declare class FeeDetailsViewerWrapperComponent implements OnInit, OnDestroy, OnC
1122
1239
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<FeeDetailsViewerWrapperComponent, "cide-shared-fee-details-viewer-wrapper", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "feeData": { "alias": "feeData"; "required": false; }; "assignmentDate": { "alias": "assignmentDate"; "required": false; }; "discount": { "alias": "discount"; "required": false; }; }, { "closed": "closed"; }, never, never, true, never>;
1123
1240
  }
1124
1241
 
1125
- /**
1126
- * Type for ProgramSectionSelectorValues output
1127
- */
1128
- interface ProgramSectionSelectorValues {
1129
- classProgramId?: string | null;
1130
- branchId?: string | null;
1131
- termId?: string | null;
1132
- sectionId?: string | null;
1133
- }
1134
- /**
1135
- * Type for ProgramSectionSelectorComponent
1136
- * This represents the component interface that must be implemented
1137
- */
1138
- interface ProgramSectionSelectorComponentType {
1139
- formGroup?: FormGroup | (() => FormGroup);
1140
- classProgramControlName?: string | (() => string);
1141
- branchControlName?: string | (() => string);
1142
- termControlName?: string | (() => string);
1143
- sectionControlName?: string | (() => string);
1144
- academicYearId?: string | null | (() => string | null);
1145
- entityId?: string | null | (() => string | null);
1146
- disabled?: boolean | (() => boolean);
1147
- showLabels?: boolean | (() => boolean);
1148
- gridCols?: string | (() => string);
1149
- showAllPrograms?: boolean | (() => boolean);
1150
- includeInactive?: boolean | (() => boolean);
1151
- valuesChange?: (values: ProgramSectionSelectorValues) => void;
1152
- }
1153
- /**
1154
- * Injection token for ProgramSectionSelectorComponent
1155
- * This allows the component to be provided without direct import dependency
1156
- *
1157
- * @example
1158
- * ```typescript
1159
- * // In app.config.ts
1160
- * import { CideLytProgramSectionSelectorComponent } from 'cloud-ide-academics';
1161
- * import { PROGRAM_SECTION_SELECTOR_COMPONENT_TOKEN } from 'cloud-ide-shared';
1162
- *
1163
- * providers: [
1164
- * { provide: PROGRAM_SECTION_SELECTOR_COMPONENT_TOKEN, useValue: CideLytProgramSectionSelectorComponent }
1165
- * ]
1166
- *
1167
- * // In component template
1168
- * <cide-shared-program-section-selector-wrapper
1169
- * [formGroup]="form"
1170
- * [classProgramControlName]="'class_program_id'"
1171
- * [academicYearId]="academicYearId()"
1172
- * (valuesChange)="onValuesChange($event)">
1173
- * </cide-shared-program-section-selector-wrapper>
1174
- * ```
1175
- */
1176
- declare const PROGRAM_SECTION_SELECTOR_COMPONENT_TOKEN: InjectionToken<Type<ProgramSectionSelectorComponentType>>;
1177
-
1178
1242
  /**
1179
1243
  * Wrapper component that dynamically loads the ProgramSectionSelectorComponent
1180
1244
  * This allows front-desk to use the component without directly importing cloud-ide-academics
@@ -1197,7 +1261,7 @@ declare class ProgramSectionSelectorWrapperComponent implements OnInit, OnDestro
1197
1261
  gridCols: string;
1198
1262
  showAllPrograms: boolean;
1199
1263
  includeInactive: boolean;
1200
- valuesChange: EventEmitter<ProgramSectionSelectorValues>;
1264
+ valuesChange: EventEmitter<ProgramSectionSelectorValues$1>;
1201
1265
  ngOnInit(): void;
1202
1266
  ngOnChanges(changes: SimpleChanges): void;
1203
1267
  ngOnDestroy(): void;
@@ -1209,41 +1273,38 @@ declare class ProgramSectionSelectorWrapperComponent implements OnInit, OnDestro
1209
1273
  }
1210
1274
 
1211
1275
  /**
1212
- * Type for FeeDetailsViewerComponent
1213
- * This represents the component interface that must be implemented
1276
+ * Wrapper component that dynamically loads the FeeApplicableFeesComponent
1277
+ * This allows front-desk to use the component without directly importing cloud-ide-fees
1214
1278
  */
1215
- interface FeeDetailsViewerComponentType {
1216
- isOpen?: boolean | (() => boolean);
1217
- feeData?: any;
1218
- assignmentDate?: Date | null;
1219
- discount?: number | null;
1220
- closed?: () => void;
1279
+ declare class FeeApplicableFeesWrapperComponent implements OnInit, OnDestroy, OnChanges {
1280
+ private readonly viewContainerRef;
1281
+ private readonly destroyRef;
1282
+ private readonly componentToken;
1283
+ private componentRef;
1284
+ entityId: string | null;
1285
+ academicYearId: string;
1286
+ classProgramId: string;
1287
+ termId: string;
1288
+ branchId: string | null;
1289
+ sectionId: string | null;
1290
+ studentId: string | null;
1291
+ feesCalculated: EventEmitter<{
1292
+ fees: any[];
1293
+ totalOriginal: number;
1294
+ totalDiscount: number;
1295
+ totalScholarship: number;
1296
+ totalFinal: number;
1297
+ structureId: string | null;
1298
+ }>;
1299
+ ngOnInit(): void;
1300
+ ngOnChanges(changes: SimpleChanges): void;
1301
+ ngOnDestroy(): void;
1302
+ private loadComponent;
1303
+ private updateComponentInputs;
1304
+ private destroyComponent;
1305
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FeeApplicableFeesWrapperComponent, never>;
1306
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FeeApplicableFeesWrapperComponent, "cide-shared-fee-applicable-fees-wrapper", never, { "entityId": { "alias": "entityId"; "required": false; }; "academicYearId": { "alias": "academicYearId"; "required": false; }; "classProgramId": { "alias": "classProgramId"; "required": false; }; "termId": { "alias": "termId"; "required": false; }; "branchId": { "alias": "branchId"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; "studentId": { "alias": "studentId"; "required": false; }; }, { "feesCalculated": "feesCalculated"; }, never, never, true, never>;
1221
1307
  }
1222
- /**
1223
- * Injection token for FeeDetailsViewerComponent
1224
- * This allows the component to be provided without direct import dependency
1225
- *
1226
- * @example
1227
- * ```typescript
1228
- * // In app.config.ts
1229
- * import { FeeDetailsViewerComponent } from 'cloud-ide-fees';
1230
- * import { FEE_DETAILS_VIEWER_COMPONENT_TOKEN } from 'cloud-ide-shared';
1231
- *
1232
- * providers: [
1233
- * { provide: FEE_DETAILS_VIEWER_COMPONENT_TOKEN, useValue: FeeDetailsViewerComponent }
1234
- * ]
1235
- *
1236
- * // In component template
1237
- * <cide-shared-fee-details-viewer-wrapper
1238
- * [isOpen]="viewingFeeDetails() !== null"
1239
- * [feeData]="getFeeDataForViewer()"
1240
- * [assignmentDate]="getAssignmentDate()"
1241
- * [discount]="getFeeDiscountForViewer()"
1242
- * (closed)="closeFeeDetails()">
1243
- * </cide-shared-fee-details-viewer-wrapper>
1244
- * ```
1245
- */
1246
- declare const FEE_DETAILS_VIEWER_COMPONENT_TOKEN: InjectionToken<Type<FeeDetailsViewerComponentType>>;
1247
1308
 
1248
- export { ACADEMIC_YEAR_SERVICE_TOKEN, APP_STATE_SERVICE_TOKEN, AUTH_SERVICE_TOKEN, CLASS_PROGRAM_MASTER_SERVICE_TOKEN, COUNTRY_SERVICE_TOKEN, CURRENCY_SERVICE_TOKEN, CideCoreGeneralMasterTypeService, CideSharedOrgStructureComponent, CideSharedProgramSectionSelectorComponent, CloudIdeShared, EDUCATION_BOARD_SERVICE_TOKEN, ENTITY_SERVICE_TOKEN, FEE_DETAILS_VIEWER_COMPONENT_TOKEN, FEE_PAYMENT_SERVICE_TOKEN, FEE_STRUCTURE_SERVICE_TOKEN, FINANCIAL_YEAR_SERVICE_TOKEN, FeeDetailsViewerWrapperComponent, GENERAL_MASTER_SERVICE_TOKEN, NATIONALITY_SERVICE_TOKEN, PIN_CODE_SERVICE_TOKEN, PROGRAM_SECTION_SELECTOR_COMPONENT_TOKEN, PROGRAM_TERM_SECTION_SERVICE_TOKEN, ProgramSectionSelectorWrapperComponent, SharedObjectIdService, USER_SERVICE_TOKEN, authGuard };
1249
- export type { EducationBoardSearchParams, FeeDetailsViewerComponentType, IAcademicYearService, IAppStateService, IAuthService, IClassProgramMasterService, ICountryService, ICurrencyService, IEducationBoard, IEducationBoardService, IEntityService, IFeePaymentService, IFeeStructureService, IFinancialYearService, IGeneralMasterService, INationalityService, IPinCodeService, IProgramTermSectionService, IUserMasterService, ProgramSectionSelectorComponentType, ProgramSectionSelectorValues };
1309
+ export { ACADEMIC_YEAR_SERVICE_TOKEN, APP_STATE_SERVICE_TOKEN, AUTH_SERVICE_TOKEN, CLASS_PROGRAM_MASTER_SERVICE_TOKEN, COUNTRY_SERVICE_TOKEN, CURRENCY_SERVICE_TOKEN, CideCoreGeneralMasterTypeService, CideSharedOrgStructureComponent, CideSharedProgramSectionSelectorComponent, CloudIdeShared, EDUCATION_BOARD_SERVICE_TOKEN, ENTITY_SERVICE_TOKEN, FEE_APPLICABLE_FEES_COMPONENT_TOKEN, FEE_DETAILS_VIEWER_COMPONENT_TOKEN, FEE_PAYMENT_SERVICE_TOKEN, FEE_STRUCTURE_SERVICE_TOKEN, FINANCIAL_YEAR_SERVICE_TOKEN, FeeApplicableFeesWrapperComponent, FeeDetailsViewerWrapperComponent, GENERAL_MASTER_SERVICE_TOKEN, NATIONALITY_SERVICE_TOKEN, PIN_CODE_SERVICE_TOKEN, PROGRAM_SECTION_SELECTOR_COMPONENT_TOKEN, PROGRAM_TERM_SECTION_SERVICE_TOKEN, ProgramSectionSelectorWrapperComponent, SharedObjectIdService, USER_SERVICE_TOKEN, authGuard };
1310
+ export type { EducationBoardSearchParams, FeeApplicableFeesComponentType, FeeDetailsViewerComponentType, IAcademicYearService, IAppStateService, IAuthService, IClassProgramMasterService, ICountryService, ICurrencyService, IEducationBoard, IEducationBoardService, IEntityService, IFeePaymentService, IFeeStructureService, IFinancialYearService, IGeneralMasterService, INationalityService, IPinCodeService, IProgramTermSectionService, IUserMasterService, ProgramSectionSelectorComponentType, ProgramSectionSelectorValues$1 as ProgramSectionSelectorValues };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloud-ide-shared",
3
- "version": "1.0.72",
3
+ "version": "1.0.74",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.1.0",
6
6
  "@angular/core": "^20.1.0",