@acorex/components 18.5.16 → 18.5.17
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/lib/action-sheet.component.d.ts +26 -0
- package/alert/lib/alert.component.d.ts +50 -2
- package/audio-wave/lib/audio-wave.component.d.ts +48 -0
- package/avatar/lib/avatar.component.d.ts +20 -1
- package/badge/lib/badge.component.d.ts +8 -0
- package/bottom-navigation/lib/bottom-navigation.component.d.ts +16 -0
- package/breadcrumbs/lib/breadcrumbs-item.component.d.ts +11 -0
- package/breadcrumbs/lib/breadcrumbs.component.d.ts +11 -0
- package/button/lib/button-item-list.component.d.ts +34 -0
- package/button/lib/button-item.component.d.ts +47 -0
- package/button/lib/button.component.d.ts +36 -0
- package/button-group/lib/button-group.component.d.ts +53 -0
- package/calendar/lib/calendar-range.component.d.ts +48 -0
- package/calendar/lib/calendar.component.d.ts +114 -0
- package/check-box/lib/check-box.component.d.ts +36 -0
- package/chips/lib/chips.component.d.ts +13 -0
- package/circular-progress/lib/circular-progress.component.d.ts +67 -1
- package/collapse/lib/collapse-group.component.d.ts +38 -0
- package/collapse/lib/collapse.component.d.ts +55 -0
- package/color-box/lib/color-box.component.d.ts +28 -1
- package/color-palette/lib/color-palette-input.component.d.ts +35 -0
- package/color-palette/lib/color-palette-picker.component.d.ts +53 -0
- package/color-palette/lib/color-palette-preview.component.d.ts +17 -0
- package/color-palette/lib/color-palette-swatches.component.d.ts +30 -0
- package/color-palette/lib/color-palette.component.d.ts +8 -0
- package/comment/lib/comment-container/comment-container.component.d.ts +5 -0
- package/comment/lib/comment-item/comment-item.component.d.ts +16 -2
- package/comment/lib/comment-like/comment-like.component.d.ts +8 -0
- package/comment/lib/comment-reply/comment-reply.component.d.ts +4 -0
- package/comment/lib/comment-view/comment-view.component.d.ts +4 -0
- package/common/lib/components/base-component.class.d.ts +8 -0
- package/common/lib/components/button-base-component.class.d.ts +21 -0
- package/common/lib/components/interactive-component.class.d.ts +15 -0
- package/conversation/lib/conversation-container/conversation-container.component.d.ts +4 -0
- package/conversation/lib/conversation-input/conversation-input.component.d.ts +79 -2
- package/conversation/lib/conversation-message/conversation-message.component.d.ts +41 -0
- package/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.d.ts +62 -0
- package/conversation/lib/conversation-messages/conversation-message-file/conversation-message-file.component.d.ts +34 -0
- package/conversation/lib/conversation-messages/conversation-message-image/conversation-message-image.component.d.ts +21 -0
- package/conversation/lib/conversation-messages/conversation-message-image-popup/conversation-message-image-popup.component.d.ts +11 -0
- package/conversation/lib/conversation-messages/conversation-message-text/conversation-message-text.component.d.ts +29 -0
- package/conversation/lib/conversation-messages/conversation-message-video/conversation-message-video.component.d.ts +11 -0
- package/conversation/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.d.ts +72 -0
- package/conversation/lib/conversation-view/conversation-view.component.d.ts +22 -0
- package/data-pager/lib/data-pager-base.component.d.ts +9 -0
- package/data-pager/lib/data-pager-info.component.d.ts +14 -0
- package/data-pager/lib/data-pager-input-selector.component.d.ts +17 -0
- package/data-pager/lib/data-pager-next-buttons.components.d.ts +20 -0
- package/data-pager/lib/data-pager-numeric-selector.component.d.ts +14 -0
- package/esm2022/action-sheet/lib/action-sheet.component.mjs +21 -1
- package/esm2022/alert/lib/alert.component.mjs +48 -3
- package/esm2022/audio-wave/lib/audio-wave.component.mjs +43 -1
- package/esm2022/avatar/lib/avatar.component.mjs +21 -2
- package/esm2022/badge/lib/badge.component.mjs +9 -1
- package/esm2022/bottom-navigation/lib/bottom-navigation.component.mjs +14 -1
- package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +9 -1
- package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +6 -1
- package/esm2022/button/lib/button-item-list.component.mjs +35 -1
- package/esm2022/button/lib/button-item.component.mjs +36 -1
- package/esm2022/button/lib/button.component.mjs +37 -1
- package/esm2022/button-group/lib/button-group.component.mjs +48 -1
- package/esm2022/calendar/lib/calendar-range.component.mjs +46 -1
- package/esm2022/calendar/lib/calendar.component.mjs +112 -1
- package/esm2022/check-box/lib/check-box.component.mjs +34 -1
- package/esm2022/chips/lib/chips.component.mjs +14 -1
- package/esm2022/circular-progress/lib/circular-progress.component.mjs +69 -1
- package/esm2022/collapse/lib/collapse-group.component.mjs +39 -1
- package/esm2022/collapse/lib/collapse.component.mjs +53 -1
- package/esm2022/color-box/lib/color-box.component.mjs +23 -2
- package/esm2022/color-palette/lib/color-palette-input.component.mjs +36 -1
- package/esm2022/color-palette/lib/color-palette-picker.component.mjs +54 -1
- package/esm2022/color-palette/lib/color-palette-preview.component.mjs +18 -1
- package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +28 -1
- package/esm2022/color-palette/lib/color-palette.component.mjs +9 -1
- package/esm2022/comment/lib/comment-container/comment-container.component.mjs +6 -1
- package/esm2022/comment/lib/comment-item/comment-item.component.mjs +15 -1
- package/esm2022/comment/lib/comment-like/comment-like.component.mjs +9 -1
- package/esm2022/comment/lib/comment-reply/comment-reply.component.mjs +5 -1
- package/esm2022/comment/lib/comment-view/comment-view.component.mjs +5 -1
- package/esm2022/common/lib/components/base-component.class.mjs +9 -1
- package/esm2022/common/lib/components/button-base-component.class.mjs +22 -1
- package/esm2022/common/lib/components/interactive-component.class.mjs +16 -1
- package/esm2022/conversation/lib/conversation-container/conversation-container.component.mjs +5 -1
- package/esm2022/conversation/lib/conversation-input/conversation-input.component.mjs +75 -1
- package/esm2022/conversation/lib/conversation-message/conversation-message.component.mjs +39 -1
- package/esm2022/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.mjs +63 -1
- package/esm2022/conversation/lib/conversation-messages/conversation-message-file/conversation-message-file.component.mjs +35 -1
- package/esm2022/conversation/lib/conversation-messages/conversation-message-image/conversation-message-image.component.mjs +22 -1
- package/esm2022/conversation/lib/conversation-messages/conversation-message-image-popup/conversation-message-image-popup.component.mjs +9 -1
- package/esm2022/conversation/lib/conversation-messages/conversation-message-text/conversation-message-text.component.mjs +30 -1
- package/esm2022/conversation/lib/conversation-messages/conversation-message-video/conversation-message-video.component.mjs +12 -1
- package/esm2022/conversation/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.mjs +70 -1
- package/esm2022/conversation/lib/conversation-view/conversation-view.component.mjs +23 -1
- package/esm2022/data-pager/lib/data-pager-base.component.mjs +7 -1
- package/esm2022/data-pager/lib/data-pager-info.component.mjs +9 -1
- package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +18 -1
- package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +18 -1
- package/esm2022/data-pager/lib/data-pager-numeric-selector.component.mjs +15 -1
- package/esm2022/scheduler/lib/scheduler-month-view.component.mjs +20 -1
- package/esm2022/scheduler/lib/scheduler-week-view.component.mjs +5 -1
- package/esm2022/scheduler/lib/scheduler.component.mjs +10 -1
- package/esm2022/search-box/lib/search-box.component.mjs +19 -2
- package/esm2022/select-box/lib/select-box.component.mjs +50 -2
- package/esm2022/selection-list/lib/selection-list.component.mjs +51 -1
- package/esm2022/side-menu/lib/side-menu.component.mjs +5 -1
- package/esm2022/skeleton/lib/skeleton.component.mjs +11 -1
- package/esm2022/slider/lib/slider.component.mjs +52 -2
- package/esm2022/step-wizard/lib/step-wizard.component.mjs +23 -1
- package/esm2022/switch/lib/switch-content.component.mjs +5 -1
- package/esm2022/switch/lib/switch.component.mjs +11 -1
- package/esm2022/tabs/lib/tab-item.component.mjs +24 -1
- package/esm2022/tabs/lib/tabs.component.mjs +36 -1
- package/esm2022/tag/lib/tag.component.mjs +2 -1
- package/esm2022/text-area/lib/text-area.component.mjs +8 -1
- package/esm2022/text-box/lib/text-box.component.mjs +13 -1
- package/esm2022/toast/lib/toast.component.mjs +6 -1
- package/esm2022/tooltip/lib/tooltip.component.mjs +5 -1
- package/esm2022/uploader/lib/uploader-dialog-container.component.mjs +16 -1
- package/esm2022/uploader/lib/uploader-drop-zone.component.mjs +5 -1
- package/esm2022/uploader/lib/uploader-list.component.mjs +8 -3
- package/esm2022/uploader/lib/uploader.models.mjs +14 -1
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +18 -1
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.mjs +106 -36
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.mjs +9 -1
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg.service.mjs +4 -1
- package/fesm2022/acorex-components-action-sheet.mjs +20 -0
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +47 -2
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs +42 -0
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +20 -1
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +8 -0
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +13 -0
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +13 -0
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +47 -0
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +105 -0
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +156 -0
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +33 -0
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +13 -0
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +68 -0
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +90 -0
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +22 -1
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +140 -0
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +35 -0
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs +44 -0
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +372 -0
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +62 -0
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +32 -0
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +18 -1
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +49 -1
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +50 -0
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +4 -0
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +10 -0
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-slider.mjs +51 -1
- package/fesm2022/acorex-components-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +22 -0
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +14 -0
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +58 -0
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +1 -0
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +7 -0
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +12 -0
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +5 -0
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +4 -0
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +39 -2
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +134 -35
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/package.json +31 -31
- package/scheduler/lib/scheduler-month-view.component.d.ts +20 -0
- package/scheduler/lib/scheduler-week-view.component.d.ts +4 -0
- package/scheduler/lib/scheduler.component.d.ts +10 -0
- package/search-box/lib/search-box.component.d.ts +19 -1
- package/select-box/lib/select-box.component.d.ts +78 -1
- package/selection-list/lib/selection-list.component.d.ts +55 -0
- package/side-menu/lib/side-menu.component.d.ts +4 -0
- package/skeleton/lib/skeleton.component.d.ts +10 -0
- package/slider/lib/slider.component.d.ts +51 -1
- package/step-wizard/lib/step-wizard.component.d.ts +23 -0
- package/switch/lib/switch-content.component.d.ts +4 -0
- package/switch/lib/switch.component.d.ts +14 -0
- package/tabs/lib/tab-item.component.d.ts +32 -0
- package/tabs/lib/tabs.component.d.ts +42 -0
- package/tag/lib/tag.component.d.ts +4 -0
- package/text-area/lib/text-area.component.d.ts +13 -0
- package/text-box/lib/text-box.component.d.ts +27 -0
- package/toast/lib/toast.component.d.ts +6 -0
- package/tooltip/lib/tooltip.component.d.ts +13 -0
- package/uploader/lib/uploader-dialog-container.component.d.ts +15 -0
- package/uploader/lib/uploader-drop-zone.component.d.ts +4 -0
- package/uploader/lib/uploader-list.component.d.ts +5 -0
- package/uploader/lib/uploader.models.d.ts +4 -0
- package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +19 -3
- package/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.d.ts +61 -20
- package/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.d.ts +4 -0
- package/wysiwyg/lib/wysiwyg/wysiwyg.service.d.ts +3 -0
|
@@ -3,13 +3,30 @@ import { AXUnsubscriber } from '@acorex/core/utils';
|
|
|
3
3
|
import { AfterViewInit, NgZone } from '@angular/core';
|
|
4
4
|
import { AXColorPaletteParentComponent } from './color-palette.class';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Component that displays a preview of the selected color in the palette.
|
|
8
|
+
*
|
|
9
|
+
* @category Components
|
|
10
|
+
*/
|
|
6
11
|
export declare class AXColorPalettePreviewComponent extends MXBaseComponent implements AfterViewInit {
|
|
7
12
|
_parent: AXColorPaletteParentComponent;
|
|
8
13
|
private _zone;
|
|
9
14
|
private _unsubscriber;
|
|
15
|
+
/**
|
|
16
|
+
* @ignore
|
|
17
|
+
*/
|
|
10
18
|
constructor(_parent: AXColorPaletteParentComponent, _zone: NgZone, _unsubscriber: AXUnsubscriber);
|
|
19
|
+
/**
|
|
20
|
+
* @ignore
|
|
21
|
+
*/
|
|
11
22
|
ngAfterViewInit(): void;
|
|
23
|
+
/**
|
|
24
|
+
* @ignore
|
|
25
|
+
*/
|
|
12
26
|
private applyParent;
|
|
27
|
+
/**
|
|
28
|
+
* @ignore
|
|
29
|
+
*/
|
|
13
30
|
private get __hostClass();
|
|
14
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPalettePreviewComponent, never>;
|
|
15
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPalettePreviewComponent, "ax-color-palette-preview", never, {}, {}, never, never, false, never>;
|
|
@@ -3,18 +3,48 @@ import { AXUnsubscriber } from '@acorex/core/utils';
|
|
|
3
3
|
import { AfterViewInit, OnInit } from '@angular/core';
|
|
4
4
|
import { AXColorPaletteParentComponent } from './color-palette.class';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Displays color swatches or favorites, allowing color selection.
|
|
8
|
+
*
|
|
9
|
+
* @category Components
|
|
10
|
+
*/
|
|
6
11
|
export declare class AXColorPaletteSwatchesComponent extends MXBaseComponent implements OnInit, AfterViewInit {
|
|
7
12
|
_parent: AXColorPaletteParentComponent;
|
|
8
13
|
private _unsubscriber;
|
|
14
|
+
/**
|
|
15
|
+
* @ignore
|
|
16
|
+
*/
|
|
9
17
|
protected _selected: string;
|
|
18
|
+
/**
|
|
19
|
+
* List of color objects for display, each with a `code` property.
|
|
20
|
+
* @defaultValue []
|
|
21
|
+
*/
|
|
10
22
|
colors: {
|
|
11
23
|
code: string;
|
|
12
24
|
}[];
|
|
25
|
+
/**
|
|
26
|
+
* @ignore
|
|
27
|
+
*/
|
|
13
28
|
constructor(_parent: AXColorPaletteParentComponent, _unsubscriber: AXUnsubscriber);
|
|
29
|
+
/**
|
|
30
|
+
* @ignore
|
|
31
|
+
*/
|
|
14
32
|
private applyParent;
|
|
33
|
+
/**
|
|
34
|
+
* @ignore
|
|
35
|
+
*/
|
|
15
36
|
ngOnInit(): void;
|
|
37
|
+
/**
|
|
38
|
+
* @ignore
|
|
39
|
+
*/
|
|
16
40
|
ngAfterViewInit(): void;
|
|
41
|
+
/**
|
|
42
|
+
* @ignore
|
|
43
|
+
*/
|
|
17
44
|
protected _handleClick(e: MouseEvent, color: any): void;
|
|
45
|
+
/**
|
|
46
|
+
* @ignore
|
|
47
|
+
*/
|
|
18
48
|
private _format;
|
|
19
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPaletteSwatchesComponent, never>;
|
|
20
50
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPaletteSwatchesComponent, "ax-color-palette-swatches, ax-color-palette-favorite", never, { "colors": { "alias": "colors"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -2,8 +2,16 @@ import { MXValueComponent } from '@acorex/components/common';
|
|
|
2
2
|
import { QueryList } from '@angular/core';
|
|
3
3
|
import { AXColorPaletteChildComponent } from './color-palette.class';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* A color palette component that allows for color selection and interaction.
|
|
7
|
+
*
|
|
8
|
+
* @category Components
|
|
9
|
+
*/
|
|
5
10
|
export declare class AXColorPalleteComponent extends MXValueComponent<string> {
|
|
6
11
|
_children: QueryList<AXColorPaletteChildComponent>;
|
|
12
|
+
/**
|
|
13
|
+
* @ignore
|
|
14
|
+
*/
|
|
7
15
|
private get __hostDisabled();
|
|
8
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPalleteComponent, never>;
|
|
9
17
|
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; }; "checked": { "alias": "checked"; "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"], false, never>;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* A container component for displaying and managing comments.
|
|
4
|
+
*
|
|
5
|
+
* @category Components
|
|
6
|
+
*/
|
|
2
7
|
export declare class AXCommentContainerComponent {
|
|
3
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCommentContainerComponent, never>;
|
|
4
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXCommentContainerComponent, "ax-comment-container", never, {}, {}, never, ["*"], false, never>;
|
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
import { AXAvatarComponent } from '@acorex/components/avatar';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* A component that represents an individual comment item in the comment system.
|
|
5
|
+
*
|
|
6
|
+
* @category Components
|
|
7
|
+
*/
|
|
3
8
|
export declare class AxCommentItemComponent {
|
|
4
|
-
|
|
5
|
-
|
|
9
|
+
/**
|
|
10
|
+
* @ignore
|
|
11
|
+
*/
|
|
12
|
+
protected avatar: import("@angular/core").Signal<AXAvatarComponent>;
|
|
13
|
+
/**
|
|
14
|
+
* @ignore
|
|
15
|
+
*/
|
|
16
|
+
protected commentItems: import("@angular/core").Signal<readonly AxCommentItemComponent[]>;
|
|
17
|
+
/**
|
|
18
|
+
* @ignore
|
|
19
|
+
*/
|
|
6
20
|
constructor();
|
|
7
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<AxCommentItemComponent, never>;
|
|
8
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<AxCommentItemComponent, "ax-comment-item", never, {}, {}, ["avatar", "commentItems"], ["ax-avatar", "ax-title", "ax-content", "ax-comment-like", "ax-comment-reply", "ax-comment-reply-text", "ax-comment-item"], false, never>;
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* A component for displaying and managing likes on a comment.
|
|
4
|
+
*
|
|
5
|
+
* @category Components
|
|
6
|
+
*/
|
|
2
7
|
export declare class AXCommentLikeComponent {
|
|
8
|
+
/**
|
|
9
|
+
* Indicates whether the comment is liked.
|
|
10
|
+
*/
|
|
3
11
|
liked: import("@angular/core").InputSignal<unknown>;
|
|
4
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCommentLikeComponent, never>;
|
|
5
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXCommentLikeComponent, "ax-comment-like", never, { "liked": { "alias": "liked"; "required": true; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Component for displaying and handling replies to comments.
|
|
4
|
+
* @category Components
|
|
5
|
+
*/
|
|
2
6
|
export declare class AXCommentReplyComponent {
|
|
3
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCommentReplyComponent, never>;
|
|
4
8
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXCommentReplyComponent, "ax-comment-reply", never, {}, {}, never, ["*"], false, never>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* A component for viewing comments with their details.
|
|
4
|
+
* @category Components
|
|
5
|
+
*/
|
|
2
6
|
export declare class AXCommentViewComponent {
|
|
3
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCommentViewComponent, never>;
|
|
4
8
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXCommentViewComponent, "ax-comment-view", never, {}, {}, never, ["ax-comment-item"], false, never>;
|
|
@@ -26,7 +26,15 @@ export declare abstract class MXBaseComponent {
|
|
|
26
26
|
protected getViewContainer(): ViewContainerRef;
|
|
27
27
|
protected internalOptionChanging(option: MXComponentOptionChanging): any;
|
|
28
28
|
protected internalOptionChanged(option: MXComponentOptionChanged): void;
|
|
29
|
+
/**
|
|
30
|
+
* @ignore
|
|
31
|
+
*/
|
|
29
32
|
protected ngOnInit(): void;
|
|
33
|
+
/**
|
|
34
|
+
* Fired when an option related to the component changes.
|
|
35
|
+
*
|
|
36
|
+
* @event
|
|
37
|
+
*/
|
|
30
38
|
onOptionChanged: EventEmitter<AXOptionChangedEvent>;
|
|
31
39
|
setOption<T = any>(option: MXComponentSetOption<T>): void;
|
|
32
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<MXBaseComponent, never>;
|
|
@@ -3,6 +3,11 @@ import { MXColorLookComponent } from './colorlook-component.class';
|
|
|
3
3
|
import { MXInteractiveComponent } from './interactive-component.class';
|
|
4
4
|
declare const MXButtonBaseComponent_base: import("polytype").Polytype.ClusteredConstructor<[typeof MXInteractiveComponent, typeof MXColorLookComponent]>;
|
|
5
5
|
export declare class MXButtonBaseComponent extends MXButtonBaseComponent_base {
|
|
6
|
+
/**
|
|
7
|
+
* Emits an event when the text associated with the button changes.
|
|
8
|
+
*
|
|
9
|
+
* @event
|
|
10
|
+
*/
|
|
6
11
|
textChange: EventEmitter<string>;
|
|
7
12
|
private _text;
|
|
8
13
|
/**
|
|
@@ -10,6 +15,11 @@ export declare class MXButtonBaseComponent extends MXButtonBaseComponent_base {
|
|
|
10
15
|
*/
|
|
11
16
|
get text(): string;
|
|
12
17
|
set text(v: string);
|
|
18
|
+
/**
|
|
19
|
+
* Emits an event when the toggleable state of the action sheet changes.
|
|
20
|
+
*
|
|
21
|
+
* @event
|
|
22
|
+
*/
|
|
13
23
|
toggleableChange: EventEmitter<boolean>;
|
|
14
24
|
private _toggleable?;
|
|
15
25
|
/**
|
|
@@ -17,6 +27,11 @@ export declare class MXButtonBaseComponent extends MXButtonBaseComponent_base {
|
|
|
17
27
|
*/
|
|
18
28
|
get toggleable(): boolean;
|
|
19
29
|
set toggleable(value: boolean);
|
|
30
|
+
/**
|
|
31
|
+
* Emits an event whenever the selection state of the component changes.
|
|
32
|
+
*
|
|
33
|
+
* @event
|
|
34
|
+
*/
|
|
20
35
|
selectedChange: EventEmitter<boolean>;
|
|
21
36
|
private _selected?;
|
|
22
37
|
/**
|
|
@@ -24,7 +39,13 @@ export declare class MXButtonBaseComponent extends MXButtonBaseComponent_base {
|
|
|
24
39
|
*/
|
|
25
40
|
get selected(): boolean;
|
|
26
41
|
set selected(value: boolean);
|
|
42
|
+
/**
|
|
43
|
+
* @ignore
|
|
44
|
+
*/
|
|
27
45
|
constructor();
|
|
46
|
+
/**
|
|
47
|
+
* @ignore
|
|
48
|
+
*/
|
|
28
49
|
protected get cssClasses(): {
|
|
29
50
|
'ax-button-icon': boolean;
|
|
30
51
|
'ax-state-disabled': boolean;
|
|
@@ -2,11 +2,26 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { AXFocusEvent } from '../classes/events.class';
|
|
3
3
|
import { MXBaseComponent } from './base-component.class';
|
|
4
4
|
export declare class MXInteractiveComponent extends MXBaseComponent {
|
|
5
|
+
/**
|
|
6
|
+
* @ignore
|
|
7
|
+
*/
|
|
5
8
|
protected onTouchedCallback: () => void;
|
|
6
9
|
registerOnTouched(fn: () => void): void;
|
|
7
10
|
private _touched;
|
|
11
|
+
/**
|
|
12
|
+
* Indicates whether the component has been touched.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
8
15
|
get touched(): boolean;
|
|
16
|
+
/**
|
|
17
|
+
* @ignore
|
|
18
|
+
*/
|
|
9
19
|
protected markAsTouched(): void;
|
|
20
|
+
/**
|
|
21
|
+
* Emits an event whenever the disabled state of the component changes.
|
|
22
|
+
*
|
|
23
|
+
* @event
|
|
24
|
+
*/
|
|
10
25
|
disabledChange: EventEmitter<boolean>;
|
|
11
26
|
private _disabled;
|
|
12
27
|
/**
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* A container for displaying and managing conversations.
|
|
4
|
+
* @category Components
|
|
5
|
+
*/
|
|
2
6
|
export declare class AXConversationContainerComponent {
|
|
3
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationContainerComponent, never>;
|
|
4
8
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationContainerComponent, "ax-conversation-container", never, {}, {}, never, ["*"], false, never>;
|
|
@@ -9,28 +9,105 @@ declare const AXConversationInputComponent_base: import("polytype").Polytype.Clu
|
|
|
9
9
|
ɵfac: unknown;
|
|
10
10
|
ɵprov: import("@angular/core").ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
|
|
11
11
|
}, typeof MXLookComponent]>;
|
|
12
|
+
/**
|
|
13
|
+
* An input component for entering conversation messages.
|
|
14
|
+
*
|
|
15
|
+
* @category Components
|
|
16
|
+
*/
|
|
12
17
|
export declare class AXConversationInputComponent extends AXConversationInputComponent_base {
|
|
13
|
-
|
|
14
|
-
|
|
18
|
+
/**
|
|
19
|
+
* @ignore
|
|
20
|
+
*/
|
|
21
|
+
protected inputFile: ElementRef<HTMLInputElement>;
|
|
22
|
+
/**
|
|
23
|
+
* @ignore
|
|
24
|
+
*/
|
|
25
|
+
protected conversationService: AXConversationService;
|
|
26
|
+
/**
|
|
27
|
+
* @ignore
|
|
28
|
+
*/
|
|
15
29
|
protected chats: Signal<AXConversationMessage<any>[]>;
|
|
30
|
+
/**
|
|
31
|
+
* @ignore
|
|
32
|
+
*/
|
|
16
33
|
protected replyChat: Signal<AXConversationMessage<any>>;
|
|
34
|
+
/** Maximum length of input text */
|
|
17
35
|
maxLength: import("@angular/core").InputSignal<number>;
|
|
36
|
+
/** Indicates if an attachment is present */
|
|
18
37
|
hasAttachment: import("@angular/core").InputSignal<boolean>;
|
|
38
|
+
/** Indicates if voice recording is enabled */
|
|
19
39
|
haVoice: import("@angular/core").InputSignal<boolean>;
|
|
40
|
+
/** Acceptable file types for attachment */
|
|
20
41
|
acceptFileType: import("@angular/core").InputSignal<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Emitted when the send button is clicked.
|
|
44
|
+
*
|
|
45
|
+
* @event
|
|
46
|
+
*/
|
|
21
47
|
onSendClick: import("@angular/core").OutputEmitterRef<AXClickEvent>;
|
|
48
|
+
/**
|
|
49
|
+
* Emitted when recording starts.
|
|
50
|
+
*
|
|
51
|
+
* @event
|
|
52
|
+
*/
|
|
22
53
|
onStartRecording: import("@angular/core").OutputEmitterRef<AXClickEvent>;
|
|
54
|
+
/**
|
|
55
|
+
* Emitted when recording is canceled.
|
|
56
|
+
*
|
|
57
|
+
* @event
|
|
58
|
+
*/
|
|
23
59
|
onCancelRecording: import("@angular/core").OutputEmitterRef<AXClickEvent>;
|
|
60
|
+
/**
|
|
61
|
+
* @ignore
|
|
62
|
+
*/
|
|
24
63
|
recording: WritableSignal<boolean>;
|
|
64
|
+
/**
|
|
65
|
+
* @ignore
|
|
66
|
+
*/
|
|
25
67
|
recordingService: AXRecordingService;
|
|
68
|
+
/**
|
|
69
|
+
* @ignore
|
|
70
|
+
*/
|
|
26
71
|
protected _updateOn: 'change' | 'blur' | 'submit';
|
|
72
|
+
/**
|
|
73
|
+
* @ignore
|
|
74
|
+
*/
|
|
27
75
|
protected _handleModelChange(value: string): void;
|
|
76
|
+
/**
|
|
77
|
+
* Initiates recording when the record button is clicked.
|
|
78
|
+
* Emits an event when recording starts.
|
|
79
|
+
* @ignore
|
|
80
|
+
*/
|
|
28
81
|
handleRecordClick(): void;
|
|
82
|
+
/**
|
|
83
|
+
* Cancels the recording and emits an event to indicate cancellation.
|
|
84
|
+
* @ignore
|
|
85
|
+
*/
|
|
29
86
|
handleCancelRecordingClick(): void;
|
|
87
|
+
/**
|
|
88
|
+
* Opens the file picker for attachment.
|
|
89
|
+
* @ignore
|
|
90
|
+
*/
|
|
30
91
|
handleAttachClick(): void;
|
|
92
|
+
/**
|
|
93
|
+
* Emits the selected files when the file input changes.
|
|
94
|
+
* @ignore
|
|
95
|
+
*/
|
|
31
96
|
handleChangeFile(event: Event): void;
|
|
97
|
+
/**
|
|
98
|
+
* Emits the text value and optional replyChat when the send button is clicked.
|
|
99
|
+
* @ignore
|
|
100
|
+
*/
|
|
32
101
|
handleSendClick(): void;
|
|
102
|
+
/**
|
|
103
|
+
* Ends recording and emits the recorded voice data when the send voice button is clicked.
|
|
104
|
+
* @ignore
|
|
105
|
+
*/
|
|
33
106
|
handleSendVoiceClick(): void;
|
|
107
|
+
/**
|
|
108
|
+
* Clears the reply ID when closing a reply.
|
|
109
|
+
* @ignore
|
|
110
|
+
*/
|
|
34
111
|
closeReplyHandler(): void;
|
|
35
112
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationInputComponent, never>;
|
|
36
113
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationInputComponent, "ax-conversation-input", never, { "look": { "alias": "look"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "hasAttachment": { "alias": "hasAttachment"; "required": false; "isSignal": true; }; "haVoice": { "alias": "haVoice"; "required": false; "isSignal": true; }; "acceptFileType": { "alias": "acceptFileType"; "required": false; "isSignal": true; }; }, { "onSendClick": "onSendClick"; "onStartRecording": "onStartRecording"; "onCancelRecording": "onCancelRecording"; }, never, never, false, never>;
|
|
@@ -5,18 +5,59 @@ import { AXConversationMessage } from '../conversation.types';
|
|
|
5
5
|
import { AXConversationMessageTypeRegistryService } from '../services/conversation-message-type-registry.service';
|
|
6
6
|
import { AXConversationService } from '../services/conversation.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* A component for displaying individual conversation messages.
|
|
10
|
+
*
|
|
11
|
+
* @category Components
|
|
12
|
+
*/
|
|
8
13
|
export declare class AXConversationMessageComponent extends MXBaseComponent {
|
|
14
|
+
/**
|
|
15
|
+
* @ignore
|
|
16
|
+
*/
|
|
9
17
|
popover: import("@angular/core").Signal<AXPopoverComponent>;
|
|
18
|
+
/**
|
|
19
|
+
* @ignore
|
|
20
|
+
*/
|
|
10
21
|
conversationService: AXConversationService;
|
|
22
|
+
/**
|
|
23
|
+
* The message data to display in the conversation.
|
|
24
|
+
*/
|
|
11
25
|
chatMessage: import("@angular/core").InputSignal<AXConversationMessage<any>>;
|
|
26
|
+
/**
|
|
27
|
+
* @ignore
|
|
28
|
+
*/
|
|
12
29
|
protected _portal: ComponentPortal<any> | null;
|
|
30
|
+
/**
|
|
31
|
+
* @ignore
|
|
32
|
+
*/
|
|
13
33
|
protected get isOwn(): boolean;
|
|
34
|
+
/**
|
|
35
|
+
* @ignore
|
|
36
|
+
*/
|
|
14
37
|
protected registryService: AXConversationMessageTypeRegistryService;
|
|
38
|
+
/**
|
|
39
|
+
* @ignore
|
|
40
|
+
*/
|
|
15
41
|
get __hostClass(): string;
|
|
42
|
+
/**
|
|
43
|
+
* @ignore
|
|
44
|
+
*/
|
|
16
45
|
protected ngOnInit(): void;
|
|
46
|
+
/**
|
|
47
|
+
* @ignore
|
|
48
|
+
*/
|
|
17
49
|
protected _handleAttached(ref: CdkPortalOutletAttachedRef): void;
|
|
50
|
+
/**
|
|
51
|
+
* @ignore
|
|
52
|
+
*/
|
|
18
53
|
protected handleResendClick(): void;
|
|
54
|
+
/**
|
|
55
|
+
* @ignore
|
|
56
|
+
*/
|
|
19
57
|
protected handleDeleteClick(): void;
|
|
58
|
+
/**
|
|
59
|
+
* @ignore
|
|
60
|
+
*/
|
|
20
61
|
protected replyHandler(e: any): void;
|
|
21
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationMessageComponent, never>;
|
|
22
63
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationMessageComponent, "ax-conversation-message", never, { "chatMessage": { "alias": "chatMessage"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
@@ -1,23 +1,85 @@
|
|
|
1
1
|
import { ElementRef, Renderer2, WritableSignal } from '@angular/core';
|
|
2
2
|
import { AXConversationMessageBaseComponent } from '../../conversation.types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Component for displaying audio messages in a conversation.
|
|
6
|
+
*
|
|
7
|
+
* @category Components
|
|
8
|
+
*/
|
|
4
9
|
export declare class AXConversationMessageAudioComponent extends AXConversationMessageBaseComponent<string> {
|
|
10
|
+
/**
|
|
11
|
+
* @ignore
|
|
12
|
+
*/
|
|
5
13
|
audioState: WritableSignal<'playing' | 'paused'>;
|
|
14
|
+
/**
|
|
15
|
+
* @ignore
|
|
16
|
+
*/
|
|
6
17
|
audioTag: import("@angular/core").Signal<ElementRef<HTMLAudioElement>>;
|
|
18
|
+
/**
|
|
19
|
+
* @ignore
|
|
20
|
+
*/
|
|
7
21
|
renderer: Renderer2;
|
|
22
|
+
/**
|
|
23
|
+
* @ignore
|
|
24
|
+
*/
|
|
8
25
|
audioRate: WritableSignal<number>;
|
|
26
|
+
/**
|
|
27
|
+
* @ignore
|
|
28
|
+
*/
|
|
9
29
|
protected currentTime: WritableSignal<number>;
|
|
30
|
+
/**
|
|
31
|
+
* @ignore
|
|
32
|
+
*/
|
|
10
33
|
protected duration: WritableSignal<number>;
|
|
34
|
+
/**
|
|
35
|
+
* @ignore
|
|
36
|
+
*/
|
|
11
37
|
protected currentTimeFormat: WritableSignal<number>;
|
|
38
|
+
/**
|
|
39
|
+
* @ignore
|
|
40
|
+
*/
|
|
12
41
|
protected durationFormat: WritableSignal<number>;
|
|
42
|
+
/**
|
|
43
|
+
* @ignore
|
|
44
|
+
*/
|
|
13
45
|
constructor();
|
|
46
|
+
/**
|
|
47
|
+
* @ignore
|
|
48
|
+
*/
|
|
14
49
|
eventListeners(): void;
|
|
50
|
+
/**
|
|
51
|
+
* Seeks to the specified time and resumes audio playback.
|
|
52
|
+
*
|
|
53
|
+
* @param e - Time in seconds to seek to.
|
|
54
|
+
* @ignore
|
|
55
|
+
*/
|
|
15
56
|
clickHandler(e: any): void;
|
|
57
|
+
/**
|
|
58
|
+
* Pauses the audio and updates the state to 'paused'.
|
|
59
|
+
* @ignore
|
|
60
|
+
*/
|
|
16
61
|
handlePauseClick(): void;
|
|
62
|
+
/**
|
|
63
|
+
* Plays the audio and updates the state to 'playing'.\
|
|
64
|
+
* @ignore
|
|
65
|
+
*/
|
|
17
66
|
handlePlayClick(): void;
|
|
67
|
+
/**
|
|
68
|
+
* Toggles the playback rate of the audio between 1x, 1.5x, and 2x.
|
|
69
|
+
* @ignore
|
|
70
|
+
*/
|
|
18
71
|
handleRateClick(): void;
|
|
72
|
+
/**
|
|
73
|
+
* @ignore
|
|
74
|
+
*/
|
|
19
75
|
ended(): void;
|
|
76
|
+
/**
|
|
77
|
+
* @ignore
|
|
78
|
+
*/
|
|
20
79
|
durationChange(): void;
|
|
80
|
+
/**
|
|
81
|
+
* @ignore
|
|
82
|
+
*/
|
|
21
83
|
timeUpdate(): void;
|
|
22
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationMessageAudioComponent, never>;
|
|
23
85
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationMessageAudioComponent, "ax-conversation-message-audio", never, {}, {}, never, never, false, never>;
|
|
@@ -4,15 +4,49 @@ import { WritableSignal } from '@angular/core';
|
|
|
4
4
|
import { AXConversationViewComponent } from '../../conversation-view/conversation-view.component';
|
|
5
5
|
import { AXConversationMessageBaseComponent } from '../../conversation.types';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Component for displaying file messages in a conversation.
|
|
9
|
+
*
|
|
10
|
+
* @category Components
|
|
11
|
+
*/
|
|
7
12
|
export declare class AXConversationFileMessageComponent extends AXConversationMessageBaseComponent<string> {
|
|
13
|
+
/**
|
|
14
|
+
* @ignore
|
|
15
|
+
*/
|
|
8
16
|
fileState: WritableSignal<'loading' | 'ready' | 'error'>;
|
|
17
|
+
/**
|
|
18
|
+
* @ignore
|
|
19
|
+
*/
|
|
9
20
|
fileSize: WritableSignal<number>;
|
|
21
|
+
/**
|
|
22
|
+
* @ignore
|
|
23
|
+
*/
|
|
10
24
|
fileName: WritableSignal<string>;
|
|
25
|
+
/**
|
|
26
|
+
* @ignore
|
|
27
|
+
*/
|
|
11
28
|
fileService: AXFileService;
|
|
29
|
+
/**
|
|
30
|
+
* @ignore
|
|
31
|
+
*/
|
|
12
32
|
http: HttpClient;
|
|
33
|
+
/**
|
|
34
|
+
* @ignore
|
|
35
|
+
*/
|
|
13
36
|
parent: AXConversationViewComponent;
|
|
37
|
+
/**
|
|
38
|
+
* @ignore
|
|
39
|
+
*/
|
|
14
40
|
constructor();
|
|
41
|
+
/**
|
|
42
|
+
* Emits a download action event for the file.
|
|
43
|
+
* @ignore
|
|
44
|
+
*/
|
|
15
45
|
handleDownloadFile(): void;
|
|
46
|
+
/**
|
|
47
|
+
* Emits a cancel action event for the file loading.
|
|
48
|
+
* @ignore
|
|
49
|
+
*/
|
|
16
50
|
handleCancelLoading(): void;
|
|
17
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationFileMessageComponent, never>;
|
|
18
52
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationFileMessageComponent, "ax-conversation-message-file", never, {}, {}, never, never, false, never>;
|
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
import { AXConversationMessageBaseComponent } from '../../conversation.types';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* A component for displaying an image within a conversation message.
|
|
5
|
+
*
|
|
6
|
+
* @category Components
|
|
7
|
+
*/
|
|
3
8
|
export declare class AXConversationMessageImageComponent extends AXConversationMessageBaseComponent<string> {
|
|
9
|
+
/**
|
|
10
|
+
* @ignore
|
|
11
|
+
*/
|
|
4
12
|
protected _imageUrl: import("@angular/core").WritableSignal<string>;
|
|
13
|
+
/**
|
|
14
|
+
* @ignore
|
|
15
|
+
*/
|
|
5
16
|
private popup;
|
|
17
|
+
/**
|
|
18
|
+
* @ignore
|
|
19
|
+
*/
|
|
6
20
|
protected _options: {
|
|
7
21
|
header: boolean;
|
|
8
22
|
footer: boolean;
|
|
@@ -12,7 +26,14 @@ export declare class AXConversationMessageImageComponent extends AXConversationM
|
|
|
12
26
|
closeButton: boolean;
|
|
13
27
|
closeOnBackdropClick: boolean;
|
|
14
28
|
};
|
|
29
|
+
/**
|
|
30
|
+
* @ignore
|
|
31
|
+
*/
|
|
15
32
|
constructor();
|
|
33
|
+
/**
|
|
34
|
+
* Opens a popup displaying the image with options for draggable, size, and backdrop.
|
|
35
|
+
* @ignore
|
|
36
|
+
*/
|
|
16
37
|
openPopup(): void;
|
|
17
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationMessageImageComponent, never>;
|
|
18
39
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationMessageImageComponent, "ax-conversation-message-image", never, { "message": { "alias": "message"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* A popup component for displaying an image in full view.
|
|
4
|
+
*
|
|
5
|
+
* @category Components
|
|
6
|
+
*/
|
|
2
7
|
export declare class ConversationMessageImagePopupComponent {
|
|
8
|
+
/**
|
|
9
|
+
* @ignore
|
|
10
|
+
*/
|
|
3
11
|
protected url: string;
|
|
12
|
+
/**
|
|
13
|
+
* @ignore
|
|
14
|
+
*/
|
|
4
15
|
constructor();
|
|
5
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConversationMessageImagePopupComponent, never>;
|
|
6
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<ConversationMessageImagePopupComponent, "ax-conversation-message-image-popup", never, {}, {}, never, never, false, never>;
|