@iapps/ng-dhis2-ui 1.2.153 → 1.2.154
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/fesm2022/iapps-ng-dhis2-ui.mjs +112 -406
- package/fesm2022/iapps-ng-dhis2-ui.mjs.map +1 -1
- package/index.d.ts +17 -16
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1376,25 +1376,26 @@ declare class BaseFormFieldComponent extends ReactWrapperModule {
|
|
|
1376
1376
|
value: any;
|
|
1377
1377
|
}>;
|
|
1378
1378
|
ngAfterViewInit(): Promise<void>;
|
|
1379
|
-
onChange(event: any): void;
|
|
1380
|
-
formatValueForHtmlDateInput(rawValue: string | null | undefined, isDateTimeField: boolean): string;
|
|
1381
1379
|
formatValueForHtmlInputFromDhis(rawValue: string | null | undefined, isDateTimeField: boolean): string;
|
|
1382
|
-
getNowForHtmlDateInput(isDateTimeField: boolean): string;
|
|
1383
1380
|
pickEarlierDateLimit(metadataMax?: string, systemMax?: string): string | undefined;
|
|
1381
|
+
getNowForHtmlDateInput(isDateTimeField: boolean): string;
|
|
1382
|
+
resolveHtmlMax(field: any, isDateTimeField: boolean): string | undefined;
|
|
1383
|
+
onChange(event: any): void;
|
|
1384
|
+
formatValueForHtmlDateInput(rawValue: string | null | undefined, isDateTimeField: boolean): string;
|
|
1384
1385
|
/**
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
normalizeDateValueFromHtmlInput(inputValue: string | null | undefined, isDateTimeField: boolean,
|
|
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
|
+
normalizeDateValueFromHtmlInput(inputValue: string | null | undefined, isDateTimeField: boolean, allowFutureDate: boolean): string | null;
|
|
1398
1399
|
searchForDuplicates(value: string): Promise<boolean>;
|
|
1399
1400
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BaseFormFieldComponent, never>;
|
|
1400
1401
|
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>;
|