@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
@@ -2,9 +2,23 @@ import { AXAvatarComponent } from '@acorex/components/avatar';
|
|
2
2
|
import { afterNextRender, Component, contentChild, contentChildren, ViewEncapsulation } from '@angular/core';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
import * as i1 from "@acorex/components/collapse";
|
5
|
+
/**
|
6
|
+
* A component that represents an individual comment item in the comment system.
|
7
|
+
*
|
8
|
+
* @category Components
|
9
|
+
*/
|
5
10
|
export class AxCommentItemComponent {
|
11
|
+
/**
|
12
|
+
* @ignore
|
13
|
+
*/
|
6
14
|
constructor() {
|
15
|
+
/**
|
16
|
+
* @ignore
|
17
|
+
*/
|
7
18
|
this.avatar = contentChild(AXAvatarComponent);
|
19
|
+
/**
|
20
|
+
* @ignore
|
21
|
+
*/
|
8
22
|
this.commentItems = contentChildren(AxCommentItemComponent);
|
9
23
|
afterNextRender(() => {
|
10
24
|
this.avatar().size.set(40);
|
@@ -17,4 +31,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
17
31
|
type: Component,
|
18
32
|
args: [{ selector: 'ax-comment-item', encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-comment-items\">\n <div class=\"ax-title-avatar-container\">\n <ng-content select=\"ax-avatar\"></ng-content>\n <ng-content select=\"ax-title\"></ng-content>\n </div>\n <div class=\"ax-content-container\">\n <ng-content select=\"ax-content\"></ng-content>\n <div class=\"ax-reaction-container\">\n <ng-content select=\"ax-comment-like\"></ng-content>\n <ng-content select=\"ax-comment-reply\"></ng-content>\n <ng-content select=\"ax-comment-reply-text\"></ng-content>\n </div>\n </div>\n @if (commentItems().length > 0) {\n <div class=\"ax-comment-replies\">\n <ax-collapse-group look=\"none\" [accordion]=\"true\" [activeIndex]=\"1\">\n <ax-collapse caption=\"View all Replies\" [isCollapsed]=\"true\">\n <ng-content select=\"ax-comment-item\"></ng-content>\n </ax-collapse>\n </ax-collapse-group>\n </div>\n }\n</div>\n", styles: [".ax-comment-items .ax-title-avatar-container{display:flex;align-items:center}.ax-comment-items .ax-title-avatar-container ax-title{font-weight:700;padding:.5rem}.ax-comment-items .ax-content-container{margin-inline-start:3rem;display:flex;flex-direction:column}.ax-comment-items .ax-content-container .ax-reaction-container{margin-top:.8rem;display:flex}.ax-comment-items .ax-content-container .ax-reaction-container ax-comment-reply{margin-inline:1.5rem}.ax-comment-items .ax-content-container .ax-reaction-container ax-text{color:rgba(var(--ax-color-neutral-500))}.ax-comment-items .ax-content-container .ax-reaction-container ax-comment-like,.ax-comment-items .ax-content-container .ax-reaction-container ax-comment-reply,.ax-comment-items .ax-content-container .ax-reaction-container ax-text{cursor:pointer}.ax-comment-items .ax-comment-replies{margin-inline-start:2rem}\n"] }]
|
19
33
|
}], ctorParameters: () => [] });
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVudC1pdGVtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb21tZW50L3NyYy9saWIvY29tbWVudC1pdGVtL2NvbW1lbnQtaXRlbS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbWVudC9zcmMvbGliL2NvbW1lbnQtaXRlbS9jb21tZW50LWl0ZW0uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDOUQ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vbnRlbnRcIj48L25nLWNvbnRlbnQ+XG4gICAgPGRpdiBjbGFzcz1cImF4LXJlYWN0aW9uLWNvbnRhaW5lclwiPlxuICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtY29tbWVudC1saWtlXCI+PC9uZy1jb250ZW50PlxuICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtY29tbWVudC1yZXBseVwiPjwvbmctY29udGVudD5cbiAgICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImF4LWNvbW1lbnQtcmVwbHktdGV4dFwiPjwvbmctY29udGVudD5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG4gIEBpZiAoY29tbWVudEl0ZW1zKCkubGVuZ3RoID4gMCkge1xuICAgIDxkaXYgY2xhc3M9XCJheC1jb21tZW50LXJlcGxpZXNcIj5cbiAgICAgIDxheC1jb2xsYXBzZS1ncm91cCBsb29rPVwibm9uZVwiIFthY2NvcmRpb25dPVwidHJ1ZVwiIFthY3RpdmVJbmRleF09XCIxXCI+XG4gICAgICAgIDxheC1jb2xsYXBzZSBjYXB0aW9uPVwiVmlldyBhbGwgUmVwbGllc1wiIFtpc0NvbGxhcHNlZF09XCJ0cnVlXCI+XG4gICAgICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtY29tbWVudC1pdGVtXCI+PC9uZy1jb250ZW50PlxuICAgICAgICA8L2F4LWNvbGxhcHNlPlxuICAgICAgPC9heC1jb2xsYXBzZS1ncm91cD5cbiAgICA8L2Rpdj5cbiAgfVxuPC9kaXY+XG4iXX0=
|
@@ -1,8 +1,16 @@
|
|
1
1
|
import { Component, input } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
import * as i1 from "@acorex/components/decorators";
|
4
|
+
/**
|
5
|
+
* A component for displaying and managing likes on a comment.
|
6
|
+
*
|
7
|
+
* @category Components
|
8
|
+
*/
|
4
9
|
export class AXCommentLikeComponent {
|
5
10
|
constructor() {
|
11
|
+
/**
|
12
|
+
* Indicates whether the comment is liked.
|
13
|
+
*/
|
6
14
|
this.liked = input.required();
|
7
15
|
}
|
8
16
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentLikeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
@@ -12,4 +20,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
12
20
|
type: Component,
|
13
21
|
args: [{ selector: 'ax-comment-like', template: "<div class=\"ax-comment-like-container\">\n <ax-icon class=\"ax-icon ax-icon-heart\" [class.ax-state-liked]=\"liked()\"></ax-icon>\n <ax-text><ng-content></ng-content></ax-text>\n</div>\n", styles: [".ax-comment-like-container{display:flex;align-items:center}.ax-comment-like-container ax-icon{margin-inline-end:.2rem;color:rgba(var(--ax-color-danger-500))}.ax-comment-like-container ax-icon.ax-state-liked{font-weight:700}.ax-comment-like-container ax-text{color:rgba(var(--ax-color-danger-500))}\n"] }]
|
14
22
|
}] });
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVudC1saWtlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb21tZW50L3NyYy9saWIvY29tbWVudC1saWtlL2NvbW1lbnQtbGlrZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbWVudC9zcmMvbGliL2NvbW1lbnQtbGlrZS9jb21tZW50LWxpa2UuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQU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uPC9kaXY+XG4iXX0=
|
@@ -1,6 +1,10 @@
|
|
1
1
|
import { Component } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
import * as i1 from "@acorex/components/decorators";
|
4
|
+
/**
|
5
|
+
* Component for displaying and handling replies to comments.
|
6
|
+
* @category Components
|
7
|
+
*/
|
4
8
|
export class AXCommentReplyComponent {
|
5
9
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentReplyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
6
10
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXCommentReplyComponent, selector: "ax-comment-reply", ngImport: i0, template: "<div class=\"ax-comment-reply-container\">\n <ax-icon class=\"ax-icon ax-icon-comment\"></ax-icon>\n <ax-text><ng-content></ng-content></ax-text>\n</div>\n", styles: [".ax-comment-reply-container{display:flex;align-items:center}.ax-comment-reply-container ax-icon{margin-inline-end:.2rem;color:rgba(var(--ax-color-text-default))}.ax-comment-reply-container ax-text{color:rgba(var(--ax-color-text-default))}\n"], dependencies: [{ kind: "component", type: i1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }] }); }
|
@@ -9,4 +13,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
9
13
|
type: Component,
|
10
14
|
args: [{ selector: 'ax-comment-reply', template: "<div class=\"ax-comment-reply-container\">\n <ax-icon class=\"ax-icon ax-icon-comment\"></ax-icon>\n <ax-text><ng-content></ng-content></ax-text>\n</div>\n", styles: [".ax-comment-reply-container{display:flex;align-items:center}.ax-comment-reply-container ax-icon{margin-inline-end:.2rem;color:rgba(var(--ax-color-text-default))}.ax-comment-reply-container ax-text{color:rgba(var(--ax-color-text-default))}\n"] }]
|
11
15
|
}] });
|
12
|
-
//# sourceMappingURL=data:application/json;base64,
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVudC1yZXBseS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbWVudC9zcmMvbGliL2NvbW1lbnQtcmVwbHkvY29tbWVudC1yZXBseS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbWVudC9zcmMvbGliL2NvbW1lbnQtcmVwbHkvY29tbWVudC1yZXBseS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7QUFFMUM7OztHQUdHO0FBTUgsTUFBTSxPQUFPLHVCQUF1Qjs4R0FBdkIsdUJBQXVCO2tHQUF2Qix1QkFBdUIsd0RDWHBDLCtKQUlBOzsyRkRPYSx1QkFBdUI7a0JBTG5DLFNBQVM7K0JBQ0Usa0JBQWtCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbi8qKlxuICogQ29tcG9uZW50IGZvciBkaXNwbGF5aW5nIGFuZCBoYW5kbGluZyByZXBsaWVzIHRvIGNvbW1lbnRzLlxuICogQGNhdGVnb3J5IENvbXBvbmVudHNcbiAqL1xuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnYXgtY29tbWVudC1yZXBseScsXG4gIHRlbXBsYXRlVXJsOiAnLi9jb21tZW50LXJlcGx5LmNvbXBvbmVudC5odG1sJyxcbiAgc3R5bGVVcmw6ICcuL2NvbW1lbnQtcmVwbHkuY29tcG9uZW50LnNjc3MnLFxufSlcbmV4cG9ydCBjbGFzcyBBWENvbW1lbnRSZXBseUNvbXBvbmVudCB7fVxuIiwiPGRpdiBjbGFzcz1cImF4LWNvbW1lbnQtcmVwbHktY29udGFpbmVyXCI+XG4gIDxheC1pY29uIGNsYXNzPVwiYXgtaWNvbiBheC1pY29uLWNvbW1lbnRcIj48L2F4LWljb24+XG4gIDxheC10ZXh0PjxuZy1jb250ZW50PjwvbmctY29udGVudD48L2F4LXRleHQ+XG48L2Rpdj5cbiJdfQ==
|
@@ -1,5 +1,9 @@
|
|
1
1
|
import { Component, ViewEncapsulation } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
|
+
/**
|
4
|
+
* A component for viewing comments with their details.
|
5
|
+
* @category Components
|
6
|
+
*/
|
3
7
|
export class AXCommentViewComponent {
|
4
8
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
5
9
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXCommentViewComponent, selector: "ax-comment-view", ngImport: i0, template: "<ng-content select=\"ax-comment-item\"></ng-content>\n", styles: ["ax-comment-view{border:1px solid rgb(var(--ax-color-border-default));border-radius:var(--ax-rounded-border-default);display:block;padding:1.5rem;margin-bottom:1rem}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
@@ -8,4 +12,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
8
12
|
type: Component,
|
9
13
|
args: [{ selector: 'ax-comment-view', encapsulation: ViewEncapsulation.None, template: "<ng-content select=\"ax-comment-item\"></ng-content>\n", styles: ["ax-comment-view{border:1px solid rgb(var(--ax-color-border-default));border-radius:var(--ax-rounded-border-default);display:block;padding:1.5rem;margin-bottom:1rem}\n"] }]
|
10
14
|
}] });
|
11
|
-
//# sourceMappingURL=data:application/json;base64,
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVudC12aWV3LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb21tZW50L3NyYy9saWIvY29tbWVudC12aWV3L2NvbW1lbnQtdmlldy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbWVudC9zcmMvbGliL2NvbW1lbnQtdmlldy9jb21tZW50LXZpZXcuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFFN0Q7OztHQUdHO0FBT0gsTUFBTSxPQUFPLHNCQUFzQjs4R0FBdEIsc0JBQXNCO2tHQUF0QixzQkFBc0IsdURDWm5DLHdEQUNBOzsyRkRXYSxzQkFBc0I7a0JBTmxDLFNBQVM7K0JBQ0UsaUJBQWlCLGlCQUdaLGlCQUFpQixDQUFDLElBQUkiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIFZpZXdFbmNhcHN1bGF0aW9uIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbi8qKlxuICogQSBjb21wb25lbnQgZm9yIHZpZXdpbmcgY29tbWVudHMgd2l0aCB0aGVpciBkZXRhaWxzLlxuICogQGNhdGVnb3J5IENvbXBvbmVudHNcbiAqL1xuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnYXgtY29tbWVudC12aWV3JyxcbiAgdGVtcGxhdGVVcmw6ICcuL2NvbW1lbnQtdmlldy5jb21wb25lbnQuaHRtbCcsXG4gIHN0eWxlVXJsczogWycuL2NvbW1lbnQtdmlldy5jb21wb25lbnQuc2NzcyddLFxuICBlbmNhcHN1bGF0aW9uOiBWaWV3RW5jYXBzdWxhdGlvbi5Ob25lLFxufSlcbmV4cG9ydCBjbGFzcyBBWENvbW1lbnRWaWV3Q29tcG9uZW50IHt9XG4iLCI8bmctY29udGVudCBzZWxlY3Q9XCJheC1jb21tZW50LWl0ZW1cIj48L25nLWNvbnRlbnQ+XG4iXX0=
|
@@ -8,6 +8,11 @@ export class MXBaseComponent {
|
|
8
8
|
this._viewRef = inject(ViewContainerRef);
|
9
9
|
this._domService = inject(AXDomService);
|
10
10
|
this._id = this._domService.generateElementId();
|
11
|
+
/**
|
12
|
+
* Fired when an option related to the component changes.
|
13
|
+
*
|
14
|
+
* @event
|
15
|
+
*/
|
11
16
|
this.onOptionChanged = new EventEmitter();
|
12
17
|
}
|
13
18
|
get id() {
|
@@ -29,6 +34,9 @@ export class MXBaseComponent {
|
|
29
34
|
return option?.value;
|
30
35
|
}
|
31
36
|
internalOptionChanged(option) { }
|
37
|
+
/**
|
38
|
+
* @ignore
|
39
|
+
*/
|
32
40
|
ngOnInit() {
|
33
41
|
this.getHostElement().__axContext__ = this;
|
34
42
|
}
|
@@ -63,4 +71,4 @@ export class MXBaseComponent {
|
|
63
71
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: MXBaseComponent, decorators: [{
|
64
72
|
type: Injectable
|
65
73
|
}] });
|
66
|
-
//# sourceMappingURL=data:application/json;base64,
|
74
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1jb21wb25lbnQuY2xhc3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbW9uL3NyYy9saWIvY29tcG9uZW50cy9iYXNlLWNvbXB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AgdmFsdWU6IG9wdGlvbi52YWx1ZSxcbiAgICB9KTtcbiAgICBpZiAob3B0aW9uLmJlZm9yZUNhbGxiYWNrKSB7XG4gICAgICBuZXdWYWx1ZSA9IG9wdGlvbi5iZWZvcmVDYWxsYmFjayhvbGRWYWx1ZSwgbmV3VmFsdWUpO1xuICAgIH1cbiAgICAvL1RPRE8gOiBjaGVjayByZWFsIGNoYW5nZXMgaWYgdmFsdWUgaXMgb2JqZWN0XG4gICAgaWYgKG9sZFZhbHVlICE9IG5ld1ZhbHVlKSB7XG4gICAgICB0aGlzW2BfJHtvcHRpb24ubmFtZX1gXSA9IG9wdGlvbi52YWx1ZTtcbiAgICAgIHRoaXMub25PcHRpb25DaGFuZ2VkLmVtaXQoe1xuICAgICAgICBjb21wb25lbnQ6IHRoaXMsXG4gICAgICAgIG5hbWU6IG9wdGlvbi5uYW1lLFxuICAgICAgICBuZXdWYWx1ZSxcbiAgICAgICAgb2xkVmFsdWUsXG4gICAgICB9KTtcbiAgICAgIGNvbnN0IGVtaXR0ZXIgPSB0aGlzW2Ake29wdGlvbi5uYW1lfUNoYW5nZWBdIGFzIEV2ZW50RW1pdHRlcjxhbnk+O1xuICAgICAgZW1pdHRlcj8uZW1pdChuZXdWYWx1ZSk7XG4gICAgICB0aGlzLmludGVybmFsT3B0aW9uQ2hhbmdlZCh7IG5hbWU6IG9wdGlvbi5uYW1lLCB2YWx1ZTogbmV3VmFsdWUgfSk7XG4gICAgfVxuICAgIGlmIChvcHRpb24uYWZ0ZXJDYWxsYmFjaykgb3B0aW9uLmFmdGVyQ2FsbGJhY2sob2xkVmFsdWUsIG5ld1ZhbHVlKTtcbiAgfVxufVxuIl19
|
@@ -45,14 +45,35 @@ export class MXButtonBaseComponent extends classes(MXInteractiveComponent, MXCol
|
|
45
45
|
},
|
46
46
|
});
|
47
47
|
}
|
48
|
+
/**
|
49
|
+
* @ignore
|
50
|
+
*/
|
48
51
|
constructor() {
|
49
52
|
super();
|
53
|
+
/**
|
54
|
+
* Emits an event when the text associated with the button changes.
|
55
|
+
*
|
56
|
+
* @event
|
57
|
+
*/
|
50
58
|
this.textChange = new EventEmitter();
|
59
|
+
/**
|
60
|
+
* Emits an event when the toggleable state of the action sheet changes.
|
61
|
+
*
|
62
|
+
* @event
|
63
|
+
*/
|
51
64
|
this.toggleableChange = new EventEmitter();
|
52
65
|
this._toggleable = false;
|
66
|
+
/**
|
67
|
+
* Emits an event whenever the selection state of the component changes.
|
68
|
+
*
|
69
|
+
* @event
|
70
|
+
*/
|
53
71
|
this.selectedChange = new EventEmitter();
|
54
72
|
this._selected = false;
|
55
73
|
}
|
74
|
+
/**
|
75
|
+
* @ignore
|
76
|
+
*/
|
56
77
|
get cssClasses() {
|
57
78
|
const cssClasses = {
|
58
79
|
'ax-button-icon': !this.text,
|
@@ -64,4 +85,4 @@ export class MXButtonBaseComponent extends classes(MXInteractiveComponent, MXCol
|
|
64
85
|
return cssClasses;
|
65
86
|
}
|
66
87
|
}
|
67
|
-
//# sourceMappingURL=data:application/json;base64,
|
88
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLWJhc2UtY29tcG9uZW50LmNsYXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NvbW1vbi9zcmMvbGliL2NvbXBvbmVudHMvYnV0dG9uLWJhc2UtY29tcG9uZW50LmNsYXNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDN0MsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUNuQyxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUNuRSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBT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ICBhZnRlckNhbGxiYWNrOiAoKSA9PiB7XG4gICAgICAgIHRoaXMuY2RyLm1hcmtGb3JDaGVjaygpO1xuICAgICAgfSxcbiAgICB9KTtcbiAgfVxuICAgIC8qKlxuICAgKiAgQGlnbm9yZVxuICAgKi9cbiAgY29uc3RydWN0b3IoKSB7XG4gICAgc3VwZXIoKTtcbiAgfVxuICAvKipcbiAgICogIEBpZ25vcmVcbiAgICovXG4gIHByb3RlY3RlZCBnZXQgY3NzQ2xhc3NlcygpIHtcbiAgICBjb25zdCBjc3NDbGFzc2VzID0ge1xuICAgICAgJ2F4LWJ1dHRvbi1pY29uJzogIXRoaXMudGV4dCxcbiAgICAgICdheC1zdGF0ZS1kaXNhYmxlZCc6IHRoaXMuZGlzYWJsZWQsXG4gICAgICAnYXgtc3RhdGUtc2VsZWN0ZWQnOiB0aGlzLnNlbGVjdGVkLFxuICAgICAgJ2F4LWVsLWludGVyYWN0aXZlJzogdHJ1ZSxcbiAgICB9O1xuICAgIGNzc0NsYXNzZXNbYGF4LWVsLSR7dGhpc1snY29sb3InXSB8fCAnc29saWQnfSR7dGhpc1snbG9vayddID8gJy0nICsgdGhpc1snbG9vayddIDogJy1zb2xpZCd9YF0gPSB0cnVlO1xuICAgIHJldHVybiBjc3NDbGFzc2VzO1xuICB9XG59XG4iXX0=
|
@@ -6,8 +6,16 @@ import { MXBaseComponent } from './base-component.class';
|
|
6
6
|
export class MXInteractiveComponent extends MXBaseComponent {
|
7
7
|
constructor() {
|
8
8
|
super(...arguments);
|
9
|
+
/**
|
10
|
+
* @ignore
|
11
|
+
*/
|
9
12
|
this.onTouchedCallback = noop;
|
10
13
|
this._touched = false;
|
14
|
+
/**
|
15
|
+
* Emits an event whenever the disabled state of the component changes.
|
16
|
+
*
|
17
|
+
* @event
|
18
|
+
*/
|
11
19
|
this.disabledChange = new EventEmitter();
|
12
20
|
this._tabIndex = 0;
|
13
21
|
/**
|
@@ -31,9 +39,16 @@ export class MXInteractiveComponent extends MXBaseComponent {
|
|
31
39
|
registerOnTouched(fn) {
|
32
40
|
this.onTouchedCallback = fn;
|
33
41
|
}
|
42
|
+
/**
|
43
|
+
* Indicates whether the component has been touched.
|
44
|
+
*
|
45
|
+
*/
|
34
46
|
get touched() {
|
35
47
|
return this._touched;
|
36
48
|
}
|
49
|
+
/**
|
50
|
+
* @ignore
|
51
|
+
*/
|
37
52
|
markAsTouched() {
|
38
53
|
if (!this.touched) {
|
39
54
|
this.onTouchedCallback();
|
@@ -111,4 +126,4 @@ export class MXInteractiveComponent extends MXBaseComponent {
|
|
111
126
|
return AXHtmlUtil.hasFocus(this.getHostElement());
|
112
127
|
}
|
113
128
|
}
|
114
|
-
//# sourceMappingURL=data:application/json;base64,
|
129
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJhY3RpdmUtY29tcG9uZW50LmNsYXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NvbW1vbi9zcmMvbGliL2NvbXBvbmVudHMvaW50ZXJhY3RpdmUtY29tcG9uZW50LmNsYXNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUNwRixPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzdDLE9BQU8sRUFBRSxJQUFJLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFFNUIsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBRXpELE1BQU0sT0FBTyxzQkFBdUIsU0FBUSxlQUFlO0lBQTNEOztRQUNJOztTQUVDO1FBQ08sc0JB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lbnQ+KCk7XG5cbiAgLy8gcHJvdGVjdGVkIGVtaXRPbkNsaWNrRXZlbnQoZTogTW91c2VFdmVudCk6IHZvaWQge1xuICAvLyAgIHRoaXMub25DbGljay5lbWl0KHtcbiAgLy8gICAgIGNvbXBvbmVudDogdGhpcyxcbiAgLy8gICAgIGh0bWxFbGVtZW50OiB0aGlzLmdldEhvc3RFbGVtZW50KCksXG4gIC8vICAgICBuYXRpdmVFdmVudDogZSxcbiAgLy8gICB9KTtcbiAgLy8gfVxuXG4gIGZvY3VzKCkge1xuICAgIEFYSHRtbFV0aWwuZm9jdXNFbGVtZW50KHRoaXMuZ2V0SG9zdEVsZW1lbnQoKSk7XG4gIH1cblxuICBibHVyKCkge1xuICAgIEFYSHRtbFV0aWwuYmx1ckVsZW1lbnQodGhpcy5nZXRIb3N0RWxlbWVudCgpKTtcbiAgfVxuXG4gIC8qKlxuICAgKiAgQ2hlY2sgY29tcG9uZW50IGlzIGZvY3VzZWQgb3IgaGFzIGFueSBmb2N1c2VkIGVsZW1lbnQuXG4gICAqL1xuICBoYXNGb2N1cygpOiBib29sZWFuIHtcbiAgICByZXR1cm4gQVhIdG1sVXRpbC5oYXNGb2N1cyh0aGlzLmdldEhvc3RFbGVtZW50KCkpO1xuICB9XG5cbiAgLy8gcHJpdmF0ZSBfZm9jdXNlZCA9IHNpZ25hbChmYWxzZSk7XG5cbiAgLy8gcHJvdGVjdGVkIG1hcmtBc0ZvY3VzZWQoKSB7XG4gIC8vICAgdGhpcy5fZm9jdXNlZC5zZXQodHJ1ZSk7XG4gIC8vIH1cblxuICAvLyBwcm90ZWN0ZWQgbWFya0FzQmx1cmVkKCkge1xuICAvLyAgIHRoaXMuX2ZvY3VzZWQuc2V0KGZhbHNlKTtcbiAgLy8gfVxufVxuIl19
|
package/esm2022/conversation/lib/conversation-container/conversation-container.component.mjs
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
import { Component, ViewEncapsulation } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
|
+
/**
|
4
|
+
* A container for displaying and managing conversations.
|
5
|
+
* @category Components
|
6
|
+
*/
|
3
7
|
export class AXConversationContainerComponent {
|
4
8
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXConversationContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
5
9
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXConversationContainerComponent, selector: "ax-conversation-container", ngImport: i0, template: "<div class=\"ax-conversation-container\">\n <ng-content> </ng-content>\n</div>\n", styles: ["ax-conversation-container{width:100%}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
@@ -8,4 +12,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
8
12
|
type: Component,
|
9
13
|
args: [{ selector: 'ax-conversation-container', encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-conversation-container\">\n <ng-content> </ng-content>\n</div>\n", styles: ["ax-conversation-container{width:100%}\n"] }]
|
10
14
|
}] });
|
11
|
-
//# sourceMappingURL=data:application/json;base64,
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udmVyc2F0aW9uLWNvbnRhaW5lci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29udmVyc2F0aW9uL3NyYy9saWIvY29udmVyc2F0aW9uLWNvbnRhaW5lci9jb252ZXJzYXRpb24tY29udGFpbmVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb252ZXJzYXRpb24vc3JjL2xpYi9jb252ZXJzYXRpb24tY29udGFpbmVyL2NvbnZlcnNhdGlvbi1jb250YWluZXIuY29tcG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decorators";
|
|
11
11
|
import * as i4 from "@acorex/components/dropdown";
|
12
12
|
import * as i5 from "@angular/common";
|
13
13
|
import * as i6 from "@acorex/core/translation";
|
14
|
+
/**
|
15
|
+
* An input component for entering conversation messages.
|
16
|
+
*
|
17
|
+
* @category Components
|
18
|
+
*/
|
14
19
|
export class AXConversationInputComponent extends classes((MXInputBaseValueComponent), MXLookComponent) {
|
15
20
|
constructor() {
|
16
21
|
super(...arguments);
|
22
|
+
/**
|
23
|
+
* @ignore
|
24
|
+
*/
|
17
25
|
this.conversationService = inject(AXConversationService);
|
26
|
+
/**
|
27
|
+
* @ignore
|
28
|
+
*/
|
18
29
|
this.chats = computed(() => {
|
19
30
|
return this.conversationService.chats();
|
20
31
|
});
|
32
|
+
/**
|
33
|
+
* @ignore
|
34
|
+
*/
|
21
35
|
this.replyChat = computed(() => {
|
22
36
|
const findMessage = this.chats().find((item) => item.id === this.conversationService.replyId());
|
23
37
|
return findMessage;
|
24
38
|
});
|
39
|
+
/** Maximum length of input text */
|
25
40
|
this.maxLength = input();
|
41
|
+
/** Indicates if an attachment is present */
|
26
42
|
this.hasAttachment = input();
|
43
|
+
/** Indicates if voice recording is enabled */
|
27
44
|
this.haVoice = input();
|
45
|
+
/** Acceptable file types for attachment */
|
28
46
|
this.acceptFileType = input('*');
|
47
|
+
/**
|
48
|
+
* Emitted when the send button is clicked.
|
49
|
+
*
|
50
|
+
* @event
|
51
|
+
*/
|
29
52
|
this.onSendClick = output();
|
53
|
+
/**
|
54
|
+
* Emitted when recording starts.
|
55
|
+
*
|
56
|
+
* @event
|
57
|
+
*/
|
30
58
|
this.onStartRecording = output();
|
59
|
+
/**
|
60
|
+
* Emitted when recording is canceled.
|
61
|
+
*
|
62
|
+
* @event
|
63
|
+
*/
|
31
64
|
this.onCancelRecording = output();
|
65
|
+
/**
|
66
|
+
* @ignore
|
67
|
+
*/
|
32
68
|
this.recording = signal(false);
|
69
|
+
/**
|
70
|
+
* @ignore
|
71
|
+
*/
|
33
72
|
this.recordingService = inject(AXRecordingService);
|
73
|
+
/**
|
74
|
+
* @ignore
|
75
|
+
*/
|
34
76
|
this._updateOn = 'change';
|
35
77
|
}
|
78
|
+
/**
|
79
|
+
* @ignore
|
80
|
+
*/
|
36
81
|
_handleModelChange(value) {
|
37
82
|
this.commitValue(value, true);
|
38
83
|
}
|
84
|
+
/**
|
85
|
+
* Initiates recording when the record button is clicked.
|
86
|
+
* Emits an event when recording starts.
|
87
|
+
* @ignore
|
88
|
+
*/
|
39
89
|
handleRecordClick() {
|
40
90
|
this.recording.set(true);
|
41
91
|
this.recordingService
|
@@ -51,6 +101,10 @@ export class AXConversationInputComponent extends classes((MXInputBaseValueCompo
|
|
51
101
|
throw e;
|
52
102
|
});
|
53
103
|
}
|
104
|
+
/**
|
105
|
+
* Cancels the recording and emits an event to indicate cancellation.
|
106
|
+
* @ignore
|
107
|
+
*/
|
54
108
|
handleCancelRecordingClick() {
|
55
109
|
this.recording.set(false);
|
56
110
|
this.onCancelRecording.emit({
|
@@ -58,15 +112,27 @@ export class AXConversationInputComponent extends classes((MXInputBaseValueCompo
|
|
58
112
|
data: { value: null },
|
59
113
|
});
|
60
114
|
}
|
115
|
+
/**
|
116
|
+
* Opens the file picker for attachment.
|
117
|
+
* @ignore
|
118
|
+
*/
|
61
119
|
handleAttachClick() {
|
62
120
|
this.inputFile.nativeElement.click();
|
63
121
|
}
|
122
|
+
/**
|
123
|
+
* Emits the selected files when the file input changes.
|
124
|
+
* @ignore
|
125
|
+
*/
|
64
126
|
handleChangeFile(event) {
|
65
127
|
this.onSendClick.emit({
|
66
128
|
component: this,
|
67
129
|
data: { value: event.target.files, type: 'file' },
|
68
130
|
});
|
69
131
|
}
|
132
|
+
/**
|
133
|
+
* Emits the text value and optional replyChat when the send button is clicked.
|
134
|
+
* @ignore
|
135
|
+
*/
|
70
136
|
handleSendClick() {
|
71
137
|
this.onSendClick.emit({
|
72
138
|
component: this,
|
@@ -75,6 +141,10 @@ export class AXConversationInputComponent extends classes((MXInputBaseValueCompo
|
|
75
141
|
});
|
76
142
|
this.conversationService.replyId.set('');
|
77
143
|
}
|
144
|
+
/**
|
145
|
+
* Ends recording and emits the recorded voice data when the send voice button is clicked.
|
146
|
+
* @ignore
|
147
|
+
*/
|
78
148
|
handleSendVoiceClick() {
|
79
149
|
this.recordingService.endRecording().then((c) => {
|
80
150
|
this.recording.set(false);
|
@@ -85,6 +155,10 @@ export class AXConversationInputComponent extends classes((MXInputBaseValueCompo
|
|
85
155
|
});
|
86
156
|
});
|
87
157
|
}
|
158
|
+
/**
|
159
|
+
* Clears the reply ID when closing a reply.
|
160
|
+
* @ignore
|
161
|
+
*/
|
88
162
|
closeReplyHandler() {
|
89
163
|
this.conversationService.replyId.set('');
|
90
164
|
}
|
@@ -116,4 +190,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
116
190
|
type: ViewChild,
|
117
191
|
args: ['inputFile']
|
118
192
|
}] } });
|
119
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udmVyc2F0aW9uLWlucHV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb252ZXJzYXRpb24vc3JjL2xpYi9jb252ZXJzYXRpb24taW5wdXQvY29udmVyc2F0aW9uLWlucHV0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb252ZXJzYXRpb24vc3JjL2xpYi9jb252ZXJzYXRpb24taW5wdXQvY29udmVyc2F0aW9uLWlucHV0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFFTCxXQUFXLEVBQ1gsb0JBQW9CLEVBQ3BCLG1CQUFtQixFQUNuQix5QkFBeUI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WNvbiBheC1pY29uLW1pY1wiPjwvaT5cbiAgICAgICAgICA8L2F4LWljb24+XG4gICAgICAgIDwvYXgtYnV0dG9uPlxuICAgICAgICA8aW5wdXQgbXVsdGlwbGUgI2lucHV0RmlsZSBbYWNjZXB0XT1cImFjY2VwdEZpbGVUeXBlKClcIiB0eXBlPVwiZmlsZVwiIGNsYXNzPVwiYXgtYXR0YWNoLWlucHV0XCIgKGNoYW5nZSk9XCJoYW5kbGVDaGFuZ2VGaWxlKCRldmVudClcIiAvPlxuICAgICAgfSBAZWxzZSB7XG4gICAgICAgIDxheC1idXR0b24gbG9vaz1cInNvbGlkXCIgY29sb3I9XCJwcmltYXJ5XCIgY2xhc3M9XCJheC1zbVwiIChvbkNsaWNrKT1cImhhbmRsZVNlbmRDbGljaygpXCI+XG4gICAgICAgICAgPGF4LWljb24+XG4gICAgICAgICAgICA8aSBjbGFzcz1cImF4LWljb24gYXgtaWNvbi1zZW5kXCI+PC9pPlxuICAgICAgICAgIDwvYXgtaWNvbj5cbiAgICAgICAgPC9heC1idXR0b24+XG4gICAgICB9XG4gICAgPC9kaXY+XG4gIH1cbjwvZGl2PlxuIl19
|
193
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udmVyc2F0aW9uLWlucHV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb252ZXJzYXRpb24vc3JjL2xpYi9jb252ZXJzYXRpb24taW5wdXQvY29udmVyc2F0aW9uLWlucHV0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb252ZXJzYXRpb24vc3JjL2xpYi9jb252ZXJzYXRpb24taW5wdXQvY29udmVyc2F0aW9uLWlucHV0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwc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