@acorex/components 21.0.1-next.47 → 21.0.1-next.49
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/fesm2022/acorex-components-accordion.mjs +4 -4
- package/fesm2022/acorex-components-accordion.mjs.map +1 -1
- package/fesm2022/acorex-components-action-sheet.mjs +2 -2
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +2 -2
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs +2 -2
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +2 -2
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +2 -2
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +2 -2
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +2 -2
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +2 -2
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +4 -4
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +4 -4
- 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-chips.mjs +2 -2
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +2 -2
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-code-editor.mjs +2 -2
- package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +2 -2
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +3 -3
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-command.mjs +7 -5
- package/fesm2022/acorex-components-command.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +76 -73
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation2.mjs +6 -6
- package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +2 -2
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +37 -17
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +2 -2
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +2 -2
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +2 -2
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +8 -8
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +2 -2
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +4 -4
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +2 -2
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +2 -2
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-editor.mjs +2 -2
- package/fesm2022/acorex-components-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-flow-chart.mjs +1 -1
- package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +4 -4
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +33 -11
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +14 -14
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +2 -2
- package/fesm2022/acorex-components-image.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-kanban.mjs +2 -2
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-kbd.mjs +4 -4
- package/fesm2022/acorex-components-kbd.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +2 -2
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +2 -2
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +2 -2
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +4 -4
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +2 -2
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +10 -10
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +2 -2
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/{acorex-components-modal-acorex-components-modal-vcOdgXSm.mjs → acorex-components-modal-acorex-components-modal-B03hJbP8.mjs} +4 -4
- package/fesm2022/{acorex-components-modal-acorex-components-modal-vcOdgXSm.mjs.map → acorex-components-modal-acorex-components-modal-B03hJbP8.mjs.map} +1 -1
- package/fesm2022/{acorex-components-modal-modal-content.component-BWi4rcCV.mjs → acorex-components-modal-modal-content.component-DrHm0mZ4.mjs} +4 -4
- package/fesm2022/{acorex-components-modal-modal-content.component-BWi4rcCV.mjs.map → acorex-components-modal-modal-content.component-DrHm0mZ4.mjs.map} +1 -1
- package/fesm2022/acorex-components-modal.mjs +1 -1
- package/fesm2022/acorex-components-navbar.mjs +2 -2
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +2 -2
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +2 -2
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +2 -2
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +4 -4
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +2 -2
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-pdf-reader.mjs +2 -2
- package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +2 -2
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +10 -10
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +2 -2
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +2 -2
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-qrcode.mjs +2 -2
- package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-components-query-builder.mjs +2 -2
- package/fesm2022/acorex-components-query-builder.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-rail-navigation.mjs +2 -2
- package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +2 -2
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +2 -2
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-rest-api-generator.mjs +4 -4
- package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +2 -2
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs +2 -2
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +18 -18
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +2 -2
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list-2.mjs +2 -2
- package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +2 -2
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +2 -2
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +2 -2
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-sliding-item.mjs +2 -2
- package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +2 -2
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +2 -2
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +2 -2
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +2 -2
- package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +2 -2
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +2 -2
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +6 -5
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-time-duration.mjs +12 -2
- package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +4 -4
- package/fesm2022/acorex-components-time-line.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +2 -2
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-toolbar.mjs +2 -2
- package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +2 -2
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +6 -6
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +6 -6
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/package.json +4 -4
- package/types/acorex-components-command.d.ts +26 -13
- package/types/acorex-components-comment.d.ts +23 -22
- package/types/acorex-components-data-table.d.ts +13 -1
- package/types/acorex-components-grid-layout-builder.d.ts +15 -0
- package/types/acorex-components-text-box.d.ts +3 -2
- package/types/acorex-components-time-duration.d.ts +2 -0
|
@@ -5,28 +5,39 @@ import { AXEvent, MXInputBaseValueComponent, MXLookComponent, AXHtmlEvent, AXFoc
|
|
|
5
5
|
import { AXListNavigationDirective, AXListNavigationItemDirective } from '@acorex/cdk/list-navigation';
|
|
6
6
|
import { AXSearchBoxComponent } from '@acorex/components/search-box';
|
|
7
7
|
|
|
8
|
-
type
|
|
8
|
+
type AXCommandItem = {
|
|
9
9
|
id: string | number;
|
|
10
10
|
text: string;
|
|
11
11
|
icon?: string;
|
|
12
12
|
href?: string;
|
|
13
|
-
children?:
|
|
13
|
+
children?: AXCommandItem[];
|
|
14
14
|
index?: number;
|
|
15
15
|
data?: any;
|
|
16
16
|
};
|
|
17
|
-
type
|
|
17
|
+
type forceId = {
|
|
18
|
+
id: string | number;
|
|
19
|
+
};
|
|
20
|
+
type AXCommandMenuItem<T extends forceId = AXCommandItem> = {
|
|
18
21
|
pinned?: {
|
|
19
|
-
title
|
|
20
|
-
items:
|
|
22
|
+
title?: string;
|
|
23
|
+
items: T[];
|
|
24
|
+
};
|
|
25
|
+
list: {
|
|
26
|
+
title?: string;
|
|
27
|
+
items: T[];
|
|
21
28
|
};
|
|
22
|
-
items: CommandItem[];
|
|
23
29
|
};
|
|
24
30
|
declare class AXCommandComponentEvent extends AXEvent {
|
|
25
|
-
data:
|
|
31
|
+
data: AXCommandItem;
|
|
26
32
|
}
|
|
33
|
+
type AXCommandFooter = {
|
|
34
|
+
navigation: boolean;
|
|
35
|
+
select: boolean;
|
|
36
|
+
close: boolean;
|
|
37
|
+
};
|
|
27
38
|
|
|
28
39
|
declare const AXCommandComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
|
29
|
-
new (): MXInputBaseValueComponent<
|
|
40
|
+
new (): MXInputBaseValueComponent<AXCommandMenuItem>;
|
|
30
41
|
ɵfac: _angular_core.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
|
|
31
42
|
ɵprov: _angular_core.ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
|
|
32
43
|
}, typeof MXLookComponent]>;
|
|
@@ -45,17 +56,19 @@ declare class AXCommandComponent extends AXCommandComponent_base {
|
|
|
45
56
|
* @param {TemplateRef<any>} customTemplate
|
|
46
57
|
*/
|
|
47
58
|
customTemplate: _angular_core.InputSignal<TemplateRef<any>>;
|
|
48
|
-
|
|
59
|
+
searchBar: _angular_core.InputSignal<boolean>;
|
|
60
|
+
footerButtons: _angular_core.InputSignal<AXCommandFooter>;
|
|
61
|
+
protected displayItems: _angular_core.Signal<AXCommandItem[]>;
|
|
49
62
|
protected focusHandler(e: AXFocusEvent): void;
|
|
50
63
|
protected blurHandler(e: AXFocusEvent): void;
|
|
51
64
|
private filterRecursive;
|
|
52
|
-
protected onItemClick(item:
|
|
53
|
-
protected keyPress(e: AXHtmlEvent<KeyboardEvent>, item:
|
|
65
|
+
protected onItemClick(item: AXCommandItem): void;
|
|
66
|
+
protected keyPress(e: AXHtmlEvent<KeyboardEvent>, item: AXCommandItem): void;
|
|
54
67
|
protected searchEscapeHandler(e: AXHtmlEvent<KeyboardEvent>): void;
|
|
55
68
|
protected closeHandler(e: AXHtmlEvent<KeyboardEvent>): void;
|
|
56
69
|
protected activeHandler(l: AXListNavigationDirective, i: AXListNavigationItemDirective): void;
|
|
57
70
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXCommandComponent, never>;
|
|
58
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXCommandComponent, "ax-command", 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; }; "customTemplate": { "alias": "customTemplate"; "required": false; "isSignal": true; }; }, { "onSubmit": "onSubmit"; "onEscape": "onEscape"; "onSearchBoxFocus": "onSearchBoxFocus"; "onSearchBoxBlur": "onSearchBoxBlur"; }, never, never, true, never>;
|
|
71
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXCommandComponent, "ax-command", 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; }; "customTemplate": { "alias": "customTemplate"; "required": false; "isSignal": true; }; "searchBar": { "alias": "searchBar"; "required": false; "isSignal": true; }; "footerButtons": { "alias": "footerButtons"; "required": false; "isSignal": true; }; }, { "onSubmit": "onSubmit"; "onEscape": "onEscape"; "onSearchBoxFocus": "onSearchBoxFocus"; "onSearchBoxBlur": "onSearchBoxBlur"; }, never, never, true, never>;
|
|
59
72
|
}
|
|
60
73
|
|
|
61
74
|
declare class AXCommandModule {
|
|
@@ -65,4 +78,4 @@ declare class AXCommandModule {
|
|
|
65
78
|
}
|
|
66
79
|
|
|
67
80
|
export { AXCommandComponent, AXCommandComponentEvent, AXCommandModule };
|
|
68
|
-
export type {
|
|
81
|
+
export type { AXCommandFooter, AXCommandItem, AXCommandMenuItem };
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { AXAvatarComponent } from '@acorex/components/avatar';
|
|
3
|
-
import * as i3 from '@acorex/components/collapse';
|
|
4
|
-
import { AXCollapseComponent } from '@acorex/components/collapse';
|
|
5
3
|
import * as i1 from '@acorex/components/decorators';
|
|
6
4
|
import * as i2 from '@acorex/components/wysiwyg';
|
|
7
|
-
import * as
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
10
|
-
import * as i7 from '@angular/common';
|
|
5
|
+
import * as i3 from '@acorex/components/button';
|
|
6
|
+
import * as i4 from '@acorex/components/text-area';
|
|
7
|
+
import * as i5 from '@acorex/core/translation';
|
|
11
8
|
|
|
12
9
|
/**
|
|
13
10
|
* A container component for displaying and managing comments.
|
|
@@ -21,7 +18,6 @@ declare class AXCommentContainerComponent {
|
|
|
21
18
|
* Scrolls to a specific comment reply by its ID and highlights it temporarily.
|
|
22
19
|
*
|
|
23
20
|
* @param id - The ID of the comment reply to scroll to
|
|
24
|
-
* @returns void
|
|
25
21
|
*/
|
|
26
22
|
scrollToReply(id: string): void;
|
|
27
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCommentContainerComponent, never>;
|
|
@@ -34,23 +30,20 @@ declare class AXCommentContainerComponent {
|
|
|
34
30
|
* @category Components
|
|
35
31
|
*/
|
|
36
32
|
declare class AXCommentItemComponent {
|
|
37
|
-
/**
|
|
38
|
-
* @ignore
|
|
39
|
-
*/
|
|
40
33
|
protected avatar: i0.Signal<AXAvatarComponent>;
|
|
41
|
-
protected collapse: i0.Signal<AXCollapseComponent>;
|
|
42
34
|
readonly replyCount: i0.InputSignal<number>;
|
|
43
|
-
/**
|
|
44
|
-
|
|
45
|
-
*/
|
|
35
|
+
/** Two-way bindable state controlling whether nested replies are visible. */
|
|
36
|
+
readonly repliesExpanded: i0.ModelSignal<boolean>;
|
|
46
37
|
constructor();
|
|
47
|
-
|
|
38
|
+
toggleReplies(): void;
|
|
39
|
+
showReplies(): void;
|
|
40
|
+
hideReplies(): void;
|
|
48
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCommentItemComponent, never>;
|
|
49
|
-
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>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCommentItemComponent, "ax-comment-item", never, { "replyCount": { "alias": "replyCount"; "required": false; "isSignal": true; }; "repliesExpanded": { "alias": "repliesExpanded"; "required": false; "isSignal": true; }; }, { "repliesExpanded": "repliesExpandedChange"; }, ["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>;
|
|
50
43
|
}
|
|
51
44
|
|
|
52
45
|
/**
|
|
53
|
-
* A component for displaying
|
|
46
|
+
* A component for displaying date on a comment.
|
|
54
47
|
*
|
|
55
48
|
* @category Components
|
|
56
49
|
*/
|
|
@@ -65,11 +58,8 @@ declare class AXCommentDateComponent {
|
|
|
65
58
|
* @category Components
|
|
66
59
|
*/
|
|
67
60
|
declare class AXCommentLikeComponent {
|
|
68
|
-
/**
|
|
69
|
-
* Indicates whether the comment is liked.
|
|
70
|
-
*/
|
|
71
61
|
like: i0.ModelSignal<boolean>;
|
|
72
|
-
protected
|
|
62
|
+
protected toggleLike(): void;
|
|
73
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCommentLikeComponent, never>;
|
|
74
64
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXCommentLikeComponent, "ax-comment-like", never, { "like": { "alias": "like"; "required": true; "isSignal": true; }; }, { "like": "likeChange"; }, never, ["*"], true, never>;
|
|
75
65
|
}
|
|
@@ -84,11 +74,21 @@ declare class AXMenuOptionsComponent {
|
|
|
84
74
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXMenuOptionsComponent, "ax-comment-menu-options", never, {}, {}, never, ["*"], true, never>;
|
|
85
75
|
}
|
|
86
76
|
|
|
77
|
+
/**
|
|
78
|
+
* A component for displaying "show more replies" action on a comment.
|
|
79
|
+
*
|
|
80
|
+
* @category Components
|
|
81
|
+
*/
|
|
87
82
|
declare class AXCommentReplyMoreComponent {
|
|
88
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCommentReplyMoreComponent, never>;
|
|
89
84
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXCommentReplyMoreComponent, "ax-comment-reply-more", never, {}, {}, never, ["*"], true, never>;
|
|
90
85
|
}
|
|
91
86
|
|
|
87
|
+
/**
|
|
88
|
+
* A component for displaying the reply action text on a comment.
|
|
89
|
+
*
|
|
90
|
+
* @category Components
|
|
91
|
+
*/
|
|
92
92
|
declare class AXCommentReplyTextComponent {
|
|
93
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCommentReplyTextComponent, never>;
|
|
94
94
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXCommentReplyTextComponent, "ax-comment-reply-text", never, {}, {}, never, never, true, never>;
|
|
@@ -96,6 +96,7 @@ declare class AXCommentReplyTextComponent {
|
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
98
|
* A component for viewing comments with their details.
|
|
99
|
+
*
|
|
99
100
|
* @category Components
|
|
100
101
|
*/
|
|
101
102
|
declare class AXCommentViewComponent {
|
|
@@ -105,7 +106,7 @@ declare class AXCommentViewComponent {
|
|
|
105
106
|
|
|
106
107
|
declare class AXCommentModule {
|
|
107
108
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCommentModule, never>;
|
|
108
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCommentModule, never, [typeof i1.AXDecoratorModule, typeof i2.AXWysiwygModule, typeof i3.
|
|
109
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCommentModule, never, [typeof i1.AXDecoratorModule, typeof i2.AXWysiwygModule, typeof i3.AXButtonModule, typeof i4.AXTextAreaModule, typeof i5.AXTranslationModule, typeof AXCommentViewComponent, typeof AXCommentContainerComponent, typeof AXCommentItemComponent, typeof AXCommentLikeComponent, typeof AXMenuOptionsComponent, typeof AXCommentReplyTextComponent, typeof AXCommentDateComponent, typeof AXCommentReplyMoreComponent], [typeof AXCommentViewComponent, typeof AXCommentContainerComponent, typeof AXCommentItemComponent, typeof AXCommentLikeComponent, typeof AXMenuOptionsComponent, typeof AXCommentReplyTextComponent, typeof AXCommentDateComponent, typeof AXCommentReplyMoreComponent]>;
|
|
109
110
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCommentModule>;
|
|
110
111
|
}
|
|
111
112
|
|
|
@@ -240,6 +240,10 @@ declare class AXDataTableTextColumnComponent extends AXDataTableColumnComponent
|
|
|
240
240
|
* Generates a unique name based on the `dataField` value.
|
|
241
241
|
*/
|
|
242
242
|
get name(): string;
|
|
243
|
+
/**
|
|
244
|
+
* Returns the display text for a row cell. Used for cell tooltip when title is enabled on the table.
|
|
245
|
+
*/
|
|
246
|
+
getCellDisplayText(rowData: unknown): string;
|
|
243
247
|
/**
|
|
244
248
|
* @ignore
|
|
245
249
|
*/
|
|
@@ -611,6 +615,10 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
|
|
|
611
615
|
* @ignore
|
|
612
616
|
*/
|
|
613
617
|
customDataPager: AXDataPagerComponent;
|
|
618
|
+
/**
|
|
619
|
+
* When true, shows the cell content as tooltip (title attribute) on hover.
|
|
620
|
+
*/
|
|
621
|
+
title: boolean;
|
|
614
622
|
/**
|
|
615
623
|
* @ignore
|
|
616
624
|
*/
|
|
@@ -827,6 +835,10 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
|
|
|
827
835
|
* @ignore
|
|
828
836
|
*/
|
|
829
837
|
ngAfterViewInit(): void;
|
|
838
|
+
/**
|
|
839
|
+
* Returns the display text for a cell. Used for the native title (tooltip) on each cell.
|
|
840
|
+
*/
|
|
841
|
+
protected getCellTooltipText(column: AXDataTableColumnComponent, rowData: unknown): string;
|
|
830
842
|
/**
|
|
831
843
|
* Toggles the expanded state of a row without managing children.
|
|
832
844
|
* Used for row details template without nested hierarchy.
|
|
@@ -953,7 +965,7 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
|
|
|
953
965
|
maxWidth?: number;
|
|
954
966
|
}): void;
|
|
955
967
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataTableComponent, never>;
|
|
956
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDataTableComponent, "ax-data-table", never, { "dataSource": { "alias": "dataSource"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "parentField": { "alias": "parentField"; "required": false; }; "rowDetailsTemplate": { "alias": "rowDetailsTemplate"; "required": false; }; "rowTemplate": { "alias": "rowTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "noDataTemplate": { "alias": "noDataTemplate"; "required": false; }; "alternative": { "alias": "alternative"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "fixedHeader": { "alias": "fixedHeader"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "fixedFooter": { "alias": "fixedFooter"; "required": false; }; "itemHeight": { "alias": "itemHeight"; "required": false; }; "allowReordering": { "alias": "allowReordering"; "required": false; }; "paging": { "alias": "paging"; "required": false; }; "fetchDataMode": { "alias": "fetchDataMode"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "focusedRow": { "alias": "focusedRow"; "required": false; }; }, { "selectedRowsChange": "selectedRowsChange"; "focusedRowChange": "focusedRowChange"; "onRowClick": "onRowClick"; "onRowDbClick": "onRowDbClick"; "onColumnsOrderChanged": "onColumnsOrderChanged"; "onColumnSizeChanged": "onColumnSizeChanged"; "onPageChanged": "onPageChanged"; }, ["customDataPager", "columns"], ["ax-header", "ax-data-pager", "ax-footer"], true, never>;
|
|
968
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDataTableComponent, "ax-data-table", never, { "dataSource": { "alias": "dataSource"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "parentField": { "alias": "parentField"; "required": false; }; "rowDetailsTemplate": { "alias": "rowDetailsTemplate"; "required": false; }; "title": { "alias": "title"; "required": false; }; "rowTemplate": { "alias": "rowTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "noDataTemplate": { "alias": "noDataTemplate"; "required": false; }; "alternative": { "alias": "alternative"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "fixedHeader": { "alias": "fixedHeader"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "fixedFooter": { "alias": "fixedFooter"; "required": false; }; "itemHeight": { "alias": "itemHeight"; "required": false; }; "allowReordering": { "alias": "allowReordering"; "required": false; }; "paging": { "alias": "paging"; "required": false; }; "fetchDataMode": { "alias": "fetchDataMode"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "focusedRow": { "alias": "focusedRow"; "required": false; }; }, { "selectedRowsChange": "selectedRowsChange"; "focusedRowChange": "focusedRowChange"; "onRowClick": "onRowClick"; "onRowDbClick": "onRowDbClick"; "onColumnsOrderChanged": "onColumnsOrderChanged"; "onColumnSizeChanged": "onColumnSizeChanged"; "onPageChanged": "onPageChanged"; }, ["customDataPager", "columns"], ["ax-header", "ax-data-pager", "ax-footer"], true, never>;
|
|
957
969
|
}
|
|
958
970
|
|
|
959
971
|
declare class AXDataTableModule {
|
|
@@ -138,6 +138,14 @@ declare class AXGridLayoutWidgetComponent {
|
|
|
138
138
|
* @returns AXGridLayoutNode - The current widget options.
|
|
139
139
|
*/
|
|
140
140
|
getOptions(): AXGridLayoutNode;
|
|
141
|
+
/**
|
|
142
|
+
* Returns the widget options from the Angular input binding (stored/desired positions),
|
|
143
|
+
* bypassing the live gridstackNode which may have been auto-reflowed.
|
|
144
|
+
* Used by the container to load correct per-breakpoint layouts after column changes.
|
|
145
|
+
*
|
|
146
|
+
* @returns AXGridLayoutNode - The widget options from the input signal.
|
|
147
|
+
*/
|
|
148
|
+
getInputOptions(): AXGridLayoutNode;
|
|
141
149
|
/**
|
|
142
150
|
* Returns the native DOM element of the widget.
|
|
143
151
|
*
|
|
@@ -170,6 +178,13 @@ declare class AXGridLayoutContainerComponent extends NXComponent implements OnDe
|
|
|
170
178
|
protected _sub: Subscription | undefined;
|
|
171
179
|
private isInitialized;
|
|
172
180
|
ngOnDestroy(): void;
|
|
181
|
+
/**
|
|
182
|
+
* Synchronizes the grid layout with the current widget list.
|
|
183
|
+
*
|
|
184
|
+
* @param useInputValues - When true, reads positions from Angular input bindings
|
|
185
|
+
* (stored per-breakpoint positions). When false, reads from live gridstackNode
|
|
186
|
+
* (preserving user drag/resize state). Use true after column/breakpoint changes.
|
|
187
|
+
*/
|
|
173
188
|
private updateAll;
|
|
174
189
|
private checkEmpty;
|
|
175
190
|
private hookEvents;
|
|
@@ -3,7 +3,7 @@ import * as _angular_core from '@angular/core';
|
|
|
3
3
|
import { ElementRef } from '@angular/core';
|
|
4
4
|
import * as i2 from '@acorex/cdk/common';
|
|
5
5
|
import { MXInputBaseValueComponent, MXLookComponent } from '@acorex/cdk/common';
|
|
6
|
-
import { AXMaskTokens } from '@acorex/cdk/input-mask';
|
|
6
|
+
import { AXMaskTokens, AXInputMaskEvent } from '@acorex/cdk/input-mask';
|
|
7
7
|
import * as i1 from '@angular/common';
|
|
8
8
|
import * as i3 from '@angular/forms';
|
|
9
9
|
import * as i4 from '@acorex/components/button';
|
|
@@ -44,6 +44,7 @@ declare class AXTextBoxComponent extends AXTextBoxComponent_base {
|
|
|
44
44
|
* @example { 'P': { pattern: /[1-9]/, transform: (c) => c.toUpperCase() } }
|
|
45
45
|
*/
|
|
46
46
|
customTokens: _angular_core.InputSignal<AXMaskTokens>;
|
|
47
|
+
onMaskChanged: _angular_core.OutputEmitterRef<AXInputMaskEvent>;
|
|
47
48
|
/**
|
|
48
49
|
* This property defines the maximum number of characters that the input field can accept. It can be dynamically bound from a parent component template to enforce input length constraints.
|
|
49
50
|
*/
|
|
@@ -64,7 +65,7 @@ declare class AXTextBoxComponent extends AXTextBoxComponent_base {
|
|
|
64
65
|
protected _handleModelChange(value: string | null): void;
|
|
65
66
|
private get __hostName();
|
|
66
67
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXTextBoxComponent, never>;
|
|
67
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", 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; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "type": { "alias": "type"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; "look": { "alias": "look"; "required": false; }; "maskPattern": { "alias": "maskPattern"; "required": false; "isSignal": true; }; "customTokens": { "alias": "customTokens"; "required": false; "isSignal": true; }; "classNames": { "alias": "class"; "required": false; "isSignal": true; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onKeyDown": "onKeyDown"; "onKeyUp": "onKeyUp"; "onKeyPress": "onKeyPress"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], true, never>;
|
|
68
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", 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; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "type": { "alias": "type"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; "look": { "alias": "look"; "required": false; }; "maskPattern": { "alias": "maskPattern"; "required": false; "isSignal": true; }; "customTokens": { "alias": "customTokens"; "required": false; "isSignal": true; }; "classNames": { "alias": "class"; "required": false; "isSignal": true; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onKeyDown": "onKeyDown"; "onKeyUp": "onKeyUp"; "onKeyPress": "onKeyPress"; "onMaskChanged": "onMaskChanged"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], true, never>;
|
|
68
69
|
}
|
|
69
70
|
|
|
70
71
|
declare class AXTextBoxModule {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as polytype from 'polytype';
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
3
|
import { MXInputBaseValueComponent, MXLookComponent, AXValueChangedEvent, AXFocusEvent } from '@acorex/cdk/common';
|
|
4
|
+
import { AXInputMaskEvent } from '@acorex/cdk/input-mask';
|
|
4
5
|
|
|
5
6
|
type AXTimeDurationUnit = 'YEAR' | 'MONTH' | 'WEEK' | 'DAY' | 'HOUR' | 'MINUTE' | 'SECOND' | 'MILLISECOND';
|
|
6
7
|
|
|
@@ -34,6 +35,7 @@ declare class AXTimeDurationComponent extends AXTimeDurationComponent_base {
|
|
|
34
35
|
private MILLISECOND;
|
|
35
36
|
private isTranslationInit;
|
|
36
37
|
initTranslation(): Promise<void>;
|
|
38
|
+
protected maskChange(e: AXInputMaskEvent): void;
|
|
37
39
|
protected onInput(event: AXValueChangedEvent<any>): Promise<void>;
|
|
38
40
|
protected internalValueChanged(value: number): Promise<void>;
|
|
39
41
|
private replacePersianLabels;
|