@acorex/components 18.10.15 → 18.10.16
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/image-editor/lib/image-editor-toolbar/image-editor-toolbar.component.mjs +1 -1
- package/esm2022/image-editor/lib/image-editor-view/image-editor-view.component.mjs +1 -1
- package/esm2022/popover/lib/popover.component.mjs +55 -34
- package/esm2022/popup/lib/popup.component.mjs +2 -2
- package/esm2022/select-box/lib/select-box.component.mjs +3 -3
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +1 -2
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.mjs +3 -3
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-font-style/wysiwyg-font-style.component.mjs +1 -1
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +54 -33
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +2 -2
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +2 -2
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +2 -3
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/package.json +66 -66
- package/popover/lib/popover.component.d.ts +36 -34
- package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +1 -2
@@ -66,4 +66,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
66
66
|
},
|
67
67
|
], template: "<div class=\"ax-toolbar-container\">\n <ng-content select=\"ax-prefix\"></ng-content>\n <ng-content></ng-content>\n <ng-content select=\"ax-suffix\"></ng-content>\n</div>\n<ax-button color=\"primary\" (onClick)=\"saveHandler()\" class=\"ax-save-btn ax-sm\" text=\"Save\"></ax-button>\n", styles: ["ax-image-editor-toolbar{padding:.3rem 1rem;width:100%;display:flex;align-items:center;justify-content:space-between}ax-image-editor-toolbar .ax-toolbar-container{display:flex;align-items:center;flex-wrap:wrap}ax-image-editor-toolbar .ax-icon{font-weight:900;font-size:1rem}\n"] }]
|
68
68
|
}] });
|
69
|
-
//# sourceMappingURL=data:application/json;base64,
|
69
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UtZWRpdG9yLXRvb2xiYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2ltYWdlLWVkaXRvci9zcmMvbGliL2ltYWdlLWVkaXRvci10b29sYmFyL2ltYWdlLWVkaXRvci10b29sYmFyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9pbWFnZS1lZGl0b3Ivc3JjL2xpYi9pbWFnZS1lZGl0b3ItdG9vbGJhci9pbWFnZS1lZGl0b3ItdG9vbGJhci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsb0JBQW9CLEVBQ3BCLFdBQVcsRUFDWCxvQkFBb0IsRUFFcEIsbUJBQW1CLEVBQ25CLHlCQUF5QixHQUMxQixNQUFNLDJCQUEyQixDQUFDO0FBQ25DLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUM1RCxPQUFPLEVBQUUsU0FBUyxFQUFFLFVBQVUsRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pGLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ25ELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHlCQUF5QixDQUFDOzs7QUFFL0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ICAgICBpZiAoZGF0YS5yZXN1bHQpIHtcclxuICAgICAgICAgICAgdGhpcy5zZXJ2aWNlLmluaXRpYWxJbWFnZS5zZXQodGhpcy5zZXJ2aWNlLm5ld0ltYWdlKCkpO1xyXG4gICAgICAgICAgICB0aGlzLmNvbW1pdFZhbHVlKHRoaXMuc2VydmljZS5pbWFnZUJsb2IoKSk7XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfSk7XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiIsIjxkaXYgY2xhc3M9XCJheC10b29sYmFyLWNvbnRhaW5lclwiPlxuICA8bmctY29udGVudCBzZWxlY3Q9XCJheC1wcmVmaXhcIj48L25nLWNvbnRlbnQ+XG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtc3VmZml4XCI+PC9uZy1jb250ZW50PlxuPC9kaXY+XG48YXgtYnV0dG9uIGNvbG9yPVwicHJpbWFyeVwiIChvbkNsaWNrKT1cInNhdmVIYW5kbGVyKClcIiBjbGFzcz1cImF4LXNhdmUtYnRuIGF4LXNtXCIgdGV4dD1cIlNhdmVcIj48L2F4LWJ1dHRvbj5cbiJdfQ==
|
@@ -313,4 +313,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
313
313
|
type: HostBinding,
|
314
314
|
args: ['style']
|
315
315
|
}] } });
|
316
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UtZWRpdG9yLXZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2ltYWdlLWVkaXRvci9zcmMvbGliL2ltYWdlLWVkaXRvci12aWV3L2ltYWdlLWVkaXRvci12aWV3LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy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zZXVwKT1cIm1vdXNlVXBIYW5kbGVyKClcIlxuICAobW91c2Vtb3ZlKT1cIm1vdXNlTW92ZUhhbmRsZXIoJGV2ZW50KVwiXG4gICh0b3VjaHN0YXJ0KT1cInRvdWNoU3RhcnRIYW5kbGVyKCRldmVudClcIlxuICAodG91Y2hlbmQpPVwidG91Y2hFbmRIYW5kbGVyKClcIlxuICAodG91Y2htb3ZlKT1cInRvdWNoTW92ZUhhbmRsZXIoJGV2ZW50KVwiXG4gIGNsYXNzPVwiYXgtY2FudmFzLWVsZW1lbnRcIlxuICAjY2FudmFzRWxlbVxuPjwvY2FudmFzPlxuPGF4LWJ1dHRvblxuICAoY2xpY2spPVwiY3JvcEJ1dHRvbkhhbmRsZXIoKVwiXG4gIFtzdHlsZV09XCJ7IGRpc3BsYXk6IHNlcnZpY2UuY3JvcFN0YXRlKCkuc3RhdGUgPyAnYmxvY2snIDogJ25vbmUnIH1cIlxuICBjbGFzcz1cImF4LWNyb3Atc2F2ZSBheC1zbVwiXG4gIHRleHQ9XCJDcm9wXCJcbj48L2F4LWJ1dHRvbj5cbiJdfQ==
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { AXFocusableComponent, MXBaseComponent, convertToPlacement, } from '@acorex/components/common';
|
2
2
|
import { AXPlatform, isBrowser } from '@acorex/core/platform';
|
3
|
+
import { AXHtmlUtil } from '@acorex/core/utils';
|
3
4
|
import { Overlay } from '@angular/cdk/overlay';
|
4
5
|
import { ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
|
5
6
|
import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, Input, Output, TemplateRef, ViewChild, ViewEncapsulation, inject, } from '@angular/core';
|
@@ -12,6 +13,7 @@ import * as i0 from "@angular/core";
|
|
12
13
|
export class AXPopoverComponent extends MXBaseComponent {
|
13
14
|
constructor() {
|
14
15
|
super(...arguments);
|
16
|
+
this.platformService = inject(AXPlatform);
|
15
17
|
/** @ignore */
|
16
18
|
this._platform = inject(AXPlatform);
|
17
19
|
/** @ignore */
|
@@ -45,8 +47,8 @@ export class AXPopoverComponent extends MXBaseComponent {
|
|
45
47
|
this._closeOn = 'clickOut';
|
46
48
|
//
|
47
49
|
/**
|
48
|
-
|
49
|
-
|
50
|
+
* Determines if a backdrop should be displayed behind the popover.
|
51
|
+
*/
|
50
52
|
this.hasBackdrop = false;
|
51
53
|
//
|
52
54
|
/**
|
@@ -80,8 +82,8 @@ export class AXPopoverComponent extends MXBaseComponent {
|
|
80
82
|
return this._offsetX;
|
81
83
|
}
|
82
84
|
/**
|
83
|
-
|
84
|
-
|
85
|
+
* Sets the horizontal offset and updates it with a callback.
|
86
|
+
*/
|
85
87
|
set offsetX(v) {
|
86
88
|
this.setOption({
|
87
89
|
name: 'offsetX',
|
@@ -98,8 +100,8 @@ export class AXPopoverComponent extends MXBaseComponent {
|
|
98
100
|
return this._offsetY;
|
99
101
|
}
|
100
102
|
/**
|
101
|
-
|
102
|
-
|
103
|
+
* Sets the vertical offset and updates the component position.
|
104
|
+
*/
|
103
105
|
set offsetY(v) {
|
104
106
|
this.setOption({
|
105
107
|
name: 'offsetY',
|
@@ -116,8 +118,8 @@ export class AXPopoverComponent extends MXBaseComponent {
|
|
116
118
|
return this._target;
|
117
119
|
}
|
118
120
|
/**
|
119
|
-
|
120
|
-
|
121
|
+
* Sets the target element and updates event bindings.
|
122
|
+
*/
|
121
123
|
set target(v) {
|
122
124
|
this.removeTargetEvents();
|
123
125
|
if (v instanceof HTMLElement)
|
@@ -136,8 +138,8 @@ export class AXPopoverComponent extends MXBaseComponent {
|
|
136
138
|
return this._placement;
|
137
139
|
}
|
138
140
|
/**
|
139
|
-
|
140
|
-
|
141
|
+
* Sets the component's placement and updates its position settings.
|
142
|
+
*/
|
141
143
|
set placement(v) {
|
142
144
|
this.setOption({
|
143
145
|
name: 'placement',
|
@@ -157,14 +159,14 @@ export class AXPopoverComponent extends MXBaseComponent {
|
|
157
159
|
return this._componentRef;
|
158
160
|
}
|
159
161
|
/**
|
160
|
-
|
161
|
-
|
162
|
+
* Gets or sets the trigger for opening the popover and updates target events.
|
163
|
+
*/
|
162
164
|
get openOn() {
|
163
165
|
return this._openOn;
|
164
166
|
}
|
165
167
|
/**
|
166
|
-
|
167
|
-
|
168
|
+
* Sets the trigger for opening the popover and updates target events.
|
169
|
+
*/
|
168
170
|
set openOn(v) {
|
169
171
|
this.setOption({
|
170
172
|
name: 'openOn',
|
@@ -175,8 +177,8 @@ export class AXPopoverComponent extends MXBaseComponent {
|
|
175
177
|
});
|
176
178
|
}
|
177
179
|
/**
|
178
|
-
|
179
|
-
|
180
|
+
* Gets or sets the trigger for closing the popover.
|
181
|
+
*/
|
180
182
|
get closeOn() {
|
181
183
|
return this._closeOn;
|
182
184
|
}
|
@@ -269,7 +271,10 @@ export class AXPopoverComponent extends MXBaseComponent {
|
|
269
271
|
//
|
270
272
|
this._overlayEvents.outside = this._overlayRef._outsidePointerEvents.subscribe((e) => {
|
271
273
|
const el = e.target;
|
272
|
-
if (this.closeOn == 'clickOut' &&
|
274
|
+
if (this.closeOn == 'clickOut' &&
|
275
|
+
this.isOpen &&
|
276
|
+
!this._target.contains(el) &&
|
277
|
+
!this._overlayRef?.overlayElement?.contains(el)) {
|
273
278
|
this.close();
|
274
279
|
}
|
275
280
|
});
|
@@ -302,8 +307,8 @@ export class AXPopoverComponent extends MXBaseComponent {
|
|
302
307
|
}
|
303
308
|
//
|
304
309
|
/**
|
305
|
-
|
306
|
-
|
310
|
+
* Toggles the component's open state.
|
311
|
+
*/
|
307
312
|
toggle() {
|
308
313
|
this.isOpen ? this.close() : this.open();
|
309
314
|
}
|
@@ -321,8 +326,8 @@ export class AXPopoverComponent extends MXBaseComponent {
|
|
321
326
|
}
|
322
327
|
//
|
323
328
|
/**
|
324
|
-
|
325
|
-
|
329
|
+
* Opens the component if it's not already open, saves focus, opens the overlay, and emits the opened event.
|
330
|
+
*/
|
326
331
|
open() {
|
327
332
|
if (this.isOpen) {
|
328
333
|
return;
|
@@ -361,14 +366,20 @@ export class AXPopoverComponent extends MXBaseComponent {
|
|
361
366
|
}
|
362
367
|
else {
|
363
368
|
this._overlayRef = this._overlay.create({
|
364
|
-
positionStrategy: this._overlay
|
369
|
+
positionStrategy: this._overlay
|
370
|
+
.position()
|
371
|
+
.flexibleConnectedTo(targetRef)
|
372
|
+
.withPositions(this._placements)
|
373
|
+
.withPush(false),
|
365
374
|
scrollStrategy: this._overlay.scrollStrategies.noop(),
|
366
375
|
disposeOnNavigation: true,
|
367
376
|
panelClass: ['ax-animate-fadeIn', 'ax-animate-faster'],
|
368
377
|
maxHeight: 'unset',
|
369
378
|
hasBackdrop: this.hasBackdrop,
|
370
379
|
backdropClass: [this.backdropClass || 'cdk-overlay-transparent-backdrop'],
|
380
|
+
direction: AXHtmlUtil.isRtl(this.getHostElement()) ? 'rtl' : 'ltr',
|
371
381
|
});
|
382
|
+
// this._overlayRef.setDirection()
|
372
383
|
}
|
373
384
|
//
|
374
385
|
this.bindOverlayEvents();
|
@@ -395,16 +406,16 @@ export class AXPopoverComponent extends MXBaseComponent {
|
|
395
406
|
}
|
396
407
|
}
|
397
408
|
/**
|
398
|
-
|
399
|
-
|
400
|
-
|
409
|
+
* Checks if the overlay is currently open.
|
410
|
+
* @returns {boolean}
|
411
|
+
*/
|
401
412
|
get isOpen() {
|
402
413
|
return this._overlayRef ? this._overlayRef.hasAttached() : false;
|
403
414
|
}
|
404
415
|
/**
|
405
|
-
|
406
|
-
|
407
|
-
|
416
|
+
* Determines if the actionsheet style should be applied.
|
417
|
+
* @returns {boolean}
|
418
|
+
*/
|
408
419
|
get isActionsheetStyle() {
|
409
420
|
return this._platform.is('SM') && this.adaptivityEnabled;
|
410
421
|
}
|
@@ -418,7 +429,11 @@ export class AXPopoverComponent extends MXBaseComponent {
|
|
418
429
|
strategy = this._overlay.position().global().bottom().centerHorizontally();
|
419
430
|
}
|
420
431
|
else {
|
421
|
-
strategy = this._overlay
|
432
|
+
strategy = this._overlay
|
433
|
+
.position()
|
434
|
+
.flexibleConnectedTo(targetRef)
|
435
|
+
.withPositions(this._placements)
|
436
|
+
.withPush(false);
|
422
437
|
}
|
423
438
|
this._overlayRef?.updatePositionStrategy(strategy);
|
424
439
|
}
|
@@ -432,19 +447,25 @@ export class AXPopoverComponent extends MXBaseComponent {
|
|
432
447
|
});
|
433
448
|
}
|
434
449
|
/**
|
435
|
-
|
436
|
-
|
450
|
+
* Updates the position of the overlay and focuses on it.
|
451
|
+
*/
|
437
452
|
updatePosition() {
|
438
453
|
this._overlayRef?.updatePosition();
|
439
454
|
this.focus();
|
440
455
|
}
|
441
456
|
/**
|
442
|
-
|
443
|
-
|
457
|
+
* Focuses the overlay element.
|
458
|
+
*/
|
444
459
|
focus() {
|
445
460
|
//TODO: need this??
|
446
461
|
}
|
447
462
|
//
|
463
|
+
ngOnInit() {
|
464
|
+
super.ngOnInit();
|
465
|
+
// this.platformService.directionChange.subscribe((c) => {
|
466
|
+
// this.isRtl = c.data == 'rtl';
|
467
|
+
// });
|
468
|
+
}
|
448
469
|
/** @ignore */
|
449
470
|
ngOnDestroy() {
|
450
471
|
this.removeTargetEvents();
|
@@ -490,4 +511,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
490
511
|
}], onClosed: [{
|
491
512
|
type: Output
|
492
513
|
}] } });
|
493
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9wb3Zlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvcG9wb3Zlci9zcmMvbGliL3BvcG92ZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3BvcG92ZXIvc3JjL2xpYi9wb3BvdmVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJB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