@acorex/components 18.4.4 → 18.5.1
Sign up to get free protection for your applications and to get access to all the features.
- package/alert/lib/alert.component.d.ts +15 -36
- package/comment/README.md +3 -0
- package/comment/index.d.ts +9 -0
- package/comment/lib/comment-container/comment-container.component.d.ts +5 -0
- package/comment/lib/comment-input/comment-input.component.d.ts +10 -0
- package/comment/lib/comment-item/comment-item.component.d.ts +9 -0
- package/comment/lib/comment-like/comment-like.component.d.ts +6 -0
- package/comment/lib/comment-reply/comment-reply.component.d.ts +5 -0
- package/comment/lib/comment-view/comment-view.component.d.ts +5 -0
- package/comment/lib/comment.module.d.ts +17 -0
- package/comment/lib/comment.types.d.ts +3 -0
- package/comment/lib/services/comment.service.d.ts +6 -0
- package/esm2022/alert/lib/alert.component.mjs +37 -133
- package/esm2022/avatar/lib/avatar.component.mjs +2 -2
- package/esm2022/badge/lib/badge.component.mjs +2 -2
- package/esm2022/bottom-navigation/lib/bottom-navigation-item/bottom-navigation-item.component.mjs +2 -2
- package/esm2022/bottom-navigation/lib/bottom-navigation.component.mjs +1 -1
- package/esm2022/bottom-navigation/lib/bottom-navigation.module.mjs +3 -8
- package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +2 -5
- package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +2 -2
- package/esm2022/button/lib/button-item.class.mjs +1 -1
- package/esm2022/button/lib/button.module.mjs +5 -26
- package/esm2022/check-box/lib/check-box.component.mjs +3 -11
- package/esm2022/circular-progress/lib/circular-progress.component.mjs +1 -1
- package/esm2022/color-box/lib/color-box.module.mjs +3 -11
- package/esm2022/color-palette/lib/color-palette-input.component.mjs +9 -15
- package/esm2022/color-palette/lib/color-palette-preview.component.mjs +6 -14
- package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +16 -17
- package/esm2022/color-palette/lib/color-palette.class.mjs +1 -1
- package/esm2022/color-palette/lib/color-palette.component.mjs +5 -21
- package/esm2022/comment/acorex-components-comment.mjs +5 -0
- package/esm2022/comment/index.mjs +10 -0
- package/esm2022/comment/lib/comment-container/comment-container.component.mjs +12 -0
- package/esm2022/comment/lib/comment-input/comment-input.component.mjs +33 -0
- package/esm2022/comment/lib/comment-item/comment-item.component.mjs +21 -0
- package/esm2022/comment/lib/comment-like/comment-like.component.mjs +15 -0
- package/esm2022/comment/lib/comment-reply/comment-reply.component.mjs +12 -0
- package/esm2022/comment/lib/comment-view/comment-view.component.mjs +11 -0
- package/esm2022/comment/lib/comment.module.mjs +48 -0
- package/esm2022/comment/lib/comment.types.mjs +2 -0
- package/esm2022/comment/lib/services/comment.service.mjs +19 -0
- package/esm2022/common/lib/classes/events.class.mjs +1 -1
- package/esm2022/common/lib/classes/styles.class.mjs +2 -10
- package/esm2022/common/lib/common.module.mjs +4 -20
- package/esm2022/common/lib/components/colorlook-component.class.mjs +1 -1
- package/esm2022/common/lib/components/input-base-value-component.class.mjs +1 -1
- package/esm2022/common/lib/directives/auto-focus.directive.mjs +4 -12
- package/esm2022/common/lib/directives/hotkey.directive.mjs +3 -4
- package/esm2022/common/lib/directives/infinite-scroll.directive.mjs +2 -3
- package/esm2022/common/lib/directives/responsive.directive.mjs +3 -8
- package/esm2022/common/lib/directives/ripple.directive.mjs +4 -6
- package/esm2022/common/lib/types/placement.mjs +6 -26
- package/esm2022/conversation/lib/conversation-input/conversation-input.component.mjs +3 -3
- package/esm2022/data-pager/lib/data-pager-info.component.mjs +4 -10
- package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +2 -2
- package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +3 -3
- package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +8 -36
- package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +3 -3
- package/esm2022/data-table/lib/data-table/data-table.component.mjs +1 -1
- package/esm2022/datetime-box/lib/datetime-box.module.mjs +3 -15
- package/esm2022/datetime-picker/lib/datetime-picker.component.mjs +7 -8
- package/esm2022/datetime-picker/lib/datetime-picker.config.mjs +1 -1
- package/esm2022/decorators/lib/components/clear-button.component.mjs +6 -21
- package/esm2022/decorators/lib/components/close-button.component.mjs +5 -15
- package/esm2022/decorators/lib/decorators.module.mjs +3 -14
- package/esm2022/dialog/lib/dialog.class.mjs +1 -1
- package/esm2022/dialog/lib/dialog.component.mjs +4 -6
- package/esm2022/dialog/lib/dialog.module.mjs +2 -2
- package/esm2022/drawer/lib/drawer-container.component.mjs +2 -2
- package/esm2022/dropdown/lib/dropdown.module.mjs +4 -21
- package/esm2022/dropdown-button/lib/dropdown-button.component.mjs +4 -12
- package/esm2022/dropdown-button/lib/dropdown-button.module.mjs +4 -23
- package/esm2022/form/lib/form.config.mjs +1 -1
- package/esm2022/form/lib/validation-rule.directive.mjs +2 -2
- package/esm2022/form/lib/validation-summary.component.mjs +30 -46
- package/esm2022/image/lib/image.component.mjs +2 -2
- package/esm2022/label/lib/label.component.mjs +2 -2
- package/esm2022/loading/lib/loading-spinner.component.mjs +3 -3
- package/esm2022/loading/lib/loading.component.mjs +5 -17
- package/esm2022/loading/lib/loading.config.mjs +1 -1
- package/esm2022/loading/lib/loading.directive.mjs +1 -1
- package/esm2022/loading/lib/loading.module.mjs +3 -11
- package/esm2022/loading/lib/loading.service.mjs +5 -11
- package/esm2022/loading-dialog/lib/loading-dialog.class.mjs +1 -1
- package/esm2022/loading-dialog/lib/loading-dialog.component.mjs +4 -6
- package/esm2022/loading-dialog/lib/loading-dialog.module.mjs +4 -23
- package/esm2022/loading-dialog/lib/loading-dialog.service.mjs +1 -1
- package/esm2022/menu/lib/class/root-menu.class.mjs +1 -1
- package/esm2022/nav/lib/nav-item/nav-item.component.mjs +3 -3
- package/esm2022/nav/lib/nav.component.mjs +2 -2
- package/esm2022/navbar/lib/navbar.component.mjs +2 -2
- package/esm2022/notification/lib/notification.class.mjs +1 -1
- package/esm2022/notification/lib/notification.component.mjs +6 -10
- package/esm2022/notification/lib/notification.config.mjs +1 -1
- package/esm2022/notification/lib/notification.module.mjs +4 -18
- package/esm2022/notification/lib/notification.service.mjs +6 -13
- package/esm2022/number-box/lib/number-box.module.mjs +3 -13
- package/esm2022/page/lib/base-page.class.mjs +3 -3
- package/esm2022/password-box/lib/password-box.component.mjs +3 -13
- package/esm2022/phone-box/lib/phone-box.component.mjs +1 -1
- package/esm2022/picker/lib/picker-column.directive.mjs +2 -2
- package/esm2022/picker/lib/picker.component.mjs +7 -13
- package/esm2022/popup/lib/popup.component.mjs +3 -3
- package/esm2022/popup/lib/popup.module.mjs +2 -2
- package/esm2022/popup/lib/popup.service.mjs +2 -2
- package/esm2022/progress-bar/lib/progress-bar.component.mjs +1 -1
- package/esm2022/radio/lib/radio.component.mjs +2 -10
- package/esm2022/result/lib/result.component.mjs +2 -2
- package/esm2022/routing-progress/lib/routing-progress.component.mjs +3 -3
- package/esm2022/scheduler/lib/scheduler-month-view.component.mjs +2 -2
- package/esm2022/scheduler/lib/scheduler-week-view.component.mjs +2 -2
- package/esm2022/scheduler/lib/scheduler.component.mjs +2 -2
- package/esm2022/scheduler/lib/scheduler.module.mjs +4 -22
- package/esm2022/scss/lib/scss.module.mjs +2 -2
- package/esm2022/selection-list/lib/selection-list.component.mjs +4 -10
- package/esm2022/selection-list/lib/selection-list.module.mjs +4 -21
- package/esm2022/skeleton/lib/skeleton.component.mjs +2 -2
- package/esm2022/step-wizard/lib/step-wizard-item/step-wizard-item.component.mjs +2 -2
- package/esm2022/step-wizard/lib/step-wizard.class.mjs +1 -1
- package/esm2022/step-wizard/lib/step-wizard.component.mjs +1 -1
- package/esm2022/step-wizard/lib/step-wizard.module.mjs +3 -11
- package/esm2022/switch/lib/switch-content.component.mjs +1 -1
- package/esm2022/switch/lib/switch.component.mjs +3 -10
- package/esm2022/tabs/lib/tab-item.component.mjs +32 -36
- package/esm2022/tabs/lib/tabs.class.mjs +1 -1
- package/esm2022/tabs/lib/tabs.component.mjs +1 -1
- package/esm2022/tag/lib/tag.component.mjs +2 -2
- package/esm2022/text-box/lib/mask-options.directive.mjs +1 -1
- package/esm2022/text-box/lib/text-box.component.mjs +3 -4
- package/esm2022/text-box/lib/text-box.module.mjs +4 -18
- package/esm2022/toast/lib/toast.component.mjs +3 -3
- package/esm2022/toast/lib/toast.config.mjs +1 -1
- package/esm2022/toast/lib/toast.module.mjs +4 -16
- package/esm2022/toast/lib/toast.service.mjs +7 -16
- package/esm2022/uploader/lib/uploader-browse-handle.directive.mjs +2 -2
- package/esm2022/uploader/lib/uploader-dialog-container.component.mjs +3 -3
- package/esm2022/uploader/lib/uploader-list.component.mjs +2 -2
- package/esm2022/uploader/lib/uploader-zone.directive.mjs +2 -2
- package/esm2022/uploader/lib/uploader.models.mjs +1 -1
- package/esm2022/uploader/lib/uploader.module.mjs +3 -11
- package/esm2022/wysiwyg/acorex-components-wysiwyg.mjs +5 -0
- package/esm2022/wysiwyg/index.mjs +5 -0
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +28 -0
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.mjs +113 -0
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.mjs +11 -0
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg.service.mjs +13 -0
- package/esm2022/wysiwyg/lib/wysiwyg.module.mjs +27 -0
- package/fesm2022/acorex-components-alert.mjs +37 -132
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +2 -7
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +1 -4
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +4 -25
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +1 -9
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +2 -10
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +22 -53
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +153 -0
- package/fesm2022/acorex-components-comment.mjs.map +1 -0
- package/fesm2022/acorex-components-common.mjs +17 -78
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +2 -2
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +12 -46
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +2 -14
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +1 -2
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +7 -43
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +1 -3
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +4 -31
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +3 -20
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +28 -44
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +4 -25
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +11 -37
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-nav.mjs.map +1 -1
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +8 -33
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +2 -12
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-page.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +1 -11
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +6 -12
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +1 -9
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +3 -21
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-scss.mjs +1 -1
- package/fesm2022/acorex-components-scss.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +5 -28
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +3 -11
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +1 -8
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +30 -34
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +4 -19
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +7 -28
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +3 -11
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +184 -0
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -0
- package/form/lib/validation-rule.directive.d.ts +1 -1
- package/package.json +61 -49
- package/uploader/lib/uploader-list.component.d.ts +1 -1
- package/wysiwyg/README.md +3 -0
- package/wysiwyg/index.d.ts +4 -0
- package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +13 -0
- package/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.d.ts +28 -0
- package/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.d.ts +5 -0
- package/wysiwyg/lib/wysiwyg/wysiwyg.service.d.ts +7 -0
- package/wysiwyg/lib/wysiwyg.module.d.ts +13 -0
@@ -0,0 +1,184 @@
|
|
1
|
+
import * as i1 from '@acorex/components/button';
|
2
|
+
import { AXButtonModule } from '@acorex/components/button';
|
3
|
+
import * as i2 from '@acorex/components/decorators';
|
4
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
5
|
+
import * as i3 from '@acorex/components/select-box';
|
6
|
+
import { AXSelectBoxModule } from '@acorex/components/select-box';
|
7
|
+
import * as i0 from '@angular/core';
|
8
|
+
import { signal, Injectable, inject, afterNextRender, Component, ViewEncapsulation, output, NgModule } from '@angular/core';
|
9
|
+
import * as i4 from '@angular/forms';
|
10
|
+
import { FormsModule } from '@angular/forms';
|
11
|
+
import { AXWysiwyg } from '@acorex/cdk/wysiwyg';
|
12
|
+
import { MXBaseComponent, AXDataSource } from '@acorex/components/common';
|
13
|
+
import 'quill/dist/quill.core.css';
|
14
|
+
|
15
|
+
class AXWysiwygService {
|
16
|
+
constructor() {
|
17
|
+
this.wysiwyg = signal(null);
|
18
|
+
}
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
20
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygService }); }
|
21
|
+
}
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygService, decorators: [{
|
23
|
+
type: Injectable
|
24
|
+
}] });
|
25
|
+
|
26
|
+
class AXWysiwygContainerComponent extends MXBaseComponent {
|
27
|
+
constructor() {
|
28
|
+
super();
|
29
|
+
this.wysiwyg = signal(null);
|
30
|
+
this.view = signal(null);
|
31
|
+
this.service = inject(AXWysiwygService);
|
32
|
+
afterNextRender(() => {
|
33
|
+
this.view.set(this.getHostElement().querySelector('ax-wysiwyg-view'));
|
34
|
+
this.wysiwyg.set(new AXWysiwyg(this.view(), {
|
35
|
+
placeholder: 'Write Your Message ...',
|
36
|
+
}));
|
37
|
+
this.service.wysiwyg.set(this.wysiwyg());
|
38
|
+
});
|
39
|
+
}
|
40
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
41
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXWysiwygContainerComponent, selector: "ax-wysiwyg-container", usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: ["ax-wysiwyg-container{border:1px solid rgb(var(--ax-color-border-default));border-radius:var(--ax-rounded-border-default);width:100%;display:block;overflow-x:auto}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
42
|
+
}
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygContainerComponent, decorators: [{
|
44
|
+
type: Component,
|
45
|
+
args: [{ selector: 'ax-wysiwyg-container', encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>\n", styles: ["ax-wysiwyg-container{border:1px solid rgb(var(--ax-color-border-default));border-radius:var(--ax-rounded-border-default);width:100%;display:block;overflow-x:auto}\n"] }]
|
46
|
+
}], ctorParameters: () => [] });
|
47
|
+
|
48
|
+
class AXWysiwygToolbarComponent {
|
49
|
+
constructor() {
|
50
|
+
this.outputHTML = output();
|
51
|
+
this.service = inject(AXWysiwygService);
|
52
|
+
this.wysiwyg = signal(null);
|
53
|
+
this.boldState = signal(false);
|
54
|
+
this.italicState = signal(false);
|
55
|
+
this.underLineState = signal(false);
|
56
|
+
this.orderListState = signal('');
|
57
|
+
this.unOrderListState = signal('');
|
58
|
+
this.alignState = signal('');
|
59
|
+
this.fontSize = new AXDataSource({
|
60
|
+
pageSize: 10,
|
61
|
+
key: 'id',
|
62
|
+
load: (e) => {
|
63
|
+
return new Promise((resolve) => {
|
64
|
+
resolve({
|
65
|
+
items: ['small', 'medium', 'large', 'huge'],
|
66
|
+
total: 4,
|
67
|
+
});
|
68
|
+
});
|
69
|
+
},
|
70
|
+
byKey: (key) => {
|
71
|
+
return new Promise((resolve) => {
|
72
|
+
resolve('medium');
|
73
|
+
});
|
74
|
+
},
|
75
|
+
});
|
76
|
+
this.selectedFont = 'medium';
|
77
|
+
afterNextRender(() => {
|
78
|
+
this.wysiwyg.set(this.service.wysiwyg());
|
79
|
+
});
|
80
|
+
}
|
81
|
+
fontHandler(e) {
|
82
|
+
this.wysiwyg().fontSize(e);
|
83
|
+
}
|
84
|
+
bold() {
|
85
|
+
if (this.boldState()) {
|
86
|
+
this.wysiwyg().bold(false);
|
87
|
+
this.boldState.set(false);
|
88
|
+
}
|
89
|
+
else {
|
90
|
+
this.wysiwyg().bold(true);
|
91
|
+
this.boldState.set(true);
|
92
|
+
}
|
93
|
+
}
|
94
|
+
out() {
|
95
|
+
this.outputHTML.emit({
|
96
|
+
component: this,
|
97
|
+
data: { value: this.wysiwyg().HTMLoutput },
|
98
|
+
isUserInteraction: true,
|
99
|
+
});
|
100
|
+
}
|
101
|
+
italic() {
|
102
|
+
if (this.italicState()) {
|
103
|
+
this.wysiwyg().italic(false);
|
104
|
+
this.italicState.set(false);
|
105
|
+
}
|
106
|
+
else {
|
107
|
+
this.wysiwyg().italic(true);
|
108
|
+
this.italicState.set(true);
|
109
|
+
}
|
110
|
+
}
|
111
|
+
underLine() {
|
112
|
+
if (this.underLineState()) {
|
113
|
+
this.wysiwyg().underLine(false);
|
114
|
+
this.underLineState.set(false);
|
115
|
+
}
|
116
|
+
else {
|
117
|
+
this.wysiwyg().underLine(true);
|
118
|
+
this.underLineState.set(true);
|
119
|
+
}
|
120
|
+
}
|
121
|
+
orderList() {
|
122
|
+
if (this.orderListState()) {
|
123
|
+
this.wysiwyg().list('');
|
124
|
+
this.orderListState.set('');
|
125
|
+
}
|
126
|
+
else {
|
127
|
+
this.wysiwyg().list('ordered');
|
128
|
+
this.orderListState.set('ordered');
|
129
|
+
}
|
130
|
+
}
|
131
|
+
unOrderList() {
|
132
|
+
if (this.unOrderListState()) {
|
133
|
+
this.wysiwyg().list('');
|
134
|
+
this.unOrderListState.set('');
|
135
|
+
}
|
136
|
+
else {
|
137
|
+
this.wysiwyg().list('bullet');
|
138
|
+
this.unOrderListState.set('bullet');
|
139
|
+
}
|
140
|
+
}
|
141
|
+
alignStateHandler(e) {
|
142
|
+
this.alignState.set(e);
|
143
|
+
this.wysiwyg().align(e);
|
144
|
+
}
|
145
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
146
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXWysiwygToolbarComponent, selector: "ax-wysiwyg-toolbar", outputs: { outputHTML: "outputHTML" }, ngImport: i0, template: "<div class=\"ax-wysiwyg-toolbar-container ax-sm\">\n <ng-content select=\"ax-prefix\"></ng-content>\n\n <div class=\"ax-wysiwyg-tool-container\">\n <ax-button class=\"\" (click)=\"bold()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-bold\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"italic()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-italic\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"underLine()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-under-line\"></ax-icon>\n </ax-button>\n\n <ax-select-box (ngModelChange)=\"fontHandler($event)\" [ngModel]=\"selectedFont\" [dataSource]=\"fontSize\" placeholder=\"Choose...\">\n </ax-select-box>\n\n <ax-button (click)=\"orderList()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-order-list\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"unOrderList()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-un-order-list\"></ax-icon>\n </ax-button>\n\n <ax-button\n (click)=\"alignStateHandler('left')\"\n [look]=\"alignState() !== 'left' && 'blank'\"\n [color]=\"alignState() === 'left' && 'primary'\"\n >\n <ax-icon class=\"ax-icon ax-icon-align-left\"></ax-icon>\n </ax-button>\n\n <ax-button\n (click)=\"alignStateHandler('center')\"\n [look]=\"alignState() !== 'center' && 'blank'\"\n [color]=\"alignState() === 'center' && 'primary'\"\n >\n <ax-icon class=\"ax-icon ax-icon-align-center\"></ax-icon>\n </ax-button>\n\n <ax-button\n (click)=\"alignStateHandler('right')\"\n [look]=\"alignState() !== 'right' && 'blank'\"\n [color]=\"alignState() === 'right' && 'primary'\"\n >\n <ax-icon class=\"ax-icon ax-icon-align-right\"></ax-icon>\n </ax-button>\n </div>\n\n <ng-content select=\"ax-suffix\"></ng-content>\n</div>\n", styles: [".ax-wysiwyg-toolbar-container{display:flex;justify-content:space-between;align-items:center;padding:.5rem 1rem}.ax-wysiwyg-toolbar-container .ax-icon{font-weight:900;font-size:1rem}.ax-wysiwyg-toolbar-container .ax-wysiwyg-tool-container{display:flex}.ax-wysiwyg-toolbar-container .ax-wysiwyg-tool-container ax-button{margin-inline:.1rem}.ax-wysiwyg-toolbar-container .ax-wysiwyg-tool-container ax-select-box{margin-inline:1rem}\n"], dependencies: [{ kind: "component", type: i1.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: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "dataSource", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
|
147
|
+
}
|
148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygToolbarComponent, decorators: [{
|
149
|
+
type: Component,
|
150
|
+
args: [{ selector: 'ax-wysiwyg-toolbar', template: "<div class=\"ax-wysiwyg-toolbar-container ax-sm\">\n <ng-content select=\"ax-prefix\"></ng-content>\n\n <div class=\"ax-wysiwyg-tool-container\">\n <ax-button class=\"\" (click)=\"bold()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-bold\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"italic()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-italic\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"underLine()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-under-line\"></ax-icon>\n </ax-button>\n\n <ax-select-box (ngModelChange)=\"fontHandler($event)\" [ngModel]=\"selectedFont\" [dataSource]=\"fontSize\" placeholder=\"Choose...\">\n </ax-select-box>\n\n <ax-button (click)=\"orderList()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-order-list\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"unOrderList()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-un-order-list\"></ax-icon>\n </ax-button>\n\n <ax-button\n (click)=\"alignStateHandler('left')\"\n [look]=\"alignState() !== 'left' && 'blank'\"\n [color]=\"alignState() === 'left' && 'primary'\"\n >\n <ax-icon class=\"ax-icon ax-icon-align-left\"></ax-icon>\n </ax-button>\n\n <ax-button\n (click)=\"alignStateHandler('center')\"\n [look]=\"alignState() !== 'center' && 'blank'\"\n [color]=\"alignState() === 'center' && 'primary'\"\n >\n <ax-icon class=\"ax-icon ax-icon-align-center\"></ax-icon>\n </ax-button>\n\n <ax-button\n (click)=\"alignStateHandler('right')\"\n [look]=\"alignState() !== 'right' && 'blank'\"\n [color]=\"alignState() === 'right' && 'primary'\"\n >\n <ax-icon class=\"ax-icon ax-icon-align-right\"></ax-icon>\n </ax-button>\n </div>\n\n <ng-content select=\"ax-suffix\"></ng-content>\n</div>\n", styles: [".ax-wysiwyg-toolbar-container{display:flex;justify-content:space-between;align-items:center;padding:.5rem 1rem}.ax-wysiwyg-toolbar-container .ax-icon{font-weight:900;font-size:1rem}.ax-wysiwyg-toolbar-container .ax-wysiwyg-tool-container{display:flex}.ax-wysiwyg-toolbar-container .ax-wysiwyg-tool-container ax-button{margin-inline:.1rem}.ax-wysiwyg-toolbar-container .ax-wysiwyg-tool-container ax-select-box{margin-inline:1rem}\n"] }]
|
151
|
+
}], ctorParameters: () => [] });
|
152
|
+
|
153
|
+
class AXWysiwygViewComponent {
|
154
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
155
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXWysiwygViewComponent, selector: "ax-wysiwyg-view", ngImport: i0, template: "<!-- wysiwyg editor render here -->\n", styles: ["ax-wysiwyg-view{display:block;width:100%;border-bottom:1px solid rgb(var(--ax-color-border-default))}.ql-container{font-family:inherit}.ql-editor.ql-blank:before{color:rgb(var(--ax-color-neutral-400));font-weight:600;font-style:normal}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
156
|
+
}
|
157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygViewComponent, decorators: [{
|
158
|
+
type: Component,
|
159
|
+
args: [{ selector: 'ax-wysiwyg-view', encapsulation: ViewEncapsulation.None, template: "<!-- wysiwyg editor render here -->\n", styles: ["ax-wysiwyg-view{display:block;width:100%;border-bottom:1px solid rgb(var(--ax-color-border-default))}.ql-container{font-family:inherit}.ql-editor.ql-blank:before{color:rgb(var(--ax-color-neutral-400));font-weight:600;font-style:normal}\n"] }]
|
160
|
+
}] });
|
161
|
+
|
162
|
+
const COMPONENT = [AXWysiwygContainerComponent, AXWysiwygViewComponent, AXWysiwygToolbarComponent];
|
163
|
+
const MODULES = [AXButtonModule, AXDecoratorModule, AXSelectBoxModule, FormsModule];
|
164
|
+
class AXWysiwygModule {
|
165
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
166
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygModule, declarations: [AXWysiwygContainerComponent, AXWysiwygViewComponent, AXWysiwygToolbarComponent], imports: [AXButtonModule, AXDecoratorModule, AXSelectBoxModule, FormsModule], exports: [AXWysiwygContainerComponent, AXWysiwygViewComponent, AXWysiwygToolbarComponent] }); }
|
167
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygModule, providers: [AXWysiwygService], imports: [MODULES] }); }
|
168
|
+
}
|
169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygModule, decorators: [{
|
170
|
+
type: NgModule,
|
171
|
+
args: [{
|
172
|
+
declarations: [...COMPONENT],
|
173
|
+
imports: [...MODULES],
|
174
|
+
exports: [...COMPONENT],
|
175
|
+
providers: [AXWysiwygService],
|
176
|
+
}]
|
177
|
+
}] });
|
178
|
+
|
179
|
+
/**
|
180
|
+
* Generated bundle index. Do not edit.
|
181
|
+
*/
|
182
|
+
|
183
|
+
export { AXWysiwygContainerComponent, AXWysiwygModule, AXWysiwygToolbarComponent, AXWysiwygViewComponent };
|
184
|
+
//# sourceMappingURL=acorex-components-wysiwyg.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-components-wysiwyg.mjs","sources":["../../../../libs/components/wysiwyg/src/lib/wysiwyg/wysiwyg.service.ts","../../../../libs/components/wysiwyg/src/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.ts","../../../../libs/components/wysiwyg/src/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.html","../../../../libs/components/wysiwyg/src/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.ts","../../../../libs/components/wysiwyg/src/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.html","../../../../libs/components/wysiwyg/src/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.ts","../../../../libs/components/wysiwyg/src/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.html","../../../../libs/components/wysiwyg/src/lib/wysiwyg.module.ts","../../../../libs/components/wysiwyg/src/acorex-components-wysiwyg.ts"],"sourcesContent":["import { AXWysiwyg } from '@acorex/cdk/wysiwyg';\nimport { Injectable, signal } from '@angular/core';\n\n@Injectable()\nexport class AXWysiwygService {\n wysiwyg = signal<AXWysiwyg | null>(null);\n}\n","import { AXWysiwyg } from '@acorex/cdk/wysiwyg';\nimport { MXBaseComponent } from '@acorex/components/common';\nimport { Component, ViewEncapsulation, afterNextRender, inject, signal } from '@angular/core';\nimport 'quill/dist/quill.core.css';\nimport { AXWysiwygService } from '../wysiwyg.service';\n\n@Component({\n selector: 'ax-wysiwyg-container',\n templateUrl: './wysiwyg-container.component.html',\n styleUrl: './wysiwyg-container.component.scss',\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXWysiwygContainerComponent extends MXBaseComponent {\n wysiwyg = signal<AXWysiwyg>(null);\n view = signal<HTMLElement | null>(null);\n service = inject(AXWysiwygService);\n\n constructor() {\n super();\n afterNextRender(() => {\n this.view.set(this.getHostElement().querySelector('ax-wysiwyg-view') as HTMLElement);\n\n this.wysiwyg.set(\n new AXWysiwyg(this.view(), {\n placeholder: 'Write Your Message ...',\n }),\n );\n\n this.service.wysiwyg.set(this.wysiwyg());\n });\n }\n}\n","<ng-content></ng-content>\n","import { AXWysiwyg } from '@acorex/cdk/wysiwyg';\nimport { AXClickEvent, AXDataSource } from '@acorex/components/common';\nimport { Component, afterNextRender, inject, output, signal } from '@angular/core';\nimport { AXWysiwygService } from '../wysiwyg.service';\n\n@Component({\n selector: 'ax-wysiwyg-toolbar',\n templateUrl: './wysiwyg-toolbar.component.html',\n styleUrl: './wysiwyg-toolbar.component.scss',\n})\nexport class AXWysiwygToolbarComponent {\n outputHTML = output<AXClickEvent>();\n service = inject(AXWysiwygService);\n\n wysiwyg = signal<AXWysiwyg | null>(null);\n boldState = signal(false);\n italicState = signal(false);\n underLineState = signal(false);\n orderListState = signal('');\n unOrderListState = signal('');\n alignState = signal('');\n\n protected fontSize = new AXDataSource<string>({\n pageSize: 10,\n key: 'id',\n load: (e) => {\n return new Promise((resolve) => {\n resolve({\n items: ['small', 'medium', 'large', 'huge'],\n total: 4,\n });\n });\n },\n byKey: (key) => {\n return new Promise((resolve) => {\n resolve('medium');\n });\n },\n });\n protected selectedFont = 'medium';\n\n constructor() {\n afterNextRender(() => {\n this.wysiwyg.set(this.service.wysiwyg());\n });\n }\n\n fontHandler(e: any) {\n this.wysiwyg().fontSize(e);\n }\n\n bold() {\n if (this.boldState()) {\n this.wysiwyg().bold(false);\n this.boldState.set(false);\n } else {\n this.wysiwyg().bold(true);\n this.boldState.set(true);\n }\n }\n\n out() {\n this.outputHTML.emit({\n component: this,\n data: { value: this.wysiwyg().HTMLoutput },\n isUserInteraction: true,\n });\n }\n\n italic() {\n if (this.italicState()) {\n this.wysiwyg().italic(false);\n this.italicState.set(false);\n } else {\n this.wysiwyg().italic(true);\n this.italicState.set(true);\n }\n }\n\n underLine() {\n if (this.underLineState()) {\n this.wysiwyg().underLine(false);\n this.underLineState.set(false);\n } else {\n this.wysiwyg().underLine(true);\n this.underLineState.set(true);\n }\n }\n\n orderList() {\n if (this.orderListState()) {\n this.wysiwyg().list('');\n this.orderListState.set('');\n } else {\n this.wysiwyg().list('ordered');\n this.orderListState.set('ordered');\n }\n }\n\n unOrderList() {\n if (this.unOrderListState()) {\n this.wysiwyg().list('');\n this.unOrderListState.set('');\n } else {\n this.wysiwyg().list('bullet');\n this.unOrderListState.set('bullet');\n }\n }\n\n alignStateHandler(e: any) {\n this.alignState.set(e);\n this.wysiwyg().align(e);\n }\n}\n","<div class=\"ax-wysiwyg-toolbar-container ax-sm\">\n <ng-content select=\"ax-prefix\"></ng-content>\n\n <div class=\"ax-wysiwyg-tool-container\">\n <ax-button class=\"\" (click)=\"bold()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-bold\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"italic()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-italic\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"underLine()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-under-line\"></ax-icon>\n </ax-button>\n\n <ax-select-box (ngModelChange)=\"fontHandler($event)\" [ngModel]=\"selectedFont\" [dataSource]=\"fontSize\" placeholder=\"Choose...\">\n </ax-select-box>\n\n <ax-button (click)=\"orderList()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-order-list\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"unOrderList()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-un-order-list\"></ax-icon>\n </ax-button>\n\n <ax-button\n (click)=\"alignStateHandler('left')\"\n [look]=\"alignState() !== 'left' && 'blank'\"\n [color]=\"alignState() === 'left' && 'primary'\"\n >\n <ax-icon class=\"ax-icon ax-icon-align-left\"></ax-icon>\n </ax-button>\n\n <ax-button\n (click)=\"alignStateHandler('center')\"\n [look]=\"alignState() !== 'center' && 'blank'\"\n [color]=\"alignState() === 'center' && 'primary'\"\n >\n <ax-icon class=\"ax-icon ax-icon-align-center\"></ax-icon>\n </ax-button>\n\n <ax-button\n (click)=\"alignStateHandler('right')\"\n [look]=\"alignState() !== 'right' && 'blank'\"\n [color]=\"alignState() === 'right' && 'primary'\"\n >\n <ax-icon class=\"ax-icon ax-icon-align-right\"></ax-icon>\n </ax-button>\n </div>\n\n <ng-content select=\"ax-suffix\"></ng-content>\n</div>\n","import { Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'ax-wysiwyg-view',\n templateUrl: './wysiwyg-view.component.html',\n styleUrl: './wysiwyg-view.component.scss',\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXWysiwygViewComponent {}\n","<!-- wysiwyg editor render here -->\n","import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXSelectBoxModule } from '@acorex/components/select-box';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXWysiwygContainerComponent } from './wysiwyg/wysiwyg-container/wysiwyg-container.component';\n\nimport { AXWysiwygToolbarComponent } from './wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component';\nimport { AXWysiwygViewComponent } from './wysiwyg/wysiwyg-view/wysiwyg-view.component';\nimport { AXWysiwygService } from './wysiwyg/wysiwyg.service';\n\nconst COMPONENT = [AXWysiwygContainerComponent, AXWysiwygViewComponent, AXWysiwygToolbarComponent];\nconst MODULES = [AXButtonModule, AXDecoratorModule, AXSelectBoxModule, FormsModule];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [AXWysiwygService],\n})\nexport class AXWysiwygModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;MAIa,gBAAgB,CAAA;AAD7B,IAAA,WAAA,GAAA;AAEE,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAmB,IAAI,CAAC,CAAC;AAC1C,KAAA;8GAFY,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;kHAAhB,gBAAgB,EAAA,CAAA,CAAA,EAAA;;2FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAD5B,UAAU;;;ACSL,MAAO,2BAA4B,SAAQ,e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AC;AAC9B,iBAAA,CAAA;;;ACnBD;;AAEG;;;;"}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
2
1
|
import { AXValuableComponent } from '@acorex/components/common';
|
3
2
|
import { AXValidationRuleOptions } from '@acorex/core/validation';
|
3
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class AXValidationRuleDirective implements OnInit, OnDestroy {
|
6
6
|
private host;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@acorex/components",
|
3
|
-
"version": "18.
|
3
|
+
"version": "18.5.1",
|
4
4
|
"peerDependencies": {
|
5
5
|
"@angular/common": ">=18.0.0",
|
6
6
|
"@angular/core": ">=18.0.0",
|
@@ -49,18 +49,18 @@
|
|
49
49
|
"esm": "./esm2022/badge/acorex-components-badge.mjs",
|
50
50
|
"default": "./fesm2022/acorex-components-badge.mjs"
|
51
51
|
},
|
52
|
-
"./alert": {
|
53
|
-
"types": "./alert/index.d.ts",
|
54
|
-
"esm2022": "./esm2022/alert/acorex-components-alert.mjs",
|
55
|
-
"esm": "./esm2022/alert/acorex-components-alert.mjs",
|
56
|
-
"default": "./fesm2022/acorex-components-alert.mjs"
|
57
|
-
},
|
58
52
|
"./audio-wave": {
|
59
53
|
"types": "./audio-wave/index.d.ts",
|
60
54
|
"esm2022": "./esm2022/audio-wave/acorex-components-audio-wave.mjs",
|
61
55
|
"esm": "./esm2022/audio-wave/acorex-components-audio-wave.mjs",
|
62
56
|
"default": "./fesm2022/acorex-components-audio-wave.mjs"
|
63
57
|
},
|
58
|
+
"./alert": {
|
59
|
+
"types": "./alert/index.d.ts",
|
60
|
+
"esm2022": "./esm2022/alert/acorex-components-alert.mjs",
|
61
|
+
"esm": "./esm2022/alert/acorex-components-alert.mjs",
|
62
|
+
"default": "./fesm2022/acorex-components-alert.mjs"
|
63
|
+
},
|
64
64
|
"./breadcrumbs": {
|
65
65
|
"types": "./breadcrumbs/index.d.ts",
|
66
66
|
"esm2022": "./esm2022/breadcrumbs/acorex-components-breadcrumbs.mjs",
|
@@ -103,42 +103,48 @@
|
|
103
103
|
"esm": "./esm2022/circular-progress/acorex-components-circular-progress.mjs",
|
104
104
|
"default": "./fesm2022/acorex-components-circular-progress.mjs"
|
105
105
|
},
|
106
|
-
"./color-box": {
|
107
|
-
"types": "./color-box/index.d.ts",
|
108
|
-
"esm2022": "./esm2022/color-box/acorex-components-color-box.mjs",
|
109
|
-
"esm": "./esm2022/color-box/acorex-components-color-box.mjs",
|
110
|
-
"default": "./fesm2022/acorex-components-color-box.mjs"
|
111
|
-
},
|
112
106
|
"./collapse": {
|
113
107
|
"types": "./collapse/index.d.ts",
|
114
108
|
"esm2022": "./esm2022/collapse/acorex-components-collapse.mjs",
|
115
109
|
"esm": "./esm2022/collapse/acorex-components-collapse.mjs",
|
116
110
|
"default": "./fesm2022/acorex-components-collapse.mjs"
|
117
111
|
},
|
112
|
+
"./color-box": {
|
113
|
+
"types": "./color-box/index.d.ts",
|
114
|
+
"esm2022": "./esm2022/color-box/acorex-components-color-box.mjs",
|
115
|
+
"esm": "./esm2022/color-box/acorex-components-color-box.mjs",
|
116
|
+
"default": "./fesm2022/acorex-components-color-box.mjs"
|
117
|
+
},
|
118
118
|
"./color-palette": {
|
119
119
|
"types": "./color-palette/index.d.ts",
|
120
120
|
"esm2022": "./esm2022/color-palette/acorex-components-color-palette.mjs",
|
121
121
|
"esm": "./esm2022/color-palette/acorex-components-color-palette.mjs",
|
122
122
|
"default": "./fesm2022/acorex-components-color-palette.mjs"
|
123
123
|
},
|
124
|
+
"./comment": {
|
125
|
+
"types": "./comment/index.d.ts",
|
126
|
+
"esm2022": "./esm2022/comment/acorex-components-comment.mjs",
|
127
|
+
"esm": "./esm2022/comment/acorex-components-comment.mjs",
|
128
|
+
"default": "./fesm2022/acorex-components-comment.mjs"
|
129
|
+
},
|
124
130
|
"./common": {
|
125
131
|
"types": "./common/index.d.ts",
|
126
132
|
"esm2022": "./esm2022/common/acorex-components-common.mjs",
|
127
133
|
"esm": "./esm2022/common/acorex-components-common.mjs",
|
128
134
|
"default": "./fesm2022/acorex-components-common.mjs"
|
129
135
|
},
|
130
|
-
"./data-pager": {
|
131
|
-
"types": "./data-pager/index.d.ts",
|
132
|
-
"esm2022": "./esm2022/data-pager/acorex-components-data-pager.mjs",
|
133
|
-
"esm": "./esm2022/data-pager/acorex-components-data-pager.mjs",
|
134
|
-
"default": "./fesm2022/acorex-components-data-pager.mjs"
|
135
|
-
},
|
136
136
|
"./conversation": {
|
137
137
|
"types": "./conversation/index.d.ts",
|
138
138
|
"esm2022": "./esm2022/conversation/acorex-components-conversation.mjs",
|
139
139
|
"esm": "./esm2022/conversation/acorex-components-conversation.mjs",
|
140
140
|
"default": "./fesm2022/acorex-components-conversation.mjs"
|
141
141
|
},
|
142
|
+
"./data-pager": {
|
143
|
+
"types": "./data-pager/index.d.ts",
|
144
|
+
"esm2022": "./esm2022/data-pager/acorex-components-data-pager.mjs",
|
145
|
+
"esm": "./esm2022/data-pager/acorex-components-data-pager.mjs",
|
146
|
+
"default": "./fesm2022/acorex-components-data-pager.mjs"
|
147
|
+
},
|
142
148
|
"./data-table": {
|
143
149
|
"types": "./data-table/index.d.ts",
|
144
150
|
"esm2022": "./esm2022/data-table/acorex-components-data-table.mjs",
|
@@ -175,36 +181,36 @@
|
|
175
181
|
"esm": "./esm2022/dialog/acorex-components-dialog.mjs",
|
176
182
|
"default": "./fesm2022/acorex-components-dialog.mjs"
|
177
183
|
},
|
178
|
-
"./drawer": {
|
179
|
-
"types": "./drawer/index.d.ts",
|
180
|
-
"esm2022": "./esm2022/drawer/acorex-components-drawer.mjs",
|
181
|
-
"esm": "./esm2022/drawer/acorex-components-drawer.mjs",
|
182
|
-
"default": "./fesm2022/acorex-components-drawer.mjs"
|
183
|
-
},
|
184
184
|
"./dropdown": {
|
185
185
|
"types": "./dropdown/index.d.ts",
|
186
186
|
"esm2022": "./esm2022/dropdown/acorex-components-dropdown.mjs",
|
187
187
|
"esm": "./esm2022/dropdown/acorex-components-dropdown.mjs",
|
188
188
|
"default": "./fesm2022/acorex-components-dropdown.mjs"
|
189
189
|
},
|
190
|
+
"./drawer": {
|
191
|
+
"types": "./drawer/index.d.ts",
|
192
|
+
"esm2022": "./esm2022/drawer/acorex-components-drawer.mjs",
|
193
|
+
"esm": "./esm2022/drawer/acorex-components-drawer.mjs",
|
194
|
+
"default": "./fesm2022/acorex-components-drawer.mjs"
|
195
|
+
},
|
190
196
|
"./dropdown-button": {
|
191
197
|
"types": "./dropdown-button/index.d.ts",
|
192
198
|
"esm2022": "./esm2022/dropdown-button/acorex-components-dropdown-button.mjs",
|
193
199
|
"esm": "./esm2022/dropdown-button/acorex-components-dropdown-button.mjs",
|
194
200
|
"default": "./fesm2022/acorex-components-dropdown-button.mjs"
|
195
201
|
},
|
196
|
-
"./form": {
|
197
|
-
"types": "./form/index.d.ts",
|
198
|
-
"esm2022": "./esm2022/form/acorex-components-form.mjs",
|
199
|
-
"esm": "./esm2022/form/acorex-components-form.mjs",
|
200
|
-
"default": "./fesm2022/acorex-components-form.mjs"
|
201
|
-
},
|
202
202
|
"./image": {
|
203
203
|
"types": "./image/index.d.ts",
|
204
204
|
"esm2022": "./esm2022/image/acorex-components-image.mjs",
|
205
205
|
"esm": "./esm2022/image/acorex-components-image.mjs",
|
206
206
|
"default": "./fesm2022/acorex-components-image.mjs"
|
207
207
|
},
|
208
|
+
"./form": {
|
209
|
+
"types": "./form/index.d.ts",
|
210
|
+
"esm2022": "./esm2022/form/acorex-components-form.mjs",
|
211
|
+
"esm": "./esm2022/form/acorex-components-form.mjs",
|
212
|
+
"default": "./fesm2022/acorex-components-form.mjs"
|
213
|
+
},
|
208
214
|
"./label": {
|
209
215
|
"types": "./label/index.d.ts",
|
210
216
|
"esm2022": "./esm2022/label/acorex-components-label.mjs",
|
@@ -223,12 +229,6 @@
|
|
223
229
|
"esm": "./esm2022/loading/acorex-components-loading.mjs",
|
224
230
|
"default": "./fesm2022/acorex-components-loading.mjs"
|
225
231
|
},
|
226
|
-
"./loading-dialog": {
|
227
|
-
"types": "./loading-dialog/index.d.ts",
|
228
|
-
"esm2022": "./esm2022/loading-dialog/acorex-components-loading-dialog.mjs",
|
229
|
-
"esm": "./esm2022/loading-dialog/acorex-components-loading-dialog.mjs",
|
230
|
-
"default": "./fesm2022/acorex-components-loading-dialog.mjs"
|
231
|
-
},
|
232
232
|
"./menu": {
|
233
233
|
"types": "./menu/index.d.ts",
|
234
234
|
"esm2022": "./esm2022/menu/acorex-components-menu.mjs",
|
@@ -241,24 +241,30 @@
|
|
241
241
|
"esm": "./esm2022/nav/acorex-components-nav.mjs",
|
242
242
|
"default": "./fesm2022/acorex-components-nav.mjs"
|
243
243
|
},
|
244
|
+
"./loading-dialog": {
|
245
|
+
"types": "./loading-dialog/index.d.ts",
|
246
|
+
"esm2022": "./esm2022/loading-dialog/acorex-components-loading-dialog.mjs",
|
247
|
+
"esm": "./esm2022/loading-dialog/acorex-components-loading-dialog.mjs",
|
248
|
+
"default": "./fesm2022/acorex-components-loading-dialog.mjs"
|
249
|
+
},
|
244
250
|
"./navbar": {
|
245
251
|
"types": "./navbar/index.d.ts",
|
246
252
|
"esm2022": "./esm2022/navbar/acorex-components-navbar.mjs",
|
247
253
|
"esm": "./esm2022/navbar/acorex-components-navbar.mjs",
|
248
254
|
"default": "./fesm2022/acorex-components-navbar.mjs"
|
249
255
|
},
|
250
|
-
"./number-box": {
|
251
|
-
"types": "./number-box/index.d.ts",
|
252
|
-
"esm2022": "./esm2022/number-box/acorex-components-number-box.mjs",
|
253
|
-
"esm": "./esm2022/number-box/acorex-components-number-box.mjs",
|
254
|
-
"default": "./fesm2022/acorex-components-number-box.mjs"
|
255
|
-
},
|
256
256
|
"./notification": {
|
257
257
|
"types": "./notification/index.d.ts",
|
258
258
|
"esm2022": "./esm2022/notification/acorex-components-notification.mjs",
|
259
259
|
"esm": "./esm2022/notification/acorex-components-notification.mjs",
|
260
260
|
"default": "./fesm2022/acorex-components-notification.mjs"
|
261
261
|
},
|
262
|
+
"./number-box": {
|
263
|
+
"types": "./number-box/index.d.ts",
|
264
|
+
"esm2022": "./esm2022/number-box/acorex-components-number-box.mjs",
|
265
|
+
"esm": "./esm2022/number-box/acorex-components-number-box.mjs",
|
266
|
+
"default": "./fesm2022/acorex-components-number-box.mjs"
|
267
|
+
},
|
262
268
|
"./otp": {
|
263
269
|
"types": "./otp/index.d.ts",
|
264
270
|
"esm2022": "./esm2022/otp/acorex-components-otp.mjs",
|
@@ -301,18 +307,18 @@
|
|
301
307
|
"esm": "./esm2022/popup/acorex-components-popup.mjs",
|
302
308
|
"default": "./fesm2022/acorex-components-popup.mjs"
|
303
309
|
},
|
304
|
-
"./progress-bar": {
|
305
|
-
"types": "./progress-bar/index.d.ts",
|
306
|
-
"esm2022": "./esm2022/progress-bar/acorex-components-progress-bar.mjs",
|
307
|
-
"esm": "./esm2022/progress-bar/acorex-components-progress-bar.mjs",
|
308
|
-
"default": "./fesm2022/acorex-components-progress-bar.mjs"
|
309
|
-
},
|
310
310
|
"./radio": {
|
311
311
|
"types": "./radio/index.d.ts",
|
312
312
|
"esm2022": "./esm2022/radio/acorex-components-radio.mjs",
|
313
313
|
"esm": "./esm2022/radio/acorex-components-radio.mjs",
|
314
314
|
"default": "./fesm2022/acorex-components-radio.mjs"
|
315
315
|
},
|
316
|
+
"./progress-bar": {
|
317
|
+
"types": "./progress-bar/index.d.ts",
|
318
|
+
"esm2022": "./esm2022/progress-bar/acorex-components-progress-bar.mjs",
|
319
|
+
"esm": "./esm2022/progress-bar/acorex-components-progress-bar.mjs",
|
320
|
+
"default": "./fesm2022/acorex-components-progress-bar.mjs"
|
321
|
+
},
|
316
322
|
"./range-slider": {
|
317
323
|
"types": "./range-slider/index.d.ts",
|
318
324
|
"esm2022": "./esm2022/range-slider/acorex-components-range-slider.mjs",
|
@@ -432,6 +438,12 @@
|
|
432
438
|
"esm2022": "./esm2022/uploader/acorex-components-uploader.mjs",
|
433
439
|
"esm": "./esm2022/uploader/acorex-components-uploader.mjs",
|
434
440
|
"default": "./fesm2022/acorex-components-uploader.mjs"
|
441
|
+
},
|
442
|
+
"./wysiwyg": {
|
443
|
+
"types": "./wysiwyg/index.d.ts",
|
444
|
+
"esm2022": "./esm2022/wysiwyg/acorex-components-wysiwyg.mjs",
|
445
|
+
"esm": "./esm2022/wysiwyg/acorex-components-wysiwyg.mjs",
|
446
|
+
"default": "./fesm2022/acorex-components-wysiwyg.mjs"
|
435
447
|
}
|
436
448
|
}
|
437
449
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { AXUploaderService } from './uploader.service';
|
2
1
|
import { AXBasePageComponent } from '@acorex/components/page';
|
2
|
+
import { AXUploaderService } from './uploader.service';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class AXUploaderListComponent extends AXBasePageComponent {
|
5
5
|
protected uploadService: AXUploaderService;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { AXWysiwyg } from '@acorex/cdk/wysiwyg';
|
2
|
+
import { MXBaseComponent } from '@acorex/components/common';
|
3
|
+
import 'quill/dist/quill.core.css';
|
4
|
+
import { AXWysiwygService } from '../wysiwyg.service';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export declare class AXWysiwygContainerComponent extends MXBaseComponent {
|
7
|
+
wysiwyg: import("@angular/core").WritableSignal<AXWysiwyg>;
|
8
|
+
view: import("@angular/core").WritableSignal<HTMLElement>;
|
9
|
+
service: AXWysiwygService;
|
10
|
+
constructor();
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygContainerComponent, never>;
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygContainerComponent, "ax-wysiwyg-container", never, {}, {}, never, ["*"], false, never>;
|
13
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { AXWysiwyg } from '@acorex/cdk/wysiwyg';
|
2
|
+
import { AXClickEvent, AXDataSource } from '@acorex/components/common';
|
3
|
+
import { AXWysiwygService } from '../wysiwyg.service';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class AXWysiwygToolbarComponent {
|
6
|
+
outputHTML: import("@angular/core").OutputEmitterRef<AXClickEvent>;
|
7
|
+
service: AXWysiwygService;
|
8
|
+
wysiwyg: import("@angular/core").WritableSignal<AXWysiwyg>;
|
9
|
+
boldState: import("@angular/core").WritableSignal<boolean>;
|
10
|
+
italicState: import("@angular/core").WritableSignal<boolean>;
|
11
|
+
underLineState: import("@angular/core").WritableSignal<boolean>;
|
12
|
+
orderListState: import("@angular/core").WritableSignal<string>;
|
13
|
+
unOrderListState: import("@angular/core").WritableSignal<string>;
|
14
|
+
alignState: import("@angular/core").WritableSignal<string>;
|
15
|
+
protected fontSize: AXDataSource<string>;
|
16
|
+
protected selectedFont: string;
|
17
|
+
constructor();
|
18
|
+
fontHandler(e: any): void;
|
19
|
+
bold(): void;
|
20
|
+
out(): void;
|
21
|
+
italic(): void;
|
22
|
+
underLine(): void;
|
23
|
+
orderList(): void;
|
24
|
+
unOrderList(): void;
|
25
|
+
alignStateHandler(e: any): void;
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygToolbarComponent, never>;
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygToolbarComponent, "ax-wysiwyg-toolbar", never, {}, { "outputHTML": "outputHTML"; }, never, ["ax-prefix", "ax-suffix"], false, never>;
|
28
|
+
}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class AXWysiwygViewComponent {
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygViewComponent, never>;
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygViewComponent, "ax-wysiwyg-view", never, {}, {}, never, never, false, never>;
|
5
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { AXWysiwyg } from '@acorex/cdk/wysiwyg';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class AXWysiwygService {
|
4
|
+
wysiwyg: import("@angular/core").WritableSignal<AXWysiwyg>;
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygService, never>;
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXWysiwygService>;
|
7
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./wysiwyg/wysiwyg-container/wysiwyg-container.component";
|
3
|
+
import * as i2 from "./wysiwyg/wysiwyg-view/wysiwyg-view.component";
|
4
|
+
import * as i3 from "./wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component";
|
5
|
+
import * as i4 from "@acorex/components/button";
|
6
|
+
import * as i5 from "@acorex/components/decorators";
|
7
|
+
import * as i6 from "@acorex/components/select-box";
|
8
|
+
import * as i7 from "@angular/forms";
|
9
|
+
export declare class AXWysiwygModule {
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygModule, never>;
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXWysiwygModule, [typeof i1.AXWysiwygContainerComponent, typeof i2.AXWysiwygViewComponent, typeof i3.AXWysiwygToolbarComponent], [typeof i4.AXButtonModule, typeof i5.AXDecoratorModule, typeof i6.AXSelectBoxModule, typeof i7.FormsModule], [typeof i1.AXWysiwygContainerComponent, typeof i2.AXWysiwygViewComponent, typeof i3.AXWysiwygToolbarComponent]>;
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXWysiwygModule>;
|
13
|
+
}
|