@acorex/components 18.5.15 → 18.5.17
Sign up to get free protection for your applications and to get access to all the features.
- 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 +39 -3
- 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 +107 -2
- 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 +71 -71
- 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
@@ -1,7 +1,20 @@
|
|
1
1
|
import { AXPlacement, MXBaseComponent } from '@acorex/components/common';
|
2
2
|
import * as i0 from "@angular/core";
|
3
|
+
/**
|
4
|
+
* A component for displaying tooltips with additional information or context when hovering over elements.
|
5
|
+
* @category Components
|
6
|
+
*/
|
3
7
|
export declare class AXTooltipComponent extends MXBaseComponent {
|
8
|
+
/**
|
9
|
+
* The text content displayed in the tooltip.
|
10
|
+
* @defaultValue 'string'
|
11
|
+
*/
|
4
12
|
text: string;
|
13
|
+
/**
|
14
|
+
* Specifies the position of the tooltip relative to the target element.
|
15
|
+
*
|
16
|
+
* @type {AXPlacement}
|
17
|
+
*/
|
5
18
|
position: AXPlacement;
|
6
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTooltipComponent, never>;
|
7
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXTooltipComponent, "ax-tooltip", never, { "text": { "alias": "text"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, false, never>;
|
@@ -1,8 +1,23 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
|
+
/**
|
3
|
+
* A container for managing the uploader dialog with collapse and expand animations.
|
4
|
+
* @category Components
|
5
|
+
*/
|
2
6
|
export declare class AXUploaderDialogContainerComponent {
|
7
|
+
/** @ignore */
|
3
8
|
private parent;
|
9
|
+
/**
|
10
|
+
* Indicates whether the component is in a collapsed state.
|
11
|
+
* @defaultValue false
|
12
|
+
*/
|
4
13
|
isCollapsed: boolean;
|
14
|
+
/**
|
15
|
+
* Closes the parent dialog or container.
|
16
|
+
*/
|
5
17
|
close(): void;
|
18
|
+
/**
|
19
|
+
* Toggles the collapsed state of the component.
|
20
|
+
*/
|
6
21
|
toggle(): void;
|
7
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXUploaderDialogContainerComponent, never>;
|
8
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXUploaderDialogContainerComponent, "ax-uploader-dialog-container", never, {}, {}, never, never, false, never>;
|
@@ -1,5 +1,9 @@
|
|
1
1
|
import { MXBaseComponent } from '@acorex/components/common';
|
2
2
|
import * as i0 from "@angular/core";
|
3
|
+
/**
|
4
|
+
* A component that provides a drop zone area for uploading files.
|
5
|
+
* @category Components
|
6
|
+
*/
|
3
7
|
export declare class AXUploaderDropZoneComponent extends MXBaseComponent {
|
4
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXUploaderDropZoneComponent, never>;
|
5
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXUploaderDropZoneComponent, "ax-uploader-drop-zone", never, {}, {}, never, never, false, never>;
|
@@ -1,7 +1,12 @@
|
|
1
1
|
import { AXBasePageComponent } from '@acorex/components/page';
|
2
2
|
import { AXUploaderService } from './uploader.service';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
+
/**
|
5
|
+
* A component that displays a list of uploaded files.
|
6
|
+
* @category Components
|
7
|
+
*/
|
4
8
|
export declare class AXUploaderListComponent extends AXBasePageComponent {
|
9
|
+
/** @ignore */
|
5
10
|
protected uploadService: AXUploaderService;
|
6
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXUploaderListComponent, never>;
|
7
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXUploaderListComponent, "ax-uploader-list", never, {}, {}, never, never, false, never>;
|
@@ -21,10 +21,13 @@ export declare class AXUploadRequest {
|
|
21
21
|
estimateTime: import("@angular/core").Signal<number>;
|
22
22
|
private readonly _status;
|
23
23
|
status: import("@angular/core").Signal<AXUploadStatus>;
|
24
|
+
private readonly _message;
|
25
|
+
message: import("@angular/core").Signal<string>;
|
24
26
|
private startTime;
|
25
27
|
private bytesTransferred;
|
26
28
|
onStart: (file: AXUploadRequest) => void;
|
27
29
|
onCancel: (file: AXUploadRequest) => void;
|
30
|
+
onFailed: (file: AXUploadRequest) => void;
|
28
31
|
onComplete: (file: AXUploadRequest) => void;
|
29
32
|
constructor(uploadFile: File);
|
30
33
|
private estimateTimeRemaining;
|
@@ -32,5 +35,6 @@ export declare class AXUploadRequest {
|
|
32
35
|
private updateEstimateTime;
|
33
36
|
upload(): Promise<void>;
|
34
37
|
cancel(): void;
|
38
|
+
error(message: string): void;
|
35
39
|
finish(data?: any): void;
|
36
40
|
}
|
@@ -2,10 +2,26 @@ import { AXWysiwyg } from '@acorex/cdk/wysiwyg';
|
|
2
2
|
import { MXBaseComponent } from '@acorex/components/common';
|
3
3
|
import { AXWysiwygService } from '../wysiwyg.service';
|
4
4
|
import * as i0 from "@angular/core";
|
5
|
+
/**
|
6
|
+
* A container component for WYSIWYG (What You See Is What You Get) editor functionality.
|
7
|
+
* @category Components
|
8
|
+
*/
|
5
9
|
export declare class AXWysiwygContainerComponent extends MXBaseComponent {
|
6
|
-
|
7
|
-
|
8
|
-
|
10
|
+
/**
|
11
|
+
* @ignore
|
12
|
+
*/
|
13
|
+
protected wysiwyg: import("@angular/core").WritableSignal<AXWysiwyg>;
|
14
|
+
/**
|
15
|
+
* @ignore
|
16
|
+
*/
|
17
|
+
protected view: import("@angular/core").WritableSignal<HTMLElement>;
|
18
|
+
/**
|
19
|
+
* @ignore
|
20
|
+
*/
|
21
|
+
protected service: AXWysiwygService;
|
22
|
+
/**
|
23
|
+
* @ignore
|
24
|
+
*/
|
9
25
|
constructor();
|
10
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygContainerComponent, never>;
|
11
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygContainerComponent, "ax-wysiwyg-container", never, {}, {}, never, ["*"], false, never>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { AXWysiwyg } from '@acorex/cdk/wysiwyg';
|
2
|
-
import { AXClickEvent,
|
2
|
+
import { AXClickEvent, AXPlacement } from '@acorex/components/common';
|
3
3
|
import { AXPopoverCloseTrigger, AXPopoverOpenTrigger } from '@acorex/components/popover';
|
4
4
|
import { AXWysiwygService } from '../wysiwyg.service';
|
5
5
|
import * as i0 from "@angular/core";
|
@@ -17,23 +17,47 @@ type ConfigType = {
|
|
17
17
|
alignment: boolean;
|
18
18
|
image: boolean;
|
19
19
|
};
|
20
|
+
/**
|
21
|
+
* A toolbar component for the WYSIWYG editor, providing various formatting options.
|
22
|
+
* @category Components
|
23
|
+
*/
|
20
24
|
export declare class AXWysiwygToolbarComponent {
|
25
|
+
/**
|
26
|
+
* Return user input as HTML.
|
27
|
+
* @event
|
28
|
+
*/
|
21
29
|
outputHTML: import("@angular/core").OutputEmitterRef<AXClickEvent>;
|
30
|
+
/** @ignore */
|
22
31
|
service: AXWysiwygService;
|
32
|
+
/**
|
33
|
+
* config wysiwyg toolbar.
|
34
|
+
*
|
35
|
+
* @defaultValue 'button'
|
36
|
+
*/
|
23
37
|
config: import("@angular/core").InputSignal<ConfigType>;
|
38
|
+
/** @ignore */
|
24
39
|
protected wysiwyg: import("@angular/core").WritableSignal<AXWysiwyg>;
|
40
|
+
/** @ignore */
|
25
41
|
protected boldState: import("@angular/core").WritableSignal<boolean>;
|
42
|
+
/** @ignore */
|
26
43
|
protected italicState: import("@angular/core").WritableSignal<boolean>;
|
44
|
+
/** @ignore */
|
27
45
|
protected underLineState: import("@angular/core").WritableSignal<boolean>;
|
46
|
+
/** @ignore */
|
28
47
|
protected strikeLineState: import("@angular/core").WritableSignal<boolean>;
|
48
|
+
/** @ignore */
|
29
49
|
protected listState: import("@angular/core").WritableSignal<string>;
|
50
|
+
/** @ignore */
|
30
51
|
protected alignState: import("@angular/core").WritableSignal<string>;
|
31
|
-
|
32
|
-
protected
|
33
|
-
|
34
|
-
protected
|
52
|
+
/** @ignore */
|
53
|
+
protected selectedFont: import("@angular/core").WritableSignal<string>;
|
54
|
+
/** @ignore */
|
55
|
+
protected selectedColor: import("@angular/core").WritableSignal<string>;
|
56
|
+
/** @ignore */
|
57
|
+
protected selectedHighlightColor: import("@angular/core").WritableSignal<string>;
|
58
|
+
/** @ignore */
|
35
59
|
constructor();
|
36
|
-
|
60
|
+
/** @ignore */
|
37
61
|
protected popoverOption: {
|
38
62
|
openOn: AXPopoverOpenTrigger;
|
39
63
|
closeOn: AXPopoverCloseTrigger;
|
@@ -41,26 +65,43 @@ export declare class AXWysiwygToolbarComponent {
|
|
41
65
|
offsetX: number;
|
42
66
|
offsetY: number;
|
43
67
|
};
|
68
|
+
/** @ignore */
|
44
69
|
textBoxOptions: {
|
45
70
|
text: string;
|
46
71
|
placeholder: string;
|
47
72
|
size: string;
|
48
73
|
};
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
74
|
+
/** @ignore */
|
75
|
+
protected submitLink(): void;
|
76
|
+
protected changeColorHandler(e: string): void;
|
77
|
+
/** @ignore */
|
78
|
+
protected changeHighlightColorHandler(e: string): void;
|
79
|
+
/** @ignore */
|
80
|
+
protected fontHandler(e: any): void;
|
81
|
+
/** @ignore */
|
82
|
+
protected bold(): void;
|
83
|
+
/**
|
84
|
+
* emit html output
|
85
|
+
*/
|
54
86
|
out(): void;
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
87
|
+
/** @ignore */
|
88
|
+
protected italic(): void;
|
89
|
+
/** @ignore */
|
90
|
+
protected underLine(): void;
|
91
|
+
/** @ignore */
|
92
|
+
protected orderList(): void;
|
93
|
+
/** @ignore */
|
94
|
+
protected unOrderList(): void;
|
95
|
+
/** @ignore */
|
96
|
+
protected alignStateHandler(e: any): void;
|
97
|
+
/** @ignore */
|
98
|
+
protected undo(): void;
|
99
|
+
/** @ignore */
|
100
|
+
protected redo(): void;
|
101
|
+
/** @ignore */
|
102
|
+
protected strike(): void;
|
103
|
+
/** @ignore */
|
104
|
+
protected background(): void;
|
64
105
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygToolbarComponent, never>;
|
65
106
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygToolbarComponent, "ax-wysiwyg-toolbar", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; }, { "outputHTML": "outputHTML"; }, never, ["ax-prefix", "ax-suffix"], false, never>;
|
66
107
|
}
|
@@ -1,5 +1,9 @@
|
|
1
1
|
import { AXWysiwygService } from '../wysiwyg.service';
|
2
2
|
import * as i0 from "@angular/core";
|
3
|
+
/**
|
4
|
+
* @category Components
|
5
|
+
* A component for viewing WYSIWYG content.
|
6
|
+
*/
|
3
7
|
export declare class AXWysiwygViewComponent {
|
4
8
|
classes: import("@angular/core").InputSignal<string>;
|
5
9
|
wysiwygService: AXWysiwygService;
|
@@ -3,6 +3,9 @@ import * as i0 from "@angular/core";
|
|
3
3
|
export declare class AXWysiwygService {
|
4
4
|
wysiwyg: import("@angular/core").WritableSignal<AXWysiwyg>;
|
5
5
|
currentSelectedElemArray: import("@angular/core").WritableSignal<string[]>;
|
6
|
+
currentSelectedElemClass: import("@angular/core").WritableSignal<string>;
|
7
|
+
currentSelectedElemList: import("@angular/core").WritableSignal<string>;
|
8
|
+
currentSelectedElemAlign: import("@angular/core").WritableSignal<string>;
|
6
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygService, never>;
|
7
10
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXWysiwygService>;
|
8
11
|
}
|