@vectoriox/iox-builder 11.21.1 → 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';
|
|
@@ -625,7 +626,9 @@ declare enum PanelTypes {
|
|
|
625
626
|
STYLES = "Styles",
|
|
626
627
|
TRAITS = "Traits",
|
|
627
628
|
PAGE = "Page",
|
|
628
|
-
INTERACTIONS = "Interactions"
|
|
629
|
+
INTERACTIONS = "Interactions",
|
|
630
|
+
/** AI Assist on this page (ai-assist-plan S1) — the host projects its panel. */
|
|
631
|
+
ASK = "Ask"
|
|
629
632
|
}
|
|
630
633
|
type RouteAnimationPreset = 'none' | 'fade' | 'slideUp' | 'slideDown' | 'zoomIn' | 'zoomOut' | 'blurIn' | 'flip';
|
|
631
634
|
declare const ROUTE_ANIMATION_OPTIONS: {
|
|
@@ -3443,6 +3446,16 @@ declare class BuilderDialogComponent implements OnInit, OnDestroy {
|
|
|
3443
3446
|
closeOnBackdrop: boolean | string;
|
|
3444
3447
|
showCloseButton: boolean | string;
|
|
3445
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;
|
|
3446
3459
|
childClick: EventEmitter<any>;
|
|
3447
3460
|
childMouseEnter: EventEmitter<any>;
|
|
3448
3461
|
childMouseLeave: EventEmitter<void>;
|
|
@@ -3451,6 +3464,9 @@ declare class BuilderDialogComponent implements OnInit, OnDestroy {
|
|
|
3451
3464
|
/** The exit is playing: still rendered, already closed for every action and the eye. */
|
|
3452
3465
|
private closing;
|
|
3453
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?;
|
|
3454
3470
|
/** Opened by an action on the canvas (the canvas is a live runtime): stays until something closes it. */
|
|
3455
3471
|
private runtimeOpen;
|
|
3456
3472
|
/** Closed by its X / backdrop while the selection or the switcher still shows it: hidden until either changes. */
|
|
@@ -3473,6 +3489,14 @@ declare class BuilderDialogComponent implements OnInit, OnDestroy {
|
|
|
3473
3489
|
* say "open" whichever way it opened (CC1.3). */
|
|
3474
3490
|
private openRuntime;
|
|
3475
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;
|
|
3476
3500
|
/** True when the canvas selection is this dialog or a node inside it. */
|
|
3477
3501
|
private selectionInside;
|
|
3478
3502
|
ngOnInit(): void;
|
|
@@ -3486,7 +3510,7 @@ declare class BuilderDialogComponent implements OnInit, OnDestroy {
|
|
|
3486
3510
|
onBackdrop(): void;
|
|
3487
3511
|
onDrop(event: IoxDropEvent): void;
|
|
3488
3512
|
static ɵfac: i0.ɵɵFactoryDeclaration<BuilderDialogComponent, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
3489
|
-
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>;
|
|
3490
3514
|
}
|
|
3491
3515
|
|
|
3492
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",
|