@iapps/ng-dhis2-ui 1.4.0 → 1.4.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iapps/ng-dhis2-ui",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0",
@@ -9,9 +9,9 @@ import * as rxjs from 'rxjs';
9
9
  import { Observable, Subject } from 'rxjs';
10
10
  import * as i8 from '@angular/forms';
11
11
  import { FormGroup, FormControl, UntypedFormGroup } from '@angular/forms';
12
+ import * as _dhis2_ui_loader from '@dhis2-ui/loader';
12
13
  import * as _dhis2_app_service_user from '@dhis2/app-service-user';
13
14
  import * as _dhis2_app_service_config from '@dhis2/app-service-config';
14
- import * as _dhis2_ui_loader from '@dhis2-ui/loader';
15
15
 
16
16
  declare class ReactWrapperModule implements OnDestroy, AfterViewInit {
17
17
  protected elementRef: ElementRef<HTMLElement>;
@@ -269,7 +269,7 @@ declare class LineListTableComponent extends ReactWrapperModule implements OnCha
269
269
  action: string;
270
270
  data: TrackedEntityInstance | DHIS2Event;
271
271
  }>;
272
- rowsSelected: EventEmitter<TrackedEntityInstance[] | DHIS2Event[]>;
272
+ rowsSelected: EventEmitter<DHIS2Event[] | TrackedEntityInstance[]>;
273
273
  showActionButtons: boolean;
274
274
  showEnrollmentDates: boolean;
275
275
  showDownloadButton: boolean;
@@ -1482,7 +1482,7 @@ declare class D2FormModule {
1482
1482
  declare class FieldUtil {
1483
1483
  static getFieldDropdownOptions(field: any): DropdownOption[];
1484
1484
  static sanitizeOptions(options: any[]): any;
1485
- static getFieldType(valueType: string): "number" | "email" | "text" | "tel" | "date" | "date-time" | "org-unit" | "file" | "coordinate";
1485
+ static getFieldType(valueType: string): "email" | "number" | "text" | "tel" | "date" | "date-time" | "org-unit" | "file" | "coordinate";
1486
1486
  static getFieldControlType(valueType: string, hasOptions: boolean): FieldControlType;
1487
1487
  static getOptionEntities?(options: any[]): any;
1488
1488
  }
@@ -1590,7 +1590,7 @@ declare class SelectionFiltersComponent extends ReactWrapperModule implements Af
1590
1590
  FieldOrgUnitSelector: (props: {
1591
1591
  onSelectOrgUnit: (selectedOrgUnits: any) => void;
1592
1592
  onCancelOrgUnit: () => void;
1593
- }) => React.FunctionComponentElement<_dhis2_ui_loader.CircularLoaderProps> | React.FunctionComponentElement<{
1593
+ }) => React.FunctionComponentElement<{
1594
1594
  config: _dhis2_app_service_config.Config;
1595
1595
  userInfo: _dhis2_app_service_user.CurrentUser | undefined;
1596
1596
  children: React.ReactNode;
@@ -1598,7 +1598,7 @@ declare class SelectionFiltersComponent extends ReactWrapperModule implements Af
1598
1598
  plugin: boolean;
1599
1599
  parentAlertsAdd: any;
1600
1600
  showAlertsInPlugin: boolean;
1601
- }>;
1601
+ }> | React.FunctionComponentElement<_dhis2_ui_loader.CircularLoaderProps>;
1602
1602
  showOrgUnitTree: _angular_core.WritableSignal<boolean>;
1603
1603
  orgUnitSelectionConfig: OrganisationUnitSelectionConfig;
1604
1604
  selectedOrgUnitSignal: _angular_core.WritableSignal<any>;