@vectoriox/iox-builder 4.10.0 → 4.12.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/index.d.ts CHANGED
@@ -1,7 +1,7 @@
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
3
  import * as i29 from '@vectoriox/iox-ui';
4
- import { ResponsiveOverrides, RelativeSourceSpec, Breakpoint, DataSourceEndpoints } from '@vectoriox/iox-ui';
4
+ import { ResponsiveOverrides, RelativeSourceSpec, Breakpoint, FormRenderState, 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';
@@ -1707,6 +1707,12 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
1707
1707
  private canvasContentHeight;
1708
1708
  handleToolbarModeChange(mode: BuilderMode): void;
1709
1709
  handleToolbarBreakpointChange(bp: Breakpoint): void;
1710
+ /** The form the selection sits inside, or null. Drives the toolbar's contextual switcher. */
1711
+ activeFormState: FormRenderState;
1712
+ get formStateTarget(): string | null;
1713
+ handleToolbarFormStateChange(state: FormRenderState): void;
1714
+ /** The nearest Form ancestor of the selection (or the selection itself). */
1715
+ private selectedFormNode;
1710
1716
  handleToolbarZoomChange(value: number | 'fit'): void;
1711
1717
  handleToolbarScreenWidthChange(width: number): void;
1712
1718
  get globalElementsBefore(): ComponentNode[];
@@ -2102,7 +2108,46 @@ declare class OverlayComponent implements OnInit, OnDestroy {
2102
2108
  static ɵcmp: i0.ɵɵComponentDeclaration<OverlayComponent, "app-overlay", never, {}, { "toolbarAction": "toolbarAction"; }, never, never, false, never>;
2103
2109
  }
2104
2110
 
2111
+ /**
2112
+ * Canvas data preview used to come from host-provided content services (IOX_CONTENT_SERVICE /
2113
+ * IOX_SHOP_SERVICE), whose `getContent(contentType, orgId)` hit the ADMIN resources endpoint and
2114
+ * accepted no filters — so the Repeater/Slider ignored every data-source filter. Data now flows
2115
+ * through BuilderDataSourceService + the shared planDataSource, configured with
2116
+ * IOX_DATA_SOURCE_ENDPOINTS. Those tokens are gone; do not reintroduce a fetch that bypasses it.
2117
+ */
2118
+ /** Optional font manager. Provide from the host app to populate the fontFamily dropdown. */
2119
+ declare const IOX_FONT_MANAGER: InjectionToken<IoxFontManager>;
2120
+ interface IoxFontManager {
2121
+ loadFonts(orgId: string): void;
2122
+ uploadedFonts$: rxjs.Observable<any>;
2123
+ getAllFontOptions(): {
2124
+ label: string;
2125
+ value: string;
2126
+ }[];
2127
+ }
2128
+ /**
2129
+ * Translates the builder library's OWN chrome.
2130
+ *
2131
+ * The library cannot depend on ngx-translate — that is the host app's choice — but its toolbar was
2132
+ * hardcoded English, which shows through as untranslated controls in a Hebrew/RTL admin. This token
2133
+ * lets the host route those strings through its own i18n while the library keeps working standalone:
2134
+ * unprovided, `defaultBuilderLabels` returns the English text, so nothing ever renders a raw key.
2135
+ *
2136
+ * Keys are namespaced `builder.chrome.*` and listed in `BUILDER_CHROME_EN` below — that object is
2137
+ * the contract. A host providing this token should add those keys to its own bundles.
2138
+ */
2139
+ declare const IOX_BUILDER_LABELS: InjectionToken<BuilderLabelResolver>;
2140
+ type BuilderLabelResolver = (key: string, fallback: string) => string;
2141
+ /** Standalone behaviour: the English text the library ships with. */
2142
+ declare const defaultBuilderLabels: BuilderLabelResolver;
2143
+ /**
2144
+ * Every user-visible string in the builder's own chrome, so a host can copy this into its bundles
2145
+ * in one go rather than discovering keys one missing label at a time.
2146
+ */
2147
+ declare const BUILDER_CHROME_EN: Readonly<Record<string, string>>;
2148
+
2105
2149
  declare class ToolbarComponent {
2150
+ private readonly labels;
2106
2151
  activeMode: BuilderMode;
2107
2152
  activeBreakpoint: Breakpoint;
2108
2153
  /** Overrides per breakpoint — for the selection, or the page when nothing is selected. */
@@ -2116,8 +2161,16 @@ declare class ToolbarComponent {
2116
2161
  canRedo: boolean;
2117
2162
  isSaving: boolean;
2118
2163
  pageStatus: string;
2164
+ /**
2165
+ * The form the selection sits inside, or null. CONTEXTUAL: the state switcher only appears when
2166
+ * there is a form to switch, because a permanently-present control for a rarely-present element
2167
+ * is exactly the toolbar clutter `builder-usability-plan.md` warns about.
2168
+ */
2169
+ formStateTarget: string | null;
2170
+ activeFormState: FormRenderState;
2119
2171
  modeChange: EventEmitter<BuilderMode>;
2120
2172
  breakpointChange: EventEmitter<Breakpoint>;
2173
+ formStateChange: EventEmitter<FormRenderState>;
2121
2174
  auditToggle: EventEmitter<void>;
2122
2175
  zoomChange: EventEmitter<number | "fit">;
2123
2176
  screenWidthChange: EventEmitter<number>;
@@ -2149,14 +2202,33 @@ declare class ToolbarComponent {
2149
2202
  get sliderZoom(): number;
2150
2203
  toggleModePopover(event: Event): void;
2151
2204
  selectMode(mode: BuilderMode): void;
2205
+ constructor(labels: BuilderLabelResolver);
2152
2206
  selectBreakpoint(bp: Breakpoint): void;
2207
+ /** The four states, in the order a submission moves through them. */
2208
+ readonly formStates: {
2209
+ id: FormRenderState;
2210
+ labelKey: string;
2211
+ icon: string;
2212
+ }[];
2213
+ /**
2214
+ * Translate one of the builder's own chrome strings. Unprovided, the resolver returns the
2215
+ * English fallback from `BUILDER_CHROME_EN`, so the library still reads correctly standalone
2216
+ * and never renders a raw key.
2217
+ */
2218
+ t(key: string): string;
2219
+ /** "Show the form's Success state" — one key with a slot, not four sentences to translate. */
2220
+ formStateHint(state: {
2221
+ labelKey: string;
2222
+ }): string;
2223
+ get publishLabel(): string;
2224
+ selectFormState(state: FormRenderState): void;
2153
2225
  onSliderChange(event: Event): void;
2154
2226
  toggleWidthPopover(event: Event): void;
2155
2227
  selectScreenWidth(width: number): void;
2156
2228
  toggleZoomPopover(event: Event): void;
2157
2229
  selectZoom(value: number | 'fit'): void;
2158
2230
  static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, never>;
2159
- static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "app-toolbar", never, { "activeMode": { "alias": "activeMode"; "required": false; }; "activeBreakpoint": { "alias": "activeBreakpoint"; "required": false; }; "breakpointCounts": { "alias": "breakpointCounts"; "required": false; }; "auditCount": { "alias": "auditCount"; "required": false; }; "auditOpen": { "alias": "auditOpen"; "required": false; }; "activeZoom": { "alias": "activeZoom"; "required": false; }; "activeScreenWidth": { "alias": "activeScreenWidth"; "required": false; }; "canUndo": { "alias": "canUndo"; "required": false; }; "canRedo": { "alias": "canRedo"; "required": false; }; "isSaving": { "alias": "isSaving"; "required": false; }; "pageStatus": { "alias": "pageStatus"; "required": false; }; }, { "modeChange": "modeChange"; "breakpointChange": "breakpointChange"; "auditToggle": "auditToggle"; "zoomChange": "zoomChange"; "screenWidthChange": "screenWidthChange"; "undo": "undo"; "redo": "redo"; "save": "save"; "preview": "preview"; "publishToggle": "publishToggle"; }, never, never, false, never>;
2231
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "app-toolbar", never, { "activeMode": { "alias": "activeMode"; "required": false; }; "activeBreakpoint": { "alias": "activeBreakpoint"; "required": false; }; "breakpointCounts": { "alias": "breakpointCounts"; "required": false; }; "auditCount": { "alias": "auditCount"; "required": false; }; "auditOpen": { "alias": "auditOpen"; "required": false; }; "activeZoom": { "alias": "activeZoom"; "required": false; }; "activeScreenWidth": { "alias": "activeScreenWidth"; "required": false; }; "canUndo": { "alias": "canUndo"; "required": false; }; "canRedo": { "alias": "canRedo"; "required": false; }; "isSaving": { "alias": "isSaving"; "required": false; }; "pageStatus": { "alias": "pageStatus"; "required": false; }; "formStateTarget": { "alias": "formStateTarget"; "required": false; }; "activeFormState": { "alias": "activeFormState"; "required": false; }; }, { "modeChange": "modeChange"; "breakpointChange": "breakpointChange"; "formStateChange": "formStateChange"; "auditToggle": "auditToggle"; "zoomChange": "zoomChange"; "screenWidthChange": "screenWidthChange"; "undo": "undo"; "redo": "redo"; "save": "save"; "preview": "preview"; "publishToggle": "publishToggle"; }, never, never, false, never>;
2160
2232
  }
2161
2233
 
2162
2234
  /**
@@ -2209,6 +2281,15 @@ declare class BuilderContainerComponent implements OnInit, OnDestroy {
2209
2281
  htmlTag: string;
2210
2282
  start: number;
2211
2283
  reversed: boolean;
2284
+ /**
2285
+ * Form-family marker: `iox-form`, `iox-form-success`, `iox-form-error` or `iox-field-group`.
2286
+ * The builder reuses THIS component for those types (as it already does for List/ListItem), so
2287
+ * they get the canvas drop zone and child rendering; the class is what lets the shared form
2288
+ * stylesheet treat them exactly as it treats the engine's own twins.
2289
+ */
2290
+ formClass: string;
2291
+ /** Which state the canvas is showing. Only meaningful on a form host. */
2292
+ formState: string;
2212
2293
  childClick: EventEmitter<any>;
2213
2294
  childMouseEnter: EventEmitter<any>;
2214
2295
  childMouseLeave: EventEmitter<void>;
@@ -2218,7 +2299,7 @@ declare class BuilderContainerComponent implements OnInit, OnDestroy {
2218
2299
  get listOrientation(): 'horizontal' | 'vertical';
2219
2300
  onDrop(event: IoxDropEvent): void;
2220
2301
  static ɵfac: i0.ɵɵFactoryDeclaration<BuilderContainerComponent, never>;
2221
- static ɵcmp: i0.ɵɵComponentDeclaration<BuilderContainerComponent, "div[iox-container],section[iox-container],article[iox-container],header[iox-container],footer[iox-container],main[iox-container],nav[iox-container],ul[iox-container],ol[iox-container],li[iox-container]", never, { "children": { "alias": "children"; "required": false; }; "style": { "alias": "style"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; "dropListId": { "alias": "dropListId"; "required": false; }; "htmlTag": { "alias": "htmlTag"; "required": false; }; "start": { "alias": "start"; "required": false; }; "reversed": { "alias": "reversed"; "required": false; }; }, { "childClick": "childClick"; "childMouseEnter": "childMouseEnter"; "childMouseLeave": "childMouseLeave"; }, never, never, false, never>;
2302
+ static ɵcmp: i0.ɵɵComponentDeclaration<BuilderContainerComponent, "div[iox-container],section[iox-container],article[iox-container],header[iox-container],footer[iox-container],main[iox-container],nav[iox-container],ul[iox-container],ol[iox-container],li[iox-container],form[iox-container]", never, { "children": { "alias": "children"; "required": false; }; "style": { "alias": "style"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; "dropListId": { "alias": "dropListId"; "required": false; }; "htmlTag": { "alias": "htmlTag"; "required": false; }; "start": { "alias": "start"; "required": false; }; "reversed": { "alias": "reversed"; "required": false; }; "formClass": { "alias": "formClass"; "required": false; }; "formState": { "alias": "formState"; "required": false; }; }, { "childClick": "childClick"; "childMouseEnter": "childMouseEnter"; "childMouseLeave": "childMouseLeave"; }, never, never, false, never>;
2222
2303
  }
2223
2304
 
2224
2305
  declare class BuilderLinkedContainerComponent implements OnInit, OnDestroy {
@@ -2749,24 +2830,6 @@ declare class BuilderHistoryService {
2749
2830
  static ɵprov: i0.ɵɵInjectableDeclaration<BuilderHistoryService>;
2750
2831
  }
2751
2832
 
2752
- /**
2753
- * Canvas data preview used to come from host-provided content services (IOX_CONTENT_SERVICE /
2754
- * IOX_SHOP_SERVICE), whose `getContent(contentType, orgId)` hit the ADMIN resources endpoint and
2755
- * accepted no filters — so the Repeater/Slider ignored every data-source filter. Data now flows
2756
- * through BuilderDataSourceService + the shared planDataSource, configured with
2757
- * IOX_DATA_SOURCE_ENDPOINTS. Those tokens are gone; do not reintroduce a fetch that bypasses it.
2758
- */
2759
- /** Optional font manager. Provide from the host app to populate the fontFamily dropdown. */
2760
- declare const IOX_FONT_MANAGER: InjectionToken<IoxFontManager>;
2761
- interface IoxFontManager {
2762
- loadFonts(orgId: string): void;
2763
- uploadedFonts$: rxjs.Observable<any>;
2764
- getAllFontOptions(): {
2765
- label: string;
2766
- value: string;
2767
- }[];
2768
- }
2769
-
2770
2833
  /**
2771
2834
  * node-path — pure ancestor-chain helpers for the builder's node tree.
2772
2835
  *
@@ -2852,6 +2915,68 @@ declare function essentialTraitsFor(type: string | null | undefined): readonly s
2852
2915
  */
2853
2916
  declare function matchesControlSearch(name: string, label: string, term: string): boolean;
2854
2917
 
2918
+ /**
2919
+ * FORM PRESETS — a complete, working form as one insert.
2920
+ *
2921
+ * This is the piece that makes the whole feature feel simple. Dropping a preset gives a form that
2922
+ * already validates, already stores, and already has designed Success and Error blocks — so the
2923
+ * author's first action is editing copy, not wiring plumbing. Nothing here is a new component type:
2924
+ * what lands on the canvas is ordinary nodes, editable and take-apart-able afterwards.
2925
+ *
2926
+ * Mirrors `layout-presets.ts` deliberately: same shape, same build-from-configs approach, so there
2927
+ * is one way to express "a preset" in this codebase rather than two.
2928
+ */
2929
+ interface FormPresetField {
2930
+ label: string;
2931
+ control: string;
2932
+ required?: boolean;
2933
+ help?: string;
2934
+ placeholder?: string;
2935
+ /** Choices for select/radio, `value|Label` per line — the Field's `optionsText` trait. */
2936
+ optionsText?: string;
2937
+ rows?: number;
2938
+ }
2939
+ interface FormPresetDef {
2940
+ id: string;
2941
+ name: string;
2942
+ icon: string;
2943
+ /** One line in the panel: what it collects and where it goes. */
2944
+ description: string;
2945
+ /** The form's author-facing name, which the submissions inbox groups by. */
2946
+ formName: string;
2947
+ fields: FormPresetField[];
2948
+ submitLabel: string;
2949
+ successText: string;
2950
+ errorText: string;
2951
+ }
2952
+ declare const FORM_PRESETS: readonly FormPresetDef[];
2953
+ /** How a config is produced. The caller owns the registry, so this file stays pure. */
2954
+ type CreateConfig = (type: string) => ComponentNode | null | undefined;
2955
+ /**
2956
+ * Build a preset's node tree.
2957
+ *
2958
+ * The Form config already auto-creates its children (two fields, a submit, and the two state
2959
+ * blocks), so this REPLACES them wholesale rather than appending — otherwise every preset would
2960
+ * carry the default Name/Email pair as well as its own fields.
2961
+ *
2962
+ * Returns null when a type is missing from the registry, so a half-built tree never reaches a page.
2963
+ */
2964
+ declare function buildFormPreset(def: FormPresetDef, createConfig: CreateConfig): ComponentNode | null;
2965
+
2966
+ /** The node type that scopes a form. Kept here so the rule has one name, not a scattered literal. */
2967
+ declare const FORM_TYPE = "Form";
2968
+ /**
2969
+ * The form the current selection belongs to — the NEAREST Form ancestor, or the selection itself
2970
+ * when a Form is selected.
2971
+ *
2972
+ * This is the selection-side expression of decision D1: a field belongs to its nearest ancestor
2973
+ * form. Searching the path from the deepest node outward is what makes "nearest" true, and it is
2974
+ * why a nested form (were one ever allowed) could not capture an outer form's toolbar.
2975
+ *
2976
+ * @param path Ancestor chain from the root down to the selected node, as `selectedPath` holds it.
2977
+ */
2978
+ declare function nearestFormNode(path: readonly ComponentNode[] | null | undefined): ComponentNode | null;
2979
+
2855
2980
  /**
2856
2981
  * The text on the drop indicator's chip — "into Card grid · position 2 of 3" (B2).
2857
2982
  *
@@ -2994,5 +3119,5 @@ declare class TextBlockComponentConfig extends ComponentConfig {
2994
3119
  constructor();
2995
3120
  }
2996
3121
 
2997
- export { ACTION_TYPE_OPTIONS, AuditCode, AuditPanelComponent, AuditSeverity, BREAKPOINT_PRESENTATION, BUILDER_CANVAS_CONTAINER, BackgroundGroupStyleConfig, BorderGroupStyleConfig, BreadcrumbBarComponent, 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, DEFAULT_ESSENTIAL_TRAITS, DRAG_HANDLE_ATTR, DataSourceRegistryService, DataSourceType, DimensionsGroupStyleConfig, DragEngineService, EASING_OPTIONS, ESSENTIAL_TRAITS_BY_TYPE, EffectsGroupStyleConfig, FieldComponentConfig, FieldGroupComponentConfig, FormComponentConfig, FormErrorComponentConfig, FormSuccessComponentConfig, GalleryConfig, GroupStyleConfig, INTERACTION_STATES, INVERSE_ACTION, IOX_DATA_SOURCE_ENDPOINTS, IOX_FONT_MANAGER, InteractionEngineService, InteractionPresetRegistryService, IoxBuilderModule, IoxDraggableDirective, IoxDropzoneDirective, LAYOUT_PRESETS, 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, SubmitButtonComponentConfig, 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, auditNodes, buildFullStyleTraits, buildLayoutPreset, buildPresetStyleTraits, canFluidise, collapseColumnsProps, columnCountOf, defaultPageSettings, dropTargetLabel, essentialTraitsFor, findNodeLocation, findParentOf, flattenSchemaFields, fluidiseProps, generateNodeId, isHiddenAt, matchesControlSearch, nodeAncestorPath, nodeAncestorPathInEither, reorderProps, resolveInsertTarget, resolveTraitControllerType, resolveTraitOptions, setStyleTrait, stackChildrenProps, summarise, visibilityProps, wrapNode };
2998
- export type { AuditFinding, AuditNode, BreakpointPresentation, BuilderClipboard, ComponentEventDef, ComponentMethodDef, ComponentNode, ComponentTrait, Crumb, DragPayload, DsFilterByQueryParam, DsFilterByRouteParam, ElementState, HistoryEntry, InsertTarget, InteractionAction, InteractionActionType, InteractionPreset, InteractionTrigger, IoxBinding, IoxDataSource, IoxDropEvent, IoxFontManager, IoxInteraction, IoxSymbol, LayoutPresetChildStyles, LayoutPresetDef, NodeRef, OverlayBoxModel, OverlayBoxSpacing, OverlayEntry, PageRouteAnimationSettings, PageScrollSettings, PageSettings, PageStyleSettings, PanelEvent, QuadSizeSegment, RouteAnimationPreset, ScreenWidthOption, SelectionBadge, StyleMap, StylePreset, StyleTrait, StyleTraitGroup, TraitOptionMap, TraitSelectOption, TraitShowCondition, TreePathNode, ViewportState, ZoomOption };
3122
+ export { ACTION_TYPE_OPTIONS, AuditCode, AuditPanelComponent, AuditSeverity, BREAKPOINT_PRESENTATION, BUILDER_CANVAS_CONTAINER, BUILDER_CHROME_EN, BackgroundGroupStyleConfig, BorderGroupStyleConfig, BreadcrumbBarComponent, 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, DEFAULT_ESSENTIAL_TRAITS, DRAG_HANDLE_ATTR, DataSourceRegistryService, DataSourceType, DimensionsGroupStyleConfig, DragEngineService, EASING_OPTIONS, ESSENTIAL_TRAITS_BY_TYPE, EffectsGroupStyleConfig, FORM_PRESETS, FORM_TYPE, FieldComponentConfig, FieldGroupComponentConfig, FormComponentConfig, FormErrorComponentConfig, FormSuccessComponentConfig, GalleryConfig, GroupStyleConfig, INTERACTION_STATES, INVERSE_ACTION, IOX_BUILDER_LABELS, IOX_DATA_SOURCE_ENDPOINTS, IOX_FONT_MANAGER, InteractionEngineService, InteractionPresetRegistryService, IoxBuilderModule, IoxDraggableDirective, IoxDropzoneDirective, LAYOUT_PRESETS, 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, SubmitButtonComponentConfig, 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, auditNodes, buildFormPreset, buildFullStyleTraits, buildLayoutPreset, buildPresetStyleTraits, canFluidise, collapseColumnsProps, columnCountOf, defaultBuilderLabels, defaultPageSettings, dropTargetLabel, essentialTraitsFor, findNodeLocation, findParentOf, flattenSchemaFields, fluidiseProps, generateNodeId, isHiddenAt, matchesControlSearch, nearestFormNode, nodeAncestorPath, nodeAncestorPathInEither, reorderProps, resolveInsertTarget, resolveTraitControllerType, resolveTraitOptions, setStyleTrait, stackChildrenProps, summarise, visibilityProps, wrapNode };
3123
+ export type { AuditFinding, AuditNode, BreakpointPresentation, BuilderClipboard, BuilderLabelResolver, ComponentEventDef, ComponentMethodDef, ComponentNode, ComponentTrait, CreateConfig, Crumb, DragPayload, DsFilterByQueryParam, DsFilterByRouteParam, ElementState, FormPresetDef, FormPresetField, HistoryEntry, InsertTarget, InteractionAction, InteractionActionType, InteractionPreset, InteractionTrigger, IoxBinding, IoxDataSource, IoxDropEvent, IoxFontManager, IoxInteraction, IoxSymbol, LayoutPresetChildStyles, LayoutPresetDef, NodeRef, OverlayBoxModel, OverlayBoxSpacing, OverlayEntry, PageRouteAnimationSettings, PageScrollSettings, PageSettings, PageStyleSettings, PanelEvent, QuadSizeSegment, RouteAnimationPreset, ScreenWidthOption, SelectionBadge, StyleMap, StylePreset, StyleTrait, StyleTraitGroup, TraitOptionMap, TraitSelectOption, TraitShowCondition, TreePathNode, ViewportState, ZoomOption };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-builder",
3
- "version": "4.10.0",
3
+ "version": "4.12.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",