@sixbell-telco/sdk 0.7.0 → 0.7.1
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 +7 -0
- package/README.md +8 -11
- package/components/button/src/button.component.d.ts +2 -2
- package/components/forms/input/src/input.component.d.ts +1 -1
- package/components/modal/src/modal.component.d.ts +72 -4
- package/components/table/src/table.component.d.ts +140 -0
- package/components/table/table-header-checkbox/table-header-checkbox.component.d.ts +42 -0
- package/components/table/table-row-checkbox/table-row-checkbox.component.d.ts +46 -0
- package/directives/typography/src/typography.directive.d.ts +46 -0
- package/esm2022/components/button/src/button.component.mjs +4 -3
- package/esm2022/components/forms/input/src/input.component.mjs +4 -3
- package/esm2022/components/modal/src/modal.component.mjs +79 -6
- package/esm2022/components/table/src/table.component.mjs +144 -8
- package/esm2022/components/table/table-header-checkbox/table-header-checkbox.component.mjs +43 -1
- package/esm2022/components/table/table-row-checkbox/table-row-checkbox.component.mjs +47 -1
- package/esm2022/directives/typography/src/typography.directive.mjs +62 -13
- package/fesm2022/sixbell-telco-sdk-components-button.mjs +3 -2
- package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +3 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-modal.mjs +78 -5
- package/fesm2022/sixbell-telco-sdk-components-modal.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-table.mjs +231 -7
- package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs +61 -12
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs.map +1 -1
- package/package.json +66 -66
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
### Added
|
|
11
11
|
|
|
12
|
+
- **Table Component**: Add detailed internal type definitions and comprehensive documentation (4384daa)
|
|
13
|
+
- **Table Row Checkbox**: Add detailed documentation and input definitions (823cf4a)
|
|
14
|
+
- **Table Header Checkbox**: Add comprehensive documentation (58ae95b)
|
|
15
|
+
- **Modal Component**: Add detailed documentation and type definitions for component properties (68a3ac9)
|
|
12
16
|
- **Tooltip Component**: Add inline-flex and items-center classes for improved alignment
|
|
13
17
|
- **Icon Component**: Added icon component (`528b633`)
|
|
14
18
|
- **Showcase Page**: Set up showcase page for app component (`528b633`)
|
|
@@ -156,6 +160,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
156
160
|
|
|
157
161
|
### Changed
|
|
158
162
|
|
|
163
|
+
- **Modal Component**:
|
|
164
|
+
- Update default width from 'fit' to 'lg' (cc95896)
|
|
165
|
+
- Enhance component with additional width variants (b5db589)
|
|
159
166
|
- **Changelog**: Updated documentation in changelog.md (`528b633`)
|
|
160
167
|
- **Readme**: Updated documentation in README (`528b633`)
|
|
161
168
|
- **VScode Settings**: Updated VSCode settings (`528b633`)
|
package/README.md
CHANGED
|
@@ -92,16 +92,11 @@ npm i -D @sixbell-telco/sdk @tailwindcss/typography daisyui @midudev/tailwind-an
|
|
|
92
92
|
// const plugin = require('tailwindcss/plugin');
|
|
93
93
|
|
|
94
94
|
module.exports = {
|
|
95
|
-
content: [
|
|
96
|
-
'./src/**/*.{html,ts}',
|
|
97
|
-
'./projects/showcase/**/*.{html,ts}',
|
|
98
|
-
'./projects/sdk/**/*.{html,ts}',
|
|
99
|
-
'./dist/sdk/**/*.{html,ts}',
|
|
100
|
-
'./node_modules/sdk/**/*.{html,ts}',
|
|
101
|
-
],
|
|
95
|
+
content: ['./src/**/*.{html,ts}', './node_modules/@sixbell-telco/sdk/**/*.{html,ts,js,mjs}'],
|
|
102
96
|
theme: {
|
|
103
97
|
extend: {
|
|
104
98
|
colors: {
|
|
99
|
+
'primary-gradient': 'rgba(var(--primary-gradient), <alpha-value>)',
|
|
105
100
|
tertiary: 'rgba(var(--tertiary), <alpha-value>)',
|
|
106
101
|
'tertiary-content': 'rgba(var(--tertiary-content), <alpha-value>)',
|
|
107
102
|
'neutral-secondary': 'rgba(var(--neutral-secondary), <alpha-value>)',
|
|
@@ -151,8 +146,8 @@ module.exports = {
|
|
|
151
146
|
{
|
|
152
147
|
vivid_elegance_light: {
|
|
153
148
|
// Daisy UI theme variables
|
|
154
|
-
primary: '#
|
|
155
|
-
'primary-content': '#
|
|
149
|
+
primary: '#15A1C1',
|
|
150
|
+
'primary-content': '#ffffff',
|
|
156
151
|
secondary: '#D0D3D7',
|
|
157
152
|
'secondary-content': '#080809',
|
|
158
153
|
accent: '#FF6B35',
|
|
@@ -172,6 +167,7 @@ module.exports = {
|
|
|
172
167
|
error: '#ef5145',
|
|
173
168
|
'error-content': '#460A06',
|
|
174
169
|
// Custom colors
|
|
170
|
+
'--primary-gradient': '7, 90, 105',
|
|
175
171
|
'--tertiary': '166, 166, 166',
|
|
176
172
|
'--tertiary-content': '8, 8, 9',
|
|
177
173
|
'--neutral-secondary': '169, 170, 178',
|
|
@@ -200,8 +196,8 @@ module.exports = {
|
|
|
200
196
|
},
|
|
201
197
|
vivid_elegance_dark: {
|
|
202
198
|
// Daisy UI theme variables
|
|
203
|
-
primary: '#
|
|
204
|
-
'primary-content': '#
|
|
199
|
+
primary: '#15A1C1',
|
|
200
|
+
'primary-content': '#ffffff',
|
|
205
201
|
secondary: '#5D5F69',
|
|
206
202
|
'secondary-content': '#FFFFFF',
|
|
207
203
|
accent: '#FF8B5A',
|
|
@@ -221,6 +217,7 @@ module.exports = {
|
|
|
221
217
|
error: '#FF4133',
|
|
222
218
|
'error-content': '#4D0500',
|
|
223
219
|
// Custom colors
|
|
220
|
+
'--primary-gradient': '7, 90, 105',
|
|
224
221
|
'--tertiary': '161, 161, 161',
|
|
225
222
|
'--tertiary-content': '55, 56, 62',
|
|
226
223
|
'--neutral-secondary': '169, 170, 178',
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare const buttonComponent: (props?: ({
|
|
3
3
|
variant?: "primary" | "secondary" | "tertiary" | "accent" | "info" | "success" | "warning" | "error" | "icon" | null | undefined;
|
|
4
|
-
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
4
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
5
5
|
iconPosition?: "left" | "right" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
export type ButtonVariantProps = 'primary' | 'secondary' | 'tertiary' | 'accent' | 'info' | 'success' | 'warning' | 'error' | 'icon' | null | undefined;
|
|
8
|
-
export type ButtonSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
8
|
+
export type ButtonSizeProps = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | null | undefined;
|
|
9
9
|
export type ButtonIconPositionProps = 'left' | 'right' | null | undefined;
|
|
10
10
|
export type ButtonProps = {
|
|
11
11
|
variant?: ButtonVariantProps;
|
|
@@ -2,7 +2,7 @@ import { ControlValueAccessor, FormControl, FormGroup } from '@angular/forms';
|
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export type InputVariantProps = 'primary' | 'secondary' | 'tertiary' | 'accent' | 'info' | 'success' | 'warning' | 'error' | null | undefined;
|
|
5
|
-
export type InputSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
5
|
+
export type InputSizeProps = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | null | undefined;
|
|
6
6
|
export type InputIconPositionProps = 'left' | 'right' | null | undefined;
|
|
7
7
|
export type InputProps = {
|
|
8
8
|
variant?: InputVariantProps;
|
|
@@ -1,33 +1,101 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* CSS class generator for modal component variants
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
3
7
|
export declare const modalComponent: (props?: ({
|
|
4
|
-
width?: "
|
|
8
|
+
width?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | null | undefined;
|
|
5
9
|
aligment?: "center" | "top" | "bottom" | null | undefined;
|
|
6
10
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
-
|
|
8
|
-
export type ModalWidthProps = '
|
|
11
|
+
/** Possible width values for the modal component */
|
|
12
|
+
export type ModalWidthProps = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | null | undefined;
|
|
13
|
+
/** Possible vertical alignment values for the modal component */
|
|
9
14
|
export type ModalAlignmentProps = 'top' | 'center' | 'bottom' | null | undefined;
|
|
15
|
+
/** Configuration properties for the modal component */
|
|
10
16
|
export type ModalProps = {
|
|
11
|
-
padding?: ModalPaddingProps;
|
|
12
17
|
width?: ModalWidthProps;
|
|
13
18
|
alignment?: ModalAlignmentProps;
|
|
14
19
|
};
|
|
20
|
+
/**
|
|
21
|
+
* A customizable modal dialog component with Tailwind CSS integration
|
|
22
|
+
*
|
|
23
|
+
* @remarks
|
|
24
|
+
* Uses Angular's signal-based inputs and outputs for reactive state management.
|
|
25
|
+
* Supports various sizes and vertical alignments through input properties.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```html
|
|
29
|
+
* <st-modal
|
|
30
|
+
* modalId="confirmDialog"
|
|
31
|
+
* [(opened)]="isOpen"
|
|
32
|
+
* width="lg"
|
|
33
|
+
* alignment="top"
|
|
34
|
+
* (onClose)="handleClose()"
|
|
35
|
+
* (onClickOutside)="handleClickOustide()"
|
|
36
|
+
* />
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
15
39
|
export declare class ModalComponent {
|
|
40
|
+
/**
|
|
41
|
+
* Specifies the maximum width of the modal content
|
|
42
|
+
* @defaultValue 'md'
|
|
43
|
+
*/
|
|
16
44
|
width: import("@angular/core").InputSignal<ModalWidthProps>;
|
|
45
|
+
/**
|
|
46
|
+
* Controls the vertical positioning of the modal
|
|
47
|
+
* @defaultValue 'center'
|
|
48
|
+
*/
|
|
17
49
|
alignment: import("@angular/core").InputSignal<ModalAlignmentProps>;
|
|
50
|
+
/** Required unique identifier for the modal dialog */
|
|
18
51
|
modalId: import("@angular/core").InputSignal<string>;
|
|
52
|
+
/** Event emitted when clicking outside the modal content */
|
|
19
53
|
onClickOutside: import("@angular/core").OutputEmitterRef<void>;
|
|
54
|
+
/** Event emitted when the modal closes */
|
|
20
55
|
onClose: import("@angular/core").OutputEmitterRef<void>;
|
|
56
|
+
/** @internal Icon reference for close button */
|
|
21
57
|
iconClose: string;
|
|
58
|
+
/** @internal Reference to the underlying dialog element */
|
|
22
59
|
dialog: import("@angular/core").Signal<ElementRef<HTMLDialogElement> | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* Controls the visibility state of the modal
|
|
62
|
+
* Supports two-way binding via Angular's model
|
|
63
|
+
*/
|
|
23
64
|
opened: import("@angular/core").ModelSignal<boolean>;
|
|
65
|
+
/** @internal Handles open/close state changes */
|
|
24
66
|
openedEffect: import("@angular/core").EffectRef;
|
|
67
|
+
/**
|
|
68
|
+
* Computes CSS classes for modal content based on current configuration
|
|
69
|
+
* @returns Combined Tailwind classes string
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
25
72
|
get componentClass(): string;
|
|
73
|
+
/**
|
|
74
|
+
* Computes CSS classes for modal overlay positioning
|
|
75
|
+
* @returns Combined positioning classes string
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
26
78
|
get modalClass(): string;
|
|
79
|
+
/** @internal Opens the native dialog element */
|
|
27
80
|
handleOpen(): void;
|
|
81
|
+
/** @internal Closes the native dialog element */
|
|
28
82
|
handleClose(): void;
|
|
83
|
+
/**
|
|
84
|
+
* Public method to close the modal and emit onClose event
|
|
85
|
+
* Can be called directly from parent components
|
|
86
|
+
*/
|
|
29
87
|
handleCloseClick(): void;
|
|
88
|
+
/**
|
|
89
|
+
* Handles cancel events from the dialog element
|
|
90
|
+
* @param event - Native dialog cancel event
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
30
93
|
handleCancelClick(event: Event): void;
|
|
94
|
+
/**
|
|
95
|
+
* Handles click events outside the modal content
|
|
96
|
+
* @param event - Native mouse event
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
31
99
|
handleClickOutside(event: Event): void;
|
|
32
100
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
33
101
|
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "st-modal", never, { "width": { "alias": "width"; "required": false; "isSignal": true; }; "alignment": { "alias": "alignment"; "required": false; "isSignal": true; }; "modalId": { "alias": "modalId"; "required": true; "isSignal": true; }; "opened": { "alias": "opened"; "required": false; "isSignal": true; }; }, { "onClickOutside": "onClickOutside"; "onClose": "onClose"; "opened": "openedChange"; }, never, ["st-modal-title", "st-modal-content", "st-modal-actions"], true, never>;
|
|
@@ -1,60 +1,200 @@
|
|
|
1
1
|
import { TableHeaderCheckboxComponent } from '../table-header-checkbox/table-header-checkbox.component';
|
|
2
2
|
import { TableRowCheckboxComponent } from '../table-row-checkbox/table-row-checkbox.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/** Type definition for pagination display variants */
|
|
4
5
|
export type PaginationType = 'default' | 'dots';
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
* Generates base table classes with size variants
|
|
9
|
+
*/
|
|
5
10
|
export declare const tableContent: (props?: ({
|
|
6
11
|
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
7
12
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
13
|
+
/** Possible table size variants */
|
|
8
14
|
export type TableContentSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
* Generates table container classes with height variants
|
|
18
|
+
*/
|
|
9
19
|
export declare const tableContainer: (props?: ({
|
|
10
20
|
containerHeight?: "sm" | "md" | "lg" | "auto" | "full" | "xl" | null | undefined;
|
|
11
21
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
22
|
+
/** Possible table container height values */
|
|
12
23
|
export type TableContainerHeightProps = 'auto' | 'full' | 'sm' | 'md' | 'lg' | 'xl' | null | undefined;
|
|
24
|
+
/** Configuration object for table styling variants */
|
|
13
25
|
export type TableVariantProps = {
|
|
14
26
|
size?: TableContentSizeProps;
|
|
15
27
|
containerHeight?: TableContainerHeightProps;
|
|
16
28
|
};
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
* Combines table content and container classes
|
|
32
|
+
*/
|
|
17
33
|
export declare const tableComponent: ({ size, containerHeight }?: TableVariantProps) => string;
|
|
34
|
+
/** Pagination configuration structure */
|
|
18
35
|
export type TablePagination = {
|
|
19
36
|
id: string;
|
|
20
37
|
currentPage: number;
|
|
21
38
|
itemsPerPage: number;
|
|
22
39
|
search: string;
|
|
23
40
|
};
|
|
41
|
+
/**
|
|
42
|
+
* A feature-rich data table component with sorting, pagination, and row selection
|
|
43
|
+
*
|
|
44
|
+
* @remarks
|
|
45
|
+
* Integrates with Tailwind CSS for styling and supports responsive layouts.
|
|
46
|
+
* Includes built-in pagination controls and checkbox selection functionality.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* ```html
|
|
50
|
+
* <st-table
|
|
51
|
+
* [data]="users"
|
|
52
|
+
* [totalItems]="100"
|
|
53
|
+
* [pagination]="{ currentPage: 1, itemsPerPage: 10 }"
|
|
54
|
+
* (onPageChange)="handlePageChange($event)"
|
|
55
|
+
* size="md"
|
|
56
|
+
* height="lg"
|
|
57
|
+
* zebra
|
|
58
|
+
* >
|
|
59
|
+
* <!-- Table columns and content -->
|
|
60
|
+
* </st-table>
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
24
63
|
export declare class TableComponent {
|
|
64
|
+
/**
|
|
65
|
+
* Table size variant
|
|
66
|
+
* @defaultValue 'sm'
|
|
67
|
+
*/
|
|
25
68
|
size: import("@angular/core").InputSignal<TableContentSizeProps>;
|
|
69
|
+
/**
|
|
70
|
+
* Table container height preset
|
|
71
|
+
* @defaultValue 'auto'
|
|
72
|
+
*/
|
|
26
73
|
height: import("@angular/core").InputSignal<TableContainerHeightProps>;
|
|
74
|
+
/**
|
|
75
|
+
* Enable sticky header row
|
|
76
|
+
* @defaultValue false
|
|
77
|
+
*/
|
|
27
78
|
pinRows: import("@angular/core").InputSignal<boolean>;
|
|
79
|
+
/**
|
|
80
|
+
* Enable sticky first column
|
|
81
|
+
* @defaultValue false
|
|
82
|
+
*/
|
|
28
83
|
pinColumns: import("@angular/core").InputSignal<boolean>;
|
|
84
|
+
/**
|
|
85
|
+
* Apply zebra-striping to rows
|
|
86
|
+
* @defaultValue false
|
|
87
|
+
*/
|
|
29
88
|
zebra: import("@angular/core").InputSignal<boolean>;
|
|
89
|
+
/**
|
|
90
|
+
* Pagination control display variant
|
|
91
|
+
* @defaultValue 'default'
|
|
92
|
+
*/
|
|
30
93
|
paginatorType: import("@angular/core").InputSignal<PaginationType>;
|
|
94
|
+
/** Label for items per page selector */
|
|
31
95
|
labelEntriesByPage: import("@angular/core").InputSignal<string>;
|
|
96
|
+
/** Label for "X of Y" entries display */
|
|
32
97
|
labelShowEntriesOf: import("@angular/core").InputSignal<string>;
|
|
98
|
+
/** Label for total entries display */
|
|
33
99
|
labelShowEntries: import("@angular/core").InputSignal<string>;
|
|
100
|
+
/** @internal Info icon reference */
|
|
34
101
|
infoIcon: string;
|
|
102
|
+
/**
|
|
103
|
+
* Array of data items to display
|
|
104
|
+
* @defaultValue []
|
|
105
|
+
*/
|
|
35
106
|
data: import("@angular/core").InputSignal<unknown[]>;
|
|
107
|
+
/**
|
|
108
|
+
* Total number of items across all pages
|
|
109
|
+
* @defaultValue 0
|
|
110
|
+
*/
|
|
36
111
|
totalItems: import("@angular/core").InputSignal<number>;
|
|
112
|
+
/**
|
|
113
|
+
* Error message displayed when no data is available
|
|
114
|
+
* @defaultValue 'No se encontraron resultados'
|
|
115
|
+
*/
|
|
37
116
|
error: import("@angular/core").InputSignal<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Pagination configuration
|
|
119
|
+
* @defaultValue { id: 'paginator', currentPage: 1, itemsPerPage: 10, search: '' }
|
|
120
|
+
*/
|
|
38
121
|
pagination: import("@angular/core").InputSignal<TablePagination>;
|
|
122
|
+
/**
|
|
123
|
+
* Maximum number of pagination buttons to display
|
|
124
|
+
* @defaultValue 7
|
|
125
|
+
*/
|
|
39
126
|
maxSize: import("@angular/core").InputSignal<number>;
|
|
127
|
+
/** Event emitted when page changes */
|
|
40
128
|
onPageChange: import("@angular/core").OutputEmitterRef<number>;
|
|
129
|
+
/** Event emitted when page size changes */
|
|
41
130
|
onPageSizeChange: import("@angular/core").OutputEmitterRef<number>;
|
|
131
|
+
/**
|
|
132
|
+
* Show items per page selector
|
|
133
|
+
* @defaultValue true
|
|
134
|
+
*/
|
|
42
135
|
showItemsPerPage: import("@angular/core").InputSignal<boolean>;
|
|
136
|
+
/**
|
|
137
|
+
* Show entries count display
|
|
138
|
+
* @defaultValue true
|
|
139
|
+
*/
|
|
43
140
|
showEntries: import("@angular/core").InputSignal<boolean>;
|
|
141
|
+
/**
|
|
142
|
+
* Show pagination controls
|
|
143
|
+
* @defaultValue true
|
|
144
|
+
*/
|
|
44
145
|
showPagination: import("@angular/core").InputSignal<boolean>;
|
|
146
|
+
/**
|
|
147
|
+
* Computed display range for current page entries
|
|
148
|
+
* @example "1-10" of 100 entries
|
|
149
|
+
*/
|
|
45
150
|
paginationRange: import("@angular/core").Signal<string>;
|
|
151
|
+
/**
|
|
152
|
+
* Handles page navigation events
|
|
153
|
+
* @param page - New page number
|
|
154
|
+
*/
|
|
46
155
|
handlePageChange(page: number): void;
|
|
156
|
+
/**
|
|
157
|
+
* Handles page size changes
|
|
158
|
+
* @param size - New items per page value
|
|
159
|
+
*/
|
|
47
160
|
handlePageSizeChange(size: number): void;
|
|
161
|
+
/**
|
|
162
|
+
* @internal
|
|
163
|
+
* Computes table element classes based on current configuration
|
|
164
|
+
*/
|
|
48
165
|
get tableClass(): string;
|
|
166
|
+
/**
|
|
167
|
+
* @internal
|
|
168
|
+
* Computes table container classes based on height input
|
|
169
|
+
*/
|
|
49
170
|
get tableContainerClass(): string;
|
|
171
|
+
/**
|
|
172
|
+
* @internal
|
|
173
|
+
* Computes outer container classes based on size
|
|
174
|
+
*/
|
|
50
175
|
get containerClass(): string;
|
|
176
|
+
/** @internal Reference to header checkbox component */
|
|
51
177
|
header: import("@angular/core").Signal<TableHeaderCheckboxComponent | undefined>;
|
|
178
|
+
/** @internal List of row checkbox components */
|
|
52
179
|
rows: import("@angular/core").Signal<readonly TableRowCheckboxComponent[]>;
|
|
180
|
+
/** @internal Track selected row identifiers */
|
|
53
181
|
identifiers: import("@angular/core").WritableSignal<Set<unknown>>;
|
|
182
|
+
/** Event emitted with array of selected item identifiers */
|
|
54
183
|
onCheck: import("@angular/core").OutputEmitterRef<unknown[]>;
|
|
184
|
+
/** @internal Sync checkbox state with output */
|
|
55
185
|
checkEffect: import("@angular/core").EffectRef;
|
|
186
|
+
/**
|
|
187
|
+
* Toggle all row checkboxes
|
|
188
|
+
* @param value - Whether to check or uncheck all rows
|
|
189
|
+
*/
|
|
56
190
|
handleToggleAll(value: boolean): void;
|
|
191
|
+
/**
|
|
192
|
+
* Handle individual checkbox toggle
|
|
193
|
+
* @param value - Checkbox state
|
|
194
|
+
* @param identifier - Unique row identifier
|
|
195
|
+
*/
|
|
57
196
|
handleToggleCheckbox(value: boolean, identifier: unknown): void;
|
|
197
|
+
/** @internal Clear all selections */
|
|
58
198
|
private clearList;
|
|
59
199
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
60
200
|
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>;
|
|
@@ -1,12 +1,54 @@
|
|
|
1
1
|
import { CheckboxSizeProps, CheckboxVariantProps } from '@sixbell-telco/sdk/components/forms/checkbox';
|
|
2
2
|
import { TableComponent } from '../src/table.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Header checkbox component for the table.
|
|
6
|
+
*
|
|
7
|
+
* This component renders a checkbox within a table header row,
|
|
8
|
+
* allowing users to select or deselect all rows in the table.
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* Utilizes Angular's dependency injection to access the parent {@link TableComponent}
|
|
12
|
+
* and propagate the checkbox state changes.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```html
|
|
16
|
+
* <tr header-checkbox></tr>
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
4
19
|
export declare class TableHeaderCheckboxComponent {
|
|
5
20
|
private table;
|
|
21
|
+
/**
|
|
22
|
+
* Defines the variant styling of the checkbox.
|
|
23
|
+
*
|
|
24
|
+
* @defaultValue 'primary'
|
|
25
|
+
*/
|
|
6
26
|
checkboxVariant: import("@angular/core").InputSignal<CheckboxVariantProps>;
|
|
27
|
+
/**
|
|
28
|
+
* Defines the size of the checkbox.
|
|
29
|
+
*
|
|
30
|
+
* @defaultValue 'md'
|
|
31
|
+
*/
|
|
7
32
|
checkboxSize: import("@angular/core").InputSignal<CheckboxSizeProps>;
|
|
33
|
+
/**
|
|
34
|
+
* Signal that tracks the checked state of the header checkbox.
|
|
35
|
+
*
|
|
36
|
+
* @defaultValue false
|
|
37
|
+
*/
|
|
8
38
|
checked: import("@angular/core").WritableSignal<boolean>;
|
|
39
|
+
/**
|
|
40
|
+
* Creates an instance of TableHeaderCheckboxComponent.
|
|
41
|
+
*
|
|
42
|
+
* @param table - Reference to the parent {@link TableComponent} to access table-level operations.
|
|
43
|
+
*/
|
|
9
44
|
constructor(table: TableComponent);
|
|
45
|
+
/**
|
|
46
|
+
* Handles the event when the header checkbox is toggled.
|
|
47
|
+
*
|
|
48
|
+
* This method notifies the parent table component to either select or deselect all rows.
|
|
49
|
+
*
|
|
50
|
+
* @param value - The new checked state (true to select all rows, false to deselect all).
|
|
51
|
+
*/
|
|
10
52
|
handleSelectAll(value: boolean): void;
|
|
11
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderCheckboxComponent, [{ host: true; }]>;
|
|
12
54
|
static ɵcmp: i0.ɵɵComponentDeclaration<TableHeaderCheckboxComponent, "tr[header-checkbox]", never, { "checkboxVariant": { "alias": "checkboxVariant"; "required": false; "isSignal": true; }; "checkboxSize": { "alias": "checkboxSize"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
@@ -1,13 +1,59 @@
|
|
|
1
1
|
import { CheckboxSizeProps, CheckboxVariantProps } from '@sixbell-telco/sdk/components/forms/checkbox';
|
|
2
2
|
import { TableComponent } from '../src/table.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Row checkbox component for table row selection.
|
|
6
|
+
*
|
|
7
|
+
* This component renders a checkbox within a table row,
|
|
8
|
+
* enabling individual row selection. It interacts with the parent
|
|
9
|
+
* {@link TableComponent} to update the selection state.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```html
|
|
13
|
+
* <tr row-checkbox [identifier]="rowId"></tr>
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
4
16
|
export declare class TableRowCheckboxComponent {
|
|
5
17
|
private table;
|
|
18
|
+
/**
|
|
19
|
+
* Defines the variant styling of the checkbox.
|
|
20
|
+
*
|
|
21
|
+
* @defaultValue 'primary'
|
|
22
|
+
*/
|
|
6
23
|
checkboxVariant: import("@angular/core").InputSignal<CheckboxVariantProps>;
|
|
24
|
+
/**
|
|
25
|
+
* Defines the size of the checkbox.
|
|
26
|
+
*
|
|
27
|
+
* @defaultValue 'md'
|
|
28
|
+
*/
|
|
7
29
|
checkboxSize: import("@angular/core").InputSignal<CheckboxSizeProps>;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier for the table row.
|
|
32
|
+
*
|
|
33
|
+
* This input is required to track the specific row in the table.
|
|
34
|
+
*/
|
|
8
35
|
identifier: import("@angular/core").InputSignal<unknown>;
|
|
36
|
+
/**
|
|
37
|
+
* Signal that tracks the checked state of the row checkbox.
|
|
38
|
+
*
|
|
39
|
+
* @defaultValue false
|
|
40
|
+
*/
|
|
9
41
|
checked: import("@angular/core").WritableSignal<boolean>;
|
|
42
|
+
/**
|
|
43
|
+
* Creates an instance of TableRowCheckboxComponent.
|
|
44
|
+
*
|
|
45
|
+
* @param table - Reference to the parent {@link TableComponent} to access
|
|
46
|
+
* table-level operations for row selection.
|
|
47
|
+
*/
|
|
10
48
|
constructor(table: TableComponent);
|
|
49
|
+
/**
|
|
50
|
+
* Handles the selection event of the row checkbox.
|
|
51
|
+
*
|
|
52
|
+
* This method notifies the parent table component to update the selection state
|
|
53
|
+
* for the corresponding row, based on the checkbox's new value.
|
|
54
|
+
*
|
|
55
|
+
* @param value - The new checked state (true for selected, false for deselected).
|
|
56
|
+
*/
|
|
11
57
|
handleSelect(value: boolean): void;
|
|
12
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowCheckboxComponent, [{ host: true; }]>;
|
|
13
59
|
static ɵcmp: i0.ɵɵComponentDeclaration<TableRowCheckboxComponent, "tr[row-checkbox]", never, { "checkboxVariant": { "alias": "checkboxVariant"; "required": false; "isSignal": true; }; "checkboxSize": { "alias": "checkboxSize"; "required": false; "isSignal": true; }; "identifier": { "alias": "identifier"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
@@ -1,21 +1,67 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
+
/** Available typography heading and body variants */
|
|
2
3
|
export type TypographyVariantProps = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body' | 'body-sm' | 'body-xs' | 'inherit' | null | undefined;
|
|
4
|
+
/** Text color variants for typography */
|
|
3
5
|
export type TypographyColorProps = 'base' | 'base-placeholder' | 'inherit' | null | undefined;
|
|
6
|
+
/** Font weight options for typography */
|
|
4
7
|
export type TypographyFontWeightProps = 'bold' | 'semibold' | 'medium' | 'normal' | 'inherit' | null | undefined;
|
|
8
|
+
/** Text overflow handling methods */
|
|
5
9
|
export type TypographyTextOverflowProps = 'clip' | 'ellipsis' | 'truncate' | null | undefined;
|
|
10
|
+
/** Configuration object for typography styles */
|
|
6
11
|
export type TypographyProps = {
|
|
7
12
|
variant?: TypographyVariantProps;
|
|
8
13
|
color?: TypographyColorProps;
|
|
9
14
|
fontWeight?: TypographyFontWeightProps;
|
|
10
15
|
textOverflow?: TypographyTextOverflowProps;
|
|
11
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* A directive for applying consistent typography styles using Tailwind CSS
|
|
19
|
+
*
|
|
20
|
+
* @remarks
|
|
21
|
+
* Applies text styling based on variant, color, weight, and overflow properties.
|
|
22
|
+
* Uses Angular's signal-based inputs for reactive style updates.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```html
|
|
26
|
+
* <h1 typography tyVariant="h2" tyColor="base" tyFontWeight="bold">
|
|
27
|
+
* Heading with custom typography
|
|
28
|
+
* </h1>
|
|
29
|
+
*
|
|
30
|
+
* <p typography tyVariant="body-sm" tyTextOverflow="ellipsis">
|
|
31
|
+
* Small body text with ellipsis overflow
|
|
32
|
+
* </p>
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
12
35
|
export declare class TypographyDirective {
|
|
36
|
+
/**
|
|
37
|
+
* Typography variant style (heading level or body type)
|
|
38
|
+
* @alias tyVariant
|
|
39
|
+
* @defaultValue 'body'
|
|
40
|
+
*/
|
|
13
41
|
variant: import("@angular/core").InputSignal<TypographyVariantProps>;
|
|
42
|
+
/**
|
|
43
|
+
* Text color variant
|
|
44
|
+
* @alias tyColor
|
|
45
|
+
* @defaultValue 'inherit'
|
|
46
|
+
*/
|
|
14
47
|
color: import("@angular/core").InputSignal<TypographyColorProps>;
|
|
48
|
+
/**
|
|
49
|
+
* Font weight variant
|
|
50
|
+
* @alias tyFontWeight
|
|
51
|
+
* @defaultValue 'normal'
|
|
52
|
+
*/
|
|
15
53
|
fontWeight: import("@angular/core").InputSignal<TypographyFontWeightProps>;
|
|
54
|
+
/**
|
|
55
|
+
* Text overflow handling method
|
|
56
|
+
* @alias tyTextOverflow
|
|
57
|
+
* @defaultValue 'clip'
|
|
58
|
+
*/
|
|
16
59
|
textOverflow: import("@angular/core").InputSignal<TypographyTextOverflowProps>;
|
|
60
|
+
/** @internal Reference to host element */
|
|
17
61
|
private element;
|
|
62
|
+
/** @internal Angular renderer instance */
|
|
18
63
|
private renderer;
|
|
64
|
+
/** @internal Effect to update classes when inputs change */
|
|
19
65
|
classListEffect: import("@angular/core").EffectRef;
|
|
20
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<TypographyDirective, never>;
|
|
21
67
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TypographyDirective, "[typography]", never, { "variant": { "alias": "tyVariant"; "required": false; "isSignal": true; }; "color": { "alias": "tyColor"; "required": false; "isSignal": true; }; "fontWeight": { "alias": "tyFontWeight"; "required": false; "isSignal": true; }; "textOverflow": { "alias": "tyTextOverflow"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -28,8 +28,9 @@ export const buttonComponent = cva(['btn', 'text-pretty', 'font-body', 'font-med
|
|
|
28
28
|
size: {
|
|
29
29
|
xs: ['btn-xs', 'text-xs'],
|
|
30
30
|
sm: ['btn-sm', 'text-sm'],
|
|
31
|
-
md: ['btn-md', 'text-base'],
|
|
32
|
-
lg: ['
|
|
31
|
+
md: ['btn-md', 'min-h-9', 'h-9', 'text-base'],
|
|
32
|
+
lg: ['text-base', 'min-h-12', 'h-12', 'p-4', 'text-base'],
|
|
33
|
+
xl: ['btn-lg', 'text-lg'],
|
|
33
34
|
},
|
|
34
35
|
iconPosition: {
|
|
35
36
|
left: [''],
|
|
@@ -81,4 +82,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImpo
|
|
|
81
82
|
type: Component,
|
|
82
83
|
args: [{ selector: 'st-button', standalone: true, imports: [IconComponent, CommonModule], template: "@let iconVar = icon();\n@let loaderVar = loader();\n<button [class]=\"containerClass\" [type]=\"type()\" [disabled]=\"disabled()\">\n\t@if (iconVar) {\n\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"md\"></st-icon>\n\t}\n\t@if (loaderVar) {\n\t\t<span class=\"loading loading-spinner\"></span>\n\t}\n\t<ng-content></ng-content>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