@absolutejs/absolute 0.19.0-beta.270 → 0.19.0-beta.271

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.
@@ -29951,12 +29951,18 @@ var renderAngularIslandToHtml = async (component, props, islandId) => {
29951
29951
  };
29952
29952
  var mountAngularIsland = async (component, element2, props, islandId) => {
29953
29953
  await Promise.resolve().then(() => (init_compiler(), exports_compiler));
29954
- const { createComponent, inputBinding, provideZonelessChangeDetection } = await import("@angular/core");
29954
+ const {
29955
+ createComponent,
29956
+ EnvironmentInjector,
29957
+ inputBinding,
29958
+ provideZonelessChangeDetection
29959
+ } = await import("@angular/core");
29955
29960
  const { createApplication } = await import("@angular/platform-browser");
29956
29961
  const selector = getAngularIslandSelector(islandId);
29957
29962
  const app = await createApplication({
29958
29963
  providers: [provideZonelessChangeDetection()]
29959
29964
  });
29965
+ const environmentInjector = app.injector.get(EnvironmentInjector);
29960
29966
  let rootElement = element2.querySelector(selector);
29961
29967
  if (!(rootElement instanceof HTMLElement)) {
29962
29968
  element2.innerHTML = `<${selector}></${selector}>`;
@@ -29978,7 +29984,7 @@ var mountAngularIsland = async (component, element2, props, islandId) => {
29978
29984
  const bindings = Object.entries(props).map(([key, value]) => inputBinding(key, () => value));
29979
29985
  const componentRef = createComponent(component, {
29980
29986
  bindings,
29981
- environmentInjector: app.injector,
29987
+ environmentInjector,
29982
29988
  hostElement
29983
29989
  });
29984
29990
  app.attachView(componentRef.hostView);
@@ -30262,5 +30268,5 @@ export {
30262
30268
  createIsland
30263
30269
  };
30264
30270
 
30265
- //# debugId=BEDF450A584C66DB64756E2164756E21
30271
+ //# debugId=68C54C0E4E39659064756E2164756E21
30266
30272
  //# sourceMappingURL=index.js.map