@dxos/react-ui-table 0.8.4-main.c85a9c8dae → 0.8.4-main.d05539e30a

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.
Files changed (119) hide show
  1. package/LICENSE +102 -5
  2. package/dist/lib/browser/{chunk-DSR2MRZB.mjs → chunk-4URYOFDL.mjs} +10 -21
  3. package/dist/lib/browser/chunk-4URYOFDL.mjs.map +7 -0
  4. package/dist/lib/browser/chunk-J5LGTIGS.mjs +10 -0
  5. package/dist/lib/browser/chunk-J5LGTIGS.mjs.map +7 -0
  6. package/dist/lib/browser/{chunk-PTHMYAAM.mjs → chunk-YDXPC7HA.mjs} +16 -72
  7. package/dist/lib/browser/chunk-YDXPC7HA.mjs.map +7 -0
  8. package/dist/lib/browser/index.mjs +207 -251
  9. package/dist/lib/browser/index.mjs.map +4 -4
  10. package/dist/lib/browser/meta.json +1 -1
  11. package/dist/lib/browser/testing/index.mjs +8 -6
  12. package/dist/lib/browser/testing/index.mjs.map +3 -3
  13. package/dist/lib/browser/translations.mjs +36 -0
  14. package/dist/lib/browser/translations.mjs.map +7 -0
  15. package/dist/lib/browser/types/index.mjs +2 -1
  16. package/dist/lib/node-esm/{chunk-GI72MQSG.mjs → chunk-2AN3QQ3D.mjs} +16 -72
  17. package/dist/lib/node-esm/chunk-2AN3QQ3D.mjs.map +7 -0
  18. package/dist/lib/node-esm/{chunk-HTZJSULI.mjs → chunk-B2SZYAEC.mjs} +10 -21
  19. package/dist/lib/node-esm/chunk-B2SZYAEC.mjs.map +7 -0
  20. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +11 -0
  21. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs.map +7 -0
  22. package/dist/lib/node-esm/index.mjs +207 -251
  23. package/dist/lib/node-esm/index.mjs.map +4 -4
  24. package/dist/lib/node-esm/meta.json +1 -1
  25. package/dist/lib/node-esm/testing/index.mjs +8 -6
  26. package/dist/lib/node-esm/testing/index.mjs.map +3 -3
  27. package/dist/lib/node-esm/translations.mjs +37 -0
  28. package/dist/lib/node-esm/translations.mjs.map +7 -0
  29. package/dist/lib/node-esm/types/index.mjs +2 -1
  30. package/dist/types/src/components/Table/ColumnActionsMenu.d.ts.map +1 -1
  31. package/dist/types/src/components/Table/ColumnSettings.d.ts.map +1 -1
  32. package/dist/types/src/components/Table/DynamicTable.d.ts +1 -2
  33. package/dist/types/src/components/Table/DynamicTable.d.ts.map +1 -1
  34. package/dist/types/src/components/Table/DynamicTable.stories.d.ts +19 -21
  35. package/dist/types/src/components/Table/DynamicTable.stories.d.ts.map +1 -1
  36. package/dist/types/src/components/Table/Relations.stories.d.ts +82 -82
  37. package/dist/types/src/components/Table/Relations.stories.d.ts.map +1 -1
  38. package/dist/types/src/components/Table/RowActionsMenu.d.ts.map +1 -1
  39. package/dist/types/src/components/Table/Table.d.ts +20 -21
  40. package/dist/types/src/components/Table/Table.d.ts.map +1 -1
  41. package/dist/types/src/components/Table/Table.stories.d.ts +84 -84
  42. package/dist/types/src/components/Table/Table.stories.d.ts.map +1 -1
  43. package/dist/types/src/components/Table/TableContent.d.ts +18 -0
  44. package/dist/types/src/components/Table/TableContent.d.ts.map +1 -0
  45. package/dist/types/src/components/Table/TableToolbar.d.ts +21 -0
  46. package/dist/types/src/components/Table/TableToolbar.d.ts.map +1 -0
  47. package/dist/types/src/components/TableCellEditor/CellValidationMessage.d.ts.map +1 -1
  48. package/dist/types/src/components/TableCellEditor/FormCellEditor.d.ts.map +1 -1
  49. package/dist/types/src/components/TableCellEditor/TableCellEditor.d.ts.map +1 -1
  50. package/dist/types/src/components/TableCellEditor/TableCellEditor.stories.d.ts +22 -24
  51. package/dist/types/src/components/TableCellEditor/TableCellEditor.stories.d.ts.map +1 -1
  52. package/dist/types/src/components/index.d.ts +0 -1
  53. package/dist/types/src/components/index.d.ts.map +1 -1
  54. package/dist/types/src/components/testing.d.ts.map +1 -1
  55. package/dist/types/src/hooks/useAddRow.d.ts.map +1 -1
  56. package/dist/types/src/hooks/useProjectionModel.d.ts.map +1 -1
  57. package/dist/types/src/hooks/useTableModel.d.ts.map +1 -1
  58. package/dist/types/src/index.d.ts +0 -2
  59. package/dist/types/src/index.d.ts.map +1 -1
  60. package/dist/types/src/model/modal-controller.d.ts.map +1 -1
  61. package/dist/types/src/model/selection-model.d.ts +1 -1
  62. package/dist/types/src/model/selection-model.d.ts.map +1 -1
  63. package/dist/types/src/model/table-model.d.ts +4 -5
  64. package/dist/types/src/model/table-model.d.ts.map +1 -1
  65. package/dist/types/src/model/table-presentation.d.ts.map +1 -1
  66. package/dist/types/src/playwright/TableManager.d.ts.map +1 -1
  67. package/dist/types/src/playwright/playwright.config.d.ts.map +1 -1
  68. package/dist/types/src/testing/useTestTableModel.d.ts.map +1 -1
  69. package/dist/types/src/translations.d.ts +19 -21
  70. package/dist/types/src/translations.d.ts.map +1 -1
  71. package/dist/types/src/types/Table.d.ts +1 -7
  72. package/dist/types/src/types/Table.d.ts.map +1 -1
  73. package/dist/types/src/util/dynamic-table.d.ts.map +1 -1
  74. package/dist/types/src/util/query-ast.d.ts.map +1 -1
  75. package/dist/types/src/util/schema.d.ts.map +1 -1
  76. package/dist/types/src/util/signals.d.ts.map +1 -1
  77. package/dist/types/src/util/sort.d.ts.map +1 -1
  78. package/dist/types/src/util/table-buttons.d.ts +20 -20
  79. package/dist/types/src/util/table-buttons.d.ts.map +1 -1
  80. package/dist/types/src/util/table-controls.d.ts +4 -4
  81. package/dist/types/src/util/table-controls.d.ts.map +1 -1
  82. package/dist/types/src/util/tag.d.ts.map +1 -1
  83. package/dist/types/tsconfig.tsbuildinfo +1 -1
  84. package/package.json +51 -60
  85. package/src/components/Table/ColumnActionsMenu.tsx +7 -6
  86. package/src/components/Table/DynamicTable.stories.tsx +15 -15
  87. package/src/components/Table/DynamicTable.tsx +6 -15
  88. package/src/components/Table/Relations.stories.tsx +72 -32
  89. package/src/components/Table/RowActionsMenu.tsx +3 -2
  90. package/src/components/Table/Table.stories.tsx +28 -31
  91. package/src/components/Table/Table.tsx +37 -427
  92. package/src/components/Table/TableContent.tsx +425 -0
  93. package/src/components/{TableToolbar → Table}/TableToolbar.tsx +34 -41
  94. package/src/components/TableCellEditor/CellValidationMessage.tsx +1 -2
  95. package/src/components/TableCellEditor/FormCellEditor.tsx +3 -2
  96. package/src/components/TableCellEditor/TableCellEditor.stories.tsx +10 -11
  97. package/src/components/TableCellEditor/TableCellEditor.tsx +10 -8
  98. package/src/components/index.ts +0 -1
  99. package/src/components/testing.ts +10 -10
  100. package/src/index.ts +0 -4
  101. package/src/model/table-model.test.ts +1 -2
  102. package/src/model/table-model.ts +10 -11
  103. package/src/model/table-presentation.test.ts +1 -2
  104. package/src/model/table-presentation.ts +3 -5
  105. package/src/playwright/smoke.spec.ts +3 -3
  106. package/src/testing/useTestTableModel.ts +5 -5
  107. package/src/translations.ts +19 -21
  108. package/src/types/Table.ts +4 -21
  109. package/src/util/dynamic-table.test.ts +3 -3
  110. package/src/util/dynamic-table.ts +5 -6
  111. package/dist/lib/browser/chunk-DSR2MRZB.mjs.map +0 -7
  112. package/dist/lib/browser/chunk-PTHMYAAM.mjs.map +0 -7
  113. package/dist/lib/node-esm/chunk-GI72MQSG.mjs.map +0 -7
  114. package/dist/lib/node-esm/chunk-HTZJSULI.mjs.map +0 -7
  115. package/dist/types/src/components/TableToolbar/TableToolbar.d.ts +0 -21
  116. package/dist/types/src/components/TableToolbar/TableToolbar.d.ts.map +0 -1
  117. package/dist/types/src/components/TableToolbar/index.d.ts +0 -2
  118. package/dist/types/src/components/TableToolbar/index.d.ts.map +0 -1
  119. package/src/components/TableToolbar/index.ts +0 -5
@@ -13,93 +13,93 @@ declare const meta: {
13
13
  translations: ({
14
14
  readonly 'en-US': {
15
15
  readonly "@dxos/react-ui-table": {
16
- readonly 'object placeholder': "New table";
17
- readonly 'create object label': "Create table";
18
- readonly 'table name placeholder': "Table name";
19
- readonly 'settings title': "Table settings";
20
- readonly 'table schema label': "Type";
21
- readonly 'new schema': "New type";
22
- readonly 'continue label': "Continue";
23
- readonly 'create stack section label': "Create table";
24
- readonly 'add row label': "Add row";
25
- readonly 'create comment': "Create thread";
26
- readonly 'column action sort descending': "Sort Descending";
27
- readonly 'column action sort ascending': "Sort Ascending";
28
- readonly 'column action clear sorting': "Clear Sorting";
29
- readonly 'column action settings': "Column Settings";
30
- readonly 'column action delete': "Delete Column";
31
- readonly 'delete row label': "Delete row";
32
- readonly 'bulk delete row label': "Delete selected rows";
33
- readonly 'column deleted label': "Column deleted";
34
- readonly 'new column button label': "Create column";
35
- readonly 'create new object label': "Create new object “{{text}}”";
36
- readonly 'save view label': "Save changes to view";
16
+ readonly 'object.placeholder': 'New table';
17
+ readonly 'create-object.label': 'Create table';
18
+ readonly 'table-name.placeholder': 'Table name';
19
+ readonly 'settings.title': 'Table settings';
20
+ readonly 'table-schema.label': 'Type';
21
+ readonly 'continue.label': 'Continue';
22
+ readonly 'create-stack-section.label': 'Create table';
23
+ readonly 'add-row.label': 'Add row';
24
+ readonly 'column-action-sort-descending.menu': 'Sort Descending';
25
+ readonly 'column-action-sort-ascending.menu': 'Sort Ascending';
26
+ readonly 'column-action-clear-sorting.menu': 'Clear Sorting';
27
+ readonly 'column-action-settings.menu': 'Column Settings';
28
+ readonly 'column-action-delete.menu': 'Delete Column';
29
+ readonly 'delete-row.label': 'Delete row';
30
+ readonly 'bulk-delete-row.label': 'Delete selected rows';
31
+ readonly 'column-deleted.label': 'Column deleted';
32
+ readonly 'new-column-button.label': 'Create column';
33
+ readonly 'create-new-object.label': 'Create new object \u201C{{text}}\u201D';
34
+ readonly 'save-view.label': 'Save changes to view';
37
35
  };
38
36
  };
39
37
  } | {
40
38
  readonly 'en-US': {
41
39
  readonly "@dxos/react-ui-form": {
42
- readonly "fields label": "Fields";
43
- readonly "hidden fields label": "Hidden Fields";
44
- readonly "empty readonly ref field label": "(none)";
45
- readonly "add property button label": "Add property";
46
- readonly "field property label": "Property";
47
- readonly "field property placeholder": "Property name";
48
- readonly "field format label": "Type";
49
- readonly "field path label": "Field path";
50
- readonly "add field": "Add field";
51
- readonly "delete field": "Delete field";
52
- readonly "field limit reached": "Maximum number of fields reached";
53
- readonly "boolean input true value": "Yes";
54
- readonly "boolean input false value": "No";
55
- readonly "show field label": "Show field";
56
- readonly "hide field label": "Hide field";
57
- readonly "delete field label": "Delete field";
58
- readonly "ref field combobox input placeholder": "Search\u2026";
59
- readonly "ref field placeholder_one": "Select\u2026";
60
- readonly "ref field placeholder_other": "Select items\u2026";
61
- readonly "example placeholder": "Example";
62
- readonly "latitude placeholder": "Latitude (e.g., 40.7128)";
63
- readonly "longitude placeholder": "Longitude (e.g., -74.0060)";
64
- readonly "cancel button label": "Cancel";
65
- readonly "save button label": "Save";
66
- readonly "format boolean": "Boolean";
67
- readonly "format currency": "Currency";
68
- readonly "format date": "Date";
69
- readonly "format date-time": "DateTime";
70
- readonly "format did": "DID";
71
- readonly "format duration": "Duration";
72
- readonly "format dxn": "DXN";
73
- readonly "format email": "Email";
74
- readonly "format formula": "Formula";
75
- readonly "format hostname": "Hostname";
76
- readonly "format integer": "Integer";
77
- readonly "format json": "JSON";
78
- readonly "format lnglat": "Geopoint";
79
- readonly "format markdown": "Markdown";
80
- readonly "format percent": "Percent";
81
- readonly "format ref": "Reference";
82
- readonly "format regex": "RegExp";
83
- readonly "format string": "String";
84
- readonly "format single-select": "Select";
85
- readonly "format multi-select": "Multi-select";
86
- readonly "format text": "Long text";
87
- readonly "format time": "Time";
88
- readonly "format timestamp": "Timestamp";
89
- readonly "format user": "User";
90
- readonly "format number": "Number";
91
- readonly "format uri": "URI";
92
- readonly "format url": "URL";
93
- readonly "format uuid": "UUID";
94
- readonly "latitude label": "Latitude";
95
- readonly "longitude label": "Longitude";
96
- readonly "select option label": "Label";
97
- readonly "select option label placeholder": "Option label";
98
- readonly "select option color": "Color";
99
- readonly "select option delete": "Delete";
100
- readonly "select option add": "Add option";
101
- readonly "system schema title": "System type";
102
- readonly "system schema description": "System type: cannot add or remove fields.";
40
+ readonly 'fields.label': 'Fields';
41
+ readonly 'hidden-fields.label': 'Hidden Fields';
42
+ readonly 'empty-readonly-ref-field.label': '(none)';
43
+ readonly 'field-property.label': 'Property';
44
+ readonly 'field-property.placeholder': 'Property name';
45
+ readonly 'field-format.label': 'Type';
46
+ readonly 'field-path.label': 'Field path';
47
+ readonly 'add-item.button': 'Add item';
48
+ readonly 'add-property-button.label': 'Add property';
49
+ readonly 'boolean-input-true.value': 'Yes';
50
+ readonly 'boolean-input-false.value': 'No';
51
+ readonly 'show-field.label': 'Show field';
52
+ readonly 'hide-field.label': 'Hide field';
53
+ readonly 'delete-field.label': 'Delete field';
54
+ readonly 'create-option.label': 'Create';
55
+ readonly 'add-tag.label': 'Add tag';
56
+ readonly 'ref-field-combobox-input.placeholder': 'Search\u2026';
57
+ readonly 'ref-field.placeholder': 'Select\u2026';
58
+ readonly 'ref-field.placeholder_one': 'Select\u2026';
59
+ readonly 'ref-field.placeholder_other': 'Select items\u2026';
60
+ readonly 'example.placeholder': 'Example';
61
+ readonly 'latitude.placeholder': 'Latitude (e.g., 40.7128)';
62
+ readonly 'longitude.placeholder': 'Longitude (e.g., -74.0060)';
63
+ readonly 'cancel-button.label': 'Cancel';
64
+ readonly 'save-button.label': 'Save';
65
+ readonly 'create-text.label': 'Create text';
66
+ readonly 'format.boolean.label': 'Boolean';
67
+ readonly 'format.currency.label': 'Currency';
68
+ readonly 'format.date.label': 'Date';
69
+ readonly 'format.date-time.label': 'DateTime';
70
+ readonly 'format.did.label': 'DID';
71
+ readonly 'format.duration.label': 'Duration';
72
+ readonly 'format.dxn.label': 'DXN';
73
+ readonly 'format.email.label': 'Email';
74
+ readonly 'format.formula.label': 'Formula';
75
+ readonly 'format.hostname.label': 'Hostname';
76
+ readonly 'format.integer.label': 'Integer';
77
+ readonly 'format.json.label': 'JSON';
78
+ readonly 'format.lnglat.label': 'Geopoint';
79
+ readonly 'format.markdown.label': 'Markdown';
80
+ readonly 'format.percent.label': 'Percent';
81
+ readonly 'format.ref.label': 'Reference';
82
+ readonly 'format.regex.label': 'RegExp';
83
+ readonly 'format.string.label': 'String';
84
+ readonly 'format.single-select.label': 'Select';
85
+ readonly 'format.multi-select.label': 'Multi-select';
86
+ readonly 'format.text.label': 'Long text';
87
+ readonly 'format.time.label': 'Time';
88
+ readonly 'format.timestamp.label': 'Timestamp';
89
+ readonly 'format.user.label': 'User';
90
+ readonly 'format.number.label': 'Number';
91
+ readonly 'format.uri.label': 'URI';
92
+ readonly 'format.url.label': 'URL';
93
+ readonly 'format.uuid.label': 'UUID';
94
+ readonly 'latitude.label': 'Latitude';
95
+ readonly 'longitude.label': 'Longitude';
96
+ readonly 'select-option.label': 'Label';
97
+ readonly 'select-option-label.placeholder': 'Option label';
98
+ readonly 'select-option-delete.button': 'Delete';
99
+ readonly 'select-option-add.button': 'Add option';
100
+ readonly 'system-schema.title': 'System type';
101
+ readonly 'system-schema.description': 'System type: cannot add or remove fields.';
102
+ readonly 'remove.button': 'Remove';
103
103
  };
104
104
  };
105
105
  })[];
@@ -1 +1 @@
1
- {"version":3,"file":"Relations.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/Relations.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAgE,MAAM,OAAO,CAAC;AAOrF,OAAO,iCAAiC,CAAC;AA+GzC,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmB2B,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KA0Fd,CAAC"}
1
+ {"version":3,"file":"Relations.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/Relations.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAgE,MAAM,OAAO,CAAC;AAerF,OAAO,iCAAiC,CAAC;AAsGzC,QAAA,MAAM,IAAI;;;;;QAeN,MAAM;QACN,QAAQ;YAAI,OAAO;;QACnB,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEqB,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAmIrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RowActionsMenu.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/RowActionsMenu.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAGpE,KAAK,mBAAmB,GAAG;IAAE,KAAK,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,eAAe,CAAA;CAAE,CAAC;AAE1E,eAAO,MAAM,cAAc,GAAI,mBAAmB,mBAAmB,6BA2CpE,CAAC"}
1
+ {"version":3,"file":"RowActionsMenu.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/RowActionsMenu.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAEpE,KAAK,mBAAmB,GAAG;IAAE,KAAK,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,eAAe,CAAA;CAAE,CAAC;AAE1E,eAAO,MAAM,cAAc,sBAAuB,mBAAmB,6BA2CpE,CAAC"}
@@ -1,28 +1,27 @@
1
- import { type JSX, type PropsWithChildren, type Ref } from 'react';
2
- import { type Type } from '@dxos/echo';
1
+ import React, { type PropsWithChildren, type RefObject } from 'react';
3
2
  import { type DxGridPosition } from '@dxos/react-ui-grid';
4
- import { type ComposableProps } from '@dxos/ui-types';
5
- import { type InsertRowResult, type TableModel, type TablePresentation } from '../../model';
6
- import { type OnCreateHandler } from '../TableCellEditor';
7
- export type TableRootProps = PropsWithChildren;
8
- export type TableController = {
3
+ import { type InsertRowResult } from '../../model';
4
+ type TableContextValue = {
5
+ /** Mutable ref populated by Content so Root can expose the controller. */
6
+ controllerRef: RefObject<TableController>;
7
+ };
8
+ declare const useTableContext: (consumerName: string) => TableContextValue;
9
+ type TableController = {
9
10
  update?: (cell?: DxGridPosition) => void;
10
11
  handleInsertRowResult?: (insertRowResult?: InsertRowResult) => void;
11
12
  };
12
- export type TableMainProps<T extends Type.AnyEntity = Type.AnyEntity> = ComposableProps<{
13
- schema?: T;
14
- model?: TableModel;
15
- presentation?: TablePresentation;
16
- ignoreAttention?: boolean;
17
- onCreate?: OnCreateHandler;
18
- onRowClick?: (row: any) => void;
19
- testId?: string;
20
- }>;
13
+ type TableRootProps = PropsWithChildren;
21
14
  export declare const Table: {
22
- Root: ({ children }: TableRootProps) => JSX.Element;
23
- Main: <T extends Type.AnyEntity = Type.AnyEntity>(props: TableMainProps<T> & {
24
- ref?: Ref<TableController>;
25
- }) => JSX.Element;
26
- Toolbar: ({ classNames, viewDirty, attendableId, onAdd, onSave, customActions, ...props }: import("..").TableToolbarProps) => JSX.Element;
15
+ Root: React.ForwardRefExoticComponent<{
16
+ children?: React.ReactNode | undefined;
17
+ } & React.RefAttributes<TableController>>;
18
+ Toolbar: React.ForwardRefExoticComponent<Omit<import("./TableToolbar").TableToolbarProps, "className"> & {
19
+ classNames?: import("@dxos/ui-types").ClassNameValue;
20
+ } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
21
+ Content: React.ForwardRefExoticComponent<Omit<import("./TableContent").TableContentProps, "className"> & {
22
+ classNames?: import("@dxos/ui-types").ClassNameValue;
23
+ } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
27
24
  };
25
+ export type { TableController, TableRootProps };
26
+ export { useTableContext };
28
27
  //# sourceMappingURL=Table.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAMA,OAAc,EACZ,KAAK,GAAG,EAER,KAAK,iBAAiB,EACtB,KAAK,GAAG,EAST,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,EAKL,KAAK,cAAc,EAMpB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD,OAAO,EAAE,KAAK,eAAe,EAAmB,KAAK,UAAU,EAAE,KAAK,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAE7G,OAAO,EAAE,KAAK,eAAe,EAA+C,MAAM,oBAAoB,CAAC;AAevG,MAAM,MAAM,cAAc,GAAG,iBAAiB,CAAC;AAa/C,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;IACzC,qBAAqB,CAAC,EAAE,CAAC,eAAe,CAAC,EAAE,eAAe,KAAK,IAAI,CAAC;CACrE,CAAC;AAEF,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,IAAI,eAAe,CAAC;IACtF,MAAM,CAAC,EAAE,CAAC,CAAC;IACX,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,YAAY,CAAC,EAAE,iBAAiB,CAAC;IAEjC,eAAe,CAAC,E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import { type Meta, type StoryObj } from '@storybook/react-vite';
2
2
  import React from 'react';
3
- type StoryProps = {
3
+ type DefaultStoryProps = {
4
4
  rows?: number;
5
5
  };
6
6
  declare const meta: {
@@ -15,93 +15,93 @@ declare const meta: {
15
15
  translations: ({
16
16
  readonly 'en-US': {
17
17
  readonly "@dxos/react-ui-table": {
18
- readonly 'object placeholder': "New table";
19
- readonly 'create object label': "Create table";
20
- readonly 'table name placeholder': "Table name";
21
- readonly 'settings title': "Table settings";
22
- readonly 'table schema label': "Type";
23
- readonly 'new schema': "New type";
24
- readonly 'continue label': "Continue";
25
- readonly 'create stack section label': "Create table";
26
- readonly 'add row label': "Add row";
27
- readonly 'create comment': "Create thread";
28
- readonly 'column action sort descending': "Sort Descending";
29
- readonly 'column action sort ascending': "Sort Ascending";
30
- readonly 'column action clear sorting': "Clear Sorting";
31
- readonly 'column action settings': "Column Settings";
32
- readonly 'column action delete': "Delete Column";
33
- readonly 'delete row label': "Delete row";
34
- readonly 'bulk delete row label': "Delete selected rows";
35
- readonly 'column deleted label': "Column deleted";
36
- readonly 'new column button label': "Create column";
37
- readonly 'create new object label': "Create new object “{{text}}”";
38
- readonly 'save view label': "Save changes to view";
18
+ readonly 'object.placeholder': 'New table';
19
+ readonly 'create-object.label': 'Create table';
20
+ readonly 'table-name.placeholder': 'Table name';
21
+ readonly 'settings.title': 'Table settings';
22
+ readonly 'table-schema.label': 'Type';
23
+ readonly 'continue.label': 'Continue';
24
+ readonly 'create-stack-section.label': 'Create table';
25
+ readonly 'add-row.label': 'Add row';
26
+ readonly 'column-action-sort-descending.menu': 'Sort Descending';
27
+ readonly 'column-action-sort-ascending.menu': 'Sort Ascending';
28
+ readonly 'column-action-clear-sorting.menu': 'Clear Sorting';
29
+ readonly 'column-action-settings.menu': 'Column Settings';
30
+ readonly 'column-action-delete.menu': 'Delete Column';
31
+ readonly 'delete-row.label': 'Delete row';
32
+ readonly 'bulk-delete-row.label': 'Delete selected rows';
33
+ readonly 'column-deleted.label': 'Column deleted';
34
+ readonly 'new-column-button.label': 'Create column';
35
+ readonly 'create-new-object.label': 'Create new object \u201C{{text}}\u201D';
36
+ readonly 'save-view.label': 'Save changes to view';
39
37
  };
40
38
  };
41
39
  } | {
42
40
  readonly 'en-US': {
43
41
  readonly "@dxos/react-ui-form": {
44
- readonly "fields label": "Fields";
45
- readonly "hidden fields label": "Hidden Fields";
46
- readonly "empty readonly ref field label": "(none)";
47
- readonly "add property button label": "Add property";
48
- readonly "field property label": "Property";
49
- readonly "field property placeholder": "Property name";
50
- readonly "field format label": "Type";
51
- readonly "field path label": "Field path";
52
- readonly "add field": "Add field";
53
- readonly "delete field": "Delete field";
54
- readonly "field limit reached": "Maximum number of fields reached";
55
- readonly "boolean input true value": "Yes";
56
- readonly "boolean input false value": "No";
57
- readonly "show field label": "Show field";
58
- readonly "hide field label": "Hide field";
59
- readonly "delete field label": "Delete field";
60
- readonly "ref field combobox input placeholder": "Search\u2026";
61
- readonly "ref field placeholder_one": "Select\u2026";
62
- readonly "ref field placeholder_other": "Select items\u2026";
63
- readonly "example placeholder": "Example";
64
- readonly "latitude placeholder": "Latitude (e.g., 40.7128)";
65
- readonly "longitude placeholder": "Longitude (e.g., -74.0060)";
66
- readonly "cancel button label": "Cancel";
67
- readonly "save button label": "Save";
68
- readonly "format boolean": "Boolean";
69
- readonly "format currency": "Currency";
70
- readonly "format date": "Date";
71
- readonly "format date-time": "DateTime";
72
- readonly "format did": "DID";
73
- readonly "format duration": "Duration";
74
- readonly "format dxn": "DXN";
75
- readonly "format email": "Email";
76
- readonly "format formula": "Formula";
77
- readonly "format hostname": "Hostname";
78
- readonly "format integer": "Integer";
79
- readonly "format json": "JSON";
80
- readonly "format lnglat": "Geopoint";
81
- readonly "format markdown": "Markdown";
82
- readonly "format percent": "Percent";
83
- readonly "format ref": "Reference";
84
- readonly "format regex": "RegExp";
85
- readonly "format string": "String";
86
- readonly "format single-select": "Select";
87
- readonly "format multi-select": "Multi-select";
88
- readonly "format text": "Long text";
89
- readonly "format time": "Time";
90
- readonly "format timestamp": "Timestamp";
91
- readonly "format user": "User";
92
- readonly "format number": "Number";
93
- readonly "format uri": "URI";
94
- readonly "format url": "URL";
95
- readonly "format uuid": "UUID";
96
- readonly "latitude label": "Latitude";
97
- readonly "longitude label": "Longitude";
98
- readonly "select option label": "Label";
99
- readonly "select option label placeholder": "Option label";
100
- readonly "select option color": "Color";
101
- readonly "select option delete": "Delete";
102
- readonly "select option add": "Add option";
103
- readonly "system schema title": "System type";
104
- readonly "system schema description": "System type: cannot add or remove fields.";
42
+ readonly 'fields.label': 'Fields';
43
+ readonly 'hidden-fields.label': 'Hidden Fields';
44
+ readonly 'empty-readonly-ref-field.label': '(none)';
45
+ readonly 'field-property.label': 'Property';
46
+ readonly 'field-property.placeholder': 'Property name';
47
+ readonly 'field-format.label': 'Type';
48
+ readonly 'field-path.label': 'Field path';
49
+ readonly 'add-item.button': 'Add item';
50
+ readonly 'add-property-button.label': 'Add property';
51
+ readonly 'boolean-input-true.value': 'Yes';
52
+ readonly 'boolean-input-false.value': 'No';
53
+ readonly 'show-field.label': 'Show field';
54
+ readonly 'hide-field.label': 'Hide field';
55
+ readonly 'delete-field.label': 'Delete field';
56
+ readonly 'create-option.label': 'Create';
57
+ readonly 'add-tag.label': 'Add tag';
58
+ readonly 'ref-field-combobox-input.placeholder': 'Search\u2026';
59
+ readonly 'ref-field.placeholder': 'Select\u2026';
60
+ readonly 'ref-field.placeholder_one': 'Select\u2026';
61
+ readonly 'ref-field.placeholder_other': 'Select items\u2026';
62
+ readonly 'example.placeholder': 'Example';
63
+ readonly 'latitude.placeholder': 'Latitude (e.g., 40.7128)';
64
+ readonly 'longitude.placeholder': 'Longitude (e.g., -74.0060)';
65
+ readonly 'cancel-button.label': 'Cancel';
66
+ readonly 'save-button.label': 'Save';
67
+ readonly 'create-text.label': 'Create text';
68
+ readonly 'format.boolean.label': 'Boolean';
69
+ readonly 'format.currency.label': 'Currency';
70
+ readonly 'format.date.label': 'Date';
71
+ readonly 'format.date-time.label': 'DateTime';
72
+ readonly 'format.did.label': 'DID';
73
+ readonly 'format.duration.label': 'Duration';
74
+ readonly 'format.dxn.label': 'DXN';
75
+ readonly 'format.email.label': 'Email';
76
+ readonly 'format.formula.label': 'Formula';
77
+ readonly 'format.hostname.label': 'Hostname';
78
+ readonly 'format.integer.label': 'Integer';
79
+ readonly 'format.json.label': 'JSON';
80
+ readonly 'format.lnglat.label': 'Geopoint';
81
+ readonly 'format.markdown.label': 'Markdown';
82
+ readonly 'format.percent.label': 'Percent';
83
+ readonly 'format.ref.label': 'Reference';
84
+ readonly 'format.regex.label': 'RegExp';
85
+ readonly 'format.string.label': 'String';
86
+ readonly 'format.single-select.label': 'Select';
87
+ readonly 'format.multi-select.label': 'Multi-select';
88
+ readonly 'format.text.label': 'Long text';
89
+ readonly 'format.time.label': 'Time';
90
+ readonly 'format.timestamp.label': 'Timestamp';
91
+ readonly 'format.user.label': 'User';
92
+ readonly 'format.number.label': 'Number';
93
+ readonly 'format.uri.label': 'URI';
94
+ readonly 'format.url.label': 'URL';
95
+ readonly 'format.uuid.label': 'UUID';
96
+ readonly 'latitude.label': 'Latitude';
97
+ readonly 'longitude.label': 'Longitude';
98
+ readonly 'select-option.label': 'Label';
99
+ readonly 'select-option-label.placeholder': 'Option label';
100
+ readonly 'select-option-delete.button': 'Delete';
101
+ readonly 'select-option-add.button': 'Add option';
102
+ readonly 'system-schema.title': 'System type';
103
+ readonly 'system-schema.description': 'System type: cannot add or remove fields.';
104
+ readonly 'remove.button': 'Remove';
105
105
  };
106
106
  };
107
107
  })[];
@@ -112,5 +112,5 @@ type Story = StoryObj<typeof meta>;
112
112
  export declare const Default: Story;
113
113
  export declare const StaticSchema: StoryObj;
114
114
  export declare const ArrayOfObjects: StoryObj;
115
- export declare const Tags: Meta<StoryProps>;
115
+ export declare const Tags: Meta<DefaultStoryProps>;
116
116
  //# sourceMappingURL=Table.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Table.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/Table.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAsB,MAAM,OAAO,CAAC;AAoJ3C,KAAK,UAAU,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAQpC,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2C6B,CAAC;AAExC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,YAAY,EAAE,QA2B1B,CAAC;AAmBF,eAAO,MAAM,cAAc,EAAE,QA4B5B,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAAI,CAAC,UAAU,CAwDjC,CAAC"}
1
+ {"version":3,"file":"Table.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/Table.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAsB,MAAM,OAAO,CAAC;AAiJ3C,KAAK,iBAAiB,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAQ3C,QAAA,MAAM,IAAI;;;;;QAqCN,MAAM;QACN,QAAQ;YACN,OAAO;;QAET,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEuB,CAAC;eAEzB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,YAAY,EAAE,QA2B1B,CAAC;AAmBF,eAAO,MAAM,cAAc,EAAE,QA4B5B,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAAI,CAAC,iBAAiB,CAwDxC,CAAC"}
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { type Type } from '@dxos/echo';
3
+ import { type TableModel, type TablePresentation } from '../../model';
4
+ import { type OnCreateHandler } from '../TableCellEditor';
5
+ export type TableContentProps = {
6
+ schema?: Type.AnyEntity;
7
+ model?: TableModel;
8
+ presentation?: TablePresentation;
9
+ ignoreAttention?: boolean;
10
+ attendableId?: string;
11
+ onCreate?: OnCreateHandler;
12
+ onRowClick?: (row: any) => void;
13
+ testId?: string;
14
+ };
15
+ export declare const TableContent: React.ForwardRefExoticComponent<Omit<TableContentProps, "className"> & {
16
+ classNames?: import("@dxos/ui-types").ClassNameValue;
17
+ } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
18
+ //# sourceMappingURL=TableContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/TableContent.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAkG,MAAM,OAAO,CAAC;AAEvH,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,YAAY,CAAC;AAiBvC,OAAO,EAAyC,KAAK,UAAU,EAAE,KAAK,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAE7G,OAAO,EAAE,KAAK,eAAe,EAA+C,MAAM,oBAAoB,CAAC;AAkBvG,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC;IACxB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,YAAY,CAAC,EAAE,iBAAiB,CAAC;IAEjC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,YAAY;;2HA6WxB,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { Atom } from '@effect-atom/atom-react';
2
+ import React from 'react';
3
+ import { type ActionGraphProps, type MenuAction, MenuRootProps } from '@dxos/react-ui-menu';
4
+ export type TableToolbarActionProperties = {
5
+ type: TableToolbarActionType;
6
+ };
7
+ export type TableToolbarAction = MenuAction<TableToolbarActionProperties>;
8
+ export type TableToolbarActionType = 'add-row' | 'comment' | 'save-view';
9
+ type TableToolbarState = Partial<{
10
+ viewDirty: boolean;
11
+ }>;
12
+ export type TableToolbarProps = Pick<MenuRootProps, 'attendableId'> & TableToolbarState & {
13
+ onAdd?: () => void;
14
+ onSave?: () => void;
15
+ customActions?: Atom.Atom<ActionGraphProps>;
16
+ };
17
+ export declare const TableToolbar: React.ForwardRefExoticComponent<Omit<TableToolbarProps, "className"> & {
18
+ classNames?: import("@dxos/ui-types").ClassNameValue;
19
+ } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
20
+ export {};
21
+ //# sourceMappingURL=TableToolbar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/TableToolbar.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,EAAmB,MAAM,yBAAyB,CAAC;AAChE,OAAO,KAAyC,MAAM,OAAO,CAAC;AAE9D,OAAO,EAGL,KAAK,gBAAgB,EAErB,KAAK,UAAU,EACf,aAAa,EAId,MAAM,qBAAqB,CAAC;AAK7B,MAAM,MAAM,4BAA4B,GAAG;IAAE,IAAI,EAAE,sBAAsB,CAAA;CAAE,CAAC;AAE5E,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,4BAA4B,CAAC,CAAC;AAE1E,MAAM,MAAM,sBAAsB,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;AAEzE,KAAK,iBAAiB,GAAG,OAAO,CAAC;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC;AAmDzD,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,aAAa,EAAE,cAAc,CAAC,GACjE,iBAAiB,GAAG;IAClB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;CAC7C,CAAC;AAEJ,eAAO,MAAM,YAAY;;2HAsBxB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CellValidationMessage.d.ts","sourceRoot":"","sources":["../../../../../src/components/TableCellEditor/CellValidationMessage.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,qBAAqB,CAAC;AAE3E,MAAM,MAAM,0BAA0B,GAAG;IACvC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,4CAInC,eAAe,CAAC,0BAA0B,CAAC,6BAyB7C,CAAC"}
1
+ {"version":3,"file":"CellValidationMessage.d.ts","sourceRoot":"","sources":["../../../../../src/components/TableCellEditor/CellValidationMessage.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,qBAAqB,CAAC;AAE3E,MAAM,MAAM,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