@dxos/react-ui-table 0.8.2-main.f081794 → 0.8.2-main.f11618f

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":{"packages/ui/react-ui-table/src/translations.ts":{"bytes":3942,"imports":[],"format":"esm"},"packages/ui/react-ui-table/src/components/Table/ColumnActionsMenu.tsx":{"bytes":8486,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-table/src/translations.ts","kind":"import-statement","original":"../../translations"}],"format":"esm"},"packages/ui/react-ui-table/src/components/Table/ColumnSettings.tsx":{"bytes":8916,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui-table/src/components/Table/CreateRefPanel.tsx":{"bytes":9156,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui-table/src/components/Table/RefPanel.tsx":{"bytes":5663,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui-table/src/components/Table/RowActionsMenu.tsx":{"bytes":5974,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-table/src/translations.ts","kind":"import-statement","original":"../../translations"}],"format":"esm"},"packages/ui/react-ui-table/src/types/table.ts":{"bytes":2992,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui-table/src/types/index.ts":{"bytes":497,"imports":[{"path":"packages/ui/react-ui-table/src/types/table.ts","kind":"import-statement","original":"./table"}],"format":"esm"},"packages/ui/react-ui-table/src/util/dynamic-table.ts":{"bytes":9457,"imports":[{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-table/src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/ui/react-ui-table/src/util/signals.ts":{"bytes":915,"imports":[],"format":"esm"},"packages/ui/react-ui-table/src/util/table.ts":{"bytes":12119,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui-table/src/util/table-buttons.ts":{"bytes":14779,"imports":[],"format":"esm"},"packages/ui/react-ui-table/src/util/table-controls.ts":{"bytes":8862,"imports":[],"format":"esm"},"packages/ui/react-ui-table/src/util/index.ts":{"bytes":895,"imports":[{"path":"packages/ui/react-ui-table/src/util/dynamic-table.ts","kind":"import-statement","original":"./dynamic-table"},{"path":"packages/ui/react-ui-table/src/util/signals.ts","kind":"import-statement","original":"./signals"},{"path":"packages/ui/react-ui-table/src/util/table.ts","kind":"import-statement","original":"./table"},{"path":"packages/ui/react-ui-table/src/util/table-buttons.ts","kind":"import-statement","original":"./table-buttons"},{"path":"packages/ui/react-ui-table/src/util/table-controls.ts","kind":"import-statement","original":"./table-controls"}],"format":"esm"},"packages/ui/react-ui-table/src/model/selection-model.ts":{"bytes":12076,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-table/src/util/index.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/ui/react-ui-table/src/model/table-sorting.ts":{"bytes":23382,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"lodash.orderby","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui-table/src/model/table-model.ts":{"bytes":42624,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-table/src/model/selection-model.ts","kind":"import-statement","original":"./selection-model"},{"path":"packages/ui/react-ui-table/src/model/table-sorting.ts","kind":"import-statement","original":"./table-sorting"},{"path":"packages/ui/react-ui-table/src/util/index.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/ui/react-ui-table/src/model/modal-controller.ts":{"bytes":8467,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui-table/src/model/table-presentation.ts":{"bytes":37513,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-table/src/util/index.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/ui/react-ui-table/src/model/index.ts":{"bytes":817,"imports":[{"path":"packages/ui/react-ui-table/src/model/table-model.ts","kind":"import-statement","original":"./table-model"},{"path":"packages/ui/react-ui-table/src/model/modal-controller.ts","kind":"import-statement","original":"./modal-controller"},{"path":"packages/ui/react-ui-table/src/model/table-presentation.ts","kind":"import-statement","original":"./table-presentation"}],"format":"esm"},"packages/ui/react-ui-table/src/components/TableCellEditor/extension.ts":{"bytes":5534,"imports":[{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui-table/src/components/TableCellEditor/TableCellEditor.tsx":{"bytes":30550,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tag-picker","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-table/src/components/TableCellEditor/extension.ts","kind":"import-statement","original":"./extension"}],"format":"esm"},"packages/ui/react-ui-table/src/components/TableCellEditor/index.ts":{"bytes":544,"imports":[{"path":"packages/ui/react-ui-table/src/components/TableCellEditor/TableCellEditor.tsx","kind":"import-statement","original":"./TableCellEditor"}],"format":"esm"},"packages/ui/react-ui-table/src/components/Table/Table.tsx":{"bytes":41214,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-table/src/components/Table/ColumnActionsMenu.tsx","kind":"import-statement","original":"./ColumnActionsMenu"},{"path":"packages/ui/react-ui-table/src/components/Table/ColumnSettings.tsx","kind":"import-statement","original":"./ColumnSettings"},{"path":"packages/ui/react-ui-table/src/components/Table/CreateRefPanel.tsx","kind":"import-statement","original":"./CreateRefPanel"},{"path":"packages/ui/react-ui-table/src/components/Table/RefPanel.tsx","kind":"import-statement","original":"./RefPanel"},{"path":"packages/ui/react-ui-table/src/components/Table/RowActionsMenu.tsx","kind":"import-statement","original":"./RowActionsMenu"},{"path":"packages/ui/react-ui-table/src/model/index.ts","kind":"import-statement","original":"../../model"},{"path":"packages/ui/react-ui-table/src/translations.ts","kind":"import-statement","original":"../../translations"},{"path":"packages/ui/react-ui-table/src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"packages/ui/react-ui-table/src/components/TableCellEditor/index.ts","kind":"import-statement","original":"../TableCellEditor"}],"format":"esm"},"packages/ui/react-ui-table/src/hooks/useTableModel.ts":{"bytes":8200,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-table/src/model/index.ts","kind":"import-statement","original":"../model"}],"format":"esm"},"packages/ui/react-ui-table/src/hooks/index.ts":{"bytes":517,"imports":[{"path":"packages/ui/react-ui-table/src/hooks/useTableModel.ts","kind":"import-statement","original":"./useTableModel"}],"format":"esm"},"packages/ui/react-ui-table/src/components/Table/DynamicTable.tsx":{"bytes":10092,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-table/src/components/Table/Table.tsx","kind":"import-statement","original":"./Table"},{"path":"packages/ui/react-ui-table/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui-table/src/model/index.ts","kind":"import-statement","original":"../../model"},{"path":"packages/ui/react-ui-table/src/util/index.ts","kind":"import-statement","original":"../../util"}],"format":"esm"},"packages/ui/react-ui-table/src/components/Table/index.ts":{"bytes":608,"imports":[{"path":"packages/ui/react-ui-table/src/components/Table/Table.tsx","kind":"import-statement","original":"./Table"},{"path":"packages/ui/react-ui-table/src/components/Table/DynamicTable.tsx","kind":"import-statement","original":"./DynamicTable"}],"format":"esm"},"packages/ui/react-ui-table/src/components/TableToolbar/TableToolbar.tsx":{"bytes":7729,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-table/src/translations.ts","kind":"import-statement","original":"../../translations"}],"format":"esm"},"packages/ui/react-ui-table/src/components/TableToolbar/index.ts":{"bytes":534,"imports":[{"path":"packages/ui/react-ui-table/src/components/TableToolbar/TableToolbar.tsx","kind":"import-statement","original":"./TableToolbar"}],"format":"esm"},"packages/ui/react-ui-table/src/components/index.ts":{"bytes":602,"imports":[{"path":"packages/ui/react-ui-table/src/components/Table/index.ts","kind":"import-statement","original":"./Table"},{"path":"packages/ui/react-ui-table/src/components/TableToolbar/index.ts","kind":"import-statement","original":"./TableToolbar"}],"format":"esm"},"packages/ui/react-ui-table/src/index.ts":{"bytes":1083,"imports":[{"path":"packages/ui/react-ui-table/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/ui/react-ui-table/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/ui/react-ui-table/src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"packages/ui/react-ui-table/src/model/index.ts","kind":"import-statement","original":"./model"},{"path":"packages/ui/react-ui-table/src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"packages/ui/react-ui-table/src/util/index.ts","kind":"import-statement","original":"./util"}],"format":"esm"}},"outputs":{"packages/ui/react-ui-table/dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":158351},"packages/ui/react-ui-table/dist/lib/node-esm/index.mjs":{"imports":[{"path":"packages/ui/react-ui-table/dist/lib/node-esm/chunk-KKLP54L3.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/react-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":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","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-form","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"lodash.orderby","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tag-picker","kind":"import-statement","external":true},{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/view","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-theme","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true}],"exports":["BUTTON_IDENTIFIERS","CONTROL_IDENTIFIERS","CheckboxStory","DynamicTable","ModalController","SwitchStory","Table","TableModel","TablePresentation","TableSchema","TableToolbar","TableType","cellClassesForRowSelection","getBaseSchems","initializeTable","makeDynamicTable","tableButtons","tableControls","touch","translations","useTableModel"],"entryPoint":"packages/ui/react-ui-table/src/index.ts","inputs":{"packages/ui/react-ui-table/src/translations.ts":{"bytesInOutput":1158},"packages/ui/react-ui-table/src/components/Table/Table.tsx":{"bytesInOutput":9300},"packages/ui/react-ui-table/src/components/Table/ColumnActionsMenu.tsx":{"bytesInOutput":2102},"packages/ui/react-ui-table/src/components/Table/ColumnSettings.tsx":{"bytesInOutput":2214},"packages/ui/react-ui-table/src/components/Table/CreateRefPanel.tsx":{"bytesInOutput":2218},"packages/ui/react-ui-table/src/components/Table/RefPanel.tsx":{"bytesInOutput":1352},"packages/ui/react-ui-table/src/components/Table/RowActionsMenu.tsx":{"bytesInOutput":1373},"packages/ui/react-ui-table/src/model/table-model.ts":{"bytesInOutput":9441},"packages/ui/react-ui-table/src/model/selection-model.ts":{"bytesInOutput":2627},"packages/ui/react-ui-table/src/util/dynamic-table.ts":{"bytesInOutput":1999},"packages/ui/react-ui-table/src/util/index.ts":{"bytesInOutput":0},"packages/ui/react-ui-table/src/util/signals.ts":{"bytesInOutput":30},"packages/ui/react-ui-table/src/util/table.ts":{"bytesInOutput":2590},"packages/ui/react-ui-table/src/util/table-buttons.ts":{"bytesInOutput":3500},"packages/ui/react-ui-table/src/util/table-controls.ts":{"bytesInOutput":1905},"packages/ui/react-ui-table/src/model/table-sorting.ts":{"bytesInOutput":4459},"packages/ui/react-ui-table/src/model/index.ts":{"bytesInOutput":0},"packages/ui/react-ui-table/src/model/modal-controller.ts":{"bytesInOutput":2085},"packages/ui/react-ui-table/src/model/table-presentation.ts":{"bytesInOutput":9089},"packages/ui/react-ui-table/src/components/TableCellEditor/TableCellEditor.tsx":{"bytesInOutput":7378},"packages/ui/react-ui-table/src/components/TableCellEditor/extension.ts":{"bytesInOutput":1145},"packages/ui/react-ui-table/src/components/TableCellEditor/index.ts":{"bytesInOutput":0},"packages/ui/react-ui-table/src/components/Table/index.ts":{"bytesInOutput":0},"packages/ui/react-ui-table/src/components/Table/DynamicTable.tsx":{"bytesInOutput":1822},"packages/ui/react-ui-table/src/hooks/useTableModel.ts":{"bytesInOutput":1695},"packages/ui/react-ui-table/src/hooks/index.ts":{"bytesInOutput":0},"packages/ui/react-ui-table/src/components/index.ts":{"bytesInOutput":0},"packages/ui/react-ui-table/src/components/TableToolbar/TableToolbar.tsx":{"bytesInOutput":1736},"packages/ui/react-ui-table/src/components/TableToolbar/index.ts":{"bytesInOutput":0},"packages/ui/react-ui-table/src/index.ts":{"bytesInOutput":0}},"bytes":73532},"packages/ui/react-ui-table/dist/lib/node-esm/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/ui/react-ui-table/dist/lib/node-esm/types/index.mjs":{"imports":[{"path":"packages/ui/react-ui-table/dist/lib/node-esm/chunk-KKLP54L3.mjs","kind":"import-statement"}],"exports":["TableSchema","TableType"],"entryPoint":"packages/ui/react-ui-table/src/types/index.ts","inputs":{},"bytes":234},"packages/ui/react-ui-table/dist/lib/node-esm/chunk-KKLP54L3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1587},"packages/ui/react-ui-table/dist/lib/node-esm/chunk-KKLP54L3.mjs":{"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["TableSchema","TableType"],"inputs":{"packages/ui/react-ui-table/src/types/table.ts":{"bytesInOutput":581},"packages/ui/react-ui-table/src/types/index.ts":{"bytesInOutput":0}},"bytes":807}}}
1
+ {"inputs":{"packages/ui/react-ui-table/src/translations.ts":{"bytes":3942,"imports":[],"format":"esm"},"packages/ui/react-ui-table/src/components/Table/ColumnActionsMenu.tsx":{"bytes":8486,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-table/src/translations.ts","kind":"import-statement","original":"../../translations"}],"format":"esm"},"packages/ui/react-ui-table/src/components/Table/ColumnSettings.tsx":{"bytes":8916,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui-table/src/components/Table/CreateRefPanel.tsx":{"bytes":9156,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui-table/src/components/Table/RowActionsMenu.tsx":{"bytes":5974,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-table/src/translations.ts","kind":"import-statement","original":"../../translations"}],"format":"esm"},"packages/ui/react-ui-table/src/types/table.ts":{"bytes":2992,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui-table/src/types/index.ts":{"bytes":497,"imports":[{"path":"packages/ui/react-ui-table/src/types/table.ts","kind":"import-statement","original":"./table"}],"format":"esm"},"packages/ui/react-ui-table/src/util/dynamic-table.ts":{"bytes":9457,"imports":[{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-table/src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/ui/react-ui-table/src/util/signals.ts":{"bytes":915,"imports":[],"format":"esm"},"packages/ui/react-ui-table/src/util/table.ts":{"bytes":11508,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui-table/src/util/table-buttons.ts":{"bytes":12358,"imports":[],"format":"esm"},"packages/ui/react-ui-table/src/util/table-controls.ts":{"bytes":8862,"imports":[],"format":"esm"},"packages/ui/react-ui-table/src/util/index.ts":{"bytes":895,"imports":[{"path":"packages/ui/react-ui-table/src/util/dynamic-table.ts","kind":"import-statement","original":"./dynamic-table"},{"path":"packages/ui/react-ui-table/src/util/signals.ts","kind":"import-statement","original":"./signals"},{"path":"packages/ui/react-ui-table/src/util/table.ts","kind":"import-statement","original":"./table"},{"path":"packages/ui/react-ui-table/src/util/table-buttons.ts","kind":"import-statement","original":"./table-buttons"},{"path":"packages/ui/react-ui-table/src/util/table-controls.ts","kind":"import-statement","original":"./table-controls"}],"format":"esm"},"packages/ui/react-ui-table/src/model/selection-model.ts":{"bytes":12076,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-table/src/util/index.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/ui/react-ui-table/src/model/table-sorting.ts":{"bytes":23382,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"lodash.orderby","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui-table/src/util/tag.ts":{"bytes":2915,"imports":[],"format":"esm"},"packages/ui/react-ui-table/src/model/table-model.ts":{"bytes":44539,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-table/src/model/selection-model.ts","kind":"import-statement","original":"./selection-model"},{"path":"packages/ui/react-ui-table/src/model/table-sorting.ts","kind":"import-statement","original":"./table-sorting"},{"path":"packages/ui/react-ui-table/src/util/index.ts","kind":"import-statement","original":"../util"},{"path":"packages/ui/react-ui-table/src/util/tag.ts","kind":"import-statement","original":"../util/tag"}],"format":"esm"},"packages/ui/react-ui-table/src/model/modal-controller.ts":{"bytes":8467,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui-table/src/model/table-presentation.ts":{"bytes":37671,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-table/src/util/index.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/ui/react-ui-table/src/model/index.ts":{"bytes":817,"imports":[{"path":"packages/ui/react-ui-table/src/model/table-model.ts","kind":"import-statement","original":"./table-model"},{"path":"packages/ui/react-ui-table/src/model/modal-controller.ts","kind":"import-statement","original":"./modal-controller"},{"path":"packages/ui/react-ui-table/src/model/table-presentation.ts","kind":"import-statement","original":"./table-presentation"}],"format":"esm"},"packages/ui/react-ui-table/src/components/TableCellEditor/extension.ts":{"bytes":5534,"imports":[{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui-table/src/components/TableCellEditor/TableCellEditor.tsx":{"bytes":30550,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tag-picker","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-table/src/components/TableCellEditor/extension.ts","kind":"import-statement","original":"./extension"}],"format":"esm"},"packages/ui/react-ui-table/src/components/TableCellEditor/index.ts":{"bytes":544,"imports":[{"path":"packages/ui/react-ui-table/src/components/TableCellEditor/TableCellEditor.tsx","kind":"import-statement","original":"./TableCellEditor"}],"format":"esm"},"packages/ui/react-ui-table/src/components/Table/Table.tsx":{"bytes":38811,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-table/src/components/Table/ColumnActionsMenu.tsx","kind":"import-statement","original":"./ColumnActionsMenu"},{"path":"packages/ui/react-ui-table/src/components/Table/ColumnSettings.tsx","kind":"import-statement","original":"./ColumnSettings"},{"path":"packages/ui/react-ui-table/src/components/Table/CreateRefPanel.tsx","kind":"import-statement","original":"./CreateRefPanel"},{"path":"packages/ui/react-ui-table/src/components/Table/RowActionsMenu.tsx","kind":"import-statement","original":"./RowActionsMenu"},{"path":"packages/ui/react-ui-table/src/model/index.ts","kind":"import-statement","original":"../../model"},{"path":"packages/ui/react-ui-table/src/translations.ts","kind":"import-statement","original":"../../translations"},{"path":"packages/ui/react-ui-table/src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"packages/ui/react-ui-table/src/components/TableCellEditor/index.ts","kind":"import-statement","original":"../TableCellEditor"}],"format":"esm"},"packages/ui/react-ui-table/src/hooks/useTableModel.ts":{"bytes":8200,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-table/src/model/index.ts","kind":"import-statement","original":"../model"}],"format":"esm"},"packages/ui/react-ui-table/src/hooks/index.ts":{"bytes":517,"imports":[{"path":"packages/ui/react-ui-table/src/hooks/useTableModel.ts","kind":"import-statement","original":"./useTableModel"}],"format":"esm"},"packages/ui/react-ui-table/src/components/Table/DynamicTable.tsx":{"bytes":10092,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-table/src/components/Table/Table.tsx","kind":"import-statement","original":"./Table"},{"path":"packages/ui/react-ui-table/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui-table/src/model/index.ts","kind":"import-statement","original":"../../model"},{"path":"packages/ui/react-ui-table/src/util/index.ts","kind":"import-statement","original":"../../util"}],"format":"esm"},"packages/ui/react-ui-table/src/components/Table/index.ts":{"bytes":608,"imports":[{"path":"packages/ui/react-ui-table/src/components/Table/Table.tsx","kind":"import-statement","original":"./Table"},{"path":"packages/ui/react-ui-table/src/components/Table/DynamicTable.tsx","kind":"import-statement","original":"./DynamicTable"}],"format":"esm"},"packages/ui/react-ui-table/src/components/TableToolbar/TableToolbar.tsx":{"bytes":7729,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-table/src/translations.ts","kind":"import-statement","original":"../../translations"}],"format":"esm"},"packages/ui/react-ui-table/src/components/TableToolbar/index.ts":{"bytes":534,"imports":[{"path":"packages/ui/react-ui-table/src/components/TableToolbar/TableToolbar.tsx","kind":"import-statement","original":"./TableToolbar"}],"format":"esm"},"packages/ui/react-ui-table/src/components/index.ts":{"bytes":602,"imports":[{"path":"packages/ui/react-ui-table/src/components/Table/index.ts","kind":"import-statement","original":"./Table"},{"path":"packages/ui/react-ui-table/src/components/TableToolbar/index.ts","kind":"import-statement","original":"./TableToolbar"}],"format":"esm"},"packages/ui/react-ui-table/src/index.ts":{"bytes":1083,"imports":[{"path":"packages/ui/react-ui-table/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/ui/react-ui-table/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/ui/react-ui-table/src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"packages/ui/react-ui-table/src/model/index.ts","kind":"import-statement","original":"./model"},{"path":"packages/ui/react-ui-table/src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"packages/ui/react-ui-table/src/util/index.ts","kind":"import-statement","original":"./util"}],"format":"esm"}},"outputs":{"packages/ui/react-ui-table/dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":155180},"packages/ui/react-ui-table/dist/lib/node-esm/index.mjs":{"imports":[{"path":"packages/ui/react-ui-table/dist/lib/node-esm/chunk-KKLP54L3.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/react-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":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"lodash.orderby","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tag-picker","kind":"import-statement","external":true},{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/view","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-theme","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true}],"exports":["BUTTON_IDENTIFIERS","CONTROL_IDENTIFIERS","CheckboxStory","DynamicTable","ModalController","SwitchStory","Table","TableModel","TablePresentation","TableSchema","TableToolbar","TableType","cellClassesForRowSelection","getBaseSchems","initializeTable","makeDynamicTable","tableButtons","tableControls","touch","translations","useTableModel"],"entryPoint":"packages/ui/react-ui-table/src/index.ts","inputs":{"packages/ui/react-ui-table/src/translations.ts":{"bytesInOutput":1158},"packages/ui/react-ui-table/src/components/Table/Table.tsx":{"bytesInOutput":8873},"packages/ui/react-ui-table/src/components/Table/ColumnActionsMenu.tsx":{"bytesInOutput":2102},"packages/ui/react-ui-table/src/components/Table/ColumnSettings.tsx":{"bytesInOutput":2214},"packages/ui/react-ui-table/src/components/Table/CreateRefPanel.tsx":{"bytesInOutput":2218},"packages/ui/react-ui-table/src/components/Table/RowActionsMenu.tsx":{"bytesInOutput":1373},"packages/ui/react-ui-table/src/model/table-model.ts":{"bytesInOutput":9881},"packages/ui/react-ui-table/src/model/selection-model.ts":{"bytesInOutput":2627},"packages/ui/react-ui-table/src/util/dynamic-table.ts":{"bytesInOutput":1999},"packages/ui/react-ui-table/src/util/index.ts":{"bytesInOutput":0},"packages/ui/react-ui-table/src/util/signals.ts":{"bytesInOutput":30},"packages/ui/react-ui-table/src/util/table.ts":{"bytesInOutput":2541},"packages/ui/react-ui-table/src/util/table-buttons.ts":{"bytesInOutput":2889},"packages/ui/react-ui-table/src/util/table-controls.ts":{"bytesInOutput":1905},"packages/ui/react-ui-table/src/model/table-sorting.ts":{"bytesInOutput":4459},"packages/ui/react-ui-table/src/util/tag.ts":{"bytesInOutput":334},"packages/ui/react-ui-table/src/model/index.ts":{"bytesInOutput":0},"packages/ui/react-ui-table/src/model/modal-controller.ts":{"bytesInOutput":2085},"packages/ui/react-ui-table/src/model/table-presentation.ts":{"bytesInOutput":9191},"packages/ui/react-ui-table/src/components/TableCellEditor/TableCellEditor.tsx":{"bytesInOutput":7378},"packages/ui/react-ui-table/src/components/TableCellEditor/extension.ts":{"bytesInOutput":1145},"packages/ui/react-ui-table/src/components/TableCellEditor/index.ts":{"bytesInOutput":0},"packages/ui/react-ui-table/src/components/Table/index.ts":{"bytesInOutput":0},"packages/ui/react-ui-table/src/components/Table/DynamicTable.tsx":{"bytesInOutput":1822},"packages/ui/react-ui-table/src/hooks/useTableModel.ts":{"bytesInOutput":1695},"packages/ui/react-ui-table/src/hooks/index.ts":{"bytesInOutput":0},"packages/ui/react-ui-table/src/components/index.ts":{"bytesInOutput":0},"packages/ui/react-ui-table/src/components/TableToolbar/TableToolbar.tsx":{"bytesInOutput":1736},"packages/ui/react-ui-table/src/components/TableToolbar/index.ts":{"bytesInOutput":0},"packages/ui/react-ui-table/src/index.ts":{"bytesInOutput":0}},"bytes":71951},"packages/ui/react-ui-table/dist/lib/node-esm/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/ui/react-ui-table/dist/lib/node-esm/types/index.mjs":{"imports":[{"path":"packages/ui/react-ui-table/dist/lib/node-esm/chunk-KKLP54L3.mjs","kind":"import-statement"}],"exports":["TableSchema","TableType"],"entryPoint":"packages/ui/react-ui-table/src/types/index.ts","inputs":{},"bytes":234},"packages/ui/react-ui-table/dist/lib/node-esm/chunk-KKLP54L3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1587},"packages/ui/react-ui-table/dist/lib/node-esm/chunk-KKLP54L3.mjs":{"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["TableSchema","TableType"],"inputs":{"packages/ui/react-ui-table/src/types/table.ts":{"bytesInOutput":581},"packages/ui/react-ui-table/src/types/index.ts":{"bytesInOutput":0}},"bytes":807}}}
@@ -1 +1 @@
1
- {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAEZ,KAAK,iBAAiB,EAQvB,MAAM,OAAO,CAAC;AAOf,OAAO,EAAmC,KAAK,cAAc,EAA+B,MAAM,qBAAqB,CAAC;AASxH,OAAO,EAAmB,KAAK,UAAU,EAAE,KAAK,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAgBvF,MAAM,MAAM,cAAc,GAAG,iBAAiB,CAAC;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAsBlE,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;CAC1C,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,YAAY,CAAC,EAAE,iBAAiB,CAAC;IAEjC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;CACjC,CAAC;AA+SF,eAAO,MAAM,KAAK;+BA7UqB,cAAc;;CAgVpD,CAAC"}
1
+ {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAEZ,KAAK,iBAAiB,EAQvB,MAAM,OAAO,CAAC;AAOf,OAAO,EAGL,KAAK,cAAc,EAOpB,MAAM,qBAAqB,CAAC;AAQ7B,OAAO,EAAmB,KAAK,UAAU,EAAE,KAAK,iBAAiB,EAAE,MAAM,aAAa,CAAC;AASvF,MAAM,MAAM,cAAc,GAAG,iBAAiB,CAAC;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAsBlE,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;CAC1C,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,YAAY,CAAC,EAAE,iBAAiB,CAAC;IAEjC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;CACjC,CAAC;AAuSF,eAAO,MAAM,KAAK;+BArUqB,cAAc;;CAwUpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"relations.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/relations.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAA6B,MAAM,OAAO,CAAC;AAgElD,QAAA,MAAM,YAAY,yBAoBjB,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAanC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAC;AAE3C,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
1
+ {"version":3,"file":"relations.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/relations.stories.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,gBAAgB;CAczB;AAED,eAAO,MAAM,0BAA0B,aAAc,OAAO,iBAAiB,aAAa,yBAgBzF,CAAC"}
@@ -8,10 +8,6 @@ type ButtonData = {
8
8
  } | {
9
9
  type: 'newColumn';
10
10
  disabled?: boolean;
11
- } | {
12
- type: 'referencedCell';
13
- schemaId: string;
14
- targetId: string;
15
11
  } | {
16
12
  type: 'rowMenu';
17
13
  rowIndex: number;
@@ -41,16 +37,6 @@ export declare const tableButtons: {
41
37
  type: "columnSettings";
42
38
  }>;
43
39
  };
44
- readonly referencedCell: {
45
- readonly attr: string;
46
- readonly icon: "ph--link-simple-horizontal--regular";
47
- readonly render: ({ targetId, schemaId }: Omit<Extract<ButtonData, {
48
- type: "referencedCell";
49
- }>, "type">) => string;
50
- readonly getData: (el: HTMLElement) => Extract<ButtonData, {
51
- type: "referencedCell";
52
- }>;
53
- };
54
40
  readonly rowMenu: {
55
41
  readonly attr: string;
56
42
  readonly icon: "ph--dots-three--regular";
@@ -1 +1 @@
1
- {"version":3,"file":"table-buttons.d.ts","sourceRoot":"","sources":["../../../../src/util/table-buttons.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,WAAW,GAAG,gBAAgB,GAAG,SAAS,GAAG,WAAW,GAAG,gBAAgB,GAAG,MAAM,CAAC;AAEjG,eAAO,MAAM,kBAAkB,EAAE;KAAG,CAAC,IAAI,WAAW,GAAG,MAAM;CAMnD,CAAC;AAEX,KAAK,UAAU,GACX;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GAC3C;IAAE,IAAI,EAAE,WAAW,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,GACzC;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,GAC9D;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,G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MAAM,CAAA;SAAE,CAAC,EAAE,MAAM,CAAC;+BActE,WAAW,KAAG,OAAO,CAAC,UAAU,EAAE;YAAE,IAAI,EAAE,MAAM,CAAA;SAAE,CAAC;;CAYzD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../src/util/table.ts"],"names":[],"mappings":"AAIA,OAAO,EAOL,CAAC,EAGF,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,KAAK,MAAM,EAAa,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAiB,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAGpE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAG1C,KAAK,oBAAoB,GAAG;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,eAAe,oDAMzB,oBAAoB,KAAG,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,YAAY,CA8CtD,CAAC"}
1
+ {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../src/util/table.ts"],"names":[],"mappings":"AAIA,OAAO,EAOL,CAAC,EAGF,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,KAAK,MAAM,EAAa,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAiB,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAGpE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAG1C,KAAK,oBAAoB,GAAG;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,eAAe,oDAMzB,oBAAoB,KAAG,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,YAAY,CA0CtD,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Regex pattern for matching tags in the format [Label](id)
3
+ */
4
+ export declare const TAG_PATTERN_REGEX: RegExp;
5
+ /**
6
+ * Extracts tag IDs from a string in the format [Label](id)
7
+ * @param value The string to extract IDs from
8
+ * @returns Array of extracted IDs or undefined if no matches or value is not a string
9
+ */
10
+ export declare const extractTagIds: (value: unknown) => string[] | undefined;
11
+ //# sourceMappingURL=tag.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../../src/util/tag.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,eAAO,MAAM,iBAAiB,QAA6B,CAAC;AAE5D;;;;GAIG;AACH,eAAO,MAAM,aAAa,UAAW,OAAO,KAAG,MAAM,EAAE,GAAG,SAgBzD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/react-ui-table",
3
- "version": "0.8.2-main.f081794",
3
+ "version": "0.8.2-main.f11618f",
4
4
  "description": "A table component.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -52,30 +52,30 @@
52
52
  "@radix-ui/react-use-controllable-state": "1.1.0",
53
53
  "date-fns": "^3.3.1",
54
54
  "lodash.orderby": "^4.6.0",
55
- "@dxos/context": "0.8.2-main.f081794",
56
- "@dxos/echo-schema": "0.8.2-main.f081794",
57
- "@dxos/effect": "0.8.2-main.f081794",
58
- "@dxos/keys": "0.8.2-main.f081794",
59
- "@dxos/lit-grid": "0.8.2-main.f081794",
60
- "@dxos/invariant": "0.8.2-main.f081794",
61
- "@dxos/live-object": "0.8.2-main.f081794",
62
- "@dxos/log": "0.8.2-main.f081794",
63
- "@dxos/plugin-search": "0.8.2-main.f081794",
64
- "@dxos/plugin-space": "0.8.2-main.f081794",
65
- "@dxos/react-client": "0.8.2-main.f081794",
66
- "@dxos/debug": "0.8.2-main.f081794",
67
- "@dxos/react-ui-form": "0.8.2-main.f081794",
68
- "@dxos/react-ui-attention": "0.8.2-main.f081794",
69
- "@dxos/react-ui-editor": "0.8.2-main.f081794",
70
- "@dxos/react-ui-grid": "0.8.2-main.f081794",
71
- "@dxos/react-ui-searchlist": "0.8.2-main.f081794",
72
- "@dxos/react-ui-stack": "0.8.2-main.f081794",
73
- "@dxos/react-ui-syntax-highlighter": "0.8.2-main.f081794",
74
- "@dxos/react-ui-menu": "0.8.2-main.f081794",
75
- "@dxos/react-ui-tag-picker": "0.8.2-main.f081794",
76
- "@dxos/react-ui-types": "0.8.2-main.f081794",
77
- "@dxos/schema": "0.8.2-main.f081794",
78
- "@dxos/util": "0.8.2-main.f081794"
55
+ "@dxos/debug": "0.8.2-main.f11618f",
56
+ "@dxos/echo-schema": "0.8.2-main.f11618f",
57
+ "@dxos/invariant": "0.8.2-main.f11618f",
58
+ "@dxos/effect": "0.8.2-main.f11618f",
59
+ "@dxos/keys": "0.8.2-main.f11618f",
60
+ "@dxos/lit-grid": "0.8.2-main.f11618f",
61
+ "@dxos/context": "0.8.2-main.f11618f",
62
+ "@dxos/live-object": "0.8.2-main.f11618f",
63
+ "@dxos/plugin-space": "0.8.2-main.f11618f",
64
+ "@dxos/plugin-search": "0.8.2-main.f11618f",
65
+ "@dxos/react-client": "0.8.2-main.f11618f",
66
+ "@dxos/log": "0.8.2-main.f11618f",
67
+ "@dxos/react-ui-attention": "0.8.2-main.f11618f",
68
+ "@dxos/react-ui-editor": "0.8.2-main.f11618f",
69
+ "@dxos/react-ui-form": "0.8.2-main.f11618f",
70
+ "@dxos/react-ui-menu": "0.8.2-main.f11618f",
71
+ "@dxos/react-ui-syntax-highlighter": "0.8.2-main.f11618f",
72
+ "@dxos/react-ui-searchlist": "0.8.2-main.f11618f",
73
+ "@dxos/react-ui-grid": "0.8.2-main.f11618f",
74
+ "@dxos/react-ui-stack": "0.8.2-main.f11618f",
75
+ "@dxos/react-ui-tag-picker": "0.8.2-main.f11618f",
76
+ "@dxos/react-ui-types": "0.8.2-main.f11618f",
77
+ "@dxos/schema": "0.8.2-main.f11618f",
78
+ "@dxos/util": "0.8.2-main.f11618f"
79
79
  },
80
80
  "devDependencies": {
81
81
  "@phosphor-icons/react": "^2.1.5",
@@ -86,19 +86,19 @@
86
86
  "react": "~18.2.0",
87
87
  "react-dom": "~18.2.0",
88
88
  "vite": "5.4.7",
89
- "@dxos/echo-signals": "0.8.2-main.f081794",
90
- "@dxos/random": "0.8.2-main.f081794",
91
- "@dxos/react-ui-theme": "0.8.2-main.f081794",
92
- "@dxos/storybook-utils": "0.8.2-main.f081794",
93
- "@dxos/test-utils": "0.8.2-main.f081794",
94
- "@dxos/react-ui": "0.8.2-main.f081794"
89
+ "@dxos/echo-signals": "0.8.2-main.f11618f",
90
+ "@dxos/random": "0.8.2-main.f11618f",
91
+ "@dxos/react-ui": "0.8.2-main.f11618f",
92
+ "@dxos/react-ui-theme": "0.8.2-main.f11618f",
93
+ "@dxos/storybook-utils": "0.8.2-main.f11618f",
94
+ "@dxos/test-utils": "0.8.2-main.f11618f"
95
95
  },
96
96
  "peerDependencies": {
97
97
  "@phosphor-icons/react": "^2.1.5",
98
98
  "react": "~18.2.0",
99
99
  "react-dom": "~18.2.0",
100
- "@dxos/react-ui": "0.8.2-main.f081794",
101
- "@dxos/react-ui-theme": "0.8.2-main.f081794"
100
+ "@dxos/react-ui": "0.8.2-main.f11618f",
101
+ "@dxos/react-ui-theme": "0.8.2-main.f11618f"
102
102
  },
103
103
  "publishConfig": {
104
104
  "access": "public"
@@ -247,7 +247,7 @@ export const StaticSchema: StoryObj = {
247
247
  parameters: { translations },
248
248
  decorators: [
249
249
  withClientProvider({
250
- types: [TableType, ViewType, Testing.Contact, Testing.Org],
250
+ types: [TableType, ViewType, Testing.Contact, Testing.Organization],
251
251
  createIdentity: true,
252
252
  createSpace: true,
253
253
  onSpaceCreated: async ({ client, space }) => {
@@ -257,7 +257,7 @@ export const StaticSchema: StoryObj = {
257
257
  const factory = createObjectFactory(space.db, faker as any);
258
258
  await factory([
259
259
  { type: Testing.Contact, count: 10 },
260
- { type: Testing.Org, count: 1 },
260
+ { type: Testing.Organization, count: 1 },
261
261
  ]);
262
262
  },
263
263
  }),
@@ -19,27 +19,29 @@ import { invariant } from '@dxos/invariant';
19
19
  import { Filter } from '@dxos/react-client/echo';
20
20
  import { useTranslation } from '@dxos/react-ui';
21
21
  import { useAttention } from '@dxos/react-ui-attention';
22
- import { closestCell, type DxGridElement, type DxGridPosition, type GridContentProps, Grid } from '@dxos/react-ui-grid';
22
+ import {
23
+ closestCell,
24
+ type DxGridElement,
25
+ type DxGridPosition,
26
+ type GridContentProps,
27
+ Grid,
28
+ type DxGridPlane,
29
+ type DxGridPlaneRange,
30
+ gridSeparatorInlineEnd,
31
+ gridSeparatorBlockEnd,
32
+ } from '@dxos/react-ui-grid';
23
33
  import { mx } from '@dxos/react-ui-theme';
24
34
  import { isNotFalsy, safeParseInt } from '@dxos/util';
25
35
 
26
36
  import { ColumnActionsMenu } from './ColumnActionsMenu';
27
37
  import { ColumnSettings } from './ColumnSettings';
28
38
  import { CreateRefPanel } from './CreateRefPanel';
29
- import { RefPanel } from './RefPanel';
30
39
  import { RowActionsMenu } from './RowActionsMenu';
31
40
  import { ModalController, type TableModel, type TablePresentation } from '../../model';
32
41
  import { translationKey } from '../../translations';
33
42
  import { tableButtons, tableControls } from '../../util';
34
43
  import { createOption, TableCellEditor, type TableCellEditorProps } from '../TableCellEditor';
35
44
 
36
- // NOTE(Zan): These fragments add border to inline-end and block-end of the grid using pseudo-elements.
37
- // These are offset by 1px to avoid double borders in planks.
38
- const inlineEndLine =
39
- '[&>.dx-grid]:relative [&>.dx-grid]:after:absolute [&>.dx-grid]:after:inset-block-0 [&>.dx-grid]:after:-inline-end-px [&>.dx-grid]:after:is-px [&>.dx-grid]:after:bg-separator';
40
- const blockEndLine =
41
- '[&>.dx-grid]:before:absolute [&>.dx-grid]:before:inset-inline-0 [&>.dx-grid]:before:-block-end-px [&>.dx-grid]:before:bs-px [&>.dx-grid]:before:bg-separator';
42
-
43
45
  //
44
46
  // Table.Root
45
47
  //
@@ -98,20 +100,17 @@ const TableMain = forwardRef<TableController, TableMainProps>(
98
100
  };
99
101
  }, [model]);
100
102
 
101
- // TODO(burdon): Replace useEffect below.
102
- // const getCells = useCallback<GridContentProps['getCells']>(
103
- // (range: DxGridRange, plane: DxGridPlane) => presentation?.getCells(range, plane) ?? {},
104
- // [presentation],
105
- // );
103
+ const getCells = useCallback<NonNullable<GridContentProps['getCells']>>(
104
+ (range: DxGridPlaneRange, plane: DxGridPlane) => presentation?.getCells(range, plane) ?? {},
105
+ [presentation],
106
+ );
106
107
 
107
108
  useEffect(() => {
108
109
  if (!presentation || !dxGrid) {
109
110
  return;
110
111
  }
111
-
112
- // TODO(burdon): Pass to Grid.Content?
113
- dxGrid.getCells = (range, plane) => presentation.getCells(range, plane);
114
- }, [presentation, dxGrid]);
112
+ dxGrid.getCells = getCells;
113
+ }, [presentation, dxGrid, getCells]);
115
114
 
116
115
  /**
117
116
  * Provides an external controller that can be called to repaint the table.
@@ -181,10 +180,6 @@ const TableMain = forwardRef<TableController, TableMainProps>(
181
180
  modals.showColumnCreator();
182
181
  break;
183
182
  }
184
- case 'referencedCell': {
185
- modals.showReferencePanel(data.targetId, data.schemaId);
186
- break;
187
- }
188
183
  case 'sort': {
189
184
  model?.sorting?.toggleSort(data.fieldId);
190
185
  break;
@@ -356,7 +351,7 @@ const TableMain = forwardRef<TableController, TableMainProps>(
356
351
  onQuery={handleQuery}
357
352
  />
358
353
  <Grid.Content
359
- className={mx('[--dx-grid-base:var(--surface-bg)]', inlineEndLine, blockEndLine)}
354
+ className={mx('[--dx-grid-base:var(--surface-bg)]', gridSeparatorInlineEnd, gridSeparatorBlockEnd)}
360
355
  frozen={frozen}
361
356
  // getCells={getCells}
362
357
  columns={model.columnMeta.value}
@@ -373,7 +368,6 @@ const TableMain = forwardRef<TableController, TableMainProps>(
373
368
  <ColumnActionsMenu model={model} modals={modals} />
374
369
  <ColumnSettings model={model} modals={modals} onNewColumn={handleNewColumn} />
375
370
  <CreateRefPanel model={model} modals={modals} />
376
- <RefPanel model={model} modals={modals} />
377
371
  </Grid.Root>
378
372
  );
379
373
  },
@@ -10,15 +10,15 @@ import React, { useEffect, useMemo } from 'react';
10
10
  import { AST, type BaseObject, ImmutableSchema, type BaseSchema, type HasId } from '@dxos/echo-schema';
11
11
  import { getAnnotation } from '@dxos/effect';
12
12
  import { faker } from '@dxos/random';
13
- import { live, makeRef, type Live } from '@dxos/react-client/echo';
14
- import { withClientProvider } from '@dxos/react-client/testing';
15
- import { createView, ViewProjection, ViewType } from '@dxos/schema';
16
- import { createGenerator, Testing, type ValueGenerator } from '@dxos/schema/testing';
13
+ import { live, makeRef } from '@dxos/react-client/echo';
14
+ import { useClientProvider, withClientProvider } from '@dxos/react-client/testing';
15
+ import { Contact, createView, Organization, ViewProjection, ViewType } from '@dxos/schema';
16
+ import { createAsyncGenerator, type ValueGenerator } from '@dxos/schema/testing';
17
17
  import { withLayout, withTheme } from '@dxos/storybook-utils';
18
18
 
19
19
  import { Table } from './Table';
20
20
  import { useTableModel } from '../../hooks';
21
- import { TablePresentation, type TableRow } from '../../model';
21
+ import { type TableFeatures, TablePresentation, type TableRow } from '../../model';
22
22
  import translations from '../../translations';
23
23
  import { TableType } from '../../types';
24
24
 
@@ -30,6 +30,8 @@ const generator: ValueGenerator = faker as any;
30
30
  // TODO(burdon): Reconcile schemas types and utils (see API PR).
31
31
  // TODO(burdon): Base type for T (with id); see ECHO API PR?
32
32
  const useTestModel = <T extends BaseObject & HasId>(schema: BaseSchema<T>, count: number) => {
33
+ const { space } = useClientProvider();
34
+
33
35
  const table = useMemo(() => {
34
36
  // const { typename } = pipe(schema.ast, AST.getAnnotation<TypeAnnotation>(TypeAnnotationId), Option.getOrThrow);
35
37
  const typename = schema.typename;
@@ -47,16 +49,24 @@ const useTestModel = <T extends BaseObject & HasId>(schema: BaseSchema<T>, count
47
49
  return new ViewProjection(schema.jsonSchema, table.view.target);
48
50
  }, [schema, table]);
49
51
 
50
- const model = useTableModel<TableRow>({ table, projection, rows: [] });
52
+ const features = useMemo<TableFeatures>(
53
+ () => ({ schemaEditable: false, dataEditable: true, selection: { enabled: false } }),
54
+ [],
55
+ );
56
+
57
+ const model = useTableModel<TableRow>({ table, projection, rows: [], features });
51
58
  useEffect(() => {
52
- if (!model) {
59
+ if (!model || !space) {
53
60
  return;
54
61
  }
55
62
 
56
- const objectGenerator = createGenerator(generator, schema, { optional: true });
57
- const objects: Live<T>[] = Array.from({ length: count }).map(() => objectGenerator.createObject());
58
- model.setRows(objects);
59
- }, [model]);
63
+ const objectGenerator = createAsyncGenerator(generator, schema, { optional: true, db: space?.db });
64
+ void objectGenerator.createObjects(count).then((objects) => {
65
+ model.setRows(objects);
66
+ });
67
+ }, [model, space]);
68
+
69
+ console.log(projection?.getFieldProjections());
60
70
 
61
71
  const presentation = useMemo(() => {
62
72
  if (!model) {
@@ -71,21 +81,20 @@ const useTestModel = <T extends BaseObject & HasId>(schema: BaseSchema<T>, count
71
81
 
72
82
  const DefaultStory = () => {
73
83
  // TODO(burdon): Remove need for ImmutableSchema wrapper at API-level.
74
- const orgSchema = useMemo(() => new ImmutableSchema(Testing.Org), []);
75
- const { model: orgModel, presentation: orgPresentation } = useTestModel<Testing.Org>(orgSchema, 50);
84
+ const orgSchema = useMemo(() => new ImmutableSchema(Organization), []);
85
+ const { model: orgModel, presentation: orgPresentation } = useTestModel<Organization>(orgSchema, 50);
76
86
 
77
87
  // TODO(burdon): Generate links with references.
78
- const contactSchema = useMemo(() => new ImmutableSchema(Testing.Contact), []);
79
- const { model: contactModel, presentation: contactPresentation } = useTestModel<Testing.Contact>(contactSchema, 50);
88
+ const contactSchema = useMemo(() => new ImmutableSchema(Contact), []);
89
+ const { model: contactModel, presentation: contactPresentation } = useTestModel<Contact>(contactSchema, 50);
80
90
 
81
- // TODO(burdon): Scrolling isn't working.
82
91
  return (
83
- <div className='grow grid grid-cols-2 divide-x divide-separator'>
92
+ <div className='is-full bs-full grid grid-cols-2 divide-x divide-separator'>
84
93
  <Table.Root>
85
- <Table.Main model={orgModel} presentation={orgPresentation} />
94
+ <Table.Main model={orgModel} presentation={orgPresentation} ignoreAttention />
86
95
  </Table.Root>
87
96
  <Table.Root>
88
- <Table.Main model={contactModel} presentation={contactPresentation} />
97
+ <Table.Main model={contactModel} presentation={contactPresentation} ignoreAttention />
89
98
  </Table.Root>
90
99
  </div>
91
100
  );
@@ -97,7 +106,7 @@ const meta: Meta<typeof DefaultStory> = {
97
106
  parameters: { translations },
98
107
  decorators: [
99
108
  withClientProvider({
100
- types: [TableType, ViewType, Testing.Org, Testing.Contact],
109
+ types: [TableType, ViewType, Organization, Contact],
101
110
  createIdentity: true,
102
111
  createSpace: true,
103
112
  }),