@tekus/design-system 5.23.0 → 5.24.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 +24 -17
- package/fesm2022/tekus-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-badge.mjs +3 -3
- package/fesm2022/tekus-design-system-components-badge.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-button.mjs +48 -31
- package/fesm2022/tekus-design-system-components-button.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-checkbox.mjs +13 -16
- package/fesm2022/tekus-design-system-components-checkbox.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-date-picker.mjs +21 -10
- package/fesm2022/tekus-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-drawer.mjs +7 -7
- package/fesm2022/tekus-design-system-components-drawer.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-fallback-view.mjs +18 -38
- package/fesm2022/tekus-design-system-components-fallback-view.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-icon.mjs +11 -17
- package/fesm2022/tekus-design-system-components-icon.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-input-number.mjs +15 -14
- package/fesm2022/tekus-design-system-components-input-number.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-input-text.mjs +19 -21
- package/fesm2022/tekus-design-system-components-input-text.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-modal.mjs +9 -8
- package/fesm2022/tekus-design-system-components-modal.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-multiselect.mjs +3 -3
- package/fesm2022/tekus-design-system-components-multiselect.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-pagination.mjs +3 -3
- package/fesm2022/tekus-design-system-components-pagination.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-panel.mjs +21 -30
- package/fesm2022/tekus-design-system-components-panel.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-radio-button.mjs +14 -16
- package/fesm2022/tekus-design-system-components-radio-button.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-select.mjs +13 -11
- package/fesm2022/tekus-design-system-components-select.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-table.mjs +27 -23
- package/fesm2022/tekus-design-system-components-table.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-tabs.mjs +3 -3
- package/fesm2022/tekus-design-system-components-tabs.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-tag.mjs +3 -3
- package/fesm2022/tekus-design-system-components-tag.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-textarea.mjs +15 -14
- package/fesm2022/tekus-design-system-components-textarea.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-toolbar.mjs +3 -3
- package/fesm2022/tekus-design-system-components-toolbar.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-tooltip.mjs +3 -3
- package/fesm2022/tekus-design-system-components-tooltip.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-topbar.mjs +3 -3
- package/fesm2022/tekus-design-system-components-topbar.mjs.map +1 -1
- package/fesm2022/tekus-design-system-core-types.mjs +5 -0
- package/fesm2022/tekus-design-system-core-types.mjs.map +1 -1
- package/fesm2022/tekus-design-system-core.mjs +5 -0
- package/fesm2022/tekus-design-system-core.mjs.map +1 -1
- package/fesm2022/tekus-design-system-directives-gird-item.mjs +19 -24
- package/fesm2022/tekus-design-system-directives-gird-item.mjs.map +1 -1
- package/package.json +1 -1
- package/types/tekus-design-system-components-autocomplete.d.ts +10 -2
- package/types/tekus-design-system-components-button.d.ts +15 -19
- package/types/tekus-design-system-components-checkbox.d.ts +3 -8
- package/types/tekus-design-system-components-date-picker.d.ts +11 -3
- package/types/tekus-design-system-components-drawer.d.ts +3 -3
- package/types/tekus-design-system-components-fallback-view.d.ts +17 -18
- package/types/tekus-design-system-components-icon.d.ts +7 -16
- package/types/tekus-design-system-components-input-number.d.ts +3 -4
- package/types/tekus-design-system-components-input-text.d.ts +4 -10
- package/types/tekus-design-system-components-modal.d.ts +3 -3
- package/types/tekus-design-system-components-panel.d.ts +10 -18
- package/types/tekus-design-system-components-radio-button.d.ts +3 -7
- package/types/tekus-design-system-components-select.d.ts +14 -1
- package/types/tekus-design-system-components-table.d.ts +5 -5
- package/types/tekus-design-system-components-textarea.d.ts +3 -4
- package/types/tekus-design-system-directives-gird-item.d.ts +5 -5
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor, NgControl, FormControl } from '@angular/forms';
|
|
4
4
|
|
|
5
|
-
declare class CheckboxComponent implements ControlValueAccessor, OnInit
|
|
6
|
-
/** Internal references and injections */
|
|
5
|
+
declare class CheckboxComponent implements ControlValueAccessor, OnInit {
|
|
7
6
|
readonly ngControl: NgControl | null;
|
|
8
|
-
|
|
9
|
-
* Initialize the component and register it as a ControlValueAccessor.
|
|
10
|
-
*/
|
|
7
|
+
private readonly destroyRef;
|
|
11
8
|
constructor();
|
|
12
9
|
/** Properties and Signals */
|
|
13
10
|
/**
|
|
@@ -78,9 +75,7 @@ declare class CheckboxComponent implements ControlValueAccessor, OnInit, OnDestr
|
|
|
78
75
|
get effectiveControl(): FormControl;
|
|
79
76
|
onChange: (value: unknown) => void;
|
|
80
77
|
onTouched: () => void;
|
|
81
|
-
private readonly subscription;
|
|
82
78
|
ngOnInit(): void;
|
|
83
|
-
ngOnDestroy(): void;
|
|
84
79
|
/**
|
|
85
80
|
* Implementation of ControlValueAccessor: Writes a new value from the form.
|
|
86
81
|
*/
|
|
@@ -4,9 +4,10 @@ import { OnInit, OnDestroy } from '@angular/core';
|
|
|
4
4
|
import { ControlValueAccessor, NgControl, FormControl } from '@angular/forms';
|
|
5
5
|
|
|
6
6
|
type DateValue = Date | [Date, Date] | null;
|
|
7
|
-
declare class DatePickerComponent implements OnInit,
|
|
7
|
+
declare class DatePickerComponent implements OnInit, ControlValueAccessor, OnDestroy {
|
|
8
8
|
/** Internal references and injections */
|
|
9
9
|
readonly ngControl: NgControl | null;
|
|
10
|
+
private readonly destroyRef;
|
|
10
11
|
constructor();
|
|
11
12
|
/**
|
|
12
13
|
* @property {InputSignal<'date' | 'time' | 'both'>} variant
|
|
@@ -116,9 +117,16 @@ declare class DatePickerComponent implements OnInit, OnDestroy, ControlValueAcce
|
|
|
116
117
|
* @property {InputSignal<string | HTMLElement | null | undefined>} appendTo
|
|
117
118
|
* @description
|
|
118
119
|
* Target element to attach the overlay to.
|
|
119
|
-
* @default '
|
|
120
|
+
* @default 'null'
|
|
120
121
|
*/
|
|
121
122
|
appendTo: _angular_core.InputSignal<string | HTMLElement | null | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* @property {InputSignal<number>} baseZIndex
|
|
125
|
+
* @description
|
|
126
|
+
* Base z-index value for the overlay.
|
|
127
|
+
* @default 10000
|
|
128
|
+
*/
|
|
129
|
+
baseZIndex: _angular_core.InputSignal<number>;
|
|
122
130
|
/**
|
|
123
131
|
* @property {InputSignal<Date | null>} maxDate
|
|
124
132
|
* @description
|
|
@@ -236,7 +244,7 @@ declare class DatePickerComponent implements OnInit, OnDestroy, ControlValueAcce
|
|
|
236
244
|
*/
|
|
237
245
|
clear(): void;
|
|
238
246
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
239
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DatePickerComponent, "tk-date-picker", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "readonlyInput": { "alias": "readonlyInput"; "required": false; "isSignal": true; }; "showClear": { "alias": "showClear"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "dateFormat": { "alias": "dateFormat"; "required": false; "isSignal": true; }; "timeFormat": { "alias": "timeFormat"; "required": false; "isSignal": true; }; "stepHour": { "alias": "stepHour"; "required": false; "isSignal": true; }; "stepMinute": { "alias": "stepMinute"; "required": false; "isSignal": true; }; "stepSecond": { "alias": "stepSecond"; "required": false; "isSignal": true; }; "showSeconds": { "alias": "showSeconds"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; "showTime": { "alias": "showTime"; "required": false; "isSignal": true; }; "hourFormat": { "alias": "hourFormat"; "required": false; "isSignal": true; }; "appendTo": { "alias": "appendTo"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "labelText": { "alias": "labelText"; "required": false; "isSignal": true; }; "control": { "alias": "control"; "required": false; "isSignal": true; }; "modelValue": { "alias": "modelValue"; "required": false; "isSignal": true; }; }, { "modelValue": "modelValueChange"; "handleSelect": "handleSelect"; "handleClear": "handleClear"; }, never, never, true, never>;
|
|
247
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DatePickerComponent, "tk-date-picker", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "readonlyInput": { "alias": "readonlyInput"; "required": false; "isSignal": true; }; "showClear": { "alias": "showClear"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "dateFormat": { "alias": "dateFormat"; "required": false; "isSignal": true; }; "timeFormat": { "alias": "timeFormat"; "required": false; "isSignal": true; }; "stepHour": { "alias": "stepHour"; "required": false; "isSignal": true; }; "stepMinute": { "alias": "stepMinute"; "required": false; "isSignal": true; }; "stepSecond": { "alias": "stepSecond"; "required": false; "isSignal": true; }; "showSeconds": { "alias": "showSeconds"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; "showTime": { "alias": "showTime"; "required": false; "isSignal": true; }; "hourFormat": { "alias": "hourFormat"; "required": false; "isSignal": true; }; "appendTo": { "alias": "appendTo"; "required": false; "isSignal": true; }; "baseZIndex": { "alias": "baseZIndex"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "labelText": { "alias": "labelText"; "required": false; "isSignal": true; }; "control": { "alias": "control"; "required": false; "isSignal": true; }; "modelValue": { "alias": "modelValue"; "required": false; "isSignal": true; }; }, { "modelValue": "modelValueChange"; "handleSelect": "handleSelect"; "handleClear": "handleClear"; }, never, never, true, never>;
|
|
240
248
|
}
|
|
241
249
|
|
|
242
250
|
export { DatePickerComponent };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { Type, OnDestroy,
|
|
2
|
+
import { Type, OnDestroy, ComponentRef } from '@angular/core';
|
|
3
3
|
import { Variant } from '@tekus/design-system/components/button';
|
|
4
4
|
import { SeverityType } from '@tekus/design-system/components/modal';
|
|
5
5
|
import { TkCloseInterceptor } from '@tekus/design-system/core/types';
|
|
@@ -90,7 +90,7 @@ declare class DrawerComponent<T = unknown> implements OnDestroy {
|
|
|
90
90
|
/** Whether the drawer content has a scrollbar */
|
|
91
91
|
hasScroll: boolean;
|
|
92
92
|
/** Emits when the drawer closes, passing the return value from header action or null */
|
|
93
|
-
readonly
|
|
93
|
+
readonly closed: _angular_core.OutputEmitterRef<unknown>;
|
|
94
94
|
private alreadyEmitted;
|
|
95
95
|
private returnValueOnClose;
|
|
96
96
|
constructor();
|
|
@@ -123,7 +123,7 @@ declare class DrawerComponent<T = unknown> implements OnDestroy {
|
|
|
123
123
|
handleHeaderAction(action: (() => void) | undefined, returnValue: unknown): void;
|
|
124
124
|
private resetClosureState;
|
|
125
125
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerComponent<any>, never>;
|
|
126
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerComponent<any>, "tk-drawer", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; "headerAction": { "alias": "headerAction"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "interceptor": { "alias": "interceptor"; "required": false; "isSignal": true; }; "isOpened": { "alias": "isOpened"; "required": false; "isSignal": true; }; }, { "isOpened": "isOpenedChange"; }, never, never, true, never>;
|
|
126
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerComponent<any>, "tk-drawer", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; "headerAction": { "alias": "headerAction"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "interceptor": { "alias": "interceptor"; "required": false; "isSignal": true; }; "isOpened": { "alias": "isOpened"; "required": false; "isSignal": true; }; }, { "isOpened": "isOpenedChange"; "closed": "closed"; }, never, never, true, never>;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
declare class DrawerService {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
3
2
|
|
|
4
3
|
type FallbackViewType = 'content' | 'section';
|
|
5
4
|
/**
|
|
6
5
|
* @component FallbackViewComponent
|
|
7
6
|
* @description
|
|
8
7
|
* A reusable component for displaying fallback or empty states such as
|
|
9
|
-
*
|
|
8
|
+
* "no results found", "error loading data", or "content not available".
|
|
10
9
|
* It provides a consistent structure with support for an image, title,
|
|
11
10
|
* message, and optional action buttons.
|
|
12
11
|
*
|
|
@@ -68,9 +67,9 @@ declare class FallbackViewComponent {
|
|
|
68
67
|
* - `'content'`: Standard size.
|
|
69
68
|
* - `'section'`: A more compact version.
|
|
70
69
|
*
|
|
71
|
-
* @default `'
|
|
70
|
+
* @default `'content'`
|
|
72
71
|
*/
|
|
73
|
-
type: FallbackViewType
|
|
72
|
+
type: _angular_core.InputSignal<FallbackViewType>;
|
|
74
73
|
/**
|
|
75
74
|
* @property {string} imageSrc
|
|
76
75
|
* @description
|
|
@@ -78,12 +77,12 @@ declare class FallbackViewComponent {
|
|
|
78
77
|
*
|
|
79
78
|
* @default `''`
|
|
80
79
|
*/
|
|
81
|
-
imageSrc: string
|
|
80
|
+
imageSrc: _angular_core.InputSignal<string>;
|
|
82
81
|
/**
|
|
83
82
|
* @property {string} illustrationAlt
|
|
84
83
|
* Descriptive alternative text for the image. Improves accessibility.
|
|
85
84
|
*/
|
|
86
|
-
illustrationAlt: string
|
|
85
|
+
illustrationAlt: _angular_core.InputSignal<string>;
|
|
87
86
|
/**
|
|
88
87
|
* @property {string} title
|
|
89
88
|
* @description
|
|
@@ -91,7 +90,7 @@ declare class FallbackViewComponent {
|
|
|
91
90
|
*
|
|
92
91
|
* @default `''`
|
|
93
92
|
*/
|
|
94
|
-
title: string
|
|
93
|
+
title: _angular_core.InputSignal<string>;
|
|
95
94
|
/**
|
|
96
95
|
* @property {string} message
|
|
97
96
|
* @description
|
|
@@ -99,7 +98,7 @@ declare class FallbackViewComponent {
|
|
|
99
98
|
*
|
|
100
99
|
* @default `''`
|
|
101
100
|
*/
|
|
102
|
-
message: string
|
|
101
|
+
message: _angular_core.InputSignal<string>;
|
|
103
102
|
/**
|
|
104
103
|
* @property {string} buttonLabel
|
|
105
104
|
* @description
|
|
@@ -107,7 +106,7 @@ declare class FallbackViewComponent {
|
|
|
107
106
|
*
|
|
108
107
|
* @default `''`
|
|
109
108
|
*/
|
|
110
|
-
buttonLabel: string
|
|
109
|
+
buttonLabel: _angular_core.InputSignal<string>;
|
|
111
110
|
/**
|
|
112
111
|
* @property {string} linkLabel
|
|
113
112
|
* @description
|
|
@@ -116,7 +115,7 @@ declare class FallbackViewComponent {
|
|
|
116
115
|
*
|
|
117
116
|
* @default `''`
|
|
118
117
|
*/
|
|
119
|
-
linkLabel: string
|
|
118
|
+
linkLabel: _angular_core.InputSignal<string>;
|
|
120
119
|
/**
|
|
121
120
|
* @property {boolean} buttonDisabled
|
|
122
121
|
* @description
|
|
@@ -125,25 +124,25 @@ declare class FallbackViewComponent {
|
|
|
125
124
|
*
|
|
126
125
|
* @default false
|
|
127
126
|
*/
|
|
128
|
-
buttonDisabled: boolean
|
|
127
|
+
buttonDisabled: _angular_core.InputSignal<boolean>;
|
|
129
128
|
/**
|
|
130
129
|
* @event buttonAction
|
|
131
130
|
* @description
|
|
132
131
|
* Emits when the main action button is clicked. Listen to this event
|
|
133
132
|
* to handle the primary call-to-action.
|
|
134
133
|
*/
|
|
135
|
-
buttonAction:
|
|
134
|
+
buttonAction: _angular_core.OutputEmitterRef<void>;
|
|
136
135
|
/**
|
|
137
136
|
* @event linkAction
|
|
138
137
|
* @description
|
|
139
138
|
* Emits when the link-styled button is clicked. Use for secondary
|
|
140
139
|
* or alternative actions.
|
|
141
140
|
*/
|
|
142
|
-
linkAction:
|
|
141
|
+
linkAction: _angular_core.OutputEmitterRef<void>;
|
|
143
142
|
/**
|
|
144
|
-
* @method
|
|
143
|
+
* @method onButtonActionClick
|
|
145
144
|
* @description
|
|
146
|
-
* Internal handler that emits the `
|
|
145
|
+
* Internal handler that emits the `buttonAction` event when the
|
|
147
146
|
* main button is clicked.
|
|
148
147
|
*/
|
|
149
148
|
onButtonActionClick(): void;
|
|
@@ -154,8 +153,8 @@ declare class FallbackViewComponent {
|
|
|
154
153
|
* link button is clicked.
|
|
155
154
|
*/
|
|
156
155
|
onLinkActionClick(): void;
|
|
157
|
-
static ɵfac:
|
|
158
|
-
static ɵcmp:
|
|
156
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FallbackViewComponent, never>;
|
|
157
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FallbackViewComponent, "tk-fallback-view", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "imageSrc": { "alias": "imageSrc"; "required": false; "isSignal": true; }; "illustrationAlt": { "alias": "illustrationAlt"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "buttonLabel": { "alias": "buttonLabel"; "required": false; "isSignal": true; }; "linkLabel": { "alias": "linkLabel"; "required": false; "isSignal": true; }; "buttonDisabled": { "alias": "buttonDisabled"; "required": false; "isSignal": true; }; }, { "buttonAction": "buttonAction"; "linkAction": "linkAction"; }, never, ["[image]", "[title]", "[message]", "[actions]"], true, never>;
|
|
159
158
|
}
|
|
160
159
|
|
|
161
160
|
export { FallbackViewComponent };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnDestroy, EffectRef } from '@angular/core';
|
|
3
2
|
import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
|
|
4
3
|
import { SizeProp, IconProp } from '@fortawesome/fontawesome-svg-core';
|
|
5
4
|
|
|
@@ -30,31 +29,31 @@ type IconStylesGeneral = IconStylesLight | IconStylesSolid | IconStylesRegular |
|
|
|
30
29
|
type IconColors = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | null;
|
|
31
30
|
|
|
32
31
|
type SizeMap = SizeProp | 'md';
|
|
33
|
-
declare class IconComponent
|
|
32
|
+
declare class IconComponent {
|
|
34
33
|
/**
|
|
35
34
|
* The name of the icon to display.
|
|
36
35
|
* This is a required field.
|
|
37
36
|
* It should match one of the icons in the *IconCatalog*.
|
|
38
37
|
*/
|
|
39
|
-
icon: _angular_core.
|
|
38
|
+
icon: _angular_core.InputSignal<string>;
|
|
40
39
|
/**
|
|
41
40
|
* The style of the icon to display.
|
|
42
41
|
* This is an optional field.
|
|
43
42
|
* It defaults to 'regular'.
|
|
44
43
|
*/
|
|
45
|
-
styleIcon: _angular_core.
|
|
44
|
+
styleIcon: _angular_core.InputSignal<IconStylesGeneral>;
|
|
46
45
|
/**
|
|
47
46
|
* The color of the icon to display.
|
|
48
47
|
*/
|
|
49
|
-
color: _angular_core.
|
|
48
|
+
color: _angular_core.InputSignal<IconColors | undefined>;
|
|
50
49
|
/**
|
|
51
50
|
* The size of the icon to display.
|
|
52
51
|
*/
|
|
53
|
-
size: _angular_core.
|
|
52
|
+
size: _angular_core.InputSignal<SizeMap | undefined>;
|
|
54
53
|
/**
|
|
55
54
|
* Whether the icon is disabled.
|
|
56
55
|
*/
|
|
57
|
-
disabled: _angular_core.
|
|
56
|
+
disabled: _angular_core.InputSignal<boolean>;
|
|
58
57
|
/**
|
|
59
58
|
* The definition of the icon to display for Font Awesome.
|
|
60
59
|
*/
|
|
@@ -71,15 +70,7 @@ declare class IconComponent implements OnDestroy {
|
|
|
71
70
|
* The size property to use for the icon.
|
|
72
71
|
*/
|
|
73
72
|
sizeProp: _angular_core.Signal<SizeProp | null>;
|
|
74
|
-
/**
|
|
75
|
-
* The effect reference for the icon.
|
|
76
|
-
*/
|
|
77
|
-
iconEffect: EffectRef;
|
|
78
73
|
constructor();
|
|
79
|
-
/**
|
|
80
|
-
* Destroy icon effect
|
|
81
|
-
*/
|
|
82
|
-
ngOnDestroy(): void;
|
|
83
74
|
/**
|
|
84
75
|
* Gets the icon to display.
|
|
85
76
|
*/
|
|
@@ -101,7 +92,7 @@ declare class IconComponent implements OnDestroy {
|
|
|
101
92
|
*/
|
|
102
93
|
loadIconCustom(): void;
|
|
103
94
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconComponent, never>;
|
|
104
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IconComponent, "tk-icon", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "styleIcon": { "alias": "styleIcon"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {
|
|
95
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IconComponent, "tk-icon", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "styleIcon": { "alias": "styleIcon"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
105
96
|
}
|
|
106
97
|
|
|
107
98
|
export { IconComponent };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor, NgControl, FormControl } from '@angular/forms';
|
|
4
4
|
|
|
5
|
-
declare class InputNumberComponent implements ControlValueAccessor, OnInit
|
|
5
|
+
declare class InputNumberComponent implements ControlValueAccessor, OnInit {
|
|
6
6
|
readonly ngControl: NgControl | null;
|
|
7
|
+
private readonly destroyRef;
|
|
7
8
|
constructor();
|
|
8
9
|
/**
|
|
9
10
|
* @property {ModelSignal<number | null>} value
|
|
@@ -54,9 +55,7 @@ declare class InputNumberComponent implements ControlValueAccessor, OnInit, OnDe
|
|
|
54
55
|
onChange: (value: number | null) => void;
|
|
55
56
|
onTouched: () => void;
|
|
56
57
|
private isWriting;
|
|
57
|
-
private readonly subscription;
|
|
58
58
|
ngOnInit(): void;
|
|
59
|
-
ngOnDestroy(): void;
|
|
60
59
|
/**
|
|
61
60
|
* @method writeValue
|
|
62
61
|
* @description
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor, NgControl, FormControl } from '@angular/forms';
|
|
4
4
|
|
|
5
|
-
declare class InputTextComponent implements ControlValueAccessor, OnInit
|
|
5
|
+
declare class InputTextComponent implements ControlValueAccessor, OnInit {
|
|
6
6
|
readonly ngControl: NgControl | null;
|
|
7
|
-
|
|
7
|
+
private readonly destroyRef;
|
|
8
|
+
private readonly init;
|
|
8
9
|
/**
|
|
9
10
|
* @property {ModelSignal<string>} value
|
|
10
11
|
* @description
|
|
@@ -57,11 +58,6 @@ declare class InputTextComponent implements ControlValueAccessor, OnInit, OnDest
|
|
|
57
58
|
* Message to display when the control is invalid and touched.
|
|
58
59
|
*/
|
|
59
60
|
errorMessage: _angular_core.InputSignal<string>;
|
|
60
|
-
/**
|
|
61
|
-
* @property {InputSignal<string>} hint
|
|
62
|
-
* @description
|
|
63
|
-
* Hint text to display below the input.
|
|
64
|
-
*/
|
|
65
61
|
/**
|
|
66
62
|
* @property {InputSignal<string>} hint
|
|
67
63
|
* @description
|
|
@@ -85,9 +81,7 @@ declare class InputTextComponent implements ControlValueAccessor, OnInit, OnDest
|
|
|
85
81
|
onChange: (value: string) => void;
|
|
86
82
|
onTouched: () => void;
|
|
87
83
|
private isWriting;
|
|
88
|
-
private readonly subscription;
|
|
89
84
|
ngOnInit(): void;
|
|
90
|
-
ngOnDestroy(): void;
|
|
91
85
|
/**
|
|
92
86
|
* @method writeValue
|
|
93
87
|
* @description
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { Type, OnDestroy,
|
|
2
|
+
import { Type, OnDestroy, ComponentRef } from '@angular/core';
|
|
3
3
|
import { Variant } from '@tekus/design-system/components/button';
|
|
4
4
|
import { TkCloseInterceptor } from '@tekus/design-system/core/types';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
@@ -83,7 +83,7 @@ declare class ModalComponent<T = unknown> implements OnDestroy {
|
|
|
83
83
|
/** Whether the modal content has a scrollbar */
|
|
84
84
|
hasScroll: boolean;
|
|
85
85
|
/** Emits when the modal closes, passing the return value from footer buttons or null */
|
|
86
|
-
readonly
|
|
86
|
+
readonly closed: _angular_core.OutputEmitterRef<unknown>;
|
|
87
87
|
private alreadyEmitted;
|
|
88
88
|
private returnValueOnClose;
|
|
89
89
|
constructor();
|
|
@@ -153,7 +153,7 @@ declare class ModalComponent<T = unknown> implements OnDestroy {
|
|
|
153
153
|
*/
|
|
154
154
|
private resetClosureState;
|
|
155
155
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalComponent<any>, never>;
|
|
156
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalComponent<any>, "tk-modal", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; "footerButtons": { "alias": "footerButtons"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "closeOnOutsideClick": { "alias": "closeOnOutsideClick"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "interceptor": { "alias": "interceptor"; "required": false; "isSignal": true; }; "responsive": { "alias": "responsive"; "required": false; "isSignal": true; }; "isOpened": { "alias": "isOpened"; "required": false; "isSignal": true; }; }, { "isOpened": "isOpenedChange"; }, never, never, true, never>;
|
|
156
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalComponent<any>, "tk-modal", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; "footerButtons": { "alias": "footerButtons"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "closeOnOutsideClick": { "alias": "closeOnOutsideClick"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "interceptor": { "alias": "interceptor"; "required": false; "isSignal": true; }; "responsive": { "alias": "responsive"; "required": false; "isSignal": true; }; "isOpened": { "alias": "isOpened"; "required": false; "isSignal": true; }; }, { "isOpened": "isOpenedChange"; "closed": "closed"; }, never, never, true, never>;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
/**
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
3
2
|
|
|
4
3
|
/**
|
|
5
4
|
* @component PanelComponent
|
|
@@ -15,7 +14,7 @@ import { EventEmitter } from '@angular/core';
|
|
|
15
14
|
* <tk-panel
|
|
16
15
|
* header="Panel Title"
|
|
17
16
|
* [toggleable]="true"
|
|
18
|
-
* [collapsed]="
|
|
17
|
+
* [(collapsed)]="isCollapsed">
|
|
19
18
|
* <p>Panel content goes here</p>
|
|
20
19
|
* </tk-panel>
|
|
21
20
|
* ```
|
|
@@ -28,7 +27,7 @@ declare class PanelComponent {
|
|
|
28
27
|
*
|
|
29
28
|
* @default undefined
|
|
30
29
|
*/
|
|
31
|
-
header
|
|
30
|
+
header: _angular_core.InputSignal<string | undefined>;
|
|
32
31
|
/**
|
|
33
32
|
* @property {boolean} toggleable
|
|
34
33
|
* @description
|
|
@@ -36,23 +35,16 @@ declare class PanelComponent {
|
|
|
36
35
|
*
|
|
37
36
|
* @default false
|
|
38
37
|
*/
|
|
39
|
-
toggleable: boolean
|
|
38
|
+
toggleable: _angular_core.InputSignal<boolean>;
|
|
40
39
|
/**
|
|
41
|
-
* @property {boolean} collapsed
|
|
40
|
+
* @property {ModelSignal<boolean>} collapsed
|
|
42
41
|
* @description
|
|
43
42
|
* Defines whether the panel is collapsed or expanded.
|
|
44
|
-
* Supports two-way binding.
|
|
43
|
+
* Supports two-way binding via [(collapsed)].
|
|
45
44
|
*
|
|
46
45
|
* @default false
|
|
47
46
|
*/
|
|
48
|
-
collapsed: boolean
|
|
49
|
-
/**
|
|
50
|
-
* @event collapsedChange
|
|
51
|
-
* @description
|
|
52
|
-
* Emits when the collapsed state changes.
|
|
53
|
-
* Enables two-way binding with [(collapsed)].
|
|
54
|
-
*/
|
|
55
|
-
collapsedChange: EventEmitter<boolean>;
|
|
47
|
+
collapsed: _angular_core.ModelSignal<boolean>;
|
|
56
48
|
/**
|
|
57
49
|
* @event toggled
|
|
58
50
|
* @description
|
|
@@ -64,7 +56,7 @@ declare class PanelComponent {
|
|
|
64
56
|
* <tk-panel (toggled)="handleToggle($event)"></tk-panel>
|
|
65
57
|
* ```
|
|
66
58
|
*/
|
|
67
|
-
toggled:
|
|
59
|
+
toggled: _angular_core.OutputEmitterRef<{
|
|
68
60
|
collapsed: boolean;
|
|
69
61
|
}>;
|
|
70
62
|
/**
|
|
@@ -78,8 +70,8 @@ declare class PanelComponent {
|
|
|
78
70
|
handleToggle(event: {
|
|
79
71
|
collapsed: boolean | undefined;
|
|
80
72
|
}): void;
|
|
81
|
-
static ɵfac:
|
|
82
|
-
static ɵcmp:
|
|
73
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PanelComponent, never>;
|
|
74
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PanelComponent, "tk-panel", never, { "header": { "alias": "header"; "required": false; "isSignal": true; }; "toggleable": { "alias": "toggleable"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; }, { "collapsed": "collapsedChange"; "toggled": "toggled"; }, never, ["*"], true, never>;
|
|
83
75
|
}
|
|
84
76
|
|
|
85
77
|
export { PanelComponent };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor, NgControl, FormControl } from '@angular/forms';
|
|
4
4
|
|
|
5
|
-
declare class RadioButtonComponent implements ControlValueAccessor, OnInit
|
|
5
|
+
declare class RadioButtonComponent implements ControlValueAccessor, OnInit {
|
|
6
6
|
readonly ngControl: NgControl | null;
|
|
7
|
+
private readonly destroyRef;
|
|
7
8
|
/**
|
|
8
9
|
* Initialize the component and register it as a ControlValueAccessor.
|
|
9
10
|
*/
|
|
@@ -64,15 +65,10 @@ declare class RadioButtonComponent implements ControlValueAccessor, OnInit, OnDe
|
|
|
64
65
|
get effectiveControl(): FormControl;
|
|
65
66
|
onChange: (value: unknown) => void;
|
|
66
67
|
onTouched: () => void;
|
|
67
|
-
private readonly subscription;
|
|
68
68
|
/**
|
|
69
69
|
* Configure synchronization between the form control and component state.
|
|
70
70
|
*/
|
|
71
71
|
ngOnInit(): void;
|
|
72
|
-
/**
|
|
73
|
-
* Clean up subscriptions.
|
|
74
|
-
*/
|
|
75
|
-
ngOnDestroy(): void;
|
|
76
72
|
/**
|
|
77
73
|
* Implementation of ControlValueAccessor: Writes a new value from the form.
|
|
78
74
|
*/
|
|
@@ -94,7 +94,20 @@ declare class SelectComponent<T = unknown> implements ControlValueAccessor {
|
|
|
94
94
|
modelChange: _angular_core.OutputEmitterRef<T | null>;
|
|
95
95
|
private onChangeFn;
|
|
96
96
|
private onTouchedFn;
|
|
97
|
-
|
|
97
|
+
private readonly init;
|
|
98
|
+
/**
|
|
99
|
+
* @effect disabled → internalDisabled
|
|
100
|
+
* @description
|
|
101
|
+
* Synchronizes the disabled input signal with the internal disabled state.
|
|
102
|
+
*/
|
|
103
|
+
private readonly syncDisabled;
|
|
104
|
+
/**
|
|
105
|
+
* @effect model → internal value
|
|
106
|
+
* @description
|
|
107
|
+
* Synchronizes changes coming from the Signal `model()` back into the internal value.
|
|
108
|
+
* Ensures consistency between Angular Forms, PrimeNG UI events, and Signals.
|
|
109
|
+
*/
|
|
110
|
+
private readonly syncModel;
|
|
98
111
|
/**
|
|
99
112
|
* @method writeValue
|
|
100
113
|
* @description
|
|
@@ -34,12 +34,12 @@ declare class TableComponent<T = unknown> {
|
|
|
34
34
|
*/
|
|
35
35
|
data: _angular_core.InputSignal<T[]>;
|
|
36
36
|
/**
|
|
37
|
-
* @property {
|
|
37
|
+
* @property {viewChild} tableRef
|
|
38
38
|
* @description
|
|
39
39
|
* Reference to the PrimeNG Table component instance.
|
|
40
40
|
* Used to access table methods and properties directly.
|
|
41
41
|
*/
|
|
42
|
-
tableRef: Table
|
|
42
|
+
readonly tableRef: _angular_core.Signal<Table<any> | undefined>;
|
|
43
43
|
/**
|
|
44
44
|
* @property {InputSignal<TableColumn<T>[]>} columns
|
|
45
45
|
* @description
|
|
@@ -74,9 +74,9 @@ declare class TableComponent<T = unknown> {
|
|
|
74
74
|
* Property name to uniquely identify a row.
|
|
75
75
|
*/
|
|
76
76
|
dataKey: _angular_core.InputSignal<string | undefined>;
|
|
77
|
-
initialData: T[]
|
|
78
|
-
internalData: T[]
|
|
79
|
-
isSorted: boolean | null
|
|
77
|
+
readonly initialData: _angular_core.WritableSignal<T[]>;
|
|
78
|
+
readonly internalData: _angular_core.WritableSignal<T[]>;
|
|
79
|
+
readonly isSorted: _angular_core.WritableSignal<boolean | null>;
|
|
80
80
|
/**
|
|
81
81
|
* @computed isAllSelected
|
|
82
82
|
* @description
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
4
4
|
|
|
5
|
-
declare class TextareaComponent implements ControlValueAccessor, OnInit
|
|
5
|
+
declare class TextareaComponent implements ControlValueAccessor, OnInit {
|
|
6
6
|
private readonly ngControl;
|
|
7
|
+
private readonly destroyRef;
|
|
7
8
|
constructor();
|
|
8
9
|
/**
|
|
9
10
|
* @property {ModelSignal<string>} value
|
|
@@ -73,9 +74,7 @@ declare class TextareaComponent implements ControlValueAccessor, OnInit, OnDestr
|
|
|
73
74
|
private propagateChange;
|
|
74
75
|
private propagateTouched;
|
|
75
76
|
private syncingFromView;
|
|
76
|
-
private readonly subscriptions;
|
|
77
77
|
ngOnInit(): void;
|
|
78
|
-
ngOnDestroy(): void;
|
|
79
78
|
/**
|
|
80
79
|
* @method writeValue
|
|
81
80
|
* @description
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
1
|
import * as _angular_cdk_layout from '@angular/cdk/layout';
|
|
3
2
|
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
3
|
+
import * as _angular_core from '@angular/core';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Directive that controls the number of columns covered by an item within a grid.
|
|
@@ -16,7 +16,7 @@ declare class GridItemDirective {
|
|
|
16
16
|
* The final value will be adjusted based on the current breakpoint.
|
|
17
17
|
* @default 1
|
|
18
18
|
*/
|
|
19
|
-
span: number
|
|
19
|
+
span: _angular_core.InputSignal<number>;
|
|
20
20
|
/**
|
|
21
21
|
* Injected service to observe changes in screen breakpoints.
|
|
22
22
|
* @readonly
|
|
@@ -34,13 +34,13 @@ declare class GridItemDirective {
|
|
|
34
34
|
*/
|
|
35
35
|
readonly finalSpan: _angular_core.Signal<number>;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Computed signal that applies the `finalSpan` value to the `grid-column` style of the host element.
|
|
38
38
|
*
|
|
39
39
|
* This causes the element to occupy the number of columns computed in the grid.
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
readonly columnSpan: _angular_core.Signal<string>;
|
|
42
42
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridItemDirective, never>;
|
|
43
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridItemDirective, "[tkGridItem]", never, { "span": { "alias": "span"; "required": false; }; }, {}, never, never, true, never>;
|
|
43
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridItemDirective, "[tkGridItem]", never, { "span": { "alias": "span"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
export { GridItemDirective };
|