@iapps/ng-dhis2-ui 1.2.96 → 1.2.97

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.
@@ -1,3 +1,3 @@
1
1
  export declare class FormFieldTypeUtil {
2
- static getFieldType(valueType: string): "image" | "org-unit" | "file" | "number" | "text";
2
+ static getFieldType(valueType: string): "text" | "image" | "org-unit" | "file" | "number";
3
3
  }
@@ -3,7 +3,7 @@ import { DropdownOption } from '../models';
3
3
  export declare class FieldUtil {
4
4
  static getFieldDropdownOptions(field: any): DropdownOption[];
5
5
  static sanitizeOptions(options: any[]): any;
6
- static getFieldType(valueType: string): "email" | "tel" | "date" | "org-unit" | "file" | "number" | "text";
6
+ static getFieldType(valueType: string): "text" | "tel" | "email" | "date" | "org-unit" | "file" | "number";
7
7
  static getFieldControlType(valueType: string, hasOptions: boolean): FieldControlType;
8
8
  static getOptionEntities?(options: any[]): any;
9
9
  }
@@ -36,7 +36,7 @@ export declare class LineListTableComponent extends ReactWrapperModule {
36
36
  action: string;
37
37
  data: TrackedEntityInstance | DHIS2Event;
38
38
  }>;
39
- rowsSelected: EventEmitter<DHIS2Event[] | TrackedEntityInstance[]>;
39
+ rowsSelected: EventEmitter<TrackedEntityInstance[] | DHIS2Event[]>;
40
40
  showActionButtons: boolean;
41
41
  showEnrollmentDates: boolean;
42
42
  showDownloadButton: boolean;
@@ -1,11 +1,11 @@
1
1
  export declare const getFixedPeriodsOptionsById: (id: string, periodSettings?: any) => {
2
2
  id: string;
3
- getPeriods: (config: any) => import("@dhis2/multi-calendar-dates/build/types/period-calculation/types").FixedPeriod[];
3
+ getPeriods: (config: any) => import("@dhis2/multi-calendar-dates/build/types/period-calculation/fixed-periods").FixedPeriod[];
4
4
  name: any;
5
5
  };
6
6
  export declare const getFixedPeriodsOptions: () => {
7
7
  id: string;
8
- getPeriods: (config: any) => import("@dhis2/multi-calendar-dates/build/types/period-calculation/types").FixedPeriod[];
8
+ getPeriods: (config: any) => import("@dhis2/multi-calendar-dates/build/types/period-calculation/fixed-periods").FixedPeriod[];
9
9
  name: any;
10
10
  }[];
11
11
  export declare const getYearOffsetFromNow: (yearStr: any) => number;
@@ -13,5 +13,5 @@ export declare const parsePeriodCode: (code: any, allowedTypes: any) => {
13
13
  id: string;
14
14
  name: any;
15
15
  year: any;
16
- options: import("@dhis2/multi-calendar-dates/build/types/period-calculation/types").FixedPeriod[];
16
+ options: import("@dhis2/multi-calendar-dates/build/types/period-calculation/fixed-periods").FixedPeriod[];
17
17
  };
@@ -1,4 +1,4 @@
1
- import { FormFieldExtension } from 'packages/ng-dhis2-ui/src/lib/modules/form';
1
+ import { FormFieldExtension } from '../../form';
2
2
  export type AutoAssignedValues = {
3
3
  field: string;
4
4
  value: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iapps/ng-dhis2-ui",
3
- "version": "1.2.96",
3
+ "version": "1.2.97",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0",
Binary file