@vectoriox/iox-builder 1.4.56 → 1.4.58
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/package.json
CHANGED
|
@@ -529,6 +529,23 @@ declare class ComponentRegistryService {
|
|
|
529
529
|
static ɵprov: i0.ɵɵInjectableDeclaration<ComponentRegistryService>;
|
|
530
530
|
}
|
|
531
531
|
|
|
532
|
+
/**
|
|
533
|
+
* SymbolRegistryService — in-memory store for org-level symbols.
|
|
534
|
+
*
|
|
535
|
+
* Loaded once per page by PageUiComponent alongside the page layout.
|
|
536
|
+
* Scoped to PageUiComponent.providers[] via IoxBuilderModule — one registry per builder instance.
|
|
537
|
+
*/
|
|
538
|
+
declare class SymbolRegistryService {
|
|
539
|
+
private symbols;
|
|
540
|
+
setSymbols(symbols: IoxSymbol[]): void;
|
|
541
|
+
getSymbol(id: string): IoxSymbol | undefined;
|
|
542
|
+
getAll(): IoxSymbol[];
|
|
543
|
+
upsert(symbol: IoxSymbol): void;
|
|
544
|
+
remove(id: string): void;
|
|
545
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SymbolRegistryService, never>;
|
|
546
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SymbolRegistryService>;
|
|
547
|
+
}
|
|
548
|
+
|
|
532
549
|
interface DragPayload {
|
|
533
550
|
type: 'internal' | 'external';
|
|
534
551
|
data: ComponentNode | string;
|
|
@@ -542,7 +559,8 @@ interface IoxDropEvent {
|
|
|
542
559
|
}
|
|
543
560
|
declare class DragEngineService {
|
|
544
561
|
private registry;
|
|
545
|
-
|
|
562
|
+
private symbolRegistry;
|
|
563
|
+
constructor(registry: ComponentRegistryService, symbolRegistry: SymbolRegistryService);
|
|
546
564
|
handleDrop(children: ComponentNode[], event: IoxDropEvent, dropListId: string, cdr: ChangeDetectorRef, afterDrop?: () => void): void;
|
|
547
565
|
private ids;
|
|
548
566
|
private elMap;
|
|
@@ -802,23 +820,6 @@ declare class InteractionPresetRegistryService {
|
|
|
802
820
|
static ɵprov: i0.ɵɵInjectableDeclaration<InteractionPresetRegistryService>;
|
|
803
821
|
}
|
|
804
822
|
|
|
805
|
-
/**
|
|
806
|
-
* SymbolRegistryService — in-memory store for org-level symbols.
|
|
807
|
-
*
|
|
808
|
-
* Loaded once per page by PageUiComponent alongside the page layout.
|
|
809
|
-
* Scoped to PageUiComponent.providers[] via IoxBuilderModule — one registry per builder instance.
|
|
810
|
-
*/
|
|
811
|
-
declare class SymbolRegistryService {
|
|
812
|
-
private symbols;
|
|
813
|
-
setSymbols(symbols: IoxSymbol[]): void;
|
|
814
|
-
getSymbol(id: string): IoxSymbol | undefined;
|
|
815
|
-
getAll(): IoxSymbol[];
|
|
816
|
-
upsert(symbol: IoxSymbol): void;
|
|
817
|
-
remove(id: string): void;
|
|
818
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SymbolRegistryService, never>;
|
|
819
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SymbolRegistryService>;
|
|
820
|
-
}
|
|
821
|
-
|
|
822
823
|
declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
823
824
|
private registry;
|
|
824
825
|
private overlayService;
|
|
@@ -982,6 +983,8 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
|
|
|
982
983
|
}): void;
|
|
983
984
|
private findNodeInTree;
|
|
984
985
|
private findParentNode;
|
|
986
|
+
/** Returns the closest ancestor (or self) of `target` that has a `symbolId`. */
|
|
987
|
+
private findSymbolAncestorOf;
|
|
985
988
|
private handlePanelEvents;
|
|
986
989
|
static ɵfac: i0.ɵɵFactoryDeclaration<BuilderComponent, never>;
|
|
987
990
|
static ɵcmp: i0.ɵɵComponentDeclaration<BuilderComponent, "app-builder", never, { "layout": { "alias": "layout"; "required": false; }; "dataSources": { "alias": "dataSources"; "required": false; }; "orgId": { "alias": "orgId"; "required": false; }; "routeParams": { "alias": "routeParams"; "required": false; }; "pageName": { "alias": "pageName"; "required": false; }; "isSaving": { "alias": "isSaving"; "required": false; }; "pageStatus": { "alias": "pageStatus"; "required": false; }; "pageSettings": { "alias": "pageSettings"; "required": false; }; "globalElements": { "alias": "globalElements"; "required": false; }; "canUndo": { "alias": "canUndo"; "required": false; }; "canRedo": { "alias": "canRedo"; "required": false; }; }, { "save": "save"; "undo": "undo"; "redo": "redo"; "back": "back"; "preview": "preview"; "publishToggle": "publishToggle"; "pageSettingsChange": "pageSettingsChange"; "applyAnimationToAll": "applyAnimationToAll"; "saveBlock": "saveBlock"; "globalElementsChange": "globalElementsChange"; }, never, ["[builderComponents]", "[builderTokens]", "[builderPanel]"], false, never>;
|