@tectra-ng/ui 0.4.2 → 0.4.4

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.
Files changed (180) hide show
  1. package/README.md +1 -1
  2. package/amount/README.md +2 -2
  3. package/analog-clock/README.md +3 -2
  4. package/button-group/README.md +34 -2
  5. package/chips-input/README.md +10 -0
  6. package/data-view/README.md +3 -0
  7. package/fesm2022/tectra-ng-ui-accordion.mjs +21 -21
  8. package/fesm2022/tectra-ng-ui-amount.mjs +14 -12
  9. package/fesm2022/tectra-ng-ui-amount.mjs.map +1 -1
  10. package/fesm2022/tectra-ng-ui-analog-clock.mjs +18 -12
  11. package/fesm2022/tectra-ng-ui-analog-clock.mjs.map +1 -1
  12. package/fesm2022/tectra-ng-ui-autocomplete.mjs +3 -3
  13. package/fesm2022/tectra-ng-ui-avatar.mjs +9 -9
  14. package/fesm2022/tectra-ng-ui-badge.mjs +3 -3
  15. package/fesm2022/tectra-ng-ui-breadcrumb.mjs +9 -9
  16. package/fesm2022/tectra-ng-ui-button-group.mjs +142 -9
  17. package/fesm2022/tectra-ng-ui-button-group.mjs.map +1 -1
  18. package/fesm2022/tectra-ng-ui-button.mjs +9 -9
  19. package/fesm2022/tectra-ng-ui-card.mjs +3 -3
  20. package/fesm2022/tectra-ng-ui-carousel.mjs +15 -15
  21. package/fesm2022/tectra-ng-ui-cascade-select.mjs +3 -3
  22. package/fesm2022/tectra-ng-ui-checkbox.mjs +9 -9
  23. package/fesm2022/tectra-ng-ui-chip.mjs +3 -3
  24. package/fesm2022/tectra-ng-ui-chips-input.mjs +42 -12
  25. package/fesm2022/tectra-ng-ui-chips-input.mjs.map +1 -1
  26. package/fesm2022/tectra-ng-ui-color-picker.mjs +3 -3
  27. package/fesm2022/tectra-ng-ui-color-swatches.mjs +3 -3
  28. package/fesm2022/tectra-ng-ui-confirm.mjs +9 -9
  29. package/fesm2022/tectra-ng-ui-countdown.mjs +9 -9
  30. package/fesm2022/tectra-ng-ui-country-select.mjs +5 -5
  31. package/fesm2022/tectra-ng-ui-country-select.mjs.map +1 -1
  32. package/fesm2022/tectra-ng-ui-country.mjs +3 -3
  33. package/fesm2022/tectra-ng-ui-data-view.mjs +41 -33
  34. package/fesm2022/tectra-ng-ui-data-view.mjs.map +1 -1
  35. package/fesm2022/tectra-ng-ui-datepicker.mjs +47 -36
  36. package/fesm2022/tectra-ng-ui-datepicker.mjs.map +1 -1
  37. package/fesm2022/tectra-ng-ui-dialog.mjs +24 -24
  38. package/fesm2022/tectra-ng-ui-divider.mjs +3 -3
  39. package/fesm2022/tectra-ng-ui-drawer.mjs +9 -9
  40. package/fesm2022/tectra-ng-ui-email-suggestion.mjs +3 -3
  41. package/fesm2022/tectra-ng-ui-export.mjs +41 -46
  42. package/fesm2022/tectra-ng-ui-export.mjs.map +1 -1
  43. package/fesm2022/tectra-ng-ui-field.mjs +3 -3
  44. package/fesm2022/tectra-ng-ui-fieldset.mjs +3 -3
  45. package/fesm2022/tectra-ng-ui-file-upload.mjs +12 -12
  46. package/fesm2022/tectra-ng-ui-galleria.mjs +21 -21
  47. package/fesm2022/tectra-ng-ui-highlight-text.mjs +3 -3
  48. package/fesm2022/tectra-ng-ui-icon-field.mjs +12 -12
  49. package/fesm2022/tectra-ng-ui-image.mjs +9 -9
  50. package/fesm2022/tectra-ng-ui-input-group.mjs +6 -6
  51. package/fesm2022/tectra-ng-ui-input-mask.mjs +3 -3
  52. package/fesm2022/tectra-ng-ui-input-number.mjs +3 -3
  53. package/fesm2022/tectra-ng-ui-input-otp.mjs +9 -5
  54. package/fesm2022/tectra-ng-ui-input-otp.mjs.map +1 -1
  55. package/fesm2022/tectra-ng-ui-input.mjs +8 -8
  56. package/fesm2022/tectra-ng-ui-input.mjs.map +1 -1
  57. package/fesm2022/tectra-ng-ui-key-filter.mjs +3 -3
  58. package/fesm2022/tectra-ng-ui-knob.mjs +18 -10
  59. package/fesm2022/tectra-ng-ui-knob.mjs.map +1 -1
  60. package/fesm2022/tectra-ng-ui-label.mjs +9 -9
  61. package/fesm2022/tectra-ng-ui-link.mjs +6 -6
  62. package/fesm2022/tectra-ng-ui-list-input.mjs +3 -3
  63. package/fesm2022/tectra-ng-ui-listbox.mjs +3 -3
  64. package/fesm2022/tectra-ng-ui-mention-textarea.mjs +3 -3
  65. package/fesm2022/tectra-ng-ui-menu.mjs +15 -15
  66. package/fesm2022/tectra-ng-ui-menubar.mjs +6 -6
  67. package/fesm2022/tectra-ng-ui-message.mjs +19 -19
  68. package/fesm2022/tectra-ng-ui-message.mjs.map +1 -1
  69. package/fesm2022/tectra-ng-ui-month-calendar.mjs +6 -6
  70. package/fesm2022/tectra-ng-ui-multiselect.mjs +3 -3
  71. package/fesm2022/tectra-ng-ui-overlay-badge.mjs +3 -3
  72. package/fesm2022/tectra-ng-ui-paginator.mjs +12 -29
  73. package/fesm2022/tectra-ng-ui-paginator.mjs.map +1 -1
  74. package/fesm2022/tectra-ng-ui-panel-menu.mjs +25 -8
  75. package/fesm2022/tectra-ng-ui-panel-menu.mjs.map +1 -1
  76. package/fesm2022/tectra-ng-ui-panel.mjs +5 -5
  77. package/fesm2022/tectra-ng-ui-panel.mjs.map +1 -1
  78. package/fesm2022/tectra-ng-ui-password-generator.mjs +6 -6
  79. package/fesm2022/tectra-ng-ui-password.mjs +12 -12
  80. package/fesm2022/tectra-ng-ui-pill.mjs +6 -5
  81. package/fesm2022/tectra-ng-ui-pill.mjs.map +1 -1
  82. package/fesm2022/tectra-ng-ui-popover.mjs +15 -15
  83. package/fesm2022/tectra-ng-ui-progress-bar.mjs +6 -6
  84. package/fesm2022/tectra-ng-ui-progress-spinner.mjs +3 -3
  85. package/fesm2022/tectra-ng-ui-radio-button.mjs +6 -6
  86. package/fesm2022/tectra-ng-ui-rating.mjs +9 -9
  87. package/fesm2022/tectra-ng-ui-scroll-panel.mjs +7 -7
  88. package/fesm2022/tectra-ng-ui-scroll-panel.mjs.map +1 -1
  89. package/fesm2022/tectra-ng-ui-select-button.mjs +748 -0
  90. package/fesm2022/tectra-ng-ui-select-button.mjs.map +1 -0
  91. package/fesm2022/tectra-ng-ui-select.mjs +36 -36
  92. package/fesm2022/tectra-ng-ui-skeleton.mjs +6 -6
  93. package/fesm2022/tectra-ng-ui-slider.mjs +3 -3
  94. package/fesm2022/tectra-ng-ui-sparkline.mjs +3 -3
  95. package/fesm2022/tectra-ng-ui-speed-dial.mjs +94 -63
  96. package/fesm2022/tectra-ng-ui-speed-dial.mjs.map +1 -1
  97. package/fesm2022/tectra-ng-ui-split-button.mjs +19 -8
  98. package/fesm2022/tectra-ng-ui-split-button.mjs.map +1 -1
  99. package/fesm2022/tectra-ng-ui-splitter.mjs +6 -6
  100. package/fesm2022/tectra-ng-ui-stat-tiles.mjs +14 -11
  101. package/fesm2022/tectra-ng-ui-stat-tiles.mjs.map +1 -1
  102. package/fesm2022/tectra-ng-ui-status-icon.mjs +3 -3
  103. package/fesm2022/tectra-ng-ui-stepper.mjs +109 -60
  104. package/fesm2022/tectra-ng-ui-stepper.mjs.map +1 -1
  105. package/fesm2022/tectra-ng-ui-table.mjs +132 -195
  106. package/fesm2022/tectra-ng-ui-table.mjs.map +1 -1
  107. package/fesm2022/tectra-ng-ui-tabs.mjs +18 -18
  108. package/fesm2022/tectra-ng-ui-tag.mjs +6 -6
  109. package/fesm2022/tectra-ng-ui-textarea.mjs +9 -9
  110. package/fesm2022/tectra-ng-ui-timeline.mjs +15 -15
  111. package/fesm2022/tectra-ng-ui-toast.mjs +9 -9
  112. package/fesm2022/tectra-ng-ui-toggle-button.mjs +5 -5
  113. package/fesm2022/tectra-ng-ui-toggle-button.mjs.map +1 -1
  114. package/fesm2022/tectra-ng-ui-toggle-switch.mjs +6 -6
  115. package/fesm2022/tectra-ng-ui-toolbar.mjs +12 -12
  116. package/fesm2022/tectra-ng-ui-tooltip.mjs +9 -9
  117. package/fesm2022/tectra-ng-ui-tree-select.mjs +20 -6
  118. package/fesm2022/tectra-ng-ui-tree-select.mjs.map +1 -1
  119. package/fesm2022/tectra-ng-ui-tree-table.mjs +7 -7
  120. package/fesm2022/tectra-ng-ui-tree-table.mjs.map +1 -1
  121. package/fesm2022/tectra-ng-ui-tree.mjs +30 -30
  122. package/fesm2022/tectra-ng-ui-truncate-text.mjs +5 -5
  123. package/fesm2022/tectra-ng-ui-truncate-text.mjs.map +1 -1
  124. package/fesm2022/tectra-ng-ui-virtual-scroller.mjs +15 -15
  125. package/fesm2022/tectra-ng-ui.mjs +1 -1
  126. package/field/README.md +2 -2
  127. package/input/README.md +1 -1
  128. package/input-otp/README.md +1 -1
  129. package/knob/README.md +1 -1
  130. package/message/README.md +2 -2
  131. package/package.json +8 -4
  132. package/paginator/README.md +1 -1
  133. package/panel-menu/README.md +1 -1
  134. package/pill/README.md +1 -1
  135. package/select-button/README.md +70 -0
  136. package/speed-dial/README.md +2 -1
  137. package/stat-tiles/README.md +3 -3
  138. package/stepper/README.md +3 -2
  139. package/table/README.md +10 -7
  140. package/tabs/README.md +1 -1
  141. package/tree-select/README.md +1 -1
  142. package/tree-table/README.md +1 -1
  143. package/truncate-text/README.md +1 -1
  144. package/types/tectra-ng-ui-amount.d.ts +6 -3
  145. package/types/tectra-ng-ui-amount.d.ts.map +1 -1
  146. package/types/tectra-ng-ui-analog-clock.d.ts +9 -4
  147. package/types/tectra-ng-ui-analog-clock.d.ts.map +1 -1
  148. package/types/tectra-ng-ui-button-group.d.ts +58 -5
  149. package/types/tectra-ng-ui-button-group.d.ts.map +1 -1
  150. package/types/tectra-ng-ui-chips-input.d.ts +14 -1
  151. package/types/tectra-ng-ui-chips-input.d.ts.map +1 -1
  152. package/types/tectra-ng-ui-datepicker.d.ts +2 -0
  153. package/types/tectra-ng-ui-datepicker.d.ts.map +1 -1
  154. package/types/tectra-ng-ui-field.d.ts +2 -2
  155. package/types/tectra-ng-ui-input-otp.d.ts +1 -1
  156. package/types/tectra-ng-ui-input-otp.d.ts.map +1 -1
  157. package/types/tectra-ng-ui-input.d.ts +1 -1
  158. package/types/tectra-ng-ui-knob.d.ts +2 -1
  159. package/types/tectra-ng-ui-knob.d.ts.map +1 -1
  160. package/types/tectra-ng-ui-message.d.ts +2 -2
  161. package/types/tectra-ng-ui-paginator.d.ts +2 -21
  162. package/types/tectra-ng-ui-paginator.d.ts.map +1 -1
  163. package/types/tectra-ng-ui-panel-menu.d.ts +9 -9
  164. package/types/tectra-ng-ui-panel-menu.d.ts.map +1 -1
  165. package/types/tectra-ng-ui-pill.d.ts +7 -3
  166. package/types/tectra-ng-ui-pill.d.ts.map +1 -1
  167. package/types/tectra-ng-ui-select-button.d.ts +256 -0
  168. package/types/tectra-ng-ui-select-button.d.ts.map +1 -0
  169. package/types/tectra-ng-ui-speed-dial.d.ts.map +1 -1
  170. package/types/tectra-ng-ui-stat-tiles.d.ts +4 -3
  171. package/types/tectra-ng-ui-stat-tiles.d.ts.map +1 -1
  172. package/types/tectra-ng-ui-stepper.d.ts +26 -10
  173. package/types/tectra-ng-ui-stepper.d.ts.map +1 -1
  174. package/types/tectra-ng-ui-table.d.ts +39 -42
  175. package/types/tectra-ng-ui-table.d.ts.map +1 -1
  176. package/types/tectra-ng-ui-tabs.d.ts +1 -1
  177. package/types/tectra-ng-ui-tree-select.d.ts +3 -1
  178. package/types/tectra-ng-ui-tree-select.d.ts.map +1 -1
  179. package/types/tectra-ng-ui-truncate-text.d.ts +1 -1
  180. package/types/tectra-ng-ui.d.ts +1 -1
@@ -0,0 +1,256 @@
1
+ import * as i0 from "@angular/core";
2
+ import { TemplateRef } from "@angular/core";
3
+ import { TxPassThroughOptions } from "@tectra-ng/core/config";
4
+ import { TxFormControlBase } from "@tectra-ng/core/forms";
5
+ import { TectraDeepPartial, TectraSelectButtonTokens } from "@tectra-ng/themes";
6
+ /** Size of `tx-select-button`: `small`, `medium` or `large`. */
7
+ export type TxSelectButtonSize = 'small' | 'medium' | 'large';
8
+ /** Parts of `tx-select-button` that `pt` can style. */
9
+ export type TxSelectButtonPart = 'root' | 'item' | 'icon' | 'label';
10
+ /** Payload of the `changed` event of `tx-select-button`. */
11
+ export interface TxSelectButtonChangeEvent {
12
+ /** The new value: one option value or `null`, or an array of values when `multiple` is on. */
13
+ value: unknown;
14
+ /** The option that was clicked or reached with the keyboard. */
15
+ option: unknown;
16
+ /** The DOM event that caused the change. */
17
+ originalEvent: Event;
18
+ }
19
+ /** Context of the `txSelectButtonItem` template. */
20
+ export interface TxSelectButtonItemContext<T = unknown> {
21
+ /** The option item of `options`. */
22
+ $implicit: T;
23
+ /** Text of the option, read with `optionLabel`. */
24
+ label: string;
25
+ /** Whether the option is selected. */
26
+ selected: boolean;
27
+ /** Whether the option cannot be picked. */
28
+ disabled: boolean;
29
+ /** Position of the option in `options`. */
30
+ index: number;
31
+ }
32
+ /** Own content of each `tx-select-button` item; `txSelectButtonItemOf` types the option from the options array. */
33
+ export declare class TxSelectButtonItemTemplate<T> {
34
+ readonly templateRef: TemplateRef<TxSelectButtonItemContext<T>>;
35
+ readonly txSelectButtonItemOf: import("@angular/core").InputSignal<readonly T[] | null | undefined>;
36
+ static ngTemplateContextGuard<T>(_directive: TxSelectButtonItemTemplate<T>, context: unknown): context is TxSelectButtonItemContext<T>;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<TxSelectButtonItemTemplate<any>, never>;
38
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TxSelectButtonItemTemplate<any>, "ng-template[txSelectButtonItem]", never, {
39
+ "txSelectButtonItemOf": {
40
+ "alias": "txSelectButtonItemOf";
41
+ "required": false;
42
+ "isSignal": true;
43
+ };
44
+ }, {}, never, never, true, never>;
45
+ }
46
+ interface SelectButtonItem {
47
+ option: unknown;
48
+ value: unknown;
49
+ label: string;
50
+ icon: string | null;
51
+ selected: boolean;
52
+ disabled: boolean;
53
+ }
54
+ /**
55
+ * A segmented choice: a row of buttons in one track, one value (`radiogroup`) or several (`multiple`, toggle
56
+ * buttons). A `ControlValueAccessor` — works with `[formControl]`, `ngModel`, signal forms and `[(value)]`.
57
+ */
58
+ export declare class TxSelectButton extends TxFormControlBase<unknown> {
59
+ private readonly selectButtonTheme;
60
+ private readonly element;
61
+ private readonly icons;
62
+ /** Two-way: the selected value, or an array of values when `multiple` is on */
63
+ readonly value: import("@angular/core").ModelSignal<unknown>;
64
+ /** The options: objects or plain strings / numbers */
65
+ readonly options: import("@angular/core").InputSignal<readonly unknown[]>;
66
+ /** Field of the option text (default `label`) */
67
+ readonly optionLabel: import("@angular/core").InputSignal<string>;
68
+ /** Field of the option value (default `value`); plain options are their own value */
69
+ readonly optionValue: import("@angular/core").InputSignal<string>;
70
+ /** Field that disables an option (default `disabled`) */
71
+ readonly optionDisabled: import("@angular/core").InputSignal<string>;
72
+ /** Field of the option icon — a `@tectra-ng/icons` name or any icon class (default `icon`) */
73
+ readonly optionIcon: import("@angular/core").InputSignal<string>;
74
+ /** Field that identifies object values, so a copy of a value still matches its option */
75
+ readonly dataKey: import("@angular/core").InputSignal<string | undefined>;
76
+ /** Several options can be picked; the value is an array and the items are toggle buttons */
77
+ readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
78
+ /** `false` = a click on the only picked option does not unpick it (default `true`) */
79
+ readonly allowEmpty: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
80
+ /** Shows only the icons; the option text becomes the accessible name and a tooltip */
81
+ readonly iconOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
82
+ /** `small`, `medium`, `large` */
83
+ readonly size: import("@angular/core").InputSignal<TxSelectButtonSize>;
84
+ /** Takes the full width, the items share it equally; inherits `<tx-fluid>` */
85
+ readonly fluid: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
86
+ /** Red border and `aria-invalid`; without it the control follows its form control */
87
+ readonly invalid: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
88
+ /** Disables every option (the form control can disable it too) */
89
+ readonly disabledInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
90
+ /** Shows the value, ignores clicks; the arrow keys still move focus */
91
+ readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
92
+ /** `aria-required` on the radio group (single mode) */
93
+ readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
94
+ /** Accessible name of the group */
95
+ readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
96
+ /** Id of the element that names the group */
97
+ readonly ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
98
+ /** Design tokens of this instance (`selectButton`) */
99
+ readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraSelectButtonTokens> | undefined>;
100
+ /** Classes and styles of the parts: `root`, `item`, `icon`, `label` */
101
+ readonly pt: import("@angular/core").InputSignal<Partial<Record<TxSelectButtonPart, import("@tectra-ng/core/config").TxPassThroughValue<TxSelectButton>>> | undefined>;
102
+ /** How `pt` merges with the global pass-through */
103
+ readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
104
+ /** Removes the tectra styles, keeps the buttons, the keys and ARIA */
105
+ readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
106
+ /** `{ value, option, originalEvent }` after a click or a key changed the value */
107
+ readonly changed: import("@angular/core").OutputEmitterRef<TxSelectButtonChangeEvent>;
108
+ /** Focus came into the control */
109
+ readonly focused: import("@angular/core").OutputEmitterRef<FocusEvent>;
110
+ /** Focus left the control */
111
+ readonly blurred: import("@angular/core").OutputEmitterRef<FocusEvent>;
112
+ readonly itemTemplate: import("@angular/core").Signal<TxSelectButtonItemTemplate<any> | undefined>;
113
+ private readonly buttons;
114
+ readonly isUnstyled: import("@angular/core").Signal<boolean>;
115
+ readonly isFluid: import("@angular/core").Signal<boolean>;
116
+ readonly isInvalid: import("@angular/core").Signal<boolean>;
117
+ readonly passThrough: import("@angular/core").Signal<Partial<Record<TxSelectButtonPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
118
+ readonly isDisabled: import("@angular/core").Signal<boolean>;
119
+ readonly hostStyle: import("@angular/core").Signal<{
120
+ [x: string]: string;
121
+ }>;
122
+ private readonly activeIndex;
123
+ readonly items: import("@angular/core").Signal<SelectButtonItem[]>;
124
+ readonly tabStop: import("@angular/core").Signal<number>;
125
+ private readonly selectedValues;
126
+ /** Moves focus to the item that takes the Tab stop: the selected one, else the first that can be picked. */
127
+ focus(): void;
128
+ hasIcon(name: string): boolean;
129
+ onItemClick(index: number, event: Event): void;
130
+ onItemFocus(index: number): void;
131
+ onKeydown(index: number, event: KeyboardEvent): void;
132
+ onFocusIn(event: FocusEvent): void;
133
+ onFocusOut(event: FocusEvent): void;
134
+ private toggle;
135
+ private contains;
136
+ static ɵfac: i0.ɵɵFactoryDeclaration<TxSelectButton, never>;
137
+ static ɵcmp: i0.ɵɵComponentDeclaration<TxSelectButton, "tx-select-button", never, {
138
+ "value": {
139
+ "alias": "value";
140
+ "required": false;
141
+ "isSignal": true;
142
+ };
143
+ "options": {
144
+ "alias": "options";
145
+ "required": false;
146
+ "isSignal": true;
147
+ };
148
+ "optionLabel": {
149
+ "alias": "optionLabel";
150
+ "required": false;
151
+ "isSignal": true;
152
+ };
153
+ "optionValue": {
154
+ "alias": "optionValue";
155
+ "required": false;
156
+ "isSignal": true;
157
+ };
158
+ "optionDisabled": {
159
+ "alias": "optionDisabled";
160
+ "required": false;
161
+ "isSignal": true;
162
+ };
163
+ "optionIcon": {
164
+ "alias": "optionIcon";
165
+ "required": false;
166
+ "isSignal": true;
167
+ };
168
+ "dataKey": {
169
+ "alias": "dataKey";
170
+ "required": false;
171
+ "isSignal": true;
172
+ };
173
+ "multiple": {
174
+ "alias": "multiple";
175
+ "required": false;
176
+ "isSignal": true;
177
+ };
178
+ "allowEmpty": {
179
+ "alias": "allowEmpty";
180
+ "required": false;
181
+ "isSignal": true;
182
+ };
183
+ "iconOnly": {
184
+ "alias": "iconOnly";
185
+ "required": false;
186
+ "isSignal": true;
187
+ };
188
+ "size": {
189
+ "alias": "size";
190
+ "required": false;
191
+ "isSignal": true;
192
+ };
193
+ "fluid": {
194
+ "alias": "fluid";
195
+ "required": false;
196
+ "isSignal": true;
197
+ };
198
+ "invalid": {
199
+ "alias": "invalid";
200
+ "required": false;
201
+ "isSignal": true;
202
+ };
203
+ "disabledInput": {
204
+ "alias": "disabled";
205
+ "required": false;
206
+ "isSignal": true;
207
+ };
208
+ "readonly": {
209
+ "alias": "readonly";
210
+ "required": false;
211
+ "isSignal": true;
212
+ };
213
+ "required": {
214
+ "alias": "required";
215
+ "required": false;
216
+ "isSignal": true;
217
+ };
218
+ "ariaLabel": {
219
+ "alias": "ariaLabel";
220
+ "required": false;
221
+ "isSignal": true;
222
+ };
223
+ "ariaLabelledBy": {
224
+ "alias": "ariaLabelledBy";
225
+ "required": false;
226
+ "isSignal": true;
227
+ };
228
+ "dt": {
229
+ "alias": "dt";
230
+ "required": false;
231
+ "isSignal": true;
232
+ };
233
+ "pt": {
234
+ "alias": "pt";
235
+ "required": false;
236
+ "isSignal": true;
237
+ };
238
+ "ptOptions": {
239
+ "alias": "ptOptions";
240
+ "required": false;
241
+ "isSignal": true;
242
+ };
243
+ "unstyled": {
244
+ "alias": "unstyled";
245
+ "required": false;
246
+ "isSignal": true;
247
+ };
248
+ }, {
249
+ "value": "valueChange";
250
+ "changed": "changed";
251
+ "focused": "focused";
252
+ "blurred": "blurred";
253
+ }, ["itemTemplate"], never, true, never>;
254
+ }
255
+ export {};
256
+ //# sourceMappingURL=tectra-ng-ui-select-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tectra-ng-ui-select-button.d.ts","names":[],"sources":["../../../../packages/ui/select-button/src/select-button.types.ts","../../../../packages/ui/select-button/src/select-button-item.directive.ts","../../../../packages/ui/select-button/src/select-button.component.ts"],"mappings":";;;;;;YACY;;YAGA;;iBAGK;;EAEf;;EAEA;;EAEA,eAAe;;;iBAIA,0BAA0B;;EAEzC,WAAW;;EAEX;;EAEA;;EAEA;;EAEA;;;qBCtBW,2BAA2B;WAC7B,aAAW,YAAA,0BAAA;WACX,8CAAoB,qBAAA;SAEtB,u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AAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA;IAAA;IAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-speed-dial.d.ts","names":[],"sources":["../../../../packages/ui/speed-dial/src/speed-dial.types.ts","../../../../packages/ui/speed-dial/src/speed-dial.component.ts"],"mappings":";;;;;;;YACY;;;;;YAKA;;YAEA;;;;;qBC6DC;mBACM;UAET;UACA;;WAEC,+BAAK,YAAA;;WACL,iCAAO;;WACP,mCAAS,YAAA;;WACT,8BAAI,YAAA;;WACJ,gCAAM;;WACN,8BAAI;;WACJ,4CAAkB;;WAClB,kCAAQ;;WACR,kCAAQ;;WACR,kCAAQ,YAAA;;WACR,sCAAY,YAAA;;WACZ,8BAAI,YAAA;;WACJ,kCAAQ,YAAA;;WACR,kCAAQ;;WACR,mCAAS;;WACT,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,kDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,sCAAY,iBAAA;;WACZ,gCAAM;;WACN,gCAAM;mBAEE;mBACA;WAER;WACA,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,kDAAA;WACX,+BAAK,OAAA;WACL,mCAAS;;;WACT,qCAAW;WACX,0CAAgB,OAAA;WAOhB,iCAAO;;;;;EAmChB,UAAU,gBAAgB;EAK1B,KAAK;EAcL,KAAK;EAUL,OAAO,QAAQ;EAQf,IAAI,MAAM,YAAY,OAAO;EAU7B,gBAAgB,OAAO;EAUvB,cAAc,OAAO;UAqBb;UAaA;UAIA;UAIA;SApLG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAW;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA;IAAA;IAAA"}
1
+ {"version":3,"file":"tectra-ng-ui-speed-dial.d.ts","names":[],"sources":["../../../../packages/ui/speed-dial/src/speed-dial.types.ts","../../../../packages/ui/speed-dial/src/speed-dial.component.ts"],"mappings":";;;;;;;YACY;;;;;YAKA;;YAEA;;;;;qBC8DC;mBACM;UAET;UACA;;WAEC,+BAAK,YAAA;;WACL,iCAAO;;WACP,mCAAS,YAAA;;WACT,8BAAI,YAAA;;WACJ,gCAAM;;WACN,8BAAI;;WACJ,4CAAkB;;WAClB,kCAAQ;;WACR,kCAAQ;;WACR,kCAAQ,YAAA;;WACR,sCAAY,YAAA;;WACZ,8BAAI,YAAA;;WACJ,kCAAQ,YAAA;;WACR,kCAAQ;;WACR,mCAAS;;WACT,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,kDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,sCAAY,iBAAA;;WACZ,gCAAM;;WACN,gCAAM;mBAEE;mBACA;WAER;WACA,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,kDAAA;WACX,+BAAK,OAAA;WACL,mCAAS;;;WACT,qCAAW;WACX,0CAAgB,OAAA;WAOhB,iCAAO;;;;;EAmChB,UAAU,gBAAgB;EAK1B,KAAK;EAcL,KAAK;EAUL,OAAO,QAAQ;EAQf,IAAI,MAAM,YAAY,OAAO;EAU7B,gBAAgB,OAAO;EAUvB,cAAc,OAAO;UAwBb;UAaA;UAIA;UAIA;SAvLG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAW;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA;IAAA;IAAA"}
@@ -14,7 +14,7 @@ export type TxStatTileCommands = string | readonly unknown[] | null | undefined;
14
14
  /** A responsive grid of key numbers made of `tx-stat-tile` elements. */
15
15
  export declare class TxStatTiles {
16
16
  private readonly statTilesTheme;
17
- /** `tx-stat-tiles` — narrowest column before the grid wraps; never below the `floorWidth` token (210px) unless `compact` */
17
+ /** `tx-stat-tiles` — narrowest column before the grid wraps; without it columns stay at least the `floorWidth` token (210px) unless `compact`, an explicit value wins over that floor */
18
18
  readonly minWidth: import("@angular/core").InputSignal<string | undefined>;
19
19
  /** `tx-stat-tiles` — tighter gap, padding, icon and value; columns down to `minWidth` */
20
20
  readonly compact: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
@@ -34,6 +34,7 @@ export declare class TxStatTiles {
34
34
  readonly passThrough: import("@angular/core").Signal<Partial<Record<"root", import("@tectra-ng/core/config").TxPassThroughPart>>>;
35
35
  readonly hostStyle: import("@angular/core").Signal<{
36
36
  '--tx-stat-tiles-min-width'?: string | undefined;
37
+ '--tx-stat-tiles-floor-width'?: string | undefined;
37
38
  }>;
38
39
  static ɵfac: i0.ɵɵFactoryDeclaration<TxStatTiles, never>;
39
40
  static ɵcmp: i0.ɵɵComponentDeclaration<TxStatTiles, "tx-stat-tiles", never, {
@@ -86,7 +87,7 @@ export declare class TxStatTiles {
86
87
  export declare class TxStatTile {
87
88
  private readonly statTilesTheme;
88
89
  private tiles;
89
- /** `tx-stat-tile` — what the number is */
90
+ /** `tx-stat-tile` — what the number is; one line, cut with an ellipsis and shown in full as a title, so values of a row stay on one line next to an aside */
90
91
  readonly label: import("@angular/core").InputSignal<string>;
91
92
  /** `tx-stat-tile` — the number or text; `null` shows "-" */
92
93
  readonly value: import("@angular/core").InputSignal<string | number | null | undefined>;
@@ -94,7 +95,7 @@ export declare class TxStatTile {
94
95
  readonly unit: import("@angular/core").InputSignal<string | null | undefined>;
95
96
  /** `tx-stat-tile` — icon in a square tinted with the tone */
96
97
  readonly icon: import("@angular/core").InputSignal<TxIconName | (string & {}) | null | undefined>;
97
- /** `tx-stat-tile` — muted line under the value, cut with an ellipsis */
98
+ /** `tx-stat-tile` — muted line under the value, cut with an ellipsis and shown in full as a title */
98
99
  readonly meta: import("@angular/core").InputSignal<string | null | undefined>;
99
100
  /** `tx-stat-tile` — `neutral`, `primary`, `success`, `info`, `warn` or `danger`: icon, share bar, accent value and highlight */
100
101
  readonly tone: import("@angular/core").InputSignal<TxStatTileTone>;
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-stat-tiles.d.ts","names":[],"sources":["../../../../packages/ui/stat-tiles/src/stat-tiles.types.ts","../../../../packages/ui/st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A;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA"}
1
+ {"version":3,"file":"tectra-ng-ui-stat-tiles.d.ts","names":[],"sources":["../../../../packages/ui/stat-tiles/src/stat-tiles.types.ts","../../../../packages/ui/stat-tiles/src/stat-tiles.component.ts","../../../../packages/ui/stat-tiles/src/stat-tile.component.ts"],"mappings":";;;;;;YACY;;YAEA;;YAEA;;YAEA;;qBCoBC;mBACM;;WAER,kCAAQ;;WACR,iCAAO;;WACP,mCAAS;;WACT,wCAAc;;WACd,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,gDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,gDAAA;WACX,mCAAS;;;;SAdP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAW;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;;;;;;qBCSX;mBACM;UAET;;WAEC,+BAAK;;WACL,+BAAK;;WACL,8BAAI;;WACJ,8BAAI,YAAA;;WACJ,8BAAI;;WACJ,8BAAI,YAAA;;WACJ,+BAAK;;WACL,mCAAS;;WACT,kCAAQ;;WACR,qCAAW;;WACX,qCAAW;;WACX,8BAAI,YAAA;;WACJ,qCAAW,YAAA;;WACX,8BAAI;;WACJ,gCAAM;;WACN,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,iDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,iDAAA;WACX,mCAAS;;;WACT,mCAAS;WACT,gCAAM;WACN,sCAAY;WACZ,oCAAU;WACV,sCAAY;WAIZ,6BAAG;SApCD,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAU;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA"}
@@ -17,7 +17,7 @@ export interface TxStepContentContext {
17
17
  index: number;
18
18
  /** Whether the step is the active one. */
19
19
  active: boolean;
20
- /** Whether the step comes before the active one. */
20
+ /** Whether the step is completed: its `completed` input, otherwise whether it comes before the active one. */
21
21
  completed: boolean;
22
22
  /** Whether the step cannot be picked. */
23
23
  disabled: boolean;
@@ -114,7 +114,7 @@ export declare abstract class TxStepperRef {
114
114
  abstract focusSibling(from: TxStepValue | undefined, key: string): boolean;
115
115
  }
116
116
  /**
117
- * `<ng-template txStepContent let-value let-active="active" let-completed="completed" let-index="index" let-activate="activate">` — own step header instead of the number and the title
117
+ * `<ng-template txStepContent let-value let-active="active" let-completed="completed" let-index="index" let-activate="activate">` — own step header instead of the number and the title; `completed` follows the `completed` input
118
118
  * @see https://tectra-ng.com/components/stepper
119
119
  */
120
120
  export declare class TxStepContent {
@@ -147,16 +147,23 @@ export declare class TxStepsItemTemplate {
147
147
  export declare class TxStepItem {
148
148
  private readonly stepperTheme;
149
149
  protected readonly stepper: TxStepperRef;
150
- /** `tx-stepper`, two-way: the value of the active step. On `tx-step`, `tx-step-panel` and `tx-step-item`: the value of that step (a step and a panel inside a `tx-step-item` take the item's value) */
151
- readonly value: import("@angular/core").InputSignal<TxStepValue>;
150
+ /** `tx-stepper`, two-way: the value of the active step. On `tx-step`, `tx-step-panel` and `tx-step-item`: the value of that step (a step and a panel inside a `tx-step-item` take the item's value). Steps may come from `@for` / `@if`; a step without a value is skipped until it gets one */
151
+ readonly value: import("@angular/core").InputSignal<TxStepValue | undefined>;
152
+ /** `tx-step`, `tx-step-item`: marks the step done (or not done with `false`) whatever its position; unset, a step is done when it comes before the active one. A done step colours the line after it and adds "completed" to its accessible name */
153
+ readonly completed: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
152
154
  readonly active: import("@angular/core").Signal<boolean>;
153
- readonly completed: import("@angular/core").Signal<boolean>;
155
+ readonly isCompleted: import("@angular/core").Signal<boolean>;
154
156
  readonly last: import("@angular/core").Signal<boolean>;
155
157
  static ɵfac: i0.ɵɵFactoryDeclaration<TxStepItem, never>;
156
158
  static ɵcmp: i0.ɵɵComponentDeclaration<TxStepItem, "tx-step-item", never, {
157
159
  "value": {
158
160
  "alias": "value";
159
- "required": true;
161
+ "required": false;
162
+ "isSignal": true;
163
+ };
164
+ "completed": {
165
+ "alias": "completed";
166
+ "required": false;
160
167
  "isSignal": true;
161
168
  };
162
169
  }, {}, never, ["*"], true, never>;
@@ -166,17 +173,21 @@ export declare class TxStep {
166
173
  private readonly stepperTheme;
167
174
  protected readonly stepper: TxStepperRef;
168
175
  private readonly item;
169
- /** `tx-stepper`, two-way: the value of the active step. On `tx-step`, `tx-step-panel` and `tx-step-item`: the value of that step (a step and a panel inside a `tx-step-item` take the item's value) */
176
+ /** `tx-stepper`, two-way: the value of the active step. On `tx-step`, `tx-step-panel` and `tx-step-item`: the value of that step (a step and a panel inside a `tx-step-item` take the item's value). Steps may come from `@for` / `@if`; a step without a value is skipped until it gets one */
170
177
  readonly value: import("@angular/core").InputSignal<TxStepValue | undefined>;
171
178
  /** the step cannot be picked */
172
179
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
180
+ /** `tx-step`, `tx-step-item`: marks the step done (or not done with `false`) whatever its position; unset, a step is done when it comes before the active one. A done step colours the line after it and adds "completed" to its accessible name */
181
+ readonly completed: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
182
+ protected readonly t: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
173
183
  protected readonly contentTemplate: import("@angular/core").Signal<TxStepContent | undefined>;
174
184
  private readonly header;
175
185
  readonly inItem: boolean;
176
186
  readonly resolvedValue: import("@angular/core").Signal<TxStepValue | undefined>;
177
187
  readonly index: import("@angular/core").Signal<number>;
178
188
  readonly active: import("@angular/core").Signal<boolean>;
179
- readonly completed: import("@angular/core").Signal<boolean>;
189
+ readonly isCompleted: import("@angular/core").Signal<boolean>;
190
+ readonly showCheck: import("@angular/core").Signal<boolean>;
180
191
  readonly isDisabled: import("@angular/core").Signal<boolean>;
181
192
  readonly showSeparator: import("@angular/core").Signal<boolean>;
182
193
  readonly stepId: import("@angular/core").Signal<string>;
@@ -198,6 +209,11 @@ export declare class TxStep {
198
209
  "required": false;
199
210
  "isSignal": true;
200
211
  };
212
+ "completed": {
213
+ "alias": "completed";
214
+ "required": false;
215
+ "isSignal": true;
216
+ };
201
217
  }, {}, ["contentTemplate"], ["*"], true, never>;
202
218
  }
203
219
  /** The row of steps above the panels of `tx-stepper`. */
@@ -219,7 +235,7 @@ export declare class TxStepPanel {
219
235
  private readonly stepperTheme;
220
236
  protected readonly stepper: TxStepperRef;
221
237
  private readonly item;
222
- /** `tx-stepper`, two-way: the value of the active step. On `tx-step`, `tx-step-panel` and `tx-step-item`: the value of that step (a step and a panel inside a `tx-step-item` take the item's value) */
238
+ /** `tx-stepper`, two-way: the value of the active step. On `tx-step`, `tx-step-panel` and `tx-step-item`: the value of that step (a step and a panel inside a `tx-step-item` take the item's value). Steps may come from `@for` / `@if`; a step without a value is skipped until it gets one */
223
239
  readonly value: import("@angular/core").InputSignal<TxStepValue | undefined>;
224
240
  protected readonly contentTemplate: import("@angular/core").Signal<TxStepPanelContent | undefined>;
225
241
  readonly inItem: boolean;
@@ -241,7 +257,7 @@ export declare class TxStepPanel {
241
257
  export declare class TxStepper extends TxStepperRef {
242
258
  private readonly stepperTheme;
243
259
  private readonly id;
244
- /** `tx-stepper`, two-way: the value of the active step. On `tx-step`, `tx-step-panel` and `tx-step-item`: the value of that step (a step and a panel inside a `tx-step-item` take the item's value) */
260
+ /** `tx-stepper`, two-way: the value of the active step. On `tx-step`, `tx-step-panel` and `tx-step-item`: the value of that step (a step and a panel inside a `tx-step-item` take the item's value). Steps may come from `@for` / `@if`; a step without a value is skipped until it gets one */
245
261
  readonly value: import("@angular/core").ModelSignal<TxStepValue | undefined>;
246
262
  /** steps cannot be picked in the header; only the panels move on through `activate` */
247
263
  readonly linear: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-stepper.d.ts","names":[],"sources":["../../../../packages/ui/stepper/src/stepper.types.ts","../../../../packages/ui/stepper/src/stepper.context.ts","../../../../packages/ui/stepper/src/stepper.templates.ts","../../../../packages/ui/stepper/src/step-item.component.ts","../../../../packages/ui/stepper/src/step.component.ts","../../../../packages/ui/stepper/src/step-list.component.ts","../../../../packages/ui/stepper/src/step-panels.component.ts","../../../../packages/ui/stepper/src/step-panel.component.ts","../../../../packages/ui/stepper/src/stepper.component.ts","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EAIf,aAAa,MAAM,yBAAyB;UAoBpC;SAlFG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAS;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;;;;UC/BZ;;EAER,MAAM;;EAEN;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,SAAS;;;qBAuBE;mBACM;mBAEA;mBACA;;WAER,+BAAK,qBAAA;;WACL,qCAAW;;WACX,kCAAQ;;WACR,iCAAO,YAAA;;WACP,mCAAS;;WACT,wCAAc;;WACd,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,8CAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;qBAEE,sCAAY,OAAA;qBACZ,2BAAC,wCAAA;WAEX,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,8CAAA;WACX,mCAAS;;;qBAEC,iCAAO,OAAA;YAkBhB,OAAO,OAAO,OAAO,OAAO;YAQ5B,UAAU,OAAO;SAlDhB,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAO;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA"}
1
+ {"version":3,"file":"tectra-ng-ui-stepper.d.ts","names":[],"sources":["../../../../packages/ui/stepper/src/stepper.types.ts","../../../../packages/ui/stepper/src/stepper.context.ts","../../../../packages/ui/stepper/src/stepper.templates.ts","../../../../packages/ui/stepper/src/step-item.component.ts","../../../../packages/ui/stepper/src/step.component.ts","../../../../packages/ui/stepper/src/step-list.component.ts","../../../../packages/ui/stepper/src/step-panels.component.ts","../../../../packages/ui/stepper/src/step-panel.component.ts","../../../../packages/ui/stepper/src/stepper.component.ts","../../../../packages/ui/stepper/src/steps.component.ts"],"mappings":";;;;;;YAGY;;YAGA;;iBAGK;;EAEf,WAAW;;EAEX,OAAO;;EAEP;;EAEA;;EAEA;;EAEA;;EAEA,WAAW,OAAO;;;iBAIH;;EAEf,YAAY,OAAO;;EAEnB,WAAW,OAAO;;EAElB,OAAO;;EAEP;;EAEA;;;;;;YAOU;;YAGA;;iBAGK;;EAEf,eAAe;;EAEf,MAAM;;EAEN;;;iBAIe;;EAEf;;EAEA,OAAO;;EAEP;;EAEA;;EAEA,WAAW,OAAO;;;iBAIH;;EAEf,WAAW;;EAEX;;EAEA;;EAEA;;;8BC7EoB;;oBAEF,OAAO,OAAO;;oBAEd,QAAQ;;oBAER,YAAY;;oBAEZ,aAAa,OAAO,sBAAsB;;oBAE1C,aAAa;;WAEtB,QAAQ,OAAO;;WAEf,SAAS,OAAO;;WAEhB,YAAY,OAAO;;WAEnB,OAAO,OAAO;;WAEd,SAAS,OAAO;;WAEhB,gBAAgB;;WAEhB,SAAS,OAAO;;WAEhB,OAAO,OAAO;;WAEd,QAAQ,OAAO;;;;;WAKf,aAAa,MAAM,yBAAyB;;;;;;qBClC1C;WACF,aAAW,YAAA;SAEb,uBAAuB,YAAY,eAAe,mBAAmB,WAAW;SAH5E,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBASA;WACF,aAAW,YAAA;SAEb,uBAAuB,YAAY,oBAAoB,mBAAmB,WAAW;SAHjF,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBASA;WACF,aAAW,YAAA;SAEb,uBAAuB,YAAY,qBAAqB,mBAAmB,WAAW;SAHlF,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;qBCEA;mBACM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