@toolbox-web/grid-angular 1.1.0 → 1.2.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.
@@ -1936,6 +1936,19 @@ class GridAdapter {
1936
1936
  return container;
1937
1937
  };
1938
1938
  }
1939
+ /**
1940
+ * FrameworkAdapter hook called by ResponsivePlugin during attach().
1941
+ * Parses the `<tbw-grid-responsive-card>` element and delegates to
1942
+ * {@link createResponsiveCardRenderer}. Required for parity with the Vue
1943
+ * adapter so ResponsivePlugin's standard lookup path works for Angular
1944
+ * users without relying on imperative `refreshCardRenderer` calls.
1945
+ */
1946
+ parseResponsiveCardElement(cardElement) {
1947
+ const gridElement = cardElement.closest('tbw-grid');
1948
+ if (!gridElement)
1949
+ return undefined;
1950
+ return this.createResponsiveCardRenderer(gridElement);
1951
+ }
1939
1952
  /**
1940
1953
  * Creates a tool panel renderer from a light DOM element.
1941
1954
  * The renderer creates an Angular template-based panel content.