@sd-angular/core 19.0.0-beta.73 → 19.0.0-beta.74
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/components/anchor-v2/src/components/anchor-v2/anchor-v2.component.d.ts +12 -18
- package/components/anchor-v2/src/components/anchor-vertical-v2/anchor-vertical-list-v2.component.d.ts +9 -10
- package/components/chart/src/bar-chart.component.d.ts +5 -6
- package/components/chart/src/doughnut-chart.component.d.ts +2 -2
- package/components/chart/src/line-chart.component.d.ts +4 -2
- package/components/chart/src/pie-chart.component.d.ts +2 -2
- package/components/table/index.d.ts +1 -0
- package/components/table/src/components/column-title/column-title.component.d.ts +10 -0
- package/components/table/src/components/desktop-cell/desktop-cell.component.d.ts +10 -15
- package/components/table/src/components/desktop-cell/view/view.component.d.ts +24 -0
- package/components/table/src/components/index.d.ts +1 -0
- package/components/table/src/directives/index.d.ts +2 -0
- package/components/table/src/directives/sd-table-cell-def.directive.d.ts +2 -3
- package/components/table/src/directives/sd-table-column-filter-def.directive.d.ts +2 -3
- package/components/table/src/directives/sd-table-expand-def.directive.d.ts +0 -1
- package/components/table/src/directives/sd-table-filter-def.directive.d.ts +4 -6
- package/components/table/src/directives/sd-table-footer-def.directive.d.ts +2 -3
- package/components/table/src/directives/sd-table-title-def.directive.d.ts +8 -0
- package/components/table/src/models/table-column.model.d.ts +15 -10
- package/components/table/src/models/table-option-config.model.d.ts +3 -5
- package/components/table/src/table.component.d.ts +4 -1
- package/fesm2022/sd-angular-core-components-anchor-v2.mjs +67 -142
- package/fesm2022/sd-angular-core-components-anchor-v2.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-chart.mjs +57 -51
- package/fesm2022/sd-angular-core-components-chart.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-tab-router.mjs +5 -15
- package/fesm2022/sd-angular-core-components-tab-router.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-table.mjs +157 -113
- package/fesm2022/sd-angular-core-components-table.mjs.map +1 -1
- package/package.json +72 -72
- package/sd-angular-core-19.0.0-beta.74.tgz +0 -0
- package/components/table/src/components/desktop-cell-view/desktop-cell-view.component.d.ts +0 -28
- package/sd-angular-core-19.0.0-beta.73.tgz +0 -0
|
@@ -1,25 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import { SdAnchorItemV2 } from '../anchor-item-v2/anchor-item-v2.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SdAnchorV2 implements
|
|
4
|
+
export declare class SdAnchorV2 implements OnDestroy {
|
|
5
5
|
#private;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
isOverscroll: boolean;
|
|
16
|
-
set _isOverscroll(value: '' | boolean | undefined | null);
|
|
17
|
-
isHiddenAnchorList: boolean;
|
|
18
|
-
set _isHiddenAnchorList(value: '' | boolean | undefined | null);
|
|
19
|
-
activeSectionId: string;
|
|
20
|
-
ngAfterViewInit(): void;
|
|
6
|
+
wrapper: import("@angular/core").Signal<ElementRef<any>>;
|
|
7
|
+
sections: import("@angular/core").Signal<readonly SdAnchorItemV2[]>;
|
|
8
|
+
type: import("@angular/core").InputSignal<"vertical" | "horizontal">;
|
|
9
|
+
sidebarWidth: import("@angular/core").InputSignal<string>;
|
|
10
|
+
ellipsis: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
11
|
+
isOverscroll: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
12
|
+
isHiddenAnchorList: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
13
|
+
activeSectionId: import("@angular/core").WritableSignal<string>;
|
|
14
|
+
constructor();
|
|
21
15
|
scrollSectionByClick(idSectionTarget: string): void;
|
|
22
16
|
ngOnDestroy(): void;
|
|
23
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdAnchorV2, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SdAnchorV2, "sd-anchor-v2", never, { "type": { "alias": "type"; "required": false; }; "sidebarWidth": { "alias": "sidebarWidth"; "required": false; }; "
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdAnchorV2, "sd-anchor-v2", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "sidebarWidth": { "alias": "sidebarWidth"; "required": false; "isSignal": true; }; "ellipsis": { "alias": "ellipsis"; "required": false; "isSignal": true; }; "isOverscroll": { "alias": "isOverscroll"; "required": false; "isSignal": true; }; "isHiddenAnchorList": { "alias": "isHiddenAnchorList"; "required": false; "isSignal": true; }; }, {}, ["sections"], ["*"], true, never>;
|
|
25
19
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { SdAnchorItemV2 } from '../anchor-item-v2/anchor-item-v2.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SdAnchorVerticalListV2 implements
|
|
4
|
+
export declare class SdAnchorVerticalListV2 implements OnDestroy {
|
|
5
5
|
#private;
|
|
6
|
+
sections: import("@angular/core").InputSignal<readonly SdAnchorItemV2[]>;
|
|
7
|
+
activeSectionId: import("@angular/core").InputSignal<string>;
|
|
8
|
+
ellipsis: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
sidebarWidth: import("@angular/core").InputSignal<string>;
|
|
10
|
+
sdClickSection: import("@angular/core").OutputEmitterRef<string>;
|
|
6
11
|
constructor();
|
|
7
|
-
|
|
8
|
-
activeSectionId: string;
|
|
9
|
-
ellipsis: boolean;
|
|
10
|
-
sidebarWidth: string;
|
|
11
|
-
sdClickSection: EventEmitter<string>;
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
onClickSection: (idSectionTarget: string) => void;
|
|
12
|
+
onClickSection: (id: string) => void;
|
|
14
13
|
ngOnDestroy(): void;
|
|
15
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdAnchorVerticalListV2, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SdAnchorVerticalListV2, "sd-anchor-vertical-list-v2", never, { "sections": { "alias": "sections"; "required":
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdAnchorVerticalListV2, "sd-anchor-vertical-list-v2", never, { "sections": { "alias": "sections"; "required": true; "isSignal": true; }; "activeSectionId": { "alias": "activeSectionId"; "required": false; "isSignal": true; }; "ellipsis": { "alias": "ellipsis"; "required": false; "isSignal": true; }; "sidebarWidth": { "alias": "sidebarWidth"; "required": false; "isSignal": true; }; }, { "sdClickSection": "sdClickSection"; }, never, never, true, never>;
|
|
17
16
|
}
|
|
@@ -2,18 +2,17 @@ import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { Chart, ChartData, Plugin } from 'chart.js';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SdBarChartComponent implements OnInit, OnDestroy {
|
|
5
|
-
|
|
5
|
+
#private;
|
|
6
|
+
canvas: import("@angular/core").Signal<ElementRef<HTMLCanvasElement>>;
|
|
6
7
|
data: import("@angular/core").InputSignal<ChartData<"bar", (number | [number, number] | null)[], unknown>>;
|
|
7
8
|
options: import("@angular/core").InputSignal<import("node_modules/chart.js/dist/types/utils")._DeepPartialObject<import("chart.js").CoreChartOptions<"bar"> & import("chart.js").ElementChartOptions<"bar"> & import("chart.js").PluginChartOptions<"bar"> & import("chart.js").DatasetChartOptions<"bar"> & import("chart.js").ScaleChartOptions<"bar"> & import("chart.js").BarControllerChartOptions> | undefined>;
|
|
8
9
|
plugins: import("@angular/core").InputSignal<Plugin<"bar", import("node_modules/chart.js/dist/types/basic").AnyObject>[]>;
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
isScrollable: import("@angular/core").Signal<boolean>;
|
|
11
|
+
computedMinWidth: import("@angular/core").Signal<number | null>;
|
|
11
12
|
chart: Chart<'bar'> | undefined;
|
|
12
13
|
constructor();
|
|
13
14
|
ngOnInit(): void;
|
|
14
15
|
ngOnDestroy(): void;
|
|
15
|
-
getMinWidth(): number;
|
|
16
|
-
private initChart;
|
|
17
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdBarChartComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SdBarChartComponent, "sd-bar-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "plugins": { "alias": "plugins"; "required": false; "isSignal": true; };
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdBarChartComponent, "sd-bar-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "plugins": { "alias": "plugins"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
19
18
|
}
|
|
@@ -2,7 +2,8 @@ import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { Chart, ChartData, Plugin } from 'chart.js';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SdDoughnutChartComponent implements OnInit, OnDestroy {
|
|
5
|
-
|
|
5
|
+
#private;
|
|
6
|
+
canvas: import("@angular/core").Signal<ElementRef<HTMLCanvasElement>>;
|
|
6
7
|
data: import("@angular/core").InputSignal<ChartData<"doughnut", number[], unknown>>;
|
|
7
8
|
options: import("@angular/core").InputSignal<import("node_modules/chart.js/dist/types/utils")._DeepPartialObject<import("chart.js").CoreChartOptions<"doughnut"> & import("chart.js").ElementChartOptions<"doughnut"> & import("chart.js").PluginChartOptions<"doughnut"> & import("chart.js").DatasetChartOptions<"doughnut"> & import("chart.js").ScaleChartOptions<"doughnut"> & import("chart.js").DoughnutControllerChartOptions> | undefined>;
|
|
8
9
|
plugins: import("@angular/core").InputSignal<Plugin<"doughnut", import("node_modules/chart.js/dist/types/basic").AnyObject>[]>;
|
|
@@ -10,7 +11,6 @@ export declare class SdDoughnutChartComponent implements OnInit, OnDestroy {
|
|
|
10
11
|
constructor();
|
|
11
12
|
ngOnInit(): void;
|
|
12
13
|
ngOnDestroy(): void;
|
|
13
|
-
private initChart;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdDoughnutChartComponent, never>;
|
|
15
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<SdDoughnutChartComponent, "sd-doughnut-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "plugins": { "alias": "plugins"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
16
|
}
|
|
@@ -2,15 +2,17 @@ import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { Chart, ChartData, Plugin } from 'chart.js';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SdLineChartComponent implements OnInit, OnDestroy {
|
|
5
|
-
|
|
5
|
+
#private;
|
|
6
|
+
canvas: import("@angular/core").Signal<ElementRef<HTMLCanvasElement>>;
|
|
6
7
|
data: import("@angular/core").InputSignal<ChartData<"line", (number | import("chart.js").Point | null)[], unknown>>;
|
|
7
8
|
options: import("@angular/core").InputSignal<import("node_modules/chart.js/dist/types/utils")._DeepPartialObject<import("chart.js").CoreChartOptions<"line"> & import("chart.js").ElementChartOptions<"line"> & import("chart.js").PluginChartOptions<"line"> & import("chart.js").DatasetChartOptions<"line"> & import("chart.js").ScaleChartOptions<"line"> & import("chart.js").LineControllerChartOptions> | undefined>;
|
|
8
9
|
plugins: import("@angular/core").InputSignal<Plugin<"line", import("node_modules/chart.js/dist/types/basic").AnyObject>[]>;
|
|
10
|
+
isScrollable: import("@angular/core").Signal<boolean>;
|
|
11
|
+
computedMinWidth: import("@angular/core").Signal<number | null>;
|
|
9
12
|
chart: Chart<'line'> | undefined;
|
|
10
13
|
constructor();
|
|
11
14
|
ngOnInit(): void;
|
|
12
15
|
ngOnDestroy(): void;
|
|
13
|
-
private initChart;
|
|
14
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdLineChartComponent, never>;
|
|
15
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<SdLineChartComponent, "sd-line-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "plugins": { "alias": "plugins"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
18
|
}
|
|
@@ -2,7 +2,8 @@ import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { Chart, ChartData, Plugin } from 'chart.js';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SdPieChartComponent implements OnInit, OnDestroy {
|
|
5
|
-
|
|
5
|
+
#private;
|
|
6
|
+
canvas: import("@angular/core").Signal<ElementRef<HTMLCanvasElement>>;
|
|
6
7
|
data: import("@angular/core").InputSignal<ChartData<"pie", number[], unknown>>;
|
|
7
8
|
options: import("@angular/core").InputSignal<import("node_modules/chart.js/dist/types/utils")._DeepPartialObject<import("chart.js").CoreChartOptions<"pie"> & import("chart.js").ElementChartOptions<"pie"> & import("chart.js").PluginChartOptions<"pie"> & import("chart.js").DatasetChartOptions<"pie"> & import("chart.js").ScaleChartOptions<"pie"> & import("chart.js").DoughnutControllerChartOptions> | undefined>;
|
|
8
9
|
plugins: import("@angular/core").InputSignal<Plugin<"pie", import("node_modules/chart.js/dist/types/basic").AnyObject>[]>;
|
|
@@ -10,7 +11,6 @@ export declare class SdPieChartComponent implements OnInit, OnDestroy {
|
|
|
10
11
|
constructor();
|
|
11
12
|
ngOnInit(): void;
|
|
12
13
|
ngOnDestroy(): void;
|
|
13
|
-
private initChart;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdPieChartComponent, never>;
|
|
15
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<SdPieChartComponent, "sd-pie-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "plugins": { "alias": "plugins"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
16
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './src/directives/sd-table-cell-def.directive';
|
|
2
2
|
export * from './src/directives/sd-table-filter-def.directive';
|
|
3
|
+
export * from './src/directives/sd-table-title-def.directive';
|
|
3
4
|
export * from './src/table.component';
|
|
4
5
|
export * from './src/services/table-filter/table-filter.model';
|
|
5
6
|
export type { ISdTableConfiguration } from './src/configurations';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SdTableTitleDefDirective } from '../../directives/sd-table-title-def.directive';
|
|
2
|
+
import { SdTableColumn } from '../../models/table-column.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ColumnTitleComponent {
|
|
5
|
+
column: import("@angular/core").InputSignal<SdTableColumn>;
|
|
6
|
+
titleDef: import("@angular/core").InputSignal<SdTableTitleDefDirective | undefined>;
|
|
7
|
+
templateRef: import("@angular/core").Signal<import("@angular/core").TemplateRef<any> | undefined>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnTitleComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnTitleComponent, "column-title", never, { "column": { "alias": "column"; "required": true; "isSignal": true; }; "titleDef": { "alias": "titleDef"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -3,27 +3,22 @@ import { SdTabelCellDefDirective } from '../../directives/sd-table-cell-def.dire
|
|
|
3
3
|
import { SdTableColumn } from '../../models/table-column.model';
|
|
4
4
|
import { SdTableItem } from '../../models/table-item.model';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
|
|
7
|
-
title?: string;
|
|
8
|
-
width?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare class SdDesktopCell {
|
|
6
|
+
export declare class DesktopCellComponent {
|
|
11
7
|
#private;
|
|
12
|
-
private cdr;
|
|
13
8
|
contentContainer: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
|
|
14
|
-
charLimited: import("@angular/core").InputSignal<CharLimited | undefined>;
|
|
15
|
-
value: import("@angular/core").InputSignal<any>;
|
|
16
9
|
column: import("@angular/core").InputSignal<SdTableColumn>;
|
|
17
|
-
cellDef: import("@angular/core").InputSignal<Record<string, SdTabelCellDefDirective>>;
|
|
18
|
-
autoIdInput: import("@angular/core").InputSignal<string | null | undefined>;
|
|
19
|
-
autoId: import("@angular/core").Signal<string | undefined>;
|
|
20
10
|
item: import("@angular/core").InputSignal<SdTableItem<any>>;
|
|
21
|
-
|
|
11
|
+
cellDef: import("@angular/core").InputSignal<Record<string, SdTabelCellDefDirective>>;
|
|
12
|
+
value: import("@angular/core").Signal<any>;
|
|
13
|
+
key: import("@angular/core").Signal<any>;
|
|
14
|
+
autoId: import("@angular/core").Signal<string>;
|
|
15
|
+
truncateEnable: import("@angular/core").Signal<boolean | undefined>;
|
|
16
|
+
truncateWidth: import("@angular/core").Signal<string | undefined>;
|
|
17
|
+
templateRef: import("@angular/core").Signal<import("@angular/core").TemplateRef<any>>;
|
|
22
18
|
isCollapsed: import("@angular/core").WritableSignal<boolean>;
|
|
23
19
|
isOverflowing: import("@angular/core").WritableSignal<boolean>;
|
|
24
20
|
constructor();
|
|
25
21
|
toggle: () => void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DesktopCellComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesktopCellComponent, "desktop-cell", never, { "column": { "alias": "column"; "required": true; "isSignal": true; }; "item": { "alias": "item"; "required": true; "isSignal": true; }; "cellDef": { "alias": "cellDef"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
28
24
|
}
|
|
29
|
-
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ElementRef, PipeTransform } from '@angular/core';
|
|
2
|
+
import { SdTableColumn } from '../../../models/table-column.model';
|
|
3
|
+
import { SdTableItem } from '../../../models/table-item.model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ToStringPipe implements PipeTransform {
|
|
6
|
+
transform(value: any): string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToStringPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ToStringPipe, "asString", true>;
|
|
9
|
+
}
|
|
10
|
+
export declare class ViewComponent {
|
|
11
|
+
#private;
|
|
12
|
+
contentContainer: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
|
|
13
|
+
isCollapsed: import("@angular/core").WritableSignal<boolean>;
|
|
14
|
+
isOverflowing: import("@angular/core").WritableSignal<boolean>;
|
|
15
|
+
autoId: import("@angular/core").InputSignal<string | null | undefined>;
|
|
16
|
+
column: import("@angular/core").InputSignal<SdTableColumn>;
|
|
17
|
+
item: import("@angular/core").InputSignal<SdTableItem<any>>;
|
|
18
|
+
truncateEnable: import("@angular/core").Signal<boolean | undefined>;
|
|
19
|
+
truncateWidth: import("@angular/core").Signal<string | undefined>;
|
|
20
|
+
constructor();
|
|
21
|
+
toggle: () => void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ViewComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ViewComponent, "view", never, { "autoId": { "alias": "autoId"; "required": true; "isSignal": true; }; "column": { "alias": "column"; "required": true; "isSignal": true; }; "item": { "alias": "item"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
24
|
+
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class SdTabelCellDefDirective {
|
|
4
|
+
sdTableCellDef: import("@angular/core").InputSignal<string | undefined>;
|
|
4
5
|
templateRef: TemplateRef<any>;
|
|
5
|
-
sdTableCellDef?: string;
|
|
6
|
-
constructor(templateRef: TemplateRef<any>);
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdTabelCellDefDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SdTabelCellDefDirective, "[sdTableCellDef]", never, { "sdTableCellDef": { "alias": "sdTableCellDef"; "required": false; }; }, {}, never, never, true, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SdTabelCellDefDirective, "[sdTableCellDef]", never, { "sdTableCellDef": { "alias": "sdTableCellDef"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
8
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class SdTableColumnFilterDefDirective {
|
|
4
|
+
sdTableColumnFilterDef: import("@angular/core").InputSignal<string | undefined>;
|
|
4
5
|
templateRef: TemplateRef<any>;
|
|
5
|
-
sdTableColumnFilterDef?: string;
|
|
6
|
-
constructor(templateRef: TemplateRef<any>);
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdTableColumnFilterDefDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SdTableColumnFilterDefDirective, "[sdTableColumnFilterDef]", never, { "sdTableColumnFilterDef": { "alias": "sdTableColumnFilterDef"; "required": false; }; }, {}, never, never, true, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SdTableColumnFilterDefDirective, "[sdTableColumnFilterDef]", never, { "sdTableColumnFilterDef": { "alias": "sdTableColumnFilterDef"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
8
|
}
|
|
@@ -2,7 +2,6 @@ import { TemplateRef } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class SdMaterialSubInformationDefDirective {
|
|
4
4
|
templateRef: TemplateRef<any>;
|
|
5
|
-
constructor(templateRef: TemplateRef<any>);
|
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdMaterialSubInformationDefDirective, never>;
|
|
7
6
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SdMaterialSubInformationDefDirective, "[sdTableExpandDef]", never, {}, {}, never, never, true, never>;
|
|
8
7
|
}
|
|
@@ -4,13 +4,11 @@ interface Context {
|
|
|
4
4
|
externalFilter?: Record<string, any>;
|
|
5
5
|
}
|
|
6
6
|
export declare class SdTableFilterDefDirective {
|
|
7
|
-
templateRef?: TemplateRef<any> | undefined;
|
|
8
7
|
static ngTemplateContextGuard(dir: Context, ctx: unknown): ctx is Context;
|
|
9
|
-
sdTableFilterDef
|
|
10
|
-
defaultShowing
|
|
11
|
-
|
|
12
|
-
constructor(templateRef?: TemplateRef<any> | undefined);
|
|
8
|
+
sdTableFilterDef: import("@angular/core").InputSignal<string | undefined>;
|
|
9
|
+
defaultShowing: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
10
|
+
templateRef: TemplateRef<any> | null;
|
|
13
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdTableFilterDefDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SdTableFilterDefDirective, "[sdTableFilterDef]", never, { "sdTableFilterDef": { "alias": "sdTableFilterDef"; "required": false; }; "
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SdTableFilterDefDirective, "[sdTableFilterDef]", never, { "sdTableFilterDef": { "alias": "sdTableFilterDef"; "required": false; "isSignal": true; }; "defaultShowing": { "alias": "defaultShowing"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
13
|
}
|
|
16
14
|
export {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class SdMaterialFooterDefDirective {
|
|
4
|
+
sdTableFooterDef: import("@angular/core").InputSignal<string | undefined>;
|
|
4
5
|
templateRef: TemplateRef<any>;
|
|
5
|
-
sdTableFooterDef?: string;
|
|
6
|
-
constructor(templateRef: TemplateRef<any>);
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdMaterialFooterDefDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SdMaterialFooterDefDirective, "[sdTableFooterDef]", never, { "sdTableFooterDef": { "alias": "sdTableFooterDef"; "required": false; }; }, {}, never, never, true, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SdMaterialFooterDefDirective, "[sdTableFooterDef]", never, { "sdTableFooterDef": { "alias": "sdTableFooterDef"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
8
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SdTableTitleDefDirective {
|
|
4
|
+
sdTableTitleDef: import("@angular/core").InputSignal<string | undefined>;
|
|
5
|
+
templateRef: TemplateRef<any>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdTableTitleDefDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SdTableTitleDefDirective, "[sdTableTitleDef]", never, { "sdTableTitleDef": { "alias": "sdTableTitleDef"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -15,22 +15,28 @@ interface Badge {
|
|
|
15
15
|
}
|
|
16
16
|
type UseBadgeFunc<T = any> = (value: any, rowData: T) => Badge;
|
|
17
17
|
type UseBadgeValuesFunc<T = any, K = any> = (value: any, rowData: T, items: K[]) => Badge;
|
|
18
|
-
interface
|
|
18
|
+
interface ColumnTitleOption {
|
|
19
19
|
title: string;
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
templateRef?: TemplateRef<any>;
|
|
21
|
+
}
|
|
22
|
+
interface ColumnCellOption {
|
|
23
|
+
templateRef?: TemplateRef<any>;
|
|
24
|
+
copiable?: boolean;
|
|
25
|
+
truncate?: {
|
|
26
|
+
enable?: boolean;
|
|
27
|
+
type?: 'more' | 'tooltip';
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
interface SdTableColumnBase<T = any> {
|
|
31
|
+
title: string | ColumnTitleOption;
|
|
32
|
+
cell?: ColumnCellOption;
|
|
22
33
|
width?: string;
|
|
23
34
|
minWidth?: string;
|
|
24
35
|
maxWidth?: string;
|
|
25
36
|
hidden?: boolean;
|
|
26
37
|
invisible?: boolean;
|
|
27
38
|
fixed?: boolean;
|
|
28
|
-
charLimited?: {
|
|
29
|
-
enable?: boolean;
|
|
30
|
-
expandType?: 'more' | 'tooltip';
|
|
31
|
-
};
|
|
32
39
|
align?: 'right';
|
|
33
|
-
cellStyle?: (value: any, rowData: T) => Record<string, string>;
|
|
34
40
|
htmlTemplate?: (value: any, rowData: T) => string;
|
|
35
41
|
transform?: SdTableColumnTransformFunc<T>;
|
|
36
42
|
tooltip?: (value: any, rowData: T) => string;
|
|
@@ -48,9 +54,8 @@ interface SdTableColumnBase<T = any> {
|
|
|
48
54
|
};
|
|
49
55
|
export?: {
|
|
50
56
|
disabled?: boolean;
|
|
57
|
+
description?: string;
|
|
51
58
|
};
|
|
52
|
-
cellDef?: TemplateRef<any>;
|
|
53
|
-
copiable?: boolean;
|
|
54
59
|
}
|
|
55
60
|
interface SdTableColumnText<T = any> extends SdTableColumnBase<T> {
|
|
56
61
|
field: SdNestedKeyOf<T>;
|
|
@@ -7,6 +7,8 @@ export interface OriginColumn {
|
|
|
7
7
|
title: string;
|
|
8
8
|
width?: string;
|
|
9
9
|
invisible?: boolean;
|
|
10
|
+
fixed?: boolean;
|
|
11
|
+
truncate?: boolean;
|
|
10
12
|
}
|
|
11
13
|
export interface ConfiguredColumn {
|
|
12
14
|
origin: OriginColumn;
|
|
@@ -14,7 +16,7 @@ export interface ConfiguredColumn {
|
|
|
14
16
|
width?: string;
|
|
15
17
|
invisible?: boolean;
|
|
16
18
|
fixed?: boolean;
|
|
17
|
-
|
|
19
|
+
truncate?: boolean;
|
|
18
20
|
}
|
|
19
21
|
export interface ConfiguredTable {
|
|
20
22
|
columns?: ConfiguredColumn[];
|
|
@@ -28,10 +30,6 @@ export interface ConfiguredTableResult {
|
|
|
28
30
|
title?: string;
|
|
29
31
|
width?: string;
|
|
30
32
|
}>;
|
|
31
|
-
charLimitedColumn: Record<string, {
|
|
32
|
-
title?: string;
|
|
33
|
-
width?: string;
|
|
34
|
-
}>;
|
|
35
33
|
firstColumns: SdTableColumn[];
|
|
36
34
|
secondColumns: SdTableColumn[];
|
|
37
35
|
firstHeaders: string[];
|
|
@@ -7,6 +7,7 @@ import { SdTabelCellDefDirective } from './directives/sd-table-cell-def.directiv
|
|
|
7
7
|
import { SdMaterialSubInformationDefDirective } from './directives/sd-table-expand-def.directive';
|
|
8
8
|
import { SdTableFilterDefDirective } from './directives/sd-table-filter-def.directive';
|
|
9
9
|
import { SdMaterialFooterDefDirective } from './directives/sd-table-footer-def.directive';
|
|
10
|
+
import { SdTableTitleDefDirective } from './directives/sd-table-title-def.directive';
|
|
10
11
|
import { SdTableColumn } from './models/table-column.model';
|
|
11
12
|
import { SdTableOption } from './models/table-option.model';
|
|
12
13
|
import { SdTableFilterRequest, TableFilterRegister } from './services/table-filter/table-filter.model';
|
|
@@ -48,9 +49,11 @@ export declare class SdTable<T = unknown> extends SdBaseSecureComponent implemen
|
|
|
48
49
|
sdCellDefs: import("@angular/core").Signal<readonly SdTabelCellDefDirective[]>;
|
|
49
50
|
sdFooterDefs: import("@angular/core").Signal<readonly SdMaterialFooterDefDirective[]>;
|
|
50
51
|
sdFilterDefs: import("@angular/core").Signal<readonly SdTableFilterDefDirective[]>;
|
|
52
|
+
sdTitleDefs: import("@angular/core").Signal<readonly SdTableTitleDefDirective[]>;
|
|
51
53
|
cellDef: import("@angular/core").Signal<Record<string, SdTabelCellDefDirective>>;
|
|
52
54
|
footerDef: import("@angular/core").Signal<Record<string, SdMaterialFooterDefDirective>>;
|
|
53
55
|
hasFooter: import("@angular/core").Signal<boolean>;
|
|
56
|
+
titleDef: import("@angular/core").Signal<Record<string, SdTableTitleDefDirective>>;
|
|
54
57
|
tableOption: import("@angular/core").WritableSignal<SdTableOption<T> | undefined>;
|
|
55
58
|
configuration: import("@angular/core").WritableSignal<ConfiguredTableResult | undefined>;
|
|
56
59
|
items: import("@angular/core").WritableSignal<SdTableItem<T>[]>;
|
|
@@ -93,5 +96,5 @@ export declare class SdTable<T = unknown> extends SdBaseSecureComponent implemen
|
|
|
93
96
|
onOperatorChange: (column: SdTableColumn, operator: SdOperator) => void;
|
|
94
97
|
trackBy: (index: number, item: SdTableItem) => string;
|
|
95
98
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdTable<any>, never>;
|
|
96
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SdTable<any>, "sd-table", never, { "autoIdInput": { "alias": "autoId"; "required": false; "isSignal": true; }; "option": { "alias": "option"; "required": true; "isSignal": true; }; }, {}, ["sdSubInformation", "sdCellDefs", "sdFooterDefs", "sdFilterDefs"], ["[sdTableTop]"], true, never>;
|
|
99
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdTable<any>, "sd-table", never, { "autoIdInput": { "alias": "autoId"; "required": false; "isSignal": true; }; "option": { "alias": "option"; "required": true; "isSignal": true; }; }, {}, ["sdSubInformation", "sdCellDefs", "sdFooterDefs", "sdFilterDefs", "sdTitleDefs"], ["[sdTableTop]"], true, never>;
|
|
97
100
|
}
|