@acorex/components 18.5.17 → 18.6.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -2,6 +2,11 @@ import { ElementRef, InputSignal } from '@angular/core';
|
|
2
2
|
import WaveSurfer from 'wavesurfer.js';
|
3
3
|
import { AXAudioWaveChangeEvent, AXWaveConfig } from './interfaces/audio-wave.interface';
|
4
4
|
import * as i0 from "@angular/core";
|
5
|
+
/**
|
6
|
+
* Displays and interacts with audio waveform visualization.
|
7
|
+
*
|
8
|
+
* @category Components
|
9
|
+
*/
|
5
10
|
export declare class AXAudioWaveComponent {
|
6
11
|
/**
|
7
12
|
* @ignore
|
@@ -30,10 +30,13 @@ export declare class AXButtonGroupComponent extends AXButtonGroupComponent_base
|
|
30
30
|
private _selection;
|
31
31
|
/**
|
32
32
|
* Defines the selection mode for the component.
|
33
|
-
*
|
34
|
-
* @param value - The selection mode to be set. Possible values include 'single', 'multiple', or 'none'.
|
35
33
|
*/
|
36
34
|
get selection(): AXSelectionMode;
|
35
|
+
/**
|
36
|
+
* Sets the selection mode for the component.
|
37
|
+
*
|
38
|
+
* @param value - The selection mode to be set. Possible values include 'single', 'multiple', or 'none'.
|
39
|
+
*/
|
37
40
|
set selection(value: AXSelectionMode);
|
38
41
|
/**
|
39
42
|
* @ignore
|
@@ -1,99 +1,63 @@
|
|
1
1
|
import { MXColorComponent } from '@acorex/components/common';
|
2
|
-
import {
|
2
|
+
import { ElementRef } from '@angular/core';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
export type
|
4
|
+
export type AXCircularProgressMode = 'determinate' | 'indeterminate';
|
5
5
|
/**
|
6
6
|
* The Button is a component which detects user interaction and triggers a corresponding event
|
7
7
|
*
|
8
8
|
* @category Components
|
9
9
|
*/
|
10
|
-
export declare class AXCircularProgressComponent extends MXColorComponent
|
10
|
+
export declare class AXCircularProgressComponent extends MXColorComponent {
|
11
11
|
/**
|
12
12
|
* @ignore
|
13
13
|
*/
|
14
|
-
circle: ElementRef
|
15
|
-
/**
|
16
|
-
* @ignore
|
17
|
-
*/
|
18
|
-
strokeDashoffset: number;
|
19
|
-
/**
|
20
|
-
* @ignore
|
21
|
-
*/
|
22
|
-
circumference: number;
|
23
|
-
/**
|
24
|
-
* @ignore
|
25
|
-
*/
|
26
|
-
normalizedRadius: number;
|
27
|
-
/**
|
28
|
-
* @ignore
|
29
|
-
*/
|
30
|
-
ngAfterViewInit(): void;
|
31
|
-
/**
|
32
|
-
* Emits when the value of the circular progress changes.
|
33
|
-
*
|
34
|
-
* @event
|
35
|
-
*/
|
36
|
-
ValueChange: EventEmitter<number>;
|
37
|
-
/**
|
38
|
-
* @ignore
|
39
|
-
*/
|
40
|
-
private _progress;
|
14
|
+
circle: import("@angular/core").Signal<ElementRef<HTMLDivElement>>;
|
41
15
|
/**
|
42
16
|
* Defines the current progress of the circular progress component.
|
43
17
|
*
|
44
|
-
*
|
18
|
+
* Change progress mode
|
45
19
|
*
|
46
20
|
*/
|
47
|
-
|
48
|
-
set progress(v: number);
|
21
|
+
mode: import("@angular/core").InputSignal<AXCircularProgressMode>;
|
49
22
|
/**
|
50
|
-
*
|
23
|
+
* Defines the current progress of the circular progress component.
|
24
|
+
*
|
25
|
+
* The percentage value to set for the progress.
|
51
26
|
*
|
52
|
-
* @event
|
53
|
-
*/
|
54
|
-
strokeChange: EventEmitter<number>;
|
55
|
-
/**
|
56
|
-
* @ignore
|
57
27
|
*/
|
58
|
-
|
28
|
+
progress: import("@angular/core").ModelSignal<number>;
|
59
29
|
/**
|
60
30
|
* Defines the stroke width of the circular progress component.
|
61
31
|
*
|
62
|
-
*
|
32
|
+
* The stroke width to be set for the circular progress component.
|
63
33
|
*/
|
64
|
-
|
65
|
-
set stroke(v: number);
|
34
|
+
stroke: import("@angular/core").ModelSignal<number>;
|
66
35
|
/**
|
67
|
-
*
|
36
|
+
* Defines the stroke width of the circular progress component.
|
68
37
|
*
|
69
|
-
*
|
38
|
+
* Circle size
|
70
39
|
*/
|
71
|
-
|
40
|
+
size: import("@angular/core").ModelSignal<number>;
|
72
41
|
/**
|
73
42
|
* @ignore
|
74
43
|
*/
|
75
|
-
|
76
|
-
/**
|
77
|
-
* Defines the size of the circular progress component.
|
78
|
-
*
|
79
|
-
* @param v - The new size value for the circular progress component.
|
80
|
-
*/
|
81
|
-
get size(): number;
|
82
|
-
set size(v: number);
|
44
|
+
constructor();
|
83
45
|
/**
|
84
46
|
* @ignore
|
85
47
|
*/
|
86
48
|
private get __hostClass();
|
87
49
|
/**
|
88
|
-
* Updates the circular progress size based on `size` and `stroke`.
|
89
50
|
* @ignore
|
90
51
|
*/
|
91
52
|
setCircularSize(): void;
|
92
53
|
/**
|
93
|
-
* Updates the circular progress display based on the current `progress` value.
|
94
54
|
* @ignore
|
95
55
|
*/
|
96
56
|
updateProgress(): void;
|
57
|
+
/**
|
58
|
+
* @ignore
|
59
|
+
*/
|
60
|
+
setIndeterminateMode(): void;
|
97
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCircularProgressComponent, never>;
|
98
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCircularProgressComponent, "ax-circular-progress", never, { "color": { "alias": "color"; "required": false; }; "progress": { "alias": "progress"; "required": false; }; "stroke": { "alias": "stroke"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCircularProgressComponent, "ax-circular-progress", never, { "color": { "alias": "color"; "required": false; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "progress": { "alias": "progress"; "required": false; "isSignal": true; }; "stroke": { "alias": "stroke"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "progress": "progressChange"; "stroke": "strokeChange"; "size": "sizeChange"; }, never, ["ax-prefix", "*", "ax-suffix"], false, never>;
|
99
63
|
}
|
@@ -1,13 +1,41 @@
|
|
1
1
|
import { AXClickEvent } from '@acorex/components/common';
|
2
2
|
import { AXDataPagerChild } from './data-pager-base.component';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
+
/**
|
5
|
+
* Displays a button to select page sizes for data pagination.
|
6
|
+
*
|
7
|
+
* @category Components
|
8
|
+
*/
|
4
9
|
export declare class AXDataPagerPageSizesComponent extends AXDataPagerChild {
|
10
|
+
/**
|
11
|
+
* @ignore
|
12
|
+
*/
|
5
13
|
_size: number;
|
14
|
+
/**
|
15
|
+
* @ignore
|
16
|
+
*/
|
6
17
|
_items: any[];
|
18
|
+
/**
|
19
|
+
* @ignore
|
20
|
+
*/
|
7
21
|
private _sizes;
|
22
|
+
/**
|
23
|
+
* Gets the list of page sizes available for selection.
|
24
|
+
*/
|
8
25
|
get sizes(): number[];
|
26
|
+
/**
|
27
|
+
* Sets the list of page sizes available for selection.
|
28
|
+
*
|
29
|
+
* @param value - An array of numbers representing the page sizes to be set.
|
30
|
+
*/
|
9
31
|
set sizes(v: number[]);
|
32
|
+
/**
|
33
|
+
* @ignore
|
34
|
+
*/
|
10
35
|
protected applyParent(): void;
|
36
|
+
/**
|
37
|
+
* @ignore
|
38
|
+
*/
|
11
39
|
_emitOnItemClick(e: AXClickEvent): void;
|
12
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataPagerPageSizesComponent, never>;
|
13
41
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDataPagerPageSizesComponent, "ax-data-pager-page-sizes", never, { "sizes": { "alias": "sizes"; "required": false; }; }, {}, never, never, false, never>;
|
@@ -1,11 +1,31 @@
|
|
1
1
|
import { AXClickEvent } from '@acorex/components/common';
|
2
2
|
import { AXDataPagerChild } from './data-pager-base.component';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
+
/**
|
5
|
+
* Component that provides navigation buttons for going to the previous page and the first page in a data pager.
|
6
|
+
*
|
7
|
+
* @category Components
|
8
|
+
*/
|
4
9
|
export declare class AXDataPagerPrevButtonsComponent extends AXDataPagerChild {
|
10
|
+
/**
|
11
|
+
* @ignore
|
12
|
+
*/
|
5
13
|
protected rtl: boolean;
|
14
|
+
/**
|
15
|
+
* @ignore
|
16
|
+
*/
|
6
17
|
ngOnInit(): void;
|
18
|
+
/**
|
19
|
+
* @ignore
|
20
|
+
*/
|
7
21
|
protected applyParent(): void;
|
22
|
+
/**
|
23
|
+
* @ignore
|
24
|
+
*/
|
8
25
|
_emitOnFirstPageClick(e: AXClickEvent): void;
|
26
|
+
/**
|
27
|
+
* @ignore
|
28
|
+
*/
|
9
29
|
_emitOnPrevPageClick(e: AXClickEvent): void;
|
10
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataPagerPrevButtonsComponent, never>;
|
11
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDataPagerPrevButtonsComponent, "ax-data-pager-prev-buttons", never, {}, {}, never, never, false, never>;
|
@@ -3,36 +3,147 @@ import { EventEmitter } from '@angular/core';
|
|
3
3
|
import { AXDataPagerChangedEvent, AXDataPagerData } from './data-pager-base.component';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export type AXDataPagerMode = 'full' | 'compact' | 'custom';
|
6
|
+
/**
|
7
|
+
* Component for managing and displaying data pagination controls.
|
8
|
+
*
|
9
|
+
* @category Components
|
10
|
+
*/
|
6
11
|
export declare class AXDataPagerComponent extends MXValueComponent<number> {
|
7
12
|
private _parent;
|
13
|
+
/**
|
14
|
+
* @ignore
|
15
|
+
*/
|
8
16
|
private _isLoading;
|
17
|
+
/**
|
18
|
+
* Indicates whether the component is currently loading.
|
19
|
+
*
|
20
|
+
*/
|
9
21
|
get isLoading(): boolean;
|
22
|
+
/**
|
23
|
+
* Sets the loading state of the component.
|
24
|
+
*
|
25
|
+
* @param v - The loading state to be set.
|
26
|
+
*/
|
10
27
|
set isLoading(v: boolean);
|
28
|
+
/**
|
29
|
+
* @ignore
|
30
|
+
*/
|
11
31
|
private _size;
|
32
|
+
/**
|
33
|
+
* Gets the number of items per page in the data pager.
|
34
|
+
*/
|
12
35
|
get size(): number;
|
36
|
+
/**
|
37
|
+
* Sets the number of items per page and updates the data pager accordingly.
|
38
|
+
*
|
39
|
+
* @param {number} v - The new number of items per page.
|
40
|
+
*/
|
13
41
|
set size(v: number);
|
42
|
+
/**
|
43
|
+
* @ignore
|
44
|
+
*/
|
14
45
|
private _total;
|
46
|
+
/**
|
47
|
+
* Gets the total number of items.
|
48
|
+
*/
|
15
49
|
get total(): number;
|
50
|
+
/**
|
51
|
+
* Sets the total number of items and triggers an update event if the value changes.
|
52
|
+
*
|
53
|
+
* @param v - The total number of items to set.
|
54
|
+
* If the value is non-positive, it defaults to 0.
|
55
|
+
*/
|
16
56
|
set total(v: number);
|
57
|
+
/**
|
58
|
+
* @ignore
|
59
|
+
*/
|
17
60
|
private _totalPages;
|
61
|
+
/**
|
62
|
+
* Gets the total number of pages.
|
63
|
+
*/
|
18
64
|
get totalPages(): number;
|
65
|
+
/**
|
66
|
+
* Sets the total number of pages.
|
67
|
+
*
|
68
|
+
* @param value - The total number of pages to set.
|
69
|
+
*/
|
19
70
|
private set totalPages(value);
|
71
|
+
/**
|
72
|
+
* Emitted when the display mode changes.
|
73
|
+
* @event
|
74
|
+
* An event containing the new display mode.
|
75
|
+
*/
|
20
76
|
displayModeChange: EventEmitter<string>;
|
77
|
+
/**
|
78
|
+
* @ignore
|
79
|
+
*/
|
21
80
|
private _displayMode;
|
81
|
+
/**
|
82
|
+
* Gets the current display mode of the data pager.
|
83
|
+
*/
|
22
84
|
get displayMode(): AXDataPagerMode;
|
85
|
+
/**
|
86
|
+
* Sets the display mode of the data pager and emits a change event.
|
87
|
+
*
|
88
|
+
* @param v - The new display mode to set, of type `AXDataPagerMode`.
|
89
|
+
*/
|
23
90
|
set displayMode(v: AXDataPagerMode);
|
91
|
+
/**
|
92
|
+
* Emitted when the data pager's state changes.
|
93
|
+
* @event
|
94
|
+
* An event containing details about the change.
|
95
|
+
*/
|
24
96
|
onChanged: EventEmitter<AXDataPagerChangedEvent>;
|
97
|
+
/**
|
98
|
+
* @ignore
|
99
|
+
*/
|
25
100
|
constructor(_parent: AXPagedComponent);
|
101
|
+
/**
|
102
|
+
* @ignore
|
103
|
+
*/
|
26
104
|
ngAfterViewInit(): void;
|
105
|
+
/**
|
106
|
+
* @ignore
|
107
|
+
*/
|
27
108
|
protected internalValueChanged(value: any): void;
|
109
|
+
/**
|
110
|
+
* @ignore
|
111
|
+
*/
|
28
112
|
protected internalGetValue(value: any): number;
|
113
|
+
/**
|
114
|
+
* @ignore
|
115
|
+
*/
|
29
116
|
private previousDisplayInfo;
|
30
117
|
get displayInfo(): AXDataPagerData;
|
118
|
+
/**
|
119
|
+
* @ignore
|
120
|
+
*/
|
31
121
|
private _emitChangedEvent;
|
122
|
+
/**
|
123
|
+
* Navigates to the next page, or to the last page if on the final page.
|
124
|
+
* @ignore
|
125
|
+
*/
|
32
126
|
goNextPage(): void;
|
127
|
+
/**
|
128
|
+
* Navigates to the last page.
|
129
|
+
* @ignore
|
130
|
+
*/
|
33
131
|
goLastPage(): void;
|
132
|
+
/**
|
133
|
+
* Navigates to the first page.
|
134
|
+
* @ignore
|
135
|
+
*/
|
34
136
|
goFirstPage(): void;
|
137
|
+
/**
|
138
|
+
* Navigates to the previous page, or to the first page if on the initial page.
|
139
|
+
* @ignore
|
140
|
+
*/
|
35
141
|
goPrevPage(): void;
|
142
|
+
/**
|
143
|
+
* Navigates to a specified page.
|
144
|
+
* @param page - The page number to navigate to.
|
145
|
+
* @ignore
|
146
|
+
*/
|
36
147
|
goToPage(page: number): void;
|
37
148
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataPagerComponent, [{ optional: true; }]>;
|
38
149
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDataPagerComponent, "ax-data-pager", never, { "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "size": { "alias": "size"; "required": false; }; "total": { "alias": "total"; "required": false; }; "displayMode": { "alias": "displayMode"; "required": false; }; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "disabledChange": "disabledChange"; "readonlyChange": "readonlyChange"; "displayModeChange": "displayModeChange"; "onChanged": "onChanged"; }, never, ["ax-prefix", "ax-suffix"], false, never>;
|
@@ -2,23 +2,81 @@ import { AXFormatOptions } from '@acorex/core/format';
|
|
2
2
|
import { TemplateRef } from '@angular/core';
|
3
3
|
import { AXDataTableColumnComponent } from './data-table-column';
|
4
4
|
import * as i0 from "@angular/core";
|
5
|
+
/**
|
6
|
+
* Component for a text column in a data table, supporting header, cell, and footer templates.
|
7
|
+
*
|
8
|
+
* @category Components
|
9
|
+
*/
|
5
10
|
export declare class AXDataTableTextColumnComponent extends AXDataTableColumnComponent {
|
11
|
+
/**
|
12
|
+
* Defines the data field to display in the column.
|
13
|
+
*/
|
6
14
|
dataField: string;
|
15
|
+
/**
|
16
|
+
* Toggles text wrapping in the cell.
|
17
|
+
*
|
18
|
+
* @defaultValue false
|
19
|
+
*/
|
7
20
|
wrapText: boolean;
|
21
|
+
/**
|
22
|
+
* Provides a custom template for rendering cells within the column.
|
23
|
+
*/
|
8
24
|
cellTemplate: TemplateRef<unknown>;
|
25
|
+
/**
|
26
|
+
* @ignore
|
27
|
+
*/
|
9
28
|
private _contentCellTemplate;
|
29
|
+
/**
|
30
|
+
* Returns the template used for rendering cells.
|
31
|
+
* Falls back to a default template if no custom template is provided.
|
32
|
+
*/
|
10
33
|
get renderCellTemplate(): TemplateRef<unknown>;
|
34
|
+
/**
|
35
|
+
* Template used for rendering the footer of the column.
|
36
|
+
*/
|
11
37
|
footerTemplate: TemplateRef<unknown>;
|
38
|
+
/**
|
39
|
+
* @ignore
|
40
|
+
*/
|
12
41
|
private _contentFooterTemplate;
|
42
|
+
/**
|
43
|
+
* Returns the template used for rendering the column footer,
|
44
|
+
* falling back to a default if not provided.
|
45
|
+
*/
|
13
46
|
get renderFooterTemplate(): TemplateRef<unknown>;
|
47
|
+
/**
|
48
|
+
* Defines the template for rendering the column header.
|
49
|
+
*/
|
14
50
|
headerTemplate: TemplateRef<unknown>;
|
51
|
+
/**
|
52
|
+
* @ignore
|
53
|
+
*/
|
15
54
|
private _contentHeaderTemplate;
|
55
|
+
/**
|
56
|
+
* Retrieves the template used for rendering the column header.
|
57
|
+
* Falls back to a default template if none is provided.
|
58
|
+
*/
|
16
59
|
get renderHeaderTemplate(): TemplateRef<unknown>;
|
60
|
+
/**
|
61
|
+
* Indicates whether loading functionality is enabled.
|
62
|
+
*/
|
17
63
|
get loadingEnabled(): boolean;
|
64
|
+
/**
|
65
|
+
* Generates a unique name based on the `dataField` value.
|
66
|
+
*/
|
18
67
|
get name(): string;
|
68
|
+
/**
|
69
|
+
* @ignore
|
70
|
+
*/
|
19
71
|
private formatService;
|
20
72
|
protected getDisplayText(rowData: unknown, dataField: string): string;
|
73
|
+
/**
|
74
|
+
* Defines the format string for displaying values in the component.
|
75
|
+
*/
|
21
76
|
format: string;
|
77
|
+
/**
|
78
|
+
* Provides additional options for formatting values.
|
79
|
+
*/
|
22
80
|
formatOptions: AXFormatOptions;
|
23
81
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataTableTextColumnComponent, never>;
|
24
82
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDataTableTextColumnComponent, "ax-text-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "allowSorting": { "alias": "allowSorting"; "required": false; }; "allowResizing": { "alias": "allowResizing"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "dataField": { "alias": "dataField"; "required": false; }; "wrapText": { "alias": "wrapText"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; }; "format": { "alias": "format"; "required": false; }; "formatOptions": { "alias": "formatOptions"; "required": false; }; }, {}, never, never, false, never>;
|
@@ -14,34 +14,117 @@ export declare abstract class AXBaseRowCommandColumnComponent extends AXDataTabl
|
|
14
14
|
get cssClass(): string;
|
15
15
|
onItemClick: EventEmitter<AXRowCommandItemClickEvent>;
|
16
16
|
}
|
17
|
+
/**
|
18
|
+
* A column for displaying dropdown command buttons in a data table.
|
19
|
+
*
|
20
|
+
* @category Components
|
21
|
+
*/
|
17
22
|
export declare class AXRowDropdownCommandColumnComponent extends AXBaseRowCommandColumnComponent {
|
23
|
+
/**
|
24
|
+
* @ignore
|
25
|
+
*/
|
18
26
|
private _cellTemplate;
|
27
|
+
/**
|
28
|
+
* Returns the template used for rendering cell content.
|
29
|
+
* This method provides the cell template used in the data table column, falling back to a default template if none is provided.
|
30
|
+
*/
|
19
31
|
get renderCellTemplate(): TemplateRef<unknown>;
|
32
|
+
/**
|
33
|
+
* @ignore
|
34
|
+
*/
|
20
35
|
private _contentHeaderTemplate;
|
36
|
+
/**
|
37
|
+
* Returns the template used for rendering the header content.
|
38
|
+
* This method provides the header template used in the data table column.
|
39
|
+
*/
|
21
40
|
get renderHeaderTemplate(): TemplateRef<unknown>;
|
22
41
|
footerTemplate: TemplateRef<unknown>;
|
42
|
+
/**
|
43
|
+
* @ignore
|
44
|
+
*/
|
23
45
|
private _contentFooterTemplate;
|
46
|
+
/**
|
47
|
+
* Returns the template used for rendering the footer content.
|
48
|
+
* This method provides the footer template used in the data table column.
|
49
|
+
*/
|
24
50
|
get renderFooterTemplate(): TemplateRef<unknown>;
|
51
|
+
/**
|
52
|
+
* Returns the name identifier for the column component.
|
53
|
+
*/
|
25
54
|
get name(): string;
|
55
|
+
/**
|
56
|
+
* @ignore
|
57
|
+
*/
|
26
58
|
protected _items: AXRowCommandItem[];
|
27
59
|
items: AXRowCommandItem[] | ((rowData: unknown) => AXRowCommandItem[] | Promise<AXRowCommandItem[]>);
|
60
|
+
/**
|
61
|
+
* @ignore
|
62
|
+
*/
|
28
63
|
protected handleOnOpened(rowData: any): Promise<void>;
|
64
|
+
/**
|
65
|
+
* @ignore
|
66
|
+
*/
|
29
67
|
protected handleOnClosed(): void;
|
68
|
+
/**
|
69
|
+
* @ignore
|
70
|
+
*/
|
30
71
|
protected handleOnItemClick(e: AXItemClickEvent<AXButtonItemComponent>, data: unknown): void;
|
31
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXRowDropdownCommandColumnComponent, never>;
|
32
73
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXRowDropdownCommandColumnComponent, "ax-dropdown-command-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "onItemClick": "onItemClick"; }, never, never, false, never>;
|
33
74
|
}
|
75
|
+
/**
|
76
|
+
* A column for displaying command buttons in a data table.
|
77
|
+
*
|
78
|
+
* @category Components
|
79
|
+
*/
|
34
80
|
export declare class AXRowCommandColumnComponent extends AXBaseRowCommandColumnComponent {
|
81
|
+
/**
|
82
|
+
* @ignore
|
83
|
+
*/
|
35
84
|
private _cellTemplate;
|
85
|
+
/**
|
86
|
+
* Returns the template used for rendering the cell content.
|
87
|
+
* Uses the specified cell template if provided; otherwise, falls back to a default template.
|
88
|
+
*/
|
36
89
|
get renderCellTemplate(): TemplateRef<unknown>;
|
90
|
+
/**
|
91
|
+
* @ignore
|
92
|
+
*/
|
37
93
|
private _contentHeaderTemplate;
|
94
|
+
/**
|
95
|
+
* Returns the template used for rendering the header content.
|
96
|
+
* Overrides the base implementation to provide a specific template for the command column.
|
97
|
+
*/
|
38
98
|
get renderHeaderTemplate(): TemplateRef<unknown>;
|
99
|
+
/**
|
100
|
+
* Template used for rendering the footer content of the column.
|
101
|
+
*/
|
39
102
|
footerTemplate: TemplateRef<unknown>;
|
103
|
+
/**
|
104
|
+
* @ignore
|
105
|
+
*/
|
40
106
|
private _contentFooterTemplate;
|
107
|
+
/**
|
108
|
+
* Gets the template used for rendering the footer content of the column.
|
109
|
+
* Returns `footerTemplate` if provided; otherwise, returns `_contentFooterTemplate`.
|
110
|
+
*/
|
41
111
|
get renderFooterTemplate(): TemplateRef<unknown>;
|
112
|
+
/**
|
113
|
+
* Gets the unique name identifier for the command column.
|
114
|
+
*/
|
42
115
|
get name(): string;
|
116
|
+
/**
|
117
|
+
* Defines the command items to display in the column.
|
118
|
+
* @defaultValue []
|
119
|
+
*/
|
43
120
|
items: AXRowCommandItem[] | ((rowData: unknown) => AXRowCommandItem[]);
|
121
|
+
/**
|
122
|
+
* @ignore
|
123
|
+
*/
|
44
124
|
protected getItems(rowData: unknown): AXRowCommandItem[];
|
125
|
+
/**
|
126
|
+
* @ignore
|
127
|
+
*/
|
45
128
|
protected handleOnItemClick(e: MouseEvent, item: AXRowCommandItem, data: unknown): void;
|
46
129
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXRowCommandColumnComponent, never>;
|
47
130
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXRowCommandColumnComponent, "ax-command-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "onItemClick": "onItemClick"; }, never, never, false, never>;
|
@@ -1,22 +1,73 @@
|
|
1
1
|
import { OnInit, TemplateRef } from '@angular/core';
|
2
2
|
import { AXDataTableColumnComponent } from './data-table-column';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
+
/**
|
5
|
+
* Component for displaying row indices in a data table column.
|
6
|
+
*
|
7
|
+
* @category Components
|
8
|
+
*/
|
4
9
|
export declare class AXRowIndexColumnComponent extends AXDataTableColumnComponent implements OnInit {
|
5
10
|
private grid;
|
6
11
|
private unsubscriber;
|
12
|
+
/**
|
13
|
+
* @ignore
|
14
|
+
*/
|
7
15
|
private _cellTemplate;
|
16
|
+
/**
|
17
|
+
* Provides the cell template for custom rendering if defined.
|
18
|
+
*/
|
8
19
|
get renderCellTemplate(): TemplateRef<unknown>;
|
20
|
+
/**
|
21
|
+
* @ignore
|
22
|
+
*/
|
9
23
|
private _contentHeaderTemplate;
|
24
|
+
/**
|
25
|
+
* Provides the header template for custom rendering if defined.
|
26
|
+
*/
|
10
27
|
get renderHeaderTemplate(): TemplateRef<unknown>;
|
28
|
+
/**
|
29
|
+
* Template used for rendering the footer content of the column.
|
30
|
+
*/
|
11
31
|
footerTemplate: TemplateRef<unknown>;
|
32
|
+
/**
|
33
|
+
* @ignore
|
34
|
+
*/
|
12
35
|
private _contentFooterTemplate;
|
36
|
+
/**
|
37
|
+
* Returns the template used for rendering the footer of the column.
|
38
|
+
* This method returns the `footerTemplate` if it is provided; otherwise, it defaults to the `_contentFooterTemplate`. This allows for custom footer content while falling back to a default template if no custom template is specified.
|
39
|
+
*/
|
13
40
|
get renderFooterTemplate(): TemplateRef<unknown>;
|
41
|
+
/**
|
42
|
+
* Gets the unique identifier name for the column.
|
43
|
+
*/
|
14
44
|
get name(): string;
|
45
|
+
/**
|
46
|
+
* Determines whether the index should be zero-padded.
|
47
|
+
* @defaultValue false
|
48
|
+
*/
|
15
49
|
padZero: boolean;
|
50
|
+
/**
|
51
|
+
* @ignore
|
52
|
+
*/
|
16
53
|
protected formatCount: number;
|
54
|
+
/**
|
55
|
+
* @ignore
|
56
|
+
*/
|
17
57
|
ngOnInit(): void;
|
58
|
+
/**
|
59
|
+
* Disables sorting for this column.
|
60
|
+
*
|
61
|
+
* @defaultValue false
|
62
|
+
*/
|
18
63
|
allowSorting: boolean;
|
64
|
+
/**
|
65
|
+
* Indicates whether loading is enabled for this component.
|
66
|
+
*/
|
19
67
|
get loadingEnabled(): boolean;
|
68
|
+
/**
|
69
|
+
* Gets the CSS class applied to the component.
|
70
|
+
*/
|
20
71
|
get cssClass(): string | undefined;
|
21
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXRowIndexColumnComponent, never>;
|
22
73
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXRowIndexColumnComponent, "ax-index-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "padZero": { "alias": "padZero"; "required": false; }; }, {}, never, never, false, never>;
|