@vectoriox/iox-builder 2.6.1 → 2.8.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-builder",
3
- "version": "2.6.1",
3
+ "version": "2.8.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
@@ -40,6 +40,13 @@ interface IoxBinding {
40
40
  source: string;
41
41
  path: string;
42
42
  fallback?: any;
43
+ /** Render-time transform chain (UI: "Filters"), applied LEFT→RIGHT after resolvePath by the shared
44
+ * `applyBindingPipes` from `@vectoriox/iox-ui` — same on the builder canvas and the SSR engine.
45
+ * Shape mirrors iox-ui's `IoxPipe` (kept inline so this model needs no cross-package import). */
46
+ pipes?: {
47
+ name: string;
48
+ args?: any[];
49
+ }[];
43
50
  }
44
51
  /**
45
52
  * When mode=single: looks up a single CMS item by matching a schema field
@@ -284,6 +291,9 @@ declare enum TraitInputType {
284
291
  Range = "range",
285
292
  Icon = "icon",
286
293
  Media = "media",
294
+ /** Ordered list of images (URL / one-by-one / filebox; per-item binding in a later phase).
295
+ * Controller registered in the consumer (iox-cms-client) as `mediaList`. Value: GalleryImage[]. */
296
+ MediaList = "mediaList",
287
297
  FontFamily = "fontFamily",
288
298
  GridTemplate = "gridTemplate",
289
299
  SectionLabel = "sectionLabel",
@@ -1899,6 +1909,10 @@ declare class BuilderRepeaterComponent implements OnInit, OnDestroy {
1899
1909
  ngOnInit(): void;
1900
1910
  ngOnDestroy(): void;
1901
1911
  onDrop(event: IoxDropEvent): void;
1912
+ /** Monotonic fetch token — editing a binding sets `source` and `sourcePath` as two separate inputs,
1913
+ * each firing a fetch; the transient mismatched one (old source + new path, or vice-versa) must not
1914
+ * clobber the correct result if it resolves last. Only the newest fetch's response is applied. */
1915
+ private _fetchSeq;
1902
1916
  /** Data comes from the SHARED resolver (public controllers + the source's own filters) — the
1903
1917
  * same decision the SSR engine runs, so the canvas preview matches the published page. */
1904
1918
  private fetchData;
@@ -2323,6 +2337,21 @@ declare class BuilderDividerComponentConfig extends ComponentConfig {
2323
2337
  constructor();
2324
2338
  }
2325
2339
 
2340
+ /**
2341
+ * Gallery — crossfade image gallery (working name; "fade" is the first effect, not the component).
2342
+ *
2343
+ * The RENDER component is the shared engine twin `ClientGalleryComponent` (`iox-gallery`) from
2344
+ * `@vectoriox/iox-ui` — reused directly in the builder (like Image reuses BuilderImageComponent), so
2345
+ * there is ONE implementation of the crossfade for both canvas and live site. This config only
2346
+ * declares the editable traits + the minimal style groups (size + spacing, per product decision).
2347
+ *
2348
+ * Population (v1): the `images` MediaList trait (URL / one-by-one / filebox / paste). Data-source
2349
+ * binding (`source`/`sourcePath`) is a later phase. See gallery-component-plan.md.
2350
+ */
2351
+ declare class GalleryConfig extends ComponentConfig {
2352
+ constructor();
2353
+ }
2354
+
2326
2355
  declare class BuilderHeadingComponentConfig extends ComponentConfig {
2327
2356
  constructor();
2328
2357
  }
@@ -2376,5 +2405,5 @@ declare class TextBlockComponentConfig extends ComponentConfig {
2376
2405
  constructor();
2377
2406
  }
2378
2407
 
2379
- 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, GroupStyleConfig, INTERACTION_STATES, INVERSE_ACTION, IOX_DATA_SOURCE_ENDPOINTS, IOX_FONT_MANAGER, InteractionEngineService, InteractionPresetRegistryService, InteractionsPanelComponent, 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, 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 };
2408
+ 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, InteractionsPanelComponent, 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, 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 };
2380
2409
  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 };