@dxos/react-ui-form 0.8.4-main.937b3ca → 0.8.4-main.9735255

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.
@@ -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/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":187348},"dist/lib/browser/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":85351}}}
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/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":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":24471,"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":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":44357,"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":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/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":189616},"dist/lib/browser/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","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":"@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","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","setValueEchoAware","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":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":3927},"src/components/Form/Form.tsx":{"bytesInOutput":4917},"src/hooks/useFormHandler.ts":{"bytesInOutput":5959},"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":11372},"src/components/ViewEditor/index.ts":{"bytesInOutput":0},"src/index.ts":{"bytesInOutput":0}},"bytes":85886}}}
@@ -169,12 +169,25 @@ var ControlFrameItem = ({ title, description, children }) => {
169
169
 
170
170
  // src/components/FieldEditor/FieldEditor.tsx
171
171
  import React18, { useCallback as useCallback14, useEffect as useEffect7, useMemo as useMemo7, useState as useState5 } from "react";
172
- import { Obj } from "@dxos/echo";
172
+ import { Obj as Obj3 } from "@dxos/echo";
173
173
  import { Format as Format4, FormatEnums, formatToType } from "@dxos/echo/internal";
174
174
  import { log as log2 } from "@dxos/log";
175
175
  import { useAsyncEffect, useTranslation as useTranslation9 } from "@dxos/react-ui";
176
176
  import { formatToAdditionalPropertyAttributes, getFormatSchema } from "@dxos/schema";
177
177
 
178
+ // src/util/echo.ts
179
+ import { Obj } from "@dxos/echo";
180
+ import { setValue as setValuePlain, splitJsonPath } from "@dxos/effect";
181
+ var setValueEchoAware = (obj, path, value3) => {
182
+ if (Obj.isObject(obj)) {
183
+ Obj.change(obj, (mutableObj) => {
184
+ Obj.setValue(mutableObj, splitJsonPath(path), value3);
185
+ });
186
+ return obj;
187
+ }
188
+ return setValuePlain(obj, path, value3);
189
+ };
190
+
178
191
  // src/util/field.ts
179
192
  import { Format, GeoLocation, TypeEnum } from "@dxos/echo/internal";
180
193
  var parseValue = ({ type, format, value: value3 }) => {
@@ -477,13 +490,14 @@ import { IconButton as IconButton2, useTranslation as useTranslation4 } from "@d
477
490
  import { createContext } from "@radix-ui/react-context";
478
491
  import * as Schema2 from "effect/Schema";
479
492
  import React5, { useEffect as useEffect3, useMemo as useMemo4, useRef } from "react";
480
- import { createJsonPath as createJsonPath3, getValue as getValue$2, setValue as setValue$2 } from "@dxos/effect";
493
+ import { createJsonPath as createJsonPath3, getValue as getValue$2 } from "@dxos/effect";
481
494
  import { IconButton, ScrollArea, useTranslation as useTranslation3 } from "@dxos/react-ui";
482
495
  import { mx as mx4 } from "@dxos/ui-theme";
483
496
 
484
497
  // src/hooks/useFormHandler.ts
485
498
  import { useControllableState } from "@radix-ui/react-use-controllable-state";
486
499
  import { useCallback, useEffect, useMemo, useState } from "react";
500
+ import { Obj as Obj2 } from "@dxos/echo";
487
501
  import { createJsonPath, fromEffectValidationPath, getValue as getValue$, setValue as setValue$ } from "@dxos/effect";
488
502
  import { log } from "@dxos/log";
489
503
  import { useDefaultValue } from "@dxos/react-ui";
@@ -517,7 +531,7 @@ var useFormHandler = ({ schema, autoSave, values: valuesProp, defaultValues: def
517
531
  errors: errors2
518
532
  }, {
519
533
  F: __dxlog_file,
520
- L: 157,
534
+ L: 160,
521
535
  S: void 0,
522
536
  C: (f, a) => f(...a)
523
537
  });
@@ -610,7 +624,7 @@ var useFormHandler = ({ schema, autoSave, values: valuesProp, defaultValues: def
610
624
  value: value3
611
625
  }, {
612
626
  F: __dxlog_file,
613
- L: 256,
627
+ L: 259,
614
628
  S: void 0,
615
629
  C: (f, a) => f(...a)
616
630
  });
@@ -623,13 +637,13 @@ var useFormHandler = ({ schema, autoSave, values: valuesProp, defaultValues: def
623
637
  } catch (err) {
624
638
  log.catch(err, void 0, {
625
639
  F: __dxlog_file,
626
- L: 265,
640
+ L: 268,
627
641
  S: void 0,
628
642
  C: (f, a) => f(...a)
629
643
  });
630
644
  parsedValue = void 0;
631
645
  }
632
- const newValues = {
646
+ const newValues = Obj2.isObject(values) ? (setValueEchoAware(values, jsonPath, parsedValue), values) : {
633
647
  ...setValue$(values, jsonPath, parsedValue)
634
648
  };
635
649
  setValues(newValues);
@@ -1053,7 +1067,7 @@ var useFormValues = (componentName, path = [], defaultValue) => {
1053
1067
  const value3 = getValue$2(values, jsonPath);
1054
1068
  useEffect3(() => {
1055
1069
  if (!value3 && defaultValue) {
1056
- setValue$2(values, jsonPath, defaultValue());
1070
+ setValueEchoAware(values, jsonPath, defaultValue());
1057
1071
  }
1058
1072
  }, [
1059
1073
  value3,
@@ -2125,7 +2139,7 @@ var FieldEditor = ({ readonly, projection, field, registry, view, onSave, onCanc
2125
2139
  ]);
2126
2140
  const handleSave = useCallback14((props2) => {
2127
2141
  if (view) {
2128
- Obj.change(view, () => {
2142
+ Obj3.change(view, () => {
2129
2143
  projection.setFieldProjection({
2130
2144
  field,
2131
2145
  props: props2
@@ -2187,13 +2201,14 @@ import * as Match2 from "effect/Match";
2187
2201
  import * as Option4 from "effect/Option";
2188
2202
  import * as Schema3 from "effect/Schema";
2189
2203
  import React19, { forwardRef as forwardRef3, useCallback as useCallback15, useContext, useImperativeHandle, useMemo as useMemo8, useState as useState6 } from "react";
2190
- import { Filter as Filter2, Format as Format5, Obj as Obj2, Query, QueryAST } from "@dxos/echo";
2204
+ import { Filter as Filter2, Format as Format5, Obj as Obj4, Query, QueryAST } from "@dxos/echo";
2191
2205
  import { EchoSchema, isMutable, toJsonSchema } from "@dxos/echo/internal";
2192
2206
  import { invariant } from "@dxos/invariant";
2207
+ import { useObject } from "@dxos/react-client/echo";
2193
2208
  import { Callout, IconButton as IconButton4, Input as Input13, useTranslation as useTranslation10 } from "@dxos/react-ui";
2194
2209
  import { QueryForm } from "@dxos/react-ui-components";
2195
2210
  import { List as List2 } from "@dxos/react-ui-list";
2196
- import { FieldSchema, ProjectionModel, VIEW_FIELD_LIMIT, createDirectChangeCallback, createEchoChangeCallback, getTypenameFromQuery } from "@dxos/schema";
2211
+ import { FieldSchema, ProjectionModel, VIEW_FIELD_LIMIT, createEchoChangeCallback, getTypenameFromQuery } from "@dxos/schema";
2197
2212
  import { mx as mx7, osTranslations as osTranslations2, subtleHover as subtleHover2 } from "@dxos/ui-theme";
2198
2213
  var __dxlog_file3 = "/__w/dxos/dxos/packages/ui/react-ui-form/src/components/ViewEditor/ViewEditor.tsx";
2199
2214
  var listGrid = "grid grid-cols-[min-content_1fr_min-content_min-content_min-content]";
@@ -2204,7 +2219,7 @@ var ViewEditor = /* @__PURE__ */ forwardRef3(({ classNames, schema, view, mode =
2204
2219
  const { t } = useTranslation10(translationKey);
2205
2220
  const projectionModel = useMemo8(() => {
2206
2221
  const jsonSchema = schema instanceof EchoSchema ? schema.jsonSchema : toJsonSchema(schema);
2207
- const change = schema instanceof EchoSchema ? createEchoChangeCallback(view, schema) : createDirectChangeCallback(view.projection, jsonSchema);
2222
+ const change = createEchoChangeCallback(view, schema instanceof EchoSchema ? schema : void 0);
2208
2223
  const model = new ProjectionModel({
2209
2224
  registry: atomRegistry,
2210
2225
  view,
@@ -2265,7 +2280,7 @@ var ViewEditor = /* @__PURE__ */ forwardRef3(({ classNames, schema, view, mode =
2265
2280
  const handleAdd = useCallback15(() => {
2266
2281
  invariant(!readonly, void 0, {
2267
2282
  F: __dxlog_file3,
2268
- L: 148,
2283
+ L: 146,
2269
2284
  S: void 0,
2270
2285
  A: [
2271
2286
  "!readonly",
@@ -2292,7 +2307,7 @@ var ViewEditor = /* @__PURE__ */ forwardRef3(({ classNames, schema, view, mode =
2292
2307
  const handleDelete = useCallback15((fieldId) => {
2293
2308
  invariant(!readonly, void 0, {
2294
2309
  F: __dxlog_file3,
2295
- L: 165,
2310
+ L: 163,
2296
2311
  S: void 0,
2297
2312
  A: [
2298
2313
  "!readonly",
@@ -2346,9 +2361,10 @@ var FieldList = ({ schema, view, registry, readonly, showHeading = false, onDele
2346
2361
  const atomRegistry = useContext(RegistryContext);
2347
2362
  const schemaReadonly = !isMutable(schema);
2348
2363
  const { t } = useTranslation10(translationKey);
2364
+ const [viewSnapshot] = useObject(view);
2349
2365
  const projectionModel = useMemo8(() => {
2350
2366
  const jsonSchema = schema instanceof EchoSchema ? schema.jsonSchema : toJsonSchema(schema);
2351
- const change = schema instanceof EchoSchema ? createEchoChangeCallback(view, schema) : createDirectChangeCallback(view.projection, jsonSchema);
2367
+ const change = createEchoChangeCallback(view, schema instanceof EchoSchema ? schema : void 0);
2352
2368
  const model = new ProjectionModel({
2353
2369
  registry: atomRegistry,
2354
2370
  view,
@@ -2370,7 +2386,7 @@ var FieldList = ({ schema, view, registry, readonly, showHeading = false, onDele
2370
2386
  const handleDelete = useCallback15((fieldId) => {
2371
2387
  invariant(!readonly, void 0, {
2372
2388
  F: __dxlog_file3,
2373
- L: 254,
2389
+ L: 253,
2374
2390
  S: void 0,
2375
2391
  A: [
2376
2392
  "!readonly",
@@ -2389,23 +2405,23 @@ var FieldList = ({ schema, view, registry, readonly, showHeading = false, onDele
2389
2405
  const handleMove = useCallback15((fromIndex, toIndex) => {
2390
2406
  invariant(!readonly, void 0, {
2391
2407
  F: __dxlog_file3,
2392
- L: 266,
2408
+ L: 265,
2393
2409
  S: void 0,
2394
2410
  A: [
2395
2411
  "!readonly",
2396
2412
  ""
2397
2413
  ]
2398
2414
  });
2399
- const fields = [
2400
- ...view.projection.fields
2401
- ];
2402
- const [moved] = fields.splice(fromIndex, 1);
2403
- fields.splice(toIndex, 0, moved);
2404
- Obj2.change(view, (v) => {
2415
+ Obj4.change(view, (v) => {
2416
+ const fields = [
2417
+ ...v.projection.fields
2418
+ ];
2419
+ const [moved] = fields.splice(fromIndex, 1);
2420
+ fields.splice(toIndex, 0, moved);
2405
2421
  v.projection.fields = fields;
2406
2422
  });
2407
2423
  }, [
2408
- view.projection.fields,
2424
+ view,
2409
2425
  readonly
2410
2426
  ]);
2411
2427
  const handleClose = useCallback15(() => setExpandedField(void 0), []);
@@ -2421,8 +2437,11 @@ var FieldList = ({ schema, view, registry, readonly, showHeading = false, onDele
2421
2437
  }, [
2422
2438
  projectionModel
2423
2439
  ]);
2440
+ if (!viewSnapshot) {
2441
+ return null;
2442
+ }
2424
2443
  return /* @__PURE__ */ React19.createElement(List2.Root, {
2425
- items: view.projection.fields,
2444
+ items: viewSnapshot.projection.fields,
2426
2445
  isItem: Schema3.is(FieldSchema),
2427
2446
  getId: (field) => field.id,
2428
2447
  onMove: readonly ? void 0 : handleMove,
@@ -2457,7 +2476,7 @@ var FieldList = ({ schema, view, registry, readonly, showHeading = false, onDele
2457
2476
  }), !readonly && /* @__PURE__ */ React19.createElement(React19.Fragment, null, /* @__PURE__ */ React19.createElement(List2.ItemDeleteButton, {
2458
2477
  label: t("delete field label"),
2459
2478
  autoHide: false,
2460
- disabled: readonly || schemaReadonly || view.projection.fields.length <= 1,
2479
+ disabled: readonly || schemaReadonly || viewSnapshot.projection.fields.length <= 1,
2461
2480
  onClick: () => handleDelete(field.id),
2462
2481
  "data-testid": "field.delete"
2463
2482
  }), /* @__PURE__ */ React19.createElement(IconButton4, {
@@ -2535,6 +2554,7 @@ export {
2535
2554
  omitId,
2536
2555
  parseValue,
2537
2556
  pathNotUniqueError,
2557
+ setValueEchoAware,
2538
2558
  translations,
2539
2559
  useFormContext,
2540
2560
  useFormFieldState,