@dxos/react-ui-form 0.8.4-main.21d9917 → 0.8.4-main.2244d791bb
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/lib/browser/index.mjs +400 -357
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs +400 -357
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/components/Form/Form.d.ts +5 -5
- package/dist/types/src/components/Form/Form.d.ts.map +1 -1
- package/dist/types/src/components/Form/Form.stories.d.ts +1 -1
- package/dist/types/src/components/Form/Form.stories.d.ts.map +1 -1
- package/dist/types/src/components/Form/FormFieldComponent.d.ts.map +1 -1
- package/dist/types/src/components/Form/FormFieldSet.d.ts +1 -1
- package/dist/types/src/components/Form/FormFieldSet.d.ts.map +1 -1
- package/dist/types/src/components/Form/fields/ArrayField.d.ts.map +1 -1
- package/dist/types/src/components/Form/fields/RefField.d.ts +1 -1
- package/dist/types/src/components/Form/fields/RefField.d.ts.map +1 -1
- package/dist/types/src/components/ObjectPicker/ObjectPicker.d.ts.map +1 -1
- package/dist/types/src/components/Settings/Settings.d.ts +56 -0
- package/dist/types/src/components/Settings/Settings.d.ts.map +1 -0
- package/dist/types/src/components/{ControlSection/ControlSection.stories.d.ts → Settings/Settings.stories.d.ts} +2 -8
- package/dist/types/src/components/Settings/Settings.stories.d.ts.map +1 -0
- package/dist/types/src/components/Settings/index.d.ts +2 -0
- package/dist/types/src/components/Settings/index.d.ts.map +1 -0
- package/dist/types/src/components/ViewEditor/ViewEditor.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +1 -1
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/hooks/useFormHandler.d.ts.map +1 -1
- package/dist/types/src/util/echo.d.ts +6 -0
- package/dist/types/src/util/echo.d.ts.map +1 -0
- package/dist/types/src/util/index.d.ts +1 -0
- package/dist/types/src/util/index.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +34 -34
- package/src/components/FieldEditor/FieldEditor.stories.tsx +1 -1
- package/src/components/Form/Form-old.stories.tsx +1 -1
- package/src/components/Form/Form.stories.tsx +5 -2
- package/src/components/Form/Form.tsx +31 -21
- package/src/components/Form/FormFieldComponent.stories.tsx +1 -1
- package/src/components/Form/FormFieldComponent.tsx +15 -15
- package/src/components/Form/FormFieldSet.tsx +4 -2
- package/src/components/Form/fields/ArrayField.tsx +3 -0
- package/src/components/Form/fields/RefField.tsx +11 -3
- package/src/components/Form/fields/SelectOptionField.stories.tsx +1 -1
- package/src/components/ObjectPicker/ObjectPicker.stories.tsx +1 -1
- package/src/components/Settings/Settings.stories.tsx +56 -0
- package/src/components/Settings/Settings.tsx +234 -0
- package/src/components/{ControlSection → Settings}/index.ts +1 -1
- package/src/components/ViewEditor/ViewEditor.stories.tsx +3 -3
- package/src/components/ViewEditor/ViewEditor.test.tsx +1 -5
- package/src/components/ViewEditor/ViewEditor.tsx +39 -44
- package/src/components/index.ts +1 -1
- package/src/hooks/useFormHandler.ts +7 -1
- package/src/util/echo.ts +25 -0
- package/src/util/index.ts +1 -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.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/src/components/ControlSection/ControlSection.stories.tsx +0 -38
- package/src/components/ControlSection/ControlSection.tsx +0 -153
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/translations.ts":{"bytes":9240,"imports":[],"format":"esm"},"src/components/ControlSection/ControlSection.tsx":{"bytes":14903,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"../../translations"}],"format":"esm"},"src/components/ControlSection/index.ts":{"bytes":496,"imports":[{"path":"src/components/ControlSection/ControlSection.tsx","kind":"import-statement","original":"./ControlSection"}],"format":"esm"},"src/util/field.ts":{"bytes":14589,"imports":[{"path":"@dxos/echo/internal","kind":"import-statement","external":true}],"format":"esm"},"src/util/formatting.ts":{"bytes":17095,"imports":[{"path":"date-fns/format","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true}],"format":"esm"},"src/util/properties.ts":{"bytes":2028,"imports":[{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true}],"format":"esm"},"src/util/refs.ts":{"bytes":2526,"imports":[{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true}],"format":"esm"},"src/util/index.ts":{"bytes":714,"imports":[{"path":"src/util/field.ts","kind":"import-statement","original":"./field"},{"path":"src/util/formatting.ts","kind":"import-statement","original":"./formatting"},{"path":"src/util/properties.ts","kind":"import-statement","original":"./properties"},{"path":"src/util/refs.ts","kind":"import-statement","original":"./refs"}],"format":"esm"},"src/hooks/useFormHandler.ts":{"bytes":27944,"imports":[{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useKeyHandler.tsx":{"bytes":3194,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/index.ts":{"bytes":577,"imports":[{"path":"src/hooks/useFormHandler.ts","kind":"import-statement","original":"./useFormHandler"},{"path":"src/hooks/useKeyHandler.tsx","kind":"import-statement","original":"./useKeyHandler"}],"format":"esm"},"src/components/Form/FormFieldComponent.tsx":{"bytes":12469,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/Form/FormField.tsx":{"bytes":22301,"imports":[{"path":"effect/Match","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"effect/String","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"../../translations"},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"src/components/Form/fields/index.ts","kind":"import-statement","original":"./fields"},{"path":"src/components/Form/Form.tsx","kind":"import-statement","original":"./Form"},{"path":"src/components/Form/FormFieldSet.tsx","kind":"import-statement","original":"./FormFieldSet"}],"format":"esm"},"src/components/Form/FormFieldSet.tsx":{"bytes":13566,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"src/components/Form/Form.tsx","kind":"import-statement","original":"./Form"},{"path":"src/components/Form/FormField.tsx","kind":"import-statement","original":"./FormField"},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"./FormFieldComponent"}],"format":"esm"},"src/components/Form/Form.tsx":{"bytes":24378,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/translations.ts","kind":"import-statement","original":"../../translations"},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"./FormFieldComponent"},{"path":"src/components/Form/FormFieldSet.tsx","kind":"import-statement","original":"./FormFieldSet"}],"format":"esm"},"src/components/Form/fields/ArrayField.tsx":{"bytes":15645,"imports":[{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"../../../translations"},{"path":"src/util/index.ts","kind":"import-statement","original":"../../../util"},{"path":"src/components/Form/Form.tsx","kind":"import-statement","original":"../Form"},{"path":"src/components/Form/FormField.tsx","kind":"import-statement","original":"../FormField"},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"../FormFieldComponent"}],"format":"esm"},"src/components/Form/fields/BooleanField.tsx":{"bytes":2752,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"../FormFieldComponent"}],"format":"esm"},"src/components/Form/fields/GeoPointField.tsx":{"bytes":14705,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"../../../translations"},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"../FormFieldComponent"}],"format":"esm"},"src/components/Form/fields/MarkdownField.tsx":{"bytes":7778,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"../FormFieldComponent"}],"format":"esm"},"src/components/Form/fields/NumberField.tsx":{"bytes":3505,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"../FormFieldComponent"}],"format":"esm"},"src/components/ObjectPicker/ObjectPicker.tsx":{"bytes":16261,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-searchlist","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"../../translations"},{"path":"src/components/Form/index.ts","kind":"import-statement","original":"../Form"}],"format":"esm"},"src/components/ObjectPicker/index.ts":{"bytes":488,"imports":[{"path":"src/components/ObjectPicker/ObjectPicker.tsx","kind":"import-statement","original":"./ObjectPicker"}],"format":"esm"},"src/components/Form/fields/RefField.tsx":{"bytes":20661,"imports":[{"path":"@dxos/lit-ui/dx-tag-picker.pcss","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/echo-react","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/lit-ui/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"../../../translations"},{"path":"src/components/ObjectPicker/index.ts","kind":"import-statement","original":"../../ObjectPicker"},{"path":"src/components/Form/Form.tsx","kind":"import-statement","original":"../Form"},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"../FormFieldComponent"}],"format":"esm"},"src/components/Form/fields/SelectField.tsx":{"bytes":7016,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"../FormFieldComponent"}],"format":"esm"},"src/components/Form/fields/SelectOptionField.tsx":{"bytes":25581,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-pickers","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"../../../translations"},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"../FormFieldComponent"}],"format":"esm"},"src/components/Form/fields/TextField.tsx":{"bytes":3281,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"../FormFieldComponent"}],"format":"esm"},"src/components/Form/fields/TextAreaField.tsx":{"bytes":3283,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"../FormFieldComponent"}],"format":"esm"},"src/components/Form/fields/TupleField.tsx":{"bytes":5129,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"../FormFieldComponent"}],"format":"esm"},"src/components/Form/fields/index.ts":{"bytes":1466,"imports":[{"path":"src/components/Form/fields/ArrayField.tsx","kind":"import-statement","original":"./ArrayField"},{"path":"src/components/Form/fields/BooleanField.tsx","kind":"import-statement","original":"./BooleanField"},{"path":"src/components/Form/fields/GeoPointField.tsx","kind":"import-statement","original":"./GeoPointField"},{"path":"src/components/Form/fields/MarkdownField.tsx","kind":"import-statement","original":"./MarkdownField"},{"path":"src/components/Form/fields/NumberField.tsx","kind":"import-statement","original":"./NumberField"},{"path":"src/components/Form/fields/RefField.tsx","kind":"import-statement","original":"./RefField"},{"path":"src/components/Form/fields/SelectField.tsx","kind":"import-statement","original":"./SelectField"},{"path":"src/components/Form/fields/SelectOptionField.tsx","kind":"import-statement","original":"./SelectOptionField"},{"path":"src/components/Form/fields/TextField.tsx","kind":"import-statement","original":"./TextField"},{"path":"src/components/Form/fields/TextAreaField.tsx","kind":"import-statement","original":"./TextAreaField"},{"path":"src/components/Form/fields/TupleField.tsx","kind":"import-statement","original":"./TupleField"}],"format":"esm"},"src/components/Form/index.ts":{"bytes":660,"imports":[{"path":"src/components/Form/fields/index.ts","kind":"import-statement","original":"./fields"},{"path":"src/components/Form/Form.tsx","kind":"import-statement","original":"./Form"},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"./FormFieldComponent"}],"format":"esm"},"src/components/FieldEditor/FieldEditor.tsx":{"bytes":22329,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"../../translations"},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"src/components/Form/index.ts","kind":"import-statement","original":"../Form"}],"format":"esm"},"src/components/FieldEditor/index.ts":{"bytes":486,"imports":[{"path":"src/components/FieldEditor/FieldEditor.tsx","kind":"import-statement","original":"./FieldEditor"}],"format":"esm"},"src/components/ViewEditor/ViewEditor.tsx":{"bytes":43986,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Match","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-components","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"../../translations"},{"path":"src/components/FieldEditor/index.ts","kind":"import-statement","original":"../FieldEditor"},{"path":"src/components/Form/index.ts","kind":"import-statement","original":"../Form"}],"format":"esm"},"src/components/ViewEditor/index.ts":{"bytes":480,"imports":[{"path":"src/components/ViewEditor/ViewEditor.tsx","kind":"import-statement","original":"./ViewEditor"}],"format":"esm"},"src/components/index.ts":{"bytes":850,"imports":[{"path":"src/components/ControlSection/index.ts","kind":"import-statement","original":"./ControlSection"},{"path":"src/components/FieldEditor/index.ts","kind":"import-statement","original":"./FieldEditor"},{"path":"src/components/Form/index.ts","kind":"import-statement","original":"./Form"},{"path":"src/components/ObjectPicker/index.ts","kind":"import-statement","original":"./ObjectPicker"},{"path":"src/components/ViewEditor/index.ts","kind":"import-statement","original":"./ViewEditor"}],"format":"esm"},"src/index.ts":{"bytes":879,"imports":[{"path":"src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"src/util/index.ts","kind":"import-statement","original":"./util"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":187350},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"date-fns/format","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"effect/Match","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"effect/String","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/lit-ui/dx-tag-picker.pcss","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/echo-react","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/lit-ui/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-searchlist","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-pickers","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Match","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-components","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"exports":["ArrayField","BooleanField","ControlFrame","ControlFrameItem","ControlGroup","ControlGroupButton","ControlItem","ControlItemInput","ControlPage","ControlSection","ControlSectionHeading","FieldEditor","Form","FormFieldErrorBoundary","FormFieldLabel","FormFieldWrapper","GeoPointField","MarkdownField","NumberField","ObjectPicker","RefField","SelectField","SelectOptionField","TextAreaField","TextField","TupleField","ViewEditor","cellClassesForFieldType","controlItemClasses","formatForDisplay","formatForEditing","getDefaultValue","getFormProperties","getRefProps","omitId","parseValue","pathNotUniqueError","translations","useFormContext","useFormFieldState","useFormHandler","useFormValues","useKeyHandler"],"entryPoint":"src/index.ts","inputs":{"src/translations.ts":{"bytesInOutput":2860},"src/components/ControlSection/ControlSection.tsx":{"bytesInOutput":4304},"src/components/ControlSection/index.ts":{"bytesInOutput":0},"src/components/index.ts":{"bytesInOutput":0},"src/components/FieldEditor/FieldEditor.tsx":{"bytesInOutput":5292},"src/util/field.ts":{"bytesInOutput":3301},"src/util/index.ts":{"bytesInOutput":0},"src/util/formatting.ts":{"bytesInOutput":3890},"src/util/properties.ts":{"bytesInOutput":301},"src/util/refs.ts":{"bytesInOutput":469},"src/components/Form/fields/ArrayField.tsx":{"bytesInOutput":3927},"src/components/Form/Form.tsx":{"bytesInOutput":4934},"src/hooks/useFormHandler.ts":{"bytesInOutput":5832},"src/hooks/index.ts":{"bytesInOutput":0},"src/hooks/useKeyHandler.tsx":{"bytesInOutput":645},"src/components/Form/FormFieldComponent.tsx":{"bytesInOutput":2556},"src/components/Form/FormFieldSet.tsx":{"bytesInOutput":2522},"src/components/Form/FormField.tsx":{"bytesInOutput":4589},"src/components/Form/fields/index.ts":{"bytesInOutput":0},"src/components/Form/fields/BooleanField.tsx":{"bytesInOutput":562},"src/components/Form/fields/GeoPointField.tsx":{"bytesInOutput":4043},"src/components/Form/fields/MarkdownField.tsx":{"bytesInOutput":1667},"src/components/Form/fields/NumberField.tsx":{"bytesInOutput":728},"src/components/Form/fields/RefField.tsx":{"bytesInOutput":5122},"src/components/ObjectPicker/ObjectPicker.tsx":{"bytesInOutput":3912},"src/components/ObjectPicker/index.ts":{"bytesInOutput":0},"src/components/Form/fields/SelectField.tsx":{"bytesInOutput":1764},"src/components/Form/fields/SelectOptionField.tsx":{"bytesInOutput":6322},"src/components/Form/fields/TextField.tsx":{"bytesInOutput":646},"src/components/Form/fields/TextAreaField.tsx":{"bytesInOutput":640},"src/components/Form/fields/TupleField.tsx":{"bytesInOutput":1100},"src/components/Form/index.ts":{"bytesInOutput":0},"src/components/FieldEditor/index.ts":{"bytesInOutput":0},"src/components/ViewEditor/ViewEditor.tsx":{"bytesInOutput":11354},"src/components/ViewEditor/index.ts":{"bytesInOutput":0},"src/index.ts":{"bytesInOutput":0}},"bytes":85444}}}
|
|
1
|
+
{"inputs":{"src/translations.ts":{"bytes":9240,"imports":[],"format":"esm"},"src/util/echo.ts":{"bytes":3271,"imports":[{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true}],"format":"esm"},"src/util/field.ts":{"bytes":14589,"imports":[{"path":"@dxos/echo/internal","kind":"import-statement","external":true}],"format":"esm"},"src/util/formatting.ts":{"bytes":17095,"imports":[{"path":"date-fns/format","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true}],"format":"esm"},"src/util/properties.ts":{"bytes":2028,"imports":[{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true}],"format":"esm"},"src/util/refs.ts":{"bytes":2526,"imports":[{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true}],"format":"esm"},"src/util/index.ts":{"bytes":794,"imports":[{"path":"src/util/echo.ts","kind":"import-statement","original":"./echo"},{"path":"src/util/field.ts","kind":"import-statement","original":"./field"},{"path":"src/util/formatting.ts","kind":"import-statement","original":"./formatting"},{"path":"src/util/properties.ts","kind":"import-statement","original":"./properties"},{"path":"src/util/refs.ts","kind":"import-statement","original":"./refs"}],"format":"esm"},"src/hooks/useFormHandler.ts":{"bytes":28857,"imports":[{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/hooks/useKeyHandler.tsx":{"bytes":3194,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/index.ts":{"bytes":577,"imports":[{"path":"src/hooks/useFormHandler.ts","kind":"import-statement","original":"./useFormHandler"},{"path":"src/hooks/useKeyHandler.tsx","kind":"import-statement","original":"./useKeyHandler"}],"format":"esm"},"src/components/Form/FormFieldComponent.tsx":{"bytes":11958,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/Form/FormField.tsx":{"bytes":22301,"imports":[{"path":"effect/Match","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"effect/String","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"../../translations"},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"src/components/Form/fields/index.ts","kind":"import-statement","original":"./fields"},{"path":"src/components/Form/Form.tsx","kind":"import-statement","original":"./Form"},{"path":"src/components/Form/FormFieldSet.tsx","kind":"import-statement","original":"./FormFieldSet"}],"format":"esm"},"src/components/Form/FormFieldSet.tsx":{"bytes":13717,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"src/components/Form/Form.tsx","kind":"import-statement","original":"./Form"},{"path":"src/components/Form/FormField.tsx","kind":"import-statement","original":"./FormField"},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"./FormFieldComponent"}],"format":"esm"},"src/components/Form/Form.tsx":{"bytes":25102,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/translations.ts","kind":"import-statement","original":"../../translations"},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"./FormFieldComponent"},{"path":"src/components/Form/FormFieldSet.tsx","kind":"import-statement","original":"./FormFieldSet"}],"format":"esm"},"src/components/Form/fields/ArrayField.tsx":{"bytes":15918,"imports":[{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"../../../translations"},{"path":"src/util/index.ts","kind":"import-statement","original":"../../../util"},{"path":"src/components/Form/Form.tsx","kind":"import-statement","original":"../Form"},{"path":"src/components/Form/FormField.tsx","kind":"import-statement","original":"../FormField"},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"../FormFieldComponent"}],"format":"esm"},"src/components/Form/fields/BooleanField.tsx":{"bytes":2752,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"../FormFieldComponent"}],"format":"esm"},"src/components/Form/fields/GeoPointField.tsx":{"bytes":14705,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"../../../translations"},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"../FormFieldComponent"}],"format":"esm"},"src/components/Form/fields/MarkdownField.tsx":{"bytes":7778,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"../FormFieldComponent"}],"format":"esm"},"src/components/Form/fields/NumberField.tsx":{"bytes":3505,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"../FormFieldComponent"}],"format":"esm"},"src/components/ObjectPicker/ObjectPicker.tsx":{"bytes":16261,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-searchlist","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"../../translations"},{"path":"src/components/Form/index.ts","kind":"import-statement","original":"../Form"}],"format":"esm"},"src/components/ObjectPicker/index.ts":{"bytes":488,"imports":[{"path":"src/components/ObjectPicker/ObjectPicker.tsx","kind":"import-statement","original":"./ObjectPicker"}],"format":"esm"},"src/components/Form/fields/RefField.tsx":{"bytes":21101,"imports":[{"path":"@dxos/lit-ui/dx-tag-picker.pcss","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/echo-react","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/lit-ui/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"../../../translations"},{"path":"src/components/ObjectPicker/index.ts","kind":"import-statement","original":"../../ObjectPicker"},{"path":"src/components/Form/Form.tsx","kind":"import-statement","original":"../Form"},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"../FormFieldComponent"}],"format":"esm"},"src/components/Form/fields/SelectField.tsx":{"bytes":7016,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"../FormFieldComponent"}],"format":"esm"},"src/components/Form/fields/SelectOptionField.tsx":{"bytes":25581,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-pickers","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"../../../translations"},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"../FormFieldComponent"}],"format":"esm"},"src/components/Form/fields/TextField.tsx":{"bytes":3281,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"../FormFieldComponent"}],"format":"esm"},"src/components/Form/fields/TextAreaField.tsx":{"bytes":3283,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"../FormFieldComponent"}],"format":"esm"},"src/components/Form/fields/TupleField.tsx":{"bytes":5129,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"../FormFieldComponent"}],"format":"esm"},"src/components/Form/fields/index.ts":{"bytes":1466,"imports":[{"path":"src/components/Form/fields/ArrayField.tsx","kind":"import-statement","original":"./ArrayField"},{"path":"src/components/Form/fields/BooleanField.tsx","kind":"import-statement","original":"./BooleanField"},{"path":"src/components/Form/fields/GeoPointField.tsx","kind":"import-statement","original":"./GeoPointField"},{"path":"src/components/Form/fields/MarkdownField.tsx","kind":"import-statement","original":"./MarkdownField"},{"path":"src/components/Form/fields/NumberField.tsx","kind":"import-statement","original":"./NumberField"},{"path":"src/components/Form/fields/RefField.tsx","kind":"import-statement","original":"./RefField"},{"path":"src/components/Form/fields/SelectField.tsx","kind":"import-statement","original":"./SelectField"},{"path":"src/components/Form/fields/SelectOptionField.tsx","kind":"import-statement","original":"./SelectOptionField"},{"path":"src/components/Form/fields/TextField.tsx","kind":"import-statement","original":"./TextField"},{"path":"src/components/Form/fields/TextAreaField.tsx","kind":"import-statement","original":"./TextAreaField"},{"path":"src/components/Form/fields/TupleField.tsx","kind":"import-statement","original":"./TupleField"}],"format":"esm"},"src/components/Form/index.ts":{"bytes":660,"imports":[{"path":"src/components/Form/fields/index.ts","kind":"import-statement","original":"./fields"},{"path":"src/components/Form/Form.tsx","kind":"import-statement","original":"./Form"},{"path":"src/components/Form/FormFieldComponent.tsx","kind":"import-statement","original":"./FormFieldComponent"}],"format":"esm"},"src/components/FieldEditor/FieldEditor.tsx":{"bytes":22329,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"../../translations"},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"src/components/Form/index.ts","kind":"import-statement","original":"../Form"}],"format":"esm"},"src/components/FieldEditor/index.ts":{"bytes":486,"imports":[{"path":"src/components/FieldEditor/FieldEditor.tsx","kind":"import-statement","original":"./FieldEditor"}],"format":"esm"},"src/components/Settings/Settings.tsx":{"bytes":19589,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"../../translations"}],"format":"esm"},"src/components/Settings/index.ts":{"bytes":472,"imports":[{"path":"src/components/Settings/Settings.tsx","kind":"import-statement","original":"./Settings"}],"format":"esm"},"src/components/ViewEditor/ViewEditor.tsx":{"bytes":43503,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Match","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-components","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"../../translations"},{"path":"src/components/FieldEditor/index.ts","kind":"import-statement","original":"../FieldEditor"},{"path":"src/components/Form/index.ts","kind":"import-statement","original":"../Form"}],"format":"esm"},"src/components/ViewEditor/index.ts":{"bytes":480,"imports":[{"path":"src/components/ViewEditor/ViewEditor.tsx","kind":"import-statement","original":"./ViewEditor"}],"format":"esm"},"src/components/index.ts":{"bytes":832,"imports":[{"path":"src/components/FieldEditor/index.ts","kind":"import-statement","original":"./FieldEditor"},{"path":"src/components/Form/index.ts","kind":"import-statement","original":"./Form"},{"path":"src/components/ObjectPicker/index.ts","kind":"import-statement","original":"./ObjectPicker"},{"path":"src/components/Settings/index.ts","kind":"import-statement","original":"./Settings"},{"path":"src/components/ViewEditor/index.ts","kind":"import-statement","original":"./ViewEditor"}],"format":"esm"},"src/index.ts":{"bytes":879,"imports":[{"path":"src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"src/util/index.ts","kind":"import-statement","original":"./util"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":192093},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"date-fns/format","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"effect/Match","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"effect/String","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/lit-ui/dx-tag-picker.pcss","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/echo-react","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/lit-ui/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-searchlist","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-pickers","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Match","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-components","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"exports":["ArrayField","BooleanField","FieldEditor","Form","FormFieldErrorBoundary","FormFieldLabel","FormFieldWrapper","GeoPointField","MarkdownField","NumberField","ObjectPicker","RefField","SelectField","SelectOptionField","Settings","TextAreaField","TextField","TupleField","ViewEditor","cellClassesForFieldType","formatForDisplay","formatForEditing","getDefaultValue","getFormProperties","getRefProps","omitId","parseValue","pathNotUniqueError","setValueEchoAware","translations","useFormContext","useFormFieldState","useFormHandler","useFormValues","useKeyHandler"],"entryPoint":"src/index.ts","inputs":{"src/translations.ts":{"bytesInOutput":2860},"src/components/FieldEditor/FieldEditor.tsx":{"bytesInOutput":5301},"src/util/echo.ts":{"bytesInOutput":356},"src/util/index.ts":{"bytesInOutput":0},"src/util/field.ts":{"bytesInOutput":3301},"src/util/formatting.ts":{"bytesInOutput":3890},"src/util/properties.ts":{"bytesInOutput":301},"src/util/refs.ts":{"bytesInOutput":469},"src/components/Form/fields/ArrayField.tsx":{"bytesInOutput":3994},"src/components/Form/Form.tsx":{"bytesInOutput":4922},"src/hooks/useFormHandler.ts":{"bytesInOutput":5959},"src/hooks/index.ts":{"bytesInOutput":0},"src/hooks/useKeyHandler.tsx":{"bytesInOutput":645},"src/components/Form/FormFieldComponent.tsx":{"bytesInOutput":2329},"src/components/Form/FormFieldSet.tsx":{"bytesInOutput":2555},"src/components/Form/FormField.tsx":{"bytesInOutput":4569},"src/components/Form/fields/index.ts":{"bytesInOutput":0},"src/components/Form/fields/BooleanField.tsx":{"bytesInOutput":562},"src/components/Form/fields/GeoPointField.tsx":{"bytesInOutput":4043},"src/components/Form/fields/MarkdownField.tsx":{"bytesInOutput":1667},"src/components/Form/fields/NumberField.tsx":{"bytesInOutput":725},"src/components/Form/fields/RefField.tsx":{"bytesInOutput":5178},"src/components/ObjectPicker/ObjectPicker.tsx":{"bytesInOutput":3912},"src/components/ObjectPicker/index.ts":{"bytesInOutput":0},"src/components/Form/fields/SelectField.tsx":{"bytesInOutput":1764},"src/components/Form/fields/SelectOptionField.tsx":{"bytesInOutput":6322},"src/components/Form/fields/TextField.tsx":{"bytesInOutput":644},"src/components/Form/fields/TextAreaField.tsx":{"bytesInOutput":640},"src/components/Form/fields/TupleField.tsx":{"bytesInOutput":1100},"src/components/Form/index.ts":{"bytesInOutput":0},"src/components/FieldEditor/index.ts":{"bytesInOutput":0},"src/components/index.ts":{"bytesInOutput":0},"src/components/Settings/Settings.tsx":{"bytesInOutput":5635},"src/components/Settings/index.ts":{"bytesInOutput":0},"src/components/ViewEditor/ViewEditor.tsx":{"bytesInOutput":11150},"src/components/ViewEditor/index.ts":{"bytesInOutput":0},"src/index.ts":{"bytesInOutput":0}},"bytes":86808}}}
|
|
@@ -43,18 +43,18 @@ type FormRootProps<T extends AnyProperties = AnyProperties> = PropsWithChildren<
|
|
|
43
43
|
*/
|
|
44
44
|
onCancel?: () => void;
|
|
45
45
|
} & Omit<FormContextValue<T>, 'form'> & Pick<FormHandlerProps<T>, 'schema' | 'autoSave' | 'values' | 'defaultValues' | 'onValidate' | 'onValuesChanged'> & Omit<NaturalFormFieldSetProps<T>, 'schema' | 'path'>>;
|
|
46
|
-
type FormViewportProps =
|
|
46
|
+
type FormViewportProps = PropsWithChildren<{}>;
|
|
47
47
|
type FormContentProps = ThemedClassName<PropsWithChildren<{}>>;
|
|
48
48
|
type FormFieldSetProps = ThemedClassName<{}>;
|
|
49
49
|
type FormActionsProps = ThemedClassName<{}>;
|
|
50
|
-
type FormSubmitProps = ThemedClassName<Partial<Pick<IconButtonProps, 'icon' | 'label'>>>;
|
|
50
|
+
type FormSubmitProps = ThemedClassName<Partial<Pick<IconButtonProps, 'icon' | 'label' | 'disabled'>>>;
|
|
51
51
|
export declare const Form: {
|
|
52
52
|
Root: {
|
|
53
53
|
<T extends AnyProperties = AnyProperties>({ children, schema, values, onSave, onCancel, ...props }: FormRootProps<T>): React.JSX.Element;
|
|
54
54
|
displayName: string;
|
|
55
55
|
};
|
|
56
56
|
Viewport: {
|
|
57
|
-
({
|
|
57
|
+
({ children }: FormViewportProps): React.JSX.Element;
|
|
58
58
|
displayName: string;
|
|
59
59
|
};
|
|
60
60
|
Content: {
|
|
@@ -70,7 +70,7 @@ export declare const Form: {
|
|
|
70
70
|
displayName: string;
|
|
71
71
|
};
|
|
72
72
|
Submit: {
|
|
73
|
-
({ classNames, label, icon }: FormSubmitProps): React.JSX.Element | null;
|
|
73
|
+
({ classNames, label, icon, disabled }: FormSubmitProps): React.JSX.Element | null;
|
|
74
74
|
displayName: string;
|
|
75
75
|
};
|
|
76
76
|
Label: {
|
|
@@ -79,5 +79,5 @@ export declare const Form: {
|
|
|
79
79
|
};
|
|
80
80
|
};
|
|
81
81
|
export { useFormContext, useFormValues, useFormFieldState };
|
|
82
|
-
export type { FormRootProps, FormViewportProps, FormContentProps, FormFieldSetProps, FormActionsProps, FormFieldLabelProps as LabelProps, };
|
|
82
|
+
export type { FormRootProps, FormViewportProps, FormContentProps, FormFieldSetProps, FormActionsProps, FormSubmitProps, FormFieldLabelProps as LabelProps, };
|
|
83
83
|
//# sourceMappingURL=Form.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../src/components/Form/Form.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAA8B,MAAM,OAAO,CAAC;AAElF,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,OAAO,EAAc,KAAK,eAAe,EAAc,KAAK,eAAe,EAAkB,MAAM,gBAAgB,CAAC;AAGpH,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EAGpB,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":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AA4B/D,KAAK,iBAAiB,GAAG,eAAe,CAAC,EAAE,CAAC,CAAC;AAgB7C,KAAK,gBAAgB,GAAG,eAAe,CAAC,EAAE,CAAC,CAAC;AAoD5C,KAAK,eAAe,GAAG,eAAe,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;AAqCtG,eAAO,MAAM,IAAI;;SAjLC,CAAC,SAAS,aAAa,4EAOtC,aAAa,CAAC,CAAC,CAAC;;;;uBAqBiB,iBAAiB;;;;mCAmBN,gBAAgB;;;;yBA2BzB,iBAAiB;;;;yBAgBlB,gBAAgB;;;;gDAoDM,eAAe;;;;;;;CA2CzE,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,iBAAiB,EAAE,CAAC;AAE5D,YAAY,EACV,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,mBAAmB,IAAI,UAAU,GAClC,CAAC"}
|
|
@@ -10,13 +10,13 @@ declare const Organization: Type.Obj<{
|
|
|
10
10
|
export interface Organization extends Schema.Schema.Type<typeof Organization> {
|
|
11
11
|
}
|
|
12
12
|
declare const Person: Type.Obj<{
|
|
13
|
+
readonly name: string;
|
|
13
14
|
readonly address?: {
|
|
14
15
|
readonly state: string;
|
|
15
16
|
readonly street: string;
|
|
16
17
|
readonly city: string;
|
|
17
18
|
readonly zip: number;
|
|
18
19
|
} | undefined;
|
|
19
|
-
readonly name: string;
|
|
20
20
|
readonly status?: "active" | "inactive" | undefined;
|
|
21
21
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
22
22
|
readonly tags?: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Form/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AAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB,GAAG,mBAAmB,CAAC,CAAC,CAAC,CAAC;AAE3B;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,EAAE,CAAC,uBAAuB,CAAC,CAAC;AAE7D,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;AAE9D,MAAM,MAAM,iBAAiB,GAAG,CAAC,KAAK,EAAE;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAC3B,UAAU,EAAE,uBAAuB,CAAC;CACrC,KAAK,YAAY,GAAG,SAAS,CAAC;AAM/B,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,IAAI,CAAC,uBAAuB,EAAE,OAAO,GAAG,UAAU,CAAC,CAAC;AAExD,eAAO,MAAM,cAAc;0CAAyC,mBAAmB;;
|
|
1
|
+
{"version":3,"file":"FormFieldComponent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Form/FormFieldComponent.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,KAAK,SAAS,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,EACZ,SAAS,EACT,KAAK,EAAE,EACP,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAIlD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAInD;;GAEG;AACH,MA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AAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,IAAI,CAAC,uBAAuB,EAAE,OAAO,GAAG,UAAU,CAAC,CAAC;AAExD,eAAO,MAAM,cAAc;0CAAyC,mBAAmB;;CAYtF,CAAC;AAQF,MAAM,MAAM,qBAAqB,CAAC,CAAC,GAAG,GAAG,IAAI,IAAI,CAC/C,uBAAuB,EACvB,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,WAAW,GAAG,UAAU,CAC3D,GAAG;IACF,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,CAAC,CAAA;KAAE,KAAK,SAAS,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,CAAC,EAAG,OAAO,qBAAqB,CAAC,CAAC,CAAC,6BAwBnE,CAAC;AAMF,KAAK,mBAAmB,GAAG;IACzB,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;CAC1B,CAAC;AAEF,KAAK,2BAA2B,GAAG,iBAAiB,CAAC;IACnD,IAAI,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;CAC5B,CAAC,CAAC;AAEH,qBAAa,sBAAuB,SAAQ,SAAS,CAAC,2BAA2B,EAAE,mBAAmB,CAAC;IACrG,MAAM,CAAC,wBAAwB,CAAC,KAAK,EAAE,KAAK,GAAG;QAAE,KAAK,EAAE,KAAK,CAAA;KAAE;IAItD,KAAK;;MAAwB;IAE7B,kBAAkB,CAAC,SAAS,EAAE,2BAA2B;IAMzD,MAAM;IAaf,OAAO,CAAC,UAAU;CAGnB"}
|
|
@@ -13,7 +13,7 @@ export declare const FormFieldSet: React.ForwardRefExoticComponent<Omit<{
|
|
|
13
13
|
label?: string;
|
|
14
14
|
exclude?: (props: SchemaProperty[]) => SchemaProperty[];
|
|
15
15
|
sort?: string[];
|
|
16
|
-
} & Pick<FormHandlerProps<any>, "schema"> & Pick<FormFieldProps, "path" | "
|
|
16
|
+
} & Pick<FormHandlerProps<any>, "schema"> & Pick<FormFieldProps, "path" | "readonly" | "autoFocus" | "layout" | "createOptionLabel" | "createOptionIcon" | "createInitialValuePath" | "onCreate" | "db" | "schemaHook" | "getOptions" | "fieldProvider" | "projection" | "fieldMap">, "className"> & {
|
|
17
17
|
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
18
18
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
19
19
|
//# sourceMappingURL=FormFieldSet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormFieldSet.d.ts","sourceRoot":"","sources":["../../../../../src/components/Form/FormFieldSet.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAItD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAIpD,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAG7D,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,aAAa,IAAI,eAAe,CACtE;IACE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,KAAK,cAAc,EAAE,CAAC;IACxD,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB,GAAG,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,GACrC,IAAI,CACF,cAAc,EACZ,MAAM,GACN,WAAW,GACX,UAAU,GACV,QAAQ,GACR,YAAY,GACZ,UAAU,GACV,eAAe,GACf,mBAAmB,GACnB,kBAAkB,GAClB,wBAAwB,GACxB,IAAI,GACJ,YAAY,GACZ,YAAY,GACZ,UAAU,CACb,CACJ,CAAC;
|
|
1
|
+
{"version":3,"file":"FormFieldSet.d.ts","sourceRoot":"","sources":["../../../../../src/components/Form/FormFieldSet.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAItD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAIpD,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAG7D,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,aAAa,IAAI,eAAe,CACtE;IACE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,KAAK,cAAc,EAAE,CAAC;IACxD,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB,GAAG,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,GACrC,IAAI,CACF,cAAc,EACZ,MAAM,GACN,WAAW,GACX,UAAU,GACV,QAAQ,GACR,YAAY,GACZ,UAAU,GACV,eAAe,GACf,mBAAmB,GACnB,kBAAkB,GAClB,wBAAwB,GACxB,IAAI,GACJ,YAAY,GACZ,YAAY,GACZ,UAAU,CACb,CACJ,CAAC;AAIF,eAAO,MAAM,YAAY;YAzBb,MAAM;cACJ,CAAC,KAAK,EAAE,cAAc,EAAE,KAAK,cAAc,EAAE;WAChD,MAAM,EAAE;;;wCAqGlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArrayField.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Form/fields/ArrayField.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,SAAS,MAAM,kBAAkB,CAAC;AAC9C,OAAO,KAAgC,MAAM,OAAO,CAAC;AAQrD,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjF,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,mBAAmB,CAAC;CACjC,GAAG,cAAc,CAAC;AAEnB,eAAO,MAAM,UAAU;gFAQpB,eAAe;;CA4FjB,CAAC;AAIF;;;GAGG;AAEH,eAAO,MAAM,eAAe,GAAI,MAAM,SAAS,CAAC,GAAG,KAAG,
|
|
1
|
+
{"version":3,"file":"ArrayField.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Form/fields/ArrayField.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,SAAS,MAAM,kBAAkB,CAAC;AAC9C,OAAO,KAAgC,MAAM,OAAO,CAAC;AAQrD,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjF,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,mBAAmB,CAAC;CACjC,GAAG,cAAc,CAAC;AAEnB,eAAO,MAAM,UAAU;gFAQpB,eAAe;;CA4FjB,CAAC;AAIF;;;GAGG;AAEH,eAAO,MAAM,eAAe,GAAI,MAAM,SAAS,CAAC,GAAG,KAAG,GAsBrD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@dxos/lit-ui/dx-tag-picker.pcss';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { type Database, Entity,
|
|
3
|
+
import { type Database, Entity, Type } from '@dxos/echo';
|
|
4
4
|
import { type ObjectPickerContentProps, type RefOption } from '../../ObjectPicker';
|
|
5
5
|
import { type FormFieldComponentProps } from '../FormFieldComponent';
|
|
6
6
|
export type RefFieldProps = FormFieldComponentProps & Pick<ObjectPickerContentProps, 'createOptionLabel' | 'createOptionIcon' | 'createInitialValuePath'> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RefField.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Form/fields/RefField.tsx"],"names":[],"mappings":"AAIA,OAAO,iCAAiC,CAAC;AAEzC,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,EAAe,
|
|
1
|
+
{"version":3,"file":"RefField.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Form/fields/RefField.tsx"],"names":[],"mappings":"AAIA,OAAO,iCAAiC,CAAC;AAEzC,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,EAAe,IAAI,EAAE,MAAM,YAAY,CAAC;AAUtE,OAAO,EAAgB,KAAK,wBAAwB,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEjG,OAAO,EAAE,KAAK,uBAAuB,EAAkB,MAAM,uBAAuB,CAAC;AAyBrF,MAAM,MAAM,aAAa,GAAG,uBAAuB,GACjD,IAAI,CAAC,wBAAwB,EAAE,mBAAmB,GAAG,kBAAkB,GAAG,wBAAwB,CAAC,GAAG;IACpG,EAAE,CAAC,EAAE,QAAQ,CAAC,QAAQ,CAAC;IACvB,WAAW,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC,GAAG,EAAE,CAAC;IAC1E,UAAU,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC;IAC5E,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,GAAG,EAAE,KAAK,SAAS,EAAE,CAAC;IACpD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,KAAK,IAAI,CAAC;CAC3D,CAAC;AAEJ,eAAO,MAAM,QAAQ,GAAI,OAAO,aAAa,6BAsI5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectPicker.d.ts","sourceRoot":"","sources":["../../../../../src/components/ObjectPicker/ObjectPicker.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAgE,MAAM,OAAO,CAAC;AAErF,OAAO,EAAE,KAAK,OAAO,EAAW,KAAK,eAAe,EAAkB,MAAM,gBAAgB,CAAC;AAM7F,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,eAAe,CAAC;IACrD,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC7C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC;IAC1C,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,IAAI,CAAC;IACjC,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAChC,CAAC,CAAC;AA4IH,eAAO,MAAM,YAAY;;;;;;0BAxEf,
|
|
1
|
+
{"version":3,"file":"ObjectPicker.d.ts","sourceRoot":"","sources":["../../../../../src/components/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
2
|
+
import { type ButtonProps, type Label, type ThemedClassName } from '@dxos/react-ui';
|
|
3
|
+
type SettingsRootProps = PropsWithChildren;
|
|
4
|
+
type SettingsSectionProps = PropsWithChildren<{
|
|
5
|
+
title: Label;
|
|
6
|
+
description?: Label;
|
|
7
|
+
}>;
|
|
8
|
+
type SettingsGroupProps = ThemedClassName<PropsWithChildren>;
|
|
9
|
+
type SettingsItemProps = PropsWithChildren<{
|
|
10
|
+
title: Label;
|
|
11
|
+
description?: Label;
|
|
12
|
+
}>;
|
|
13
|
+
export declare const Settings: {
|
|
14
|
+
Root: {
|
|
15
|
+
({ children }: SettingsRootProps): React.JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
Section: {
|
|
19
|
+
({ title, description, children }: SettingsSectionProps): React.JSX.Element;
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
22
|
+
SectionHeading: {
|
|
23
|
+
({ title, description }: Omit<SettingsSectionProps, "children">): React.JSX.Element;
|
|
24
|
+
displayName: string;
|
|
25
|
+
};
|
|
26
|
+
Group: {
|
|
27
|
+
({ children, classNames }: SettingsGroupProps): React.JSX.Element;
|
|
28
|
+
displayName: string;
|
|
29
|
+
};
|
|
30
|
+
GroupButton: {
|
|
31
|
+
({ classNames, ...props }: ButtonProps): React.JSX.Element;
|
|
32
|
+
displayName: string;
|
|
33
|
+
};
|
|
34
|
+
Container: {
|
|
35
|
+
({ classNames, children }: ThemedClassName<PropsWithChildren>): React.JSX.Element;
|
|
36
|
+
displayName: string;
|
|
37
|
+
};
|
|
38
|
+
Frame: {
|
|
39
|
+
({ children }: SettingsGroupProps): React.JSX.Element;
|
|
40
|
+
displayName: string;
|
|
41
|
+
};
|
|
42
|
+
FrameItem: {
|
|
43
|
+
({ title, description, children }: SettingsItemProps): React.JSX.Element;
|
|
44
|
+
displayName: string;
|
|
45
|
+
};
|
|
46
|
+
Item: {
|
|
47
|
+
({ title, description, children }: SettingsItemProps): React.JSX.Element;
|
|
48
|
+
displayName: string;
|
|
49
|
+
};
|
|
50
|
+
ItemInput: {
|
|
51
|
+
({ title, description, children }: SettingsItemProps): React.JSX.Element;
|
|
52
|
+
displayName: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
export {};
|
|
56
|
+
//# sourceMappingURL=Settings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Settings.d.ts","sourceRoot":"","sources":["../../../../../src/components/Settings/Settings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAEL,KAAK,WAAW,EAEhB,KAAK,KAAK,EAEV,KAAK,eAAe,EAGrB,MAAM,gBAAgB,CAAC;AA0BxB,KAAK,iBAAiB,GAAG,iBAAiB,CAAC;AAgB3C,KAAK,oBAAoB,GAAG,iBAAiB,CAAC;IAC5C,KAAK,EAAE,KAAK,CAAC;IACb,WAAW,CAAC,EAAE,KAAK,CAAC;CACrB,CAAC,CAAC;AA+CH,KAAK,kBAAkB,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAkE7D,KAAK,iBAAiB,GAAG,iBAAiB,CAAC;IACzC,KAAK,EAAE,KAAK,CAAC;IACb,WAAW,CAAC,EAAE,KAAK,CAAC;CACrB,CAAC,CAAC;AA8CH,eAAO,MAAM,QAAQ;;uBAnLe,iBAAiB;;;;2CAmBM,oBAAoB;;;;iCAevB,IAAI,CAAC,oBAAoB,EAAE,UAAU,CAAC;;;;mCAgC7C,kBAAkB;;;;mCAZZ,WAAW;;;;mCAsDb,eAAe,CAAC,iBAAiB,CAAC;;;;uBA9BlD,kBAAkB;;;;2CAYM,iBAAiB;;;;2CA6CjB,iBAAiB;;;;2CAoBZ,iBAAiB;;;CAmClF,CAAC"}
|
|
@@ -2,13 +2,7 @@ import { type StoryObj } from '@storybook/react-vite';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
|
|
6
|
-
render: (args: {
|
|
7
|
-
title: import("@dxos/ui-types").Label;
|
|
8
|
-
description?: import("@dxos/ui-types").Label;
|
|
9
|
-
} & {
|
|
10
|
-
children?: React.ReactNode | undefined;
|
|
11
|
-
}) => React.JSX.Element;
|
|
5
|
+
render: () => React.JSX.Element;
|
|
12
6
|
decorators: import("@storybook/react").Decorator[];
|
|
13
7
|
parameters: {
|
|
14
8
|
layout: string;
|
|
@@ -84,4 +78,4 @@ declare const meta: {
|
|
|
84
78
|
export default meta;
|
|
85
79
|
type Story = StoryObj<typeof meta>;
|
|
86
80
|
export declare const Default: Story;
|
|
87
|
-
//# sourceMappingURL=
|
|
81
|
+
//# sourceMappingURL=Settings.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Settings.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Settings/Settings.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAoC1B,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQM,CAAC;AAEjB,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Settings/index.ts"],"names":[],"mappings":"AAIA,cAAc,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/ViewEditor/ViewEditor.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,M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AAQ,GAAG,KAAK;eACZ,cAAc,CAAC,cAAc;eAC7B,OAAO;kBACJ,OAAO;qBACJ,CAAC,KAAK,EAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI;eACtD,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI;;;yCAuIvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFormHandler.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useFormHandler.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,KAAK,SAAS,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"useFormHandler.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useFormHandler.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,KAAK,SAAS,MAAM,kBAAkB,CAAC;AAInD,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EACL,KAAK,QAAQ,EAKd,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,cAAc,CAAC;AACpE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAI/C,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,CAAC,EAAE,OAAO,C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E,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAEnC,OAAO,EAAE,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAEnC,4BAA4B;IAC5B,MAAM,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IAEjC,2DAA2D;IAC3D,OAAO,EAAE,OAAO,CAAC;IAEjB,OAAO,EAAE,OAAO,CAAC;IAEjB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;IAMrB,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,KAAK,eAAe,CAAC;IACnE,QAAQ,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,KAAK,CAAC,GAAG,SAAS,CAAC;IAC1D,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,KAAK,IAAI,CAAC;IAC5C,aAAa,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,GAAG,EAAE,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;CACtF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,aAAa,EAAE,qIAUrD,gBAAgB,CAAC,CAAC,CAAC,KAAG,WAAW,CAAC,CAAC,CAwNrC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type JsonPath } from '@dxos/effect';
|
|
2
|
+
/**
|
|
3
|
+
* Sets a value on an object, using Obj.change() if it's an ECHO object.
|
|
4
|
+
*/
|
|
5
|
+
export declare const setValueEchoAware: <T extends object>(obj: T, path: JsonPath, value: any) => T;
|
|
6
|
+
//# sourceMappingURL=echo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"echo.d.ts","sourceRoot":"","sources":["../../../../src/util/echo.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,QAAQ,EAA4C,MAAM,cAAc,CAAC;AAEvF;;GAEG;AAOH,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,QAAQ,EAAE,OAAO,GAAG,KAAG,CAQxF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/util/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/util/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC"}
|