@tectra-ng/ui 0.4.2 → 0.4.3

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 (110) 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-amount.mjs +11 -9
  8. package/fesm2022/tectra-ng-ui-amount.mjs.map +1 -1
  9. package/fesm2022/tectra-ng-ui-analog-clock.mjs +12 -6
  10. package/fesm2022/tectra-ng-ui-analog-clock.mjs.map +1 -1
  11. package/fesm2022/tectra-ng-ui-button-group.mjs +139 -6
  12. package/fesm2022/tectra-ng-ui-button-group.mjs.map +1 -1
  13. package/fesm2022/tectra-ng-ui-chips-input.mjs +36 -6
  14. package/fesm2022/tectra-ng-ui-chips-input.mjs.map +1 -1
  15. package/fesm2022/tectra-ng-ui-country-select.mjs +2 -2
  16. package/fesm2022/tectra-ng-ui-country-select.mjs.map +1 -1
  17. package/fesm2022/tectra-ng-ui-data-view.mjs +11 -3
  18. package/fesm2022/tectra-ng-ui-data-view.mjs.map +1 -1
  19. package/fesm2022/tectra-ng-ui-datepicker.mjs +2 -2
  20. package/fesm2022/tectra-ng-ui-datepicker.mjs.map +1 -1
  21. package/fesm2022/tectra-ng-ui-export.mjs +14 -19
  22. package/fesm2022/tectra-ng-ui-export.mjs.map +1 -1
  23. package/fesm2022/tectra-ng-ui-input-otp.mjs +6 -2
  24. package/fesm2022/tectra-ng-ui-input-otp.mjs.map +1 -1
  25. package/fesm2022/tectra-ng-ui-knob.mjs +12 -4
  26. package/fesm2022/tectra-ng-ui-knob.mjs.map +1 -1
  27. package/fesm2022/tectra-ng-ui-message.mjs +1 -1
  28. package/fesm2022/tectra-ng-ui-message.mjs.map +1 -1
  29. package/fesm2022/tectra-ng-ui-paginator.mjs +3 -20
  30. package/fesm2022/tectra-ng-ui-paginator.mjs.map +1 -1
  31. package/fesm2022/tectra-ng-ui-panel-menu.mjs +19 -2
  32. package/fesm2022/tectra-ng-ui-panel-menu.mjs.map +1 -1
  33. package/fesm2022/tectra-ng-ui-panel.mjs +2 -2
  34. package/fesm2022/tectra-ng-ui-panel.mjs.map +1 -1
  35. package/fesm2022/tectra-ng-ui-pill.mjs +3 -2
  36. package/fesm2022/tectra-ng-ui-pill.mjs.map +1 -1
  37. package/fesm2022/tectra-ng-ui-scroll-panel.mjs +4 -4
  38. package/fesm2022/tectra-ng-ui-scroll-panel.mjs.map +1 -1
  39. package/fesm2022/tectra-ng-ui-select-button.mjs +748 -0
  40. package/fesm2022/tectra-ng-ui-select-button.mjs.map +1 -0
  41. package/fesm2022/tectra-ng-ui-speed-dial.mjs +91 -60
  42. package/fesm2022/tectra-ng-ui-speed-dial.mjs.map +1 -1
  43. package/fesm2022/tectra-ng-ui-split-button.mjs +16 -5
  44. package/fesm2022/tectra-ng-ui-split-button.mjs.map +1 -1
  45. package/fesm2022/tectra-ng-ui-stat-tiles.mjs +8 -5
  46. package/fesm2022/tectra-ng-ui-stat-tiles.mjs.map +1 -1
  47. package/fesm2022/tectra-ng-ui-stepper.mjs +72 -29
  48. package/fesm2022/tectra-ng-ui-stepper.mjs.map +1 -1
  49. package/fesm2022/tectra-ng-ui-table.mjs +78 -141
  50. package/fesm2022/tectra-ng-ui-table.mjs.map +1 -1
  51. package/fesm2022/tectra-ng-ui-toggle-button.mjs +2 -2
  52. package/fesm2022/tectra-ng-ui-toggle-button.mjs.map +1 -1
  53. package/fesm2022/tectra-ng-ui-tree-select.mjs +17 -3
  54. package/fesm2022/tectra-ng-ui-tree-select.mjs.map +1 -1
  55. package/fesm2022/tectra-ng-ui-tree-table.mjs +4 -4
  56. package/fesm2022/tectra-ng-ui-tree-table.mjs.map +1 -1
  57. package/fesm2022/tectra-ng-ui-truncate-text.mjs +2 -2
  58. package/fesm2022/tectra-ng-ui-truncate-text.mjs.map +1 -1
  59. package/fesm2022/tectra-ng-ui.mjs +1 -1
  60. package/field/README.md +2 -2
  61. package/input-otp/README.md +1 -1
  62. package/knob/README.md +1 -1
  63. package/message/README.md +2 -2
  64. package/package.json +8 -4
  65. package/paginator/README.md +1 -1
  66. package/panel-menu/README.md +1 -1
  67. package/pill/README.md +1 -1
  68. package/select-button/README.md +70 -0
  69. package/speed-dial/README.md +2 -1
  70. package/stat-tiles/README.md +3 -3
  71. package/stepper/README.md +3 -2
  72. package/table/README.md +10 -7
  73. package/tabs/README.md +1 -1
  74. package/tree-select/README.md +1 -1
  75. package/tree-table/README.md +1 -1
  76. package/truncate-text/README.md +1 -1
  77. package/types/tectra-ng-ui-amount.d.ts +6 -3
  78. package/types/tectra-ng-ui-amount.d.ts.map +1 -1
  79. package/types/tectra-ng-ui-analog-clock.d.ts +9 -4
  80. package/types/tectra-ng-ui-analog-clock.d.ts.map +1 -1
  81. package/types/tectra-ng-ui-button-group.d.ts +58 -5
  82. package/types/tectra-ng-ui-button-group.d.ts.map +1 -1
  83. package/types/tectra-ng-ui-chips-input.d.ts +14 -1
  84. package/types/tectra-ng-ui-chips-input.d.ts.map +1 -1
  85. package/types/tectra-ng-ui-field.d.ts +2 -2
  86. package/types/tectra-ng-ui-input-otp.d.ts +1 -1
  87. package/types/tectra-ng-ui-input-otp.d.ts.map +1 -1
  88. package/types/tectra-ng-ui-knob.d.ts +2 -1
  89. package/types/tectra-ng-ui-knob.d.ts.map +1 -1
  90. package/types/tectra-ng-ui-message.d.ts +2 -2
  91. package/types/tectra-ng-ui-paginator.d.ts +2 -21
  92. package/types/tectra-ng-ui-paginator.d.ts.map +1 -1
  93. package/types/tectra-ng-ui-panel-menu.d.ts +9 -9
  94. package/types/tectra-ng-ui-panel-menu.d.ts.map +1 -1
  95. package/types/tectra-ng-ui-pill.d.ts +7 -3
  96. package/types/tectra-ng-ui-pill.d.ts.map +1 -1
  97. package/types/tectra-ng-ui-select-button.d.ts +256 -0
  98. package/types/tectra-ng-ui-select-button.d.ts.map +1 -0
  99. package/types/tectra-ng-ui-speed-dial.d.ts.map +1 -1
  100. package/types/tectra-ng-ui-stat-tiles.d.ts +4 -3
  101. package/types/tectra-ng-ui-stat-tiles.d.ts.map +1 -1
  102. package/types/tectra-ng-ui-stepper.d.ts +25 -10
  103. package/types/tectra-ng-ui-stepper.d.ts.map +1 -1
  104. package/types/tectra-ng-ui-table.d.ts +39 -42
  105. package/types/tectra-ng-ui-table.d.ts.map +1 -1
  106. package/types/tectra-ng-ui-tabs.d.ts +1 -1
  107. package/types/tectra-ng-ui-tree-select.d.ts +3 -1
  108. package/types/tectra-ng-ui-tree-select.d.ts.map +1 -1
  109. package/types/tectra-ng-ui-truncate-text.d.ts +1 -1
  110. package/types/tectra-ng-ui.d.ts +1 -1
@@ -0,0 +1,748 @@
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, Directive, ElementRef, TemplateRef, booleanAttribute, computed, contentChild, forwardRef, inject, input, model, output, signal, viewChildren } from "@angular/core";
3
+ import { NgTemplateOutlet } from "@angular/common";
4
+ import { NG_VALUE_ACCESSOR } from "@angular/forms";
5
+ import { nextListIndex } from "@tectra-ng/core/a11y";
6
+ import { injectPassThrough, injectTokens, injectUnstyled } from "@tectra-ng/core/config";
7
+ import { injectFluid } from "@tectra-ng/core/fluid";
8
+ import { TxFormControlBase, injectFieldInvalid } from "@tectra-ng/core/forms";
9
+ import { optionalBoolean } from "@tectra-ng/core/utils";
10
+ import { TxIcon, injectTxIcons } from "@tectra-ng/icons";
11
+ import { selectButtonTokens, toStyleObject } from "@tectra-ng/themes";
12
+ import { readOptionField, sameOptionValue } from "@tectra-ng/ui/select";
13
+ import { TxTooltip } from "@tectra-ng/ui/tooltip";
14
+ var TxSelectButtonItemTemplate = class TxSelectButtonItemTemplate {
15
+ templateRef = inject(TemplateRef);
16
+ txSelectButtonItemOf = input(void 0, ...ngDevMode ? [{ debugName: "txSelectButtonItemOf" }] : /* istanbul ignore next */ []);
17
+ static ngTemplateContextGuard(_directive, context) {
18
+ return !!context;
19
+ }
20
+ static ɵfac = i0.ɵɵngDeclareFactory({
21
+ minVersion: "12.0.0",
22
+ version: "22.2.5",
23
+ ngImport: i0,
24
+ type: TxSelectButtonItemTemplate,
25
+ deps: [],
26
+ target: i0.ɵɵFactoryTarget.Directive
27
+ });
28
+ static ɵdir = i0.ɵɵngDeclareDirective({
29
+ minVersion: "17.1.0",
30
+ version: "22.2.5",
31
+ type: TxSelectButtonItemTemplate,
32
+ isStandalone: true,
33
+ selector: "ng-template[txSelectButtonItem]",
34
+ inputs: { txSelectButtonItemOf: {
35
+ classPropertyName: "txSelectButtonItemOf",
36
+ publicName: "txSelectButtonItemOf",
37
+ isSignal: true,
38
+ isRequired: false,
39
+ transformFunction: null
40
+ } },
41
+ ngImport: i0
42
+ });
43
+ };
44
+ i0.ɵɵngDeclareClassMetadata({
45
+ minVersion: "12.0.0",
46
+ version: "22.2.5",
47
+ ngImport: i0,
48
+ type: TxSelectButtonItemTemplate,
49
+ decorators: [{
50
+ type: Directive,
51
+ args: [{ selector: "ng-template[txSelectButtonItem]" }]
52
+ }],
53
+ propDecorators: { txSelectButtonItemOf: [{
54
+ type: i0.Input,
55
+ args: [{
56
+ isSignal: true,
57
+ alias: "txSelectButtonItemOf",
58
+ required: false
59
+ }]
60
+ }] }
61
+ });
62
+ const SELECT_BUTTON_THEME = { selectButton: selectButtonTokens };
63
+ const KEYS = {
64
+ ArrowRight: "ArrowDown",
65
+ ArrowDown: "ArrowDown",
66
+ ArrowLeft: "ArrowUp",
67
+ ArrowUp: "ArrowUp",
68
+ Home: "Home",
69
+ End: "End"
70
+ };
71
+ var TxSelectButton = class TxSelectButton extends TxFormControlBase {
72
+ selectButtonTheme = injectTokens(SELECT_BUTTON_THEME);
73
+ element = inject(ElementRef).nativeElement;
74
+ icons = injectTxIcons();
75
+ value = model(null, ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
76
+ options = input([], ...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
77
+ optionLabel = input("label", ...ngDevMode ? [{ debugName: "optionLabel" }] : /* istanbul ignore next */ []);
78
+ optionValue = input("value", ...ngDevMode ? [{ debugName: "optionValue" }] : /* istanbul ignore next */ []);
79
+ optionDisabled = input("disabled", ...ngDevMode ? [{ debugName: "optionDisabled" }] : /* istanbul ignore next */ []);
80
+ optionIcon = input("icon", ...ngDevMode ? [{ debugName: "optionIcon" }] : /* istanbul ignore next */ []);
81
+ dataKey = input(void 0, ...ngDevMode ? [{ debugName: "dataKey" }] : /* istanbul ignore next */ []);
82
+ multiple = input(false, {
83
+ ...ngDevMode ? { debugName: "multiple" } : /* istanbul ignore next */ {},
84
+ transform: booleanAttribute
85
+ });
86
+ allowEmpty = input(true, {
87
+ ...ngDevMode ? { debugName: "allowEmpty" } : /* istanbul ignore next */ {},
88
+ transform: booleanAttribute
89
+ });
90
+ iconOnly = input(false, {
91
+ ...ngDevMode ? { debugName: "iconOnly" } : /* istanbul ignore next */ {},
92
+ transform: booleanAttribute
93
+ });
94
+ size = input("medium", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
95
+ fluid = input(void 0, {
96
+ ...ngDevMode ? { debugName: "fluid" } : /* istanbul ignore next */ {},
97
+ transform: optionalBoolean
98
+ });
99
+ invalid = input(void 0, {
100
+ ...ngDevMode ? { debugName: "invalid" } : /* istanbul ignore next */ {},
101
+ transform: optionalBoolean
102
+ });
103
+ disabledInput = input(false, {
104
+ ...ngDevMode ? { debugName: "disabledInput" } : /* istanbul ignore next */ {},
105
+ alias: "disabled",
106
+ transform: booleanAttribute
107
+ });
108
+ readonly = input(false, {
109
+ ...ngDevMode ? { debugName: "readonly" } : /* istanbul ignore next */ {},
110
+ transform: booleanAttribute
111
+ });
112
+ required = input(false, {
113
+ ...ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {},
114
+ transform: booleanAttribute
115
+ });
116
+ ariaLabel = input(void 0, ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
117
+ ariaLabelledBy = input(void 0, ...ngDevMode ? [{ debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []);
118
+ dt = input(void 0, ...ngDevMode ? [{ debugName: "dt" }] : /* istanbul ignore next */ []);
119
+ pt = input(void 0, ...ngDevMode ? [{ debugName: "pt" }] : /* istanbul ignore next */ []);
120
+ ptOptions = input(void 0, ...ngDevMode ? [{ debugName: "ptOptions" }] : /* istanbul ignore next */ []);
121
+ unstyled = input(void 0, {
122
+ ...ngDevMode ? { debugName: "unstyled" } : /* istanbul ignore next */ {},
123
+ transform: optionalBoolean
124
+ });
125
+ changed = output();
126
+ focused = output();
127
+ blurred = output();
128
+ itemTemplate = contentChild(TxSelectButtonItemTemplate, ...ngDevMode ? [{ debugName: "itemTemplate" }] : /* istanbul ignore next */ []);
129
+ buttons = viewChildren("button", ...ngDevMode ? [{ debugName: "buttons" }] : /* istanbul ignore next */ []);
130
+ isUnstyled = injectUnstyled(this.unstyled);
131
+ isFluid = injectFluid(this.fluid);
132
+ isInvalid = injectFieldInvalid(this.invalid);
133
+ passThrough = injectPassThrough("selectButton", this, this.pt, this.ptOptions);
134
+ isDisabled = computed(() => this.disabled() || this.disabledInput(), ...ngDevMode ? [{ debugName: "isDisabled" }] : /* istanbul ignore next */ []);
135
+ hostStyle = computed(() => ({
136
+ ...toStyleObject(this.dt(), "--tx-select-button"),
137
+ ...this.passThrough().root?.style
138
+ }), ...ngDevMode ? [{ debugName: "hostStyle" }] : /* istanbul ignore next */ []);
139
+ activeIndex = signal(-1, ...ngDevMode ? [{ debugName: "activeIndex" }] : /* istanbul ignore next */ []);
140
+ items = computed(() => {
141
+ const selected = this.selectedValues();
142
+ const dataKey = this.dataKey();
143
+ return this.options().map((option) => {
144
+ const isObject = option !== null && typeof option === "object";
145
+ const value = readOptionField(option, this.optionValue());
146
+ const icon = isObject ? readOptionField(option, this.optionIcon()) : null;
147
+ return {
148
+ option,
149
+ value,
150
+ label: String(readOptionField(option, this.optionLabel()) ?? ""),
151
+ icon: typeof icon === "string" && icon ? icon : null,
152
+ selected: selected.some((current) => sameOptionValue(current, value, dataKey)),
153
+ disabled: isObject && !!readOptionField(option, this.optionDisabled())
154
+ };
155
+ });
156
+ }, ...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
157
+ tabStop = computed(() => {
158
+ if (this.isDisabled()) return -1;
159
+ const items = this.items();
160
+ const usable = (index) => index >= 0 && index < items.length && !items[index].disabled;
161
+ const selected = items.findIndex((item) => item.selected && !item.disabled);
162
+ const active = this.activeIndex();
163
+ return (this.multiple() ? [active, selected] : [selected, active]).find(usable) ?? items.findIndex((item) => !item.disabled);
164
+ }, ...ngDevMode ? [{ debugName: "tabStop" }] : /* istanbul ignore next */ []);
165
+ selectedValues = computed(() => {
166
+ const value = this.value();
167
+ if (this.multiple()) return Array.isArray(value) ? value : [];
168
+ return value === null || value === void 0 ? [] : [value];
169
+ }, ...ngDevMode ? [{ debugName: "selectedValues" }] : /* istanbul ignore next */ []);
170
+ focus() {
171
+ this.buttons()[this.tabStop()]?.nativeElement.focus();
172
+ }
173
+ hasIcon(name) {
174
+ return this.icons.has(name);
175
+ }
176
+ onItemClick(index, event) {
177
+ this.activeIndex.set(index);
178
+ this.toggle(index, event);
179
+ }
180
+ onItemFocus(index) {
181
+ this.activeIndex.set(index);
182
+ }
183
+ onKeydown(index, event) {
184
+ const key = KEYS[event.key];
185
+ if (!key) return;
186
+ event.preventDefault();
187
+ const items = this.items();
188
+ const next = nextListIndex(key, {
189
+ count: items.length,
190
+ current: index,
191
+ isDisabled: (position) => items[position].disabled
192
+ });
193
+ if (next === null || next === index) return;
194
+ this.activeIndex.set(next);
195
+ this.buttons()[next].nativeElement.focus();
196
+ if (!this.multiple() && !items[next].selected) this.toggle(next, event);
197
+ }
198
+ onFocusIn(event) {
199
+ if (!this.contains(event.relatedTarget)) this.focused.emit(event);
200
+ }
201
+ onFocusOut(event) {
202
+ if (!this.contains(event.relatedTarget)) {
203
+ this.markTouched();
204
+ this.blurred.emit(event);
205
+ }
206
+ }
207
+ toggle(index, event) {
208
+ const item = this.items()[index];
209
+ if (item.disabled || this.isDisabled() || this.readonly()) return;
210
+ const current = this.selectedValues();
211
+ if (item.selected && !this.allowEmpty() && current.length <= 1) return;
212
+ const dataKey = this.dataKey();
213
+ let value;
214
+ if (this.multiple()) value = item.selected ? current.filter((entry) => !sameOptionValue(entry, item.value, dataKey)) : [...current, item.value];
215
+ else value = item.selected ? null : item.value;
216
+ this.updateValue(value);
217
+ this.changed.emit({
218
+ value,
219
+ option: item.option,
220
+ originalEvent: event
221
+ });
222
+ }
223
+ contains(target) {
224
+ return target instanceof Node && this.element.contains(target);
225
+ }
226
+ static ɵfac = i0.ɵɵngDeclareFactory({
227
+ minVersion: "12.0.0",
228
+ version: "22.2.5",
229
+ ngImport: i0,
230
+ type: TxSelectButton,
231
+ deps: null,
232
+ target: i0.ɵɵFactoryTarget.Component
233
+ });
234
+ static ɵcmp = i0.ɵɵngDeclareComponent({
235
+ minVersion: "17.0.0",
236
+ version: "22.2.5",
237
+ type: TxSelectButton,
238
+ isStandalone: true,
239
+ selector: "tx-select-button",
240
+ inputs: {
241
+ value: {
242
+ classPropertyName: "value",
243
+ publicName: "value",
244
+ isSignal: true,
245
+ isRequired: false,
246
+ transformFunction: null
247
+ },
248
+ options: {
249
+ classPropertyName: "options",
250
+ publicName: "options",
251
+ isSignal: true,
252
+ isRequired: false,
253
+ transformFunction: null
254
+ },
255
+ optionLabel: {
256
+ classPropertyName: "optionLabel",
257
+ publicName: "optionLabel",
258
+ isSignal: true,
259
+ isRequired: false,
260
+ transformFunction: null
261
+ },
262
+ optionValue: {
263
+ classPropertyName: "optionValue",
264
+ publicName: "optionValue",
265
+ isSignal: true,
266
+ isRequired: false,
267
+ transformFunction: null
268
+ },
269
+ optionDisabled: {
270
+ classPropertyName: "optionDisabled",
271
+ publicName: "optionDisabled",
272
+ isSignal: true,
273
+ isRequired: false,
274
+ transformFunction: null
275
+ },
276
+ optionIcon: {
277
+ classPropertyName: "optionIcon",
278
+ publicName: "optionIcon",
279
+ isSignal: true,
280
+ isRequired: false,
281
+ transformFunction: null
282
+ },
283
+ dataKey: {
284
+ classPropertyName: "dataKey",
285
+ publicName: "dataKey",
286
+ isSignal: true,
287
+ isRequired: false,
288
+ transformFunction: null
289
+ },
290
+ multiple: {
291
+ classPropertyName: "multiple",
292
+ publicName: "multiple",
293
+ isSignal: true,
294
+ isRequired: false,
295
+ transformFunction: null
296
+ },
297
+ allowEmpty: {
298
+ classPropertyName: "allowEmpty",
299
+ publicName: "allowEmpty",
300
+ isSignal: true,
301
+ isRequired: false,
302
+ transformFunction: null
303
+ },
304
+ iconOnly: {
305
+ classPropertyName: "iconOnly",
306
+ publicName: "iconOnly",
307
+ isSignal: true,
308
+ isRequired: false,
309
+ transformFunction: null
310
+ },
311
+ size: {
312
+ classPropertyName: "size",
313
+ publicName: "size",
314
+ isSignal: true,
315
+ isRequired: false,
316
+ transformFunction: null
317
+ },
318
+ fluid: {
319
+ classPropertyName: "fluid",
320
+ publicName: "fluid",
321
+ isSignal: true,
322
+ isRequired: false,
323
+ transformFunction: null
324
+ },
325
+ invalid: {
326
+ classPropertyName: "invalid",
327
+ publicName: "invalid",
328
+ isSignal: true,
329
+ isRequired: false,
330
+ transformFunction: null
331
+ },
332
+ disabledInput: {
333
+ classPropertyName: "disabledInput",
334
+ publicName: "disabled",
335
+ isSignal: true,
336
+ isRequired: false,
337
+ transformFunction: null
338
+ },
339
+ readonly: {
340
+ classPropertyName: "readonly",
341
+ publicName: "readonly",
342
+ isSignal: true,
343
+ isRequired: false,
344
+ transformFunction: null
345
+ },
346
+ required: {
347
+ classPropertyName: "required",
348
+ publicName: "required",
349
+ isSignal: true,
350
+ isRequired: false,
351
+ transformFunction: null
352
+ },
353
+ ariaLabel: {
354
+ classPropertyName: "ariaLabel",
355
+ publicName: "ariaLabel",
356
+ isSignal: true,
357
+ isRequired: false,
358
+ transformFunction: null
359
+ },
360
+ ariaLabelledBy: {
361
+ classPropertyName: "ariaLabelledBy",
362
+ publicName: "ariaLabelledBy",
363
+ isSignal: true,
364
+ isRequired: false,
365
+ transformFunction: null
366
+ },
367
+ dt: {
368
+ classPropertyName: "dt",
369
+ publicName: "dt",
370
+ isSignal: true,
371
+ isRequired: false,
372
+ transformFunction: null
373
+ },
374
+ pt: {
375
+ classPropertyName: "pt",
376
+ publicName: "pt",
377
+ isSignal: true,
378
+ isRequired: false,
379
+ transformFunction: null
380
+ },
381
+ ptOptions: {
382
+ classPropertyName: "ptOptions",
383
+ publicName: "ptOptions",
384
+ isSignal: true,
385
+ isRequired: false,
386
+ transformFunction: null
387
+ },
388
+ unstyled: {
389
+ classPropertyName: "unstyled",
390
+ publicName: "unstyled",
391
+ isSignal: true,
392
+ isRequired: false,
393
+ transformFunction: null
394
+ }
395
+ },
396
+ outputs: {
397
+ value: "valueChange",
398
+ changed: "changed",
399
+ focused: "focused",
400
+ blurred: "blurred"
401
+ },
402
+ host: {
403
+ listeners: {
404
+ "focusin": "onFocusIn($event)",
405
+ "focusout": "onFocusOut($event)"
406
+ },
407
+ properties: {
408
+ "class": "passThrough().root?.class",
409
+ "style": "hostStyle()",
410
+ "attr.role": "multiple() ? \"group\" : \"radiogroup\"",
411
+ "attr.data-styled": "!isUnstyled() || null",
412
+ "attr.data-size": "size()",
413
+ "attr.aria-label": "ariaLabel() ?? null",
414
+ "attr.aria-labelledby": "ariaLabelledBy() ?? null",
415
+ "attr.aria-invalid": "isInvalid() || null",
416
+ "attr.aria-required": "(!multiple() && required()) || null",
417
+ "attr.aria-readonly": "(!multiple() && readonly()) || null",
418
+ "attr.aria-disabled": "isDisabled() || null",
419
+ "class.tx-select-button--multiple": "multiple()",
420
+ "class.tx-select-button--disabled": "isDisabled()",
421
+ "class.tx-select-button--readonly": "readonly()",
422
+ "class.tx-select-button--invalid": "isInvalid()",
423
+ "class.tx-select-button--fluid": "isFluid()",
424
+ "class.tx-select-button--icon-only": "iconOnly()"
425
+ },
426
+ classAttribute: "tx-select-button"
427
+ },
428
+ providers: [{
429
+ provide: NG_VALUE_ACCESSOR,
430
+ useExisting: forwardRef(() => TxSelectButton),
431
+ multi: true
432
+ }],
433
+ queries: [{
434
+ propertyName: "itemTemplate",
435
+ first: true,
436
+ predicate: TxSelectButtonItemTemplate,
437
+ descendants: true,
438
+ isSignal: true
439
+ }],
440
+ viewQueries: [{
441
+ propertyName: "buttons",
442
+ predicate: ["button"],
443
+ descendants: true,
444
+ isSignal: true
445
+ }],
446
+ usesInheritance: true,
447
+ ngImport: i0,
448
+ template: "@for (item of items(); track $index; let index = $index) {\n @let iconAlone = iconOnly() && !itemTemplate() && !!item.icon;\n <button\n #button\n type=\"button\"\n class=\"tx-select-button__item\"\n [class.tx-select-button__item--selected]=\"item.selected\"\n [class.tx-select-button__item--disabled]=\"item.disabled\"\n [class]=\"passThrough().item?.class\"\n [style]=\"passThrough().item?.style\"\n [attr.role]=\"multiple() ? null : 'radio'\"\n [attr.aria-checked]=\"multiple() ? null : item.selected\"\n [attr.aria-pressed]=\"multiple() ? item.selected : null\"\n [attr.aria-label]=\"iconAlone ? item.label : null\"\n [attr.tabindex]=\"index === tabStop() ? 0 : -1\"\n [disabled]=\"isDisabled() || item.disabled\"\n [txTooltip]=\"iconAlone ? item.label : undefined\"\n tooltipPlacement=\"top\"\n (click)=\"onItemClick(index, $event)\"\n (keydown)=\"onKeydown(index, $event)\"\n (focus)=\"onItemFocus(index)\"\n >\n @if (itemTemplate(); as template) {\n <ng-container\n *ngTemplateOutlet=\"template.templateRef; context: { $implicit: item.option, label: item.label, selected: item.selected, disabled: item.disabled, index }\"\n />\n } @else {\n @if (item.icon; as icon) {\n <span class=\"tx-select-button__icon\" aria-hidden=\"true\" [class]=\"passThrough().icon?.class\" [style]=\"passThrough().icon?.style\">\n @if (hasIcon(icon)) {\n <tx-icon [name]=\"icon\" />\n } @else {\n <span [class]=\"icon\"></span>\n }\n </span>\n }\n @if (!iconAlone) {\n <span class=\"tx-select-button__label\" [class]=\"passThrough().label?.class\" [style]=\"passThrough().label?.style\">{{ item.label }}</span>\n }\n }\n </button>\n}\n",
449
+ styles: [":host{display:inline-flex;align-items:stretch;box-sizing:border-box;width:fit-content;max-width:100%;vertical-align:middle}:host(.tx-select-button--fluid){display:flex;width:100%}.tx-select-button__item{position:relative;display:inline-flex;flex:none;align-items:center;justify-content:center;min-width:0;white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none}:host(.tx-select-button--fluid) .tx-select-button__item{flex:1 1 0%}:host(.tx-select-button--readonly) .tx-select-button__item,.tx-select-button__item:disabled{cursor:default}.tx-select-button__icon{display:inline-flex;flex-shrink:0}.tx-select-button__label{min-width:0;overflow:hidden;text-overflow:ellipsis}:host([data-styled]){--_duration: var(--tx-select-button-transition-duration);--_padding: var(--tx-select-button-item-padding);--_icon-only-padding: var(--tx-select-button-item-icon-only-padding);--_item-gap: var(--tx-select-button-item-gap);--_item-radius: var(--tx-select-button-item-border-radius);--_font-size: var(--tx-select-button-item-font-size);gap:var(--tx-select-button-gap);padding:var(--tx-select-button-padding);border:var(--tx-select-button-border-width) solid var(--tx-select-button-border-color);border-radius:var(--tx-select-button-border-radius);background:var(--tx-select-button-background);transition:border-color var(--_duration) ease-out,opacity var(--_duration) ease-out}:host([data-styled][data-size=small]){--_padding: var(--tx-select-button-item-sm-padding);--_icon-only-padding: var(--tx-select-button-item-sm-icon-only-padding);--_item-gap: var(--tx-select-button-item-sm-gap);--_item-radius: var(--tx-select-button-item-sm-border-radius);--_font-size: var(--tx-select-button-item-sm-font-size);gap:var(--tx-select-button-sm-gap);padding:var(--tx-select-button-sm-padding);border-radius:var(--tx-select-button-sm-border-radius)}:host([data-styled][data-size=large]){--_padding: var(--tx-select-button-item-lg-padding);--_icon-only-padding: var(--tx-select-button-item-lg-icon-only-padding);--_item-gap: var(--tx-select-button-item-lg-gap);--_item-radius: var(--tx-select-button-item-lg-border-radius);--_font-size: var(--tx-select-button-item-lg-font-size);gap:var(--tx-select-button-lg-gap);padding:var(--tx-select-button-lg-padding);border-radius:var(--tx-select-button-lg-border-radius)}:host([data-styled].tx-select-button--invalid){border-color:var(--tx-select-button-invalid-border-color)}:host([data-styled].tx-select-button--disabled){opacity:var(--tx-select-button-disabled-opacity)}:host([data-styled]) .tx-select-button__item{gap:var(--_item-gap);margin:0;padding:var(--_padding);border:none;border-radius:var(--_item-radius);outline:none;background:transparent;color:var(--tx-select-button-item-color);font-family:inherit;font-size:var(--_font-size);font-weight:var(--tx-select-button-item-font-weight);line-height:var(--tx-select-button-item-line-height);transition:color var(--_duration) ease-out,background-color var(--_duration) ease-out,box-shadow var(--_duration) ease-out,opacity var(--_duration) ease-out}:host([data-styled].tx-select-button--icon-only) .tx-select-button__item{padding:var(--_icon-only-padding)}:host([data-styled]:not(.tx-select-button--readonly)) .tx-select-button__item:not(.tx-select-button__item--selected):not(:disabled):hover{background:var(--tx-select-button-item-hover-background);color:var(--tx-select-button-item-hover-color)}:host([data-styled]) .tx-select-button__item--selected{background:var(--tx-select-button-item-active-background);box-shadow:var(--tx-select-button-item-active-shadow);color:var(--tx-select-button-item-active-color);animation:tx-select-button-activate var(--tx-select-button-activate-duration) var(--tx-select-button-activate-easing)}:host([data-styled]) .tx-select-button__item:focus-visible{z-index:1;outline:var(--tx-select-button-focus-ring-width) solid var(--tx-select-button-focus-ring-color);outline-offset:var(--tx-select-button-focus-ring-offset)}:host([data-styled]:not(.tx-select-button--disabled)) .tx-select-button__item:disabled{opacity:var(--tx-select-button-disabled-opacity)}@keyframes tx-select-button-activate{0%{transform:scale(var(--tx-select-button-activate-scale))}}@media(prefers-reduced-motion:reduce){:host([data-styled]),:host([data-styled]) .tx-select-button__item{transition:none}:host([data-styled]) .tx-select-button__item--selected{animation:none}}\n"],
450
+ dependencies: [
451
+ {
452
+ kind: "directive",
453
+ type: NgTemplateOutlet,
454
+ selector: "[ngTemplateOutlet]",
455
+ inputs: [
456
+ "ngTemplateOutletContext",
457
+ "ngTemplateOutlet",
458
+ "ngTemplateOutletInjector"
459
+ ]
460
+ },
461
+ {
462
+ kind: "component",
463
+ type: TxIcon,
464
+ selector: "tx-icon",
465
+ inputs: ["name"]
466
+ },
467
+ {
468
+ kind: "directive",
469
+ type: TxTooltip,
470
+ selector: "[txTooltip]",
471
+ inputs: [
472
+ "txTooltip",
473
+ "tooltipPlacement",
474
+ "tooltipEvent",
475
+ "tooltipShowDelay",
476
+ "tooltipHideDelay",
477
+ "tooltipLife",
478
+ "tooltipOffset",
479
+ "tooltipArrow",
480
+ "tooltipInteractive",
481
+ "tooltipDisabled",
482
+ "tooltipOverflowOnly",
483
+ "tooltipMultiline",
484
+ "tooltipContext",
485
+ "tooltipClass",
486
+ "tooltipDt",
487
+ "tooltipPt",
488
+ "tooltipPtOptions",
489
+ "tooltipUnstyled"
490
+ ],
491
+ outputs: ["tooltipShown", "tooltipHidden"],
492
+ exportAs: ["txTooltip"]
493
+ }
494
+ ],
495
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
496
+ });
497
+ };
498
+ i0.ɵɵngDeclareClassMetadata({
499
+ minVersion: "12.0.0",
500
+ version: "22.2.5",
501
+ ngImport: i0,
502
+ type: TxSelectButton,
503
+ decorators: [{
504
+ type: Component,
505
+ args: [{
506
+ selector: "tx-select-button",
507
+ imports: [
508
+ NgTemplateOutlet,
509
+ TxIcon,
510
+ TxTooltip
511
+ ],
512
+ changeDetection: ChangeDetectionStrategy.OnPush,
513
+ providers: [{
514
+ provide: NG_VALUE_ACCESSOR,
515
+ useExisting: forwardRef(() => TxSelectButton),
516
+ multi: true
517
+ }],
518
+ host: {
519
+ class: "tx-select-button",
520
+ "[class]": "passThrough().root?.class",
521
+ "[style]": "hostStyle()",
522
+ "[attr.role]": "multiple() ? \"group\" : \"radiogroup\"",
523
+ "[attr.data-styled]": "!isUnstyled() || null",
524
+ "[attr.data-size]": "size()",
525
+ "[attr.aria-label]": "ariaLabel() ?? null",
526
+ "[attr.aria-labelledby]": "ariaLabelledBy() ?? null",
527
+ "[attr.aria-invalid]": "isInvalid() || null",
528
+ "[attr.aria-required]": "(!multiple() && required()) || null",
529
+ "[attr.aria-readonly]": "(!multiple() && readonly()) || null",
530
+ "[attr.aria-disabled]": "isDisabled() || null",
531
+ "[class.tx-select-button--multiple]": "multiple()",
532
+ "[class.tx-select-button--disabled]": "isDisabled()",
533
+ "[class.tx-select-button--readonly]": "readonly()",
534
+ "[class.tx-select-button--invalid]": "isInvalid()",
535
+ "[class.tx-select-button--fluid]": "isFluid()",
536
+ "[class.tx-select-button--icon-only]": "iconOnly()",
537
+ "(focusin)": "onFocusIn($event)",
538
+ "(focusout)": "onFocusOut($event)"
539
+ },
540
+ template: "@for (item of items(); track $index; let index = $index) {\n @let iconAlone = iconOnly() && !itemTemplate() && !!item.icon;\n <button\n #button\n type=\"button\"\n class=\"tx-select-button__item\"\n [class.tx-select-button__item--selected]=\"item.selected\"\n [class.tx-select-button__item--disabled]=\"item.disabled\"\n [class]=\"passThrough().item?.class\"\n [style]=\"passThrough().item?.style\"\n [attr.role]=\"multiple() ? null : 'radio'\"\n [attr.aria-checked]=\"multiple() ? null : item.selected\"\n [attr.aria-pressed]=\"multiple() ? item.selected : null\"\n [attr.aria-label]=\"iconAlone ? item.label : null\"\n [attr.tabindex]=\"index === tabStop() ? 0 : -1\"\n [disabled]=\"isDisabled() || item.disabled\"\n [txTooltip]=\"iconAlone ? item.label : undefined\"\n tooltipPlacement=\"top\"\n (click)=\"onItemClick(index, $event)\"\n (keydown)=\"onKeydown(index, $event)\"\n (focus)=\"onItemFocus(index)\"\n >\n @if (itemTemplate(); as template) {\n <ng-container\n *ngTemplateOutlet=\"template.templateRef; context: { $implicit: item.option, label: item.label, selected: item.selected, disabled: item.disabled, index }\"\n />\n } @else {\n @if (item.icon; as icon) {\n <span class=\"tx-select-button__icon\" aria-hidden=\"true\" [class]=\"passThrough().icon?.class\" [style]=\"passThrough().icon?.style\">\n @if (hasIcon(icon)) {\n <tx-icon [name]=\"icon\" />\n } @else {\n <span [class]=\"icon\"></span>\n }\n </span>\n }\n @if (!iconAlone) {\n <span class=\"tx-select-button__label\" [class]=\"passThrough().label?.class\" [style]=\"passThrough().label?.style\">{{ item.label }}</span>\n }\n }\n </button>\n}\n",
541
+ styles: [":host{display:inline-flex;align-items:stretch;box-sizing:border-box;width:fit-content;max-width:100%;vertical-align:middle}:host(.tx-select-button--fluid){display:flex;width:100%}.tx-select-button__item{position:relative;display:inline-flex;flex:none;align-items:center;justify-content:center;min-width:0;white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none}:host(.tx-select-button--fluid) .tx-select-button__item{flex:1 1 0%}:host(.tx-select-button--readonly) .tx-select-button__item,.tx-select-button__item:disabled{cursor:default}.tx-select-button__icon{display:inline-flex;flex-shrink:0}.tx-select-button__label{min-width:0;overflow:hidden;text-overflow:ellipsis}:host([data-styled]){--_duration: var(--tx-select-button-transition-duration);--_padding: var(--tx-select-button-item-padding);--_icon-only-padding: var(--tx-select-button-item-icon-only-padding);--_item-gap: var(--tx-select-button-item-gap);--_item-radius: var(--tx-select-button-item-border-radius);--_font-size: var(--tx-select-button-item-font-size);gap:var(--tx-select-button-gap);padding:var(--tx-select-button-padding);border:var(--tx-select-button-border-width) solid var(--tx-select-button-border-color);border-radius:var(--tx-select-button-border-radius);background:var(--tx-select-button-background);transition:border-color var(--_duration) ease-out,opacity var(--_duration) ease-out}:host([data-styled][data-size=small]){--_padding: var(--tx-select-button-item-sm-padding);--_icon-only-padding: var(--tx-select-button-item-sm-icon-only-padding);--_item-gap: var(--tx-select-button-item-sm-gap);--_item-radius: var(--tx-select-button-item-sm-border-radius);--_font-size: var(--tx-select-button-item-sm-font-size);gap:var(--tx-select-button-sm-gap);padding:var(--tx-select-button-sm-padding);border-radius:var(--tx-select-button-sm-border-radius)}:host([data-styled][data-size=large]){--_padding: var(--tx-select-button-item-lg-padding);--_icon-only-padding: var(--tx-select-button-item-lg-icon-only-padding);--_item-gap: var(--tx-select-button-item-lg-gap);--_item-radius: var(--tx-select-button-item-lg-border-radius);--_font-size: var(--tx-select-button-item-lg-font-size);gap:var(--tx-select-button-lg-gap);padding:var(--tx-select-button-lg-padding);border-radius:var(--tx-select-button-lg-border-radius)}:host([data-styled].tx-select-button--invalid){border-color:var(--tx-select-button-invalid-border-color)}:host([data-styled].tx-select-button--disabled){opacity:var(--tx-select-button-disabled-opacity)}:host([data-styled]) .tx-select-button__item{gap:var(--_item-gap);margin:0;padding:var(--_padding);border:none;border-radius:var(--_item-radius);outline:none;background:transparent;color:var(--tx-select-button-item-color);font-family:inherit;font-size:var(--_font-size);font-weight:var(--tx-select-button-item-font-weight);line-height:var(--tx-select-button-item-line-height);transition:color var(--_duration) ease-out,background-color var(--_duration) ease-out,box-shadow var(--_duration) ease-out,opacity var(--_duration) ease-out}:host([data-styled].tx-select-button--icon-only) .tx-select-button__item{padding:var(--_icon-only-padding)}:host([data-styled]:not(.tx-select-button--readonly)) .tx-select-button__item:not(.tx-select-button__item--selected):not(:disabled):hover{background:var(--tx-select-button-item-hover-background);color:var(--tx-select-button-item-hover-color)}:host([data-styled]) .tx-select-button__item--selected{background:var(--tx-select-button-item-active-background);box-shadow:var(--tx-select-button-item-active-shadow);color:var(--tx-select-button-item-active-color);animation:tx-select-button-activate var(--tx-select-button-activate-duration) var(--tx-select-button-activate-easing)}:host([data-styled]) .tx-select-button__item:focus-visible{z-index:1;outline:var(--tx-select-button-focus-ring-width) solid var(--tx-select-button-focus-ring-color);outline-offset:var(--tx-select-button-focus-ring-offset)}:host([data-styled]:not(.tx-select-button--disabled)) .tx-select-button__item:disabled{opacity:var(--tx-select-button-disabled-opacity)}@keyframes tx-select-button-activate{0%{transform:scale(var(--tx-select-button-activate-scale))}}@media(prefers-reduced-motion:reduce){:host([data-styled]),:host([data-styled]) .tx-select-button__item{transition:none}:host([data-styled]) .tx-select-button__item--selected{animation:none}}\n"]
542
+ }]
543
+ }],
544
+ propDecorators: {
545
+ value: [{
546
+ type: i0.Input,
547
+ args: [{
548
+ isSignal: true,
549
+ alias: "value",
550
+ required: false
551
+ }]
552
+ }, {
553
+ type: i0.Output,
554
+ args: ["valueChange"]
555
+ }],
556
+ options: [{
557
+ type: i0.Input,
558
+ args: [{
559
+ isSignal: true,
560
+ alias: "options",
561
+ required: false
562
+ }]
563
+ }],
564
+ optionLabel: [{
565
+ type: i0.Input,
566
+ args: [{
567
+ isSignal: true,
568
+ alias: "optionLabel",
569
+ required: false
570
+ }]
571
+ }],
572
+ optionValue: [{
573
+ type: i0.Input,
574
+ args: [{
575
+ isSignal: true,
576
+ alias: "optionValue",
577
+ required: false
578
+ }]
579
+ }],
580
+ optionDisabled: [{
581
+ type: i0.Input,
582
+ args: [{
583
+ isSignal: true,
584
+ alias: "optionDisabled",
585
+ required: false
586
+ }]
587
+ }],
588
+ optionIcon: [{
589
+ type: i0.Input,
590
+ args: [{
591
+ isSignal: true,
592
+ alias: "optionIcon",
593
+ required: false
594
+ }]
595
+ }],
596
+ dataKey: [{
597
+ type: i0.Input,
598
+ args: [{
599
+ isSignal: true,
600
+ alias: "dataKey",
601
+ required: false
602
+ }]
603
+ }],
604
+ multiple: [{
605
+ type: i0.Input,
606
+ args: [{
607
+ isSignal: true,
608
+ alias: "multiple",
609
+ required: false
610
+ }]
611
+ }],
612
+ allowEmpty: [{
613
+ type: i0.Input,
614
+ args: [{
615
+ isSignal: true,
616
+ alias: "allowEmpty",
617
+ required: false
618
+ }]
619
+ }],
620
+ iconOnly: [{
621
+ type: i0.Input,
622
+ args: [{
623
+ isSignal: true,
624
+ alias: "iconOnly",
625
+ required: false
626
+ }]
627
+ }],
628
+ size: [{
629
+ type: i0.Input,
630
+ args: [{
631
+ isSignal: true,
632
+ alias: "size",
633
+ required: false
634
+ }]
635
+ }],
636
+ fluid: [{
637
+ type: i0.Input,
638
+ args: [{
639
+ isSignal: true,
640
+ alias: "fluid",
641
+ required: false
642
+ }]
643
+ }],
644
+ invalid: [{
645
+ type: i0.Input,
646
+ args: [{
647
+ isSignal: true,
648
+ alias: "invalid",
649
+ required: false
650
+ }]
651
+ }],
652
+ disabledInput: [{
653
+ type: i0.Input,
654
+ args: [{
655
+ isSignal: true,
656
+ alias: "disabled",
657
+ required: false
658
+ }]
659
+ }],
660
+ readonly: [{
661
+ type: i0.Input,
662
+ args: [{
663
+ isSignal: true,
664
+ alias: "readonly",
665
+ required: false
666
+ }]
667
+ }],
668
+ required: [{
669
+ type: i0.Input,
670
+ args: [{
671
+ isSignal: true,
672
+ alias: "required",
673
+ required: false
674
+ }]
675
+ }],
676
+ ariaLabel: [{
677
+ type: i0.Input,
678
+ args: [{
679
+ isSignal: true,
680
+ alias: "ariaLabel",
681
+ required: false
682
+ }]
683
+ }],
684
+ ariaLabelledBy: [{
685
+ type: i0.Input,
686
+ args: [{
687
+ isSignal: true,
688
+ alias: "ariaLabelledBy",
689
+ required: false
690
+ }]
691
+ }],
692
+ dt: [{
693
+ type: i0.Input,
694
+ args: [{
695
+ isSignal: true,
696
+ alias: "dt",
697
+ required: false
698
+ }]
699
+ }],
700
+ pt: [{
701
+ type: i0.Input,
702
+ args: [{
703
+ isSignal: true,
704
+ alias: "pt",
705
+ required: false
706
+ }]
707
+ }],
708
+ ptOptions: [{
709
+ type: i0.Input,
710
+ args: [{
711
+ isSignal: true,
712
+ alias: "ptOptions",
713
+ required: false
714
+ }]
715
+ }],
716
+ unstyled: [{
717
+ type: i0.Input,
718
+ args: [{
719
+ isSignal: true,
720
+ alias: "unstyled",
721
+ required: false
722
+ }]
723
+ }],
724
+ changed: [{
725
+ type: i0.Output,
726
+ args: ["changed"]
727
+ }],
728
+ focused: [{
729
+ type: i0.Output,
730
+ args: ["focused"]
731
+ }],
732
+ blurred: [{
733
+ type: i0.Output,
734
+ args: ["blurred"]
735
+ }],
736
+ itemTemplate: [{
737
+ type: i0.ContentChild,
738
+ args: [i0.forwardRef(() => TxSelectButtonItemTemplate), { isSignal: true }]
739
+ }],
740
+ buttons: [{
741
+ type: i0.ViewChildren,
742
+ args: ["button", { isSignal: true }]
743
+ }]
744
+ }
745
+ });
746
+ export { TxSelectButton, TxSelectButtonItemTemplate };
747
+
748
+ //# sourceMappingURL=tectra-ng-ui-select-button.mjs.map