lkd-web-kit 0.4.8 → 0.4.10
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/dist/components/MyDateInput/index.cjs +19 -0
- package/dist/components/MyDateInput/index.js +15 -0
- package/dist/form/base/FormDateInput.cjs +17 -0
- package/dist/form/base/FormDateInput.js +13 -0
- package/dist/hooks/useZodConfig.cjs +2 -2
- package/dist/hooks/useZodConfig.js +2 -2
- package/dist/index.cjs +11 -7
- package/dist/index.d.ts +14 -4
- package/dist/index.js +2 -0
- package/package.json +8 -8
- package/dist/node_modules/zod/v4/classic/coerce.cjs +0 -28
- package/dist/node_modules/zod/v4/classic/coerce.js +0 -20
- package/dist/node_modules/zod/v4/classic/compat.cjs +0 -37
- package/dist/node_modules/zod/v4/classic/compat.js +0 -30
- package/dist/node_modules/zod/v4/classic/errors.cjs +0 -49
- package/dist/node_modules/zod/v4/classic/errors.js +0 -44
- package/dist/node_modules/zod/v4/classic/external.cjs +0 -231
- package/dist/node_modules/zod/v4/classic/external.js +0 -28
- package/dist/node_modules/zod/v4/classic/index.cjs +0 -10
- package/dist/node_modules/zod/v4/classic/index.js +0 -5
- package/dist/node_modules/zod/v4/classic/iso.cjs +0 -46
- package/dist/node_modules/zod/v4/classic/iso.js +0 -35
- package/dist/node_modules/zod/v4/classic/parse.cjs +0 -16
- package/dist/node_modules/zod/v4/classic/parse.js +0 -9
- package/dist/node_modules/zod/v4/classic/schemas.cjs +0 -1155
- package/dist/node_modules/zod/v4/classic/schemas.js +0 -1006
- package/dist/node_modules/zod/v4/core/api.cjs +0 -1016
- package/dist/node_modules/zod/v4/core/api.js +0 -903
- package/dist/node_modules/zod/v4/core/checks.cjs +0 -587
- package/dist/node_modules/zod/v4/core/checks.js +0 -562
- package/dist/node_modules/zod/v4/core/core.cjs +0 -72
- package/dist/node_modules/zod/v4/core/core.js +0 -63
- package/dist/node_modules/zod/v4/core/doc.cjs +0 -41
- package/dist/node_modules/zod/v4/core/doc.js +0 -37
- package/dist/node_modules/zod/v4/core/errors.cjs +0 -204
- package/dist/node_modules/zod/v4/core/errors.js +0 -194
- package/dist/node_modules/zod/v4/core/function.cjs +0 -81
- package/dist/node_modules/zod/v4/core/function.js +0 -76
- package/dist/node_modules/zod/v4/core/index.cjs +0 -261
- package/dist/node_modules/zod/v4/core/index.js +0 -20
- package/dist/node_modules/zod/v4/core/json-schema.cjs +0 -2
- package/dist/node_modules/zod/v4/core/json-schema.js +0 -1
- package/dist/node_modules/zod/v4/core/parse.cjs +0 -71
- package/dist/node_modules/zod/v4/core/parse.js +0 -60
- package/dist/node_modules/zod/v4/core/regexes.cjs +0 -139
- package/dist/node_modules/zod/v4/core/regexes.js +0 -95
- package/dist/node_modules/zod/v4/core/registries.cjs +0 -52
- package/dist/node_modules/zod/v4/core/registries.js +0 -44
- package/dist/node_modules/zod/v4/core/schemas.cjs +0 -1793
- package/dist/node_modules/zod/v4/core/schemas.js +0 -1720
- package/dist/node_modules/zod/v4/core/to-json-schema.cjs +0 -823
- package/dist/node_modules/zod/v4/core/to-json-schema.js +0 -818
- package/dist/node_modules/zod/v4/core/util.cjs +0 -543
- package/dist/node_modules/zod/v4/core/util.js +0 -491
- package/dist/node_modules/zod/v4/core/versions.cjs +0 -11
- package/dist/node_modules/zod/v4/core/versions.js +0 -7
- package/dist/node_modules/zod/v4/index.cjs +0 -10
- package/dist/node_modules/zod/v4/index.js +0 -5
- package/dist/node_modules/zod/v4/locales/ar.cjs +0 -121
- package/dist/node_modules/zod/v4/locales/ar.js +0 -119
- package/dist/node_modules/zod/v4/locales/az.cjs +0 -120
- package/dist/node_modules/zod/v4/locales/az.js +0 -118
- package/dist/node_modules/zod/v4/locales/be.cjs +0 -169
- package/dist/node_modules/zod/v4/locales/be.js +0 -167
- package/dist/node_modules/zod/v4/locales/ca.cjs +0 -123
- package/dist/node_modules/zod/v4/locales/ca.js +0 -121
- package/dist/node_modules/zod/v4/locales/cs.cjs +0 -140
- package/dist/node_modules/zod/v4/locales/cs.js +0 -138
- package/dist/node_modules/zod/v4/locales/de.cjs +0 -121
- package/dist/node_modules/zod/v4/locales/de.js +0 -119
- package/dist/node_modules/zod/v4/locales/en.cjs +0 -125
- package/dist/node_modules/zod/v4/locales/en.js +0 -120
- package/dist/node_modules/zod/v4/locales/eo.cjs +0 -124
- package/dist/node_modules/zod/v4/locales/eo.js +0 -119
- package/dist/node_modules/zod/v4/locales/es.cjs +0 -122
- package/dist/node_modules/zod/v4/locales/es.js +0 -120
- package/dist/node_modules/zod/v4/locales/fa.cjs +0 -127
- package/dist/node_modules/zod/v4/locales/fa.js +0 -125
- package/dist/node_modules/zod/v4/locales/fi.cjs +0 -127
- package/dist/node_modules/zod/v4/locales/fi.js +0 -125
- package/dist/node_modules/zod/v4/locales/fr-CA.cjs +0 -122
- package/dist/node_modules/zod/v4/locales/fr-CA.js +0 -120
- package/dist/node_modules/zod/v4/locales/fr.cjs +0 -121
- package/dist/node_modules/zod/v4/locales/fr.js +0 -119
- package/dist/node_modules/zod/v4/locales/he.cjs +0 -122
- package/dist/node_modules/zod/v4/locales/he.js +0 -120
- package/dist/node_modules/zod/v4/locales/hu.cjs +0 -122
- package/dist/node_modules/zod/v4/locales/hu.js +0 -120
- package/dist/node_modules/zod/v4/locales/id.cjs +0 -121
- package/dist/node_modules/zod/v4/locales/id.js +0 -119
- package/dist/node_modules/zod/v4/locales/index.cjs +0 -85
- package/dist/node_modules/zod/v4/locales/index.js +0 -39
- package/dist/node_modules/zod/v4/locales/it.cjs +0 -122
- package/dist/node_modules/zod/v4/locales/it.js +0 -120
- package/dist/node_modules/zod/v4/locales/ja.cjs +0 -120
- package/dist/node_modules/zod/v4/locales/ja.js +0 -118
- package/dist/node_modules/zod/v4/locales/kh.cjs +0 -122
- package/dist/node_modules/zod/v4/locales/kh.js +0 -120
- package/dist/node_modules/zod/v4/locales/ko.cjs +0 -126
- package/dist/node_modules/zod/v4/locales/ko.js +0 -124
- package/dist/node_modules/zod/v4/locales/mk.cjs +0 -123
- package/dist/node_modules/zod/v4/locales/mk.js +0 -121
- package/dist/node_modules/zod/v4/locales/ms.cjs +0 -121
- package/dist/node_modules/zod/v4/locales/ms.js +0 -119
- package/dist/node_modules/zod/v4/locales/nl.cjs +0 -122
- package/dist/node_modules/zod/v4/locales/nl.js +0 -120
- package/dist/node_modules/zod/v4/locales/no.cjs +0 -121
- package/dist/node_modules/zod/v4/locales/no.js +0 -119
- package/dist/node_modules/zod/v4/locales/ota.cjs +0 -122
- package/dist/node_modules/zod/v4/locales/ota.js +0 -120
- package/dist/node_modules/zod/v4/locales/pl.cjs +0 -122
- package/dist/node_modules/zod/v4/locales/pl.js +0 -120
- package/dist/node_modules/zod/v4/locales/ps.cjs +0 -127
- package/dist/node_modules/zod/v4/locales/ps.js +0 -125
- package/dist/node_modules/zod/v4/locales/pt.cjs +0 -121
- package/dist/node_modules/zod/v4/locales/pt.js +0 -119
- package/dist/node_modules/zod/v4/locales/ru.cjs +0 -169
- package/dist/node_modules/zod/v4/locales/ru.js +0 -167
- package/dist/node_modules/zod/v4/locales/sl.cjs +0 -122
- package/dist/node_modules/zod/v4/locales/sl.js +0 -120
- package/dist/node_modules/zod/v4/locales/sv.cjs +0 -123
- package/dist/node_modules/zod/v4/locales/sv.js +0 -121
- package/dist/node_modules/zod/v4/locales/ta.cjs +0 -122
- package/dist/node_modules/zod/v4/locales/ta.js +0 -120
- package/dist/node_modules/zod/v4/locales/th.cjs +0 -122
- package/dist/node_modules/zod/v4/locales/th.js +0 -120
- package/dist/node_modules/zod/v4/locales/tr.cjs +0 -123
- package/dist/node_modules/zod/v4/locales/tr.js +0 -118
- package/dist/node_modules/zod/v4/locales/ua.cjs +0 -122
- package/dist/node_modules/zod/v4/locales/ua.js +0 -120
- package/dist/node_modules/zod/v4/locales/ur.cjs +0 -122
- package/dist/node_modules/zod/v4/locales/ur.js +0 -120
- package/dist/node_modules/zod/v4/locales/vi.cjs +0 -121
- package/dist/node_modules/zod/v4/locales/vi.js +0 -119
- package/dist/node_modules/zod/v4/locales/zh-CN.cjs +0 -121
- package/dist/node_modules/zod/v4/locales/zh-CN.js +0 -119
- package/dist/node_modules/zod/v4/locales/zh-TW.cjs +0 -122
- package/dist/node_modules/zod/v4/locales/zh-TW.js +0 -120
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
-
|
|
5
|
-
const index = require('../core/index.cjs');
|
|
6
|
-
const schemas = require('./schemas.cjs');
|
|
7
|
-
const errors$1 = require('./errors.cjs');
|
|
8
|
-
const parse = require('./parse.cjs');
|
|
9
|
-
const compat = require('./compat.cjs');
|
|
10
|
-
const en = require('../locales/en.cjs');
|
|
11
|
-
const index$1 = require('../locales/index.cjs');
|
|
12
|
-
const iso = require('./iso.cjs');
|
|
13
|
-
const coerce = require('./coerce.cjs');
|
|
14
|
-
const core = require('../core/core.cjs');
|
|
15
|
-
const registries = require('../core/registries.cjs');
|
|
16
|
-
const _function = require('../core/function.cjs');
|
|
17
|
-
const util = require('../core/util.cjs');
|
|
18
|
-
const regexes = require('../core/regexes.cjs');
|
|
19
|
-
const errors = require('../core/errors.cjs');
|
|
20
|
-
const toJsonSchema = require('../core/to-json-schema.cjs');
|
|
21
|
-
const api = require('../core/api.cjs');
|
|
22
|
-
|
|
23
|
-
core.config(en.default());
|
|
24
|
-
|
|
25
|
-
exports.core = index;
|
|
26
|
-
exports.ZodAny = schemas.ZodAny;
|
|
27
|
-
exports.ZodArray = schemas.ZodArray;
|
|
28
|
-
exports.ZodBase64 = schemas.ZodBase64;
|
|
29
|
-
exports.ZodBase64URL = schemas.ZodBase64URL;
|
|
30
|
-
exports.ZodBigInt = schemas.ZodBigInt;
|
|
31
|
-
exports.ZodBigIntFormat = schemas.ZodBigIntFormat;
|
|
32
|
-
exports.ZodBoolean = schemas.ZodBoolean;
|
|
33
|
-
exports.ZodCIDRv4 = schemas.ZodCIDRv4;
|
|
34
|
-
exports.ZodCIDRv6 = schemas.ZodCIDRv6;
|
|
35
|
-
exports.ZodCUID = schemas.ZodCUID;
|
|
36
|
-
exports.ZodCUID2 = schemas.ZodCUID2;
|
|
37
|
-
exports.ZodCatch = schemas.ZodCatch;
|
|
38
|
-
exports.ZodCustom = schemas.ZodCustom;
|
|
39
|
-
exports.ZodCustomStringFormat = schemas.ZodCustomStringFormat;
|
|
40
|
-
exports.ZodDate = schemas.ZodDate;
|
|
41
|
-
exports.ZodDefault = schemas.ZodDefault;
|
|
42
|
-
exports.ZodDiscriminatedUnion = schemas.ZodDiscriminatedUnion;
|
|
43
|
-
exports.ZodE164 = schemas.ZodE164;
|
|
44
|
-
exports.ZodEmail = schemas.ZodEmail;
|
|
45
|
-
exports.ZodEmoji = schemas.ZodEmoji;
|
|
46
|
-
exports.ZodEnum = schemas.ZodEnum;
|
|
47
|
-
exports.ZodFile = schemas.ZodFile;
|
|
48
|
-
exports.ZodGUID = schemas.ZodGUID;
|
|
49
|
-
exports.ZodIPv4 = schemas.ZodIPv4;
|
|
50
|
-
exports.ZodIPv6 = schemas.ZodIPv6;
|
|
51
|
-
exports.ZodIntersection = schemas.ZodIntersection;
|
|
52
|
-
exports.ZodJWT = schemas.ZodJWT;
|
|
53
|
-
exports.ZodKSUID = schemas.ZodKSUID;
|
|
54
|
-
exports.ZodLazy = schemas.ZodLazy;
|
|
55
|
-
exports.ZodLiteral = schemas.ZodLiteral;
|
|
56
|
-
exports.ZodMap = schemas.ZodMap;
|
|
57
|
-
exports.ZodNaN = schemas.ZodNaN;
|
|
58
|
-
exports.ZodNanoID = schemas.ZodNanoID;
|
|
59
|
-
exports.ZodNever = schemas.ZodNever;
|
|
60
|
-
exports.ZodNonOptional = schemas.ZodNonOptional;
|
|
61
|
-
exports.ZodNull = schemas.ZodNull;
|
|
62
|
-
exports.ZodNullable = schemas.ZodNullable;
|
|
63
|
-
exports.ZodNumber = schemas.ZodNumber;
|
|
64
|
-
exports.ZodNumberFormat = schemas.ZodNumberFormat;
|
|
65
|
-
exports.ZodObject = schemas.ZodObject;
|
|
66
|
-
exports.ZodOptional = schemas.ZodOptional;
|
|
67
|
-
exports.ZodPipe = schemas.ZodPipe;
|
|
68
|
-
exports.ZodPrefault = schemas.ZodPrefault;
|
|
69
|
-
exports.ZodPromise = schemas.ZodPromise;
|
|
70
|
-
exports.ZodReadonly = schemas.ZodReadonly;
|
|
71
|
-
exports.ZodRecord = schemas.ZodRecord;
|
|
72
|
-
exports.ZodSet = schemas.ZodSet;
|
|
73
|
-
exports.ZodString = schemas.ZodString;
|
|
74
|
-
exports.ZodStringFormat = schemas.ZodStringFormat;
|
|
75
|
-
exports.ZodSuccess = schemas.ZodSuccess;
|
|
76
|
-
exports.ZodSymbol = schemas.ZodSymbol;
|
|
77
|
-
exports.ZodTemplateLiteral = schemas.ZodTemplateLiteral;
|
|
78
|
-
exports.ZodTransform = schemas.ZodTransform;
|
|
79
|
-
exports.ZodTuple = schemas.ZodTuple;
|
|
80
|
-
exports.ZodType = schemas.ZodType;
|
|
81
|
-
exports.ZodULID = schemas.ZodULID;
|
|
82
|
-
exports.ZodURL = schemas.ZodURL;
|
|
83
|
-
exports.ZodUUID = schemas.ZodUUID;
|
|
84
|
-
exports.ZodUndefined = schemas.ZodUndefined;
|
|
85
|
-
exports.ZodUnion = schemas.ZodUnion;
|
|
86
|
-
exports.ZodUnknown = schemas.ZodUnknown;
|
|
87
|
-
exports.ZodVoid = schemas.ZodVoid;
|
|
88
|
-
exports.ZodXID = schemas.ZodXID;
|
|
89
|
-
exports._ZodString = schemas._ZodString;
|
|
90
|
-
exports._default = schemas._default;
|
|
91
|
-
exports.any = schemas.any;
|
|
92
|
-
exports.array = schemas.array;
|
|
93
|
-
exports.base64 = schemas.base64;
|
|
94
|
-
exports.base64url = schemas.base64url;
|
|
95
|
-
exports.bigint = schemas.bigint;
|
|
96
|
-
exports.boolean = schemas.boolean;
|
|
97
|
-
exports.catch = schemas.catch;
|
|
98
|
-
exports.check = schemas.check;
|
|
99
|
-
exports.cidrv4 = schemas.cidrv4;
|
|
100
|
-
exports.cidrv6 = schemas.cidrv6;
|
|
101
|
-
exports.cuid = schemas.cuid;
|
|
102
|
-
exports.cuid2 = schemas.cuid2;
|
|
103
|
-
exports.custom = schemas.custom;
|
|
104
|
-
exports.date = schemas.date;
|
|
105
|
-
exports.discriminatedUnion = schemas.discriminatedUnion;
|
|
106
|
-
exports.e164 = schemas.e164;
|
|
107
|
-
exports.email = schemas.email;
|
|
108
|
-
exports.emoji = schemas.emoji;
|
|
109
|
-
exports.enum = schemas.enum;
|
|
110
|
-
exports.file = schemas.file;
|
|
111
|
-
exports.float32 = schemas.float32;
|
|
112
|
-
exports.float64 = schemas.float64;
|
|
113
|
-
exports.guid = schemas.guid;
|
|
114
|
-
exports.instanceof = schemas.instanceof;
|
|
115
|
-
exports.int = schemas.int;
|
|
116
|
-
exports.int32 = schemas.int32;
|
|
117
|
-
exports.int64 = schemas.int64;
|
|
118
|
-
exports.intersection = schemas.intersection;
|
|
119
|
-
exports.ipv4 = schemas.ipv4;
|
|
120
|
-
exports.ipv6 = schemas.ipv6;
|
|
121
|
-
exports.json = schemas.json;
|
|
122
|
-
exports.jwt = schemas.jwt;
|
|
123
|
-
exports.keyof = schemas.keyof;
|
|
124
|
-
exports.ksuid = schemas.ksuid;
|
|
125
|
-
exports.lazy = schemas.lazy;
|
|
126
|
-
exports.literal = schemas.literal;
|
|
127
|
-
exports.looseObject = schemas.looseObject;
|
|
128
|
-
exports.map = schemas.map;
|
|
129
|
-
exports.nan = schemas.nan;
|
|
130
|
-
exports.nanoid = schemas.nanoid;
|
|
131
|
-
exports.nativeEnum = schemas.nativeEnum;
|
|
132
|
-
exports.never = schemas.never;
|
|
133
|
-
exports.nonoptional = schemas.nonoptional;
|
|
134
|
-
exports.null = schemas.null;
|
|
135
|
-
exports.nullable = schemas.nullable;
|
|
136
|
-
exports.nullish = schemas.nullish;
|
|
137
|
-
exports.number = schemas.number;
|
|
138
|
-
exports.object = schemas.object;
|
|
139
|
-
exports.optional = schemas.optional;
|
|
140
|
-
exports.partialRecord = schemas.partialRecord;
|
|
141
|
-
exports.pipe = schemas.pipe;
|
|
142
|
-
exports.prefault = schemas.prefault;
|
|
143
|
-
exports.preprocess = schemas.preprocess;
|
|
144
|
-
exports.promise = schemas.promise;
|
|
145
|
-
exports.readonly = schemas.readonly;
|
|
146
|
-
exports.record = schemas.record;
|
|
147
|
-
exports.refine = schemas.refine;
|
|
148
|
-
exports.set = schemas.set;
|
|
149
|
-
exports.strictObject = schemas.strictObject;
|
|
150
|
-
exports.string = schemas.string;
|
|
151
|
-
exports.stringFormat = schemas.stringFormat;
|
|
152
|
-
exports.stringbool = schemas.stringbool;
|
|
153
|
-
exports.success = schemas.success;
|
|
154
|
-
exports.superRefine = schemas.superRefine;
|
|
155
|
-
exports.symbol = schemas.symbol;
|
|
156
|
-
exports.templateLiteral = schemas.templateLiteral;
|
|
157
|
-
exports.transform = schemas.transform;
|
|
158
|
-
exports.tuple = schemas.tuple;
|
|
159
|
-
exports.uint32 = schemas.uint32;
|
|
160
|
-
exports.uint64 = schemas.uint64;
|
|
161
|
-
exports.ulid = schemas.ulid;
|
|
162
|
-
exports.undefined = schemas.undefined;
|
|
163
|
-
exports.union = schemas.union;
|
|
164
|
-
exports.unknown = schemas.unknown;
|
|
165
|
-
exports.url = schemas.url;
|
|
166
|
-
exports.uuid = schemas.uuid;
|
|
167
|
-
exports.uuidv4 = schemas.uuidv4;
|
|
168
|
-
exports.uuidv6 = schemas.uuidv6;
|
|
169
|
-
exports.uuidv7 = schemas.uuidv7;
|
|
170
|
-
exports.void = schemas.void;
|
|
171
|
-
exports.xid = schemas.xid;
|
|
172
|
-
exports.ZodError = errors$1.ZodError;
|
|
173
|
-
exports.ZodRealError = errors$1.ZodRealError;
|
|
174
|
-
exports.parse = parse.parse;
|
|
175
|
-
exports.parseAsync = parse.parseAsync;
|
|
176
|
-
exports.safeParse = parse.safeParse;
|
|
177
|
-
exports.safeParseAsync = parse.safeParseAsync;
|
|
178
|
-
exports.ZodIssueCode = compat.ZodIssueCode;
|
|
179
|
-
exports.getErrorMap = compat.getErrorMap;
|
|
180
|
-
exports.setErrorMap = compat.setErrorMap;
|
|
181
|
-
exports.locales = index$1;
|
|
182
|
-
exports.ZodISODate = iso.ZodISODate;
|
|
183
|
-
exports.ZodISODateTime = iso.ZodISODateTime;
|
|
184
|
-
exports.ZodISODuration = iso.ZodISODuration;
|
|
185
|
-
exports.ZodISOTime = iso.ZodISOTime;
|
|
186
|
-
exports.iso = iso;
|
|
187
|
-
exports.coerce = coerce;
|
|
188
|
-
exports.$brand = core.$brand;
|
|
189
|
-
exports.NEVER = core.NEVER;
|
|
190
|
-
exports.config = core.config;
|
|
191
|
-
exports.$input = registries.$input;
|
|
192
|
-
exports.$output = registries.$output;
|
|
193
|
-
exports.globalRegistry = registries.globalRegistry;
|
|
194
|
-
exports.registry = registries.registry;
|
|
195
|
-
exports.function = _function.function;
|
|
196
|
-
exports.clone = util.clone;
|
|
197
|
-
exports.regexes = regexes;
|
|
198
|
-
exports.flattenError = errors.flattenError;
|
|
199
|
-
exports.formatError = errors.formatError;
|
|
200
|
-
exports.prettifyError = errors.prettifyError;
|
|
201
|
-
exports.treeifyError = errors.treeifyError;
|
|
202
|
-
exports.toJSONSchema = toJsonSchema.toJSONSchema;
|
|
203
|
-
exports.TimePrecision = api.TimePrecision;
|
|
204
|
-
exports.endsWith = api._endsWith;
|
|
205
|
-
exports.gt = api._gt;
|
|
206
|
-
exports.gte = api._gte;
|
|
207
|
-
exports.includes = api._includes;
|
|
208
|
-
exports.length = api._length;
|
|
209
|
-
exports.lowercase = api._lowercase;
|
|
210
|
-
exports.lt = api._lt;
|
|
211
|
-
exports.lte = api._lte;
|
|
212
|
-
exports.maxLength = api._maxLength;
|
|
213
|
-
exports.maxSize = api._maxSize;
|
|
214
|
-
exports.mime = api._mime;
|
|
215
|
-
exports.minLength = api._minLength;
|
|
216
|
-
exports.minSize = api._minSize;
|
|
217
|
-
exports.multipleOf = api._multipleOf;
|
|
218
|
-
exports.negative = api._negative;
|
|
219
|
-
exports.nonnegative = api._nonnegative;
|
|
220
|
-
exports.nonpositive = api._nonpositive;
|
|
221
|
-
exports.normalize = api._normalize;
|
|
222
|
-
exports.overwrite = api._overwrite;
|
|
223
|
-
exports.positive = api._positive;
|
|
224
|
-
exports.property = api._property;
|
|
225
|
-
exports.regex = api._regex;
|
|
226
|
-
exports.size = api._size;
|
|
227
|
-
exports.startsWith = api._startsWith;
|
|
228
|
-
exports.toLowerCase = api._toLowerCase;
|
|
229
|
-
exports.toUpperCase = api._toUpperCase;
|
|
230
|
-
exports.trim = api._trim;
|
|
231
|
-
exports.uppercase = api._uppercase;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as index from '../core/index.js';
|
|
2
|
-
export { index as core };
|
|
3
|
-
export { ZodAny, ZodArray, ZodBase64, ZodBase64URL, ZodBigInt, ZodBigIntFormat, ZodBoolean, ZodCIDRv4, ZodCIDRv6, ZodCUID, ZodCUID2, ZodCatch, ZodCustom, ZodCustomStringFormat, ZodDate, ZodDefault, ZodDiscriminatedUnion, ZodE164, ZodEmail, ZodEmoji, ZodEnum, ZodFile, ZodGUID, ZodIPv4, ZodIPv6, ZodIntersection, ZodJWT, ZodKSUID, ZodLazy, ZodLiteral, ZodMap, ZodNaN, ZodNanoID, ZodNever, ZodNonOptional, ZodNull, ZodNullable, ZodNumber, ZodNumberFormat, ZodObject, ZodOptional, ZodPipe, ZodPrefault, ZodPromise, ZodReadonly, ZodRecord, ZodSet, ZodString, ZodStringFormat, ZodSuccess, ZodSymbol, ZodTemplateLiteral, ZodTransform, ZodTuple, ZodType, ZodULID, ZodURL, ZodUUID, ZodUndefined, ZodUnion, ZodUnknown, ZodVoid, ZodXID, _ZodString, _default, any, array, base64, base64url, bigint, boolean, catch, check, cidrv4, cidrv6, cuid, cuid2, custom, date, discriminatedUnion, e164, email, emoji, enum, file, float32, float64, guid, instanceof, int, int32, int64, intersection, ipv4, ipv6, json, jwt, keyof, ksuid, lazy, literal, looseObject, map, nan, nanoid, nativeEnum, never, nonoptional, null, nullable, nullish, number, object, optional, partialRecord, pipe, prefault, preprocess, promise, readonly, record, refine, set, strictObject, string, stringFormat, stringbool, success, superRefine, symbol, templateLiteral, transform, tuple, uint32, uint64, ulid, undefined, union, unknown, url, uuid, uuidv4, uuidv6, uuidv7, void, xid } from './schemas.js';
|
|
4
|
-
export { ZodError, ZodRealError } from './errors.js';
|
|
5
|
-
export { parse, parseAsync, safeParse, safeParseAsync } from './parse.js';
|
|
6
|
-
export { ZodIssueCode, getErrorMap, setErrorMap } from './compat.js';
|
|
7
|
-
import en from '../locales/en.js';
|
|
8
|
-
import * as index$1 from '../locales/index.js';
|
|
9
|
-
export { index$1 as locales };
|
|
10
|
-
import * as iso from './iso.js';
|
|
11
|
-
export { iso };
|
|
12
|
-
export { ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime } from './iso.js';
|
|
13
|
-
import * as coerce from './coerce.js';
|
|
14
|
-
export { coerce };
|
|
15
|
-
import { config } from '../core/core.js';
|
|
16
|
-
export { $brand, NEVER } from '../core/core.js';
|
|
17
|
-
export { $input, $output, globalRegistry, registry } from '../core/registries.js';
|
|
18
|
-
export { function } from '../core/function.js';
|
|
19
|
-
export { clone } from '../core/util.js';
|
|
20
|
-
import * as regexes from '../core/regexes.js';
|
|
21
|
-
export { regexes };
|
|
22
|
-
export { flattenError, formatError, prettifyError, treeifyError } from '../core/errors.js';
|
|
23
|
-
export { toJSONSchema } from '../core/to-json-schema.js';
|
|
24
|
-
export { TimePrecision, _endsWith as endsWith, _gt as gt, _gte as gte, _includes as includes, _length as length, _lowercase as lowercase, _lt as lt, _lte as lte, _maxLength as maxLength, _maxSize as maxSize, _mime as mime, _minLength as minLength, _minSize as minSize, _multipleOf as multipleOf, _negative as negative, _nonnegative as nonnegative, _nonpositive as nonpositive, _normalize as normalize, _overwrite as overwrite, _positive as positive, _property as property, _regex as regex, _size as size, _startsWith as startsWith, _toLowerCase as toLowerCase, _toUpperCase as toUpperCase, _trim as trim, _uppercase as uppercase } from '../core/api.js';
|
|
25
|
-
|
|
26
|
-
config(en());
|
|
27
|
-
|
|
28
|
-
export { config };
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
-
|
|
5
|
-
const schemas$1 = require('./schemas.cjs');
|
|
6
|
-
const core = require('../core/core.cjs');
|
|
7
|
-
const api = require('../core/api.cjs');
|
|
8
|
-
const schemas = require('../core/schemas.cjs');
|
|
9
|
-
|
|
10
|
-
const ZodISODateTime = /*@__PURE__*/ core.$constructor("ZodISODateTime", (inst, def) => {
|
|
11
|
-
schemas.$ZodISODateTime.init(inst, def);
|
|
12
|
-
schemas$1.ZodStringFormat.init(inst, def);
|
|
13
|
-
});
|
|
14
|
-
function datetime(params) {
|
|
15
|
-
return api._isoDateTime(ZodISODateTime, params);
|
|
16
|
-
}
|
|
17
|
-
const ZodISODate = /*@__PURE__*/ core.$constructor("ZodISODate", (inst, def) => {
|
|
18
|
-
schemas.$ZodISODate.init(inst, def);
|
|
19
|
-
schemas$1.ZodStringFormat.init(inst, def);
|
|
20
|
-
});
|
|
21
|
-
function date(params) {
|
|
22
|
-
return api._isoDate(ZodISODate, params);
|
|
23
|
-
}
|
|
24
|
-
const ZodISOTime = /*@__PURE__*/ core.$constructor("ZodISOTime", (inst, def) => {
|
|
25
|
-
schemas.$ZodISOTime.init(inst, def);
|
|
26
|
-
schemas$1.ZodStringFormat.init(inst, def);
|
|
27
|
-
});
|
|
28
|
-
function time(params) {
|
|
29
|
-
return api._isoTime(ZodISOTime, params);
|
|
30
|
-
}
|
|
31
|
-
const ZodISODuration = /*@__PURE__*/ core.$constructor("ZodISODuration", (inst, def) => {
|
|
32
|
-
schemas.$ZodISODuration.init(inst, def);
|
|
33
|
-
schemas$1.ZodStringFormat.init(inst, def);
|
|
34
|
-
});
|
|
35
|
-
function duration(params) {
|
|
36
|
-
return api._isoDuration(ZodISODuration, params);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
exports.ZodISODate = ZodISODate;
|
|
40
|
-
exports.ZodISODateTime = ZodISODateTime;
|
|
41
|
-
exports.ZodISODuration = ZodISODuration;
|
|
42
|
-
exports.ZodISOTime = ZodISOTime;
|
|
43
|
-
exports.date = date;
|
|
44
|
-
exports.datetime = datetime;
|
|
45
|
-
exports.duration = duration;
|
|
46
|
-
exports.time = time;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { ZodStringFormat } from './schemas.js';
|
|
2
|
-
import { $constructor } from '../core/core.js';
|
|
3
|
-
import { _isoDateTime, _isoDate, _isoTime, _isoDuration } from '../core/api.js';
|
|
4
|
-
import { $ZodISODateTime, $ZodISODate, $ZodISOTime, $ZodISODuration } from '../core/schemas.js';
|
|
5
|
-
|
|
6
|
-
const ZodISODateTime = /*@__PURE__*/ $constructor("ZodISODateTime", (inst, def) => {
|
|
7
|
-
$ZodISODateTime.init(inst, def);
|
|
8
|
-
ZodStringFormat.init(inst, def);
|
|
9
|
-
});
|
|
10
|
-
function datetime(params) {
|
|
11
|
-
return _isoDateTime(ZodISODateTime, params);
|
|
12
|
-
}
|
|
13
|
-
const ZodISODate = /*@__PURE__*/ $constructor("ZodISODate", (inst, def) => {
|
|
14
|
-
$ZodISODate.init(inst, def);
|
|
15
|
-
ZodStringFormat.init(inst, def);
|
|
16
|
-
});
|
|
17
|
-
function date(params) {
|
|
18
|
-
return _isoDate(ZodISODate, params);
|
|
19
|
-
}
|
|
20
|
-
const ZodISOTime = /*@__PURE__*/ $constructor("ZodISOTime", (inst, def) => {
|
|
21
|
-
$ZodISOTime.init(inst, def);
|
|
22
|
-
ZodStringFormat.init(inst, def);
|
|
23
|
-
});
|
|
24
|
-
function time(params) {
|
|
25
|
-
return _isoTime(ZodISOTime, params);
|
|
26
|
-
}
|
|
27
|
-
const ZodISODuration = /*@__PURE__*/ $constructor("ZodISODuration", (inst, def) => {
|
|
28
|
-
$ZodISODuration.init(inst, def);
|
|
29
|
-
ZodStringFormat.init(inst, def);
|
|
30
|
-
});
|
|
31
|
-
function duration(params) {
|
|
32
|
-
return _isoDuration(ZodISODuration, params);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export { ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime, date, datetime, duration, time };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
-
|
|
5
|
-
const errors = require('./errors.cjs');
|
|
6
|
-
const parse$1 = require('../core/parse.cjs');
|
|
7
|
-
|
|
8
|
-
const parse = /* @__PURE__ */ parse$1._parse(errors.ZodRealError);
|
|
9
|
-
const parseAsync = /* @__PURE__ */ parse$1._parseAsync(errors.ZodRealError);
|
|
10
|
-
const safeParse = /* @__PURE__ */ parse$1._safeParse(errors.ZodRealError);
|
|
11
|
-
const safeParseAsync = /* @__PURE__ */ parse$1._safeParseAsync(errors.ZodRealError);
|
|
12
|
-
|
|
13
|
-
exports.parse = parse;
|
|
14
|
-
exports.parseAsync = parseAsync;
|
|
15
|
-
exports.safeParse = safeParse;
|
|
16
|
-
exports.safeParseAsync = safeParseAsync;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ZodRealError } from './errors.js';
|
|
2
|
-
import { _parse, _parseAsync, _safeParse, _safeParseAsync } from '../core/parse.js';
|
|
3
|
-
|
|
4
|
-
const parse = /* @__PURE__ */ _parse(ZodRealError);
|
|
5
|
-
const parseAsync = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
6
|
-
const safeParse = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
7
|
-
const safeParseAsync = /* @__PURE__ */ _safeParseAsync(ZodRealError);
|
|
8
|
-
|
|
9
|
-
export { parse, parseAsync, safeParse, safeParseAsync };
|