@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.
@@ -38517,12 +38517,18 @@ var renderAngularIslandToHtml = async (component, props, islandId) => {
38517
38517
  };
38518
38518
  var mountAngularIsland = async (component, element2, props, islandId) => {
38519
38519
  await Promise.resolve().then(() => (init_compiler(), exports_compiler));
38520
- const { createComponent, inputBinding, provideZonelessChangeDetection } = await import("@angular/core");
38520
+ const {
38521
+ createComponent,
38522
+ EnvironmentInjector,
38523
+ inputBinding,
38524
+ provideZonelessChangeDetection
38525
+ } = await import("@angular/core");
38521
38526
  const { createApplication } = await import("@angular/platform-browser");
38522
38527
  const selector = getAngularIslandSelector(islandId);
38523
38528
  const app = await createApplication({
38524
38529
  providers: [provideZonelessChangeDetection()]
38525
38530
  });
38531
+ const environmentInjector = app.injector.get(EnvironmentInjector);
38526
38532
  let rootElement = element2.querySelector(selector);
38527
38533
  if (!(rootElement instanceof HTMLElement)) {
38528
38534
  element2.innerHTML = `<${selector}></${selector}>`;
@@ -38544,7 +38550,7 @@ var mountAngularIsland = async (component, element2, props, islandId) => {
38544
38550
  const bindings = Object.entries(props).map(([key, value]) => inputBinding(key, () => value));
38545
38551
  const componentRef = createComponent(component, {
38546
38552
  bindings,
38547
- environmentInjector: app.injector,
38553
+ environmentInjector,
38548
38554
  hostElement
38549
38555
  });
38550
38556
  app.attachView(componentRef.hostView);
@@ -38832,5 +38838,5 @@ export {
38832
38838
  IslandState
38833
38839
  };
38834
38840
 
38835
- //# debugId=BB66A9AEB10EC85C64756E2164756E21
38841
+ //# debugId=A2254D43A474ECA964756E2164756E21
38836
38842
  //# sourceMappingURL=browser.js.map