@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,44 +1,177 @@
|
|
|
1
1
|
import { AXClickEvent, MXInputBaseValueComponent } from '@acorex/components/common';
|
|
2
2
|
import { ElementRef, EventEmitter } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* A component for date and time input with various custom features.
|
|
6
|
+
*
|
|
7
|
+
* @category Components
|
|
8
|
+
*/
|
|
4
9
|
export declare class AXDateTimeInputComponent extends MXInputBaseValueComponent<Date> {
|
|
5
10
|
private calendarService;
|
|
11
|
+
/**
|
|
12
|
+
* @ignore
|
|
13
|
+
*/
|
|
6
14
|
private _editingParts;
|
|
15
|
+
/**
|
|
16
|
+
* @ignore
|
|
17
|
+
*/
|
|
7
18
|
protected _editingText: string;
|
|
19
|
+
/**
|
|
20
|
+
* @ignore
|
|
21
|
+
*/
|
|
8
22
|
protected _inputChars: string[];
|
|
23
|
+
/**
|
|
24
|
+
* @ignore
|
|
25
|
+
*/
|
|
9
26
|
private _type;
|
|
27
|
+
/**
|
|
28
|
+
* Indicates whether typing is allowed in the input field.
|
|
29
|
+
* @defaultValue false
|
|
30
|
+
*/
|
|
10
31
|
allowTyping: import("@angular/core").InputSignal<boolean>;
|
|
32
|
+
/**
|
|
33
|
+
* Gets the type of the datetime input.
|
|
34
|
+
*/
|
|
11
35
|
get type(): string;
|
|
36
|
+
/**
|
|
37
|
+
* Sets the type of the datetime input.
|
|
38
|
+
*
|
|
39
|
+
* @param v The new type to set for the datetime input.
|
|
40
|
+
*/
|
|
12
41
|
set type(v: string);
|
|
42
|
+
/**
|
|
43
|
+
* @ignore
|
|
44
|
+
*/
|
|
13
45
|
private _activePart;
|
|
46
|
+
/**
|
|
47
|
+
* Gets the currently active part of the datetime input.
|
|
48
|
+
*/
|
|
14
49
|
get activePart(): string;
|
|
50
|
+
/**
|
|
51
|
+
* Sets the currently active part of the datetime input.
|
|
52
|
+
*
|
|
53
|
+
* @param v The new name or identifier of the active part.
|
|
54
|
+
*/
|
|
15
55
|
set activePart(v: string);
|
|
56
|
+
/**
|
|
57
|
+
* @ignore
|
|
58
|
+
*/
|
|
16
59
|
private _editingDateObj;
|
|
60
|
+
/**
|
|
61
|
+
* @ignore
|
|
62
|
+
*/
|
|
17
63
|
private get editingDateObj();
|
|
64
|
+
/**
|
|
65
|
+
* @ignore
|
|
66
|
+
*/
|
|
18
67
|
input: ElementRef<HTMLInputElement>;
|
|
68
|
+
/**
|
|
69
|
+
* @ignore
|
|
70
|
+
*/
|
|
19
71
|
private _minValue;
|
|
72
|
+
/**
|
|
73
|
+
* Gets the minimum allowed date value for the datetime input.
|
|
74
|
+
*/
|
|
20
75
|
get minValue(): Date;
|
|
76
|
+
/**
|
|
77
|
+
* Sets the minimum allowable date value for the datetime input.
|
|
78
|
+
*
|
|
79
|
+
* @param v The minimum allowable date value to set.
|
|
80
|
+
*/
|
|
21
81
|
set minValue(v: Date);
|
|
82
|
+
/**
|
|
83
|
+
* @ignore
|
|
84
|
+
*/
|
|
22
85
|
private _maxValue;
|
|
86
|
+
/**
|
|
87
|
+
* Gets the maximum allowed date value for the datetime input.
|
|
88
|
+
*/
|
|
23
89
|
get maxValue(): Date;
|
|
90
|
+
/**
|
|
91
|
+
* Sets the maximum allowable date value for the datetime input.
|
|
92
|
+
*
|
|
93
|
+
* @param v - The maximum allowable date value to set.
|
|
94
|
+
*/
|
|
24
95
|
set maxValue(v: Date);
|
|
96
|
+
/**
|
|
97
|
+
* Emitted when the format of the datetime input changes.
|
|
98
|
+
* @event
|
|
99
|
+
*/
|
|
25
100
|
formatChange: EventEmitter<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Emitted when a click event occurs on the datetime box.
|
|
103
|
+
* @event
|
|
104
|
+
*/
|
|
26
105
|
onClick: EventEmitter<AXClickEvent>;
|
|
106
|
+
/**
|
|
107
|
+
* @ignore
|
|
108
|
+
*/
|
|
27
109
|
private _format;
|
|
110
|
+
/**
|
|
111
|
+
* Gets or sets the format string for displaying date and time values.
|
|
112
|
+
*/
|
|
28
113
|
get format(): string;
|
|
114
|
+
/**
|
|
115
|
+
* Sets the format string for displaying date and time values.
|
|
116
|
+
* @param v - The new format string. It defines how date and time values should be formatted.
|
|
117
|
+
*/
|
|
29
118
|
set format(v: string);
|
|
119
|
+
/**
|
|
120
|
+
* @ignore
|
|
121
|
+
*/
|
|
30
122
|
private _getOrderedParts;
|
|
123
|
+
/**
|
|
124
|
+
* @ignore
|
|
125
|
+
*/
|
|
31
126
|
private _clearInputBuffer;
|
|
127
|
+
/**
|
|
128
|
+
* @ignore
|
|
129
|
+
*/
|
|
32
130
|
private _updateText;
|
|
131
|
+
/**
|
|
132
|
+
* Sets the internal date value, adjusting it based on editing parts.
|
|
133
|
+
* @param value - The date to set. Returns `undefined` if no value is provided.
|
|
134
|
+
* @ignore
|
|
135
|
+
*/
|
|
33
136
|
internalSetValue(value?: Date): Date;
|
|
137
|
+
/**
|
|
138
|
+
* Handles changes to the internal date value, updating editing parts and text representation.
|
|
139
|
+
*
|
|
140
|
+
* @param value - The new date value. If not provided, resets editing parts.
|
|
141
|
+
* @ignore
|
|
142
|
+
*/
|
|
34
143
|
internalValueChanged(value?: Date): void;
|
|
144
|
+
/**
|
|
145
|
+
* @ignore
|
|
146
|
+
*/
|
|
35
147
|
_handleOnKeydownEvent(e: KeyboardEvent): void;
|
|
148
|
+
/**
|
|
149
|
+
* @ignore
|
|
150
|
+
*/
|
|
36
151
|
_handleKeyUpEvent(e: KeyboardEvent): void;
|
|
152
|
+
/**
|
|
153
|
+
* @ignore
|
|
154
|
+
*/
|
|
37
155
|
protected _handleFocusEvent(e: FocusEvent): void;
|
|
156
|
+
/**
|
|
157
|
+
* @ignore
|
|
158
|
+
*/
|
|
38
159
|
protected _handleBlurEvent(e: FocusEvent): void;
|
|
160
|
+
/**
|
|
161
|
+
* @ignore
|
|
162
|
+
*/
|
|
39
163
|
protected _handleOnInputClickEvent(e: MouseEvent): void;
|
|
164
|
+
/**
|
|
165
|
+
* @ignore
|
|
166
|
+
*/
|
|
40
167
|
private _detectPartAtPosition;
|
|
168
|
+
/**
|
|
169
|
+
* @ignore
|
|
170
|
+
*/
|
|
41
171
|
private _highlightActivePart;
|
|
172
|
+
/**
|
|
173
|
+
* @ignore
|
|
174
|
+
*/
|
|
42
175
|
private _detectValueChanges;
|
|
43
176
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDateTimeInputComponent, never>;
|
|
44
177
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDateTimeInputComponent, "ax-datetime-input", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "allowTyping": { "alias": "allowTyping"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "format": { "alias": "format"; "required": false; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "formatChange": "formatChange"; }, never, ["ax-validation-rule"], false, never>;
|
|
@@ -10,40 +10,135 @@ declare const AXDateTimePickerComponent_base: import("polytype").Polytype.Cluste
|
|
|
10
10
|
ɵfac: unknown;
|
|
11
11
|
ɵprov: import("@angular/core").ɵɵInjectableDeclaration<MXValueComponent<any>>;
|
|
12
12
|
}]>;
|
|
13
|
+
/**
|
|
14
|
+
* allows users to select a date and time from a calendar and time picker interface.
|
|
15
|
+
*
|
|
16
|
+
* @category Components
|
|
17
|
+
*/
|
|
13
18
|
export declare class AXDateTimePickerComponent extends AXDateTimePickerComponent_base implements OnInit {
|
|
14
19
|
buttonText: string;
|
|
15
20
|
private defaultConfig;
|
|
21
|
+
/**
|
|
22
|
+
* @ignore
|
|
23
|
+
*/
|
|
16
24
|
private _currentTimeButton;
|
|
25
|
+
/**
|
|
26
|
+
* Determines whether a button for selecting the current time is displayed.
|
|
27
|
+
*/
|
|
17
28
|
get currentTimeButton(): boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Sets whether the button for selecting the current time is displayed.
|
|
31
|
+
*/
|
|
18
32
|
set currentTimeButton(v: boolean);
|
|
19
33
|
private _calendarService;
|
|
20
34
|
private _tranlationService;
|
|
35
|
+
/**
|
|
36
|
+
* @ignore
|
|
37
|
+
*/
|
|
21
38
|
protected picker: AXPickerComponent;
|
|
39
|
+
/**
|
|
40
|
+
* @ignore
|
|
41
|
+
*/
|
|
22
42
|
protected tabs: AXTabsComponent;
|
|
43
|
+
/**
|
|
44
|
+
* @ignore
|
|
45
|
+
*/
|
|
23
46
|
protected hours: any[];
|
|
24
47
|
minutes: any[];
|
|
48
|
+
/**
|
|
49
|
+
* @ignore
|
|
50
|
+
*/
|
|
25
51
|
protected _parts: AXDateTimeParts;
|
|
52
|
+
/**
|
|
53
|
+
* @ignore
|
|
54
|
+
*/
|
|
26
55
|
protected _activePart: 'date' | 'time';
|
|
56
|
+
/**
|
|
57
|
+
* @ignore
|
|
58
|
+
*/
|
|
27
59
|
protected get _hasDatePart(): boolean;
|
|
60
|
+
/**
|
|
61
|
+
* @ignore
|
|
62
|
+
*/
|
|
28
63
|
protected get _hasTimePart(): boolean;
|
|
64
|
+
/**
|
|
65
|
+
* @ignore
|
|
66
|
+
*/
|
|
29
67
|
private _editingDateObj;
|
|
30
68
|
protected get editingDateObj(): AXDateTime;
|
|
69
|
+
/**
|
|
70
|
+
* Emits an event when the format changes.
|
|
71
|
+
*
|
|
72
|
+
* @event
|
|
73
|
+
*/
|
|
31
74
|
formatChange: EventEmitter<string>;
|
|
75
|
+
/**
|
|
76
|
+
* @ignore
|
|
77
|
+
*/
|
|
32
78
|
private _format;
|
|
79
|
+
/**
|
|
80
|
+
* Gets or sets the format for the datetime input.
|
|
81
|
+
*/
|
|
33
82
|
get format(): string;
|
|
83
|
+
/**
|
|
84
|
+
* Sets the format for the datetime input and updates internal parts.
|
|
85
|
+
*
|
|
86
|
+
* @param v - The new format string to be set.
|
|
87
|
+
*/
|
|
34
88
|
set format(v: string);
|
|
89
|
+
/**
|
|
90
|
+
* @ignore
|
|
91
|
+
*/
|
|
35
92
|
ngOnInit(): Promise<void>;
|
|
93
|
+
/**
|
|
94
|
+
* Refreshes the picker component, updating its view and data.
|
|
95
|
+
* @ignore
|
|
96
|
+
*/
|
|
36
97
|
refresh(): void;
|
|
98
|
+
/**
|
|
99
|
+
* Handles changes to the internal value of the component.
|
|
100
|
+
* @param value - The new date value. If not provided, defaults to the current date.
|
|
101
|
+
*/
|
|
37
102
|
internalValueChanged(value?: Date): void;
|
|
103
|
+
/**
|
|
104
|
+
* @ignore
|
|
105
|
+
*/
|
|
38
106
|
protected detectButtonText(): void;
|
|
107
|
+
/**
|
|
108
|
+
* @ignore
|
|
109
|
+
*/
|
|
39
110
|
protected _handleViewChanged(e: AXTabStripChangedEvent): void;
|
|
111
|
+
/**
|
|
112
|
+
* @ignore
|
|
113
|
+
*/
|
|
40
114
|
protected _handlePickerOnValueChanged(e: AXValueChangedEvent<Date>, part: string): void;
|
|
115
|
+
/**
|
|
116
|
+
* @ignore
|
|
117
|
+
*/
|
|
41
118
|
protected _handleCalendarOnNavigate(e: AXCalendarNavigateEvent): void;
|
|
119
|
+
/**
|
|
120
|
+
* @ignore
|
|
121
|
+
*/
|
|
42
122
|
protected _handleCalendarOnValueChanged(e: AXValueChangedEvent<Date>): void;
|
|
123
|
+
/**
|
|
124
|
+
* @ignore
|
|
125
|
+
*/
|
|
43
126
|
private _detectParts;
|
|
127
|
+
/**
|
|
128
|
+
* @ignore
|
|
129
|
+
*/
|
|
44
130
|
protected _handleSetClick(): void;
|
|
131
|
+
/**
|
|
132
|
+
* @ignore
|
|
133
|
+
*/
|
|
45
134
|
protected _handleNowClick(): void;
|
|
135
|
+
/**
|
|
136
|
+
* @ignore
|
|
137
|
+
*/
|
|
46
138
|
protected isDisabled(date: AXDateTime): boolean;
|
|
139
|
+
/**
|
|
140
|
+
* @ignore
|
|
141
|
+
*/
|
|
47
142
|
protected internalSetValue(value: Date): Date | null;
|
|
48
143
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDateTimePickerComponent, never>;
|
|
49
144
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDateTimePickerComponent, "ax-datetime-picker", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "holidayDates": { "alias": "holidayDates"; "required": false; }; "type": { "alias": "type"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "cellClass": { "alias": "cellClass"; "required": false; }; "showNavigation": { "alias": "showNavigation"; "required": false; }; "currentTimeButton": { "alias": "currentTimeButton"; "required": false; }; "format": { "alias": "format"; "required": false; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "depthChange": "depthChange"; "typeChange": "typeChange"; "activeViewChange": "activeViewChange"; "disabledDatesChange": "disabledDatesChange"; "holidayDatesChange": "holidayDatesChange"; "onNavigate": "onNavigate"; "onSlotClick": "onSlotClick"; "formatChange": "formatChange"; }, never, never, false, never>;
|
|
@@ -1,12 +1,37 @@
|
|
|
1
1
|
import { AXClearableComponent, MXBaseComponent } from '@acorex/components/common';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* A button component that allows users to clear or reset a value.
|
|
5
|
+
*
|
|
6
|
+
* @category Components
|
|
7
|
+
*/
|
|
3
8
|
export declare class AXDecoratorClearButtonComponent extends MXBaseComponent {
|
|
4
9
|
private _parent?;
|
|
10
|
+
/**
|
|
11
|
+
* @ignore
|
|
12
|
+
*/
|
|
5
13
|
constructor(_parent?: AXClearableComponent);
|
|
14
|
+
/**
|
|
15
|
+
* @ignore
|
|
16
|
+
*/
|
|
6
17
|
private _icon;
|
|
18
|
+
/**
|
|
19
|
+
* The icon displayed on the clear button.
|
|
20
|
+
*/
|
|
7
21
|
get icon(): string;
|
|
22
|
+
/**
|
|
23
|
+
* Sets the icon displayed on the clear button.
|
|
24
|
+
*
|
|
25
|
+
* @param v - The icon class to display. If not provided, defaults to 'ax-icon-close'.
|
|
26
|
+
*/
|
|
8
27
|
set icon(v: string);
|
|
28
|
+
/**
|
|
29
|
+
* @ignore
|
|
30
|
+
*/
|
|
9
31
|
private get hostClass();
|
|
32
|
+
/**
|
|
33
|
+
* @ignore
|
|
34
|
+
*/
|
|
10
35
|
protected _handleOnClick(): void;
|
|
11
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorClearButtonComponent, [{ optional: true; }]>;
|
|
12
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorClearButtonComponent, "ax-clear-button", never, { "icon": { "alias": "icon"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -1,11 +1,33 @@
|
|
|
1
1
|
import { AXClosbaleComponent, MXBaseComponent } from '@acorex/components/common';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* A button component that displays a close icon and triggers an action when clicked.
|
|
5
|
+
*
|
|
6
|
+
* @category Components
|
|
7
|
+
*/
|
|
3
8
|
export declare class AXDecoratorCloseButtonComponent extends MXBaseComponent {
|
|
4
9
|
private _parent?;
|
|
10
|
+
/**
|
|
11
|
+
* @ignore
|
|
12
|
+
*/
|
|
5
13
|
constructor(_parent?: AXClosbaleComponent);
|
|
14
|
+
/**
|
|
15
|
+
* @ignore
|
|
16
|
+
*/
|
|
6
17
|
private _icon;
|
|
18
|
+
/**
|
|
19
|
+
* The icon class to be applied to the button.
|
|
20
|
+
*/
|
|
7
21
|
get icon(): string;
|
|
22
|
+
/**
|
|
23
|
+
* Sets the icon class to be applied to the button.
|
|
24
|
+
*
|
|
25
|
+
* @param v The icon class.
|
|
26
|
+
*/
|
|
8
27
|
set icon(v: string);
|
|
28
|
+
/**
|
|
29
|
+
* @ignore
|
|
30
|
+
*/
|
|
9
31
|
protected _handleOnClick(): void;
|
|
10
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorCloseButtonComponent, [{ optional: true; }]>;
|
|
11
33
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorCloseButtonComponent, "ax-close-button", never, { "icon": { "alias": "icon"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { MXBaseComponent } from '@acorex/components/common';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* A flexible component for various UI elements like footer, header, content, and more.
|
|
5
|
+
* @category Components
|
|
6
|
+
*/
|
|
3
7
|
export declare class AXDecoratorGenericComponent extends MXBaseComponent {
|
|
4
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorGenericComponent, never>;
|
|
5
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorGenericComponent, "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay", never, {}, {}, never, ["*"], false, never>;
|
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
import { MXBaseComponent } from '@acorex/components/common';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* A component for displaying various types of icons including `<i>`, `<span>`, `<svg>`, and `<img>`.
|
|
5
|
+
* @category Components
|
|
6
|
+
*/
|
|
3
7
|
export declare class AXDecoratorIconComponent extends MXBaseComponent {
|
|
8
|
+
/**
|
|
9
|
+
* Specifies the icon to be displayed.
|
|
10
|
+
*
|
|
11
|
+
* @defaultValue ''
|
|
12
|
+
*/
|
|
4
13
|
icon: string;
|
|
14
|
+
/**
|
|
15
|
+
* @ignore
|
|
16
|
+
*/
|
|
5
17
|
private get __iconClass();
|
|
6
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorIconComponent, never>;
|
|
7
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorIconComponent, "ax-icon", never, { "icon": { "alias": "icon"; "required": false; }; }, {}, never, ["i,span,svg,img"], false, never>;
|
|
@@ -2,17 +2,37 @@ import { AXComponentCloseEvent, MXBaseComponent } from '@acorex/components/commo
|
|
|
2
2
|
import { DialogRef } from '@angular/cdk/dialog';
|
|
3
3
|
import { AXDialogButtonItem, AXDialogData } from './dialog.class';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* A dialog component that provides a modal interface for user interactions.
|
|
7
|
+
* @category Components
|
|
8
|
+
*/
|
|
5
9
|
export declare class AXDialogComponent extends MXBaseComponent {
|
|
6
10
|
protected data: AXDialogData;
|
|
7
11
|
private dialogRef;
|
|
12
|
+
/**
|
|
13
|
+
* @ignore
|
|
14
|
+
*/
|
|
8
15
|
protected _icon: string;
|
|
9
16
|
/**
|
|
10
17
|
* @ignore
|
|
11
18
|
*/
|
|
12
19
|
constructor(data: AXDialogData, dialogRef: DialogRef<AXComponentCloseEvent>);
|
|
20
|
+
/**
|
|
21
|
+
* @ignore
|
|
22
|
+
*/
|
|
13
23
|
protected _handleButtonClick(button: AXDialogButtonItem): void;
|
|
24
|
+
/**
|
|
25
|
+
* @ignore
|
|
26
|
+
*/
|
|
14
27
|
protected _hasAutoFocus(button: AXDialogButtonItem): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Closes the dialog.
|
|
30
|
+
* @ignore
|
|
31
|
+
*/
|
|
15
32
|
close(): void;
|
|
33
|
+
/**
|
|
34
|
+
* @ignore
|
|
35
|
+
*/
|
|
16
36
|
get tabIndex(): string;
|
|
17
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDialogComponent, never>;
|
|
18
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDialogComponent, "ax-dialog", never, {}, {}, never, never, false, never>;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { MXBaseComponent } from '@acorex/components/common';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* A container component that organizes and positions drawer components.
|
|
5
|
+
* @category component
|
|
6
|
+
*/
|
|
3
7
|
export declare class AXDrawerContainerComponent extends MXBaseComponent {
|
|
8
|
+
/**
|
|
9
|
+
* @ignore
|
|
10
|
+
*/
|
|
4
11
|
ngDoCheck(): void;
|
|
5
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDrawerContainerComponent, never>;
|
|
6
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDrawerContainerComponent, "ax-drawer-container", never, {}, {}, never, ["ax-drawer[location='start']", "ax-content", "ax-drawer[location='end']"], false, never>;
|
|
@@ -3,36 +3,140 @@ import { EventEmitter, NgZone } from '@angular/core';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export type AXDrawerMode = 'push' | 'overlay';
|
|
5
5
|
export type AXDrawerLocation = 'start' | 'end';
|
|
6
|
+
/**
|
|
7
|
+
* A component that represents a drawer with header and content sections.
|
|
8
|
+
*
|
|
9
|
+
* @category Components
|
|
10
|
+
*/
|
|
6
11
|
export declare class AXDrawerComponent extends MXBaseComponent {
|
|
7
12
|
private _zone;
|
|
13
|
+
/**
|
|
14
|
+
* @ignore
|
|
15
|
+
*/
|
|
8
16
|
constructor(_zone: NgZone);
|
|
17
|
+
/**
|
|
18
|
+
* Emits when the drawer's location changes.
|
|
19
|
+
*
|
|
20
|
+
* @event
|
|
21
|
+
*/
|
|
9
22
|
locationChange: EventEmitter<AXDrawerLocation>;
|
|
23
|
+
/**
|
|
24
|
+
* @ignore
|
|
25
|
+
*/
|
|
10
26
|
private _location;
|
|
27
|
+
/**
|
|
28
|
+
* Gets the location of the drawer.
|
|
29
|
+
*/
|
|
11
30
|
get location(): AXDrawerLocation;
|
|
31
|
+
/**
|
|
32
|
+
* Sets the location of the drawer.
|
|
33
|
+
*
|
|
34
|
+
* @param v The new location of the drawer.
|
|
35
|
+
*/
|
|
12
36
|
set location(v: AXDrawerLocation);
|
|
37
|
+
/**
|
|
38
|
+
* @ignore
|
|
39
|
+
*/
|
|
13
40
|
private _showBackdrop;
|
|
41
|
+
/**
|
|
42
|
+
* Gets whether the backdrop is shown.
|
|
43
|
+
*/
|
|
14
44
|
get showBackdrop(): boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Sets whether the backdrop should be shown.
|
|
47
|
+
*
|
|
48
|
+
* @param v
|
|
49
|
+
*/
|
|
15
50
|
set showBackdrop(v: boolean);
|
|
51
|
+
/**
|
|
52
|
+
* Emitted when the drawer mode changes.
|
|
53
|
+
*
|
|
54
|
+
* @event
|
|
55
|
+
*/
|
|
16
56
|
modeChange: EventEmitter<AXDrawerMode>;
|
|
57
|
+
/**
|
|
58
|
+
* @ignore
|
|
59
|
+
*/
|
|
17
60
|
private _mode;
|
|
61
|
+
/**
|
|
62
|
+
* Gets the current mode of the drawer.
|
|
63
|
+
*/
|
|
18
64
|
get mode(): AXDrawerMode;
|
|
65
|
+
/**
|
|
66
|
+
* Sets the mode of the drawer.
|
|
67
|
+
*
|
|
68
|
+
* @param v The new mode to set.
|
|
69
|
+
*/
|
|
19
70
|
set mode(v: AXDrawerMode);
|
|
71
|
+
/**
|
|
72
|
+
* Emitted when the collapsed state of the drawer changes.
|
|
73
|
+
*
|
|
74
|
+
* @event
|
|
75
|
+
*/
|
|
20
76
|
collapsedChange: EventEmitter<boolean>;
|
|
77
|
+
/**
|
|
78
|
+
* @ignore
|
|
79
|
+
*/
|
|
21
80
|
private _collapsed;
|
|
81
|
+
/**
|
|
82
|
+
* Gets the collapsed state of the drawer.
|
|
83
|
+
*/
|
|
22
84
|
get collapsed(): boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Sets the collapsed state of the drawer.
|
|
87
|
+
*
|
|
88
|
+
* @param v The new collapsed state.
|
|
89
|
+
*/
|
|
23
90
|
set collapsed(v: boolean);
|
|
91
|
+
/**
|
|
92
|
+
* @ignore
|
|
93
|
+
*/
|
|
24
94
|
ngAfterContentInit(): void;
|
|
25
95
|
internalOptionChanged(option: MXComponentOptionChanged): void;
|
|
96
|
+
/**
|
|
97
|
+
* @ignore
|
|
98
|
+
*/
|
|
26
99
|
ngDoCheck(): void;
|
|
100
|
+
/**
|
|
101
|
+
* @ignore
|
|
102
|
+
*/
|
|
27
103
|
private _detectBoundingSize;
|
|
104
|
+
/**
|
|
105
|
+
* @ignore
|
|
106
|
+
*/
|
|
28
107
|
private _checkProps;
|
|
108
|
+
/**
|
|
109
|
+
* Toggles the collapsed state of the drawer.
|
|
110
|
+
*/
|
|
29
111
|
toggle(): void;
|
|
112
|
+
/**
|
|
113
|
+
* Collapses the drawer.
|
|
114
|
+
* @ignore
|
|
115
|
+
*/
|
|
30
116
|
close(): void;
|
|
117
|
+
/**
|
|
118
|
+
* Expands the drawer.
|
|
119
|
+
*/
|
|
31
120
|
open(): void;
|
|
121
|
+
/**
|
|
122
|
+
* @ignore
|
|
123
|
+
*/
|
|
32
124
|
private get __hostClass();
|
|
125
|
+
/**
|
|
126
|
+
* @ignore
|
|
127
|
+
*/
|
|
33
128
|
private _backdropElement;
|
|
129
|
+
/**
|
|
130
|
+
* @ignore
|
|
131
|
+
*/
|
|
34
132
|
private _loaded;
|
|
133
|
+
/**
|
|
134
|
+
* @ignore
|
|
135
|
+
*/
|
|
35
136
|
private _addBackdrop;
|
|
137
|
+
/**
|
|
138
|
+
* @ignore
|
|
139
|
+
*/
|
|
36
140
|
private _removeBackdrop;
|
|
37
141
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDrawerComponent, never>;
|
|
38
142
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDrawerComponent, "ax-drawer", never, { "location": { "alias": "location"; "required": false; }; "showBackdrop": { "alias": "showBackdrop"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; }, { "locationChange": "locationChange"; "modeChange": "modeChange"; "collapsedChange": "collapsedChange"; }, never, ["ax-header", "ax-content"], false, never>;
|