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

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.
@@ -29583,12 +29583,18 @@ var renderAngularIslandToHtml = async (component, props, islandId) => {
29583
29583
  };
29584
29584
  var mountAngularIsland = async (component, element2, props, islandId) => {
29585
29585
  await Promise.resolve().then(() => (init_compiler(), exports_compiler));
29586
- const { createComponent, inputBinding, provideZonelessChangeDetection } = await import("@angular/core");
29586
+ const {
29587
+ createComponent,
29588
+ EnvironmentInjector,
29589
+ inputBinding,
29590
+ provideZonelessChangeDetection
29591
+ } = await import("@angular/core");
29587
29592
  const { createApplication } = await import("@angular/platform-browser");
29588
29593
  const selector = getAngularIslandSelector(islandId);
29589
29594
  const app = await createApplication({
29590
29595
  providers: [provideZonelessChangeDetection()]
29591
29596
  });
29597
+ const environmentInjector = app.injector.get(EnvironmentInjector);
29592
29598
  let rootElement = element2.querySelector(selector);
29593
29599
  if (!(rootElement instanceof HTMLElement)) {
29594
29600
  element2.innerHTML = `<${selector}></${selector}>`;
@@ -29610,7 +29616,7 @@ var mountAngularIsland = async (component, element2, props, islandId) => {
29610
29616
  const bindings = Object.entries(props).map(([key, value]) => inputBinding(key, () => value));
29611
29617
  const componentRef = createComponent(component, {
29612
29618
  bindings,
29613
- environmentInjector: app.injector,
29619
+ environmentInjector,
29614
29620
  hostElement
29615
29621
  });
29616
29622
  app.attachView(componentRef.hostView);
@@ -29791,5 +29797,5 @@ export {
29791
29797
  defineIslandComponent
29792
29798
  };
29793
29799
 
29794
- //# debugId=9EFA45C68515E99A64756E2164756E21
29800
+ //# debugId=1C8AD990AF2C34BA64756E2164756E21
29795
29801
  //# sourceMappingURL=index.js.map