@masterteam/data-table 0.0.0-stage → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,3 +1,105 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
1
+ # @masterteam/data-table
2
+
3
+ The one standard grid for product pages, plus Entity Info integration for the independent
4
+ Angular 21 `@masterteam/data-grid`.
5
+
6
+ ## The standard grid
7
+
8
+ Every product page that shows the new grid renders `mt-standard-grid`
9
+ (`MtStandardGridComponent`), so every grid has the same header and setup (user decision
10
+ 2026-11-03):
11
+
12
+ ```html
13
+ <mt-standard-grid
14
+ [rows]="rows()"
15
+ [columns]="columns()"
16
+ [rowId]="rowId"
17
+ label="Tasks"
18
+ height="auto"
19
+ (rowClicked)="open($event)"
20
+ (viewChanged)="saveView($event)"
21
+ />
22
+ ```
23
+
24
+ - **One header** (`mtStandardColumns`): sort, menu and filter on every data column, resize and
25
+ move; no custom header renderers; control columns (no `field`/`valueGetter`, e.g. actions)
26
+ keep the menu only. Backend limits are the only exceptions: `sortable: false`, and on a
27
+ server page `filter: false`.
28
+ - **One setup**: 44px rows and header, group panel and quick filter, pivot zone while pivoting,
29
+ Columns/Filters side bar at the logical end, status bar, pager 10/20/50/100 when needed,
30
+ context menu with CSV/Excel/PDF export, charts, the standard empty state (`emptyTitle`).
31
+ - **Inputs** (data and behaviour only): `rows`, `columns`, `rowId` (optional for local tables),
32
+ `label`, `loading`, `height` (px or `'auto'`), `selection`, `exportable`, `exportName`,
33
+ `rowMenuItems`, `server` (`{ total, page, pageSize }` for a server page), `view`, `search`,
34
+ `emptyTitle`/`emptyDescription`; page buttons project into `[mtGridToolbar]`.
35
+ - **Outputs**: `gridReady`, `rowClicked`, `selectionChanged`, `sortChanged`, `filterChanged`,
36
+ `paginationChanged`, `rowGroupOpened`, `viewChanged` (the captured view, persist it per user).
37
+ - **Helpers**: `mtActionsColumn` / `MtActionsCell` (the standard row-actions column),
38
+ `mtTableColumns` (maps mt-table `ColumnDef[]` with `customCellTpl` onto grid columns),
39
+ `MtTemplateCell`, `MtTableText` (grid locale texts), `mtTablePrintConfiguration`.
40
+
41
+ `mt-table` (`@masterteam/components/table`) is the old PrimeNG table and stays unchanged for
42
+ the control panel, document-library and form fields; it never renders this grid.
43
+
44
+ ## Usage
45
+
46
+ Import `MtDataGridComponent` / `MtColumnDef` from `@masterteam/data-grid` and
47
+ `mtEntityColumn` from `@masterteam/data-table`. Build normal column definitions;
48
+ for entity columns supply `viewType` and an `entity(row)` resolver returning the
49
+ existing `EntityData` contract. No screen cell templates are required.
50
+
51
+ `mtEntityColumn<T>` accepts every native `MtColumnDef<T>` option. Explicit native
52
+ options override inferred entity defaults, including custom renderers, getters,
53
+ filters, editing, pinning, grouping, aggregation, pivot and chart roles. Native
54
+ `field` / `colId` / `headerName` work directly; catalog `key` / `label` and `hidden`
55
+ remain optional shorthands. Incoming rows and metadata are never mutated.
56
+ Ordinary, entity and custom columns can coexist. Future grid features require no
57
+ forwarding API because the consumer owns the actual grid instance.
58
+
59
+ `MtDataTableEntityCell` is public for direct `cellRenderer` composition.
60
+ Its `cellRendererParams.entity` resolves EntityData. Existing EntityPreview
61
+ components handle comparisons, notes and drawers, with compact cell presentation.
62
+ Plain Text and Number cells use the same shared `EntityText` directly when no
63
+ comparison or authored note needs the full preview wrapper. No value renderer,
64
+ tooltip, markup handling or table typography is replaced. Other types keep the
65
+ full EntityPreview path. This avoids redundant dispatch components in dense grids.
66
+ Grouped keys reuse Entity Info through the native groupValueRenderer hook; group footers retain aggregate values. Plain Text uses table typography at the entity-cell boundary.
67
+
68
+ ## Typed values and native exports
69
+
70
+ `mtEntityCellValues` separates display, identity, sorting/filtering, mathematical
71
+ and export values. Numbers preserve zero/null; categories retain stable identities
72
+ and localized labels; User values use their canonical `id` when `rawValue` is
73
+ absent, keeping equally named users distinct. Dates remain dates; rich text exports as readable text.
74
+ Collections receive conservative defaults which callers can override. Currency
75
+ aggregation requires compatible-unit capability or an explicit native override.
76
+
77
+ Pass `mtEntityExportValue` as the native CSV/Excel `processCellCallback` for typed
78
+ entity exports. It preserves numbers/dates, exports category labels, and leaves
79
+ ordinary values and aggregate totals intact. Native export configuration remains
80
+ fully available. Permissions, loading, persistence, localization, PDF/print and
81
+ operational actions remain consumer responsibilities.
82
+
83
+ Load `@masterteam/data-grid/assets/data-grid.css` once. Entity components inherit
84
+ `provideMTComponents`, Transloco and product fonts. There is no new entity-grid
85
+ provider. Showcase `/data-table` demonstrates the original grid with ordinary
86
+ and entity columns; `/data-grid/demo` remains the full grid reference.
87
+
88
+ ## Existing consumers
89
+
90
+ Portal/Studio configuration, preferences, data sources and the dataset cache live in the
91
+ explicit `@masterteam/data-table/legacy` entry point (`provideMTDataTables`); see
92
+ [legacy documentation](legacy/README.md). The compatibility renderer that turned `mt-table`
93
+ into a grid was removed on 2026-11-03. Which surfaces use the standard grid is listed in the
94
+ [integration notes](../../../.github/instructions/data-table/README.md).
95
+
96
+ ## Verification
97
+
98
+ `pnpm --filter @masterteam/data-table test:ci` runs entity and transitional contracts.
99
+ `pnpm --filter @masterteam/data-table test:api` checks strict positive/negative consumers.
100
+
101
+ ## Shared design-system icons
102
+
103
+ Use `provideMTGridIcons()` from `@masterteam/data-table/icons` in application providers. It loads the same packaged Masterteam glyph map used by the showcase before bootstrap. This optional DS bridge supplies icons only. Both apps must serve `assets/icons-map.generated.json`. Without this provider the independent grid uses fallback icons.
104
+
105
+ Calculated numeric chart ticks/aggregates use their supplied value, retaining percent and currency units from entity metadata. Ordinary cells retain the entity display text. Native `valueFormatter` overrides remain authoritative.
@@ -0,0 +1,113 @@
1
+ import { makeEnvironmentProviders, provideAppInitializer, inject } from '@angular/core';
2
+ import { HttpClient, HttpBackend } from '@angular/common/http';
3
+ import { MT_GRID_ICONS } from '@masterteam/data-grid';
4
+ import { firstValueFrom } from 'rxjs';
5
+
6
+ /** Closest @masterteam/icons glyph for every grid semantic and historical alias. */
7
+ const glyphs = {
8
+ 'sort-asc': 'arrow.arrow-up',
9
+ 'sort-desc': 'arrow.arrow-down',
10
+ 'sort-none': 'arrow.chevron-selector-vertical',
11
+ reset: 'arrow.refresh-ccw-01',
12
+ expand: 'arrow.chevron-right',
13
+ collapse: 'arrow.chevron-down',
14
+ pdf: 'file.file-06',
15
+ export: 'general.download-01',
16
+ asc: 'arrow.arrow-up',
17
+ desc: 'arrow.arrow-down',
18
+ hide: 'general.eye-off',
19
+ blocked: 'general.slash-circle-01',
20
+ pin: 'general.pin-01',
21
+ columns: 'layout.columns-03',
22
+ chevron: 'arrow.chevron-right',
23
+ 'chevron-start': 'arrow.chevron-left-double',
24
+ check: 'general.check',
25
+ menu: 'general.dots-vertical',
26
+ move: 'editor.move',
27
+ left: 'arrow.arrow-left',
28
+ right: 'arrow.arrow-right',
29
+ close: 'general.x-close',
30
+ copy: 'general.copy-01',
31
+ cut: 'editor.scissors-01',
32
+ paste: 'file.clipboard',
33
+ save: 'general.download-01',
34
+ 'tree-open': 'arrow.chevron-down',
35
+ 'tree-closed': 'arrow.chevron-right',
36
+ group: 'layout.rows-03',
37
+ csv: 'file.file-06',
38
+ excel: 'layout.table',
39
+ search: 'general.search-lg',
40
+ filter: 'general.filter-lines',
41
+ cancel: 'general.x-close',
42
+ 'small-down': 'arrow.chevron-down',
43
+ grip: 'general.dots-grid',
44
+ arrows: 'custom.arrows',
45
+ 'tree-indeterminate': 'general.minus',
46
+ aggregation: 'editor.type-01',
47
+ pivot: 'layout.grid-01',
48
+ 'filter-add': 'general.plus',
49
+ cross: 'general.x-close',
50
+ 'chevron-up': 'arrow.chevron-up',
51
+ 'chevron-down': 'arrow.chevron-down',
52
+ first: 'arrow.chevron-left-double',
53
+ previous: 'arrow.chevron-left',
54
+ next: 'arrow.chevron-right',
55
+ last: 'arrow.chevron-right-double',
56
+ chart: 'chart.bar-chart-01',
57
+ maximize: 'arrow.expand-01',
58
+ minimize: 'layout.minimize-01',
59
+ 'chart-link': 'general.link-01',
60
+ 'chart-unlink': 'general.link-broken-01',
61
+ 'chart-edit': 'general.settings-04',
62
+ 'chevron-right': 'arrow.chevron-right',
63
+ 'eye-off': 'general.eye-off',
64
+ minus: 'general.minus',
65
+ values: 'editor.type-01',
66
+ download: 'general.download-01',
67
+ link: 'general.link-01',
68
+ unlink: 'general.link-broken-01',
69
+ settings: 'general.settings-04',
70
+ 'chevron-left': 'arrow.chevron-left',
71
+ 'chevron-end': 'arrow.chevron-right-double',
72
+ 'filter-active': 'general.filter-funnel-01',
73
+ 'filters-panel': 'general.filter-lines',
74
+ 'pin-left': 'general.pin-01',
75
+ 'pin-right': 'general.pin-01',
76
+ unpin: 'general.pin-02',
77
+ autosize: 'custom.arrows',
78
+ 'chart-bar': 'chart.horizontal-bar-chart-01',
79
+ 'chart-line': 'chart.line-chart-up-01',
80
+ 'chart-pie': 'chart.pie-chart-01',
81
+ 'chart-area': 'chart.bar-line-chart',
82
+ 'chart-scatter': 'chart.bar-chart-10',
83
+ data: 'dev.database-01',
84
+ format: 'editor.paint',
85
+ plus: 'general.plus',
86
+ eye: 'general.eye',
87
+ loading: 'general.loading-01',
88
+ };
89
+ /** Populated before bootstrap from the same packaged asset map used by mt-icon. */
90
+ const gridDsIcons = {};
91
+ async function loadGridDsIcons(http) {
92
+ const icons = await firstValueFrom(http.get('assets/icons-map.generated.json'));
93
+ for (const [name, glyph] of Object.entries(glyphs)) {
94
+ const svg = icons[glyph];
95
+ if (!svg)
96
+ throw new Error(`Missing DS grid glyph: ${glyph}`);
97
+ gridDsIcons[name] = svg.replace('<svg ', '<svg width="100%" height="100%" ');
98
+ }
99
+ }
100
+ /** The same Masterteam icon bridge for showcase and products. No grid UI or feature policy. */
101
+ function provideMTGridIcons() {
102
+ return makeEnvironmentProviders([
103
+ { provide: MT_GRID_ICONS, useValue: gridDsIcons },
104
+ provideAppInitializer(() => loadGridDsIcons(new HttpClient(inject(HttpBackend)))),
105
+ ]);
106
+ }
107
+
108
+ /**
109
+ * Generated bundle index. Do not edit.
110
+ */
111
+
112
+ export { gridDsIcons, loadGridDsIcons, provideMTGridIcons };
113
+ //# sourceMappingURL=masterteam-data-table-icons.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"masterteam-data-table-icons.mjs","sources":["../../../../packages/masterteam/data-table/icons/public-api.ts","../../../../packages/masterteam/data-table/icons/masterteam-data-table-icons.ts"],"sourcesContent":["import {\r\n inject,\r\n makeEnvironmentProviders,\r\n provideAppInitializer,\r\n} from '@angular/core';\r\nimport { HttpBackend } from '@angular/common/http';\r\nimport { MT_GRID_ICONS } from '@masterteam/data-grid';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport type { GridIconName } from '@masterteam/data-grid';\r\nimport type { MTIcon } from '@masterteam/icons';\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\n/** Closest @masterteam/icons glyph for every grid semantic and historical alias. */\r\nconst glyphs = {\r\n 'sort-asc': 'arrow.arrow-up',\r\n 'sort-desc': 'arrow.arrow-down',\r\n 'sort-none': 'arrow.chevron-selector-vertical',\r\n reset: 'arrow.refresh-ccw-01',\r\n expand: 'arrow.chevron-right',\r\n collapse: 'arrow.chevron-down',\r\n pdf: 'file.file-06',\r\n export: 'general.download-01',\r\n asc: 'arrow.arrow-up',\r\n desc: 'arrow.arrow-down',\r\n hide: 'general.eye-off',\r\n blocked: 'general.slash-circle-01',\r\n pin: 'general.pin-01',\r\n columns: 'layout.columns-03',\r\n chevron: 'arrow.chevron-right',\r\n 'chevron-start': 'arrow.chevron-left-double',\r\n check: 'general.check',\r\n menu: 'general.dots-vertical',\r\n move: 'editor.move',\r\n left: 'arrow.arrow-left',\r\n right: 'arrow.arrow-right',\r\n close: 'general.x-close',\r\n copy: 'general.copy-01',\r\n cut: 'editor.scissors-01',\r\n paste: 'file.clipboard',\r\n save: 'general.download-01',\r\n 'tree-open': 'arrow.chevron-down',\r\n 'tree-closed': 'arrow.chevron-right',\r\n group: 'layout.rows-03',\r\n csv: 'file.file-06',\r\n excel: 'layout.table',\r\n search: 'general.search-lg',\r\n filter: 'general.filter-lines',\r\n cancel: 'general.x-close',\r\n 'small-down': 'arrow.chevron-down',\r\n grip: 'general.dots-grid',\r\n arrows: 'custom.arrows',\r\n 'tree-indeterminate': 'general.minus',\r\n aggregation: 'editor.type-01',\r\n pivot: 'layout.grid-01',\r\n 'filter-add': 'general.plus',\r\n cross: 'general.x-close',\r\n 'chevron-up': 'arrow.chevron-up',\r\n 'chevron-down': 'arrow.chevron-down',\r\n first: 'arrow.chevron-left-double',\r\n previous: 'arrow.chevron-left',\r\n next: 'arrow.chevron-right',\r\n last: 'arrow.chevron-right-double',\r\n chart: 'chart.bar-chart-01',\r\n maximize: 'arrow.expand-01',\r\n minimize: 'layout.minimize-01',\r\n 'chart-link': 'general.link-01',\r\n 'chart-unlink': 'general.link-broken-01',\r\n 'chart-edit': 'general.settings-04',\r\n 'chevron-right': 'arrow.chevron-right',\r\n 'eye-off': 'general.eye-off',\r\n minus: 'general.minus',\r\n values: 'editor.type-01',\r\n download: 'general.download-01',\r\n link: 'general.link-01',\r\n unlink: 'general.link-broken-01',\r\n settings: 'general.settings-04',\r\n 'chevron-left': 'arrow.chevron-left',\r\n 'chevron-end': 'arrow.chevron-right-double',\r\n 'filter-active': 'general.filter-funnel-01',\r\n 'filters-panel': 'general.filter-lines',\r\n 'pin-left': 'general.pin-01',\r\n 'pin-right': 'general.pin-01',\r\n unpin: 'general.pin-02',\r\n autosize: 'custom.arrows',\r\n 'chart-bar': 'chart.horizontal-bar-chart-01',\r\n 'chart-line': 'chart.line-chart-up-01',\r\n 'chart-pie': 'chart.pie-chart-01',\r\n 'chart-area': 'chart.bar-line-chart',\r\n 'chart-scatter': 'chart.bar-chart-10',\r\n data: 'dev.database-01',\r\n format: 'editor.paint',\r\n plus: 'general.plus',\r\n eye: 'general.eye',\r\n loading: 'general.loading-01',\r\n} satisfies Record<GridIconName, MTIcon>;\r\n\r\n/** Populated before bootstrap from the same packaged asset map used by mt-icon. */\r\nexport const gridDsIcons: Partial<Record<GridIconName, string>> = {};\r\nexport async function loadGridDsIcons(http: HttpClient): Promise<void> {\r\n const icons = await firstValueFrom(\r\n http.get<Record<string, string>>('assets/icons-map.generated.json'),\r\n );\r\n for (const [name, glyph] of Object.entries(glyphs)) {\r\n const svg = icons[glyph];\r\n if (!svg) throw new Error(`Missing DS grid glyph: ${glyph}`);\r\n gridDsIcons[name as GridIconName] = svg.replace(\r\n '<svg ',\r\n '<svg width=\"100%\" height=\"100%\" ',\r\n );\r\n }\r\n}\r\n\r\n/** The same Masterteam icon bridge for showcase and products. No grid UI or feature policy. */\r\nexport function provideMTGridIcons() {\r\n return makeEnvironmentProviders([\r\n { provide: MT_GRID_ICONS, useValue: gridDsIcons },\r\n provideAppInitializer(() =>\r\n loadGridDsIcons(new HttpClient(inject(HttpBackend))),\r\n ),\r\n ]);\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAYA;AACA,MAAM,MAAM,GAAG;AACb,IAAA,UAAU,EAAE,gBAAgB;AAC5B,IAAA,WAAW,EAAE,kBAAkB;AAC/B,IAAA,WAAW,EAAE,iCAAiC;AAC9C,IAAA,KAAK,EAAE,sBAAsB;AAC7B,IAAA,MAAM,EAAE,qBAAqB;AAC7B,IAAA,QAAQ,EAAE,oBAAoB;AAC9B,IAAA,GAAG,EAAE,cAAc;AACnB,IAAA,MAAM,EAAE,qBAAqB;AAC7B,IAAA,GAAG,EAAE,gBAAgB;AACrB,IAAA,IAAI,EAAE,kBAAkB;AACxB,IAAA,IAAI,EAAE,iBAAiB;AACvB,IAAA,OAAO,EAAE,yBAAyB;AAClC,IAAA,GAAG,EAAE,gBAAgB;AACrB,IAAA,OAAO,EAAE,mBAAmB;AAC5B,IAAA,OAAO,EAAE,qBAAqB;AAC9B,IAAA,eAAe,EAAE,2BAA2B;AAC5C,IAAA,KAAK,EAAE,e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