@iapps/ng-dhis2-ui 1.2.113 → 1.2.115

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>;
@@ -256,7 +256,7 @@ declare class LineListTableComponent extends ReactWrapperModule {
256
256
  action: string;
257
257
  data: TrackedEntityInstance | DHIS2Event;
258
258
  }>;
259
- rowsSelected: EventEmitter<TrackedEntityInstance[] | DHIS2Event[]>;
259
+ rowsSelected: EventEmitter<DHIS2Event[] | TrackedEntityInstance[]>;
260
260
  showActionButtons: boolean;
261
261
  showEnrollmentDates: boolean;
262
262
  showDownloadButton: boolean;
@@ -335,6 +335,8 @@ interface FormFieldExtension {
335
335
  accept?: string[];
336
336
  sizeLimit?: number;
337
337
  isDataElementUnique?: boolean;
338
+ optionSetGroup?: string;
339
+ organisationUnits?: any[];
338
340
  }
339
341
 
340
342
  interface IFormField<T> {
@@ -597,7 +599,7 @@ declare class FieldDropdown implements IFieldDropdown {
597
599
  order?: number | undefined;
598
600
  constructor(params: IFieldDropdown);
599
601
  toJson(): IFieldDropdown;
600
- static getDropdownOptions(field: any, locale?: string): FieldDropdown[];
602
+ static getDropdownOptions(field: any, locale?: string, extension?: FormFieldExtension): FieldDropdown[];
601
603
  }
602
604
 
603
605
  type FormDirection = 'horizontal' | 'vertical';
@@ -1107,14 +1109,14 @@ declare class SelectionFiltersComponent extends ReactWrapperModule implements Af
1107
1109
  FieldOrgUnitSelector: (props: {
1108
1110
  onSelectOrgUnit: (selectedOrgUnits: any) => void;
1109
1111
  onCancelOrgUnit: () => void;
1110
- }) => React.FunctionComponentElement<_dhis2_ui_loader.CircularLoaderProps> | React.FunctionComponentElement<{
1112
+ }) => React.FunctionComponentElement<{
1111
1113
  config: _dhis2_app_service_config.Config;
1112
1114
  children: React.ReactNode;
1113
1115
  offlineInterface?: any;
1114
1116
  plugin: boolean;
1115
1117
  parentAlertsAdd: any;
1116
1118
  showAlertsInPlugin: boolean;
1117
- }>;
1119
+ }> | React.FunctionComponentElement<_dhis2_ui_loader.CircularLoaderProps>;
1118
1120
  showOrgUnitTree: i0.WritableSignal<boolean>;
1119
1121
  orgUnitSelectionConfig: OrganisationUnitSelectionConfig;
1120
1122
  selectedOrgUnit: i0.WritableSignal<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iapps/ng-dhis2-ui",
3
- "version": "1.2.113",
3
+ "version": "1.2.115",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0",