@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.
@@ -29665,12 +29665,18 @@ var renderAngularIslandToHtml = async (component, props, islandId) => {
29665
29665
  };
29666
29666
  var mountAngularIsland = async (component, element2, props, islandId) => {
29667
29667
  await Promise.resolve().then(() => (init_compiler(), exports_compiler));
29668
- const { createComponent, inputBinding, provideZonelessChangeDetection } = await import("@angular/core");
29668
+ const {
29669
+ createComponent,
29670
+ EnvironmentInjector,
29671
+ inputBinding,
29672
+ provideZonelessChangeDetection
29673
+ } = await import("@angular/core");
29669
29674
  const { createApplication } = await import("@angular/platform-browser");
29670
29675
  const selector = getAngularIslandSelector(islandId);
29671
29676
  const app = await createApplication({
29672
29677
  providers: [provideZonelessChangeDetection()]
29673
29678
  });
29679
+ const environmentInjector = app.injector.get(EnvironmentInjector);
29674
29680
  let rootElement = element2.querySelector(selector);
29675
29681
  if (!(rootElement instanceof HTMLElement)) {
29676
29682
  element2.innerHTML = `<${selector}></${selector}>`;
@@ -29692,7 +29698,7 @@ var mountAngularIsland = async (component, element2, props, islandId) => {
29692
29698
  const bindings = Object.entries(props).map(([key, value]) => inputBinding(key, () => value));
29693
29699
  const componentRef = createComponent(component, {
29694
29700
  bindings,
29695
- environmentInjector: app.injector,
29701
+ environmentInjector,
29696
29702
  hostElement
29697
29703
  });
29698
29704
  app.attachView(componentRef.hostView);
@@ -29865,5 +29871,5 @@ export {
29865
29871
  createIslandManifestResolver
29866
29872
  };
29867
29873
 
29868
- //# debugId=67286042388B9D5664756E2164756E21
29874
+ //# debugId=9BEE95A7DE6B60ED64756E2164756E21
29869
29875
  //# sourceMappingURL=index.js.map