@acorex/components 20.2.0-next.8 → 20.2.0-next.9
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/autocomplete/index.d.ts +1 -0
- 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/color-box/index.d.ts +1 -0
- package/color-palette/index.d.ts +1 -1
- package/comment/index.d.ts +3 -3
- package/conversation/index.d.ts +1 -0
- package/cron-job/index.d.ts +5 -4
- package/datetime-box/index.d.ts +1 -0
- package/datetime-input/index.d.ts +1 -0
- package/datetime-picker/index.d.ts +8 -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-autocomplete.mjs +8 -2
- package/fesm2022/acorex-components-autocomplete.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 +31 -13
- 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-color-box.mjs +9 -3
- 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-conversation.mjs +10 -4
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +15 -9
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +3 -3
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +8 -2
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +8 -2
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +52 -2
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +7 -1
- package/fesm2022/acorex-components-image-editor.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-number-box-2.mjs +11 -5
- package/fesm2022/acorex-components-number-box-2.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +10 -4
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +7 -1
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +10 -4
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +8 -2
- package/fesm2022/acorex-components-phone-box.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-search-box.mjs +7 -1
- package/fesm2022/acorex-components-search-box.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-tabs.mjs +6 -4
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +11 -5
- package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +10 -4
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +10 -4
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-time-duration.mjs +9 -3
- package/fesm2022/acorex-components-time-duration.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 +10 -4
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/image-editor/index.d.ts +1 -0
- package/number-box/index.d.ts +1 -0
- package/number-box-2/index.d.ts +1 -0
- package/package.json +1 -1
- package/paint/index.d.ts +1 -0
- package/password-box/index.d.ts +1 -0
- package/phone-box/index.d.ts +1 -0
- package/picker/index.d.ts +10 -8
- package/radio/index.d.ts +1 -1
- package/search-box/index.d.ts +1 -0
- package/select-box/index.d.ts +9 -6
- package/tag-box/index.d.ts +1 -0
- package/text-area/index.d.ts +1 -0
- package/text-box/index.d.ts +1 -0
- package/time-duration/index.d.ts +1 -0
- package/wysiwyg/index.d.ts +1 -0
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/autocomplete/index.d.ts
CHANGED
@@ -110,6 +110,7 @@ declare class AXAutocompleteComponent extends AXAutocompleteComponent_base imple
|
|
110
110
|
* Refreshes the component by resetting state, clearing selection cache, refreshing the list, and closing the component.
|
111
111
|
*/
|
112
112
|
refresh(): void;
|
113
|
+
private get __hostName();
|
113
114
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXAutocompleteComponent, never>;
|
114
115
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXAutocompleteComponent, "ax-autocomplete", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "disabledField": { "alias": "disabledField"; "required": false; }; "textTemplate": { "alias": "textTemplate"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "delayTime": { "alias": "delayTime"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "selectedTemplate": { "alias": "selectedTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; }; "dropdownWidth": { "alias": "dropdownWidth"; "required": false; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["ax-footer"], true, never>;
|
115
116
|
}
|
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 {
|
package/color-box/index.d.ts
CHANGED
@@ -60,6 +60,7 @@ declare class AXColorBoxComponent extends AXColorBoxComponent_base {
|
|
60
60
|
*/
|
61
61
|
internalValueChanged(value?: Date): void;
|
62
62
|
handleKeyboardEvent(event: KeyboardEvent): void;
|
63
|
+
private get __hostName();
|
63
64
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXColorBoxComponent, never>;
|
64
65
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXColorBoxComponent, "ax-color-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; "showBadge": { "alias": "showBadge"; "required": false; "isSignal": true; }; "showValue": { "alias": "showValue"; "required": false; "isSignal": true; }; "showClearButton": { "alias": "showClearButton"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], true, never>;
|
65
66
|
}
|
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/conversation/index.d.ts
CHANGED
@@ -220,6 +220,7 @@ declare class AXConversationInputComponent extends AXConversationInputComponent_
|
|
220
220
|
* @ignore
|
221
221
|
*/
|
222
222
|
protected closeReplyHandler(): void;
|
223
|
+
private get __hostName();
|
223
224
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXConversationInputComponent, never>;
|
224
225
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXConversationInputComponent, "ax-conversation-input", never, { "look": { "alias": "look"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "hasAttachment": { "alias": "hasAttachment"; "required": false; "isSignal": true; }; "hasVoice": { "alias": "hasVoice"; "required": false; "isSignal": true; }; "hasEmoji": { "alias": "hasEmoji"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "acceptFileType": { "alias": "acceptFileType"; "required": false; "isSignal": true; }; }, { "onActionClose": "onActionClose"; "onSendClick": "onSendClick"; "onStartRecording": "onStartRecording"; "onCancelRecording": "onCancelRecording"; "onEnterPressed": "onEnterPressed"; }, ["sendIcon"], ["ax-icon"], true, never>;
|
225
226
|
}
|
package/cron-job/index.d.ts
CHANGED
@@ -225,15 +225,16 @@ 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
|
+
private get __hostName();
|
230
231
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCronJobContainerComponent, never>;
|
231
232
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXCronJobContainerComponent, "ax-cron-job-container", never, {}, { "onValueChanged": "onValueChanged"; }, never, never, true, never>;
|
232
233
|
}
|
233
234
|
|
234
235
|
declare class AXCronDayComponent {
|
235
236
|
#private;
|
236
|
-
dayService: DayService;
|
237
|
+
protected dayService: DayService;
|
237
238
|
protected boWeekDropDownList: DropDownItem[];
|
238
239
|
protected boMonthDropDownList: DropDownItem[];
|
239
240
|
protected daysIndexInMonth: number[];
|
@@ -254,7 +255,7 @@ declare class AXCronDayComponent {
|
|
254
255
|
|
255
256
|
declare class AXCronHoursComponent {
|
256
257
|
#private;
|
257
|
-
hoursService: HoursService;
|
258
|
+
protected hoursService: HoursService;
|
258
259
|
protected dropdownList: DropDownItem[];
|
259
260
|
protected zeroTo23: number[];
|
260
261
|
hoursChanged: i0.OutputEmitterRef<void>;
|
@@ -308,7 +309,7 @@ declare class AXCronSecondsComponent {
|
|
308
309
|
|
309
310
|
declare class AXCronYearComponent {
|
310
311
|
#private;
|
311
|
-
yearService: YearService;
|
312
|
+
protected yearService: YearService;
|
312
313
|
protected dropdownList: DropDownItem[];
|
313
314
|
protected oneTo100: DropDownItem[];
|
314
315
|
yearChanged: i0.OutputEmitterRef<void>;
|
package/datetime-box/index.d.ts
CHANGED
@@ -100,6 +100,7 @@ declare class AXDateTimeBoxComponent extends AXDateTimeBoxComponent_base {
|
|
100
100
|
* @ignore
|
101
101
|
*/
|
102
102
|
protected _handleInputOnClick(): void;
|
103
|
+
private get __hostName();
|
103
104
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXDateTimeBoxComponent, never>;
|
104
105
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXDateTimeBoxComponent, "ax-datetime-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; "holidayDates": { "alias": "holidayDates"; "required": false; }; "allowTyping": { "alias": "allowTyping"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "picker": { "alias": "picker"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "onOpened": "onOpened"; "onClosed": "onClosed"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "formatChange": "formatChange"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], true, never>;
|
105
106
|
}
|
@@ -122,6 +122,7 @@ declare class AXDateTimeInputComponent extends MXInputBaseValueComponent<Date> {
|
|
122
122
|
* @ignore
|
123
123
|
*/
|
124
124
|
private _detectValueChanges;
|
125
|
+
private get __hostName();
|
125
126
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXDateTimeInputComponent, never>;
|
126
127
|
static ɵcmp: _angular_core.ɵɵ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; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "minValue": { "alias": "minValue"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; "picker": { "alias": "picker"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onClick": "onClick"; }, never, ["ax-validation-rule"], true, never>;
|
127
128
|
}
|
@@ -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
|
*/
|
@@ -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(() => {
|