@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.
@@ -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);
@@ -29894,5 +29900,5 @@ export {
29894
29900
  createIsland
29895
29901
  };
29896
29902
 
29897
- //# debugId=ECACE680A7FD977D64756E2164756E21
29903
+ //# debugId=771E7C6CDF3945F764756E2164756E21
29898
29904
  //# sourceMappingURL=browser.js.map