@vectoriox/iox-builder 1.4.58 → 1.4.59
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
|
@@ -537,11 +537,19 @@ declare class ComponentRegistryService {
|
|
|
537
537
|
*/
|
|
538
538
|
declare class SymbolRegistryService {
|
|
539
539
|
private symbols;
|
|
540
|
+
/** symbolIds that have a live reusable block in the DB — used to guard isDetachedSymbol. */
|
|
541
|
+
private blockSymbolIds;
|
|
540
542
|
setSymbols(symbols: IoxSymbol[]): void;
|
|
541
543
|
getSymbol(id: string): IoxSymbol | undefined;
|
|
542
544
|
getAll(): IoxSymbol[];
|
|
543
545
|
upsert(symbol: IoxSymbol): void;
|
|
544
546
|
remove(id: string): void;
|
|
547
|
+
/** Set the symbolIds that have a live reusable block. Called on page load. */
|
|
548
|
+
setBlockSymbolIds(ids: Set<string>): void;
|
|
549
|
+
/** Returns true only when the symbol has a live backing reusable block. */
|
|
550
|
+
isBlockSymbol(id: string): boolean;
|
|
551
|
+
/** Remove a symbolId from the block-backed set (called when a block is deleted). */
|
|
552
|
+
removeBlockSymbolId(id: string): void;
|
|
545
553
|
static ɵfac: i0.ɵɵFactoryDeclaration<SymbolRegistryService, never>;
|
|
546
554
|
static ɵprov: i0.ɵɵInjectableDeclaration<SymbolRegistryService>;
|
|
547
555
|
}
|