@acorex/components 18.5.17 → 18.6.0
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/audio-wave/lib/audio-wave.component.d.ts +5 -0
- package/button-group/lib/button-group.component.d.ts +5 -2
- package/circular-progress/lib/circular-progress.component.d.ts +21 -57
- package/data-pager/lib/data-pager-pagesize-dropdown.component.d.ts +28 -0
- package/data-pager/lib/data-pager-prev-buttons.component.d.ts +20 -0
- package/data-pager/lib/data-pager.component.d.ts +111 -0
- package/data-table/lib/columns/data-text-column.component.d.ts +58 -0
- package/data-table/lib/columns/row-command-column.component.d.ts +83 -0
- package/data-table/lib/columns/row-index-column.component.d.ts +51 -0
- package/data-table/lib/columns/row-select-column.component.d.ts +47 -0
- package/data-table/lib/data-table/data-table.component.d.ts +200 -0
- package/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.d.ts +185 -0
- package/datetime-box/lib/datetime-box.component.d.ts +59 -1
- package/datetime-input/lib/datetime-input.component.d.ts +133 -0
- package/datetime-picker/lib/datetime-picker.component.d.ts +95 -0
- package/decorators/lib/components/clear-button.component.d.ts +25 -0
- package/decorators/lib/components/close-button.component.d.ts +22 -0
- package/decorators/lib/components/generic-content.component.d.ts +4 -0
- package/decorators/lib/components/icon.component.d.ts +12 -0
- package/dialog/lib/dialog.component.d.ts +20 -0
- package/drawer/lib/drawer-container.component.d.ts +7 -0
- package/drawer/lib/drawer.component.d.ts +104 -0
- package/dropdown/lib/dropdown-box.component.d.ts +66 -0
- package/dropdown/lib/dropdown-panel.component.d.ts +85 -0
- package/dropdown-button/lib/dropdown-button.component.d.ts +38 -0
- package/esm2022/audio-wave/lib/audio-wave.component.mjs +6 -1
- package/esm2022/button-group/lib/button-group.component.mjs +6 -3
- package/esm2022/circular-progress/lib/circular-progress.component.mjs +45 -114
- package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +23 -1
- package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +18 -1
- package/esm2022/data-pager/lib/data-pager.component.mjs +109 -1
- package/esm2022/data-table/lib/columns/data-text-column.component.mjs +32 -1
- package/esm2022/data-table/lib/columns/row-command-column.component.mjs +63 -1
- package/esm2022/data-table/lib/columns/row-index-column.component.mjs +40 -1
- package/esm2022/data-table/lib/columns/row-select-column.component.mjs +39 -1
- package/esm2022/data-table/lib/data-table/data-table.component.mjs +183 -1
- package/esm2022/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.mjs +159 -1
- package/esm2022/datetime-box/lib/datetime-box.component.mjs +51 -2
- package/esm2022/datetime-input/lib/datetime-input.component.mjs +122 -1
- package/esm2022/datetime-picker/lib/datetime-picker.component.mjs +90 -1
- package/esm2022/decorators/lib/components/clear-button.component.mjs +26 -1
- package/esm2022/decorators/lib/components/close-button.component.mjs +23 -1
- package/esm2022/decorators/lib/components/generic-content.component.mjs +5 -1
- package/esm2022/decorators/lib/components/icon.component.mjs +13 -1
- package/esm2022/dialog/lib/dialog.component.mjs +18 -1
- package/esm2022/drawer/lib/drawer-container.component.mjs +8 -1
- package/esm2022/drawer/lib/drawer.component.mjs +102 -1
- package/esm2022/dropdown/lib/dropdown-box.component.mjs +58 -1
- package/esm2022/dropdown/lib/dropdown-panel.component.mjs +77 -1
- package/esm2022/dropdown-button/lib/dropdown-button.component.mjs +36 -1
- package/esm2022/form/lib/form-field.component.mjs +40 -1
- package/esm2022/form/lib/form.component.mjs +59 -1
- package/esm2022/form/lib/validation-summary.component.mjs +41 -1
- package/esm2022/image/lib/image.component.mjs +47 -1
- package/esm2022/label/lib/label.component.mjs +32 -1
- package/esm2022/list/lib/list.component.mjs +84 -1
- package/esm2022/loading/lib/loading-spinner.component.mjs +17 -1
- package/esm2022/loading/lib/loading.component.mjs +27 -1
- package/esm2022/popup/lib/popup.component.mjs +2 -2
- package/esm2022/progress-bar/lib/progress-bar.component.mjs +1 -1
- package/esm2022/uploader/index.mjs +5 -5
- package/esm2022/uploader/lib/{uploader-dialog-container.component.mjs → uploader-dialog-container/uploader-dialog-container.component.mjs} +2 -2
- package/esm2022/uploader/lib/uploader-drop-zone/uploader-drop-zone.component.mjs +27 -0
- package/esm2022/uploader/lib/uploader-list/uploader-list.component.mjs +26 -0
- package/esm2022/uploader/lib/uploader-zone.directive.mjs +23 -16
- package/esm2022/uploader/lib/uploader.models.mjs +6 -1
- package/esm2022/uploader/lib/uploader.module.mjs +18 -13
- package/esm2022/uploader/lib/uploader.service.mjs +14 -7
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +50 -10
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.mjs +8 -16
- package/fesm2022/acorex-components-audio-wave.mjs +5 -0
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +5 -2
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +44 -113
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +147 -0
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +510 -0
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +50 -1
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +121 -0
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +89 -0
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +63 -0
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +17 -0
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +108 -0
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +35 -0
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +133 -0
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +137 -0
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +46 -0
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +31 -0
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +83 -0
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +42 -0
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +1 -1
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +63 -32
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +55 -25
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/form/lib/form-field.component.d.ts +45 -0
- package/form/lib/form.component.d.ts +58 -0
- package/form/lib/validation-summary.component.d.ts +49 -0
- package/image/lib/image.component.d.ts +61 -0
- package/label/lib/label.component.d.ts +34 -0
- package/list/lib/list.component.d.ts +98 -0
- package/loading/lib/loading-spinner.component.d.ts +20 -0
- package/loading/lib/loading.component.d.ts +35 -0
- package/package.json +66 -66
- package/progress-bar/lib/progress-bar.component.d.ts +0 -1
- package/uploader/index.d.ts +4 -4
- package/uploader/lib/{uploader-drop-zone.component.d.ts → uploader-drop-zone/uploader-drop-zone.component.d.ts} +3 -1
- package/uploader/lib/{uploader-list.component.d.ts → uploader-list/uploader-list.component.d.ts} +1 -1
- package/uploader/lib/uploader-zone.directive.d.ts +1 -0
- package/uploader/lib/uploader.models.d.ts +5 -0
- package/uploader/lib/uploader.module.d.ts +4 -4
- package/uploader/lib/uploader.service.d.ts +2 -1
- package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +16 -3
- package/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.d.ts +3 -4
- package/esm2022/uploader/lib/uploader-drop-zone.component.mjs +0 -18
- package/esm2022/uploader/lib/uploader-list.component.mjs +0 -26
- /package/uploader/lib/{uploader-dialog-container.component.d.ts → uploader-dialog-container/uploader-dialog-container.component.d.ts} +0 -0
|
@@ -1,21 +1,68 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { AXDataTableColumnComponent } from './data-table-column';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Column component that provides checkboxes for row selection in a data table.
|
|
6
|
+
*
|
|
7
|
+
* @category Components
|
|
8
|
+
*/
|
|
4
9
|
export declare class AXRowSelectColumnComponent extends AXDataTableColumnComponent {
|
|
5
10
|
private grid;
|
|
11
|
+
/**
|
|
12
|
+
* @ignore
|
|
13
|
+
*/
|
|
6
14
|
private _cellTemplate;
|
|
15
|
+
/**
|
|
16
|
+
* Gets the template used to render cells in the column.
|
|
17
|
+
*/
|
|
7
18
|
get renderCellTemplate(): TemplateRef<unknown>;
|
|
19
|
+
/**
|
|
20
|
+
* @ignore
|
|
21
|
+
*/
|
|
8
22
|
private _contentHeaderTemplate;
|
|
23
|
+
/**
|
|
24
|
+
* Gets the template used to render the column header.
|
|
25
|
+
*/
|
|
9
26
|
get renderHeaderTemplate(): TemplateRef<unknown>;
|
|
27
|
+
/**
|
|
28
|
+
* @ignore
|
|
29
|
+
*/
|
|
10
30
|
private _contentFooterTemplate;
|
|
31
|
+
/**
|
|
32
|
+
* Gets the template used to render the column footer.
|
|
33
|
+
*/
|
|
11
34
|
get renderFooterTemplate(): TemplateRef<unknown>;
|
|
35
|
+
/**
|
|
36
|
+
* Gets the unique identifier for the column.
|
|
37
|
+
*/
|
|
12
38
|
get name(): string;
|
|
39
|
+
/**
|
|
40
|
+
* @ignore
|
|
41
|
+
*/
|
|
13
42
|
private getDataSourceKey;
|
|
43
|
+
/**
|
|
44
|
+
* @ignore
|
|
45
|
+
*/
|
|
14
46
|
protected isSelected(item: unknown): boolean;
|
|
47
|
+
/**
|
|
48
|
+
* @ignore
|
|
49
|
+
*/
|
|
15
50
|
protected checkAllSelected(rows: any): any;
|
|
51
|
+
/**
|
|
52
|
+
* @ignore
|
|
53
|
+
*/
|
|
16
54
|
protected checkAnySelected(rows: any): any;
|
|
55
|
+
/**
|
|
56
|
+
* @ignore
|
|
57
|
+
*/
|
|
17
58
|
protected handleChange(item: unknown): void;
|
|
59
|
+
/**
|
|
60
|
+
* @ignore
|
|
61
|
+
*/
|
|
18
62
|
protected handleSelectAll(rows: any): void;
|
|
63
|
+
/**
|
|
64
|
+
* Indicates whether loading is enabled for the column.
|
|
65
|
+
*/
|
|
19
66
|
get loadingEnabled(): boolean;
|
|
20
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXRowSelectColumnComponent, never>;
|
|
21
68
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXRowSelectColumnComponent, "ax-select-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -4,19 +4,57 @@ import { AfterViewInit, EventEmitter, OnInit, QueryList, Signal, TemplateRef, Wr
|
|
|
4
4
|
import { AXBaseDataTable, AXColumnsOrderChangedEvent, AXDataTableRowClick, AXDataTableRowDbClick } from '../base-data-table.class';
|
|
5
5
|
import { AXDataTableColumnComponent } from '../columns/data-table-column';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Component for displaying and managing a data table with advanced features.
|
|
9
|
+
*
|
|
10
|
+
* @category Components
|
|
11
|
+
*/
|
|
7
12
|
export declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, AfterViewInit {
|
|
8
13
|
private _unsubscriber;
|
|
9
14
|
private _zone;
|
|
15
|
+
/**
|
|
16
|
+
* @ignore
|
|
17
|
+
*/
|
|
10
18
|
dataPager: any;
|
|
19
|
+
/**
|
|
20
|
+
* @ignore
|
|
21
|
+
*/
|
|
11
22
|
protected rtl: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* @ignore
|
|
25
|
+
*/
|
|
12
26
|
protected displayedRows: WritableSignal<any[]>;
|
|
27
|
+
/**
|
|
28
|
+
* @ignore
|
|
29
|
+
*/
|
|
13
30
|
protected page: WritableSignal<number>;
|
|
31
|
+
/**
|
|
32
|
+
* @ignore
|
|
33
|
+
*/
|
|
14
34
|
protected pageSize: WritableSignal<number>;
|
|
35
|
+
/**
|
|
36
|
+
* @ignore
|
|
37
|
+
*/
|
|
15
38
|
protected isLoading: WritableSignal<boolean>;
|
|
39
|
+
/**
|
|
40
|
+
* @ignore
|
|
41
|
+
*/
|
|
16
42
|
protected columnsList: WritableSignal<any[]>;
|
|
43
|
+
/**
|
|
44
|
+
* @ignore
|
|
45
|
+
*/
|
|
17
46
|
protected endFixedColumnsList: Signal<any[]>;
|
|
47
|
+
/**
|
|
48
|
+
* @ignore
|
|
49
|
+
*/
|
|
18
50
|
protected startFixedColumnsList: Signal<any[]>;
|
|
51
|
+
/**
|
|
52
|
+
* @ignore
|
|
53
|
+
*/
|
|
19
54
|
protected normalColumnsList: Signal<any[]>;
|
|
55
|
+
/**
|
|
56
|
+
* @ignore
|
|
57
|
+
*/
|
|
20
58
|
protected resizeColumnProp: {
|
|
21
59
|
startX: number;
|
|
22
60
|
startWidth: number;
|
|
@@ -24,51 +62,213 @@ export declare class AXDataTableComponent extends AXBaseDataTable implements OnI
|
|
|
24
62
|
newColumnWidth: number;
|
|
25
63
|
thElement: any;
|
|
26
64
|
};
|
|
65
|
+
/**
|
|
66
|
+
* @ignore
|
|
67
|
+
*/
|
|
27
68
|
protected hasItems: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* @ignore
|
|
71
|
+
*/
|
|
28
72
|
protected totalRows: number;
|
|
73
|
+
/**
|
|
74
|
+
* @ignore
|
|
75
|
+
*/
|
|
29
76
|
protected currentPage: number;
|
|
77
|
+
/**
|
|
78
|
+
* @ignore
|
|
79
|
+
*/
|
|
30
80
|
protected totalPages: number;
|
|
81
|
+
/**
|
|
82
|
+
* @ignore
|
|
83
|
+
*/
|
|
31
84
|
protected startRowIndex: number;
|
|
85
|
+
/**
|
|
86
|
+
* Template for custom row content.
|
|
87
|
+
*/
|
|
32
88
|
rowTemplate?: TemplateRef<unknown>;
|
|
89
|
+
/**
|
|
90
|
+
* Template to display when the table is empty.
|
|
91
|
+
*/
|
|
33
92
|
emptyTemplate?: TemplateRef<unknown>;
|
|
93
|
+
/**
|
|
94
|
+
* Defines if alternative row styling should be applied.
|
|
95
|
+
*
|
|
96
|
+
* @defaultValue `true`
|
|
97
|
+
*/
|
|
34
98
|
alternative: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Indicates if the table header should be displayed.
|
|
101
|
+
*
|
|
102
|
+
* @defaultValue `true`
|
|
103
|
+
*/
|
|
35
104
|
showHeader: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* Indicates if the table header should be fixed.
|
|
107
|
+
*
|
|
108
|
+
* @defaultValue `true`
|
|
109
|
+
*/
|
|
36
110
|
fixedHeader: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* Indicates if the table footer should be displayed.
|
|
113
|
+
*
|
|
114
|
+
* @defaultValue `false`
|
|
115
|
+
*/
|
|
37
116
|
showFooter: boolean;
|
|
117
|
+
/**
|
|
118
|
+
* Indicates if the table footer should be fixed.
|
|
119
|
+
*
|
|
120
|
+
* @defaultValue `true`
|
|
121
|
+
*/
|
|
38
122
|
fixedFooter: boolean;
|
|
123
|
+
/**
|
|
124
|
+
* Specifies the height of each item in the table.
|
|
125
|
+
*
|
|
126
|
+
* @defaultValue `40`
|
|
127
|
+
*/
|
|
39
128
|
itemHeight: number | 'auto';
|
|
129
|
+
/**
|
|
130
|
+
* Enables or disables row reordering.
|
|
131
|
+
*
|
|
132
|
+
* @defaultValue `false`
|
|
133
|
+
*/
|
|
40
134
|
allowReordering: boolean;
|
|
135
|
+
/**
|
|
136
|
+
* Enables or disables paging.
|
|
137
|
+
*
|
|
138
|
+
* @defaultValue `true`
|
|
139
|
+
*/
|
|
41
140
|
paging: boolean;
|
|
141
|
+
/**
|
|
142
|
+
* Specifies how data should be fetched.
|
|
143
|
+
*
|
|
144
|
+
* @defaultValue `'auto'`
|
|
145
|
+
*/
|
|
42
146
|
fetchDataMode: 'auto' | 'manual';
|
|
147
|
+
/**
|
|
148
|
+
* Configuration for loading state.
|
|
149
|
+
*
|
|
150
|
+
* @defaultValue `{ enabled: true, animation: true }`
|
|
151
|
+
*/
|
|
43
152
|
loading: {
|
|
44
153
|
enabled: boolean;
|
|
45
154
|
animation: boolean;
|
|
46
155
|
loadingTemplate?: TemplateRef<unknown>;
|
|
47
156
|
};
|
|
157
|
+
/**
|
|
158
|
+
* @ignore
|
|
159
|
+
*/
|
|
48
160
|
private _focusedRow;
|
|
161
|
+
/**
|
|
162
|
+
* Gets the currently focused row.
|
|
163
|
+
*/
|
|
49
164
|
get focusedRow(): unknown;
|
|
165
|
+
/**
|
|
166
|
+
* Sets the currently focused row and emits the change event.
|
|
167
|
+
*
|
|
168
|
+
* @param v - The row to be focused.
|
|
169
|
+
*/
|
|
50
170
|
set focusedRow(v: unknown);
|
|
171
|
+
/**
|
|
172
|
+
* Emits when the focused row changes.
|
|
173
|
+
*
|
|
174
|
+
* @event
|
|
175
|
+
*/
|
|
51
176
|
focusedRowChange: EventEmitter<unknown>;
|
|
177
|
+
/**
|
|
178
|
+
* Emits when a row is clicked.
|
|
179
|
+
*
|
|
180
|
+
* @event onRowClick
|
|
181
|
+
*/
|
|
52
182
|
onRowClick: EventEmitter<AXDataTableRowClick>;
|
|
183
|
+
/**
|
|
184
|
+
* Emits when a row is double-clicked.
|
|
185
|
+
*
|
|
186
|
+
* @event onRowDbClick
|
|
187
|
+
*/
|
|
53
188
|
onRowDbClick: EventEmitter<AXDataTableRowDbClick>;
|
|
189
|
+
/**
|
|
190
|
+
* Emits when the order of columns changes.
|
|
191
|
+
*
|
|
192
|
+
* @event onColumnsOrderChanged
|
|
193
|
+
*/
|
|
54
194
|
onColumnsOrderChanged: EventEmitter<AXColumnsOrderChangedEvent>;
|
|
195
|
+
/**
|
|
196
|
+
* @ignore
|
|
197
|
+
*/
|
|
55
198
|
private clickSubject;
|
|
199
|
+
/**
|
|
200
|
+
* @ignore
|
|
201
|
+
*/
|
|
56
202
|
protected columns: QueryList<AXDataTableColumnComponent>;
|
|
203
|
+
/**
|
|
204
|
+
* @ignore
|
|
205
|
+
*/
|
|
57
206
|
ngOnInit(): void;
|
|
207
|
+
/**
|
|
208
|
+
* @ignore
|
|
209
|
+
*/
|
|
58
210
|
ngAfterViewInit(): void;
|
|
211
|
+
/**
|
|
212
|
+
* @ignore
|
|
213
|
+
*/
|
|
59
214
|
protected drop(event: CdkDragDrop<any, any, any>): void;
|
|
215
|
+
/**
|
|
216
|
+
* @ignore
|
|
217
|
+
*/
|
|
60
218
|
protected handleRowClick(event: MouseEvent, item: unknown): void;
|
|
219
|
+
/**
|
|
220
|
+
* @ignore
|
|
221
|
+
*/
|
|
61
222
|
private handleRowSingleClick;
|
|
223
|
+
/**
|
|
224
|
+
* @ignore
|
|
225
|
+
*/
|
|
62
226
|
protected onPageChanged(event: AXDataPagerChangedEvent): void;
|
|
227
|
+
/**
|
|
228
|
+
* @ignore
|
|
229
|
+
*/
|
|
63
230
|
protected handleRowDoubleClick(e: MouseEvent, item: unknown): void;
|
|
231
|
+
/**
|
|
232
|
+
* Handles the click event on a column header.
|
|
233
|
+
* Toggles the sorting direction or removes the sort if already sorted.
|
|
234
|
+
*
|
|
235
|
+
* @param e - The mouse event triggered by the click.
|
|
236
|
+
* @param column - The column that was clicked.
|
|
237
|
+
* @ignore
|
|
238
|
+
*/
|
|
64
239
|
handleColumnClick(e: MouseEvent, column: AXDataTableColumnComponent): void;
|
|
240
|
+
/**
|
|
241
|
+
* @ignore
|
|
242
|
+
*/
|
|
65
243
|
protected getSort(column: AXDataTableColumnComponent): string | undefined;
|
|
244
|
+
/**
|
|
245
|
+
* Refreshes the data in the data source and resets the data pager to the first page.
|
|
246
|
+
* @ignore
|
|
247
|
+
*/
|
|
66
248
|
refresh(): void;
|
|
249
|
+
/**
|
|
250
|
+
* @ignore
|
|
251
|
+
*/
|
|
67
252
|
protected calculateRowIndex(index: number): number;
|
|
253
|
+
/**
|
|
254
|
+
* @ignore
|
|
255
|
+
*/
|
|
68
256
|
protected onResizeColumnStart(event: MouseEvent, columnIndex: number): void;
|
|
257
|
+
/**
|
|
258
|
+
* @ignore
|
|
259
|
+
*/
|
|
69
260
|
private onResizeColumnMove;
|
|
261
|
+
/**
|
|
262
|
+
* @ignore
|
|
263
|
+
*/
|
|
70
264
|
private onResizeColumnEnd;
|
|
265
|
+
/**
|
|
266
|
+
* @ignore
|
|
267
|
+
*/
|
|
71
268
|
private resetResizingProcess;
|
|
269
|
+
/**
|
|
270
|
+
* @ignore
|
|
271
|
+
*/
|
|
72
272
|
private calculateStickyColumnsPositions;
|
|
73
273
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataTableComponent, never>;
|
|
74
274
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDataTableComponent, "ax-data-table", never, { "dataSource": { "alias": "dataSource"; "required": false; }; "rowTemplate": { "alias": "rowTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "alternative": { "alias": "alternative"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "fixedHeader": { "alias": "fixedHeader"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "fixedFooter": { "alias": "fixedFooter"; "required": false; }; "itemHeight": { "alias": "itemHeight"; "required": false; }; "allowReordering": { "alias": "allowReordering"; "required": false; }; "paging": { "alias": "paging"; "required": false; }; "fetchDataMode": { "alias": "fetchDataMode"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "focusedRow": { "alias": "focusedRow"; "required": false; }; }, { "selectedRowsChange": "selectedRowsChange"; "focusedRowChange": "focusedRowChange"; "onRowClick": "onRowClick"; "onRowDbClick": "onRowDbClick"; "onColumnsOrderChanged": "onColumnsOrderChanged"; }, ["columns"], ["ax-header", "ax-footer"], false, never>;
|
|
@@ -3,63 +3,248 @@ import { DoCheck, ElementRef, EventEmitter, OnInit, QueryList, TemplateRef, Writ
|
|
|
3
3
|
import { AXBaseDataTable, AXDataTableRowClick, AXDataTableRowDbClick, AXDataTableScrollIndexChanged } from '../base-data-table.class';
|
|
4
4
|
import { AXDataTableColumnComponent } from '../columns/data-table-column';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Component for a data table with infinite scrolling capabilities.
|
|
8
|
+
*
|
|
9
|
+
* @category Components
|
|
10
|
+
*/
|
|
6
11
|
export declare class AXInfiniteScrollDataTableComponent extends AXBaseDataTable implements OnInit, DoCheck {
|
|
7
12
|
private ngZone;
|
|
13
|
+
/**
|
|
14
|
+
* @ignore
|
|
15
|
+
*/
|
|
8
16
|
protected columns: QueryList<AXDataTableColumnComponent>;
|
|
17
|
+
/**
|
|
18
|
+
* @ignore
|
|
19
|
+
*/
|
|
9
20
|
protected startFixedColumn(): AXDataTableColumnComponent[];
|
|
21
|
+
/**
|
|
22
|
+
* @ignore
|
|
23
|
+
*/
|
|
10
24
|
protected endFixedColumn(): AXDataTableColumnComponent[];
|
|
25
|
+
/**
|
|
26
|
+
* @ignore
|
|
27
|
+
*/
|
|
11
28
|
protected notFixedColumn(): AXDataTableColumnComponent[];
|
|
29
|
+
/**
|
|
30
|
+
* @ignore
|
|
31
|
+
*/
|
|
12
32
|
protected notFixedColumnCount(): number;
|
|
33
|
+
/**
|
|
34
|
+
* @ignore
|
|
35
|
+
*/
|
|
13
36
|
protected fixedColumnCount(): number;
|
|
37
|
+
/**
|
|
38
|
+
* Emits an event when the page changes.
|
|
39
|
+
*
|
|
40
|
+
* @event
|
|
41
|
+
*/
|
|
14
42
|
onPageChanged: EventEmitter<AXValueChangedEvent<number>>;
|
|
43
|
+
/**
|
|
44
|
+
* @ignore
|
|
45
|
+
*/
|
|
15
46
|
private clickSubject;
|
|
47
|
+
/**
|
|
48
|
+
* Emits an event when a row is clicked.
|
|
49
|
+
*
|
|
50
|
+
* @event
|
|
51
|
+
*/
|
|
16
52
|
onRowClick: EventEmitter<AXDataTableRowClick>;
|
|
53
|
+
/**
|
|
54
|
+
* Emits an event when a row is double-clicked.
|
|
55
|
+
*
|
|
56
|
+
* @event
|
|
57
|
+
*/
|
|
17
58
|
onRowDbClick: EventEmitter<AXDataTableRowDbClick>;
|
|
59
|
+
/**
|
|
60
|
+
* Template for rendering rows in the data table.
|
|
61
|
+
*/
|
|
18
62
|
rowTemplate?: TemplateRef<unknown>;
|
|
63
|
+
/**
|
|
64
|
+
* Template to display when the data table is empty.
|
|
65
|
+
*/
|
|
19
66
|
emptyTemplate?: TemplateRef<unknown>;
|
|
67
|
+
/**
|
|
68
|
+
* Controls the visibility of the table header.
|
|
69
|
+
*
|
|
70
|
+
* @defaultValue true
|
|
71
|
+
*/
|
|
20
72
|
showHeader: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Defines the mode for fetching data.
|
|
75
|
+
*
|
|
76
|
+
* @defaultValue 'auto'
|
|
77
|
+
*/
|
|
21
78
|
fetchDataMode: 'auto' | 'manual';
|
|
79
|
+
/**
|
|
80
|
+
* Configuration for the loading state of the data table.
|
|
81
|
+
*
|
|
82
|
+
* @defaultValue { enabled: true, animation: true }
|
|
83
|
+
*/
|
|
22
84
|
loading: {
|
|
23
85
|
enabled: boolean;
|
|
24
86
|
animation: boolean;
|
|
25
87
|
loadingTemplate?: TemplateRef<unknown>;
|
|
26
88
|
};
|
|
89
|
+
/**
|
|
90
|
+
* @ignore
|
|
91
|
+
*/
|
|
27
92
|
protected listDataSource: AXListDataSource<unknown>;
|
|
93
|
+
/**
|
|
94
|
+
* @ignore
|
|
95
|
+
*/
|
|
28
96
|
protected isLoading: WritableSignal<boolean>;
|
|
97
|
+
/**
|
|
98
|
+
* @ignore
|
|
99
|
+
*/
|
|
29
100
|
protected hasItems: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* @ignore
|
|
103
|
+
*/
|
|
30
104
|
protected totalRows: number;
|
|
105
|
+
/**
|
|
106
|
+
* @ignore
|
|
107
|
+
*/
|
|
31
108
|
protected currentPage: number;
|
|
109
|
+
/**
|
|
110
|
+
* @ignore
|
|
111
|
+
*/
|
|
32
112
|
protected totalPages: number;
|
|
113
|
+
/**
|
|
114
|
+
* @ignore
|
|
115
|
+
*/
|
|
33
116
|
protected startRowIndex: number;
|
|
117
|
+
/**
|
|
118
|
+
* @ignore
|
|
119
|
+
*/
|
|
34
120
|
private lastIndex;
|
|
121
|
+
/**
|
|
122
|
+
* Event emitted when the focused row changes.
|
|
123
|
+
*
|
|
124
|
+
* @event
|
|
125
|
+
*/
|
|
35
126
|
focusedRowChange: EventEmitter<unknown>;
|
|
127
|
+
/**
|
|
128
|
+
* @ignore
|
|
129
|
+
*/
|
|
36
130
|
private _focusedRow;
|
|
131
|
+
/**
|
|
132
|
+
* Retrieves the currently focused row.
|
|
133
|
+
*/
|
|
37
134
|
get focusedRow(): unknown;
|
|
135
|
+
/**
|
|
136
|
+
* Sets the currently focused row and emits a change event.
|
|
137
|
+
*
|
|
138
|
+
* @param v - The row data to be set as focused.
|
|
139
|
+
*/
|
|
38
140
|
set focusedRow(v: unknown);
|
|
141
|
+
/**
|
|
142
|
+
* Defines the height of each item in the table.
|
|
143
|
+
*
|
|
144
|
+
* @default 40
|
|
145
|
+
*/
|
|
39
146
|
itemHeight: number | 'auto';
|
|
147
|
+
/**
|
|
148
|
+
* @ignore
|
|
149
|
+
*/
|
|
40
150
|
protected width: string;
|
|
151
|
+
/**
|
|
152
|
+
* @ignore
|
|
153
|
+
*/
|
|
41
154
|
protected height: string;
|
|
155
|
+
/**
|
|
156
|
+
* @ignore
|
|
157
|
+
*/
|
|
42
158
|
private viewport;
|
|
159
|
+
/**
|
|
160
|
+
* Emitted when the scroll index changes in the table.
|
|
161
|
+
*
|
|
162
|
+
* @event
|
|
163
|
+
*/
|
|
43
164
|
onScrolledIndexChanged: EventEmitter<AXDataTableScrollIndexChanged>;
|
|
44
165
|
trackByIdx(i: any): any;
|
|
166
|
+
/**
|
|
167
|
+
* @ignore
|
|
168
|
+
*/
|
|
45
169
|
ngOnInit(): void;
|
|
170
|
+
/**
|
|
171
|
+
* @ignore
|
|
172
|
+
*/
|
|
46
173
|
headerContainer: ElementRef<HTMLDivElement>;
|
|
174
|
+
/**
|
|
175
|
+
* @ignore
|
|
176
|
+
*/
|
|
47
177
|
footerContainer: ElementRef;
|
|
178
|
+
/**
|
|
179
|
+
* @ignore
|
|
180
|
+
*/
|
|
48
181
|
scrollableContainer: ElementRef<HTMLDivElement>;
|
|
182
|
+
/**
|
|
183
|
+
* @ignore
|
|
184
|
+
*/
|
|
49
185
|
protected _handleOnscrolledIndexChange(e: number): void;
|
|
186
|
+
/**
|
|
187
|
+
* @ignore
|
|
188
|
+
*/
|
|
50
189
|
ngDoCheck(): void;
|
|
190
|
+
/**
|
|
191
|
+
* @ignore
|
|
192
|
+
*/
|
|
51
193
|
private updateTotalCount;
|
|
194
|
+
/**
|
|
195
|
+
* @ignore
|
|
196
|
+
*/
|
|
52
197
|
private updateHeight;
|
|
198
|
+
/**
|
|
199
|
+
* @ignore
|
|
200
|
+
*/
|
|
53
201
|
private updateWidth;
|
|
202
|
+
/**
|
|
203
|
+
* @ignore
|
|
204
|
+
*/
|
|
54
205
|
private updateHScroll;
|
|
206
|
+
/**
|
|
207
|
+
* @ignore
|
|
208
|
+
*/
|
|
55
209
|
private copyFixedColumns;
|
|
210
|
+
/**
|
|
211
|
+
* Updates the viewport by checking its size and scrolling to the last index.
|
|
212
|
+
* Marks the component for change detection.
|
|
213
|
+
* @ignore
|
|
214
|
+
*/
|
|
56
215
|
render(): void;
|
|
216
|
+
/**
|
|
217
|
+
* Resets the index to zero and refreshes the data source.
|
|
218
|
+
* @ignore
|
|
219
|
+
*/
|
|
57
220
|
refresh(): void;
|
|
221
|
+
/**
|
|
222
|
+
* @ignore
|
|
223
|
+
*/
|
|
58
224
|
protected handleRowClick(event: MouseEvent, item: unknown): void;
|
|
225
|
+
/**
|
|
226
|
+
* @ignore
|
|
227
|
+
*/
|
|
59
228
|
private handleRowSingleClick;
|
|
229
|
+
/**
|
|
230
|
+
* @ignore
|
|
231
|
+
*/
|
|
60
232
|
protected handleRowDoubleClick(e: MouseEvent, item: unknown): void;
|
|
233
|
+
/**
|
|
234
|
+
* Handles column header clicks to toggle sorting on the column.
|
|
235
|
+
*
|
|
236
|
+
* @param e - The mouse event triggered by the click.
|
|
237
|
+
* @param column - The column that was clicked.
|
|
238
|
+
* @ignore
|
|
239
|
+
*/
|
|
61
240
|
handleColumnClick(e: MouseEvent, column: AXDataTableColumnComponent): void;
|
|
241
|
+
/**
|
|
242
|
+
* @ignore
|
|
243
|
+
*/
|
|
62
244
|
protected getSort(column: AXDataTableColumnComponent): string | undefined;
|
|
245
|
+
/**
|
|
246
|
+
* @ignore
|
|
247
|
+
*/
|
|
63
248
|
protected _handleOnScroll(): void;
|
|
64
249
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXInfiniteScrollDataTableComponent, never>;
|
|
65
250
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXInfiniteScrollDataTableComponent, "ax-infinite-scroll-data-table", never, { "dataSource": { "alias": "dataSource"; "required": false; }; "rowTemplate": { "alias": "rowTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "fetchDataMode": { "alias": "fetchDataMode"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "focusedRow": { "alias": "focusedRow"; "required": false; }; "itemHeight": { "alias": "itemHeight"; "required": false; }; }, { "selectedRowsChange": "selectedRowsChange"; "onPageChanged": "onPageChanged"; "onRowClick": "onRowClick"; "onRowDbClick": "onRowDbClick"; "focusedRowChange": "focusedRowChange"; "onScrolledIndexChanged": "onScrolledIndexChanged"; }, ["columns"], ["ax-header", "ax-footer"], false, never>;
|
|
@@ -11,27 +11,85 @@ declare const AXDateTimeBoxComponent_base: import("polytype").Polytype.Clustered
|
|
|
11
11
|
ɵprov: import("@angular/core").ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
|
|
12
12
|
}, typeof MXCalendarBaseComponent, typeof MXDropdownBoxBaseComponent, typeof MXLookComponent]>;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Represents a date and time input component that allows user interaction and triggers events.
|
|
15
15
|
*
|
|
16
16
|
* @category Components
|
|
17
17
|
*/
|
|
18
18
|
export declare class AXDateTimeBoxComponent extends AXDateTimeBoxComponent_base {
|
|
19
|
+
/**
|
|
20
|
+
* @ignore
|
|
21
|
+
*/
|
|
19
22
|
protected input: AXDateTimeInputComponent;
|
|
23
|
+
/**
|
|
24
|
+
* @ignore
|
|
25
|
+
*/
|
|
20
26
|
protected picker: AXDateTimePickerComponent;
|
|
27
|
+
/**
|
|
28
|
+
* @ignore
|
|
29
|
+
*/
|
|
21
30
|
protected dropdown: AXDropdownBoxComponent;
|
|
31
|
+
/**
|
|
32
|
+
* Emitted when the format of the component changes.
|
|
33
|
+
*
|
|
34
|
+
* @event
|
|
35
|
+
*/
|
|
22
36
|
formatChange: EventEmitter<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Indicates whether typing is allowed in the component.
|
|
39
|
+
*
|
|
40
|
+
* @defaultValue false
|
|
41
|
+
*/
|
|
23
42
|
allowTyping: import("@angular/core").InputSignal<boolean>;
|
|
43
|
+
/**
|
|
44
|
+
* @ignore
|
|
45
|
+
*/
|
|
24
46
|
private _format;
|
|
47
|
+
/**
|
|
48
|
+
* Gets the format string used for displaying values.
|
|
49
|
+
*/
|
|
25
50
|
get format(): string;
|
|
51
|
+
/**
|
|
52
|
+
* Sets the format string for displaying values.
|
|
53
|
+
* @param v The format string to be set.
|
|
54
|
+
*/
|
|
26
55
|
set format(v: string);
|
|
56
|
+
/**
|
|
57
|
+
* @ignore
|
|
58
|
+
*/
|
|
27
59
|
protected _handleInputModelChange(value: Date | null): void;
|
|
60
|
+
/**
|
|
61
|
+
* @ignore
|
|
62
|
+
*/
|
|
28
63
|
protected _handlePickerModelChange(value: Date | null): void;
|
|
64
|
+
/**
|
|
65
|
+
* @ignore
|
|
66
|
+
*/
|
|
29
67
|
protected _handleOnOpenedEvent(e: AXEvent): void;
|
|
68
|
+
/**
|
|
69
|
+
* @ignore
|
|
70
|
+
*/
|
|
30
71
|
protected _handleOnClosedEvent(e: AXEvent): void;
|
|
72
|
+
/**
|
|
73
|
+
* @ignore
|
|
74
|
+
*/
|
|
31
75
|
protected _handleInputOnFocusEvent(e: AXFocusEvent): void;
|
|
76
|
+
/**
|
|
77
|
+
* @ignore
|
|
78
|
+
*/
|
|
32
79
|
protected _handleInputOnBlurEvent(e: AXFocusEvent): void;
|
|
80
|
+
/**
|
|
81
|
+
* @ignore
|
|
82
|
+
*/
|
|
33
83
|
protected _handleCalendarOnNavigate(e: AXCalendarNavigateEvent): void;
|
|
84
|
+
/**
|
|
85
|
+
* Handles changes to the internal value.
|
|
86
|
+
* @param value The new value that was set.
|
|
87
|
+
* @ignore
|
|
88
|
+
*/
|
|
34
89
|
internalValueChanged(value: any): void;
|
|
90
|
+
/**
|
|
91
|
+
* @ignore
|
|
92
|
+
*/
|
|
35
93
|
protected _handleInputOnClick(): void;
|
|
36
94
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDateTimeBoxComponent, never>;
|
|
37
95
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDateTimeBoxComponent, "ax-datetime-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; "holidayDates": { "alias": "holidayDates"; "required": false; }; "allowTyping": { "alias": "allowTyping"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "onOpened": "onOpened"; "onClosed": "onClosed"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "formatChange": "formatChange"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], false, never>;
|