@ecrvs/opencrvs-toolkit 1.9.0-rc.d21dcd8 → 1.9.0-rc.f498bcd
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.
|
@@ -2236,6 +2236,7 @@ declare const TimeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2236
2236
|
type: z.ZodLiteral<"TIME">;
|
|
2237
2237
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
2238
2238
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
2239
|
+
use12HourFormat: z.ZodOptional<z.ZodBoolean>;
|
|
2239
2240
|
notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
2240
2241
|
id: string;
|
|
2241
2242
|
description: string;
|
|
@@ -2243,12 +2244,14 @@ declare const TimeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2243
2244
|
}>>;
|
|
2244
2245
|
}, "strip", z.ZodTypeAny, {
|
|
2245
2246
|
notice?: TranslationConfig | undefined;
|
|
2247
|
+
use12HourFormat?: boolean | undefined;
|
|
2246
2248
|
}, {
|
|
2247
2249
|
notice?: {
|
|
2248
2250
|
id: string;
|
|
2249
2251
|
description: string;
|
|
2250
2252
|
defaultMessage: string;
|
|
2251
2253
|
} | undefined;
|
|
2254
|
+
use12HourFormat?: boolean | undefined;
|
|
2252
2255
|
}>>;
|
|
2253
2256
|
}>, "strip", z.ZodTypeAny, {
|
|
2254
2257
|
type: "TIME";
|
|
@@ -2293,6 +2296,7 @@ declare const TimeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2293
2296
|
analytics?: boolean | undefined;
|
|
2294
2297
|
configuration?: {
|
|
2295
2298
|
notice?: TranslationConfig | undefined;
|
|
2299
|
+
use12HourFormat?: boolean | undefined;
|
|
2296
2300
|
} | undefined;
|
|
2297
2301
|
defaultValue?: string | undefined;
|
|
2298
2302
|
}, {
|
|
@@ -2362,6 +2366,7 @@ declare const TimeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2362
2366
|
description: string;
|
|
2363
2367
|
defaultMessage: string;
|
|
2364
2368
|
} | undefined;
|
|
2369
|
+
use12HourFormat?: boolean | undefined;
|
|
2365
2370
|
} | undefined;
|
|
2366
2371
|
defaultValue?: string | undefined;
|
|
2367
2372
|
}>;
|
package/dist/events/index.js
CHANGED
|
@@ -980,6 +980,7 @@ var TimeField = BaseField.extend({
|
|
|
980
980
|
type: import_zod10.z.literal(FieldType.TIME),
|
|
981
981
|
defaultValue: TimeValue.optional(),
|
|
982
982
|
configuration: import_zod10.z.object({
|
|
983
|
+
use12HourFormat: import_zod10.z.boolean().optional().describe("Whether to use 12-hour format"),
|
|
983
984
|
notice: TranslationConfig.describe(
|
|
984
985
|
"Text to display above the time input"
|
|
985
986
|
).optional()
|
|
@@ -645,6 +645,7 @@ var TimeField = BaseField.extend({
|
|
|
645
645
|
type: import_zod10.z.literal(FieldType.TIME),
|
|
646
646
|
defaultValue: TimeValue.optional(),
|
|
647
647
|
configuration: import_zod10.z.object({
|
|
648
|
+
use12HourFormat: import_zod10.z.boolean().optional().describe("Whether to use 12-hour format"),
|
|
648
649
|
notice: TranslationConfig.describe(
|
|
649
650
|
"Text to display above the time input"
|
|
650
651
|
).optional()
|