@overmap-ai/forms 1.0.29 → 1.0.30
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/form/builder/constants.d.ts +1 -1
- package/dist/form/builder/hooks.d.ts +1 -1
- package/dist/form/fields/BaseField/hooks.d.ts +55 -55
- package/dist/forms.js +2096 -2132
- package/dist/forms.umd.cjs +19 -19
- package/dist/index.d.ts +0 -1
- package/package.json +3 -3
- package/dist/FileIcon/FileIcon.d.ts +0 -4
- package/dist/FileIcon/constants.d.ts +0 -3
- package/dist/FileIcon/index.d.ts +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FieldSection } from '../fields';
|
|
2
2
|
export declare const formId = "form-builder";
|
|
3
|
-
export declare const fieldsToChoose: (("string" | "text")[] | ("select" | "radio" | "multi-select" | "upload" | "qr")[] | ("number" | "boolean" | "date" | "multi-string")[])[];
|
|
3
|
+
export declare const fieldsToChoose: (("string" | "text")[] | ("select" | "radio" | "multi-select" | "upload" | "qr" | "checkbox-list")[] | ("number" | "boolean" | "date" | "multi-string")[])[];
|
|
4
4
|
export declare const indexOfLastFieldGroup: number;
|
|
5
5
|
export declare const CompleteFieldTypeToClsMapping: {
|
|
6
6
|
section: typeof FieldSection;
|
|
@@ -2,6 +2,6 @@ import { FieldTypeIdentifier } from '../fields';
|
|
|
2
2
|
export declare const useFieldTypeItems: (onSelect?: (type: Exclude<FieldTypeIdentifier, "section">) => void) => {
|
|
3
3
|
children: string;
|
|
4
4
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
value: "string" | "number" | "boolean" | "select" | "text" | "radio" | "date" | "multi-string" | "multi-select" | "upload" | "qr";
|
|
5
|
+
value: "string" | "number" | "boolean" | "select" | "text" | "radio" | "date" | "multi-string" | "multi-select" | "upload" | "qr" | "checkbox-list";
|
|
6
6
|
onSelect: () => void;
|
|
7
7
|
}[][];
|
|
@@ -20,9 +20,6 @@ export declare const useFormikInput: <TField extends AnyField>(props: ComponentP
|
|
|
20
20
|
readonly touched: boolean;
|
|
21
21
|
}, {
|
|
22
22
|
readonly "aria-labelledby": string;
|
|
23
|
-
readonly default?: boolean | undefined;
|
|
24
|
-
readonly children?: import('react').ReactNode | undefined;
|
|
25
|
-
readonly className?: string | undefined;
|
|
26
23
|
readonly cite?: string | undefined;
|
|
27
24
|
readonly data?: string | undefined;
|
|
28
25
|
readonly form?: string | undefined;
|
|
@@ -33,19 +30,53 @@ export declare const useFormikInput: <TField extends AnyField>(props: ComponentP
|
|
|
33
30
|
readonly summary?: string | undefined;
|
|
34
31
|
readonly title?: string | undefined;
|
|
35
32
|
readonly pattern?: string | undefined;
|
|
33
|
+
readonly key?: import('react').Key | null | undefined;
|
|
34
|
+
readonly defaultChecked?: boolean | undefined;
|
|
35
|
+
readonly suppressContentEditableWarning?: boolean | undefined;
|
|
36
36
|
readonly suppressHydrationWarning?: boolean | undefined;
|
|
37
|
-
readonly
|
|
37
|
+
readonly accessKey?: string | undefined;
|
|
38
|
+
readonly autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
39
|
+
readonly autoFocus?: boolean | undefined;
|
|
40
|
+
readonly className?: string | undefined;
|
|
41
|
+
readonly contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
42
|
+
readonly contextMenu?: string | undefined;
|
|
43
|
+
readonly draggable?: (boolean | "true" | "false") | undefined;
|
|
44
|
+
readonly enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
45
|
+
readonly hidden?: boolean | undefined;
|
|
38
46
|
readonly lang?: string | undefined;
|
|
39
|
-
readonly
|
|
40
|
-
readonly
|
|
41
|
-
readonly method?: string | undefined;
|
|
42
|
-
readonly min?: number | string | undefined;
|
|
43
|
-
readonly target?: string | undefined;
|
|
44
|
-
readonly width?: number | string | undefined;
|
|
45
|
-
readonly role?: import('react').AriaRole | undefined;
|
|
47
|
+
readonly nonce?: string | undefined;
|
|
48
|
+
readonly spellCheck?: (boolean | "true" | "false") | undefined;
|
|
46
49
|
readonly tabIndex?: number | undefined;
|
|
47
|
-
readonly
|
|
48
|
-
readonly
|
|
50
|
+
readonly translate?: "yes" | "no" | undefined;
|
|
51
|
+
readonly radioGroup?: string | undefined;
|
|
52
|
+
readonly role?: import('react').AriaRole | undefined;
|
|
53
|
+
readonly about?: string | undefined;
|
|
54
|
+
readonly content?: string | undefined;
|
|
55
|
+
readonly datatype?: string | undefined;
|
|
56
|
+
readonly inlist?: any;
|
|
57
|
+
readonly prefix?: string | undefined;
|
|
58
|
+
readonly property?: string | undefined;
|
|
59
|
+
readonly rel?: string | undefined;
|
|
60
|
+
readonly resource?: string | undefined;
|
|
61
|
+
readonly rev?: string | undefined;
|
|
62
|
+
readonly typeof?: string | undefined;
|
|
63
|
+
readonly vocab?: string | undefined;
|
|
64
|
+
readonly autoCorrect?: string | undefined;
|
|
65
|
+
readonly autoSave?: string | undefined;
|
|
66
|
+
readonly itemProp?: string | undefined;
|
|
67
|
+
readonly itemScope?: boolean | undefined;
|
|
68
|
+
readonly itemType?: string | undefined;
|
|
69
|
+
readonly itemID?: string | undefined;
|
|
70
|
+
readonly itemRef?: string | undefined;
|
|
71
|
+
readonly results?: number | undefined;
|
|
72
|
+
readonly security?: string | undefined;
|
|
73
|
+
readonly unselectable?: "on" | "off" | undefined;
|
|
74
|
+
readonly popover?: "" | "auto" | "manual" | undefined;
|
|
75
|
+
readonly popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
76
|
+
readonly popoverTarget?: string | undefined;
|
|
77
|
+
readonly inert?: boolean | undefined;
|
|
78
|
+
readonly inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
79
|
+
readonly is?: string | undefined;
|
|
49
80
|
readonly "aria-activedescendant"?: string | undefined;
|
|
50
81
|
readonly "aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
51
82
|
readonly "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
@@ -98,6 +129,7 @@ export declare const useFormikInput: <TField extends AnyField>(props: ComponentP
|
|
|
98
129
|
readonly "aria-valuemin"?: number | undefined;
|
|
99
130
|
readonly "aria-valuenow"?: number | undefined;
|
|
100
131
|
readonly "aria-valuetext"?: string | undefined;
|
|
132
|
+
readonly children?: import('react').ReactNode | undefined;
|
|
101
133
|
readonly dangerouslySetInnerHTML?: {
|
|
102
134
|
__html: string | TrustedHTML;
|
|
103
135
|
} | undefined;
|
|
@@ -267,50 +299,18 @@ export declare const useFormikInput: <TField extends AnyField>(props: ComponentP
|
|
|
267
299
|
readonly onTransitionRunCapture?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
268
300
|
readonly onTransitionStart?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
269
301
|
readonly onTransitionStartCapture?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
270
|
-
readonly key?: import('react').Key | null | undefined;
|
|
271
|
-
readonly defaultChecked?: boolean | undefined;
|
|
272
|
-
readonly suppressContentEditableWarning?: boolean | undefined;
|
|
273
|
-
readonly accessKey?: string | undefined;
|
|
274
|
-
readonly autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
275
|
-
readonly autoFocus?: boolean | undefined;
|
|
276
|
-
readonly contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
277
|
-
readonly contextMenu?: string | undefined;
|
|
278
|
-
readonly draggable?: (boolean | "true" | "false") | undefined;
|
|
279
|
-
readonly enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
280
|
-
readonly hidden?: boolean | undefined;
|
|
281
|
-
readonly nonce?: string | undefined;
|
|
282
|
-
readonly spellCheck?: (boolean | "true" | "false") | undefined;
|
|
283
|
-
readonly translate?: "yes" | "no" | undefined;
|
|
284
|
-
readonly radioGroup?: string | undefined;
|
|
285
|
-
readonly about?: string | undefined;
|
|
286
|
-
readonly content?: string | undefined;
|
|
287
|
-
readonly datatype?: string | undefined;
|
|
288
|
-
readonly inlist?: any;
|
|
289
|
-
readonly prefix?: string | undefined;
|
|
290
|
-
readonly property?: string | undefined;
|
|
291
|
-
readonly rel?: string | undefined;
|
|
292
|
-
readonly resource?: string | undefined;
|
|
293
|
-
readonly rev?: string | undefined;
|
|
294
|
-
readonly typeof?: string | undefined;
|
|
295
|
-
readonly vocab?: string | undefined;
|
|
296
|
-
readonly autoCorrect?: string | undefined;
|
|
297
|
-
readonly autoSave?: string | undefined;
|
|
298
|
-
readonly itemProp?: string | undefined;
|
|
299
|
-
readonly itemScope?: boolean | undefined;
|
|
300
|
-
readonly itemType?: string | undefined;
|
|
301
|
-
readonly itemID?: string | undefined;
|
|
302
|
-
readonly itemRef?: string | undefined;
|
|
303
|
-
readonly results?: number | undefined;
|
|
304
|
-
readonly security?: string | undefined;
|
|
305
|
-
readonly unselectable?: "on" | "off" | undefined;
|
|
306
|
-
readonly popover?: "" | "auto" | "manual" | undefined;
|
|
307
|
-
readonly popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
308
|
-
readonly popoverTarget?: string | undefined;
|
|
309
|
-
readonly inert?: boolean | undefined;
|
|
310
|
-
readonly inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
311
|
-
readonly is?: string | undefined;
|
|
312
302
|
readonly list?: string | undefined;
|
|
313
303
|
readonly step?: number | string | undefined;
|
|
304
|
+
readonly height?: number | string | undefined;
|
|
305
|
+
readonly max?: number | string | undefined;
|
|
306
|
+
readonly media?: string | undefined;
|
|
307
|
+
readonly method?: string | undefined;
|
|
308
|
+
readonly min?: number | string | undefined;
|
|
309
|
+
readonly target?: string | undefined;
|
|
310
|
+
readonly width?: number | string | undefined;
|
|
311
|
+
readonly crossOrigin?: "" | "anonymous" | "use-credentials" | undefined;
|
|
312
|
+
readonly href?: string | undefined;
|
|
313
|
+
readonly default?: boolean | undefined;
|
|
314
314
|
readonly open?: boolean | undefined;
|
|
315
315
|
readonly loop?: boolean | undefined;
|
|
316
316
|
readonly disabled?: boolean | undefined;
|