@nanahoshi/mona-ui 0.33.0 → 0.35.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/alert/package.json +4 -0
- package/badge/package.json +4 -0
- package/docs/alert.md +219 -0
- package/docs/api/alert.md +78 -0
- package/docs/api/avatar.md +25 -0
- package/docs/api/badge.md +24 -0
- package/docs/api/common.md +2 -2
- package/docs/api/grid.md +46 -13
- package/docs/api/i18n.md +45 -0
- package/docs/api/locales.md +14 -14
- package/docs/api/multi-select.md +2 -0
- package/docs/api/separator.md +23 -0
- package/docs/api/toolbar.md +81 -0
- package/docs/avatar.md +108 -6
- package/docs/badge.md +181 -0
- package/docs/grid-columns.md +121 -17
- package/docs/grid-state-export.md +24 -7
- package/docs/grid.md +1 -1
- package/docs/multi-select.md +54 -0
- package/docs/separator.md +147 -0
- package/docs/sidebar-menus.md +1 -1
- package/docs/toolbar.md +327 -0
- package/fesm2022/nanahoshi-mona-ui-alert.mjs +422 -0
- package/fesm2022/nanahoshi-mona-ui-avatar.mjs +182 -3
- package/fesm2022/nanahoshi-mona-ui-badge.mjs +273 -0
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-colgroup.component-C62HvK-w.mjs → nanahoshi-mona-ui-grid-grid-colgroup.component-Lv3GunpV.mjs} +2 -2
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-row.component-BpsJwMkQ.mjs → nanahoshi-mona-ui-grid-grid-footer-row.component-BYH9XbCV.mjs} +8 -3
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-BVpGUjA7.mjs → nanahoshi-mona-ui-grid-grid-list.component-S2iCn8TV.mjs} +10 -6
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-row.component-D0T8kfdm.mjs → nanahoshi-mona-ui-grid-grid-row.component-BUJvgihp.mjs} +21 -6
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-5D2BjGx4.mjs → nanahoshi-mona-ui-grid-grid-virtual-list.component-Wndy-_Bt.mjs} +5 -5
- package/fesm2022/{nanahoshi-mona-ui-grid-grid.styles-62LTuPhD.mjs → nanahoshi-mona-ui-grid-grid.styles-aPD3c2A6.mjs} +228 -16
- package/fesm2022/nanahoshi-mona-ui-grid.mjs +422 -29
- package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +3 -0
- package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +3 -0
- package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +3 -0
- package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +3 -0
- package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +3 -0
- package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +3 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +3 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +3 -0
- package/fesm2022/nanahoshi-mona-ui-locales-pl-pl.mjs +3 -0
- package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +3 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +3 -0
- package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +3 -0
- package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +3 -0
- package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +3 -0
- package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +83 -2
- package/fesm2022/nanahoshi-mona-ui-separator.mjs +165 -0
- package/fesm2022/nanahoshi-mona-ui-sidebar.mjs +3 -3
- package/fesm2022/nanahoshi-mona-ui-toolbar.mjs +536 -0
- package/i18n/catalogs/en-US.messages.json +9 -0
- package/llms.txt +14 -6
- package/locales/ar-sa/ar-sa.messages.json +9 -0
- package/locales/de-de/de-de.messages.json +9 -0
- package/locales/es-es/es-es.messages.json +9 -0
- package/locales/fr-fr/fr-fr.messages.json +9 -0
- package/locales/id-id/id-id.messages.json +9 -0
- package/locales/it-it/it-it.messages.json +9 -0
- package/locales/ja-jp/ja-jp.messages.json +9 -0
- package/locales/ko-kr/ko-kr.messages.json +9 -0
- package/locales/pl-pl/pl-pl.messages.json +9 -0
- package/locales/pt-br/pt-br.messages.json +9 -0
- package/locales/ru-ru/ru-ru.messages.json +9 -0
- package/locales/tr-tr/tr-tr.messages.json +9 -0
- package/locales/zh-cn/zh-cn.messages.json +9 -0
- package/locales/zh-tw/zh-tw.messages.json +9 -0
- package/package.json +17 -1
- package/separator/package.json +4 -0
- package/toolbar/package.json +4 -0
- package/types/nanahoshi-mona-ui-alert.d.ts +144 -0
- package/types/nanahoshi-mona-ui-avatar.d.ts +66 -0
- package/types/nanahoshi-mona-ui-badge.d.ts +82 -0
- package/types/nanahoshi-mona-ui-grid.d.ts +142 -64
- package/types/nanahoshi-mona-ui-i18n.d.ts +24 -0
- package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-de-de.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-es-es.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-id-id.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-it-it.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-pl-pl.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +9 -0
- package/types/nanahoshi-mona-ui-multi-select.d.ts +27 -0
- package/types/nanahoshi-mona-ui-separator.d.ts +66 -0
- package/types/nanahoshi-mona-ui-toolbar.d.ts +183 -0
|
@@ -12,6 +12,13 @@ import { BehaviorSubject, Subject } from "rxjs";
|
|
|
12
12
|
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
13
13
|
import { VariantProps } from "class-variance-authority";
|
|
14
14
|
type AggregateFunction = "sum" | "avg" | "count" | "min" | "max" | "custom";
|
|
15
|
+
/** A `mona-grid-column-group`: a header over the columns inside it. */
|
|
16
|
+
interface ColumnGroup {
|
|
17
|
+
/** A unique id generated for the group. */
|
|
18
|
+
readonly id: string;
|
|
19
|
+
/** The text shown in the group's header. */
|
|
20
|
+
readonly title: string;
|
|
21
|
+
}
|
|
15
22
|
type GridColumnLockedPosition = "left" | "right";
|
|
16
23
|
type ColumnKind = "command" | "data";
|
|
17
24
|
/**
|
|
@@ -57,6 +64,10 @@ interface ColumnConfig {
|
|
|
57
64
|
readonly format: ColumnFormat | null;
|
|
58
65
|
/** The column's `monaGridGroupFooterTemplate`, which renders its cell in group footer rows, or `null`. */
|
|
59
66
|
readonly groupFooterTemplate: TemplateRef<unknown> | null;
|
|
67
|
+
/**
|
|
68
|
+
* The `mona-grid-column-group`s the column sits in, outermost first. Left out, or empty, when it isn't in a group.
|
|
69
|
+
*/
|
|
70
|
+
readonly groups?: readonly ColumnGroup[];
|
|
60
71
|
/**
|
|
61
72
|
* The column's `monaGridHeaderTemplate`, which replaces the whole header content and receives the column, or
|
|
62
73
|
* `null`.
|
|
@@ -999,6 +1010,11 @@ export declare class GridExportDirective {
|
|
|
999
1010
|
#private;
|
|
1000
1011
|
/** Exports the visible columns of the current view as CSV (only the loaded page with server binding). */
|
|
1001
1012
|
exportCsv(filename?: string): void;
|
|
1013
|
+
/**
|
|
1014
|
+
* Exports the same rows and columns as `exportCsv` as an Excel workbook (`.xlsx`), with column groups as merged
|
|
1015
|
+
* header cells and values that keep their types. Resolves once the download has started.
|
|
1016
|
+
*/
|
|
1017
|
+
exportExcel(filename?: string): Promise<void>;
|
|
1002
1018
|
static ɵfac: i0.ɵɵFactoryDeclaration<GridExportDirective, never>;
|
|
1003
1019
|
static ɵdir: i0.ɵɵDirectiveDeclaration<GridExportDirective, "mona-grid[monaGridExport]", ["monaGridExport"], {}, {}, never, never, true, never>;
|
|
1004
1020
|
}
|
|
@@ -1289,11 +1305,120 @@ export declare class GridColumnComponent implements GridColumnDefinition {
|
|
|
1289
1305
|
};
|
|
1290
1306
|
}, {}, ["cellTemplate", "editTemplate", "footerTemplate", "groupFooterTemplate", "headerTemplate", "titleTemplate"], never, true, never>;
|
|
1291
1307
|
}
|
|
1308
|
+
/**
|
|
1309
|
+
* Puts a header over the `mona-grid-column`s and `mona-grid-command-column`s inside it. Groups nest: each level adds a
|
|
1310
|
+
* header row above the column headers.
|
|
1311
|
+
*/
|
|
1312
|
+
export declare class GridColumnGroupComponent {
|
|
1313
|
+
#private;
|
|
1314
|
+
/**
|
|
1315
|
+
* @description The text shown in the group's header, which also names it for assistive technologies.
|
|
1316
|
+
*/
|
|
1317
|
+
readonly title: import("@angular/core").InputSignal<string>;
|
|
1318
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridColumnGroupComponent, never>;
|
|
1319
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridColumnGroupComponent, "mona-grid-column-group", never, {
|
|
1320
|
+
"title": {
|
|
1321
|
+
"alias": "title";
|
|
1322
|
+
"required": false;
|
|
1323
|
+
"isSignal": true;
|
|
1324
|
+
};
|
|
1325
|
+
}, {}, never, never, true, never>;
|
|
1326
|
+
}
|
|
1292
1327
|
interface ColumnFilterState {
|
|
1293
1328
|
filter?: CompositeFilterDescriptor;
|
|
1294
1329
|
filterMenuValue?: FilterMenuValue;
|
|
1295
1330
|
}
|
|
1296
1331
|
type ResizeMethod = "auto" | "fitView" | number;
|
|
1332
|
+
/**
|
|
1333
|
+
* How a layout column stays pinned while the grid scrolls horizontally.
|
|
1334
|
+
* Sides are logical, so `start` is the left edge in LTR and the right edge in RTL.
|
|
1335
|
+
*/
|
|
1336
|
+
interface GridStickyState {
|
|
1337
|
+
/** Whether this is the innermost pinned column on its side, which draws the separator border. */
|
|
1338
|
+
readonly edge: boolean;
|
|
1339
|
+
/** The distance from the pinned side, in pixels. */
|
|
1340
|
+
readonly offset: number;
|
|
1341
|
+
readonly side: "end" | "start";
|
|
1342
|
+
}
|
|
1343
|
+
type StructuralColumnKind = "detail" | "reorder" | "selection";
|
|
1344
|
+
interface StructuralColumnDescriptor {
|
|
1345
|
+
readonly kind: StructuralColumnKind;
|
|
1346
|
+
readonly visible: boolean;
|
|
1347
|
+
readonly width: number;
|
|
1348
|
+
}
|
|
1349
|
+
/**
|
|
1350
|
+
* A single physical column of the grid tables, in inline-start to inline-end order.
|
|
1351
|
+
* Every table section (header, body, add row, footer) renders the same sequence of layout columns.
|
|
1352
|
+
*/
|
|
1353
|
+
type GridLayoutColumn = GridLayoutDataColumn | GridLayoutGroupColumn | GridLayoutStructuralColumn;
|
|
1354
|
+
/** A user-defined data or command column. */
|
|
1355
|
+
interface GridLayoutDataColumn {
|
|
1356
|
+
readonly column: Column;
|
|
1357
|
+
/** The index among the visible user columns. */
|
|
1358
|
+
readonly columnIndex: number;
|
|
1359
|
+
/** Whether ArrowLeft (inline-start) stops at this cell. */
|
|
1360
|
+
readonly firstInRow: boolean;
|
|
1361
|
+
readonly key: string;
|
|
1362
|
+
readonly kind: "column";
|
|
1363
|
+
/** Whether ArrowRight (inline-end) stops at this cell. */
|
|
1364
|
+
readonly lastInRow: boolean;
|
|
1365
|
+
/** The keyboard-navigation column index. */
|
|
1366
|
+
readonly logicalIndex: number;
|
|
1367
|
+
readonly sticky: GridStickyState | null;
|
|
1368
|
+
readonly width: number | null;
|
|
1369
|
+
}
|
|
1370
|
+
/** An indent column rendered for each active group level. It does not participate in keyboard navigation. */
|
|
1371
|
+
interface GridLayoutGroupColumn {
|
|
1372
|
+
readonly depth: number;
|
|
1373
|
+
readonly key: string;
|
|
1374
|
+
readonly kind: "group";
|
|
1375
|
+
readonly logicalIndex: null;
|
|
1376
|
+
readonly sticky: GridStickyState | null;
|
|
1377
|
+
readonly width: number;
|
|
1378
|
+
}
|
|
1379
|
+
/** A built-in column such as the row reorder handle, the detail toggle or the selection checkbox. */
|
|
1380
|
+
interface GridLayoutStructuralColumn {
|
|
1381
|
+
/** Whether ArrowLeft (inline-start) stops at this cell. */
|
|
1382
|
+
readonly firstInRow: boolean;
|
|
1383
|
+
readonly key: string;
|
|
1384
|
+
readonly kind: StructuralColumnKind;
|
|
1385
|
+
/** Whether ArrowRight (inline-end) stops at this cell. */
|
|
1386
|
+
readonly lastInRow: boolean;
|
|
1387
|
+
/** The keyboard-navigation column index. */
|
|
1388
|
+
readonly logicalIndex: number;
|
|
1389
|
+
readonly sticky: GridStickyState | null;
|
|
1390
|
+
readonly width: number;
|
|
1391
|
+
}
|
|
1392
|
+
/** A cell of a header row above the column headers. */
|
|
1393
|
+
type GridHeaderGroupCell = GridHeaderGroupSpacerCell | GridHeaderGroupTitleCell;
|
|
1394
|
+
/** The space above a column that isn't in a group at that level; it continues the column's header upwards. */
|
|
1395
|
+
interface GridHeaderGroupSpacerCell {
|
|
1396
|
+
readonly key: string;
|
|
1397
|
+
readonly kind: "spacer";
|
|
1398
|
+
/** The layout column the space is above, whose sticky state it follows. */
|
|
1399
|
+
readonly layoutKey: string;
|
|
1400
|
+
readonly width: number | null;
|
|
1401
|
+
}
|
|
1402
|
+
/** A group's header, over the group's columns that sit next to each other. */
|
|
1403
|
+
interface GridHeaderGroupTitleCell {
|
|
1404
|
+
/** The `aria-colindex` of its first column. */
|
|
1405
|
+
readonly ariaColIndex: number;
|
|
1406
|
+
/** The keyboard-navigation index of its first column. */
|
|
1407
|
+
readonly colIndex: number;
|
|
1408
|
+
/** How many columns it spans. */
|
|
1409
|
+
readonly colSpan: number;
|
|
1410
|
+
/** Whether ArrowLeft (inline-start) stops at this cell. */
|
|
1411
|
+
readonly firstInRow: boolean;
|
|
1412
|
+
readonly group: ColumnGroup;
|
|
1413
|
+
/** Unique in the header, also when locking splits a group's columns. */
|
|
1414
|
+
readonly key: string;
|
|
1415
|
+
readonly kind: "group";
|
|
1416
|
+
/** Whether ArrowRight (inline-end) stops at this cell. */
|
|
1417
|
+
readonly lastInRow: boolean;
|
|
1418
|
+
readonly sticky: GridStickyState | null;
|
|
1419
|
+
/** The sum of its columns' widths, or `null` while one of them isn't measured. */
|
|
1420
|
+
readonly width: number | null;
|
|
1421
|
+
}
|
|
1297
1422
|
interface GridAggregateBucket {
|
|
1298
1423
|
readonly avg?: number;
|
|
1299
1424
|
readonly count?: number;
|
|
@@ -1369,66 +1494,6 @@ interface GridViewDataRow {
|
|
|
1369
1494
|
readonly row: Row;
|
|
1370
1495
|
readonly type: "data";
|
|
1371
1496
|
}
|
|
1372
|
-
/**
|
|
1373
|
-
* How a layout column stays pinned while the grid scrolls horizontally.
|
|
1374
|
-
* Sides are logical, so `start` is the left edge in LTR and the right edge in RTL.
|
|
1375
|
-
*/
|
|
1376
|
-
interface GridStickyState {
|
|
1377
|
-
/** Whether this is the innermost pinned column on its side, which draws the separator border. */
|
|
1378
|
-
readonly edge: boolean;
|
|
1379
|
-
/** The distance from the pinned side, in pixels. */
|
|
1380
|
-
readonly offset: number;
|
|
1381
|
-
readonly side: "end" | "start";
|
|
1382
|
-
}
|
|
1383
|
-
type StructuralColumnKind = "detail" | "reorder" | "selection";
|
|
1384
|
-
interface StructuralColumnDescriptor {
|
|
1385
|
-
readonly kind: StructuralColumnKind;
|
|
1386
|
-
readonly visible: boolean;
|
|
1387
|
-
readonly width: number;
|
|
1388
|
-
}
|
|
1389
|
-
/**
|
|
1390
|
-
* A single physical column of the grid tables, in inline-start to inline-end order.
|
|
1391
|
-
* Every table section (header, body, add row, footer) renders the same sequence of layout columns.
|
|
1392
|
-
*/
|
|
1393
|
-
type GridLayoutColumn = GridLayoutDataColumn | GridLayoutGroupColumn | GridLayoutStructuralColumn;
|
|
1394
|
-
/** A user-defined data or command column. */
|
|
1395
|
-
interface GridLayoutDataColumn {
|
|
1396
|
-
readonly column: Column;
|
|
1397
|
-
/** The index among the visible user columns. */
|
|
1398
|
-
readonly columnIndex: number;
|
|
1399
|
-
/** Whether ArrowLeft (inline-start) stops at this cell. */
|
|
1400
|
-
readonly firstInRow: boolean;
|
|
1401
|
-
readonly key: string;
|
|
1402
|
-
readonly kind: "column";
|
|
1403
|
-
/** Whether ArrowRight (inline-end) stops at this cell. */
|
|
1404
|
-
readonly lastInRow: boolean;
|
|
1405
|
-
/** The keyboard-navigation column index. */
|
|
1406
|
-
readonly logicalIndex: number;
|
|
1407
|
-
readonly sticky: GridStickyState | null;
|
|
1408
|
-
readonly width: number | null;
|
|
1409
|
-
}
|
|
1410
|
-
/** An indent column rendered for each active group level. It does not participate in keyboard navigation. */
|
|
1411
|
-
interface GridLayoutGroupColumn {
|
|
1412
|
-
readonly depth: number;
|
|
1413
|
-
readonly key: string;
|
|
1414
|
-
readonly kind: "group";
|
|
1415
|
-
readonly logicalIndex: null;
|
|
1416
|
-
readonly sticky: GridStickyState | null;
|
|
1417
|
-
readonly width: number;
|
|
1418
|
-
}
|
|
1419
|
-
/** A built-in column such as the row reorder handle, the detail toggle or the selection checkbox. */
|
|
1420
|
-
interface GridLayoutStructuralColumn {
|
|
1421
|
-
/** Whether ArrowLeft (inline-start) stops at this cell. */
|
|
1422
|
-
readonly firstInRow: boolean;
|
|
1423
|
-
readonly key: string;
|
|
1424
|
-
readonly kind: StructuralColumnKind;
|
|
1425
|
-
/** Whether ArrowRight (inline-end) stops at this cell. */
|
|
1426
|
-
readonly lastInRow: boolean;
|
|
1427
|
-
/** The keyboard-navigation column index. */
|
|
1428
|
-
readonly logicalIndex: number;
|
|
1429
|
-
readonly sticky: GridStickyState | null;
|
|
1430
|
-
readonly width: number;
|
|
1431
|
-
}
|
|
1432
1497
|
interface PaginationState {
|
|
1433
1498
|
readonly page: number;
|
|
1434
1499
|
readonly skip: number;
|
|
@@ -1495,8 +1560,12 @@ declare class GridService {
|
|
|
1495
1560
|
readonly hasFooter: import("@angular/core").Signal<boolean>;
|
|
1496
1561
|
readonly hasLeftLockedColumns: import("@angular/core").Signal<boolean>;
|
|
1497
1562
|
readonly hasLiveScrollbarGutterWidth: import("@angular/core").Signal<boolean>;
|
|
1498
|
-
/**
|
|
1499
|
-
readonly
|
|
1563
|
+
/** How many group rows sit above the column headers: the deepest `mona-grid-column-group` nesting shown. */
|
|
1564
|
+
readonly headerGroupDepth: import("@angular/core").Signal<number>;
|
|
1565
|
+
/** The rows of column group headers, outermost first; empty without groups. */
|
|
1566
|
+
readonly headerGroupRows: import("@angular/core").Signal<GridHeaderGroupCell[][]>;
|
|
1567
|
+
/** The header rows: the column group rows, the column headers and, when shown, the filter row. */
|
|
1568
|
+
readonly headerRowCount: import("@angular/core").Signal<number>;
|
|
1500
1569
|
readonly headerTableElement: import("@angular/core").WritableSignal<HTMLTableElement | null>;
|
|
1501
1570
|
readonly horizontalScrollLeft: import("@angular/core").Signal<number>;
|
|
1502
1571
|
readonly isInEditMode: import("@angular/core").Signal<boolean>;
|
|
@@ -1639,7 +1708,9 @@ declare class GridService {
|
|
|
1639
1708
|
removeRow(row: Row, originalEvent?: Event): boolean;
|
|
1640
1709
|
/**
|
|
1641
1710
|
* Moves a column in front of the column at `beforeIndex` in `columns()`, or to the end with
|
|
1642
|
-
* `columns().length`.
|
|
1711
|
+
* `columns().length`. A column in a `mona-grid-column-group` moves only among the group's columns and nested
|
|
1712
|
+
* groups, and no column lands inside a group it isn't in; past hidden columns, the nearest place allowed is used.
|
|
1713
|
+
* Reports `columnReorder$`, which can cancel the move. Returns whether it moved.
|
|
1643
1714
|
*/
|
|
1644
1715
|
reorderColumn(column: Column, beforeIndex: number): boolean;
|
|
1645
1716
|
/**
|
|
@@ -1733,6 +1804,7 @@ declare class GridService {
|
|
|
1733
1804
|
private getRowUidKey;
|
|
1734
1805
|
private measureElementScrollbarGutter;
|
|
1735
1806
|
private measureFallbackScrollbarGutter;
|
|
1807
|
+
/** Keeps each group's columns together, then moves left-locked columns to the start and right-locked ones to the end. */
|
|
1736
1808
|
private orderColumnsByLockBucket;
|
|
1737
1809
|
private reconcileColumn;
|
|
1738
1810
|
/** The column's `editable`, with the default (every column but the `rowKey` field) resolved. */
|
|
@@ -1825,11 +1897,17 @@ export declare class GridComponent<T> implements GridVariantInput {
|
|
|
1825
1897
|
protected readonly groupable: import("@angular/core").Signal<boolean>;
|
|
1826
1898
|
protected readonly groupingInProgress: import("@angular/core").WritableSignal<boolean>;
|
|
1827
1899
|
protected readonly headerClass: import("@angular/core").Signal<string>;
|
|
1900
|
+
protected readonly headerGroupCellClass: import("@angular/core").Signal<string>;
|
|
1901
|
+
protected readonly headerGroupRowClass: import("@angular/core").Signal<string>;
|
|
1902
|
+
protected readonly headerGroupSpacerCellClass: import("@angular/core").Signal<string>;
|
|
1903
|
+
protected readonly headerGroupTitleClass: import("@angular/core").Signal<string>;
|
|
1828
1904
|
/** Each header's keyboard shortcuts, for `aria-keyshortcuts`. */
|
|
1829
1905
|
protected readonly headerKeyShortcuts: import("@angular/core").Signal<Map<string, string>>;
|
|
1830
1906
|
protected readonly headerMarginInlineEnd: import("@angular/core").Signal<number>;
|
|
1831
1907
|
protected readonly headerTableCellClass: import("@angular/core").Signal<string>;
|
|
1832
1908
|
protected readonly headerTableClass: import("@angular/core").Signal<string>;
|
|
1909
|
+
/** The column header row: under group rows it draws no line of its own, as the group titles have one. */
|
|
1910
|
+
protected readonly headerTableColumnRowClass: import("@angular/core").Signal<string>;
|
|
1833
1911
|
protected readonly headerTableColumnTitleClass: import("@angular/core").Signal<string>;
|
|
1834
1912
|
protected readonly headerTableColumnWrapClass: import("@angular/core").Signal<string>;
|
|
1835
1913
|
protected readonly headerTableRowClass: import("@angular/core").Signal<string>;
|
|
@@ -2116,4 +2194,4 @@ export declare const GRID_DEFAULT_MESSAGES: {
|
|
|
2116
2194
|
sortOrder: (position: number) => string;
|
|
2117
2195
|
toolbar: string;
|
|
2118
2196
|
};
|
|
2119
|
-
export type { AggregateFunction, Column, ColumnConfig, ColumnFormat, ColumnFormatFunction, ColumnKind, ColumnReorderEvent, ColumnResizeEvent, ColumnSortComparator, ColumnSortEvent, EditableOptions, GridCancelReason, GridColumnLockedPosition, GridDataState, GridEditFormContext, GridEditOperation, GridEditSchemaFactory, GridEditSession, GridEditTemplateContext, GridKeySelector, GridRowClass, GridRowClassValue, GridRowCommand, GridSaveOperation, GridToolbarContext, GridToolbarTemplateContext, ReorderableOptions, ResizableOptions, ResizeMethod, Row, RowReorderableOptions };
|
|
2197
|
+
export type { AggregateFunction, Column, ColumnConfig, ColumnFormat, ColumnFormatFunction, ColumnGroup, ColumnKind, ColumnReorderEvent, ColumnResizeEvent, ColumnSortComparator, ColumnSortEvent, EditableOptions, GridCancelReason, GridColumnLockedPosition, GridDataState, GridEditFormContext, GridEditOperation, GridEditSchemaFactory, GridEditSession, GridEditTemplateContext, GridKeySelector, GridRowClass, GridRowClassValue, GridRowCommand, GridSaveOperation, GridToolbarContext, GridToolbarTemplateContext, ReorderableOptions, ResizableOptions, ResizeMethod, Row, RowReorderableOptions };
|
|
@@ -4,9 +4,23 @@ import { Directionality } from "@angular/cdk/bidi";
|
|
|
4
4
|
import { DateTime } from "luxon";
|
|
5
5
|
export type DeepPartial<T> = T extends ((...args: never[]) => unknown) ? T : T extends readonly (infer U)[] ? readonly DeepPartial<U>[] : T extends object ? { [K in keyof T]?: DeepPartial<T[K]>; } : T;
|
|
6
6
|
export type MonaTextDirection = "ltr" | "rtl";
|
|
7
|
+
/**
|
|
8
|
+
* The alert's dismiss button.
|
|
9
|
+
*/
|
|
10
|
+
export interface MonaAlertMessages {
|
|
11
|
+
/** Name of the button that dismisses the alert, with the alert's title when it has one. */
|
|
12
|
+
dismissLabel(title?: string): string;
|
|
13
|
+
}
|
|
7
14
|
export interface MonaAutoCompleteMessages {
|
|
8
15
|
readonly clear: string;
|
|
9
16
|
}
|
|
17
|
+
/**
|
|
18
|
+
* The avatar group's count of the avatars it doesn't show.
|
|
19
|
+
*/
|
|
20
|
+
export interface MonaAvatarMessages {
|
|
21
|
+
/** Name of the item that stands for the avatars past `max`, such as "3 more". It shows the count as "+3". */
|
|
22
|
+
moreLabel(count: number): string;
|
|
23
|
+
}
|
|
10
24
|
export interface MonaBreadcrumbMessages {
|
|
11
25
|
readonly breadcrumb: string;
|
|
12
26
|
readonly showFullPath: string;
|
|
@@ -833,6 +847,13 @@ export interface MonaTimeSelectorMessages {
|
|
|
833
847
|
readonly timeSelector: string;
|
|
834
848
|
}
|
|
835
849
|
export type TimeSelectorMessages = MonaTimeSelectorMessages;
|
|
850
|
+
/**
|
|
851
|
+
* The toolbar's overflow menu.
|
|
852
|
+
*/
|
|
853
|
+
export interface MonaToolbarMessages {
|
|
854
|
+
/** Name of the button that opens the menu of the items that don't fit. */
|
|
855
|
+
readonly moreLabel: string;
|
|
856
|
+
}
|
|
836
857
|
export interface MonaTreeViewMessages {
|
|
837
858
|
/** Start of an expanded node's expander name, followed by the node's text ("Collapse Documents"). */
|
|
838
859
|
readonly collapse: string;
|
|
@@ -899,7 +920,9 @@ export interface MonaWindowMessages {
|
|
|
899
920
|
}
|
|
900
921
|
export type WindowMessages = MonaWindowMessages;
|
|
901
922
|
export interface MonaLocaleMessages {
|
|
923
|
+
alert: MonaAlertMessages;
|
|
902
924
|
autoComplete: MonaAutoCompleteMessages;
|
|
925
|
+
avatar: MonaAvatarMessages;
|
|
903
926
|
breadcrumb: MonaBreadcrumbMessages;
|
|
904
927
|
buttonGroup: MonaButtonGroupMessages;
|
|
905
928
|
calendar: MonaCalendarMessages;
|
|
@@ -945,6 +968,7 @@ export interface MonaLocaleMessages {
|
|
|
945
968
|
textBox: MonaTextBoxMessages;
|
|
946
969
|
timePicker: MonaTimePickerMessages;
|
|
947
970
|
timeSelector: MonaTimeSelectorMessages;
|
|
971
|
+
toolbar: MonaToolbarMessages;
|
|
948
972
|
treeView: MonaTreeViewMessages;
|
|
949
973
|
window: MonaWindowMessages;
|
|
950
974
|
}
|
|
@@ -2,9 +2,15 @@ export declare const MONA_AR_SA_LOCALE: {
|
|
|
2
2
|
direction: "rtl";
|
|
3
3
|
id: string;
|
|
4
4
|
messages: {
|
|
5
|
+
alert: {
|
|
6
|
+
dismissLabel: (title?: string) => string;
|
|
7
|
+
};
|
|
5
8
|
autoComplete: {
|
|
6
9
|
clear: string;
|
|
7
10
|
};
|
|
11
|
+
avatar: {
|
|
12
|
+
moreLabel: (count: number) => string;
|
|
13
|
+
};
|
|
8
14
|
breadcrumb: {
|
|
9
15
|
breadcrumb: string;
|
|
10
16
|
showFullPath: string;
|
|
@@ -563,6 +569,9 @@ export declare const MONA_AR_SA_LOCALE: {
|
|
|
563
569
|
set: string;
|
|
564
570
|
timeSelector: string;
|
|
565
571
|
};
|
|
572
|
+
toolbar: {
|
|
573
|
+
moreLabel: string;
|
|
574
|
+
};
|
|
566
575
|
treeView: {
|
|
567
576
|
collapse: string;
|
|
568
577
|
expand: string;
|
|
@@ -2,9 +2,15 @@ export declare const MONA_DE_DE_LOCALE: {
|
|
|
2
2
|
direction: "ltr";
|
|
3
3
|
id: string;
|
|
4
4
|
messages: {
|
|
5
|
+
alert: {
|
|
6
|
+
dismissLabel: (title?: string) => string;
|
|
7
|
+
};
|
|
5
8
|
autoComplete: {
|
|
6
9
|
clear: string;
|
|
7
10
|
};
|
|
11
|
+
avatar: {
|
|
12
|
+
moreLabel: (count: number) => string;
|
|
13
|
+
};
|
|
8
14
|
breadcrumb: {
|
|
9
15
|
breadcrumb: string;
|
|
10
16
|
showFullPath: string;
|
|
@@ -563,6 +569,9 @@ export declare const MONA_DE_DE_LOCALE: {
|
|
|
563
569
|
set: string;
|
|
564
570
|
timeSelector: string;
|
|
565
571
|
};
|
|
572
|
+
toolbar: {
|
|
573
|
+
moreLabel: string;
|
|
574
|
+
};
|
|
566
575
|
treeView: {
|
|
567
576
|
collapse: string;
|
|
568
577
|
expand: string;
|
|
@@ -2,9 +2,15 @@ export declare const MONA_ES_ES_LOCALE: {
|
|
|
2
2
|
direction: "ltr";
|
|
3
3
|
id: string;
|
|
4
4
|
messages: {
|
|
5
|
+
alert: {
|
|
6
|
+
dismissLabel: (title?: string) => string;
|
|
7
|
+
};
|
|
5
8
|
autoComplete: {
|
|
6
9
|
clear: string;
|
|
7
10
|
};
|
|
11
|
+
avatar: {
|
|
12
|
+
moreLabel: (count: number) => string;
|
|
13
|
+
};
|
|
8
14
|
breadcrumb: {
|
|
9
15
|
breadcrumb: string;
|
|
10
16
|
showFullPath: string;
|
|
@@ -563,6 +569,9 @@ export declare const MONA_ES_ES_LOCALE: {
|
|
|
563
569
|
set: string;
|
|
564
570
|
timeSelector: string;
|
|
565
571
|
};
|
|
572
|
+
toolbar: {
|
|
573
|
+
moreLabel: string;
|
|
574
|
+
};
|
|
566
575
|
treeView: {
|
|
567
576
|
collapse: string;
|
|
568
577
|
expand: string;
|
|
@@ -2,9 +2,15 @@ export declare const MONA_FR_FR_LOCALE: {
|
|
|
2
2
|
direction: "ltr";
|
|
3
3
|
id: string;
|
|
4
4
|
messages: {
|
|
5
|
+
alert: {
|
|
6
|
+
dismissLabel: (title?: string) => string;
|
|
7
|
+
};
|
|
5
8
|
autoComplete: {
|
|
6
9
|
clear: string;
|
|
7
10
|
};
|
|
11
|
+
avatar: {
|
|
12
|
+
moreLabel: (count: number) => string;
|
|
13
|
+
};
|
|
8
14
|
breadcrumb: {
|
|
9
15
|
breadcrumb: string;
|
|
10
16
|
showFullPath: string;
|
|
@@ -563,6 +569,9 @@ export declare const MONA_FR_FR_LOCALE: {
|
|
|
563
569
|
set: string;
|
|
564
570
|
timeSelector: string;
|
|
565
571
|
};
|
|
572
|
+
toolbar: {
|
|
573
|
+
moreLabel: string;
|
|
574
|
+
};
|
|
566
575
|
treeView: {
|
|
567
576
|
collapse: string;
|
|
568
577
|
expand: string;
|
|
@@ -2,9 +2,15 @@ export declare const MONA_ID_ID_LOCALE: {
|
|
|
2
2
|
direction: "ltr";
|
|
3
3
|
id: string;
|
|
4
4
|
messages: {
|
|
5
|
+
alert: {
|
|
6
|
+
dismissLabel: (title?: string) => string;
|
|
7
|
+
};
|
|
5
8
|
autoComplete: {
|
|
6
9
|
clear: string;
|
|
7
10
|
};
|
|
11
|
+
avatar: {
|
|
12
|
+
moreLabel: (count: number) => string;
|
|
13
|
+
};
|
|
8
14
|
breadcrumb: {
|
|
9
15
|
breadcrumb: string;
|
|
10
16
|
showFullPath: string;
|
|
@@ -563,6 +569,9 @@ export declare const MONA_ID_ID_LOCALE: {
|
|
|
563
569
|
set: string;
|
|
564
570
|
timeSelector: string;
|
|
565
571
|
};
|
|
572
|
+
toolbar: {
|
|
573
|
+
moreLabel: string;
|
|
574
|
+
};
|
|
566
575
|
treeView: {
|
|
567
576
|
collapse: string;
|
|
568
577
|
expand: string;
|
|
@@ -2,9 +2,15 @@ export declare const MONA_IT_IT_LOCALE: {
|
|
|
2
2
|
direction: "ltr";
|
|
3
3
|
id: string;
|
|
4
4
|
messages: {
|
|
5
|
+
alert: {
|
|
6
|
+
dismissLabel: (title?: string) => string;
|
|
7
|
+
};
|
|
5
8
|
autoComplete: {
|
|
6
9
|
clear: string;
|
|
7
10
|
};
|
|
11
|
+
avatar: {
|
|
12
|
+
moreLabel: (count: number) => string;
|
|
13
|
+
};
|
|
8
14
|
breadcrumb: {
|
|
9
15
|
breadcrumb: string;
|
|
10
16
|
showFullPath: string;
|
|
@@ -563,6 +569,9 @@ export declare const MONA_IT_IT_LOCALE: {
|
|
|
563
569
|
set: string;
|
|
564
570
|
timeSelector: string;
|
|
565
571
|
};
|
|
572
|
+
toolbar: {
|
|
573
|
+
moreLabel: string;
|
|
574
|
+
};
|
|
566
575
|
treeView: {
|
|
567
576
|
collapse: string;
|
|
568
577
|
expand: string;
|
|
@@ -2,9 +2,15 @@ export declare const MONA_JA_JP_LOCALE: {
|
|
|
2
2
|
direction: "ltr";
|
|
3
3
|
id: string;
|
|
4
4
|
messages: {
|
|
5
|
+
alert: {
|
|
6
|
+
dismissLabel: (title?: string) => string;
|
|
7
|
+
};
|
|
5
8
|
autoComplete: {
|
|
6
9
|
clear: string;
|
|
7
10
|
};
|
|
11
|
+
avatar: {
|
|
12
|
+
moreLabel: (count: number) => string;
|
|
13
|
+
};
|
|
8
14
|
breadcrumb: {
|
|
9
15
|
breadcrumb: string;
|
|
10
16
|
showFullPath: string;
|
|
@@ -563,6 +569,9 @@ export declare const MONA_JA_JP_LOCALE: {
|
|
|
563
569
|
set: string;
|
|
564
570
|
timeSelector: string;
|
|
565
571
|
};
|
|
572
|
+
toolbar: {
|
|
573
|
+
moreLabel: string;
|
|
574
|
+
};
|
|
566
575
|
treeView: {
|
|
567
576
|
collapse: string;
|
|
568
577
|
expand: string;
|
|
@@ -2,9 +2,15 @@ export declare const MONA_KO_KR_LOCALE: {
|
|
|
2
2
|
direction: "ltr";
|
|
3
3
|
id: string;
|
|
4
4
|
messages: {
|
|
5
|
+
alert: {
|
|
6
|
+
dismissLabel: (title?: string) => string;
|
|
7
|
+
};
|
|
5
8
|
autoComplete: {
|
|
6
9
|
clear: string;
|
|
7
10
|
};
|
|
11
|
+
avatar: {
|
|
12
|
+
moreLabel: (count: number) => string;
|
|
13
|
+
};
|
|
8
14
|
breadcrumb: {
|
|
9
15
|
breadcrumb: string;
|
|
10
16
|
showFullPath: string;
|
|
@@ -563,6 +569,9 @@ export declare const MONA_KO_KR_LOCALE: {
|
|
|
563
569
|
set: string;
|
|
564
570
|
timeSelector: string;
|
|
565
571
|
};
|
|
572
|
+
toolbar: {
|
|
573
|
+
moreLabel: string;
|
|
574
|
+
};
|
|
566
575
|
treeView: {
|
|
567
576
|
collapse: string;
|
|
568
577
|
expand: string;
|
|
@@ -2,9 +2,15 @@ export declare const MONA_PL_PL_LOCALE: {
|
|
|
2
2
|
direction: "ltr";
|
|
3
3
|
id: string;
|
|
4
4
|
messages: {
|
|
5
|
+
alert: {
|
|
6
|
+
dismissLabel: (title?: string) => string;
|
|
7
|
+
};
|
|
5
8
|
autoComplete: {
|
|
6
9
|
clear: string;
|
|
7
10
|
};
|
|
11
|
+
avatar: {
|
|
12
|
+
moreLabel: (count: number) => string;
|
|
13
|
+
};
|
|
8
14
|
breadcrumb: {
|
|
9
15
|
breadcrumb: string;
|
|
10
16
|
showFullPath: string;
|
|
@@ -563,6 +569,9 @@ export declare const MONA_PL_PL_LOCALE: {
|
|
|
563
569
|
set: string;
|
|
564
570
|
timeSelector: string;
|
|
565
571
|
};
|
|
572
|
+
toolbar: {
|
|
573
|
+
moreLabel: string;
|
|
574
|
+
};
|
|
566
575
|
treeView: {
|
|
567
576
|
collapse: string;
|
|
568
577
|
expand: string;
|
|
@@ -2,9 +2,15 @@ export declare const MONA_PT_BR_LOCALE: {
|
|
|
2
2
|
direction: "ltr";
|
|
3
3
|
id: string;
|
|
4
4
|
messages: {
|
|
5
|
+
alert: {
|
|
6
|
+
dismissLabel: (title?: string) => string;
|
|
7
|
+
};
|
|
5
8
|
autoComplete: {
|
|
6
9
|
clear: string;
|
|
7
10
|
};
|
|
11
|
+
avatar: {
|
|
12
|
+
moreLabel: (count: number) => string;
|
|
13
|
+
};
|
|
8
14
|
breadcrumb: {
|
|
9
15
|
breadcrumb: string;
|
|
10
16
|
showFullPath: string;
|
|
@@ -563,6 +569,9 @@ export declare const MONA_PT_BR_LOCALE: {
|
|
|
563
569
|
set: string;
|
|
564
570
|
timeSelector: string;
|
|
565
571
|
};
|
|
572
|
+
toolbar: {
|
|
573
|
+
moreLabel: string;
|
|
574
|
+
};
|
|
566
575
|
treeView: {
|
|
567
576
|
collapse: string;
|
|
568
577
|
expand: string;
|
|
@@ -2,9 +2,15 @@ export declare const MONA_RU_RU_LOCALE: {
|
|
|
2
2
|
direction: "ltr";
|
|
3
3
|
id: string;
|
|
4
4
|
messages: {
|
|
5
|
+
alert: {
|
|
6
|
+
dismissLabel: (title?: string) => string;
|
|
7
|
+
};
|
|
5
8
|
autoComplete: {
|
|
6
9
|
clear: string;
|
|
7
10
|
};
|
|
11
|
+
avatar: {
|
|
12
|
+
moreLabel: (count: number) => string;
|
|
13
|
+
};
|
|
8
14
|
breadcrumb: {
|
|
9
15
|
breadcrumb: string;
|
|
10
16
|
showFullPath: string;
|
|
@@ -563,6 +569,9 @@ export declare const MONA_RU_RU_LOCALE: {
|
|
|
563
569
|
set: string;
|
|
564
570
|
timeSelector: string;
|
|
565
571
|
};
|
|
572
|
+
toolbar: {
|
|
573
|
+
moreLabel: string;
|
|
574
|
+
};
|
|
566
575
|
treeView: {
|
|
567
576
|
collapse: string;
|
|
568
577
|
expand: string;
|
|
@@ -2,9 +2,15 @@ export declare const MONA_TR_TR_LOCALE: {
|
|
|
2
2
|
direction: "ltr";
|
|
3
3
|
id: string;
|
|
4
4
|
messages: {
|
|
5
|
+
alert: {
|
|
6
|
+
dismissLabel: (title?: string) => string;
|
|
7
|
+
};
|
|
5
8
|
autoComplete: {
|
|
6
9
|
clear: string;
|
|
7
10
|
};
|
|
11
|
+
avatar: {
|
|
12
|
+
moreLabel: (count: number) => string;
|
|
13
|
+
};
|
|
8
14
|
breadcrumb: {
|
|
9
15
|
breadcrumb: string;
|
|
10
16
|
showFullPath: string;
|
|
@@ -563,6 +569,9 @@ export declare const MONA_TR_TR_LOCALE: {
|
|
|
563
569
|
set: string;
|
|
564
570
|
timeSelector: string;
|
|
565
571
|
};
|
|
572
|
+
toolbar: {
|
|
573
|
+
moreLabel: string;
|
|
574
|
+
};
|
|
566
575
|
treeView: {
|
|
567
576
|
collapse: string;
|
|
568
577
|
expand: string;
|
|
@@ -2,9 +2,15 @@ export declare const MONA_ZH_CN_LOCALE: {
|
|
|
2
2
|
direction: "ltr";
|
|
3
3
|
id: string;
|
|
4
4
|
messages: {
|
|
5
|
+
alert: {
|
|
6
|
+
dismissLabel: (title?: string) => string;
|
|
7
|
+
};
|
|
5
8
|
autoComplete: {
|
|
6
9
|
clear: string;
|
|
7
10
|
};
|
|
11
|
+
avatar: {
|
|
12
|
+
moreLabel: (count: number) => string;
|
|
13
|
+
};
|
|
8
14
|
breadcrumb: {
|
|
9
15
|
breadcrumb: string;
|
|
10
16
|
showFullPath: string;
|
|
@@ -563,6 +569,9 @@ export declare const MONA_ZH_CN_LOCALE: {
|
|
|
563
569
|
set: string;
|
|
564
570
|
timeSelector: string;
|
|
565
571
|
};
|
|
572
|
+
toolbar: {
|
|
573
|
+
moreLabel: string;
|
|
574
|
+
};
|
|
566
575
|
treeView: {
|
|
567
576
|
collapse: string;
|
|
568
577
|
expand: string;
|