@vectoriox/iox-builder 11.22.0 → 11.23.0
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/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import * as _vectoriox_iox_builder from '@vectoriox/iox-builder';
|
|
|
11
11
|
import * as i26 from 'primeng/popover';
|
|
12
12
|
import { Popover } from 'primeng/popover';
|
|
13
13
|
import { HttpClient } from '@angular/common/http';
|
|
14
|
+
import { MenuAttribute } from '@vectoriox/iox-ui/design-core';
|
|
14
15
|
import * as i23 from '@angular/cdk/drag-drop';
|
|
15
16
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
16
17
|
import * as i21 from '@angular/common';
|
|
@@ -3445,6 +3446,16 @@ declare class BuilderDialogComponent implements OnInit, OnDestroy {
|
|
|
3445
3446
|
closeOnBackdrop: boolean | string;
|
|
3446
3447
|
showCloseButton: boolean | string;
|
|
3447
3448
|
placement: string;
|
|
3449
|
+
/** HI2a: the menu's look (design-core MenuTrait) — read through ONE `menuDialogAttributes`, the live page's reader. */
|
|
3450
|
+
set menuForm(v: unknown);
|
|
3451
|
+
set menuReveal(v: unknown);
|
|
3452
|
+
set menuHover(v: unknown);
|
|
3453
|
+
set menuPhone(v: unknown);
|
|
3454
|
+
readonly menuAttr: typeof MenuAttribute;
|
|
3455
|
+
/** The attributes the surface wears (a default writes none — R-H4). */
|
|
3456
|
+
menuAttrs: Record<string, string>;
|
|
3457
|
+
private menuLook;
|
|
3458
|
+
private setMenu;
|
|
3448
3459
|
childClick: EventEmitter<any>;
|
|
3449
3460
|
childMouseEnter: EventEmitter<any>;
|
|
3450
3461
|
childMouseLeave: EventEmitter<void>;
|
|
@@ -3453,6 +3464,9 @@ declare class BuilderDialogComponent implements OnInit, OnDestroy {
|
|
|
3453
3464
|
/** The exit is playing: still rendered, already closed for every action and the eye. */
|
|
3454
3465
|
private closing;
|
|
3455
3466
|
private stageRef?;
|
|
3467
|
+
/** HI2a: the surface, seen once it renders — a menu that reveals grows from its opener, measured right then. */
|
|
3468
|
+
set surfaceRef(ref: ElementRef<HTMLElement> | undefined);
|
|
3469
|
+
private surfaceEl?;
|
|
3456
3470
|
/** Opened by an action on the canvas (the canvas is a live runtime): stays until something closes it. */
|
|
3457
3471
|
private runtimeOpen;
|
|
3458
3472
|
/** Closed by its X / backdrop while the selection or the switcher still shows it: hidden until either changes. */
|
|
@@ -3475,6 +3489,14 @@ declare class BuilderDialogComponent implements OnInit, OnDestroy {
|
|
|
3475
3489
|
* say "open" whichever way it opened (CC1.3). */
|
|
3476
3490
|
private openRuntime;
|
|
3477
3491
|
private closeRuntime;
|
|
3492
|
+
/**
|
|
3493
|
+
* Where a menu's reveal grows from on the canvas (HI2a): the opener's centre in the surface's own box — actions-core
|
|
3494
|
+
* `revealOrigin`, the ONE rule the live page's `revealFrom` runs. The canvas is zoomed, so the box is measured in
|
|
3495
|
+
* screen px from the stage (fixed, the frame's size) plus the surface's untransformed offsets, and the zoom handed to
|
|
3496
|
+
* the rule; the opener is the first rendered element naming this dialog (`aria-controls`), else the menu's top corner.
|
|
3497
|
+
* The write runs through actions-core `holdClosedWhile`, as the live page's `revealFrom` does.
|
|
3498
|
+
*/
|
|
3499
|
+
private placeReveal;
|
|
3478
3500
|
/** True when the canvas selection is this dialog or a node inside it. */
|
|
3479
3501
|
private selectionInside;
|
|
3480
3502
|
ngOnInit(): void;
|
|
@@ -3488,7 +3510,7 @@ declare class BuilderDialogComponent implements OnInit, OnDestroy {
|
|
|
3488
3510
|
onBackdrop(): void;
|
|
3489
3511
|
onDrop(event: IoxDropEvent): void;
|
|
3490
3512
|
static ɵfac: i0.ɵɵFactoryDeclaration<BuilderDialogComponent, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
3491
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BuilderDialogComponent, "app-builder-dialog", never, { "children": { "alias": "children"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; "dropListId": { "alias": "dropListId"; "required": false; }; "closeOnBackdrop": { "alias": "closeOnBackdrop"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; }, { "childClick": "childClick"; "childMouseEnter": "childMouseEnter"; "childMouseLeave": "childMouseLeave"; }, never, never, false, never>;
|
|
3513
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BuilderDialogComponent, "app-builder-dialog", never, { "children": { "alias": "children"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; "dropListId": { "alias": "dropListId"; "required": false; }; "closeOnBackdrop": { "alias": "closeOnBackdrop"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "menuForm": { "alias": "menuForm"; "required": false; }; "menuReveal": { "alias": "menuReveal"; "required": false; }; "menuHover": { "alias": "menuHover"; "required": false; }; "menuPhone": { "alias": "menuPhone"; "required": false; }; }, { "childClick": "childClick"; "childMouseEnter": "childMouseEnter"; "childMouseLeave": "childMouseLeave"; }, never, never, false, never>;
|
|
3492
3514
|
}
|
|
3493
3515
|
|
|
3494
3516
|
/** A frame this narrow is a phone: the popover is a bottom sheet there (iox-ui FLOATING_SHEET_QUERY's width). */
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vectoriox/iox-builder",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.23.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=20.0.0",
|
|
6
6
|
"@angular/core": ">=20.0.0",
|
|
7
7
|
"@angular/animations": ">=20.0.0",
|
|
8
8
|
"@angular/cdk": ">=20.0.0",
|
|
9
|
-
"@vectoriox/iox-ui": ">=5.
|
|
9
|
+
"@vectoriox/iox-ui": ">=5.128.0",
|
|
10
10
|
"interactjs": "^1.10.27",
|
|
11
11
|
"primeng": ">=20.0.0",
|
|
12
12
|
"swiper": ">=12.0.0",
|