@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.
- package/README.md +1 -1
- package/amount/README.md +2 -2
- package/analog-clock/README.md +3 -2
- package/button-group/README.md +34 -2
- package/chips-input/README.md +10 -0
- package/data-view/README.md +3 -0
- package/fesm2022/tectra-ng-ui-accordion.mjs +21 -21
- package/fesm2022/tectra-ng-ui-amount.mjs +14 -12
- package/fesm2022/tectra-ng-ui-amount.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-analog-clock.mjs +18 -12
- package/fesm2022/tectra-ng-ui-analog-clock.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-autocomplete.mjs +3 -3
- package/fesm2022/tectra-ng-ui-avatar.mjs +9 -9
- package/fesm2022/tectra-ng-ui-badge.mjs +3 -3
- package/fesm2022/tectra-ng-ui-breadcrumb.mjs +9 -9
- package/fesm2022/tectra-ng-ui-button-group.mjs +142 -9
- package/fesm2022/tectra-ng-ui-button-group.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-button.mjs +9 -9
- package/fesm2022/tectra-ng-ui-card.mjs +3 -3
- package/fesm2022/tectra-ng-ui-carousel.mjs +15 -15
- package/fesm2022/tectra-ng-ui-cascade-select.mjs +3 -3
- package/fesm2022/tectra-ng-ui-checkbox.mjs +9 -9
- package/fesm2022/tectra-ng-ui-chip.mjs +3 -3
- package/fesm2022/tectra-ng-ui-chips-input.mjs +42 -12
- package/fesm2022/tectra-ng-ui-chips-input.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-color-picker.mjs +3 -3
- package/fesm2022/tectra-ng-ui-color-swatches.mjs +3 -3
- package/fesm2022/tectra-ng-ui-confirm.mjs +9 -9
- package/fesm2022/tectra-ng-ui-countdown.mjs +9 -9
- package/fesm2022/tectra-ng-ui-country-select.mjs +5 -5
- package/fesm2022/tectra-ng-ui-country-select.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-country.mjs +3 -3
- package/fesm2022/tectra-ng-ui-data-view.mjs +41 -33
- package/fesm2022/tectra-ng-ui-data-view.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-datepicker.mjs +47 -36
- package/fesm2022/tectra-ng-ui-datepicker.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-dialog.mjs +24 -24
- package/fesm2022/tectra-ng-ui-divider.mjs +3 -3
- package/fesm2022/tectra-ng-ui-drawer.mjs +9 -9
- package/fesm2022/tectra-ng-ui-email-suggestion.mjs +3 -3
- package/fesm2022/tectra-ng-ui-export.mjs +41 -46
- package/fesm2022/tectra-ng-ui-export.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-field.mjs +3 -3
- package/fesm2022/tectra-ng-ui-fieldset.mjs +3 -3
- package/fesm2022/tectra-ng-ui-file-upload.mjs +12 -12
- package/fesm2022/tectra-ng-ui-galleria.mjs +21 -21
- package/fesm2022/tectra-ng-ui-highlight-text.mjs +3 -3
- package/fesm2022/tectra-ng-ui-icon-field.mjs +12 -12
- package/fesm2022/tectra-ng-ui-image.mjs +9 -9
- package/fesm2022/tectra-ng-ui-input-group.mjs +6 -6
- package/fesm2022/tectra-ng-ui-input-mask.mjs +3 -3
- package/fesm2022/tectra-ng-ui-input-number.mjs +3 -3
- package/fesm2022/tectra-ng-ui-input-otp.mjs +9 -5
- package/fesm2022/tectra-ng-ui-input-otp.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-input.mjs +8 -8
- package/fesm2022/tectra-ng-ui-input.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-key-filter.mjs +3 -3
- package/fesm2022/tectra-ng-ui-knob.mjs +18 -10
- package/fesm2022/tectra-ng-ui-knob.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-label.mjs +9 -9
- package/fesm2022/tectra-ng-ui-link.mjs +6 -6
- package/fesm2022/tectra-ng-ui-list-input.mjs +3 -3
- package/fesm2022/tectra-ng-ui-listbox.mjs +3 -3
- package/fesm2022/tectra-ng-ui-mention-textarea.mjs +3 -3
- package/fesm2022/tectra-ng-ui-menu.mjs +15 -15
- package/fesm2022/tectra-ng-ui-menubar.mjs +6 -6
- package/fesm2022/tectra-ng-ui-message.mjs +19 -19
- package/fesm2022/tectra-ng-ui-message.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-month-calendar.mjs +6 -6
- package/fesm2022/tectra-ng-ui-multiselect.mjs +3 -3
- package/fesm2022/tectra-ng-ui-overlay-badge.mjs +3 -3
- package/fesm2022/tectra-ng-ui-paginator.mjs +12 -29
- package/fesm2022/tectra-ng-ui-paginator.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-panel-menu.mjs +25 -8
- package/fesm2022/tectra-ng-ui-panel-menu.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-panel.mjs +5 -5
- package/fesm2022/tectra-ng-ui-panel.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-password-generator.mjs +6 -6
- package/fesm2022/tectra-ng-ui-password.mjs +12 -12
- package/fesm2022/tectra-ng-ui-pill.mjs +6 -5
- package/fesm2022/tectra-ng-ui-pill.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-popover.mjs +15 -15
- package/fesm2022/tectra-ng-ui-progress-bar.mjs +6 -6
- package/fesm2022/tectra-ng-ui-progress-spinner.mjs +3 -3
- package/fesm2022/tectra-ng-ui-radio-button.mjs +6 -6
- package/fesm2022/tectra-ng-ui-rating.mjs +9 -9
- package/fesm2022/tectra-ng-ui-scroll-panel.mjs +7 -7
- package/fesm2022/tectra-ng-ui-scroll-panel.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-select-button.mjs +748 -0
- package/fesm2022/tectra-ng-ui-select-button.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-select.mjs +36 -36
- package/fesm2022/tectra-ng-ui-skeleton.mjs +6 -6
- package/fesm2022/tectra-ng-ui-slider.mjs +3 -3
- package/fesm2022/tectra-ng-ui-sparkline.mjs +3 -3
- package/fesm2022/tectra-ng-ui-speed-dial.mjs +94 -63
- package/fesm2022/tectra-ng-ui-speed-dial.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-split-button.mjs +19 -8
- package/fesm2022/tectra-ng-ui-split-button.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-splitter.mjs +6 -6
- package/fesm2022/tectra-ng-ui-stat-tiles.mjs +14 -11
- package/fesm2022/tectra-ng-ui-stat-tiles.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-status-icon.mjs +3 -3
- package/fesm2022/tectra-ng-ui-stepper.mjs +109 -60
- package/fesm2022/tectra-ng-ui-stepper.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-table.mjs +132 -195
- package/fesm2022/tectra-ng-ui-table.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tabs.mjs +18 -18
- package/fesm2022/tectra-ng-ui-tag.mjs +6 -6
- package/fesm2022/tectra-ng-ui-textarea.mjs +9 -9
- package/fesm2022/tectra-ng-ui-timeline.mjs +15 -15
- package/fesm2022/tectra-ng-ui-toast.mjs +9 -9
- package/fesm2022/tectra-ng-ui-toggle-button.mjs +5 -5
- package/fesm2022/tectra-ng-ui-toggle-button.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-toggle-switch.mjs +6 -6
- package/fesm2022/tectra-ng-ui-toolbar.mjs +12 -12
- package/fesm2022/tectra-ng-ui-tooltip.mjs +9 -9
- package/fesm2022/tectra-ng-ui-tree-select.mjs +20 -6
- package/fesm2022/tectra-ng-ui-tree-select.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tree-table.mjs +7 -7
- package/fesm2022/tectra-ng-ui-tree-table.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tree.mjs +30 -30
- package/fesm2022/tectra-ng-ui-truncate-text.mjs +5 -5
- package/fesm2022/tectra-ng-ui-truncate-text.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-virtual-scroller.mjs +15 -15
- package/fesm2022/tectra-ng-ui.mjs +1 -1
- package/field/README.md +2 -2
- package/input/README.md +1 -1
- package/input-otp/README.md +1 -1
- package/knob/README.md +1 -1
- package/message/README.md +2 -2
- package/package.json +8 -4
- package/paginator/README.md +1 -1
- package/panel-menu/README.md +1 -1
- package/pill/README.md +1 -1
- package/select-button/README.md +70 -0
- package/speed-dial/README.md +2 -1
- package/stat-tiles/README.md +3 -3
- package/stepper/README.md +3 -2
- package/table/README.md +10 -7
- package/tabs/README.md +1 -1
- package/tree-select/README.md +1 -1
- package/tree-table/README.md +1 -1
- package/truncate-text/README.md +1 -1
- package/types/tectra-ng-ui-amount.d.ts +6 -3
- package/types/tectra-ng-ui-amount.d.ts.map +1 -1
- package/types/tectra-ng-ui-analog-clock.d.ts +9 -4
- package/types/tectra-ng-ui-analog-clock.d.ts.map +1 -1
- package/types/tectra-ng-ui-button-group.d.ts +58 -5
- package/types/tectra-ng-ui-button-group.d.ts.map +1 -1
- package/types/tectra-ng-ui-chips-input.d.ts +14 -1
- package/types/tectra-ng-ui-chips-input.d.ts.map +1 -1
- package/types/tectra-ng-ui-datepicker.d.ts +2 -0
- package/types/tectra-ng-ui-datepicker.d.ts.map +1 -1
- package/types/tectra-ng-ui-field.d.ts +2 -2
- package/types/tectra-ng-ui-input-otp.d.ts +1 -1
- package/types/tectra-ng-ui-input-otp.d.ts.map +1 -1
- package/types/tectra-ng-ui-input.d.ts +1 -1
- package/types/tectra-ng-ui-knob.d.ts +2 -1
- package/types/tectra-ng-ui-knob.d.ts.map +1 -1
- package/types/tectra-ng-ui-message.d.ts +2 -2
- package/types/tectra-ng-ui-paginator.d.ts +2 -21
- package/types/tectra-ng-ui-paginator.d.ts.map +1 -1
- package/types/tectra-ng-ui-panel-menu.d.ts +9 -9
- package/types/tectra-ng-ui-panel-menu.d.ts.map +1 -1
- package/types/tectra-ng-ui-pill.d.ts +7 -3
- package/types/tectra-ng-ui-pill.d.ts.map +1 -1
- package/types/tectra-ng-ui-select-button.d.ts +256 -0
- package/types/tectra-ng-ui-select-button.d.ts.map +1 -0
- package/types/tectra-ng-ui-speed-dial.d.ts.map +1 -1
- package/types/tectra-ng-ui-stat-tiles.d.ts +4 -3
- package/types/tectra-ng-ui-stat-tiles.d.ts.map +1 -1
- package/types/tectra-ng-ui-stepper.d.ts +26 -10
- package/types/tectra-ng-ui-stepper.d.ts.map +1 -1
- package/types/tectra-ng-ui-table.d.ts +39 -42
- package/types/tectra-ng-ui-table.d.ts.map +1 -1
- package/types/tectra-ng-ui-tabs.d.ts +1 -1
- package/types/tectra-ng-ui-tree-select.d.ts +3 -1
- package/types/tectra-ng-ui-tree-select.d.ts.map +1 -1
- package/types/tectra-ng-ui-truncate-text.d.ts +1 -1
- package/types/tectra-ng-ui.d.ts +1 -1
|
@@ -15,7 +15,7 @@ var TxCarouselItemTemplate = class TxCarouselItemTemplate {
|
|
|
15
15
|
}
|
|
16
16
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
17
17
|
minVersion: "12.0.0",
|
|
18
|
-
version: "22.2.
|
|
18
|
+
version: "22.2.6",
|
|
19
19
|
ngImport: i0,
|
|
20
20
|
type: TxCarouselItemTemplate,
|
|
21
21
|
deps: [],
|
|
@@ -23,7 +23,7 @@ var TxCarouselItemTemplate = class TxCarouselItemTemplate {
|
|
|
23
23
|
});
|
|
24
24
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
25
25
|
minVersion: "17.1.0",
|
|
26
|
-
version: "22.2.
|
|
26
|
+
version: "22.2.6",
|
|
27
27
|
type: TxCarouselItemTemplate,
|
|
28
28
|
isStandalone: true,
|
|
29
29
|
selector: "ng-template[txCarouselItem]",
|
|
@@ -39,7 +39,7 @@ var TxCarouselItemTemplate = class TxCarouselItemTemplate {
|
|
|
39
39
|
};
|
|
40
40
|
i0.ɵɵngDeclareClassMetadata({
|
|
41
41
|
minVersion: "12.0.0",
|
|
42
|
-
version: "22.2.
|
|
42
|
+
version: "22.2.6",
|
|
43
43
|
ngImport: i0,
|
|
44
44
|
type: TxCarouselItemTemplate,
|
|
45
45
|
decorators: [{
|
|
@@ -62,7 +62,7 @@ var TxCarouselIndicatorTemplate = class TxCarouselIndicatorTemplate {
|
|
|
62
62
|
}
|
|
63
63
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
64
64
|
minVersion: "12.0.0",
|
|
65
|
-
version: "22.2.
|
|
65
|
+
version: "22.2.6",
|
|
66
66
|
ngImport: i0,
|
|
67
67
|
type: TxCarouselIndicatorTemplate,
|
|
68
68
|
deps: [],
|
|
@@ -70,7 +70,7 @@ var TxCarouselIndicatorTemplate = class TxCarouselIndicatorTemplate {
|
|
|
70
70
|
});
|
|
71
71
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
72
72
|
minVersion: "14.0.0",
|
|
73
|
-
version: "22.2.
|
|
73
|
+
version: "22.2.6",
|
|
74
74
|
type: TxCarouselIndicatorTemplate,
|
|
75
75
|
isStandalone: true,
|
|
76
76
|
selector: "ng-template[txCarouselIndicator]",
|
|
@@ -79,7 +79,7 @@ var TxCarouselIndicatorTemplate = class TxCarouselIndicatorTemplate {
|
|
|
79
79
|
};
|
|
80
80
|
i0.ɵɵngDeclareClassMetadata({
|
|
81
81
|
minVersion: "12.0.0",
|
|
82
|
-
version: "22.2.
|
|
82
|
+
version: "22.2.6",
|
|
83
83
|
ngImport: i0,
|
|
84
84
|
type: TxCarouselIndicatorTemplate,
|
|
85
85
|
decorators: [{
|
|
@@ -90,7 +90,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
90
90
|
var TxCarouselHeader = class TxCarouselHeader {
|
|
91
91
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
92
92
|
minVersion: "12.0.0",
|
|
93
|
-
version: "22.2.
|
|
93
|
+
version: "22.2.6",
|
|
94
94
|
ngImport: i0,
|
|
95
95
|
type: TxCarouselHeader,
|
|
96
96
|
deps: [],
|
|
@@ -98,7 +98,7 @@ var TxCarouselHeader = class TxCarouselHeader {
|
|
|
98
98
|
});
|
|
99
99
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
100
100
|
minVersion: "14.0.0",
|
|
101
|
-
version: "22.2.
|
|
101
|
+
version: "22.2.6",
|
|
102
102
|
type: TxCarouselHeader,
|
|
103
103
|
isStandalone: true,
|
|
104
104
|
selector: "[txCarouselHeader]",
|
|
@@ -107,7 +107,7 @@ var TxCarouselHeader = class TxCarouselHeader {
|
|
|
107
107
|
};
|
|
108
108
|
i0.ɵɵngDeclareClassMetadata({
|
|
109
109
|
minVersion: "12.0.0",
|
|
110
|
-
version: "22.2.
|
|
110
|
+
version: "22.2.6",
|
|
111
111
|
ngImport: i0,
|
|
112
112
|
type: TxCarouselHeader,
|
|
113
113
|
decorators: [{
|
|
@@ -118,7 +118,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
118
118
|
var TxCarouselFooter = class TxCarouselFooter {
|
|
119
119
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
120
120
|
minVersion: "12.0.0",
|
|
121
|
-
version: "22.2.
|
|
121
|
+
version: "22.2.6",
|
|
122
122
|
ngImport: i0,
|
|
123
123
|
type: TxCarouselFooter,
|
|
124
124
|
deps: [],
|
|
@@ -126,7 +126,7 @@ var TxCarouselFooter = class TxCarouselFooter {
|
|
|
126
126
|
});
|
|
127
127
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
128
128
|
minVersion: "14.0.0",
|
|
129
|
-
version: "22.2.
|
|
129
|
+
version: "22.2.6",
|
|
130
130
|
type: TxCarouselFooter,
|
|
131
131
|
isStandalone: true,
|
|
132
132
|
selector: "[txCarouselFooter]",
|
|
@@ -135,7 +135,7 @@ var TxCarouselFooter = class TxCarouselFooter {
|
|
|
135
135
|
};
|
|
136
136
|
i0.ɵɵngDeclareClassMetadata({
|
|
137
137
|
minVersion: "12.0.0",
|
|
138
|
-
version: "22.2.
|
|
138
|
+
version: "22.2.6",
|
|
139
139
|
ngImport: i0,
|
|
140
140
|
type: TxCarouselFooter,
|
|
141
141
|
decorators: [{
|
|
@@ -457,7 +457,7 @@ var TxCarousel = class TxCarousel {
|
|
|
457
457
|
}
|
|
458
458
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
459
459
|
minVersion: "12.0.0",
|
|
460
|
-
version: "22.2.
|
|
460
|
+
version: "22.2.6",
|
|
461
461
|
ngImport: i0,
|
|
462
462
|
type: TxCarousel,
|
|
463
463
|
deps: [],
|
|
@@ -465,7 +465,7 @@ var TxCarousel = class TxCarousel {
|
|
|
465
465
|
});
|
|
466
466
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
467
467
|
minVersion: "17.0.0",
|
|
468
|
-
version: "22.2.
|
|
468
|
+
version: "22.2.6",
|
|
469
469
|
type: TxCarousel,
|
|
470
470
|
isStandalone: true,
|
|
471
471
|
selector: "tx-carousel",
|
|
@@ -733,7 +733,7 @@ var TxCarousel = class TxCarousel {
|
|
|
733
733
|
};
|
|
734
734
|
i0.ɵɵngDeclareClassMetadata({
|
|
735
735
|
minVersion: "12.0.0",
|
|
736
|
-
version: "22.2.
|
|
736
|
+
version: "22.2.6",
|
|
737
737
|
ngImport: i0,
|
|
738
738
|
type: TxCarousel,
|
|
739
739
|
decorators: [{
|
|
@@ -346,7 +346,7 @@ var TxCascadeSelect = class TxCascadeSelect extends TxFormControlBase {
|
|
|
346
346
|
}
|
|
347
347
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
348
348
|
minVersion: "12.0.0",
|
|
349
|
-
version: "22.2.
|
|
349
|
+
version: "22.2.6",
|
|
350
350
|
ngImport: i0,
|
|
351
351
|
type: TxCascadeSelect,
|
|
352
352
|
deps: null,
|
|
@@ -354,7 +354,7 @@ var TxCascadeSelect = class TxCascadeSelect extends TxFormControlBase {
|
|
|
354
354
|
});
|
|
355
355
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
356
356
|
minVersion: "17.0.0",
|
|
357
|
-
version: "22.2.
|
|
357
|
+
version: "22.2.6",
|
|
358
358
|
type: TxCascadeSelect,
|
|
359
359
|
isStandalone: true,
|
|
360
360
|
selector: "tx-cascade-select",
|
|
@@ -646,7 +646,7 @@ var TxCascadeSelect = class TxCascadeSelect extends TxFormControlBase {
|
|
|
646
646
|
};
|
|
647
647
|
i0.ɵɵngDeclareClassMetadata({
|
|
648
648
|
minVersion: "12.0.0",
|
|
649
|
-
version: "22.2.
|
|
649
|
+
version: "22.2.6",
|
|
650
650
|
ngImport: i0,
|
|
651
651
|
type: TxCascadeSelect,
|
|
652
652
|
decorators: [{
|
|
@@ -18,7 +18,7 @@ var TxCheckboxIconTemplate = class TxCheckboxIconTemplate {
|
|
|
18
18
|
}
|
|
19
19
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
20
20
|
minVersion: "12.0.0",
|
|
21
|
-
version: "22.2.
|
|
21
|
+
version: "22.2.6",
|
|
22
22
|
ngImport: i0,
|
|
23
23
|
type: TxCheckboxIconTemplate,
|
|
24
24
|
deps: [],
|
|
@@ -26,7 +26,7 @@ var TxCheckboxIconTemplate = class TxCheckboxIconTemplate {
|
|
|
26
26
|
});
|
|
27
27
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
28
28
|
minVersion: "14.0.0",
|
|
29
|
-
version: "22.2.
|
|
29
|
+
version: "22.2.6",
|
|
30
30
|
type: TxCheckboxIconTemplate,
|
|
31
31
|
isStandalone: true,
|
|
32
32
|
selector: "ng-template[txCheckboxIcon]",
|
|
@@ -35,7 +35,7 @@ var TxCheckboxIconTemplate = class TxCheckboxIconTemplate {
|
|
|
35
35
|
};
|
|
36
36
|
i0.ɵɵngDeclareClassMetadata({
|
|
37
37
|
minVersion: "12.0.0",
|
|
38
|
-
version: "22.2.
|
|
38
|
+
version: "22.2.6",
|
|
39
39
|
ngImport: i0,
|
|
40
40
|
type: TxCheckboxIconTemplate,
|
|
41
41
|
decorators: [{
|
|
@@ -188,7 +188,7 @@ var TxCheckbox = class TxCheckbox extends TxFormControlBase {
|
|
|
188
188
|
}
|
|
189
189
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
190
190
|
minVersion: "12.0.0",
|
|
191
|
-
version: "22.2.
|
|
191
|
+
version: "22.2.6",
|
|
192
192
|
ngImport: i0,
|
|
193
193
|
type: TxCheckbox,
|
|
194
194
|
deps: [],
|
|
@@ -196,7 +196,7 @@ var TxCheckbox = class TxCheckbox extends TxFormControlBase {
|
|
|
196
196
|
});
|
|
197
197
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
198
198
|
minVersion: "17.0.0",
|
|
199
|
-
version: "22.2.
|
|
199
|
+
version: "22.2.6",
|
|
200
200
|
type: TxCheckbox,
|
|
201
201
|
isStandalone: true,
|
|
202
202
|
selector: "tx-checkbox",
|
|
@@ -442,7 +442,7 @@ var TxCheckbox = class TxCheckbox extends TxFormControlBase {
|
|
|
442
442
|
};
|
|
443
443
|
i0.ɵɵngDeclareClassMetadata({
|
|
444
444
|
minVersion: "12.0.0",
|
|
445
|
-
version: "22.2.
|
|
445
|
+
version: "22.2.6",
|
|
446
446
|
ngImport: i0,
|
|
447
447
|
type: TxCheckbox,
|
|
448
448
|
decorators: [{
|
|
@@ -767,7 +767,7 @@ var TxCheckboxGroup = class TxCheckboxGroup extends TxFormControlBase {
|
|
|
767
767
|
}
|
|
768
768
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
769
769
|
minVersion: "12.0.0",
|
|
770
|
-
version: "22.2.
|
|
770
|
+
version: "22.2.6",
|
|
771
771
|
ngImport: i0,
|
|
772
772
|
type: TxCheckboxGroup,
|
|
773
773
|
deps: null,
|
|
@@ -775,7 +775,7 @@ var TxCheckboxGroup = class TxCheckboxGroup extends TxFormControlBase {
|
|
|
775
775
|
});
|
|
776
776
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
777
777
|
minVersion: "17.0.0",
|
|
778
|
-
version: "22.2.
|
|
778
|
+
version: "22.2.6",
|
|
779
779
|
type: TxCheckboxGroup,
|
|
780
780
|
isStandalone: true,
|
|
781
781
|
selector: "tx-checkbox-group",
|
|
@@ -990,7 +990,7 @@ var TxCheckboxGroup = class TxCheckboxGroup extends TxFormControlBase {
|
|
|
990
990
|
};
|
|
991
991
|
i0.ɵɵngDeclareClassMetadata({
|
|
992
992
|
minVersion: "12.0.0",
|
|
993
|
-
version: "22.2.
|
|
993
|
+
version: "22.2.6",
|
|
994
994
|
ngImport: i0,
|
|
995
995
|
type: TxCheckboxGroup,
|
|
996
996
|
decorators: [{
|
|
@@ -48,7 +48,7 @@ var TxChip = class TxChip {
|
|
|
48
48
|
}
|
|
49
49
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
50
50
|
minVersion: "12.0.0",
|
|
51
|
-
version: "22.2.
|
|
51
|
+
version: "22.2.6",
|
|
52
52
|
ngImport: i0,
|
|
53
53
|
type: TxChip,
|
|
54
54
|
deps: [],
|
|
@@ -56,7 +56,7 @@ var TxChip = class TxChip {
|
|
|
56
56
|
});
|
|
57
57
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
58
58
|
minVersion: "17.0.0",
|
|
59
|
-
version: "22.2.
|
|
59
|
+
version: "22.2.6",
|
|
60
60
|
type: TxChip,
|
|
61
61
|
isStandalone: true,
|
|
62
62
|
selector: "tx-chip",
|
|
@@ -198,7 +198,7 @@ var TxChip = class TxChip {
|
|
|
198
198
|
};
|
|
199
199
|
i0.ɵɵngDeclareClassMetadata({
|
|
200
200
|
minVersion: "12.0.0",
|
|
201
|
-
version: "22.2.
|
|
201
|
+
version: "22.2.6",
|
|
202
202
|
ngImport: i0,
|
|
203
203
|
type: TxChip,
|
|
204
204
|
decorators: [{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NgTemplateOutlet } from "@angular/common";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
import { ChangeDetectionStrategy, Component, Directive, TemplateRef, booleanAttribute, computed, contentChild, forwardRef, inject, input,
|
|
3
|
+
import { ChangeDetectionStrategy, Component, Directive, TemplateRef, booleanAttribute, computed, contentChild, forwardRef, inject, input, model, output, viewChild } from "@angular/core";
|
|
4
4
|
import { NG_VALUE_ACCESSOR } from "@angular/forms";
|
|
5
5
|
import { injectPassThrough, injectTokens, injectUnstyled } from "@tectra-ng/core/config";
|
|
6
6
|
import { TxFormControlBase, injectFieldInvalid } from "@tectra-ng/core/forms";
|
|
@@ -16,7 +16,7 @@ var TxChipsInputItemTemplate = class TxChipsInputItemTemplate {
|
|
|
16
16
|
}
|
|
17
17
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
18
18
|
minVersion: "12.0.0",
|
|
19
|
-
version: "22.2.
|
|
19
|
+
version: "22.2.6",
|
|
20
20
|
ngImport: i0,
|
|
21
21
|
type: TxChipsInputItemTemplate,
|
|
22
22
|
deps: [],
|
|
@@ -24,7 +24,7 @@ var TxChipsInputItemTemplate = class TxChipsInputItemTemplate {
|
|
|
24
24
|
});
|
|
25
25
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
26
26
|
minVersion: "14.0.0",
|
|
27
|
-
version: "22.2.
|
|
27
|
+
version: "22.2.6",
|
|
28
28
|
type: TxChipsInputItemTemplate,
|
|
29
29
|
isStandalone: true,
|
|
30
30
|
selector: "ng-template[txChipsInputItem]",
|
|
@@ -33,7 +33,7 @@ var TxChipsInputItemTemplate = class TxChipsInputItemTemplate {
|
|
|
33
33
|
};
|
|
34
34
|
i0.ɵɵngDeclareClassMetadata({
|
|
35
35
|
minVersion: "12.0.0",
|
|
36
|
-
version: "22.2.
|
|
36
|
+
version: "22.2.6",
|
|
37
37
|
ngImport: i0,
|
|
38
38
|
type: TxChipsInputItemTemplate,
|
|
39
39
|
decorators: [{
|
|
@@ -95,6 +95,7 @@ var TxChipsInput = class TxChipsInput extends TxFormControlBase {
|
|
|
95
95
|
...ngDevMode ? { debugName: "unstyled" } : /* istanbul ignore next */ {},
|
|
96
96
|
transform: optionalBoolean
|
|
97
97
|
});
|
|
98
|
+
text = model("", ...ngDevMode ? [{ debugName: "text" }] : /* istanbul ignore next */ []);
|
|
98
99
|
added = output();
|
|
99
100
|
removed = output();
|
|
100
101
|
rejected = output();
|
|
@@ -104,7 +105,6 @@ var TxChipsInput = class TxChipsInput extends TxFormControlBase {
|
|
|
104
105
|
isInvalid = injectFieldInvalid(this.invalid);
|
|
105
106
|
isUnstyled = injectUnstyled(this.unstyled);
|
|
106
107
|
passThrough = injectPassThrough("chipsInput", this, this.pt, this.ptOptions);
|
|
107
|
-
text = signal("", ...ngDevMode ? [{ debugName: "text" }] : /* istanbul ignore next */ []);
|
|
108
108
|
values = computed(() => this.value() ?? [], ...ngDevMode ? [{ debugName: "values" }] : /* istanbul ignore next */ []);
|
|
109
109
|
isFull = computed(() => {
|
|
110
110
|
const max = this.max();
|
|
@@ -135,6 +135,7 @@ var TxChipsInput = class TxChipsInput extends TxFormControlBase {
|
|
|
135
135
|
if (parts.length > 1) {
|
|
136
136
|
event.preventDefault();
|
|
137
137
|
this.addAll(parts);
|
|
138
|
+
this.setText("");
|
|
138
139
|
}
|
|
139
140
|
}
|
|
140
141
|
onKeydown(event) {
|
|
@@ -143,6 +144,7 @@ var TxChipsInput = class TxChipsInput extends TxFormControlBase {
|
|
|
143
144
|
if (this.text().trim()) {
|
|
144
145
|
event.preventDefault();
|
|
145
146
|
this.addAll([this.text()]);
|
|
147
|
+
this.setText("");
|
|
146
148
|
}
|
|
147
149
|
return;
|
|
148
150
|
}
|
|
@@ -152,7 +154,10 @@ var TxChipsInput = class TxChipsInput extends TxFormControlBase {
|
|
|
152
154
|
}
|
|
153
155
|
}
|
|
154
156
|
onBlur() {
|
|
155
|
-
if (this.addOnBlur() && this.text().trim())
|
|
157
|
+
if (this.addOnBlur() && this.text().trim()) {
|
|
158
|
+
this.addAll([this.text()]);
|
|
159
|
+
this.setText("");
|
|
160
|
+
}
|
|
156
161
|
this.markTouched();
|
|
157
162
|
}
|
|
158
163
|
onHostClick(event) {
|
|
@@ -174,6 +179,13 @@ var TxChipsInput = class TxChipsInput extends TxFormControlBase {
|
|
|
174
179
|
this.setText("");
|
|
175
180
|
this.field().nativeElement.focus();
|
|
176
181
|
}
|
|
182
|
+
add(value) {
|
|
183
|
+
if (this.disabled() || this.readonly()) return;
|
|
184
|
+
this.addAll(typeof value === "string" ? [value] : [...value]);
|
|
185
|
+
}
|
|
186
|
+
clearText() {
|
|
187
|
+
this.setText("");
|
|
188
|
+
}
|
|
177
189
|
addAll(parts) {
|
|
178
190
|
let values = this.values();
|
|
179
191
|
for (const part of parts.map((item) => item.trim()).filter(Boolean)) {
|
|
@@ -196,7 +208,6 @@ var TxChipsInput = class TxChipsInput extends TxFormControlBase {
|
|
|
196
208
|
values
|
|
197
209
|
});
|
|
198
210
|
}
|
|
199
|
-
this.setText("");
|
|
200
211
|
}
|
|
201
212
|
setText(text) {
|
|
202
213
|
this.text.set(text);
|
|
@@ -204,7 +215,7 @@ var TxChipsInput = class TxChipsInput extends TxFormControlBase {
|
|
|
204
215
|
}
|
|
205
216
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
206
217
|
minVersion: "12.0.0",
|
|
207
|
-
version: "22.2.
|
|
218
|
+
version: "22.2.6",
|
|
208
219
|
ngImport: i0,
|
|
209
220
|
type: TxChipsInput,
|
|
210
221
|
deps: null,
|
|
@@ -212,7 +223,7 @@ var TxChipsInput = class TxChipsInput extends TxFormControlBase {
|
|
|
212
223
|
});
|
|
213
224
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
214
225
|
minVersion: "17.0.0",
|
|
215
|
-
version: "22.2.
|
|
226
|
+
version: "22.2.6",
|
|
216
227
|
type: TxChipsInput,
|
|
217
228
|
isStandalone: true,
|
|
218
229
|
selector: "tx-chips-input",
|
|
@@ -356,9 +367,17 @@ var TxChipsInput = class TxChipsInput extends TxFormControlBase {
|
|
|
356
367
|
isSignal: true,
|
|
357
368
|
isRequired: false,
|
|
358
369
|
transformFunction: null
|
|
370
|
+
},
|
|
371
|
+
text: {
|
|
372
|
+
classPropertyName: "text",
|
|
373
|
+
publicName: "text",
|
|
374
|
+
isSignal: true,
|
|
375
|
+
isRequired: false,
|
|
376
|
+
transformFunction: null
|
|
359
377
|
}
|
|
360
378
|
},
|
|
361
379
|
outputs: {
|
|
380
|
+
text: "textChange",
|
|
362
381
|
added: "added",
|
|
363
382
|
removed: "removed",
|
|
364
383
|
rejected: "rejected"
|
|
@@ -400,7 +419,7 @@ var TxChipsInput = class TxChipsInput extends TxFormControlBase {
|
|
|
400
419
|
}],
|
|
401
420
|
usesInheritance: true,
|
|
402
421
|
ngImport: i0,
|
|
403
|
-
template: "<div class=\"tx-chips-input__box\">\n @if (values().length) {\n <span class=\"tx-chips-input__list\" role=\"list\" [class]=\"passThrough().list?.class\" [style]=\"passThrough().list?.style\">\n @for (item of values(); track $index) {\n <tx-chip\n role=\"listitem\"\n class=\"tx-chips-input__chip\"\n [class]=\"passThrough().chip?.class\"\n [style]=\"passThrough().chip?.style\"\n [removable]=\"!disabled() && !readonly()\"\n [removeIcon]=\"'times'\"\n [removeLabel]=\"removeLabel(item)\"\n (removed)=\"removeAt($index)\"\n >\n @if (itemTemplate(); as template) {\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" [ngTemplateOutletContext]=\"{ $implicit: item, index: $index }\" />\n } @else {\n {{ item }}\n }\n </tx-chip>\n }\n </span>\n }\n <input\n #field\n type=\"text\"\n autocomplete=\"off\"\n class=\"tx-chips-input__input\"\n [class]=\"passThrough().input?.class\"\n [style]=\"passThrough().input?.style\"\n [attr.id]=\"inputId() ?? null\"\n [attr.aria-label]=\"ariaLabel() ?? (ariaLabelledBy() || inputId() ? null : placeholder() || null)\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n [attr.aria-invalid]=\"isInvalid() || null\"\n [attr.maxlength]=\"maxLength() ?? null\"\n [placeholder]=\"values().length ? '' : placeholder()\"\n [readOnly]=\"readonly() || isFull()\"\n [disabled]=\"disabled()\"\n (input)=\"onInput($event)\"\n (paste)=\"onPaste($event)\"\n (keydown)=\"onKeydown($event)\"\n (blur)=\"onBlur()\"\n />\n @if (canClear()) {\n <button\n type=\"button\"\n class=\"tx-chips-input__clear\"\n [class]=\"passThrough().clear?.class\"\n [style]=\"passThrough().clear?.style\"\n [attr.aria-label]=\"translations().clear\"\n (click)=\"clear()\"\n >\n <tx-icon [name]=\"'times'\" />\n </button>\n }\n</div>\n",
|
|
422
|
+
template: "<div class=\"tx-chips-input__box\">\n @if (values().length) {\n <span class=\"tx-chips-input__list\" role=\"list\" [class]=\"passThrough().list?.class\" [style]=\"passThrough().list?.style\">\n @for (item of values(); track $index) {\n <tx-chip\n role=\"listitem\"\n class=\"tx-chips-input__chip\"\n [class]=\"passThrough().chip?.class\"\n [style]=\"passThrough().chip?.style\"\n [removable]=\"!disabled() && !readonly()\"\n [removeIcon]=\"'times'\"\n [removeLabel]=\"removeLabel(item)\"\n (removed)=\"removeAt($index)\"\n >\n @if (itemTemplate(); as template) {\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" [ngTemplateOutletContext]=\"{ $implicit: item, index: $index }\" />\n } @else {\n {{ item }}\n }\n </tx-chip>\n }\n </span>\n }\n <input\n #field\n type=\"text\"\n autocomplete=\"off\"\n class=\"tx-chips-input__input\"\n [class]=\"passThrough().input?.class\"\n [style]=\"passThrough().input?.style\"\n [attr.id]=\"inputId() ?? null\"\n [attr.aria-label]=\"ariaLabel() ?? (ariaLabelledBy() || inputId() ? null : placeholder() || null)\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n [attr.aria-invalid]=\"isInvalid() || null\"\n [attr.maxlength]=\"maxLength() ?? null\"\n [value]=\"text()\"\n [placeholder]=\"values().length ? '' : placeholder()\"\n [readOnly]=\"readonly() || isFull()\"\n [disabled]=\"disabled()\"\n (input)=\"onInput($event)\"\n (paste)=\"onPaste($event)\"\n (keydown)=\"onKeydown($event)\"\n (blur)=\"onBlur()\"\n />\n @if (canClear()) {\n <button\n type=\"button\"\n class=\"tx-chips-input__clear\"\n [class]=\"passThrough().clear?.class\"\n [style]=\"passThrough().clear?.style\"\n [attr.aria-label]=\"translations().clear\"\n (click)=\"clear()\"\n >\n <tx-icon [name]=\"'times'\" />\n </button>\n }\n</div>\n",
|
|
404
423
|
styles: [":host{display:block;width:100%}.tx-chips-input__box{display:flex;flex-wrap:wrap;align-items:center;cursor:text}.tx-chips-input__list{display:contents}.tx-chips-input__input{flex:1 1 var(--tx-chips-input-input-min-width, 80px);min-width:var(--tx-chips-input-input-min-width, 80px)}:host(.tx-chips-input--disabled) .tx-chips-input__box{cursor:not-allowed}:host([data-styled]){font-family:var(--tx-font-family)}:host([data-styled]) .tx-chips-input__box{box-sizing:border-box;padding-top:var(--tx-field-padding-top, var(--tx-form-field-padding-y));padding-bottom:var(--tx-field-padding-bottom, var(--tx-form-field-padding-y));padding-inline:calc(var(--tx-form-field-padding-x) + var(--tx-field-inset-start, 0px)) calc(var(--tx-form-field-padding-x) + var(--tx-field-inset-end, 0px));border:1px solid var(--tx-form-field-border-color);border-start-start-radius:var(--tx-field-radius-start, var(--tx-form-field-border-radius));border-end-start-radius:var(--tx-field-radius-start, var(--tx-form-field-border-radius));border-start-end-radius:var(--tx-field-radius-end, var(--tx-form-field-border-radius));border-end-end-radius:var(--tx-field-radius-end, var(--tx-form-field-border-radius));outline:none;background-color:var(--tx-form-field-background);box-shadow:var(--tx-form-field-shadow);color:var(--tx-form-field-color);font-family:var(--tx-font-family);font-size:var(--tx-form-field-font-size);line-height:var(--tx-form-field-line-height);transition:background-color var(--tx-form-field-transition-duration),border-color var(--tx-form-field-transition-duration),box-shadow var(--tx-form-field-transition-duration);gap:var(--tx-chips-input-gap);width:100%}:host([data-styled])[data-variant=filled] .tx-chips-input__box{background-color:var(--tx-form-field-filled-background)}:host([data-styled]):not(.tx-chips-input--disabled,.tx-chips-input--readonly) .tx-chips-input__box:hover{border-color:var(--tx-form-field-hover-border-color)}:host([data-styled]) .tx-chips-input__box:focus-within{border-color:var(--tx-form-field-focus-border-color);outline:var(--tx-form-field-focus-ring-width) var(--tx-form-field-focus-ring-style) var(--tx-form-field-focus-ring-color);outline-offset:var(--tx-form-field-focus-ring-offset);box-shadow:var(--tx-form-field-focus-ring-shadow)}:host([data-styled]).tx-chips-input--readonly .tx-chips-input__box{background-color:var(--tx-form-field-readonly-background);caret-color:transparent;cursor:default}:host([data-styled]).tx-chips-input--invalid .tx-chips-input__box{border-color:var(--tx-form-field-invalid-border-color)}:host([data-styled]).tx-chips-input--invalid .tx-chips-input__box:focus-within{border-color:var(--tx-form-field-invalid-border-color);box-shadow:var(--tx-form-field-invalid-focus-ring-shadow)}:host([data-styled]).tx-chips-input--disabled .tx-chips-input__box{background-color:var(--tx-form-field-disabled-background);box-shadow:none;color:var(--tx-form-field-disabled-color);cursor:not-allowed}:host([data-styled])[data-size=small] .tx-chips-input__box{padding-top:var(--tx-field-padding-top, var(--tx-form-field-sm-padding-y));padding-bottom:var(--tx-field-padding-bottom, var(--tx-form-field-sm-padding-y));padding-inline:calc(var(--tx-form-field-sm-padding-x) + var(--tx-field-inset-start, 0px)) calc(var(--tx-form-field-sm-padding-x) + var(--tx-field-inset-end, 0px));font-size:var(--tx-form-field-sm-font-size);line-height:var(--tx-form-field-sm-line-height)}:host([data-styled])[data-size=large] .tx-chips-input__box{padding-top:var(--tx-field-padding-top, var(--tx-form-field-lg-padding-y));padding-bottom:var(--tx-field-padding-bottom, var(--tx-form-field-lg-padding-y));padding-inline:calc(var(--tx-form-field-lg-padding-x) + var(--tx-field-inset-start, 0px)) calc(var(--tx-form-field-lg-padding-x) + var(--tx-field-inset-end, 0px));font-size:var(--tx-form-field-lg-font-size);line-height:var(--tx-form-field-lg-line-height)}:host([data-styled]) .tx-chips-input__chip{--tx-chip-height: var(--tx-chips-input-chip-height);--tx-chip-font-size: var(--tx-chips-input-chip-font-size);--tx-chip-padding-x: var(--tx-chips-input-chip-padding-x);--tx-chip-border-radius: var(--tx-chips-input-chip-border-radius);--tx-chip-remove-size: 16px;margin-block:calc((1lh - var(--tx-chips-input-chip-height)) / 2)}:host([data-styled]) .tx-chips-input__input{padding:0;border:none;outline:none;background:transparent;color:inherit;font:inherit}:host([data-styled]) .tx-chips-input__input::placeholder{color:var(--tx-form-field-placeholder-color)}:host([data-styled]) .tx-chips-input__clear{display:grid;place-items:center;width:24px;height:24px;padding:0;border:none;border-radius:var(--tx-radius-sm);background:transparent;color:var(--tx-form-field-icon-color);font-size:var(--tx-form-field-font-size);cursor:pointer;pointer-events:auto;transition:background-color var(--tx-form-field-transition-duration),color var(--tx-form-field-transition-duration)}:host([data-styled]) .tx-chips-input__clear:hover{background:var(--tx-surface-hover);color:var(--tx-form-field-color)}:host([data-styled]) .tx-chips-input__clear:focus-visible{outline:2px solid var(--tx-focus-ring-color);outline-offset:1px}:host([data-styled]) .tx-chips-input__clear{margin-block:calc((1lh - 24px)/2);margin-inline-start:auto}\n"],
|
|
405
424
|
dependencies: [
|
|
406
425
|
{
|
|
@@ -445,7 +464,7 @@ var TxChipsInput = class TxChipsInput extends TxFormControlBase {
|
|
|
445
464
|
};
|
|
446
465
|
i0.ɵɵngDeclareClassMetadata({
|
|
447
466
|
minVersion: "12.0.0",
|
|
448
|
-
version: "22.2.
|
|
467
|
+
version: "22.2.6",
|
|
449
468
|
ngImport: i0,
|
|
450
469
|
type: TxChipsInput,
|
|
451
470
|
decorators: [{
|
|
@@ -478,7 +497,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
478
497
|
"(click)": "onHostClick($event)"
|
|
479
498
|
},
|
|
480
499
|
viewProviders: [provideTxIconDefaults(CHIPS_INPUT_ICON_DEFAULTS)],
|
|
481
|
-
template: "<div class=\"tx-chips-input__box\">\n @if (values().length) {\n <span class=\"tx-chips-input__list\" role=\"list\" [class]=\"passThrough().list?.class\" [style]=\"passThrough().list?.style\">\n @for (item of values(); track $index) {\n <tx-chip\n role=\"listitem\"\n class=\"tx-chips-input__chip\"\n [class]=\"passThrough().chip?.class\"\n [style]=\"passThrough().chip?.style\"\n [removable]=\"!disabled() && !readonly()\"\n [removeIcon]=\"'times'\"\n [removeLabel]=\"removeLabel(item)\"\n (removed)=\"removeAt($index)\"\n >\n @if (itemTemplate(); as template) {\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" [ngTemplateOutletContext]=\"{ $implicit: item, index: $index }\" />\n } @else {\n {{ item }}\n }\n </tx-chip>\n }\n </span>\n }\n <input\n #field\n type=\"text\"\n autocomplete=\"off\"\n class=\"tx-chips-input__input\"\n [class]=\"passThrough().input?.class\"\n [style]=\"passThrough().input?.style\"\n [attr.id]=\"inputId() ?? null\"\n [attr.aria-label]=\"ariaLabel() ?? (ariaLabelledBy() || inputId() ? null : placeholder() || null)\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n [attr.aria-invalid]=\"isInvalid() || null\"\n [attr.maxlength]=\"maxLength() ?? null\"\n [placeholder]=\"values().length ? '' : placeholder()\"\n [readOnly]=\"readonly() || isFull()\"\n [disabled]=\"disabled()\"\n (input)=\"onInput($event)\"\n (paste)=\"onPaste($event)\"\n (keydown)=\"onKeydown($event)\"\n (blur)=\"onBlur()\"\n />\n @if (canClear()) {\n <button\n type=\"button\"\n class=\"tx-chips-input__clear\"\n [class]=\"passThrough().clear?.class\"\n [style]=\"passThrough().clear?.style\"\n [attr.aria-label]=\"translations().clear\"\n (click)=\"clear()\"\n >\n <tx-icon [name]=\"'times'\" />\n </button>\n }\n</div>\n",
|
|
500
|
+
template: "<div class=\"tx-chips-input__box\">\n @if (values().length) {\n <span class=\"tx-chips-input__list\" role=\"list\" [class]=\"passThrough().list?.class\" [style]=\"passThrough().list?.style\">\n @for (item of values(); track $index) {\n <tx-chip\n role=\"listitem\"\n class=\"tx-chips-input__chip\"\n [class]=\"passThrough().chip?.class\"\n [style]=\"passThrough().chip?.style\"\n [removable]=\"!disabled() && !readonly()\"\n [removeIcon]=\"'times'\"\n [removeLabel]=\"removeLabel(item)\"\n (removed)=\"removeAt($index)\"\n >\n @if (itemTemplate(); as template) {\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" [ngTemplateOutletContext]=\"{ $implicit: item, index: $index }\" />\n } @else {\n {{ item }}\n }\n </tx-chip>\n }\n </span>\n }\n <input\n #field\n type=\"text\"\n autocomplete=\"off\"\n class=\"tx-chips-input__input\"\n [class]=\"passThrough().input?.class\"\n [style]=\"passThrough().input?.style\"\n [attr.id]=\"inputId() ?? null\"\n [attr.aria-label]=\"ariaLabel() ?? (ariaLabelledBy() || inputId() ? null : placeholder() || null)\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n [attr.aria-invalid]=\"isInvalid() || null\"\n [attr.maxlength]=\"maxLength() ?? null\"\n [value]=\"text()\"\n [placeholder]=\"values().length ? '' : placeholder()\"\n [readOnly]=\"readonly() || isFull()\"\n [disabled]=\"disabled()\"\n (input)=\"onInput($event)\"\n (paste)=\"onPaste($event)\"\n (keydown)=\"onKeydown($event)\"\n (blur)=\"onBlur()\"\n />\n @if (canClear()) {\n <button\n type=\"button\"\n class=\"tx-chips-input__clear\"\n [class]=\"passThrough().clear?.class\"\n [style]=\"passThrough().clear?.style\"\n [attr.aria-label]=\"translations().clear\"\n (click)=\"clear()\"\n >\n <tx-icon [name]=\"'times'\" />\n </button>\n }\n</div>\n",
|
|
482
501
|
styles: [":host{display:block;width:100%}.tx-chips-input__box{display:flex;flex-wrap:wrap;align-items:center;cursor:text}.tx-chips-input__list{display:contents}.tx-chips-input__input{flex:1 1 var(--tx-chips-input-input-min-width, 80px);min-width:var(--tx-chips-input-input-min-width, 80px)}:host(.tx-chips-input--disabled) .tx-chips-input__box{cursor:not-allowed}:host([data-styled]){font-family:var(--tx-font-family)}:host([data-styled]) .tx-chips-input__box{box-sizing:border-box;padding-top:var(--tx-field-padding-top, var(--tx-form-field-padding-y));padding-bottom:var(--tx-field-padding-bottom, var(--tx-form-field-padding-y));padding-inline:calc(var(--tx-form-field-padding-x) + var(--tx-field-inset-start, 0px)) calc(var(--tx-form-field-padding-x) + var(--tx-field-inset-end, 0px));border:1px solid var(--tx-form-field-border-color);border-start-start-radius:var(--tx-field-radius-start, var(--tx-form-field-border-radius));border-end-start-radius:var(--tx-field-radius-start, var(--tx-form-field-border-radius));border-start-end-radius:var(--tx-field-radius-end, var(--tx-form-field-border-radius));border-end-end-radius:var(--tx-field-radius-end, var(--tx-form-field-border-radius));outline:none;background-color:var(--tx-form-field-background);box-shadow:var(--tx-form-field-shadow);color:var(--tx-form-field-color);font-family:var(--tx-font-family);font-size:var(--tx-form-field-font-size);line-height:var(--tx-form-field-line-height);transition:background-color var(--tx-form-field-transition-duration),border-color var(--tx-form-field-transition-duration),box-shadow var(--tx-form-field-transition-duration);gap:var(--tx-chips-input-gap);width:100%}:host([data-styled])[data-variant=filled] .tx-chips-input__box{background-color:var(--tx-form-field-filled-background)}:host([data-styled]):not(.tx-chips-input--disabled,.tx-chips-input--readonly) .tx-chips-input__box:hover{border-color:var(--tx-form-field-hover-border-color)}:host([data-styled]) .tx-chips-input__box:focus-within{border-color:var(--tx-form-field-focus-border-color);outline:var(--tx-form-field-focus-ring-width) var(--tx-form-field-focus-ring-style) var(--tx-form-field-focus-ring-color);outline-offset:var(--tx-form-field-focus-ring-offset);box-shadow:var(--tx-form-field-focus-ring-shadow)}:host([data-styled]).tx-chips-input--readonly .tx-chips-input__box{background-color:var(--tx-form-field-readonly-background);caret-color:transparent;cursor:default}:host([data-styled]).tx-chips-input--invalid .tx-chips-input__box{border-color:var(--tx-form-field-invalid-border-color)}:host([data-styled]).tx-chips-input--invalid .tx-chips-input__box:focus-within{border-color:var(--tx-form-field-invalid-border-color);box-shadow:var(--tx-form-field-invalid-focus-ring-shadow)}:host([data-styled]).tx-chips-input--disabled .tx-chips-input__box{background-color:var(--tx-form-field-disabled-background);box-shadow:none;color:var(--tx-form-field-disabled-color);cursor:not-allowed}:host([data-styled])[data-size=small] .tx-chips-input__box{padding-top:var(--tx-field-padding-top, var(--tx-form-field-sm-padding-y));padding-bottom:var(--tx-field-padding-bottom, var(--tx-form-field-sm-padding-y));padding-inline:calc(var(--tx-form-field-sm-padding-x) + var(--tx-field-inset-start, 0px)) calc(var(--tx-form-field-sm-padding-x) + var(--tx-field-inset-end, 0px));font-size:var(--tx-form-field-sm-font-size);line-height:var(--tx-form-field-sm-line-height)}:host([data-styled])[data-size=large] .tx-chips-input__box{padding-top:var(--tx-field-padding-top, var(--tx-form-field-lg-padding-y));padding-bottom:var(--tx-field-padding-bottom, var(--tx-form-field-lg-padding-y));padding-inline:calc(var(--tx-form-field-lg-padding-x) + var(--tx-field-inset-start, 0px)) calc(var(--tx-form-field-lg-padding-x) + var(--tx-field-inset-end, 0px));font-size:var(--tx-form-field-lg-font-size);line-height:var(--tx-form-field-lg-line-height)}:host([data-styled]) .tx-chips-input__chip{--tx-chip-height: var(--tx-chips-input-chip-height);--tx-chip-font-size: var(--tx-chips-input-chip-font-size);--tx-chip-padding-x: var(--tx-chips-input-chip-padding-x);--tx-chip-border-radius: var(--tx-chips-input-chip-border-radius);--tx-chip-remove-size: 16px;margin-block:calc((1lh - var(--tx-chips-input-chip-height)) / 2)}:host([data-styled]) .tx-chips-input__input{padding:0;border:none;outline:none;background:transparent;color:inherit;font:inherit}:host([data-styled]) .tx-chips-input__input::placeholder{color:var(--tx-form-field-placeholder-color)}:host([data-styled]) .tx-chips-input__clear{display:grid;place-items:center;width:24px;height:24px;padding:0;border:none;border-radius:var(--tx-radius-sm);background:transparent;color:var(--tx-form-field-icon-color);font-size:var(--tx-form-field-font-size);cursor:pointer;pointer-events:auto;transition:background-color var(--tx-form-field-transition-duration),color var(--tx-form-field-transition-duration)}:host([data-styled]) .tx-chips-input__clear:hover{background:var(--tx-surface-hover);color:var(--tx-form-field-color)}:host([data-styled]) .tx-chips-input__clear:focus-visible{outline:2px solid var(--tx-focus-ring-color);outline-offset:1px}:host([data-styled]) .tx-chips-input__clear{margin-block:calc((1lh - 24px)/2);margin-inline-start:auto}\n"]
|
|
483
502
|
}]
|
|
484
503
|
}],
|
|
@@ -643,6 +662,17 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
643
662
|
required: false
|
|
644
663
|
}]
|
|
645
664
|
}],
|
|
665
|
+
text: [{
|
|
666
|
+
type: i0.Input,
|
|
667
|
+
args: [{
|
|
668
|
+
isSignal: true,
|
|
669
|
+
alias: "text",
|
|
670
|
+
required: false
|
|
671
|
+
}]
|
|
672
|
+
}, {
|
|
673
|
+
type: i0.Output,
|
|
674
|
+
args: ["textChange"]
|
|
675
|
+
}],
|
|
646
676
|
added: [{
|
|
647
677
|
type: i0.Output,
|
|
648
678
|
args: ["added"]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-chips-input.mjs","names":[],"sources":["../../../../packages/ui/chips-input/src/chips-input-item.directive.ts","../../../../packages/ui/chips-input/src/chips-input.icons.ts","../../../../packages/ui/chips-input/src/chips-input.theme.ts","../../../../packages/ui/chips-input/src/chips-input.component.ts","../../../../packages/ui/chips-input/src/chips-input.component.html"],"sourcesContent":["import { Directive, TemplateRef, inject } from '@angular/core';\nimport { TxChipsInputItemContext } from './chips-input.types';\n\n@Directive({ selector: 'ng-template[txChipsInputItem]' })\nexport class TxChipsInputItemTemplate {\n readonly templateRef = inject<TemplateRef<TxChipsInputItemContext>>(TemplateRef);\n\n static ngTemplateContextGuard(_directive: TxChipsInputItemTemplate, context: unknown): context is TxChipsInputItemContext {\n return !!context;\n }\n}\n","import { TxIconSet, txIconList, txIconText, txIconTimes } from '@tectra-ng/icons';\n\nexport const CHIPS_INPUT_ICON_DEFAULTS: TxIconSet = {\n list: txIconList,\n text: txIconText,\n times: txIconTimes,\n};\n","import { chipTokens, chipsInputTokens, fieldTokens, formFieldTokens } from '@tectra-ng/themes';\n\nexport const CHIPS_INPUT_THEME = {\n chip: chipTokens,\n chipsInput: chipsInputTokens,\n field: fieldTokens,\n formField: formFieldTokens,\n};\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n booleanAttribute,\n computed,\n contentChild,\n forwardRef,\n input,\n output,\n signal,\n viewChild,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { TxFormControlBase, injectFieldInvalid } from '@tectra-ng/core/forms';\nimport { injectTranslations } from '@tectra-ng/core/i18n';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { provideTxIconDefaults, TxIcon } from '@tectra-ng/icons';\nimport { TectraChipsInputTokens, TectraDeepPartial, toStyleObject } from '@tectra-ng/themes';\nimport { TxChip } from '@tectra-ng/ui/chip';\nimport { TxChipsInputItemTemplate } from './chips-input-item.directive';\nimport { TxChipsInputEvent, TxChipsInputPart, TxChipsInputSize, TxChipsInputVariant } from './chips-input.types';\nimport { CHIPS_INPUT_ICON_DEFAULTS } from './chips-input.icons';\nimport { CHIPS_INPUT_THEME } from './chips-input.theme';\n\n/**\n * A text field that turns typed text into removable chips; works with forms and a list of strings as the value.\n */\n@Component({\n selector: 'tx-chips-input',\n imports: [NgTemplateOutlet, TxChip, TxIcon],\n templateUrl: './chips-input.component.html',\n styleUrl: './chips-input.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => TxChipsInput), multi: true }],\n host: {\n class: 'tx-chips-input',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-size]': 'size()',\n '[attr.data-variant]': 'variant()',\n '[class.tx-chips-input--disabled]': 'disabled()',\n '[class.tx-chips-input--invalid]': 'isInvalid()',\n '[class.tx-chips-input--readonly]': 'readonly()',\n '[class.tx-chips-input--filled]': 'values().length > 0 || !!text()',\n '[class.tx-chips-input--full]': 'isFull()',\n '(click)': 'onHostClick($event)',\n },\n viewProviders: [provideTxIconDefaults(CHIPS_INPUT_ICON_DEFAULTS)],\n})\nexport class TxChipsInput extends TxFormControlBase<string[]> {\n private readonly chipsInputTheme = injectTokens(CHIPS_INPUT_THEME);\n\n readonly placeholder = input<string>('');\n readonly separator = input<string | RegExp>(',');\n readonly addOnBlur = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly allowDuplicate = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly caseSensitive = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly max = input<number | undefined>(undefined);\n readonly maxLength = input<number | undefined>(undefined);\n readonly itemPattern = input<RegExp | undefined>(undefined);\n readonly showClear = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly inputId = input<string | undefined>(undefined);\n readonly ariaLabel = input<string | undefined>(undefined);\n readonly ariaLabelledBy = input<string | undefined>(undefined);\n readonly size = input<TxChipsInputSize>('medium');\n readonly variant = input<TxChipsInputVariant>('outlined');\n readonly invalid = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n readonly readonly = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly dt = input<TectraDeepPartial<TectraChipsInputTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxChipsInputPart, TxChipsInput> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly added = output<TxChipsInputEvent>();\n readonly removed = output<TxChipsInputEvent>();\n readonly rejected = output<TxChipsInputEvent>();\n\n readonly itemTemplate = contentChild(TxChipsInputItemTemplate);\n readonly field = viewChild.required<ElementRef<HTMLInputElement>>('field');\n\n readonly translations = injectTranslations();\n readonly isInvalid = injectFieldInvalid(this.invalid);\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('chipsInput', this, this.pt, this.ptOptions);\n readonly text = signal('');\n\n readonly values = computed(() => this.value() ?? []);\n readonly isFull = computed(() => {\n const max = this.max();\n return max !== undefined && this.values().length >= max;\n });\n readonly canClear = computed(() => this.showClear() && this.values().length > 0 && !this.disabled() && !this.readonly());\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-chips-input'), ...this.passThrough().root?.style }));\n\n override writeValue(value: string[] | null): void {\n super.writeValue(Array.isArray(value) ? value : []);\n }\n\n removeLabel(item: string): string {\n return this.translations().removeItem.replace('{item}', item);\n }\n\n onInput(event: Event): void {\n const text = (event.target as HTMLInputElement).value;\n const separator = this.separator();\n const parts = text.split(separator);\n if (parts.length > 1) {\n this.addAll(parts.slice(0, -1));\n this.setText(parts[parts.length - 1]);\n } else {\n this.text.set(text);\n }\n }\n\n onPaste(event: ClipboardEvent): void {\n const pasted = event.clipboardData?.getData('text') ?? '';\n const parts = pasted.split(/\\r?\\n/).flatMap((line) => line.split(this.separator()));\n if (parts.length > 1) {\n event.preventDefault();\n this.addAll(parts);\n }\n }\n\n onKeydown(event: KeyboardEvent): void {\n if (this.readonly()) {\n return;\n }\n if (event.key === 'Enter') {\n if (this.text().trim()) {\n event.preventDefault();\n this.addAll([this.text()]);\n }\n return;\n }\n if (event.key === 'Backspace' && !this.text() && this.values().length) {\n event.preventDefault();\n this.removeAt(this.values().length - 1);\n }\n }\n\n onBlur(): void {\n if (this.addOnBlur() && this.text().trim()) {\n this.addAll([this.text()]);\n }\n this.markTouched();\n }\n\n onHostClick(event: MouseEvent): void {\n if (!(event.target as HTMLElement).closest('button')) {\n this.field().nativeElement.focus();\n }\n }\n\n removeAt(index: number): void {\n if (this.disabled() || this.readonly()) {\n return;\n }\n const value = this.values()[index];\n const values = this.values().filter((_, position) => position !== index);\n this.updateValue(values);\n this.removed.emit({ value, values });\n this.field().nativeElement.focus();\n }\n\n clear(): void {\n this.updateValue([]);\n this.setText('');\n this.field().nativeElement.focus();\n }\n\n private addAll(parts: string[]): void {\n let values = this.values();\n for (const part of parts.map((item) => item.trim()).filter(Boolean)) {\n const value = this.maxLength() ? part.slice(0, this.maxLength()) : part;\n const duplicate = values.some((item) => (this.caseSensitive() ? item === value : item.toLowerCase() === value.toLowerCase()));\n const max = this.max();\n const full = max !== undefined && values.length >= max;\n const invalidPattern = !!this.itemPattern() && !this.itemPattern()?.test(value);\n if ((duplicate && !this.allowDuplicate()) || full || invalidPattern) {\n this.rejected.emit({ value, values });\n continue;\n }\n values = [...values, value];\n this.updateValue(values);\n this.added.emit({ value, values });\n }\n this.setText('');\n }\n\n private setText(text: string): void {\n this.text.set(text);\n this.field().nativeElement.value = text;\n }\n}\n","<div class=\"tx-chips-input__box\">\n @if (values().length) {\n <span class=\"tx-chips-input__list\" role=\"list\" [class]=\"passThrough().list?.class\" [style]=\"passThrough().list?.style\">\n @for (item of values(); track $index) {\n <tx-chip\n role=\"listitem\"\n class=\"tx-chips-input__chip\"\n [class]=\"passThrough().chip?.class\"\n [style]=\"passThrough().chip?.style\"\n [removable]=\"!disabled() && !readonly()\"\n [removeIcon]=\"'times'\"\n [removeLabel]=\"removeLabel(item)\"\n (removed)=\"removeAt($index)\"\n >\n @if (itemTemplate(); as template) {\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" [ngTemplateOutletContext]=\"{ $implicit: item, index: $index }\" />\n } @else {\n {{ item }}\n }\n </tx-chip>\n }\n </span>\n }\n <input\n #field\n type=\"text\"\n autocomplete=\"off\"\n class=\"tx-chips-input__input\"\n [class]=\"passThrough().input?.class\"\n [style]=\"passThrough().input?.style\"\n [attr.id]=\"inputId() ?? null\"\n [attr.aria-label]=\"ariaLabel() ?? (ariaLabelledBy() || inputId() ? null : placeholder() || null)\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n [attr.aria-invalid]=\"isInvalid() || null\"\n [attr.maxlength]=\"maxLength() ?? null\"\n [placeholder]=\"values().length ? '' : placeholder()\"\n [readOnly]=\"readonly() || isFull()\"\n [disabled]=\"disabled()\"\n (input)=\"onInput($event)\"\n (paste)=\"onPaste($event)\"\n (keydown)=\"onKeydown($event)\"\n (blur)=\"onBlur()\"\n />\n @if (canClear()) {\n <button\n type=\"button\"\n class=\"tx-chips-input__clear\"\n [class]=\"passThrough().clear?.class\"\n [style]=\"passThrough().clear?.style\"\n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A;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,UAAA;EAAA,CAAA;EAAA,cAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAAA,wBAAwB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,OAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CACK,SAAO,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA"}
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-chips-input.mjs","names":[],"sources":["../../../../packages/ui/chips-input/src/chips-input-item.directive.ts","../../../../packages/ui/chips-input/src/chips-input.icons.ts","../../../../packages/ui/chips-input/src/chips-input.theme.ts","../../../../packages/ui/chips-input/src/chips-input.component.ts","../../../../packages/ui/chips-input/src/chips-input.component.html"],"sourcesContent":["import { Directive, TemplateRef, inject } from '@angular/core';\nimport { TxChipsInputItemContext } from './chips-input.types';\n\n@Directive({ selector: 'ng-template[txChipsInputItem]' })\nexport class TxChipsInputItemTemplate {\n readonly templateRef = inject<TemplateRef<TxChipsInputItemContext>>(TemplateRef);\n\n static ngTemplateContextGuard(_directive: TxChipsInputItemTemplate, context: unknown): context is TxChipsInputItemContext {\n return !!context;\n }\n}\n","import { TxIconSet, txIconList, txIconText, txIconTimes } from '@tectra-ng/icons';\n\nexport const CHIPS_INPUT_ICON_DEFAULTS: TxIconSet = {\n list: txIconList,\n text: txIconText,\n times: txIconTimes,\n};\n","import { chipTokens, chipsInputTokens, fieldTokens, formFieldTokens } from '@tectra-ng/themes';\n\nexport const CHIPS_INPUT_THEME = {\n chip: chipTokens,\n chipsInput: chipsInputTokens,\n field: fieldTokens,\n formField: formFieldTokens,\n};\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n booleanAttribute,\n computed,\n contentChild,\n forwardRef,\n input,\n model,\n output,\n viewChild,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { TxFormControlBase, injectFieldInvalid } from '@tectra-ng/core/forms';\nimport { injectTranslations } from '@tectra-ng/core/i18n';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { provideTxIconDefaults, TxIcon } from '@tectra-ng/icons';\nimport { TectraChipsInputTokens, TectraDeepPartial, toStyleObject } from '@tectra-ng/themes';\nimport { TxChip } from '@tectra-ng/ui/chip';\nimport { TxChipsInputItemTemplate } from './chips-input-item.directive';\nimport { TxChipsInputEvent, TxChipsInputPart, TxChipsInputSize, TxChipsInputVariant } from './chips-input.types';\nimport { CHIPS_INPUT_ICON_DEFAULTS } from './chips-input.icons';\nimport { CHIPS_INPUT_THEME } from './chips-input.theme';\n\n/**\n * A text field that turns typed text into removable chips; works with forms and a list of strings as the value.\n */\n@Component({\n selector: 'tx-chips-input',\n imports: [NgTemplateOutlet, TxChip, TxIcon],\n templateUrl: './chips-input.component.html',\n styleUrl: './chips-input.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => TxChipsInput), multi: true }],\n host: {\n class: 'tx-chips-input',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-size]': 'size()',\n '[attr.data-variant]': 'variant()',\n '[class.tx-chips-input--disabled]': 'disabled()',\n '[class.tx-chips-input--invalid]': 'isInvalid()',\n '[class.tx-chips-input--readonly]': 'readonly()',\n '[class.tx-chips-input--filled]': 'values().length > 0 || !!text()',\n '[class.tx-chips-input--full]': 'isFull()',\n '(click)': 'onHostClick($event)',\n },\n viewProviders: [provideTxIconDefaults(CHIPS_INPUT_ICON_DEFAULTS)],\n})\nexport class TxChipsInput extends TxFormControlBase<string[]> {\n private readonly chipsInputTheme = injectTokens(CHIPS_INPUT_THEME);\n\n readonly placeholder = input<string>('');\n readonly separator = input<string | RegExp>(',');\n readonly addOnBlur = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly allowDuplicate = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly caseSensitive = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly max = input<number | undefined>(undefined);\n readonly maxLength = input<number | undefined>(undefined);\n readonly itemPattern = input<RegExp | undefined>(undefined);\n readonly showClear = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly inputId = input<string | undefined>(undefined);\n readonly ariaLabel = input<string | undefined>(undefined);\n readonly ariaLabelledBy = input<string | undefined>(undefined);\n readonly size = input<TxChipsInputSize>('medium');\n readonly variant = input<TxChipsInputVariant>('outlined');\n readonly invalid = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n readonly readonly = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly dt = input<TectraDeepPartial<TectraChipsInputTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxChipsInputPart, TxChipsInput> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n readonly text = model('');\n\n readonly added = output<TxChipsInputEvent>();\n readonly removed = output<TxChipsInputEvent>();\n readonly rejected = output<TxChipsInputEvent>();\n\n readonly itemTemplate = contentChild(TxChipsInputItemTemplate);\n readonly field = viewChild.required<ElementRef<HTMLInputElement>>('field');\n\n readonly translations = injectTranslations();\n readonly isInvalid = injectFieldInvalid(this.invalid);\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('chipsInput', this, this.pt, this.ptOptions);\n\n readonly values = computed(() => this.value() ?? []);\n readonly isFull = computed(() => {\n const max = this.max();\n return max !== undefined && this.values().length >= max;\n });\n readonly canClear = computed(() => this.showClear() && this.values().length > 0 && !this.disabled() && !this.readonly());\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-chips-input'), ...this.passThrough().root?.style }));\n\n override writeValue(value: string[] | null): void {\n super.writeValue(Array.isArray(value) ? value : []);\n }\n\n removeLabel(item: string): string {\n return this.translations().removeItem.replace('{item}', item);\n }\n\n onInput(event: Event): void {\n const text = (event.target as HTMLInputElement).value;\n const separator = this.separator();\n const parts = text.split(separator);\n if (parts.length > 1) {\n this.addAll(parts.slice(0, -1));\n this.setText(parts[parts.length - 1]);\n } else {\n this.text.set(text);\n }\n }\n\n onPaste(event: ClipboardEvent): void {\n const pasted = event.clipboardData?.getData('text') ?? '';\n const parts = pasted.split(/\\r?\\n/).flatMap((line) => line.split(this.separator()));\n if (parts.length > 1) {\n event.preventDefault();\n this.addAll(parts);\n this.setText('');\n }\n }\n\n onKeydown(event: KeyboardEvent): void {\n if (this.readonly()) {\n return;\n }\n if (event.key === 'Enter') {\n if (this.text().trim()) {\n event.preventDefault();\n this.addAll([this.text()]);\n this.setText('');\n }\n return;\n }\n if (event.key === 'Backspace' && !this.text() && this.values().length) {\n event.preventDefault();\n this.removeAt(this.values().length - 1);\n }\n }\n\n onBlur(): void {\n if (this.addOnBlur() && this.text().trim()) {\n this.addAll([this.text()]);\n this.setText('');\n }\n this.markTouched();\n }\n\n onHostClick(event: MouseEvent): void {\n if (!(event.target as HTMLElement).closest('button')) {\n this.field().nativeElement.focus();\n }\n }\n\n removeAt(index: number): void {\n if (this.disabled() || this.readonly()) {\n return;\n }\n const value = this.values()[index];\n const values = this.values().filter((_, position) => position !== index);\n this.updateValue(values);\n this.removed.emit({ value, values });\n this.field().nativeElement.focus();\n }\n\n clear(): void {\n this.updateValue([]);\n this.setText('');\n this.field().nativeElement.focus();\n }\n\n add(value: string | readonly string[]): void {\n if (this.disabled() || this.readonly()) {\n return;\n }\n this.addAll(typeof value === 'string' ? [value] : [...value]);\n }\n\n clearText(): void {\n this.setText('');\n }\n\n private addAll(parts: string[]): void {\n let values = this.values();\n for (const part of parts.map((item) => item.trim()).filter(Boolean)) {\n const value = this.maxLength() ? part.slice(0, this.maxLength()) : part;\n const duplicate = values.some((item) => (this.caseSensitive() ? item === value : item.toLowerCase() === value.toLowerCase()));\n const max = this.max();\n const full = max !== undefined && values.length >= max;\n const invalidPattern = !!this.itemPattern() && !this.itemPattern()?.test(value);\n if ((duplicate && !this.allowDuplicate()) || full || invalidPattern) {\n this.rejected.emit({ value, values });\n continue;\n }\n values = [...values, value];\n this.updateValue(values);\n this.added.emit({ value, values });\n }\n }\n\n private setText(text: string): void {\n this.text.set(text);\n this.field().nativeElement.value = text;\n }\n}\n","<div class=\"tx-chips-input__box\">\n @if (values().length) {\n <span class=\"tx-chips-input__list\" role=\"list\" [class]=\"passThrough().list?.class\" [style]=\"passThrough().list?.style\">\n @for (item of values(); track $index) {\n <tx-chip\n role=\"listitem\"\n class=\"tx-chips-input__chip\"\n [class]=\"passThrough().chip?.class\"\n [style]=\"passThrough().chip?.style\"\n [removable]=\"!disabled() && !readonly()\"\n [removeIcon]=\"'times'\"\n [removeLabel]=\"removeLabel(item)\"\n (removed)=\"removeAt($index)\"\n >\n @if (itemTemplate(); as template) {\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" [ngTemplateOutletContext]=\"{ $implicit: item, index: $index }\" />\n } @else {\n {{ item }}\n }\n </tx-chip>\n }\n </span>\n }\n <input\n #field\n type=\"text\"\n autocomplete=\"off\"\n class=\"tx-chips-input__input\"\n [class]=\"passThrough().input?.class\"\n [style]=\"passThrough().input?.style\"\n [attr.id]=\"inputId() ?? null\"\n [attr.aria-label]=\"ariaLabel() ?? (ariaLabelledBy() || inputId() ? null : placeholder() || null)\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n [attr.aria-invalid]=\"isInvalid() || null\"\n [attr.maxlength]=\"maxLength() ?? null\"\n [value]=\"text()\"\n [placeholder]=\"values().length ? '' : placeholder()\"\n [readOnly]=\"readonly() || isFull()\"\n [disabled]=\"disabled()\"\n (input)=\"onInput($event)\"\n (paste)=\"onPaste($event)\"\n (keydown)=\"onKeydown($event)\"\n (blur)=\"onBlur()\"\n />\n @if (canClear()) {\n <button\n type=\"button\"\n class=\"tx-chips-input__clear\"\n [class]=\"passThrough().clear?.class\"\n [style]=\"passThrough().clear?.style\"\n [attr.aria-label]=\"translations().clear\"\n (click)=\"clear()\"\n >\n <tx-icon [name]=\"'times'\" />\n </button>\n }\n</div>\n"],"mappings":";;;;;;;;;;;AAIA,IAAa,2BAAb,MAAa,yBAAwB;CAC1B,cAAc,OAA6C,WAAW;CAE/E,OAAO,uBAAuB,YAAsC,SAAgB;EAClF,OAAO,CAAC,CAAC;CACX;CALW,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAwB,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAxB,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAwB,cAAA;EAAA,UAAA;EAAA,UAAA;CAAA,CAAA;;AAAxB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAwB,YAAA,CAAA;EADpC,MAAA;EAAU,MAAA,CAAA,EAAE,UAAU,gCAA+B,CAAE;;;ACDxD,MAAa,4BAAuC;CAClD,MAAM;CACN,MAAM;CACN,OAAO;AACR;ACJD,MAAa,oBAAoB;CAC/B,MAAM;CACN,YAAY;CACZ,OAAO;CACP,WAAW;AACZ;AC8CD,IAAa,eAAb,MAAa,qBAAqB,kBAA2B;CAC1C,kBAAkB,aAAa,iBAAiB;CAExD,cAAc,MAAc,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,cAAA,CAAA,+BAAA,CAAA,CAAA;CAC/B,YAAY,MAAuB,KAAI,GAAA,YAAA,CAAA,EAAA,WAAA,YAAA,CAAA,+BAAA,CAAA,CAAA;CACvC,YAAY,MAAwB,MAAI;EAAA,GAAA,YAAA,EAAA,WAAA,YAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CA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GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,WAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,MAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,GAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,YAAA;EAAA,CAAA;EAAA,OAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,OAAA;EAAA,CAAA;EAAA,SAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,SAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,UAAA;EAAA,CAAA;EAAA,cAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAAA,wBAAwB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,OAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CACK,SAAO,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA"}
|
|
@@ -410,7 +410,7 @@ var TxColorPicker = class TxColorPicker extends TxFormControlBase {
|
|
|
410
410
|
}
|
|
411
411
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
412
412
|
minVersion: "12.0.0",
|
|
413
|
-
version: "22.2.
|
|
413
|
+
version: "22.2.6",
|
|
414
414
|
ngImport: i0,
|
|
415
415
|
type: TxColorPicker,
|
|
416
416
|
deps: null,
|
|
@@ -418,7 +418,7 @@ var TxColorPicker = class TxColorPicker extends TxFormControlBase {
|
|
|
418
418
|
});
|
|
419
419
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
420
420
|
minVersion: "17.0.0",
|
|
421
|
-
version: "22.2.
|
|
421
|
+
version: "22.2.6",
|
|
422
422
|
type: TxColorPicker,
|
|
423
423
|
isStandalone: true,
|
|
424
424
|
selector: "tx-color-picker",
|
|
@@ -699,7 +699,7 @@ var TxColorPicker = class TxColorPicker extends TxFormControlBase {
|
|
|
699
699
|
};
|
|
700
700
|
i0.ɵɵngDeclareClassMetadata({
|
|
701
701
|
minVersion: "12.0.0",
|
|
702
|
-
version: "22.2.
|
|
702
|
+
version: "22.2.6",
|
|
703
703
|
ngImport: i0,
|
|
704
704
|
type: TxColorPicker,
|
|
705
705
|
decorators: [{
|
|
@@ -99,7 +99,7 @@ var TxColorSwatches = class TxColorSwatches extends TxFormControlBase {
|
|
|
99
99
|
}
|
|
100
100
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
101
101
|
minVersion: "12.0.0",
|
|
102
|
-
version: "22.2.
|
|
102
|
+
version: "22.2.6",
|
|
103
103
|
ngImport: i0,
|
|
104
104
|
type: TxColorSwatches,
|
|
105
105
|
deps: null,
|
|
@@ -107,7 +107,7 @@ var TxColorSwatches = class TxColorSwatches extends TxFormControlBase {
|
|
|
107
107
|
});
|
|
108
108
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
109
109
|
minVersion: "17.0.0",
|
|
110
|
-
version: "22.2.
|
|
110
|
+
version: "22.2.6",
|
|
111
111
|
type: TxColorSwatches,
|
|
112
112
|
isStandalone: true,
|
|
113
113
|
selector: "tx-color-swatches",
|
|
@@ -237,7 +237,7 @@ var TxColorSwatches = class TxColorSwatches extends TxFormControlBase {
|
|
|
237
237
|
};
|
|
238
238
|
i0.ɵɵngDeclareClassMetadata({
|
|
239
239
|
minVersion: "12.0.0",
|
|
240
|
-
version: "22.2.
|
|
240
|
+
version: "22.2.6",
|
|
241
241
|
ngImport: i0,
|
|
242
242
|
type: TxColorSwatches,
|
|
243
243
|
decorators: [{
|