@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.
@@ -29881,12 +29881,18 @@ var renderAngularIslandToHtml = async (component, props, islandId) => {
29881
29881
  };
29882
29882
  var mountAngularIsland = async (component, element2, props, islandId) => {
29883
29883
  await Promise.resolve().then(() => (init_compiler(), exports_compiler));
29884
- const { createComponent, inputBinding, provideZonelessChangeDetection } = await import("@angular/core");
29884
+ const {
29885
+ createComponent,
29886
+ EnvironmentInjector,
29887
+ inputBinding,
29888
+ provideZonelessChangeDetection
29889
+ } = await import("@angular/core");
29885
29890
  const { createApplication } = await import("@angular/platform-browser");
29886
29891
  const selector = getAngularIslandSelector(islandId);
29887
29892
  const app = await createApplication({
29888
29893
  providers: [provideZonelessChangeDetection()]
29889
29894
  });
29895
+ const environmentInjector = app.injector.get(EnvironmentInjector);
29890
29896
  let rootElement = element2.querySelector(selector);
29891
29897
  if (!(rootElement instanceof HTMLElement)) {
29892
29898
  element2.innerHTML = `<${selector}></${selector}>`;
@@ -29908,7 +29914,7 @@ var mountAngularIsland = async (component, element2, props, islandId) => {
29908
29914
  const bindings = Object.entries(props).map(([key, value]) => inputBinding(key, () => value));
29909
29915
  const componentRef = createComponent(component, {
29910
29916
  bindings,
29911
- environmentInjector: app.injector,
29917
+ environmentInjector,
29912
29918
  hostElement
29913
29919
  });
29914
29920
  app.attachView(componentRef.hostView);
@@ -30200,5 +30206,5 @@ export {
30200
30206
  createIsland
30201
30207
  };
30202
30208
 
30203
- //# debugId=811A8CE7F73E509264756E2164756E21
30209
+ //# debugId=078DC2E5E559019364756E2164756E21
30204
30210
  //# sourceMappingURL=index.js.map