@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,5 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare class ToolbarComponent {
|
|
3
4
|
/**
|
|
4
5
|
* @property {ModelSignal<string>} searchModel
|
|
5
6
|
* @description
|
|
@@ -7,7 +8,7 @@ export declare class ToolbarComponent {
|
|
|
7
8
|
* Supports [(searchModel)]="variable" syntax for two-way binding.
|
|
8
9
|
* @default ''
|
|
9
10
|
*/
|
|
10
|
-
searchModel:
|
|
11
|
+
searchModel: _angular_core.ModelSignal<string>;
|
|
11
12
|
/**
|
|
12
13
|
* @property {ModelSignal<Record<string, string> | null>} filterModel
|
|
13
14
|
* @description
|
|
@@ -15,21 +16,21 @@ export declare class ToolbarComponent {
|
|
|
15
16
|
* Supports [(filterModel)]="variable" syntax for two-way binding.
|
|
16
17
|
* @default null
|
|
17
18
|
*/
|
|
18
|
-
filterModel:
|
|
19
|
+
filterModel: _angular_core.ModelSignal<Record<string, string> | null>;
|
|
19
20
|
/**
|
|
20
21
|
* @property {WritableSignal<boolean>} showSearchInput
|
|
21
22
|
* @description
|
|
22
23
|
* Controls the visibility of the search input. Toggles when the search button is clicked.
|
|
23
24
|
* @default false
|
|
24
25
|
*/
|
|
25
|
-
showSearchInput:
|
|
26
|
+
showSearchInput: _angular_core.WritableSignal<boolean>;
|
|
26
27
|
/**
|
|
27
28
|
* @property {WritableSignal<boolean>} showFilterSelect
|
|
28
29
|
* @description
|
|
29
30
|
* Controls the visibility of the filter select. Toggles when the filter button is clicked.
|
|
30
31
|
* @default false
|
|
31
32
|
*/
|
|
32
|
-
showFilterSelect:
|
|
33
|
+
showFilterSelect: _angular_core.WritableSignal<boolean>;
|
|
33
34
|
/**
|
|
34
35
|
* @property {InputSignal<Array<{ label: string; value: string }>>} filterOptions
|
|
35
36
|
* @description
|
|
@@ -43,7 +44,7 @@ export declare class ToolbarComponent {
|
|
|
43
44
|
* { label: 'Option 3', value: 'option3' }
|
|
44
45
|
* ]
|
|
45
46
|
*/
|
|
46
|
-
filterOptions:
|
|
47
|
+
filterOptions: _angular_core.InputSignal<{
|
|
47
48
|
label: string;
|
|
48
49
|
value: string;
|
|
49
50
|
}[]>;
|
|
@@ -55,7 +56,7 @@ export declare class ToolbarComponent {
|
|
|
55
56
|
*
|
|
56
57
|
* @default 'label'
|
|
57
58
|
*/
|
|
58
|
-
filterOptionLabel:
|
|
59
|
+
filterOptionLabel: _angular_core.InputSignal<string>;
|
|
59
60
|
/**
|
|
60
61
|
* @property {InputSignal<string>} filterFloatLabel
|
|
61
62
|
* @description
|
|
@@ -64,7 +65,7 @@ export declare class ToolbarComponent {
|
|
|
64
65
|
*
|
|
65
66
|
* @default 'Filtrar'
|
|
66
67
|
*/
|
|
67
|
-
filterFloatLabel:
|
|
68
|
+
filterFloatLabel: _angular_core.InputSignal<string>;
|
|
68
69
|
/**
|
|
69
70
|
* @property {InputSignal<string>} searchFloatLabel
|
|
70
71
|
* @description
|
|
@@ -73,28 +74,28 @@ export declare class ToolbarComponent {
|
|
|
73
74
|
*
|
|
74
75
|
* @default 'Buscar'
|
|
75
76
|
*/
|
|
76
|
-
searchFloatLabel:
|
|
77
|
+
searchFloatLabel: _angular_core.InputSignal<string>;
|
|
77
78
|
/**
|
|
78
79
|
* @property {InputSignal<boolean>} searchVisible
|
|
79
80
|
* @description
|
|
80
81
|
* Controls the visibility of the search button.
|
|
81
82
|
* @default true
|
|
82
83
|
*/
|
|
83
|
-
searchVisible:
|
|
84
|
+
searchVisible: _angular_core.InputSignal<boolean>;
|
|
84
85
|
/**
|
|
85
86
|
* @property {InputSignal<boolean>} filterVisible
|
|
86
87
|
* @description
|
|
87
88
|
* Controls the visibility of the filter button.
|
|
88
89
|
* @default true
|
|
89
90
|
*/
|
|
90
|
-
filterVisible:
|
|
91
|
+
filterVisible: _angular_core.InputSignal<boolean>;
|
|
91
92
|
/**
|
|
92
93
|
* @property {InputSignal<boolean>} reloadVisible
|
|
93
94
|
* @description
|
|
94
95
|
* Controls the visibility of the reload button.
|
|
95
96
|
* @default false
|
|
96
97
|
*/
|
|
97
|
-
reloadVisible:
|
|
98
|
+
reloadVisible: _angular_core.InputSignal<boolean>;
|
|
98
99
|
/**
|
|
99
100
|
* @property {InputSignal<number | null>} reloadInterval
|
|
100
101
|
* @description
|
|
@@ -102,20 +103,20 @@ export declare class ToolbarComponent {
|
|
|
102
103
|
* If null, automatic reload is disabled.
|
|
103
104
|
* @default null
|
|
104
105
|
*/
|
|
105
|
-
reloadInterval:
|
|
106
|
+
reloadInterval: _angular_core.InputSignal<number | null>;
|
|
106
107
|
/**
|
|
107
108
|
* @property {InputSignal<boolean>} loading
|
|
108
109
|
* @description
|
|
109
110
|
* Controls the loading state of the reload button, triggering a rotation animation.
|
|
110
111
|
* @default false
|
|
111
112
|
*/
|
|
112
|
-
loading:
|
|
113
|
+
loading: _angular_core.InputSignal<boolean>;
|
|
113
114
|
/**
|
|
114
115
|
* @property {OutputEmitter<void>} reload
|
|
115
116
|
* @description
|
|
116
117
|
* Emits an event when the reload button is clicked or the automatic interval is reached.
|
|
117
118
|
*/
|
|
118
|
-
reload:
|
|
119
|
+
reload: _angular_core.OutputEmitterRef<void>;
|
|
119
120
|
/**
|
|
120
121
|
* @method constructor
|
|
121
122
|
* @description
|
|
@@ -148,6 +149,8 @@ export declare class ToolbarComponent {
|
|
|
148
149
|
* Emits the reload event.
|
|
149
150
|
*/
|
|
150
151
|
onReload(): void;
|
|
151
|
-
static ɵfac:
|
|
152
|
-
static ɵcmp:
|
|
152
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToolbarComponent, never>;
|
|
153
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ToolbarComponent, "tk-toolbar", never, { "searchModel": { "alias": "searchModel"; "required": false; "isSignal": true; }; "filterModel": { "alias": "filterModel"; "required": false; "isSignal": true; }; "filterOptions": { "alias": "filterOptions"; "required": false; "isSignal": true; }; "filterOptionLabel": { "alias": "filterOptionLabel"; "required": false; "isSignal": true; }; "filterFloatLabel": { "alias": "filterFloatLabel"; "required": false; "isSignal": true; }; "searchFloatLabel": { "alias": "searchFloatLabel"; "required": false; "isSignal": true; }; "searchVisible": { "alias": "searchVisible"; "required": false; "isSignal": true; }; "filterVisible": { "alias": "filterVisible"; "required": false; "isSignal": true; }; "reloadVisible": { "alias": "reloadVisible"; "required": false; "isSignal": true; }; "reloadInterval": { "alias": "reloadInterval"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, { "searchModel": "searchModelChange"; "filterModel": "filterModelChange"; "reload": "reload"; }, never, never, true, never>;
|
|
153
154
|
}
|
|
155
|
+
|
|
156
|
+
export { ToolbarComponent };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @component TooltipComponent
|
|
5
|
+
* @description
|
|
6
|
+
* Wrapper component that applies a PrimeNG tooltip to its projected content.
|
|
7
|
+
* It allows defining the tooltip text and its position relative to the content.
|
|
8
|
+
*
|
|
9
|
+
* @usage
|
|
10
|
+
* ```html
|
|
11
|
+
* <tk-tooltip content="Tooltip text" position="top">
|
|
12
|
+
* <button>Hover me</button>
|
|
13
|
+
* </tk-tooltip>
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
type TooltipPosition = 'top' | 'bottom' | 'left' | 'right';
|
|
17
|
+
declare class TooltipComponent {
|
|
18
|
+
/**
|
|
19
|
+
* @property {string} content
|
|
20
|
+
* @description
|
|
21
|
+
* The text to be displayed in the tooltip.
|
|
22
|
+
*
|
|
23
|
+
* @required
|
|
24
|
+
*/
|
|
25
|
+
content: _angular_core.InputSignal<string>;
|
|
26
|
+
/**
|
|
27
|
+
* @property {TooltipPosition} position
|
|
28
|
+
* @description
|
|
29
|
+
* Position of the tooltip relative to the element.
|
|
30
|
+
*
|
|
31
|
+
* @default 'top'
|
|
32
|
+
*/
|
|
33
|
+
position: _angular_core.InputSignal<TooltipPosition>;
|
|
34
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
|
35
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TooltipComponent, "tk-tooltip", never, { "content": { "alias": "content"; "required": true; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { TooltipComponent };
|
|
39
|
+
export type { TooltipPosition };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { TagSeverity } from '@tekus/design-system/components/tag';
|
|
3
|
+
|
|
4
|
+
type TopbarActionType = 'primary' | 'icon';
|
|
5
|
+
interface TopbarAction {
|
|
6
|
+
type: TopbarActionType;
|
|
7
|
+
label?: string;
|
|
8
|
+
icon?: string;
|
|
9
|
+
tooltipText?: string;
|
|
10
|
+
onClick: () => void;
|
|
11
|
+
}
|
|
12
|
+
interface TopbarTag {
|
|
13
|
+
label: string;
|
|
14
|
+
variant?: TagSeverity;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @component TopbarComponent
|
|
19
|
+
* @description
|
|
20
|
+
* Layout component that renders a title with optional actions and metadata.
|
|
21
|
+
* It composes `tk-button` and `tk-tag` and uses only design tokens for styles.
|
|
22
|
+
*/
|
|
23
|
+
declare class TopbarComponent {
|
|
24
|
+
/** Main title text for the topbar. */
|
|
25
|
+
title: _angular_core.InputSignal<string>;
|
|
26
|
+
/** Optional list of actions displayed in the header. */
|
|
27
|
+
actions: _angular_core.InputSignal<TopbarAction[] | null>;
|
|
28
|
+
/** Optional list of tags displayed in the meta section. */
|
|
29
|
+
tags: _angular_core.InputSignal<TopbarTag[] | null>;
|
|
30
|
+
/** Optional description displayed in the meta section. */
|
|
31
|
+
description: _angular_core.InputSignal<string | null>;
|
|
32
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TopbarComponent, never>;
|
|
33
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TopbarComponent, "tk-topbar", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "tags": { "alias": "tags"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { TopbarComponent };
|
|
37
|
+
export type { TopbarAction, TopbarActionType, TopbarTag };
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import { ValidatorFn } from '@angular/forms';
|
|
2
|
+
import * as _angular_core from '@angular/core';
|
|
3
|
+
import { Preset } from '@primeuix/themes/types';
|
|
4
|
+
|
|
5
|
+
interface Option {
|
|
6
|
+
ViewValue: string;
|
|
7
|
+
Value: number | string;
|
|
8
|
+
}
|
|
9
|
+
interface DropdownListItem<T> {
|
|
10
|
+
ViewValue: string;
|
|
11
|
+
Value: T;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
interface ValidatorWithMessage {
|
|
15
|
+
validator: ValidatorFn;
|
|
16
|
+
message: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
interface TypographyStyles {
|
|
20
|
+
general: FontCSSProperties;
|
|
21
|
+
'h1-heading': FontCSSProperties;
|
|
22
|
+
'h2-heading': FontCSSProperties;
|
|
23
|
+
'h3-heading': FontCSSProperties;
|
|
24
|
+
'h4-heading': FontCSSProperties;
|
|
25
|
+
'h5-heading': FontCSSProperties;
|
|
26
|
+
'h6-heading': FontCSSProperties;
|
|
27
|
+
subtitle1: FontCSSProperties;
|
|
28
|
+
subtitle2: FontCSSProperties;
|
|
29
|
+
body1: FontCSSProperties;
|
|
30
|
+
body2: FontCSSProperties;
|
|
31
|
+
'p1-paragraph': FontCSSProperties;
|
|
32
|
+
'underline-text': FontCSSProperties;
|
|
33
|
+
}
|
|
34
|
+
interface FontCSSProperties {
|
|
35
|
+
fontFamily?: string;
|
|
36
|
+
fontSize?: string | number;
|
|
37
|
+
fontStyle?: 'normal' | 'italic' | 'oblique' | 'initial' | 'inherit';
|
|
38
|
+
fontWeight?: number | 'normal' | 'bold' | 'bolder' | 'lighter' | 'initial' | 'inherit';
|
|
39
|
+
fontVariant?: 'normal' | 'small-caps' | 'initial' | 'inherit';
|
|
40
|
+
lineHeight?: number | string;
|
|
41
|
+
letterSpacing?: string;
|
|
42
|
+
textTransform?: 'none' | 'capitalize' | 'uppercase' | 'lowercase' | 'initial' | 'inherit';
|
|
43
|
+
textDecoration?: 'none' | 'underline' | 'overline' | 'line-through' | 'initial' | 'inherit';
|
|
44
|
+
textAlign?: 'left' | 'right' | 'center' | 'justify' | 'initial' | 'inherit';
|
|
45
|
+
textShadow?: string;
|
|
46
|
+
color?: string;
|
|
47
|
+
direction?: 'ltr' | 'rtl' | 'initial' | 'inherit';
|
|
48
|
+
whiteSpace?: 'normal' | 'nowrap' | 'pre' | 'pre-wrap' | 'pre-line' | 'initial' | 'inherit';
|
|
49
|
+
wordSpacing?: string;
|
|
50
|
+
wordBreak?: 'normal' | 'break-all' | 'keep-all' | 'break-word' | 'initial' | 'inherit';
|
|
51
|
+
overflowWrap?: 'normal' | 'break-word' | 'anywhere' | 'initial' | 'inherit';
|
|
52
|
+
hyphens?: 'none' | 'manual' | 'auto' | 'initial' | 'inherit';
|
|
53
|
+
[key: string]: string | number | undefined;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
interface IllustrationConfig {
|
|
57
|
+
name: string;
|
|
58
|
+
url: string;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @type { `dark` | `light` } ThemeLogo
|
|
63
|
+
* @description Defines the theme variant of the logo.
|
|
64
|
+
* - `dark`: The logo is designed to look good on a **light** background (the logo is dark).
|
|
65
|
+
* - `light`: The logo is designed to look good on a **dark** background (the logo is light/white).
|
|
66
|
+
*/
|
|
67
|
+
type ThemeLogo = 'dark' | 'light';
|
|
68
|
+
/**
|
|
69
|
+
* @type { `minimal` | `normal` | `compound` } VariantLogo
|
|
70
|
+
* @description Defines the logo style variant (complexity/presentation).
|
|
71
|
+
* - `minimal`: Only the icon or a very simplified version of the logo.
|
|
72
|
+
* - `normal`: The standard version of the logo (name/text).
|
|
73
|
+
* - `compound`: A version of the logo (icon -name/text).
|
|
74
|
+
*/
|
|
75
|
+
type VariantLogo = 'minimal' | 'normal' | 'compound';
|
|
76
|
+
|
|
77
|
+
declare enum GapGutter {
|
|
78
|
+
normal = "24px",
|
|
79
|
+
small = "16px",
|
|
80
|
+
large = "32px",
|
|
81
|
+
extraLarge = "40px"
|
|
82
|
+
}
|
|
83
|
+
declare enum PaddingGridContainer {
|
|
84
|
+
large = "32px",
|
|
85
|
+
medium = "24px",
|
|
86
|
+
small = "16px"
|
|
87
|
+
}
|
|
88
|
+
declare enum Gutter {
|
|
89
|
+
normal = "normal",
|
|
90
|
+
small = "small",
|
|
91
|
+
large = "large",
|
|
92
|
+
extraLarge = "extraLarge"
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Defines a set of predefined container sizes for layout components.
|
|
97
|
+
*/
|
|
98
|
+
type ContainerType = 'large' | 'medium' | 'small';
|
|
99
|
+
/**
|
|
100
|
+
* Represents a valid CSS unit for defining the size of a grid column or row.
|
|
101
|
+
* This type ensures type safety by restricting values to standard CSS units.
|
|
102
|
+
* @description
|
|
103
|
+
* Description: This type is designed to enforce correct formatting and unit types for grid layouts, preventing invalid values at compile time.
|
|
104
|
+
* px: A fixed-size unit.
|
|
105
|
+
* rem: A size relative to the root element's font size, useful for accessibility.
|
|
106
|
+
* em: A size relative to the parent element's font size.
|
|
107
|
+
* %: A percentage of the container's size.
|
|
108
|
+
* fr: A fractional unit used in CSS Grid to distribute available space.
|
|
109
|
+
*/
|
|
110
|
+
type ColumnRowSize = `${number}px` | `${number}rem` | `${number}em` | `${number}%` | `${number}fr`;
|
|
111
|
+
/**
|
|
112
|
+
* Represents a type-safe CSS `minmax()` function for creating responsive grid tracks.
|
|
113
|
+
* @description
|
|
114
|
+
* Description: This type ensures that the minmax() function is always created with valid ColumnRowSize arguments.
|
|
115
|
+
* It's essential for building flexible layouts that adapt to different screen sizes.
|
|
116
|
+
*/
|
|
117
|
+
type ComposeMinMax = `minmax(${ColumnRowSize},${ColumnRowSize})`;
|
|
118
|
+
/**
|
|
119
|
+
* A versatile type for defining grid track sizes, allowing for both fixed and flexible dimensions.
|
|
120
|
+
* @description
|
|
121
|
+
* Description: This union type offers maximum flexibility, allowing a grid template to accept either a
|
|
122
|
+
* specific unit size (like '200px') or a dynamic minmax() function (like 'minmax(100px, 1fr)').
|
|
123
|
+
*/
|
|
124
|
+
type ComposeSize = ComposeMinMax | ColumnRowSize;
|
|
125
|
+
/**
|
|
126
|
+
* Defines the number of columns in a grid.
|
|
127
|
+
* @description
|
|
128
|
+
* Description: This type provides two distinct ways to set the number of columns in a grid.
|
|
129
|
+
* number: Used for a fixed number of columns (e.g., 4).
|
|
130
|
+
* 'auto-fill': A CSS Grid keyword that automatically creates as many columns as will fit inside a container.
|
|
131
|
+
*/
|
|
132
|
+
type GridColumns = number | 'auto-fill';
|
|
133
|
+
type GutterType = 'normal' | 'small' | 'large' | 'extraLarge';
|
|
134
|
+
|
|
135
|
+
interface FixedGridProps {
|
|
136
|
+
columns?: number;
|
|
137
|
+
size?: ColumnRowSize;
|
|
138
|
+
}
|
|
139
|
+
interface AutoFillGridProps {
|
|
140
|
+
columns?: 'auto-fill';
|
|
141
|
+
size?: ComposeMinMax;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
declare const Breakpoints: {
|
|
145
|
+
mobileSmall: string;
|
|
146
|
+
mobile: string;
|
|
147
|
+
mobileLarge: string;
|
|
148
|
+
tabletVertical: string;
|
|
149
|
+
tabletHorizontal: string;
|
|
150
|
+
desktopSmall: string;
|
|
151
|
+
desktop: string;
|
|
152
|
+
desktopLarge: string;
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
declare function provideTkTheme(): _angular_core.EnvironmentProviders;
|
|
156
|
+
|
|
157
|
+
declare const TkPreset: Preset;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Interface that can be optionally implemented by components loaded into overlays
|
|
161
|
+
* (Modals, Drawers, etc.) to intercept the closing process.
|
|
162
|
+
*/
|
|
163
|
+
interface TkCanClose {
|
|
164
|
+
/**
|
|
165
|
+
* Function or Signal indicating if the component can be closed.
|
|
166
|
+
* When returning false, the overlay will prevent closure.
|
|
167
|
+
*/
|
|
168
|
+
canClose?: () => boolean;
|
|
169
|
+
/**
|
|
170
|
+
* Optional hook called when a user attempt to close the overlay is blocked
|
|
171
|
+
* by the canClose() returning false.
|
|
172
|
+
*/
|
|
173
|
+
onBlockedClose?(): void;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Type definition for the overlay closing interceptor.
|
|
177
|
+
* It must be a synchronous function returning the "allowed" state.
|
|
178
|
+
*/
|
|
179
|
+
type TkCloseInterceptor = () => boolean;
|
|
180
|
+
|
|
181
|
+
export { Breakpoints, GapGutter, Gutter, PaddingGridContainer, TkPreset, provideTkTheme };
|
|
182
|
+
export type { AutoFillGridProps, ColumnRowSize, ComposeMinMax, ComposeSize, ContainerType, DropdownListItem, FixedGridProps, FontCSSProperties, GridColumns, GutterType, IllustrationConfig, Option, ThemeLogo, TkCanClose, TkCloseInterceptor, TypographyStyles, ValidatorWithMessage, VariantLogo };
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import { ValidatorFn } from '@angular/forms';
|
|
2
|
+
import * as _angular_core from '@angular/core';
|
|
3
|
+
import { Preset } from '@primeuix/themes/types';
|
|
4
|
+
|
|
5
|
+
interface Option {
|
|
6
|
+
ViewValue: string;
|
|
7
|
+
Value: number | string;
|
|
8
|
+
}
|
|
9
|
+
interface DropdownListItem<T> {
|
|
10
|
+
ViewValue: string;
|
|
11
|
+
Value: T;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
interface ValidatorWithMessage {
|
|
15
|
+
validator: ValidatorFn;
|
|
16
|
+
message: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
interface TypographyStyles {
|
|
20
|
+
general: FontCSSProperties;
|
|
21
|
+
'h1-heading': FontCSSProperties;
|
|
22
|
+
'h2-heading': FontCSSProperties;
|
|
23
|
+
'h3-heading': FontCSSProperties;
|
|
24
|
+
'h4-heading': FontCSSProperties;
|
|
25
|
+
'h5-heading': FontCSSProperties;
|
|
26
|
+
'h6-heading': FontCSSProperties;
|
|
27
|
+
subtitle1: FontCSSProperties;
|
|
28
|
+
subtitle2: FontCSSProperties;
|
|
29
|
+
body1: FontCSSProperties;
|
|
30
|
+
body2: FontCSSProperties;
|
|
31
|
+
'p1-paragraph': FontCSSProperties;
|
|
32
|
+
'underline-text': FontCSSProperties;
|
|
33
|
+
}
|
|
34
|
+
interface FontCSSProperties {
|
|
35
|
+
fontFamily?: string;
|
|
36
|
+
fontSize?: string | number;
|
|
37
|
+
fontStyle?: 'normal' | 'italic' | 'oblique' | 'initial' | 'inherit';
|
|
38
|
+
fontWeight?: number | 'normal' | 'bold' | 'bolder' | 'lighter' | 'initial' | 'inherit';
|
|
39
|
+
fontVariant?: 'normal' | 'small-caps' | 'initial' | 'inherit';
|
|
40
|
+
lineHeight?: number | string;
|
|
41
|
+
letterSpacing?: string;
|
|
42
|
+
textTransform?: 'none' | 'capitalize' | 'uppercase' | 'lowercase' | 'initial' | 'inherit';
|
|
43
|
+
textDecoration?: 'none' | 'underline' | 'overline' | 'line-through' | 'initial' | 'inherit';
|
|
44
|
+
textAlign?: 'left' | 'right' | 'center' | 'justify' | 'initial' | 'inherit';
|
|
45
|
+
textShadow?: string;
|
|
46
|
+
color?: string;
|
|
47
|
+
direction?: 'ltr' | 'rtl' | 'initial' | 'inherit';
|
|
48
|
+
whiteSpace?: 'normal' | 'nowrap' | 'pre' | 'pre-wrap' | 'pre-line' | 'initial' | 'inherit';
|
|
49
|
+
wordSpacing?: string;
|
|
50
|
+
wordBreak?: 'normal' | 'break-all' | 'keep-all' | 'break-word' | 'initial' | 'inherit';
|
|
51
|
+
overflowWrap?: 'normal' | 'break-word' | 'anywhere' | 'initial' | 'inherit';
|
|
52
|
+
hyphens?: 'none' | 'manual' | 'auto' | 'initial' | 'inherit';
|
|
53
|
+
[key: string]: string | number | undefined;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
interface IllustrationConfig {
|
|
57
|
+
name: string;
|
|
58
|
+
url: string;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @type { `dark` | `light` } ThemeLogo
|
|
63
|
+
* @description Defines the theme variant of the logo.
|
|
64
|
+
* - `dark`: The logo is designed to look good on a **light** background (the logo is dark).
|
|
65
|
+
* - `light`: The logo is designed to look good on a **dark** background (the logo is light/white).
|
|
66
|
+
*/
|
|
67
|
+
type ThemeLogo = 'dark' | 'light';
|
|
68
|
+
/**
|
|
69
|
+
* @type { `minimal` | `normal` | `compound` } VariantLogo
|
|
70
|
+
* @description Defines the logo style variant (complexity/presentation).
|
|
71
|
+
* - `minimal`: Only the icon or a very simplified version of the logo.
|
|
72
|
+
* - `normal`: The standard version of the logo (name/text).
|
|
73
|
+
* - `compound`: A version of the logo (icon -name/text).
|
|
74
|
+
*/
|
|
75
|
+
type VariantLogo = 'minimal' | 'normal' | 'compound';
|
|
76
|
+
|
|
77
|
+
declare enum GapGutter {
|
|
78
|
+
normal = "24px",
|
|
79
|
+
small = "16px",
|
|
80
|
+
large = "32px",
|
|
81
|
+
extraLarge = "40px"
|
|
82
|
+
}
|
|
83
|
+
declare enum PaddingGridContainer {
|
|
84
|
+
large = "32px",
|
|
85
|
+
medium = "24px",
|
|
86
|
+
small = "16px"
|
|
87
|
+
}
|
|
88
|
+
declare enum Gutter {
|
|
89
|
+
normal = "normal",
|
|
90
|
+
small = "small",
|
|
91
|
+
large = "large",
|
|
92
|
+
extraLarge = "extraLarge"
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Defines a set of predefined container sizes for layout components.
|
|
97
|
+
*/
|
|
98
|
+
type ContainerType = 'large' | 'medium' | 'small';
|
|
99
|
+
/**
|
|
100
|
+
* Represents a valid CSS unit for defining the size of a grid column or row.
|
|
101
|
+
* This type ensures type safety by restricting values to standard CSS units.
|
|
102
|
+
* @description
|
|
103
|
+
* Description: This type is designed to enforce correct formatting and unit types for grid layouts, preventing invalid values at compile time.
|
|
104
|
+
* px: A fixed-size unit.
|
|
105
|
+
* rem: A size relative to the root element's font size, useful for accessibility.
|
|
106
|
+
* em: A size relative to the parent element's font size.
|
|
107
|
+
* %: A percentage of the container's size.
|
|
108
|
+
* fr: A fractional unit used in CSS Grid to distribute available space.
|
|
109
|
+
*/
|
|
110
|
+
type ColumnRowSize = `${number}px` | `${number}rem` | `${number}em` | `${number}%` | `${number}fr`;
|
|
111
|
+
/**
|
|
112
|
+
* Represents a type-safe CSS `minmax()` function for creating responsive grid tracks.
|
|
113
|
+
* @description
|
|
114
|
+
* Description: This type ensures that the minmax() function is always created with valid ColumnRowSize arguments.
|
|
115
|
+
* It's essential for building flexible layouts that adapt to different screen sizes.
|
|
116
|
+
*/
|
|
117
|
+
type ComposeMinMax = `minmax(${ColumnRowSize},${ColumnRowSize})`;
|
|
118
|
+
/**
|
|
119
|
+
* A versatile type for defining grid track sizes, allowing for both fixed and flexible dimensions.
|
|
120
|
+
* @description
|
|
121
|
+
* Description: This union type offers maximum flexibility, allowing a grid template to accept either a
|
|
122
|
+
* specific unit size (like '200px') or a dynamic minmax() function (like 'minmax(100px, 1fr)').
|
|
123
|
+
*/
|
|
124
|
+
type ComposeSize = ComposeMinMax | ColumnRowSize;
|
|
125
|
+
/**
|
|
126
|
+
* Defines the number of columns in a grid.
|
|
127
|
+
* @description
|
|
128
|
+
* Description: This type provides two distinct ways to set the number of columns in a grid.
|
|
129
|
+
* number: Used for a fixed number of columns (e.g., 4).
|
|
130
|
+
* 'auto-fill': A CSS Grid keyword that automatically creates as many columns as will fit inside a container.
|
|
131
|
+
*/
|
|
132
|
+
type GridColumns = number | 'auto-fill';
|
|
133
|
+
type GutterType = 'normal' | 'small' | 'large' | 'extraLarge';
|
|
134
|
+
|
|
135
|
+
interface FixedGridProps {
|
|
136
|
+
columns?: number;
|
|
137
|
+
size?: ColumnRowSize;
|
|
138
|
+
}
|
|
139
|
+
interface AutoFillGridProps {
|
|
140
|
+
columns?: 'auto-fill';
|
|
141
|
+
size?: ComposeMinMax;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
declare const Breakpoints: {
|
|
145
|
+
mobileSmall: string;
|
|
146
|
+
mobile: string;
|
|
147
|
+
mobileLarge: string;
|
|
148
|
+
tabletVertical: string;
|
|
149
|
+
tabletHorizontal: string;
|
|
150
|
+
desktopSmall: string;
|
|
151
|
+
desktop: string;
|
|
152
|
+
desktopLarge: string;
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
declare function provideTkTheme(): _angular_core.EnvironmentProviders;
|
|
156
|
+
|
|
157
|
+
declare const TkPreset: Preset;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Interface that can be optionally implemented by components loaded into overlays
|
|
161
|
+
* (Modals, Drawers, etc.) to intercept the closing process.
|
|
162
|
+
*/
|
|
163
|
+
interface TkCanClose {
|
|
164
|
+
/**
|
|
165
|
+
* Function or Signal indicating if the component can be closed.
|
|
166
|
+
* When returning false, the overlay will prevent closure.
|
|
167
|
+
*/
|
|
168
|
+
canClose?: () => boolean;
|
|
169
|
+
/**
|
|
170
|
+
* Optional hook called when a user attempt to close the overlay is blocked
|
|
171
|
+
* by the canClose() returning false.
|
|
172
|
+
*/
|
|
173
|
+
onBlockedClose?(): void;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Type definition for the overlay closing interceptor.
|
|
177
|
+
* It must be a synchronous function returning the "allowed" state.
|
|
178
|
+
*/
|
|
179
|
+
type TkCloseInterceptor = () => boolean;
|
|
180
|
+
|
|
181
|
+
export { Breakpoints, GapGutter, Gutter, PaddingGridContainer, TkPreset, provideTkTheme };
|
|
182
|
+
export type { AutoFillGridProps, ColumnRowSize, ComposeMinMax, ComposeSize, ContainerType, DropdownListItem, FixedGridProps, FontCSSProperties, GridColumns, GutterType, IllustrationConfig, Option, ThemeLogo, TkCanClose, TkCloseInterceptor, TypographyStyles, ValidatorWithMessage, VariantLogo };
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import * as _angular_cdk_layout from '@angular/cdk/layout';
|
|
3
|
+
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
4
|
+
|
|
3
5
|
/**
|
|
4
6
|
* Directive that controls the number of columns covered by an item within a grid.
|
|
5
7
|
*
|
|
@@ -8,7 +10,7 @@ import * as i0 from "@angular/core";
|
|
|
8
10
|
* For best results use a [grid component as a parent container](?path=/docs/components-grids-grids-container--docs)
|
|
9
11
|
* @selector [tkGridItem]
|
|
10
12
|
*/
|
|
11
|
-
|
|
13
|
+
declare class GridItemDirective {
|
|
12
14
|
/**
|
|
13
15
|
* Defines how many columns this element will span.
|
|
14
16
|
* The final value will be adjusted based on the current breakpoint.
|
|
@@ -23,20 +25,22 @@ export declare class GridItemDirective {
|
|
|
23
25
|
/**
|
|
24
26
|
* A signal that emits values each time a screen breakpoint changes.
|
|
25
27
|
*/
|
|
26
|
-
readonly screenChange:
|
|
28
|
+
readonly screenChange: _angular_core.Signal<_angular_cdk_layout.BreakpointState | undefined>;
|
|
27
29
|
/**
|
|
28
30
|
* A computed signal that determines the final value of the column span.
|
|
29
31
|
*
|
|
30
32
|
* This value is adjusted (truncated) so as not to exceed the maximum number of columns
|
|
31
33
|
* allowed at each breakpoint, ensuring that the layout does not break on small screens.
|
|
32
34
|
*/
|
|
33
|
-
readonly finalSpan:
|
|
35
|
+
readonly finalSpan: _angular_core.Signal<number>;
|
|
34
36
|
/**
|
|
35
37
|
* Host Binding that applies the `finalSnap` value to the `grid-column` style of the host element.
|
|
36
38
|
*
|
|
37
39
|
* This causes the element to occupy the number of columns computed in the grid.
|
|
38
40
|
*/
|
|
39
41
|
get columnSpan(): string;
|
|
40
|
-
static ɵfac:
|
|
41
|
-
static ɵdir:
|
|
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>;
|
|
42
44
|
}
|
|
45
|
+
|
|
46
|
+
export { GridItemDirective };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
declare const UNSAFE_SVG_REGEX: {
|
|
2
2
|
script: RegExp;
|
|
3
3
|
onAttr: RegExp;
|
|
4
4
|
jsHref: RegExp;
|
|
@@ -11,10 +11,12 @@ export declare const UNSAFE_SVG_REGEX: {
|
|
|
11
11
|
* @param svgContent The SVG content as a string.
|
|
12
12
|
* @returns The sanitized SVG.
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
declare function sanitizeSvgContent(svgContent: string): string;
|
|
15
15
|
/**
|
|
16
16
|
* Edit the SVG to ensure that the color is dynamic and the ‘none’ fills are maintained.
|
|
17
17
|
* @param svgContent The SVG content as a string.
|
|
18
18
|
* @returns The modified SVG.
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
declare function retouchSvgForColor(svgContent: string): string;
|
|
21
|
+
|
|
22
|
+
export { UNSAFE_SVG_REGEX, retouchSvgForColor, sanitizeSvgContent };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/autocomplete.component';
|