@dereekb/dbx-form 10.1.10 → 10.1.12
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/esm2022/lib/formly/field/value/date/date.value.mjs +52 -4
- package/esm2022/lib/formly/field/value/date/datetime.field.component.mjs +8 -2
- package/fesm2022/dereekb-dbx-form.mjs +58 -5
- package/fesm2022/dereekb-dbx-form.mjs.map +1 -1
- package/lib/formly/field/value/date/date.value.d.ts +12 -4
- package/mapbox/package.json +1 -1
- package/package.json +1 -1
|
@@ -12,9 +12,17 @@ export declare enum DbxDateTimeValueMode {
|
|
|
12
12
|
/**
|
|
13
13
|
* Value is returned/parsed as an ISO8601DayString, relative to the current timezone.
|
|
14
14
|
*/
|
|
15
|
-
DAY_STRING = 2
|
|
15
|
+
DAY_STRING = 2,
|
|
16
|
+
/**
|
|
17
|
+
* Value is returned/parsed as a Unix timestamp, relative to the current timezone.
|
|
18
|
+
*/
|
|
19
|
+
UNIX_TIMESTAMP = 3,
|
|
20
|
+
/**
|
|
21
|
+
* Value is returned/parsed as a minute of the day, relative to the current timezone.
|
|
22
|
+
*/
|
|
23
|
+
MINUTE_OF_DAY = 4
|
|
16
24
|
}
|
|
17
|
-
export declare function dbxDateTimeInputValueParseFactory(mode: DbxDateTimeValueMode, timezoneInstance: Maybe<DateTimezoneUtcNormalInstance>): (date: Maybe<Date | string>) => Maybe<Date>;
|
|
18
|
-
export declare function dbxDateTimeOutputValueFactory(mode: DbxDateTimeValueMode, timezoneInstance: Maybe<DateTimezoneUtcNormalInstance>): (date: Maybe<Date>) => Maybe<Date | string>;
|
|
19
|
-
export declare function dbxDateTimeIsSameDateTimeFieldValue(a: Maybe<Date | ISO8601DayString>, b: Maybe<Date | ISO8601DayString>): boolean;
|
|
25
|
+
export declare function dbxDateTimeInputValueParseFactory(mode: DbxDateTimeValueMode, timezoneInstance: Maybe<DateTimezoneUtcNormalInstance>): (date: Maybe<Date | string | number>) => Maybe<Date>;
|
|
26
|
+
export declare function dbxDateTimeOutputValueFactory(mode: DbxDateTimeValueMode, timezoneInstance: Maybe<DateTimezoneUtcNormalInstance>): (date: Maybe<Date>) => Maybe<Date | string | number>;
|
|
27
|
+
export declare function dbxDateTimeIsSameDateTimeFieldValue(a: Maybe<Date | ISO8601DayString | number>, b: Maybe<Date | ISO8601DayString | number>): boolean;
|
|
20
28
|
export declare function dbxDateRangeIsSameDateRangeFieldValue(a: Maybe<DateRangeWithDateOrStringValue>, b: Maybe<DateRangeWithDateOrStringValue>): boolean;
|
package/mapbox/package.json
CHANGED