cloud-ide-shared 1.0.35 → 1.0.37

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
@@ -887,7 +887,7 @@ interface SelectOption {
887
887
  value: string;
888
888
  label: string;
889
889
  }
890
- interface ProgramSectionSelectorValues {
890
+ interface ProgramSectionSelectorValues$1 {
891
891
  classProgramId?: string | null;
892
892
  branchId?: string | null;
893
893
  termId?: string | null;
@@ -906,7 +906,7 @@ declare class CideSharedProgramSectionSelectorComponent implements OnInit, OnDes
906
906
  readonly gridCols: _angular_core.InputSignal<string>;
907
907
  readonly showAllPrograms: _angular_core.InputSignal<boolean>;
908
908
  readonly includeInactive: _angular_core.InputSignal<boolean>;
909
- readonly valuesChange: _angular_core.OutputEmitterRef<ProgramSectionSelectorValues>;
909
+ readonly valuesChange: _angular_core.OutputEmitterRef<ProgramSectionSelectorValues$1>;
910
910
  private readonly destroyRef;
911
911
  private readonly http;
912
912
  private readonly classProgramService;
@@ -963,7 +963,6 @@ declare class FeeDetailsViewerWrapperComponent implements OnInit, OnDestroy, OnC
963
963
  assignmentDate: Date | null;
964
964
  discount: number | null;
965
965
  closed: EventEmitter<void>;
966
- constructor();
967
966
  ngOnInit(): void;
968
967
  ngOnChanges(changes: SimpleChanges): void;
969
968
  ngOnDestroy(): void;
@@ -974,6 +973,91 @@ declare class FeeDetailsViewerWrapperComponent implements OnInit, OnDestroy, OnC
974
973
  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>;
975
974
  }
976
975
 
976
+ /**
977
+ * Type for ProgramSectionSelectorValues output
978
+ */
979
+ interface ProgramSectionSelectorValues {
980
+ classProgramId?: string | null;
981
+ branchId?: string | null;
982
+ termId?: string | null;
983
+ sectionId?: string | null;
984
+ }
985
+ /**
986
+ * Type for ProgramSectionSelectorComponent
987
+ * This represents the component interface that must be implemented
988
+ */
989
+ interface ProgramSectionSelectorComponentType {
990
+ formGroup?: FormGroup | (() => FormGroup);
991
+ classProgramControlName?: string | (() => string);
992
+ branchControlName?: string | (() => string);
993
+ termControlName?: string | (() => string);
994
+ sectionControlName?: string | (() => string);
995
+ academicYearId?: string | null | (() => string | null);
996
+ entityId?: string | null | (() => string | null);
997
+ disabled?: boolean | (() => boolean);
998
+ showLabels?: boolean | (() => boolean);
999
+ gridCols?: string | (() => string);
1000
+ showAllPrograms?: boolean | (() => boolean);
1001
+ includeInactive?: boolean | (() => boolean);
1002
+ valuesChange?: (values: ProgramSectionSelectorValues) => void;
1003
+ }
1004
+ /**
1005
+ * Injection token for ProgramSectionSelectorComponent
1006
+ * This allows the component to be provided without direct import dependency
1007
+ *
1008
+ * @example
1009
+ * ```typescript
1010
+ * // In app.config.ts
1011
+ * import { CideLytProgramSectionSelectorComponent } from 'cloud-ide-academics';
1012
+ * import { PROGRAM_SECTION_SELECTOR_COMPONENT_TOKEN } from 'cloud-ide-shared';
1013
+ *
1014
+ * providers: [
1015
+ * { provide: PROGRAM_SECTION_SELECTOR_COMPONENT_TOKEN, useValue: CideLytProgramSectionSelectorComponent }
1016
+ * ]
1017
+ *
1018
+ * // In component template
1019
+ * <cide-shared-program-section-selector-wrapper
1020
+ * [formGroup]="form"
1021
+ * [classProgramControlName]="'class_program_id'"
1022
+ * [academicYearId]="academicYearId()"
1023
+ * (valuesChange)="onValuesChange($event)">
1024
+ * </cide-shared-program-section-selector-wrapper>
1025
+ * ```
1026
+ */
1027
+ declare const PROGRAM_SECTION_SELECTOR_COMPONENT_TOKEN: InjectionToken<Type<ProgramSectionSelectorComponentType>>;
1028
+
1029
+ /**
1030
+ * Wrapper component that dynamically loads the ProgramSectionSelectorComponent
1031
+ * This allows front-desk to use the component without directly importing cloud-ide-academics
1032
+ */
1033
+ declare class ProgramSectionSelectorWrapperComponent implements OnInit, OnDestroy, OnChanges {
1034
+ private readonly viewContainerRef;
1035
+ private readonly destroyRef;
1036
+ private readonly componentToken;
1037
+ private componentRef;
1038
+ formGroup: FormGroup;
1039
+ classProgramControlName: string;
1040
+ branchControlName: string;
1041
+ termControlName: string;
1042
+ sectionControlName: string;
1043
+ academicYearId: string | null;
1044
+ entityId: string | null;
1045
+ disabled: boolean;
1046
+ showLabels: boolean;
1047
+ gridCols: string;
1048
+ showAllPrograms: boolean;
1049
+ includeInactive: boolean;
1050
+ valuesChange: EventEmitter<ProgramSectionSelectorValues>;
1051
+ ngOnInit(): void;
1052
+ ngOnChanges(changes: SimpleChanges): void;
1053
+ ngOnDestroy(): void;
1054
+ private loadComponent;
1055
+ private updateComponentInputs;
1056
+ private destroyComponent;
1057
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ProgramSectionSelectorWrapperComponent, never>;
1058
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ProgramSectionSelectorWrapperComponent, "cide-shared-program-section-selector-wrapper", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "classProgramControlName": { "alias": "classProgramControlName"; "required": false; }; "branchControlName": { "alias": "branchControlName"; "required": false; }; "termControlName": { "alias": "termControlName"; "required": false; }; "sectionControlName": { "alias": "sectionControlName"; "required": false; }; "academicYearId": { "alias": "academicYearId"; "required": false; }; "entityId": { "alias": "entityId"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showLabels": { "alias": "showLabels"; "required": false; }; "gridCols": { "alias": "gridCols"; "required": false; }; "showAllPrograms": { "alias": "showAllPrograms"; "required": false; }; "includeInactive": { "alias": "includeInactive"; "required": false; }; }, { "valuesChange": "valuesChange"; }, never, never, true, never>;
1059
+ }
1060
+
977
1061
  /**
978
1062
  * Type for FeeDetailsViewerComponent
979
1063
  * This represents the component interface that must be implemented
@@ -1011,5 +1095,5 @@ interface FeeDetailsViewerComponentType {
1011
1095
  */
1012
1096
  declare const FEE_DETAILS_VIEWER_COMPONENT_TOKEN: InjectionToken<Type<FeeDetailsViewerComponentType>>;
1013
1097
 
1014
- export { ACADEMIC_YEAR_SERVICE_TOKEN, APP_STATE_SERVICE_TOKEN, AUTH_SERVICE_TOKEN, CLASS_PROGRAM_MASTER_SERVICE_TOKEN, COUNTRY_SERVICE_TOKEN, CideCoreGeneralMasterService, CideCoreGeneralMasterTypeService, CideSharedOrgStructureComponent, CideSharedProgramSectionSelectorComponent, CloudIdeShared, ENTITY_SERVICE_TOKEN, FEE_DETAILS_VIEWER_COMPONENT_TOKEN, FEE_PAYMENT_SERVICE_TOKEN, FEE_STRUCTURE_SERVICE_TOKEN, FINANCIAL_YEAR_SERVICE_TOKEN, FeeDetailsViewerWrapperComponent, NATIONALITY_SERVICE_TOKEN, PIN_CODE_SERVICE_TOKEN, PROGRAM_TERM_SECTION_SERVICE_TOKEN, SharedObjectIdService, USER_SERVICE_TOKEN, authGuard };
1015
- export type { FeeDetailsViewerComponentType, IAcademicYearService, IAppStateService, IAuthService, IClassProgramMasterService, ICountryService, IEntityService, IFeePaymentService, IFeeStructureService, IFinancialYearService, INationalityService, IPinCodeService, IProgramTermSectionService, IUserMasterService };
1098
+ export { ACADEMIC_YEAR_SERVICE_TOKEN, APP_STATE_SERVICE_TOKEN, AUTH_SERVICE_TOKEN, CLASS_PROGRAM_MASTER_SERVICE_TOKEN, COUNTRY_SERVICE_TOKEN, CideCoreGeneralMasterService, CideCoreGeneralMasterTypeService, CideSharedOrgStructureComponent, CideSharedProgramSectionSelectorComponent, CloudIdeShared, ENTITY_SERVICE_TOKEN, FEE_DETAILS_VIEWER_COMPONENT_TOKEN, FEE_PAYMENT_SERVICE_TOKEN, FEE_STRUCTURE_SERVICE_TOKEN, FINANCIAL_YEAR_SERVICE_TOKEN, FeeDetailsViewerWrapperComponent, NATIONALITY_SERVICE_TOKEN, PIN_CODE_SERVICE_TOKEN, PROGRAM_SECTION_SELECTOR_COMPONENT_TOKEN, PROGRAM_TERM_SECTION_SERVICE_TOKEN, ProgramSectionSelectorWrapperComponent, SharedObjectIdService, USER_SERVICE_TOKEN, authGuard };
1099
+ export type { FeeDetailsViewerComponentType, IAcademicYearService, IAppStateService, IAuthService, IClassProgramMasterService, ICountryService, IEntityService, IFeePaymentService, IFeeStructureService, IFinancialYearService, INationalityService, IPinCodeService, IProgramTermSectionService, IUserMasterService, ProgramSectionSelectorComponentType, ProgramSectionSelectorValues };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloud-ide-shared",
3
- "version": "1.0.35",
3
+ "version": "1.0.37",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.1.0",
6
6
  "@angular/core": "^20.1.0",