@dxos/react-ui-form 0.8.4-main.fffef41 → 0.9.0
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/LICENSE +102 -5
- package/README.md +0 -1
- package/dist/lib/browser/index.mjs +4005 -2402
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/translations.mjs +87 -0
- package/dist/lib/browser/translations.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +4005 -2402
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/translations.mjs +89 -0
- package/dist/lib/node-esm/translations.mjs.map +7 -0
- package/dist/types/src/components/FieldEditor/FieldEditor.d.ts +8 -7
- package/dist/types/src/components/FieldEditor/FieldEditor.d.ts.map +1 -1
- package/dist/types/src/components/FieldEditor/FieldEditor.stories.d.ts +73 -59
- package/dist/types/src/components/FieldEditor/FieldEditor.stories.d.ts.map +1 -1
- package/dist/types/src/components/Form/Form.d.ts +135 -27
- package/dist/types/src/components/Form/Form.d.ts.map +1 -1
- package/dist/types/src/components/Form/Form.stories.d.ts +192 -137
- package/dist/types/src/components/Form/Form.stories.d.ts.map +1 -1
- package/dist/types/src/components/Form/FormField.d.ts +52 -0
- package/dist/types/src/components/Form/FormField.d.ts.map +1 -0
- package/dist/types/src/components/Form/FormFieldComponent.d.ts +98 -0
- package/dist/types/src/components/Form/FormFieldComponent.d.ts.map +1 -0
- package/dist/types/src/components/Form/FormFieldComponent.stories.d.ts +9 -0
- package/dist/types/src/components/Form/FormFieldComponent.stories.d.ts.map +1 -0
- package/dist/types/src/components/Form/FormFieldSet.d.ts +26 -0
- package/dist/types/src/components/Form/FormFieldSet.d.ts.map +1 -0
- package/dist/types/src/components/Form/FormTooltipsContext.d.ts +19 -0
- package/dist/types/src/components/Form/FormTooltipsContext.d.ts.map +1 -0
- package/dist/types/src/components/Form/Layout/FormLayout.d.ts +50 -0
- package/dist/types/src/components/Form/Layout/FormLayout.d.ts.map +1 -0
- package/dist/types/src/components/Form/Layout/FormLayout.stories.d.ts +123 -0
- package/dist/types/src/components/Form/Layout/FormLayout.stories.d.ts.map +1 -0
- package/dist/types/src/components/Form/Layout/FormLayout.stories.test.d.ts +2 -0
- package/dist/types/src/components/Form/Layout/FormLayout.stories.test.d.ts.map +1 -0
- package/dist/types/src/components/Form/Layout/FormLayout.test.d.ts +2 -0
- package/dist/types/src/components/Form/Layout/FormLayout.test.d.ts.map +1 -0
- package/dist/types/src/components/Form/Layout/annotation.d.ts +30 -0
- package/dist/types/src/components/Form/Layout/annotation.d.ts.map +1 -0
- package/dist/types/src/components/Form/Layout/index.d.ts +4 -0
- package/dist/types/src/components/Form/Layout/index.d.ts.map +1 -0
- package/dist/types/src/components/Form/Layout/parser.d.ts +31 -0
- package/dist/types/src/components/Form/Layout/parser.d.ts.map +1 -0
- package/dist/types/src/components/Form/Layout/parser.test.d.ts +2 -0
- package/dist/types/src/components/Form/Layout/parser.test.d.ts.map +1 -0
- package/dist/types/src/components/Form/fields/ArrayField.d.ts +18 -0
- package/dist/types/src/components/Form/fields/ArrayField.d.ts.map +1 -0
- package/dist/types/src/components/Form/fields/BooleanField.d.ts +4 -0
- package/dist/types/src/components/Form/fields/BooleanField.d.ts.map +1 -0
- package/dist/types/src/components/Form/fields/DateField.d.ts +4 -0
- package/dist/types/src/components/Form/fields/DateField.d.ts.map +1 -0
- package/dist/types/src/components/Form/fields/GeoPointField.d.ts +5 -0
- package/dist/types/src/components/Form/fields/GeoPointField.d.ts.map +1 -0
- package/dist/types/src/components/Form/fields/InlineRefField.d.ts +13 -0
- package/dist/types/src/components/Form/fields/InlineRefField.d.ts.map +1 -0
- package/dist/types/src/components/Form/fields/MarkdownField.d.ts +11 -0
- package/dist/types/src/components/Form/fields/MarkdownField.d.ts.map +1 -0
- package/dist/types/src/components/Form/fields/MarkdownField.stories.d.ts +89 -0
- package/dist/types/src/components/Form/fields/MarkdownField.stories.d.ts.map +1 -0
- package/dist/types/src/components/Form/fields/NumberField.d.ts +4 -0
- package/dist/types/src/components/Form/fields/NumberField.d.ts.map +1 -0
- package/dist/types/src/components/Form/fields/RefField.d.ts +34 -0
- package/dist/types/src/components/Form/fields/RefField.d.ts.map +1 -0
- package/dist/types/src/components/Form/fields/RefField.test.d.ts +2 -0
- package/dist/types/src/components/Form/fields/RefField.test.d.ts.map +1 -0
- package/dist/types/src/components/Form/fields/SelectField.d.ts +13 -0
- package/dist/types/src/components/Form/fields/SelectField.d.ts.map +1 -0
- package/dist/types/src/components/Form/fields/SelectOptionField.d.ts +5 -0
- package/dist/types/src/components/Form/fields/SelectOptionField.d.ts.map +1 -0
- package/dist/types/src/components/Form/fields/SelectOptionField.stories.d.ts +89 -0
- package/dist/types/src/components/Form/fields/SelectOptionField.stories.d.ts.map +1 -0
- package/dist/types/src/components/Form/fields/TextAreaField.d.ts +4 -0
- package/dist/types/src/components/Form/fields/TextAreaField.d.ts.map +1 -0
- package/dist/types/src/components/Form/fields/TextField.d.ts +4 -0
- package/dist/types/src/components/Form/fields/TextField.d.ts.map +1 -0
- package/dist/types/src/components/Form/fields/TupleField.d.ts +6 -0
- package/dist/types/src/components/Form/fields/TupleField.d.ts.map +1 -0
- package/dist/types/src/components/Form/fields/index.d.ts +14 -0
- package/dist/types/src/components/Form/fields/index.d.ts.map +1 -0
- package/dist/types/src/components/Form/index.d.ts +5 -4
- package/dist/types/src/components/Form/index.d.ts.map +1 -1
- package/dist/types/src/components/Form/meta-tags.d.ts +30 -0
- package/dist/types/src/components/Form/meta-tags.d.ts.map +1 -0
- package/dist/types/src/components/Form/meta-tags.test.d.ts +2 -0
- package/dist/types/src/components/Form/meta-tags.test.d.ts.map +1 -0
- package/dist/types/src/components/ObjectForm/ObjectForm.d.ts +8 -0
- package/dist/types/src/components/ObjectForm/ObjectForm.d.ts.map +1 -0
- package/dist/types/src/components/ObjectForm/ObjectForm.stories.d.ts +87 -0
- package/dist/types/src/components/ObjectForm/ObjectForm.stories.d.ts.map +1 -0
- package/dist/types/src/components/ObjectForm/index.d.ts +2 -0
- package/dist/types/src/components/ObjectForm/index.d.ts.map +1 -0
- package/dist/types/src/components/ObjectPicker/ObjectPicker.d.ts +39 -12
- package/dist/types/src/components/ObjectPicker/ObjectPicker.d.ts.map +1 -1
- package/dist/types/src/components/ObjectPicker/ObjectPicker.stories.d.ts +69 -58
- package/dist/types/src/components/ObjectPicker/ObjectPicker.stories.d.ts.map +1 -1
- package/dist/types/src/components/ObjectProperties/ObjectProperties.d.ts +9 -0
- package/dist/types/src/components/ObjectProperties/ObjectProperties.d.ts.map +1 -0
- package/dist/types/src/components/ObjectProperties/ObjectProperties.stories.d.ts +132 -0
- package/dist/types/src/components/ObjectProperties/ObjectProperties.stories.d.ts.map +1 -0
- package/dist/types/src/components/ObjectProperties/ObjectProperties.test.d.ts +2 -0
- package/dist/types/src/components/ObjectProperties/ObjectProperties.test.d.ts.map +1 -0
- package/dist/types/src/components/ObjectProperties/index.d.ts +2 -0
- package/dist/types/src/components/ObjectProperties/index.d.ts.map +1 -0
- package/dist/types/src/components/ObjectTree/ObjectTree.d.ts +9 -0
- package/dist/types/src/components/ObjectTree/ObjectTree.d.ts.map +1 -0
- package/dist/types/src/components/ObjectTree/ObjectTree.stories.d.ts +91 -0
- package/dist/types/src/components/ObjectTree/ObjectTree.stories.d.ts.map +1 -0
- package/dist/types/src/components/ObjectTree/index.d.ts +2 -0
- package/dist/types/src/components/ObjectTree/index.d.ts.map +1 -0
- package/dist/types/src/components/RefEditor/RefEditor.d.ts +73 -0
- package/dist/types/src/components/RefEditor/RefEditor.d.ts.map +1 -0
- package/dist/types/src/components/RefEditor/RefEditor.stories.d.ts +92 -0
- package/dist/types/src/components/RefEditor/RefEditor.stories.d.ts.map +1 -0
- package/dist/types/src/components/RefEditor/index.d.ts +3 -0
- package/dist/types/src/components/RefEditor/index.d.ts.map +1 -0
- package/dist/types/src/components/RefEditor/ref-editor-extension.d.ts +47 -0
- package/dist/types/src/components/RefEditor/ref-editor-extension.d.ts.map +1 -0
- package/dist/types/src/components/Settings/Settings.d.ts +51 -0
- package/dist/types/src/components/Settings/Settings.d.ts.map +1 -0
- package/dist/types/src/components/Settings/Settings.stories.d.ts +89 -0
- package/dist/types/src/components/Settings/Settings.stories.d.ts.map +1 -0
- package/dist/types/src/components/Settings/SettingsFieldSet.d.ts +43 -0
- package/dist/types/src/components/Settings/SettingsFieldSet.d.ts.map +1 -0
- package/dist/types/src/components/Settings/SettingsItem.d.ts +16 -0
- package/dist/types/src/components/Settings/SettingsItem.d.ts.map +1 -0
- package/dist/types/src/components/Settings/SettingsSelectField.d.ts +18 -0
- package/dist/types/src/components/Settings/SettingsSelectField.d.ts.map +1 -0
- package/dist/types/src/components/Settings/index.d.ts +4 -0
- package/dist/types/src/components/Settings/index.d.ts.map +1 -0
- package/dist/types/src/components/ViewEditor/ViewEditor.d.ts +15 -19
- package/dist/types/src/components/ViewEditor/ViewEditor.d.ts.map +1 -1
- package/dist/types/src/components/ViewEditor/ViewEditor.stories.d.ts +75 -64
- package/dist/types/src/components/ViewEditor/ViewEditor.stories.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +5 -1
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/components/testing.d.ts +13 -6
- package/dist/types/src/components/testing.d.ts.map +1 -1
- package/dist/types/src/hooks/index.d.ts +2 -3
- package/dist/types/src/hooks/index.d.ts.map +1 -1
- package/dist/types/src/hooks/useFormHandler.d.ts +82 -0
- package/dist/types/src/hooks/useFormHandler.d.ts.map +1 -0
- package/dist/types/src/hooks/useKeyHandler.d.ts +7 -0
- package/dist/types/src/hooks/useKeyHandler.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +0 -2
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +70 -59
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/util/field-type.d.ts +19 -0
- package/dist/types/src/util/field-type.d.ts.map +1 -0
- package/dist/types/src/util/field.d.ts +3 -3
- package/dist/types/src/util/field.d.ts.map +1 -1
- package/dist/types/src/util/formatting.d.ts +2 -2
- package/dist/types/src/util/formatting.d.ts.map +1 -1
- package/dist/types/src/util/index.d.ts +2 -1
- package/dist/types/src/util/index.d.ts.map +1 -1
- package/dist/types/src/util/properties.d.ts +35 -0
- package/dist/types/src/util/properties.d.ts.map +1 -0
- package/dist/types/src/util/properties.test.d.ts +2 -0
- package/dist/types/src/util/properties.test.d.ts.map +1 -0
- package/dist/types/src/util/refs.d.ts +2 -2
- package/dist/types/src/util/refs.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +64 -52
- package/src/components/FieldEditor/FieldEditor.stories.tsx +44 -25
- package/src/components/FieldEditor/FieldEditor.test.tsx +4 -2
- package/src/components/FieldEditor/FieldEditor.tsx +91 -86
- package/src/components/Form/AUDIT.md +17 -0
- package/src/components/Form/Form.stories.tsx +147 -252
- package/src/components/Form/Form.tsx +461 -108
- package/src/components/Form/FormField.tsx +345 -0
- package/src/components/Form/FormFieldComponent.stories.tsx +65 -0
- package/src/components/Form/FormFieldComponent.tsx +253 -0
- package/src/components/Form/FormFieldSet.tsx +213 -0
- package/src/components/Form/FormTooltipsContext.ts +25 -0
- package/src/components/Form/Layout/FormLayout.stories.test.tsx +51 -0
- package/src/components/Form/Layout/FormLayout.stories.tsx +422 -0
- package/src/components/Form/Layout/FormLayout.test.ts +59 -0
- package/src/components/Form/Layout/FormLayout.tsx +251 -0
- package/src/components/Form/Layout/annotation.ts +38 -0
- package/src/components/Form/Layout/index.ts +7 -0
- package/src/components/Form/Layout/parser.test.ts +120 -0
- package/src/components/Form/Layout/parser.ts +167 -0
- package/src/components/Form/README.md +3 -0
- package/src/components/Form/fields/ArrayField.tsx +173 -0
- package/src/components/Form/fields/BooleanField.tsx +22 -0
- package/src/components/Form/fields/DateField.tsx +101 -0
- package/src/components/Form/fields/GeoPointField.tsx +124 -0
- package/src/components/Form/fields/InlineRefField.tsx +138 -0
- package/src/components/Form/fields/MarkdownField.stories.tsx +206 -0
- package/src/components/Form/fields/MarkdownField.tsx +167 -0
- package/src/components/Form/fields/NumberField.tsx +76 -0
- package/src/components/Form/fields/RefField.test.ts +45 -0
- package/src/components/Form/fields/RefField.tsx +266 -0
- package/src/components/Form/fields/SelectField.tsx +77 -0
- package/src/components/Form/{custom/SelectOptionsInput.stories.tsx → fields/SelectOptionField.stories.tsx} +23 -18
- package/src/components/Form/{custom/SelectOptionsInput.tsx → fields/SelectOptionField.tsx} +33 -26
- package/src/components/Form/fields/TextAreaField.tsx +38 -0
- package/src/components/Form/fields/TextField.tsx +38 -0
- package/src/components/Form/{custom/TupleInput.tsx → fields/TupleField.tsx} +17 -9
- package/src/components/Form/fields/index.ts +17 -0
- package/src/components/Form/index.ts +6 -4
- package/src/components/Form/meta-tags.test.ts +47 -0
- package/src/components/Form/meta-tags.ts +33 -0
- package/src/components/ObjectForm/ObjectForm.stories.tsx +62 -0
- package/src/components/ObjectForm/ObjectForm.tsx +111 -0
- package/src/components/{ControlSection → ObjectForm}/index.ts +1 -1
- package/src/components/ObjectPicker/ObjectPicker.stories.tsx +26 -21
- package/src/components/ObjectPicker/ObjectPicker.tsx +123 -82
- package/src/components/ObjectProperties/ObjectProperties.stories.tsx +350 -0
- package/src/components/ObjectProperties/ObjectProperties.test.tsx +111 -0
- package/src/components/ObjectProperties/ObjectProperties.tsx +146 -0
- package/src/components/ObjectProperties/index.ts +5 -0
- package/src/components/ObjectTree/ObjectTree.stories.tsx +134 -0
- package/src/components/ObjectTree/ObjectTree.tsx +190 -0
- package/src/components/ObjectTree/index.ts +5 -0
- package/src/components/RefEditor/RefEditor.stories.tsx +148 -0
- package/src/components/RefEditor/RefEditor.tsx +275 -0
- package/src/components/RefEditor/index.ts +6 -0
- package/src/components/RefEditor/ref-editor-extension.ts +254 -0
- package/src/components/Settings/AUDIT.md +51 -0
- package/src/components/Settings/Settings.stories.tsx +104 -0
- package/src/components/Settings/Settings.tsx +81 -0
- package/src/components/Settings/SettingsFieldSet.tsx +257 -0
- package/src/components/Settings/SettingsItem.tsx +58 -0
- package/src/components/Settings/SettingsSelectField.tsx +59 -0
- package/src/components/Settings/index.ts +7 -0
- package/src/components/ViewEditor/ViewEditor.stories.tsx +70 -76
- package/src/components/ViewEditor/ViewEditor.test.tsx +17 -13
- package/src/components/ViewEditor/ViewEditor.tsx +340 -226
- package/src/components/index.ts +5 -1
- package/src/components/testing.tsx +24 -11
- package/src/hooks/index.ts +2 -3
- package/src/hooks/useFormHandler.ts +380 -0
- package/src/hooks/useKeyHandler.tsx +37 -0
- package/src/index.ts +0 -4
- package/src/translations.ts +76 -64
- package/src/util/field-type.ts +60 -0
- package/src/util/field.ts +25 -25
- package/src/util/formatting.ts +22 -22
- package/src/util/index.ts +2 -1
- package/src/util/properties.test.ts +153 -0
- package/src/util/properties.ts +100 -0
- package/src/util/refs.ts +16 -15
- package/src/vite-env.d.ts +10 -0
- package/dist/types/src/components/ControlSection/ControlSection.d.ts +0 -23
- package/dist/types/src/components/ControlSection/ControlSection.d.ts.map +0 -1
- package/dist/types/src/components/ControlSection/ControlSection.stories.d.ts +0 -83
- package/dist/types/src/components/ControlSection/ControlSection.stories.d.ts.map +0 -1
- package/dist/types/src/components/ControlSection/index.d.ts +0 -2
- package/dist/types/src/components/ControlSection/index.d.ts.map +0 -1
- package/dist/types/src/components/Form/ArrayField.d.ts +0 -16
- package/dist/types/src/components/Form/ArrayField.d.ts.map +0 -1
- package/dist/types/src/components/Form/Defaults.d.ts +0 -14
- package/dist/types/src/components/Form/Defaults.d.ts.map +0 -1
- package/dist/types/src/components/Form/FormActions.d.ts +0 -9
- package/dist/types/src/components/Form/FormActions.d.ts.map +0 -1
- package/dist/types/src/components/Form/FormContent.d.ts +0 -63
- package/dist/types/src/components/Form/FormContent.d.ts.map +0 -1
- package/dist/types/src/components/Form/FormContext.d.ts +0 -23
- package/dist/types/src/components/Form/FormContext.d.ts.map +0 -1
- package/dist/types/src/components/Form/Input.d.ts +0 -29
- package/dist/types/src/components/Form/Input.d.ts.map +0 -1
- package/dist/types/src/components/Form/RefField.d.ts +0 -22
- package/dist/types/src/components/Form/RefField.d.ts.map +0 -1
- package/dist/types/src/components/Form/custom/GeoPointInput.d.ts +0 -4
- package/dist/types/src/components/Form/custom/GeoPointInput.d.ts.map +0 -1
- package/dist/types/src/components/Form/custom/SelectOptionsInput.d.ts +0 -4
- package/dist/types/src/components/Form/custom/SelectOptionsInput.d.ts.map +0 -1
- package/dist/types/src/components/Form/custom/SelectOptionsInput.stories.d.ts +0 -78
- package/dist/types/src/components/Form/custom/SelectOptionsInput.stories.d.ts.map +0 -1
- package/dist/types/src/components/Form/custom/TupleInput.d.ts +0 -6
- package/dist/types/src/components/Form/custom/TupleInput.d.ts.map +0 -1
- package/dist/types/src/components/Form/custom/index.d.ts +0 -4
- package/dist/types/src/components/Form/custom/index.d.ts.map +0 -1
- package/dist/types/src/components/Form/factory.d.ts +0 -8
- package/dist/types/src/components/Form/factory.d.ts.map +0 -1
- package/dist/types/src/hooks/useForm.d.ts +0 -67
- package/dist/types/src/hooks/useForm.d.ts.map +0 -1
- package/dist/types/src/hooks/useQueryRefOptions.d.ts +0 -29
- package/dist/types/src/hooks/useQueryRefOptions.d.ts.map +0 -1
- package/dist/types/src/hooks/useRefQueryLookupHandler.d.ts +0 -8
- package/dist/types/src/hooks/useRefQueryLookupHandler.d.ts.map +0 -1
- package/dist/types/src/util/schema.d.ts +0 -3
- package/dist/types/src/util/schema.d.ts.map +0 -1
- package/src/components/ControlSection/ControlSection.stories.tsx +0 -38
- package/src/components/ControlSection/ControlSection.tsx +0 -153
- package/src/components/Form/ArrayField.tsx +0 -125
- package/src/components/Form/Defaults.tsx +0 -205
- package/src/components/Form/FormActions.tsx +0 -54
- package/src/components/Form/FormContent.tsx +0 -362
- package/src/components/Form/FormContext.tsx +0 -110
- package/src/components/Form/Input.tsx +0 -54
- package/src/components/Form/RefField.tsx +0 -283
- package/src/components/Form/custom/GeoPointInput.tsx +0 -80
- package/src/components/Form/custom/index.ts +0 -7
- package/src/components/Form/factory.tsx +0 -31
- package/src/hooks/useForm.ts +0 -296
- package/src/hooks/useQueryRefOptions.ts +0 -62
- package/src/hooks/useRefQueryLookupHandler.ts +0 -39
- package/src/util/schema.ts +0 -12
|
@@ -9,73 +9,87 @@ export type FieldEditorDebugObjects = {
|
|
|
9
9
|
declare const meta: {
|
|
10
10
|
title: string;
|
|
11
11
|
component: any;
|
|
12
|
-
render: (
|
|
12
|
+
render: () => React.JSX.Element;
|
|
13
13
|
decorators: import("@storybook/react").Decorator[];
|
|
14
14
|
parameters: {
|
|
15
15
|
layout: string;
|
|
16
16
|
translations: [{
|
|
17
17
|
readonly 'en-US': {
|
|
18
|
-
readonly "react-ui-form": {
|
|
19
|
-
readonly '
|
|
20
|
-
readonly '
|
|
21
|
-
readonly '
|
|
22
|
-
readonly '
|
|
23
|
-
readonly 'field
|
|
24
|
-
readonly 'field
|
|
25
|
-
readonly 'field
|
|
26
|
-
readonly 'field
|
|
27
|
-
readonly '
|
|
28
|
-
readonly '
|
|
29
|
-
readonly '
|
|
30
|
-
readonly '
|
|
31
|
-
readonly 'boolean
|
|
32
|
-
readonly '
|
|
33
|
-
readonly '
|
|
34
|
-
readonly '
|
|
35
|
-
readonly '
|
|
36
|
-
readonly '
|
|
37
|
-
readonly '
|
|
38
|
-
readonly '
|
|
39
|
-
readonly '
|
|
40
|
-
readonly '
|
|
41
|
-
readonly '
|
|
42
|
-
readonly '
|
|
43
|
-
readonly '
|
|
44
|
-
readonly '
|
|
45
|
-
readonly '
|
|
46
|
-
readonly '
|
|
47
|
-
readonly '
|
|
48
|
-
readonly '
|
|
49
|
-
readonly '
|
|
50
|
-
readonly 'format
|
|
51
|
-
readonly 'format
|
|
52
|
-
readonly 'format
|
|
53
|
-
readonly 'format
|
|
54
|
-
readonly 'format
|
|
55
|
-
readonly 'format
|
|
56
|
-
readonly 'format
|
|
57
|
-
readonly 'format
|
|
58
|
-
readonly 'format
|
|
59
|
-
readonly 'format
|
|
60
|
-
readonly 'format
|
|
61
|
-
readonly 'format
|
|
62
|
-
readonly 'format
|
|
63
|
-
readonly 'format
|
|
64
|
-
readonly 'format
|
|
65
|
-
readonly 'format
|
|
66
|
-
readonly 'format
|
|
67
|
-
readonly '
|
|
68
|
-
readonly '
|
|
69
|
-
readonly 'select
|
|
70
|
-
readonly '
|
|
71
|
-
readonly '
|
|
72
|
-
readonly '
|
|
73
|
-
readonly '
|
|
74
|
-
readonly '
|
|
75
|
-
readonly '
|
|
18
|
+
readonly "@dxos/react-ui-form": {
|
|
19
|
+
readonly 'ref-editor.placeholder': "Type '@' to add a reference, or enter a value";
|
|
20
|
+
readonly 'ref-editor-auto.placeholder': 'Search by name, or enter a value';
|
|
21
|
+
readonly 'fields.label': 'Fields';
|
|
22
|
+
readonly 'hidden-fields.label': 'Hidden Fields';
|
|
23
|
+
readonly 'empty-readonly-ref-field.label': '(none)';
|
|
24
|
+
readonly 'field-property.label': 'Property';
|
|
25
|
+
readonly 'field-property.placeholder': 'Property name';
|
|
26
|
+
readonly 'field-format.label': 'Type';
|
|
27
|
+
readonly 'field-path.label': 'Field path';
|
|
28
|
+
readonly 'remove-item.button': 'Delete item';
|
|
29
|
+
readonly 'add-item.button': 'Add item';
|
|
30
|
+
readonly 'add-property-button.label': 'Add property';
|
|
31
|
+
readonly 'boolean-input-true.value': 'Yes';
|
|
32
|
+
readonly 'boolean-input-false.value': 'No';
|
|
33
|
+
readonly 'show-field.label': 'Show field';
|
|
34
|
+
readonly 'hide-field.label': 'Hide field';
|
|
35
|
+
readonly 'expand-fields.label': 'Expand';
|
|
36
|
+
readonly 'collapse-fields.label': 'Collapse';
|
|
37
|
+
readonly 'delete-field.label': 'Delete field';
|
|
38
|
+
readonly 'create-option.label': 'Create';
|
|
39
|
+
readonly 'add-tag.label': 'Add tag';
|
|
40
|
+
readonly 'ref-field-combobox-input.placeholder': 'Search\u2026';
|
|
41
|
+
readonly 'ref-field.placeholder': 'Select\u2026';
|
|
42
|
+
readonly 'ref-field.placeholder_one': 'Select\u2026';
|
|
43
|
+
readonly 'ref-field.placeholder_other': 'Select items\u2026';
|
|
44
|
+
readonly 'example.placeholder': 'Example';
|
|
45
|
+
readonly 'latitude.placeholder': 'Latitude (e.g., 40.7128)';
|
|
46
|
+
readonly 'longitude.placeholder': 'Longitude (e.g., -74.0060)';
|
|
47
|
+
readonly 'cancel-button.label': 'Cancel';
|
|
48
|
+
readonly 'save-button.label': 'Save';
|
|
49
|
+
readonly 'create-text.label': 'Create text';
|
|
50
|
+
readonly 'format.boolean.label': 'Boolean';
|
|
51
|
+
readonly 'format.currency.label': 'Currency';
|
|
52
|
+
readonly 'format.date.label': 'Date';
|
|
53
|
+
readonly 'format.date-time.label': 'DateTime';
|
|
54
|
+
readonly 'format.did.label': 'DID';
|
|
55
|
+
readonly 'format.duration.label': 'Duration';
|
|
56
|
+
readonly 'format.dxn.label': 'DXN';
|
|
57
|
+
readonly 'format.email.label': 'Email';
|
|
58
|
+
readonly 'format.formula.label': 'Formula';
|
|
59
|
+
readonly 'format.hostname.label': 'Hostname';
|
|
60
|
+
readonly 'format.integer.label': 'Integer';
|
|
61
|
+
readonly 'format.json.label': 'JSON';
|
|
62
|
+
readonly 'format.lnglat.label': 'Geopoint';
|
|
63
|
+
readonly 'format.markdown.label': 'Markdown';
|
|
64
|
+
readonly 'format.percent.label': 'Percent';
|
|
65
|
+
readonly 'format.ref.label': 'Reference';
|
|
66
|
+
readonly 'format.regex.label': 'RegExp';
|
|
67
|
+
readonly 'format.string.label': 'String';
|
|
68
|
+
readonly 'format.single-select.label': 'Select';
|
|
69
|
+
readonly 'format.multi-select.label': 'Multi-select';
|
|
70
|
+
readonly 'format.text.label': 'Long text';
|
|
71
|
+
readonly 'format.time.label': 'Time';
|
|
72
|
+
readonly 'format.timestamp.label': 'Timestamp';
|
|
73
|
+
readonly 'format.user.label': 'User';
|
|
74
|
+
readonly 'format.number.label': 'Number';
|
|
75
|
+
readonly 'format.uri.label': 'URI';
|
|
76
|
+
readonly 'format.url.label': 'URL';
|
|
77
|
+
readonly 'format.uuid.label': 'UUID';
|
|
78
|
+
readonly 'latitude.label': 'Latitude';
|
|
79
|
+
readonly 'longitude.label': 'Longitude';
|
|
80
|
+
readonly 'select-option.label': 'Label';
|
|
81
|
+
readonly 'select-option-label.placeholder': 'Option label';
|
|
82
|
+
readonly 'select-option-delete.button': 'Delete';
|
|
83
|
+
readonly 'select-option-add.button': 'Add option';
|
|
84
|
+
readonly 'system-schema.title': 'System type';
|
|
85
|
+
readonly 'system-schema.description': 'System type: cannot add or remove fields.';
|
|
86
|
+
readonly 'remove.button': 'Delete';
|
|
76
87
|
};
|
|
77
88
|
};
|
|
78
89
|
}];
|
|
90
|
+
controls: {
|
|
91
|
+
disabled: boolean;
|
|
92
|
+
};
|
|
79
93
|
};
|
|
80
94
|
};
|
|
81
95
|
export default meta;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldEditor.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/FieldEditor/FieldEditor.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAA6B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"FieldEditor.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/FieldEditor/FieldEditor.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAA6B,MAAM,OAAO,CAAC;AAMlD,OAAO,EAAE,eAAe,EAAuC,MAAM,cAAc,CAAC;AAMpF,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEnE,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,EAAE,gBAAgB,CAAC;IACxB,UAAU,EAAE,eAAe,CAAC;CAC7B,CAAC;AAwDF,QAAA,MAAM,IAAI;;eAEkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAOzB,QAAQ;;;CAGuB,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|
|
@@ -1,29 +1,137 @@
|
|
|
1
|
-
import
|
|
2
|
-
import React, { type
|
|
3
|
-
import {
|
|
4
|
-
import { type
|
|
5
|
-
import { type
|
|
6
|
-
import { type
|
|
7
|
-
import { type
|
|
8
|
-
import { type
|
|
9
|
-
import { type
|
|
10
|
-
export type
|
|
11
|
-
export
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
1
|
+
import * as Schema from 'effect/Schema';
|
|
2
|
+
import React, { type PropsWithChildren } from 'react';
|
|
3
|
+
import { Type } from '@dxos/echo';
|
|
4
|
+
import { type AnyProperties } from '@dxos/echo/internal';
|
|
5
|
+
import { type ColumnRootProps, type IconButtonProps, type ThemedClassName } from '@dxos/react-ui';
|
|
6
|
+
import { type FormHandler, type FormHandlerProps, type FormUpdateMeta } from '../../hooks';
|
|
7
|
+
import { type FormFieldLabelProps, type FormFieldStateProps } from './FormFieldComponent';
|
|
8
|
+
import { type FormFieldSetProps as NaturalFormFieldSetProps } from './FormFieldSet';
|
|
9
|
+
import { type FormLayoutProps as NaturalFormLayoutProps } from './Layout/FormLayout';
|
|
10
|
+
export type ExcludeId<S extends Schema.Schema.AnyNoContext | Type.AnyEntity> = Omit<S extends Type.AnyEntity ? Type.InstanceType<S> : S extends Schema.Schema.AnyNoContext ? Schema.Schema.Type<S> : never, 'id'>;
|
|
11
|
+
export declare const omitId: <S extends Schema.Schema.AnyNoContext | Type.AnyEntity>(schemaOrType: S) => Schema.Schema<ExcludeId<S>, ExcludeId<S>>;
|
|
12
|
+
/**
|
|
13
|
+
* Drop fields annotated with `FormInputAnnotation.set(false)` from a schema so
|
|
14
|
+
* the form's validator doesn't trip on required-but-hidden fields. Used by
|
|
15
|
+
* the picker's inline create form, where a `FactoryAnnotation` typically
|
|
16
|
+
* supplies the hidden values (e.g. a backing-object Ref) outside the form.
|
|
17
|
+
*/
|
|
18
|
+
export declare const omitHiddenFormFields: <S extends Schema.Schema.AnyNoContext>(schema: S) => S;
|
|
19
|
+
type FormContextValue<T extends AnyProperties = any> = {
|
|
20
|
+
/**
|
|
21
|
+
* Form handler.
|
|
22
|
+
*/
|
|
23
|
+
form: FormHandler<T>;
|
|
24
|
+
/**
|
|
25
|
+
* Show field tooltips (currently: JSON path on each label). Defaults to
|
|
26
|
+
* `true`; pass `false` to suppress.
|
|
27
|
+
*/
|
|
28
|
+
tooltips?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Testing.
|
|
31
|
+
*/
|
|
32
|
+
testId?: string;
|
|
33
|
+
} & Pick<NaturalFormFieldSetProps<T>, 'readonly' | 'layout' | 'fieldMap' | 'fieldProvider' | 'projection' | 'createTypename' | 'createFieldMap' | 'db'>;
|
|
34
|
+
declare const useFormContext: (consumerName: string) => FormContextValue<any>;
|
|
35
|
+
/**
|
|
36
|
+
* Get the current form values.
|
|
37
|
+
*/
|
|
38
|
+
declare const useFormValues: {
|
|
39
|
+
<T extends AnyProperties>(componentName: string, path?: (string | number)[]): T;
|
|
40
|
+
<T extends AnyProperties>(componentName: string, path: (string | number)[] | undefined, defaultValue: () => T): T | undefined;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Get the state props for the given field.
|
|
44
|
+
*/
|
|
45
|
+
declare const useFormFieldState: (componentName: string, path?: (string | number)[]) => FormFieldStateProps;
|
|
46
|
+
type FormRootProps<T extends AnyProperties = AnyProperties> = PropsWithChildren<{
|
|
47
|
+
/**
|
|
48
|
+
* Called when the form is submitted and passes validation.
|
|
49
|
+
*/
|
|
50
|
+
onSave?: (values: T, meta: FormUpdateMeta<T>) => void;
|
|
51
|
+
/**
|
|
52
|
+
* Called when the form is canceled to abandon/undo any pending changes.
|
|
53
|
+
*/
|
|
26
54
|
onCancel?: () => void;
|
|
27
|
-
}> & Pick<
|
|
28
|
-
|
|
55
|
+
} & Omit<FormContextValue<T>, 'form'> & Pick<FormHandlerProps<T>, 'schema' | 'autoSave' | 'values' | 'defaultValues' | 'onValidate' | 'onValuesChanged'> & Omit<NaturalFormFieldSetProps<T>, 'schema' | 'path'>>;
|
|
56
|
+
declare function FormRoot<T extends AnyProperties = AnyProperties>({ children, schema, values, onSave, onCancel, ...props }: FormRootProps<T>): React.JSX.Element;
|
|
57
|
+
declare namespace FormRoot {
|
|
58
|
+
var displayName: string;
|
|
59
|
+
}
|
|
60
|
+
type FormViewportProps = {
|
|
61
|
+
scroll?: boolean;
|
|
62
|
+
gutter?: ColumnRootProps['gutter'];
|
|
63
|
+
};
|
|
64
|
+
type FormContentProps = ThemedClassName<PropsWithChildren<{}>>;
|
|
65
|
+
type FormFieldSetProps = ThemedClassName<NaturalFormFieldSetProps<any>>;
|
|
66
|
+
declare function FormFieldSet(props: FormFieldSetProps): React.JSX.Element;
|
|
67
|
+
declare namespace FormFieldSet {
|
|
68
|
+
var displayName: string;
|
|
69
|
+
}
|
|
70
|
+
type FormLayoutProps = Omit<NaturalFormLayoutProps, 'schema'> & {
|
|
71
|
+
schema?: NaturalFormLayoutProps['schema'];
|
|
72
|
+
};
|
|
73
|
+
declare function FormLayout({ schema, ...props }: FormLayoutProps): React.JSX.Element | null;
|
|
74
|
+
declare namespace FormLayout {
|
|
75
|
+
var displayName: string;
|
|
76
|
+
}
|
|
77
|
+
type FormActionsProps = ThemedClassName<{}>;
|
|
78
|
+
declare function FormActions({ classNames }: FormActionsProps): React.JSX.Element | null;
|
|
79
|
+
declare namespace FormActions {
|
|
80
|
+
var displayName: string;
|
|
81
|
+
}
|
|
82
|
+
type FormSectionProps = ThemedClassName<{
|
|
83
|
+
label?: string;
|
|
84
|
+
description?: string;
|
|
85
|
+
}>;
|
|
86
|
+
type FormSubmitProps = ThemedClassName<Partial<Pick<IconButtonProps, 'icon' | 'label' | 'disabled'>>>;
|
|
87
|
+
declare function FormSubmit({ classNames, label, icon, disabled }: FormSubmitProps): React.JSX.Element | null;
|
|
88
|
+
declare namespace FormSubmit {
|
|
89
|
+
var displayName: string;
|
|
90
|
+
}
|
|
91
|
+
type FormErrorProps = ThemedClassName<PropsWithChildren>;
|
|
92
|
+
declare function FormError({ children, classNames }: FormErrorProps): React.JSX.Element | null;
|
|
93
|
+
declare namespace FormError {
|
|
94
|
+
var displayName: string;
|
|
95
|
+
}
|
|
96
|
+
export declare const Form: {
|
|
97
|
+
Root: {
|
|
98
|
+
<T extends AnyProperties = AnyProperties>({ children, schema, values, onSave, onCancel, ...props }: FormRootProps<T>): React.JSX.Element;
|
|
99
|
+
displayName: string;
|
|
100
|
+
};
|
|
101
|
+
Viewport: React.ForwardRefExoticComponent<Omit<FormViewportProps, "className"> & {
|
|
102
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
103
|
+
} & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
|
|
104
|
+
Content: React.ForwardRefExoticComponent<Omit<FormContentProps, "className"> & {
|
|
105
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
106
|
+
} & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
|
|
107
|
+
Section: React.ForwardRefExoticComponent<Omit<FormSectionProps, "className"> & {
|
|
108
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
109
|
+
} & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
|
|
110
|
+
FieldSet: {
|
|
111
|
+
(props: FormFieldSetProps): React.JSX.Element;
|
|
112
|
+
displayName: string;
|
|
113
|
+
};
|
|
114
|
+
Layout: {
|
|
115
|
+
({ schema, ...props }: FormLayoutProps): React.JSX.Element | null;
|
|
116
|
+
displayName: string;
|
|
117
|
+
};
|
|
118
|
+
Label: {
|
|
119
|
+
({ classNames, label, error, readonly, asChild, path, button, onClick, }: FormFieldLabelProps): React.JSX.Element;
|
|
120
|
+
displayName: string;
|
|
121
|
+
};
|
|
122
|
+
Actions: {
|
|
123
|
+
({ classNames }: FormActionsProps): React.JSX.Element | null;
|
|
124
|
+
displayName: string;
|
|
125
|
+
};
|
|
126
|
+
Submit: {
|
|
127
|
+
({ classNames, label, icon, disabled }: FormSubmitProps): React.JSX.Element | null;
|
|
128
|
+
displayName: string;
|
|
129
|
+
};
|
|
130
|
+
Error: {
|
|
131
|
+
({ children, classNames }: FormErrorProps): React.JSX.Element | null;
|
|
132
|
+
displayName: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
export { useFormContext, useFormValues, useFormFieldState };
|
|
136
|
+
export type { FormRootProps, FormViewportProps, FormContentProps, FormSectionProps, FormFieldSetProps, FormLayoutProps, FormFieldLabelProps, FormActionsProps, FormSubmitProps, };
|
|
29
137
|
//# sourceMappingURL=Form.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../src/components/Form/Form.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../src/components/Form/Form.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAA8B,MAAM,OAAO,CAAC;AAElF,OAAO,EAAgC,IAAI,EAAE,MAAM,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