@acorex/components 20.1.20 → 20.1.22
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/action-sheet/index.d.ts +56 -0
- package/alert/index.d.ts +1 -1
- package/avatar/index.d.ts +11 -4
- package/breadcrumbs/index.d.ts +15 -1
- package/calendar/index.d.ts +23 -9
- package/check-box/index.d.ts +1 -1
- package/circular-progress/index.d.ts +23 -18
- package/collapse/index.d.ts +6 -3
- package/color-palette/index.d.ts +1 -1
- package/comment/index.d.ts +3 -3
- package/cron-job/index.d.ts +4 -4
- package/data-pager/index.d.ts +10 -5
- package/datetime-picker/index.d.ts +8 -0
- package/dropdown/index.d.ts +41 -0
- package/fesm2022/acorex-components-action-sheet.mjs +56 -0
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +1 -1
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +11 -4
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +15 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +26 -12
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +2 -2
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +23 -18
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +6 -3
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +1 -1
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +2 -2
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +5 -5
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +6 -6
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +10 -5
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +1 -1
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +70 -2
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +44 -0
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-json-viewer.mjs +2 -2
- package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +10 -8
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +14 -4
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +2 -2
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +42 -17
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +1 -1
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +1 -1
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/json-viewer/index.d.ts +3 -3
- package/package.json +5 -5
- package/picker/index.d.ts +10 -8
- package/radio/index.d.ts +1 -1
- package/select-box/index.d.ts +9 -6
package/action-sheet/index.d.ts
CHANGED
@@ -93,7 +93,26 @@ declare class AXActionSheetComponent extends MXBaseComponent implements OnInit,
|
|
93
93
|
private snapToFinalPosition;
|
94
94
|
private heightCalculator;
|
95
95
|
protected handleAttched(ref: CdkPortalOutletAttachedRef): void;
|
96
|
+
/**
|
97
|
+
* Handles click events on action sheet items.
|
98
|
+
* This method is called when a user clicks on an action sheet item. It closes the action sheet
|
99
|
+
* with the clicked item as the result data and executes the item's onClick callback if provided.
|
100
|
+
*
|
101
|
+
* @param item - The action sheet item that was clicked. Contains the item's data and optional onClick callback.
|
102
|
+
* @returns void
|
103
|
+
*/
|
96
104
|
onItemClick(item: AXActionSheetItem): void;
|
105
|
+
/**
|
106
|
+
* Closes the action sheet with optional result data.
|
107
|
+
* This method initiates the closing animation of the action sheet and eventually closes the dialog.
|
108
|
+
* The closing process includes a height animation and cleanup of event listeners.
|
109
|
+
*
|
110
|
+
* @param e - The result data to pass when closing the action sheet. Can be any value including null.
|
111
|
+
* If an AXActionSheetItem is passed, it represents the selected item.
|
112
|
+
* @param isUserInteraction - Whether the close action was triggered by user interaction (default: true).
|
113
|
+
* This affects how the action sheet handles accessibility and event tracking.
|
114
|
+
* @returns void
|
115
|
+
*/
|
97
116
|
close(e?: any, isUserInteraction?: boolean): void;
|
98
117
|
/**
|
99
118
|
* @ignore
|
@@ -117,7 +136,44 @@ declare class AXActionSheetService {
|
|
117
136
|
private dialog;
|
118
137
|
private readonly actionSheetEvent;
|
119
138
|
actionSheetEvent$: rxjs.Observable<AXActionSheetEvent>;
|
139
|
+
/**
|
140
|
+
* Opens an action sheet with the specified configuration.
|
141
|
+
* This method creates and displays an action sheet component with the provided options.
|
142
|
+
* The action sheet will slide up from the bottom of the screen and can be dismissed
|
143
|
+
* by tapping outside, pressing escape, or calling the close method.
|
144
|
+
*
|
145
|
+
* @param config - The configuration object that defines the action sheet's appearance and behavior.
|
146
|
+
* Must include at least a title or content property. Will be merged with default config.
|
147
|
+
* @param isUserInteraction - Whether the action sheet is opened by user interaction (default: true).
|
148
|
+
* This affects how the action sheet handles accessibility and focus management.
|
149
|
+
* @returns A promise that resolves to a dialog reference containing methods to control the action sheet.
|
150
|
+
* The reference includes methods like close() and a closed observable for tracking dialog state.
|
151
|
+
* @example
|
152
|
+
* ```typescript
|
153
|
+
* const dialogRef = await actionSheetService.open({
|
154
|
+
* title: 'Choose an option',
|
155
|
+
* items: [
|
156
|
+
* { text: 'Option 1', value: 'opt1' },
|
157
|
+
* { text: 'Option 2', value: 'opt2' }
|
158
|
+
* ]
|
159
|
+
* });
|
160
|
+
*
|
161
|
+
* dialogRef.closed.subscribe(result => {
|
162
|
+
* console.log('Action sheet closed with:', result.data);
|
163
|
+
* });
|
164
|
+
* ```
|
165
|
+
*/
|
120
166
|
open(config: AXActionSheetConfig, isUserInteraction?: boolean): Promise<AXActionSheetDialogRef>;
|
167
|
+
/**
|
168
|
+
* Sets the current state of action sheet events.
|
169
|
+
* This method is used internally to track action sheet lifecycle events such as open, close,
|
170
|
+
* drag start, drag end, and full screen transitions. It emits events through the actionSheetEvent$
|
171
|
+
* observable for external subscribers to monitor action sheet state changes.
|
172
|
+
*
|
173
|
+
* @param event - The action sheet event to emit. Contains information about the event type,
|
174
|
+
* associated data, user interaction status, and dialog reference.
|
175
|
+
* @returns void
|
176
|
+
*/
|
121
177
|
setActionSheetEventState(event: AXActionSheetEvent): void;
|
122
178
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXActionSheetService, never>;
|
123
179
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXActionSheetService>;
|
package/alert/index.d.ts
CHANGED
@@ -73,7 +73,7 @@ declare class AXAlertComponent extends MXColorComponent {
|
|
73
73
|
/**
|
74
74
|
* Removes the alert from the container after a transition effect.
|
75
75
|
*
|
76
|
-
*
|
76
|
+
* @returns void - No return value. The alert is removed from the DOM and the onClosed event is emitted.
|
77
77
|
*/
|
78
78
|
close(): void;
|
79
79
|
/**
|
package/avatar/index.d.ts
CHANGED
@@ -10,12 +10,14 @@ declare class AXAvatarGroupComponent {
|
|
10
10
|
|
11
11
|
/**
|
12
12
|
* The Avatar component displays a user's profile image or initials, typically used for user identification.
|
13
|
+
* It supports multiple content types including text, icons, images, and badges.
|
13
14
|
*
|
14
15
|
* @category Components
|
15
16
|
*/
|
16
17
|
declare class AXAvatarComponent extends MXColorComponent {
|
17
18
|
/**
|
18
|
-
*
|
19
|
+
* Content children for avatar content (ax-image, ax-icon, ax-text).
|
20
|
+
* Used internally to determine if fallback SVG should be shown.
|
19
21
|
*/
|
20
22
|
protected children: i0.Signal<readonly QueryList<unknown>[]>;
|
21
23
|
/**
|
@@ -25,18 +27,23 @@ declare class AXAvatarComponent extends MXColorComponent {
|
|
25
27
|
*/
|
26
28
|
size: i0.ModelSignal<number>;
|
27
29
|
/**
|
28
|
-
* Specifies the visual style of the avatar.
|
30
|
+
* Specifies the visual style of the avatar's corners.
|
29
31
|
*
|
30
32
|
* @defaultValue 'rounded'
|
31
33
|
*/
|
32
34
|
shape: i0.InputSignal<"sharp" | "soft" | "rounded">;
|
35
|
+
/**
|
36
|
+
* Specifies the visual style of the avatar appearance.
|
37
|
+
*
|
38
|
+
* @defaultValue 'solid'
|
39
|
+
*/
|
33
40
|
look: i0.InputSignal<"solid" | "twotone">;
|
34
41
|
/**
|
35
|
-
*
|
42
|
+
* @ignore
|
36
43
|
*/
|
37
44
|
private get __hostClass();
|
38
45
|
/**
|
39
|
-
*
|
46
|
+
* @ignore
|
40
47
|
*/
|
41
48
|
private get __hostStyle();
|
42
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXAvatarComponent, never>;
|
package/breadcrumbs/index.d.ts
CHANGED
@@ -20,8 +20,18 @@ interface AXBreadcrumbsItems {
|
|
20
20
|
* @category Components
|
21
21
|
*/
|
22
22
|
declare class AXBreadCrumbsComponent extends MXBaseComponent implements AfterViewInit {
|
23
|
+
/**
|
24
|
+
* Content child template for custom divider between breadcrumb items.
|
25
|
+
*/
|
23
26
|
protected _divider: i0.Signal<TemplateRef<any>>;
|
27
|
+
/**
|
28
|
+
* View child template for the divider template.
|
29
|
+
*/
|
24
30
|
dividerTemplate: i0.Signal<TemplateRef<any>>;
|
31
|
+
/**
|
32
|
+
* Scrolls the breadcrumbs container to the rightmost position after view initialization.
|
33
|
+
* This ensures that the most recent breadcrumb items are visible when there are many items.
|
34
|
+
*/
|
25
35
|
ngAfterViewInit(): void;
|
26
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXBreadCrumbsComponent, never>;
|
27
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXBreadCrumbsComponent, "ax-breadcrumbs", never, {}, {}, ["_divider"], ["ax-breadcrumbs-item"], true, never>;
|
@@ -33,13 +43,17 @@ declare class AXBreadCrumbsComponent extends MXBaseComponent implements AfterVie
|
|
33
43
|
* @category Components
|
34
44
|
*/
|
35
45
|
declare class AXBreadCrumbsItemComponent extends MXInteractiveComponent {
|
46
|
+
/**
|
47
|
+
* Reference to the parent breadcrumbs component.
|
48
|
+
*/
|
36
49
|
_parent: AXBreadCrumbsComponent;
|
37
50
|
/**
|
38
51
|
* Indicates whether this breadcrumb item is the current active item.
|
39
52
|
*/
|
40
53
|
active: boolean;
|
41
54
|
/**
|
42
|
-
*
|
55
|
+
* Host binding for CSS classes based on component state.
|
56
|
+
* Applies 'ax-state-active' when active is true and 'ax-state-disabled' when disabled is true.
|
43
57
|
*/
|
44
58
|
private get __hostClass();
|
45
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXBreadCrumbsItemComponent, never>;
|
package/calendar/index.d.ts
CHANGED
@@ -295,18 +295,31 @@ declare class AXCalendarComponent extends AXCalendarComponent_base implements Af
|
|
295
295
|
*/
|
296
296
|
protected _handleGoToday(): void;
|
297
297
|
/**
|
298
|
-
* Navigates
|
299
|
-
*
|
298
|
+
* Navigates forward in the calendar based on the current active view and the configured count.
|
299
|
+
*
|
300
|
+
* Behavior by view:
|
301
|
+
* - day view: advances by count months
|
302
|
+
* - month view: advances by count years
|
303
|
+
* - year view: advances by 10 × count years
|
304
|
+
*
|
305
|
+
* @returns void
|
300
306
|
*/
|
301
307
|
next(): void;
|
302
308
|
/**
|
303
|
-
* Navigates
|
304
|
-
*
|
309
|
+
* Navigates backward in the calendar based on the current active view and the configured count.
|
310
|
+
*
|
311
|
+
* Behavior by view:
|
312
|
+
* - day view: goes back by count months
|
313
|
+
* - month view: goes back by count years
|
314
|
+
* - year view: goes back by 10 × count years
|
315
|
+
*
|
316
|
+
* @returns void
|
305
317
|
*/
|
306
318
|
prev(): void;
|
307
319
|
/**
|
308
320
|
* Sets focus to the currently selected calendar slot or the first available slot.
|
309
|
-
*
|
321
|
+
*
|
322
|
+
* @returns void
|
310
323
|
*/
|
311
324
|
focus(): void;
|
312
325
|
/**
|
@@ -314,15 +327,16 @@ declare class AXCalendarComponent extends AXCalendarComponent_base implements Af
|
|
314
327
|
*/
|
315
328
|
private _navNextPrev;
|
316
329
|
/**
|
317
|
-
* Navigates to the current date.
|
318
|
-
*
|
330
|
+
* Navigates to the current date and emits the navigation event.
|
331
|
+
*
|
332
|
+
* @returns void
|
319
333
|
*/
|
320
334
|
goToday(): void;
|
321
335
|
/**
|
322
336
|
* Navigates to a specified date and updates the view.
|
323
337
|
*
|
324
|
-
* @param date
|
325
|
-
* @
|
338
|
+
* @param date The date to navigate to, which can be a Date object or an AXDateTime instance.
|
339
|
+
* @returns void
|
326
340
|
*/
|
327
341
|
navTo(date: Date | AXDateTime): void;
|
328
342
|
/**
|
package/check-box/index.d.ts
CHANGED
@@ -63,7 +63,7 @@ declare class AXCheckBoxComponent extends AXCheckBoxComponent_base {
|
|
63
63
|
private get __hostClass();
|
64
64
|
protected changeValue(): void;
|
65
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCheckBoxComponent, never>;
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCheckBoxComponent, "ax-check-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "color": { "alias": "color"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCheckBoxComponent, "ax-check-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "color": { "alias": "color"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, ["_labels"], ["ax-label", "ax-form-hint", "ax-validation-rule"], true, never>;
|
67
67
|
}
|
68
68
|
|
69
69
|
declare class AXCheckBoxModule {
|
@@ -4,7 +4,8 @@ import { MXColorComponent } from '@acorex/cdk/common';
|
|
4
4
|
|
5
5
|
type AXCircularProgressMode = 'determinate' | 'indeterminate';
|
6
6
|
/**
|
7
|
-
*
|
7
|
+
* Displays the progress of an operation in a circular form. Supports determinate and indeterminate modes,
|
8
|
+
* configurable size and stroke, and color theming.
|
8
9
|
*
|
9
10
|
* @category Components
|
10
11
|
*/
|
@@ -14,29 +15,20 @@ declare class AXCircularProgressComponent extends MXColorComponent {
|
|
14
15
|
*/
|
15
16
|
circle: _angular_core.Signal<ElementRef<HTMLDivElement>>;
|
16
17
|
/**
|
17
|
-
* Defines the
|
18
|
-
*
|
19
|
-
* Change progress mode
|
20
|
-
*
|
18
|
+
* Defines the progress calculation mode.
|
19
|
+
* Use 'determinate' to show a specific percentage or 'indeterminate' for ongoing/spinner state.
|
21
20
|
*/
|
22
21
|
mode: _angular_core.InputSignal<AXCircularProgressMode>;
|
23
22
|
/**
|
24
|
-
*
|
25
|
-
*
|
26
|
-
* The percentage value to set for the progress.
|
27
|
-
*
|
23
|
+
* The percentage value to set for the progress (0–100).
|
28
24
|
*/
|
29
25
|
progress: _angular_core.ModelSignal<number>;
|
30
26
|
/**
|
31
|
-
*
|
32
|
-
*
|
33
|
-
* The stroke width to be set for the circular progress component.
|
27
|
+
* Stroke width of the circular track, in pixels.
|
34
28
|
*/
|
35
29
|
stroke: _angular_core.ModelSignal<number>;
|
36
30
|
/**
|
37
|
-
*
|
38
|
-
*
|
39
|
-
* Circle size
|
31
|
+
* Overall diameter of the circular progress, in pixels.
|
40
32
|
*/
|
41
33
|
size: _angular_core.ModelSignal<number>;
|
42
34
|
/**
|
@@ -48,15 +40,28 @@ declare class AXCircularProgressComponent extends MXColorComponent {
|
|
48
40
|
*/
|
49
41
|
private get __hostClass();
|
50
42
|
/**
|
51
|
-
*
|
43
|
+
* Sets the CSS custom properties to reflect the current `size` and `stroke` values.
|
44
|
+
*
|
45
|
+
* Updates `--ax-comp-circular-progress-circle-size` and `--ax-comp-circular-progress-stroke-size` on the circle.
|
46
|
+
*
|
47
|
+
* @returns void - Styles are applied to the circle element when available.
|
52
48
|
*/
|
53
49
|
setCircularSize(): void;
|
54
50
|
/**
|
55
|
-
*
|
51
|
+
* Recalculates and applies the progress arc background based on the current `progress` value.
|
52
|
+
*
|
53
|
+
* Uses a conic-gradient with `--ax-comp-progress-circular-color` and `--ax-comp-progress-circular-line-color`.
|
54
|
+
* The expected range for `progress` is 0–100.
|
55
|
+
*
|
56
|
+
* @returns void - Styles are applied to the circle element when available.
|
56
57
|
*/
|
57
58
|
updateProgress(): void;
|
58
59
|
/**
|
59
|
-
*
|
60
|
+
* Applies a default visual state for the indeterminate mode when no explicit `progress` is set.
|
61
|
+
*
|
62
|
+
* If `mode` is 'indeterminate' and `progress` is not set, it sets `progress` to 65 to render a visible arc.
|
63
|
+
*
|
64
|
+
* @returns void
|
60
65
|
*/
|
61
66
|
setIndeterminateMode(): void;
|
62
67
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXCircularProgressComponent, never>;
|
package/collapse/index.d.ts
CHANGED
@@ -143,17 +143,20 @@ declare class AXCollapseComponent extends AXCollapseComponent_base {
|
|
143
143
|
handleHeaderClick(e: MouseEvent): void;
|
144
144
|
/**
|
145
145
|
* Expands the collapse component.
|
146
|
-
*
|
146
|
+
*
|
147
|
+
* @returns void - No return value. Sets `isCollapsed` to false and expands the body.
|
147
148
|
*/
|
148
149
|
open(): void;
|
149
150
|
/**
|
150
151
|
* Collapses the collapse component.
|
151
|
-
*
|
152
|
+
*
|
153
|
+
* @returns void - No return value. Sets `isCollapsed` to true and hides the body.
|
152
154
|
*/
|
153
155
|
close(): void;
|
154
156
|
/**
|
155
157
|
* Toggles the collapse state between expanded and collapsed.
|
156
|
-
*
|
158
|
+
*
|
159
|
+
* @returns void - No return value. Flips the `isCollapsed` state.
|
157
160
|
*/
|
158
161
|
toggle(): void;
|
159
162
|
/**
|
package/color-palette/index.d.ts
CHANGED
@@ -282,7 +282,7 @@ declare class AXColorPalleteComponent extends MXValueComponent<string> {
|
|
282
282
|
*/
|
283
283
|
private get __hostDisabled();
|
284
284
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPalleteComponent, never>;
|
285
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPalleteComponent, "ax-color-palette", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; };
|
285
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPalleteComponent, "ax-color-palette", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; }, ["_children"], ["ax-header", "ax-color-palette-preview", "ax-color-palette-picker", "ax-color-palette-swatches", "ax-color-palette-favorite", "ax-color-palette-input", "ax-footer"], true, never>;
|
286
286
|
}
|
287
287
|
|
288
288
|
declare class AXColorPaletteModule {
|
package/comment/index.d.ts
CHANGED
@@ -17,7 +17,7 @@ import * as i7 from '@angular/common';
|
|
17
17
|
declare class AXCommentContainerComponent {
|
18
18
|
private document;
|
19
19
|
private platformID;
|
20
|
-
|
20
|
+
scrollToReply(id: string): void;
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCommentContainerComponent, never>;
|
22
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXCommentContainerComponent, "ax-comment-container", never, {}, {}, never, ["*"], true, never>;
|
23
23
|
}
|
@@ -32,13 +32,13 @@ declare class AxCommentItemComponent {
|
|
32
32
|
* @ignore
|
33
33
|
*/
|
34
34
|
protected avatar: i0.Signal<AXAvatarComponent>;
|
35
|
-
protected
|
35
|
+
protected collapse: i0.Signal<AXCollapseComponent>;
|
36
36
|
replyCount: i0.InputSignal<number>;
|
37
37
|
/**
|
38
38
|
* @ignore
|
39
39
|
*/
|
40
40
|
constructor();
|
41
|
-
|
41
|
+
toggleCollapse(): void;
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<AxCommentItemComponent, never>;
|
43
43
|
static ɵcmp: i0.ɵɵComponentDeclaration<AxCommentItemComponent, "ax-comment-item", never, { "replyCount": { "alias": "replyCount"; "required": false; "isSignal": true; }; }, {}, ["avatar"], ["ax-avatar", "ax-title", "ax-comment-date", "ax-comment-menu-options", "ax-content", "ax-comment-like", "ax-comment-reply-text", "ax-comment-item", "ax-comment-reply-more"], true, never>;
|
44
44
|
}
|
package/cron-job/index.d.ts
CHANGED
@@ -225,7 +225,7 @@ declare class AXCronJobContainerComponent extends MXInputBaseValueComponent<stri
|
|
225
225
|
look: AXTabLook;
|
226
226
|
location: AXTabLocation;
|
227
227
|
}>;
|
228
|
-
onGetModel(): void;
|
228
|
+
protected onGetModel(): void;
|
229
229
|
protected internalValueChanged(cronExpressionPattern: string): void;
|
230
230
|
private get __hostName();
|
231
231
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCronJobContainerComponent, never>;
|
@@ -234,7 +234,7 @@ declare class AXCronJobContainerComponent extends MXInputBaseValueComponent<stri
|
|
234
234
|
|
235
235
|
declare class AXCronDayComponent {
|
236
236
|
#private;
|
237
|
-
dayService: DayService;
|
237
|
+
protected dayService: DayService;
|
238
238
|
protected boWeekDropDownList: DropDownItem[];
|
239
239
|
protected boMonthDropDownList: DropDownItem[];
|
240
240
|
protected daysIndexInMonth: number[];
|
@@ -255,7 +255,7 @@ declare class AXCronDayComponent {
|
|
255
255
|
|
256
256
|
declare class AXCronHoursComponent {
|
257
257
|
#private;
|
258
|
-
hoursService: HoursService;
|
258
|
+
protected hoursService: HoursService;
|
259
259
|
protected dropdownList: DropDownItem[];
|
260
260
|
protected zeroTo23: number[];
|
261
261
|
hoursChanged: i0.OutputEmitterRef<void>;
|
@@ -309,7 +309,7 @@ declare class AXCronSecondsComponent {
|
|
309
309
|
|
310
310
|
declare class AXCronYearComponent {
|
311
311
|
#private;
|
312
|
-
yearService: YearService;
|
312
|
+
protected yearService: YearService;
|
313
313
|
protected dropdownList: DropDownItem[];
|
314
314
|
protected oneTo100: DropDownItem[];
|
315
315
|
yearChanged: i0.OutputEmitterRef<void>;
|
package/data-pager/index.d.ts
CHANGED
@@ -377,28 +377,33 @@ declare class AXDataPagerComponent extends MXValueComponent<number> {
|
|
377
377
|
private _emitChangedEvent;
|
378
378
|
/**
|
379
379
|
* Navigates to the next page, or to the last page if on the final page.
|
380
|
-
*
|
380
|
+
*
|
381
|
+
* @returns void - No return value. The component navigates to the next available page.
|
381
382
|
*/
|
382
383
|
goNextPage(): void;
|
383
384
|
/**
|
384
385
|
* Navigates to the last page.
|
385
|
-
*
|
386
|
+
*
|
387
|
+
* @returns void - No return value. The component navigates to the final page.
|
386
388
|
*/
|
387
389
|
goLastPage(): void;
|
388
390
|
/**
|
389
391
|
* Navigates to the first page.
|
390
|
-
*
|
392
|
+
*
|
393
|
+
* @returns void - No return value. The component navigates to the first page.
|
391
394
|
*/
|
392
395
|
goFirstPage(): void;
|
393
396
|
/**
|
394
397
|
* Navigates to the previous page, or to the first page if on the initial page.
|
395
|
-
*
|
398
|
+
*
|
399
|
+
* @returns void - No return value. The component navigates to the previous available page.
|
396
400
|
*/
|
397
401
|
goPrevPage(): void;
|
398
402
|
/**
|
399
403
|
* Navigates to a specified page.
|
404
|
+
*
|
400
405
|
* @param page - The page number to navigate to.
|
401
|
-
* @
|
406
|
+
* @returns void - No return value. The component navigates to the specified page.
|
402
407
|
*/
|
403
408
|
goToPage(page: number): void;
|
404
409
|
get __hostClass(): string;
|
@@ -30,6 +30,12 @@ declare class AXDateTimePickerComponent extends AXDateTimePickerComponent_base i
|
|
30
30
|
private formatService;
|
31
31
|
protected buttonText: _angular_core.Signal<"dateTime.today" | "dateTime.now">;
|
32
32
|
private defaultConfig;
|
33
|
+
protected pickerHoursMinValue: _angular_core.WritableSignal<number>;
|
34
|
+
protected pickerHoursMaxValue: _angular_core.WritableSignal<number>;
|
35
|
+
protected pickerMinuteMinValue: _angular_core.WritableSignal<number>;
|
36
|
+
protected pickerMinuteMaxValue: _angular_core.WritableSignal<number>;
|
37
|
+
protected pickerSecondMinValue: _angular_core.WritableSignal<number>;
|
38
|
+
protected pickerSecondMaxValue: _angular_core.WritableSignal<number>;
|
33
39
|
/**
|
34
40
|
* @ignore
|
35
41
|
*/
|
@@ -104,6 +110,8 @@ declare class AXDateTimePickerComponent extends AXDateTimePickerComponent_base i
|
|
104
110
|
* @ignore
|
105
111
|
*/
|
106
112
|
protected _handleCalendarOnValueChanged(e: AXValueChangedEvent<Date>): void;
|
113
|
+
private checkSelectedMinValue;
|
114
|
+
private checkSelectedMaxValue;
|
107
115
|
/**
|
108
116
|
* @ignore
|
109
117
|
*/
|
package/dropdown/index.d.ts
CHANGED
@@ -106,14 +106,55 @@ declare class AXDropdownBoxComponent extends AXDropdownBoxComponent_base impleme
|
|
106
106
|
}
|
107
107
|
|
108
108
|
declare abstract class MXDropdownBoxBaseComponent extends MXInteractiveComponent {
|
109
|
+
/**
|
110
|
+
* Emitted when the dropdown/popup is opened.
|
111
|
+
*
|
112
|
+
* @event
|
113
|
+
*/
|
109
114
|
onOpened: EventEmitter<AXEvent>;
|
115
|
+
/**
|
116
|
+
* Emits the `onOpened` event with component context.
|
117
|
+
* @ignore
|
118
|
+
*/
|
110
119
|
protected emitOnOpenedEvent(): void;
|
120
|
+
/**
|
121
|
+
* Emitted when the dropdown/popup is closed.
|
122
|
+
*
|
123
|
+
* @event
|
124
|
+
*/
|
111
125
|
onClosed: EventEmitter<AXEvent>;
|
126
|
+
/**
|
127
|
+
* Emits the `onClosed` event with component context.
|
128
|
+
* @ignore
|
129
|
+
*/
|
112
130
|
protected emitOnClosedEvent(): void;
|
131
|
+
/**
|
132
|
+
* Reference to the underlying dropdown controller.
|
133
|
+
*/
|
113
134
|
protected abstract dropdown: AXDropdownBoxComponent;
|
135
|
+
/**
|
136
|
+
* Toggles the dropdown if the component is not disabled.
|
137
|
+
*
|
138
|
+
* @returns void - No return value. Switches between open and closed states.
|
139
|
+
*/
|
114
140
|
toggle(): void;
|
141
|
+
/**
|
142
|
+
* Closes the dropdown if it is open and the component is not disabled, then focuses the host.
|
143
|
+
*
|
144
|
+
* @returns void - No return value. Dropdown is closed and focus returns to the host.
|
145
|
+
*/
|
115
146
|
close(): void;
|
147
|
+
/**
|
148
|
+
* Opens the dropdown if it is not already open and the component is not disabled, then focuses the dropdown.
|
149
|
+
*
|
150
|
+
* @returns void - No return value. Dropdown becomes open and receives focus.
|
151
|
+
*/
|
116
152
|
open(): void;
|
153
|
+
/**
|
154
|
+
* Indicates whether the dropdown is currently open.
|
155
|
+
*
|
156
|
+
* @returns boolean - True if open; otherwise false.
|
157
|
+
*/
|
117
158
|
get isOpen(): boolean;
|
118
159
|
static ɵfac: i0.ɵɵFactoryDeclaration<MXDropdownBoxBaseComponent, never>;
|
119
160
|
static ɵprov: i0.ɵɵInjectableDeclaration<MXDropdownBoxBaseComponent>;
|
@@ -18,6 +18,33 @@ class AXActionSheetService {
|
|
18
18
|
this.actionSheetEvent = new Subject();
|
19
19
|
this.actionSheetEvent$ = this.actionSheetEvent.asObservable();
|
20
20
|
}
|
21
|
+
/**
|
22
|
+
* Opens an action sheet with the specified configuration.
|
23
|
+
* This method creates and displays an action sheet component with the provided options.
|
24
|
+
* The action sheet will slide up from the bottom of the screen and can be dismissed
|
25
|
+
* by tapping outside, pressing escape, or calling the close method.
|
26
|
+
*
|
27
|
+
* @param config - The configuration object that defines the action sheet's appearance and behavior.
|
28
|
+
* Must include at least a title or content property. Will be merged with default config.
|
29
|
+
* @param isUserInteraction - Whether the action sheet is opened by user interaction (default: true).
|
30
|
+
* This affects how the action sheet handles accessibility and focus management.
|
31
|
+
* @returns A promise that resolves to a dialog reference containing methods to control the action sheet.
|
32
|
+
* The reference includes methods like close() and a closed observable for tracking dialog state.
|
33
|
+
* @example
|
34
|
+
* ```typescript
|
35
|
+
* const dialogRef = await actionSheetService.open({
|
36
|
+
* title: 'Choose an option',
|
37
|
+
* items: [
|
38
|
+
* { text: 'Option 1', value: 'opt1' },
|
39
|
+
* { text: 'Option 2', value: 'opt2' }
|
40
|
+
* ]
|
41
|
+
* });
|
42
|
+
*
|
43
|
+
* dialogRef.closed.subscribe(result => {
|
44
|
+
* console.log('Action sheet closed with:', result.data);
|
45
|
+
* });
|
46
|
+
* ```
|
47
|
+
*/
|
21
48
|
open(config, isUserInteraction = true) {
|
22
49
|
const defaultConfig = {
|
23
50
|
title: 'action-sheet.title',
|
@@ -74,6 +101,16 @@ class AXActionSheetService {
|
|
74
101
|
});
|
75
102
|
return promise;
|
76
103
|
}
|
104
|
+
/**
|
105
|
+
* Sets the current state of action sheet events.
|
106
|
+
* This method is used internally to track action sheet lifecycle events such as open, close,
|
107
|
+
* drag start, drag end, and full screen transitions. It emits events through the actionSheetEvent$
|
108
|
+
* observable for external subscribers to monitor action sheet state changes.
|
109
|
+
*
|
110
|
+
* @param event - The action sheet event to emit. Contains information about the event type,
|
111
|
+
* associated data, user interaction status, and dialog reference.
|
112
|
+
* @returns void
|
113
|
+
*/
|
77
114
|
setActionSheetEventState(event) {
|
78
115
|
this.actionSheetEvent.next(event);
|
79
116
|
}
|
@@ -266,11 +303,30 @@ class AXActionSheetComponent extends MXBaseComponent {
|
|
266
303
|
}
|
267
304
|
}
|
268
305
|
}
|
306
|
+
/**
|
307
|
+
* Handles click events on action sheet items.
|
308
|
+
* This method is called when a user clicks on an action sheet item. It closes the action sheet
|
309
|
+
* with the clicked item as the result data and executes the item's onClick callback if provided.
|
310
|
+
*
|
311
|
+
* @param item - The action sheet item that was clicked. Contains the item's data and optional onClick callback.
|
312
|
+
* @returns void
|
313
|
+
*/
|
269
314
|
onItemClick(item) {
|
270
315
|
this.close(item);
|
271
316
|
if (item?.onClick)
|
272
317
|
item.onClick();
|
273
318
|
}
|
319
|
+
/**
|
320
|
+
* Closes the action sheet with optional result data.
|
321
|
+
* This method initiates the closing animation of the action sheet and eventually closes the dialog.
|
322
|
+
* The closing process includes a height animation and cleanup of event listeners.
|
323
|
+
*
|
324
|
+
* @param e - The result data to pass when closing the action sheet. Can be any value including null.
|
325
|
+
* If an AXActionSheetItem is passed, it represents the selected item.
|
326
|
+
* @param isUserInteraction - Whether the close action was triggered by user interaction (default: true).
|
327
|
+
* This affects how the action sheet handles accessibility and event tracking.
|
328
|
+
* @returns void
|
329
|
+
*/
|
274
330
|
close(e = null, isUserInteraction = true) {
|
275
331
|
this.getHostElement().style.height = `${this.getHostElement().clientHeight}px`;
|
276
332
|
setTimeout(() => {
|