@db-ux/ngx-core-components 4.5.4-mcp-e4cd7e6 → 4.5.4-table-c758ae7
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/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { AfterViewInit, InputSignal, ElementRef, OnDestroy, ModelSignal, Renderer2 } from '@angular/core';
|
|
3
3
|
import { IconTypes } from '@db-ux/core-foundations';
|
|
4
4
|
import { ControlValueAccessor } from '@angular/forms';
|
|
5
|
+
import * as _db_ux_ngx_core_components from '@db-ux/ngx-core-components';
|
|
5
6
|
|
|
6
7
|
interface GlobalProps {
|
|
7
8
|
/**
|
|
@@ -464,11 +465,11 @@ type CloseEventProps<T> = {
|
|
|
464
465
|
type CloseEventState<T> = {
|
|
465
466
|
handleClose: (event?: T | void, forceClose?: boolean) => void;
|
|
466
467
|
};
|
|
467
|
-
declare const AlignmentList: readonly ["start", "center"];
|
|
468
|
+
declare const AlignmentList: readonly ["start", "center", "end"];
|
|
468
469
|
type AlignmentType = (typeof AlignmentList)[number];
|
|
469
470
|
type AlignmentProps = {
|
|
470
471
|
/**
|
|
471
|
-
* Define the content alignment
|
|
472
|
+
* Define the content alignment
|
|
472
473
|
*/
|
|
473
474
|
alignment?: AlignmentType | string;
|
|
474
475
|
};
|
|
@@ -558,6 +559,46 @@ interface PatternhubProps {
|
|
|
558
559
|
*/
|
|
559
560
|
isPatternhub?: boolean;
|
|
560
561
|
}
|
|
562
|
+
type DBTableCellProps = {
|
|
563
|
+
/**
|
|
564
|
+
* The **`colSpan`** read-only property of the HTMLTableCellElement interface represents the number of columns this cell must span; this lets the cell occupy space across multiple columns of the table.
|
|
565
|
+
*
|
|
566
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/colSpan)
|
|
567
|
+
*/
|
|
568
|
+
colSpan?: number | string;
|
|
569
|
+
/**
|
|
570
|
+
* The **`colSpan`** read-only property of the HTMLTableCellElement interface represents the number of columns this cell must span; this lets the cell occupy space across multiple columns of the table.
|
|
571
|
+
*
|
|
572
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/colSpan)
|
|
573
|
+
*/
|
|
574
|
+
colspan?: number | string;
|
|
575
|
+
/**
|
|
576
|
+
* The **`headers`** property of the HTMLTableCellElement interface contains a list of IDs of th elements that are _headers_ for this specific cell.
|
|
577
|
+
*
|
|
578
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/headers)
|
|
579
|
+
*/
|
|
580
|
+
headers?: string;
|
|
581
|
+
/**
|
|
582
|
+
* The **`rowSpan`** read-only property of the HTMLTableCellElement interface represents the number of rows this cell must span; this lets the cell occupy space across multiple rows of the table.
|
|
583
|
+
*
|
|
584
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/rowSpan)
|
|
585
|
+
*/
|
|
586
|
+
rowSpan?: number | string;
|
|
587
|
+
/**
|
|
588
|
+
* The **`rowSpan`** read-only property of the HTMLTableCellElement interface represents the number of rows this cell must span; this lets the cell occupy space across multiple rows of the table.
|
|
589
|
+
*
|
|
590
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/rowSpan)
|
|
591
|
+
*/
|
|
592
|
+
rowspan?: number | string;
|
|
593
|
+
/**
|
|
594
|
+
* Set the horizontal alignment of the cell content.
|
|
595
|
+
*/
|
|
596
|
+
horizontalAlignment?: AlignmentType;
|
|
597
|
+
/**
|
|
598
|
+
* Set the vertical alignment of the cell content.
|
|
599
|
+
*/
|
|
600
|
+
verticalAlignment?: AlignmentType;
|
|
601
|
+
};
|
|
561
602
|
|
|
562
603
|
declare const uuid: () => string;
|
|
563
604
|
declare const addAttributeToChildren: (element: Element, attribute: {
|
|
@@ -3423,5 +3464,385 @@ declare const getFloatingProps: (element: HTMLElement, parent: HTMLElement, plac
|
|
|
3423
3464
|
};
|
|
3424
3465
|
declare const handleFixedPopover: (element: HTMLElement, parent: HTMLElement, placement: string) => void;
|
|
3425
3466
|
|
|
3426
|
-
|
|
3427
|
-
|
|
3467
|
+
type DBTableDataCellDefaultProps = {};
|
|
3468
|
+
type DBTableDataCellProps = DBTableDataCellDefaultProps & GlobalProps & DBTableCellProps;
|
|
3469
|
+
type DBTableDataCellDefaultState = {};
|
|
3470
|
+
type DBTableDataCellState = DBTableDataCellDefaultState & GlobalState;
|
|
3471
|
+
|
|
3472
|
+
declare const DBTableHeaderCellScopeList: readonly ["row", "col", "rowgroup", "colgroup"];
|
|
3473
|
+
type DBTableHeaderCellScopeType = (typeof DBTableHeaderCellScopeList)[number];
|
|
3474
|
+
type DBTableHeaderCellDefaultProps = {
|
|
3475
|
+
/**
|
|
3476
|
+
* The **`abbr`** property of the HTMLTableCellElement interface indicates an abbreviation associated with the cell.
|
|
3477
|
+
*
|
|
3478
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/abbr)
|
|
3479
|
+
*/
|
|
3480
|
+
abbr?: string;
|
|
3481
|
+
/**
|
|
3482
|
+
* The **`scope`** property of the HTMLTableCellElement interface indicates the scope of a th cell.
|
|
3483
|
+
*
|
|
3484
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/scope)
|
|
3485
|
+
*/
|
|
3486
|
+
scope?: DBTableHeaderCellScopeType;
|
|
3487
|
+
/**
|
|
3488
|
+
* Hide the text content of the cell.
|
|
3489
|
+
*/
|
|
3490
|
+
noText?: boolean | string;
|
|
3491
|
+
};
|
|
3492
|
+
type DBTableHeaderCellProps = DBTableHeaderCellDefaultProps & GlobalProps & DBTableCellProps;
|
|
3493
|
+
type DBTableHeaderCellDefaultState = {};
|
|
3494
|
+
type DBTableHeaderCellState = DBTableHeaderCellDefaultState & GlobalState;
|
|
3495
|
+
|
|
3496
|
+
declare const DBTableRowSubHeaderEmphasisList: readonly ["none", "weak", "strong"];
|
|
3497
|
+
type DBTableRowSubHeaderEmphasisType = (typeof DBTableRowSubHeaderEmphasisList)[number];
|
|
3498
|
+
type DBTableRowCell = (DBTableHeaderCellProps | DBTableDataCellProps) & {
|
|
3499
|
+
headerCell?: boolean;
|
|
3500
|
+
content?: any;
|
|
3501
|
+
link?: DBLinkProps;
|
|
3502
|
+
};
|
|
3503
|
+
type DBTableRowDefaultProps = {
|
|
3504
|
+
/**
|
|
3505
|
+
* All cells of the row
|
|
3506
|
+
*/
|
|
3507
|
+
cells?: DBTableRowCell[];
|
|
3508
|
+
/**
|
|
3509
|
+
* Change styling of row only if it is inside thead
|
|
3510
|
+
*/
|
|
3511
|
+
subHeaderEmphasis?: DBTableRowSubHeaderEmphasisType;
|
|
3512
|
+
/**
|
|
3513
|
+
* If true marks the row as interactive, which checks for child with data-table-row-action="true"
|
|
3514
|
+
*/
|
|
3515
|
+
interactive?: boolean | string;
|
|
3516
|
+
};
|
|
3517
|
+
type DBTableRowProps = DBTableRowDefaultProps & GlobalProps;
|
|
3518
|
+
type DBTableRowDefaultState = {
|
|
3519
|
+
getHeaderCell: (cell: DBTableRowCell) => DBTableHeaderCellProps | undefined;
|
|
3520
|
+
};
|
|
3521
|
+
type DBTableRowState = DBTableRowDefaultState & GlobalState;
|
|
3522
|
+
|
|
3523
|
+
declare const DBTableRowSizeList: readonly ["x-small", "small", "medium", "large"];
|
|
3524
|
+
type DBTableRowSizeType = (typeof DBTableRowSizeList)[number];
|
|
3525
|
+
declare const DBTableVariantList: readonly ["joined", "zebra", "floating"];
|
|
3526
|
+
type DBTableVariantType = (typeof DBTableVariantList)[number];
|
|
3527
|
+
declare const DBTableDividerList: readonly ["none", "both", "horizontal", "vertical"];
|
|
3528
|
+
type DBTableDividerType = (typeof DBTableDividerList)[number];
|
|
3529
|
+
declare const DBTableMobileVariantList: readonly ["table", "list"];
|
|
3530
|
+
type DBTableMobileVariantType = (typeof DBTableMobileVariantList)[number];
|
|
3531
|
+
declare const DBTableStickHeaderList: readonly ["none", "both", "horizontal", "vertical"];
|
|
3532
|
+
type DBTableStickHederType = (typeof DBTableStickHeaderList)[number];
|
|
3533
|
+
type DBTableData = {
|
|
3534
|
+
header?: DBTableRowDefaultProps[];
|
|
3535
|
+
body?: DBTableRowDefaultProps[];
|
|
3536
|
+
footer?: DBTableRowDefaultProps[];
|
|
3537
|
+
};
|
|
3538
|
+
declare const DBTableColumnsSizeList: readonly ["auto", "1fr", "min-content", "max-content"];
|
|
3539
|
+
type DBTableColumnsSizeType = (typeof DBTableColumnsSizeList)[number];
|
|
3540
|
+
type DBTableDefaultProps = {
|
|
3541
|
+
/**
|
|
3542
|
+
* Slot for table caption
|
|
3543
|
+
*/
|
|
3544
|
+
caption?: any;
|
|
3545
|
+
/**
|
|
3546
|
+
* String alternative for table caption slot
|
|
3547
|
+
*/
|
|
3548
|
+
captionPlain?: string;
|
|
3549
|
+
/**
|
|
3550
|
+
* Table data if you don't use default slot/children
|
|
3551
|
+
*/
|
|
3552
|
+
data?: DBTableData | string;
|
|
3553
|
+
/**
|
|
3554
|
+
* Show the divider between the rows and cells
|
|
3555
|
+
*/
|
|
3556
|
+
divider?: DBTableDividerType;
|
|
3557
|
+
/**
|
|
3558
|
+
* Show caption above table default is hidden
|
|
3559
|
+
*/
|
|
3560
|
+
showCaption?: boolean | string;
|
|
3561
|
+
/**
|
|
3562
|
+
* Size of the table rows
|
|
3563
|
+
*/
|
|
3564
|
+
size?: DBTableRowSizeType;
|
|
3565
|
+
/**
|
|
3566
|
+
* Change the layout of the table
|
|
3567
|
+
* floating: card style table
|
|
3568
|
+
* joined: classic table
|
|
3569
|
+
*/
|
|
3570
|
+
variant?: DBTableVariantType;
|
|
3571
|
+
/**
|
|
3572
|
+
* Change the layout of the table on mobile
|
|
3573
|
+
* list: list style
|
|
3574
|
+
* table: classic table
|
|
3575
|
+
*/
|
|
3576
|
+
mobileVariant?: DBTableMobileVariantType;
|
|
3577
|
+
/**
|
|
3578
|
+
* Change the header cells to be sticky when scrolling the table
|
|
3579
|
+
*/
|
|
3580
|
+
stickyHeader?: DBTableStickHederType;
|
|
3581
|
+
/**
|
|
3582
|
+
* Set the width of the columns based in their index.
|
|
3583
|
+
* Alternative: Use `--db-table-column-size-$index` inside CSS to control it.
|
|
3584
|
+
* See: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/grid-template-columns
|
|
3585
|
+
*/
|
|
3586
|
+
columnSizes?: Record<number, DBTableColumnsSizeType | string>;
|
|
3587
|
+
};
|
|
3588
|
+
type DBTableProps = DBTableDefaultProps & GlobalProps & WidthProps;
|
|
3589
|
+
type DBTableDefaultState = {
|
|
3590
|
+
_data?: DBTableData;
|
|
3591
|
+
_style?: any;
|
|
3592
|
+
convertData: () => DBTableData;
|
|
3593
|
+
};
|
|
3594
|
+
type DBTableState = DBTableDefaultState & GlobalState;
|
|
3595
|
+
|
|
3596
|
+
declare class DBTable implements AfterViewInit {
|
|
3597
|
+
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
3598
|
+
protected readonly getBooleanAsString: (originBool?: boolean | string) => any;
|
|
3599
|
+
data: InputSignal<DBTableProps["data"]>;
|
|
3600
|
+
mobileVariant: InputSignal<DBTableProps["mobileVariant"]>;
|
|
3601
|
+
columnSizes: InputSignal<DBTableProps["columnSizes"]>;
|
|
3602
|
+
className: InputSignal<DBTableProps["className"]>;
|
|
3603
|
+
width: InputSignal<DBTableProps["width"]>;
|
|
3604
|
+
size: InputSignal<DBTableProps["size"]>;
|
|
3605
|
+
divider: InputSignal<DBTableProps["divider"]>;
|
|
3606
|
+
variant: InputSignal<DBTableProps["variant"]>;
|
|
3607
|
+
showCaption: InputSignal<DBTableProps["showCaption"]>;
|
|
3608
|
+
stickyHeader: InputSignal<DBTableProps["stickyHeader"]>;
|
|
3609
|
+
id: InputSignal<DBTableProps["id"]>;
|
|
3610
|
+
captionPlain: InputSignal<DBTableProps["captionPlain"]>;
|
|
3611
|
+
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
3612
|
+
_data: _angular_core.WritableSignal<DBTableData | undefined>;
|
|
3613
|
+
_style: _angular_core.WritableSignal<any>;
|
|
3614
|
+
convertData(): any;
|
|
3615
|
+
constructor();
|
|
3616
|
+
/**
|
|
3617
|
+
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
3618
|
+
* @param element the ref for the component
|
|
3619
|
+
* @param customElementSelector the custom element like `my-component`
|
|
3620
|
+
*/
|
|
3621
|
+
private enableAttributePassing;
|
|
3622
|
+
ngAfterViewInit(): void;
|
|
3623
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBTable, never>;
|
|
3624
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBTable, "db-table", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "mobileVariant": { "alias": "mobileVariant"; "required": false; "isSignal": true; }; "columnSizes": { "alias": "columnSizes"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "divider": { "alias": "divider"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "showCaption": { "alias": "showCaption"; "required": false; "isSignal": true; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "captionPlain": { "alias": "captionPlain"; "required": false; "isSignal": true; }; }, {}, never, ["[caption]", "*"], true, never>;
|
|
3625
|
+
}
|
|
3626
|
+
|
|
3627
|
+
type DBTableCaptionDefaultProps = {};
|
|
3628
|
+
type DBTableCaptionProps = DBTableCaptionDefaultProps & GlobalProps;
|
|
3629
|
+
type DBTableCaptionDefaultState = {};
|
|
3630
|
+
type DBTableCaptionState = DBTableCaptionDefaultState & GlobalState;
|
|
3631
|
+
|
|
3632
|
+
declare class DBTableCaption implements AfterViewInit {
|
|
3633
|
+
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
3634
|
+
id: InputSignal<DBTableCaptionProps["id"]>;
|
|
3635
|
+
className: InputSignal<DBTableCaptionProps["className"]>;
|
|
3636
|
+
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
3637
|
+
constructor();
|
|
3638
|
+
/**
|
|
3639
|
+
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
3640
|
+
* @param element the ref for the component
|
|
3641
|
+
* @param customElementSelector the custom element like `my-component`
|
|
3642
|
+
*/
|
|
3643
|
+
private enableAttributePassing;
|
|
3644
|
+
ngAfterViewInit(): void;
|
|
3645
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBTableCaption, never>;
|
|
3646
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBTableCaption, "db-table-caption", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
3647
|
+
}
|
|
3648
|
+
|
|
3649
|
+
type DBTableHeadDefaultProps = {
|
|
3650
|
+
rows?: DBTableRowProps[];
|
|
3651
|
+
};
|
|
3652
|
+
type DBTableHeadProps = DBTableHeadDefaultProps & GlobalProps;
|
|
3653
|
+
type DBTableHeadDefaultState = {
|
|
3654
|
+
getCells: (cells?: DBTableRowCell[]) => DBTableRowCell[] | undefined;
|
|
3655
|
+
};
|
|
3656
|
+
type DBTableHeadState = DBTableHeadDefaultState & GlobalState;
|
|
3657
|
+
|
|
3658
|
+
declare class DBTableHead implements AfterViewInit {
|
|
3659
|
+
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
3660
|
+
protected readonly uuid: () => string;
|
|
3661
|
+
id: InputSignal<DBTableHeadProps["id"]>;
|
|
3662
|
+
className: InputSignal<DBTableHeadProps["className"]>;
|
|
3663
|
+
rows: InputSignal<DBTableHeadProps["rows"]>;
|
|
3664
|
+
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
3665
|
+
getCells(cells?: DBTableRowCell[]): ({
|
|
3666
|
+
headerCell: boolean;
|
|
3667
|
+
children?: any;
|
|
3668
|
+
className?: string;
|
|
3669
|
+
class?: string | any;
|
|
3670
|
+
id?: string;
|
|
3671
|
+
autofocus?: boolean | string;
|
|
3672
|
+
propOverrides?: _db_ux_ngx_core_components.PropOverridesType;
|
|
3673
|
+
colSpan?: number | string;
|
|
3674
|
+
colspan?: number | string;
|
|
3675
|
+
headers?: string;
|
|
3676
|
+
rowSpan?: number | string;
|
|
3677
|
+
rowspan?: number | string;
|
|
3678
|
+
horizontalAlignment?: _db_ux_ngx_core_components.AlignmentType;
|
|
3679
|
+
verticalAlignment?: _db_ux_ngx_core_components.AlignmentType;
|
|
3680
|
+
content?: any;
|
|
3681
|
+
link?: _db_ux_ngx_core_components.DBLinkProps;
|
|
3682
|
+
} | {
|
|
3683
|
+
headerCell: boolean;
|
|
3684
|
+
abbr?: string;
|
|
3685
|
+
scope?: _db_ux_ngx_core_components.DBTableHeaderCellScopeType;
|
|
3686
|
+
noText?: boolean | string;
|
|
3687
|
+
children?: any;
|
|
3688
|
+
className?: string;
|
|
3689
|
+
class?: string | any;
|
|
3690
|
+
id?: string;
|
|
3691
|
+
autofocus?: boolean | string;
|
|
3692
|
+
propOverrides?: _db_ux_ngx_core_components.PropOverridesType;
|
|
3693
|
+
colSpan?: number | string;
|
|
3694
|
+
colspan?: number | string;
|
|
3695
|
+
headers?: string;
|
|
3696
|
+
rowSpan?: number | string;
|
|
3697
|
+
rowspan?: number | string;
|
|
3698
|
+
horizontalAlignment?: _db_ux_ngx_core_components.AlignmentType;
|
|
3699
|
+
verticalAlignment?: _db_ux_ngx_core_components.AlignmentType;
|
|
3700
|
+
content?: any;
|
|
3701
|
+
link?: _db_ux_ngx_core_components.DBLinkProps;
|
|
3702
|
+
})[] | undefined;
|
|
3703
|
+
trackByRow0(index: number, row: any): string;
|
|
3704
|
+
constructor();
|
|
3705
|
+
/**
|
|
3706
|
+
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
3707
|
+
* @param element the ref for the component
|
|
3708
|
+
* @param customElementSelector the custom element like `my-component`
|
|
3709
|
+
*/
|
|
3710
|
+
private enableAttributePassing;
|
|
3711
|
+
ngAfterViewInit(): void;
|
|
3712
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBTableHead, never>;
|
|
3713
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBTableHead, "db-table-head", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
3714
|
+
}
|
|
3715
|
+
|
|
3716
|
+
type DBTableBodyDefaultProps = {
|
|
3717
|
+
rows?: DBTableRowProps[];
|
|
3718
|
+
};
|
|
3719
|
+
type DBTableBodyProps = DBTableBodyDefaultProps & GlobalProps;
|
|
3720
|
+
type DBTableBodyDefaultState = {};
|
|
3721
|
+
type DBTableBodyState = DBTableBodyDefaultState & GlobalState;
|
|
3722
|
+
|
|
3723
|
+
declare class DBTableBody implements AfterViewInit {
|
|
3724
|
+
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
3725
|
+
protected readonly uuid: () => string;
|
|
3726
|
+
id: InputSignal<DBTableBodyProps["id"]>;
|
|
3727
|
+
className: InputSignal<DBTableBodyProps["className"]>;
|
|
3728
|
+
rows: InputSignal<DBTableBodyProps["rows"]>;
|
|
3729
|
+
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
3730
|
+
trackByRow0(index: number, row: any): string;
|
|
3731
|
+
constructor();
|
|
3732
|
+
/**
|
|
3733
|
+
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
3734
|
+
* @param element the ref for the component
|
|
3735
|
+
* @param customElementSelector the custom element like `my-component`
|
|
3736
|
+
*/
|
|
3737
|
+
private enableAttributePassing;
|
|
3738
|
+
ngAfterViewInit(): void;
|
|
3739
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBTableBody, never>;
|
|
3740
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBTableBody, "db-table-body", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
3741
|
+
}
|
|
3742
|
+
|
|
3743
|
+
type DBTableFooterDefaultProps = {
|
|
3744
|
+
rows?: DBTableRowProps[];
|
|
3745
|
+
};
|
|
3746
|
+
type DBTableFooterProps = DBTableFooterDefaultProps & GlobalProps;
|
|
3747
|
+
type DBTableFooterDefaultState = {};
|
|
3748
|
+
type DBTableFooterState = DBTableFooterDefaultState & GlobalState;
|
|
3749
|
+
|
|
3750
|
+
declare class DBTableFooter implements AfterViewInit {
|
|
3751
|
+
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
3752
|
+
protected readonly uuid: () => string;
|
|
3753
|
+
id: InputSignal<DBTableFooterProps["id"]>;
|
|
3754
|
+
className: InputSignal<DBTableFooterProps["className"]>;
|
|
3755
|
+
rows: InputSignal<DBTableFooterProps["rows"]>;
|
|
3756
|
+
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
3757
|
+
trackByRow0(index: number, row: any): string;
|
|
3758
|
+
constructor();
|
|
3759
|
+
/**
|
|
3760
|
+
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
3761
|
+
* @param element the ref for the component
|
|
3762
|
+
* @param customElementSelector the custom element like `my-component`
|
|
3763
|
+
*/
|
|
3764
|
+
private enableAttributePassing;
|
|
3765
|
+
ngAfterViewInit(): void;
|
|
3766
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBTableFooter, never>;
|
|
3767
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBTableFooter, "db-table-footer", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
3768
|
+
}
|
|
3769
|
+
|
|
3770
|
+
declare class DBTableRow implements AfterViewInit {
|
|
3771
|
+
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
3772
|
+
protected readonly getBooleanAsString: (originBool?: boolean | string) => any;
|
|
3773
|
+
protected readonly uuid: () => string;
|
|
3774
|
+
id: InputSignal<DBTableRowProps["id"]>;
|
|
3775
|
+
className: InputSignal<DBTableRowProps["className"]>;
|
|
3776
|
+
interactive: InputSignal<DBTableRowProps["interactive"]>;
|
|
3777
|
+
subHeaderEmphasis: InputSignal<DBTableRowProps["subHeaderEmphasis"]>;
|
|
3778
|
+
cells: InputSignal<DBTableRowProps["cells"]>;
|
|
3779
|
+
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
3780
|
+
getHeaderCell(cell: DBTableRowCell): DBTableHeaderCellProps | undefined;
|
|
3781
|
+
constructor();
|
|
3782
|
+
/**
|
|
3783
|
+
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
3784
|
+
* @param element the ref for the component
|
|
3785
|
+
* @param customElementSelector the custom element like `my-component`
|
|
3786
|
+
*/
|
|
3787
|
+
private enableAttributePassing;
|
|
3788
|
+
ngAfterViewInit(): void;
|
|
3789
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBTableRow, never>;
|
|
3790
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBTableRow, "db-table-row", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "subHeaderEmphasis": { "alias": "subHeaderEmphasis"; "required": false; "isSignal": true; }; "cells": { "alias": "cells"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
3791
|
+
}
|
|
3792
|
+
|
|
3793
|
+
declare class DBTableHeaderCell implements AfterViewInit {
|
|
3794
|
+
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
3795
|
+
protected readonly getBooleanAsString: (originBool?: boolean | string) => any;
|
|
3796
|
+
protected readonly getNumber: (originNumber?: number | string, alternativeNumber?: number | string) => number | undefined;
|
|
3797
|
+
id: InputSignal<DBTableHeaderCellProps["id"]>;
|
|
3798
|
+
className: InputSignal<DBTableHeaderCellProps["className"]>;
|
|
3799
|
+
horizontalAlignment: InputSignal<DBTableHeaderCellProps["horizontalAlignment"]>;
|
|
3800
|
+
verticalAlignment: InputSignal<DBTableHeaderCellProps["verticalAlignment"]>;
|
|
3801
|
+
noText: InputSignal<DBTableHeaderCellProps["noText"]>;
|
|
3802
|
+
scope: InputSignal<DBTableHeaderCellProps["scope"]>;
|
|
3803
|
+
colSpan: InputSignal<DBTableHeaderCellProps["colSpan"]>;
|
|
3804
|
+
colspan: InputSignal<DBTableHeaderCellProps["colspan"]>;
|
|
3805
|
+
rowSpan: InputSignal<DBTableHeaderCellProps["rowSpan"]>;
|
|
3806
|
+
rowspan: InputSignal<DBTableHeaderCellProps["rowspan"]>;
|
|
3807
|
+
headers: InputSignal<DBTableHeaderCellProps["headers"]>;
|
|
3808
|
+
abbr: InputSignal<DBTableHeaderCellProps["abbr"]>;
|
|
3809
|
+
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
3810
|
+
constructor();
|
|
3811
|
+
/**
|
|
3812
|
+
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
3813
|
+
* @param element the ref for the component
|
|
3814
|
+
* @param customElementSelector the custom element like `my-component`
|
|
3815
|
+
*/
|
|
3816
|
+
private enableAttributePassing;
|
|
3817
|
+
ngAfterViewInit(): void;
|
|
3818
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBTableHeaderCell, never>;
|
|
3819
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBTableHeaderCell, "db-table-header-cell", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "horizontalAlignment": { "alias": "horizontalAlignment"; "required": false; "isSignal": true; }; "verticalAlignment": { "alias": "verticalAlignment"; "required": false; "isSignal": true; }; "noText": { "alias": "noText"; "required": false; "isSignal": true; }; "scope": { "alias": "scope"; "required": false; "isSignal": true; }; "colSpan": { "alias": "colSpan"; "required": false; "isSignal": true; }; "colspan": { "alias": "colspan"; "required": false; "isSignal": true; }; "rowSpan": { "alias": "rowSpan"; "required": false; "isSignal": true; }; "rowspan": { "alias": "rowspan"; "required": false; "isSignal": true; }; "headers": { "alias": "headers"; "required": false; "isSignal": true; }; "abbr": { "alias": "abbr"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
3820
|
+
}
|
|
3821
|
+
|
|
3822
|
+
declare class DBTableDataCell implements AfterViewInit {
|
|
3823
|
+
protected readonly cls: (...args: ClassNameArg[]) => string;
|
|
3824
|
+
protected readonly getNumber: (originNumber?: number | string, alternativeNumber?: number | string) => number | undefined;
|
|
3825
|
+
id: InputSignal<DBTableDataCellProps["id"]>;
|
|
3826
|
+
className: InputSignal<DBTableDataCellProps["className"]>;
|
|
3827
|
+
horizontalAlignment: InputSignal<DBTableDataCellProps["horizontalAlignment"]>;
|
|
3828
|
+
verticalAlignment: InputSignal<DBTableDataCellProps["verticalAlignment"]>;
|
|
3829
|
+
colSpan: InputSignal<DBTableDataCellProps["colSpan"]>;
|
|
3830
|
+
colspan: InputSignal<DBTableDataCellProps["colspan"]>;
|
|
3831
|
+
rowSpan: InputSignal<DBTableDataCellProps["rowSpan"]>;
|
|
3832
|
+
rowspan: InputSignal<DBTableDataCellProps["rowspan"]>;
|
|
3833
|
+
headers: InputSignal<DBTableDataCellProps["headers"]>;
|
|
3834
|
+
_ref: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
3835
|
+
constructor();
|
|
3836
|
+
/**
|
|
3837
|
+
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
3838
|
+
* @param element the ref for the component
|
|
3839
|
+
* @param customElementSelector the custom element like `my-component`
|
|
3840
|
+
*/
|
|
3841
|
+
private enableAttributePassing;
|
|
3842
|
+
ngAfterViewInit(): void;
|
|
3843
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DBTableDataCell, never>;
|
|
3844
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DBTableDataCell, "db-table-data-cell", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "horizontalAlignment": { "alias": "horizontalAlignment"; "required": false; "isSignal": true; }; "verticalAlignment": { "alias": "verticalAlignment"; "required": false; "isSignal": true; }; "colSpan": { "alias": "colSpan"; "required": false; "isSignal": true; }; "colspan": { "alias": "colspan"; "required": false; "isSignal": true; }; "rowSpan": { "alias": "rowSpan"; "required": false; "isSignal": true; }; "rowspan": { "alias": "rowspan"; "required": false; "isSignal": true; }; "headers": { "alias": "headers"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
3845
|
+
}
|
|
3846
|
+
|
|
3847
|
+
export { AccordionBehaviorList, AccordionVariantList, AlignmentList, AutoCompleteList, BadgePlacementList, ButtonTypeList, ButtonVariantList, COLOR, COLORS, COLORS_SIMPLE, COLOR_CONST, COLOR_SIMPLE, CardBehaviorList, CardElevationLevelList, CustomSelectDropdownWidthList, CustomSelectListItemTypeList, DBAccordion, DBAccordionItem, DBBadge, DBBrand, DBButton, DBCard, DBCheckbox, DBCustomButton, DBCustomSelect, DBCustomSelectDropdown, DBCustomSelectFormField, DBCustomSelectList, DBCustomSelectListItem, DBDivider, DBDrawer, DBHeader, DBIcon, DBInfotext, DBInput, DBLink, DBNavigation, DBNavigationItem, DBNotification, DBPage, DBPopover, DBRadio, DBSection, DBSelect, DBStack, DBSwitch, DBTabItem, DBTabList, DBTabPanel, DBTable, DBTableBody, DBTableCaption, DBTableColumnsSizeList, DBTableDataCell, DBTableDividerList, DBTableFooter, DBTableHead, DBTableHeaderCell, DBTableHeaderCellScopeList, DBTableMobileVariantList, DBTableRow, DBTableRowSizeList, DBTableRowSubHeaderEmphasisList, DBTableStickHeaderList, DBTableVariantList, DBTabs, DBTag, DBTextarea, DBTooltip, DB_UX_LOCAL_STORAGE_FRAMEWORK, DB_UX_LOCAL_STORAGE_MODE, DEFAULT_BACK, DEFAULT_BURGER_MENU, DEFAULT_CLOSE_BUTTON, DEFAULT_DATALIST_ID_SUFFIX, DEFAULT_ICON, DEFAULT_ID, DEFAULT_INVALID_MESSAGE, DEFAULT_INVALID_MESSAGE_ID_SUFFIX, DEFAULT_LABEL, DEFAULT_LABEL_ID_SUFFIX, DEFAULT_MESSAGE, DEFAULT_MESSAGE_ID_SUFFIX, DEFAULT_PLACEHOLDER, DEFAULT_PLACEHOLDER_ID_SUFFIX, DEFAULT_REMOVE, DEFAULT_ROWS, DEFAULT_SELECTED, DEFAULT_SELECT_ID_SUFFIX, DEFAULT_VALID_MESSAGE, DEFAULT_VALID_MESSAGE_ID_SUFFIX, DEFAULT_VIEWPORT, DENSITIES, DENSITY, DENSITY_CONST, DESKTOP_VIEWPORT, DividerMarginList, DividerVariantList, DocumentClickListener, DocumentScrollListener, DrawerBackdropList, DrawerDirectionList, DrawerPositionList, DrawerVariantList, EmphasisList, FieldSizingList, GapSpacingList, IconWeightList, InputTypeList, LabelVariantHorizontalList, LabelVariantList, LinkContentList, LinkReferrerPolicyList, LinkSizeList, LinkTargetList, LinkVariantList, MarginList, MaxWidthList, MetaNavigationDirective, NavigationContentDirective, NavigationDirective, NavigationItemSafeTriangle, NotificationAriaLiveList, NotificationLinkVariantList, NotificationVariantList, OrientationList, PageDocumentOverflowList, PageVariantList, PlacementHorizontalList, PlacementList, PlacementVerticalList, PopoverDelayList, PopoverWidthList, SEMANTIC, SEMANTICS, SecondaryActionDirective, SelectedTypeList, SemanticList, SizeList, SpacingList, StackAlignmentList, StackDirectionList, StackJustifyContentList, StackVariantList, TESTING_VIEWPORTS, TabsBehaviorList, TabsInitialSelectedModeList, TagBehaviorList, TextareaResizeList, TextareaWrapList, TooltipVariantList, ValidationList, WidthList, addAttributeToChildren, cls, delay, getBoolean, getBooleanAsString, getFloatingProps, getHideProp, getInputValue, getNotificationRole, getNumber, getOptionKey, getSearchInput, getStep, handleDataOutside, handleFixedDropdown, handleFixedPopover, hasVoiceOver, isArrayOfStrings, isEventTargetNavigationItem, isIOSSafari, isKeyboardEvent, stringPropVisible, uuid };
|
|
3848
|
+
export type { AccordionBehaviorType, AccordionVariantType, ActiveProps, AlignmentProps, AlignmentType, AriaControlsProps, AutoCompleteType, BadgePlacementType, BaseFormProps, ButtonTypeType, ButtonVariantType, CardBehaviorType, CardElevationLevelType, ChangeEvent, ChangeEventProps, ChangeEventState, ClassNameArg, ClickEvent, ClickEventProps, ClickEventState, CloseEventProps, CloseEventState, ContainerWidthProps, ContentSlotProps, CustomFormProps, CustomSelectDropdownWidthType, CustomSelectListItemTypeType, CustomSelectOptionType, DBAccordionDefaultProps, DBAccordionDefaultState, DBAccordionItemDefaultProps, DBAccordionItemDefaultState, DBAccordionItemProps, DBAccordionItemState, DBAccordionProps, DBAccordionState, DBBadgeDefaultProps, DBBadgeDefaultState, DBBadgeProps, DBBadgeState, DBBrandDefaultProps, DBBrandDefaultState, DBBrandProps, DBBrandState, DBButtonDefaultProps, DBButtonDefaultState, DBButtonProps, DBButtonSharedProps, DBButtonState, DBCardDefaultProps, DBCardDefaultState, DBCardProps, DBCardState, DBCheckboxDefaultProps, DBCheckboxDefaultState, DBCheckboxProps, DBCheckboxState, DBCustomButtonDefaultProps, DBCustomButtonDefaultState, DBCustomButtonProps, DBCustomButtonState, DBCustomSelectDefaultProps, DBCustomSelectDefaultState, DBCustomSelectDropdownDefaultProps, DBCustomSelectDropdownDefaultState, DBCustomSelectDropdownProps, DBCustomSelectDropdownState, DBCustomSelectEvents, DBCustomSelectFormFieldDefaultProps, DBCustomSelectFormFieldDefaultState, DBCustomSelectFormFieldProps, DBCustomSelectFormFieldState, DBCustomSelectListDefaultProps, DBCustomSelectListDefaultState, DBCustomSelectListItemDefaultProps, DBCustomSelectListItemDefaultState, DBCustomSelectListItemExtraProps, DBCustomSelectListItemProps, DBCustomSelectListItemState, DBCustomSelectListProps, DBCustomSelectListState, DBCustomSelectProps, DBCustomSelectState, DBDataOutsidePair, DBDividerDefaultProps, DBDividerDefaultState, DBDividerProps, DBDividerState, DBDrawerDefaultProps, DBDrawerDefaultState, DBDrawerProps, DBDrawerState, DBHeaderDefaultProps, DBHeaderDefaultState, DBHeaderProps, DBHeaderState, DBIconDefaultProps, DBIconDefaultState, DBIconProps, DBIconState, DBInfotextDefaultProps, DBInfotextDefaultState, DBInfotextProps, DBInfotextState, DBInputDefaultProps, DBInputDefaultState, DBInputProps, DBInputState, DBLinkDefaultProps, DBLinkDefaultState, DBLinkProps, DBLinkState, DBNavigationDefaultProps, DBNavigationDefaultState, DBNavigationItemDefaultProps, DBNavigationItemDefaultState, DBNavigationItemProps, DBNavigationItemState, DBNavigationProps, DBNavigationState, DBNotificationDefaultProps, DBNotificationDefaultState, DBNotificationProps, DBNotificationState, DBPageDefaultProps, DBPageDefaultState, DBPageProps, DBPageState, DBPopoverDefaultProps, DBPopoverDefaultState, DBPopoverProps, DBPopoverState, DBRadioDefaultProps, DBRadioDefaultState, DBRadioProps, DBRadioState, DBSectionDefaultProps, DBSectionProps, DBSelectDefaultProps, DBSelectDefaultState, DBSelectOptionType, DBSelectProps, DBSelectState, DBSimpleTabProps, DBStackDefaultProps, DBStackDefaultState, DBStackProps, DBStackState, DBSwitchDefaultProps, DBSwitchDefaultState, DBSwitchProps, DBSwitchState, DBTabItemDefaultProps, DBTabItemDefaultState, DBTabItemProps, DBTabItemState, DBTabListDefaultProps, DBTabListDefaultState, DBTabListProps, DBTabListState, DBTabPanelDefaultProps, DBTabPanelDefaultState, DBTabPanelProps, DBTabPanelState, DBTableBodyDefaultProps, DBTableBodyDefaultState, DBTableBodyProps, DBTableBodyState, DBTableCaptionDefaultProps, DBTableCaptionDefaultState, DBTableCaptionProps, DBTableCaptionState, DBTableCellProps, DBTableColumnsSizeType, DBTableData, DBTableDataCellDefaultProps, DBTableDataCellDefaultState, DBTableDataCellProps, DBTableDataCellState, DBTableDefaultProps, DBTableDefaultState, DBTableDividerType, DBTableFooterDefaultProps, DBTableFooterDefaultState, DBTableFooterProps, DBTableFooterState, DBTableHeadDefaultProps, DBTableHeadDefaultState, DBTableHeadProps, DBTableHeadState, DBTableHeaderCellDefaultProps, DBTableHeaderCellDefaultState, DBTableHeaderCellProps, DBTableHeaderCellScopeType, DBTableHeaderCellState, DBTableMobileVariantType, DBTableProps, DBTableRowCell, DBTableRowDefaultProps, DBTableRowDefaultState, DBTableRowProps, DBTableRowSizeType, DBTableRowState, DBTableRowSubHeaderEmphasisType, DBTableState, DBTableStickHederType, DBTableVariantType, DBTabsDefaultProps, DBTabsDefaultState, DBTabsEventProps, DBTabsProps, DBTabsState, DBTagDefaultProps, DBTagDefaultState, DBTagEventsProps, DBTagProps, DBTagState, DBTextareaDefaultProps, DBTextareaDefaultState, DBTextareaProps, DBTextareaState, DBTooltipDefaultProps, DBTooltipDefaultState, DBTooltipProps, DBTooltipState, DividerMarginType, DividerVariantType, DocumentScrollState, DrawerBackdropType, DrawerDirectionType, DrawerPositionType, DrawerVariantType, EmphasisProps, EmphasisType, FieldSizingType, FocusEventProps, FocusEventState, FormCheckProps, FormMessageProps, FormProps, FormSizeProps, FormState, FormTextProps, FromValidState, GapProps, GapSpacingProps, GapSpacingType, GeneralEvent, GeneralKeyboardEvent, GlobalProps, GlobalState, IconLeadingProps, IconProps, IconTrailingProps, IconWeightType, InitializedState, InnerCloseButtonProps, InputEvent, InputEventProps, InputEventState, InputTypeType, InteractionEvent, LabelVariantHorizontalType, LabelVariantType, LinkContentType, LinkProps, LinkReferrerPolicyType, LinkSizeType, LinkTargetType, LinkVariantType, MarginProps, MarginType, MaxWidthType, NameProps, NameState, NavigationBackButtonProps, NavigationBehaviorState, NoTextProps, NotificationAriaLiveType, NotificationLinkVariantType, NotificationVariantType, OrientationProps, OrientationType, OverflowProps, PageDocumentOverflowType, PageVariantType, PatternhubProps, PlacementHorizontalType, PlacementProps, PlacementType, PlacementVerticalType, PopoverDelayType, PopoverProps, PopoverState, PopoverWidthType, PropOverridesType, RequiredProps, ResetIdState, RoleProps, SelectedTypeType, SemanticProps, SemanticType, ShowIconLeadingProps, ShowIconProps, ShowIconTrailingProps, ShowLabelProps, SizeProps, SizeType, SpacingProps, SpacingType, StackAlignmentType, StackDirectionType, StackJustifyContentType, StackVariantType, TabsBehaviorType, TabsInitialSelectedModeType, TagBehaviorType, TextProps, TextareaResizeType, TextareaWrapType, ToggleEventProps, ToggleEventState, TooltipVariantType, TriangleData, ValidationType, ValueLabelType, ValueProps, WidthProps, WidthType, WrapProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@db-ux/ngx-core-components",
|
|
3
|
-
"version": "4.5.4-
|
|
3
|
+
"version": "4.5.4-table-c758ae7",
|
|
4
4
|
"description": "Angular components @db-ux/core-components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@db-ux/core-components": "4.5.4-
|
|
20
|
-
"@db-ux/core-foundations": "4.5.4-
|
|
19
|
+
"@db-ux/core-components": "4.5.4-table-c758ae7",
|
|
20
|
+
"@db-ux/core-foundations": "4.5.4-table-c758ae7",
|
|
21
21
|
"tslib": "^2.3.0"
|
|
22
22
|
},
|
|
23
23
|
"typings": "index.d.ts",
|