@gnwebsoft/ui 3.0.1 → 3.0.2

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.
Files changed (66) hide show
  1. package/README.md +688 -0
  2. package/dist/chunk-4H3AFH7A.js +505 -0
  3. package/dist/chunk-DE62KYFK.js +122 -0
  4. package/dist/chunk-DEPJRTVT.js +1 -0
  5. package/dist/chunk-EBRUE2WR.cjs +493 -0
  6. package/dist/chunk-FD57PCAC.cjs +1 -0
  7. package/dist/chunk-H3GQLELL.js +2025 -0
  8. package/dist/chunk-MVPLBJRK.cjs +1 -0
  9. package/dist/chunk-OJF67RNM.js +1 -0
  10. package/dist/chunk-OT7COE7R.cjs +2025 -0
  11. package/dist/chunk-R2YK4LTT.cjs +122 -0
  12. package/dist/chunk-U6SDYCWF.js +493 -0
  13. package/dist/chunk-ZC7FGYL2.cjs +505 -0
  14. package/dist/components/index.cjs +25 -0
  15. package/dist/components/index.d.cts +752 -0
  16. package/dist/components/index.d.ts +664 -15
  17. package/dist/components/index.js +25 -24
  18. package/dist/enhanced-z-I7EHVS.d.cts +134 -0
  19. package/dist/enhanced-z-I7EHVS.d.ts +134 -0
  20. package/dist/hooks/index.cjs +12 -0
  21. package/dist/hooks/index.d.cts +95 -0
  22. package/dist/hooks/index.d.ts +82 -4
  23. package/dist/hooks/index.js +12 -7
  24. package/dist/index.cjs +127 -0
  25. package/dist/index.d.cts +14 -0
  26. package/dist/index.d.ts +4 -6
  27. package/dist/index.js +127 -54
  28. package/dist/types/index.cjs +2 -0
  29. package/dist/types/index.d.cts +241 -0
  30. package/dist/types/index.d.ts +205 -20
  31. package/dist/types/index.js +2 -1
  32. package/dist/utils/index.cjs +45 -0
  33. package/dist/utils/index.d.cts +366 -0
  34. package/dist/utils/index.d.ts +317 -9
  35. package/dist/utils/index.js +45 -22
  36. package/dist/wrappers/index.cjs +54 -0
  37. package/dist/wrappers/index.d.cts +1684 -0
  38. package/dist/wrappers/index.d.ts +1601 -118
  39. package/dist/wrappers/index.js +54 -8
  40. package/package.json +139 -88
  41. package/dist/AsyncSelectPayload-Cz4bgak0.d.mts +0 -10
  42. package/dist/AsyncSelectPayload-Cz4bgak0.d.ts +0 -10
  43. package/dist/chunk-2JFL7TS5.mjs +0 -0
  44. package/dist/chunk-6BGQA4BQ.js +0 -1
  45. package/dist/chunk-6JZ35VQJ.js +0 -19
  46. package/dist/chunk-7M2VOCYN.js +0 -1
  47. package/dist/chunk-BWQUYXUW.mjs +0 -1634
  48. package/dist/chunk-D3J7MWAU.js +0 -1634
  49. package/dist/chunk-EVPUCTZA.mjs +0 -0
  50. package/dist/chunk-FSU3H777.mjs +0 -473
  51. package/dist/chunk-GFSTK7KN.mjs +0 -19
  52. package/dist/chunk-I7EIUZKK.js +0 -332
  53. package/dist/chunk-JKUOV3MN.js +0 -473
  54. package/dist/chunk-RQS44YC7.mjs +0 -332
  55. package/dist/components/index.d.mts +0 -103
  56. package/dist/components/index.mjs +0 -24
  57. package/dist/hooks/index.d.mts +0 -17
  58. package/dist/hooks/index.mjs +0 -7
  59. package/dist/index.d.mts +0 -16
  60. package/dist/index.mjs +0 -54
  61. package/dist/types/index.d.mts +0 -56
  62. package/dist/types/index.mjs +0 -1
  63. package/dist/utils/index.d.mts +0 -58
  64. package/dist/utils/index.mjs +0 -22
  65. package/dist/wrappers/index.d.mts +0 -201
  66. package/dist/wrappers/index.mjs +0 -8
@@ -1,10 +1,10 @@
1
1
  import { PostModel, ApiResponse, ListResponse, ValidationErrors } from '../types/index.js';
2
2
  import { PickerValidDate } from '@mui/x-date-pickers';
3
3
  import { useLocalizationContext } from '@mui/x-date-pickers/internals';
4
- import { FieldValues, UseFormSetError } from 'react-hook-form';
4
+ import * as react_hook_form from 'react-hook-form';
5
+ import { FieldValues, UseFormSetError, Control, DeepPartialSkipArrayKey, Path, PathValue } from 'react-hook-form';
5
6
  import { z } from 'zod';
6
7
  import '@mui/x-data-grid';
7
- import '../AsyncSelectPayload-Cz4bgak0.js';
8
8
 
9
9
  declare class api {
10
10
  static filter<T, TFilter>(url: string, postModel: PostModel<TFilter>): Promise<ApiResponse<ListResponse<T>>>;
@@ -28,18 +28,173 @@ declare class api2 {
28
28
  static upload<T>(url: string, formData: FormData): Promise<ApiResponse<T>>;
29
29
  }
30
30
 
31
+ /**
32
+ * Recursively flattens an object into a flat structure with dot-notation keys.
33
+ *
34
+ * This utility function takes a nested object and converts it into a flat object
35
+ * where nested properties are represented using dot notation. It handles both
36
+ * nested objects and arrays, preserving all levels of the original structure
37
+ * as separate keys in the result.
38
+ *
39
+ * @example
40
+ * Basic object flattening:
41
+ * ```tsx
42
+ * const nested = {
43
+ * user: {
44
+ * name: 'John',
45
+ * address: {
46
+ * city: 'New York',
47
+ * zip: '10001'
48
+ * }
49
+ * }
50
+ * };
51
+ *
52
+ * const flattened = flattenObjectKeys(nested);
53
+ * // Result:
54
+ * // {
55
+ * // 'user': { name: 'John', address: { city: 'New York', zip: '10001' } },
56
+ * // 'user.name': 'John',
57
+ * // 'user.address': { city: 'New York', zip: '10001' },
58
+ * // 'user.address.city': 'New York',
59
+ * // 'user.address.zip': '10001'
60
+ * // }
61
+ * ```
62
+ *
63
+ * @example
64
+ * Array handling:
65
+ * ```tsx
66
+ * const withArrays = {
67
+ * items: [
68
+ * { id: 1, name: 'Item 1' },
69
+ * { id: 2, name: 'Item 2' }
70
+ * ]
71
+ * };
72
+ *
73
+ * const flattened = flattenObjectKeys(withArrays);
74
+ * // Result includes:
75
+ * // {
76
+ * // 'items': [...],
77
+ * // 'items.0': { id: 1, name: 'Item 1' },
78
+ * // 'items.0.id': 1,
79
+ * // 'items.0.name': 'Item 1',
80
+ * // 'items.1': { id: 2, name: 'Item 2' },
81
+ * // 'items.1.id': 2,
82
+ * // 'items.1.name': 'Item 2'
83
+ * // }
84
+ * ```
85
+ *
86
+ * @param obj - The object to flatten
87
+ * @param prefix - Internal parameter for building key paths (used in recursion)
88
+ * @returns A flat object with dot-notation keys representing the original structure
89
+ *
90
+ * @public
91
+ */
31
92
  declare const flattenObjectKeys: (obj: any, prefix?: string) => {
32
93
  [x: string]: any;
33
94
  };
34
95
 
35
96
  declare function getTimezone<TDate extends PickerValidDate>(adapter: ReturnType<typeof useLocalizationContext>, value: TDate): string | null;
36
97
 
37
- type HandleServerErrorsType<TFieldValues extends FieldValues = FieldValues> = {
98
+ /**
99
+ * Configuration options for the handleServerErrors function.
100
+ *
101
+ * @template TFieldValues - The form values type
102
+ *
103
+ * @public
104
+ */
105
+ interface HandleServerErrorsType<TFieldValues extends FieldValues = FieldValues> {
106
+ /**
107
+ * Server validation errors object containing field-specific error messages
108
+ * @example { email: 'Email is already taken', password: ['Too short', 'Must contain numbers'] }
109
+ */
38
110
  errors?: ValidationErrors;
111
+ /**
112
+ * The setError function from react-hook-form for setting field errors
113
+ */
39
114
  setError: UseFormSetError<TFieldValues>;
40
- };
115
+ }
116
+ /**
117
+ * Processes server validation errors and applies them to react-hook-form fields.
118
+ *
119
+ * This utility function takes validation errors from a server response and automatically
120
+ * applies them to the corresponding form fields using react-hook-form's setError function.
121
+ * It supports various error formats including strings, arrays of strings, and boolean flags.
122
+ *
123
+ * The function uses object flattening to handle nested error structures and ensures
124
+ * that only valid field paths are processed.
125
+ *
126
+ * @example
127
+ * Basic usage with server response:
128
+ * ```tsx
129
+ * const { setError } = useForm();
130
+ *
131
+ * try {
132
+ * await submitForm(data);
133
+ * } catch (error) {
134
+ * handleServerErrors({
135
+ * errors: error.response.data.errors,
136
+ * setError
137
+ * });
138
+ * }
139
+ * ```
140
+ *
141
+ * @example
142
+ * With different error formats:
143
+ * ```tsx
144
+ * const serverErrors = {
145
+ * email: 'Email is already taken',
146
+ * password: ['Too short', 'Must contain numbers'],
147
+ * terms: true // Boolean flag indicating invalid
148
+ * };
149
+ *
150
+ * handleServerErrors({ errors: serverErrors, setError });
151
+ * // Results in:
152
+ * // - email field shows: "Email is already taken"
153
+ * // - password field shows: "Too short Must contain numbers"
154
+ * // - terms field shows: "Field is not valid."
155
+ * ```
156
+ *
157
+ * @template TFieldValues - The form values type
158
+ *
159
+ * @param args - Configuration object containing errors and setError function
160
+ *
161
+ * @public
162
+ */
41
163
  declare const handleServerErrors: <TFieldValues extends FieldValues = FieldValues>(args: HandleServerErrorsType<TFieldValues>) => void;
42
164
 
165
+ /**
166
+ * Type-safe property existence checker that acts as a type guard.
167
+ *
168
+ * Checks if a given property exists on an object and narrows the TypeScript type
169
+ * to include that property. This is useful for safely accessing properties on
170
+ * objects of unknown structure while maintaining type safety.
171
+ *
172
+ * @template X - The type of the object being checked
173
+ * @template Y - The type of the property key (extends PropertyKey)
174
+ *
175
+ * @param obj - The object to check for the property
176
+ * @param prop - The property key to check for existence
177
+ *
178
+ * @returns A type predicate indicating whether the property exists on the object.
179
+ * If true, the object type is narrowed to include the specified property.
180
+ *
181
+ * @example
182
+ * ```typescript
183
+ * const data: unknown = { name: "John", age: 30 };
184
+ *
185
+ * if (propertyExists(data, "name")) {
186
+ * // TypeScript now knows data has a 'name' property
187
+ * console.log(data.name); // Type-safe access
188
+ * }
189
+ *
190
+ * // Check for nested property existence
191
+ * if (propertyExists(obj, "user") && propertyExists(obj.user, "id")) {
192
+ * console.log(obj.user.id); // Safe nested access
193
+ * }
194
+ * ```
195
+ *
196
+ * @since 2.18.45
197
+ */
43
198
  declare function propertyExists<X, Y extends PropertyKey>(obj: X, prop: Y): obj is X & Record<Y, unknown>;
44
199
 
45
200
  declare function readValueAsDate<TDate extends PickerValidDate>(adapter: ReturnType<typeof useLocalizationContext>, value: string | null | TDate): TDate | null;
@@ -47,12 +202,165 @@ declare function readValueAsDate<TDate extends PickerValidDate>(adapter: ReturnT
47
202
  declare const removeLeadingTrailingSlashes: (route: string) => string;
48
203
 
49
204
  declare const schemaTools: {
50
- date: ({ message }: {
205
+ date: ({ message }?: {
51
206
  message?: string;
52
- }) => z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string | null, string>, string | null, string>, string | null, string>;
207
+ }) => z.ZodPipe<z.ZodCoercedString<unknown>, z.ZodTransform<string | null, string>>;
53
208
  nullableDate: ({ message }?: {
54
- message?: string | null;
55
- }) => z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string | null, string>, string | null, string>, string | null, string>;
209
+ message?: string;
210
+ }) => z.ZodPipe<z.ZodPipe<z.ZodCoercedString<unknown>, z.ZodTransform<string | null, string>>, z.ZodTransform<string | null, string | null>>;
211
+ dateRange: ({ message }?: {
212
+ message?: string;
213
+ }) => z.ZodObject<{
214
+ start: z.ZodCoercedDate<unknown>;
215
+ end: z.ZodCoercedDate<unknown>;
216
+ }, z.core.$strip>;
217
+ requiredString: ({ message, min, max }?: {
218
+ message?: string;
219
+ min?: number;
220
+ max?: number;
221
+ }) => z.ZodString;
222
+ email: ({ message }?: {
223
+ message?: string;
224
+ }) => z.ZodString;
225
+ url: ({ message }?: {
226
+ message?: string;
227
+ }) => z.ZodString;
228
+ phone: ({ message }?: {
229
+ message?: string;
230
+ }) => z.ZodString;
231
+ alphanumeric: ({ message }?: {
232
+ message?: string;
233
+ }) => z.ZodString;
234
+ slug: ({ message }?: {
235
+ message?: string;
236
+ }) => z.ZodString;
237
+ positiveNumber: ({ message, min, max }?: {
238
+ message?: string;
239
+ min?: number;
240
+ max?: number;
241
+ }) => z.ZodNumber;
242
+ nonNegativeNumber: ({ message, max }?: {
243
+ message?: string;
244
+ max?: number;
245
+ }) => z.ZodNumber;
246
+ integer: ({ message, min, max }?: {
247
+ message?: string;
248
+ min?: number;
249
+ max?: number;
250
+ }) => z.ZodNumber;
251
+ percentage: ({ message }?: {
252
+ message?: string;
253
+ }) => z.ZodNumber;
254
+ nonEmptyArray: <T>(schema: z.ZodSchema<T>, { message }?: {
255
+ message?: string;
256
+ }) => z.ZodArray<z.ZodType<T, unknown, z.core.$ZodTypeInternals<T, unknown>>>;
257
+ uniqueArray: <T>(schema: z.ZodSchema<T>, { message }?: {
258
+ message?: string;
259
+ }) => z.ZodArray<z.ZodType<T, unknown, z.core.$ZodTypeInternals<T, unknown>>>;
260
+ requiredBoolean: ({ message }?: {
261
+ message?: string;
262
+ }) => z.ZodBoolean;
263
+ nonEmptyObject: <T extends Record<string, unknown>>(schema: z.ZodSchema<T>, { message }?: {
264
+ message?: string;
265
+ }) => z.ZodType<T, unknown, z.core.$ZodTypeInternals<T, unknown>>;
266
+ fileSize: ({ maxSize, message }: {
267
+ maxSize: number;
268
+ message?: string;
269
+ }) => z.ZodCustom<File, File>;
270
+ fileType: ({ allowedTypes, message }: {
271
+ allowedTypes: string[];
272
+ message?: string;
273
+ }) => z.ZodCustom<File, File>;
274
+ conditional: <T, U>(condition: (data: T) => boolean, trueSchema: z.ZodSchema<U>, falseSchema: z.ZodSchema<U>) => z.ZodUnion<readonly [z.ZodType<U, unknown, z.core.$ZodTypeInternals<U, unknown>>, z.ZodType<U, unknown, z.core.$ZodTypeInternals<U, unknown>>]>;
275
+ transform: {
276
+ toLowerCase: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
277
+ toUpperCase: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
278
+ trim: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
279
+ toNumber: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
280
+ toBoolean: z.ZodPipe<z.ZodString, z.ZodTransform<boolean, string>>;
281
+ parseJson: <T>(schema: z.ZodSchema<T>) => z.ZodPipe<z.ZodString, z.ZodTransform<Awaited<T>, string>>;
282
+ };
283
+ };
284
+
285
+ /**
286
+ * Core watch functions for React Hook Form
287
+ * These are the primary building blocks for form watching
288
+ */
289
+ /**
290
+ * Utility type to ensure array elements are all Path<T>
291
+ */
292
+ type PathArray<T extends FieldValues> = ReadonlyArray<Path<T>>;
293
+ /**
294
+ * Hook to watch entire form - returns all form values
295
+ */
296
+ declare const useWatchForm: <TFieldValues extends FieldValues>(control: Control<TFieldValues>) => DeepPartialSkipArrayKey<TFieldValues>;
297
+ /**
298
+ * Hook to watch single field by path - supports any nested path
299
+ */
300
+ declare const useWatchField: <TFieldValues extends FieldValues, TName extends Path<TFieldValues>>(control: Control<TFieldValues>, name: TName) => PathValue<TFieldValues, TName>;
301
+ /**
302
+ * Hook to watch multiple fields by paths - returns array of values
303
+ */
304
+ declare const useWatchFields: <TFieldValues extends FieldValues, TNames extends ReadonlyArray<Path<TFieldValues>>>(control: Control<TFieldValues>, names: TNames) => Array<PathValue<TFieldValues, TNames[number]>>;
305
+
306
+ /**
307
+ * Utility watch functions for React Hook Form
308
+ * Enhanced functionality for specific use cases
309
+ */
310
+ /**
311
+ * Watch field with transformation/selector
312
+ */
313
+ declare const useWatchTransform: <TFieldValues extends FieldValues, TName extends Path<TFieldValues>, TOutput>(control: Control<TFieldValues>, name: TName, transform: (value: PathValue<TFieldValues, TName>) => TOutput) => TOutput;
314
+ /**
315
+ * Watch field with default fallback value
316
+ */
317
+ declare const useWatchDefault: <TFieldValues extends FieldValues, TName extends Path<TFieldValues>>(control: Control<TFieldValues>, name: TName, defaultValue: PathValue<TFieldValues, TName>) => PathValue<TFieldValues, TName>;
318
+ /**
319
+ * Watch field as boolean with guaranteed boolean return
320
+ */
321
+ declare const useWatchBoolean: <TFieldValues extends FieldValues, TName extends Path<TFieldValues>>(control: Control<TFieldValues>, name: TName, defaultValue?: boolean) => boolean;
322
+ /**
323
+ * Watch multiple fields and return an object with field paths as keys
324
+ */
325
+ declare const useWatchBatch: <TFieldValues extends FieldValues, TFields extends ReadonlyArray<Path<TFieldValues>>>(control: Control<TFieldValues>, fields: TFields) => { [K in TFields[number]]: PathValue<TFieldValues, K>; };
326
+ /**
327
+ * Watch field conditionally based on boolean flag
328
+ */
329
+ declare const useWatchConditional: <TFieldValues extends FieldValues, TName extends Path<TFieldValues>>(control: Control<TFieldValues>, name: TName, shouldWatch: boolean, fallback?: PathValue<TFieldValues, TName>) => PathValue<TFieldValues, TName> | undefined;
330
+ /**
331
+ * Watch field with debounced updates
332
+ */
333
+ declare const useWatchDebounced: <TFieldValues extends FieldValues, TName extends Path<TFieldValues>>(control: Control<TFieldValues>, name: TName, delay?: number) => PathValue<TFieldValues, TName>;
334
+ /**
335
+ * Watch field with memoized selector function
336
+ */
337
+ declare const useWatchSelector: <TFieldValues extends FieldValues, TName extends Path<TFieldValues>, TOutput>(control: Control<TFieldValues>, name: TName, selector: (value: PathValue<TFieldValues, TName>) => TOutput, deps?: React.DependencyList) => TOutput;
338
+
339
+ /**
340
+ * Organized utilities by use case
341
+ * Provides a convenient object-based API for all watch functions
342
+ */
343
+ declare const typedWatch: {
344
+ /** Watch entire form */
345
+ readonly form: <TFieldValues extends react_hook_form.FieldValues>(control: react_hook_form.Control<TFieldValues>) => react_hook_form.DeepPartialSkipArrayKey<TFieldValues>;
346
+ /** Watch single field */
347
+ readonly field: <TFieldValues extends react_hook_form.FieldValues, TName extends react_hook_form.Path<TFieldValues>>(control: react_hook_form.Control<TFieldValues>, name: TName) => react_hook_form.PathValue<TFieldValues, TName>;
348
+ /** Watch multiple fields */
349
+ readonly fields: <TFieldValues extends react_hook_form.FieldValues, TNames extends ReadonlyArray<react_hook_form.Path<TFieldValues>>>(control: react_hook_form.Control<TFieldValues>, names: TNames) => Array<react_hook_form.PathValue<TFieldValues, TNames[number]>>;
350
+ /** Watch with transformation */
351
+ readonly transform: <TFieldValues extends react_hook_form.FieldValues, TName extends react_hook_form.Path<TFieldValues>, TOutput>(control: react_hook_form.Control<TFieldValues>, name: TName, transform: (value: react_hook_form.PathValue<TFieldValues, TName>) => TOutput) => TOutput;
352
+ /** Watch with default value */
353
+ readonly withDefault: <TFieldValues extends react_hook_form.FieldValues, TName extends react_hook_form.Path<TFieldValues>>(control: react_hook_form.Control<TFieldValues>, name: TName, defaultValue: react_hook_form.PathValue<TFieldValues, TName>) => react_hook_form.PathValue<TFieldValues, TName>;
354
+ /** Watch as boolean */
355
+ readonly boolean: <TFieldValues extends react_hook_form.FieldValues, TName extends react_hook_form.Path<TFieldValues>>(control: react_hook_form.Control<TFieldValues>, name: TName, defaultValue?: boolean) => boolean;
356
+ /** Watch multiple with custom keys */
357
+ readonly batch: <TFieldValues extends react_hook_form.FieldValues, TFields extends ReadonlyArray<react_hook_form.Path<TFieldValues>>>(control: react_hook_form.Control<TFieldValues>, fields: TFields) => { [K in TFields[number]]: react_hook_form.PathValue<TFieldValues, K>; };
358
+ /** Watch conditionally */
359
+ readonly conditional: <TFieldValues extends react_hook_form.FieldValues, TName extends react_hook_form.Path<TFieldValues>>(control: react_hook_form.Control<TFieldValues>, name: TName, shouldWatch: boolean, fallback?: react_hook_form.PathValue<TFieldValues, TName>) => react_hook_form.PathValue<TFieldValues, TName> | undefined;
360
+ /** Watch with debouncing */
361
+ readonly debounced: <TFieldValues extends react_hook_form.FieldValues, TName extends react_hook_form.Path<TFieldValues>>(control: react_hook_form.Control<TFieldValues>, name: TName, delay?: number) => react_hook_form.PathValue<TFieldValues, TName>;
362
+ /** Watch with selector */
363
+ readonly selector: <TFieldValues extends react_hook_form.FieldValues, TName extends react_hook_form.Path<TFieldValues>, TOutput>(control: react_hook_form.Control<TFieldValues>, name: TName, selector: (value: react_hook_form.PathValue<TFieldValues, TName>) => TOutput, deps?: React.DependencyList) => TOutput;
56
364
  };
57
365
 
58
- export { api, api2, flattenObjectKeys, getTimezone, handleServerErrors, propertyExists, readValueAsDate, removeLeadingTrailingSlashes, schemaTools };
366
+ export { type PathArray, api, api2, flattenObjectKeys, getTimezone, handleServerErrors, propertyExists, readValueAsDate, removeLeadingTrailingSlashes, schemaTools, typedWatch, useWatchBatch, useWatchBoolean, useWatchConditional, useWatchDebounced, useWatchDefault, useWatchField, useWatchFields, useWatchForm, useWatchSelector, useWatchTransform };
@@ -1,22 +1,45 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
- var _chunkI7EIUZKKjs = require('../chunk-I7EIUZKK.js');
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
- exports.api = _chunkI7EIUZKKjs.api; exports.api2 = _chunkI7EIUZKKjs.api2; exports.flattenObjectKeys = _chunkI7EIUZKKjs.flattenObjectKeys; exports.getTimezone = _chunkI7EIUZKKjs.getTimezone; exports.handleServerErrors = _chunkI7EIUZKKjs.handleServerErrors; exports.propertyExists = _chunkI7EIUZKKjs.propertyExists; exports.readValueAsDate = _chunkI7EIUZKKjs.readValueAsDate; exports.removeLeadingTrailingSlashes = _chunkI7EIUZKKjs.removeLeadingTrailingSlashes; exports.schemaTools = _chunkI7EIUZKKjs.schemaTools;
1
+ import {
2
+ api,
3
+ api2,
4
+ flattenObjectKeys,
5
+ getTimezone,
6
+ handleServerErrors,
7
+ propertyExists,
8
+ readValueAsDate,
9
+ removeLeadingTrailingSlashes,
10
+ schemaTools,
11
+ typedWatch,
12
+ useWatchBatch,
13
+ useWatchBoolean,
14
+ useWatchConditional,
15
+ useWatchDebounced,
16
+ useWatchDefault,
17
+ useWatchField,
18
+ useWatchFields,
19
+ useWatchForm,
20
+ useWatchSelector,
21
+ useWatchTransform
22
+ } from "../chunk-4H3AFH7A.js";
23
+ export {
24
+ api,
25
+ api2,
26
+ flattenObjectKeys,
27
+ getTimezone,
28
+ handleServerErrors,
29
+ propertyExists,
30
+ readValueAsDate,
31
+ removeLeadingTrailingSlashes,
32
+ schemaTools,
33
+ typedWatch,
34
+ useWatchBatch,
35
+ useWatchBoolean,
36
+ useWatchConditional,
37
+ useWatchDebounced,
38
+ useWatchDefault,
39
+ useWatchField,
40
+ useWatchFields,
41
+ useWatchForm,
42
+ useWatchSelector,
43
+ useWatchTransform
44
+ };
45
+ //# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFtdLAogICJzb3VyY2VzQ29udGVudCI6IFtdLAogICJtYXBwaW5ncyI6ICIiLAogICJuYW1lcyI6IFtdCn0K
@@ -0,0 +1,54 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+ var _chunkOT7COE7Rcjs = require('../chunk-OT7COE7R.cjs');
27
+ require('../chunk-R2YK4LTT.cjs');
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+
53
+ exports.AsyncMultiSelect2 = _chunkOT7COE7Rcjs.AsyncMultiSelect2; exports.CheckboxElement = _chunkOT7COE7Rcjs.CheckboxElement; exports.CheckboxGroup = _chunkOT7COE7Rcjs.CheckboxGroup; exports.DatePickerElement = _chunkOT7COE7Rcjs.DatePickerElement; exports.DatePickerElementCore = _chunkOT7COE7Rcjs.DatePickerElementCore; exports.EnhancedTextFieldElement = _chunkOT7COE7Rcjs.EnhancedTextFieldElement; exports.PasswordElement = _chunkOT7COE7Rcjs.PasswordElement_default; exports.RadioButtonGroup = _chunkOT7COE7Rcjs.RadioButtonGroup_default; exports.SelectCascadeElement = _chunkOT7COE7Rcjs.SelectCascadeElement_default; exports.SelectElement = _chunkOT7COE7Rcjs.SelectElement_default; exports.SelectMultiElement = _chunkOT7COE7Rcjs.SelectMultiElement_default; exports.TextFieldElement = _chunkOT7COE7Rcjs.TextFieldElement_default; exports.TimePickerElement = _chunkOT7COE7Rcjs.TimePickerElement_default; exports.createDateInputTransform = _chunkOT7COE7Rcjs.createDateInputTransform; exports.createDateOutputTransform = _chunkOT7COE7Rcjs.createDateOutputTransform; exports.createDefaultDatePickerConfig = _chunkOT7COE7Rcjs.createDefaultDatePickerConfig; exports.createStableKey = _chunkOT7COE7Rcjs.createStableKey; exports.extractErrorMessage = _chunkOT7COE7Rcjs.extractErrorMessage; exports.isParsableDateString = _chunkOT7COE7Rcjs.isParsableDateString; exports.isValidDate = _chunkOT7COE7Rcjs.isValidDate; exports.readDatePickerValueAsDate = _chunkOT7COE7Rcjs.readDatePickerValueAsDate; exports.useDatePickerStyles = _chunkOT7COE7Rcjs.useDatePickerStyles; exports.useDatePickerValidation = _chunkOT7COE7Rcjs.useDatePickerValidation; exports.useDatePickerValue = _chunkOT7COE7Rcjs.useDatePickerValue;
54
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImQ6XFxQcm9qZWN0c1xcZ253ZWItbW9ub3JlcG9cXHBhY2thZ2VzXFx1aVxcZGlzdFxcd3JhcHBlcnNcXGluZGV4LmNqcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtBQUNFO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNGLHlEQUE4QjtBQUM5QixpQ0FBOEI7QUFDOUI7QUFDRTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDRixtcURBQUMiLCJmaWxlIjoiRDpcXFByb2plY3RzXFxnbndlYi1tb25vcmVwb1xccGFja2FnZXNcXHVpXFxkaXN0XFx3cmFwcGVyc1xcaW5kZXguY2pzIn0=