@acorex/components 21.0.0-next.2 → 21.0.0-next.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/autocomplete/index.d.ts +23 -9
- package/code-editor/README.md +291 -1
- package/code-editor/index.d.ts +260 -12
- package/command/index.d.ts +1 -0
- package/data-table/index.d.ts +1 -1
- package/drawer/README.md +2 -2
- package/drawer/index.d.ts +33 -57
- package/drawer-legacy/README.md +3 -0
- package/drawer-legacy/index.d.ts +86 -0
- package/editor/README.md +3 -0
- package/editor/index.d.ts +80 -0
- package/fesm2022/acorex-components-accordion.mjs +14 -14
- package/fesm2022/acorex-components-accordion.mjs.map +1 -1
- package/fesm2022/acorex-components-action-sheet.mjs +10 -10
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +8 -8
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-aspect-ratio.mjs +4 -4
- package/fesm2022/acorex-components-aspect-ratio.mjs.map +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs +8 -8
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-autocomplete.mjs +30 -13
- package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +11 -11
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +8 -8
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +11 -11
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +11 -11
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +13 -13
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +15 -15
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +14 -14
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +8 -8
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +8 -8
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +8 -8
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-code-editor.mjs +494 -162
- package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +11 -26
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +9 -9
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +30 -30
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-command.mjs +18 -11
- package/fesm2022/acorex-components-command.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +30 -30
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +54 -63
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +53 -53
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-list.mjs +5 -5
- package/fesm2022/acorex-components-data-list.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +50 -38
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +46 -43
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +8 -8
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +8 -8
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +9 -9
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +83 -41
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +21 -12
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer-legacy.mjs +218 -0
- package/fesm2022/acorex-components-drawer-legacy.mjs.map +1 -0
- package/fesm2022/acorex-components-drawer.mjs +66 -149
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +9 -9
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +15 -15
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-editor.mjs +189 -0
- package/fesm2022/acorex-components-editor.mjs.map +1 -0
- package/fesm2022/acorex-components-file-explorer.mjs +28 -28
- package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
- package/fesm2022/acorex-components-flow-chart.mjs +18 -18
- package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +22 -28
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +12 -12
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +38 -38
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +8 -8
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-json-viewer.mjs +8 -8
- package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-kanban.mjs +4 -4
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-kbd.mjs +7 -7
- package/fesm2022/acorex-components-kbd.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +7 -7
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +8 -8
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +21 -12
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +16 -16
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +15 -14
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +61 -87
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +19 -19
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/{acorex-components-modal-acorex-components-modal-h5Y-qcbh.mjs → acorex-components-modal-acorex-components-modal-iYSPzoLn.mjs} +23 -23
- package/fesm2022/acorex-components-modal-acorex-components-modal-iYSPzoLn.mjs.map +1 -0
- package/fesm2022/{acorex-components-modal-modal-content.component-B6tyMLdU.mjs → acorex-components-modal-modal-content.component-sZWKhYM-.mjs} +7 -30
- package/fesm2022/acorex-components-modal-modal-content.component-sZWKhYM-.mjs.map +1 -0
- package/fesm2022/acorex-components-modal.mjs +1 -1
- package/fesm2022/acorex-components-navbar.mjs +7 -7
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +10 -10
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box-legacy.mjs +412 -0
- package/fesm2022/acorex-components-number-box-legacy.mjs.map +1 -0
- package/fesm2022/acorex-components-number-box.mjs +98 -331
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +8 -8
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-page.mjs +10 -10
- package/fesm2022/acorex-components-page.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +27 -27
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +11 -11
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-pdf-reader.mjs +8 -8
- package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +9 -9
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +15 -15
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +8 -8
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +10 -10
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +7 -7
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-qrcode.mjs +8 -8
- package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-components-query-builder.mjs +8 -8
- package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +7 -7
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-rail-navigation.mjs +15 -15
- package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +8 -8
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +8 -8
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-rest-api-generator.mjs +23 -23
- package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +7 -7
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs +7 -7
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-rrule.mjs +111 -16
- package/fesm2022/acorex-components-rrule.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler-picker.mjs +2339 -0
- package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -0
- package/fesm2022/acorex-components-scheduler.mjs +43 -43
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-scss.mjs +4 -4
- package/fesm2022/acorex-components-scss.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +8 -8
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +34 -17
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list-2.mjs +8 -8
- package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +8 -8
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +31 -38
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +7 -7
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-slider.mjs +8 -8
- package/fesm2022/acorex-components-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-sliding-item.mjs +16 -16
- package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +15 -15
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +10 -10
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +15 -15
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +51 -21
- package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +45 -9
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +7 -7
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +11 -11
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-time-duration.mjs +54 -14
- package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +13 -28
- package/fesm2022/acorex-components-time-line.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +10 -10
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-toolbar.mjs +8 -8
- package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +11 -11
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +16 -45
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-tree2.mjs +689 -0
- package/fesm2022/acorex-components-tree2.mjs.map +1 -0
- package/fesm2022/acorex-components-uploader.mjs +26 -639
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-video-player.mjs +8 -8
- package/fesm2022/acorex-components-video-player.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +207 -458
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/media-viewer/index.d.ts +1 -0
- package/number-box/README.md +2 -2
- package/number-box/index.d.ts +31 -171
- package/number-box-legacy/README.md +3 -0
- package/number-box-legacy/index.d.ts +191 -0
- package/package.json +37 -14
- package/phone-box/index.d.ts +4 -4
- package/rrule/index.d.ts +96 -1
- package/scheduler-picker/README.md +15 -0
- package/scheduler-picker/index.d.ts +1360 -0
- package/select-box/index.d.ts +15 -10
- package/side-menu/index.d.ts +3 -2
- package/tag/index.d.ts +8 -2
- package/tag-box/index.d.ts +12 -3
- package/time-duration/index.d.ts +19 -3
- package/tree2/README.md +3 -0
- package/tree2/index.d.ts +337 -0
- package/uploader/index.d.ts +4 -331
- package/wysiwyg/index.d.ts +56 -159
- package/drawer-2/README.md +0 -3
- package/drawer-2/index.d.ts +0 -62
- package/fesm2022/acorex-components-drawer-2.mjs +0 -134
- package/fesm2022/acorex-components-drawer-2.mjs.map +0 -1
- package/fesm2022/acorex-components-modal-acorex-components-modal-h5Y-qcbh.mjs.map +0 -1
- package/fesm2022/acorex-components-modal-modal-content.component-B6tyMLdU.mjs.map +0 -1
- package/fesm2022/acorex-components-number-box-2.mjs +0 -183
- package/fesm2022/acorex-components-number-box-2.mjs.map +0 -1
- package/number-box-2/README.md +0 -3
- package/number-box-2/index.d.ts +0 -41
package/uploader/index.d.ts
CHANGED
|
@@ -1,51 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import * as rxjs from 'rxjs';
|
|
5
|
-
import { Subject, BehaviorSubject } from 'rxjs';
|
|
6
|
-
import * as i1 from '@angular/common';
|
|
7
|
-
import * as i2 from '@acorex/components/decorators';
|
|
8
|
-
import * as i3 from '@acorex/components/button';
|
|
9
|
-
import * as i4 from '@acorex/core/translation';
|
|
10
|
-
import * as i5 from '@acorex/components/progress-bar';
|
|
11
|
-
import * as i6 from '@acorex/core/format';
|
|
12
|
-
import * as i7 from '@acorex/core/file';
|
|
13
|
-
import * as i8 from '@acorex/core/date-time';
|
|
14
|
-
import * as i9 from '@acorex/components/circular-progress';
|
|
15
|
-
import * as i10 from '@acorex/components/popup';
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* A directive that provides browse functionality for file uploads.
|
|
19
|
-
* When applied to an element, clicking it will trigger the file browser dialog.
|
|
20
|
-
* @category Directives
|
|
21
|
-
*/
|
|
22
|
-
declare class AXUploaderBrowseDirective implements OnInit, OnDestroy {
|
|
23
|
-
/**
|
|
24
|
-
* The uploader zone directive instance.
|
|
25
|
-
* @ignore
|
|
26
|
-
*/
|
|
27
|
-
private uploaderZone;
|
|
28
|
-
/**
|
|
29
|
-
* The element reference for the directive host.
|
|
30
|
-
* @ignore
|
|
31
|
-
*/
|
|
32
|
-
private elemenrRef;
|
|
33
|
-
/**
|
|
34
|
-
* Initializes the directive by adding click event listener and data attribute.
|
|
35
|
-
*/
|
|
36
|
-
ngOnInit(): void;
|
|
37
|
-
/**
|
|
38
|
-
* Cleans up the directive by removing event listeners.
|
|
39
|
-
*/
|
|
40
|
-
ngOnDestroy(): void;
|
|
41
|
-
/**
|
|
42
|
-
* Handles the click event to trigger file browser.
|
|
43
|
-
* @private
|
|
44
|
-
*/
|
|
45
|
-
private handleClick;
|
|
46
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXUploaderBrowseDirective, never>;
|
|
47
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXUploaderBrowseDirective, "[axUploaderBrowseHandle]", never, {}, {}, never, never, true, never>;
|
|
48
|
-
}
|
|
2
|
+
import { MXBaseComponent } from '@acorex/cdk/common';
|
|
3
|
+
import { AXUploaderService } from '@acorex/cdk/uploader';
|
|
49
4
|
|
|
50
5
|
/**
|
|
51
6
|
* A container for managing the uploader dialog with collapse and expand animations.
|
|
@@ -93,162 +48,6 @@ declare class AXUploaderDropZoneComponent extends MXBaseComponent {
|
|
|
93
48
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXUploaderDropZoneComponent, "ax-uploader-drop-zone", never, { "description": { "alias": "description"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
94
49
|
}
|
|
95
50
|
|
|
96
|
-
type AXUploadStatus = 'new' | 'inprogress' | 'completed' | 'failed' | 'canceled';
|
|
97
|
-
interface AXUploaderChangedEvent extends AXEvent {
|
|
98
|
-
requests: AXUploadRequest[];
|
|
99
|
-
}
|
|
100
|
-
interface AXUploaderFileStartEvent extends AXEvent {
|
|
101
|
-
uploadedFile: AXUploadRequest;
|
|
102
|
-
}
|
|
103
|
-
interface AXUploaderFileCompleteEvent extends AXEvent {
|
|
104
|
-
uploadedFile: AXUploadRequest;
|
|
105
|
-
}
|
|
106
|
-
interface AXUploaderFilesCompleteEvent extends AXEvent {
|
|
107
|
-
uploadedFiles: AXUploadRequest[];
|
|
108
|
-
data?: any;
|
|
109
|
-
}
|
|
110
|
-
interface AXUploaderFileCancelEvent extends AXEvent {
|
|
111
|
-
uploadedFile: AXUploadRequest;
|
|
112
|
-
}
|
|
113
|
-
declare class AXUploadRequest {
|
|
114
|
-
private uploadFile;
|
|
115
|
-
get name(): string;
|
|
116
|
-
get ext(): string;
|
|
117
|
-
get size(): number;
|
|
118
|
-
get file(): File;
|
|
119
|
-
private readonly _progress;
|
|
120
|
-
progress: i0.Signal<number>;
|
|
121
|
-
private readonly _estimateTime;
|
|
122
|
-
estimateTime: i0.Signal<number>;
|
|
123
|
-
private readonly _status;
|
|
124
|
-
status: i0.Signal<AXUploadStatus>;
|
|
125
|
-
private readonly _message;
|
|
126
|
-
message: i0.Signal<string>;
|
|
127
|
-
private readonly _isDetermined;
|
|
128
|
-
isDetermined: i0.Signal<boolean>;
|
|
129
|
-
private startTime;
|
|
130
|
-
private bytesTransferred;
|
|
131
|
-
metaData: any;
|
|
132
|
-
onCancel: Subject<void>;
|
|
133
|
-
onStart: Subject<void>;
|
|
134
|
-
onFailed: Subject<void>;
|
|
135
|
-
onComplete: BehaviorSubject<void>;
|
|
136
|
-
constructor(uploadFile: File);
|
|
137
|
-
private estimateTimeRemaining;
|
|
138
|
-
setTransferredBytes(value: number): void;
|
|
139
|
-
private updateEstimateTime;
|
|
140
|
-
upload(): Promise<void>;
|
|
141
|
-
cancel(): void;
|
|
142
|
-
redo(): void;
|
|
143
|
-
error(message: string): void;
|
|
144
|
-
finish(data?: any): void;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* Service for managing file uploads with drag-and-drop support, progress tracking, and dialog management.
|
|
149
|
-
* @category Services
|
|
150
|
-
*/
|
|
151
|
-
declare class AXUploaderService {
|
|
152
|
-
/**
|
|
153
|
-
* Popup service for showing upload dialogs.
|
|
154
|
-
* @ignore
|
|
155
|
-
*/
|
|
156
|
-
private popupService;
|
|
157
|
-
/**
|
|
158
|
-
* Translation service for localized text.
|
|
159
|
-
* @ignore
|
|
160
|
-
*/
|
|
161
|
-
private translateService;
|
|
162
|
-
/**
|
|
163
|
-
* File service for file operations.
|
|
164
|
-
* @ignore
|
|
165
|
-
*/
|
|
166
|
-
private fileService;
|
|
167
|
-
/**
|
|
168
|
-
* Behavior subject for managing upload requests.
|
|
169
|
-
* @ignore
|
|
170
|
-
*/
|
|
171
|
-
private readonly _files$;
|
|
172
|
-
/**
|
|
173
|
-
* Gets the files behavior subject for observing upload requests.
|
|
174
|
-
*/
|
|
175
|
-
readonly files: rxjs.Observable<AXUploadRequest[]>;
|
|
176
|
-
/**
|
|
177
|
-
* Subject for file upload start events.
|
|
178
|
-
*/
|
|
179
|
-
readonly onFileUploadStart: Subject<AXUploaderFileStartEvent>;
|
|
180
|
-
/**
|
|
181
|
-
* Subject for file upload complete events.
|
|
182
|
-
*/
|
|
183
|
-
readonly onFileUploadComplete: Subject<AXUploaderFileCompleteEvent>;
|
|
184
|
-
/**
|
|
185
|
-
* Subject for all files upload complete events.
|
|
186
|
-
*/
|
|
187
|
-
readonly onFilesUploadComplete: Subject<AXUploaderFilesCompleteEvent>;
|
|
188
|
-
/**
|
|
189
|
-
* Subject for file upload canceled events.
|
|
190
|
-
*/
|
|
191
|
-
readonly onFileUploadCanceled: Subject<AXUploaderFileCancelEvent>;
|
|
192
|
-
/**
|
|
193
|
-
* Signal indicating if any upload has determined progress.
|
|
194
|
-
*/
|
|
195
|
-
readonly isAnyDetermined: i0.Signal<boolean>;
|
|
196
|
-
/**
|
|
197
|
-
* Observable for total estimated upload time.
|
|
198
|
-
*/
|
|
199
|
-
readonly totalEstimateTime: rxjs.Observable<number>;
|
|
200
|
-
/**
|
|
201
|
-
* Shows the upload dialog with the list of files.
|
|
202
|
-
* @private
|
|
203
|
-
*/
|
|
204
|
-
private showDialog;
|
|
205
|
-
/**
|
|
206
|
-
* Converts a File object to an AXUploadRequest.
|
|
207
|
-
* @private
|
|
208
|
-
*/
|
|
209
|
-
private convertFileToRequest;
|
|
210
|
-
/**
|
|
211
|
-
* Starts uploading files that are in 'new' status.
|
|
212
|
-
* @private
|
|
213
|
-
*/
|
|
214
|
-
private startUpload;
|
|
215
|
-
/**
|
|
216
|
-
* Binds event handlers to an upload request.
|
|
217
|
-
* @private
|
|
218
|
-
*/
|
|
219
|
-
private bindEvents;
|
|
220
|
-
/**
|
|
221
|
-
* Opens the file browser dialog and returns selected files as upload requests.
|
|
222
|
-
* @param options - Configuration options for file selection
|
|
223
|
-
* @returns Promise that resolves to an array of upload requests
|
|
224
|
-
*/
|
|
225
|
-
browse(options?: {
|
|
226
|
-
multiple?: boolean;
|
|
227
|
-
accept?: string;
|
|
228
|
-
}): Promise<AXUploadRequest[]>;
|
|
229
|
-
/**
|
|
230
|
-
* Adds files to the upload queue and starts the upload process.
|
|
231
|
-
* @param files - Files to add to the upload queue
|
|
232
|
-
* @returns Promise that resolves to an array of upload requests
|
|
233
|
-
*/
|
|
234
|
-
add(files: FileList | File[]): Promise<AXUploadRequest[]>;
|
|
235
|
-
/**
|
|
236
|
-
* Cancels all pending and in-progress uploads.
|
|
237
|
-
*/
|
|
238
|
-
cancelAll(): Promise<void>;
|
|
239
|
-
/**
|
|
240
|
-
* Clears all completed uploads from the queue.
|
|
241
|
-
*/
|
|
242
|
-
clearAll(): void;
|
|
243
|
-
/**
|
|
244
|
-
* Removes a specific upload request from the queue.
|
|
245
|
-
* @param item - The upload request to remove
|
|
246
|
-
*/
|
|
247
|
-
remove(item: AXUploadRequest): void;
|
|
248
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXUploaderService, never>;
|
|
249
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXUploaderService>;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
51
|
/**
|
|
253
52
|
* A component that displays a list of uploaded files.
|
|
254
53
|
* @category Components
|
|
@@ -263,136 +62,10 @@ declare class AXUploaderListComponent {
|
|
|
263
62
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXUploaderListComponent, "ax-uploader-list", never, {}, {}, never, never, true, never>;
|
|
264
63
|
}
|
|
265
64
|
|
|
266
|
-
/**
|
|
267
|
-
* A directive that provides drag-and-drop and file upload functionality.
|
|
268
|
-
* When applied to an element, it enables drag-and-drop file uploads and file browsing.
|
|
269
|
-
* @category Directives
|
|
270
|
-
*/
|
|
271
|
-
declare class AXUploaderZoneDirective implements OnDestroy {
|
|
272
|
-
/**
|
|
273
|
-
* The element reference for the directive host.
|
|
274
|
-
* @ignore
|
|
275
|
-
*/
|
|
276
|
-
private elementRef;
|
|
277
|
-
/**
|
|
278
|
-
* Whether multiple files can be selected.
|
|
279
|
-
* @defaultValue true
|
|
280
|
-
*/
|
|
281
|
-
multiple: boolean;
|
|
282
|
-
/**
|
|
283
|
-
* File types that are accepted for upload.
|
|
284
|
-
* @defaultValue null
|
|
285
|
-
*/
|
|
286
|
-
accept: string;
|
|
287
|
-
/**
|
|
288
|
-
* Change detector reference.
|
|
289
|
-
* @ignore
|
|
290
|
-
*/
|
|
291
|
-
private cdr;
|
|
292
|
-
/**
|
|
293
|
-
* Document reference.
|
|
294
|
-
* @ignore
|
|
295
|
-
*/
|
|
296
|
-
private document;
|
|
297
|
-
/**
|
|
298
|
-
* Platform ID for browser detection.
|
|
299
|
-
* @ignore
|
|
300
|
-
*/
|
|
301
|
-
private platformID;
|
|
302
|
-
/**
|
|
303
|
-
* Upload service instance.
|
|
304
|
-
* @ignore
|
|
305
|
-
*/
|
|
306
|
-
private uploadService;
|
|
307
|
-
/**
|
|
308
|
-
* Unsubscriber service instance.
|
|
309
|
-
* @ignore
|
|
310
|
-
*/
|
|
311
|
-
private unsubscriber;
|
|
312
|
-
/**
|
|
313
|
-
* Translation service instance.
|
|
314
|
-
* @ignore
|
|
315
|
-
*/
|
|
316
|
-
private translateService;
|
|
317
|
-
/**
|
|
318
|
-
* The host element.
|
|
319
|
-
* @ignore
|
|
320
|
-
*/
|
|
321
|
-
private element;
|
|
322
|
-
/**
|
|
323
|
-
* Emitted when files are changed (added, removed, etc.).
|
|
324
|
-
*/
|
|
325
|
-
onChanged: EventEmitter<AXUploaderChangedEvent>;
|
|
326
|
-
/**
|
|
327
|
-
* Emitted when a single file upload is completed.
|
|
328
|
-
*/
|
|
329
|
-
onFileUploadComplete: EventEmitter<AXUploaderFileCompleteEvent>;
|
|
330
|
-
/**
|
|
331
|
-
* Emitted when all files upload is completed.
|
|
332
|
-
*/
|
|
333
|
-
onFilesUploadComplete: EventEmitter<AXUploaderFilesCompleteEvent>;
|
|
334
|
-
/**
|
|
335
|
-
* CSS class for the overlay state.
|
|
336
|
-
* @ignore
|
|
337
|
-
*/
|
|
338
|
-
stateClass: string;
|
|
339
|
-
/**
|
|
340
|
-
* The overlay element for drag and drop visual feedback.
|
|
341
|
-
* @ignore
|
|
342
|
-
*/
|
|
343
|
-
overlayElement: HTMLDivElement;
|
|
344
|
-
/**
|
|
345
|
-
* Initializes the directive with event listeners and service subscriptions.
|
|
346
|
-
*/
|
|
347
|
-
constructor();
|
|
348
|
-
/**
|
|
349
|
-
* Cleans up event listeners when the directive is destroyed.
|
|
350
|
-
*/
|
|
351
|
-
ngOnDestroy(): void;
|
|
352
|
-
/**
|
|
353
|
-
* Handles drag enter events to show the upload overlay.
|
|
354
|
-
* @private
|
|
355
|
-
*/
|
|
356
|
-
private handleDragEnter;
|
|
357
|
-
/**
|
|
358
|
-
* Handles drop events to process dropped files.
|
|
359
|
-
* @private
|
|
360
|
-
*/
|
|
361
|
-
private handleOnDrop;
|
|
362
|
-
/**
|
|
363
|
-
* Handles drag over events to allow dropping.
|
|
364
|
-
* @private
|
|
365
|
-
*/
|
|
366
|
-
private handleDragOver;
|
|
367
|
-
/**
|
|
368
|
-
* Creates the visual overlay for drag and drop feedback.
|
|
369
|
-
* @private
|
|
370
|
-
*/
|
|
371
|
-
private createZone;
|
|
372
|
-
/**
|
|
373
|
-
* Removes the visual overlay for drag and drop feedback.
|
|
374
|
-
* @private
|
|
375
|
-
*/
|
|
376
|
-
private removeZone;
|
|
377
|
-
/**
|
|
378
|
-
* Opens the file browser dialog and processes selected files.
|
|
379
|
-
* @returns Promise that resolves when files are processed
|
|
380
|
-
*/
|
|
381
|
-
browser(): Promise<void>;
|
|
382
|
-
/**
|
|
383
|
-
* Host binding for CSS class.
|
|
384
|
-
* @ignore
|
|
385
|
-
*/
|
|
386
|
-
get __hostClass(): string;
|
|
387
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXUploaderZoneDirective, never>;
|
|
388
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXUploaderZoneDirective, "[axUploaderZone]", never, { "multiple": { "alias": "multiple"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; }, { "onChanged": "onChanged"; "onFileUploadComplete": "onFileUploadComplete"; "onFilesUploadComplete": "onFilesUploadComplete"; }, never, never, true, never>;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
65
|
declare class AXUploaderModule {
|
|
392
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXUploaderModule, never>;
|
|
393
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXUploaderModule, never, [typeof
|
|
67
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXUploaderModule, never, [typeof AXUploaderListComponent, typeof AXUploaderDialogContainerComponent], [typeof AXUploaderListComponent, typeof AXUploaderDialogContainerComponent]>;
|
|
394
68
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXUploaderModule>;
|
|
395
69
|
}
|
|
396
70
|
|
|
397
|
-
export {
|
|
398
|
-
export type { AXUploadStatus, AXUploaderChangedEvent, AXUploaderFileCancelEvent, AXUploaderFileCompleteEvent, AXUploaderFileStartEvent, AXUploaderFilesCompleteEvent };
|
|
71
|
+
export { AXUploaderDialogContainerComponent, AXUploaderDropZoneComponent, AXUploaderListComponent, AXUploaderModule };
|
package/wysiwyg/index.d.ts
CHANGED
|
@@ -1,31 +1,19 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
1
|
+
import * as polytype from 'polytype';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { OnDestroy, ElementRef } from '@angular/core';
|
|
4
|
+
import { MXInputBaseValueComponent, MXLookComponent } from '@acorex/cdk/common';
|
|
3
5
|
import * as i1 from '@acorex/components/button';
|
|
4
6
|
import * as i2 from '@acorex/components/decorators';
|
|
5
7
|
import * as i3 from '@acorex/components/select-box';
|
|
6
8
|
import * as i4 from '@angular/forms';
|
|
7
9
|
import * as i5 from '@acorex/components/color-palette';
|
|
8
10
|
import * as i6 from '@acorex/components/popover';
|
|
9
|
-
import { AXPopoverOpenTrigger, AXPopoverCloseTrigger } from '@acorex/components/popover';
|
|
10
11
|
import * as i7 from '@acorex/components/text-box';
|
|
11
|
-
import * as polytype from 'polytype';
|
|
12
|
-
import { MXInputBaseValueComponent, MXLookComponent, AXPlacement } from '@acorex/cdk/common';
|
|
13
|
-
import { AXWysiwyg } from '@acorex/cdk/wysiwyg';
|
|
14
|
-
|
|
15
|
-
declare class AXWysiwygService {
|
|
16
|
-
wysiwyg: _angular_core.WritableSignal<AXWysiwyg>;
|
|
17
|
-
isEditorClean: _angular_core.WritableSignal<boolean>;
|
|
18
|
-
currentSelectedElemArray: _angular_core.WritableSignal<string[]>;
|
|
19
|
-
currentSelectedElemList: _angular_core.WritableSignal<string>;
|
|
20
|
-
currentSelectedElemAlign: _angular_core.WritableSignal<string>;
|
|
21
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygService, never>;
|
|
22
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXWysiwygService>;
|
|
23
|
-
}
|
|
24
12
|
|
|
25
13
|
declare const AXWysiwygContainerComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
|
26
14
|
new (): MXInputBaseValueComponent<string>;
|
|
27
|
-
ɵfac:
|
|
28
|
-
ɵprov:
|
|
15
|
+
ɵfac: i0.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
|
|
16
|
+
ɵprov: i0.ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
|
|
29
17
|
}, typeof MXLookComponent]>;
|
|
30
18
|
/**
|
|
31
19
|
* A container component for WYSIWYG (What You See Is What You Get) editor functionality.
|
|
@@ -33,18 +21,20 @@ declare const AXWysiwygContainerComponent_base: polytype.Polytype.ClusteredConst
|
|
|
33
21
|
*/
|
|
34
22
|
declare class AXWysiwygContainerComponent extends AXWysiwygContainerComponent_base implements OnDestroy {
|
|
35
23
|
#private;
|
|
36
|
-
/** @ignore */
|
|
37
|
-
protected service: AXWysiwygService;
|
|
38
|
-
/** @ignore */
|
|
39
|
-
private zone;
|
|
40
24
|
/**
|
|
41
25
|
* Specifies the placeholder text.
|
|
42
26
|
*
|
|
43
27
|
*/
|
|
44
|
-
placeHolder:
|
|
45
|
-
|
|
28
|
+
placeHolder: i0.InputSignal<string>;
|
|
29
|
+
private wysiwygService;
|
|
30
|
+
protected isQuillLoaded: i0.WritableSignal<boolean>;
|
|
31
|
+
private isEditorClean;
|
|
32
|
+
private wysiwyg;
|
|
33
|
+
private container;
|
|
34
|
+
private toolbar;
|
|
35
|
+
private platformId;
|
|
46
36
|
/** @ignore */
|
|
47
|
-
protected changeHandler(): void
|
|
37
|
+
protected changeHandler(): Promise<void>;
|
|
48
38
|
/** @ignore */
|
|
49
39
|
ngOnDestroy(): void;
|
|
50
40
|
/**
|
|
@@ -73,23 +63,19 @@ declare class AXWysiwygContainerComponent extends AXWysiwygContainerComponent_ba
|
|
|
73
63
|
*/
|
|
74
64
|
setDisabledState(isDisabled: boolean): void;
|
|
75
65
|
private get __hostName();
|
|
76
|
-
|
|
77
|
-
static
|
|
66
|
+
get __hostClass(): string;
|
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygContainerComponent, never>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygContainerComponent, "ax-wysiwyg-container", never, { "look": { "alias": "look"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeHolder": { "alias": "placeHolder"; "required": false; "isSignal": true; }; }, { "onValueChanged": "onValueChanged"; }, ["container", "toolbar"], ["*", "ax-validation-rule"], true, never>;
|
|
78
69
|
}
|
|
79
70
|
|
|
80
71
|
/**
|
|
81
72
|
* @category Components
|
|
82
73
|
* A component for viewing WYSIWYG content.
|
|
83
74
|
*/
|
|
84
|
-
declare class
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
get __hostClass(): string;
|
|
89
|
-
protected onKeydownHandler(e: any): void;
|
|
90
|
-
protected editorStateHandler(e: any): void;
|
|
91
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygViewComponent, never>;
|
|
92
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygViewComponent, "ax-wysiwyg-view", never, { "classes": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
75
|
+
declare class AXWysiwygToolbarComponent {
|
|
76
|
+
toolbar: i0.Signal<ElementRef<HTMLDivElement>>;
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygToolbarComponent, never>;
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygToolbarComponent, "ax-wysiwyg-toolbar", never, {}, {}, never, ["ax-prefix", "ax-suffix"], true, never>;
|
|
93
79
|
}
|
|
94
80
|
|
|
95
81
|
/**
|
|
@@ -97,24 +83,15 @@ declare class AXWysiwygViewComponent {
|
|
|
97
83
|
* @category Components
|
|
98
84
|
*/
|
|
99
85
|
declare class AXWysiwygAlignmentComponent {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
offsetX: number;
|
|
110
|
-
offsetY: number;
|
|
111
|
-
};
|
|
112
|
-
/** @ignore */
|
|
113
|
-
constructor();
|
|
114
|
-
/** @ignore */
|
|
115
|
-
protected alignStateHandler(e: any): void;
|
|
116
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygAlignmentComponent, never>;
|
|
117
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygAlignmentComponent, "ax-wysiwyg-alignment", never, {}, {}, never, never, true, never>;
|
|
86
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygAlignmentComponent, never>;
|
|
87
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygAlignmentComponent, "ax-wysiwyg-alignment", never, {}, {}, never, never, true, never>;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
declare class WysiwygService {
|
|
91
|
+
selectedColor: i0.WritableSignal<string>;
|
|
92
|
+
selectedBackgroundColor: i0.WritableSignal<string>;
|
|
93
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WysiwygService, never>;
|
|
94
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WysiwygService>;
|
|
118
95
|
}
|
|
119
96
|
|
|
120
97
|
/**
|
|
@@ -122,36 +99,9 @@ declare class AXWysiwygAlignmentComponent {
|
|
|
122
99
|
* @category Components
|
|
123
100
|
*/
|
|
124
101
|
declare class AXWysiwygColorsComponent {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
protected selectedColor: _angular_core.WritableSignal<string>;
|
|
129
|
-
/** @ignore */
|
|
130
|
-
protected selectedHighlightColor: _angular_core.WritableSignal<string>;
|
|
131
|
-
/** @ignore */
|
|
132
|
-
protected userInteractColor: _angular_core.WritableSignal<boolean>;
|
|
133
|
-
/** @ignore */
|
|
134
|
-
protected userInteractHighligh: _angular_core.WritableSignal<boolean>;
|
|
135
|
-
/** @ignore */
|
|
136
|
-
protected popoverOption: {
|
|
137
|
-
openOn: AXPopoverOpenTrigger;
|
|
138
|
-
closeOn: AXPopoverCloseTrigger;
|
|
139
|
-
placement: AXPlacement;
|
|
140
|
-
offsetX: number;
|
|
141
|
-
offsetY: number;
|
|
142
|
-
};
|
|
143
|
-
/** @ignore */
|
|
144
|
-
constructor();
|
|
145
|
-
/** @ignore */
|
|
146
|
-
protected changeColorHandler(e: string): void;
|
|
147
|
-
/** @ignore */
|
|
148
|
-
protected changeHighlightColorHandler(e: string): void;
|
|
149
|
-
/** @ignore */
|
|
150
|
-
protected initialHighlightHandler(): void;
|
|
151
|
-
/** @ignore */
|
|
152
|
-
protected initialColorHandler(): void;
|
|
153
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygColorsComponent, never>;
|
|
154
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygColorsComponent, "ax-wysiwyg-colors", never, {}, {}, never, never, true, never>;
|
|
102
|
+
protected wysiwygService: WysiwygService;
|
|
103
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygColorsComponent, never>;
|
|
104
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygColorsComponent, "ax-wysiwyg-colors", never, {}, {}, never, never, true, never>;
|
|
155
105
|
}
|
|
156
106
|
|
|
157
107
|
/**
|
|
@@ -159,34 +109,8 @@ declare class AXWysiwygColorsComponent {
|
|
|
159
109
|
* @category Components
|
|
160
110
|
*/
|
|
161
111
|
declare class AXWysiwygFontStyleComponent {
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
/** @ignore */
|
|
165
|
-
protected boldState: _angular_core.WritableSignal<boolean>;
|
|
166
|
-
/** @ignore */
|
|
167
|
-
protected italicState: _angular_core.WritableSignal<boolean>;
|
|
168
|
-
/** @ignore */
|
|
169
|
-
protected underLineState: _angular_core.WritableSignal<boolean>;
|
|
170
|
-
/** @ignore */
|
|
171
|
-
protected strikeLineState: _angular_core.WritableSignal<boolean>;
|
|
172
|
-
/** @ignore */
|
|
173
|
-
protected selectedFont: _angular_core.WritableSignal<string>;
|
|
174
|
-
/** @ignore */
|
|
175
|
-
service: AXWysiwygService;
|
|
176
|
-
/** @ignore */
|
|
177
|
-
constructor();
|
|
178
|
-
/** @ignore */
|
|
179
|
-
protected bold(): void;
|
|
180
|
-
/** @ignore */
|
|
181
|
-
protected italic(): void;
|
|
182
|
-
/** @ignore */
|
|
183
|
-
protected underLine(): void;
|
|
184
|
-
/** @ignore */
|
|
185
|
-
protected strike(): void;
|
|
186
|
-
/** @ignore */
|
|
187
|
-
protected fontSizeHandler(e: 'medium' | 'small' | 'large' | 'huge'): void;
|
|
188
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygFontStyleComponent, never>;
|
|
189
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygFontStyleComponent, "ax-wysiwyg-font-style", never, {}, {}, never, never, true, never>;
|
|
112
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygFontStyleComponent, never>;
|
|
113
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygFontStyleComponent, "ax-wysiwyg-font-style", never, {}, {}, never, never, true, never>;
|
|
190
114
|
}
|
|
191
115
|
|
|
192
116
|
/**
|
|
@@ -194,14 +118,8 @@ declare class AXWysiwygFontStyleComponent {
|
|
|
194
118
|
* @category Components
|
|
195
119
|
*/
|
|
196
120
|
declare class AXWysiwygHistoryComponent {
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
/** @ignore */
|
|
200
|
-
protected undo(): void;
|
|
201
|
-
/** @ignore */
|
|
202
|
-
protected redo(): void;
|
|
203
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygHistoryComponent, never>;
|
|
204
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygHistoryComponent, "ax-wysiwyg-history", never, {}, {}, never, never, true, never>;
|
|
121
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygHistoryComponent, never>;
|
|
122
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygHistoryComponent, "ax-wysiwyg-history", never, {}, {}, never, never, true, never>;
|
|
205
123
|
}
|
|
206
124
|
|
|
207
125
|
/**
|
|
@@ -209,29 +127,8 @@ declare class AXWysiwygHistoryComponent {
|
|
|
209
127
|
* @category Components
|
|
210
128
|
*/
|
|
211
129
|
declare class AXWysiwygInsertComponent {
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
service: AXWysiwygService;
|
|
215
|
-
protected isCodeActive: _angular_core.WritableSignal<boolean>;
|
|
216
|
-
/** @ignore */
|
|
217
|
-
textBoxOptions: {
|
|
218
|
-
text: string;
|
|
219
|
-
placeholder: string;
|
|
220
|
-
size: string;
|
|
221
|
-
};
|
|
222
|
-
/** @ignore */
|
|
223
|
-
protected popoverOption: {
|
|
224
|
-
openOn: AXPopoverOpenTrigger;
|
|
225
|
-
closeOn: AXPopoverCloseTrigger;
|
|
226
|
-
placement: AXPlacement;
|
|
227
|
-
offsetX: number;
|
|
228
|
-
offsetY: number;
|
|
229
|
-
};
|
|
230
|
-
/** @ignore */
|
|
231
|
-
protected submitLink(): void;
|
|
232
|
-
protected codeBlock(): void;
|
|
233
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygInsertComponent, never>;
|
|
234
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygInsertComponent, "ax-wysiwyg-insert", never, {}, {}, never, never, true, never>;
|
|
130
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygInsertComponent, never>;
|
|
131
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygInsertComponent, "ax-wysiwyg-insert", never, {}, {}, never, never, true, never>;
|
|
235
132
|
}
|
|
236
133
|
|
|
237
134
|
/**
|
|
@@ -239,24 +136,24 @@ declare class AXWysiwygInsertComponent {
|
|
|
239
136
|
* @category Components
|
|
240
137
|
*/
|
|
241
138
|
declare class AXWysiwygListComponent {
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
static ɵfac:
|
|
253
|
-
static ɵcmp:
|
|
139
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygListComponent, never>;
|
|
140
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygListComponent, "ax-wysiwyg-list", never, {}, {}, never, never, true, never>;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* @category Components
|
|
145
|
+
* A component for viewing WYSIWYG content.
|
|
146
|
+
*/
|
|
147
|
+
declare class AXWysiwygViewComponent {
|
|
148
|
+
editor: i0.Signal<ElementRef<HTMLDivElement>>;
|
|
149
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygViewComponent, never>;
|
|
150
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygViewComponent, "ax-wysiwyg-view", never, {}, {}, never, never, true, never>;
|
|
254
151
|
}
|
|
255
152
|
|
|
256
153
|
declare class AXWysiwygModule {
|
|
257
|
-
static ɵfac:
|
|
258
|
-
static ɵmod:
|
|
259
|
-
static ɵinj:
|
|
154
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygModule, never>;
|
|
155
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXWysiwygModule, never, [typeof i1.AXButtonModule, typeof i2.AXDecoratorModule, typeof i3.AXSelectBoxModule, typeof i4.FormsModule, typeof i5.AXColorPaletteModule, typeof i6.AXPopoverModule, typeof i7.AXTextBoxModule, typeof AXWysiwygContainerComponent, typeof AXWysiwygViewComponent, typeof AXWysiwygAlignmentComponent, typeof AXWysiwygColorsComponent, typeof AXWysiwygFontStyleComponent, typeof AXWysiwygHistoryComponent, typeof AXWysiwygInsertComponent, typeof AXWysiwygListComponent, typeof AXWysiwygToolbarComponent], [typeof AXWysiwygContainerComponent, typeof AXWysiwygViewComponent, typeof AXWysiwygAlignmentComponent, typeof AXWysiwygColorsComponent, typeof AXWysiwygFontStyleComponent, typeof AXWysiwygHistoryComponent, typeof AXWysiwygInsertComponent, typeof AXWysiwygListComponent, typeof AXWysiwygToolbarComponent]>;
|
|
156
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXWysiwygModule>;
|
|
260
157
|
}
|
|
261
158
|
|
|
262
|
-
export { AXWysiwygAlignmentComponent, AXWysiwygColorsComponent, AXWysiwygContainerComponent, AXWysiwygFontStyleComponent, AXWysiwygHistoryComponent, AXWysiwygInsertComponent, AXWysiwygListComponent, AXWysiwygModule, AXWysiwygViewComponent };
|
|
159
|
+
export { AXWysiwygAlignmentComponent, AXWysiwygColorsComponent, AXWysiwygContainerComponent, AXWysiwygFontStyleComponent, AXWysiwygHistoryComponent, AXWysiwygInsertComponent, AXWysiwygListComponent, AXWysiwygModule, AXWysiwygToolbarComponent, AXWysiwygViewComponent };
|
package/drawer-2/README.md
DELETED