@acorex/components 18.10.15 → 18.10.16
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/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
@@ -9,6 +9,7 @@ export type AXPopoverCloseTrigger = 'manual' | 'clickOut' | 'leave';
|
|
9
9
|
* A popover component with custom encapsulation and change detection settings.
|
10
10
|
*/
|
11
11
|
export declare class AXPopoverComponent extends MXBaseComponent {
|
12
|
+
private platformService;
|
12
13
|
/** @ignore */
|
13
14
|
private _platform;
|
14
15
|
/** @ignore */
|
@@ -32,8 +33,8 @@ export declare class AXPopoverComponent extends MXBaseComponent {
|
|
32
33
|
*/
|
33
34
|
get offsetX(): number;
|
34
35
|
/**
|
35
|
-
|
36
|
-
|
36
|
+
* Sets the horizontal offset and updates it with a callback.
|
37
|
+
*/
|
37
38
|
set offsetX(v: number);
|
38
39
|
/** @ignore */
|
39
40
|
private _offsetY;
|
@@ -42,8 +43,8 @@ export declare class AXPopoverComponent extends MXBaseComponent {
|
|
42
43
|
*/
|
43
44
|
get offsetY(): number;
|
44
45
|
/**
|
45
|
-
|
46
|
-
|
46
|
+
* Sets the vertical offset and updates the component position.
|
47
|
+
*/
|
47
48
|
set offsetY(v: number);
|
48
49
|
/** @ignore */
|
49
50
|
private _target;
|
@@ -52,8 +53,8 @@ export declare class AXPopoverComponent extends MXBaseComponent {
|
|
52
53
|
*/
|
53
54
|
get target(): HTMLElement | ElementRef | MXBaseComponent;
|
54
55
|
/**
|
55
|
-
|
56
|
-
|
56
|
+
* Sets the target element and updates event bindings.
|
57
|
+
*/
|
57
58
|
set target(v: HTMLElement | ElementRef | MXBaseComponent);
|
58
59
|
/** @ignore */
|
59
60
|
private _defautPlacements;
|
@@ -66,8 +67,8 @@ export declare class AXPopoverComponent extends MXBaseComponent {
|
|
66
67
|
*/
|
67
68
|
get placement(): AXPlacementType;
|
68
69
|
/**
|
69
|
-
|
70
|
-
|
70
|
+
* Sets the component's placement and updates its position settings.
|
71
|
+
*/
|
71
72
|
set placement(v: AXPlacementType);
|
72
73
|
/** @ignore */
|
73
74
|
private _portal;
|
@@ -78,30 +79,30 @@ export declare class AXPopoverComponent extends MXBaseComponent {
|
|
78
79
|
*/
|
79
80
|
get componentRef(): ComponentRef<unknown>;
|
80
81
|
/**
|
81
|
-
|
82
|
-
|
82
|
+
* Holds the context data for the component.
|
83
|
+
*/
|
83
84
|
context: unknown;
|
84
85
|
/** @ignore */
|
85
86
|
_baseTemplate: TemplateRef<unknown>;
|
86
87
|
/**
|
87
|
-
|
88
|
-
|
88
|
+
* Defines the content to be displayed, which can be a template or a component.
|
89
|
+
*/
|
89
90
|
content: TemplateRef<unknown> | ComponentType<unknown>;
|
90
91
|
/** @ignore */
|
91
92
|
private _openOn;
|
92
93
|
/**
|
93
|
-
|
94
|
-
|
94
|
+
* Gets or sets the trigger for opening the popover and updates target events.
|
95
|
+
*/
|
95
96
|
get openOn(): AXPopoverOpenTrigger;
|
96
97
|
/**
|
97
|
-
|
98
|
-
|
98
|
+
* Sets the trigger for opening the popover and updates target events.
|
99
|
+
*/
|
99
100
|
set openOn(v: AXPopoverOpenTrigger);
|
100
101
|
/** @ignore */
|
101
102
|
private _closeOn;
|
102
103
|
/**
|
103
|
-
|
104
|
-
|
104
|
+
* Gets or sets the trigger for closing the popover.
|
105
|
+
*/
|
105
106
|
get closeOn(): AXPopoverCloseTrigger;
|
106
107
|
/**
|
107
108
|
* Sets the trigger for closing the popover and rebinds target events.
|
@@ -109,8 +110,8 @@ export declare class AXPopoverComponent extends MXBaseComponent {
|
|
109
110
|
*/
|
110
111
|
set closeOn(v: AXPopoverCloseTrigger);
|
111
112
|
/**
|
112
|
-
|
113
|
-
|
113
|
+
* Determines if a backdrop should be displayed behind the popover.
|
114
|
+
*/
|
114
115
|
hasBackdrop: boolean;
|
115
116
|
/**
|
116
117
|
* Delay in milliseconds before the popover opens after a trigger event.
|
@@ -155,16 +156,16 @@ export declare class AXPopoverComponent extends MXBaseComponent {
|
|
155
156
|
/** @ignore */
|
156
157
|
private removeOverlayEvents;
|
157
158
|
/**
|
158
|
-
|
159
|
-
|
159
|
+
* Toggles the component's open state.
|
160
|
+
*/
|
160
161
|
toggle(): void;
|
161
162
|
/**
|
162
163
|
* Closes the component if it's open, detaches the overlay, restores focus, and emits the closed event.
|
163
164
|
*/
|
164
165
|
close(): void;
|
165
166
|
/**
|
166
|
-
|
167
|
-
|
167
|
+
* Opens the component if it's not already open, saves focus, opens the overlay, and emits the opened event.
|
168
|
+
*/
|
168
169
|
open(): void;
|
169
170
|
/** @ignore */
|
170
171
|
private saveFocus;
|
@@ -173,27 +174,28 @@ export declare class AXPopoverComponent extends MXBaseComponent {
|
|
173
174
|
/** @ignore */
|
174
175
|
private openOverlayInternal;
|
175
176
|
/**
|
176
|
-
|
177
|
-
|
178
|
-
|
177
|
+
* Checks if the overlay is currently open.
|
178
|
+
* @returns {boolean}
|
179
|
+
*/
|
179
180
|
get isOpen(): boolean;
|
180
181
|
/**
|
181
|
-
|
182
|
-
|
183
|
-
|
182
|
+
* Determines if the actionsheet style should be applied.
|
183
|
+
* @returns {boolean}
|
184
|
+
*/
|
184
185
|
get isActionsheetStyle(): boolean;
|
185
186
|
/** @ignore */
|
186
187
|
private updatePositionStrategy;
|
187
188
|
/** @ignore */
|
188
189
|
private updateOffset;
|
189
190
|
/**
|
190
|
-
|
191
|
-
|
191
|
+
* Updates the position of the overlay and focuses on it.
|
192
|
+
*/
|
192
193
|
updatePosition(): void;
|
193
194
|
/**
|
194
|
-
|
195
|
-
|
195
|
+
* Focuses the overlay element.
|
196
|
+
*/
|
196
197
|
focus(): void;
|
198
|
+
protected ngOnInit(): void;
|
197
199
|
/** @ignore */
|
198
200
|
ngOnDestroy(): void;
|
199
201
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPopoverComponent, never>;
|
@@ -15,8 +15,7 @@ declare const AXWysiwygContainerComponent_base: import("polytype").Polytype.Clus
|
|
15
15
|
export declare class AXWysiwygContainerComponent extends AXWysiwygContainerComponent_base implements OnDestroy {
|
16
16
|
/** @ignore */
|
17
17
|
private zone;
|
18
|
-
|
19
|
-
protected wysiwyg: import("@angular/core").WritableSignal<AXWysiwyg>;
|
18
|
+
wysiwyg: import("@angular/core").WritableSignal<AXWysiwyg>;
|
20
19
|
/** @ignore */
|
21
20
|
protected view: import("@angular/core").WritableSignal<HTMLElement>;
|
22
21
|
/** @ignore */
|