@tectra-ng/ui 0.2.1 → 0.2.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.
- package/fesm2022/tectra-ng-ui-accordion.mjs +21 -21
- package/fesm2022/tectra-ng-ui-amount.mjs +3 -3
- package/fesm2022/tectra-ng-ui-analog-clock.mjs +6 -6
- package/fesm2022/tectra-ng-ui-autocomplete.mjs +3 -3
- package/fesm2022/tectra-ng-ui-avatar.mjs +629 -8
- package/fesm2022/tectra-ng-ui-avatar.mjs.map +1 -1
- 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 +3 -3
- 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 +6 -6
- package/fesm2022/tectra-ng-ui-color-picker.mjs +3 -3
- package/fesm2022/tectra-ng-ui-color-picker.mjs.map +1 -1
- 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 +3 -3
- package/fesm2022/tectra-ng-ui-country.mjs +3 -3
- package/fesm2022/tectra-ng-ui-data-view.mjs +30 -30
- package/fesm2022/tectra-ng-ui-datepicker.mjs +24 -24
- 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 +28 -28
- 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 +18 -18
- package/fesm2022/tectra-ng-ui-icon-field.mjs.map +1 -1
- 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 +3 -3
- package/fesm2022/tectra-ng-ui-input.mjs +6 -6
- package/fesm2022/tectra-ng-ui-key-filter.mjs +3 -3
- package/fesm2022/tectra-ng-ui-knob.mjs +6 -6
- package/fesm2022/tectra-ng-ui-label.mjs +9 -9
- package/fesm2022/tectra-ng-ui-link.mjs +10 -10
- package/fesm2022/tectra-ng-ui-link.mjs.map +1 -1
- 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 +15 -15
- 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 +9 -9
- package/fesm2022/tectra-ng-ui-panel-menu.mjs +6 -6
- package/fesm2022/tectra-ng-ui-panel.mjs +3 -3
- 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 +3 -3
- 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 +3 -3
- package/fesm2022/tectra-ng-ui-select.mjs +33 -33
- 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 +3 -3
- package/fesm2022/tectra-ng-ui-split-button.mjs +3 -3
- package/fesm2022/tectra-ng-ui-splitter.mjs +6 -6
- package/fesm2022/tectra-ng-ui-stat-tiles.mjs +6 -6
- package/fesm2022/tectra-ng-ui-status-icon.mjs +3 -3
- package/fesm2022/tectra-ng-ui-stepper.mjs +30 -30
- package/fesm2022/tectra-ng-ui-stepper.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-table.mjs +51 -51
- 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 +398 -9
- package/fesm2022/tectra-ng-ui-tag.mjs.map +1 -1
- 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 +3 -3
- 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 +3 -3
- package/fesm2022/tectra-ng-ui-tree-select.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tree-table.mjs +3 -3
- package/fesm2022/tectra-ng-ui-tree.mjs +30 -30
- package/fesm2022/tectra-ng-ui-truncate-text.mjs +7 -7
- package/fesm2022/tectra-ng-ui-truncate-text.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-virtual-scroller.mjs +15 -15
- package/package.json +4 -4
- package/types/tectra-ng-ui-accordion.d.ts +1 -3
- package/types/tectra-ng-ui-accordion.d.ts.map +1 -1
- package/types/tectra-ng-ui-avatar.d.ts +260 -0
- package/types/tectra-ng-ui-avatar.d.ts.map +1 -1
- package/types/tectra-ng-ui-confirm.d.ts +0 -1
- package/types/tectra-ng-ui-confirm.d.ts.map +1 -1
- package/types/tectra-ng-ui-export-font.d.ts.map +1 -1
- package/types/tectra-ng-ui-export.d.ts +0 -5
- package/types/tectra-ng-ui-export.d.ts.map +1 -1
- package/types/tectra-ng-ui-tabs.d.ts +1 -2
- package/types/tectra-ng-ui-tabs.d.ts.map +1 -1
- package/types/tectra-ng-ui-tag.d.ts +168 -0
- package/types/tectra-ng-ui-tag.d.ts.map +1 -1
- package/types/tectra-ng-ui-tree-select.d.ts.map +1 -1
|
@@ -16,7 +16,7 @@ var TxImageIndicatorTemplate = class TxImageIndicatorTemplate {
|
|
|
16
16
|
}
|
|
17
17
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
18
18
|
minVersion: "12.0.0",
|
|
19
|
-
version: "22.2.
|
|
19
|
+
version: "22.2.5",
|
|
20
20
|
ngImport: i0,
|
|
21
21
|
type: TxImageIndicatorTemplate,
|
|
22
22
|
deps: [],
|
|
@@ -24,7 +24,7 @@ var TxImageIndicatorTemplate = class TxImageIndicatorTemplate {
|
|
|
24
24
|
});
|
|
25
25
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
26
26
|
minVersion: "14.0.0",
|
|
27
|
-
version: "22.2.
|
|
27
|
+
version: "22.2.5",
|
|
28
28
|
type: TxImageIndicatorTemplate,
|
|
29
29
|
isStandalone: true,
|
|
30
30
|
selector: "ng-template[txImageIndicator]",
|
|
@@ -33,7 +33,7 @@ var TxImageIndicatorTemplate = class TxImageIndicatorTemplate {
|
|
|
33
33
|
};
|
|
34
34
|
i0.ɵɵngDeclareClassMetadata({
|
|
35
35
|
minVersion: "12.0.0",
|
|
36
|
-
version: "22.2.
|
|
36
|
+
version: "22.2.5",
|
|
37
37
|
ngImport: i0,
|
|
38
38
|
type: TxImageIndicatorTemplate,
|
|
39
39
|
decorators: [{
|
|
@@ -48,7 +48,7 @@ var TxImagePreviewTemplate = class TxImagePreviewTemplate {
|
|
|
48
48
|
}
|
|
49
49
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
50
50
|
minVersion: "12.0.0",
|
|
51
|
-
version: "22.2.
|
|
51
|
+
version: "22.2.5",
|
|
52
52
|
ngImport: i0,
|
|
53
53
|
type: TxImagePreviewTemplate,
|
|
54
54
|
deps: [],
|
|
@@ -56,7 +56,7 @@ var TxImagePreviewTemplate = class TxImagePreviewTemplate {
|
|
|
56
56
|
});
|
|
57
57
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
58
58
|
minVersion: "14.0.0",
|
|
59
|
-
version: "22.2.
|
|
59
|
+
version: "22.2.5",
|
|
60
60
|
type: TxImagePreviewTemplate,
|
|
61
61
|
isStandalone: true,
|
|
62
62
|
selector: "ng-template[txImagePreview]",
|
|
@@ -65,7 +65,7 @@ var TxImagePreviewTemplate = class TxImagePreviewTemplate {
|
|
|
65
65
|
};
|
|
66
66
|
i0.ɵɵngDeclareClassMetadata({
|
|
67
67
|
minVersion: "12.0.0",
|
|
68
|
-
version: "22.2.
|
|
68
|
+
version: "22.2.5",
|
|
69
69
|
ngImport: i0,
|
|
70
70
|
type: TxImagePreviewTemplate,
|
|
71
71
|
decorators: [{
|
|
@@ -333,7 +333,7 @@ var TxImage = class TxImage {
|
|
|
333
333
|
}
|
|
334
334
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
335
335
|
minVersion: "12.0.0",
|
|
336
|
-
version: "22.2.
|
|
336
|
+
version: "22.2.5",
|
|
337
337
|
ngImport: i0,
|
|
338
338
|
type: TxImage,
|
|
339
339
|
deps: [],
|
|
@@ -341,7 +341,7 @@ var TxImage = class TxImage {
|
|
|
341
341
|
});
|
|
342
342
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
343
343
|
minVersion: "17.0.0",
|
|
344
|
-
version: "22.2.
|
|
344
|
+
version: "22.2.5",
|
|
345
345
|
type: TxImage,
|
|
346
346
|
isStandalone: true,
|
|
347
347
|
selector: "tx-image",
|
|
@@ -545,7 +545,7 @@ var TxImage = class TxImage {
|
|
|
545
545
|
};
|
|
546
546
|
i0.ɵɵngDeclareClassMetadata({
|
|
547
547
|
minVersion: "12.0.0",
|
|
548
|
-
version: "22.2.
|
|
548
|
+
version: "22.2.5",
|
|
549
549
|
ngImport: i0,
|
|
550
550
|
type: TxImage,
|
|
551
551
|
decorators: [{
|
|
@@ -10,7 +10,7 @@ var TxInputGroup = class TxInputGroup {
|
|
|
10
10
|
isFluid = injectFluid(this.fluid);
|
|
11
11
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
12
12
|
minVersion: "12.0.0",
|
|
13
|
-
version: "22.2.
|
|
13
|
+
version: "22.2.5",
|
|
14
14
|
ngImport: i0,
|
|
15
15
|
type: TxInputGroup,
|
|
16
16
|
deps: [],
|
|
@@ -18,7 +18,7 @@ var TxInputGroup = class TxInputGroup {
|
|
|
18
18
|
});
|
|
19
19
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
20
20
|
minVersion: "17.1.0",
|
|
21
|
-
version: "22.2.
|
|
21
|
+
version: "22.2.5",
|
|
22
22
|
type: TxInputGroup,
|
|
23
23
|
isStandalone: true,
|
|
24
24
|
selector: "tx-input-group",
|
|
@@ -43,7 +43,7 @@ var TxInputGroup = class TxInputGroup {
|
|
|
43
43
|
};
|
|
44
44
|
i0.ɵɵngDeclareClassMetadata({
|
|
45
45
|
minVersion: "12.0.0",
|
|
46
|
-
version: "22.2.
|
|
46
|
+
version: "22.2.5",
|
|
47
47
|
ngImport: i0,
|
|
48
48
|
type: TxInputGroup,
|
|
49
49
|
decorators: [{
|
|
@@ -72,7 +72,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
72
72
|
var TxInputGroupAddon = class TxInputGroupAddon {
|
|
73
73
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
74
74
|
minVersion: "12.0.0",
|
|
75
|
-
version: "22.2.
|
|
75
|
+
version: "22.2.5",
|
|
76
76
|
ngImport: i0,
|
|
77
77
|
type: TxInputGroupAddon,
|
|
78
78
|
deps: [],
|
|
@@ -80,7 +80,7 @@ var TxInputGroupAddon = class TxInputGroupAddon {
|
|
|
80
80
|
});
|
|
81
81
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
82
82
|
minVersion: "14.0.0",
|
|
83
|
-
version: "22.2.
|
|
83
|
+
version: "22.2.5",
|
|
84
84
|
type: TxInputGroupAddon,
|
|
85
85
|
isStandalone: true,
|
|
86
86
|
selector: "tx-input-group-addon",
|
|
@@ -94,7 +94,7 @@ var TxInputGroupAddon = class TxInputGroupAddon {
|
|
|
94
94
|
};
|
|
95
95
|
i0.ɵɵngDeclareClassMetadata({
|
|
96
96
|
minVersion: "12.0.0",
|
|
97
|
-
version: "22.2.
|
|
97
|
+
version: "22.2.5",
|
|
98
98
|
ngImport: i0,
|
|
99
99
|
type: TxInputGroupAddon,
|
|
100
100
|
decorators: [{
|
|
@@ -266,7 +266,7 @@ var TxInputMask = class TxInputMask {
|
|
|
266
266
|
}
|
|
267
267
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
268
268
|
minVersion: "12.0.0",
|
|
269
|
-
version: "22.2.
|
|
269
|
+
version: "22.2.5",
|
|
270
270
|
ngImport: i0,
|
|
271
271
|
type: TxInputMask,
|
|
272
272
|
deps: [],
|
|
@@ -274,7 +274,7 @@ var TxInputMask = class TxInputMask {
|
|
|
274
274
|
});
|
|
275
275
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
276
276
|
minVersion: "17.1.0",
|
|
277
|
-
version: "22.2.
|
|
277
|
+
version: "22.2.5",
|
|
278
278
|
type: TxInputMask,
|
|
279
279
|
isStandalone: true,
|
|
280
280
|
selector: "input[txInputMask]",
|
|
@@ -337,7 +337,7 @@ var TxInputMask = class TxInputMask {
|
|
|
337
337
|
};
|
|
338
338
|
i0.ɵɵngDeclareClassMetadata({
|
|
339
339
|
minVersion: "12.0.0",
|
|
340
|
-
version: "22.2.
|
|
340
|
+
version: "22.2.5",
|
|
341
341
|
ngImport: i0,
|
|
342
342
|
type: TxInputMask,
|
|
343
343
|
decorators: [{
|
|
@@ -375,7 +375,7 @@ var TxInputNumber = class TxInputNumber extends TxFormControlBase {
|
|
|
375
375
|
}
|
|
376
376
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
377
377
|
minVersion: "12.0.0",
|
|
378
|
-
version: "22.2.
|
|
378
|
+
version: "22.2.5",
|
|
379
379
|
ngImport: i0,
|
|
380
380
|
type: TxInputNumber,
|
|
381
381
|
deps: [],
|
|
@@ -383,7 +383,7 @@ var TxInputNumber = class TxInputNumber extends TxFormControlBase {
|
|
|
383
383
|
});
|
|
384
384
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
385
385
|
minVersion: "17.0.0",
|
|
386
|
-
version: "22.2.
|
|
386
|
+
version: "22.2.5",
|
|
387
387
|
type: TxInputNumber,
|
|
388
388
|
isStandalone: true,
|
|
389
389
|
selector: "tx-input-number",
|
|
@@ -706,7 +706,7 @@ var TxInputNumber = class TxInputNumber extends TxFormControlBase {
|
|
|
706
706
|
};
|
|
707
707
|
i0.ɵɵngDeclareClassMetadata({
|
|
708
708
|
minVersion: "12.0.0",
|
|
709
|
-
version: "22.2.
|
|
709
|
+
version: "22.2.5",
|
|
710
710
|
ngImport: i0,
|
|
711
711
|
type: TxInputNumber,
|
|
712
712
|
decorators: [{
|
|
@@ -172,7 +172,7 @@ var TxInputOtp = class TxInputOtp extends TxFormControlBase {
|
|
|
172
172
|
}
|
|
173
173
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
174
174
|
minVersion: "12.0.0",
|
|
175
|
-
version: "22.2.
|
|
175
|
+
version: "22.2.5",
|
|
176
176
|
ngImport: i0,
|
|
177
177
|
type: TxInputOtp,
|
|
178
178
|
deps: [],
|
|
@@ -180,7 +180,7 @@ var TxInputOtp = class TxInputOtp extends TxFormControlBase {
|
|
|
180
180
|
});
|
|
181
181
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
182
182
|
minVersion: "17.0.0",
|
|
183
|
-
version: "22.2.
|
|
183
|
+
version: "22.2.5",
|
|
184
184
|
type: TxInputOtp,
|
|
185
185
|
isStandalone: true,
|
|
186
186
|
selector: "tx-input-otp",
|
|
@@ -362,7 +362,7 @@ var TxInputOtp = class TxInputOtp extends TxFormControlBase {
|
|
|
362
362
|
};
|
|
363
363
|
i0.ɵɵngDeclareClassMetadata({
|
|
364
364
|
minVersion: "12.0.0",
|
|
365
|
-
version: "22.2.
|
|
365
|
+
version: "22.2.5",
|
|
366
366
|
ngImport: i0,
|
|
367
367
|
type: TxInputOtp,
|
|
368
368
|
decorators: [{
|
|
@@ -9,7 +9,7 @@ import { toStyleObject } from "@tectra-ng/themes";
|
|
|
9
9
|
var TxInputStyles = class TxInputStyles {
|
|
10
10
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
11
11
|
minVersion: "12.0.0",
|
|
12
|
-
version: "22.2.
|
|
12
|
+
version: "22.2.5",
|
|
13
13
|
ngImport: i0,
|
|
14
14
|
type: TxInputStyles,
|
|
15
15
|
deps: [],
|
|
@@ -17,7 +17,7 @@ var TxInputStyles = class TxInputStyles {
|
|
|
17
17
|
});
|
|
18
18
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
19
19
|
minVersion: "14.0.0",
|
|
20
|
-
version: "22.2.
|
|
20
|
+
version: "22.2.5",
|
|
21
21
|
type: TxInputStyles,
|
|
22
22
|
isStandalone: true,
|
|
23
23
|
selector: "tx-input-styles",
|
|
@@ -31,7 +31,7 @@ var TxInputStyles = class TxInputStyles {
|
|
|
31
31
|
};
|
|
32
32
|
i0.ɵɵngDeclareClassMetadata({
|
|
33
33
|
minVersion: "12.0.0",
|
|
34
|
-
version: "22.2.
|
|
34
|
+
version: "22.2.5",
|
|
35
35
|
ngImport: i0,
|
|
36
36
|
type: TxInputStyles,
|
|
37
37
|
decorators: [{
|
|
@@ -77,7 +77,7 @@ var TxInput = class TxInput {
|
|
|
77
77
|
}
|
|
78
78
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
79
79
|
minVersion: "12.0.0",
|
|
80
|
-
version: "22.2.
|
|
80
|
+
version: "22.2.5",
|
|
81
81
|
ngImport: i0,
|
|
82
82
|
type: TxInput,
|
|
83
83
|
deps: [],
|
|
@@ -85,7 +85,7 @@ var TxInput = class TxInput {
|
|
|
85
85
|
});
|
|
86
86
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
87
87
|
minVersion: "17.1.0",
|
|
88
|
-
version: "22.2.
|
|
88
|
+
version: "22.2.5",
|
|
89
89
|
type: TxInput,
|
|
90
90
|
isStandalone: true,
|
|
91
91
|
selector: "input[txInput], textarea[txInput]",
|
|
@@ -166,7 +166,7 @@ var TxInput = class TxInput {
|
|
|
166
166
|
};
|
|
167
167
|
i0.ɵɵngDeclareClassMetadata({
|
|
168
168
|
minVersion: "12.0.0",
|
|
169
|
-
version: "22.2.
|
|
169
|
+
version: "22.2.5",
|
|
170
170
|
ngImport: i0,
|
|
171
171
|
type: TxInput,
|
|
172
172
|
decorators: [{
|
|
@@ -84,7 +84,7 @@ var TxKeyFilter = class TxKeyFilter {
|
|
|
84
84
|
}
|
|
85
85
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
86
86
|
minVersion: "12.0.0",
|
|
87
|
-
version: "22.2.
|
|
87
|
+
version: "22.2.5",
|
|
88
88
|
ngImport: i0,
|
|
89
89
|
type: TxKeyFilter,
|
|
90
90
|
deps: [],
|
|
@@ -92,7 +92,7 @@ var TxKeyFilter = class TxKeyFilter {
|
|
|
92
92
|
});
|
|
93
93
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
94
94
|
minVersion: "17.1.0",
|
|
95
|
-
version: "22.2.
|
|
95
|
+
version: "22.2.5",
|
|
96
96
|
type: TxKeyFilter,
|
|
97
97
|
isStandalone: true,
|
|
98
98
|
selector: "input[txKeyFilter], textarea[txKeyFilter]",
|
|
@@ -134,7 +134,7 @@ var TxKeyFilter = class TxKeyFilter {
|
|
|
134
134
|
};
|
|
135
135
|
i0.ɵɵngDeclareClassMetadata({
|
|
136
136
|
minVersion: "12.0.0",
|
|
137
|
-
version: "22.2.
|
|
137
|
+
version: "22.2.5",
|
|
138
138
|
ngImport: i0,
|
|
139
139
|
type: TxKeyFilter,
|
|
140
140
|
decorators: [{
|
|
@@ -11,7 +11,7 @@ var TxKnobValueTemplate = class TxKnobValueTemplate {
|
|
|
11
11
|
templateRef = inject(TemplateRef);
|
|
12
12
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
13
13
|
minVersion: "12.0.0",
|
|
14
|
-
version: "22.2.
|
|
14
|
+
version: "22.2.5",
|
|
15
15
|
ngImport: i0,
|
|
16
16
|
type: TxKnobValueTemplate,
|
|
17
17
|
deps: [],
|
|
@@ -19,7 +19,7 @@ var TxKnobValueTemplate = class TxKnobValueTemplate {
|
|
|
19
19
|
});
|
|
20
20
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
21
21
|
minVersion: "14.0.0",
|
|
22
|
-
version: "22.2.
|
|
22
|
+
version: "22.2.5",
|
|
23
23
|
type: TxKnobValueTemplate,
|
|
24
24
|
isStandalone: true,
|
|
25
25
|
selector: "ng-template[txKnobValue]",
|
|
@@ -28,7 +28,7 @@ var TxKnobValueTemplate = class TxKnobValueTemplate {
|
|
|
28
28
|
};
|
|
29
29
|
i0.ɵɵngDeclareClassMetadata({
|
|
30
30
|
minVersion: "12.0.0",
|
|
31
|
-
version: "22.2.
|
|
31
|
+
version: "22.2.5",
|
|
32
32
|
ngImport: i0,
|
|
33
33
|
type: TxKnobValueTemplate,
|
|
34
34
|
decorators: [{
|
|
@@ -211,7 +211,7 @@ var TxKnob = class TxKnob extends TxFormControlBase {
|
|
|
211
211
|
}
|
|
212
212
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
213
213
|
minVersion: "12.0.0",
|
|
214
|
-
version: "22.2.
|
|
214
|
+
version: "22.2.5",
|
|
215
215
|
ngImport: i0,
|
|
216
216
|
type: TxKnob,
|
|
217
217
|
deps: null,
|
|
@@ -219,7 +219,7 @@ var TxKnob = class TxKnob extends TxFormControlBase {
|
|
|
219
219
|
});
|
|
220
220
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
221
221
|
minVersion: "17.0.0",
|
|
222
|
-
version: "22.2.
|
|
222
|
+
version: "22.2.5",
|
|
223
223
|
type: TxKnob,
|
|
224
224
|
isStandalone: true,
|
|
225
225
|
selector: "tx-knob",
|
|
@@ -417,7 +417,7 @@ var TxKnob = class TxKnob extends TxFormControlBase {
|
|
|
417
417
|
};
|
|
418
418
|
i0.ɵɵngDeclareClassMetadata({
|
|
419
419
|
minVersion: "12.0.0",
|
|
420
|
-
version: "22.2.
|
|
420
|
+
version: "22.2.5",
|
|
421
421
|
ngImport: i0,
|
|
422
422
|
type: TxKnob,
|
|
423
423
|
decorators: [{
|
|
@@ -18,7 +18,7 @@ var TxLabel = class TxLabel {
|
|
|
18
18
|
tooltip = input(void 0, ...ngDevMode ? [{ debugName: "tooltip" }] : /* istanbul ignore next */ []);
|
|
19
19
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
20
20
|
minVersion: "12.0.0",
|
|
21
|
-
version: "22.2.
|
|
21
|
+
version: "22.2.5",
|
|
22
22
|
ngImport: i0,
|
|
23
23
|
type: TxLabel,
|
|
24
24
|
deps: [],
|
|
@@ -26,7 +26,7 @@ var TxLabel = class TxLabel {
|
|
|
26
26
|
});
|
|
27
27
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
28
28
|
minVersion: "17.0.0",
|
|
29
|
-
version: "22.2.
|
|
29
|
+
version: "22.2.5",
|
|
30
30
|
type: TxLabel,
|
|
31
31
|
isStandalone: true,
|
|
32
32
|
selector: "tx-label",
|
|
@@ -96,7 +96,7 @@ var TxLabel = class TxLabel {
|
|
|
96
96
|
};
|
|
97
97
|
i0.ɵɵngDeclareClassMetadata({
|
|
98
98
|
minVersion: "12.0.0",
|
|
99
|
-
version: "22.2.
|
|
99
|
+
version: "22.2.5",
|
|
100
100
|
ngImport: i0,
|
|
101
101
|
type: TxLabel,
|
|
102
102
|
decorators: [{
|
|
@@ -170,7 +170,7 @@ var TxFloatLabel = class TxFloatLabel {
|
|
|
170
170
|
variant = input("over", ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
|
|
171
171
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
172
172
|
minVersion: "12.0.0",
|
|
173
|
-
version: "22.2.
|
|
173
|
+
version: "22.2.5",
|
|
174
174
|
ngImport: i0,
|
|
175
175
|
type: TxFloatLabel,
|
|
176
176
|
deps: [],
|
|
@@ -178,7 +178,7 @@ var TxFloatLabel = class TxFloatLabel {
|
|
|
178
178
|
});
|
|
179
179
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
180
180
|
minVersion: "17.1.0",
|
|
181
|
-
version: "22.2.
|
|
181
|
+
version: "22.2.5",
|
|
182
182
|
type: TxFloatLabel,
|
|
183
183
|
isStandalone: true,
|
|
184
184
|
selector: "tx-float-label",
|
|
@@ -202,7 +202,7 @@ var TxFloatLabel = class TxFloatLabel {
|
|
|
202
202
|
};
|
|
203
203
|
i0.ɵɵngDeclareClassMetadata({
|
|
204
204
|
minVersion: "12.0.0",
|
|
205
|
-
version: "22.2.
|
|
205
|
+
version: "22.2.5",
|
|
206
206
|
ngImport: i0,
|
|
207
207
|
type: TxFloatLabel,
|
|
208
208
|
decorators: [{
|
|
@@ -230,7 +230,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
230
230
|
var TxIftaLabel = class TxIftaLabel {
|
|
231
231
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
232
232
|
minVersion: "12.0.0",
|
|
233
|
-
version: "22.2.
|
|
233
|
+
version: "22.2.5",
|
|
234
234
|
ngImport: i0,
|
|
235
235
|
type: TxIftaLabel,
|
|
236
236
|
deps: [],
|
|
@@ -238,7 +238,7 @@ var TxIftaLabel = class TxIftaLabel {
|
|
|
238
238
|
});
|
|
239
239
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
240
240
|
minVersion: "14.0.0",
|
|
241
|
-
version: "22.2.
|
|
241
|
+
version: "22.2.5",
|
|
242
242
|
type: TxIftaLabel,
|
|
243
243
|
isStandalone: true,
|
|
244
244
|
selector: "tx-ifta-label",
|
|
@@ -252,7 +252,7 @@ var TxIftaLabel = class TxIftaLabel {
|
|
|
252
252
|
};
|
|
253
253
|
i0.ɵɵngDeclareClassMetadata({
|
|
254
254
|
minVersion: "12.0.0",
|
|
255
|
-
version: "22.2.
|
|
255
|
+
version: "22.2.5",
|
|
256
256
|
ngImport: i0,
|
|
257
257
|
type: TxIftaLabel,
|
|
258
258
|
decorators: [{
|
|
@@ -41,7 +41,7 @@ var TxIconLink = class TxIconLink {
|
|
|
41
41
|
}), ...ngDevMode ? [{ debugName: "hostStyle" }] : /* istanbul ignore next */ []);
|
|
42
42
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
43
43
|
minVersion: "12.0.0",
|
|
44
|
-
version: "22.2.
|
|
44
|
+
version: "22.2.5",
|
|
45
45
|
ngImport: i0,
|
|
46
46
|
type: TxIconLink,
|
|
47
47
|
deps: [],
|
|
@@ -49,7 +49,7 @@ var TxIconLink = class TxIconLink {
|
|
|
49
49
|
});
|
|
50
50
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
51
51
|
minVersion: "17.0.0",
|
|
52
|
-
version: "22.2.
|
|
52
|
+
version: "22.2.5",
|
|
53
53
|
type: TxIconLink,
|
|
54
54
|
isStandalone: true,
|
|
55
55
|
selector: "tx-icon-link",
|
|
@@ -196,7 +196,7 @@ var TxIconLink = class TxIconLink {
|
|
|
196
196
|
};
|
|
197
197
|
i0.ɵɵngDeclareClassMetadata({
|
|
198
198
|
minVersion: "12.0.0",
|
|
199
|
-
version: "22.2.
|
|
199
|
+
version: "22.2.5",
|
|
200
200
|
ngImport: i0,
|
|
201
201
|
type: TxIconLink,
|
|
202
202
|
decorators: [{
|
|
@@ -383,7 +383,7 @@ var TxLink = class TxLink {
|
|
|
383
383
|
}
|
|
384
384
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
385
385
|
minVersion: "12.0.0",
|
|
386
|
-
version: "22.2.
|
|
386
|
+
version: "22.2.5",
|
|
387
387
|
ngImport: i0,
|
|
388
388
|
type: TxLink,
|
|
389
389
|
deps: [],
|
|
@@ -391,7 +391,7 @@ var TxLink = class TxLink {
|
|
|
391
391
|
});
|
|
392
392
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
393
393
|
minVersion: "17.0.0",
|
|
394
|
-
version: "22.2.
|
|
394
|
+
version: "22.2.5",
|
|
395
395
|
type: TxLink,
|
|
396
396
|
isStandalone: true,
|
|
397
397
|
selector: "tx-link",
|
|
@@ -499,8 +499,8 @@ var TxLink = class TxLink {
|
|
|
499
499
|
classAttribute: "tx-link"
|
|
500
500
|
},
|
|
501
501
|
ngImport: i0,
|
|
502
|
-
template: "<ng-template #content>\n <span class=\"tx-link__text\" [class]=\"passThrough().text?.class\" [style]=\"passThrough().text?.style\">\n <tx-highlight-text [text]=\"displayText()\" [highlight]=\"highlight()\" />\n </span>\n @if (showExternal()) {\n <tx-icon class=\"tx-link__external\" name=\"arrow-up-right\" [class]=\"passThrough().external?.class\" [style]=\"passThrough().external?.style\" />\n }\n @if (opensNewTab()) {\n <span class=\"tx-link__hint\">({{ translations().opensInNewTab }})</span>\n }\n</ng-template>\n\n@if (routerLink(); as commands) {\n <a class=\"tx-link__anchor\" [routerLink]=\"$any(commands)\" [attr.title]=\"fullTitle()\" [class]=\"passThrough().anchor?.class\" [style]=\"passThrough().anchor?.style\">\n <ng-container [ngTemplateOutlet]=\"content\" />\n </a>\n} @else {\n <a\n class=\"tx-link__anchor\"\n [href]=\"href()\"\n [attr.target]=\"resolvedTarget()\"\n [attr.rel]=\"opensNewTab() ? 'noopener noreferrer' : null\"\n [attr.title]=\"fullTitle()\"\n [class]=\"passThrough().anchor?.class\"\n [style]=\"passThrough().anchor?.style\"\n >\n <ng-container [ngTemplateOutlet]=\"content\" />\n </a>\n}\n@if (copyable() && link()) {\n <button\n type=\"button\"\n class=\"tx-link__copy\"\n [class.tx-link__copy--done]=\"isCopied()\"\n [class]=\"passThrough().copy?.class\"\n [style]=\"passThrough().copy?.style\"\n [attr.aria-label]=\"isCopied() ? translations().copied : copyLabel()\"\n [title]=\"isCopied() ? translations().copied : copyLabel()\"\n (click)=\"copy()\"\n >\n <tx-
|
|
503
|
-
styles: [":host{display:inline-flex;align-items:center;max-width:100%;min-width:0;vertical-align:bottom}.tx-link__anchor{min-width:0;overflow-wrap:anywhere}.tx-link__hint{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}:host([data-styled]){gap:var(--tx-link-gap);font-family:inherit}:host([data-styled]) .tx-link__anchor{border-radius:2px;color:var(--tx-link-color);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:var(--tx-link-underline-offset);cursor:pointer;transition:color var(--tx-motion-duration) var(--tx-motion-easing),text-decoration-color var(--tx-motion-duration) var(--tx-motion-easing)}:host([data-styled]) .tx-link__anchor:hover{color:var(--tx-link-hover-color);text-decoration-color:currentColor}:host([data-styled]) .tx-link__anchor:focus-visible{outline:2px solid var(--tx-link-focus-ring-color);outline-offset:2px}:host([data-styled]) .tx-link__external{margin-inline-start:.25em;vertical-align:-.05em;font-size:var(--tx-link-external-icon-size);opacity:.7}:host([data-styled]) .tx-link__copy{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:var(--tx-link-copy-size);height:var(--tx-link-copy-size);padding:0;border:none;border-radius:var(--tx-radius-sm);background:transparent;color:var(--tx-link-copy-color);font-size:var(--tx-link-copy-icon-size);cursor:pointer;transition:color var(--tx-motion-duration),background-color var(--tx-motion-duration)}:host([data-styled]) .tx-link__copy:hover{background:var(--tx-link-copy-hover-background);color:var(--tx-link-copy-hover-color)}:host([data-styled]) .tx-link__copy:focus-visible{outline:2px solid var(--tx-link-focus-ring-color);outline-offset:1px}:host([data-styled]) .tx-link__copy--done,:host([data-styled]) .tx-link__copy--done:hover{color:var(--tx-link-copied-color)}@media(prefers-reduced-motion:reduce){:host([data-styled]) .tx-link__copy{transition:none}}\n"],
|
|
502
|
+
template: "<ng-template #content>\n <span class=\"tx-link__text\" [class]=\"passThrough().text?.class\" [style]=\"passThrough().text?.style\">\n <tx-highlight-text [text]=\"displayText()\" [highlight]=\"highlight()\" />\n </span>\n @if (showExternal()) {\n <tx-icon class=\"tx-link__external\" name=\"arrow-up-right\" [class]=\"passThrough().external?.class\" [style]=\"passThrough().external?.style\" />\n }\n @if (opensNewTab()) {\n <span class=\"tx-link__hint\">({{ translations().opensInNewTab }})</span>\n }\n</ng-template>\n\n@if (routerLink(); as commands) {\n <a class=\"tx-link__anchor\" [routerLink]=\"$any(commands)\" [attr.title]=\"fullTitle()\" [class]=\"passThrough().anchor?.class\" [style]=\"passThrough().anchor?.style\">\n <ng-container [ngTemplateOutlet]=\"content\" />\n </a>\n} @else {\n <a\n class=\"tx-link__anchor\"\n [href]=\"href()\"\n [attr.target]=\"resolvedTarget()\"\n [attr.rel]=\"opensNewTab() ? 'noopener noreferrer' : null\"\n [attr.title]=\"fullTitle()\"\n [class]=\"passThrough().anchor?.class\"\n [style]=\"passThrough().anchor?.style\"\n >\n <ng-container [ngTemplateOutlet]=\"content\" />\n </a>\n}\n@if (copyable() && link()) {\n <button\n type=\"button\"\n class=\"tx-link__copy\"\n [class.tx-link__copy--done]=\"isCopied()\"\n [class]=\"passThrough().copy?.class\"\n [style]=\"passThrough().copy?.style\"\n [attr.aria-label]=\"isCopied() ? translations().copied : copyLabel()\"\n [title]=\"isCopied() ? translations().copied : copyLabel()\"\n (click)=\"copy()\"\n >\n <span class=\"tx-copy-swap\" [class.tx-copy-swap--done]=\"isCopied()\"><tx-icon class=\"tx-copy-swap__icon tx-copy-swap__icon--idle\" name=\"copy\" /><tx-icon class=\"tx-copy-swap__icon tx-copy-swap__icon--done\" name=\"check\" /></span>\n </button>\n}\n",
|
|
503
|
+
styles: [":host{display:inline-flex;align-items:center;max-width:100%;min-width:0;vertical-align:bottom}.tx-link__anchor{min-width:0;overflow-wrap:anywhere}.tx-link__hint{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}:host([data-styled]){gap:var(--tx-link-gap);font-family:inherit}:host([data-styled]) .tx-link__anchor{border-radius:2px;color:var(--tx-link-color);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:var(--tx-link-underline-offset);cursor:pointer;transition:color var(--tx-motion-duration) var(--tx-motion-easing),text-decoration-color var(--tx-motion-duration) var(--tx-motion-easing)}:host([data-styled]) .tx-link__anchor:hover{color:var(--tx-link-hover-color);text-decoration-color:currentColor}:host([data-styled]) .tx-link__anchor:focus-visible{outline:2px solid var(--tx-link-focus-ring-color);outline-offset:2px}:host([data-styled]) .tx-link__external{margin-inline-start:.25em;vertical-align:-.05em;font-size:var(--tx-link-external-icon-size);opacity:.7}:host([data-styled]) .tx-link__copy{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:var(--tx-link-copy-size);height:var(--tx-link-copy-size);padding:0;border:none;border-radius:var(--tx-radius-sm);background:transparent;color:var(--tx-link-copy-color);font-size:var(--tx-link-copy-icon-size);cursor:pointer;transition:color var(--tx-motion-duration),background-color var(--tx-motion-duration)}:host([data-styled]) .tx-link__copy:hover{background:var(--tx-link-copy-hover-background);color:var(--tx-link-copy-hover-color)}:host([data-styled]) .tx-link__copy:focus-visible{outline:2px solid var(--tx-link-focus-ring-color);outline-offset:1px}:host([data-styled]) .tx-link__copy--done,:host([data-styled]) .tx-link__copy--done:hover{color:var(--tx-link-copied-color)}@media(prefers-reduced-motion:reduce){:host([data-styled]) .tx-link__copy{transition:none}}.tx-copy-swap{display:inline-grid;place-items:center}.tx-copy-swap__icon{grid-area:1/1;transition:opacity var(--tx-motion-duration) ease,transform var(--tx-motion-duration) cubic-bezier(.34,1.56,.64,1)}.tx-copy-swap__icon--done{opacity:0;transform:scale(.4) rotate(-45deg)}.tx-copy-swap--done .tx-copy-swap__icon--idle{opacity:0;transform:scale(.4) rotate(45deg)}.tx-copy-swap--done .tx-copy-swap__icon--done{opacity:1;transform:none}@media(prefers-reduced-motion:reduce){.tx-copy-swap__icon{transition:none}}\n"],
|
|
504
504
|
dependencies: [
|
|
505
505
|
{
|
|
506
506
|
kind: "directive",
|
|
@@ -557,7 +557,7 @@ var TxLink = class TxLink {
|
|
|
557
557
|
};
|
|
558
558
|
i0.ɵɵngDeclareClassMetadata({
|
|
559
559
|
minVersion: "12.0.0",
|
|
560
|
-
version: "22.2.
|
|
560
|
+
version: "22.2.5",
|
|
561
561
|
ngImport: i0,
|
|
562
562
|
type: TxLink,
|
|
563
563
|
decorators: [{
|
|
@@ -578,8 +578,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
578
578
|
"[attr.data-styled]": "!isUnstyled() || null",
|
|
579
579
|
"[attr.data-type]": "type()"
|
|
580
580
|
},
|
|
581
|
-
template: "<ng-template #content>\n <span class=\"tx-link__text\" [class]=\"passThrough().text?.class\" [style]=\"passThrough().text?.style\">\n <tx-highlight-text [text]=\"displayText()\" [highlight]=\"highlight()\" />\n </span>\n @if (showExternal()) {\n <tx-icon class=\"tx-link__external\" name=\"arrow-up-right\" [class]=\"passThrough().external?.class\" [style]=\"passThrough().external?.style\" />\n }\n @if (opensNewTab()) {\n <span class=\"tx-link__hint\">({{ translations().opensInNewTab }})</span>\n }\n</ng-template>\n\n@if (routerLink(); as commands) {\n <a class=\"tx-link__anchor\" [routerLink]=\"$any(commands)\" [attr.title]=\"fullTitle()\" [class]=\"passThrough().anchor?.class\" [style]=\"passThrough().anchor?.style\">\n <ng-container [ngTemplateOutlet]=\"content\" />\n </a>\n} @else {\n <a\n class=\"tx-link__anchor\"\n [href]=\"href()\"\n [attr.target]=\"resolvedTarget()\"\n [attr.rel]=\"opensNewTab() ? 'noopener noreferrer' : null\"\n [attr.title]=\"fullTitle()\"\n [class]=\"passThrough().anchor?.class\"\n [style]=\"passThrough().anchor?.style\"\n >\n <ng-container [ngTemplateOutlet]=\"content\" />\n </a>\n}\n@if (copyable() && link()) {\n <button\n type=\"button\"\n class=\"tx-link__copy\"\n [class.tx-link__copy--done]=\"isCopied()\"\n [class]=\"passThrough().copy?.class\"\n [style]=\"passThrough().copy?.style\"\n [attr.aria-label]=\"isCopied() ? translations().copied : copyLabel()\"\n [title]=\"isCopied() ? translations().copied : copyLabel()\"\n (click)=\"copy()\"\n >\n <tx-
|
|
582
|
-
styles: [":host{display:inline-flex;align-items:center;max-width:100%;min-width:0;vertical-align:bottom}.tx-link__anchor{min-width:0;overflow-wrap:anywhere}.tx-link__hint{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}:host([data-styled]){gap:var(--tx-link-gap);font-family:inherit}:host([data-styled]) .tx-link__anchor{border-radius:2px;color:var(--tx-link-color);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:var(--tx-link-underline-offset);cursor:pointer;transition:color var(--tx-motion-duration) var(--tx-motion-easing),text-decoration-color var(--tx-motion-duration) var(--tx-motion-easing)}:host([data-styled]) .tx-link__anchor:hover{color:var(--tx-link-hover-color);text-decoration-color:currentColor}:host([data-styled]) .tx-link__anchor:focus-visible{outline:2px solid var(--tx-link-focus-ring-color);outline-offset:2px}:host([data-styled]) .tx-link__external{margin-inline-start:.25em;vertical-align:-.05em;font-size:var(--tx-link-external-icon-size);opacity:.7}:host([data-styled]) .tx-link__copy{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:var(--tx-link-copy-size);height:var(--tx-link-copy-size);padding:0;border:none;border-radius:var(--tx-radius-sm);background:transparent;color:var(--tx-link-copy-color);font-size:var(--tx-link-copy-icon-size);cursor:pointer;transition:color var(--tx-motion-duration),background-color var(--tx-motion-duration)}:host([data-styled]) .tx-link__copy:hover{background:var(--tx-link-copy-hover-background);color:var(--tx-link-copy-hover-color)}:host([data-styled]) .tx-link__copy:focus-visible{outline:2px solid var(--tx-link-focus-ring-color);outline-offset:1px}:host([data-styled]) .tx-link__copy--done,:host([data-styled]) .tx-link__copy--done:hover{color:var(--tx-link-copied-color)}@media(prefers-reduced-motion:reduce){:host([data-styled]) .tx-link__copy{transition:none}}\n"]
|
|
581
|
+
template: "<ng-template #content>\n <span class=\"tx-link__text\" [class]=\"passThrough().text?.class\" [style]=\"passThrough().text?.style\">\n <tx-highlight-text [text]=\"displayText()\" [highlight]=\"highlight()\" />\n </span>\n @if (showExternal()) {\n <tx-icon class=\"tx-link__external\" name=\"arrow-up-right\" [class]=\"passThrough().external?.class\" [style]=\"passThrough().external?.style\" />\n }\n @if (opensNewTab()) {\n <span class=\"tx-link__hint\">({{ translations().opensInNewTab }})</span>\n }\n</ng-template>\n\n@if (routerLink(); as commands) {\n <a class=\"tx-link__anchor\" [routerLink]=\"$any(commands)\" [attr.title]=\"fullTitle()\" [class]=\"passThrough().anchor?.class\" [style]=\"passThrough().anchor?.style\">\n <ng-container [ngTemplateOutlet]=\"content\" />\n </a>\n} @else {\n <a\n class=\"tx-link__anchor\"\n [href]=\"href()\"\n [attr.target]=\"resolvedTarget()\"\n [attr.rel]=\"opensNewTab() ? 'noopener noreferrer' : null\"\n [attr.title]=\"fullTitle()\"\n [class]=\"passThrough().anchor?.class\"\n [style]=\"passThrough().anchor?.style\"\n >\n <ng-container [ngTemplateOutlet]=\"content\" />\n </a>\n}\n@if (copyable() && link()) {\n <button\n type=\"button\"\n class=\"tx-link__copy\"\n [class.tx-link__copy--done]=\"isCopied()\"\n [class]=\"passThrough().copy?.class\"\n [style]=\"passThrough().copy?.style\"\n [attr.aria-label]=\"isCopied() ? translations().copied : copyLabel()\"\n [title]=\"isCopied() ? translations().copied : copyLabel()\"\n (click)=\"copy()\"\n >\n <span class=\"tx-copy-swap\" [class.tx-copy-swap--done]=\"isCopied()\"><tx-icon class=\"tx-copy-swap__icon tx-copy-swap__icon--idle\" name=\"copy\" /><tx-icon class=\"tx-copy-swap__icon tx-copy-swap__icon--done\" name=\"check\" /></span>\n </button>\n}\n",
|
|
582
|
+
styles: [":host{display:inline-flex;align-items:center;max-width:100%;min-width:0;vertical-align:bottom}.tx-link__anchor{min-width:0;overflow-wrap:anywhere}.tx-link__hint{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}:host([data-styled]){gap:var(--tx-link-gap);font-family:inherit}:host([data-styled]) .tx-link__anchor{border-radius:2px;color:var(--tx-link-color);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:var(--tx-link-underline-offset);cursor:pointer;transition:color var(--tx-motion-duration) var(--tx-motion-easing),text-decoration-color var(--tx-motion-duration) var(--tx-motion-easing)}:host([data-styled]) .tx-link__anchor:hover{color:var(--tx-link-hover-color);text-decoration-color:currentColor}:host([data-styled]) .tx-link__anchor:focus-visible{outline:2px solid var(--tx-link-focus-ring-color);outline-offset:2px}:host([data-styled]) .tx-link__external{margin-inline-start:.25em;vertical-align:-.05em;font-size:var(--tx-link-external-icon-size);opacity:.7}:host([data-styled]) .tx-link__copy{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:var(--tx-link-copy-size);height:var(--tx-link-copy-size);padding:0;border:none;border-radius:var(--tx-radius-sm);background:transparent;color:var(--tx-link-copy-color);font-size:var(--tx-link-copy-icon-size);cursor:pointer;transition:color var(--tx-motion-duration),background-color var(--tx-motion-duration)}:host([data-styled]) .tx-link__copy:hover{background:var(--tx-link-copy-hover-background);color:var(--tx-link-copy-hover-color)}:host([data-styled]) .tx-link__copy:focus-visible{outline:2px solid var(--tx-link-focus-ring-color);outline-offset:1px}:host([data-styled]) .tx-link__copy--done,:host([data-styled]) .tx-link__copy--done:hover{color:var(--tx-link-copied-color)}@media(prefers-reduced-motion:reduce){:host([data-styled]) .tx-link__copy{transition:none}}.tx-copy-swap{display:inline-grid;place-items:center}.tx-copy-swap__icon{grid-area:1/1;transition:opacity var(--tx-motion-duration) ease,transform var(--tx-motion-duration) cubic-bezier(.34,1.56,.64,1)}.tx-copy-swap__icon--done{opacity:0;transform:scale(.4) rotate(-45deg)}.tx-copy-swap--done .tx-copy-swap__icon--idle{opacity:0;transform:scale(.4) rotate(45deg)}.tx-copy-swap--done .tx-copy-swap__icon--done{opacity:1;transform:none}@media(prefers-reduced-motion:reduce){.tx-copy-swap__icon{transition:none}}\n"]
|
|
583
583
|
}]
|
|
584
584
|
}],
|
|
585
585
|
ctorParameters: () => [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-link.mjs","names":[],"sources":["../../../../packages/ui/link/src/icon-link.component.ts","../../../../packages/ui/link/src/icon-link.component.html","../../../../packages/ui/link/src/link.component.ts","../../../../packages/ui/link/src/link.component.html"],"sourcesContent":["import { NgClass, NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, booleanAttribute, computed, inject, input } from '@angular/core';\nimport { RouterLink, RouterLinkActive } from '@angular/router';\nimport { TxPassThrough, TxPassThroughOptions, injectPassThrough, injectUnstyled } from '@tectra-ng/core/config';\nimport { injectTranslations } from '@tectra-ng/core/i18n';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { TxIcon, TxIconName, TxIconRegistry } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraIconLinkTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxIconLinkPart, TxLinkCommands } from './link.types';\n\n@Component({\n selector: 'tx-icon-link',\n imports: [NgClass, NgTemplateOutlet, RouterLink, RouterLinkActive, TxIcon],\n templateUrl: './icon-link.component.html',\n styleUrl: './icon-link.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-icon-link',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n },\n})\nexport class TxIconLink {\n private txIconRegistry = inject(TxIconRegistry);\n\n readonly icon = input<TxIconName | (string & {}) | undefined>(undefined);\n readonly text = input<string>('');\n readonly routerLink = input<TxLinkCommands>(undefined);\n readonly href = input<string | null | undefined>(undefined);\n readonly target = input<string | undefined>(undefined);\n readonly exact = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly dt = input<TectraDeepPartial<TectraIconLinkTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxIconLinkPart, TxIconLink> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly translations = injectTranslations();\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('iconLink', this, this.pt, this.ptOptions);\n readonly iconName = computed(() => {\n const icon = this.icon();\n return icon && this.txIconRegistry.has(icon) ? icon : null;\n });\n readonly resolvedTarget = computed(() => this.target() ?? '_blank');\n readonly opensNewTab = computed(() => !this.routerLink() && !!this.href() && this.resolvedTarget() === '_blank');\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-icon-link'), ...this.passThrough().root?.style }));\n}\n","<ng-template #content>\n @if (icon(); as icon) {\n @if (iconName(); as name) {\n <tx-icon class=\"tx-icon-link__icon\" [name]=\"name\" [class]=\"passThrough().icon?.class\" [style]=\"passThrough().icon?.style\" />\n } @else {\n <span class=\"tx-icon-link__icon\" aria-hidden=\"true\" [class]=\"icon\" [ngClass]=\"passThrough().icon?.class ?? null\" [style]=\"passThrough().icon?.style\"></span>\n }\n }\n <span class=\"tx-icon-link__text\" [class]=\"passThrough().text?.class\" [style]=\"passThrough().text?.style\">{{ text() }}<ng-content /></span>\n @if (opensNewTab()) {\n <span class=\"tx-icon-link__hint\">({{ translations().opensInNewTab }})</span>\n }\n</ng-template>\n\n@if (routerLink(); as commands) {\n <a\n class=\"tx-icon-link__anchor\"\n [routerLink]=\"$any(commands)\"\n routerLinkActive=\"tx-icon-link__anchor--active\"\n ariaCurrentWhenActive=\"page\"\n [routerLinkActiveOptions]=\"{ exact: exact() }\"\n [class]=\"passThrough().anchor?.class\"\n [style]=\"passThrough().anchor?.style\"\n >\n <ng-container [ngTemplateOutlet]=\"content\" />\n </a>\n} @else if (href()) {\n <a\n class=\"tx-icon-link__anchor\"\n [href]=\"href()\"\n [attr.target]=\"resolvedTarget()\"\n [attr.rel]=\"opensNewTab() ? 'noopener noreferrer' : null\"\n [class]=\"passThrough().anchor?.class\"\n [style]=\"passThrough().anchor?.style\"\n >\n <ng-container [ngTemplateOutlet]=\"content\" />\n </a>\n} @else {\n <button type=\"button\" class=\"tx-icon-link__anchor\" [class]=\"passThrough().anchor?.class\" [style]=\"passThrough().anchor?.style\">\n <ng-container [ngTemplateOutlet]=\"content\" />\n </button>\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, DOCUMENT, DestroyRef, booleanAttribute, computed, inject, input, output, signal } from '@angular/core';\nimport { RouterLink } from '@angular/router';\nimport { TxPassThrough, TxPassThroughOptions, injectPassThrough, injectUnstyled } from '@tectra-ng/core/config';\nimport { injectTranslations } from '@tectra-ng/core/i18n';\nimport { optionalBoolean, optionalNumber } from '@tectra-ng/core/utils';\nimport { TxIcon } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraLinkTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxHighlightTerms, TxHighlightText } from '@tectra-ng/ui/highlight-text';\nimport { TxLinkCommands, TxLinkPart, TxLinkType } from './link.types';\n\nconst COPIED_FOR = 1600;\nconst PROTOCOL = /^[a-z][a-z\\d+.-]*:/i;\n\n@Component({\n selector: 'tx-link',\n imports: [NgTemplateOutlet, RouterLink, TxIcon, TxHighlightText],\n templateUrl: './link.component.html',\n styleUrl: './link.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-link',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-type]': 'type()',\n },\n})\nexport class TxLink {\n private document = inject(DOCUMENT);\n private timer: ReturnType<typeof setTimeout> | null = null;\n\n readonly link = input<string | null | undefined>('');\n readonly type = input<TxLinkType>('url');\n readonly linkText = input<string | null | undefined>(undefined);\n readonly highlight = input<TxHighlightTerms>('');\n readonly maxLength = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly routerLink = input<TxLinkCommands>(undefined);\n readonly target = input<string | undefined>(undefined);\n readonly external = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n readonly copyable = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly dt = input<TectraDeepPartial<TectraLinkTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxLinkPart, TxLink> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly copied = output<string>();\n\n readonly translations = injectTranslations();\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('link', this, this.pt, this.ptOptions);\n readonly isCopied = signal(false);\n\n readonly value = computed(() => (this.link() ?? '').trim());\n readonly fullText = computed(() => this.linkText() || this.value());\n readonly isTruncated = computed(() => {\n const max = this.maxLength();\n return max !== undefined && max > 0 && this.fullText().length > max;\n });\n readonly displayText = computed(() => (this.isTruncated() ? `${this.fullText().slice(0, this.maxLength()).trimEnd()}…` : this.fullText()));\n readonly fullTitle = computed(() => (this.isTruncated() ? this.fullText() : null));\n readonly href = computed(() => {\n const value = this.value();\n switch (this.type()) {\n case 'email':\n return `mailto:${value}`;\n case 'phone':\n return `tel:${value.replace(/[^\\d+]/g, '')}`;\n default:\n return PROTOCOL.test(value) || value.startsWith('/') ? value : `https://${value}`;\n }\n });\n readonly resolvedTarget = computed(() => this.target() ?? (this.type() === 'url' ? '_blank' : null));\n readonly opensNewTab = computed(() => !this.routerLink() && this.resolvedTarget() === '_blank');\n readonly showExternal = computed(() => this.external() ?? this.opensNewTab());\n readonly copyLabel = computed(() => {\n const translations = this.translations();\n return { url: translations.copyLink, email: translations.copyEmail, phone: translations.copyPhone }[this.type()];\n });\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-link'), ...this.passThrough().root?.style }));\n\n constructor() {\n inject(DestroyRef).onDestroy(() => this.timer && clearTimeout(this.timer));\n }\n\n copy(): void {\n const text = this.value();\n this.document.defaultView?.navigator.clipboard?.writeText(text);\n this.copied.emit(text);\n this.isCopied.set(true);\n if (this.timer) {\n clearTimeout(this.timer);\n }\n this.timer = setTimeout(() => this.isCopied.set(false), COPIED_FOR);\n }\n}\n","<ng-template #content>\n <span class=\"tx-link__text\" [class]=\"passThrough().text?.class\" [style]=\"passThrough().text?.style\">\n <tx-highlight-text [text]=\"displayText()\" [highlight]=\"highlight()\" />\n </span>\n @if (showExternal()) {\n <tx-icon class=\"tx-link__external\" name=\"arrow-up-right\" [class]=\"passThrough().external?.class\" [style]=\"passThrough().external?.style\" />\n }\n @if (opensNewTab()) {\n <span class=\"tx-link__hint\">({{ translations().opensInNewTab }})</span>\n }\n</ng-template>\n\n@if (routerLink(); as commands) {\n <a class=\"tx-link__anchor\" [routerLink]=\"$any(commands)\" [attr.title]=\"fullTitle()\" [class]=\"passThrough().anchor?.class\" [style]=\"passThrough().anchor?.style\">\n <ng-container [ngTemplateOutlet]=\"content\" />\n </a>\n} @else {\n <a\n class=\"tx-link__anchor\"\n [href]=\"href()\"\n [attr.target]=\"resolvedTarget()\"\n [attr.rel]=\"opensNewTab() ? 'noopener noreferrer' : null\"\n [attr.title]=\"fullTitle()\"\n [class]=\"passThrough().anchor?.class\"\n [style]=\"passThrough().anchor?.style\"\n >\n <ng-container [ngTemplateOutlet]=\"content\" />\n </a>\n}\n@if (copyable() && link()) {\n <button\n type=\"button\"\n class=\"tx-link__copy\"\n [class.tx-link__copy--done]=\"isCopied()\"\n [class]=\"passThrough().copy?.class\"\n [style]=\"passThrough().copy?.style\"\n [attr.aria-label]=\"isCopied() ? translations().copied : copyLabel()\"\n [title]=\"isCopied() ? translations().copied : copyLabel()\"\n (click)=\"copy()\"\n >\n <tx-icon [name]=\"isCopied() ? 'check' : 'copy'\" />\n </button>\n}\n"],"mappings":";;;;;;;;;;AAuBA,IAAa,aAAb,MAAa,WAAU;CACb,iBAAiB,OAAO,cAAc;CAErC,OAAO,MAA8C,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CAC/D,OAAO,MAAc,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CACxB,aAAa,MAAsB,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,aAAA,CAAA,+BAAA,CAAA,CAAA;CAC7C,OAAO,MAAiC,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CAClD,SAAS,MAA0B,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,SAAA,CAAA,+BAAA,CAAA,CAAA;CAC7C,QAAQ,MAAwB,MAAI;EAAA,GAAA,YAAA,EAAA,WAAA,QAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;CACnE,KAAK,MAA2D,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,KAAA,CAAA,+BAAA,CAAA,CAAA;CAC1E,KAAK,MAA6D,QAAU,GAAA,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AM,UAAA;IAAA,QAAA,CAAA,MAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAe,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;IAAA;GAAA;EAAA;EAAA,iBAAA,GAAA,wBAAA;CAAA,CAAA;;AAYpD,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAM,YAAA,CAAA;EAdlB,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAS,SACV;IAAC;IAAkB;IAAY;IAAQ;GAAe;GAAC,iBAG/C,wBAAwB;GAAM,MACzC;IACJ,OAAO;IACP,WAAW;IACX,WAAW;IACX,sBAAsB;IACtB,oBAAoB;GACrB;GAAA,UAAA;GAAA,QAAA,CAAA,o5DAAA;EAAA,CAAA"}
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-link.mjs","names":[],"sources":["../../../../packages/ui/link/src/icon-link.component.ts","../../../../packages/ui/link/src/icon-link.component.html","../../../../packages/ui/link/src/link.component.ts","../../../../packages/ui/link/src/link.component.html"],"sourcesContent":["import { NgClass, NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, booleanAttribute, computed, inject, input } from '@angular/core';\nimport { RouterLink, RouterLinkActive } from '@angular/router';\nimport { TxPassThrough, TxPassThroughOptions, injectPassThrough, injectUnstyled } from '@tectra-ng/core/config';\nimport { injectTranslations } from '@tectra-ng/core/i18n';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { TxIcon, TxIconName, TxIconRegistry } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraIconLinkTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxIconLinkPart, TxLinkCommands } from './link.types';\n\n@Component({\n selector: 'tx-icon-link',\n imports: [NgClass, NgTemplateOutlet, RouterLink, RouterLinkActive, TxIcon],\n templateUrl: './icon-link.component.html',\n styleUrl: './icon-link.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-icon-link',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n },\n})\nexport class TxIconLink {\n private txIconRegistry = inject(TxIconRegistry);\n\n readonly icon = input<TxIconName | (string & {}) | undefined>(undefined);\n readonly text = input<string>('');\n readonly routerLink = input<TxLinkCommands>(undefined);\n readonly href = input<string | null | undefined>(undefined);\n readonly target = input<string | undefined>(undefined);\n readonly exact = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly dt = input<TectraDeepPartial<TectraIconLinkTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxIconLinkPart, TxIconLink> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly translations = injectTranslations();\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('iconLink', this, this.pt, this.ptOptions);\n readonly iconName = computed(() => {\n const icon = this.icon();\n return icon && this.txIconRegistry.has(icon) ? icon : null;\n });\n readonly resolvedTarget = computed(() => this.target() ?? '_blank');\n readonly opensNewTab = computed(() => !this.routerLink() && !!this.href() && this.resolvedTarget() === '_blank');\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-icon-link'), ...this.passThrough().root?.style }));\n}\n","<ng-template #content>\n @if (icon(); as icon) {\n @if (iconName(); as name) {\n <tx-icon class=\"tx-icon-link__icon\" [name]=\"name\" [class]=\"passThrough().icon?.class\" [style]=\"passThrough().icon?.style\" />\n } @else {\n <span class=\"tx-icon-link__icon\" aria-hidden=\"true\" [class]=\"icon\" [ngClass]=\"passThrough().icon?.class ?? null\" [style]=\"passThrough().icon?.style\"></span>\n }\n }\n <span class=\"tx-icon-link__text\" [class]=\"passThrough().text?.class\" [style]=\"passThrough().text?.style\">{{ text() }}<ng-content /></span>\n @if (opensNewTab()) {\n <span class=\"tx-icon-link__hint\">({{ translations().opensInNewTab }})</span>\n }\n</ng-template>\n\n@if (routerLink(); as commands) {\n <a\n class=\"tx-icon-link__anchor\"\n [routerLink]=\"$any(commands)\"\n routerLinkActive=\"tx-icon-link__anchor--active\"\n ariaCurrentWhenActive=\"page\"\n [routerLinkActiveOptions]=\"{ exact: exact() }\"\n [class]=\"passThrough().anchor?.class\"\n [style]=\"passThrough().anchor?.style\"\n >\n <ng-container [ngTemplateOutlet]=\"content\" />\n </a>\n} @else if (href()) {\n <a\n class=\"tx-icon-link__anchor\"\n [href]=\"href()\"\n [attr.target]=\"resolvedTarget()\"\n [attr.rel]=\"opensNewTab() ? 'noopener noreferrer' : null\"\n [class]=\"passThrough().anchor?.class\"\n [style]=\"passThrough().anchor?.style\"\n >\n <ng-container [ngTemplateOutlet]=\"content\" />\n </a>\n} @else {\n <button type=\"button\" class=\"tx-icon-link__anchor\" [class]=\"passThrough().anchor?.class\" [style]=\"passThrough().anchor?.style\">\n <ng-container [ngTemplateOutlet]=\"content\" />\n </button>\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, DOCUMENT, DestroyRef, booleanAttribute, computed, inject, input, output, signal } from '@angular/core';\nimport { RouterLink } from '@angular/router';\nimport { TxPassThrough, TxPassThroughOptions, injectPassThrough, injectUnstyled } from '@tectra-ng/core/config';\nimport { injectTranslations } from '@tectra-ng/core/i18n';\nimport { optionalBoolean, optionalNumber } from '@tectra-ng/core/utils';\nimport { TxIcon } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraLinkTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxHighlightTerms, TxHighlightText } from '@tectra-ng/ui/highlight-text';\nimport { TxLinkCommands, TxLinkPart, TxLinkType } from './link.types';\n\nconst COPIED_FOR = 1600;\nconst PROTOCOL = /^[a-z][a-z\\d+.-]*:/i;\n\n@Component({\n selector: 'tx-link',\n imports: [NgTemplateOutlet, RouterLink, TxIcon, TxHighlightText],\n templateUrl: './link.component.html',\n styleUrl: './link.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-link',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-type]': 'type()',\n },\n})\nexport class TxLink {\n private document = inject(DOCUMENT);\n private timer: ReturnType<typeof setTimeout> | null = null;\n\n readonly link = input<string | null | undefined>('');\n readonly type = input<TxLinkType>('url');\n readonly linkText = input<string | null | undefined>(undefined);\n readonly highlight = input<TxHighlightTerms>('');\n readonly maxLength = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly routerLink = input<TxLinkCommands>(undefined);\n readonly target = input<string | undefined>(undefined);\n readonly external = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n readonly copyable = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly dt = input<TectraDeepPartial<TectraLinkTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxLinkPart, TxLink> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly copied = output<string>();\n\n readonly translations = injectTranslations();\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('link', this, this.pt, this.ptOptions);\n readonly isCopied = signal(false);\n\n readonly value = computed(() => (this.link() ?? '').trim());\n readonly fullText = computed(() => this.linkText() || this.value());\n readonly isTruncated = computed(() => {\n const max = this.maxLength();\n return max !== undefined && max > 0 && this.fullText().length > max;\n });\n readonly displayText = computed(() => (this.isTruncated() ? `${this.fullText().slice(0, this.maxLength()).trimEnd()}…` : this.fullText()));\n readonly fullTitle = computed(() => (this.isTruncated() ? this.fullText() : null));\n readonly href = computed(() => {\n const value = this.value();\n switch (this.type()) {\n case 'email':\n return `mailto:${value}`;\n case 'phone':\n return `tel:${value.replace(/[^\\d+]/g, '')}`;\n default:\n return PROTOCOL.test(value) || value.startsWith('/') ? value : `https://${value}`;\n }\n });\n readonly resolvedTarget = computed(() => this.target() ?? (this.type() === 'url' ? '_blank' : null));\n readonly opensNewTab = computed(() => !this.routerLink() && this.resolvedTarget() === '_blank');\n readonly showExternal = computed(() => this.external() ?? this.opensNewTab());\n readonly copyLabel = computed(() => {\n const translations = this.translations();\n return { url: translations.copyLink, email: translations.copyEmail, phone: translations.copyPhone }[this.type()];\n });\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-link'), ...this.passThrough().root?.style }));\n\n constructor() {\n inject(DestroyRef).onDestroy(() => this.timer && clearTimeout(this.timer));\n }\n\n copy(): void {\n const text = this.value();\n this.document.defaultView?.navigator.clipboard?.writeText(text);\n this.copied.emit(text);\n this.isCopied.set(true);\n if (this.timer) {\n clearTimeout(this.timer);\n }\n this.timer = setTimeout(() => this.isCopied.set(false), COPIED_FOR);\n }\n}\n","<ng-template #content>\n <span class=\"tx-link__text\" [class]=\"passThrough().text?.class\" [style]=\"passThrough().text?.style\">\n <tx-highlight-text [text]=\"displayText()\" [highlight]=\"highlight()\" />\n </span>\n @if (showExternal()) {\n <tx-icon class=\"tx-link__external\" name=\"arrow-up-right\" [class]=\"passThrough().external?.class\" [style]=\"passThrough().external?.style\" />\n }\n @if (opensNewTab()) {\n <span class=\"tx-link__hint\">({{ translations().opensInNewTab }})</span>\n }\n</ng-template>\n\n@if (routerLink(); as commands) {\n <a class=\"tx-link__anchor\" [routerLink]=\"$any(commands)\" [attr.title]=\"fullTitle()\" [class]=\"passThrough().anchor?.class\" [style]=\"passThrough().anchor?.style\">\n <ng-container [ngTemplateOutlet]=\"content\" />\n </a>\n} @else {\n <a\n class=\"tx-link__anchor\"\n [href]=\"href()\"\n [attr.target]=\"resolvedTarget()\"\n [attr.rel]=\"opensNewTab() ? 'noopener noreferrer' : null\"\n [attr.title]=\"fullTitle()\"\n [class]=\"passThrough().anchor?.class\"\n [style]=\"passThrough().anchor?.style\"\n >\n <ng-container [ngTemplateOutlet]=\"content\" />\n </a>\n}\n@if (copyable() && link()) {\n <button\n type=\"button\"\n class=\"tx-link__copy\"\n [class.tx-link__copy--done]=\"isCopied()\"\n [class]=\"passThrough().copy?.class\"\n [style]=\"passThrough().copy?.style\"\n [attr.aria-label]=\"isCopied() ? translations().copied : copyLabel()\"\n [title]=\"isCopied() ? translations().copied : copyLabel()\"\n (click)=\"copy()\"\n >\n <span class=\"tx-copy-swap\" [class.tx-copy-swap--done]=\"isCopied()\"><tx-icon class=\"tx-copy-swap__icon tx-copy-swap__icon--idle\" name=\"copy\" /><tx-icon class=\"tx-copy-swap__icon tx-copy-swap__icon--done\" name=\"check\" /></span>\n </button>\n}\n"],"mappings":";;;;;;;;;;AAuBA,IAAa,aAAb,MAAa,WAAU;CACb,iBAAiB,OAAO,cAAc;CAErC,OAAO,MAA8C,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CAC/D,OAAO,MAAc,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CACxB,aAAa,MAAsB,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,aAAA,CAAA,+BAAA,CAAA,CAAA;CAC7C,OAAO,MAAiC,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CAClD,SAAS,MAA0B,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,SAAA,CAAA,+BAAA,CAAA,CAAA;CAC7C,QAAQ,MAAwB,MAAI;EAAA,GAAA,YAAA,EAAA,WAAA,QAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;CACnE,KAAK,MAA2D,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,KAAA,CAAA,+BAAA,CAAA,CAAA;CAC1E,KAAK,MAA6D,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,KAAA,CAAA,+BAAA,CAAA,CAAA;CAC5E,YAAY,MAAwC,QAA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A;IAAA,QAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;IAAA;GAAA;EAAA;EAAA,iBAAA,GAAA,wBAAA;CAAA,CAAA;;AAYpD,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAM,YAAA,CAAA;EAdlB,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAS,SACV;IAAC;IAAkB;IAAY;IAAQ;GAAe;GAAC,iBAG/C,wBAAwB;GAAM,MACzC;IACJ,OAAO;IACP,WAAW;IACX,WAAW;IACX,sBAAsB;IACtB,oBAAoB;GACrB;GAAA,UAAA;GAAA,QAAA,CAAA,i5EAAA;EAAA,CAAA"}
|
|
@@ -197,7 +197,7 @@ var TxListInput = class TxListInput extends TxFormControlBase {
|
|
|
197
197
|
}
|
|
198
198
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
199
199
|
minVersion: "12.0.0",
|
|
200
|
-
version: "22.2.
|
|
200
|
+
version: "22.2.5",
|
|
201
201
|
ngImport: i0,
|
|
202
202
|
type: TxListInput,
|
|
203
203
|
deps: null,
|
|
@@ -205,7 +205,7 @@ var TxListInput = class TxListInput extends TxFormControlBase {
|
|
|
205
205
|
});
|
|
206
206
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
207
207
|
minVersion: "17.0.0",
|
|
208
|
-
version: "22.2.
|
|
208
|
+
version: "22.2.5",
|
|
209
209
|
type: TxListInput,
|
|
210
210
|
isStandalone: true,
|
|
211
211
|
selector: "tx-list-input",
|
|
@@ -472,7 +472,7 @@ var TxListInput = class TxListInput extends TxFormControlBase {
|
|
|
472
472
|
};
|
|
473
473
|
i0.ɵɵngDeclareClassMetadata({
|
|
474
474
|
minVersion: "12.0.0",
|
|
475
|
-
version: "22.2.
|
|
475
|
+
version: "22.2.5",
|
|
476
476
|
ngImport: i0,
|
|
477
477
|
type: TxListInput,
|
|
478
478
|
decorators: [{
|