@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.
@@ -29580,12 +29580,18 @@ var renderAngularIslandToHtml = async (component, props, islandId) => {
29580
29580
  };
29581
29581
  var mountAngularIsland = async (component, element2, props, islandId) => {
29582
29582
  await Promise.resolve().then(() => (init_compiler(), exports_compiler));
29583
- const { createComponent, inputBinding, provideZonelessChangeDetection } = await import("@angular/core");
29583
+ const {
29584
+ createComponent,
29585
+ EnvironmentInjector,
29586
+ inputBinding,
29587
+ provideZonelessChangeDetection
29588
+ } = await import("@angular/core");
29584
29589
  const { createApplication } = await import("@angular/platform-browser");
29585
29590
  const selector = getAngularIslandSelector(islandId);
29586
29591
  const app = await createApplication({
29587
29592
  providers: [provideZonelessChangeDetection()]
29588
29593
  });
29594
+ const environmentInjector = app.injector.get(EnvironmentInjector);
29589
29595
  let rootElement = element2.querySelector(selector);
29590
29596
  if (!(rootElement instanceof HTMLElement)) {
29591
29597
  element2.innerHTML = `<${selector}></${selector}>`;
@@ -29607,7 +29613,7 @@ var mountAngularIsland = async (component, element2, props, islandId) => {
29607
29613
  const bindings = Object.entries(props).map(([key, value]) => inputBinding(key, () => value));
29608
29614
  const componentRef = createComponent(component, {
29609
29615
  bindings,
29610
- environmentInjector: app.injector,
29616
+ environmentInjector,
29611
29617
  hostElement
29612
29618
  });
29613
29619
  app.attachView(componentRef.hostView);
@@ -29882,5 +29888,5 @@ export {
29882
29888
  createIsland
29883
29889
  };
29884
29890
 
29885
- //# debugId=2A15AEB9853AA74664756E2164756E21
29891
+ //# debugId=61C0EFC45A3F45E864756E2164756E21
29886
29892
  //# sourceMappingURL=browser.js.map