@tectra-ng/ui 0.4.1 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/amount/README.md +2 -2
- package/analog-clock/README.md +3 -2
- package/autocomplete/README.md +1 -1
- package/avatar/README.md +1 -1
- package/breadcrumb/README.md +1 -1
- package/button-group/README.md +34 -2
- package/carousel/README.md +7 -0
- package/chips-input/README.md +10 -0
- package/color-swatches/README.md +53 -0
- package/data-view/README.md +11 -0
- package/fesm2022/tectra-ng-ui-amount.mjs +11 -9
- package/fesm2022/tectra-ng-ui-amount.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-analog-clock.mjs +12 -6
- package/fesm2022/tectra-ng-ui-analog-clock.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-autocomplete.mjs +17 -6
- package/fesm2022/tectra-ng-ui-autocomplete.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-avatar.mjs +11 -4
- package/fesm2022/tectra-ng-ui-avatar.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-breadcrumb.mjs +5 -5
- package/fesm2022/tectra-ng-ui-breadcrumb.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-button-group.mjs +139 -6
- package/fesm2022/tectra-ng-ui-button-group.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-card.mjs +4 -2
- package/fesm2022/tectra-ng-ui-card.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-carousel.mjs +21 -2
- package/fesm2022/tectra-ng-ui-carousel.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-cascade-select.mjs +2 -2
- package/fesm2022/tectra-ng-ui-cascade-select.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-checkbox.mjs +7 -4
- package/fesm2022/tectra-ng-ui-checkbox.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-chips-input.mjs +41 -8
- package/fesm2022/tectra-ng-ui-chips-input.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-color-picker.mjs +2 -2
- package/fesm2022/tectra-ng-ui-color-picker.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-color-swatches.mjs +378 -0
- package/fesm2022/tectra-ng-ui-color-swatches.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-country-select.mjs +6 -4
- package/fesm2022/tectra-ng-ui-country-select.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-data-view.mjs +61 -10
- package/fesm2022/tectra-ng-ui-data-view.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-datepicker.mjs +14 -2
- package/fesm2022/tectra-ng-ui-datepicker.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-dialog.mjs +7 -2
- package/fesm2022/tectra-ng-ui-dialog.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-export.mjs +19 -20
- package/fesm2022/tectra-ng-ui-export.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-file-upload.mjs +44 -30
- package/fesm2022/tectra-ng-ui-file-upload.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-galleria.mjs +63 -6
- package/fesm2022/tectra-ng-ui-galleria.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-image.mjs +6 -2
- package/fesm2022/tectra-ng-ui-image.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-input-otp.mjs +6 -2
- package/fesm2022/tectra-ng-ui-input-otp.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-input.mjs +2 -2
- package/fesm2022/tectra-ng-ui-input.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-knob.mjs +15 -4
- package/fesm2022/tectra-ng-ui-knob.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-list-input.mjs +2 -2
- package/fesm2022/tectra-ng-ui-list-input.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-menu.mjs +110 -10
- package/fesm2022/tectra-ng-ui-menu.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-message.mjs +62 -19
- package/fesm2022/tectra-ng-ui-message.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-multiselect.mjs +14 -6
- package/fesm2022/tectra-ng-ui-multiselect.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-paginator.mjs +11 -22
- package/fesm2022/tectra-ng-ui-paginator.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-panel-menu.mjs +32 -8
- package/fesm2022/tectra-ng-ui-panel-menu.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-panel.mjs +4 -2
- package/fesm2022/tectra-ng-ui-panel.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-password.mjs +9 -0
- package/fesm2022/tectra-ng-ui-password.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-pill.mjs +3 -2
- package/fesm2022/tectra-ng-ui-pill.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-popover.mjs +16 -9
- package/fesm2022/tectra-ng-ui-popover.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-progress-bar.mjs +3 -0
- package/fesm2022/tectra-ng-ui-progress-bar.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-radio-button.mjs +28 -8
- package/fesm2022/tectra-ng-ui-radio-button.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-rating.mjs +6 -0
- package/fesm2022/tectra-ng-ui-rating.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-scroll-panel.mjs +4 -4
- 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 +193 -10
- package/fesm2022/tectra-ng-ui-select.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-speed-dial.mjs +91 -60
- package/fesm2022/tectra-ng-ui-speed-dial.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-split-button.mjs +22 -8
- package/fesm2022/tectra-ng-ui-split-button.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-stat-tiles.mjs +8 -5
- package/fesm2022/tectra-ng-ui-stat-tiles.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-stepper.mjs +72 -29
- package/fesm2022/tectra-ng-ui-stepper.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-table.mjs +323 -190
- package/fesm2022/tectra-ng-ui-table.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tabs.mjs +10 -7
- package/fesm2022/tectra-ng-ui-tabs.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-timeline.mjs +87 -10
- package/fesm2022/tectra-ng-ui-timeline.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-toast.mjs +24 -7
- package/fesm2022/tectra-ng-ui-toast.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-toggle-button.mjs +2 -2
- package/fesm2022/tectra-ng-ui-toggle-button.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-toggle-switch.mjs +7 -4
- package/fesm2022/tectra-ng-ui-toggle-switch.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tooltip.mjs +5 -4
- package/fesm2022/tectra-ng-ui-tooltip.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tree-select.mjs +31 -9
- package/fesm2022/tectra-ng-ui-tree-select.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tree-table.mjs +7 -5
- package/fesm2022/tectra-ng-ui-tree-table.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tree.mjs +47 -14
- package/fesm2022/tectra-ng-ui-tree.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-truncate-text.mjs +2 -2
- package/fesm2022/tectra-ng-ui-truncate-text.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-virtual-scroller.mjs +45 -4
- package/fesm2022/tectra-ng-ui-virtual-scroller.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui.mjs +1 -1
- package/field/README.md +2 -2
- package/file-upload/README.md +2 -1
- package/galleria/README.md +9 -0
- package/input-otp/README.md +1 -1
- package/knob/README.md +1 -1
- package/menu/README.md +10 -2
- package/message/README.md +6 -5
- package/multiselect/README.md +1 -1
- package/package.json +12 -4
- package/paginator/README.md +1 -1
- package/panel-menu/README.md +1 -1
- package/pill/README.md +1 -1
- package/popover/README.md +2 -2
- package/select/README.md +9 -0
- package/select-button/README.md +70 -0
- package/speed-dial/README.md +2 -1
- package/split-button/README.md +1 -1
- package/stat-tiles/README.md +3 -3
- package/stepper/README.md +3 -2
- package/table/README.md +23 -7
- package/tabs/README.md +2 -2
- package/timeline/README.md +10 -2
- package/tree/README.md +7 -0
- package/tree-select/README.md +2 -2
- 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-autocomplete.d.ts +2 -1
- package/types/tectra-ng-ui-autocomplete.d.ts.map +1 -1
- package/types/tectra-ng-ui-avatar.d.ts +4 -2
- package/types/tectra-ng-ui-avatar.d.ts.map +1 -1
- package/types/tectra-ng-ui-breadcrumb.d.ts +3 -3
- 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-card.d.ts.map +1 -1
- package/types/tectra-ng-ui-carousel.d.ts +14 -5
- package/types/tectra-ng-ui-carousel.d.ts.map +1 -1
- package/types/tectra-ng-ui-checkbox.d.ts +1 -0
- package/types/tectra-ng-ui-checkbox.d.ts.map +1 -1
- package/types/tectra-ng-ui-chips-input.d.ts +15 -1
- package/types/tectra-ng-ui-chips-input.d.ts.map +1 -1
- package/types/tectra-ng-ui-color-swatches.d.ts +141 -0
- package/types/tectra-ng-ui-color-swatches.d.ts.map +1 -0
- package/types/tectra-ng-ui-data-view.d.ts +31 -12
- package/types/tectra-ng-ui-data-view.d.ts.map +1 -1
- package/types/tectra-ng-ui-datepicker.d.ts +6 -0
- package/types/tectra-ng-ui-datepicker.d.ts.map +1 -1
- package/types/tectra-ng-ui-dialog.d.ts +1 -0
- package/types/tectra-ng-ui-dialog.d.ts.map +1 -1
- package/types/tectra-ng-ui-field.d.ts +2 -2
- package/types/tectra-ng-ui-file-upload.d.ts +10 -7
- package/types/tectra-ng-ui-file-upload.d.ts.map +1 -1
- package/types/tectra-ng-ui-galleria.d.ts +42 -15
- package/types/tectra-ng-ui-galleria.d.ts.map +1 -1
- package/types/tectra-ng-ui-image.d.ts.map +1 -1
- 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-knob.d.ts +3 -1
- package/types/tectra-ng-ui-knob.d.ts.map +1 -1
- package/types/tectra-ng-ui-menu.d.ts +35 -12
- package/types/tectra-ng-ui-menu.d.ts.map +1 -1
- package/types/tectra-ng-ui-message.d.ts +17 -8
- package/types/tectra-ng-ui-message.d.ts.map +1 -1
- package/types/tectra-ng-ui-multiselect.d.ts +2 -2
- package/types/tectra-ng-ui-multiselect.d.ts.map +1 -1
- package/types/tectra-ng-ui-paginator.d.ts +4 -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-panel.d.ts.map +1 -1
- package/types/tectra-ng-ui-password.d.ts +3 -0
- package/types/tectra-ng-ui-password.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-popover.d.ts +4 -2
- package/types/tectra-ng-ui-popover.d.ts.map +1 -1
- package/types/tectra-ng-ui-progress-bar.d.ts +1 -0
- package/types/tectra-ng-ui-progress-bar.d.ts.map +1 -1
- package/types/tectra-ng-ui-radio-button.d.ts +3 -1
- package/types/tectra-ng-ui-radio-button.d.ts.map +1 -1
- package/types/tectra-ng-ui-rating.d.ts +2 -0
- package/types/tectra-ng-ui-rating.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-select.d.ts +85 -20
- package/types/tectra-ng-ui-select.d.ts.map +1 -1
- package/types/tectra-ng-ui-speed-dial.d.ts.map +1 -1
- package/types/tectra-ng-ui-split-button.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 +25 -10
- package/types/tectra-ng-ui-stepper.d.ts.map +1 -1
- package/types/tectra-ng-ui-table.d.ts +147 -75
- package/types/tectra-ng-ui-table.d.ts.map +1 -1
- package/types/tectra-ng-ui-tabs.d.ts +7 -5
- package/types/tectra-ng-ui-tabs.d.ts.map +1 -1
- package/types/tectra-ng-ui-timeline.d.ts +46 -9
- package/types/tectra-ng-ui-timeline.d.ts.map +1 -1
- package/types/tectra-ng-ui-toast.d.ts +3 -0
- package/types/tectra-ng-ui-toast.d.ts.map +1 -1
- package/types/tectra-ng-ui-toggle-switch.d.ts +1 -0
- package/types/tectra-ng-ui-toggle-switch.d.ts.map +1 -1
- package/types/tectra-ng-ui-tooltip.d.ts.map +1 -1
- package/types/tectra-ng-ui-tree-select.d.ts +4 -2
- package/types/tectra-ng-ui-tree-select.d.ts.map +1 -1
- package/types/tectra-ng-ui-tree.d.ts +18 -7
- package/types/tectra-ng-ui-tree.d.ts.map +1 -1
- package/types/tectra-ng-ui-truncate-text.d.ts +1 -1
- package/types/tectra-ng-ui-virtual-scroller.d.ts +29 -10
- package/types/tectra-ng-ui-virtual-scroller.d.ts.map +1 -1
- package/types/tectra-ng-ui.d.ts +1 -1
- package/virtual-scroller/README.md +8 -0
|
@@ -8,6 +8,10 @@ import { TxIcon, provideTxIconDefaults, txIconSpinner } from "@tectra-ng/icons";
|
|
|
8
8
|
import { toStyleObject, virtualScrollerTokens } from "@tectra-ng/themes";
|
|
9
9
|
var TxVirtualScrollerItem = class TxVirtualScrollerItem {
|
|
10
10
|
templateRef = inject(TemplateRef);
|
|
11
|
+
txVirtualScrollerItemOf = input(void 0, ...ngDevMode ? [{ debugName: "txVirtualScrollerItemOf" }] : /* istanbul ignore next */ []);
|
|
12
|
+
static ngTemplateContextGuard(_directive, context) {
|
|
13
|
+
return !!context;
|
|
14
|
+
}
|
|
11
15
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
12
16
|
minVersion: "12.0.0",
|
|
13
17
|
version: "22.2.5",
|
|
@@ -17,11 +21,18 @@ var TxVirtualScrollerItem = class TxVirtualScrollerItem {
|
|
|
17
21
|
target: i0.ɵɵFactoryTarget.Directive
|
|
18
22
|
});
|
|
19
23
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
20
|
-
minVersion: "
|
|
24
|
+
minVersion: "17.1.0",
|
|
21
25
|
version: "22.2.5",
|
|
22
26
|
type: TxVirtualScrollerItem,
|
|
23
27
|
isStandalone: true,
|
|
24
28
|
selector: "ng-template[txVirtualScrollerItem]",
|
|
29
|
+
inputs: { txVirtualScrollerItemOf: {
|
|
30
|
+
classPropertyName: "txVirtualScrollerItemOf",
|
|
31
|
+
publicName: "txVirtualScrollerItemOf",
|
|
32
|
+
isSignal: true,
|
|
33
|
+
isRequired: false,
|
|
34
|
+
transformFunction: null
|
|
35
|
+
} },
|
|
25
36
|
ngImport: i0
|
|
26
37
|
});
|
|
27
38
|
};
|
|
@@ -33,10 +44,21 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
33
44
|
decorators: [{
|
|
34
45
|
type: Directive,
|
|
35
46
|
args: [{ selector: "ng-template[txVirtualScrollerItem]" }]
|
|
36
|
-
}]
|
|
47
|
+
}],
|
|
48
|
+
propDecorators: { txVirtualScrollerItemOf: [{
|
|
49
|
+
type: i0.Input,
|
|
50
|
+
args: [{
|
|
51
|
+
isSignal: true,
|
|
52
|
+
alias: "txVirtualScrollerItemOf",
|
|
53
|
+
required: false
|
|
54
|
+
}]
|
|
55
|
+
}] }
|
|
37
56
|
});
|
|
38
57
|
var TxVirtualScrollerLoader = class TxVirtualScrollerLoader {
|
|
39
58
|
templateRef = inject(TemplateRef);
|
|
59
|
+
static ngTemplateContextGuard(_directive, context) {
|
|
60
|
+
return !!context;
|
|
61
|
+
}
|
|
40
62
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
41
63
|
minVersion: "12.0.0",
|
|
42
64
|
version: "22.2.5",
|
|
@@ -95,6 +117,10 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
95
117
|
});
|
|
96
118
|
var TxVirtualScrollerContent = class TxVirtualScrollerContent {
|
|
97
119
|
templateRef = inject(TemplateRef);
|
|
120
|
+
txVirtualScrollerContentOf = input(void 0, ...ngDevMode ? [{ debugName: "txVirtualScrollerContentOf" }] : /* istanbul ignore next */ []);
|
|
121
|
+
static ngTemplateContextGuard(_directive, context) {
|
|
122
|
+
return !!context;
|
|
123
|
+
}
|
|
98
124
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
99
125
|
minVersion: "12.0.0",
|
|
100
126
|
version: "22.2.5",
|
|
@@ -104,11 +130,18 @@ var TxVirtualScrollerContent = class TxVirtualScrollerContent {
|
|
|
104
130
|
target: i0.ɵɵFactoryTarget.Directive
|
|
105
131
|
});
|
|
106
132
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
107
|
-
minVersion: "
|
|
133
|
+
minVersion: "17.1.0",
|
|
108
134
|
version: "22.2.5",
|
|
109
135
|
type: TxVirtualScrollerContent,
|
|
110
136
|
isStandalone: true,
|
|
111
137
|
selector: "ng-template[txVirtualScrollerContent]",
|
|
138
|
+
inputs: { txVirtualScrollerContentOf: {
|
|
139
|
+
classPropertyName: "txVirtualScrollerContentOf",
|
|
140
|
+
publicName: "txVirtualScrollerContentOf",
|
|
141
|
+
isSignal: true,
|
|
142
|
+
isRequired: false,
|
|
143
|
+
transformFunction: null
|
|
144
|
+
} },
|
|
112
145
|
ngImport: i0
|
|
113
146
|
});
|
|
114
147
|
};
|
|
@@ -120,7 +153,15 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
120
153
|
decorators: [{
|
|
121
154
|
type: Directive,
|
|
122
155
|
args: [{ selector: "ng-template[txVirtualScrollerContent]" }]
|
|
123
|
-
}]
|
|
156
|
+
}],
|
|
157
|
+
propDecorators: { txVirtualScrollerContentOf: [{
|
|
158
|
+
type: i0.Input,
|
|
159
|
+
args: [{
|
|
160
|
+
isSignal: true,
|
|
161
|
+
alias: "txVirtualScrollerContentOf",
|
|
162
|
+
required: false
|
|
163
|
+
}]
|
|
164
|
+
}] }
|
|
124
165
|
});
|
|
125
166
|
const VIRTUAL_SCROLLER_ICON_DEFAULTS = { spinner: txIconSpinner };
|
|
126
167
|
const VIRTUAL_SCROLLER_THEME = { virtualScroller: virtualScrollerTokens };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-virtual-scroller.mjs","names":[],"sources":["../../../../packages/ui/virtual-scroller/src/virtual-scroller.templates.ts","../../../../packages/ui/virtual-scroller/src/virtual-scroller.icons.ts","../../../../packages/ui/virtual-scroller/src/virtual-scroller.theme.ts","../../../../packages/ui/virtual-scroller/src/virtual-scroller.component.ts","../../../../packages/ui/virtual-scroller/src/virtual-scroller.component.html"],"sourcesContent":["import { Directive, TemplateRef, inject } from '@angular/core';\nimport { TxVirtualScrollerContentContext, TxVirtualScrollerItemContext, TxVirtualScrollerLoaderContext } from './virtual-scroller.types';\n\n@Directive({ selector: 'ng-template[txVirtualScrollerItem]' })\nexport class TxVirtualScrollerItem {\n readonly templateRef = inject<TemplateRef<TxVirtualScrollerItemContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[txVirtualScrollerLoader]' })\nexport class TxVirtualScrollerLoader {\n readonly templateRef = inject<TemplateRef<TxVirtualScrollerLoaderContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[txVirtualScrollerLoadingIcon]' })\nexport class TxVirtualScrollerLoadingIcon {\n readonly templateRef = inject<TemplateRef<void>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[txVirtualScrollerContent]' })\nexport class TxVirtualScrollerContent {\n readonly templateRef = inject<TemplateRef<TxVirtualScrollerContentContext>>(TemplateRef);\n}\n","import { TxIconSet, txIconSpinner } from '@tectra-ng/icons';\n\nexport const VIRTUAL_SCROLLER_ICON_DEFAULTS: TxIconSet = {\n spinner: txIconSpinner,\n};\n","import { virtualScrollerTokens } from '@tectra-ng/themes';\n\nexport const VIRTUAL_SCROLLER_THEME = {\n virtualScroller: virtualScrollerTokens,\n};\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n ElementRef,\n afterNextRender,\n booleanAttribute,\n computed,\n contentChild,\n effect,\n inject,\n input,\n numberAttribute,\n output,\n signal,\n untracked,\n} from '@angular/core';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { injectTranslations } from '@tectra-ng/core/i18n';\nimport { optionalBoolean, optionalNumber } from '@tectra-ng/core/utils';\nimport { provideTxIconDefaults, TxIcon } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraVirtualScrollerTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxVirtualScrollerContent, TxVirtualScrollerItem, TxVirtualScrollerLoader, TxVirtualScrollerLoadingIcon } from './virtual-scroller.templates';\nimport {\n TxVirtualScrollerContentContext,\n TxVirtualScrollerItemContext,\n TxVirtualScrollerLazyLoadEvent,\n TxVirtualScrollerOrientation,\n TxVirtualScrollerPart,\n TxVirtualScrollerPosition,\n TxVirtualScrollerRenderedRange,\n TxVirtualScrollerScrollEvent,\n} from './virtual-scroller.types';\nimport { VIRTUAL_SCROLLER_ICON_DEFAULTS } from './virtual-scroller.icons';\nimport { VIRTUAL_SCROLLER_THEME } from './virtual-scroller.theme';\n\n/** Rendered span of one axis and the visible span inside it, as indexes. */\ninterface TxAxisRange {\n /** Index of the first rendered item. */\n first: number;\n /** Index after the last rendered item. */\n last: number;\n /** Index of the first visible item. */\n viewFirst: number;\n /** Index after the last visible item. */\n viewLast: number;\n}\n\n/** One rendered item with its index. */\ninterface TxRenderedCell<T> {\n /** Index of the item on its axis. */\n index: number;\n /** The item; `undefined` while it is not loaded. */\n item: T | undefined;\n}\n\n/** One rendered row of a `both` grid. */\ninterface TxRenderedRow<T> {\n /** Index of the row. */\n index: number;\n /** The rendered cells of the row. */\n cells: TxRenderedCell<T>[];\n}\n\n/**\n * Renders only the items that fit in its scroll area, so long lists scroll smoothly;\n * vertical, horizontal or as a grid.\n */\n@Component({\n selector: 'tx-virtual-scroller',\n imports: [NgTemplateOutlet, TxIcon],\n templateUrl: './virtual-scroller.component.html',\n styleUrl: './virtual-scroller.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-virtual-scroller',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-orientation]': 'orientation()',\n '[class.tx-virtual-scroller--disabled]': 'disabled()',\n '[class.tx-virtual-scroller--loading]': 'showLoaderMask()',\n '[attr.tabindex]': 'tabindex()',\n '[attr.role]': 'ariaLabel() || ariaLabelledBy() ? \"region\" : null',\n '[attr.aria-label]': 'ariaLabel() ?? null',\n '[attr.aria-labelledby]': 'ariaLabelledBy() ?? null',\n '[attr.aria-busy]': 'loading() || null',\n '(scroll)': 'onScroll($event)',\n },\n viewProviders: [provideTxIconDefaults(VIRTUAL_SCROLLER_ICON_DEFAULTS)],\n})\nexport class TxVirtualScroller<T = unknown> {\n private readonly virtualScrollerTheme = injectTokens(VIRTUAL_SCROLLER_THEME);\n\n readonly items = input<readonly (T | undefined)[] | readonly (readonly (T | undefined)[])[] | null | undefined>(undefined);\n readonly itemSize = input<number | readonly [number, number]>(40);\n readonly scrollHeight = input<string | undefined>(undefined);\n readonly scrollWidth = input<string | undefined>(undefined);\n readonly orientation = input<TxVirtualScrollerOrientation>('vertical');\n readonly numToleratedItems = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly delay = input(0, { transform: numberAttribute });\n readonly step = input(0, { transform: numberAttribute });\n readonly lazy = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly appendOnly = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly disabled = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly showSpacer = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly showLoader = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly loading = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly loadingIcon = input('spinner');\n readonly trackBy = input<((index: number, item: T | undefined) => unknown) | undefined>(undefined);\n readonly tabindex = input(0, { transform: numberAttribute });\n readonly ariaLabel = input<string | undefined>(undefined);\n readonly ariaLabelledBy = input<string | undefined>(undefined);\n readonly dt = input<TectraDeepPartial<TectraVirtualScrollerTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxVirtualScrollerPart, TxVirtualScroller<T>> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly lazyLoad = output<TxVirtualScrollerLazyLoadEvent>();\n readonly scrolled = output<TxVirtualScrollerScrollEvent>();\n readonly scrollIndexChange = output<TxVirtualScrollerRenderedRange['viewport']>();\n\n readonly itemTemplate = contentChild(TxVirtualScrollerItem);\n readonly loaderTemplate = contentChild(TxVirtualScrollerLoader);\n readonly loadingIconTemplate = contentChild(TxVirtualScrollerLoadingIcon);\n readonly contentTemplate = contentChild(TxVirtualScrollerContent);\n\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly destroy = inject(DestroyRef);\n private readonly cleanup = this.destroy.onDestroy(() => clearTimeout(this.timer));\n private timer: ReturnType<typeof setTimeout> | undefined;\n private lastLazy = '';\n private lastViewport = '';\n\n readonly translations = injectTranslations();\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('virtualScroller', this, this.pt, this.ptOptions);\n readonly hostStyle = computed(() => ({\n ...toStyleObject(this.dt(), '--tx-virtual-scroller'),\n ...(this.scrollHeight() ? { height: this.scrollHeight() } : {}),\n ...(this.scrollWidth() ? { width: this.scrollWidth() } : {}),\n ...this.passThrough().root?.style,\n }));\n\n readonly scrollTop = signal(0);\n readonly scrollLeft = signal(0);\n readonly viewportHeight = signal(0);\n readonly viewportWidth = signal(0);\n readonly scrolling = signal(false);\n\n readonly both = computed(() => this.orientation() === 'both');\n readonly horizontal = computed(() => this.orientation() === 'horizontal');\n readonly rowSize = computed(() => {\n const size = this.itemSize();\n return typeof size === 'number' ? size : size[0];\n });\n readonly columnSize = computed(() => {\n const size = this.itemSize();\n return typeof size === 'number' ? size : size[1];\n });\n readonly list = computed(() => (this.items() ?? []) as readonly (T | undefined)[]);\n readonly grid = computed(() => (this.both() ? ((this.items() ?? []) as readonly (readonly (T | undefined)[])[]) : []));\n readonly rowCount = computed(() => (this.horizontal() ? 1 : this.both() ? this.grid().length : this.list().length));\n readonly columnCount = computed(() => {\n if (this.horizontal()) return this.list().length;\n if (!this.both()) return 1;\n return this.grid().reduce((max, row) => Math.max(max, row?.length ?? 0), 0);\n });\n readonly rows = computed(() => (this.horizontal() ? this.fullRange(1) : this.axisRange(this.scrollTop(), this.viewportHeight(), this.rowSize(), this.rowCount())));\n readonly columns = computed(() => {\n if (!this.horizontal() && !this.both()) return this.fullRange(1);\n return this.axisRange(this.scrollLeft(), this.viewportWidth(), this.columnSize(), this.columnCount());\n });\n readonly totalHeight = computed(() => (this.horizontal() ? null : this.rowCount() * this.rowSize()));\n readonly totalWidth = computed(() => (this.horizontal() || this.both() ? this.columnCount() * this.columnSize() : null));\n readonly offsetTop = computed(() => (this.horizontal() ? 0 : this.rows().first * this.rowSize()));\n readonly offsetLeft = computed(() => (this.horizontal() || this.both() ? this.columns().first * this.columnSize() : 0));\n readonly contentTransform = computed(() => `translate3d(${this.offsetLeft()}px, ${this.offsetTop()}px, 0)`);\n\n readonly renderedItems = computed<TxRenderedCell<T>[]>(() => {\n if (this.both()) return [];\n const { first, last } = this.horizontal() ? this.columns() : this.rows();\n const list = this.list();\n const cells: TxRenderedCell<T>[] = [];\n for (let index = first; index < last; index += 1) cells.push({ index, item: list[index] });\n return cells;\n });\n readonly renderedRows = computed<TxRenderedRow<T>[]>(() => {\n if (!this.both()) return [];\n const rows = this.rows();\n const columns = this.columns();\n const grid = this.grid();\n const result: TxRenderedRow<T>[] = [];\n for (let row = rows.first; row < rows.last; row += 1) {\n const cells: TxRenderedCell<T>[] = [];\n for (let column = columns.first; column < columns.last; column += 1) cells.push({ index: column, item: grid[row]?.[column] });\n result.push({ index: row, cells });\n }\n return result;\n });\n readonly showLoaderMask = computed(() => this.showLoader() && (this.loading() || this.scrolling()) && !this.loaderTemplate());\n readonly showLoaderItems = computed(() => this.showLoader() && (this.loading() || this.scrolling()) && !!this.loaderTemplate());\n readonly contentContext = computed<TxVirtualScrollerContentContext<T | undefined>>(() => {\n const items = this.renderedItems().map((cell) => cell.item);\n const range = this.horizontal() ? this.columns() : this.rows();\n return {\n $implicit: items,\n items,\n first: range.first,\n last: range.last,\n count: this.horizontal() ? this.columnCount() : this.rowCount(),\n spacerBefore: this.horizontal() ? this.offsetLeft() : this.offsetTop(),\n itemSize: this.horizontal() ? this.columnSize() : this.rowSize(),\n };\n });\n\n constructor() {\n afterNextRender(() => {\n this.measure();\n if (typeof ResizeObserver === 'undefined') return;\n const observer = new ResizeObserver(() => this.measure());\n observer.observe(this.host.nativeElement);\n this.destroy.onDestroy(() => observer.disconnect());\n });\n\n effect(() => {\n if (!this.lazy()) return;\n const range = this.horizontal() ? this.columns() : this.rows();\n const step = this.step();\n const count = this.horizontal() ? this.columnCount() : this.rowCount();\n const first = step > 0 ? Math.floor(range.first / step) * step : range.first;\n const last = step > 0 ? Math.min(Math.max(count, range.last), Math.ceil(range.last / step) * step) : range.last;\n const key = `${first}:${last}`;\n if (key === this.lastLazy) return;\n this.lastLazy = key;\n untracked(() => this.lazyLoad.emit({ first, last }));\n });\n\n effect(() => {\n const viewport = this.renderedRange().viewport;\n const key = JSON.stringify(viewport);\n if (key === this.lastViewport) return;\n this.lastViewport = key;\n untracked(() => this.scrollIndexChange.emit(viewport));\n });\n }\n\n readonly renderedRange = computed<TxVirtualScrollerRenderedRange>(() => {\n const rows = this.rows();\n const columns = this.columns();\n if (this.both()) {\n return {\n first: [rows.first, columns.first],\n last: [rows.last, columns.last],\n viewport: { first: [rows.viewFirst, columns.viewFirst], last: [rows.viewLast, columns.viewLast] },\n };\n }\n const range = this.horizontal() ? columns : rows;\n return { first: range.first, last: range.last, viewport: { first: range.viewFirst, last: range.viewLast } };\n });\n\n getRenderedRange(): TxVirtualScrollerRenderedRange {\n return this.renderedRange();\n }\n\n trackOf(index: number, item: T | undefined): unknown {\n const own = this.trackBy();\n return own ? own(index, item) : index;\n }\n\n itemContext(cell: TxRenderedCell<T>, count: number): TxVirtualScrollerItemContext<T | undefined> {\n return {\n $implicit: cell.item,\n index: cell.index,\n count,\n first: cell.index === 0,\n last: cell.index === count - 1,\n even: cell.index % 2 === 0,\n odd: cell.index % 2 === 1,\n };\n }\n\n onScroll(event: Event): void {\n const element = event.target as HTMLElement;\n const top = element.scrollTop;\n const left = element.scrollLeft;\n this.scrolled.emit({ originalEvent: event });\n const apply = () => {\n this.scrollTop.set(top);\n this.scrollLeft.set(left);\n this.viewportHeight.set(element.clientHeight);\n this.viewportWidth.set(element.clientWidth);\n this.scrolling.set(false);\n };\n if (this.delay() > 0) {\n clearTimeout(this.timer);\n this.scrolling.set(true);\n this.timer = setTimeout(apply, this.delay());\n } else {\n apply();\n }\n }\n\n scrollTo(options: ScrollToOptions): void {\n const element = this.host.nativeElement;\n element.scrollTo?.(options);\n if (options.behavior === 'smooth') return;\n if (options.top !== undefined) this.scrollTop.set(Math.max(0, options.top));\n if (options.left !== undefined) this.scrollLeft.set(Math.max(0, options.left));\n }\n\n scrollToIndex(index: TxVirtualScrollerPosition, behavior: ScrollBehavior = 'auto'): void {\n const [row, column] = this.positionOf(index);\n this.scrollTo({ top: row * this.rowSize(), left: column * this.columnSize(), behavior });\n }\n\n scrollInView(index: TxVirtualScrollerPosition, to: 'to-start' | 'to-end', behavior: ScrollBehavior = 'auto'): void {\n const [row, column] = this.positionOf(index);\n if (to === 'to-start') {\n this.scrollToIndex(index, behavior);\n return;\n }\n this.scrollTo({\n top: Math.max(0, (row + 1) * this.rowSize() - this.viewportHeight()),\n left: Math.max(0, (column + 1) * this.columnSize() - this.viewportWidth()),\n behavior,\n });\n }\n\n refresh(): void {\n this.measure();\n }\n\n private positionOf(index: TxVirtualScrollerPosition): [number, number] {\n if (typeof index !== 'number') return [index[0], index[1]];\n return this.horizontal() ? [0, index] : [index, 0];\n }\n\n private measure(): void {\n const element = this.host.nativeElement;\n this.viewportHeight.set(element.clientHeight);\n this.viewportWidth.set(element.clientWidth);\n }\n\n private fullRange(count: number): TxAxisRange {\n return { first: 0, last: count, viewFirst: 0, viewLast: count };\n }\n\n private axisRange(scroll: number, viewport: number, size: number, count: number): TxAxisRange {\n if (this.disabled() || size <= 0) return this.fullRange(count);\n const space = viewport || size * 10;\n const visible = Math.ceil(space / size);\n const tolerance = this.numToleratedItems() ?? Math.ceil(visible / 2);\n const viewFirst = Math.min(count, Math.floor(scroll / size));\n const viewLast = Math.min(count, Math.ceil((scroll + space) / size));\n const first = this.appendOnly() ? 0 : Math.max(0, viewFirst - tolerance);\n const last = Math.min(count, viewLast + tolerance);\n return { first, last, viewFirst, viewLast };\n }\n}\n","@if (showSpacer()) {\n <div\n class=\"tx-virtual-scroller__spacer\"\n aria-hidden=\"true\"\n [style.height.px]=\"totalHeight()\"\n [style.width.px]=\"totalWidth()\"\n [class]=\"passThrough().spacer?.class\"\n [style]=\"passThrough().spacer?.style\"\n ></div>\n}\n\n<div\n class=\"tx-virtual-scroller__content\"\n [class.tx-virtual-scroller__content--horizontal]=\"horizontal()\"\n [style.transform]=\"contentTransform()\"\n [class]=\"passThrough().content?.class\"\n [style]=\"passThrough().content?.style\"\n>\n @if (contentTemplate(); as content) {\n <ng-container [ngTemplateOutlet]=\"content.templateRef\" [ngTemplateOutletContext]=\"contentContext()\" />\n } @else if (both()) {\n @for (row of renderedRows(); track row.index) {\n <div class=\"tx-virtual-scroller__row\" [style.height.px]=\"rowSize()\" [class]=\"passThrough().row?.class\" [style]=\"passThrough().row?.style\">\n @for (cell of row.cells; track trackOf(cell.index, cell.item)) {\n <div class=\"tx-virtual-scroller__item\" [style.width.px]=\"columnSize()\" [class]=\"passThrough().item?.class\" [style]=\"passThrough().item?.style\">\n <ng-container [ngTemplateOutlet]=\"cellContent\" [ngTemplateOutletContext]=\"{ $implicit: cell, count: columnCount() }\" />\n </div>\n }\n </div>\n }\n } @else {\n @for (cell of renderedItems(); track trackOf(cell.index, cell.item)) {\n <div\n class=\"tx-virtual-scroller__item\"\n [style.height.px]=\"horizontal() ? null : rowSize()\"\n [style.width.px]=\"horizontal() ? columnSize() : null\"\n [class]=\"passThrough().item?.class\"\n [style]=\"passThrough().item?.style\"\n >\n <ng-container [ngTemplateOutlet]=\"cellContent\" [ngTemplateOutletContext]=\"{ $implicit: cell, count: horizontal() ? columnCount() : rowCount() }\" />\n </div>\n }\n }\n</div>\n\n@if (showLoaderMask()) {\n <div class=\"tx-virtual-scroller__loader\" [class]=\"passThrough().loader?.class\" [style]=\"passThrough().loader?.style\">\n @if (loadingIconTemplate(); as icon) {\n <ng-container [ngTemplateOutlet]=\"icon.templateRef\" />\n } @else {\n <tx-icon\n class=\"tx-virtual-scroller__loading-icon\"\n role=\"img\"\n [name]=\"loadingIcon()\"\n [attr.aria-label]=\"translations().loading\"\n [class]=\"passThrough().loadingIcon?.class\"\n [style]=\"passThrough().loadingIcon?.style\"\n />\n }\n </div>\n}\n\n<ng-template #cellContent let-cell let-count=\"count\">\n @if (showLoaderItems() || (cell.item === undefined && loaderTemplate())) {\n <ng-container [ngTemplateOutlet]=\"loaderTemplate()?.templateRef ?? null\" [ngTemplateOutletContext]=\"{ $implicit: cell.index, index: cell.index, count }\" />\n } @else if (itemTemplate(); as item) {\n <ng-container [ngTemplateOutlet]=\"item.templateRef\" [ngTemplateOutletContext]=\"itemContext(cell, count)\" />\n }\n</ng-template>\n"],"mappings":";;;;;;;;AAIA,IAAa,wBAAb,MAAa,sBAAqB;CACvB,cAAc,OAAkD,WAAW;CADzE,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAqB,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAArB,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAqB,cAAA;EAAA,UAAA;EAAA,UAAA;CAAA,CAAA;;AAArB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAqB,YAAA,CAAA;EADjC,MAAA;EAAU,MAAA,CAAA,EAAE,UAAU,qCAAoC,CAAE;;;AAM7D,IAAa,0BAAb,MAAa,wBAAuB;CACzB,cAAc,OAAoD,WAAW;CAD3E,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAuB,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAvB,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAuB,cAAA;EAAA,UAAA;EAAA,UAAA;CAAA,CAAA;;AAAvB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAuB,YAAA,CAAA;EADnC,MAAA;EAAU,MAAA,CA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GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,qBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAClB,4BAA4B,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,iBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAChC,wBAAwB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA"}
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-virtual-scroller.mjs","names":[],"sources":["../../../../packages/ui/virtual-scroller/src/virtual-scroller.templates.ts","../../../../packages/ui/virtual-scroller/src/virtual-scroller.icons.ts","../../../../packages/ui/virtual-scroller/src/virtual-scroller.theme.ts","../../../../packages/ui/virtual-scroller/src/virtual-scroller.component.ts","../../../../packages/ui/virtual-scroller/src/virtual-scroller.component.html"],"sourcesContent":["import { Directive, TemplateRef, inject, input } from '@angular/core';\nimport { TxVirtualScrollerContentContext, TxVirtualScrollerItemContext, TxVirtualScrollerLoaderContext } from './virtual-scroller.types';\n\n@Directive({ selector: 'ng-template[txVirtualScrollerItem]' })\nexport class TxVirtualScrollerItem<T> {\n readonly templateRef = inject<TemplateRef<TxVirtualScrollerItemContext<T>>>(TemplateRef);\n readonly txVirtualScrollerItemOf = input<readonly T[] | null | undefined>(undefined);\n\n static ngTemplateContextGuard<T>(_directive: TxVirtualScrollerItem<T>, context: unknown): context is TxVirtualScrollerItemContext<T> {\n return !!context;\n }\n}\n\n@Directive({ selector: 'ng-template[txVirtualScrollerLoader]' })\nexport class TxVirtualScrollerLoader {\n readonly templateRef = inject<TemplateRef<TxVirtualScrollerLoaderContext>>(TemplateRef);\n\n static ngTemplateContextGuard(_directive: TxVirtualScrollerLoader, context: unknown): context is TxVirtualScrollerLoaderContext {\n return !!context;\n }\n}\n\n@Directive({ selector: 'ng-template[txVirtualScrollerLoadingIcon]' })\nexport class TxVirtualScrollerLoadingIcon {\n readonly templateRef = inject<TemplateRef<void>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[txVirtualScrollerContent]' })\nexport class TxVirtualScrollerContent<T> {\n readonly templateRef = inject<TemplateRef<TxVirtualScrollerContentContext<T>>>(TemplateRef);\n readonly txVirtualScrollerContentOf = input<readonly T[] | null | undefined>(undefined);\n\n static ngTemplateContextGuard<T>(_directive: TxVirtualScrollerContent<T>, context: unknown): context is TxVirtualScrollerContentContext<T> {\n return !!context;\n }\n}\n","import { TxIconSet, txIconSpinner } from '@tectra-ng/icons';\n\nexport const VIRTUAL_SCROLLER_ICON_DEFAULTS: TxIconSet = {\n spinner: txIconSpinner,\n};\n","import { virtualScrollerTokens } from '@tectra-ng/themes';\n\nexport const VIRTUAL_SCROLLER_THEME = {\n virtualScroller: virtualScrollerTokens,\n};\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n ElementRef,\n afterNextRender,\n booleanAttribute,\n computed,\n contentChild,\n effect,\n inject,\n input,\n numberAttribute,\n output,\n signal,\n untracked,\n} from '@angular/core';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { injectTranslations } from '@tectra-ng/core/i18n';\nimport { optionalBoolean, optionalNumber } from '@tectra-ng/core/utils';\nimport { provideTxIconDefaults, TxIcon } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraVirtualScrollerTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxVirtualScrollerContent, TxVirtualScrollerItem, TxVirtualScrollerLoader, TxVirtualScrollerLoadingIcon } from './virtual-scroller.templates';\nimport {\n TxVirtualScrollerContentContext,\n TxVirtualScrollerItemContext,\n TxVirtualScrollerLazyLoadEvent,\n TxVirtualScrollerOrientation,\n TxVirtualScrollerPart,\n TxVirtualScrollerPosition,\n TxVirtualScrollerRenderedRange,\n TxVirtualScrollerScrollEvent,\n} from './virtual-scroller.types';\nimport { VIRTUAL_SCROLLER_ICON_DEFAULTS } from './virtual-scroller.icons';\nimport { VIRTUAL_SCROLLER_THEME } from './virtual-scroller.theme';\n\n/** Rendered span of one axis and the visible span inside it, as indexes. */\ninterface TxAxisRange {\n /** Index of the first rendered item. */\n first: number;\n /** Index after the last rendered item. */\n last: number;\n /** Index of the first visible item. */\n viewFirst: number;\n /** Index after the last visible item. */\n viewLast: number;\n}\n\n/** One rendered item with its index. */\ninterface TxRenderedCell<T> {\n /** Index of the item on its axis. */\n index: number;\n /** The item; `undefined` while it is not loaded. */\n item: T | undefined;\n}\n\n/** One rendered row of a `both` grid. */\ninterface TxRenderedRow<T> {\n /** Index of the row. */\n index: number;\n /** The rendered cells of the row. */\n cells: TxRenderedCell<T>[];\n}\n\n/**\n * Renders only the items that fit in its scroll area, so long lists scroll smoothly;\n * vertical, horizontal or as a grid.\n */\n@Component({\n selector: 'tx-virtual-scroller',\n imports: [NgTemplateOutlet, TxIcon],\n templateUrl: './virtual-scroller.component.html',\n styleUrl: './virtual-scroller.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-virtual-scroller',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-orientation]': 'orientation()',\n '[class.tx-virtual-scroller--disabled]': 'disabled()',\n '[class.tx-virtual-scroller--loading]': 'showLoaderMask()',\n '[attr.tabindex]': 'tabindex()',\n '[attr.role]': 'ariaLabel() || ariaLabelledBy() ? \"region\" : null',\n '[attr.aria-label]': 'ariaLabel() ?? null',\n '[attr.aria-labelledby]': 'ariaLabelledBy() ?? null',\n '[attr.aria-busy]': 'loading() || null',\n '(scroll)': 'onScroll($event)',\n },\n viewProviders: [provideTxIconDefaults(VIRTUAL_SCROLLER_ICON_DEFAULTS)],\n})\nexport class TxVirtualScroller<T = unknown> {\n private readonly virtualScrollerTheme = injectTokens(VIRTUAL_SCROLLER_THEME);\n\n readonly items = input<readonly (T | undefined)[] | readonly (readonly (T | undefined)[])[] | null | undefined>(undefined);\n readonly itemSize = input<number | readonly [number, number]>(40);\n readonly scrollHeight = input<string | undefined>(undefined);\n readonly scrollWidth = input<string | undefined>(undefined);\n readonly orientation = input<TxVirtualScrollerOrientation>('vertical');\n readonly numToleratedItems = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly delay = input(0, { transform: numberAttribute });\n readonly step = input(0, { transform: numberAttribute });\n readonly lazy = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly appendOnly = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly disabled = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly showSpacer = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly showLoader = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly loading = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly loadingIcon = input('spinner');\n readonly trackBy = input<((index: number, item: T | undefined) => unknown) | undefined>(undefined);\n readonly tabindex = input(0, { transform: numberAttribute });\n readonly ariaLabel = input<string | undefined>(undefined);\n readonly ariaLabelledBy = input<string | undefined>(undefined);\n readonly dt = input<TectraDeepPartial<TectraVirtualScrollerTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxVirtualScrollerPart, TxVirtualScroller<T>> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly lazyLoad = output<TxVirtualScrollerLazyLoadEvent>();\n readonly scrolled = output<TxVirtualScrollerScrollEvent>();\n readonly scrollIndexChange = output<TxVirtualScrollerRenderedRange['viewport']>();\n\n readonly itemTemplate = contentChild(TxVirtualScrollerItem);\n readonly loaderTemplate = contentChild(TxVirtualScrollerLoader);\n readonly loadingIconTemplate = contentChild(TxVirtualScrollerLoadingIcon);\n readonly contentTemplate = contentChild(TxVirtualScrollerContent);\n\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly destroy = inject(DestroyRef);\n private readonly cleanup = this.destroy.onDestroy(() => clearTimeout(this.timer));\n private timer: ReturnType<typeof setTimeout> | undefined;\n private lastLazy = '';\n private lastViewport = '';\n\n readonly translations = injectTranslations();\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('virtualScroller', this, this.pt, this.ptOptions);\n readonly hostStyle = computed(() => ({\n ...toStyleObject(this.dt(), '--tx-virtual-scroller'),\n ...(this.scrollHeight() ? { height: this.scrollHeight() } : {}),\n ...(this.scrollWidth() ? { width: this.scrollWidth() } : {}),\n ...this.passThrough().root?.style,\n }));\n\n readonly scrollTop = signal(0);\n readonly scrollLeft = signal(0);\n readonly viewportHeight = signal(0);\n readonly viewportWidth = signal(0);\n readonly scrolling = signal(false);\n\n readonly both = computed(() => this.orientation() === 'both');\n readonly horizontal = computed(() => this.orientation() === 'horizontal');\n readonly rowSize = computed(() => {\n const size = this.itemSize();\n return typeof size === 'number' ? size : size[0];\n });\n readonly columnSize = computed(() => {\n const size = this.itemSize();\n return typeof size === 'number' ? size : size[1];\n });\n readonly list = computed(() => (this.items() ?? []) as readonly (T | undefined)[]);\n readonly grid = computed(() => (this.both() ? ((this.items() ?? []) as readonly (readonly (T | undefined)[])[]) : []));\n readonly rowCount = computed(() => (this.horizontal() ? 1 : this.both() ? this.grid().length : this.list().length));\n readonly columnCount = computed(() => {\n if (this.horizontal()) return this.list().length;\n if (!this.both()) return 1;\n return this.grid().reduce((max, row) => Math.max(max, row?.length ?? 0), 0);\n });\n readonly rows = computed(() => (this.horizontal() ? this.fullRange(1) : this.axisRange(this.scrollTop(), this.viewportHeight(), this.rowSize(), this.rowCount())));\n readonly columns = computed(() => {\n if (!this.horizontal() && !this.both()) return this.fullRange(1);\n return this.axisRange(this.scrollLeft(), this.viewportWidth(), this.columnSize(), this.columnCount());\n });\n readonly totalHeight = computed(() => (this.horizontal() ? null : this.rowCount() * this.rowSize()));\n readonly totalWidth = computed(() => (this.horizontal() || this.both() ? this.columnCount() * this.columnSize() : null));\n readonly offsetTop = computed(() => (this.horizontal() ? 0 : this.rows().first * this.rowSize()));\n readonly offsetLeft = computed(() => (this.horizontal() || this.both() ? this.columns().first * this.columnSize() : 0));\n readonly contentTransform = computed(() => `translate3d(${this.offsetLeft()}px, ${this.offsetTop()}px, 0)`);\n\n readonly renderedItems = computed<TxRenderedCell<T>[]>(() => {\n if (this.both()) return [];\n const { first, last } = this.horizontal() ? this.columns() : this.rows();\n const list = this.list();\n const cells: TxRenderedCell<T>[] = [];\n for (let index = first; index < last; index += 1) cells.push({ index, item: list[index] });\n return cells;\n });\n readonly renderedRows = computed<TxRenderedRow<T>[]>(() => {\n if (!this.both()) return [];\n const rows = this.rows();\n const columns = this.columns();\n const grid = this.grid();\n const result: TxRenderedRow<T>[] = [];\n for (let row = rows.first; row < rows.last; row += 1) {\n const cells: TxRenderedCell<T>[] = [];\n for (let column = columns.first; column < columns.last; column += 1) cells.push({ index: column, item: grid[row]?.[column] });\n result.push({ index: row, cells });\n }\n return result;\n });\n readonly showLoaderMask = computed(() => this.showLoader() && (this.loading() || this.scrolling()) && !this.loaderTemplate());\n readonly showLoaderItems = computed(() => this.showLoader() && (this.loading() || this.scrolling()) && !!this.loaderTemplate());\n readonly contentContext = computed<TxVirtualScrollerContentContext<T | undefined>>(() => {\n const items = this.renderedItems().map((cell) => cell.item);\n const range = this.horizontal() ? this.columns() : this.rows();\n return {\n $implicit: items,\n items,\n first: range.first,\n last: range.last,\n count: this.horizontal() ? this.columnCount() : this.rowCount(),\n spacerBefore: this.horizontal() ? this.offsetLeft() : this.offsetTop(),\n itemSize: this.horizontal() ? this.columnSize() : this.rowSize(),\n };\n });\n\n constructor() {\n afterNextRender(() => {\n this.measure();\n if (typeof ResizeObserver === 'undefined') return;\n const observer = new ResizeObserver(() => this.measure());\n observer.observe(this.host.nativeElement);\n this.destroy.onDestroy(() => observer.disconnect());\n });\n\n effect(() => {\n if (!this.lazy()) return;\n const range = this.horizontal() ? this.columns() : this.rows();\n const step = this.step();\n const count = this.horizontal() ? this.columnCount() : this.rowCount();\n const first = step > 0 ? Math.floor(range.first / step) * step : range.first;\n const last = step > 0 ? Math.min(Math.max(count, range.last), Math.ceil(range.last / step) * step) : range.last;\n const key = `${first}:${last}`;\n if (key === this.lastLazy) return;\n this.lastLazy = key;\n untracked(() => this.lazyLoad.emit({ first, last }));\n });\n\n effect(() => {\n const viewport = this.renderedRange().viewport;\n const key = JSON.stringify(viewport);\n if (key === this.lastViewport) return;\n this.lastViewport = key;\n untracked(() => this.scrollIndexChange.emit(viewport));\n });\n }\n\n readonly renderedRange = computed<TxVirtualScrollerRenderedRange>(() => {\n const rows = this.rows();\n const columns = this.columns();\n if (this.both()) {\n return {\n first: [rows.first, columns.first],\n last: [rows.last, columns.last],\n viewport: { first: [rows.viewFirst, columns.viewFirst], last: [rows.viewLast, columns.viewLast] },\n };\n }\n const range = this.horizontal() ? columns : rows;\n return { first: range.first, last: range.last, viewport: { first: range.viewFirst, last: range.viewLast } };\n });\n\n getRenderedRange(): TxVirtualScrollerRenderedRange {\n return this.renderedRange();\n }\n\n trackOf(index: number, item: T | undefined): unknown {\n const own = this.trackBy();\n return own ? own(index, item) : index;\n }\n\n itemContext(cell: TxRenderedCell<T>, count: number): TxVirtualScrollerItemContext<T | undefined> {\n return {\n $implicit: cell.item,\n index: cell.index,\n count,\n first: cell.index === 0,\n last: cell.index === count - 1,\n even: cell.index % 2 === 0,\n odd: cell.index % 2 === 1,\n };\n }\n\n onScroll(event: Event): void {\n const element = event.target as HTMLElement;\n const top = element.scrollTop;\n const left = element.scrollLeft;\n this.scrolled.emit({ originalEvent: event });\n const apply = () => {\n this.scrollTop.set(top);\n this.scrollLeft.set(left);\n this.viewportHeight.set(element.clientHeight);\n this.viewportWidth.set(element.clientWidth);\n this.scrolling.set(false);\n };\n if (this.delay() > 0) {\n clearTimeout(this.timer);\n this.scrolling.set(true);\n this.timer = setTimeout(apply, this.delay());\n } else {\n apply();\n }\n }\n\n scrollTo(options: ScrollToOptions): void {\n const element = this.host.nativeElement;\n element.scrollTo?.(options);\n if (options.behavior === 'smooth') return;\n if (options.top !== undefined) this.scrollTop.set(Math.max(0, options.top));\n if (options.left !== undefined) this.scrollLeft.set(Math.max(0, options.left));\n }\n\n scrollToIndex(index: TxVirtualScrollerPosition, behavior: ScrollBehavior = 'auto'): void {\n const [row, column] = this.positionOf(index);\n this.scrollTo({ top: row * this.rowSize(), left: column * this.columnSize(), behavior });\n }\n\n scrollInView(index: TxVirtualScrollerPosition, to: 'to-start' | 'to-end', behavior: ScrollBehavior = 'auto'): void {\n const [row, column] = this.positionOf(index);\n if (to === 'to-start') {\n this.scrollToIndex(index, behavior);\n return;\n }\n this.scrollTo({\n top: Math.max(0, (row + 1) * this.rowSize() - this.viewportHeight()),\n left: Math.max(0, (column + 1) * this.columnSize() - this.viewportWidth()),\n behavior,\n });\n }\n\n refresh(): void {\n this.measure();\n }\n\n private positionOf(index: TxVirtualScrollerPosition): [number, number] {\n if (typeof index !== 'number') return [index[0], index[1]];\n return this.horizontal() ? [0, index] : [index, 0];\n }\n\n private measure(): void {\n const element = this.host.nativeElement;\n this.viewportHeight.set(element.clientHeight);\n this.viewportWidth.set(element.clientWidth);\n }\n\n private fullRange(count: number): TxAxisRange {\n return { first: 0, last: count, viewFirst: 0, viewLast: count };\n }\n\n private axisRange(scroll: number, viewport: number, size: number, count: number): TxAxisRange {\n if (this.disabled() || size <= 0) return this.fullRange(count);\n const space = viewport || size * 10;\n const visible = Math.ceil(space / size);\n const tolerance = this.numToleratedItems() ?? Math.ceil(visible / 2);\n const viewFirst = Math.min(count, Math.floor(scroll / size));\n const viewLast = Math.min(count, Math.ceil((scroll + space) / size));\n const first = this.appendOnly() ? 0 : Math.max(0, viewFirst - tolerance);\n const last = Math.min(count, viewLast + tolerance);\n return { first, last, viewFirst, viewLast };\n }\n}\n","@if (showSpacer()) {\n <div\n class=\"tx-virtual-scroller__spacer\"\n aria-hidden=\"true\"\n [style.height.px]=\"totalHeight()\"\n [style.width.px]=\"totalWidth()\"\n [class]=\"passThrough().spacer?.class\"\n [style]=\"passThrough().spacer?.style\"\n ></div>\n}\n\n<div\n class=\"tx-virtual-scroller__content\"\n [class.tx-virtual-scroller__content--horizontal]=\"horizontal()\"\n [style.transform]=\"contentTransform()\"\n [class]=\"passThrough().content?.class\"\n [style]=\"passThrough().content?.style\"\n>\n @if (contentTemplate(); as content) {\n <ng-container [ngTemplateOutlet]=\"content.templateRef\" [ngTemplateOutletContext]=\"contentContext()\" />\n } @else if (both()) {\n @for (row of renderedRows(); track row.index) {\n <div class=\"tx-virtual-scroller__row\" [style.height.px]=\"rowSize()\" [class]=\"passThrough().row?.class\" [style]=\"passThrough().row?.style\">\n @for (cell of row.cells; track trackOf(cell.index, cell.item)) {\n <div class=\"tx-virtual-scroller__item\" [style.width.px]=\"columnSize()\" [class]=\"passThrough().item?.class\" [style]=\"passThrough().item?.style\">\n <ng-container [ngTemplateOutlet]=\"cellContent\" [ngTemplateOutletContext]=\"{ $implicit: cell, count: columnCount() }\" />\n </div>\n }\n </div>\n }\n } @else {\n @for (cell of renderedItems(); track trackOf(cell.index, cell.item)) {\n <div\n class=\"tx-virtual-scroller__item\"\n [style.height.px]=\"horizontal() ? null : rowSize()\"\n [style.width.px]=\"horizontal() ? columnSize() : null\"\n [class]=\"passThrough().item?.class\"\n [style]=\"passThrough().item?.style\"\n >\n <ng-container [ngTemplateOutlet]=\"cellContent\" [ngTemplateOutletContext]=\"{ $implicit: cell, count: horizontal() ? columnCount() : rowCount() }\" />\n </div>\n }\n }\n</div>\n\n@if (showLoaderMask()) {\n <div class=\"tx-virtual-scroller__loader\" [class]=\"passThrough().loader?.class\" [style]=\"passThrough().loader?.style\">\n @if (loadingIconTemplate(); as icon) {\n <ng-container [ngTemplateOutlet]=\"icon.templateRef\" />\n } @else {\n <tx-icon\n class=\"tx-virtual-scroller__loading-icon\"\n role=\"img\"\n [name]=\"loadingIcon()\"\n [attr.aria-label]=\"translations().loading\"\n [class]=\"passThrough().loadingIcon?.class\"\n [style]=\"passThrough().loadingIcon?.style\"\n />\n }\n </div>\n}\n\n<ng-template #cellContent let-cell let-count=\"count\">\n @if (showLoaderItems() || (cell.item === undefined && loaderTemplate())) {\n <ng-container [ngTemplateOutlet]=\"loaderTemplate()?.templateRef ?? null\" [ngTemplateOutletContext]=\"{ $implicit: cell.index, index: cell.index, count }\" />\n } @else if (itemTemplate(); as item) {\n <ng-container [ngTemplateOutlet]=\"item.templateRef\" [ngTemplateOutletContext]=\"itemContext(cell, count)\" />\n }\n</ng-template>\n"],"mappings":";;;;;;;;AAIA,IAAa,wBAAb,MAAa,sBAAqB;CACvB,cAAc,OAAqD,WAAW;CAC9E,0BAA0B,MAAuC,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,0BAAA,CAAA,+BAAA,CAAA,CAAA;CAEpF,OAAO,uBAA0B,YAAsC,SAAgB;EACrF,OAAO,CAAC,CAAC;CACX;CANW,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAqB,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAArB,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAqB,cAAA;EAAA,UAAA;EAAA,QAAA,EAAA,yBAAA;GAAA,mBAAA;GAAA,YAAA;GAAA,UAAA;GAAA,YAAA;GAAA,mBAAA;EAAA,EAAA;EAAA,UAAA;CAAA,CAAA;;AAArB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAqB,YAAA,CAAA;EADjC,MAAA;EAAU,MAAA,CAAA,EAAE,UAAU,qCAAoC,CAAE;;;;;;;;;;;AAW7D,IAAa,0BAAb,MAAa,wBAAuB;CACzB,cAAc,OAAoD,WAAW;CAEtF,OAAO,uBAAuB,YAAqC,SAAgB;EACjF,OAAO,CAAC,CAAC;CACX;C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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,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,UAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,UAAA;EAAA,CAAA;EAAA,mBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,mBAAA;EAAA,CAAA;EAAA,cAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAAA,qBAAqB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,gBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBACnB,uBAAuB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,qBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAClB,4BAA4B,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,iBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAChC,wBAAwB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA"}
|
package/field/README.md
CHANGED
|
@@ -23,9 +23,9 @@ A form row: label, control, hint and error in one element. It finds the control
|
|
|
23
23
|
| hint | Help text under the control |
|
|
24
24
|
| control | Form control for the error, when it is not the projected one |
|
|
25
25
|
| errorText | Error from outside the form (e.g. the server); shown before the control's errors and marks the control invalid |
|
|
26
|
-
| successText | Text shown when the control has a valid value and was touched or changed |
|
|
26
|
+
| successText | Text shown when the control has a valid value and was touched or changed (at once with `showImmediately`) |
|
|
27
27
|
| messages | Own error texts per error key (see `tx-field-error`) |
|
|
28
|
-
| showImmediately | Shows the error before the control is touched or changed |
|
|
28
|
+
| showImmediately | Shows the error, and the success text, before the control is touched or changed |
|
|
29
29
|
| layout | `vertical` (label above) or `horizontal` (label on the left, stacks below 40rem) |
|
|
30
30
|
| dt | Design tokens of this instance (`field`) |
|
|
31
31
|
| pt | Classes and styles of the parts: `root`, `label`, `control`, `hint`, `error` |
|
package/file-upload/README.md
CHANGED
|
@@ -33,6 +33,7 @@ The value of a form control is the `File` (or `null`), or the `File[]` with `mul
|
|
|
33
33
|
| headers | Request headers, `HttpHeaders` or a plain object |
|
|
34
34
|
| withCredentials | Sends cookies with the request |
|
|
35
35
|
| customUpload | Hands the files to `uploadHandler` instead of sending them |
|
|
36
|
+
| keepUploaded | `false` drops a file from the list a moment after it shows "Uploaded"; `true` (default) keeps uploaded files until they are removed or `clearUploaded()` runs |
|
|
36
37
|
| description | Hint under the prompt, e.g. the types and the size limit |
|
|
37
38
|
| chooseLabel | Text of the browse link and the basic button |
|
|
38
39
|
| uploadLabel | Text of the Upload button |
|
|
@@ -52,7 +53,7 @@ The value of a form control is the `File` (or `null`), or the `File[]` with `mul
|
|
|
52
53
|
| ptOptions | How `pt` merges with the global pass-through |
|
|
53
54
|
| unstyled | Removes the tectra styles |
|
|
54
55
|
|
|
55
|
-
`choose()` opens the file dialog, `upload()` sends the waiting files, `clear()` removes them (and stops a running request); `entries()` and `uploadedEntries()` read the files with their status and progress, `uploading()` tells whether a request runs.
|
|
56
|
+
`choose()` opens the file dialog, `upload()` sends the waiting files, `clear()` removes them (and stops a running request), `clearUploaded()` empties the list of uploaded files; `entries()` and `uploadedEntries()` read the files with their status and progress, `uploading()` tells whether a request runs.
|
|
56
57
|
|
|
57
58
|
## Outputs
|
|
58
59
|
| Name | Description |
|
package/galleria/README.md
CHANGED
|
@@ -52,6 +52,15 @@ Items with `src` (`TxGalleriaImage`: `src`, `thumbnailSrc`, `alt`, `title`, `des
|
|
|
52
52
|
| txGalleriaHeader | Content above the gallery |
|
|
53
53
|
| txGalleriaFooter | Content below the gallery |
|
|
54
54
|
|
|
55
|
+
The item templates take the items only for typing — `<ng-template txGalleriaItem [txGalleriaItemOf]="photos" let-photo>` gives `photo` the item type in strict templates; without it the item stays untyped.
|
|
56
|
+
|
|
57
|
+
## Inputs — item templates
|
|
58
|
+
| Name | Description |
|
|
59
|
+
|---|---|
|
|
60
|
+
| txGalleriaItemOf | `txGalleriaItem`: the items, only for the type of `let-item` |
|
|
61
|
+
| txGalleriaThumbnailOf | `txGalleriaThumbnail`: the items, only for the type of `let-item` |
|
|
62
|
+
| txGalleriaCaptionOf | `txGalleriaCaption`: the items, only for the type of `let-item` |
|
|
63
|
+
|
|
55
64
|
## Keyboard
|
|
56
65
|
| Key | Action |
|
|
57
66
|
|---|---|
|
package/input-otp/README.md
CHANGED
|
@@ -31,7 +31,7 @@ A one-time code in separate cells. Typing moves to the next cell, Backspace and
|
|
|
31
31
|
## Outputs
|
|
32
32
|
| Name | Description |
|
|
33
33
|
|---|---|
|
|
34
|
-
| completed |
|
|
34
|
+
| completed | The last empty cell was filled — the full code; editing a filled code does not repeat it until a cell is emptied and filled again |
|
|
35
35
|
|
|
36
36
|
## Keyboard
|
|
37
37
|
| Key | Action |
|
package/knob/README.md
CHANGED
|
@@ -19,7 +19,7 @@ A value on a dial: drag along the ring or use the keyboard. `arc="dial"` leaves
|
|
|
19
19
|
| arc | `dial` (270°, gap at the bottom) or `ring` (full circle from the top) |
|
|
20
20
|
| showValue | Shows the value in the middle |
|
|
21
21
|
| showHandle | Shows a handle at the end of the value; on by default for `ring` |
|
|
22
|
-
| valueTemplate | Text of the value, `{value}` is replaced (formatted for the locale), e.g. `{value}
|
|
22
|
+
| valueTemplate | Text of the value, `{value}` is replaced (formatted for the locale), e.g. `{value}%`. The text scales with `size` and gets smaller when it is too long for the ring |
|
|
23
23
|
| invalid | Red ring; without it the knob follows its form control |
|
|
24
24
|
| disabled | Disables the knob (also from the form control) |
|
|
25
25
|
| readonly | Shows the value, ignores dragging and keys |
|
package/menu/README.md
CHANGED
|
@@ -27,7 +27,8 @@ A popup menu opens from `[txMenuTrigger]` (click, Arrow Down / Up), or from code
|
|
|
27
27
|
| popup | Opens as a popup from a trigger instead of showing in place |
|
|
28
28
|
| tiered | Nested items open as sub-menus (on by default for `tx-tiered-menu`) |
|
|
29
29
|
| placement | Popup placement, `bottom-start` by default; flips when there is no room |
|
|
30
|
-
| offset | Gap between the popup and its trigger in px |
|
|
30
|
+
| offset | Gap between the popup and its trigger in px (default 4, 10 with `arrow`) |
|
|
31
|
+
| arrow | Gives the popup an arrow that points at the trigger: at its middle for a centred placement, near its start or end for `-start` / `-end`; next to a small trigger the popup moves out a little so that the arrow points at its centre |
|
|
31
32
|
| variant | `default`, or `context` for the look of a context menu (set by `tx-context-menu`) |
|
|
32
33
|
| ariaLabel | Name of the menu |
|
|
33
34
|
| ariaLabelledBy | Id of the element that names the menu |
|
|
@@ -35,7 +36,7 @@ A popup menu opens from `[txMenuTrigger]` (click, Arrow Down / Up), or from code
|
|
|
35
36
|
| global | `tx-context-menu`: opens on right-click anywhere on the page |
|
|
36
37
|
| txMenuTrigger | On a button: the popup menu it opens |
|
|
37
38
|
| dt | Design tokens of this menu (`menu`) |
|
|
38
|
-
| pt | Classes and styles of the parts: `root`, `item`, `icon`, `label`, `shortcut`, `badge`, `separator`, `groupLabel`, `submenuIcon` |
|
|
39
|
+
| pt | Classes and styles of the parts: `root`, `item`, `icon`, `label`, `shortcut`, `badge`, `separator`, `groupLabel`, `submenuIcon`, `arrow` |
|
|
39
40
|
| ptOptions | How `pt` merges with the global pass-through |
|
|
40
41
|
| unstyled | Removes the tectra styles |
|
|
41
42
|
|
|
@@ -51,6 +52,13 @@ A popup menu opens from `[txMenuTrigger]` (click, Arrow Down / Up), or from code
|
|
|
51
52
|
|---|---|
|
|
52
53
|
| txMenuItem | `<ng-template txMenuItem let-item let-hasSubmenu="hasSubmenu">` — own content of every item |
|
|
53
54
|
|
|
55
|
+
The item template takes the items only for typing — `<ng-template txMenuItem [txMenuItemOf]="items" let-item>` gives `item.data` the type of the items in strict templates; without it `data` stays untyped.
|
|
56
|
+
|
|
57
|
+
## Inputs — item template
|
|
58
|
+
| Name | Description |
|
|
59
|
+
|---|---|
|
|
60
|
+
| txMenuItemOf | `txMenuItem`: the items of `model`, only for the type of `let-item` |
|
|
61
|
+
|
|
54
62
|
## Keyboard
|
|
55
63
|
| Key | Action |
|
|
56
64
|
|---|---|
|
package/message/README.md
CHANGED
|
@@ -16,7 +16,7 @@ Error texts: `messages` on the field, then `provideTectra({ validationMessages }
|
|
|
16
16
|
| Name | Description |
|
|
17
17
|
|---|---|
|
|
18
18
|
| severity | `tx-message`: `primary`, `secondary`, `success`, `info`, `warn`, `danger`, `help`, `contrast`. `tx-field-hint`: `secondary` or `success` |
|
|
19
|
-
| text | `tx-message`: the text;
|
|
19
|
+
| text | `tx-message`: the text; the projected content follows it |
|
|
20
20
|
| icon | Icon name (`exclamation-triangle`, also `pi-exclamation-triangle`) or an icon class; no icon by default |
|
|
21
21
|
| size | `tx-message`: `small`, `medium`, `large` |
|
|
22
22
|
| variant | `tx-message`: tinted box by default, `outlined` without the fill, `text` without the box, `simple` without the box and padding |
|
|
@@ -25,13 +25,13 @@ Error texts: `messages` on the field, then `provideTectra({ validationMessages }
|
|
|
25
25
|
| life | `tx-message`: closes itself after this many milliseconds |
|
|
26
26
|
| control | `tx-field-error`: the form control whose errors are shown (`formControl`, a group's control, or `ngModel.control`) |
|
|
27
27
|
| errorText | `tx-field-error`: an error from outside the form (e.g. the server) — shown as is, before the control's errors |
|
|
28
|
-
| showImmediately | `tx-field-error`: shows the error before the control is touched or changed |
|
|
29
|
-
| successText | `tx-field-error`: text shown when the control has a valid value and was touched or changed |
|
|
28
|
+
| showImmediately | `tx-field-error`: shows the error, and the success text, before the control is touched or changed |
|
|
29
|
+
| successText | `tx-field-error`: text shown when the control has a valid value and was touched or changed (at once with `showImmediately`) |
|
|
30
30
|
| messages | `tx-field-error`: own texts per error key — a string with `{param}` or a function of the error |
|
|
31
31
|
| for | `tx-field-hint`, `tx-field-error`: id of the field; adds this text to its `aria-describedby` |
|
|
32
32
|
| id | `tx-field-hint`, `tx-field-error`: own id instead of a generated one |
|
|
33
33
|
| dt | Design tokens of this instance (`message` or `fieldMessage`) |
|
|
34
|
-
| pt | Classes and styles of the parts: `root`, `icon`, `content`, `closeButton` (message); `root`, `icon`, `text` (hint, error) |
|
|
34
|
+
| pt | Classes and styles of the parts: `root`, `icon`, `content`, `actions`, `closeButton` (message); `root`, `icon`, `text` (hint, error) |
|
|
35
35
|
| ptOptions | How `pt` merges with the global pass-through |
|
|
36
36
|
| unstyled | Removes the tectra styles, keeps behaviour and ARIA |
|
|
37
37
|
|
|
@@ -43,7 +43,8 @@ Error texts: `messages` on the field, then `provideTectra({ validationMessages }
|
|
|
43
43
|
## Slots
|
|
44
44
|
| Name | Description |
|
|
45
45
|
|---|---|
|
|
46
|
-
| default | `tx-message`: content
|
|
46
|
+
| default | `tx-message`: content after the `text`; `tx-field-hint`: the hint |
|
|
47
|
+
| txMessageActions | `tx-message`: buttons or links at the end of the message, before the close button (`<button txButton txMessageActions>`) |
|
|
47
48
|
| txMessageIcon | `<ng-template txMessageIcon>` — own icon |
|
|
48
49
|
| txMessageCloseIcon | `<ng-template txMessageCloseIcon>` — own close icon |
|
|
49
50
|
|
package/multiselect/README.md
CHANGED
|
@@ -15,7 +15,7 @@ Texts come from the tectra locale — `selectAll`, `selectedOfTotal`, `selectedI
|
|
|
15
15
|
| optionGroupLabel | Field of a group shown as its header |
|
|
16
16
|
| optionGroupChildren | Field of a group that holds its items |
|
|
17
17
|
| dataKey | Field that identifies an object value |
|
|
18
|
-
| display | `comma` (text) or `chip` (removable chips) |
|
|
18
|
+
| display | `comma` (text) or `chip` (removable chips on one line; the ones that do not fit are counted in a `+N` chip) |
|
|
19
19
|
| maxSelectedLabels | Above this many values the field shows "N selected" |
|
|
20
20
|
| selectedItemsLabel | Own summary text, `{count}` is replaced |
|
|
21
21
|
| selectAllLabel | Own text of the select-all checkbox (the translated "Select all" by default) |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tectra-ng/ui",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Angular UI components on signals: table, datepicker, select, multiselect, dialog, drawer, toast, tooltip, tree and 80+ more. Standalone, OnPush, zoneless, accessible and themable, one entry point per component.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://tectra-ng.com",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"@angular/forms": "^22.2.0",
|
|
61
61
|
"@angular/router": "^22.2.0",
|
|
62
62
|
"rxjs": "^7.8.0",
|
|
63
|
-
"@tectra-ng/core": "^0.4.
|
|
64
|
-
"@tectra-ng/icons": "^0.4.
|
|
65
|
-
"@tectra-ng/themes": "^0.4.
|
|
63
|
+
"@tectra-ng/core": "^0.4.3",
|
|
64
|
+
"@tectra-ng/icons": "^0.4.3",
|
|
65
|
+
"@tectra-ng/themes": "^0.4.3"
|
|
66
66
|
},
|
|
67
67
|
"peerDependenciesMeta": {
|
|
68
68
|
"@angular/router": {
|
|
@@ -146,6 +146,10 @@
|
|
|
146
146
|
"types": "./types/tectra-ng-ui-color-picker.d.ts",
|
|
147
147
|
"default": "./fesm2022/tectra-ng-ui-color-picker.mjs"
|
|
148
148
|
},
|
|
149
|
+
"./color-swatches": {
|
|
150
|
+
"types": "./types/tectra-ng-ui-color-swatches.d.ts",
|
|
151
|
+
"default": "./fesm2022/tectra-ng-ui-color-swatches.mjs"
|
|
152
|
+
},
|
|
149
153
|
"./confirm": {
|
|
150
154
|
"types": "./types/tectra-ng-ui-confirm.d.ts",
|
|
151
155
|
"default": "./fesm2022/tectra-ng-ui-confirm.mjs"
|
|
@@ -346,6 +350,10 @@
|
|
|
346
350
|
"types": "./types/tectra-ng-ui-select.d.ts",
|
|
347
351
|
"default": "./fesm2022/tectra-ng-ui-select.mjs"
|
|
348
352
|
},
|
|
353
|
+
"./select-button": {
|
|
354
|
+
"types": "./types/tectra-ng-ui-select-button.d.ts",
|
|
355
|
+
"default": "./fesm2022/tectra-ng-ui-select-button.mjs"
|
|
356
|
+
},
|
|
349
357
|
"./skeleton": {
|
|
350
358
|
"types": "./types/tectra-ng-ui-skeleton.d.ts",
|
|
351
359
|
"default": "./fesm2022/tectra-ng-ui-skeleton.mjs"
|
package/paginator/README.md
CHANGED
|
@@ -8,7 +8,7 @@ Page navigation for long lists: first / previous / page / next / last buttons, a
|
|
|
8
8
|
|
|
9
9
|
`pageChange` gets `TxPageState` — `page` (0-based), `first`, `rows`, `pageCount`. Below 40rem the paginator is compact: fewer page links and no first / last buttons, so it fits one line on a phone.
|
|
10
10
|
|
|
11
|
-
For requests and responses of paginated lists use `TxPaginationParams` (`page` is 1-based, `limit` is the page size, `total` the number of records) and the helpers `pageToFirst`, `firstToPage`, `pageCountOf`.
|
|
11
|
+
For requests and responses of paginated lists use `TxPaginationParams` (`page` is 1-based, `limit` is the page size, `total` the number of records) and the helpers `pageToFirst`, `firstToPage`, `pageCountOf`. Code that only needs this math imports it from `@tectra-ng/utils/pagination`, which does not load the paginator component.
|
|
12
12
|
|
|
13
13
|
## Inputs
|
|
14
14
|
| Name | Description |
|
package/panel-menu/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Panel menu
|
|
2
2
|
|
|
3
|
-
A vertical menu of collapsible sections for app navigation. Two looks: `panel` (each root item is a bordered panel with a toggle header) and `sidebar` (root items are section titles above their links — the app sidebar). Nested items open in place with an animation; the item of the current route is highlighted and its parents open.
|
|
3
|
+
A vertical menu of collapsible sections for app navigation. Two looks: `panel` (each root item is a bordered panel with a toggle header) and `sidebar` (root items are section titles above their links — the app sidebar). Nested items open in place with an animation; the item of the current route is highlighted and its parents open. A clicked link is highlighted as soon as its navigation starts and goes back when the navigation is cancelled or fails; when the current page has a `canDeactivate` guard (a leave confirm) the highlight waits until the guards let the page go.
|
|
4
4
|
|
|
5
5
|
```html
|
|
6
6
|
<tx-panel-menu [model]="items" />
|
package/pill/README.md
CHANGED
|
@@ -12,7 +12,7 @@ A small rounded label for a status, a category or a count — in tables, lists a
|
|
|
12
12
|
| Name | Description |
|
|
13
13
|
|---|---|
|
|
14
14
|
| value | Text of the pill; content inside the tag is added after it |
|
|
15
|
-
| tone | `neutral`, `primary`, `success`, `info`, `warn`, `danger`, `help`, `contrast` |
|
|
15
|
+
| tone | `neutral`, `primary`, `success`, `info`, `warn`, `danger`, `help`, `contrast`; `secondary` is the same as `neutral`, so tag and badge severities (and `txHttpStatusTone`) fit |
|
|
16
16
|
| variant | `soft` (tinted, default), `solid` or `outline` |
|
|
17
17
|
| size | `small`, `medium` (`normal` is the same), `large` |
|
|
18
18
|
| icon | Icon before the text: tectra name, `pi-` name or icon class |
|
package/popover/README.md
CHANGED
|
@@ -16,7 +16,7 @@ A panel of content next to an element — a share box, a small form, a list of n
|
|
|
16
16
|
|---|---|
|
|
17
17
|
| placement | `bottom-start` (default) or any of the 12 placements; flips when there is no room |
|
|
18
18
|
| offset | Gap to the element in px (default 10, the arrow fills it) |
|
|
19
|
-
| arrow | Shows the arrow: at the middle of the element for a centred placement, near its start or end for `-start` / `-end
|
|
19
|
+
| arrow | Shows the arrow: at the middle of the element for a centred placement, near its start or end for `-start` / `-end`, always clear of the rounded corners — next to a small element the panel moves out a little so that the arrow points at its centre (default on; `[arrow]="false"` hides it) |
|
|
20
20
|
| header | Title text; also names the dialog |
|
|
21
21
|
| closeButton | Shows a close button (translated "Close" label) |
|
|
22
22
|
| dismissable | Closes on a click outside (default on) |
|
|
@@ -44,7 +44,7 @@ A panel of content next to an element — a share box, a small form, a list of n
|
|
|
44
44
|
| Name | Description |
|
|
45
45
|
|---|---|
|
|
46
46
|
| default | Content of the popover |
|
|
47
|
-
| txPopoverHeader | `<div txPopoverHeader>` — header content
|
|
47
|
+
| txPopoverHeader | `<div txPopoverHeader>` — header content (badges, actions) between the title and the close button; only the `header` text names the dialog |
|
|
48
48
|
| txPopoverFooter | `<div txPopoverFooter>` — actions at the bottom, aligned to the end |
|
|
49
49
|
| txPopoverContent | `<ng-template txPopoverContent let-close>` — content created on open; `close()` hides the popover |
|
|
50
50
|
| txPopoverTrigger | `[txPopoverTrigger]="popover"` on a button — toggles the popover |
|
package/select/README.md
CHANGED
|
@@ -66,6 +66,15 @@ The option engine (`buildOptionRows`, `readOptionField`, `foldText`) is exported
|
|
|
66
66
|
| txSelectEmpty | `<ng-template txSelectEmpty>` — own empty list |
|
|
67
67
|
| txSelectEmptyFilter | `<ng-template txSelectEmptyFilter let-query>` — shown when the search found nothing, e.g. "Create «query»" |
|
|
68
68
|
|
|
69
|
+
The option templates take the options only for typing — `<ng-template txSelectOption [txSelectOptionOf]="cities" let-city>` gives `city` the option type in strict templates; without it the option stays untyped.
|
|
70
|
+
|
|
71
|
+
## Inputs — option templates
|
|
72
|
+
| Name | Description |
|
|
73
|
+
|---|---|
|
|
74
|
+
| txSelectOptionOf | `txSelectOption`: the options, only for the type of `let-option` |
|
|
75
|
+
| txSelectValueOf | `txSelectValue`: the options, only for the type of `let-option` |
|
|
76
|
+
| txSelectGroupOf | `txSelectGroup`: the groups of `options`, only for the type of `let-group` |
|
|
77
|
+
|
|
69
78
|
## Keyboard
|
|
70
79
|
| Key | Action |
|
|
71
80
|
|---|---|
|