@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 +0,0 @@
|
|
|
1
|
-
export * from './src/badge.component';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/button.component';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/checkbox.component';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/date-picker.component';
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { FormControl, ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export type DateValue = Date | [Date, Date] | null;
|
|
5
|
-
export declare class DatePickerComponent implements OnInit, OnDestroy, ControlValueAccessor {
|
|
6
|
-
/**
|
|
7
|
-
* @property {'single' | 'range'} selectionMode
|
|
8
|
-
* @description
|
|
9
|
-
* Defines how the datepicker behaves:
|
|
10
|
-
* - `'single'`: select one date
|
|
11
|
-
* - `'range'`: select a pair of dates [start, end]
|
|
12
|
-
* @default 'range'
|
|
13
|
-
*/
|
|
14
|
-
selectionMode: 'single' | 'range';
|
|
15
|
-
/**
|
|
16
|
-
* @property {boolean} readonlyInput
|
|
17
|
-
* @description
|
|
18
|
-
* Disables manual typing in the input and forces the user to select via the calendar.
|
|
19
|
-
* @default true
|
|
20
|
-
*/
|
|
21
|
-
readonlyInput: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* @property {boolean} disabled
|
|
24
|
-
* @description
|
|
25
|
-
* Disables component.
|
|
26
|
-
* @default false
|
|
27
|
-
*/
|
|
28
|
-
disabled: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* @property {boolean} showClear
|
|
31
|
-
* @description
|
|
32
|
-
* Displays a clear button that resets the datepicker value.
|
|
33
|
-
* @default true
|
|
34
|
-
*/
|
|
35
|
-
showClear: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* @property {boolean} showIcon
|
|
38
|
-
* @description
|
|
39
|
-
* Shows the calendar icon inside the input.
|
|
40
|
-
* @default true
|
|
41
|
-
*/
|
|
42
|
-
showIcon: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* @property {string} dateFormat
|
|
45
|
-
* @description
|
|
46
|
-
* Format used by PrimeNG for displaying dates.
|
|
47
|
-
* @default 'mm/dd/yy'
|
|
48
|
-
*/
|
|
49
|
-
dateFormat: string;
|
|
50
|
-
/**
|
|
51
|
-
* @property {Date | null} maxDate
|
|
52
|
-
* @description
|
|
53
|
-
* Maximum selectable date. When set, the calendar will prevent selecting dates after this value.
|
|
54
|
-
* Provide a JavaScript Date object. Use `null` to allow any future date.
|
|
55
|
-
* @default null
|
|
56
|
-
*/
|
|
57
|
-
maxDate: Date | null;
|
|
58
|
-
/**
|
|
59
|
-
* @property {Date | null} minDate
|
|
60
|
-
* @description
|
|
61
|
-
* Minimum selectable date. When set, the calendar will prevent selecting dates before this value.
|
|
62
|
-
* Provide a JavaScript Date object. Use `null` to allow any past date.
|
|
63
|
-
* @default null
|
|
64
|
-
*/
|
|
65
|
-
minDate: Date | null;
|
|
66
|
-
/**
|
|
67
|
-
* @property {string} labelText
|
|
68
|
-
* @description
|
|
69
|
-
* Label shown by the float-label wrapper.
|
|
70
|
-
* @default 'Select a date'
|
|
71
|
-
*/
|
|
72
|
-
labelText: string;
|
|
73
|
-
/**
|
|
74
|
-
* @private
|
|
75
|
-
* @property {FormControl<DateValue>} internalControl
|
|
76
|
-
* @description
|
|
77
|
-
* The internal FormControl used in the template. It handles value synchronization
|
|
78
|
-
* for both CVA and the optional external control input.
|
|
79
|
-
*/
|
|
80
|
-
internalControl: FormControl<DateValue>;
|
|
81
|
-
/**
|
|
82
|
-
* @private
|
|
83
|
-
* @property {Subscription} sub
|
|
84
|
-
* @description Subscription to the valueChanges observable.
|
|
85
|
-
*/
|
|
86
|
-
private sub;
|
|
87
|
-
private onChange;
|
|
88
|
-
private onTouched;
|
|
89
|
-
/**
|
|
90
|
-
* @property {FormControl<DateValue> | null} control
|
|
91
|
-
* @description
|
|
92
|
-
* Allows passing an external FormControl (traditional Reactive Forms usage).
|
|
93
|
-
* If provided, it overrides the internal control.
|
|
94
|
-
*/
|
|
95
|
-
set control(ctrl: FormControl<DateValue> | null);
|
|
96
|
-
get control(): FormControl<DateValue>;
|
|
97
|
-
/**
|
|
98
|
-
* @event handleSelect
|
|
99
|
-
* @description
|
|
100
|
-
* Emitted when:
|
|
101
|
-
* - single mode → a valid Date is selected
|
|
102
|
-
* - range mode → both start and end dates are selected
|
|
103
|
-
*
|
|
104
|
-
* Payload:
|
|
105
|
-
* - Date (single mode)
|
|
106
|
-
* - [Date, Date] (completed range)
|
|
107
|
-
*/
|
|
108
|
-
handleSelect: EventEmitter<DateValue>;
|
|
109
|
-
/**
|
|
110
|
-
* @event handleClear
|
|
111
|
-
* @description
|
|
112
|
-
* Emitted when the control's value becomes `null`.
|
|
113
|
-
*/
|
|
114
|
-
handleClear: EventEmitter<void>;
|
|
115
|
-
/**
|
|
116
|
-
* @property faCalendarDay
|
|
117
|
-
* @description
|
|
118
|
-
* Icon displayed inside the datepicker input.
|
|
119
|
-
*/
|
|
120
|
-
faCalendarDay: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
121
|
-
/**
|
|
122
|
-
* @method writeValue
|
|
123
|
-
* @description Writes a new value from the form model (ngModel or formControl) into the component.
|
|
124
|
-
*/
|
|
125
|
-
writeValue(value: DateValue): void;
|
|
126
|
-
/**
|
|
127
|
-
* @method registerOnChange
|
|
128
|
-
* @description Registers a callback function to be called when the control's value changes.
|
|
129
|
-
*/
|
|
130
|
-
registerOnChange(fn: (value: DateValue) => void): void;
|
|
131
|
-
/**
|
|
132
|
-
* @method registerOnTouched
|
|
133
|
-
* @description Registers a callback function to be called when the control receives a blur event (is touched).
|
|
134
|
-
*/
|
|
135
|
-
registerOnTouched(fn: () => void): void;
|
|
136
|
-
/**
|
|
137
|
-
* @method setDisabledState
|
|
138
|
-
* @description Called when the control should be disabled or enabled.
|
|
139
|
-
*/
|
|
140
|
-
setDisabledState(isDisabled: boolean): void;
|
|
141
|
-
/**
|
|
142
|
-
* @method ngOnInit
|
|
143
|
-
* @description
|
|
144
|
-
* Subscribes to the internal control's valueChanges:
|
|
145
|
-
* 1. Notifies the external form (CVA) via `this.onChange()`.
|
|
146
|
-
* 2. Emits the semantic events `handleSelect` or `handleClear`.
|
|
147
|
-
*/
|
|
148
|
-
ngOnInit(): void;
|
|
149
|
-
/**
|
|
150
|
-
* @method ngOnDestroy
|
|
151
|
-
* @description Cleans up the internal subscription when the component is destroyed.
|
|
152
|
-
*/
|
|
153
|
-
ngOnDestroy(): void;
|
|
154
|
-
/**
|
|
155
|
-
* @method clear
|
|
156
|
-
* @description
|
|
157
|
-
* Programmatically clears the control's value,
|
|
158
|
-
* which automatically triggers `handleClear`.
|
|
159
|
-
*/
|
|
160
|
-
clear(): void;
|
|
161
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
162
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "tk-date-picker", never, { "selectionMode": { "alias": "selectionMode"; "required": false; }; "readonlyInput": { "alias": "readonlyInput"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, { "handleSelect": "handleSelect"; "handleClear": "handleClear"; }, never, never, true, never>;
|
|
163
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Type } from '@angular/core';
|
|
2
|
-
import { Variant } from '@tekus/design-system/components/button';
|
|
3
|
-
import { SeverityType } from '@tekus/design-system/components/modal';
|
|
4
|
-
import { TkCloseInterceptor } from '@tekus/design-system/core/types';
|
|
5
|
-
export type DrawerSizeType = 'small' | 'large';
|
|
6
|
-
export interface DrawerHeaderAction {
|
|
7
|
-
label: string;
|
|
8
|
-
severity: SeverityType;
|
|
9
|
-
action?: () => void;
|
|
10
|
-
returnValue?: unknown;
|
|
11
|
-
variant?: Variant;
|
|
12
|
-
}
|
|
13
|
-
export interface DrawerConfig<T = unknown> {
|
|
14
|
-
title: string;
|
|
15
|
-
content?: string | Type<T>;
|
|
16
|
-
headerAction?: DrawerHeaderAction;
|
|
17
|
-
size?: DrawerSizeType;
|
|
18
|
-
closable?: boolean;
|
|
19
|
-
dismissible?: boolean;
|
|
20
|
-
data?: Partial<T>;
|
|
21
|
-
interceptor?: TkCloseInterceptor;
|
|
22
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ApplicationRef, ComponentRef } from '@angular/core';
|
|
2
|
-
import { DrawerComponent } from '../drawer.component';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { DrawerConfig } from '../drawer.types';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class DrawerService {
|
|
7
|
-
private readonly appRef;
|
|
8
|
-
private drawerRef;
|
|
9
|
-
constructor(appRef: ApplicationRef);
|
|
10
|
-
get _drawerRefForTesting(): ComponentRef<DrawerComponent<unknown>> | null;
|
|
11
|
-
set _drawerRefForTesting(ref: ComponentRef<DrawerComponent<unknown>> | null);
|
|
12
|
-
open(config: DrawerConfig): Observable<unknown>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DrawerService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DrawerService>;
|
|
15
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/fallback-view.component';
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { IconDefinition } from "@fortawesome/angular-fontawesome";
|
|
2
|
-
/**
|
|
3
|
-
* IconSource is used to indicate the origin of an icon in the IconCatalog.
|
|
4
|
-
* It can either be 'Font awesome' for icons sourced from the Font Awesome library,
|
|
5
|
-
* or 'Custom' for user-defined icons.
|
|
6
|
-
*/
|
|
7
|
-
export type IconSource = 'Font awesome' | 'Custom';
|
|
8
|
-
/**
|
|
9
|
-
* IconRegister is used to define the structure of the icon registration object.
|
|
10
|
-
* It maps icon names to their registration details.
|
|
11
|
-
*/
|
|
12
|
-
export interface IconRegister {
|
|
13
|
-
[iconName: string]: IconRegisterDetail;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* IconRegisterDetail is used to define the details of each icon in the IconCatalog.
|
|
17
|
-
* It includes the icon's name, tags, source, and styles.
|
|
18
|
-
*/
|
|
19
|
-
export interface IconRegisterDetail {
|
|
20
|
-
name: string;
|
|
21
|
-
tags: string[];
|
|
22
|
-
source: IconSource;
|
|
23
|
-
styles?: IconStyles;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* IconStyles is used to define the available styles for each icon in the IconCatalog.
|
|
27
|
-
* It allows for lazy loading of icon styles.
|
|
28
|
-
*/
|
|
29
|
-
type IconType = IconDefinition | string;
|
|
30
|
-
export interface IconStyles {
|
|
31
|
-
light?: Promise<IconType>;
|
|
32
|
-
regular?: Promise<IconType> | IconType;
|
|
33
|
-
solid?: Promise<IconType>;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* IconStylesLight is used to define the available light styles for each icon in the IconCatalog.
|
|
37
|
-
* It includes styles such as 'light', 'fal', 'fa-light', and 'tkl'.
|
|
38
|
-
*/
|
|
39
|
-
export type IconStylesLight = 'light' | 'fal' | 'fa-light' | 'tkl';
|
|
40
|
-
/**
|
|
41
|
-
* IconStylesSolid is used to define the available solid styles for each icon in the IconCatalog.
|
|
42
|
-
* It includes styles such as 'solid', 'fas', 'fa-solid', and 'tks'.
|
|
43
|
-
*/
|
|
44
|
-
export type IconStylesSolid = 'solid' | 'fas' | 'fa-solid' | 'tks';
|
|
45
|
-
/**
|
|
46
|
-
* IconStylesRegular is used to define the available regular styles for each icon in the IconCatalog.
|
|
47
|
-
* It includes styles such as 'regular', 'far', 'fa-regular', 'fa', 'fa-classic', and 'tkr'.
|
|
48
|
-
*/
|
|
49
|
-
export type IconStylesRegular = 'regular' | 'far' | 'fa-regular' | 'fa' | 'fa-classic' | 'tkr';
|
|
50
|
-
/**
|
|
51
|
-
* IconStylesGeneral is used to define the available general styles for each icon in the IconCatalog.
|
|
52
|
-
* It includes all styles from light, solid, and regular categories.
|
|
53
|
-
*/
|
|
54
|
-
export type IconStylesGeneral = IconStylesLight | IconStylesSolid | IconStylesRegular | null;
|
|
55
|
-
/**
|
|
56
|
-
* IconColors is used to define the available colors for each icon in the IconCatalog.
|
|
57
|
-
* It includes colors such as 'primary', 'secondary', 'success', 'danger', 'warning', 'info', and 'light'.
|
|
58
|
-
*/
|
|
59
|
-
export type IconColors = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | null;
|
|
60
|
-
/**
|
|
61
|
-
* iconsStylesLight is an array of available light styles for each icon in the IconCatalog.
|
|
62
|
-
* It allows for easy access and iteration over the light styles.
|
|
63
|
-
*/
|
|
64
|
-
export declare const iconsStylesLight: IconStylesLight[];
|
|
65
|
-
/**
|
|
66
|
-
* iconsStylesSolid is an array of available solid styles for each icon in the IconCatalog.
|
|
67
|
-
* It allows for easy access and iteration over the solid styles.
|
|
68
|
-
*/
|
|
69
|
-
export declare const iconsStylesSolid: IconStylesSolid[];
|
|
70
|
-
/**
|
|
71
|
-
* iconsStylesRegular is an array of available regular styles for each icon in the IconCatalog.
|
|
72
|
-
* It allows for easy access and iteration over the regular styles.
|
|
73
|
-
*/
|
|
74
|
-
export declare const iconsStylesRegular: IconStylesRegular[];
|
|
75
|
-
export declare const IconCatalog: IconRegister;
|
|
76
|
-
export {};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const tkAdsIcon = "<svg\n width=\"1em\"\n height=\"1em\"\n viewBox=\"0 0 576 512\"\n fill=\"none\"\n role=\"img\"\n focusable=\"false\"\n aria-hidden=\"true\"\n data-prefix=\"tk\"\n data-icon=\"ads\"\n class=\"svg-icon--tk tk-ads\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M 547.2024,64.000003 H 28.800127 C 12.897026,64.000003 0,78.330005 0,96.000098 V 415.99909 C 0,433.67134 12.897026,448 28.800127,448 H 547.2024 C 563.10459,448 576,433.67134 576,415.99909 V 96.000098 C 576,78.330005 563.10459,64.000003 547.2024,64.000003 Z M 532.80108,336.0001 c -31.81701,0 -57.60024,28.64995 -57.60024,63.99991 H 100.80019 c 0,-35.34996 -25.785012,-63.99991 -57.6,-63.99991 V 175.99992 c 31.814988,0 57.6,-28.64997 57.6,-63.99992 h 374.40065 c 0,35.34995 25.78323,63.99992 57.60024,63.99992 z\"\n fill=\"currentColor\"\n />\n <path\n d=\"m 288.02306,145.91847 c -59.10788,0 -107.04037,49.27666 -107.04037,110.08152 0,60.80487 47.93249,110.08154 107.04037,110.08154 59.10788,0 106.99424,-49.27667 106.99424,-110.08154 0,-60.80486 -47.88638,-110.08152 -106.99424,-110.08152 z m 16.0814,62.15988 h 12.6255 v 68.79521 h -11.33533 l -0.64498,-5.16081 c -1.34548,1.79542 -2.90167,3.23232 -4.74609,4.28531 -2.08789,1.19478 -4.53783,1.79704 -7.32647,1.79704 -2.93016,0 -5.54017,-0.61875 -7.83335,-1.84316 -2.26487,-1.22439 -4.19329,-2.95064 -5.75981,-5.16075 -1.54057,-2.21012 -2.73658,-4.80074 -3.54814,-7.78727 -0.81629,-2.98677 -1.19802,-6.24444 -1.19802,-9.76864 v -0.96766 c 0,-3.7035 0.38165,-7.02862 1.19808,-10.04511 0.81152,-3.04623 2.02517,-5.69927 3.59411,-7.87943 1.56651,-2.18015 3.51038,-3.82784 5.80591,-5.02255 2.29316,-1.19448 4.90319,-1.79706 7.83334,-1.79706 2.76028,0 5.17469,0.6026 7.23431,1.79706 1.55797,0.88938 2.89945,2.04985 4.101,3.50196 z m -68.74913,3.59413 h 8.84706 3.31767 l 23.68433,65.20108 h -13.96178 l -4.37745,-13.7314 h -22.80887 l -4.37743,13.7314 h -13.86964 z m 6.08234,15.75884 -8.01764,25.15886 h 16.08139 z m 102.93938,0.0922 c 4.09324,0 7.57337,0.63731 10.50589,1.98136 2.96081,1.3438 5.2531,3.21604 6.81964,5.57549 1.59956,2.3295 2.39607,4.98505 2.39607,7.97159 h -12.53338 c 0,-1.2544 -0.30571,-2.37805 -0.82944,-3.36373 -0.49322,-1.01541 -1.27659,-1.78262 -2.35,-2.35 -1.04746,-0.59735 -2.3728,-0.92158 -4.05493,-0.92158 -1.39669,0 -2.62573,0.27563 -3.64019,0.78332 -1.01696,0.47774 -1.80032,1.09894 -2.35002,1.93529 -0.52373,0.80638 -0.78336,1.73295 -0.78336,2.71864 0,0.7467 0.17067,1.43012 0.46059,2.02743 0.31851,0.56738 0.82219,1.08868 1.52043,1.56668 0.69589,0.47774 1.56608,0.91823 2.67255,1.33627 1.13003,0.38834 2.53933,0.73118 4.19315,1.0598 3.39962,0.71674 6.45291,1.64606 9.12354,2.81079 2.67299,1.13478 4.74624,2.6828 6.31275,4.65393 1.56885,1.94116 2.3961,4.52927 2.3961,7.6951 0,2.1502 -0.49899,4.10599 -1.42848,5.89805 -0.92715,1.79183 -2.26533,3.35596 -4.00883,4.70001 -1.74102,1.31409 -3.82725,2.34057 -6.26667,3.08727 -2.40877,0.7167 -5.08766,1.10584 -8.10982,1.10584 -4.38342,0 -8.10287,-0.82946 -11.15099,-2.44213 -3.01954,-1.6124 -5.34499,-3.64949 -6.91151,-6.12832 -1.53823,-2.50879 -2.30403,-5.06694 -2.30403,-7.69511 h 11.88825 c 0.0597,1.76211 0.52224,3.16389 1.33632,4.23922 0.84224,1.0751 1.9008,1.87202 3.17942,2.35 1.3071,0.47774 2.68559,0.69118 4.19315,0.69118 1.62561,0 2.97909,-0.19734 4.05487,-0.6451 1.07328,-0.47797 1.89248,-1.11256 2.44219,-1.88922 0.58048,-0.80638 0.87552,-1.76542 0.87552,-2.81079 0,-0.92576 -0.25941,-1.74178 -0.78314,-2.48823 -0.52139,-0.74669 -1.48267,-1.44647 -2.90294,-2.07354 -1.39434,-0.65705 -3.44006,-1.25939 -6.08238,-1.79706 -2.38281,-0.53743 -4.57571,-1.17497 -6.63529,-1.98137 -2.03371,-0.8361 -3.8352,-1.87644 -5.34513,-3.04118 -1.4816,-1.16476 -2.616,-2.51795 -3.45587,-4.10099 -0.84459,-1.61278 -1.29024,-3.46864 -1.29024,-5.52942 0,-2.0308 0.44565,-3.9219 1.29024,-5.71373 0.86826,-1.79206 2.08682,-3.37231 3.68627,-4.74609 1.62325,-1.40373 3.62266,-2.49515 5.94413,-3.27157 2.35215,-0.80638 4.993,-1.19804 7.9255,-1.19804 z m -48.42851,10.09119 c -1.6256,0 -3.0324,0.42137 -4.19313,1.19804 -1.16309,0.74647 -2.13013,1.77316 -2.85687,3.08725 -0.69589,1.3141 -1.21749,2.86211 -1.56672,4.65393 -0.31851,1.76211 -0.46059,3.65296 -0.46059,5.71374 v 0.96763 c 0,2.00109 0.17067,3.84336 0.46059,5.5755 0.32085,1.73214 0.82453,3.26404 1.52043,4.60785 0.72661,1.31409 1.63242,2.38664 2.76473,3.13334 1.16075,0.71673 2.58539,1.0598 4.23919,1.0598 2.1469,0 3.90712,-0.48907 5.29905,-1.47452 1.26421,-0.92071 2.23559,-2.19773 2.94904,-3.73236 v -19.53716 c -0.30955,-0.66741 -0.6447,-1.29308 -1.05984,-1.84313 -0.78315,-1.0751 -1.80352,-1.89091 -2.99512,-2.48825 -1.16075,-0.59735 -2.50378,-0.92157 -4.10099,-0.92157 z\"\n fill=\"currentColor\"\n />\n</svg>";
|
|
2
|
-
export default tkAdsIcon;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ads-icon.svg';
|