@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.
@@ -39076,12 +39076,18 @@ var renderAngularIslandToHtml = async (component, props, islandId) => {
39076
39076
  };
39077
39077
  var mountAngularIsland = async (component, element2, props, islandId) => {
39078
39078
  await Promise.resolve().then(() => (init_compiler(), exports_compiler));
39079
- const { createComponent, inputBinding, provideZonelessChangeDetection } = await import("@angular/core");
39079
+ const {
39080
+ createComponent,
39081
+ EnvironmentInjector,
39082
+ inputBinding,
39083
+ provideZonelessChangeDetection
39084
+ } = await import("@angular/core");
39080
39085
  const { createApplication } = await import("@angular/platform-browser");
39081
39086
  const selector = getAngularIslandSelector(islandId);
39082
39087
  const app = await createApplication({
39083
39088
  providers: [provideZonelessChangeDetection()]
39084
39089
  });
39090
+ const environmentInjector = app.injector.get(EnvironmentInjector);
39085
39091
  let rootElement = element2.querySelector(selector);
39086
39092
  if (!(rootElement instanceof HTMLElement)) {
39087
39093
  element2.innerHTML = `<${selector}></${selector}>`;
@@ -39103,7 +39109,7 @@ var mountAngularIsland = async (component, element2, props, islandId) => {
39103
39109
  const bindings = Object.entries(props).map(([key, value]) => inputBinding(key, () => value));
39104
39110
  const componentRef = createComponent(component, {
39105
39111
  bindings,
39106
- environmentInjector: app.injector,
39112
+ environmentInjector,
39107
39113
  hostElement
39108
39114
  });
39109
39115
  app.attachView(componentRef.hostView);
@@ -39398,5 +39404,5 @@ export {
39398
39404
  IslandState
39399
39405
  };
39400
39406
 
39401
- //# debugId=D89739DF3025E1DF64756E2164756E21
39407
+ //# debugId=B0C350691F92E04064756E2164756E21
39402
39408
  //# sourceMappingURL=index.js.map