@iapps/ng-dhis2-ui 1.2.154 → 1.2.155

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
@@ -1383,19 +1383,20 @@ declare class BaseFormFieldComponent extends ReactWrapperModule {
1383
1383
  onChange(event: any): void;
1384
1384
  formatValueForHtmlDateInput(rawValue: string | null | undefined, isDateTimeField: boolean): string;
1385
1385
  /**
1386
- * Normalizes value from the HTML input into DHIS storage format.
1387
- *
1388
- * For date:
1389
- * - Input: "YYYY-MM-DD"
1390
- * - Output: "YYYY-MM-DD"
1391
- *
1392
- * For datetime:
1393
- * - Input: "YYYY-MM-DDTHH:mm" (local)
1394
- * - Output: ISO string in UTC: "YYYY-MM-DDTHH:mm:ss.sssZ"
1395
- *
1396
- * If allowFutureDate = false, any value beyond "now" is clamped to now.
1397
- */
1386
+ * Normalizes value from the HTML input into DHIS storage format.
1387
+ *
1388
+ * For date:
1389
+ * - Input: "YYYY-MM-DD"
1390
+ * - Output: "YYYY-MM-DD"
1391
+ *
1392
+ * For datetime:
1393
+ * - Input: "YYYY-MM-DDTHH:mm" (local)
1394
+ * - Output: ISO string in UTC: "YYYY-MM-DDTHH:mm:ss.sssZ"
1395
+ *
1396
+ * If allowFutureDate = false, any value beyond "now" is clamped to now.
1397
+ */
1398
1398
  normalizeDateValueFromHtmlInput(inputValue: string | null | undefined, isDateTimeField: boolean, allowFutureDate: boolean): string | null;
1399
+ private getNowInEatIsoString;
1399
1400
  searchForDuplicates(value: string): Promise<boolean>;
1400
1401
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BaseFormFieldComponent, never>;
1401
1402
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BaseFormFieldComponent, never, never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "fieldError": { "alias": "fieldError"; "required": false; "isSignal": true; }; "fieldConfig": { "alias": "fieldConfig"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": true; "isSignal": true; }; "isValid": { "alias": "isValid"; "required": false; "isSignal": true; }; "isValueAssigned": { "alias": "isValueAssigned"; "required": false; "isSignal": true; }; "dataId": { "alias": "dataId"; "required": false; "isSignal": true; }; "customOrgUnitRoots": { "alias": "customOrgUnitRoots"; "required": false; "isSignal": true; }; "optionCascadeConfigs": { "alias": "optionCascadeConfigs"; "required": false; "isSignal": true; }; "optionCascadeConfigMap": { "alias": "optionCascadeConfigMap"; "required": false; "isSignal": true; }; "coordinatePickerGeoConfig": { "alias": "coordinatePickerGeoConfig"; "required": false; "isSignal": true; }; "fieldControlKeyById": { "alias": "fieldControlKeyById"; "required": false; "isSignal": true; }; "program": { "alias": "program"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "form": "formChange"; "value": "valueChange"; "update": "update"; "immediateUpdate": "immediateUpdate"; }, never, never, true, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iapps/ng-dhis2-ui",
3
- "version": "1.2.154",
3
+ "version": "1.2.155",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0",