@vectoriox/iox-builder 2.12.0 → 3.0.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/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { ComponentRef, Type, ChangeDetectorRef, OnInit, AfterViewInit, OnChanges, OnDestroy, EventEmitter, ElementRef, ApplicationRef, SimpleChanges, ViewContainerRef, Injector, EnvironmentInjector, InjectionToken, TemplateRef, AfterContentInit, QueryList } from '@angular/core';
|
|
3
|
-
import * as
|
|
3
|
+
import * as i27 from '@vectoriox/iox-ui';
|
|
4
4
|
import { RelativeSourceSpec, DataSourceEndpoints } from '@vectoriox/iox-ui';
|
|
5
5
|
export { ComponentInstanceRegistryService, IoxContextSlot, SetContextParams, VIRTUAL_TRAIT_KEYS, composeVirtualTraits } from '@vectoriox/iox-ui';
|
|
6
6
|
import * as rxjs from 'rxjs';
|
|
7
7
|
import { Subject, Subscription, BehaviorSubject, Observable } from 'rxjs';
|
|
8
8
|
import * as _vectoriox_iox_builder from '@vectoriox/iox-builder';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i22 from 'primeng/popover';
|
|
10
10
|
import { Popover } from 'primeng/popover';
|
|
11
11
|
import { HttpClient } from '@angular/common/http';
|
|
12
|
-
import * as
|
|
12
|
+
import * as i19 from '@angular/cdk/drag-drop';
|
|
13
13
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
14
|
-
import * as
|
|
15
|
-
import * as
|
|
16
|
-
import * as
|
|
17
|
-
import * as
|
|
18
|
-
import * as
|
|
19
|
-
import * as
|
|
20
|
-
import * as
|
|
21
|
-
import * as
|
|
14
|
+
import * as i17 from '@angular/common';
|
|
15
|
+
import * as i18 from '@angular/forms';
|
|
16
|
+
import * as i20 from 'primeng/accordion';
|
|
17
|
+
import * as i21 from 'primeng/button';
|
|
18
|
+
import * as i23 from 'primeng/inputtext';
|
|
19
|
+
import * as i24 from 'primeng/select';
|
|
20
|
+
import * as i25 from 'primeng/tooltip';
|
|
21
|
+
import * as i26 from 'primeng/dialog';
|
|
22
22
|
|
|
23
23
|
declare enum StyleCategory {
|
|
24
24
|
Layout = "Layout",
|
|
@@ -2234,102 +2234,9 @@ declare class LayerTreeComponent implements OnInit, OnDestroy {
|
|
|
2234
2234
|
static ɵcmp: i0.ɵɵComponentDeclaration<LayerTreeComponent, "app-layer-tree", never, { "layout": { "alias": "layout"; "required": false; }; "globalElements": { "alias": "globalElements"; "required": false; }; }, { "nodeSelect": "nodeSelect"; "nodeAction": "nodeAction"; "nodeMove": "nodeMove"; }, never, never, false, never>;
|
|
2235
2235
|
}
|
|
2236
2236
|
|
|
2237
|
-
declare class InteractionsPanelComponent implements OnInit, OnDestroy {
|
|
2238
|
-
private overlayService;
|
|
2239
|
-
private componentRegistry;
|
|
2240
|
-
node: ComponentNode | null;
|
|
2241
|
-
/** Base + component-specific trigger options for the selected node. */
|
|
2242
|
-
triggerOptions: {
|
|
2243
|
-
value: string;
|
|
2244
|
-
label: string;
|
|
2245
|
-
icon: string;
|
|
2246
|
-
}[];
|
|
2247
|
-
/** Base + component-specific action type options. */
|
|
2248
|
-
actionTypeOptions: {
|
|
2249
|
-
value: string;
|
|
2250
|
-
label: string;
|
|
2251
|
-
}[];
|
|
2252
|
-
easingOptions: string[];
|
|
2253
|
-
interactions: IoxInteraction[];
|
|
2254
|
-
/** All canvas nodes available as animation targets. */
|
|
2255
|
-
nodeOptions: {
|
|
2256
|
-
label: string;
|
|
2257
|
-
value: string;
|
|
2258
|
-
}[];
|
|
2259
|
-
/** Slot names already used anywhere on the canvas — offered as suggestions, not a closed list.
|
|
2260
|
-
* A slot needs no declaration to work: naming it in a setContext action creates it. */
|
|
2261
|
-
knownSlots: string[];
|
|
2262
|
-
/** Data-source aliases, for the "Pick a value…" mode. */
|
|
2263
|
-
sourceOptions: {
|
|
2264
|
-
label: string;
|
|
2265
|
-
value: string;
|
|
2266
|
-
}[];
|
|
2267
|
-
private dsRegistry;
|
|
2268
|
-
/** State for the "add interaction" form */
|
|
2269
|
-
isAdding: boolean;
|
|
2270
|
-
newTrigger: InteractionTrigger;
|
|
2271
|
-
newActionType: InteractionActionType;
|
|
2272
|
-
newTarget: string;
|
|
2273
|
-
newDuration: number;
|
|
2274
|
-
newDelay: number;
|
|
2275
|
-
newEasing: string;
|
|
2276
|
-
newOnce: boolean;
|
|
2277
|
-
/** Slide index param for swiperGoToSlide action. */
|
|
2278
|
-
newSlideIndex: number;
|
|
2279
|
-
/** Expanded interaction ID for editing */
|
|
2280
|
-
expandedId: string | null;
|
|
2281
|
-
private selectSub?;
|
|
2282
|
-
constructor(overlayService: OverlayService, componentRegistry: ComponentRegistryService);
|
|
2283
|
-
get isSwiperGoToSlide(): boolean;
|
|
2284
|
-
get isSwiperAction(): boolean;
|
|
2285
|
-
ngOnInit(): void;
|
|
2286
|
-
/** Merge component-specific events into trigger options and methods into action options. */
|
|
2287
|
-
private refreshDynamicOptions;
|
|
2288
|
-
refreshNodeOptions(): void;
|
|
2289
|
-
getTargetLabel(value: string): string;
|
|
2290
|
-
ngOnDestroy(): void;
|
|
2291
|
-
getTriggerLabel(trigger: InteractionTrigger): string;
|
|
2292
|
-
getTriggerIcon(trigger: InteractionTrigger): string;
|
|
2293
|
-
getActionLabel(type: InteractionActionType): string;
|
|
2294
|
-
getActionsSummary(interaction: IoxInteraction): string;
|
|
2295
|
-
toggleExpand(id: string): void;
|
|
2296
|
-
startAdd(): void;
|
|
2297
|
-
cancelAdd(): void;
|
|
2298
|
-
confirmAdd(): void;
|
|
2299
|
-
removeInteraction(id: string): void;
|
|
2300
|
-
addAction(interaction: IoxInteraction): void;
|
|
2301
|
-
removeAction(interaction: IoxInteraction, index: number): void;
|
|
2302
|
-
/** True for setContext/clearContext — they get a slot editor instead of a target + easing. */
|
|
2303
|
-
isContextAction(action: InteractionAction): boolean;
|
|
2304
|
-
private ctxParams;
|
|
2305
|
-
slotOf(action: InteractionAction): string;
|
|
2306
|
-
setSlot(action: InteractionAction, slot: string): void;
|
|
2307
|
-
valueKindOf(action: InteractionAction): string;
|
|
2308
|
-
setValueKind(action: InteractionAction, kind: string): void;
|
|
2309
|
-
valueSourceOf(action: InteractionAction): string;
|
|
2310
|
-
setValueSource(action: InteractionAction, source: string): void;
|
|
2311
|
-
valuePathOf(action: InteractionAction): string;
|
|
2312
|
-
setValuePath(action: InteractionAction, path: string): void;
|
|
2313
|
-
/**
|
|
2314
|
-
* "Keep after leave" — ON means the slot survives mouseleave (stored as `noReverse`).
|
|
2315
|
-
* Defaults to ON: a repeater row that cleared itself on leave would blink on every row-to-row
|
|
2316
|
-
* move. Turning it OFF is the list-container behaviour (leave clears).
|
|
2317
|
-
*/
|
|
2318
|
-
keepAfterLeave(action: InteractionAction): boolean;
|
|
2319
|
-
setKeepAfterLeave(action: InteractionAction, keep: boolean): void;
|
|
2320
|
-
private refreshKnownSlots;
|
|
2321
|
-
hasToggle(interaction: IoxInteraction): boolean;
|
|
2322
|
-
enableToggle(interaction: IoxInteraction): void;
|
|
2323
|
-
disableToggle(interaction: IoxInteraction): void;
|
|
2324
|
-
addReverseAction(interaction: IoxInteraction): void;
|
|
2325
|
-
removeReverseAction(interaction: IoxInteraction, index: number): void;
|
|
2326
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InteractionsPanelComponent, never>;
|
|
2327
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InteractionsPanelComponent, "app-interactions-panel", never, { "node": { "alias": "node"; "required": false; }; }, {}, never, never, false, never>;
|
|
2328
|
-
}
|
|
2329
|
-
|
|
2330
2237
|
declare class IoxBuilderModule {
|
|
2331
2238
|
static ɵfac: i0.ɵɵFactoryDeclaration<IoxBuilderModule, never>;
|
|
2332
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IoxBuilderModule, [typeof BuilderComponent, typeof RenderDirective, typeof IoxDraggableDirective, typeof IoxDropzoneDirective, typeof OverlayComponent, typeof ToolbarComponent, typeof SectionComponent, typeof BuilderContainerComponent, typeof BuilderLinkedContainerComponent, typeof BuilderRepeaterComponent, typeof BuilderButtonBlockComponent, typeof SliderContainerComponent, typeof SliderSlideComponent, typeof PanelComponent, typeof PanelChildComponent, typeof LayerTreeComponent
|
|
2239
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IoxBuilderModule, [typeof BuilderComponent, typeof RenderDirective, typeof IoxDraggableDirective, typeof IoxDropzoneDirective, typeof OverlayComponent, typeof ToolbarComponent, typeof SectionComponent, typeof BuilderContainerComponent, typeof BuilderLinkedContainerComponent, typeof BuilderRepeaterComponent, typeof BuilderButtonBlockComponent, typeof SliderContainerComponent, typeof SliderSlideComponent, typeof PanelComponent, typeof PanelChildComponent, typeof LayerTreeComponent], [typeof i17.CommonModule, typeof i18.FormsModule, typeof i19.DragDropModule, typeof i20.AccordionModule, typeof i21.ButtonModule, typeof i22.PopoverModule, typeof i23.InputTextModule, typeof i24.SelectModule, typeof i25.TooltipModule, typeof i26.DialogModule, typeof i27.IoxPageModule], [typeof i17.CommonModule, typeof i18.FormsModule, typeof i19.DragDropModule, typeof i20.AccordionModule, typeof i21.ButtonModule, typeof i22.PopoverModule, typeof i23.InputTextModule, typeof i24.SelectModule, typeof i25.TooltipModule, typeof i26.DialogModule, typeof i27.IoxPageModule, typeof BuilderComponent, typeof RenderDirective, typeof IoxDraggableDirective, typeof IoxDropzoneDirective, typeof OverlayComponent, typeof ToolbarComponent, typeof SectionComponent, typeof BuilderContainerComponent, typeof BuilderLinkedContainerComponent, typeof BuilderRepeaterComponent, typeof BuilderButtonBlockComponent, typeof SliderContainerComponent, typeof SliderSlideComponent, typeof PanelComponent, typeof PanelChildComponent, typeof LayerTreeComponent]>;
|
|
2333
2240
|
static ɵinj: i0.ɵɵInjectorDeclaration<IoxBuilderModule>;
|
|
2334
2241
|
}
|
|
2335
2242
|
|
|
@@ -2495,5 +2402,5 @@ declare class TextBlockComponentConfig extends ComponentConfig {
|
|
|
2495
2402
|
constructor();
|
|
2496
2403
|
}
|
|
2497
2404
|
|
|
2498
|
-
export { ACTION_TYPE_OPTIONS, BackgroundGroupStyleConfig, BorderGroupStyleConfig, BuilderButtonBlockComponent, BuilderButtonComponentConfig, BuilderClipboardService, BuilderComponent, BuilderContainerComponent, BuilderContainerComponentConfig, BuilderDataSourceService, BuilderDividerComponentConfig, BuilderHeadingComponentConfig, BuilderHistoryService, BuilderIconComponentConfig, BuilderImageComponentConfig, BuilderLinkComponentConfig, BuilderLinkedContainerComponent, BuilderLinkedContainerConfig, BuilderListComponentConfig, BuilderListItemComponentConfig, BuilderMode, BuilderRepeaterComponent, BuilderSpacerComponentConfig, ButtonBlockComponentConfig, CardComponentConfig, ChildLayoutGroupStyleConfig, ComponentConfig, ComponentRegistryService, DEVICE_OPTIONS, DataSourceRegistryService, DataSourceType, DeviceMode, DimensionsGroupStyleConfig, DragEngineService, EASING_OPTIONS, EffectsGroupStyleConfig, GalleryConfig, GroupStyleConfig, INTERACTION_STATES, INVERSE_ACTION, IOX_DATA_SOURCE_ENDPOINTS, IOX_FONT_MANAGER, InteractionEngineService, InteractionPresetRegistryService,
|
|
2405
|
+
export { ACTION_TYPE_OPTIONS, BackgroundGroupStyleConfig, BorderGroupStyleConfig, BuilderButtonBlockComponent, BuilderButtonComponentConfig, BuilderClipboardService, BuilderComponent, BuilderContainerComponent, BuilderContainerComponentConfig, BuilderDataSourceService, BuilderDividerComponentConfig, BuilderHeadingComponentConfig, BuilderHistoryService, BuilderIconComponentConfig, BuilderImageComponentConfig, BuilderLinkComponentConfig, BuilderLinkedContainerComponent, BuilderLinkedContainerConfig, BuilderListComponentConfig, BuilderListItemComponentConfig, BuilderMode, BuilderRepeaterComponent, BuilderSpacerComponentConfig, ButtonBlockComponentConfig, CardComponentConfig, ChildLayoutGroupStyleConfig, ComponentConfig, ComponentRegistryService, DEVICE_OPTIONS, DataSourceRegistryService, DataSourceType, DeviceMode, DimensionsGroupStyleConfig, DragEngineService, EASING_OPTIONS, EffectsGroupStyleConfig, GalleryConfig, GroupStyleConfig, INTERACTION_STATES, INVERSE_ACTION, IOX_DATA_SOURCE_ENDPOINTS, IOX_FONT_MANAGER, InteractionEngineService, InteractionPresetRegistryService, IoxBuilderModule, IoxDraggableDirective, IoxDropzoneDirective, LayerTreeComponent, LayoutGroupStyleConfig, ListGroupStyleConfig, NodeAction, OverlayComponent, OverlayService, PanelChildComponent, PanelComponent, PanelEventService, PanelEventTypes, PanelTypes, PositionGroupStyleConfig, PresetRegistryService, RELATIONAL_STATES, RELATIONAL_STATE_BASE, ROUTE_ANIMATION_OPTIONS, RenderDirective, RepeaterComponentConfig, SCREEN_WIDTH_OPTIONS, STRUCTURAL_STATES, SUPPORTED_STATES, SectionComponent, SectionComponentConfig, SizeGroupStyleConfig, SliderContainerComponent, SliderContainerConfig, SliderSlideComponent, SliderSlideConfig, SpacingGroupStyleConfig, StyleCategory, StyleRegistryService, TraitConfig as StyleTraitConfig, SymbolRegistryService, TARGETED_STATES, TARGETED_STATE_BASE, TRIGGER_OPTIONS, TextBlockComponentConfig, ToolbarAction, ToolbarComponent, TraitConfig, TraitInputType, TypographyGroupStyleConfig, UNITS_ALL, UNITS_DEG, UNITS_FIXED, UNITS_NO_VW, ViewportService, ZOOM_OPTIONS, arrayItemSchemaFields, arraySchemaFields, buildFullStyleTraits, buildPresetStyleTraits, defaultPageSettings, findNodeLocation, flattenSchemaFields, generateNodeId, resolveTraitControllerType, resolveTraitOptions, wrapNode };
|
|
2499
2406
|
export type { BuilderClipboard, ComponentEventDef, ComponentMethodDef, ComponentNode, ComponentTrait, DeviceOption, DragPayload, DsFilterByQueryParam, DsFilterByRouteParam, ElementState, HistoryEntry, InteractionAction, InteractionActionType, InteractionPreset, InteractionTrigger, IoxBinding, IoxDataSource, IoxDropEvent, IoxFontManager, IoxInteraction, IoxSymbol, NodeRef, OverlayBoxModel, OverlayBoxSpacing, OverlayEntry, PageRouteAnimationSettings, PageScrollSettings, PageSettings, PageStyleSettings, PanelEvent, QuadSizeSegment, RouteAnimationPreset, ScreenWidthOption, StylePreset, StyleTrait, StyleTraitGroup, TraitOptionMap, TraitSelectOption, TraitShowCondition, ViewportState, ZoomOption };
|