@vectoriox/iox-builder 1.9.1 → 1.9.3

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": "1.9.1",
3
+ "version": "1.9.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
@@ -49,13 +49,15 @@ interface DsFilterByRouteParam {
49
49
  defaultId?: string;
50
50
  }
51
51
  /**
52
- * When mode=query: each entry maps a schema field to a URL query string
53
- * key (e.g. ?status=active → field "status").
54
- * `defaultValue` is used as a fallback in the builder preview.
52
+ * When mode=query: each entry filters a schema field, either from a URL query string key
53
+ * (e.g. ?status=active → field "status") or by a constant.
54
+ * `queryParam` OMITTED → constant filter: `defaultValue` is always the value.
55
+ * `queryParam` present → the URL value wins and `defaultValue` is the fallback (which is what the
56
+ * builder preview always uses — design time has no live query params).
55
57
  */
56
58
  interface DsFilterByQueryParam {
57
59
  field: string;
58
- queryParam: string;
60
+ queryParam?: string;
59
61
  defaultValue?: string;
60
62
  }
61
63
  declare enum DataSourceType {
@@ -1217,6 +1219,15 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
1217
1219
  ngOnChanges(changes: SimpleChanges): void;
1218
1220
  ngAfterViewInit(): void;
1219
1221
  ngOnDestroy(): void;
1222
+ /**
1223
+ * Cancel the browser's default navigation for any link clicked on the editing canvas.
1224
+ *
1225
+ * Bound property (not a method) so add/removeEventListener share one reference. Matches the
1226
+ * clicked target's nearest `a[href]`, so it covers a Link/Button host as well as a click on
1227
+ * anything nested inside a LinkedContainer. Only the DEFAULT action is cancelled — propagation
1228
+ * is untouched, so node selection, the overlay and the context menu all behave normally.
1229
+ */
1230
+ private readonly blockCanvasNavigation;
1220
1231
  /**
1221
1232
  * Set --preview-vh / --preview-vw on .preview-scroll so that viewport-relative
1222
1233
  * units (vh, vw) inside the canvas resolve to the simulated canvas dimensions