@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.
@@ -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);
@@ -29936,5 +29942,5 @@ export {
29936
29942
  createIsland
29937
29943
  };
29938
29944
 
29939
- //# debugId=1D5364B3884AFD1664756E2164756E21
29945
+ //# debugId=0DB39D811EA19F8164756E2164756E21
29940
29946
  //# sourceMappingURL=browser.js.map