@acorex/components 19.11.0-next.4 → 19.11.0-next.6
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/common/lib/classes/datasource.class.d.ts +2 -2
- package/fesm2022/acorex-components-action-sheet.mjs +12 -12
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +7 -7
- package/fesm2022/acorex-components-audio-wave.mjs +7 -7
- package/fesm2022/acorex-components-autocomplete.mjs +7 -7
- package/fesm2022/acorex-components-avatar.mjs +10 -10
- package/fesm2022/acorex-components-badge.mjs +7 -7
- package/fesm2022/acorex-components-bottom-navigation.mjs +10 -10
- package/fesm2022/acorex-components-breadcrumbs.mjs +10 -10
- package/fesm2022/acorex-components-button-group.mjs +10 -10
- package/fesm2022/acorex-components-button.mjs +13 -13
- package/fesm2022/acorex-components-calendar.mjs +13 -13
- package/fesm2022/acorex-components-check-box.mjs +7 -7
- package/fesm2022/acorex-components-chips.mjs +7 -7
- package/fesm2022/acorex-components-circular-progress.mjs +7 -7
- package/fesm2022/acorex-components-collapse.mjs +10 -10
- package/fesm2022/acorex-components-color-box.mjs +7 -7
- package/fesm2022/acorex-components-color-palette.mjs +25 -25
- package/fesm2022/acorex-components-comment.mjs +28 -28
- package/fesm2022/acorex-components-common.mjs +91 -91
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +49 -49
- package/fesm2022/acorex-components-cron-job.mjs +46 -46
- package/fesm2022/acorex-components-data-pager.mjs +31 -31
- package/fesm2022/acorex-components-data-table.mjs +38 -38
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +7 -7
- package/fesm2022/acorex-components-datetime-input.mjs +7 -7
- package/fesm2022/acorex-components-datetime-picker.mjs +7 -7
- package/fesm2022/acorex-components-decorators.mjs +25 -25
- package/fesm2022/acorex-components-dialog.mjs +10 -10
- package/fesm2022/acorex-components-drawer.mjs +13 -13
- package/fesm2022/acorex-components-dropdown-button.mjs +7 -7
- package/fesm2022/acorex-components-dropdown.mjs +13 -13
- package/fesm2022/acorex-components-file-explorer.mjs +25 -25
- package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +16 -16
- package/fesm2022/acorex-components-grid-layout-builder.mjs +192 -112
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +343 -302
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +7 -7
- package/fesm2022/acorex-components-json-viewer.mjs +7 -7
- package/fesm2022/acorex-components-kbd.mjs +10 -10
- package/fesm2022/acorex-components-label.mjs +7 -7
- package/fesm2022/acorex-components-list.mjs +7 -7
- package/fesm2022/acorex-components-loading-dialog.mjs +10 -10
- package/fesm2022/acorex-components-loading.mjs +16 -16
- package/fesm2022/acorex-components-map.mjs +10 -10
- package/fesm2022/acorex-components-media-viewer.mjs +34 -34
- package/fesm2022/acorex-components-menu.mjs +20 -20
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-navbar.mjs +7 -7
- package/fesm2022/acorex-components-notification.mjs +49 -33
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +7 -7
- package/fesm2022/acorex-components-otp.mjs +7 -7
- package/fesm2022/acorex-components-page.mjs +10 -10
- package/fesm2022/acorex-components-paint.mjs +20 -49
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +10 -10
- package/fesm2022/acorex-components-pdf-reader.mjs +7 -7
- package/fesm2022/acorex-components-phone-box.mjs +7 -7
- package/fesm2022/acorex-components-picker.mjs +13 -13
- package/fesm2022/acorex-components-popover.mjs +7 -7
- package/fesm2022/acorex-components-popup.mjs +10 -10
- package/fesm2022/acorex-components-progress-bar.mjs +7 -7
- package/fesm2022/acorex-components-qrcode.mjs +7 -7
- package/fesm2022/acorex-components-query-builder.mjs +7 -7
- package/fesm2022/acorex-components-radio.mjs +7 -7
- package/fesm2022/acorex-components-rail-navigation.mjs +13 -13
- package/fesm2022/acorex-components-range-slider.mjs +7 -7
- package/fesm2022/acorex-components-rate-picker.mjs +7 -7
- package/fesm2022/acorex-components-rest-api-generator.mjs +22 -22
- package/fesm2022/acorex-components-result.mjs +7 -7
- package/fesm2022/acorex-components-routing-progress.mjs +7 -7
- package/fesm2022/acorex-components-scheduler.mjs +13 -13
- package/fesm2022/acorex-components-scss.mjs +4 -4
- package/fesm2022/acorex-components-search-box.mjs +7 -7
- package/fesm2022/acorex-components-select-box.mjs +7 -7
- package/fesm2022/acorex-components-selection-list.mjs +7 -7
- package/fesm2022/acorex-components-side-menu.mjs +13 -13
- package/fesm2022/acorex-components-skeleton.mjs +7 -7
- package/fesm2022/acorex-components-slider.mjs +7 -7
- package/fesm2022/acorex-components-sliding-item.mjs +13 -13
- package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +13 -13
- package/fesm2022/acorex-components-switch.mjs +10 -10
- package/fesm2022/acorex-components-tabs.mjs +13 -13
- package/fesm2022/acorex-components-tag-box.mjs +7 -7
- package/fesm2022/acorex-components-tag.mjs +7 -7
- package/fesm2022/acorex-components-text-area.mjs +7 -7
- package/fesm2022/acorex-components-text-box.mjs +10 -10
- package/fesm2022/acorex-components-time-line.mjs +10 -10
- package/fesm2022/acorex-components-toast.mjs +51 -15
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-toolbar.mjs +7 -7
- package/fesm2022/acorex-components-tooltip.mjs +10 -10
- package/fesm2022/acorex-components-tree-view.mjs +178 -163
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +22 -22
- package/fesm2022/acorex-components-video-player.mjs +7 -7
- package/fesm2022/acorex-components-wysiwyg.mjs +31 -31
- package/grid-layout-builder/lib/grid-layout-container.component.d.ts +8 -23
- package/grid-layout-builder/lib/grid-layout-widget.component.d.ts +27 -3
- package/grid-layout-builder/lib/types.d.ts +82 -25
- package/grid-layout-builder/lib/utility.d.ts +7 -0
- package/image-editor/index.d.ts +1 -1
- package/image-editor/lib/image-editor-container/image-editor-container.component.d.ts +1 -13
- package/image-editor/lib/image-editor-cropper-window/image-editor-cropper-window.component.d.ts +47 -0
- package/image-editor/lib/image-editor-tools/image-editor-crop/image-editor-crop.component.d.ts +1 -0
- package/image-editor/lib/image-editor-view/image-editor-view.component.d.ts +17 -24
- package/image-editor/lib/image-editor.module.d.ts +2 -2
- package/image-editor/lib/image-editor.service.d.ts +1 -0
- package/notification/lib/notification.class.d.ts +2 -0
- package/notification/lib/notification.component.d.ts +7 -6
- package/notification/lib/notification.config.d.ts +1 -0
- package/package.json +1 -1
- package/paint/lib/paint/paint-view/paint-view.component.d.ts +0 -6
- package/rest-api-generator/lib/request-headers/request-headers.component.d.ts +1 -1
- package/toast/lib/toast.class.d.ts +2 -0
- package/toast/lib/toast.component.d.ts +7 -0
- package/toast/lib/toast.config.d.ts +1 -0
- package/tree-view/lib/tree-view-item.component.d.ts +8 -12
- package/tree-view/lib/tree-view.class.d.ts +4 -20
- package/tree-view/lib/tree-view.component.d.ts +25 -16
- package/image-editor/lib/image-editor-tools/image-editor-header/image-editor-header.component.d.ts +0 -12
@@ -22,10 +22,10 @@ class AXWysiwygService {
|
|
22
22
|
this.currentSelectedElemList = signal('');
|
23
23
|
this.currentSelectedElemAlign = signal('');
|
24
24
|
}
|
25
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
26
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AXWysiwygService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
26
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AXWysiwygService }); }
|
27
27
|
}
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AXWysiwygService, decorators: [{
|
29
29
|
type: Injectable
|
30
30
|
}] });
|
31
31
|
|
@@ -127,8 +127,8 @@ class AXWysiwygContainerComponent extends classes((MXInputBaseValueComponent), M
|
|
127
127
|
ngOnDestroy() {
|
128
128
|
this.service.wysiwyg()?.quillObj().off('text-change', this.changeHandler);
|
129
129
|
}
|
130
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
131
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.1
|
130
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AXWysiwygContainerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
131
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.1", type: AXWysiwygContainerComponent, isStandalone: true, selector: "ax-wysiwyg-container", inputs: { look: { classPropertyName: "look", publicName: "look", isSignal: false, isRequired: false, transformFunction: null }, placeHolder: { classPropertyName: "placeHolder", publicName: "placeHolder", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onValueChanged: "onValueChanged" }, providers: [
|
132
132
|
AXWysiwygService,
|
133
133
|
{ provide: AXComponent, useExisting: AXWysiwygContainerComponent },
|
134
134
|
{ provide: AXFocusableComponent, useExisting: AXWysiwygContainerComponent },
|
@@ -141,7 +141,7 @@ class AXWysiwygContainerComponent extends classes((MXInputBaseValueComponent), M
|
|
141
141
|
},
|
142
142
|
], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-editor-container ax-{{ look }}\">\n <ng-content></ng-content>\n <ng-content select=\"ax-validation-rule\"> </ng-content>\n</div>\n<div class=\"ax-error-container\"></div>\n", styles: [".ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container:not(.ql-disabled) li[data-list=checked]>.ql-ui,.ql-container:not(.ql-disabled) li[data-list=unchecked]>.ql-ui{cursor:pointer}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0}@supports (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-set:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor table{border-collapse:collapse}.ql-editor td{border:1px solid #000;padding:2px 5px}.ql-editor ol{padding-left:1.5em}.ql-editor li{list-style-type:none;padding-left:1.5em;position:relative}.ql-editor li>.ql-ui:before{display:inline-block;margin-left:-1.5em;margin-right:.3em;text-align:right;white-space:nowrap;width:1.2em}.ql-editor li[data-list=checked]>.ql-ui,.ql-editor li[data-list=unchecked]>.ql-ui{color:#777}.ql-editor li[data-list=bullet]>.ql-ui:before{content:\"\\2022\"}.ql-editor li[data-list=checked]>.ql-ui:before{content:\"\\2611\"}.ql-editor li[data-list=unchecked]>.ql-ui:before{content:\"\\2610\"}@supports (counter-set:none){.ql-editor li[data-list]{counter-set:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list]{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered]{counter-increment:list-0}.ql-editor li[data-list=ordered]>.ql-ui:before{content:counter(list-0,decimal) \". \"}.ql-editor li[data-list=ordered].ql-indent-1{counter-increment:list-1}.ql-editor li[data-list=ordered].ql-indent-1>.ql-ui:before{content:counter(list-1,lower-alpha) \". \"}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-set:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-2{counter-increment:list-2}.ql-editor li[data-list=ordered].ql-indent-2>.ql-ui:before{content:counter(list-2,lower-roman) \". \"}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-set:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-3{counter-increment:list-3}.ql-editor li[data-list=ordered].ql-indent-3>.ql-ui:before{content:counter(list-3,decimal) \". \"}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-set:list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-4{counter-increment:list-4}.ql-editor li[data-list=ordered].ql-indent-4>.ql-ui:before{content:counter(list-4,lower-alpha) \". \"}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-set:list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-5{counter-increment:list-5}.ql-editor li[data-list=ordered].ql-indent-5>.ql-ui:before{content:counter(list-5,lower-roman) \". \"}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-set:list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-6{counter-increment:list-6}.ql-editor li[data-list=ordered].ql-indent-6>.ql-ui:before{content:counter(list-6,decimal) \". \"}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-set:list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-reset:list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-7{counter-increment:list-7}.ql-editor li[data-list=ordered].ql-indent-7>.ql-ui:before{content:counter(list-7,lower-alpha) \". \"}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-set:list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-reset:list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-8{counter-increment:list-8}.ql-editor li[data-list=ordered].ql-indent-8>.ql-ui:before{content:counter(list-8,lower-roman) \". \"}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-set:list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-reset:list-9}}.ql-editor li[data-list=ordered].ql-indent-9{counter-increment:list-9}.ql-editor li[data-list=ordered].ql-indent-9>.ql-ui:before{content:counter(list-9,decimal) \". \"}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor li.ql-direction-rtl{padding-right:1.5em}.ql-editor li.ql-direction-rtl>.ql-ui:before{margin-left:.3em;margin-right:-1.5em;text-align:left}.ql-editor table{table-layout:fixed;width:100%}.ql-editor table td{outline:none}.ql-editor .ql-code-block-container{font-family:monospace}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor .ql-ui{position:absolute}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}ax-wysiwyg-container{width:100%;display:block}ax-wysiwyg-container>.ax-editor-container{display:block;height:100%!important;--ax-comp-editor-space-start-size: 0;--ax-comp-editor-space-end-size: 0}\n/*! Bundled license information:\n\nquill/dist/quill.core.css:\n (*!\n * Quill Editor v2.0.3\n * https://quilljs.com\n * Copyright (c) 2017-2024, Slab\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n *)\n*/\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
143
143
|
}
|
144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AXWysiwygContainerComponent, decorators: [{
|
145
145
|
type: Component,
|
146
146
|
args: [{ selector: 'ax-wysiwyg-container', inputs: ['look'], outputs: ['onValueChanged'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
|
147
147
|
AXWysiwygService,
|
@@ -199,10 +199,10 @@ class AXWysiwygAlignmentComponent {
|
|
199
199
|
this.alignState.set(e);
|
200
200
|
this.service.wysiwyg().align(e);
|
201
201
|
}
|
202
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
203
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1
|
202
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AXWysiwygAlignmentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
203
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.1", type: AXWysiwygAlignmentComponent, isStandalone: true, selector: "ax-wysiwyg-alignment", ngImport: i0, template: "<ax-button look=\"blank\" #alignPop>\n <ax-icon class=\"ax-icon ax-icon-align-left\"></ax-icon>\n</ax-button>\n<ax-popover\n [adaptivityEnabled]=\"true\"\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"alignPop\"\n [placement]=\"popoverOption.placement\"\n>\n <div class=\"ax-overlay-pane ax-alignment-container\">\n <ax-button\n (click)=\"alignStateHandler('left')\"\n look=\"blank\"\n [selected]=\"alignState() === 'left' ? true : false\"\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=\"blank\"\n [selected]=\"alignState() === 'center' ? true : false\"\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=\"blank\"\n [selected]=\"alignState() === 'right' ? true : false\"\n >\n <ax-icon class=\"ax-icon ax-icon-align-right\"></ax-icon>\n </ax-button>\n </div>\n</ax-popover>\n", styles: [".ax-alignment-container{padding:.5rem}\n"], dependencies: [{ kind: "component", type: 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: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: AXPopoverComponent, selector: "ax-popover", inputs: ["offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "backdropClass", "panelClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }] }); }
|
204
204
|
}
|
205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
205
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AXWysiwygAlignmentComponent, decorators: [{
|
206
206
|
type: Component,
|
207
207
|
args: [{ selector: 'ax-wysiwyg-alignment', imports: [AXButtonComponent, AXDecoratorIconComponent, AXPopoverComponent], template: "<ax-button look=\"blank\" #alignPop>\n <ax-icon class=\"ax-icon ax-icon-align-left\"></ax-icon>\n</ax-button>\n<ax-popover\n [adaptivityEnabled]=\"true\"\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"alignPop\"\n [placement]=\"popoverOption.placement\"\n>\n <div class=\"ax-overlay-pane ax-alignment-container\">\n <ax-button\n (click)=\"alignStateHandler('left')\"\n look=\"blank\"\n [selected]=\"alignState() === 'left' ? true : false\"\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=\"blank\"\n [selected]=\"alignState() === 'center' ? true : false\"\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=\"blank\"\n [selected]=\"alignState() === 'right' ? true : false\"\n >\n <ax-icon class=\"ax-icon ax-icon-align-right\"></ax-icon>\n </ax-button>\n </div>\n</ax-popover>\n", styles: [".ax-alignment-container{padding:.5rem}\n"] }]
|
208
208
|
}], ctorParameters: () => [] });
|
@@ -267,10 +267,10 @@ class AXWysiwygColorsComponent {
|
|
267
267
|
this.userInteractColor.set(true);
|
268
268
|
this.service.wysiwyg().color('rgb(151, 148, 148)');
|
269
269
|
}
|
270
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
271
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1
|
270
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AXWysiwygColorsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
271
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.1", type: AXWysiwygColorsComponent, isStandalone: true, selector: "ax-wysiwyg-colors", ngImport: i0, template: "<div class=\"ax-color-picker-wysiwyg-container\">\n <div (click)=\"initialColorHandler()\">\n <ax-button #colorBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-color-palette\"></ax-icon>\n </ax-button>\n <ax-color-indicator [previewColor]=\"selectedColor()\"></ax-color-indicator>\n </div>\n\n <div (click)=\"initialHighlightHandler()\">\n <ax-button #highlightBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-highlight\"></ax-icon>\n </ax-button>\n <ax-color-indicator [previewColor]=\"selectedHighlightColor()\"></ax-color-indicator>\n </div>\n</div>\n\n<ax-popover\n [adaptivityEnabled]=\"true\"\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<ax-popover\n [adaptivityEnabled]=\"true\"\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", styles: [".ax-color-picker-wysiwyg-container{display:flex;align-items:center}.ax-color-picker-wysiwyg-container ax-prefix{padding:0}\n"], dependencies: [{ kind: "component", type: 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: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: AXDecoratorColorIndicatorComponent, selector: "ax-color-indicator", inputs: ["previewColor"] }, { kind: "component", type: AXPopoverComponent, selector: "ax-popover", inputs: ["offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "backdropClass", "panelClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "component", type: AXColorPalleteComponent, selector: "ax-color-palette", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "checked"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: AXColorPalettePreviewComponent, selector: "ax-color-palette-preview" }, { kind: "component", type: AXColorPalettePickerComponent, selector: "ax-color-palette-picker" }, { kind: "component", type: AXColorPaletteInputComponent, selector: "ax-color-palette-input" }], encapsulation: i0.ViewEncapsulation.None }); }
|
272
272
|
}
|
273
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AXWysiwygColorsComponent, decorators: [{
|
274
274
|
type: Component,
|
275
275
|
args: [{ selector: 'ax-wysiwyg-colors', encapsulation: ViewEncapsulation.None, imports: [
|
276
276
|
AXButtonComponent,
|
@@ -398,10 +398,10 @@ class AXWysiwygFontStyleComponent {
|
|
398
398
|
this.selectedFont.set(e);
|
399
399
|
}
|
400
400
|
}
|
401
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
402
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1
|
401
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AXWysiwygFontStyleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
402
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.1", type: AXWysiwygFontStyleComponent, isStandalone: true, selector: "ax-wysiwyg-font-style", ngImport: i0, template: "<div class=\"ax-wysiwyg-font-style-container\">\n <ax-button (click)=\"bold()\" look=\"blank\" [selected]=\"boldState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-bold\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"italic()\" look=\"blank\" [selected]=\"italicState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-italic\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"underLine()\" look=\"blank\" [selected]=\"underLineState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-under-line\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"strike()\" look=\"blank\" [selected]=\"strikeLineState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-strike\"></ax-icon>\n </ax-button>\n\n <ax-select-box\n [look]=\"this.parent.look\"\n (ngModelChange)=\"fontSizeHandler($event)\"\n [ngModel]=\"selectedFont()\"\n [dataSource]=\"['small', 'medium', 'large', 'huge']\"\n placeholder=\"Choose...\"\n >\n </ax-select-box>\n</div>\n", styles: [".ax-wysiwyg-font-style-container{display:flex;justify-content:flex-start;align-items:center}\n"], dependencies: [{ kind: "component", type: 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: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "disabledField", "textTemplate", "selectedItems", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
|
403
403
|
}
|
404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AXWysiwygFontStyleComponent, decorators: [{
|
405
405
|
type: Component,
|
406
406
|
args: [{ selector: 'ax-wysiwyg-font-style', imports: [AXButtonComponent, AXDecoratorIconComponent, AXSelectBoxComponent, FormsModule], template: "<div class=\"ax-wysiwyg-font-style-container\">\n <ax-button (click)=\"bold()\" look=\"blank\" [selected]=\"boldState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-bold\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"italic()\" look=\"blank\" [selected]=\"italicState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-italic\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"underLine()\" look=\"blank\" [selected]=\"underLineState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-under-line\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"strike()\" look=\"blank\" [selected]=\"strikeLineState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-strike\"></ax-icon>\n </ax-button>\n\n <ax-select-box\n [look]=\"this.parent.look\"\n (ngModelChange)=\"fontSizeHandler($event)\"\n [ngModel]=\"selectedFont()\"\n [dataSource]=\"['small', 'medium', 'large', 'huge']\"\n placeholder=\"Choose...\"\n >\n </ax-select-box>\n</div>\n", styles: [".ax-wysiwyg-font-style-container{display:flex;justify-content:flex-start;align-items:center}\n"] }]
|
407
407
|
}], ctorParameters: () => [] });
|
@@ -423,10 +423,10 @@ class AXWysiwygHistoryComponent {
|
|
423
423
|
redo() {
|
424
424
|
this.service.wysiwyg().redo();
|
425
425
|
}
|
426
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
427
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1
|
426
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AXWysiwygHistoryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
427
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.1", type: AXWysiwygHistoryComponent, isStandalone: true, selector: "ax-wysiwyg-history", ngImport: i0, template: "<ax-button (click)=\"undo()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-undo\"></ax-icon>\n</ax-button>\n\n<ax-button (click)=\"redo()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-redo\"></ax-icon>\n</ax-button>\n", styles: ["ax-wysiwyg-history{display:flex}\n"], dependencies: [{ kind: "component", type: 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: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
428
428
|
}
|
429
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
429
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AXWysiwygHistoryComponent, decorators: [{
|
430
430
|
type: Component,
|
431
431
|
args: [{ selector: 'ax-wysiwyg-history', encapsulation: ViewEncapsulation.None, imports: [AXButtonComponent, AXDecoratorIconComponent], template: "<ax-button (click)=\"undo()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-undo\"></ax-icon>\n</ax-button>\n\n<ax-button (click)=\"redo()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-redo\"></ax-icon>\n</ax-button>\n", styles: ["ax-wysiwyg-history{display:flex}\n"] }]
|
432
432
|
}] });
|
@@ -458,10 +458,10 @@ class AXWysiwygInsertComponent {
|
|
458
458
|
submitLink() {
|
459
459
|
this.service.wysiwyg().addImage(this.textBoxOptions.text);
|
460
460
|
}
|
461
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
462
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1
|
461
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AXWysiwygInsertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
462
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.1", type: AXWysiwygInsertComponent, isStandalone: true, selector: "ax-wysiwyg-insert", ngImport: i0, template: "<ax-button #linkBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-image\"></ax-icon>\n</ax-button>\n\n<ax-popover\n [adaptivityEnabled]=\"true\"\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"linkBtn\"\n [placement]=\"popoverOption.placement\"\n>\n <div class=\"ax-overlay-pane ax-insert-container\">\n <ax-text-box\n class=\"{{ textBoxOptions.size }}\"\n [(ngModel)]=\"textBoxOptions.text\"\n [placeholder]=\"textBoxOptions.placeholder\"\n >\n <ax-suffix>\n <ax-button (click)=\"submitLink()\" color=\"secondary\" text=\"Add\"> </ax-button>\n </ax-suffix>\n </ax-text-box>\n </div>\n</ax-popover>\n", styles: [".ax-insert-container{display:flex;padding:.5rem}\n"], dependencies: [{ kind: "component", type: 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: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: AXPopoverComponent, selector: "ax-popover", inputs: ["offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "backdropClass", "panelClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "component", type: 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"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }], encapsulation: i0.ViewEncapsulation.None }); }
|
463
463
|
}
|
464
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
464
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AXWysiwygInsertComponent, decorators: [{
|
465
465
|
type: Component,
|
466
466
|
args: [{ selector: 'ax-wysiwyg-insert', encapsulation: ViewEncapsulation.None, imports: [AXButtonComponent, AXDecoratorIconComponent, AXPopoverComponent, AXTextBoxComponent, FormsModule, AXDecoratorGenericComponent], template: "<ax-button #linkBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-image\"></ax-icon>\n</ax-button>\n\n<ax-popover\n [adaptivityEnabled]=\"true\"\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"linkBtn\"\n [placement]=\"popoverOption.placement\"\n>\n <div class=\"ax-overlay-pane ax-insert-container\">\n <ax-text-box\n class=\"{{ textBoxOptions.size }}\"\n [(ngModel)]=\"textBoxOptions.text\"\n [placeholder]=\"textBoxOptions.placeholder\"\n >\n <ax-suffix>\n <ax-button (click)=\"submitLink()\" color=\"secondary\" text=\"Add\"> </ax-button>\n </ax-suffix>\n </ax-text-box>\n </div>\n</ax-popover>\n", styles: [".ax-insert-container{display:flex;padding:.5rem}\n"] }]
|
467
467
|
}] });
|
@@ -517,10 +517,10 @@ class AXWysiwygListComponent {
|
|
517
517
|
this.listState.set('');
|
518
518
|
}
|
519
519
|
}
|
520
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
521
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1
|
520
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AXWysiwygListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
521
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.1", type: AXWysiwygListComponent, isStandalone: true, selector: "ax-wysiwyg-list", ngImport: i0, template: "<ax-button (click)=\"orderList()\" look=\"blank\" [selected]=\"listState() === 'ordered' ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-order-list\"></ax-icon>\n</ax-button>\n\n<ax-button (click)=\"unOrderList()\" look=\"blank\" [selected]=\"listState() === 'bullet' ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-un-order-list\"></ax-icon>\n</ax-button>\n", styles: ["ax-wysiwyg-list{display:flex}\n"], dependencies: [{ kind: "component", type: 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: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
522
522
|
}
|
523
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
523
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AXWysiwygListComponent, decorators: [{
|
524
524
|
type: Component,
|
525
525
|
args: [{ selector: 'ax-wysiwyg-list', encapsulation: ViewEncapsulation.None, imports: [AXButtonComponent, AXDecoratorIconComponent], template: "<ax-button (click)=\"orderList()\" look=\"blank\" [selected]=\"listState() === 'ordered' ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-order-list\"></ax-icon>\n</ax-button>\n\n<ax-button (click)=\"unOrderList()\" look=\"blank\" [selected]=\"listState() === 'bullet' ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-un-order-list\"></ax-icon>\n</ax-button>\n", styles: ["ax-wysiwyg-list{display:flex}\n"] }]
|
526
526
|
}], ctorParameters: () => [] });
|
@@ -554,10 +554,10 @@ class AXWysiwygViewComponent {
|
|
554
554
|
e.target.classList.value,
|
555
555
|
]);
|
556
556
|
}
|
557
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
558
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.1
|
557
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AXWysiwygViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
558
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.1", type: AXWysiwygViewComponent, isStandalone: true, selector: "ax-wysiwyg-view", inputs: { classes: { classPropertyName: "classes", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "keydown.Backspace": "onKeydownHandler($event)", "click": "editorStateHandler($event)" }, properties: { "class": "this.__hostClass" } }, ngImport: i0, template: "\n", styles: ["ax-wysiwyg-view{display:flex;flex-direction:column;width:100%;border-bottom:1px solid rgb(var(--ax-sys-color-border-lightest-surface))}.ql-container{flex-grow:1;height:0;font-family:inherit}.ql-editor.ql-blank:before{color:rgba(var(--ax-sys-color-on-lightest-surface));font-weight:600;font-style:normal}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
559
559
|
}
|
560
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
560
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AXWysiwygViewComponent, decorators: [{
|
561
561
|
type: Component,
|
562
562
|
args: [{ selector: 'ax-wysiwyg-view', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "\n", styles: ["ax-wysiwyg-view{display:flex;flex-direction:column;width:100%;border-bottom:1px solid rgb(var(--ax-sys-color-border-lightest-surface))}.ql-container{flex-grow:1;height:0;font-family:inherit}.ql-editor.ql-blank:before{color:rgba(var(--ax-sys-color-on-lightest-surface));font-weight:600;font-style:normal}\n"] }]
|
563
563
|
}], propDecorators: { __hostClass: [{
|
@@ -583,8 +583,8 @@ const COMPONENT = [
|
|
583
583
|
];
|
584
584
|
const MODULES = [AXButtonModule, AXDecoratorModule, AXSelectBoxModule, FormsModule, AXColorPaletteModule, AXPopoverModule, AXTextBoxModule];
|
585
585
|
class AXWysiwygModule {
|
586
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
587
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1
|
586
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AXWysiwygModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
587
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.1", ngImport: i0, type: AXWysiwygModule, imports: [AXButtonModule, AXDecoratorModule, AXSelectBoxModule, FormsModule, AXColorPaletteModule, AXPopoverModule, AXTextBoxModule, AXWysiwygContainerComponent,
|
588
588
|
AXWysiwygViewComponent,
|
589
589
|
AXWysiwygAlignmentComponent,
|
590
590
|
AXWysiwygColorsComponent,
|
@@ -599,14 +599,14 @@ class AXWysiwygModule {
|
|
599
599
|
AXWysiwygHistoryComponent,
|
600
600
|
AXWysiwygInsertComponent,
|
601
601
|
AXWysiwygListComponent] }); }
|
602
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1
|
602
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AXWysiwygModule, imports: [MODULES, AXWysiwygAlignmentComponent,
|
603
603
|
AXWysiwygColorsComponent,
|
604
604
|
AXWysiwygFontStyleComponent,
|
605
605
|
AXWysiwygHistoryComponent,
|
606
606
|
AXWysiwygInsertComponent,
|
607
607
|
AXWysiwygListComponent] }); }
|
608
608
|
}
|
609
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
609
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AXWysiwygModule, decorators: [{
|
610
610
|
type: NgModule,
|
611
611
|
args: [{
|
612
612
|
imports: [...MODULES, ...COMPONENT],
|
@@ -2,33 +2,21 @@ import { NXComponent } from '@acorex/components/common';
|
|
2
2
|
import { OnDestroy, QueryList } from '@angular/core';
|
3
3
|
import { Subscription } from 'rxjs';
|
4
4
|
import { AXGridLayoutWidgetComponent } from './grid-layout-widget.component';
|
5
|
-
import {
|
5
|
+
import { AXGridLayoutEvent, AXGridLayoutNode, AXGridLayoutOptions, AXGridLayoutWidget, AXGridLayoutWidgetElement } from './types';
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
export declare class AXGridLayoutContainerComponent extends NXComponent implements OnDestroy {
|
8
8
|
#private;
|
9
|
-
options: import("@angular/core").InputSignal<
|
10
|
-
protected onAdded: import("@angular/core").OutputEmitterRef<
|
11
|
-
protected onRemoved: import("@angular/core").OutputEmitterRef<
|
12
|
-
protected onWidgetChange: import("@angular/core").OutputEmitterRef<
|
13
|
-
protected onChange: import("@angular/core").OutputEmitterRef<
|
14
|
-
protected _onEnable: import("@angular/core").OutputEmitterRef<AXGridLayoutEventEvent>;
|
15
|
-
protected _onDisable: import("@angular/core").OutputEmitterRef<AXGridLayoutEventEvent>;
|
16
|
-
protected _onWidgetDrag: import("@angular/core").OutputEmitterRef<AXGridLayoutElementEvent>;
|
17
|
-
protected _onWidgetDragStart: import("@angular/core").OutputEmitterRef<AXGridLayoutElementEvent>;
|
18
|
-
protected _onWidgetDragStop: import("@angular/core").OutputEmitterRef<AXGridLayoutElementEvent>;
|
19
|
-
protected _onWidgetDropped: import("@angular/core").OutputEmitterRef<AXGridLayoutDroppedEvent>;
|
20
|
-
protected _onWidgetResized: import("@angular/core").OutputEmitterRef<AXGridLayoutElementEvent>;
|
21
|
-
protected _onWidgetResizeStart: import("@angular/core").OutputEmitterRef<AXGridLayoutElementEvent>;
|
22
|
-
protected _onWidgetResizeStop: import("@angular/core").OutputEmitterRef<AXGridLayoutElementEvent>;
|
9
|
+
options: import("@angular/core").InputSignal<AXGridLayoutOptions>;
|
10
|
+
protected onAdded: import("@angular/core").OutputEmitterRef<AXGridLayoutEvent>;
|
11
|
+
protected onRemoved: import("@angular/core").OutputEmitterRef<AXGridLayoutEvent>;
|
12
|
+
protected onWidgetChange: import("@angular/core").OutputEmitterRef<AXGridLayoutEvent>;
|
13
|
+
protected onChange: import("@angular/core").OutputEmitterRef<AXGridLayoutEvent>;
|
23
14
|
protected isLayoutRendered: import("@angular/core").OutputEmitterRef<boolean>;
|
24
15
|
protected isEmpty: import("@angular/core").ModelSignal<boolean>;
|
25
16
|
private readonly elementRef;
|
26
17
|
private readonly ngZone;
|
27
|
-
private readonly domSanitizer;
|
28
|
-
private widgets;
|
29
18
|
gridstackItems?: QueryList<AXGridLayoutWidgetComponent>;
|
30
19
|
private el;
|
31
|
-
private serializedData?;
|
32
20
|
private grid?;
|
33
21
|
protected _sub: Subscription | undefined;
|
34
22
|
ngOnDestroy(): void;
|
@@ -36,6 +24,7 @@ export declare class AXGridLayoutContainerComponent extends NXComponent implemen
|
|
36
24
|
private checkEmpty;
|
37
25
|
private hookEvents;
|
38
26
|
private unhookEvents;
|
27
|
+
private _dispatchChangeEvent;
|
39
28
|
addWidget(w: AXGridLayoutWidget, withAutoArrange?: boolean): AXGridLayoutWidgetElement | undefined;
|
40
29
|
compact(layout?: 'list' | 'compact', doSort?: boolean): void;
|
41
30
|
setCellHeight(val: number, update?: boolean): void;
|
@@ -48,10 +37,7 @@ export declare class AXGridLayoutContainerComponent extends NXComponent implemen
|
|
48
37
|
removeWidget(el: AXGridLayoutWidgetElement, removeDOM?: boolean, triggerEvent?: boolean): void;
|
49
38
|
removeAll(removeDOM?: boolean): void;
|
50
39
|
setAnimation(doAnimate: boolean): void;
|
51
|
-
save(saveContent?: boolean, saveGridOpt?: boolean, saveCallback?: AXSaveCallback): AXGridLayoutOptions;
|
52
|
-
load(serializedData?: AXGridLayoutOptions, cleanBeforeLoad?: boolean): Promise<AXGridLayout>;
|
53
40
|
setupDraggable(dragIn?: string | HTMLElement[], widgets?: AXGridLayoutWidget): Promise<void>;
|
54
|
-
setOption(options: AXGridLayoutOptions): void;
|
55
41
|
getOptions(): AXGridLayoutOptions;
|
56
42
|
getChildren(): AXGridLayoutNode[];
|
57
43
|
findEmptySpace(input: {
|
@@ -61,7 +47,6 @@ export declare class AXGridLayoutContainerComponent extends NXComponent implemen
|
|
61
47
|
x?: number;
|
62
48
|
y?: number;
|
63
49
|
};
|
64
|
-
private _dispatchChangeEvent;
|
65
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXGridLayoutContainerComponent, never>;
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXGridLayoutContainerComponent, "ax-grid-layout-container", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "isEmpty": { "alias": "isEmpty"; "required": false; "isSignal": true; }; }, { "onAdded": "onAdded"; "onRemoved": "onRemoved"; "onWidgetChange": "onWidgetChange"; "onChange": "onChange"; "
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXGridLayoutContainerComponent, "ax-grid-layout-container", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "isEmpty": { "alias": "isEmpty"; "required": false; "isSignal": true; }; }, { "onAdded": "onAdded"; "onRemoved": "onRemoved"; "onWidgetChange": "onWidgetChange"; "onChange": "onChange"; "isLayoutRendered": "isLayoutRendered"; "isEmpty": "isEmptyChange"; }, ["gridstackItems"], ["*"], true, never>;
|
67
52
|
}
|
@@ -1,14 +1,38 @@
|
|
1
|
-
import { AXGridLayoutNode, AXGridLayoutWidget } from './types';
|
1
|
+
import { AXGridLayoutNode, AXGridLayoutWidget, AXGridLayoutWidgetElement } from './types';
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export declare class AXGridLayoutWidgetComponent {
|
4
|
+
#private;
|
4
5
|
private readonly elementRef;
|
5
6
|
options: import("@angular/core").InputSignal<AXGridLayoutNode>;
|
6
|
-
|
7
|
+
/**
|
8
|
+
* Locks or unlocks the widget (prevents dragging and resizing).
|
9
|
+
* @param state - If `true`, the widget will be locked.
|
10
|
+
*/
|
7
11
|
setLockable(state: boolean): void;
|
12
|
+
/**
|
13
|
+
* Enables or disables resizing of the widget.
|
14
|
+
* @param state - If `true`, resizing will be enabled.
|
15
|
+
*/
|
8
16
|
setResizable(state: boolean): void;
|
17
|
+
/**
|
18
|
+
* Updates the widget options.
|
19
|
+
* @param options - The new options for the widget.
|
20
|
+
*/
|
9
21
|
setOptions(options: AXGridLayoutWidget): void;
|
22
|
+
/**
|
23
|
+
* Returns the current options of the widget.
|
24
|
+
* @returns The current widget options.
|
25
|
+
*/
|
10
26
|
getOptions(): AXGridLayoutNode;
|
11
|
-
|
27
|
+
/**
|
28
|
+
* Returns the native DOM element of the widget.
|
29
|
+
* @returns The native element.
|
30
|
+
*/
|
31
|
+
get element(): AXGridLayoutWidgetElement;
|
32
|
+
/**
|
33
|
+
* Updates the widget options and triggers a grid update.
|
34
|
+
* @param options - The partial options to update.
|
35
|
+
*/
|
12
36
|
private updateWidgetOptions;
|
13
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXGridLayoutWidgetComponent, never>;
|
14
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXGridLayoutWidgetComponent, "ax-grid-layout-widget", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
@@ -1,30 +1,87 @@
|
|
1
1
|
import { NXEvent } from '@acorex/components/common';
|
2
2
|
import { AXGridLayoutContainerComponent } from './grid-layout-container.component';
|
3
|
-
export
|
4
|
-
|
5
|
-
|
3
|
+
export interface AXGridLayoutPosition {
|
4
|
+
/** widget position x (default?: 0) */
|
5
|
+
x?: number;
|
6
|
+
/** widget position y (default?: 0) */
|
7
|
+
y?: number;
|
8
|
+
/** widget dimension width (default?: 1) */
|
9
|
+
w?: number;
|
10
|
+
/** widget dimension height (default?: 1) */
|
11
|
+
h?: number;
|
12
|
+
}
|
13
|
+
export interface AXGridLayoutWidget extends AXGridLayoutPosition {
|
14
|
+
id?: string;
|
15
|
+
/** prevent direct resizing by the user (default?: undefined = un-constrained) */
|
16
|
+
disableResize?: boolean;
|
17
|
+
/** prevents direct moving by the user (default?: undefined = un-constrained) */
|
18
|
+
disableDrag?: boolean;
|
19
|
+
}
|
20
|
+
export interface AXGridLayoutNode extends AXGridLayoutWidget {
|
21
|
+
element?: AXGridLayoutWidgetElement;
|
22
|
+
}
|
6
23
|
export type AXGridLayout = import('gridstack').GridStack;
|
7
|
-
export
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
24
|
+
export interface AXGridLayoutOptions {
|
25
|
+
/** number of columns (default?: 12)
|
26
|
+
* Note: for nested grids, it is recommended to use 'auto' which will always match the container grid-item current width (in column) to keep inside and outside
|
27
|
+
* items always to same. flag is not supported for regular non-nested grids.
|
28
|
+
*/
|
29
|
+
column?: number | 'auto';
|
30
|
+
/** disallows dragging of widgets (default?: false) */
|
31
|
+
disableDrag?: boolean;
|
32
|
+
/** disallows resizing of widgets (default?: false). */
|
33
|
+
disableResize?: boolean;
|
34
|
+
/**
|
35
|
+
* gap between grid item and content (default?: 10). This will set all 4 sides and support the CSS formats below
|
36
|
+
* an integer (px)
|
37
|
+
* a string with possible units (ex: '2em', '20px', '2rem')
|
38
|
+
* string with space separated values (ex: '5px 10px 0 20px' for all 4 sides, or '5em 10em' for top/bottom and left/right pairs like CSS).
|
39
|
+
* Note: all sides must have same units (last one wins, default px)
|
40
|
+
*/
|
41
|
+
gap?: number | string;
|
42
|
+
/**
|
43
|
+
* one cell height (default?: 'auto'). Can be:
|
44
|
+
* an integer (px)
|
45
|
+
* a string (ex: '100px', '10em', '10rem'). Note: % doesn't work right - see demo/cell-height.html
|
46
|
+
* 0, in which case the library will not generate styles for rows. Everything must be defined in your own CSS files.
|
47
|
+
* 'auto' - height will be calculated for square cells (width / column) and updated live as you resize the window - also see `cellHeightThrottle`
|
48
|
+
* 'initial' - similar to 'auto' (start at square cells) but stay that size during window resizing.
|
49
|
+
*/
|
50
|
+
cellHeight?: number | string;
|
51
|
+
/**
|
52
|
+
* if true turns grid to RTL. Possible values are true, false, 'auto' (default?: 'auto')
|
53
|
+
*/
|
54
|
+
rtl?: boolean | 'auto';
|
55
|
+
/** maximum rows amount. Default? is 0 which means no maximum rows */
|
56
|
+
maxRow?: number;
|
57
|
+
/** minimum rows amount. Default is `0`. You can also do this with `min-height` CSS attribute
|
58
|
+
* on the grid div in pixels, which will round to the closest row.
|
59
|
+
*/
|
60
|
+
minRow?: number;
|
61
|
+
/** fix grid number of rows. This is a shortcut of writing `minRow:N, maxRow:N`. (default `0` no constrain) */
|
62
|
+
row?: number;
|
63
|
+
/**
|
64
|
+
* if true widgets could be removed by dragging outside of the grid. It could also be a selector string (ex: ".trash"),
|
65
|
+
* in this case widgets will be removed by dropping them there (default?: false)
|
66
|
+
*/
|
67
|
+
removableSelector?: string;
|
68
|
+
/** does it has option to remove widgets */
|
69
|
+
removable?: boolean;
|
70
|
+
/**
|
71
|
+
* accept widgets dragged from other grids or from outside (default: `false`). Can be: `true` or `false`,
|
72
|
+
*/
|
73
|
+
acceptWidgets?: boolean;
|
74
|
+
/** enable floating widgets (default?: false) */
|
75
|
+
float?: boolean;
|
76
|
+
/** draggable handle selector (default?: '.grid-stack-item-content') */
|
77
|
+
dragHandlerSelector?: string;
|
78
|
+
}
|
79
|
+
export interface AXGridLayoutContainerElement extends HTMLElement {
|
80
|
+
gridstack?: AXGridLayout;
|
81
|
+
}
|
82
|
+
export interface AXGridLayoutWidgetElement extends HTMLElement {
|
83
|
+
gridstackNode?: AXGridLayoutNode;
|
84
|
+
}
|
85
|
+
export interface AXGridLayoutEvent extends NXEvent<AXGridLayoutContainerComponent> {
|
23
86
|
nodes: AXGridLayoutNode[];
|
24
87
|
}
|
25
|
-
export type AXGridLayoutDroppedEvent = {
|
26
|
-
event: Event;
|
27
|
-
previousNode: AXGridLayoutNode;
|
28
|
-
newNode: AXGridLayoutNode;
|
29
|
-
};
|
30
|
-
export type AXSaveCallback = import('gridstack').SaveFcn;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { AXGridLayoutNode, AXGridLayoutOptions, AXGridLayoutWidget } from './types';
|
2
|
+
export declare function convertAXGridLayoutWidgetToGridStackWidget(widget: AXGridLayoutWidget): import('gridstack').GridStackWidget;
|
3
|
+
export declare function convertGridStackWidgetToAXGridLayoutWidget(widget: import('gridstack').GridStackWidget): AXGridLayoutWidget;
|
4
|
+
export declare function convertAXGridLayoutNodeToGridStackNode(node: AXGridLayoutNode): import('gridstack').GridStackNode;
|
5
|
+
export declare function convertGridStackNodeToAXGridLayoutNode(node: import('gridstack').GridStackNode): AXGridLayoutNode;
|
6
|
+
export declare function convertAXGridLayoutOptionsToGridStackOptions(options: AXGridLayoutOptions): import('gridstack').GridStackOptions;
|
7
|
+
export declare function convertGridStackOptionsToAXGridLayoutOptions(options: import('gridstack').GridStackOptions): AXGridLayoutOptions;
|
package/image-editor/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export * from './lib/image-editor-container/image-editor-container.component';
|
2
|
+
export * from './lib/image-editor-cropper-window/image-editor-cropper-window.component';
|
2
3
|
export * from './lib/image-editor-tools/image-editor-crop/image-editor-crop.component';
|
3
|
-
export * from './lib/image-editor-tools/image-editor-header/image-editor-header.component';
|
4
4
|
export * from './lib/image-editor-tools/image-editor-highlight/image-editor-highlight.component';
|
5
5
|
export * from './lib/image-editor-tools/image-editor-history/image-editor-history.component';
|
6
6
|
export * from './lib/image-editor-tools/image-editor-pen/image-editor-pen.component';
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { MXInputBaseValueComponent, MXLookComponent } from '@acorex/components/common';
|
2
|
-
import { AXDialogService } from '@acorex/components/dialog';
|
3
2
|
import { ElementRef } from '@angular/core';
|
4
3
|
import { AXImageEditorViewComponent } from '../image-editor-view/image-editor-view.component';
|
5
4
|
import { AXImageEditorService } from '../image-editor.service';
|
@@ -18,20 +17,9 @@ export declare class AXImageEditorContainerComponent extends AXImageEditorContai
|
|
18
17
|
protected service: AXImageEditorService;
|
19
18
|
imageEditorContainer: import("@angular/core").Signal<ElementRef<any>>;
|
20
19
|
view: import("@angular/core").Signal<AXImageEditorViewComponent>;
|
21
|
-
/** @ignore */
|
22
|
-
protected dialogService: AXDialogService;
|
23
|
-
/** @ignore */
|
24
|
-
protected options: import("@angular/core").WritableSignal<{
|
25
|
-
color: string;
|
26
|
-
title: string;
|
27
|
-
vertical: boolean;
|
28
|
-
content: string;
|
29
|
-
orientation: any;
|
30
|
-
draggable: boolean;
|
31
|
-
}>;
|
32
20
|
save(): void;
|
33
21
|
protected cropButtonHandler(): void;
|
34
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXImageEditorContainerComponent, never>;
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXImageEditorContainerComponent, "ax-image-editor-container", never, { "look": { "alias": "look"; "required": false; }; }, { "onValueChanged": "onValueChanged"; }, ["view"], ["ax-image-editor-view", "ax-validation-rule"], true, never>;
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXImageEditorContainerComponent, "ax-image-editor-container", never, { "look": { "alias": "look"; "required": false; }; }, { "onValueChanged": "onValueChanged"; }, ["view"], ["ax-header", "ax-image-editor-view", "ax-validation-rule"], true, never>;
|
36
24
|
}
|
37
25
|
export {};
|
package/image-editor/lib/image-editor-cropper-window/image-editor-cropper-window.component.d.ts
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
import { ElementRef, OnDestroy, Renderer2 } from '@angular/core';
|
2
|
+
import { AXImageEditorService } from '../image-editor.service';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
/**
|
5
|
+
* paint mode.
|
6
|
+
* @category Components
|
7
|
+
*/
|
8
|
+
export declare class AXImageEditorCropperWindowComponent implements OnDestroy {
|
9
|
+
#private;
|
10
|
+
showGrid: import("@angular/core").InputSignal<boolean>;
|
11
|
+
protected service: AXImageEditorService;
|
12
|
+
private ngZone;
|
13
|
+
private selectedHandle;
|
14
|
+
private panState;
|
15
|
+
private elementRef;
|
16
|
+
protected cropperWindow: import("@angular/core").Signal<ElementRef<any>>;
|
17
|
+
private currentX;
|
18
|
+
private currentY;
|
19
|
+
private prevX;
|
20
|
+
private prevY;
|
21
|
+
protected renderer: Renderer2;
|
22
|
+
private platformID;
|
23
|
+
private mouseMoveEvent;
|
24
|
+
private mouseUpEvent;
|
25
|
+
private mouseMoveEvent2;
|
26
|
+
private mouseUpEvent2;
|
27
|
+
private mouseDownEvent;
|
28
|
+
private mouseLeaveEvent;
|
29
|
+
ngOnDestroy(): void;
|
30
|
+
protected panMove(e: MouseEvent): void;
|
31
|
+
protected panDown(e: MouseEvent): void;
|
32
|
+
protected panUp(): void;
|
33
|
+
getCropperArea(): DOMRect;
|
34
|
+
private setPosition;
|
35
|
+
private startX;
|
36
|
+
private startY;
|
37
|
+
private startWidth;
|
38
|
+
private startHeight;
|
39
|
+
private startLeft;
|
40
|
+
private startTop;
|
41
|
+
protected edgeCase: boolean;
|
42
|
+
protected handleSelector(e: MouseEvent, value: string): void;
|
43
|
+
protected changeSizeHandler(e: MouseEvent): void;
|
44
|
+
protected clearSelector(): void;
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXImageEditorCropperWindowComponent, never>;
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXImageEditorCropperWindowComponent, "ax-image-editor-cropper-window", never, { "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
47
|
+
}
|
package/image-editor/lib/image-editor-tools/image-editor-crop/image-editor-crop.component.d.ts
CHANGED
@@ -8,6 +8,7 @@ export declare class AXImageEditorCropComponent {
|
|
8
8
|
protected service: AXImageEditorService;
|
9
9
|
cropPressed: import("@angular/core").OutputEmitterRef<void>;
|
10
10
|
protected cropButtonHandler(): void;
|
11
|
+
protected ratioHandler(r: '1:1' | '16:9'): void;
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXImageEditorCropComponent, never>;
|
12
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXImageEditorCropComponent, "ax-image-editor-crop", never, {}, { "cropPressed": "cropPressed"; }, never, never, true, never>;
|
13
14
|
}
|