@acorex/components 18.10.15 → 18.11.0
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/common/lib/classes/events.class.mjs +1 -1
- 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/menu/index.mjs +4 -4
- package/esm2022/menu/lib/context-menu.component.mjs +181 -0
- package/esm2022/menu/lib/menu-item.component.mjs +311 -0
- package/esm2022/menu/lib/menu.component.mjs +24 -30
- package/esm2022/menu/lib/menu.module.mjs +7 -7
- package/esm2022/menu/lib/menu.service.mjs +10 -8
- package/esm2022/menu/lib/menu.types.mjs +22 -0
- 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-common.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +494 -161
- package/fesm2022/acorex-components-menu.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/menu/index.d.ts +3 -3
- package/menu/lib/context-menu.component.d.ts +41 -0
- package/menu/lib/menu-item.component.d.ts +60 -0
- package/menu/lib/menu.component.d.ts +8 -10
- package/menu/lib/menu.module.d.ts +9 -9
- package/menu/lib/menu.service.d.ts +14 -3
- package/menu/lib/menu.types.d.ts +43 -0
- package/package.json +53 -53
- package/popover/lib/popover.component.d.ts +36 -34
- package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +1 -2
- package/esm2022/menu/lib/class/popover.class.mjs +0 -2
- package/esm2022/menu/lib/class/root-menu.class.mjs +0 -8
- package/esm2022/menu/lib/menu-item/menu-item.component.mjs +0 -160
- package/menu/lib/class/popover.class.d.ts +0 -2
- package/menu/lib/class/root-menu.class.d.ts +0 -7
- package/menu/lib/menu-item/menu-item.component.d.ts +0 -81
@@ -1,81 +0,0 @@
|
|
1
|
-
import { AXClickEvent, MXInteractiveComponent } from '@acorex/components/common';
|
2
|
-
import { QueryList } from '@angular/core';
|
3
|
-
import { AXRootMenu } from '../class/root-menu.class';
|
4
|
-
import { AXMenuService } from '../menu.service';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
/**
|
7
|
-
* Represents a menu item component used within an `ax-menu`.
|
8
|
-
* @category Components
|
9
|
-
*/
|
10
|
-
export declare class AXMenuItemComponent extends MXInteractiveComponent {
|
11
|
-
service: AXMenuService;
|
12
|
-
/** @ignore */
|
13
|
-
private popover;
|
14
|
-
/**
|
15
|
-
* Injects the `AXMenuService` for managing menu interactions.
|
16
|
-
*/
|
17
|
-
menuService: AXMenuService;
|
18
|
-
/**
|
19
|
-
* The vertical offset for positioning, initialized to 0.
|
20
|
-
*/
|
21
|
-
offsetY: import("@angular/core").WritableSignal<number>;
|
22
|
-
/**
|
23
|
-
* The horizontal offset for positioning, initialized to 0.
|
24
|
-
*/
|
25
|
-
offsetX: import("@angular/core").WritableSignal<number>;
|
26
|
-
/**
|
27
|
-
* The text content, initialized to an empty string.
|
28
|
-
*/
|
29
|
-
/**
|
30
|
-
* Indicates whether the item is active.
|
31
|
-
*/
|
32
|
-
active: import("@angular/core").InputSignal<boolean>;
|
33
|
-
/**
|
34
|
-
* Emitted when the active state changes.
|
35
|
-
*/
|
36
|
-
activeChange: import("@angular/core").OutputEmitterRef<boolean>;
|
37
|
-
/**
|
38
|
-
* Emitted when the element is clicked.
|
39
|
-
*/
|
40
|
-
onClick: import("@angular/core").OutputEmitterRef<AXClickEvent>;
|
41
|
-
/**
|
42
|
-
* Indicates whether the component is a root menu item.
|
43
|
-
* @defaultValue false
|
44
|
-
*/
|
45
|
-
isRoot: boolean;
|
46
|
-
/**
|
47
|
-
* The parent menu item component, if any.
|
48
|
-
*/
|
49
|
-
parent?: AXMenuItemComponent;
|
50
|
-
/**
|
51
|
-
* Injects the root menu service.
|
52
|
-
*/
|
53
|
-
rootMenu: AXRootMenu;
|
54
|
-
/** @ignore */
|
55
|
-
children: QueryList<AXMenuItemComponent>;
|
56
|
-
arrowState: import("@angular/core").InputSignal<boolean>;
|
57
|
-
/** @ignore */
|
58
|
-
constructor();
|
59
|
-
/**
|
60
|
-
* Closes the popover if it is open.
|
61
|
-
*/
|
62
|
-
close(): void;
|
63
|
-
/** @ignore */
|
64
|
-
_handleOnOpened(): void;
|
65
|
-
/** @ignore */
|
66
|
-
_handleOnClosed(): void;
|
67
|
-
/**
|
68
|
-
* Returns the icon based on the orientation of the root menu.
|
69
|
-
*/
|
70
|
-
getIcon(): "ax-icon-chevron-right" | "ax-icon-chevron-down";
|
71
|
-
/**
|
72
|
-
* Determines the placement based on the root menu's orientation: 'bottom-start' for horizontal root, 'end-top' otherwise.
|
73
|
-
*/
|
74
|
-
getPlacement(): "bottom-start" | "end-top";
|
75
|
-
/** @ignore */
|
76
|
-
get __hostClass(): string[];
|
77
|
-
/** @ignore */
|
78
|
-
private __hostClick;
|
79
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXMenuItemComponent, never>;
|
80
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXMenuItemComponent, "ax-menu-item", never, { "disabled": { "alias": "disabled"; "required": false; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "arrowState": { "alias": "arrowState"; "required": false; "isSignal": true; }; }, { "activeChange": "activeChange"; "onClick": "onClick"; }, ["children"], ["ax-prefix", "ax-text", "*", "ax-suffix", "ax-menu-item"], false, never>;
|
81
|
-
}
|