@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
@@ -5,7 +5,7 @@ import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
5
5
|
import * as i3 from '@acorex/components/select-box';
|
6
6
|
import { AXSelectBoxModule } from '@acorex/components/select-box';
|
7
7
|
import * as i0 from '@angular/core';
|
8
|
-
import { signal, Injectable, inject, afterNextRender, Component, ViewEncapsulation, output, NgModule } from '@angular/core';
|
8
|
+
import { signal, Injectable, inject, afterNextRender, Component, ViewEncapsulation, output, input, effect, HostBinding, NgModule } from '@angular/core';
|
9
9
|
import * as i4 from '@angular/forms';
|
10
10
|
import { FormsModule } from '@angular/forms';
|
11
11
|
import { AXWysiwyg } from '@acorex/cdk/wysiwyg';
|
@@ -20,6 +20,7 @@ import { AXTextBoxModule } from '@acorex/components/text-box';
|
|
20
20
|
class AXWysiwygService {
|
21
21
|
constructor() {
|
22
22
|
this.wysiwyg = signal(null);
|
23
|
+
this.currentSelectedElemArray = signal([]);
|
23
24
|
}
|
24
25
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
25
26
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygService }); }
|
@@ -35,7 +36,7 @@ class AXWysiwygContainerComponent extends MXBaseComponent {
|
|
35
36
|
this.view = signal(null);
|
36
37
|
this.service = inject(AXWysiwygService);
|
37
38
|
afterNextRender(() => {
|
38
|
-
this.view.set(this.getHostElement().querySelector('ax-
|
39
|
+
this.view.set(this.getHostElement().querySelector('.ax-editor-wrapper'));
|
39
40
|
this.wysiwyg.set(new AXWysiwyg(this.view(), {
|
40
41
|
placeholder: 'Write Your Message ...',
|
41
42
|
}));
|
@@ -51,19 +52,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
51
52
|
}], ctorParameters: () => [] });
|
52
53
|
|
53
54
|
class AXWysiwygToolbarComponent {
|
54
|
-
submitLink() {
|
55
|
-
this.wysiwyg().addImage(this.textBoxOptions.text);
|
56
|
-
}
|
57
55
|
constructor() {
|
58
56
|
this.outputHTML = output();
|
59
57
|
this.service = inject(AXWysiwygService);
|
58
|
+
this.config = input({
|
59
|
+
bold: true,
|
60
|
+
undo: true,
|
61
|
+
redo: true,
|
62
|
+
italic: true,
|
63
|
+
underLine: true,
|
64
|
+
strike: true,
|
65
|
+
color: true,
|
66
|
+
highlight: true,
|
67
|
+
fontSize: true,
|
68
|
+
list: true,
|
69
|
+
alignment: true,
|
70
|
+
image: true,
|
71
|
+
});
|
60
72
|
this.wysiwyg = signal(null);
|
61
73
|
this.boldState = signal(false);
|
62
74
|
this.italicState = signal(false);
|
63
75
|
this.underLineState = signal(false);
|
64
76
|
this.strikeLineState = signal(false);
|
65
|
-
this.
|
66
|
-
this.unOrderListState = signal('');
|
77
|
+
this.listState = signal('');
|
67
78
|
this.alignState = signal('');
|
68
79
|
this.selectedFont = 'medium';
|
69
80
|
this.selectedColor = '';
|
@@ -98,10 +109,43 @@ class AXWysiwygToolbarComponent {
|
|
98
109
|
placeholder: 'Enter yor url ...',
|
99
110
|
size: 'ax-sm',
|
100
111
|
};
|
112
|
+
effect(() => {
|
113
|
+
this.wysiwyg().bold(false);
|
114
|
+
this.boldState.set(false);
|
115
|
+
this.wysiwyg().italic(false);
|
116
|
+
this.italicState.set(false);
|
117
|
+
this.wysiwyg().strike(false);
|
118
|
+
this.strikeLineState.set(false);
|
119
|
+
this.wysiwyg().underLine(false);
|
120
|
+
this.underLineState.set(false);
|
121
|
+
this.service.currentSelectedElemArray().forEach((item) => {
|
122
|
+
switch (item) {
|
123
|
+
case 'U':
|
124
|
+
this.wysiwyg().underLine(true);
|
125
|
+
this.underLineState.set(true);
|
126
|
+
break;
|
127
|
+
case 'S':
|
128
|
+
this.wysiwyg().strike(true);
|
129
|
+
this.strikeLineState.set(true);
|
130
|
+
break;
|
131
|
+
case 'EM':
|
132
|
+
this.wysiwyg().italic(true);
|
133
|
+
this.italicState.set(true);
|
134
|
+
break;
|
135
|
+
case 'STRONG':
|
136
|
+
this.wysiwyg().bold(true);
|
137
|
+
this.boldState.set(true);
|
138
|
+
break;
|
139
|
+
}
|
140
|
+
});
|
141
|
+
}, { allowSignalWrites: true });
|
101
142
|
afterNextRender(() => {
|
102
143
|
this.wysiwyg.set(this.service.wysiwyg());
|
103
144
|
});
|
104
145
|
}
|
146
|
+
submitLink() {
|
147
|
+
this.wysiwyg().addImage(this.textBoxOptions.text);
|
148
|
+
}
|
105
149
|
changeColorHandler(e) {
|
106
150
|
this.selectedColor = e;
|
107
151
|
this.wysiwyg().color(e);
|
@@ -151,23 +195,23 @@ class AXWysiwygToolbarComponent {
|
|
151
195
|
}
|
152
196
|
}
|
153
197
|
orderList() {
|
154
|
-
if (this.
|
155
|
-
this.wysiwyg().list('');
|
156
|
-
this.
|
198
|
+
if (!this.listState() || this.listState() === 'bullet') {
|
199
|
+
this.wysiwyg().list('ordered');
|
200
|
+
this.listState.set('ordered');
|
157
201
|
}
|
158
202
|
else {
|
159
|
-
this.wysiwyg().list('
|
160
|
-
this.
|
203
|
+
this.wysiwyg().list('');
|
204
|
+
this.listState.set('');
|
161
205
|
}
|
162
206
|
}
|
163
207
|
unOrderList() {
|
164
|
-
if (this.
|
165
|
-
this.wysiwyg().list('');
|
166
|
-
this.
|
208
|
+
if (!this.listState() || this.listState() === 'ordered') {
|
209
|
+
this.wysiwyg().list('bullet');
|
210
|
+
this.listState.set('bullet');
|
167
211
|
}
|
168
212
|
else {
|
169
|
-
this.wysiwyg().list('
|
170
|
-
this.
|
213
|
+
this.wysiwyg().list('');
|
214
|
+
this.listState.set('');
|
171
215
|
}
|
172
216
|
}
|
173
217
|
alignStateHandler(e) {
|
@@ -194,21 +238,39 @@ class AXWysiwygToolbarComponent {
|
|
194
238
|
this.wysiwyg().background('red');
|
195
239
|
}
|
196
240
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
197
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
241
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXWysiwygToolbarComponent, selector: "ax-wysiwyg-toolbar", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null } }, 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 @if (config().undo) {\n <ax-button class=\"\" (click)=\"undo()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-undo\"></ax-icon>\n </ax-button>\n }\n\n @if (config().redo) {\n <ax-button class=\"\" (click)=\"redo()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-redo\"></ax-icon>\n </ax-button>\n }\n @if (config().bold) {\n <ax-button (click)=\"bold()\" [look]=\"boldState() ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-bold\"></ax-icon>\n </ax-button>\n }\n @if (config().italic) {\n <ax-button (click)=\"italic()\" [look]=\"italicState() ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-italic\"></ax-icon>\n </ax-button>\n }\n @if (config().underLine) {\n <ax-button (click)=\"underLine()\" [look]=\"underLineState() ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-under-line\"></ax-icon>\n </ax-button>\n }\n @if (config().strike) {\n <ax-button (click)=\"strike()\" [look]=\"strikeLineState() ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-strike\"></ax-icon>\n </ax-button>\n }\n @if (config().color) {\n <ax-button #colorBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-color-palette\"></ax-icon>\n </ax-button>\n <ax-popover\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"colorBtn\"\n [placement]=\"popoverOption.placement\"\n >\n <div class=\"ax-overlay-pane\">\n <ax-color-palette (ngModelChange)=\"changeColorHandler($event)\" [ngModel]=\"selectedColor\">\n <ax-color-palette-preview></ax-color-palette-preview>\n <ax-color-palette-picker></ax-color-palette-picker>\n <ax-color-palette-input></ax-color-palette-input>\n </ax-color-palette>\n </div>\n </ax-popover>\n }\n @if (config().highlight) {\n <ax-button #highlightBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-highlight\"></ax-icon>\n </ax-button>\n <ax-popover\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"highlightBtn\"\n [placement]=\"popoverOption.placement\"\n >\n <div class=\"ax-overlay-pane\">\n <ax-color-palette (ngModelChange)=\"changeHighlightColorHandler($event)\" [ngModel]=\"selectedHighlightColor\">\n <ax-color-palette-preview></ax-color-palette-preview>\n <ax-color-palette-picker></ax-color-palette-picker>\n <ax-color-palette-input></ax-color-palette-input>\n </ax-color-palette>\n </div>\n </ax-popover>\n }\n @if (config().fontSize) {\n <ax-select-box (ngModelChange)=\"fontHandler($event)\" [ngModel]=\"selectedFont\" [dataSource]=\"fontSize\" placeholder=\"Choose...\">\n </ax-select-box>\n }\n @if (config().list) {\n <ax-button (click)=\"orderList()\" [look]=\"listState() === 'ordered' ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-order-list\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"unOrderList()\" [look]=\"listState() === 'bullet' ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-un-order-list\"></ax-icon>\n </ax-button>\n }\n @if (config().alignment) {\n <ax-button look=\"blank\" #alignPop>\n <ax-icon class=\"ax-icon ax-icon-align-left\"></ax-icon>\n </ax-button>\n <ax-popover\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"alignPop\"\n [placement]=\"popoverOption.placement\"\n >\n <div class=\"ax-overlay-pane\">\n <ax-button (click)=\"alignStateHandler('left')\" [look]=\"alignState() === 'left' ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-align-left\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"alignStateHandler('center')\" [look]=\"alignState() === 'center' ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-align-center\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"alignStateHandler('right')\" [look]=\"alignState() === 'right' ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-align-right\"></ax-icon>\n </ax-button>\n </div>\n </ax-popover>\n }\n @if (config().image) {\n <ax-button #linkBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-image\"></ax-icon>\n </ax-button>\n\n <ax-popover\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"linkBtn\"\n [placement]=\"popoverOption.placement\"\n >\n <ax-text-box class=\"{{ textBoxOptions.size }}\" [(ngModel)]=\"textBoxOptions.text\" [placeholder]=\"textBoxOptions.placeholder\">\n </ax-text-box>\n <ax-suffix>\n <ax-button (click)=\"submitLink()\" class=\"ax-sm\" color=\"secondary\" text=\"Add\"> </ax-button>\n </ax-suffix>\n </ax-popover>\n }\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: i2.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: i3.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "textTemplate", "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"] }, { kind: "component", type: i5.AXColorPalleteComponent, selector: "ax-color-palette", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "checked"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange"] }, { kind: "component", type: i5.AXColorPalettePreviewComponent, selector: "ax-color-palette-preview" }, { kind: "component", type: i5.AXColorPaletteInputComponent, selector: "ax-color-palette-input" }, { kind: "component", type: i5.AXColorPalettePickerComponent, selector: "ax-color-palette-picker" }, { kind: "component", type: i6.AXPopoverComponent, selector: "ax-popover", inputs: ["offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "backdropClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "component", type: i7.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
198
242
|
}
|
199
243
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygToolbarComponent, decorators: [{
|
200
244
|
type: Component,
|
201
|
-
args: [{ selector: 'ax-wysiwyg-toolbar', encapsulation: ViewEncapsulation.None, 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)=\"undo()\" look=\"blank\">\n
|
245
|
+
args: [{ selector: 'ax-wysiwyg-toolbar', encapsulation: ViewEncapsulation.None, 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 @if (config().undo) {\n <ax-button class=\"\" (click)=\"undo()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-undo\"></ax-icon>\n </ax-button>\n }\n\n @if (config().redo) {\n <ax-button class=\"\" (click)=\"redo()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-redo\"></ax-icon>\n </ax-button>\n }\n @if (config().bold) {\n <ax-button (click)=\"bold()\" [look]=\"boldState() ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-bold\"></ax-icon>\n </ax-button>\n }\n @if (config().italic) {\n <ax-button (click)=\"italic()\" [look]=\"italicState() ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-italic\"></ax-icon>\n </ax-button>\n }\n @if (config().underLine) {\n <ax-button (click)=\"underLine()\" [look]=\"underLineState() ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-under-line\"></ax-icon>\n </ax-button>\n }\n @if (config().strike) {\n <ax-button (click)=\"strike()\" [look]=\"strikeLineState() ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-strike\"></ax-icon>\n </ax-button>\n }\n @if (config().color) {\n <ax-button #colorBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-color-palette\"></ax-icon>\n </ax-button>\n <ax-popover\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"colorBtn\"\n [placement]=\"popoverOption.placement\"\n >\n <div class=\"ax-overlay-pane\">\n <ax-color-palette (ngModelChange)=\"changeColorHandler($event)\" [ngModel]=\"selectedColor\">\n <ax-color-palette-preview></ax-color-palette-preview>\n <ax-color-palette-picker></ax-color-palette-picker>\n <ax-color-palette-input></ax-color-palette-input>\n </ax-color-palette>\n </div>\n </ax-popover>\n }\n @if (config().highlight) {\n <ax-button #highlightBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-highlight\"></ax-icon>\n </ax-button>\n <ax-popover\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"highlightBtn\"\n [placement]=\"popoverOption.placement\"\n >\n <div class=\"ax-overlay-pane\">\n <ax-color-palette (ngModelChange)=\"changeHighlightColorHandler($event)\" [ngModel]=\"selectedHighlightColor\">\n <ax-color-palette-preview></ax-color-palette-preview>\n <ax-color-palette-picker></ax-color-palette-picker>\n <ax-color-palette-input></ax-color-palette-input>\n </ax-color-palette>\n </div>\n </ax-popover>\n }\n @if (config().fontSize) {\n <ax-select-box (ngModelChange)=\"fontHandler($event)\" [ngModel]=\"selectedFont\" [dataSource]=\"fontSize\" placeholder=\"Choose...\">\n </ax-select-box>\n }\n @if (config().list) {\n <ax-button (click)=\"orderList()\" [look]=\"listState() === 'ordered' ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-order-list\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"unOrderList()\" [look]=\"listState() === 'bullet' ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-un-order-list\"></ax-icon>\n </ax-button>\n }\n @if (config().alignment) {\n <ax-button look=\"blank\" #alignPop>\n <ax-icon class=\"ax-icon ax-icon-align-left\"></ax-icon>\n </ax-button>\n <ax-popover\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"alignPop\"\n [placement]=\"popoverOption.placement\"\n >\n <div class=\"ax-overlay-pane\">\n <ax-button (click)=\"alignStateHandler('left')\" [look]=\"alignState() === 'left' ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-align-left\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"alignStateHandler('center')\" [look]=\"alignState() === 'center' ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-align-center\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"alignStateHandler('right')\" [look]=\"alignState() === 'right' ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-align-right\"></ax-icon>\n </ax-button>\n </div>\n </ax-popover>\n }\n @if (config().image) {\n <ax-button #linkBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-image\"></ax-icon>\n </ax-button>\n\n <ax-popover\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"linkBtn\"\n [placement]=\"popoverOption.placement\"\n >\n <ax-text-box class=\"{{ textBoxOptions.size }}\" [(ngModel)]=\"textBoxOptions.text\" [placeholder]=\"textBoxOptions.placeholder\">\n </ax-text-box>\n <ax-suffix>\n <ax-button (click)=\"submitLink()\" class=\"ax-sm\" color=\"secondary\" text=\"Add\"> </ax-button>\n </ax-suffix>\n </ax-popover>\n }\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"] }]
|
202
246
|
}], ctorParameters: () => [] });
|
203
247
|
|
204
248
|
class AXWysiwygViewComponent {
|
249
|
+
constructor() {
|
250
|
+
this.classes = input('', { alias: 'class' });
|
251
|
+
this.wysiwygService = inject(AXWysiwygService);
|
252
|
+
}
|
253
|
+
get __hostClass() {
|
254
|
+
return `${this.classes()}`;
|
255
|
+
}
|
256
|
+
editorStateHandler(e) {
|
257
|
+
this.wysiwygService.currentSelectedElemArray.set([
|
258
|
+
e.target.nodeName,
|
259
|
+
e.target.parentElement.nodeName,
|
260
|
+
e.target.parentElement.parentElement.nodeName,
|
261
|
+
e.target.parentElement.parentElement.parentElement.nodeName,
|
262
|
+
]);
|
263
|
+
}
|
205
264
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
206
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
265
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.0.2", type: AXWysiwygViewComponent, selector: "ax-wysiwyg-view", inputs: { classes: { classPropertyName: "classes", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "this.__hostClass" } }, ngImport: i0, template: "<div class=\"ax-editor-wrapper\" (click)=\"editorStateHandler($event)\">\n <!-- wysiwyg editor render here -->\n</div>\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 }); }
|
207
266
|
}
|
208
267
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygViewComponent, decorators: [{
|
209
268
|
type: Component,
|
210
|
-
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"] }]
|
211
|
-
}]
|
269
|
+
args: [{ selector: 'ax-wysiwyg-view', encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-editor-wrapper\" (click)=\"editorStateHandler($event)\">\n <!-- wysiwyg editor render here -->\n</div>\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"] }]
|
270
|
+
}], propDecorators: { __hostClass: [{
|
271
|
+
type: HostBinding,
|
272
|
+
args: ['class']
|
273
|
+
}] } });
|
212
274
|
|
213
275
|
const COMPONENT = [AXWysiwygContainerComponent, AXWysiwygViewComponent, AXWysiwygToolbarComponent];
|
214
276
|
const MODULES = [AXButtonModule, AXDecoratorModule, AXSelectBoxModule, FormsModule, AXColorPaletteModule, AXPopoverModule, AXTextBoxModule];
|
@@ -1 +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 { 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, AXPlacement } from '@acorex/components/common';\nimport { AXPopoverCloseTrigger, AXPopoverOpenTrigger } from '@acorex/components/popover';\nimport { Component, ViewEncapsulation, 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 encapsulation: ViewEncapsulation.None,\n})\nexport class AXWysiwygToolbarComponent {\n outputHTML = output<AXClickEvent>();\n service = inject(AXWysiwygService);\n\n protected wysiwyg = signal<AXWysiwyg | null>(null);\n protected boldState = signal(false);\n protected italicState = signal(false);\n protected underLineState = signal(false);\n protected strikeLineState = signal(false);\n protected orderListState = signal('');\n protected unOrderListState = signal('');\n protected alignState = signal('');\n protected selectedFont = 'medium';\n protected selectedColor = '';\n protected selectedHighlightColor = '';\n protected linkAddress = '';\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\n protected popoverOption: {\n openOn: AXPopoverOpenTrigger;\n closeOn: AXPopoverCloseTrigger;\n placement: AXPlacement;\n offsetX: number;\n offsetY: number;\n } = {\n openOn: 'click',\n closeOn: 'clickOut',\n placement: 'top',\n offsetX: 0,\n offsetY: 0,\n };\n\n textBoxOptions = {\n text: '',\n placeholder: 'Enter yor url ...',\n size: 'ax-sm',\n };\n\n submitLink() {\n this.wysiwyg().addImage(this.textBoxOptions.text);\n }\n\n constructor() {\n afterNextRender(() => {\n this.wysiwyg.set(this.service.wysiwyg());\n });\n }\n\n changeColorHandler(e: string) {\n this.selectedColor = e;\n this.wysiwyg().color(e);\n }\n\n changeHighlightColorHandler(e: string) {\n this.selectedHighlightColor = e;\n this.wysiwyg().background(e);\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 undo() {\n this.wysiwyg().undo();\n }\n\n redo() {\n this.wysiwyg().redo();\n }\n\n strike() {\n if (this.strikeLineState()) {\n this.wysiwyg().strike(false);\n this.strikeLineState.set(false);\n } else {\n this.wysiwyg().strike(true);\n this.strikeLineState.set(true);\n }\n }\n\n background() {\n this.wysiwyg().background('red');\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)=\"undo()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-undo\"></ax-icon>\n </ax-button>\n\n <ax-button class=\"\" (click)=\"redo()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-redo\"></ax-icon>\n </ax-button>\n\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-button (click)=\"strike()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-strike\"></ax-icon>\n </ax-button>\n\n <ax-button #colorBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-color-palette\"></ax-icon>\n </ax-button>\n\n <ax-button #highlightBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-highlight\"></ax-icon>\n </ax-button>\n\n <ax-popover [openOn]=\"popoverOption.openOn\" [closeOn]=\"popoverOption.closeOn\" [target]=\"colorBtn\" [placement]=\"popoverOption.placement\">\n <div class=\"ax-overlay-pane\">\n <ax-color-palette (ngModelChange)=\"changeColorHandler($event)\" [ngModel]=\"selectedColor\">\n <ax-color-palette-preview></ax-color-palette-preview>\n <ax-color-palette-picker></ax-color-palette-picker>\n <ax-color-palette-input></ax-color-palette-input>\n </ax-color-palette>\n </div>\n </ax-popover>\n\n <ax-popover\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"highlightBtn\"\n [placement]=\"popoverOption.placement\"\n >\n <div class=\"ax-overlay-pane\">\n <ax-color-palette (ngModelChange)=\"changeHighlightColorHandler($event)\" [ngModel]=\"selectedHighlightColor\">\n <ax-color-palette-preview></ax-color-palette-preview>\n <ax-color-palette-picker></ax-color-palette-picker>\n <ax-color-palette-input></ax-color-palette-input>\n </ax-color-palette>\n </div>\n </ax-popover>\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 look=\"blank\" #alignPop>\n <ax-icon class=\"ax-icon ax-icon-align-left\"></ax-icon>\n </ax-button>\n\n <ax-popover [openOn]=\"popoverOption.openOn\" [closeOn]=\"popoverOption.closeOn\" [target]=\"alignPop\" [placement]=\"popoverOption.placement\">\n <div class=\"ax-overlay-pane\">\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 </ax-popover>\n\n <ax-button #linkBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-image\"></ax-icon>\n </ax-button>\n\n <ax-popover [openOn]=\"popoverOption.openOn\" [closeOn]=\"popoverOption.closeOn\" [target]=\"linkBtn\" [placement]=\"popoverOption.placement\">\n <ax-text-box class=\"{{ textBoxOptions.size }}\" [(ngModel)]=\"textBoxOptions.text\" [placeholder]=\"textBoxOptions.placeholder\">\n </ax-text-box>\n <ax-suffix>\n <ax-button (click)=\"submitLink()\" class=\"ax-sm\" color=\"secondary\" text=\"Add\"> </ax-button>\n </ax-suffix>\n </ax-popover>\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 { AXColorPaletteModule } from '@acorex/components/color-palette';\nimport { AXPopoverModule } from '@acorex/components/popover';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\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];\n\nconst MODULES = [AXButtonModule, AXDecoratorModule, AXSelectBoxModule, FormsModule, AXColorPaletteModule, AXPopoverModule, AXTextBoxModule];\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;;;ACQL,MAAO,2B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AAE,iBAAiB,EAAE,WAAW,EAAE,oBAAoB,EAAE,eAAe,EAAE,eAAe,CAAA,EAAA,OAAA,EAAA,CAFvH,2BAA2B,EAAE,sBAAsB,EAAE,yBAAyB,CAAA,EAAA,CAAA,CAAA,EAAA;AAUpF,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,EAFf,SAAA,EAAA,CAAC,gBAAgB,CAAC,YAFhB,OAAO,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIT,eAAe,EAAA,UAAA,EAAA,CAAA;kBAN3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;AAC5B,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;AACrB,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;oBACvB,SAAS,EAAE,CAAC,gBAAgB,CAAC;AAC9B,iBAAA,CAAA;;;ACvBD;;AAEG;;;;"}
|
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 currentSelectedElemArray = signal<string[]>([]);\n}\n","import { AXWysiwyg } from '@acorex/cdk/wysiwyg';\nimport { MXBaseComponent } from '@acorex/components/common';\nimport { Component, ViewEncapsulation, afterNextRender, inject, signal } from '@angular/core';\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-editor-wrapper') 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, AXPlacement } from '@acorex/components/common';\nimport { AXPopoverCloseTrigger, AXPopoverOpenTrigger } from '@acorex/components/popover';\nimport { Component, ViewEncapsulation, afterNextRender, effect, inject, input, output, signal } from '@angular/core';\nimport { AXWysiwygService } from '../wysiwyg.service';\n\ntype ConfigType = {\n bold: boolean;\n undo: boolean;\n redo: boolean;\n italic: boolean;\n underLine: boolean;\n strike: boolean;\n color: boolean;\n highlight: boolean;\n fontSize: boolean;\n list: boolean;\n alignment: boolean;\n image: boolean;\n};\n\n@Component({\n selector: 'ax-wysiwyg-toolbar',\n templateUrl: './wysiwyg-toolbar.component.html',\n styleUrl: './wysiwyg-toolbar.component.scss',\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXWysiwygToolbarComponent {\n outputHTML = output<AXClickEvent>();\n service = inject(AXWysiwygService);\n\n config = input<ConfigType>({\n bold: true,\n undo: true,\n redo: true,\n italic: true,\n underLine: true,\n strike: true,\n color: true,\n highlight: true,\n fontSize: true,\n list: true,\n alignment: true,\n image: true,\n });\n\n protected wysiwyg = signal<AXWysiwyg | null>(null);\n protected boldState = signal(false);\n protected italicState = signal(false);\n protected underLineState = signal(false);\n protected strikeLineState = signal(false);\n protected listState = signal('');\n protected alignState = signal('');\n protected selectedFont = 'medium';\n protected selectedColor = '';\n protected selectedHighlightColor = '';\n protected linkAddress = '';\n\n constructor() {\n effect(\n () => {\n this.wysiwyg().bold(false);\n this.boldState.set(false);\n this.wysiwyg().italic(false);\n this.italicState.set(false);\n this.wysiwyg().strike(false);\n this.strikeLineState.set(false);\n this.wysiwyg().underLine(false);\n this.underLineState.set(false);\n\n this.service.currentSelectedElemArray().forEach((item) => {\n switch (item) {\n case 'U':\n this.wysiwyg().underLine(true);\n this.underLineState.set(true);\n break;\n case 'S':\n this.wysiwyg().strike(true);\n this.strikeLineState.set(true);\n break;\n case 'EM':\n this.wysiwyg().italic(true);\n this.italicState.set(true);\n break;\n case 'STRONG':\n this.wysiwyg().bold(true);\n this.boldState.set(true);\n break;\n }\n });\n },\n { allowSignalWrites: true },\n );\n afterNextRender(() => {\n this.wysiwyg.set(this.service.wysiwyg());\n });\n }\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\n protected popoverOption: {\n openOn: AXPopoverOpenTrigger;\n closeOn: AXPopoverCloseTrigger;\n placement: AXPlacement;\n offsetX: number;\n offsetY: number;\n } = {\n openOn: 'click',\n closeOn: 'clickOut',\n placement: 'top',\n offsetX: 0,\n offsetY: 0,\n };\n\n textBoxOptions = {\n text: '',\n placeholder: 'Enter yor url ...',\n size: 'ax-sm',\n };\n\n submitLink() {\n this.wysiwyg().addImage(this.textBoxOptions.text);\n }\n\n changeColorHandler(e: string) {\n this.selectedColor = e;\n this.wysiwyg().color(e);\n }\n\n changeHighlightColorHandler(e: string) {\n this.selectedHighlightColor = e;\n this.wysiwyg().background(e);\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.listState() || this.listState() === 'bullet') {\n this.wysiwyg().list('ordered');\n this.listState.set('ordered');\n } else {\n this.wysiwyg().list('');\n this.listState.set('');\n }\n }\n\n unOrderList() {\n if (!this.listState() || this.listState() === 'ordered') {\n this.wysiwyg().list('bullet');\n this.listState.set('bullet');\n } else {\n this.wysiwyg().list('');\n this.listState.set('');\n }\n }\n\n alignStateHandler(e: any) {\n this.alignState.set(e);\n this.wysiwyg().align(e);\n }\n\n undo() {\n this.wysiwyg().undo();\n }\n\n redo() {\n this.wysiwyg().redo();\n }\n\n strike() {\n if (this.strikeLineState()) {\n this.wysiwyg().strike(false);\n this.strikeLineState.set(false);\n } else {\n this.wysiwyg().strike(true);\n this.strikeLineState.set(true);\n }\n }\n\n background() {\n this.wysiwyg().background('red');\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 @if (config().undo) {\n <ax-button class=\"\" (click)=\"undo()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-undo\"></ax-icon>\n </ax-button>\n }\n\n @if (config().redo) {\n <ax-button class=\"\" (click)=\"redo()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-redo\"></ax-icon>\n </ax-button>\n }\n @if (config().bold) {\n <ax-button (click)=\"bold()\" [look]=\"boldState() ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-bold\"></ax-icon>\n </ax-button>\n }\n @if (config().italic) {\n <ax-button (click)=\"italic()\" [look]=\"italicState() ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-italic\"></ax-icon>\n </ax-button>\n }\n @if (config().underLine) {\n <ax-button (click)=\"underLine()\" [look]=\"underLineState() ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-under-line\"></ax-icon>\n </ax-button>\n }\n @if (config().strike) {\n <ax-button (click)=\"strike()\" [look]=\"strikeLineState() ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-strike\"></ax-icon>\n </ax-button>\n }\n @if (config().color) {\n <ax-button #colorBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-color-palette\"></ax-icon>\n </ax-button>\n <ax-popover\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"colorBtn\"\n [placement]=\"popoverOption.placement\"\n >\n <div class=\"ax-overlay-pane\">\n <ax-color-palette (ngModelChange)=\"changeColorHandler($event)\" [ngModel]=\"selectedColor\">\n <ax-color-palette-preview></ax-color-palette-preview>\n <ax-color-palette-picker></ax-color-palette-picker>\n <ax-color-palette-input></ax-color-palette-input>\n </ax-color-palette>\n </div>\n </ax-popover>\n }\n @if (config().highlight) {\n <ax-button #highlightBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-highlight\"></ax-icon>\n </ax-button>\n <ax-popover\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"highlightBtn\"\n [placement]=\"popoverOption.placement\"\n >\n <div class=\"ax-overlay-pane\">\n <ax-color-palette (ngModelChange)=\"changeHighlightColorHandler($event)\" [ngModel]=\"selectedHighlightColor\">\n <ax-color-palette-preview></ax-color-palette-preview>\n <ax-color-palette-picker></ax-color-palette-picker>\n <ax-color-palette-input></ax-color-palette-input>\n </ax-color-palette>\n </div>\n </ax-popover>\n }\n @if (config().fontSize) {\n <ax-select-box (ngModelChange)=\"fontHandler($event)\" [ngModel]=\"selectedFont\" [dataSource]=\"fontSize\" placeholder=\"Choose...\">\n </ax-select-box>\n }\n @if (config().list) {\n <ax-button (click)=\"orderList()\" [look]=\"listState() === 'ordered' ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-order-list\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"unOrderList()\" [look]=\"listState() === 'bullet' ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-un-order-list\"></ax-icon>\n </ax-button>\n }\n @if (config().alignment) {\n <ax-button look=\"blank\" #alignPop>\n <ax-icon class=\"ax-icon ax-icon-align-left\"></ax-icon>\n </ax-button>\n <ax-popover\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"alignPop\"\n [placement]=\"popoverOption.placement\"\n >\n <div class=\"ax-overlay-pane\">\n <ax-button (click)=\"alignStateHandler('left')\" [look]=\"alignState() === 'left' ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-align-left\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"alignStateHandler('center')\" [look]=\"alignState() === 'center' ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-align-center\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"alignStateHandler('right')\" [look]=\"alignState() === 'right' ? 'solid' : 'blank'\">\n <ax-icon class=\"ax-icon ax-icon-align-right\"></ax-icon>\n </ax-button>\n </div>\n </ax-popover>\n }\n @if (config().image) {\n <ax-button #linkBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-image\"></ax-icon>\n </ax-button>\n\n <ax-popover\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"linkBtn\"\n [placement]=\"popoverOption.placement\"\n >\n <ax-text-box class=\"{{ textBoxOptions.size }}\" [(ngModel)]=\"textBoxOptions.text\" [placeholder]=\"textBoxOptions.placeholder\">\n </ax-text-box>\n <ax-suffix>\n <ax-button (click)=\"submitLink()\" class=\"ax-sm\" color=\"secondary\" text=\"Add\"> </ax-button>\n </ax-suffix>\n </ax-popover>\n }\n </div>\n\n <ng-content select=\"ax-suffix\"></ng-content>\n</div>\n","import { Component, HostBinding, inject, input, ViewEncapsulation } from '@angular/core';\nimport { AXWysiwygService } from '../wysiwyg.service';\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 classes = input<string>('', { alias: 'class' });\n\n wysiwygService = inject(AXWysiwygService);\n\n @HostBinding('class')\n get __hostClass(): string {\n return `${this.classes()}`;\n }\n\n editorStateHandler(e: any) {\n this.wysiwygService.currentSelectedElemArray.set([\n e.target.nodeName,\n e.target.parentElement.nodeName,\n e.target.parentElement.parentElement.nodeName,\n e.target.parentElement.parentElement.parentElement.nodeName,\n ]);\n }\n}\n","<div class=\"ax-editor-wrapper\" (click)=\"editorStateHandler($event)\">\n <!-- wysiwyg editor render here -->\n</div>\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 { AXColorPaletteModule } from '@acorex/components/color-palette';\nimport { AXPopoverModule } from '@acorex/components/popover';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\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];\n\nconst MODULES = [AXButtonModule, AXDecoratorModule, AXSelectBoxModule, FormsModule, AXColorPaletteModule, AXPopoverModule, AXTextBoxModule];\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;AAEzC,QAAA,IAAA,CAAA,wBAAwB,GAAG,MAAM,CAAW,EAAE,CAAC,CAAC;AACjD,KAAA;8GAJY,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;;;ACQL,MAAO,2BAA4B,SAAQ,eAAe,CAAA;AAK9D,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE,CAAC;AALV,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,C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,CAAA,cAAc,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,WAAW,EAAE,oBAAoB,EAAE,eAAe,EAAE,eAAe,CAAA,EAAA,OAAA,EAAA,CAFvH,2BAA2B,EAAE,sBAAsB,EAAE,yBAAyB,CAAA,EAAA,CAAA,CAAA,EAAA;AAUpF,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,EAFf,SAAA,EAAA,CAAC,gBAAgB,CAAC,YAFhB,OAAO,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIT,eAAe,EAAA,UAAA,EAAA,CAAA;kBAN3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;AAC5B,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;AACrB,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;oBACvB,SAAS,EAAE,CAAC,gBAAgB,CAAC;AAC9B,iBAAA,CAAA;;;ACvBD;;AAEG;;;;"}
|
@@ -69,7 +69,7 @@ export declare class AXNumberBoxComponent extends AXNumberBoxComponent_base impl
|
|
69
69
|
private _updateMask;
|
70
70
|
_handleModelChange(value: number): void;
|
71
71
|
_handleOnKeydownEvent(e: KeyboardEvent): void;
|
72
|
-
_handleUpDownClick(v: -1 | 1): void;
|
72
|
+
protected _handleUpDownClick(v: -1 | 1): void;
|
73
73
|
stepUp(u?: boolean): void;
|
74
74
|
stepDown(u?: boolean): void;
|
75
75
|
decimalStepUp(u?: boolean): void;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@acorex/components",
|
3
|
-
"version": "18.5.
|
3
|
+
"version": "18.5.14",
|
4
4
|
"peerDependencies": {
|
5
5
|
"@angular/common": ">=18.0.0",
|
6
6
|
"@angular/core": ">=18.0.0",
|
@@ -31,18 +31,24 @@
|
|
31
31
|
"esm": "./esm2022/action-sheet/acorex-components-action-sheet.mjs",
|
32
32
|
"default": "./fesm2022/acorex-components-action-sheet.mjs"
|
33
33
|
},
|
34
|
-
"./audio-wave": {
|
35
|
-
"types": "./audio-wave/index.d.ts",
|
36
|
-
"esm2022": "./esm2022/audio-wave/acorex-components-audio-wave.mjs",
|
37
|
-
"esm": "./esm2022/audio-wave/acorex-components-audio-wave.mjs",
|
38
|
-
"default": "./fesm2022/acorex-components-audio-wave.mjs"
|
39
|
-
},
|
40
34
|
"./alert": {
|
41
35
|
"types": "./alert/index.d.ts",
|
42
36
|
"esm2022": "./esm2022/alert/acorex-components-alert.mjs",
|
43
37
|
"esm": "./esm2022/alert/acorex-components-alert.mjs",
|
44
38
|
"default": "./fesm2022/acorex-components-alert.mjs"
|
45
39
|
},
|
40
|
+
"./avatar": {
|
41
|
+
"types": "./avatar/index.d.ts",
|
42
|
+
"esm2022": "./esm2022/avatar/acorex-components-avatar.mjs",
|
43
|
+
"esm": "./esm2022/avatar/acorex-components-avatar.mjs",
|
44
|
+
"default": "./fesm2022/acorex-components-avatar.mjs"
|
45
|
+
},
|
46
|
+
"./audio-wave": {
|
47
|
+
"types": "./audio-wave/index.d.ts",
|
48
|
+
"esm2022": "./esm2022/audio-wave/acorex-components-audio-wave.mjs",
|
49
|
+
"esm": "./esm2022/audio-wave/acorex-components-audio-wave.mjs",
|
50
|
+
"default": "./fesm2022/acorex-components-audio-wave.mjs"
|
51
|
+
},
|
46
52
|
"./badge": {
|
47
53
|
"types": "./badge/index.d.ts",
|
48
54
|
"esm2022": "./esm2022/badge/acorex-components-badge.mjs",
|
@@ -55,12 +61,6 @@
|
|
55
61
|
"esm": "./esm2022/bottom-navigation/acorex-components-bottom-navigation.mjs",
|
56
62
|
"default": "./fesm2022/acorex-components-bottom-navigation.mjs"
|
57
63
|
},
|
58
|
-
"./avatar": {
|
59
|
-
"types": "./avatar/index.d.ts",
|
60
|
-
"esm2022": "./esm2022/avatar/acorex-components-avatar.mjs",
|
61
|
-
"esm": "./esm2022/avatar/acorex-components-avatar.mjs",
|
62
|
-
"default": "./fesm2022/acorex-components-avatar.mjs"
|
63
|
-
},
|
64
64
|
"./breadcrumbs": {
|
65
65
|
"types": "./breadcrumbs/index.d.ts",
|
66
66
|
"esm2022": "./esm2022/breadcrumbs/acorex-components-breadcrumbs.mjs",
|
@@ -169,18 +169,18 @@
|
|
169
169
|
"esm": "./esm2022/datetime-picker/acorex-components-datetime-picker.mjs",
|
170
170
|
"default": "./fesm2022/acorex-components-datetime-picker.mjs"
|
171
171
|
},
|
172
|
-
"./dialog": {
|
173
|
-
"types": "./dialog/index.d.ts",
|
174
|
-
"esm2022": "./esm2022/dialog/acorex-components-dialog.mjs",
|
175
|
-
"esm": "./esm2022/dialog/acorex-components-dialog.mjs",
|
176
|
-
"default": "./fesm2022/acorex-components-dialog.mjs"
|
177
|
-
},
|
178
172
|
"./decorators": {
|
179
173
|
"types": "./decorators/index.d.ts",
|
180
174
|
"esm2022": "./esm2022/decorators/acorex-components-decorators.mjs",
|
181
175
|
"esm": "./esm2022/decorators/acorex-components-decorators.mjs",
|
182
176
|
"default": "./fesm2022/acorex-components-decorators.mjs"
|
183
177
|
},
|
178
|
+
"./dialog": {
|
179
|
+
"types": "./dialog/index.d.ts",
|
180
|
+
"esm2022": "./esm2022/dialog/acorex-components-dialog.mjs",
|
181
|
+
"esm": "./esm2022/dialog/acorex-components-dialog.mjs",
|
182
|
+
"default": "./fesm2022/acorex-components-dialog.mjs"
|
183
|
+
},
|
184
184
|
"./drawer": {
|
185
185
|
"types": "./drawer/index.d.ts",
|
186
186
|
"esm2022": "./esm2022/drawer/acorex-components-drawer.mjs",
|
@@ -193,6 +193,12 @@
|
|
193
193
|
"esm": "./esm2022/dropdown/acorex-components-dropdown.mjs",
|
194
194
|
"default": "./fesm2022/acorex-components-dropdown.mjs"
|
195
195
|
},
|
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
|
+
},
|
196
202
|
"./dropdown-button": {
|
197
203
|
"types": "./dropdown-button/index.d.ts",
|
198
204
|
"esm2022": "./esm2022/dropdown-button/acorex-components-dropdown-button.mjs",
|
@@ -205,12 +211,6 @@
|
|
205
211
|
"esm": "./esm2022/image/acorex-components-image.mjs",
|
206
212
|
"default": "./fesm2022/acorex-components-image.mjs"
|
207
213
|
},
|
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
|
-
},
|
214
214
|
"./label": {
|
215
215
|
"types": "./label/index.d.ts",
|
216
216
|
"esm2022": "./esm2022/label/acorex-components-label.mjs",
|
@@ -319,18 +319,18 @@
|
|
319
319
|
"esm": "./esm2022/radio/acorex-components-radio.mjs",
|
320
320
|
"default": "./fesm2022/acorex-components-radio.mjs"
|
321
321
|
},
|
322
|
-
"./range-slider": {
|
323
|
-
"types": "./range-slider/index.d.ts",
|
324
|
-
"esm2022": "./esm2022/range-slider/acorex-components-range-slider.mjs",
|
325
|
-
"esm": "./esm2022/range-slider/acorex-components-range-slider.mjs",
|
326
|
-
"default": "./fesm2022/acorex-components-range-slider.mjs"
|
327
|
-
},
|
328
322
|
"./result": {
|
329
323
|
"types": "./result/index.d.ts",
|
330
324
|
"esm2022": "./esm2022/result/acorex-components-result.mjs",
|
331
325
|
"esm": "./esm2022/result/acorex-components-result.mjs",
|
332
326
|
"default": "./fesm2022/acorex-components-result.mjs"
|
333
327
|
},
|
328
|
+
"./range-slider": {
|
329
|
+
"types": "./range-slider/index.d.ts",
|
330
|
+
"esm2022": "./esm2022/range-slider/acorex-components-range-slider.mjs",
|
331
|
+
"esm": "./esm2022/range-slider/acorex-components-range-slider.mjs",
|
332
|
+
"default": "./fesm2022/acorex-components-range-slider.mjs"
|
333
|
+
},
|
334
334
|
"./routing-progress": {
|
335
335
|
"types": "./routing-progress/index.d.ts",
|
336
336
|
"esm2022": "./esm2022/routing-progress/acorex-components-routing-progress.mjs",
|
@@ -367,18 +367,18 @@
|
|
367
367
|
"esm": "./esm2022/selection-list/acorex-components-selection-list.mjs",
|
368
368
|
"default": "./fesm2022/acorex-components-selection-list.mjs"
|
369
369
|
},
|
370
|
-
"./skeleton": {
|
371
|
-
"types": "./skeleton/index.d.ts",
|
372
|
-
"esm2022": "./esm2022/skeleton/acorex-components-skeleton.mjs",
|
373
|
-
"esm": "./esm2022/skeleton/acorex-components-skeleton.mjs",
|
374
|
-
"default": "./fesm2022/acorex-components-skeleton.mjs"
|
375
|
-
},
|
376
370
|
"./side-menu": {
|
377
371
|
"types": "./side-menu/index.d.ts",
|
378
372
|
"esm2022": "./esm2022/side-menu/acorex-components-side-menu.mjs",
|
379
373
|
"esm": "./esm2022/side-menu/acorex-components-side-menu.mjs",
|
380
374
|
"default": "./fesm2022/acorex-components-side-menu.mjs"
|
381
375
|
},
|
376
|
+
"./skeleton": {
|
377
|
+
"types": "./skeleton/index.d.ts",
|
378
|
+
"esm2022": "./esm2022/skeleton/acorex-components-skeleton.mjs",
|
379
|
+
"esm": "./esm2022/skeleton/acorex-components-skeleton.mjs",
|
380
|
+
"default": "./fesm2022/acorex-components-skeleton.mjs"
|
381
|
+
},
|
382
382
|
"./slider": {
|
383
383
|
"types": "./slider/index.d.ts",
|
384
384
|
"esm2022": "./esm2022/slider/acorex-components-slider.mjs",
|
@@ -403,18 +403,18 @@
|
|
403
403
|
"esm": "./esm2022/tabs/acorex-components-tabs.mjs",
|
404
404
|
"default": "./fesm2022/acorex-components-tabs.mjs"
|
405
405
|
},
|
406
|
-
"./text-area": {
|
407
|
-
"types": "./text-area/index.d.ts",
|
408
|
-
"esm2022": "./esm2022/text-area/acorex-components-text-area.mjs",
|
409
|
-
"esm": "./esm2022/text-area/acorex-components-text-area.mjs",
|
410
|
-
"default": "./fesm2022/acorex-components-text-area.mjs"
|
411
|
-
},
|
412
406
|
"./tag": {
|
413
407
|
"types": "./tag/index.d.ts",
|
414
408
|
"esm2022": "./esm2022/tag/acorex-components-tag.mjs",
|
415
409
|
"esm": "./esm2022/tag/acorex-components-tag.mjs",
|
416
410
|
"default": "./fesm2022/acorex-components-tag.mjs"
|
417
411
|
},
|
412
|
+
"./text-area": {
|
413
|
+
"types": "./text-area/index.d.ts",
|
414
|
+
"esm2022": "./esm2022/text-area/acorex-components-text-area.mjs",
|
415
|
+
"esm": "./esm2022/text-area/acorex-components-text-area.mjs",
|
416
|
+
"default": "./fesm2022/acorex-components-text-area.mjs"
|
417
|
+
},
|
418
418
|
"./text-box": {
|
419
419
|
"types": "./text-box/index.d.ts",
|
420
420
|
"esm2022": "./esm2022/text-box/acorex-components-text-box.mjs",
|
package/uploader/index.d.ts
CHANGED