@cngx/ui 0.1.0-rc.8 → 0.3.0
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 +118 -59
- package/action-button/README.md +170 -53
- package/breadcrumb/README.md +5 -6
- package/collection/README.md +1 -1
- package/command-palette/README.md +9 -5
- package/data-grid-accordion/README.md +1 -1
- package/empty-state/README.md +2 -3
- package/feedback/README.md +1 -1
- package/fesm2022/cngx-ui-a11y.mjs +13 -23
- package/fesm2022/cngx-ui-a11y.mjs.map +1 -1
- package/fesm2022/cngx-ui-accordion.mjs +55 -60
- package/fesm2022/cngx-ui-accordion.mjs.map +1 -1
- package/fesm2022/cngx-ui-action-button.mjs +220 -339
- package/fesm2022/cngx-ui-action-button.mjs.map +1 -1
- package/fesm2022/cngx-ui-breadcrumb.mjs +100 -80
- package/fesm2022/cngx-ui-breadcrumb.mjs.map +1 -1
- package/fesm2022/cngx-ui-chart-panel.mjs +18 -31
- package/fesm2022/cngx-ui-chart-panel.mjs.map +1 -1
- package/fesm2022/cngx-ui-collection.mjs +28 -34
- package/fesm2022/cngx-ui-collection.mjs.map +1 -1
- package/fesm2022/cngx-ui-command-palette.mjs +29 -51
- package/fesm2022/cngx-ui-command-palette.mjs.map +1 -1
- package/fesm2022/cngx-ui-context-menu.mjs +138 -89
- package/fesm2022/cngx-ui-context-menu.mjs.map +1 -1
- package/fesm2022/cngx-ui-data-grid-accordion.mjs +135 -77
- package/fesm2022/cngx-ui-data-grid-accordion.mjs.map +1 -1
- package/fesm2022/cngx-ui-empty-state.mjs +17 -44
- package/fesm2022/cngx-ui-empty-state.mjs.map +1 -1
- package/fesm2022/cngx-ui-feedback.mjs +648 -495
- package/fesm2022/cngx-ui-feedback.mjs.map +1 -1
- package/fesm2022/cngx-ui-layout.mjs +17 -13
- package/fesm2022/cngx-ui-layout.mjs.map +1 -1
- package/fesm2022/cngx-ui-mat-accordion.mjs +6 -7
- package/fesm2022/cngx-ui-mat-accordion.mjs.map +1 -1
- package/fesm2022/cngx-ui-mat-paginator.mjs +5 -9
- package/fesm2022/cngx-ui-mat-paginator.mjs.map +1 -1
- package/fesm2022/cngx-ui-mat-stepper.mjs +6 -9
- package/fesm2022/cngx-ui-mat-stepper.mjs.map +1 -1
- package/fesm2022/cngx-ui-mat-tabs.mjs +315 -134
- package/fesm2022/cngx-ui-mat-tabs.mjs.map +1 -1
- package/fesm2022/cngx-ui-nav-rail.mjs +440 -0
- package/fesm2022/cngx-ui-nav-rail.mjs.map +1 -0
- package/fesm2022/cngx-ui-overlay.mjs +9 -10
- package/fesm2022/cngx-ui-overlay.mjs.map +1 -1
- package/fesm2022/cngx-ui-paginator.mjs +212 -188
- package/fesm2022/cngx-ui-paginator.mjs.map +1 -1
- package/fesm2022/cngx-ui-sidenav.mjs +872 -721
- package/fesm2022/cngx-ui-sidenav.mjs.map +1 -1
- package/fesm2022/cngx-ui-skeleton.mjs +17 -19
- package/fesm2022/cngx-ui-skeleton.mjs.map +1 -1
- package/fesm2022/cngx-ui-speak.mjs +21 -74
- package/fesm2022/cngx-ui-speak.mjs.map +1 -1
- package/fesm2022/cngx-ui-stat-card.mjs +39 -62
- package/fesm2022/cngx-ui-stat-card.mjs.map +1 -1
- package/fesm2022/cngx-ui-stepper.mjs +259 -130
- package/fesm2022/cngx-ui-stepper.mjs.map +1 -1
- package/fesm2022/cngx-ui-tabs.mjs +148 -50
- package/fesm2022/cngx-ui-tabs.mjs.map +1 -1
- package/fesm2022/cngx-ui-timeline.mjs +48 -32
- package/fesm2022/cngx-ui-timeline.mjs.map +1 -1
- package/fesm2022/cngx-ui-toc.mjs +59 -48
- package/fesm2022/cngx-ui-toc.mjs.map +1 -1
- package/fesm2022/cngx-ui.mjs +5 -5
- package/fesm2022/cngx-ui.mjs.map +1 -1
- package/mat-tabs/README.md +57 -19
- package/mat-tabs/styles/mat-tabs.css +285 -163
- package/nav-rail/README.md +325 -0
- package/package.json +37 -8
- package/paginator/README.md +10 -0
- package/schematics/collection.json +9 -0
- package/schematics/ng-add/index.js +9 -0
- package/schematics/ng-add/schema.json +96 -0
- package/schematics/package.json +3 -0
- package/sidenav/README.md +150 -55
- package/skeleton/README.md +1 -1
- package/speak/README.md +1 -2
- package/stepper/README.md +20 -5
- package/tabs/README.md +13 -0
- package/timeline/README.md +1 -1
- package/toc/README.md +1 -1
- package/types/cngx-ui-a11y.d.ts +20 -38
- package/types/cngx-ui-accordion.d.ts +46 -71
- package/types/cngx-ui-action-button.d.ts +113 -151
- package/types/cngx-ui-breadcrumb.d.ts +60 -85
- package/types/cngx-ui-chart-panel.d.ts +22 -40
- package/types/cngx-ui-collection.d.ts +30 -43
- package/types/cngx-ui-command-palette.d.ts +40 -64
- package/types/cngx-ui-context-menu.d.ts +109 -48
- package/types/cngx-ui-data-grid-accordion.d.ts +50 -75
- package/types/cngx-ui-empty-state.d.ts +18 -8
- package/types/cngx-ui-feedback.d.ts +275 -292
- package/types/cngx-ui-layout.d.ts +4 -12
- package/types/cngx-ui-mat-accordion.d.ts +5 -5
- package/types/cngx-ui-mat-paginator.d.ts +4 -10
- package/types/cngx-ui-mat-stepper.d.ts +5 -10
- package/types/cngx-ui-mat-tabs.d.ts +86 -89
- package/types/cngx-ui-nav-rail.d.ts +416 -0
- package/types/cngx-ui-overlay.d.ts +4 -13
- package/types/cngx-ui-paginator.d.ts +186 -161
- package/types/cngx-ui-sidenav.d.ts +557 -437
- package/types/cngx-ui-skeleton.d.ts +7 -13
- package/types/cngx-ui-speak.d.ts +40 -24
- package/types/cngx-ui-stat-card.d.ts +45 -36
- package/types/cngx-ui-stepper.d.ts +205 -84
- package/types/cngx-ui-tabs.d.ts +104 -28
- package/types/cngx-ui-timeline.d.ts +31 -51
- package/types/cngx-ui-toc.d.ts +43 -54
- package/types/cngx-ui.d.ts +1 -1
|
@@ -23,9 +23,8 @@ import { CngxMessage } from '@cngx/core/i18n';
|
|
|
23
23
|
* still carries state only - the consumer's `computed()` derives the visible + ordered
|
|
24
24
|
* rows.
|
|
25
25
|
*
|
|
26
|
-
* @category ui/data-grid-accordion
|
|
27
26
|
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-accordion.token.ts
|
|
28
|
-
* @since 0.
|
|
27
|
+
* @since 0.3.0
|
|
29
28
|
* @relatedTo CngxDataGridAccordion, CngxDataGridRow, CngxSort, CngxFilter
|
|
30
29
|
*/
|
|
31
30
|
interface CngxDataGridAccordionContext {
|
|
@@ -54,9 +53,8 @@ interface CngxDataGridAccordionContext {
|
|
|
54
53
|
* {@link CngxDataGridAccordion} provides it via `useExisting`; each
|
|
55
54
|
* {@link CngxDataGridRow} injects it.
|
|
56
55
|
*
|
|
57
|
-
* @category ui/data-grid-accordion
|
|
58
56
|
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-accordion.token.ts
|
|
59
|
-
* @since 0.
|
|
57
|
+
* @since 0.3.0
|
|
60
58
|
* @relatedTo CngxDataGridAccordion, CngxDataGridRow
|
|
61
59
|
*/
|
|
62
60
|
declare const CNGX_DATA_GRID_ACCORDION: InjectionToken<CngxDataGridAccordionContext>;
|
|
@@ -73,8 +71,7 @@ declare const CNGX_DATA_GRID_ACCORDION: InjectionToken<CngxDataGridAccordionCont
|
|
|
73
71
|
* primary-tinted open row + sub-table detail; `'report'` frameless double rules;
|
|
74
72
|
* `'density'` compact/standard/spacious token hooks.
|
|
75
73
|
*
|
|
76
|
-
* @
|
|
77
|
-
* @since 0.1.0
|
|
74
|
+
* @since 0.3.0
|
|
78
75
|
*/
|
|
79
76
|
type CngxDataGridSkin = 'ledger' | 'spreadsheet' | 'log-stream' | 'master-detail' | 'report' | 'density';
|
|
80
77
|
/**
|
|
@@ -89,8 +86,7 @@ type CngxDataGridSkin = 'ledger' | 'spreadsheet' | 'log-stream' | 'master-detail
|
|
|
89
86
|
* entry. The duplication is a tracked decision, re-evaluated if a shared severity
|
|
90
87
|
* union lands in `@cngx/core`.
|
|
91
88
|
*
|
|
92
|
-
* @
|
|
93
|
-
* @since 0.1.0
|
|
89
|
+
* @since 0.3.0
|
|
94
90
|
*/
|
|
95
91
|
type CngxDataGridSeverity = 'error' | 'warning' | 'info';
|
|
96
92
|
/**
|
|
@@ -108,8 +104,7 @@ type CngxDataGridSeverity = 'error' | 'warning' | 'info';
|
|
|
108
104
|
* has no app-wide default. Skin is the only surface with a plausible app-wide
|
|
109
105
|
* default, mirroring {@link withAccordionSkin}.
|
|
110
106
|
*
|
|
111
|
-
* @
|
|
112
|
-
* @since 0.1.0
|
|
107
|
+
* @since 0.3.0
|
|
113
108
|
*/
|
|
114
109
|
interface CngxDataGridAccordionConfig {
|
|
115
110
|
/**
|
|
@@ -133,8 +128,7 @@ interface CngxDataGridAccordionConfig {
|
|
|
133
128
|
* count, a row's load error) read it untracked and speak the new language with
|
|
134
129
|
* their next change.
|
|
135
130
|
*
|
|
136
|
-
* @
|
|
137
|
-
* @since 0.1.0
|
|
131
|
+
* @since 0.3.0
|
|
138
132
|
*/
|
|
139
133
|
interface CngxDataGridAccordionLabels {
|
|
140
134
|
/** Text of the `CngxDgaCount` live region for a visible-row count. */
|
|
@@ -252,21 +246,23 @@ interface CngxDataGridAccordionLabels {
|
|
|
252
246
|
* </cngx-data-grid-accordion>
|
|
253
247
|
* ```
|
|
254
248
|
*
|
|
255
|
-
* @category ui/data-grid-accordion
|
|
256
|
-
* @docsKind primary
|
|
257
249
|
* @wcag AA
|
|
258
250
|
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-accordion.component.ts
|
|
259
|
-
* @since 0.
|
|
251
|
+
* @since 0.3.0
|
|
260
252
|
* @relatedTo CngxDataGridRow, CngxDgCell, CngxDataGridHeader, CngxDataGridFooter, CngxAccordion, CngxSort, CngxFilter, CngxDgaSortHeader, CngxDgaFilter, CngxDgaCount, CngxScrollEdges
|
|
261
253
|
*
|
|
262
|
-
* <example-url
|
|
263
|
-
* <example-url
|
|
264
|
-
* <example-url
|
|
265
|
-
* <example-url
|
|
266
|
-
* <example-url
|
|
267
|
-
* <example-url
|
|
268
|
-
* <example-url
|
|
269
|
-
* <example-url
|
|
254
|
+
* <example-url>/#/ui/data-grid-accordion/sortable-ledger</example-url>
|
|
255
|
+
* <example-url>/#/ui/data-grid-accordion/sticky-head</example-url>
|
|
256
|
+
* <example-url>/#/ui/data-grid-accordion/scroll-edges-bounded</example-url>
|
|
257
|
+
* <example-url>/#/ui/data-grid-accordion/scroll-edges-narrow</example-url>
|
|
258
|
+
* <example-url>/#/ui/data-grid-accordion/bound-sort-filter</example-url>
|
|
259
|
+
* <example-url>/#/ui/data-grid-accordion/master-detail</example-url>
|
|
260
|
+
* <example-url>/#/ui/data-grid-accordion/spreadsheet</example-url>
|
|
261
|
+
* <example-url>/#/ui/data-grid-accordion/density</example-url>
|
|
262
|
+
* <example-url>/#/ui/data-grid-accordion/ledger</example-url>
|
|
263
|
+
* <example-url>/#/ui/data-grid-accordion/log-stream</example-url>
|
|
264
|
+
* <example-url>/#/ui/data-grid-accordion/report</example-url>
|
|
265
|
+
* @axis level organism
|
|
270
266
|
*/
|
|
271
267
|
declare class CngxDataGridAccordion implements CngxDataGridAccordionContext {
|
|
272
268
|
private readonly config;
|
|
@@ -418,10 +414,9 @@ type CngxDgCellTrack = 'grow' | 'fit' | 'sm' | 'md' | 'lg';
|
|
|
418
414
|
* per row should carry `primary`, so the row's accessible name is that cell's
|
|
419
415
|
* text alone rather than every cell concatenated.
|
|
420
416
|
*
|
|
421
|
-
* @category ui/data-grid-accordion
|
|
422
417
|
* @wcag AA
|
|
423
418
|
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-cell.directive.ts
|
|
424
|
-
* @since 0.
|
|
419
|
+
* @since 0.3.0
|
|
425
420
|
* @relatedTo CngxDataGridRow
|
|
426
421
|
*/
|
|
427
422
|
declare class CngxDgCell {
|
|
@@ -468,8 +463,7 @@ declare class CngxDgCell {
|
|
|
468
463
|
* rather than imported from the accordion entry, so this entry pulls in nothing
|
|
469
464
|
* from a sibling `@cngx/ui` entry (data-grid-accordion accepted-debt §1).
|
|
470
465
|
*
|
|
471
|
-
* @
|
|
472
|
-
* @since 0.1.0
|
|
466
|
+
* @since 0.3.0
|
|
473
467
|
*/
|
|
474
468
|
interface CngxDgaRowStateContext {
|
|
475
469
|
readonly $implicit: AsyncStatus;
|
|
@@ -496,10 +490,9 @@ interface CngxDgaRowStateContext {
|
|
|
496
490
|
* </cngx-dga-row>
|
|
497
491
|
* ```
|
|
498
492
|
*
|
|
499
|
-
* @category ui/data-grid-accordion
|
|
500
493
|
* @wcag AA
|
|
501
494
|
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-row-busy.directive.ts
|
|
502
|
-
* @since 0.
|
|
495
|
+
* @since 0.3.0
|
|
503
496
|
* @relatedTo CngxDataGridRow, CngxDgaRowError
|
|
504
497
|
*/
|
|
505
498
|
declare class CngxDgaRowBusy {
|
|
@@ -529,10 +522,9 @@ declare class CngxDgaRowBusy {
|
|
|
529
522
|
* </cngx-dga-row>
|
|
530
523
|
* ```
|
|
531
524
|
*
|
|
532
|
-
* @category ui/data-grid-accordion
|
|
533
525
|
* @wcag AA
|
|
534
526
|
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-row-error.directive.ts
|
|
535
|
-
* @since 0.
|
|
527
|
+
* @since 0.3.0
|
|
536
528
|
* @relatedTo CngxDataGridRow, CngxDgaRowBusy
|
|
537
529
|
*/
|
|
538
530
|
declare class CngxDgaRowError {
|
|
@@ -562,18 +554,16 @@ declare class CngxDgaRowError {
|
|
|
562
554
|
* a screen reader hears a list of expandable sections rather than a wall of cell
|
|
563
555
|
* text.
|
|
564
556
|
*
|
|
565
|
-
* @category ui/data-grid-accordion
|
|
566
|
-
* @docsKind primary
|
|
567
557
|
* @wcag AA
|
|
568
558
|
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-row.component.ts
|
|
569
|
-
* @since 0.
|
|
559
|
+
* @since 0.3.0
|
|
570
560
|
* @relatedTo CngxDataGridAccordion, CngxDgCell, CngxAccordionPanel
|
|
571
561
|
* @slot cngxDgaRowBusy Rendered over the row while its detail loads.
|
|
572
562
|
* @slot cngxDgaRowError Rendered when the row's detail failed to load.
|
|
573
563
|
*
|
|
574
|
-
* <example-url
|
|
575
|
-
* <example-url
|
|
576
|
-
* <example-url
|
|
564
|
+
* <example-url>/#/ui/data-grid-accordion/master-detail</example-url>
|
|
565
|
+
* <example-url>/#/ui/data-grid-accordion/report</example-url>
|
|
566
|
+
* <example-url>/#/ui/data-grid-accordion/lazy-row</example-url>
|
|
577
567
|
*/
|
|
578
568
|
declare class CngxDataGridRow {
|
|
579
569
|
protected readonly labels: _angular_core.Signal<_cngx_ui_data_grid_accordion.CngxDataGridAccordionLabels>;
|
|
@@ -606,8 +596,8 @@ declare class CngxDataGridRow {
|
|
|
606
596
|
* label applies.
|
|
607
597
|
*/
|
|
608
598
|
readonly errorMessage: _angular_core.InputSignal<string | undefined>;
|
|
609
|
-
private readonly accordion;
|
|
610
599
|
protected readonly grid: _cngx_ui_data_grid_accordion.CngxDataGridAccordionContext;
|
|
600
|
+
private readonly accordion;
|
|
611
601
|
protected readonly regionId: string;
|
|
612
602
|
protected readonly headerId: string;
|
|
613
603
|
protected readonly cellsId: string;
|
|
@@ -688,10 +678,9 @@ declare class CngxDataGridRow {
|
|
|
688
678
|
* (`grow` / `fit` / `sm` / `md` / `lg`), so the columns are defined where they are
|
|
689
679
|
* labelled rather than in a separate template string.
|
|
690
680
|
*
|
|
691
|
-
* @category ui/data-grid-accordion
|
|
692
681
|
* @wcag AA
|
|
693
682
|
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-header.component.ts
|
|
694
|
-
* @since 0.
|
|
683
|
+
* @since 0.3.0
|
|
695
684
|
* @relatedTo CngxDataGridAccordion, CngxDgCell
|
|
696
685
|
*/
|
|
697
686
|
declare class CngxDataGridHeader {
|
|
@@ -744,14 +733,13 @@ declare class CngxDataGridHeader {
|
|
|
744
733
|
* </cngx-data-grid-accordion>
|
|
745
734
|
* ```
|
|
746
735
|
*
|
|
747
|
-
* @category ui/data-grid-accordion
|
|
748
736
|
* @wcag AA
|
|
749
737
|
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-sort-header.directive.ts
|
|
750
|
-
* @since 0.
|
|
738
|
+
* @since 0.3.0
|
|
751
739
|
* @relatedTo CngxDataGridAccordion, CngxSort, CngxSortHeader, CngxDgCell
|
|
752
740
|
*
|
|
753
|
-
* <example-url
|
|
754
|
-
* <example-url
|
|
741
|
+
* <example-url>/#/ui/data-grid-accordion/sortable-ledger</example-url>
|
|
742
|
+
* <example-url>/#/ui/data-grid-accordion/bound-sort-filter</example-url>
|
|
755
743
|
*/
|
|
756
744
|
declare class CngxDgaSortHeader {
|
|
757
745
|
/** The field key this header cell sorts by. */
|
|
@@ -815,7 +803,7 @@ declare class CngxDgaSortHeader {
|
|
|
815
803
|
* status node, decorative icons and badges) are left out.
|
|
816
804
|
*/
|
|
817
805
|
private headerText;
|
|
818
|
-
protected handleActivateKey(event: Event)
|
|
806
|
+
protected readonly handleActivateKey: (event: Event) => void;
|
|
819
807
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CngxDgaSortHeader, never>;
|
|
820
808
|
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>;
|
|
821
809
|
}
|
|
@@ -843,14 +831,13 @@ declare class CngxDgaSortHeader {
|
|
|
843
831
|
* </cngx-data-grid-accordion>
|
|
844
832
|
* ```
|
|
845
833
|
*
|
|
846
|
-
* @category ui/data-grid-accordion
|
|
847
834
|
* @wcag AA
|
|
848
835
|
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-filter.directive.ts
|
|
849
|
-
* @since 0.
|
|
836
|
+
* @since 0.3.0
|
|
850
837
|
* @relatedTo CngxDataGridAccordion, CngxFilter, CngxDgaCount
|
|
851
838
|
*
|
|
852
|
-
* <example-url
|
|
853
|
-
* <example-url
|
|
839
|
+
* <example-url>/#/ui/data-grid-accordion/bound-sort-filter</example-url>
|
|
840
|
+
* <example-url>/#/ui/data-grid-accordion/sortable-ledger</example-url>
|
|
854
841
|
*/
|
|
855
842
|
declare class CngxDgaFilter {
|
|
856
843
|
private readonly labels;
|
|
@@ -894,13 +881,12 @@ declare class CngxDgaFilter {
|
|
|
894
881
|
* </cngx-data-grid-accordion>
|
|
895
882
|
* ```
|
|
896
883
|
*
|
|
897
|
-
* @category ui/data-grid-accordion
|
|
898
884
|
* @wcag AA
|
|
899
885
|
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-filter-field.component.ts
|
|
900
|
-
* @since 0.
|
|
886
|
+
* @since 0.3.0
|
|
901
887
|
* @relatedTo CngxDataGridAccordion, CngxDgaFilter, CngxDgaCount
|
|
902
888
|
*
|
|
903
|
-
* <example-url
|
|
889
|
+
* <example-url>/#/ui/data-grid-accordion/sortable-ledger</example-url>
|
|
904
890
|
*/
|
|
905
891
|
declare class CngxDgaFilterField {
|
|
906
892
|
private readonly labels;
|
|
@@ -949,13 +935,12 @@ declare class CngxDgaFilterField {
|
|
|
949
935
|
* Binding `cngxDgaCountSingular` / `cngxDgaCountPlural` per instance always composes
|
|
950
936
|
* through `countWithNoun`.
|
|
951
937
|
*
|
|
952
|
-
* @category ui/data-grid-accordion
|
|
953
938
|
* @wcag AA
|
|
954
939
|
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-count.directive.ts
|
|
955
|
-
* @since 0.
|
|
940
|
+
* @since 0.3.0
|
|
956
941
|
* @relatedTo CngxDataGridAccordion, CngxDgaFilter
|
|
957
942
|
*
|
|
958
|
-
* <example-url
|
|
943
|
+
* <example-url>/#/ui/data-grid-accordion/sortable-ledger</example-url>
|
|
959
944
|
*/
|
|
960
945
|
declare class CngxDgaCount {
|
|
961
946
|
/** The visible-row count the consumer derived. */
|
|
@@ -992,10 +977,9 @@ declare class CngxDgaCount {
|
|
|
992
977
|
* component ships no live producer - the region element and its content are the
|
|
993
978
|
* consumer's, so any state it announces stays owned outside this structural shell.
|
|
994
979
|
*
|
|
995
|
-
* @category ui/data-grid-accordion
|
|
996
980
|
* @wcag AA
|
|
997
981
|
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/data-grid-accordion/data-grid-footer.component.ts
|
|
998
|
-
* @since 0.
|
|
982
|
+
* @since 0.3.0
|
|
999
983
|
* @relatedTo CngxDataGridAccordion, CngxDgCell
|
|
1000
984
|
*/
|
|
1001
985
|
declare class CngxDataGridFooter {
|
|
@@ -1017,8 +1001,7 @@ declare class CngxDataGridFooter {
|
|
|
1017
1001
|
* provide the token explicitly - `inject(CNGX_DATA_GRID_ACCORDION_CONFIG)` always
|
|
1018
1002
|
* resolves.
|
|
1019
1003
|
*
|
|
1020
|
-
* @
|
|
1021
|
-
* @since 0.1.0
|
|
1004
|
+
* @since 0.3.0
|
|
1022
1005
|
*/
|
|
1023
1006
|
declare const CNGX_DATA_GRID_ACCORDION_CONFIG: InjectionToken<CngxDataGridAccordionConfig>;
|
|
1024
1007
|
|
|
@@ -1030,8 +1013,7 @@ declare const CNGX_DATA_GRID_ACCORDION_CONFIG: InjectionToken<CngxDataGridAccord
|
|
|
1030
1013
|
* `CngxAccordionConfigFeature` from `@cngx/ui/accordion` so the consumer's mental
|
|
1031
1014
|
* model is one across feature areas.
|
|
1032
1015
|
*
|
|
1033
|
-
* @
|
|
1034
|
-
* @since 0.1.0
|
|
1016
|
+
* @since 0.3.0
|
|
1035
1017
|
*/
|
|
1036
1018
|
type CngxDataGridAccordionConfigFeature = {
|
|
1037
1019
|
readonly kind: 'skin';
|
|
@@ -1062,8 +1044,7 @@ type CngxDataGridAccordionConfigFeature = {
|
|
|
1062
1044
|
* });
|
|
1063
1045
|
* ```
|
|
1064
1046
|
*
|
|
1065
|
-
* @
|
|
1066
|
-
* @since 0.1.0
|
|
1047
|
+
* @since 0.3.0
|
|
1067
1048
|
*/
|
|
1068
1049
|
declare function provideDataGridAccordionConfig(...features: CngxDataGridAccordionConfigFeature[]): EnvironmentProviders;
|
|
1069
1050
|
/**
|
|
@@ -1084,8 +1065,7 @@ declare function provideDataGridAccordionConfig(...features: CngxDataGridAccordi
|
|
|
1084
1065
|
* class Ledger {}
|
|
1085
1066
|
* ```
|
|
1086
1067
|
*
|
|
1087
|
-
* @
|
|
1088
|
-
* @since 0.1.0
|
|
1068
|
+
* @since 0.3.0
|
|
1089
1069
|
*/
|
|
1090
1070
|
declare function provideDataGridAccordionConfigAt(...features: CngxDataGridAccordionConfigFeature[]): Provider[];
|
|
1091
1071
|
|
|
@@ -1100,8 +1080,7 @@ declare function provideDataGridAccordionConfigAt(...features: CngxDataGridAccor
|
|
|
1100
1080
|
* provideDataGridAccordionConfig(withDataGridSkin('ledger'));
|
|
1101
1081
|
* ```
|
|
1102
1082
|
*
|
|
1103
|
-
* @
|
|
1104
|
-
* @since 0.1.0
|
|
1083
|
+
* @since 0.3.0
|
|
1105
1084
|
*/
|
|
1106
1085
|
declare function withDataGridSkin(skin: CngxDataGridSkin): CngxDataGridAccordionConfigFeature;
|
|
1107
1086
|
/**
|
|
@@ -1118,8 +1097,7 @@ declare function withDataGridSkin(skin: CngxDataGridSkin): CngxDataGridAccordion
|
|
|
1118
1097
|
* );
|
|
1119
1098
|
* ```
|
|
1120
1099
|
*
|
|
1121
|
-
* @
|
|
1122
|
-
* @since 0.1.0
|
|
1100
|
+
* @since 0.3.0
|
|
1123
1101
|
*/
|
|
1124
1102
|
declare function withDataGridAccordionLabels(labels: Partial<CngxDataGridAccordionLabels> | Signal<Partial<CngxDataGridAccordionLabels>>): CngxDataGridAccordionConfigFeature;
|
|
1125
1103
|
|
|
@@ -1138,8 +1116,7 @@ declare function withDataGridAccordionLabels(labels: Partial<CngxDataGridAccordi
|
|
|
1138
1116
|
* }
|
|
1139
1117
|
* ```
|
|
1140
1118
|
*
|
|
1141
|
-
* @
|
|
1142
|
-
* @since 0.1.0
|
|
1119
|
+
* @since 0.3.0
|
|
1143
1120
|
*/
|
|
1144
1121
|
declare function injectDataGridAccordionConfig(): CngxDataGridAccordionConfig;
|
|
1145
1122
|
|
|
@@ -1150,8 +1127,7 @@ declare function injectDataGridAccordionConfig(): CngxDataGridAccordionConfig;
|
|
|
1150
1127
|
* `withDataGridAccordionLabels` still wins. Messages use `{name}`
|
|
1151
1128
|
* placeholders, numbers are formatted for the locale.
|
|
1152
1129
|
*
|
|
1153
|
-
* @
|
|
1154
|
-
* @since 0.1.0
|
|
1130
|
+
* @since 0.3.0
|
|
1155
1131
|
* @relatedTo CNGX_DATA_GRID_ACCORDION_CONFIG, withDataGridAccordionLabels
|
|
1156
1132
|
*/
|
|
1157
1133
|
interface CngxDataGridAccordionLanguageSection {
|
|
@@ -1190,8 +1166,7 @@ interface CngxDataGridAccordionLanguageSection {
|
|
|
1190
1166
|
* The English data-grid-accordion section: the single source of the entry's
|
|
1191
1167
|
* English copy. The `CNGX_DATA_GRID_ACCORDION_CONFIG` labels default to it.
|
|
1192
1168
|
*
|
|
1193
|
-
* @
|
|
1194
|
-
* @since 0.1.0
|
|
1169
|
+
* @since 0.3.0
|
|
1195
1170
|
* @relatedTo CNGX_DATA_GRID_ACCORDION_CONFIG
|
|
1196
1171
|
*/
|
|
1197
1172
|
declare const CNGX_DATA_GRID_ACCORDION_LANGUAGE_EN: CngxDataGridAccordionLanguageSection;
|
|
@@ -20,17 +20,16 @@ import { CngxAsyncState } from '@cngx/core/utils';
|
|
|
20
20
|
* </cngx-empty-state>
|
|
21
21
|
* ```
|
|
22
22
|
*
|
|
23
|
-
* @category ui/empty-state
|
|
24
|
-
* @docsKind primary
|
|
25
23
|
* @wcag AA
|
|
26
24
|
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/empty-state/empty-state.component.ts
|
|
27
|
-
* @since 0.
|
|
25
|
+
* @since 0.3.0
|
|
28
26
|
* @relatedTo CngxAsyncState, CngxSkeletonContainer
|
|
29
|
-
* <example-url
|
|
30
|
-
* <example-url
|
|
31
|
-
* <example-url
|
|
32
|
-
* <example-url
|
|
33
|
-
* <example-url
|
|
27
|
+
* <example-url>/#/ui/empty-state/default-no-icon-projected</example-url>
|
|
28
|
+
* <example-url>/#/ui/empty-state/inside-a-card-grid</example-url>
|
|
29
|
+
* <example-url>/#/ui/empty-state/inside-a-list</example-url>
|
|
30
|
+
* <example-url>/#/ui/empty-state/inside-a-table</example-url>
|
|
31
|
+
* <example-url>/#/ui/empty-state/with-custom-icon-actions</example-url>
|
|
32
|
+
* @axis level organism
|
|
34
33
|
*/
|
|
35
34
|
declare class CngxEmptyState {
|
|
36
35
|
private readonly uid;
|
|
@@ -49,6 +48,17 @@ declare class CngxEmptyState {
|
|
|
49
48
|
readonly state: _angular_core.InputSignal<CngxAsyncState<unknown> | undefined>;
|
|
50
49
|
/** @internal - hidden when state is bound and the view is not a settled empty result. */
|
|
51
50
|
protected readonly shouldHide: _angular_core.Signal<boolean>;
|
|
51
|
+
/** @internal - fallback glyph while no icon is projected. */
|
|
52
|
+
protected readonly defaultIcon: {
|
|
53
|
+
readonly viewBox: "0 0 24 24";
|
|
54
|
+
readonly d: "M2 4h20v5H2zM4 9v11h16V9M10 13h4";
|
|
55
|
+
readonly paint: "stroke";
|
|
56
|
+
readonly micro: {
|
|
57
|
+
readonly viewBox: "0 0 12 12";
|
|
58
|
+
readonly d: "M1 1H11V4H1ZM2 2V3H10V2ZM2 4H3V10H9V4H10V11H2ZM5 6H7V7H5Z";
|
|
59
|
+
};
|
|
60
|
+
readonly small: null;
|
|
61
|
+
};
|
|
52
62
|
/** @internal */
|
|
53
63
|
protected readonly titleId: string;
|
|
54
64
|
/** @internal */
|