@tekus/design-system 5.20.0 → 5.22.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/fesm2022/tekus-design-system-components-autocomplete.mjs +15 -15
- package/fesm2022/tekus-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-badge.mjs +8 -8
- package/fesm2022/tekus-design-system-components-badge.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-button.mjs +3 -3
- package/fesm2022/tekus-design-system-components-button.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-checkbox.mjs +14 -16
- package/fesm2022/tekus-design-system-components-checkbox.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-date-picker.mjs +166 -167
- package/fesm2022/tekus-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-drawer.mjs +29 -29
- package/fesm2022/tekus-design-system-components-drawer.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-fallback-view.mjs +4 -5
- package/fesm2022/tekus-design-system-components-fallback-view.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-icon.mjs +13 -15
- package/fesm2022/tekus-design-system-components-icon.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-input-number.mjs +12 -14
- package/fesm2022/tekus-design-system-components-input-number.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-input-text.mjs +17 -18
- package/fesm2022/tekus-design-system-components-input-text.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-modal.mjs +31 -31
- package/fesm2022/tekus-design-system-components-modal.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-multiselect.mjs +19 -19
- package/fesm2022/tekus-design-system-components-multiselect.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-pagination.mjs +12 -12
- package/fesm2022/tekus-design-system-components-pagination.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-panel.mjs +3 -3
- package/fesm2022/tekus-design-system-components-panel.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-radio-button.mjs +13 -15
- package/fesm2022/tekus-design-system-components-radio-button.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-select.mjs +16 -16
- package/fesm2022/tekus-design-system-components-select.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-table.mjs +13 -13
- package/fesm2022/tekus-design-system-components-table.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-tabs.mjs +18 -21
- package/fesm2022/tekus-design-system-components-tabs.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-tag.mjs +11 -19
- package/fesm2022/tekus-design-system-components-tag.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-textarea.mjs +16 -18
- package/fesm2022/tekus-design-system-components-textarea.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-toolbar.mjs +18 -18
- package/fesm2022/tekus-design-system-components-toolbar.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-tooltip.mjs +6 -6
- package/fesm2022/tekus-design-system-components-tooltip.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-topbar.mjs +9 -9
- package/fesm2022/tekus-design-system-components-topbar.mjs.map +1 -1
- package/fesm2022/tekus-design-system-core-types.mjs +6 -6
- package/fesm2022/tekus-design-system-core-types.mjs.map +1 -1
- package/fesm2022/tekus-design-system-core.mjs +6 -6
- package/fesm2022/tekus-design-system-core.mjs.map +1 -1
- package/fesm2022/tekus-design-system-directives-gird-item.mjs +4 -4
- package/fesm2022/tekus-design-system-directives-gird-item.mjs.map +1 -1
- package/fesm2022/tekus-design-system-utils-sanitizer-utils.mjs.map +1 -1
- package/package.json +47 -42
- package/{components/autocomplete/src/autocomplete.component.d.ts → types/tekus-design-system-components-autocomplete.d.ts} +18 -16
- package/{components/badge/src/badge.component.d.ts → types/tekus-design-system-components-badge.d.ts} +12 -8
- package/{components/button/src/button.component.d.ts → types/tekus-design-system-components-button.d.ts} +8 -4
- package/{components/checkbox/src/checkbox.component.d.ts → types/tekus-design-system-components-checkbox.d.ts} +18 -15
- package/types/tekus-design-system-components-date-picker.d.ts +193 -0
- package/{components/drawer/src/drawer.component.d.ts → types/tekus-design-system-components-drawer.d.ts} +54 -19
- package/{components/fallback-view/src/fallback-view.component.d.ts → types/tekus-design-system-components-fallback-view.d.ts} +7 -3
- package/types/tekus-design-system-components-icon.d.ts +108 -0
- package/{components/input-number/src/input-number.component.d.ts → types/tekus-design-system-components-input-number.d.ts} +15 -12
- package/{components/input-text/src/input-text.component.d.ts → types/tekus-design-system-components-input-text.d.ts} +20 -17
- package/types/tekus-design-system-components-modal.d.ts +186 -0
- package/{components/multiselect/src/multiselect.component.d.ts → types/tekus-design-system-components-multiselect.d.ts} +30 -22
- package/{components/pagination/src/pagination.component.d.ts → types/tekus-design-system-components-pagination.d.ts} +16 -13
- package/{components/panel/src/panel.component.d.ts → types/tekus-design-system-components-panel.d.ts} +5 -2
- package/{components/radio-button/src/radio-button.component.d.ts → types/tekus-design-system-components-radio-button.d.ts} +16 -13
- package/{components/select/src/select.component.d.ts → types/tekus-design-system-components-select.d.ts} +20 -17
- package/{components/table/src/table.component.d.ts → types/tekus-design-system-components-table.d.ts} +30 -12
- package/{components/tabs/src/tabs.component.d.ts → types/tekus-design-system-components-tabs.d.ts} +23 -14
- package/{components/tag/src/tag.component.d.ts → types/tekus-design-system-components-tag.d.ts} +14 -10
- package/{components/textarea/src/textarea.component.d.ts → types/tekus-design-system-components-textarea.d.ts} +18 -15
- package/{components/toolbar/src/toolbar.component.d.ts → types/tekus-design-system-components-toolbar.d.ts} +21 -18
- package/types/tekus-design-system-components-tooltip.d.ts +39 -0
- package/types/tekus-design-system-components-topbar.d.ts +37 -0
- package/types/tekus-design-system-core-types.d.ts +182 -0
- package/types/tekus-design-system-core.d.ts +182 -0
- package/{directives/gird-item/src/grid-item.directive.d.ts → types/tekus-design-system-directives-gird-item.d.ts} +11 -7
- package/{utils/sanitizer-utils/src/sanitizer-utils.d.ts → types/tekus-design-system-utils-sanitizer-utils.d.ts} +5 -3
- package/types/tekus-design-system.d.ts +2 -0
- package/components/autocomplete/index.d.ts +0 -5
- package/components/autocomplete/public-api.d.ts +0 -1
- package/components/badge/index.d.ts +0 -5
- package/components/badge/public-api.d.ts +0 -1
- package/components/button/index.d.ts +0 -5
- package/components/button/public-api.d.ts +0 -1
- package/components/checkbox/index.d.ts +0 -5
- package/components/checkbox/public-api.d.ts +0 -1
- package/components/date-picker/index.d.ts +0 -5
- package/components/date-picker/public-api.d.ts +0 -1
- package/components/date-picker/src/date-picker.component.d.ts +0 -163
- package/components/drawer/index.d.ts +0 -5
- package/components/drawer/public-api.d.ts +0 -3
- package/components/drawer/src/drawer.types.d.ts +0 -22
- package/components/drawer/src/services/drawer.service.d.ts +0 -15
- package/components/fallback-view/index.d.ts +0 -5
- package/components/fallback-view/public-api.d.ts +0 -1
- package/components/icon/core/icon-catalog.d.ts +0 -76
- package/components/icon/core/icons/ads.icons.d.ts +0 -2
- package/components/icon/core/icons/angle.icons.d.ts +0 -2
- package/components/icon/core/icons/arrow.icons.d.ts +0 -2
- package/components/icon/core/icons/arrows-rotate.d.ts +0 -2
- package/components/icon/core/icons/bars.icons.d.ts +0 -2
- package/components/icon/core/icons/bolt.icons.d.ts +0 -2
- package/components/icon/core/icons/book.icons.d.ts +0 -2
- package/components/icon/core/icons/calendar.icons.d.ts +0 -2
- package/components/icon/core/icons/camera.icons.d.ts +0 -2
- package/components/icon/core/icons/chart.icons.d.ts +0 -2
- package/components/icon/core/icons/check.icons.d.ts +0 -2
- package/components/icon/core/icons/chevron.icons.d.ts +0 -2
- package/components/icon/core/icons/circle.icons.d.ts +0 -2
- package/components/icon/core/icons/clock.icons.d.ts +0 -2
- package/components/icon/core/icons/clone.icons.d.ts +0 -2
- package/components/icon/core/icons/download.icons.d.ts +0 -2
- package/components/icon/core/icons/edit.d.ts +0 -2
- package/components/icon/core/icons/ellipsis.icons.d.ts +0 -2
- package/components/icon/core/icons/eye.icons.d.ts +0 -2
- package/components/icon/core/icons/filter.icons.d.ts +0 -2
- package/components/icon/core/icons/folders.icons.d.ts +0 -2
- package/components/icon/core/icons/gears.icons.d.ts +0 -2
- package/components/icon/core/icons/globe-pointer.d.ts +0 -2
- package/components/icon/core/icons/grip-vertical.d.ts +0 -2
- package/components/icon/core/icons/hand.icons.d.ts +0 -2
- package/components/icon/core/icons/language.icons.d.ts +0 -2
- package/components/icon/core/icons/layer.icons.d.ts +0 -2
- package/components/icon/core/icons/link.icons.d.ts +0 -2
- package/components/icon/core/icons/list.icons.d.ts +0 -2
- package/components/icon/core/icons/location.icons.d.ts +0 -2
- package/components/icon/core/icons/lock.icons.d.ts +0 -2
- package/components/icon/core/icons/magnifying-glass.icons.d.ts +0 -2
- package/components/icon/core/icons/media.icons.d.ts +0 -2
- package/components/icon/core/icons/megaphone.icons.d.ts +0 -2
- package/components/icon/core/icons/money.icons.d.ts +0 -2
- package/components/icon/core/icons/pen.icons.d.ts +0 -2
- package/components/icon/core/icons/pencil.icons.d.ts +0 -2
- package/components/icon/core/icons/plug.icons.d.ts +0 -2
- package/components/icon/core/icons/plus.icons.d.ts +0 -2
- package/components/icon/core/icons/qr-code.icons.d.ts +0 -2
- package/components/icon/core/icons/screwdriver-wrench.icons.d.ts +0 -2
- package/components/icon/core/icons/shuffle.icons.d.ts +0 -2
- package/components/icon/core/icons/square.icons.d.ts +0 -2
- package/components/icon/core/icons/tag.icons.d.ts +0 -2
- package/components/icon/core/icons/thumbs.icons.d.ts +0 -2
- package/components/icon/core/icons/trash.icons.d.ts +0 -2
- package/components/icon/core/icons/triangle.icons.d.ts +0 -2
- package/components/icon/core/icons/user.icons.d.ts +0 -2
- package/components/icon/core/icons/xmark.icons.d.ts +0 -2
- package/components/icon/core/svg-icons/ads-icon.svg.d.ts +0 -2
- package/components/icon/core/svg-icons/index.d.ts +0 -1
- package/components/icon/index.d.ts +0 -5
- package/components/icon/public-api.d.ts +0 -2
- package/components/icon/src/icon.component.d.ts +0 -79
- package/components/input-number/index.d.ts +0 -5
- package/components/input-number/public-api.d.ts +0 -1
- package/components/input-text/index.d.ts +0 -5
- package/components/input-text/public-api.d.ts +0 -1
- package/components/modal/index.d.ts +0 -5
- package/components/modal/public-api.d.ts +0 -3
- package/components/modal/src/modal.component.d.ts +0 -118
- package/components/modal/src/modal.types.d.ts +0 -39
- package/components/modal/src/services/modal.service.d.ts +0 -31
- package/components/multiselect/index.d.ts +0 -5
- package/components/multiselect/public-api.d.ts +0 -2
- package/components/multiselect/src/multiselect.types.d.ts +0 -4
- package/components/pagination/index.d.ts +0 -5
- package/components/pagination/public-api.d.ts +0 -1
- package/components/panel/index.d.ts +0 -5
- package/components/panel/public-api.d.ts +0 -1
- package/components/radio-button/index.d.ts +0 -5
- package/components/radio-button/public-api.d.ts +0 -1
- package/components/select/index.d.ts +0 -5
- package/components/select/public-api.d.ts +0 -1
- package/components/table/index.d.ts +0 -5
- package/components/table/public-api.d.ts +0 -2
- package/components/table/src/table.interface.d.ts +0 -14
- package/components/tabs/index.d.ts +0 -5
- package/components/tabs/public-api.d.ts +0 -2
- package/components/tabs/src/tabs.interface.d.ts +0 -11
- package/components/tag/index.d.ts +0 -5
- package/components/tag/public-api.d.ts +0 -1
- package/components/textarea/index.d.ts +0 -5
- package/components/textarea/public-api.d.ts +0 -1
- package/components/toolbar/index.d.ts +0 -5
- package/components/toolbar/public-api.d.ts +0 -1
- package/components/tooltip/index.d.ts +0 -5
- package/components/tooltip/public-api.d.ts +0 -1
- package/components/tooltip/src/tooltip.component.d.ts +0 -35
- package/components/topbar/index.d.ts +0 -5
- package/components/topbar/public-api.d.ts +0 -2
- package/components/topbar/src/topbar.component.d.ts +0 -20
- package/components/topbar/src/topbar.types.d.ts +0 -13
- package/core/index.d.ts +0 -5
- package/core/public-api.d.ts +0 -1
- package/core/types/index.d.ts +0 -5
- package/core/types/public-api.d.ts +0 -10
- package/core/types/src/branding/branding.types.d.ts +0 -15
- package/core/types/src/branding/index.d.ts +0 -1
- package/core/types/src/breakpoints/breakpoints.d.ts +0 -10
- package/core/types/src/breakpoints/index.d.ts +0 -1
- package/core/types/src/grids/grid.enum.d.ts +0 -18
- package/core/types/src/grids/grid.model.d.ts +0 -10
- package/core/types/src/grids/grid.type.d.ts +0 -40
- package/core/types/src/grids/index.d.ts +0 -3
- package/core/types/src/illustration-config/illustration-config.model.d.ts +0 -4
- package/core/types/src/illustration-config/index.d.ts +0 -1
- package/core/types/src/interception/index.d.ts +0 -1
- package/core/types/src/interception/interception.types.d.ts +0 -21
- package/core/types/src/option/index.d.ts +0 -1
- package/core/types/src/option/option.model.d.ts +0 -8
- package/core/types/src/theme/theme.provider.d.ts +0 -1
- package/core/types/src/theme/tk-preset.d.ts +0 -1
- package/core/types/src/typography-styles/index.d.ts +0 -1
- package/core/types/src/typography-styles/typographyStyles.model.d.ts +0 -36
- package/core/types/src/validator-with-message/index.d.ts +0 -1
- package/core/types/src/validator-with-message/validator-with-message.model.d.ts +0 -5
- package/directives/gird-item/index.d.ts +0 -5
- package/directives/gird-item/public-api.d.ts +0 -1
- package/index.d.ts +0 -1
- package/utils/sanitizer-utils/index.d.ts +0 -5
- package/utils/sanitizer-utils/public-api.d.ts +0 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
1
2
|
import { PaginatorState } from 'primeng/paginator';
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
declare class PaginationComponent {
|
|
4
5
|
/**
|
|
5
6
|
* @property {boolean} hidden
|
|
6
7
|
* @description
|
|
@@ -10,7 +11,7 @@ export declare class PaginationComponent {
|
|
|
10
11
|
*
|
|
11
12
|
* @default false
|
|
12
13
|
*/
|
|
13
|
-
hidden:
|
|
14
|
+
hidden: _angular_core.InputSignal<boolean>;
|
|
14
15
|
/**
|
|
15
16
|
* @property {number} pageIndex
|
|
16
17
|
* @description
|
|
@@ -19,7 +20,7 @@ export declare class PaginationComponent {
|
|
|
19
20
|
*
|
|
20
21
|
* @default 0
|
|
21
22
|
*/
|
|
22
|
-
pageIndex:
|
|
23
|
+
pageIndex: _angular_core.InputSignal<number>;
|
|
23
24
|
/**
|
|
24
25
|
* @property {number} pageSize
|
|
25
26
|
* @description
|
|
@@ -27,7 +28,7 @@ export declare class PaginationComponent {
|
|
|
27
28
|
*
|
|
28
29
|
* @default 10
|
|
29
30
|
*/
|
|
30
|
-
pageSize:
|
|
31
|
+
pageSize: _angular_core.InputSignal<number>;
|
|
31
32
|
/**
|
|
32
33
|
* @property {number} length
|
|
33
34
|
* @description
|
|
@@ -35,7 +36,7 @@ export declare class PaginationComponent {
|
|
|
35
36
|
*
|
|
36
37
|
* @required
|
|
37
38
|
*/
|
|
38
|
-
length:
|
|
39
|
+
length: _angular_core.InputSignal<number>;
|
|
39
40
|
/**
|
|
40
41
|
* @property {number[]} pageSizeOptions
|
|
41
42
|
* @description
|
|
@@ -43,7 +44,7 @@ export declare class PaginationComponent {
|
|
|
43
44
|
*
|
|
44
45
|
* @default [5, 10, 20, 50]
|
|
45
46
|
*/
|
|
46
|
-
pageSizeOptions:
|
|
47
|
+
pageSizeOptions: _angular_core.InputSignal<number[]>;
|
|
47
48
|
/**
|
|
48
49
|
* @property {Signal<number>} pageIndexInternal
|
|
49
50
|
* @description
|
|
@@ -53,7 +54,7 @@ export declare class PaginationComponent {
|
|
|
53
54
|
*
|
|
54
55
|
* @internal
|
|
55
56
|
*/
|
|
56
|
-
pageIndexInternal:
|
|
57
|
+
pageIndexInternal: _angular_core.WritableSignal<number>;
|
|
57
58
|
/**
|
|
58
59
|
* @property {Signal<number>} pageSizeInternal
|
|
59
60
|
* @description
|
|
@@ -63,7 +64,7 @@ export declare class PaginationComponent {
|
|
|
63
64
|
*
|
|
64
65
|
* @internal
|
|
65
66
|
*/
|
|
66
|
-
pageSizeInternal:
|
|
67
|
+
pageSizeInternal: _angular_core.WritableSignal<number>;
|
|
67
68
|
/**
|
|
68
69
|
* @event pageChange
|
|
69
70
|
* @description
|
|
@@ -74,7 +75,7 @@ export declare class PaginationComponent {
|
|
|
74
75
|
* @example
|
|
75
76
|
* <tk-pagination (pageChange)="loadData($event)"></tk-pagination>
|
|
76
77
|
*/
|
|
77
|
-
pageChange:
|
|
78
|
+
pageChange: _angular_core.OutputEmitterRef<PaginatorState>;
|
|
78
79
|
constructor();
|
|
79
80
|
/**
|
|
80
81
|
* @property {Signal<{label: string, value: number}[]>} options
|
|
@@ -82,7 +83,7 @@ export declare class PaginationComponent {
|
|
|
82
83
|
* Computed signal that transforms the `pageSizeOptions` number array
|
|
83
84
|
* into the `{label: string, value: number}` format required by the PrimeNG Select component.
|
|
84
85
|
*/
|
|
85
|
-
options:
|
|
86
|
+
options: _angular_core.Signal<{
|
|
86
87
|
label: string;
|
|
87
88
|
value: number;
|
|
88
89
|
}[]>;
|
|
@@ -104,6 +105,8 @@ export declare class PaginationComponent {
|
|
|
104
105
|
* @param {number} newSize - The newly selected page size.
|
|
105
106
|
*/
|
|
106
107
|
onPageSizeChange(newSize: number): void;
|
|
107
|
-
static ɵfac:
|
|
108
|
-
static ɵcmp:
|
|
108
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PaginationComponent, never>;
|
|
109
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PaginationComponent, "tk-pagination", never, { "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "pageIndex": { "alias": "pageIndex"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "length": { "alias": "length"; "required": true; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; }, { "pageChange": "pageChange"; }, never, never, true, never>;
|
|
109
110
|
}
|
|
111
|
+
|
|
112
|
+
export { PaginationComponent };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
1
2
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
|
|
3
|
+
|
|
3
4
|
/**
|
|
4
5
|
* @component PanelComponent
|
|
5
6
|
* @description
|
|
@@ -19,7 +20,7 @@ import * as i0 from "@angular/core";
|
|
|
19
20
|
* </tk-panel>
|
|
20
21
|
* ```
|
|
21
22
|
*/
|
|
22
|
-
|
|
23
|
+
declare class PanelComponent {
|
|
23
24
|
/**
|
|
24
25
|
* @property {string} header
|
|
25
26
|
* @description
|
|
@@ -80,3 +81,5 @@ export declare class PanelComponent {
|
|
|
80
81
|
static ɵfac: i0.ɵɵFactoryDeclaration<PanelComponent, never>;
|
|
81
82
|
static ɵcmp: i0.ɵɵComponentDeclaration<PanelComponent, "tk-panel", never, { "header": { "alias": "header"; "required": false; }; "toggleable": { "alias": "toggleable"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; }, { "collapsedChange": "collapsedChange"; "toggled": "toggled"; }, never, ["*"], true, never>;
|
|
82
83
|
}
|
|
84
|
+
|
|
85
|
+
export { PanelComponent };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
1
2
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor,
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import { ControlValueAccessor, NgControl, FormControl } from '@angular/forms';
|
|
4
|
+
|
|
5
|
+
declare class RadioButtonComponent implements ControlValueAccessor, OnInit, OnDestroy {
|
|
5
6
|
readonly ngControl: NgControl | null;
|
|
6
7
|
/**
|
|
7
8
|
* Initialize the component and register it as a ControlValueAccessor.
|
|
@@ -13,50 +14,50 @@ export declare class RadioButtonComponent implements ControlValueAccessor, OnIni
|
|
|
13
14
|
* The value of the radio button model (checked state).
|
|
14
15
|
* Supports two-way binding via signals.
|
|
15
16
|
*/
|
|
16
|
-
model:
|
|
17
|
+
model: _angular_core.ModelSignal<unknown>;
|
|
17
18
|
/**
|
|
18
19
|
* @property {InputSignal<any>} value
|
|
19
20
|
* @description
|
|
20
21
|
* The value of the radio button itself (used when part of a group).
|
|
21
22
|
*/
|
|
22
|
-
value:
|
|
23
|
+
value: _angular_core.InputSignal<unknown>;
|
|
23
24
|
/**
|
|
24
25
|
* @property {InputSignal<string>} label
|
|
25
26
|
* @description
|
|
26
27
|
* Label displayed next to the radio button.
|
|
27
28
|
*/
|
|
28
|
-
label:
|
|
29
|
+
label: _angular_core.InputSignal<string>;
|
|
29
30
|
/**
|
|
30
31
|
* @property {InputSignal<string>} name
|
|
31
32
|
* @description
|
|
32
33
|
* Name attribute for the radio button.
|
|
33
34
|
*/
|
|
34
|
-
name:
|
|
35
|
+
name: _angular_core.InputSignal<string>;
|
|
35
36
|
/**
|
|
36
37
|
* @property {InputSignal<string>} inputId
|
|
37
38
|
* @description
|
|
38
39
|
* HTML id attribute for the radio button input.
|
|
39
40
|
*/
|
|
40
|
-
inputId:
|
|
41
|
+
inputId: _angular_core.InputSignal<string>;
|
|
41
42
|
/**
|
|
42
43
|
* @property {InputSignal<FormControl>} control
|
|
43
44
|
* @description
|
|
44
45
|
* External FormControl used to read/set the radio button value.
|
|
45
46
|
* If not provided, an internal FormControl is created.
|
|
46
47
|
*/
|
|
47
|
-
control:
|
|
48
|
+
control: _angular_core.InputSignal<FormControl<any>>;
|
|
48
49
|
/**
|
|
49
50
|
* @property {InputSignal<string>} errorMessage
|
|
50
51
|
* @description
|
|
51
52
|
* Message to display when the control is invalid and touched.
|
|
52
53
|
*/
|
|
53
|
-
errorMessage:
|
|
54
|
+
errorMessage: _angular_core.InputSignal<string>;
|
|
54
55
|
/**
|
|
55
56
|
* @property {ModelSignal<boolean>} disabled
|
|
56
57
|
* @description
|
|
57
58
|
* Whether the radio button is disabled.
|
|
58
59
|
*/
|
|
59
|
-
disabled:
|
|
60
|
+
disabled: _angular_core.ModelSignal<boolean>;
|
|
60
61
|
/**
|
|
61
62
|
* Returns the control currently in use, either from NgControl or the standalone Input.
|
|
62
63
|
*/
|
|
@@ -96,6 +97,8 @@ export declare class RadioButtonComponent implements ControlValueAccessor, OnIni
|
|
|
96
97
|
* Handle blur events to trigger onTouched.
|
|
97
98
|
*/
|
|
98
99
|
onBlur(): void;
|
|
99
|
-
static ɵfac:
|
|
100
|
-
static ɵcmp:
|
|
100
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RadioButtonComponent, never>;
|
|
101
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RadioButtonComponent, "tk-radio-button", never, { "model": { "alias": "model"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "control": { "alias": "control"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "model": "modelChange"; "disabled": "disabledChange"; }, never, never, true, never>;
|
|
101
102
|
}
|
|
103
|
+
|
|
104
|
+
export { RadioButtonComponent };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
1
2
|
import { ControlValueAccessor, NgControl, FormControl } from '@angular/forms';
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
declare class SelectComponent<T = unknown> implements ControlValueAccessor {
|
|
4
5
|
readonly ngControl: NgControl | null;
|
|
5
6
|
/**
|
|
6
7
|
* @property {string} id
|
|
@@ -9,20 +10,20 @@ export declare class SelectComponent<T = unknown> implements ControlValueAccesso
|
|
|
9
10
|
*
|
|
10
11
|
* @default 'select'
|
|
11
12
|
*/
|
|
12
|
-
id:
|
|
13
|
+
id: _angular_core.InputSignal<string>;
|
|
13
14
|
/**
|
|
14
15
|
* @property {InputSignal<FormControl>} control
|
|
15
16
|
* @description
|
|
16
17
|
* External FormControl used to read/set the input value.
|
|
17
18
|
* If not provided, an internal FormControl is created.
|
|
18
19
|
*/
|
|
19
|
-
control:
|
|
20
|
+
control: _angular_core.InputSignal<FormControl<any> | undefined>;
|
|
20
21
|
/**
|
|
21
22
|
* @property {T[]} options
|
|
22
23
|
* @description
|
|
23
24
|
* Array of available options displayed in the dropdown.
|
|
24
25
|
*/
|
|
25
|
-
options:
|
|
26
|
+
options: _angular_core.InputSignal<T[]>;
|
|
26
27
|
/**
|
|
27
28
|
* @property {string} optionLabel
|
|
28
29
|
* @description
|
|
@@ -30,13 +31,13 @@ export declare class SelectComponent<T = unknown> implements ControlValueAccesso
|
|
|
30
31
|
*
|
|
31
32
|
* @default 'label'
|
|
32
33
|
*/
|
|
33
|
-
optionLabel:
|
|
34
|
+
optionLabel: _angular_core.InputSignal<string>;
|
|
34
35
|
/**
|
|
35
36
|
* @property {string} label
|
|
36
37
|
* @description
|
|
37
38
|
* Floating label displayed above the select input.
|
|
38
39
|
*/
|
|
39
|
-
label:
|
|
40
|
+
label: _angular_core.InputSignal<string>;
|
|
40
41
|
/**
|
|
41
42
|
* @property {boolean} showClear
|
|
42
43
|
* @description
|
|
@@ -44,7 +45,7 @@ export declare class SelectComponent<T = unknown> implements ControlValueAccesso
|
|
|
44
45
|
*
|
|
45
46
|
* @default true
|
|
46
47
|
*/
|
|
47
|
-
showClear:
|
|
48
|
+
showClear: _angular_core.InputSignal<boolean>;
|
|
48
49
|
/**
|
|
49
50
|
* @property {T | null} value
|
|
50
51
|
* @description
|
|
@@ -60,27 +61,27 @@ export declare class SelectComponent<T = unknown> implements ControlValueAccesso
|
|
|
60
61
|
*
|
|
61
62
|
* @default false
|
|
62
63
|
*/
|
|
63
|
-
disabled:
|
|
64
|
-
internalDisabled:
|
|
64
|
+
disabled: _angular_core.InputSignal<boolean>;
|
|
65
|
+
internalDisabled: _angular_core.WritableSignal<boolean>;
|
|
65
66
|
/**
|
|
66
67
|
* @property {InputSignal<string>} errorMessage
|
|
67
68
|
* @description
|
|
68
69
|
* Message to display when the control is invalid and touched.
|
|
69
70
|
*/
|
|
70
|
-
errorMessage:
|
|
71
|
+
errorMessage: _angular_core.InputSignal<string>;
|
|
71
72
|
/**
|
|
72
73
|
* @property {InputSignal<string>} hint
|
|
73
74
|
* @description
|
|
74
75
|
* Hint text to display below the input.
|
|
75
76
|
*/
|
|
76
|
-
hint:
|
|
77
|
+
hint: _angular_core.InputSignal<string>;
|
|
77
78
|
/**
|
|
78
79
|
* @property {Signal<T | null>} model
|
|
79
80
|
* @description
|
|
80
81
|
* Two-way binding model using Angular signals.
|
|
81
82
|
* Allows usage with the syntax: `[(model)]="myValue"`.
|
|
82
83
|
*/
|
|
83
|
-
model:
|
|
84
|
+
model: _angular_core.ModelSignal<T | null | undefined>;
|
|
84
85
|
/**
|
|
85
86
|
* @event modelChange
|
|
86
87
|
* @description
|
|
@@ -90,7 +91,7 @@ export declare class SelectComponent<T = unknown> implements ControlValueAccesso
|
|
|
90
91
|
* @example
|
|
91
92
|
* <tk-select (modelChange)="onChange($event)"></tk-select>
|
|
92
93
|
*/
|
|
93
|
-
modelChange:
|
|
94
|
+
modelChange: _angular_core.OutputEmitterRef<T | null>;
|
|
94
95
|
private onChangeFn;
|
|
95
96
|
private onTouchedFn;
|
|
96
97
|
constructor();
|
|
@@ -133,7 +134,9 @@ export declare class SelectComponent<T = unknown> implements ControlValueAccesso
|
|
|
133
134
|
handleChange(event: {
|
|
134
135
|
value: T | null;
|
|
135
136
|
}): void;
|
|
136
|
-
get effectiveControl(): FormControl
|
|
137
|
-
static ɵfac:
|
|
138
|
-
static ɵcmp:
|
|
137
|
+
get effectiveControl(): FormControl | null;
|
|
138
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SelectComponent<any>, never>;
|
|
139
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SelectComponent<any>, "tk-select", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "control": { "alias": "control"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "optionLabel": { "alias": "optionLabel"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "showClear": { "alias": "showClear"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "model": { "alias": "model"; "required": false; "isSignal": true; }; }, { "model": "modelChange"; "modelChange": "modelChange"; }, never, never, true, never>;
|
|
139
140
|
}
|
|
141
|
+
|
|
142
|
+
export { SelectComponent };
|
|
@@ -1,8 +1,23 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
1
2
|
import { Table } from 'primeng/table';
|
|
2
|
-
import {
|
|
3
|
+
import { TagSeverity } from '@tekus/design-system/components/tag';
|
|
3
4
|
import { SortEvent } from 'primeng/api';
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
|
|
6
|
+
type TableColumnType = 'text' | 'tag' | 'actions' | 'selection' | 'checkbox';
|
|
7
|
+
interface TableColumn<T = unknown> {
|
|
8
|
+
field?: string;
|
|
9
|
+
header: string;
|
|
10
|
+
sortable?: boolean;
|
|
11
|
+
type?: TableColumnType;
|
|
12
|
+
width?: string;
|
|
13
|
+
tagSeverity?: (row: T) => TagSeverity;
|
|
14
|
+
actions?: Array<{
|
|
15
|
+
icon: string;
|
|
16
|
+
action?: (row: T) => void;
|
|
17
|
+
}>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
declare class TableComponent<T = unknown> {
|
|
6
21
|
/**
|
|
7
22
|
* @property {InputSignal<T[]>} data
|
|
8
23
|
* @description
|
|
@@ -17,7 +32,7 @@ export declare class TableComponent<T = unknown> {
|
|
|
17
32
|
* { id: 2, name: 'Jane', status: 'inactive' }
|
|
18
33
|
* ]"
|
|
19
34
|
*/
|
|
20
|
-
data:
|
|
35
|
+
data: _angular_core.InputSignal<T[]>;
|
|
21
36
|
/**
|
|
22
37
|
* @property {ViewChild} tableRef
|
|
23
38
|
* @description
|
|
@@ -40,25 +55,25 @@ export declare class TableComponent<T = unknown> {
|
|
|
40
55
|
* { field: 'status', header: 'Status', renderAs: 'tag' }
|
|
41
56
|
* ]"
|
|
42
57
|
*/
|
|
43
|
-
columns:
|
|
58
|
+
columns: _angular_core.InputSignal<TableColumn<T>[]>;
|
|
44
59
|
/**
|
|
45
60
|
* @property {InputSignal<'single' | 'multiple' | undefined>} selectionMode
|
|
46
61
|
* @description
|
|
47
62
|
* Selection mode of the table.
|
|
48
63
|
*/
|
|
49
|
-
selectionMode:
|
|
64
|
+
selectionMode: _angular_core.InputSignal<"single" | "multiple" | undefined>;
|
|
50
65
|
/**
|
|
51
66
|
* @property {ModelSignal<any[]>} selection
|
|
52
67
|
* @description
|
|
53
68
|
* Selected row(s) in the table.
|
|
54
69
|
*/
|
|
55
|
-
selection:
|
|
70
|
+
selection: _angular_core.ModelSignal<T[]>;
|
|
56
71
|
/**
|
|
57
72
|
* @property {InputSignal<string | undefined>} dataKey
|
|
58
73
|
* @description
|
|
59
74
|
* Property name to uniquely identify a row.
|
|
60
75
|
*/
|
|
61
|
-
dataKey:
|
|
76
|
+
dataKey: _angular_core.InputSignal<string | undefined>;
|
|
62
77
|
initialData: T[];
|
|
63
78
|
internalData: T[];
|
|
64
79
|
isSorted: boolean | null;
|
|
@@ -67,13 +82,13 @@ export declare class TableComponent<T = unknown> {
|
|
|
67
82
|
* @description
|
|
68
83
|
* Returns true if all visible rows are selected.
|
|
69
84
|
*/
|
|
70
|
-
isAllSelected:
|
|
85
|
+
isAllSelected: _angular_core.Signal<boolean>;
|
|
71
86
|
/**
|
|
72
87
|
* @computed isPartiallySelected
|
|
73
88
|
* @description
|
|
74
89
|
* Returns true if some but not all rows are selected.
|
|
75
90
|
*/
|
|
76
|
-
isPartiallySelected:
|
|
91
|
+
isPartiallySelected: _angular_core.Signal<boolean>;
|
|
77
92
|
constructor();
|
|
78
93
|
/**
|
|
79
94
|
* @method toggleAll
|
|
@@ -91,6 +106,9 @@ export declare class TableComponent<T = unknown> {
|
|
|
91
106
|
updateSelection(value: T[]): void;
|
|
92
107
|
customSort(event: SortEvent): void;
|
|
93
108
|
sortTableData(event: SortEvent): void;
|
|
94
|
-
static ɵfac:
|
|
95
|
-
static ɵcmp:
|
|
109
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
110
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableComponent<any>, "tk-table", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "dataKey": { "alias": "dataKey"; "required": false; "isSignal": true; }; }, { "selection": "selectionChange"; }, never, never, true, never>;
|
|
96
111
|
}
|
|
112
|
+
|
|
113
|
+
export { TableComponent };
|
|
114
|
+
export type { TableColumn, TableColumnType };
|
package/{components/tabs/src/tabs.component.d.ts → types/tekus-design-system-components-tabs.d.ts}
RENAMED
|
@@ -1,19 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { TemplateRef } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
interface TabData {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
tooltip?: string;
|
|
8
|
+
badge?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
visible?: boolean;
|
|
11
|
+
lazy?: boolean;
|
|
12
|
+
content?: TemplateRef<unknown>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
declare class TabsComponent {
|
|
4
16
|
/**
|
|
5
17
|
* @property {InputSignal<TabData[]>} tabs
|
|
6
18
|
* @description
|
|
7
19
|
* Array of tab configurations to display.
|
|
8
20
|
*/
|
|
9
|
-
tabs:
|
|
21
|
+
tabs: _angular_core.InputSignal<TabData[]>;
|
|
10
22
|
/**
|
|
11
23
|
* @property {ModelSignal<number>} activeIndex
|
|
12
24
|
* @description
|
|
13
25
|
* The index of the currently active tab. Supports two-way binding via signals.
|
|
14
26
|
* @default 0
|
|
15
27
|
*/
|
|
16
|
-
activeIndex:
|
|
28
|
+
activeIndex: _angular_core.ModelSignal<number>;
|
|
17
29
|
/**
|
|
18
30
|
* @event tabChange
|
|
19
31
|
* @description
|
|
@@ -23,16 +35,10 @@ export declare class TabsComponent {
|
|
|
23
35
|
* @example
|
|
24
36
|
* <tk-tabs (tabChange)="onTabChange($event)"></tk-tabs>
|
|
25
37
|
*/
|
|
26
|
-
tabChange:
|
|
38
|
+
tabChange: _angular_core.OutputEmitterRef<{
|
|
27
39
|
index: number;
|
|
28
40
|
tab: TabData;
|
|
29
41
|
}>;
|
|
30
|
-
/**
|
|
31
|
-
* @property {ViewChild<TabsComponent>} tkTabs
|
|
32
|
-
* @description
|
|
33
|
-
* Reference to the tabs component for programmatic access.
|
|
34
|
-
*/
|
|
35
|
-
tkTabs: import("@angular/core").Signal<unknown>;
|
|
36
42
|
/**
|
|
37
43
|
* @method visibleTabs
|
|
38
44
|
* @description
|
|
@@ -47,6 +53,9 @@ export declare class TabsComponent {
|
|
|
47
53
|
* @param {number} index - The index of the newly selected tab.
|
|
48
54
|
*/
|
|
49
55
|
onTabChange(index: number): void;
|
|
50
|
-
static ɵfac:
|
|
51
|
-
static ɵcmp:
|
|
56
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabsComponent, never>;
|
|
57
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabsComponent, "tk-tabs", never, { "tabs": { "alias": "tabs"; "required": false; "isSignal": true; }; "activeIndex": { "alias": "activeIndex"; "required": false; "isSignal": true; }; }, { "activeIndex": "activeIndexChange"; "tabChange": "tabChange"; }, never, never, true, never>;
|
|
52
58
|
}
|
|
59
|
+
|
|
60
|
+
export { TabsComponent };
|
|
61
|
+
export type { TabData };
|
package/{components/tag/src/tag.component.d.ts → types/tekus-design-system-components-tag.d.ts}
RENAMED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
|
|
3
|
+
type TagSeverity = 'primary' | 'secondary' | 'success' | 'info' | 'warn' | 'danger' | 'contrast';
|
|
3
4
|
/**
|
|
4
5
|
* @component TagComponent
|
|
5
6
|
* @description
|
|
@@ -17,28 +18,31 @@ export type TagSeverity = 'primary' | 'secondary' | 'success' | 'info' | 'warn'
|
|
|
17
18
|
* <tk-tag value="New" severity="success"></tk-tag>
|
|
18
19
|
* ```
|
|
19
20
|
*/
|
|
20
|
-
|
|
21
|
+
declare class TagComponent {
|
|
21
22
|
/** The text content to be displayed in the tag. */
|
|
22
|
-
value:
|
|
23
|
+
value: _angular_core.InputSignal<string>;
|
|
23
24
|
/**
|
|
24
25
|
* The severity level of the tag, which determines its color and styling.
|
|
25
26
|
* @default 'secondary'
|
|
26
27
|
*/
|
|
27
|
-
severity:
|
|
28
|
+
severity: _angular_core.InputSignal<TagSeverity>;
|
|
28
29
|
/**
|
|
29
30
|
* Maximum number of characters to display before truncation.
|
|
30
31
|
*/
|
|
31
|
-
truncationLimit:
|
|
32
|
+
truncationLimit: _angular_core.InputSignal<number | undefined>;
|
|
32
33
|
/**
|
|
33
34
|
* Computed property that maps the custom `TagSeverity` to the underlying PrimeNG `severity`.
|
|
34
35
|
* Returns `undefined` for 'primary' as it uses the default style, and maps others accordingly.
|
|
35
36
|
*/
|
|
36
|
-
primeSeverity:
|
|
37
|
+
primeSeverity: _angular_core.Signal<"secondary" | "success" | "info" | "warn" | "danger" | "contrast" | undefined>;
|
|
37
38
|
/**
|
|
38
39
|
* Computed property that processes the `value` for display.
|
|
39
40
|
* Truncates the text with an ellipsis if it exceeds the defined limit and truncate is enabled.
|
|
40
41
|
*/
|
|
41
|
-
displayValue:
|
|
42
|
-
static ɵfac:
|
|
43
|
-
static ɵcmp:
|
|
42
|
+
displayValue: _angular_core.Signal<string>;
|
|
43
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TagComponent, never>;
|
|
44
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TagComponent, "tk-tag", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "truncationLimit": { "alias": "truncationLimit"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
44
45
|
}
|
|
46
|
+
|
|
47
|
+
export { TagComponent };
|
|
48
|
+
export type { TagSeverity };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
1
2
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
3
|
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
declare class TextareaComponent implements ControlValueAccessor, OnInit, OnDestroy {
|
|
5
6
|
private readonly ngControl;
|
|
6
7
|
constructor();
|
|
7
8
|
/**
|
|
@@ -9,66 +10,66 @@ export declare class TextareaComponent implements ControlValueAccessor, OnInit,
|
|
|
9
10
|
* @description
|
|
10
11
|
* The value of the textarea. Supports two-way binding via signals.
|
|
11
12
|
*/
|
|
12
|
-
value:
|
|
13
|
+
value: _angular_core.ModelSignal<string>;
|
|
13
14
|
/**
|
|
14
15
|
* @property {InputSignal<FormControl>} control
|
|
15
16
|
* @description
|
|
16
17
|
* External FormControl used to read/set the textarea value.
|
|
17
18
|
* If not provided, an internal FormControl is created.
|
|
18
19
|
*/
|
|
19
|
-
control:
|
|
20
|
+
control: _angular_core.InputSignal<FormControl<any>>;
|
|
20
21
|
/**
|
|
21
22
|
* @property {InputSignal<string>} label
|
|
22
23
|
* @description
|
|
23
24
|
* Label displayed above the textarea.
|
|
24
25
|
*/
|
|
25
|
-
label:
|
|
26
|
+
label: _angular_core.InputSignal<string>;
|
|
26
27
|
/**
|
|
27
28
|
* @property {InputSignal<string>} id
|
|
28
29
|
* @description
|
|
29
30
|
* HTML id attribute for the textarea.
|
|
30
31
|
* @default 'tk-textarea'
|
|
31
32
|
*/
|
|
32
|
-
id:
|
|
33
|
+
id: _angular_core.InputSignal<string>;
|
|
33
34
|
/**
|
|
34
35
|
* @property {InputSignal<number>} rows
|
|
35
36
|
* @description
|
|
36
37
|
* Number of visible text lines for the textarea.
|
|
37
38
|
* @default 1
|
|
38
39
|
*/
|
|
39
|
-
rows:
|
|
40
|
+
rows: _angular_core.InputSignal<number>;
|
|
40
41
|
/**
|
|
41
42
|
* @property {InputSignal<number>} cols
|
|
42
43
|
* @description
|
|
43
44
|
* Visible width of the textarea in average character widths.
|
|
44
45
|
* @default 30
|
|
45
46
|
*/
|
|
46
|
-
cols:
|
|
47
|
+
cols: _angular_core.InputSignal<number>;
|
|
47
48
|
/**
|
|
48
49
|
* @property {InputSignal<string>} hint
|
|
49
50
|
* @description
|
|
50
51
|
* Hint text to display below the textarea.
|
|
51
52
|
*/
|
|
52
|
-
hint:
|
|
53
|
+
hint: _angular_core.InputSignal<string>;
|
|
53
54
|
/**
|
|
54
55
|
* @property {InputSignal<string>} errorMessage
|
|
55
56
|
* @description
|
|
56
57
|
* Message to display when the control is invalid and touched.
|
|
57
58
|
*/
|
|
58
|
-
errorMessage:
|
|
59
|
+
errorMessage: _angular_core.InputSignal<string>;
|
|
59
60
|
/**
|
|
60
61
|
* @property {InputSignal<number | null>} maxLength
|
|
61
62
|
* @description
|
|
62
63
|
* Maximum number of characters allowed in the textarea.
|
|
63
64
|
*/
|
|
64
|
-
maxLength:
|
|
65
|
+
maxLength: _angular_core.InputSignal<number | null>;
|
|
65
66
|
/**
|
|
66
67
|
* @property {boolean} disabled
|
|
67
68
|
* @description
|
|
68
69
|
* Whether the textarea is disabled.
|
|
69
70
|
*/
|
|
70
|
-
disabled:
|
|
71
|
-
counterText:
|
|
71
|
+
disabled: _angular_core.WritableSignal<boolean>;
|
|
72
|
+
counterText: _angular_core.Signal<string>;
|
|
72
73
|
private propagateChange;
|
|
73
74
|
private propagateTouched;
|
|
74
75
|
private syncingFromView;
|
|
@@ -123,6 +124,8 @@ export declare class TextareaComponent implements ControlValueAccessor, OnInit,
|
|
|
123
124
|
private markControlAsTouched;
|
|
124
125
|
private getControl;
|
|
125
126
|
get effectiveControl(): FormControl;
|
|
126
|
-
static ɵfac:
|
|
127
|
-
static ɵcmp:
|
|
127
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TextareaComponent, never>;
|
|
128
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TextareaComponent, "tk-textarea", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "control": { "alias": "control"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
128
129
|
}
|
|
130
|
+
|
|
131
|
+
export { TextareaComponent };
|