@vectoriox/iox-builder 9.0.0 → 9.2.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/fesm2022/vectoriox-iox-builder.mjs +458 -143
- package/fesm2022/vectoriox-iox-builder.mjs.map +1 -1
- package/index.d.ts +117 -12
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ import * as i27 from 'primeng/select';
|
|
|
20
20
|
import * as i28 from 'primeng/tooltip';
|
|
21
21
|
import * as i29 from 'primeng/dialog';
|
|
22
22
|
import { FormPresetDef } from '@vectoriox/iox-ui/forms-core';
|
|
23
|
+
import { CompositeNodeFactory, CompositeNode } from '@vectoriox/iox-ui/composite-core';
|
|
23
24
|
|
|
24
25
|
declare enum StyleCategory {
|
|
25
26
|
Layout = "Layout",
|
|
@@ -364,6 +365,12 @@ interface ComponentNode {
|
|
|
364
365
|
* (DS7) and the AI composer.
|
|
365
366
|
*/
|
|
366
367
|
elementStyle?: string;
|
|
368
|
+
/**
|
|
369
|
+
* The part this node plays in a composite (`card.title` — composite-components plan §3; composite-core
|
|
370
|
+
* in `@vectoriox/iox-ui`). Saved; read by the shared CSS (`iox-role-<role>` through `nodeDesignClasses`),
|
|
371
|
+
* the structure guard (a locked part is never deleted or moved out) and the composite's editors.
|
|
372
|
+
*/
|
|
373
|
+
role?: string;
|
|
367
374
|
}
|
|
368
375
|
/**
|
|
369
376
|
* Build a full StyleTraitGroup[] schema populated with values from a flat
|
|
@@ -872,7 +879,12 @@ declare enum PanelEventTypes {
|
|
|
872
879
|
* "what's selected" stay stale unless the SAME `_emitElementSelect` a real canvas click goes
|
|
873
880
|
* through also runs. This event is that path for code outside `BuilderComponent` itself,
|
|
874
881
|
* mirroring what `onTreeNodeSelect`/`onCrumbSelect` already do internally. */
|
|
875
|
-
SELECT_NODE = "selectnode"
|
|
882
|
+
SELECT_NODE = "selectnode",
|
|
883
|
+
/** A panel rewrote a node's SUBTREE in place — its children (a Card's Parts), its layout styles (Card ▸
|
|
884
|
+
* Layout), a part's element style or scheme. Carries `{ node }`. The builder re-renders the subtree,
|
|
885
|
+
* re-registers every node's rules and design classes, refreshes a Repeater holding it, and records ONE
|
|
886
|
+
* undo step (LAYOUT_CHANGED). */
|
|
887
|
+
NODE_STRUCTURE_CHANGED = "nodestructurechanged"
|
|
876
888
|
}
|
|
877
889
|
interface PanelEvent {
|
|
878
890
|
type: PanelEventTypes;
|
|
@@ -969,14 +981,22 @@ declare const EDITOR_CHROME_ATTRIBUTE = "data-iox-chrome";
|
|
|
969
981
|
|
|
970
982
|
/**
|
|
971
983
|
* What may NOT be placed where — the ONE rule every insert path asks (drag, click-to-insert, quick-add,
|
|
972
|
-
* the Form presets, paste, duplicate). Everything not refused here is accepted:
|
|
973
|
-
* node takes any child, a Form included.
|
|
984
|
+
* the Form presets, paste, duplicate, layer-tree moves, Wrap in ▸). Everything not refused here is accepted:
|
|
985
|
+
* any container-capable node takes any child, a Form included.
|
|
974
986
|
*/
|
|
975
987
|
declare enum InsertRefusal {
|
|
976
988
|
/** A form inside a form — fields belong to their NEAREST form (forms plan D1), and HTML forbids it. */
|
|
977
989
|
NestedForm = "nestedForm",
|
|
978
990
|
/** A Success / Error block is part of its form's state machine; it is never placed on its own. */
|
|
979
|
-
StateBlockAlone = "stateBlockAlone"
|
|
991
|
+
StateBlockAlone = "stateBlockAlone",
|
|
992
|
+
/** Form content inside a link or a button (Doron, 2026-10-20) — HTML forbids interactive content in
|
|
993
|
+
* `<a>`/`<button>`, and a click in a field would follow the link. The table is forms-core's. */
|
|
994
|
+
FormInInteractive = "formInInteractive",
|
|
995
|
+
/** A composite's LOCKED part (a card's Title or Content column) moved out of its own parent — the
|
|
996
|
+
* structure guard (composite-core `structureRefusal`). Reordering inside the parent never asks. */
|
|
997
|
+
LockedPartMove = "lockedPartMove",
|
|
998
|
+
/** A composite's LOCKED part deleted (Delete key, toolbar, layer tree, Make global): refused. */
|
|
999
|
+
LockedPart = "lockedPart"
|
|
980
1000
|
}
|
|
981
1001
|
declare const FORM_STATE_BLOCK_TYPES: ReadonlySet<string>;
|
|
982
1002
|
/** The builder-chrome label that says each refusal on screen (English in `BUILDER_CHROME_EN`). */
|
|
@@ -985,15 +1005,19 @@ declare const INSERT_REFUSAL_LABEL_KEYS: Readonly<Record<InsertRefusal, string>>
|
|
|
985
1005
|
declare function insertRefusalLabel(reason: InsertRefusal, labels?: BuilderLabelResolver): string;
|
|
986
1006
|
interface TypedNode {
|
|
987
1007
|
type?: string;
|
|
1008
|
+
role?: string | null;
|
|
988
1009
|
children?: TypedNode[] | null;
|
|
989
1010
|
}
|
|
990
1011
|
/**
|
|
991
1012
|
* Why `node` may not be inserted under `ancestors` (outermost first, the new parent last; empty = the page),
|
|
992
1013
|
* or null when it may. `node` is the whole subtree being placed — a Container holding a Form is refused
|
|
993
|
-
* inside a Form just as a bare Form is. Reordering a node inside its CURRENT parent is not an insert and
|
|
1014
|
+
* inside a Form just as a bare Form is, and a link that holds a form is refused wherever it goes. Reordering a node inside its CURRENT parent is not an insert and
|
|
994
1015
|
* never asks.
|
|
995
1016
|
*/
|
|
996
1017
|
declare function insertRefusal(node: TypedNode | null | undefined, ancestors: readonly TypedNode[]): InsertRefusal | null;
|
|
1018
|
+
/** Why `node` may not be REMOVED from where it is (deleted, cut, made global), or null when it may: a
|
|
1019
|
+
* composite's locked part stays — its Parts switch or deleting the whole composite are the ways out. */
|
|
1020
|
+
declare function removalRefusal(node: TypedNode | null | undefined): InsertRefusal | null;
|
|
997
1021
|
|
|
998
1022
|
/**
|
|
999
1023
|
* SymbolRegistryService — in-memory store for org-level symbols.
|
|
@@ -1040,7 +1064,7 @@ interface InsertRefusedEvent {
|
|
|
1040
1064
|
message: string;
|
|
1041
1065
|
}
|
|
1042
1066
|
/** The node a drop target names: canvas-root ancestors outermost first, the dropzone's own node last. */
|
|
1043
|
-
type AncestorNode = Pick<ComponentNode, 'type' | 'children'>;
|
|
1067
|
+
type AncestorNode = Pick<ComponentNode, 'type' | 'children' | 'role'>;
|
|
1044
1068
|
/** On the drop-target overlay while the target refuses the dragged payload (styled by the host). */
|
|
1045
1069
|
declare const DROP_REFUSED_CLASS = "iox-drop-target-overlay--refused";
|
|
1046
1070
|
declare class DragEngineService {
|
|
@@ -1056,6 +1080,11 @@ declare class DragEngineService {
|
|
|
1056
1080
|
* under `ancestors`; otherwise the refusal, already announced on `insertRefused$`.
|
|
1057
1081
|
*/
|
|
1058
1082
|
refuseInsert(data: unknown, ancestors: readonly AncestorNode[]): InsertRefusal | null;
|
|
1083
|
+
/**
|
|
1084
|
+
* The ONE check every REMOVAL asks (Delete key, toolbar, layer tree, Make global): null when `node` may
|
|
1085
|
+
* leave its place; otherwise the refusal, announced on `insertRefused$` like any other.
|
|
1086
|
+
*/
|
|
1087
|
+
refuseRemoval(node: unknown): InsertRefusal | null;
|
|
1059
1088
|
/** The node a payload WOULD insert, without building it: a type string, a block/symbol, or a node. */
|
|
1060
1089
|
private payloadNode;
|
|
1061
1090
|
/** The nodes a dropzone sits in, outermost first, its own node last — read from the DOM, which is
|
|
@@ -1779,7 +1808,14 @@ declare enum AuditCode {
|
|
|
1779
1808
|
/** A slider showing more slides than the width can carry — each one unreadably narrow. */
|
|
1780
1809
|
SlidesOverflow = "slides-overflow",
|
|
1781
1810
|
/** An out-of-flow node whose box lands outside the frame, so it is unreachable at this width. */
|
|
1782
|
-
OffscreenAbsolute = "offscreen-absolute"
|
|
1811
|
+
OffscreenAbsolute = "offscreen-absolute",
|
|
1812
|
+
/** Form content inside a link or a button — a STRUCTURE finding, true at every width (form-nesting-audit.util). */
|
|
1813
|
+
FormInLink = "form-in-link"
|
|
1814
|
+
}
|
|
1815
|
+
/** A fix that changes the tree, not a style or a trait — applied as one page-history step. */
|
|
1816
|
+
declare enum StructureFix {
|
|
1817
|
+
/** Move the form out of the link or button holding it, to right after it. */
|
|
1818
|
+
MoveFormOut = "move-form-out"
|
|
1783
1819
|
}
|
|
1784
1820
|
declare enum AuditSeverity {
|
|
1785
1821
|
Error = "error",
|
|
@@ -1815,6 +1851,10 @@ interface AuditFinding {
|
|
|
1815
1851
|
/** TRAIT values to write into this breakpoint's layer — some failures are not fixable with CSS.
|
|
1816
1852
|
* Applied through `setInputOverride`, the trait twin of `setOverride`. */
|
|
1817
1853
|
inputFix?: Record<string, any>;
|
|
1854
|
+
/** A fix that moves nodes — never part of "Fix all", the author applies each one. */
|
|
1855
|
+
structureFix?: StructureFix;
|
|
1856
|
+
/** The fix button's words, when they are not the generic "Fix". */
|
|
1857
|
+
fixLabel?: string;
|
|
1818
1858
|
}
|
|
1819
1859
|
/**
|
|
1820
1860
|
* Audit nodes laid out at `viewportWidth`. Returns findings ordered by severity (errors first),
|
|
@@ -1923,6 +1963,7 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
|
|
|
1923
1963
|
private selectoCanvas;
|
|
1924
1964
|
private styleRegistry;
|
|
1925
1965
|
private contextStore;
|
|
1966
|
+
private labels;
|
|
1926
1967
|
/**
|
|
1927
1968
|
* Re-apply context-bound inputs on the CANVAS when a slot changes — the builder twin of the
|
|
1928
1969
|
* engine's effect. The canvas is a live runtime, so hovering a repeater row while editing must
|
|
@@ -1986,6 +2027,9 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
|
|
|
1986
2027
|
browseComponents(): void;
|
|
1987
2028
|
/** Findings for the width being edited; the panel is open while `auditOpen`. */
|
|
1988
2029
|
auditFindings: AuditFinding[];
|
|
2030
|
+
/** Width-independent findings (a form inside a link), kept current on every load and edit so the
|
|
2031
|
+
* audit button shows them before the audit is ever opened. */
|
|
2032
|
+
structureFindings: AuditFinding[];
|
|
1989
2033
|
auditOpen: boolean;
|
|
1990
2034
|
auditRunning: boolean;
|
|
1991
2035
|
get auditBreakpointLabel(): string;
|
|
@@ -1999,6 +2043,9 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
|
|
|
1999
2043
|
runAudit(): void;
|
|
2000
2044
|
/** The node's OWN trait values — the Base layer the responsive `inputs` cascade sits on top of. */
|
|
2001
2045
|
private baseInputMapOf;
|
|
2046
|
+
private refreshStructureFindings;
|
|
2047
|
+
/** A structure fix moves nodes on the page: ONE layout change, so ONE undo step. */
|
|
2048
|
+
private applyStructureFix;
|
|
2002
2049
|
/** Apply one finding's fix into the current breakpoint's layer (or the base styles at Base). */
|
|
2003
2050
|
applyAuditFix(finding: AuditFinding): void;
|
|
2004
2051
|
/** Apply every fixable finding, then re-measure. */
|
|
@@ -2196,6 +2243,9 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
|
|
|
2196
2243
|
/** If `node` lives inside a Repeater template, tell that repeater to rebuild its preview rows so
|
|
2197
2244
|
* a structural change (e.g. wrapping a template child) propagates to every repeated row. No-op
|
|
2198
2245
|
* when the node is not inside a repeater. */
|
|
2246
|
+
/** NODE_STRUCTURE_CHANGED: the subtree's children render (CD), then every node's rules, classes and
|
|
2247
|
+
* inputs are re-applied (a moved node's rule may have been dropped by its old host's teardown). */
|
|
2248
|
+
private applyStructureChange;
|
|
2199
2249
|
private _refreshRepeaterFor;
|
|
2200
2250
|
/**
|
|
2201
2251
|
* Emit ELEMENT_SELECT with the ancestors the panels need (symbol + repeater item scope).
|
|
@@ -2415,7 +2465,7 @@ declare class OverlayComponent implements OnInit, OnDestroy {
|
|
|
2415
2465
|
private boundUpdate;
|
|
2416
2466
|
private boundScrollUpdate;
|
|
2417
2467
|
private activeScrollContainer;
|
|
2418
|
-
constructor(elRef: ElementRef<HTMLElement>, instanceRegistry: ComponentInstanceRegistryService, overlayService: OverlayService, viewportService: ViewportService, presetRegistry: PresetRegistryService, symbolRegistry: SymbolRegistryService, interactionPresetRegistry: InteractionPresetRegistryService, interactionEngine: InteractionEngineService, clipboard: BuilderClipboardService, styleRegistry: StyleRegistryService, panelEventService: PanelEventService, cdr: ChangeDetectorRef, dragEngine: DragEngineService);
|
|
2468
|
+
constructor(elRef: ElementRef<HTMLElement>, instanceRegistry: ComponentInstanceRegistryService, overlayService: OverlayService, viewportService: ViewportService, presetRegistry: PresetRegistryService, symbolRegistry: SymbolRegistryService, interactionPresetRegistry: InteractionPresetRegistryService, interactionEngine: InteractionEngineService, clipboard: BuilderClipboardService, styleRegistry: StyleRegistryService, panelEventService: PanelEventService, cdr: ChangeDetectorRef, dragEngine: DragEngineService, labels?: BuilderLabelResolver | null);
|
|
2419
2469
|
/** Resolves the selected node's OWNING dropzone id dynamically — the drag-handle isn't
|
|
2420
2470
|
* rendered inside any container (it's overlay chrome), so it has no source id of its own. */
|
|
2421
2471
|
get dragHandleSourceId(): string | null;
|
|
@@ -2439,6 +2489,9 @@ declare class OverlayComponent implements OnInit, OnDestroy {
|
|
|
2439
2489
|
onRemoveGlobal(event: MouseEvent): void;
|
|
2440
2490
|
get hasInteractions(): boolean;
|
|
2441
2491
|
get selectedNodeIsGlobal(): boolean;
|
|
2492
|
+
private readonly builderLabels;
|
|
2493
|
+
/** A composite part's kind + role under the selection (board 3/8 "Selection kind badge"), or null. */
|
|
2494
|
+
get selectedRoleBadge(): string | null;
|
|
2442
2495
|
get selectedPresetName(): string | null;
|
|
2443
2496
|
get isLinkedSymbol(): boolean;
|
|
2444
2497
|
get isDetachedSymbol(): boolean;
|
|
@@ -2487,7 +2540,7 @@ declare class OverlayComponent implements OnInit, OnDestroy {
|
|
|
2487
2540
|
/** Build position/size styles for a position:fixed overlay box. */
|
|
2488
2541
|
private createBoxStyle;
|
|
2489
2542
|
private createRingClipPath;
|
|
2490
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayComponent,
|
|
2543
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayComponent, [null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
2491
2544
|
static ɵcmp: i0.ɵɵComponentDeclaration<OverlayComponent, "app-overlay", never, {}, { "toolbarAction": "toolbarAction"; }, never, never, false, never>;
|
|
2492
2545
|
}
|
|
2493
2546
|
|
|
@@ -3012,6 +3065,8 @@ interface TreeNode {
|
|
|
3012
3065
|
parentArray: ComponentNode[];
|
|
3013
3066
|
/** Index of this node inside parentArray. */
|
|
3014
3067
|
indexInParent: number;
|
|
3068
|
+
/** A composite's locked part (a card's Title / Content): a lock instead of Delete (board 3 / 8). */
|
|
3069
|
+
locked: boolean;
|
|
3015
3070
|
}
|
|
3016
3071
|
declare class LayerTreeComponent implements OnInit, OnDestroy {
|
|
3017
3072
|
private registry;
|
|
@@ -3032,6 +3087,9 @@ declare class LayerTreeComponent implements OnInit, OnDestroy {
|
|
|
3032
3087
|
editingNodeId: string | null;
|
|
3033
3088
|
editingValue: string;
|
|
3034
3089
|
activeSection: 'page' | 'global';
|
|
3090
|
+
private readonly labels;
|
|
3091
|
+
readonly lockedPartTitle: string;
|
|
3092
|
+
readonly roleTitle: string;
|
|
3035
3093
|
/** Cache: component type → icon class */
|
|
3036
3094
|
private iconMap;
|
|
3037
3095
|
private selectSub?;
|
|
@@ -3143,8 +3201,9 @@ declare class AuditPanelComponent {
|
|
|
3143
3201
|
closePanel: EventEmitter<void>;
|
|
3144
3202
|
readonly severities: typeof AuditSeverity;
|
|
3145
3203
|
trackFinding(_index: number, finding: AuditFinding): string;
|
|
3146
|
-
/** Findings that carry a safe auto-fix — what "Fix all"
|
|
3204
|
+
/** Findings that carry a safe auto-fix — what "Fix all" applies (a structure fix is the author's call). */
|
|
3147
3205
|
get fixableCount(): number;
|
|
3206
|
+
hasFix(finding: AuditFinding): boolean;
|
|
3148
3207
|
iconFor(severity: AuditSeverity): string;
|
|
3149
3208
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuditPanelComponent, never>;
|
|
3150
3209
|
static ɵcmp: i0.ɵɵComponentDeclaration<AuditPanelComponent, "app-audit-panel", never, { "findings": { "alias": "findings"; "required": false; }; "breakpointLabel": { "alias": "breakpointLabel"; "required": false; }; "running": { "alias": "running"; "required": false; }; }, { "select": "select"; "fix": "fix"; "fixAll": "fixAll"; "rerun": "rerun"; "closePanel": "closePanel"; }, never, never, false, never>;
|
|
@@ -3387,6 +3446,33 @@ declare const PALETTE_PRESET_DEFS: readonly PalettePresetDef[];
|
|
|
3387
3446
|
*/
|
|
3388
3447
|
declare function buildPalettePreset(def: PalettePresetDef, createConfig: (type: string) => ComponentNode | null): ComponentNode | null;
|
|
3389
3448
|
|
|
3449
|
+
/**
|
|
3450
|
+
* CONTENT BLOCKS (complex-components board 8, composite T23 / T25) — Card, Badge, Chip. Not component
|
|
3451
|
+
* types: each is a composite-core recipe of ordinary nodes (the Card's parts carry roles), stamped here
|
|
3452
|
+
* with the builder's own node factory — the same recipe generation-core's composer stamps with its own.
|
|
3453
|
+
*/
|
|
3454
|
+
declare enum CompositePresetId {
|
|
3455
|
+
Card = "card",
|
|
3456
|
+
Badge = "badge",
|
|
3457
|
+
Chip = "chip"
|
|
3458
|
+
}
|
|
3459
|
+
interface CompositePresetDef {
|
|
3460
|
+
id: CompositePresetId;
|
|
3461
|
+
name: string;
|
|
3462
|
+
icon: string;
|
|
3463
|
+
description: string;
|
|
3464
|
+
build: (create: CompositeNodeFactory) => CompositeNode;
|
|
3465
|
+
}
|
|
3466
|
+
declare const COMPOSITE_PRESETS: readonly CompositePresetDef[];
|
|
3467
|
+
/**
|
|
3468
|
+
* The builder's node factory for composite-core recipes: a NEW node as the palette creates one
|
|
3469
|
+
* (`createConfig`, already wearing its type's default style), the recipe's props written into its traits,
|
|
3470
|
+
* then moved onto the asked element style (`switchElementStyle`, so nothing of the default style lingers).
|
|
3471
|
+
*/
|
|
3472
|
+
declare function builderCompositeFactory(createConfig: (type: string) => ComponentNode | null, baselineStyles: (type: string) => Readonly<Record<string, unknown>>): CompositeNodeFactory;
|
|
3473
|
+
/** A fresh content block for the palette (click or drag). */
|
|
3474
|
+
declare function buildCompositePreset(def: CompositePresetDef, createConfig: (type: string) => ComponentNode | null, baselineStyles: (type: string) => Readonly<Record<string, unknown>>): ComponentNode;
|
|
3475
|
+
|
|
3390
3476
|
interface ConsentPreset {
|
|
3391
3477
|
banner: ComponentNode;
|
|
3392
3478
|
preferences: ComponentNode;
|
|
@@ -3506,6 +3592,25 @@ declare function syncEmptyImagePlaceholder(ref: ComponentRef<unknown> | null | u
|
|
|
3506
3592
|
*/
|
|
3507
3593
|
declare function syncNodeDesign(ref: ComponentRef<unknown> | null | undefined, node: NodeDesign, emptyLabel: string | null): void;
|
|
3508
3594
|
|
|
3595
|
+
/** A node's base style map, from its style traits (the live values the Style panel edits). */
|
|
3596
|
+
declare function nodeStyleMap(node: ComponentNode): Record<string, any>;
|
|
3597
|
+
/**
|
|
3598
|
+
* Re-register a node's compiled rules from its CURRENT style values — the base rule (with the default
|
|
3599
|
+
* hover transition), its self-scoped state rules and its breakpoint layers — exactly as the
|
|
3600
|
+
* RenderDirective registers them at render. For edits that rewrite a node's styles from outside the Style
|
|
3601
|
+
* panel (a Card's layout preset, a reset to defaults).
|
|
3602
|
+
*/
|
|
3603
|
+
declare function upsertNodeStyles(styleRegistry: StyleRegistryService, node: ComponentNode): void;
|
|
3604
|
+
/** Push every content trait of a node to its rendered component (a Card title's link switched on). */
|
|
3605
|
+
declare function syncNodeInputs(ref: ComponentRef<unknown> | null | undefined, node: ComponentNode): void;
|
|
3606
|
+
/** Visit a node and every descendant. */
|
|
3607
|
+
declare function walkNodes(node: ComponentNode, visit: (n: ComponentNode) => void): void;
|
|
3608
|
+
/**
|
|
3609
|
+
* After a subtree was rewritten in place (PanelEventTypes.NODE_STRUCTURE_CHANGED): every node's rules,
|
|
3610
|
+
* design classes (marker, scheme, role) and inputs re-applied. `refOf` finds a node's rendered component.
|
|
3611
|
+
*/
|
|
3612
|
+
declare function refreshSubtree(node: ComponentNode, styleRegistry: StyleRegistryService, refOf: (n: ComponentNode) => ComponentRef<unknown> | null | undefined, emptyImageLabel: string | null): void;
|
|
3613
|
+
|
|
3509
3614
|
/**
|
|
3510
3615
|
* Dialog (actions plan A1b) — an ordinary container whose children are normal nodes, rendered
|
|
3511
3616
|
* on the live site as a real `<dialog>` (top layer, free focus trap/Esc) and in the CANVAS as a
|
|
@@ -3655,5 +3760,5 @@ declare class TextBlockComponentConfig extends ComponentConfig {
|
|
|
3655
3760
|
constructor();
|
|
3656
3761
|
}
|
|
3657
3762
|
|
|
3658
|
-
export { ACTION_TYPE_OPTIONS, AuditCode, AuditPanelComponent, AuditSeverity, BODY_CRUMB_LABEL, BREAKPOINT_PRESENTATION, BUILDER_CANVAS_CONTAINER, BUILDER_CHROME_EN, BUILDER_FONT_LINK_ATTR, BUILDER_TOKEN_SCOPE_CLASS, BackgroundGroupStyleConfig, BorderGroupStyleConfig, BreadcrumbBarComponent, BuilderButtonBlockComponent, BuilderButtonComponentConfig, BuilderClipboardService, BuilderComponent, BuilderContainerComponent, BuilderContainerComponentConfig, BuilderDataSourceService, BuilderDialogComponent, BuilderDividerComponentConfig, BuilderHeadingComponentConfig, BuilderHistoryService, BuilderIconComponentConfig, BuilderImageComponentConfig, BuilderLinkComponentConfig, BuilderLinkedContainerComponent, BuilderLinkedContainerConfig, BuilderListComponentConfig, BuilderListItemComponentConfig, BuilderMode, BuilderRepeaterComponent, BuilderSpacerComponentConfig, ButtonBlockComponentConfig, CANVAS_EMPTY_IMAGE_LABEL_EN, CANVAS_EMPTY_IMAGE_LABEL_KEY, CANVAS_ROOT_RESET_CSS, CardComponentConfig, ChildLayoutGroupStyleConfig, ComponentConfig, ComponentRegistryService, DEFAULT_ESSENTIAL_TRAITS, DRAG_HANDLE_ATTR, DROP_REFUSED_CLASS, DataSourceRegistryService, DataSourceType, DialogComponentConfig, DimensionsGroupStyleConfig, DragEngineService, EASING_OPTIONS, EDITOR_CHROME_ATTRIBUTE, ESSENTIAL_TRAITS_BY_TYPE, EffectsGroupStyleConfig, FIELD_KIND_PRESETS, FIELD_PARTS, FORM_STATE_BLOCK_TYPES, FORM_TYPE, FieldComponentConfig, FieldGroupComponentConfig, FormComponentConfig, FormErrorComponentConfig, FormStateService, FormSuccessComponentConfig, GalleryConfig, GroupStyleConfig, INSERT_REFUSAL_LABEL_KEYS, INTERACTION_STATES, INVERSE_ACTION, IOX_BUILDER_CANVAS, IOX_BUILDER_LABELS, IOX_DATA_SOURCE_ENDPOINTS, InsertRefusal, InteractionEngineService, InteractionPresetRegistryService, IoxBuilderModule, IoxDraggableDirective, IoxDropzoneDirective, LAYOUT_PRESETS, LayerTreeComponent, LayoutGroupStyleConfig, ListGroupStyleConfig, NodeAction, OverlayComponent, OverlayService, PALETTE_PRESET_DEFS, PanelChildComponent, PanelComponent, PanelEventService, PanelEventTypes, PanelTypes, PositionGroupStyleConfig, PresetRegistryService, RELATIONAL_STATES, RELATIONAL_STATE_BASE, ROOT_ESCAPE_PX, ROUTE_ANIMATION_OPTIONS, RenderDirective, RepeaterComponentConfig, RootZone, SCREEN_WIDTH_OPTIONS, STRUCTURAL_STATES, SUPPORTED_STATES, SectionComponent, SectionComponentConfig, SizeGroupStyleConfig, SliderContainerComponent, SliderContainerConfig, SliderSlideComponent, SliderSlideConfig, SpacingGroupStyleConfig, StyleCategory, StyleRegistryService, TraitConfig as StyleTraitConfig, SubmitButtonComponentConfig, SymbolRegistryService, TARGETED_STATES, TARGETED_STATE_BASE, TRIGGER_OPTIONS, TextBlockComponentConfig, ToolbarAction, ToolbarComponent, TraitConfig, TraitInputType, TypographyGroupStyleConfig, UNITS_ALL, UNITS_DEG, UNITS_FIXED, UNITS_NO_VW, VALIDATION_STATES, VALIDATION_STATE_CLASS, ViewportService, ZOOM_OPTIONS, arrayItemSchemaFields, arraySchemaFields, auditNodes, buildConsentPreset, buildElementStyleSpecimen, buildFieldKindPreset, buildFlavorSpecimen, buildFormPreset, buildFullStyleTraits, buildLayoutPreset, buildPalettePreset, buildPresetStyleTraits, canFluidise, canvasEmptyImageLabel, collapseColumnsProps, columnCountOf, defaultBuilderLabels, defaultPageSettings, dropTargetLabel, escapesRoot, essentialTraitsFor, findNodeLocation, findParentOf, flattenSchemaFields, fluidiseProps, generateNodeId, insertRefusal, insertRefusalLabel, isHiddenAt, isSpecimen, markSpecimen, matchesControlSearch, nearestFormNode, nodeAncestorPath, nodeAncestorPathInEither, reorderProps, resolveInsertTarget, resolveTraitControllerType, resolveTraitOptions, rootEscapeBand, rootZone, setStyleTrait, setTrait, stackChildrenProps, summarise, syncEmptyImagePlaceholder, syncNodeDesign, textNode, visibilityProps, wrapNode };
|
|
3659
|
-
export type { AuditFinding, AuditNode, BreakpointPresentation, BuilderClipboard, BuilderLabelResolver, ComponentEventDef, ComponentMethodDef, ComponentNode, ComponentTrait, ConsentPreset, CreateConfig, Crumb, DesignSpecimenCopy, DragPayload, DsFilterByQueryParam, DsFilterByRouteParam, ElementState, FieldKindDef, FormStateSnapshot, HistoryChange, HistoryEntry, HistoryStep, InsertRefusedEvent, InsertTarget, InteractionAction, InteractionActionType, InteractionPreset, InteractionTrigger, IoxBinding, IoxDataSource, IoxDropEvent, IoxInteraction, IoxSymbol, LayoutPresetChildStyles, LayoutPresetDef, NodeRef, OverlayBoxModel, OverlayBoxSpacing, OverlayEntry, PageRouteAnimationSettings, PageScrollSettings, PageSettings, PalettePresetDef, PanelEvent, QuadSizeSegment, RootEscapeMemory, RouteAnimationPreset, ScreenWidthOption, SelectionBadge, StyleMap, StylePart, StylePreset, StyleTrait, StyleTraitGroup, TraitOptionMap, TraitSelectOption, TraitShowCondition, TreePathNode, UpsertTokensOptions, ViewportState, ZoomOption };
|
|
3763
|
+
export { ACTION_TYPE_OPTIONS, AuditCode, AuditPanelComponent, AuditSeverity, BODY_CRUMB_LABEL, BREAKPOINT_PRESENTATION, BUILDER_CANVAS_CONTAINER, BUILDER_CHROME_EN, BUILDER_FONT_LINK_ATTR, BUILDER_TOKEN_SCOPE_CLASS, BackgroundGroupStyleConfig, BorderGroupStyleConfig, BreadcrumbBarComponent, BuilderButtonBlockComponent, BuilderButtonComponentConfig, BuilderClipboardService, BuilderComponent, BuilderContainerComponent, BuilderContainerComponentConfig, BuilderDataSourceService, BuilderDialogComponent, BuilderDividerComponentConfig, BuilderHeadingComponentConfig, BuilderHistoryService, BuilderIconComponentConfig, BuilderImageComponentConfig, BuilderLinkComponentConfig, BuilderLinkedContainerComponent, BuilderLinkedContainerConfig, BuilderListComponentConfig, BuilderListItemComponentConfig, BuilderMode, BuilderRepeaterComponent, BuilderSpacerComponentConfig, ButtonBlockComponentConfig, CANVAS_EMPTY_IMAGE_LABEL_EN, CANVAS_EMPTY_IMAGE_LABEL_KEY, CANVAS_ROOT_RESET_CSS, COMPOSITE_PRESETS, CardComponentConfig, ChildLayoutGroupStyleConfig, ComponentConfig, ComponentRegistryService, CompositePresetId, DEFAULT_ESSENTIAL_TRAITS, DRAG_HANDLE_ATTR, DROP_REFUSED_CLASS, DataSourceRegistryService, DataSourceType, DialogComponentConfig, DimensionsGroupStyleConfig, DragEngineService, EASING_OPTIONS, EDITOR_CHROME_ATTRIBUTE, ESSENTIAL_TRAITS_BY_TYPE, EffectsGroupStyleConfig, FIELD_KIND_PRESETS, FIELD_PARTS, FORM_STATE_BLOCK_TYPES, FORM_TYPE, FieldComponentConfig, FieldGroupComponentConfig, FormComponentConfig, FormErrorComponentConfig, FormStateService, FormSuccessComponentConfig, GalleryConfig, GroupStyleConfig, INSERT_REFUSAL_LABEL_KEYS, INTERACTION_STATES, INVERSE_ACTION, IOX_BUILDER_CANVAS, IOX_BUILDER_LABELS, IOX_DATA_SOURCE_ENDPOINTS, InsertRefusal, InteractionEngineService, InteractionPresetRegistryService, IoxBuilderModule, IoxDraggableDirective, IoxDropzoneDirective, LAYOUT_PRESETS, LayerTreeComponent, LayoutGroupStyleConfig, ListGroupStyleConfig, NodeAction, OverlayComponent, OverlayService, PALETTE_PRESET_DEFS, PanelChildComponent, PanelComponent, PanelEventService, PanelEventTypes, PanelTypes, PositionGroupStyleConfig, PresetRegistryService, RELATIONAL_STATES, RELATIONAL_STATE_BASE, ROOT_ESCAPE_PX, ROUTE_ANIMATION_OPTIONS, RenderDirective, RepeaterComponentConfig, RootZone, SCREEN_WIDTH_OPTIONS, STRUCTURAL_STATES, SUPPORTED_STATES, SectionComponent, SectionComponentConfig, SizeGroupStyleConfig, SliderContainerComponent, SliderContainerConfig, SliderSlideComponent, SliderSlideConfig, SpacingGroupStyleConfig, StructureFix, StyleCategory, StyleRegistryService, TraitConfig as StyleTraitConfig, SubmitButtonComponentConfig, SymbolRegistryService, TARGETED_STATES, TARGETED_STATE_BASE, TRIGGER_OPTIONS, TextBlockComponentConfig, ToolbarAction, ToolbarComponent, TraitConfig, TraitInputType, TypographyGroupStyleConfig, UNITS_ALL, UNITS_DEG, UNITS_FIXED, UNITS_NO_VW, VALIDATION_STATES, VALIDATION_STATE_CLASS, ViewportService, ZOOM_OPTIONS, arrayItemSchemaFields, arraySchemaFields, auditNodes, buildCompositePreset, buildConsentPreset, buildElementStyleSpecimen, buildFieldKindPreset, buildFlavorSpecimen, buildFormPreset, buildFullStyleTraits, buildLayoutPreset, buildPalettePreset, buildPresetStyleTraits, builderCompositeFactory, canFluidise, canvasEmptyImageLabel, collapseColumnsProps, columnCountOf, defaultBuilderLabels, defaultPageSettings, dropTargetLabel, escapesRoot, essentialTraitsFor, findNodeLocation, findParentOf, flattenSchemaFields, fluidiseProps, generateNodeId, insertRefusal, insertRefusalLabel, isHiddenAt, isSpecimen, markSpecimen, matchesControlSearch, nearestFormNode, nodeAncestorPath, nodeAncestorPathInEither, nodeStyleMap, refreshSubtree, removalRefusal, reorderProps, resolveInsertTarget, resolveTraitControllerType, resolveTraitOptions, rootEscapeBand, rootZone, setStyleTrait, setTrait, stackChildrenProps, summarise, syncEmptyImagePlaceholder, syncNodeDesign, syncNodeInputs, textNode, upsertNodeStyles, visibilityProps, walkNodes, wrapNode };
|
|
3764
|
+
export type { AuditFinding, AuditNode, BreakpointPresentation, BuilderClipboard, BuilderLabelResolver, ComponentEventDef, ComponentMethodDef, ComponentNode, ComponentTrait, CompositePresetDef, ConsentPreset, CreateConfig, Crumb, DesignSpecimenCopy, DragPayload, DsFilterByQueryParam, DsFilterByRouteParam, ElementState, FieldKindDef, FormStateSnapshot, HistoryChange, HistoryEntry, HistoryStep, InsertRefusedEvent, InsertTarget, InteractionAction, InteractionActionType, InteractionPreset, InteractionTrigger, IoxBinding, IoxDataSource, IoxDropEvent, IoxInteraction, IoxSymbol, LayoutPresetChildStyles, LayoutPresetDef, NodeRef, OverlayBoxModel, OverlayBoxSpacing, OverlayEntry, PageRouteAnimationSettings, PageScrollSettings, PageSettings, PalettePresetDef, PanelEvent, QuadSizeSegment, RootEscapeMemory, RouteAnimationPreset, ScreenWidthOption, SelectionBadge, StyleMap, StylePart, StylePreset, StyleTrait, StyleTraitGroup, TraitOptionMap, TraitSelectOption, TraitShowCondition, TreePathNode, UpsertTokensOptions, ViewportState, ZoomOption };
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vectoriox/iox-builder",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.2.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.31.0",
|
|
10
10
|
"interactjs": "^1.10.27",
|
|
11
11
|
"primeng": ">=20.0.0",
|
|
12
12
|
"swiper": ">=12.0.0",
|