@cngx/ui 0.1.0-rc.3 → 0.1.0-rc.5
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/accordion/README.md +86 -0
- package/collection/README.md +167 -0
- package/data-grid-accordion/README.md +137 -0
- package/fesm2022/cngx-ui-accordion.mjs +853 -0
- package/fesm2022/cngx-ui-accordion.mjs.map +1 -0
- package/fesm2022/cngx-ui-action-button.mjs +2 -2
- package/fesm2022/cngx-ui-action-button.mjs.map +1 -1
- package/fesm2022/cngx-ui-breadcrumb.mjs +1044 -0
- package/fesm2022/cngx-ui-breadcrumb.mjs.map +1 -0
- package/fesm2022/cngx-ui-collection.mjs +645 -0
- package/fesm2022/cngx-ui-collection.mjs.map +1 -0
- package/fesm2022/cngx-ui-data-grid-accordion.mjs +1135 -0
- package/fesm2022/cngx-ui-data-grid-accordion.mjs.map +1 -0
- package/fesm2022/cngx-ui-empty-state.mjs +2 -2
- package/fesm2022/cngx-ui-empty-state.mjs.map +1 -1
- package/fesm2022/cngx-ui-feedback.mjs +10 -10
- package/fesm2022/cngx-ui-feedback.mjs.map +1 -1
- package/fesm2022/cngx-ui-mat-accordion.mjs +229 -0
- package/fesm2022/cngx-ui-mat-accordion.mjs.map +1 -0
- package/fesm2022/cngx-ui-paginator.mjs +324 -255
- package/fesm2022/cngx-ui-paginator.mjs.map +1 -1
- package/fesm2022/cngx-ui-sidenav.mjs +547 -65
- package/fesm2022/cngx-ui-sidenav.mjs.map +1 -1
- package/fesm2022/cngx-ui-tabs.mjs +6 -6
- package/fesm2022/cngx-ui-tabs.mjs.map +1 -1
- package/fesm2022/cngx-ui.mjs +1 -1
- package/mat-accordion/README.md +48 -0
- package/package.json +21 -1
- package/paginator/README.md +9 -6
- package/sidenav/README.md +89 -3
- package/types/cngx-ui-accordion.d.ts +801 -0
- package/types/cngx-ui-breadcrumb.d.ts +890 -0
- package/types/cngx-ui-collection.d.ts +396 -0
- package/types/cngx-ui-data-grid-accordion.d.ts +912 -0
- package/types/cngx-ui-mat-accordion.d.ts +63 -0
- package/types/cngx-ui-paginator.d.ts +258 -146
- package/types/cngx-ui-sidenav.d.ts +429 -21
|
@@ -0,0 +1,912 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { InjectionToken, Signal, WritableSignal, TemplateRef, EnvironmentProviders, Provider } from '@angular/core';
|
|
3
|
+
import * as i2 from '@cngx/common/data';
|
|
4
|
+
import { CngxSort, CngxFilter } from '@cngx/common/data';
|
|
5
|
+
import * as i1 from '@cngx/common/interactive';
|
|
6
|
+
import * as _cngx_ui_data_grid_accordion from '@cngx/ui/data-grid-accordion';
|
|
7
|
+
import { AsyncStatus, CngxAsyncState } from '@cngx/core/utils';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* UI-local context a {@link CngxDataGridAccordion} exposes so each
|
|
11
|
+
* {@link CngxDataGridRow} reads the shared heading level without injecting the
|
|
12
|
+
* concrete group class (cyclic type, blocks Atomic Decompose). Kept separate from
|
|
13
|
+
* the headless `CNGX_ACCORDION` brain contract, which stays skin-agnostic -
|
|
14
|
+
* heading semantics are a grid concern. The shared column template reaches rows
|
|
15
|
+
* through the inherited `--cngx-dga-columns` custom property (CSS cascade), so it
|
|
16
|
+
* needs no signal here.
|
|
17
|
+
*
|
|
18
|
+
* The group also hosts the orthogonal {@link CngxSort} and {@link CngxFilter} atoms and
|
|
19
|
+
* exposes them here as `sort` and `filter`, so `cngxDgaSortHeader` cells drive the sort
|
|
20
|
+
* with no `[cngxSortRef]` and the `cngxDgaFilter` slot writes `filterTerm`. The context
|
|
21
|
+
* still carries state only - the consumer's `computed()` derives the visible + ordered
|
|
22
|
+
* rows.
|
|
23
|
+
*
|
|
24
|
+
* @category ui/data-grid-accordion
|
|
25
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-accordion.token.ts
|
|
26
|
+
* @since 0.1.0
|
|
27
|
+
* @relatedTo CngxDataGridAccordion, CngxDataGridRow, CngxSort, CngxFilter
|
|
28
|
+
*/
|
|
29
|
+
interface CngxDataGridAccordionContext {
|
|
30
|
+
/** Heading level (2-6) every row's `role="heading"` wrapper reflects via `aria-level`. */
|
|
31
|
+
readonly headingLevel: Signal<number>;
|
|
32
|
+
/**
|
|
33
|
+
* The group's hosted {@link CngxSort}. `cngxDgaSortHeader` cells read its `sorts()`
|
|
34
|
+
* and call `setSort(...)`; a consumer derives the ordered rows from it via `computed()`.
|
|
35
|
+
*/
|
|
36
|
+
readonly sort: CngxSort;
|
|
37
|
+
/**
|
|
38
|
+
* The group's hosted {@link CngxFilter}. `[filterPredicate]` feeds its controlled
|
|
39
|
+
* predicate; a consumer reads `filter.predicate()` (or drives `addPredicate` for facet
|
|
40
|
+
* filtering) and derives the visible rows via `computed()`.
|
|
41
|
+
*/
|
|
42
|
+
readonly filter: CngxFilter;
|
|
43
|
+
/**
|
|
44
|
+
* The simple text filter term, two-way bindable as `[(filterTerm)]`. The `cngxDgaFilter`
|
|
45
|
+
* input writes it (debounced); a consumer matches it against its own row fields in a
|
|
46
|
+
* `computed()`. Writable so the slot directive can set it.
|
|
47
|
+
*/
|
|
48
|
+
readonly filterTerm: WritableSignal<string>;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* DI token for the {@link CngxDataGridAccordionContext}.
|
|
52
|
+
* {@link CngxDataGridAccordion} provides it via `useExisting`; each
|
|
53
|
+
* {@link CngxDataGridRow} injects it.
|
|
54
|
+
*
|
|
55
|
+
* @category ui/data-grid-accordion
|
|
56
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-accordion.token.ts
|
|
57
|
+
* @since 0.1.0
|
|
58
|
+
* @relatedTo CngxDataGridAccordion, CngxDataGridRow
|
|
59
|
+
*/
|
|
60
|
+
declare const CNGX_DATA_GRID_ACCORDION: InjectionToken<CngxDataGridAccordionContext>;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Selectable visual skin for `<cngx-data-grid-accordion>`. \
|
|
64
|
+
* The skin is a pure thematic concern - every value renders the identical
|
|
65
|
+
* header / row / region structure, cells, ARIA, and keyboard behaviour, and only
|
|
66
|
+
* redirects CSS via the `[data-skin]` host attribute. Typed class-sugar (mirrors
|
|
67
|
+
* {@link CngxAccordionSkin}), not a behaviour-branching mode flag.
|
|
68
|
+
*
|
|
69
|
+
* `'ledger'` zebra rows + sum footer; `'spreadsheet'` cell hairlines + row-number
|
|
70
|
+
* gutter; `'log-stream'` mono grid with a severity edge; `'master-detail'`
|
|
71
|
+
* primary-tinted open row + sub-table detail; `'report'` frameless double rules;
|
|
72
|
+
* `'density'` compact/standard/spacious token hooks.
|
|
73
|
+
*
|
|
74
|
+
* @category ui/data-grid-accordion
|
|
75
|
+
* @since 0.1.0
|
|
76
|
+
*/
|
|
77
|
+
type CngxDataGridSkin = 'ledger' | 'spreadsheet' | 'log-stream' | 'master-detail' | 'report' | 'density';
|
|
78
|
+
/**
|
|
79
|
+
* Per-row semantic severity, reflected onto the `[data-severity]` host attribute
|
|
80
|
+
* for skins that visualise it (the `log-stream` skin maps it to a coloured left
|
|
81
|
+
* edge via the `--cngx-color-danger` / `-warning` / `-info` tokens). Structural
|
|
82
|
+
* only - it changes no ARIA and no behaviour, and unset rows simply carry no
|
|
83
|
+
* severity.
|
|
84
|
+
*
|
|
85
|
+
* Re-declared locally as an identical union rather than imported from the
|
|
86
|
+
* accordion entry, so this entry pulls in nothing from a sibling `@cngx/ui`
|
|
87
|
+
* entry. The duplication is a tracked decision, re-evaluated if a shared severity
|
|
88
|
+
* union lands in `@cngx/core`.
|
|
89
|
+
*
|
|
90
|
+
* @category ui/data-grid-accordion
|
|
91
|
+
* @since 0.1.0
|
|
92
|
+
*/
|
|
93
|
+
type CngxDataGridSeverity = 'error' | 'warning' | 'info';
|
|
94
|
+
/**
|
|
95
|
+
* App-wide cascade for the data-grid-accordion's default visual skin.
|
|
96
|
+
*
|
|
97
|
+
* Resolution priority (high -> low):
|
|
98
|
+
* 1. Per-instance `[skin]` Input binding.
|
|
99
|
+
* 2. `provideDataGridAccordionConfigAt(...)` in a parent component's
|
|
100
|
+
* `viewProviders` (component-scoped override).
|
|
101
|
+
* 3. `provideDataGridAccordionConfig(...)` at the application root.
|
|
102
|
+
* 4. Library default (unset - the base flat grid look).
|
|
103
|
+
*
|
|
104
|
+
* The column template (`[columns]`) is deliberately absent: every grid carries a
|
|
105
|
+
* different column set, so it stays a per-instance input with a base fallback and
|
|
106
|
+
* has no app-wide default. Skin is the only surface with a plausible app-wide
|
|
107
|
+
* default, mirroring {@link withAccordionSkin}.
|
|
108
|
+
*
|
|
109
|
+
* @category ui/data-grid-accordion
|
|
110
|
+
* @since 0.1.0
|
|
111
|
+
*/
|
|
112
|
+
interface CngxDataGridAccordionConfig {
|
|
113
|
+
/**
|
|
114
|
+
* App-wide default visual skin reflected onto `[data-skin]`. Unset by default
|
|
115
|
+
* (the base flat grid look). A per-instance `[skin]` Input still wins; this
|
|
116
|
+
* only moves the cascade default. Override via {@link withDataGridSkin}.
|
|
117
|
+
*/
|
|
118
|
+
readonly skin?: CngxDataGridSkin;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Data-grid accordion group. A disclosure accordion whose header, rows, and
|
|
123
|
+
* footer all share one `grid-template-columns` contract, so N arbitrary cells
|
|
124
|
+
* align down the grid - the ceiling the accordion `data-grid` skin could never
|
|
125
|
+
* reach with its fixed three slots. Hosts the headless {@link CngxAccordion}
|
|
126
|
+
* brain via `hostDirectives` (so `CNGX_ACCORDION` and roving keyboard nav come
|
|
127
|
+
* with it), forwards `[multi]` and the controlled `[(openIds)]` model, publishes
|
|
128
|
+
* the column template onto the inherited `--cngx-dga-columns` property, and
|
|
129
|
+
* reflects `[skin]` onto `[data-skin]`. Projects its {@link CngxDataGridHeader},
|
|
130
|
+
* {@link CngxDataGridRow}s, and {@link CngxDataGridFooter} through a single
|
|
131
|
+
* `<ng-content />`; it owns no rendering beyond providing
|
|
132
|
+
* {@link CNGX_DATA_GRID_ACCORDION} so rows read the shared heading level.
|
|
133
|
+
*
|
|
134
|
+
* It is a disclosure accordion, not a data grid: no `role="grid"`, no cell edit,
|
|
135
|
+
* no selection model, no keyboard grid navigation. It hosts the orthogonal
|
|
136
|
+
* {@link CngxSort} atom as a second `hostDirective` and exposes it on
|
|
137
|
+
* {@link CNGX_DATA_GRID_ACCORDION} as `sort`, so header cells become sortable with
|
|
138
|
+
* one `cngxDgaSortHeader` attribute (no `[cngxSortRef]` plumbing) and a consumer can
|
|
139
|
+
* bind the controlled `[sortActive]` / `[sortDirection]` inputs and read `(sortChange)`.
|
|
140
|
+
* For an uncontrolled grid that just needs a starting order, `[initialSort]="{ active,
|
|
141
|
+
* direction }"` seeds the sort once and then yields to header clicks.
|
|
142
|
+
* It hosts the orthogonal {@link CngxFilter} atom the same way, exposed as `filter`:
|
|
143
|
+
* `[filterPredicate]` forwards to its controlled predicate, `(filterChange)` re-emits,
|
|
144
|
+
* and a projected `cngxDgaFilter` input two-way-binds the simple `[(filterTerm)]`.
|
|
145
|
+
* The group only publishes sort/filter state - the consumer still derives the
|
|
146
|
+
* visible + ordered rows via a `computed()` and owns the `@for`; the open set is keyed
|
|
147
|
+
* by row value so a sorted or filtered row stays open while it moves.
|
|
148
|
+
*
|
|
149
|
+
* The column widths are declared on the header cells via `col`
|
|
150
|
+
* (`grow` / `fit` / `sm` / `md` / `lg`); the group derives the shared template from
|
|
151
|
+
* them, so no `grid-template-columns` string is needed for the common case.
|
|
152
|
+
*
|
|
153
|
+
* ```html
|
|
154
|
+
* <cngx-data-grid-accordion [multi]="true">
|
|
155
|
+
* <cngx-dga-header>
|
|
156
|
+
* <span cngxDgaCell col="sm">ID</span>
|
|
157
|
+
* <span cngxDgaCell col="grow">Name</span>
|
|
158
|
+
* <span cngxDgaCell col="md" align="end">Amount</span>
|
|
159
|
+
* </cngx-dga-header>
|
|
160
|
+
* <cngx-dga-row panelId="1">
|
|
161
|
+
* <span cngxDgaCell>1</span>
|
|
162
|
+
* <span cngxDgaCell primary>Alpha</span>
|
|
163
|
+
* <span cngxDgaCell align="end">120.00</span>
|
|
164
|
+
* Detail for row 1
|
|
165
|
+
* </cngx-dga-row>
|
|
166
|
+
* <cngx-dga-footer>
|
|
167
|
+
* <span cngxDgaCell>Total</span>
|
|
168
|
+
* </cngx-dga-footer>
|
|
169
|
+
* </cngx-data-grid-accordion>
|
|
170
|
+
* ```
|
|
171
|
+
*
|
|
172
|
+
* @category ui/data-grid-accordion
|
|
173
|
+
* @docsKind primary
|
|
174
|
+
* @wcag AA
|
|
175
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-accordion.component.ts
|
|
176
|
+
* @since 0.1.0
|
|
177
|
+
* @relatedTo CngxDataGridRow, CngxDgCell, CngxDataGridHeader, CngxDataGridFooter, CngxAccordion, CngxSort, CngxFilter, CngxDgaSortHeader, CngxDgaFilter, CngxDgaCount
|
|
178
|
+
*
|
|
179
|
+
* <example-url>http://localhost:4200/#/ui/data-grid-accordion/sortable-ledger</example-url>
|
|
180
|
+
* <example-url>http://localhost:4200/#/ui/data-grid-accordion/bound-sort-filter</example-url>
|
|
181
|
+
* <example-url>http://localhost:4200/#/ui/data-grid-accordion/master-detail</example-url>
|
|
182
|
+
* <example-url>http://localhost:4200/#/ui/data-grid-accordion/spreadsheet</example-url>
|
|
183
|
+
* <example-url>http://localhost:4200/#/ui/data-grid-accordion/density</example-url>
|
|
184
|
+
*/
|
|
185
|
+
declare class CngxDataGridAccordion implements CngxDataGridAccordionContext {
|
|
186
|
+
private readonly config;
|
|
187
|
+
/**
|
|
188
|
+
* The hosted {@link CngxSort} instance, exposed on {@link CNGX_DATA_GRID_ACCORDION}
|
|
189
|
+
* so `cngxDgaSortHeader` cells read the shared sort with no `[cngxSortRef]`. It is a
|
|
190
|
+
* `hostDirective`, so it lives on this element's injector; `{ self: true }` resolves
|
|
191
|
+
* that instance rather than an ancestor's. The group publishes it as state - the
|
|
192
|
+
* consumer's `computed()` still derives the ordered rows (Ableitung preserved).
|
|
193
|
+
*/
|
|
194
|
+
readonly sort: CngxSort;
|
|
195
|
+
/**
|
|
196
|
+
* The hosted {@link CngxFilter} instance, exposed on {@link CNGX_DATA_GRID_ACCORDION}
|
|
197
|
+
* as `filter`. `[filterPredicate]` forwards to its controlled predicate; consumers
|
|
198
|
+
* read `filter.predicate()` (or drive `addPredicate` for facet filtering) and derive
|
|
199
|
+
* the visible rows themselves. State only - the group never hides projected rows.
|
|
200
|
+
*/
|
|
201
|
+
readonly filter: CngxFilter<any>;
|
|
202
|
+
/**
|
|
203
|
+
* The simple text filter term, two-way bindable as `[(filterTerm)]`. A `model()`
|
|
204
|
+
* because it is a two-way primary value the projected `cngxDgaFilter` input writes
|
|
205
|
+
* (a plain `input()` could not be set from the slot). The group publishes it on the
|
|
206
|
+
* context so the consumer's `computed()` matches it against its own row fields - the
|
|
207
|
+
* group holds no field knowledge and does no matching (Pillar 3).
|
|
208
|
+
*/
|
|
209
|
+
readonly filterTerm: _angular_core.ModelSignal<string>;
|
|
210
|
+
/**
|
|
211
|
+
* Raw `grid-template-columns` escape hatch. Leave it unset for the common case:
|
|
212
|
+
* the group derives the shared template from the header cells' `col` intents
|
|
213
|
+
* (see {@link resolvedColumns}). Set it only when a skin needs track syntax the
|
|
214
|
+
* `col` vocabulary cannot express - `ch` tracks, `subgrid`, `minmax` - such as the
|
|
215
|
+
* `spreadsheet` skin. When set, it wins over the derived value. It holds content
|
|
216
|
+
* columns only: the disclosure chevron rides a leading gutter outside the grid, so
|
|
217
|
+
* it never consumes a track. Per-instance only - no app-wide config default
|
|
218
|
+
* (unlike `[skin]`).
|
|
219
|
+
*/
|
|
220
|
+
readonly columns: _angular_core.InputSignal<string | undefined>;
|
|
221
|
+
/**
|
|
222
|
+
* Heading level (2-6) every row's `role="heading"` wrapper reflects via
|
|
223
|
+
* `aria-level`. Clamped into the valid ARIA range so a stray `0`/`9` can never
|
|
224
|
+
* emit an invalid `aria-level`; the default is clamped explicitly because
|
|
225
|
+
* Angular runs `transform` only on bound values, not the initial default.
|
|
226
|
+
* Coerced from string via `coerceNumberProperty` for attribute binding.
|
|
227
|
+
*/
|
|
228
|
+
readonly headingLevel: _angular_core.InputSignalWithTransform<number, string | number>;
|
|
229
|
+
/**
|
|
230
|
+
* Visual skin reflected onto the `[data-skin]` host attribute. Resolves
|
|
231
|
+
* `input ?? CNGX_DATA_GRID_ACCORDION_CONFIG.skin`: an unbound `[skin]` falls
|
|
232
|
+
* back to the app-wide config default (`withDataGridSkin`); unset on both
|
|
233
|
+
* leaves the base flat grid look. The skin only redirects CSS - structure,
|
|
234
|
+
* cells, ARIA, and keyboard behaviour are identical across skins.
|
|
235
|
+
*/
|
|
236
|
+
readonly skin: _angular_core.InputSignal<CngxDataGridSkin | undefined>;
|
|
237
|
+
/** `[skin]` input over the config default. `null` host binding when unset. */
|
|
238
|
+
protected readonly resolvedSkin: _angular_core.Signal<CngxDataGridSkin | undefined>;
|
|
239
|
+
private readonly header;
|
|
240
|
+
private readonly firstRow;
|
|
241
|
+
/** Index of the primary column, read from the first row's `primary` cell (-1 = none). */
|
|
242
|
+
private readonly primaryIndex;
|
|
243
|
+
/** Column source: the header cells, or the first row's cells when no header exists. */
|
|
244
|
+
private readonly sourceCells;
|
|
245
|
+
/**
|
|
246
|
+
* `grid-template-columns` derived from the column intents: each source cell's
|
|
247
|
+
* `col` track maps to a CSS track; unset falls back to the default (the primary
|
|
248
|
+
* column grows, every other column fits). `null` until a source cell exists.
|
|
249
|
+
*/
|
|
250
|
+
private readonly derivedColumns;
|
|
251
|
+
/**
|
|
252
|
+
* The shared column template published onto `--cngx-dga-columns`. Derivation over
|
|
253
|
+
* management (Pillar 1): a single `computed()` from one source (the header), not a
|
|
254
|
+
* hand-synced string. Precedence: an explicit `[columns]` escape hatch wins, else
|
|
255
|
+
* the header-derived template, else a single `1fr`. Primitive string, so
|
|
256
|
+
* `Object.is` dedupes with no `equal` fn.
|
|
257
|
+
*/
|
|
258
|
+
protected readonly resolvedColumns: _angular_core.Signal<string>;
|
|
259
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CngxDataGridAccordion, never>;
|
|
260
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CngxDataGridAccordion, "cngx-data-grid-accordion", ["cngxDataGridAccordion"], { "filterTerm": { "alias": "filterTerm"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "headingLevel": { "alias": "headingLevel"; "required": false; "isSignal": true; }; "skin": { "alias": "skin"; "required": false; "isSignal": true; }; }, { "filterTerm": "filterTermChange"; }, ["header", "firstRow"], ["*"], true, [{ directive: typeof i1.CngxAccordion; inputs: { "multi": "multi"; "openIds": "openIds"; }; outputs: { "openIdsChange": "openIdsChange"; }; }, { directive: typeof i2.CngxSort; inputs: { "cngxSortActive": "sortActive"; "cngxSortDirection": "sortDirection"; "cngxSortInitial": "initialSort"; "multiSort": "multiSort"; }; outputs: { "sortChange": "sortChange"; }; }, { directive: typeof i2.CngxFilter; inputs: { "cngxFilter": "filterPredicate"; }; outputs: { "filterChange": "filterChange"; }; }]>;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/** Inline alignment of a data-grid cell within its column track. */
|
|
264
|
+
type CngxDgCellAlign = 'start' | 'center' | 'end';
|
|
265
|
+
/**
|
|
266
|
+
* Column-sizing intent for a data-grid track, authored on the `cngxDgaCell`s of the
|
|
267
|
+
* {@link CngxDataGridHeader} (the single column source). The group derives the
|
|
268
|
+
* shared `grid-template-columns` from these:
|
|
269
|
+
*
|
|
270
|
+
* - `grow` - the flexible column, `minmax(0, 1fr)`; shares the remaining width.
|
|
271
|
+
* - `fit` - content-sized, `auto`; as wide as its content needs.
|
|
272
|
+
* - `sm` / `md` / `lg` - fixed tracks from the `--cngx-dga-col-sm|-md|-lg` tokens
|
|
273
|
+
* (mirrors the `size` vocabulary of `CngxTag` / `CngxIcon` / `CngxAvatar`).
|
|
274
|
+
*
|
|
275
|
+
* Unset falls back to the derived default: the `primary` column grows, every other
|
|
276
|
+
* column fits.
|
|
277
|
+
*/
|
|
278
|
+
type CngxDgCellTrack = 'grow' | 'fit' | 'sm' | 'md' | 'lg';
|
|
279
|
+
/**
|
|
280
|
+
* A single cell in a {@link CngxDataGridRow}, {@link CngxDataGridHeader}, or
|
|
281
|
+
* {@link CngxDataGridFooter}. Each cell occupies one track of the shared
|
|
282
|
+
* `grid-template-columns` contract; `[align]` sets its inline alignment and
|
|
283
|
+
* `[primary]` marks the one cell that names the row.
|
|
284
|
+
*
|
|
285
|
+
* The cell is visual: the row stays a single `cngxAccordionPanel` button and one
|
|
286
|
+
* `role="region"`, so marking a cell `primary` only points the row's
|
|
287
|
+
* `aria-labelledby` at it - it adds no interactive semantics. Exactly one cell
|
|
288
|
+
* per row should carry `primary`, so the row's accessible name is that cell's
|
|
289
|
+
* text alone rather than every cell concatenated.
|
|
290
|
+
*
|
|
291
|
+
* @category ui/data-grid-accordion
|
|
292
|
+
* @wcag AA
|
|
293
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-cell.directive.ts
|
|
294
|
+
* @since 0.1.0
|
|
295
|
+
* @relatedTo CngxDataGridRow
|
|
296
|
+
*/
|
|
297
|
+
declare class CngxDgCell {
|
|
298
|
+
/** Inline alignment within the column track: `start` (default), `center`, `end`. */
|
|
299
|
+
readonly align: _angular_core.InputSignal<CngxDgCellAlign>;
|
|
300
|
+
/**
|
|
301
|
+
* Column-sizing intent read off the header cells to derive the shared grid
|
|
302
|
+
* template ({@link CngxDgCellTrack}: `grow` / `fit` / `sm` / `md` / `lg`).
|
|
303
|
+
* Authored on the {@link CngxDataGridHeader} cells; row and footer cells inherit
|
|
304
|
+
* the derived track by position and can leave it unset. Unset falls back to the
|
|
305
|
+
* default (primary column grows, the rest fit). Purely a sizing hint - no host
|
|
306
|
+
* binding, the group reads the signal directly.
|
|
307
|
+
*/
|
|
308
|
+
readonly col: _angular_core.InputSignal<CngxDgCellTrack | undefined>;
|
|
309
|
+
/**
|
|
310
|
+
* Marks this cell as the row's accessible name. The row's `cngxAccordionPanel`
|
|
311
|
+
* button and its `role="region"` both point `aria-labelledby` at the primary
|
|
312
|
+
* cell, so a screen reader announces one meaningful label per row instead of
|
|
313
|
+
* the concatenated text of every cell.
|
|
314
|
+
*/
|
|
315
|
+
readonly primary: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
316
|
+
private readonly element;
|
|
317
|
+
/**
|
|
318
|
+
* Stable id the row's `aria-labelledby` references. Reuses a consumer-supplied
|
|
319
|
+
* `id` when present (so the IDREF stays what the consumer expects), otherwise
|
|
320
|
+
* generates one. Read by {@link CngxDataGridRow} to resolve the primary cell.
|
|
321
|
+
*/
|
|
322
|
+
readonly cellId: string;
|
|
323
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CngxDgCell, never>;
|
|
324
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CngxDgCell, "[cngxDgaCell]", ["cngxDgaCell"], { "align": { "alias": "align"; "required": false; "isSignal": true; }; "col": { "alias": "col"; "required": false; "isSignal": true; }; "primary": { "alias": "primary"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* Template context handed to the busy (`*cngxDgaRowBusy`) and error
|
|
329
|
+
* (`*cngxDgaRowError`) slots of a {@link CngxDataGridRow}, so an override can read
|
|
330
|
+
* the row's live async state without re-injecting it.
|
|
331
|
+
*
|
|
332
|
+
* `$implicit` is the current {@link AsyncStatus} (`loading` / `refreshing` in the
|
|
333
|
+
* busy slot, `error` in the error slot). `message` carries the resolved error
|
|
334
|
+
* string in the error state and is empty in the busy state, so an error override
|
|
335
|
+
* can render the announced text (and a retry) without re-deriving it.
|
|
336
|
+
*
|
|
337
|
+
* Re-declared locally as an identical shape to `CngxAccordionItemStateContext`
|
|
338
|
+
* rather than imported from the accordion entry, so this entry pulls in nothing
|
|
339
|
+
* from a sibling `@cngx/ui` entry (data-grid-accordion accepted-debt §1).
|
|
340
|
+
*
|
|
341
|
+
* @category ui/data-grid-accordion
|
|
342
|
+
* @since 0.1.0
|
|
343
|
+
*/
|
|
344
|
+
interface CngxDgaRowStateContext {
|
|
345
|
+
readonly $implicit: AsyncStatus;
|
|
346
|
+
readonly message: string;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* Structural slot for a {@link CngxDataGridRow}'s busy state. The row renders it
|
|
351
|
+
* inside the detail region while the row's `[state]` is `loading` (a first-load
|
|
352
|
+
* skeleton that replaces the body) or `refreshing` (a subtle overlay with the body
|
|
353
|
+
* kept mounted). Absent, the row falls back to its CSS skeleton default.
|
|
354
|
+
*
|
|
355
|
+
* The region already carries `aria-busy` as a `computed()`, so the busy visual is
|
|
356
|
+
* decorative (`aria-hidden`); assistive tech learns the busy state from `aria-busy`,
|
|
357
|
+
* not from this template. The template receives a {@link CngxDgaRowStateContext}
|
|
358
|
+
* whose `$implicit` is the current status (`loading` / `refreshing`), so one
|
|
359
|
+
* override can distinguish the two.
|
|
360
|
+
*
|
|
361
|
+
* ```html
|
|
362
|
+
* <cngx-dga-row [state]="report.status()">
|
|
363
|
+
* <span cngxDgaCell primary>Report</span>
|
|
364
|
+
* <ng-template cngxDgaRowBusy let-status><my-skeleton [dim]="status === 'refreshing'" /></ng-template>
|
|
365
|
+
* {{ report.data() }}
|
|
366
|
+
* </cngx-dga-row>
|
|
367
|
+
* ```
|
|
368
|
+
*
|
|
369
|
+
* @category ui/data-grid-accordion
|
|
370
|
+
* @wcag AA
|
|
371
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-row-busy.directive.ts
|
|
372
|
+
* @since 0.1.0
|
|
373
|
+
* @relatedTo CngxDataGridRow, CngxDgaRowError
|
|
374
|
+
*/
|
|
375
|
+
declare class CngxDgaRowBusy {
|
|
376
|
+
readonly templateRef: TemplateRef<any>;
|
|
377
|
+
static ngTemplateContextGuard(_dir: CngxDgaRowBusy, ctx: unknown): ctx is CngxDgaRowStateContext;
|
|
378
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CngxDgaRowBusy, never>;
|
|
379
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CngxDgaRowBusy, "ng-template[cngxDgaRowBusy]", ["cngxDgaRowBusy"], {}, {}, never, never, true, never>;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* Structural slot for a {@link CngxDataGridRow}'s error state. The row renders it
|
|
384
|
+
* inside the detail region, in a `role="alert"` container, when the row's `[state]`
|
|
385
|
+
* is `error` - so the error body is announced to assistive tech the moment it
|
|
386
|
+
* appears, even if the row was never expanded. Absent, the row renders a minimal
|
|
387
|
+
* CSS error affordance with the resolved `errorMessage`.
|
|
388
|
+
*
|
|
389
|
+
* The template receives a {@link CngxDgaRowStateContext} whose `message` is the
|
|
390
|
+
* resolved error string, so the override can render the announced text (and a
|
|
391
|
+
* retry) without re-deriving it.
|
|
392
|
+
*
|
|
393
|
+
* ```html
|
|
394
|
+
* <cngx-dga-row [state]="report.status()">
|
|
395
|
+
* <span cngxDgaCell primary>Report</span>
|
|
396
|
+
* <ng-template cngxDgaRowError let-message="message">
|
|
397
|
+
* {{ message }} <button type="button" (click)="retry()">Retry</button>
|
|
398
|
+
* </ng-template>
|
|
399
|
+
* </cngx-dga-row>
|
|
400
|
+
* ```
|
|
401
|
+
*
|
|
402
|
+
* @category ui/data-grid-accordion
|
|
403
|
+
* @wcag AA
|
|
404
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-row-error.directive.ts
|
|
405
|
+
* @since 0.1.0
|
|
406
|
+
* @relatedTo CngxDataGridRow, CngxDgaRowBusy
|
|
407
|
+
*/
|
|
408
|
+
declare class CngxDgaRowError {
|
|
409
|
+
readonly templateRef: TemplateRef<any>;
|
|
410
|
+
static ngTemplateContextGuard(_dir: CngxDgaRowError, ctx: unknown): ctx is CngxDgaRowStateContext;
|
|
411
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CngxDgaRowError, never>;
|
|
412
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CngxDgaRowError, "ng-template[cngxDgaRowError]", ["cngxDgaRowError"], {}, {}, never, never, true, never>;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* A disclosure row in a {@link CngxDataGridAccordion}. Renders the APG-correct
|
|
417
|
+
* trio: a `role="heading"` wrapper carrying the group's `aria-level`, a
|
|
418
|
+
* `cngxAccordionPanel` summary `<button>` laid out on the shared
|
|
419
|
+
* `--cngx-dga-columns` grid, and a `role="region"` detail zone named back at the
|
|
420
|
+
* primary cell via `aria-labelledby`. Expansion is derived from the coordinator
|
|
421
|
+
* (Pillar 1); the button self-wires keyboard nav through the registration brain,
|
|
422
|
+
* so arrow keys rove across rows even though each summary lives in its own
|
|
423
|
+
* component view.
|
|
424
|
+
*
|
|
425
|
+
* The projected `cngxDgaCell`s fill the summary grid; the one marked `primary`
|
|
426
|
+
* supplies the row's accessible name, so a screen reader hears a list of
|
|
427
|
+
* expandable sections rather than a wall of cell text.
|
|
428
|
+
*
|
|
429
|
+
* @category ui/data-grid-accordion
|
|
430
|
+
* @docsKind primary
|
|
431
|
+
* @wcag AA
|
|
432
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-row.component.ts
|
|
433
|
+
* @since 0.1.0
|
|
434
|
+
* @relatedTo CngxDataGridAccordion, CngxDgCell, CngxAccordionPanel
|
|
435
|
+
*
|
|
436
|
+
* <example-url>http://localhost:4200/#/ui/data-grid-accordion/master-detail</example-url>
|
|
437
|
+
* <example-url>http://localhost:4200/#/ui/data-grid-accordion/report</example-url>
|
|
438
|
+
* <example-url>http://localhost:4200/#/ui/data-grid-accordion/lazy-row</example-url>
|
|
439
|
+
*/
|
|
440
|
+
declare class CngxDataGridRow {
|
|
441
|
+
/**
|
|
442
|
+
* Stable id this row registers under in the coordinator's open-set. Defaults to
|
|
443
|
+
* a generated id; bind `[panelId]` to a stable row value to address the row
|
|
444
|
+
* through the group's `[(openIds)]` model - so a sorted row stays open while it
|
|
445
|
+
* moves. Mirrors `CngxAccordionItem.panelId`.
|
|
446
|
+
*/
|
|
447
|
+
readonly panelId: _angular_core.InputSignal<string>;
|
|
448
|
+
/**
|
|
449
|
+
* Semantic severity reflected onto the `[data-severity]` host attribute for
|
|
450
|
+
* skins that render it (the `log-stream` skin fills a coloured left edge from
|
|
451
|
+
* the matching `--cngx-color-danger` / `-warning` / `-info` token). Purely
|
|
452
|
+
* visual, no ARIA impact.
|
|
453
|
+
*/
|
|
454
|
+
readonly severity: _angular_core.InputSignal<CngxDataGridSeverity | undefined>;
|
|
455
|
+
/**
|
|
456
|
+
* The row's async lifecycle, communicated to assistive tech. Accepts a raw
|
|
457
|
+
* {@link AsyncStatus} or a {@link CngxAsyncState} the consumer already owns - the
|
|
458
|
+
* row reads only the status discriminator, never the payload, so it stays
|
|
459
|
+
* non-generic. A pure data input (the row injects no `CNGX_STATEFUL`), so no
|
|
460
|
+
* empty-string transform: a bare string status must survive untouched. Mirrors
|
|
461
|
+
* `CngxAccordionItem.state`; the consumer wires the fetch, the row only
|
|
462
|
+
* communicates the state it is handed.
|
|
463
|
+
*/
|
|
464
|
+
readonly state: _angular_core.InputSignal<AsyncStatus | CngxAsyncState<unknown> | undefined>;
|
|
465
|
+
/** Error message announced in the error state. English default; override per locale. */
|
|
466
|
+
readonly errorMessage: _angular_core.InputSignal<string>;
|
|
467
|
+
private readonly accordion;
|
|
468
|
+
protected readonly grid: _cngx_ui_data_grid_accordion.CngxDataGridAccordionContext;
|
|
469
|
+
protected readonly regionId: string;
|
|
470
|
+
protected readonly headerId: string;
|
|
471
|
+
/**
|
|
472
|
+
* Projected cells; the `primary` one supplies the row's accessible name. Public
|
|
473
|
+
* so {@link CngxDataGridAccordion} can read the primary-column index (for the
|
|
474
|
+
* grow default) and use the first row as the column source when no header exists.
|
|
475
|
+
*/
|
|
476
|
+
readonly cells: _angular_core.Signal<readonly CngxDgCell[]>;
|
|
477
|
+
/**
|
|
478
|
+
* IDREF of the primary cell, bound to the summary button's and the region's
|
|
479
|
+
* `aria-labelledby`. `null` when no cell is marked `primary` - then the button
|
|
480
|
+
* names itself from its projected content. A primitive, so `Object.is` dedupes.
|
|
481
|
+
*/
|
|
482
|
+
protected readonly primaryId: _angular_core.Signal<string | null>;
|
|
483
|
+
/** Whether this row's region is open, derived from the coordinator's open-set. */
|
|
484
|
+
protected readonly expanded: _angular_core.Signal<boolean>;
|
|
485
|
+
/** Per-instance busy slot; absent means the CSS skeleton default renders. */
|
|
486
|
+
protected readonly busySlot: _angular_core.Signal<CngxDgaRowBusy | undefined>;
|
|
487
|
+
/** Per-instance error slot; absent means the CSS error affordance default renders. */
|
|
488
|
+
protected readonly errorSlot: _angular_core.Signal<CngxDgaRowError | undefined>;
|
|
489
|
+
/** Resolved busy template: per-instance slot -> null (CSS skeleton default). */
|
|
490
|
+
protected readonly busyTemplate: _angular_core.Signal<_angular_core.TemplateRef<any> | null>;
|
|
491
|
+
/** Resolved error template: per-instance slot -> null (CSS error default). */
|
|
492
|
+
protected readonly errorTemplate: _angular_core.Signal<_angular_core.TemplateRef<any> | null>;
|
|
493
|
+
/**
|
|
494
|
+
* Row async status, normalised to an {@link AsyncStatus} from either the raw enum
|
|
495
|
+
* or a {@link CngxAsyncState} object form (reads its `status()` signal). A
|
|
496
|
+
* primitive, so `Object.is` dedupes - no `equal`. Mirrors `CngxAccordionItem`.
|
|
497
|
+
*/
|
|
498
|
+
protected readonly status: _angular_core.Signal<AsyncStatus | undefined>;
|
|
499
|
+
/**
|
|
500
|
+
* `aria-busy` driver. Mirrors `CngxAsyncState.isBusy` (loading|refreshing|pending)
|
|
501
|
+
* so the string and object input forms agree. Boolean, no `equal`.
|
|
502
|
+
*/
|
|
503
|
+
protected readonly busy: _angular_core.Signal<boolean>;
|
|
504
|
+
/**
|
|
505
|
+
* Region visibility. Hidden while collapsed, EXCEPT in the error state: an errored
|
|
506
|
+
* row un-hides its region so the `role="alert"` mounts into the live a11y tree and
|
|
507
|
+
* is announced even when the row was never opened (Pillar 2 - an error is never
|
|
508
|
+
* silenced by a collapsed row).
|
|
509
|
+
*/
|
|
510
|
+
protected readonly regionHidden: _angular_core.Signal<boolean>;
|
|
511
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CngxDataGridRow, never>;
|
|
512
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CngxDataGridRow, "cngx-dga-row", ["cngxDgaRow"], { "panelId": { "alias": "panelId"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; }, {}, ["cells", "busySlot", "errorSlot"], ["[cngxDgaCell]", "*"], true, never>;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
* The column-header row of a {@link CngxDataGridAccordion}. Lays its projected
|
|
517
|
+
* `cngxDgaCell`s out on the shared `--cngx-dga-columns` grid so the labels align with
|
|
518
|
+
* the data columns below. It is exposed to assistive tech (no `aria-hidden`) so a
|
|
519
|
+
* `cngxDgaSortHeader` cell is reachable: a focusable sort control inside an
|
|
520
|
+
* `aria-hidden` subtree would be pruned from the accessibility tree and fail
|
|
521
|
+
* `aria-hidden-focus`, and `aria-hidden` cannot be undone by a descendant. The plain
|
|
522
|
+
* label cells now read like a table header row - a small, acceptable trade for keeping
|
|
523
|
+
* the sort controls operable. Each data row still announces its own name through its
|
|
524
|
+
* primary cell, so the disclosure list stays legible.
|
|
525
|
+
*
|
|
526
|
+
* It is also the single **column source**: the group reads these header cells and
|
|
527
|
+
* derives the shared `grid-template-columns` from each cell's `col` track intent
|
|
528
|
+
* (`grow` / `fit` / `sm` / `md` / `lg`), so the columns are defined where they are
|
|
529
|
+
* labelled rather than in a separate template string.
|
|
530
|
+
*
|
|
531
|
+
* @category ui/data-grid-accordion
|
|
532
|
+
* @wcag AA
|
|
533
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-header.component.ts
|
|
534
|
+
* @since 0.1.0
|
|
535
|
+
* @relatedTo CngxDataGridAccordion, CngxDgCell
|
|
536
|
+
*/
|
|
537
|
+
declare class CngxDataGridHeader {
|
|
538
|
+
/**
|
|
539
|
+
* The projected header cells, in column order. Read by
|
|
540
|
+
* {@link CngxDataGridAccordion} to derive the shared grid template from each
|
|
541
|
+
* cell's `col` track intent.
|
|
542
|
+
*/
|
|
543
|
+
readonly cells: _angular_core.Signal<readonly CngxDgCell[]>;
|
|
544
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CngxDataGridHeader, never>;
|
|
545
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CngxDataGridHeader, "cngx-dga-header", ["cngxDgaHeader"], {}, {}, ["cells"], ["*"], true, never>;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* Makes a {@link CngxDataGridHeader} cell sort the grid it lives in with a single
|
|
550
|
+
* attribute - `cngxDgaSortHeader="field"` - and no `[cngxSortRef]` plumbing. It reads
|
|
551
|
+
* the group's hosted {@link CngxSort} off {@link CNGX_DATA_GRID_ACCORDION} (the seam),
|
|
552
|
+
* so the header cell needs no reference to the sort instance; the group provides it.
|
|
553
|
+
*
|
|
554
|
+
* The cell becomes an operable control: `role="button"`, `tabindex="0"`, and
|
|
555
|
+
* click / Enter / Space all toggle the column's sort through `CngxSort.setSort`. When
|
|
556
|
+
* the owning group has `[multiSort]`, Shift-activating adds this column to the sort
|
|
557
|
+
* stack instead of replacing it (mirrors {@link CngxSortHeader}). The field/direction
|
|
558
|
+
* logic is not re-implemented: both headers compose the shared `createSortHeaderState`
|
|
559
|
+
* factory from `@cngx/common/data`, so the derivation lives in one place. `CngxSortHeader`
|
|
560
|
+
* cannot be reused as a sibling here (its `cngxSortRef` is `input.required` and only
|
|
561
|
+
* template-bindable), so this header composes the same factory and feeds it the sort it
|
|
562
|
+
* reads off the context token.
|
|
563
|
+
*
|
|
564
|
+
* The component is a disclosure accordion, not a table, so it carries no
|
|
565
|
+
* `role="grid"` / `role="table"` and thus no valid context for `aria-sort` /
|
|
566
|
+
* `role="columnheader"`. The sort state is instead communicated to assistive tech
|
|
567
|
+
* through a visually-hidden description (always in the DOM, content reactive - Pillar 2)
|
|
568
|
+
* referenced by `aria-describedby`: the accessible name stays the stable column label,
|
|
569
|
+
* the description carries the live sort state. A tinted direction arrow is a CSS
|
|
570
|
+
* `::after` cue (pseudo content, so it never doubles the announcement or shifts a
|
|
571
|
+
* `ch`-based track). On activation the new sort state is also spoken once through the
|
|
572
|
+
* shared {@link CngxLiveAnnouncer} polite region - a change announcement worded
|
|
573
|
+
* distinctly from the on-focus description, for SR/browser pairs that do not re-read a
|
|
574
|
+
* mutated `aria-describedby` on an already-focused control.
|
|
575
|
+
*
|
|
576
|
+
* ```html
|
|
577
|
+
* <cngx-data-grid-accordion [multiSort]="true">
|
|
578
|
+
* <cngx-dga-header>
|
|
579
|
+
* <span cngxDgaCell col="sm" cngxDgaSortHeader="id">ID</span>
|
|
580
|
+
* <span cngxDgaCell col="grow" cngxDgaSortHeader="name">Name</span>
|
|
581
|
+
* <span cngxDgaCell col="md" align="end" cngxDgaSortHeader="amount">Amount</span>
|
|
582
|
+
* </cngx-dga-header>
|
|
583
|
+
* <!-- rows rendered by the consumer's @for over its own sorted array -->
|
|
584
|
+
* </cngx-data-grid-accordion>
|
|
585
|
+
* ```
|
|
586
|
+
*
|
|
587
|
+
* @category ui/data-grid-accordion
|
|
588
|
+
* @wcag AA
|
|
589
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-sort-header.directive.ts
|
|
590
|
+
* @since 0.1.0
|
|
591
|
+
* @relatedTo CngxDataGridAccordion, CngxSort, CngxSortHeader, CngxDgCell
|
|
592
|
+
*
|
|
593
|
+
* <example-url>http://localhost:4200/#/ui/data-grid-accordion/sortable-ledger</example-url>
|
|
594
|
+
* <example-url>http://localhost:4200/#/ui/data-grid-accordion/bound-sort-filter</example-url>
|
|
595
|
+
*/
|
|
596
|
+
declare class CngxDgaSortHeader {
|
|
597
|
+
/** The field key this header cell sorts by. */
|
|
598
|
+
readonly field: _angular_core.InputSignal<string>;
|
|
599
|
+
/** SR status while unsorted. English default; override for other locales. */
|
|
600
|
+
readonly notSortedLabel: _angular_core.InputSignal<string>;
|
|
601
|
+
/** SR status while sorted ascending. English default; override for other locales. */
|
|
602
|
+
readonly ascendingLabel: _angular_core.InputSignal<string>;
|
|
603
|
+
/** SR status while sorted descending. English default; override for other locales. */
|
|
604
|
+
readonly descendingLabel: _angular_core.InputSignal<string>;
|
|
605
|
+
/**
|
|
606
|
+
* Human column name spoken in the live sort announcement (`{label}` placeholder
|
|
607
|
+
* of the announcement templates). Defaults to the field key.
|
|
608
|
+
*/
|
|
609
|
+
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
610
|
+
/** Live announcement fired when this column becomes sorted ascending. `{label}` is replaced. */
|
|
611
|
+
readonly ascendingAnnouncement: _angular_core.InputSignal<string>;
|
|
612
|
+
/** Live announcement fired when this column becomes sorted descending. `{label}` is replaced. */
|
|
613
|
+
readonly descendingAnnouncement: _angular_core.InputSignal<string>;
|
|
614
|
+
/** Live announcement fired when this column's sort is cleared. `{label}` is replaced. */
|
|
615
|
+
readonly clearedAnnouncement: _angular_core.InputSignal<string>;
|
|
616
|
+
private readonly grid;
|
|
617
|
+
private readonly announcer;
|
|
618
|
+
private readonly host;
|
|
619
|
+
private readonly renderer;
|
|
620
|
+
/** Stable id of the visually-hidden status element the host `aria-describedby` names. */
|
|
621
|
+
protected readonly statusId: string;
|
|
622
|
+
private readonly state;
|
|
623
|
+
/** `true` when this column is part of the active sort (primary or secondary). */
|
|
624
|
+
readonly isActive: _angular_core.Signal<boolean>;
|
|
625
|
+
/** `true` when this column is active and sorted ascending. */
|
|
626
|
+
readonly isAsc: _angular_core.Signal<boolean>;
|
|
627
|
+
/** `true` when this column is active and sorted descending. */
|
|
628
|
+
readonly isDesc: _angular_core.Signal<boolean>;
|
|
629
|
+
/**
|
|
630
|
+
* 1-based position of this column in the sort stack, or `0` when it is not active.
|
|
631
|
+
* Only meaningful when the owning group has `[multiSort]` (for sort-order badges).
|
|
632
|
+
*/
|
|
633
|
+
readonly priority: _angular_core.Signal<number>;
|
|
634
|
+
private readonly statusText;
|
|
635
|
+
private readonly statusElement;
|
|
636
|
+
constructor();
|
|
637
|
+
private createStatusElement;
|
|
638
|
+
protected handleSort(event?: Event): void;
|
|
639
|
+
private announcementText;
|
|
640
|
+
protected handleActivateKey(event: Event): void;
|
|
641
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CngxDgaSortHeader, never>;
|
|
642
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CngxDgaSortHeader, "[cngxDgaSortHeader]", ["cngxDgaSortHeader"], { "field": { "alias": "cngxDgaSortHeader"; "required": true; "isSignal": true; }; "notSortedLabel": { "alias": "cngxDgaSortStatusNotSorted"; "required": false; "isSignal": true; }; "ascendingLabel": { "alias": "cngxDgaSortStatusAscending"; "required": false; "isSignal": true; }; "descendingLabel": { "alias": "cngxDgaSortStatusDescending"; "required": false; "isSignal": true; }; "label": { "alias": "cngxDgaSortLabel"; "required": false; "isSignal": true; }; "ascendingAnnouncement": { "alias": "cngxDgaSortAnnounceAscending"; "required": false; "isSignal": true; }; "descendingAnnouncement": { "alias": "cngxDgaSortAnnounceDescending"; "required": false; "isSignal": true; }; "clearedAnnouncement": { "alias": "cngxDgaSortAnnounceCleared"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* Turns a projected `<input>` into the filter box for the {@link CngxDataGridAccordion}
|
|
647
|
+
* it lives in: it two-way-binds the group's `filterTerm` with no wiring. On each
|
|
648
|
+
* keystroke it writes the value into `grid.filterTerm` after a debounce (owned here -
|
|
649
|
+
* {@link CngxFilter} has none), so the consumer's `computed()` re-derives the visible
|
|
650
|
+
* rows only once typing settles. An external term change (a programmatic clear) reflects
|
|
651
|
+
* back into the box, but never while it is focused - that would fight the caret.
|
|
652
|
+
*
|
|
653
|
+
* The debounce lives in this slot, not in the group, because it is an input-UX concern;
|
|
654
|
+
* a consumer driving the term programmatically writes `grid.filterTerm` directly with no
|
|
655
|
+
* debounce. The default `aria-label` is English (a consumer overrides via
|
|
656
|
+
* `cngxDgaFilterLabel`).
|
|
657
|
+
*
|
|
658
|
+
* ```html
|
|
659
|
+
* <cngx-data-grid-accordion>
|
|
660
|
+
* <cngx-dga-header>
|
|
661
|
+
* <input cngxDgaFilter cngxDgaFilterLabel="Filter invoices" />
|
|
662
|
+
* </cngx-dga-header>
|
|
663
|
+
* <!-- rows rendered by the consumer's @for over its filtered array -->
|
|
664
|
+
* </cngx-data-grid-accordion>
|
|
665
|
+
* ```
|
|
666
|
+
*
|
|
667
|
+
* @category ui/data-grid-accordion
|
|
668
|
+
* @wcag AA
|
|
669
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-filter.directive.ts
|
|
670
|
+
* @since 0.1.0
|
|
671
|
+
* @relatedTo CngxDataGridAccordion, CngxFilter, CngxDgaCount
|
|
672
|
+
*
|
|
673
|
+
* <example-url>http://localhost:4200/#/ui/data-grid-accordion/bound-sort-filter</example-url>
|
|
674
|
+
* <example-url>http://localhost:4200/#/ui/data-grid-accordion/sortable-ledger</example-url>
|
|
675
|
+
*/
|
|
676
|
+
declare class CngxDgaFilter {
|
|
677
|
+
/** Accessible name for the filter box. English default; override for other locales. */
|
|
678
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
679
|
+
/** Debounce in ms between the last keystroke and writing `grid.filterTerm`. */
|
|
680
|
+
readonly debounce: _angular_core.InputSignal<number>;
|
|
681
|
+
private readonly grid;
|
|
682
|
+
private readonly element;
|
|
683
|
+
private timer;
|
|
684
|
+
constructor();
|
|
685
|
+
protected handleInput(event: Event): void;
|
|
686
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CngxDgaFilter, never>;
|
|
687
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CngxDgaFilter, "input[cngxDgaFilter]", ["cngxDgaFilter"], { "ariaLabel": { "alias": "cngxDgaFilterLabel"; "required": false; "isSignal": true; }; "debounce": { "alias": "cngxDgaFilterDebounce"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* A ready-made filter row for a {@link CngxDataGridAccordion}: a full-width
|
|
692
|
+
* `grid-column: 1 / -1` band with a visible `<label>` and a search input, so a
|
|
693
|
+
* consumer drops `<cngx-dga-filter label="Filter invoices" />` instead of
|
|
694
|
+
* hand-styling a `<div>` around a bare `<input cngxDgaFilter>`.
|
|
695
|
+
*
|
|
696
|
+
* It is a thin structural shell over the {@link CngxDgaFilter} brain, not a new
|
|
697
|
+
* behaviour: the directive still owns the debounce, the two-way `filterTerm`
|
|
698
|
+
* write, and the focused-caret guard. The shell adds only the chrome (span +
|
|
699
|
+
* padding via `--cngx-dga-*` tokens) and a real `<label>` whose `for` binds the
|
|
700
|
+
* input id, so the searchbox has a **visible** accessible name (WCAG 3.3.2)
|
|
701
|
+
* rather than an invisible `aria-label` alone. The label text is mirrored onto
|
|
702
|
+
* the directive's `cngxDgaFilterLabel` so the accessible name is the label, not
|
|
703
|
+
* the directive's `'Filter rows'` default.
|
|
704
|
+
*
|
|
705
|
+
* ```html
|
|
706
|
+
* <cngx-data-grid-accordion>
|
|
707
|
+
* <cngx-dga-filter label="Filter invoices" placeholder="Customer or invoice number" />
|
|
708
|
+
* <cngx-dga-header>…</cngx-dga-header>
|
|
709
|
+
* <!-- rows -->
|
|
710
|
+
* </cngx-data-grid-accordion>
|
|
711
|
+
* ```
|
|
712
|
+
*
|
|
713
|
+
* @category ui/data-grid-accordion
|
|
714
|
+
* @wcag AA
|
|
715
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-filter-field.component.ts
|
|
716
|
+
* @since 0.1.0
|
|
717
|
+
* @relatedTo CngxDataGridAccordion, CngxDgaFilter, CngxDgaCount
|
|
718
|
+
*
|
|
719
|
+
* <example-url>http://localhost:4200/#/ui/data-grid-accordion/sortable-ledger</example-url>
|
|
720
|
+
*/
|
|
721
|
+
declare class CngxDgaFilterField {
|
|
722
|
+
/** Visible label text; also drives the input's accessible name. English default. */
|
|
723
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
724
|
+
/** Optional placeholder shown inside the input. */
|
|
725
|
+
readonly placeholder: _angular_core.InputSignal<string | undefined>;
|
|
726
|
+
/** Debounce in ms forwarded to the hosted `cngxDgaFilter`. */
|
|
727
|
+
readonly debounce: _angular_core.InputSignal<number>;
|
|
728
|
+
/** Stable id linking the visible `<label for>` to the input. */
|
|
729
|
+
protected readonly inputId: string;
|
|
730
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CngxDgaFilterField, never>;
|
|
731
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CngxDgaFilterField, "cngx-dga-filter", ["cngxDgaFilterField"], { "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "debounce": { "alias": "debounce"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* A polite `aria-live` region for the visible-row count of a
|
|
736
|
+
* {@link CngxDataGridAccordion}. The consumer feeds the count it already derived
|
|
737
|
+
* (`[cngxDgaCount]="visibleRows().length"`); the directive makes its host a
|
|
738
|
+
* `role="status"` / `aria-live="polite"` / `aria-atomic="true"` region and writes the
|
|
739
|
+
* count text into it, so a filter that changes the count is announced to assistive tech
|
|
740
|
+
* without the consumer wiring a live region by hand (Pillar 2 - the count change is
|
|
741
|
+
* communicated, always in the DOM, content reactive).
|
|
742
|
+
*
|
|
743
|
+
* The host owns its text, so give it an empty element:
|
|
744
|
+
*
|
|
745
|
+
* ```html
|
|
746
|
+
* <cngx-dga-footer>
|
|
747
|
+
* <span [cngxDgaCount]="visibleRows().length"></span>
|
|
748
|
+
* </cngx-dga-footer>
|
|
749
|
+
* ```
|
|
750
|
+
*
|
|
751
|
+
* The noun is English by default (`result` / `results`); a consumer localises via
|
|
752
|
+
* `cngxDgaCountSingular` / `cngxDgaCountPlural`.
|
|
753
|
+
*
|
|
754
|
+
* @category ui/data-grid-accordion
|
|
755
|
+
* @wcag AA
|
|
756
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-count.directive.ts
|
|
757
|
+
* @since 0.1.0
|
|
758
|
+
* @relatedTo CngxDataGridAccordion, CngxDgaFilter
|
|
759
|
+
*
|
|
760
|
+
* <example-url>http://localhost:4200/#/ui/data-grid-accordion/sortable-ledger</example-url>
|
|
761
|
+
*/
|
|
762
|
+
declare class CngxDgaCount {
|
|
763
|
+
/** The visible-row count the consumer derived. */
|
|
764
|
+
readonly count: _angular_core.InputSignal<number>;
|
|
765
|
+
/** Singular noun for a count of 1. English default. */
|
|
766
|
+
readonly singular: _angular_core.InputSignal<string>;
|
|
767
|
+
/** Plural noun for any other count. English default. */
|
|
768
|
+
readonly plural: _angular_core.InputSignal<string>;
|
|
769
|
+
private readonly element;
|
|
770
|
+
private readonly renderer;
|
|
771
|
+
constructor();
|
|
772
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CngxDgaCount, never>;
|
|
773
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CngxDgaCount, "[cngxDgaCount]", ["cngxDgaCount"], { "count": { "alias": "cngxDgaCount"; "required": true; "isSignal": true; }; "singular": { "alias": "cngxDgaCountSingular"; "required": false; "isSignal": true; }; "plural": { "alias": "cngxDgaCountPlural"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
/**
|
|
777
|
+
* The footer row of a {@link CngxDataGridAccordion}. Lays its projected
|
|
778
|
+
* `cngxDgaCell`s out on the shared `--cngx-dga-columns` grid, so a sum or count
|
|
779
|
+
* cell lines up with the column it totals. It is the designated host for a
|
|
780
|
+
* consumer-supplied `aria-live` region (row count, running totals, load status). The
|
|
781
|
+
* component ships no live producer - the region element and its content are the
|
|
782
|
+
* consumer's, so any state it announces stays owned outside this structural shell.
|
|
783
|
+
*
|
|
784
|
+
* @category ui/data-grid-accordion
|
|
785
|
+
* @wcag AA
|
|
786
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-footer.component.ts
|
|
787
|
+
* @since 0.1.0
|
|
788
|
+
* @relatedTo CngxDataGridAccordion, CngxDgCell
|
|
789
|
+
*/
|
|
790
|
+
declare class CngxDataGridFooter {
|
|
791
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CngxDataGridFooter, never>;
|
|
792
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CngxDataGridFooter, "cngx-dga-footer", ["cngxDgaFooter"], {}, {}, never, ["*"], true, never>;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* App-wide configuration cascade for the data-grid-accordion organism. Resolves
|
|
797
|
+
* in priority order:
|
|
798
|
+
*
|
|
799
|
+
* 1. Per-instance `[skin]` Input binding.
|
|
800
|
+
* 2. `provideDataGridAccordionConfigAt(...)` in a parent component's
|
|
801
|
+
* `viewProviders`.
|
|
802
|
+
* 3. `provideDataGridAccordionConfig(...)` at the application root.
|
|
803
|
+
* 4. Library default (this token's `factory`).
|
|
804
|
+
*
|
|
805
|
+
* `providedIn: 'root'` with a default factory means consumers never need to
|
|
806
|
+
* provide the token explicitly - `inject(CNGX_DATA_GRID_ACCORDION_CONFIG)` always
|
|
807
|
+
* resolves.
|
|
808
|
+
*
|
|
809
|
+
* @category ui/data-grid-accordion
|
|
810
|
+
* @since 0.1.0
|
|
811
|
+
*/
|
|
812
|
+
declare const CNGX_DATA_GRID_ACCORDION_CONFIG: InjectionToken<CngxDataGridAccordionConfig>;
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* Discriminated-union shape returned by `withDataGridSkin`. The reducer in
|
|
816
|
+
* `provideDataGridAccordionConfig` / `provideDataGridAccordionConfigAt` matches
|
|
817
|
+
* on `kind` and writes `payload` onto the corresponding config key. Mirrors
|
|
818
|
+
* `CngxAccordionConfigFeature` from `@cngx/ui/accordion` so the consumer's mental
|
|
819
|
+
* model is one across feature areas.
|
|
820
|
+
*
|
|
821
|
+
* @category ui/data-grid-accordion
|
|
822
|
+
* @since 0.1.0
|
|
823
|
+
*/
|
|
824
|
+
interface CngxDataGridAccordionConfigFeature {
|
|
825
|
+
readonly kind: 'skin';
|
|
826
|
+
readonly payload: {
|
|
827
|
+
readonly skin: CngxDataGridSkin;
|
|
828
|
+
};
|
|
829
|
+
}
|
|
830
|
+
/**
|
|
831
|
+
* Application-root configuration cascade for the data-grid-accordion. Pass a
|
|
832
|
+
* `withDataGridSkin` feature in `bootstrapApplication`'s providers array to move
|
|
833
|
+
* the app-wide default skin.
|
|
834
|
+
*
|
|
835
|
+
* Resolution priority (high -> low):
|
|
836
|
+
* 1. Per-instance `[skin]` Input binding.
|
|
837
|
+
* 2. `provideDataGridAccordionConfigAt(...)` in a parent component's
|
|
838
|
+
* `viewProviders`.
|
|
839
|
+
* 3. `provideDataGridAccordionConfig(...)` at the application root.
|
|
840
|
+
* 4. Library defaults (`CNGX_DATA_GRID_ACCORDION_DEFAULTS`).
|
|
841
|
+
*
|
|
842
|
+
* ```ts
|
|
843
|
+
* bootstrapApplication(AppComponent, {
|
|
844
|
+
* providers: [provideDataGridAccordionConfig(withDataGridSkin('ledger'))],
|
|
845
|
+
* });
|
|
846
|
+
* ```
|
|
847
|
+
*
|
|
848
|
+
* @category ui/data-grid-accordion
|
|
849
|
+
* @since 0.1.0
|
|
850
|
+
*/
|
|
851
|
+
declare function provideDataGridAccordionConfig(...features: CngxDataGridAccordionConfigFeature[]): EnvironmentProviders;
|
|
852
|
+
/**
|
|
853
|
+
* Component-scoped configuration cascade for the data-grid-accordion. Pass a
|
|
854
|
+
* `withDataGridSkin` feature in a parent component's `viewProviders` array.
|
|
855
|
+
*
|
|
856
|
+
* Unlike `provideDataGridAccordionConfig` (root-only),
|
|
857
|
+
* `provideDataGridAccordionConfigAt` injects the parent injector's
|
|
858
|
+
* `CNGX_DATA_GRID_ACCORDION_CONFIG` value (resolves through the priority chain)
|
|
859
|
+
* and merges the supplied features on top. Descendant grid instances see the
|
|
860
|
+
* merged config; sibling sub-trees keep the inherited value untouched.
|
|
861
|
+
*
|
|
862
|
+
* ```ts
|
|
863
|
+
* @Component({
|
|
864
|
+
* viewProviders: [provideDataGridAccordionConfigAt(withDataGridSkin('report'))],
|
|
865
|
+
* template: '<cngx-data-grid-accordion>...</cngx-data-grid-accordion>',
|
|
866
|
+
* })
|
|
867
|
+
* class Ledger {}
|
|
868
|
+
* ```
|
|
869
|
+
*
|
|
870
|
+
* @category ui/data-grid-accordion
|
|
871
|
+
* @since 0.1.0
|
|
872
|
+
*/
|
|
873
|
+
declare function provideDataGridAccordionConfigAt(...features: CngxDataGridAccordionConfigFeature[]): Provider[];
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
* Set the app-wide default visual skin for `<cngx-data-grid-accordion>`. Unset by
|
|
877
|
+
* default (the base flat grid look). Per-instance `[skin]` Input still wins; this
|
|
878
|
+
* moves the cascade default. Structure, cells, ARIA, and keyboard behaviour are
|
|
879
|
+
* identical across skins - only the `[data-skin]` host attribute changes the CSS.
|
|
880
|
+
* Typed class-sugar, not a mode flag.
|
|
881
|
+
*
|
|
882
|
+
* ```ts
|
|
883
|
+
* provideDataGridAccordionConfig(withDataGridSkin('ledger'));
|
|
884
|
+
* ```
|
|
885
|
+
*
|
|
886
|
+
* @category ui/data-grid-accordion
|
|
887
|
+
* @since 0.1.0
|
|
888
|
+
*/
|
|
889
|
+
declare function withDataGridSkin(skin: CngxDataGridSkin): CngxDataGridAccordionConfigFeature;
|
|
890
|
+
|
|
891
|
+
/**
|
|
892
|
+
* Convenience accessor for the data-grid-accordion configuration cascade. Runs in
|
|
893
|
+
* injection context; resolves through the priority chain (per-instance Input
|
|
894
|
+
* -> `provideDataGridAccordionConfigAt` -> `provideDataGridAccordionConfig` ->
|
|
895
|
+
* library defaults). Equivalent to `inject(CNGX_DATA_GRID_ACCORDION_CONFIG)` -
|
|
896
|
+
* the helper exists so consumers don't import the token directly. Mirrors
|
|
897
|
+
* `injectAccordionConfig` in `@cngx/ui/accordion`.
|
|
898
|
+
*
|
|
899
|
+
* ```ts
|
|
900
|
+
* export class CngxDataGridAccordion {
|
|
901
|
+
* private readonly config = injectDataGridAccordionConfig();
|
|
902
|
+
* readonly skin = input<CngxDataGridSkin | undefined>(undefined);
|
|
903
|
+
* }
|
|
904
|
+
* ```
|
|
905
|
+
*
|
|
906
|
+
* @category ui/data-grid-accordion
|
|
907
|
+
* @since 0.1.0
|
|
908
|
+
*/
|
|
909
|
+
declare function injectDataGridAccordionConfig(): CngxDataGridAccordionConfig;
|
|
910
|
+
|
|
911
|
+
export { CNGX_DATA_GRID_ACCORDION, CNGX_DATA_GRID_ACCORDION_CONFIG, CngxDataGridAccordion, CngxDataGridFooter, CngxDataGridHeader, CngxDataGridRow, CngxDgCell, CngxDgaCount, CngxDgaFilter, CngxDgaFilterField, CngxDgaRowBusy, CngxDgaRowError, CngxDgaSortHeader, injectDataGridAccordionConfig, provideDataGridAccordionConfig, provideDataGridAccordionConfigAt, withDataGridSkin };
|
|
912
|
+
export type { CngxDataGridAccordionConfig, CngxDataGridAccordionConfigFeature, CngxDataGridAccordionContext, CngxDataGridSeverity, CngxDataGridSkin, CngxDgCellAlign, CngxDgCellTrack, CngxDgaRowStateContext };
|