@acorex/components 18.5.12 → 18.5.14
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +29 -4
- package/calendar/lib/calendar-range.component.d.ts +2 -1
- package/comment/index.d.ts +1 -1
- package/comment/lib/comment-container/comment-container.component.d.ts +1 -1
- package/comment/lib/comment-item/comment-item.component.d.ts +1 -1
- package/comment/lib/comment-reply-text/comment-reply-text.component.d.ts +5 -0
- package/comment/lib/comment.module.d.ts +6 -6
- package/datetime-box/lib/datetime-box.component.d.ts +1 -1
- package/dialog/lib/dialog.class.d.ts +1 -0
- package/esm2022/calendar/lib/calendar-range.component.mjs +7 -7
- package/esm2022/calendar/lib/calendar.component.mjs +3 -3
- package/esm2022/comment/index.mjs +2 -2
- package/esm2022/comment/lib/comment-container/comment-container.component.mjs +3 -3
- package/esm2022/comment/lib/comment-item/comment-item.component.mjs +4 -5
- package/esm2022/comment/lib/comment-reply-text/comment-reply-text.component.mjs +12 -0
- package/esm2022/comment/lib/comment.module.mjs +7 -7
- package/esm2022/datetime-box/lib/datetime-box.component.mjs +2 -2
- package/esm2022/datetime-picker/lib/datetime-picker.component.mjs +4 -1
- package/esm2022/dialog/lib/dialog.class.mjs +1 -1
- package/esm2022/dialog/lib/dialog.component.mjs +3 -3
- package/esm2022/number-box/lib/number-box.component.mjs +1 -1
- package/esm2022/uploader/index.mjs +2 -1
- package/esm2022/uploader/lib/uploader-browse-handle.directive.mjs +3 -3
- package/esm2022/uploader/lib/uploader-drop-zone.component.mjs +1 -1
- package/esm2022/uploader/lib/uploader-zone.directive.mjs +41 -12
- package/esm2022/uploader/lib/uploader.models.mjs +37 -31
- package/esm2022/uploader/lib/uploader.module.mjs +3 -8
- package/esm2022/uploader/lib/uploader.service.mjs +20 -5
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +2 -2
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.mjs +62 -19
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.mjs +24 -5
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg.service.mjs +2 -1
- package/fesm2022/acorex-components-calendar.mjs +8 -8
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +27 -48
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +3 -0
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +2 -2
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +101 -54
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +84 -22
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/number-box/lib/number-box.component.d.ts +1 -1
- package/package.json +43 -43
- package/uploader/index.d.ts +1 -0
- package/uploader/lib/uploader-zone.directive.d.ts +9 -5
- package/uploader/lib/uploader.models.d.ts +26 -9
- package/uploader/lib/uploader.module.d.ts +10 -11
- package/uploader/lib/uploader.service.d.ts +8 -4
- package/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.d.ts +19 -4
- package/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.d.ts +6 -1
- package/wysiwyg/lib/wysiwyg/wysiwyg.service.d.ts +1 -0
- package/comment/lib/comment-input/comment-input.component.d.ts +0 -10
- package/esm2022/comment/lib/comment-input/comment-input.component.mjs +0 -33
@@ -1,15 +1,19 @@
|
|
1
|
-
import { ElementRef, OnDestroy } from '@angular/core';
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
2
|
+
import { AXUploaderChangedEvent, AXUploaderFileCompleteEvent, AXUploaderFilesCompleteEvent } from './uploader.models';
|
2
3
|
import * as i0 from "@angular/core";
|
3
4
|
export declare class AXUploaderZoneDirective implements OnDestroy {
|
4
5
|
private elementRef;
|
5
6
|
multiple: boolean;
|
6
|
-
|
7
|
+
accept: string;
|
7
8
|
private uploadService;
|
9
|
+
private unsubscriber;
|
8
10
|
private translateService;
|
9
11
|
private element;
|
12
|
+
onChanged: EventEmitter<AXUploaderChangedEvent>;
|
13
|
+
onFileUploadComplete: EventEmitter<AXUploaderFileCompleteEvent>;
|
14
|
+
onFilesUploadComplete: EventEmitter<AXUploaderFilesCompleteEvent>;
|
10
15
|
stateClass: string;
|
11
16
|
overlayElement: HTMLDivElement;
|
12
|
-
init(): void;
|
13
17
|
constructor(elementRef: ElementRef);
|
14
18
|
ngOnDestroy(): void;
|
15
19
|
private handleDragEnter;
|
@@ -17,8 +21,8 @@ export declare class AXUploaderZoneDirective implements OnDestroy {
|
|
17
21
|
private handleDragOver;
|
18
22
|
private createZone;
|
19
23
|
private removeZone;
|
20
|
-
browser(): void
|
24
|
+
browser(): Promise<void>;
|
21
25
|
get __hostClass(): string;
|
22
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXUploaderZoneDirective, never>;
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXUploaderZoneDirective, "[axUploaderZone]", never, { "multiple": { "alias": "multiple"; "required": false; }; }, {}, never, never, false, never>;
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXUploaderZoneDirective, "[axUploaderZone]", never, { "multiple": { "alias": "multiple"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; }, { "onChanged": "onChanged"; "onFileUploadComplete": "onFileUploadComplete"; "onFilesUploadComplete": "onFilesUploadComplete"; }, never, never, false, never>;
|
24
28
|
}
|
@@ -1,19 +1,36 @@
|
|
1
|
+
import { AXEvent } from '@acorex/components/common';
|
1
2
|
export type AXUploadStatus = 'new' | 'inprogress' | 'completed' | 'failed' | 'canceled';
|
3
|
+
export interface AXUploaderChangedEvent extends AXEvent {
|
4
|
+
requests: AXUploadRequest[];
|
5
|
+
}
|
6
|
+
export interface AXUploaderFileCompleteEvent extends AXEvent {
|
7
|
+
uploadedFile: AXUploadRequest;
|
8
|
+
}
|
9
|
+
export interface AXUploaderFilesCompleteEvent extends AXEvent {
|
10
|
+
uploadedFiles: AXUploadRequest[];
|
11
|
+
}
|
2
12
|
export declare class AXUploadRequest {
|
3
|
-
private
|
13
|
+
private uploadFile;
|
4
14
|
get name(): string;
|
5
15
|
get ext(): string;
|
6
16
|
get size(): number;
|
7
|
-
|
8
|
-
readonly
|
9
|
-
|
17
|
+
get file(): File;
|
18
|
+
private readonly _progress;
|
19
|
+
progress: import("@angular/core").Signal<number>;
|
20
|
+
private readonly _estimateTime;
|
21
|
+
estimateTime: import("@angular/core").Signal<number>;
|
22
|
+
private readonly _status;
|
23
|
+
status: import("@angular/core").Signal<AXUploadStatus>;
|
10
24
|
private startTime;
|
11
25
|
private bytesTransferred;
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
constructor(
|
26
|
+
onStart: (file: AXUploadRequest) => void;
|
27
|
+
onCancel: (file: AXUploadRequest) => void;
|
28
|
+
onComplete: (file: AXUploadRequest) => void;
|
29
|
+
constructor(uploadFile: File);
|
16
30
|
private estimateTimeRemaining;
|
31
|
+
setTransferredBytes(value: number): void;
|
32
|
+
private updateEstimateTime;
|
17
33
|
upload(): Promise<void>;
|
18
|
-
cancel():
|
34
|
+
cancel(): void;
|
35
|
+
finish(data?: any): void;
|
19
36
|
}
|
@@ -5,18 +5,17 @@ import * as i3 from "./uploader-zone.directive";
|
|
5
5
|
import * as i4 from "./uploader-browse-handle.directive";
|
6
6
|
import * as i5 from "./uploader-dialog-container.component";
|
7
7
|
import * as i6 from "@angular/common";
|
8
|
-
import * as i7 from "@
|
9
|
-
import * as i8 from "@acorex/components/
|
10
|
-
import * as i9 from "@acorex/
|
11
|
-
import * as i10 from "@acorex/
|
12
|
-
import * as i11 from "@acorex/
|
13
|
-
import * as i12 from "@acorex/core/
|
14
|
-
import * as i13 from "@acorex/core/
|
15
|
-
import * as i14 from "@acorex/
|
16
|
-
import * as i15 from "@acorex/components/
|
17
|
-
import * as i16 from "@acorex/components/popup";
|
8
|
+
import * as i7 from "@acorex/components/decorators";
|
9
|
+
import * as i8 from "@acorex/components/button";
|
10
|
+
import * as i9 from "@acorex/core/translation";
|
11
|
+
import * as i10 from "@acorex/components/progress-bar";
|
12
|
+
import * as i11 from "@acorex/core/format";
|
13
|
+
import * as i12 from "@acorex/core/file";
|
14
|
+
import * as i13 from "@acorex/core/date-time";
|
15
|
+
import * as i14 from "@acorex/components/circular-progress";
|
16
|
+
import * as i15 from "@acorex/components/popup";
|
18
17
|
export declare class AXUploaderModule {
|
19
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXUploaderModule, never>;
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXUploaderModule, [typeof i1.AXUploaderDropZoneComponent, typeof i2.AXUploaderListComponent, typeof i3.AXUploaderZoneDirective, typeof i4.AXUploaderBrowseDirective, typeof i5.AXUploaderDialogContainerComponent], [typeof i6.CommonModule, typeof i7.
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXUploaderModule, [typeof i1.AXUploaderDropZoneComponent, typeof i2.AXUploaderListComponent, typeof i3.AXUploaderZoneDirective, typeof i4.AXUploaderBrowseDirective, typeof i5.AXUploaderDialogContainerComponent], [typeof i6.CommonModule, typeof i7.AXDecoratorModule, typeof i8.AXButtonModule, typeof i9.AXTranslationModule, typeof i10.AXProgressBarModule, typeof i11.AXFormatModule, typeof i12.AXFileModule, typeof i13.AXDateTimeModule, typeof i14.AXCircularProgressModule, typeof i15.AXPopupModule], [typeof i1.AXUploaderDropZoneComponent, typeof i3.AXUploaderZoneDirective, typeof i4.AXUploaderBrowseDirective, typeof i5.AXUploaderDialogContainerComponent]>;
|
21
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXUploaderModule>;
|
22
21
|
}
|
@@ -1,18 +1,22 @@
|
|
1
|
-
import { BehaviorSubject } from 'rxjs';
|
2
|
-
import { AXUploadRequest } from './uploader.models';
|
1
|
+
import { BehaviorSubject, Subject } from 'rxjs';
|
2
|
+
import { AXUploaderFileCompleteEvent, AXUploaderFilesCompleteEvent, AXUploadRequest } from './uploader.models';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class AXUploaderService {
|
5
5
|
private popupService;
|
6
6
|
private fileService;
|
7
7
|
private files$;
|
8
8
|
get files(): BehaviorSubject<AXUploadRequest[]>;
|
9
|
+
readonly onFileUploadComplete: Subject<AXUploaderFileCompleteEvent>;
|
10
|
+
readonly onFilesUploadComplete: Subject<AXUploaderFilesCompleteEvent>;
|
9
11
|
readonly totalEstimateTime: import("rxjs").Observable<number>;
|
10
12
|
private showDialog;
|
11
13
|
private convertFileToRequest;
|
12
14
|
private startUpload;
|
13
|
-
browse(
|
15
|
+
browse(options?: {
|
16
|
+
multiple?: boolean;
|
17
|
+
accept?: string;
|
18
|
+
}): Promise<AXUploadRequest[]>;
|
14
19
|
add(files: FileList | File[]): Promise<AXUploadRequest[]>;
|
15
|
-
upload(): void;
|
16
20
|
cancelAll(): Promise<void>;
|
17
21
|
clearAll(): void;
|
18
22
|
remove(item: AXUploadRequest): void;
|
@@ -3,21 +3,36 @@ import { AXClickEvent, AXDataSource, AXPlacement } from '@acorex/components/comm
|
|
3
3
|
import { AXPopoverCloseTrigger, AXPopoverOpenTrigger } from '@acorex/components/popover';
|
4
4
|
import { AXWysiwygService } from '../wysiwyg.service';
|
5
5
|
import * as i0 from "@angular/core";
|
6
|
+
type ConfigType = {
|
7
|
+
bold: boolean;
|
8
|
+
undo: boolean;
|
9
|
+
redo: boolean;
|
10
|
+
italic: boolean;
|
11
|
+
underLine: boolean;
|
12
|
+
strike: boolean;
|
13
|
+
color: boolean;
|
14
|
+
highlight: boolean;
|
15
|
+
fontSize: boolean;
|
16
|
+
list: boolean;
|
17
|
+
alignment: boolean;
|
18
|
+
image: boolean;
|
19
|
+
};
|
6
20
|
export declare class AXWysiwygToolbarComponent {
|
7
21
|
outputHTML: import("@angular/core").OutputEmitterRef<AXClickEvent>;
|
8
22
|
service: AXWysiwygService;
|
23
|
+
config: import("@angular/core").InputSignal<ConfigType>;
|
9
24
|
protected wysiwyg: import("@angular/core").WritableSignal<AXWysiwyg>;
|
10
25
|
protected boldState: import("@angular/core").WritableSignal<boolean>;
|
11
26
|
protected italicState: import("@angular/core").WritableSignal<boolean>;
|
12
27
|
protected underLineState: import("@angular/core").WritableSignal<boolean>;
|
13
28
|
protected strikeLineState: import("@angular/core").WritableSignal<boolean>;
|
14
|
-
protected
|
15
|
-
protected unOrderListState: import("@angular/core").WritableSignal<string>;
|
29
|
+
protected listState: import("@angular/core").WritableSignal<string>;
|
16
30
|
protected alignState: import("@angular/core").WritableSignal<string>;
|
17
31
|
protected selectedFont: string;
|
18
32
|
protected selectedColor: string;
|
19
33
|
protected selectedHighlightColor: string;
|
20
34
|
protected linkAddress: string;
|
35
|
+
constructor();
|
21
36
|
protected fontSize: AXDataSource<string>;
|
22
37
|
protected popoverOption: {
|
23
38
|
openOn: AXPopoverOpenTrigger;
|
@@ -32,7 +47,6 @@ export declare class AXWysiwygToolbarComponent {
|
|
32
47
|
size: string;
|
33
48
|
};
|
34
49
|
submitLink(): void;
|
35
|
-
constructor();
|
36
50
|
changeColorHandler(e: string): void;
|
37
51
|
changeHighlightColorHandler(e: string): void;
|
38
52
|
fontHandler(e: any): void;
|
@@ -48,5 +62,6 @@ export declare class AXWysiwygToolbarComponent {
|
|
48
62
|
strike(): void;
|
49
63
|
background(): void;
|
50
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygToolbarComponent, never>;
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygToolbarComponent, "ax-wysiwyg-toolbar", never, {}, { "outputHTML": "outputHTML"; }, never, ["ax-prefix", "ax-suffix"], false, never>;
|
65
|
+
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>;
|
52
66
|
}
|
67
|
+
export {};
|
@@ -1,5 +1,10 @@
|
|
1
|
+
import { AXWysiwygService } from '../wysiwyg.service';
|
1
2
|
import * as i0 from "@angular/core";
|
2
3
|
export declare class AXWysiwygViewComponent {
|
4
|
+
classes: import("@angular/core").InputSignal<string>;
|
5
|
+
wysiwygService: AXWysiwygService;
|
6
|
+
get __hostClass(): string;
|
7
|
+
editorStateHandler(e: any): void;
|
3
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygViewComponent, never>;
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygViewComponent, "ax-wysiwyg-view", never, {}, {}, never, never, false, never>;
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygViewComponent, "ax-wysiwyg-view", never, { "classes": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
5
10
|
}
|
@@ -2,6 +2,7 @@ import { AXWysiwyg } from '@acorex/cdk/wysiwyg';
|
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export declare class AXWysiwygService {
|
4
4
|
wysiwyg: import("@angular/core").WritableSignal<AXWysiwyg>;
|
5
|
+
currentSelectedElemArray: import("@angular/core").WritableSignal<string[]>;
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygService, never>;
|
6
7
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXWysiwygService>;
|
7
8
|
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { AXClickEvent } from '@acorex/components/common';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class AXCommentInputComponent {
|
4
|
-
commentType: import("@angular/core").InputSignal<"advance" | "basic">;
|
5
|
-
commentValue: import("@angular/core").OutputEmitterRef<AXClickEvent>;
|
6
|
-
getHTML(e: any): void;
|
7
|
-
basicOut(e: any): void;
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCommentInputComponent, never>;
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCommentInputComponent, "ax-comment-input", never, { "commentType": { "alias": "commentType"; "required": false; "isSignal": true; }; }, { "commentValue": "commentValue"; }, never, never, false, never>;
|
10
|
-
}
|
@@ -1,33 +0,0 @@
|
|
1
|
-
import { Component, input, output, ViewEncapsulation } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
import * as i1 from "@acorex/components/decorators";
|
4
|
-
import * as i2 from "@acorex/components/wysiwyg";
|
5
|
-
import * as i3 from "@acorex/components/button";
|
6
|
-
import * as i4 from "@acorex/components/text-area";
|
7
|
-
export class AXCommentInputComponent {
|
8
|
-
constructor() {
|
9
|
-
this.commentType = input('advance');
|
10
|
-
this.commentValue = output();
|
11
|
-
}
|
12
|
-
getHTML(e) {
|
13
|
-
this.commentValue.emit({
|
14
|
-
component: this,
|
15
|
-
data: { value: e.data.value },
|
16
|
-
isUserInteraction: true,
|
17
|
-
});
|
18
|
-
}
|
19
|
-
basicOut(e) {
|
20
|
-
this.commentValue.emit({
|
21
|
-
component: this,
|
22
|
-
data: { value: e.value },
|
23
|
-
isUserInteraction: true,
|
24
|
-
});
|
25
|
-
}
|
26
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
27
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXCommentInputComponent, selector: "ax-comment-input", inputs: { commentType: { classPropertyName: "commentType", publicName: "commentType", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { commentValue: "commentValue" }, ngImport: i0, template: "@if (commentType() === 'advance') {\n <ax-wysiwyg-container>\n <ax-wysiwyg-view></ax-wysiwyg-view>\n <ax-wysiwyg-toolbar (outputHTML)=\"getHTML($event)\" #t>\n <ax-suffix> <ax-button color=\"primary\" text=\"Send Message\" (onClick)=\"t.out()\"></ax-button></ax-suffix>\n </ax-wysiwyg-toolbar>\n </ax-wysiwyg-container>\n} @else if (commentType() === 'basic') {\n <div class=\"comment-basic-input-container ax-sm\">\n <ax-text-area #a [rows]=\"4\" placeholder=\"Write Your Message ...\" [allowResize]=\"false\"> </ax-text-area>\n <ax-button (onClick)=\"basicOut(a)\" color=\"primary\" text=\"Send Message\"></ax-button>\n </div>\n}\n", styles: [".comment-basic-input-container ax-button{margin-top:1rem}\n"], dependencies: [{ 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" }, { kind: "component", type: i2.AXWysiwygContainerComponent, selector: "ax-wysiwyg-container" }, { kind: "component", type: i2.AXWysiwygViewComponent, selector: "ax-wysiwyg-view" }, { kind: "component", type: i2.AXWysiwygToolbarComponent, selector: "ax-wysiwyg-toolbar", outputs: ["outputHTML"] }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i4.AXTextAreaComponent, selector: "ax-text-area", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "placeholder", "maxLength", "look", "rows", "allowResize", "showCounter"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
28
|
-
}
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentInputComponent, decorators: [{
|
30
|
-
type: Component,
|
31
|
-
args: [{ selector: 'ax-comment-input', encapsulation: ViewEncapsulation.None, template: "@if (commentType() === 'advance') {\n <ax-wysiwyg-container>\n <ax-wysiwyg-view></ax-wysiwyg-view>\n <ax-wysiwyg-toolbar (outputHTML)=\"getHTML($event)\" #t>\n <ax-suffix> <ax-button color=\"primary\" text=\"Send Message\" (onClick)=\"t.out()\"></ax-button></ax-suffix>\n </ax-wysiwyg-toolbar>\n </ax-wysiwyg-container>\n} @else if (commentType() === 'basic') {\n <div class=\"comment-basic-input-container ax-sm\">\n <ax-text-area #a [rows]=\"4\" placeholder=\"Write Your Message ...\" [allowResize]=\"false\"> </ax-text-area>\n <ax-button (onClick)=\"basicOut(a)\" color=\"primary\" text=\"Send Message\"></ax-button>\n </div>\n}\n", styles: [".comment-basic-input-container ax-button{margin-top:1rem}\n"] }]
|
32
|
-
}] });
|
33
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVudC1pbnB1dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbWVudC9zcmMvbGliL2NvbW1lbnQtaW5wdXQvY29tbWVudC1pbnB1dC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbWVudC9zcmMvbGliL2NvbW1lbnQtaW5wdXQvY29tbWVudC1pbnB1dC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7Ozs7OztBQVE1RSxNQUFNLE9BQU8sdUJBQXVCO0lBTnBDO1FB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