@iapps/ng-dhis2-ui 1.2.116 → 1.2.117

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
@@ -172,6 +172,7 @@ declare class OrganisationUnitSelectorModalComponent extends ReactWrapperModule
172
172
  d2: _iapps_d2_web_sdk.D2Web;
173
173
  selectedOrgUnits: any[];
174
174
  orgUnitSelectionConfig: OrganisationUnitSelectionConfig;
175
+ rootOrgUnits?: string[];
175
176
  selectOrgUnits: EventEmitter<any>;
176
177
  cancel: EventEmitter<any>;
177
178
  confirm: EventEmitter<any>;
@@ -187,7 +188,7 @@ declare class OrganisationUnitSelectorModalComponent extends ReactWrapperModule
187
188
  getOrgUnitLevels(): Promise<any>;
188
189
  onSelectItems(selectionEvent: OrganisationUnitSelectionEvent): void;
189
190
  static ɵfac: i0.ɵɵFactoryDeclaration<OrganisationUnitSelectorModalComponent, never>;
190
- static ɵcmp: i0.ɵɵComponentDeclaration<OrganisationUnitSelectorModalComponent, "ng-dhis2-ui-org-unit-selector-modal", never, { "selectedOrgUnits": { "alias": "selectedOrgUnits"; "required": false; }; "orgUnitSelectionConfig": { "alias": "orgUnitSelectionConfig"; "required": false; }; }, { "selectOrgUnits": "selectOrgUnits"; "cancel": "cancel"; "confirm": "confirm"; }, never, never, false, never>;
191
+ static ɵcmp: i0.ɵɵComponentDeclaration<OrganisationUnitSelectorModalComponent, "ng-dhis2-ui-org-unit-selector-modal", never, { "selectedOrgUnits": { "alias": "selectedOrgUnits"; "required": false; }; "orgUnitSelectionConfig": { "alias": "orgUnitSelectionConfig"; "required": false; }; "rootOrgUnits": { "alias": "rootOrgUnits"; "required": false; }; }, { "selectOrgUnits": "selectOrgUnits"; "cancel": "cancel"; "confirm": "confirm"; }, never, never, false, never>;
191
192
  }
192
193
 
193
194
  declare class OrganisationUnitSelectorModule {
@@ -1003,7 +1004,7 @@ declare class D2FormModule {
1003
1004
  declare class FieldUtil {
1004
1005
  static getFieldDropdownOptions(field: any): DropdownOption[];
1005
1006
  static sanitizeOptions(options: any[]): any;
1006
- static getFieldType(valueType: string): "date" | "org-unit" | "file" | "number" | "tel" | "email" | "text";
1007
+ static getFieldType(valueType: string): "email" | "number" | "text" | "tel" | "date" | "org-unit" | "file";
1007
1008
  static getFieldControlType(valueType: string, hasOptions: boolean): FieldControlType;
1008
1009
  static getOptionEntities?(options: any[]): any;
1009
1010
  }
@@ -1013,7 +1014,7 @@ declare class FieldControlTypeUtil {
1013
1014
  }
1014
1015
 
1015
1016
  declare class FormFieldTypeUtil {
1016
- static getFieldType(valueType: string): "image" | "org-unit" | "file" | "number" | "text";
1017
+ static getFieldType(valueType: string): "number" | "text" | "image" | "org-unit" | "file";
1017
1018
  }
1018
1019
 
1019
1020
  declare class FormUtil {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iapps/ng-dhis2-ui",
3
- "version": "1.2.116",
3
+ "version": "1.2.117",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0",