@iapps/ng-dhis2-ui 1.2.157 → 1.2.158

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
@@ -9,8 +9,8 @@ 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_app_service_config from '@dhis2/app-service-config';
13
12
  import * as _dhis2_ui_loader from '@dhis2-ui/loader';
13
+ import * as _dhis2_app_service_config from '@dhis2/app-service-config';
14
14
 
15
15
  declare class ReactWrapperModule implements OnDestroy, AfterViewInit {
16
16
  protected elementRef: ElementRef<HTMLElement>;
@@ -259,7 +259,7 @@ declare class LineListTableComponent extends ReactWrapperModule implements OnCha
259
259
  action: string;
260
260
  data: TrackedEntityInstance | DHIS2Event;
261
261
  }>;
262
- rowsSelected: EventEmitter<TrackedEntityInstance[] | DHIS2Event[]>;
262
+ rowsSelected: EventEmitter<DHIS2Event[] | TrackedEntityInstance[]>;
263
263
  showActionButtons: boolean;
264
264
  showEnrollmentDates: boolean;
265
265
  showDownloadButton: boolean;
@@ -1418,7 +1418,7 @@ declare class D2FormModule {
1418
1418
  declare class FieldUtil {
1419
1419
  static getFieldDropdownOptions(field: any): DropdownOption[];
1420
1420
  static sanitizeOptions(options: any[]): any;
1421
- static getFieldType(valueType: string): "date" | "email" | "number" | "text" | "tel" | "date-time" | "org-unit" | "file" | "coordinate";
1421
+ static getFieldType(valueType: string): "date" | "date-time" | "org-unit" | "file" | "number" | "tel" | "coordinate" | "email" | "text";
1422
1422
  static getFieldControlType(valueType: string, hasOptions: boolean): FieldControlType;
1423
1423
  static getOptionEntities?(options: any[]): any;
1424
1424
  }
@@ -1428,7 +1428,7 @@ declare class FieldControlTypeUtil {
1428
1428
  }
1429
1429
 
1430
1430
  declare class FormFieldTypeUtil {
1431
- static getFieldType(valueType: string): "number" | "text" | "tel" | "date-time" | "image" | "org-unit" | "file" | "coordinate";
1431
+ static getFieldType(valueType: string): "date-time" | "image" | "org-unit" | "file" | "number" | "tel" | "coordinate" | "text";
1432
1432
  }
1433
1433
 
1434
1434
  declare class FormUtil {
@@ -1526,14 +1526,14 @@ declare class SelectionFiltersComponent extends ReactWrapperModule implements Af
1526
1526
  FieldOrgUnitSelector: (props: {
1527
1527
  onSelectOrgUnit: (selectedOrgUnits: any) => void;
1528
1528
  onCancelOrgUnit: () => void;
1529
- }) => React.FunctionComponentElement<_dhis2_ui_loader.CircularLoaderProps> | React.FunctionComponentElement<{
1529
+ }) => React.FunctionComponentElement<{
1530
1530
  config: _dhis2_app_service_config.Config;
1531
1531
  children: React.ReactNode;
1532
1532
  offlineInterface?: any;
1533
1533
  plugin: boolean;
1534
1534
  parentAlertsAdd: any;
1535
1535
  showAlertsInPlugin: boolean;
1536
- }>;
1536
+ }> | React.FunctionComponentElement<_dhis2_ui_loader.CircularLoaderProps>;
1537
1537
  showOrgUnitTree: _angular_core.WritableSignal<boolean>;
1538
1538
  orgUnitSelectionConfig: OrganisationUnitSelectionConfig;
1539
1539
  selectedOrgUnitSignal: _angular_core.WritableSignal<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iapps/ng-dhis2-ui",
3
- "version": "1.2.157",
3
+ "version": "1.2.158",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0",