@vectoriox/iox-builder 1.4.40 → 1.4.42
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
|
@@ -776,6 +776,23 @@ declare class BuilderClipboardService {
|
|
|
776
776
|
static ɵprov: i0.ɵɵInjectableDeclaration<BuilderClipboardService>;
|
|
777
777
|
}
|
|
778
778
|
|
|
779
|
+
/**
|
|
780
|
+
* InteractionPresetRegistryService — in-memory store for org-level interaction presets.
|
|
781
|
+
*
|
|
782
|
+
* Loaded once per page by PageUiComponent alongside the page layout.
|
|
783
|
+
* Scoped to PageUiComponent.providers[] via IoxBuilderModule — one registry per builder instance.
|
|
784
|
+
*/
|
|
785
|
+
declare class InteractionPresetRegistryService {
|
|
786
|
+
private presets;
|
|
787
|
+
setPresets(presets: InteractionPreset[]): void;
|
|
788
|
+
getPreset(id: string): InteractionPreset | undefined;
|
|
789
|
+
getAll(): InteractionPreset[];
|
|
790
|
+
upsert(preset: InteractionPreset): void;
|
|
791
|
+
remove(id: string): void;
|
|
792
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InteractionPresetRegistryService, never>;
|
|
793
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InteractionPresetRegistryService>;
|
|
794
|
+
}
|
|
795
|
+
|
|
779
796
|
declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
780
797
|
private registry;
|
|
781
798
|
private overlayService;
|
|
@@ -784,6 +801,7 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
|
|
|
784
801
|
private dsRegistry;
|
|
785
802
|
private viewportService;
|
|
786
803
|
private interactionEngine;
|
|
804
|
+
private interactionPresetRegistry;
|
|
787
805
|
private clipboard;
|
|
788
806
|
private cdr;
|
|
789
807
|
private appRef;
|
|
@@ -879,7 +897,7 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
|
|
|
879
897
|
get canvasMinHeight(): number;
|
|
880
898
|
private sub?;
|
|
881
899
|
private registrySub?;
|
|
882
|
-
constructor(registry: ComponentRegistryService, overlayService: OverlayService, panelEventService: PanelEventService, dragEngine: DragEngineService, dsRegistry: DataSourceRegistryService, viewportService: ViewportService, interactionEngine: InteractionEngineService, clipboard: BuilderClipboardService, cdr: ChangeDetectorRef, appRef: ApplicationRef);
|
|
900
|
+
constructor(registry: ComponentRegistryService, overlayService: OverlayService, panelEventService: PanelEventService, dragEngine: DragEngineService, dsRegistry: DataSourceRegistryService, viewportService: ViewportService, interactionEngine: InteractionEngineService, interactionPresetRegistry: InteractionPresetRegistryService, clipboard: BuilderClipboardService, cdr: ChangeDetectorRef, appRef: ApplicationRef);
|
|
883
901
|
ngOnInit(): void;
|
|
884
902
|
ngOnChanges(changes: SimpleChanges): void;
|
|
885
903
|
ngAfterViewInit(): void;
|
|
@@ -1141,23 +1159,6 @@ declare class SymbolRegistryService {
|
|
|
1141
1159
|
static ɵprov: i0.ɵɵInjectableDeclaration<SymbolRegistryService>;
|
|
1142
1160
|
}
|
|
1143
1161
|
|
|
1144
|
-
/**
|
|
1145
|
-
* InteractionPresetRegistryService — in-memory store for org-level interaction presets.
|
|
1146
|
-
*
|
|
1147
|
-
* Loaded once per page by PageUiComponent alongside the page layout.
|
|
1148
|
-
* Scoped to PageUiComponent.providers[] via IoxBuilderModule — one registry per builder instance.
|
|
1149
|
-
*/
|
|
1150
|
-
declare class InteractionPresetRegistryService {
|
|
1151
|
-
private presets;
|
|
1152
|
-
setPresets(presets: InteractionPreset[]): void;
|
|
1153
|
-
getPreset(id: string): InteractionPreset | undefined;
|
|
1154
|
-
getAll(): InteractionPreset[];
|
|
1155
|
-
upsert(preset: InteractionPreset): void;
|
|
1156
|
-
remove(id: string): void;
|
|
1157
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InteractionPresetRegistryService, never>;
|
|
1158
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<InteractionPresetRegistryService>;
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1161
1162
|
declare class OverlayComponent implements OnInit, OnDestroy {
|
|
1162
1163
|
private overlayService;
|
|
1163
1164
|
private viewportService;
|
|
@@ -1180,6 +1181,13 @@ declare class OverlayComponent implements OnInit, OnDestroy {
|
|
|
1180
1181
|
selectOutlineStyle: Record<string, string>;
|
|
1181
1182
|
moreMenuVisible: boolean;
|
|
1182
1183
|
moreMenuStyle: Record<string, string>;
|
|
1184
|
+
badgeMenuVisible: boolean;
|
|
1185
|
+
badgeMenuType: 'style' | 'interaction' | null;
|
|
1186
|
+
badgeMenuPos: {
|
|
1187
|
+
x: number;
|
|
1188
|
+
y: number;
|
|
1189
|
+
};
|
|
1190
|
+
activeBadgeType: 'style' | 'interaction' | null;
|
|
1183
1191
|
private subs;
|
|
1184
1192
|
private resizeObserver?;
|
|
1185
1193
|
private containerResizeObserver?;
|
|
@@ -1211,6 +1219,10 @@ declare class OverlayComponent implements OnInit, OnDestroy {
|
|
|
1211
1219
|
get hasInteractionPresetInClipboard(): boolean;
|
|
1212
1220
|
onEditPreset(event: MouseEvent): void;
|
|
1213
1221
|
onEditInteractionPreset(event: MouseEvent): void;
|
|
1222
|
+
onBadgeContextMenu(event: MouseEvent, type: 'style' | 'interaction'): void;
|
|
1223
|
+
onBadgeCopy(): void;
|
|
1224
|
+
onBadgeEdit(): void;
|
|
1225
|
+
closeBadgeMenu(): void;
|
|
1214
1226
|
get hasCopiedNode(): boolean;
|
|
1215
1227
|
onCopyNode(event: MouseEvent): void;
|
|
1216
1228
|
onPasteNode(event: MouseEvent): void;
|