@sixbell-telco/sdk 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/_index.scss +0 -2
- package/components/button/src/button.component.d.ts +25 -37
- package/components/dual-list/src/dual-list.component.d.ts +11 -60
- package/components/modal/src/modal.component.d.ts +4 -2
- package/components/table/src/table.component.d.ts +14 -19
- package/esm2022/components/button/src/button.component.mjs +45 -110
- package/esm2022/components/dual-list/src/dual-list.component.mjs +23 -63
- package/esm2022/components/file-upload/file-dropzone/src/file-dropzone.component.mjs +3 -3
- package/esm2022/components/forms/select/src/select.component.mjs +5 -5
- package/esm2022/components/modal/src/modal.component.mjs +11 -5
- package/esm2022/components/table/src/table.component.mjs +35 -42
- package/esm2022/components/table/table-header-checkbox/table-header-checkbox.component.mjs +3 -3
- package/esm2022/components/wizard/wizard-wrapper/wizard-wrapper.component.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-button.mjs +45 -110
- package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +21 -61
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +4 -4
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-modal.mjs +10 -4
- package/fesm2022/sixbell-telco-sdk-components-modal.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-table.mjs +36 -43
- package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +1 -1
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
- package/package.json +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -103,6 +103,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
103
103
|
- **Fonts**: Remove unused fonts (`4b92826`)
|
|
104
104
|
- **Icons**: Remove unused SVG icons (`285537c`)
|
|
105
105
|
- **App Component**: Remove unused IconComponent import (`43d31ee`)
|
|
106
|
+
- **Dual List Component**: Remove @ngx-translate/core dependency from tests (`695fe30`)
|
|
107
|
+
- **Table Component**: Remove @ngx-translate/core dependency from component and tests (`63455d2`)
|
|
108
|
+
- **Table Header Checkbox Component**: Remove @ngx-translate/core dependency from tests (`4a343b9`)
|
|
109
|
+
- **Table Row Checkbox Component**: Remove @ngx-translate/core dependency from tests (`ac629e7`)
|
|
110
|
+
- **Toasts Container Component**: Remove @ngx-translate/core dependency from tests (`101462a`)
|
|
111
|
+
- **Wizard Content Component**: Remove @ngx-translate/core dependency from tests (`0d3181d`)
|
|
112
|
+
- **Wizard Marker Component**: Remove @ngx-translate/core dependency from tests (`7dd66d7`)
|
|
113
|
+
- **Wizard Step Component**: Remove @ngx-translate/core dependency from tests (`618c077`)
|
|
114
|
+
- **Wizard Sub-Step Component**: Remove @ngx-translate/core dependency from tests (`4006327`)
|
|
106
115
|
|
|
107
116
|
### Changed
|
|
108
117
|
|
|
@@ -287,3 +296,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
287
296
|
- **FileUploader Component**: Remove padding property (`5b08453`)
|
|
288
297
|
- **Dual-List Component**: Simplify search input variant (`dd5f75a`)
|
|
289
298
|
- **Combobox Component**: Adjust padding for ng-value-container (`e3533f5`)
|
|
299
|
+
- **Select Component**: Update styles to improve layout and spacing (`99606d6`)
|
|
300
|
+
- **SDK**: Remove @ngx-translate/core dependency from package.json and related files (`27a1c94`)
|
|
301
|
+
- **Table Refactoring**: Enhanced table component with improved sizing options, pagination controls, class bindings, and hover effects
|
|
302
|
+
- **Dual-List Refactoring**: Improved layout structure, hover state handling, and input interaction behavior
|
|
303
|
+
- **Button Refactoring**: Enhanced button variants, added modifier support, and implemented loader functionality
|
|
304
|
+
- **Modal Refactoring**: Improved close button behavior and state management
|
package/_index.scss
CHANGED
|
@@ -1,53 +1,41 @@
|
|
|
1
1
|
import { TypographyVariantProps } from '@sixbell-telco/sdk/directives/typography';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare const
|
|
4
|
-
variant?: "primary" | "
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
width?: "normal" | "fit" | "auto" | "full" | "min-content" | "max-content" | null | undefined;
|
|
9
|
-
alignment?: "center" | "left" | "right" | null | undefined;
|
|
3
|
+
export declare const buttonComponent: (props?: ({
|
|
4
|
+
variant?: "primary" | "secondary" | "accent" | "info" | "success" | "warning" | "error" | "icon" | null | undefined;
|
|
5
|
+
border?: "round-none" | "round-sm" | "round-md" | "round-lg" | "round-full" | null | undefined;
|
|
6
|
+
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
7
|
+
iconPosition?: "left" | "right" | null | undefined;
|
|
10
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
11
|
-
export type
|
|
12
|
-
export type
|
|
13
|
-
export type
|
|
14
|
-
export type
|
|
15
|
-
export type ButtonContainerWidthProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | 'normal' | null | undefined;
|
|
16
|
-
export type ButtonContainerAlignmentProps = 'center' | 'left' | 'right' | null | undefined;
|
|
17
|
-
export declare const buttonIcon: (props?: ({
|
|
18
|
-
iconPosition?: "center" | "left" | "right" | null | undefined;
|
|
19
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
20
|
-
export type ButtonIconVariantProps = 'center' | 'left' | 'right' | null | undefined;
|
|
9
|
+
export type ButtonComponentVariantProps = 'primary' | 'warning' | 'error' | 'secondary' | 'icon' | null | undefined;
|
|
10
|
+
export type ButtonComponentBorderProps = 'round-none' | 'round-sm' | 'round-md' | 'round-lg' | null | undefined;
|
|
11
|
+
export type ButtonComponentSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
12
|
+
export type ButtonComponentIconPositionProps = 'left' | 'right' | null | undefined;
|
|
21
13
|
export type ButtonProps = {
|
|
22
|
-
variant?:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
width?: ButtonContainerWidthProps;
|
|
27
|
-
alignment?: ButtonContainerAlignmentProps;
|
|
28
|
-
iconPosition?: ButtonIconVariantProps;
|
|
14
|
+
variant?: ButtonComponentVariantProps;
|
|
15
|
+
border?: ButtonComponentBorderProps;
|
|
16
|
+
size?: ButtonComponentSizeProps;
|
|
17
|
+
iconPosition?: ButtonComponentIconPositionProps;
|
|
29
18
|
};
|
|
30
|
-
export declare const buttonComponent: ({ variant, shape, padding, height, width, alignment, iconPosition }?: ButtonProps) => string;
|
|
31
19
|
type HTMLButtonType = 'button' | 'submit' | 'reset';
|
|
32
20
|
export declare class ButtonComponent {
|
|
33
|
-
variant: import("@angular/core").InputSignal<
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
21
|
+
variant: import("@angular/core").InputSignal<ButtonComponentVariantProps>;
|
|
22
|
+
ghost: import("@angular/core").InputSignal<boolean>;
|
|
23
|
+
outline: import("@angular/core").InputSignal<boolean>;
|
|
24
|
+
circle: import("@angular/core").InputSignal<boolean>;
|
|
25
|
+
square: import("@angular/core").InputSignal<boolean>;
|
|
26
|
+
glass: import("@angular/core").InputSignal<boolean>;
|
|
27
|
+
block: import("@angular/core").InputSignal<boolean>;
|
|
28
|
+
loader: import("@angular/core").InputSignal<boolean>;
|
|
29
|
+
border: import("@angular/core").InputSignal<ButtonComponentBorderProps>;
|
|
30
|
+
size: import("@angular/core").InputSignal<ButtonComponentSizeProps>;
|
|
31
|
+
iconPosition: import("@angular/core").InputSignal<ButtonComponentIconPositionProps>;
|
|
40
32
|
fontSize: import("@angular/core").InputSignal<TypographyVariantProps>;
|
|
41
|
-
containerClasses: import("@angular/core").InputSignal<string>;
|
|
42
|
-
iconClasses: import("@angular/core").InputSignal<string>;
|
|
43
33
|
label: import("@angular/core").InputSignal<string>;
|
|
44
34
|
type: import("@angular/core").InputSignal<HTMLButtonType>;
|
|
45
35
|
icon: import("@angular/core").InputSignal<string | undefined>;
|
|
46
|
-
fallbackIcon: string;
|
|
47
36
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
48
37
|
get containerClass(): string;
|
|
49
|
-
get iconClass(): string;
|
|
50
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "st-button", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "st-button", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "ghost": { "alias": "ghost"; "required": false; "isSignal": true; }; "outline": { "alias": "outline"; "required": false; "isSignal": true; }; "circle": { "alias": "circle"; "required": false; "isSignal": true; }; "square": { "alias": "square"; "required": false; "isSignal": true; }; "glass": { "alias": "glass"; "required": false; "isSignal": true; }; "block": { "alias": "block"; "required": false; "isSignal": true; }; "loader": { "alias": "loader"; "required": false; "isSignal": true; }; "border": { "alias": "border"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "fontSize": { "alias": "fontSize"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
52
40
|
}
|
|
53
41
|
export {};
|
|
@@ -1,72 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TableContainerHeightProps, TableContainerShadowProps, TableContainerShapeProps, TableContentSizeProps, TableContentVariantProps, TablePagination } from '@sixbell-telco/sdk/components/table';
|
|
1
|
+
import { TableContainerHeightProps, TableContentSizeProps, TablePagination } from '@sixbell-telco/sdk/components/table';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export type DualListData<T> = T & {
|
|
5
4
|
selected: boolean;
|
|
6
5
|
};
|
|
7
6
|
export declare class DualListComponent<T> {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
leftTableContainerClasses: import("@angular/core").InputSignal<string>;
|
|
15
|
-
rightTableVariant: import("@angular/core").InputSignal<TableContentVariantProps>;
|
|
16
|
-
rightTableSize: import("@angular/core").InputSignal<TableContentSizeProps>;
|
|
17
|
-
rightTableHeight: import("@angular/core").InputSignal<TableContainerHeightProps>;
|
|
18
|
-
rightTableShadow: import("@angular/core").InputSignal<TableContainerShadowProps>;
|
|
19
|
-
rightTableShape: import("@angular/core").InputSignal<TableContainerShapeProps>;
|
|
20
|
-
rightTableContentClasses: import("@angular/core").InputSignal<string>;
|
|
21
|
-
rightTableContainerClasses: import("@angular/core").InputSignal<string>;
|
|
22
|
-
leftTableVariantsClasses(): {
|
|
23
|
-
variant: "default" | "zebra";
|
|
24
|
-
height: "sm" | "md" | "lg" | "auto" | "full";
|
|
25
|
-
size: TableContentSizeProps;
|
|
26
|
-
shadow: TableContainerShadowProps;
|
|
27
|
-
shape: TableContainerShapeProps;
|
|
28
|
-
};
|
|
29
|
-
rightTableVariantsClasses(): {
|
|
30
|
-
variant: "default" | "zebra";
|
|
31
|
-
height: "sm" | "md" | "lg" | "auto" | "full";
|
|
32
|
-
size: TableContentSizeProps;
|
|
33
|
-
shadow: TableContainerShadowProps;
|
|
34
|
-
shape: TableContainerShapeProps;
|
|
35
|
-
};
|
|
36
|
-
get leftTableContainerClass(): string;
|
|
37
|
-
get rightTableContainerClass(): string;
|
|
38
|
-
buttonAddVariant: import("@angular/core").InputSignal<ButtonProps>;
|
|
39
|
-
buttonAddContainerClasses: import("@angular/core").InputSignal<string>;
|
|
40
|
-
buttonAddIconClasses: import("@angular/core").InputSignal<string>;
|
|
41
|
-
buttonAddLabel: import("@angular/core").InputSignal<string>;
|
|
42
|
-
buttonRemoveVariant: import("@angular/core").InputSignal<ButtonProps>;
|
|
43
|
-
buttonRemoveContainerClasses: import("@angular/core").InputSignal<string>;
|
|
44
|
-
buttonRemoveIconClasses: import("@angular/core").InputSignal<string>;
|
|
45
|
-
buttonRemoveLabel: import("@angular/core").InputSignal<string>;
|
|
46
|
-
buttonAddClasses(): {
|
|
47
|
-
variant: "secondary" | "primary" | "warning" | "error" | "ghost-primary" | "ghost-error" | "circle" | "icon";
|
|
48
|
-
width: "auto" | "full" | "fit" | "min-content" | "max-content" | "normal";
|
|
49
|
-
height: import("@sixbell-telco/sdk/components/button").ButtonContainerHeightProps;
|
|
50
|
-
shape: import("@sixbell-telco/sdk/components/button").ButtonContainerShapeProps;
|
|
51
|
-
padding: import("@sixbell-telco/sdk/components/button").ButtonContainerPaddingProps;
|
|
52
|
-
iconPosition: import("@sixbell-telco/sdk/components/button").ButtonIconVariantProps;
|
|
53
|
-
alignment: import("@sixbell-telco/sdk/components/button").ButtonContainerAlignmentProps;
|
|
54
|
-
};
|
|
55
|
-
buttonRemoveClasses(): {
|
|
56
|
-
variant: "secondary" | "primary" | "warning" | "error" | "ghost-primary" | "ghost-error" | "circle" | "icon";
|
|
57
|
-
width: "auto" | "full" | "fit" | "min-content" | "max-content" | "normal";
|
|
58
|
-
height: import("@sixbell-telco/sdk/components/button").ButtonContainerHeightProps;
|
|
59
|
-
shape: import("@sixbell-telco/sdk/components/button").ButtonContainerShapeProps;
|
|
60
|
-
padding: import("@sixbell-telco/sdk/components/button").ButtonContainerPaddingProps;
|
|
61
|
-
iconPosition: import("@sixbell-telco/sdk/components/button").ButtonIconVariantProps;
|
|
62
|
-
alignment: import("@sixbell-telco/sdk/components/button").ButtonContainerAlignmentProps;
|
|
63
|
-
};
|
|
7
|
+
size: import("@angular/core").InputSignal<TableContentSizeProps>;
|
|
8
|
+
height: import("@angular/core").InputSignal<TableContainerHeightProps>;
|
|
9
|
+
inputPlaceholder: import("@angular/core").InputSignal<string>;
|
|
10
|
+
emptyListMessage: import("@angular/core").InputSignal<string>;
|
|
11
|
+
chevronLeftIcon: string;
|
|
12
|
+
chevronRightIcon: string;
|
|
64
13
|
key: import("@angular/core").InputSignal<string>;
|
|
14
|
+
value: import("@angular/core").InputSignal<string>;
|
|
65
15
|
label: import("@angular/core").InputSignal<string>;
|
|
66
16
|
titleLeft: import("@angular/core").InputSignal<string>;
|
|
67
17
|
titleRight: import("@angular/core").InputSignal<string>;
|
|
68
18
|
getKey(item: DualListData<T>): string;
|
|
69
|
-
|
|
19
|
+
getValue(item: DualListData<T>): string;
|
|
20
|
+
getLabel(): string;
|
|
70
21
|
items: import("@angular/core").InputSignal<unknown[]>;
|
|
71
22
|
target: import("@angular/core").WritableSignal<DualListData<T>[]>;
|
|
72
23
|
selectedItems: import("@angular/core").WritableSignal<DualListData<T>[]>;
|
|
@@ -98,5 +49,5 @@ export declare class DualListComponent<T> {
|
|
|
98
49
|
handleRemoveItems(): void;
|
|
99
50
|
private updateTargetList;
|
|
100
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<DualListComponent<any>, never>;
|
|
101
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DualListComponent<any>, "st-dual-list", never, { "
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DualListComponent<any>, "st-dual-list", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "inputPlaceholder": { "alias": "inputPlaceholder"; "required": false; "isSignal": true; }; "emptyListMessage": { "alias": "emptyListMessage"; "required": false; "isSignal": true; }; "key": { "alias": "key"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "titleLeft": { "alias": "titleLeft"; "required": false; "isSignal": true; }; "titleRight": { "alias": "titleRight"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": true; "isSignal": true; }; "totalItems": { "alias": "totalItems"; "required": false; "isSignal": true; }; "addedItems": { "alias": "addedItems"; "required": true; "isSignal": true; }; "pagination": { "alias": "pagination"; "required": true; "isSignal": true; }; }, { "onListChange": "onListChange"; "onSearch": "onSearch"; "onPageChange": "onPageChange"; "onPageSizeChange": "onPageSizeChange"; }, never, never, true, never>;
|
|
102
53
|
}
|
|
@@ -25,12 +25,14 @@ export declare class ModalComponent {
|
|
|
25
25
|
label: import("@angular/core").InputSignal<string>;
|
|
26
26
|
modalId: import("@angular/core").InputSignal<string>;
|
|
27
27
|
onClickOutside: import("@angular/core").OutputEmitterRef<void>;
|
|
28
|
+
iconClose: string;
|
|
28
29
|
dialog: import("@angular/core").Signal<ElementRef<HTMLDialogElement> | undefined>;
|
|
29
|
-
opened: import("@angular/core").
|
|
30
|
+
opened: import("@angular/core").ModelSignal<boolean>;
|
|
30
31
|
openedEffect: import("@angular/core").EffectRef;
|
|
31
32
|
get componentClass(): string;
|
|
32
33
|
handleOpen(): void;
|
|
33
34
|
handleClose(): void;
|
|
35
|
+
handleCloseClick(): void;
|
|
34
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "st-modal", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "modalId": { "alias": "modalId"; "required": true; "isSignal": true; }; "opened": { "alias": "opened"; "required": false; "isSignal": true; }; }, { "onClickOutside": "onClickOutside"; }, never, ["*"], true, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "st-modal", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "modalId": { "alias": "modalId"; "required": true; "isSignal": true; }; "opened": { "alias": "opened"; "required": false; "isSignal": true; }; }, { "onClickOutside": "onClickOutside"; "opened": "openedChange"; }, never, ["*"], true, never>;
|
|
36
38
|
}
|
|
@@ -3,27 +3,18 @@ import { TableRowCheckboxComponent } from '../table-row-checkbox/table-row-check
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export type PaginationType = 'default' | 'dots';
|
|
5
5
|
export declare const tableContent: (props?: ({
|
|
6
|
-
variant?: "default" | "zebra" | null | undefined;
|
|
7
6
|
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
8
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
|
-
export type TableContentVariantProps = 'default' | 'zebra' | null | undefined;
|
|
10
8
|
export type TableContentSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
11
9
|
export declare const tableContainer: (props?: ({
|
|
12
|
-
|
|
13
|
-
containerHeight?: "sm" | "md" | "lg" | "auto" | "full" | null | undefined;
|
|
14
|
-
containerShape?: "round-sm" | "round-md" | "round-lg" | null | undefined;
|
|
10
|
+
containerHeight?: "sm" | "md" | "lg" | "auto" | "full" | "xl" | null | undefined;
|
|
15
11
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
16
|
-
export type
|
|
17
|
-
export type TableContainerHeightProps = 'auto' | 'full' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
18
|
-
export type TableContainerShapeProps = 'round-sm' | 'round-md' | 'round-lg' | null | undefined;
|
|
12
|
+
export type TableContainerHeightProps = 'auto' | 'full' | 'sm' | 'md' | 'lg' | 'xl' | null | undefined;
|
|
19
13
|
export type TableVariantProps = {
|
|
20
14
|
size?: TableContentSizeProps;
|
|
21
|
-
variant?: TableContentVariantProps;
|
|
22
15
|
containerHeight?: TableContainerHeightProps;
|
|
23
|
-
containerShadow?: TableContainerShadowProps;
|
|
24
|
-
containerShape?: TableContainerShapeProps;
|
|
25
16
|
};
|
|
26
|
-
export declare const tableComponent: ({ size,
|
|
17
|
+
export declare const tableComponent: ({ size, containerHeight }?: TableVariantProps) => string;
|
|
27
18
|
export type TablePagination = {
|
|
28
19
|
id: string;
|
|
29
20
|
currentPage: number;
|
|
@@ -31,14 +22,16 @@ export type TablePagination = {
|
|
|
31
22
|
search: string;
|
|
32
23
|
};
|
|
33
24
|
export declare class TableComponent {
|
|
34
|
-
variant: import("@angular/core").InputSignal<TableContentVariantProps>;
|
|
35
25
|
size: import("@angular/core").InputSignal<TableContentSizeProps>;
|
|
36
26
|
height: import("@angular/core").InputSignal<TableContainerHeightProps>;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
containerClasses: import("@angular/core").InputSignal<string>;
|
|
27
|
+
pinRows: import("@angular/core").InputSignal<boolean>;
|
|
28
|
+
pinColumns: import("@angular/core").InputSignal<boolean>;
|
|
29
|
+
zebra: import("@angular/core").InputSignal<boolean>;
|
|
41
30
|
paginatorType: import("@angular/core").InputSignal<PaginationType>;
|
|
31
|
+
labelEntriesByPage: import("@angular/core").InputSignal<string>;
|
|
32
|
+
labelShowEntriesOf: import("@angular/core").InputSignal<string>;
|
|
33
|
+
labelShowEntries: import("@angular/core").InputSignal<string>;
|
|
34
|
+
infoIcon: string;
|
|
42
35
|
data: import("@angular/core").InputSignal<unknown[]>;
|
|
43
36
|
totalItems: import("@angular/core").InputSignal<number>;
|
|
44
37
|
error: import("@angular/core").InputSignal<string>;
|
|
@@ -48,10 +41,12 @@ export declare class TableComponent {
|
|
|
48
41
|
onPageSizeChange: import("@angular/core").OutputEmitterRef<number>;
|
|
49
42
|
showItemsPerPage: import("@angular/core").InputSignal<boolean>;
|
|
50
43
|
showEntries: import("@angular/core").InputSignal<boolean>;
|
|
44
|
+
showPagination: import("@angular/core").InputSignal<boolean>;
|
|
51
45
|
paginationRange: import("@angular/core").Signal<string>;
|
|
52
46
|
handlePageChange(page: number): void;
|
|
53
47
|
handlePageSizeChange(size: number): void;
|
|
54
|
-
get
|
|
48
|
+
get tableClass(): string;
|
|
49
|
+
get tableContainerClass(): string;
|
|
55
50
|
get containerClass(): string;
|
|
56
51
|
header: import("@angular/core").Signal<TableHeaderCheckboxComponent | undefined>;
|
|
57
52
|
rows: import("@angular/core").Signal<readonly TableRowCheckboxComponent[]>;
|
|
@@ -62,5 +57,5 @@ export declare class TableComponent {
|
|
|
62
57
|
handleToggleCheckbox(value: boolean, identifier: unknown): void;
|
|
63
58
|
private clearList;
|
|
64
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "st-table", never, { "
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "st-table", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "pinRows": { "alias": "pinRows"; "required": false; "isSignal": true; }; "pinColumns": { "alias": "pinColumns"; "required": false; "isSignal": true; }; "zebra": { "alias": "zebra"; "required": false; "isSignal": true; }; "paginatorType": { "alias": "paginatorType"; "required": false; "isSignal": true; }; "labelEntriesByPage": { "alias": "labelEntriesByPage"; "required": false; "isSignal": true; }; "labelShowEntriesOf": { "alias": "labelShowEntriesOf"; "required": false; "isSignal": true; }; "labelShowEntries": { "alias": "labelShowEntries"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "totalItems": { "alias": "totalItems"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "pagination": { "alias": "pagination"; "required": false; "isSignal": true; }; "maxSize": { "alias": "maxSize"; "required": false; "isSignal": true; }; "showItemsPerPage": { "alias": "showItemsPerPage"; "required": false; "isSignal": true; }; "showEntries": { "alias": "showEntries"; "required": false; "isSignal": true; }; "showPagination": { "alias": "showPagination"; "required": false; "isSignal": true; }; }, { "onPageChange": "onPageChange"; "onPageSizeChange": "onPageSizeChange"; "onCheck": "onCheck"; }, ["header", "rows"], ["thead", "tbody"], true, never>;
|
|
66
61
|
}
|