@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.
package/dist/vue/index.js CHANGED
@@ -29889,12 +29889,18 @@ var renderAngularIslandToHtml = async (component, props, islandId) => {
29889
29889
  };
29890
29890
  var mountAngularIsland = async (component, element2, props, islandId) => {
29891
29891
  await Promise.resolve().then(() => (init_compiler(), exports_compiler));
29892
- const { createComponent, inputBinding, provideZonelessChangeDetection } = await import("@angular/core");
29892
+ const {
29893
+ createComponent,
29894
+ EnvironmentInjector,
29895
+ inputBinding,
29896
+ provideZonelessChangeDetection
29897
+ } = await import("@angular/core");
29893
29898
  const { createApplication } = await import("@angular/platform-browser");
29894
29899
  const selector = getAngularIslandSelector(islandId);
29895
29900
  const app = await createApplication({
29896
29901
  providers: [provideZonelessChangeDetection()]
29897
29902
  });
29903
+ const environmentInjector = app.injector.get(EnvironmentInjector);
29898
29904
  let rootElement = element2.querySelector(selector);
29899
29905
  if (!(rootElement instanceof HTMLElement)) {
29900
29906
  element2.innerHTML = `<${selector}></${selector}>`;
@@ -29916,7 +29922,7 @@ var mountAngularIsland = async (component, element2, props, islandId) => {
29916
29922
  const bindings = Object.entries(props).map(([key, value]) => inputBinding(key, () => value));
29917
29923
  const componentRef = createComponent(component, {
29918
29924
  bindings,
29919
- environmentInjector: app.injector,
29925
+ environmentInjector,
29920
29926
  hostElement
29921
29927
  });
29922
29928
  app.attachView(componentRef.hostView);
@@ -30247,5 +30253,5 @@ export {
30247
30253
  createIsland
30248
30254
  };
30249
30255
 
30250
- //# debugId=806F331F2FA3004264756E2164756E21
30256
+ //# debugId=E1C9E9ED4BFC1CBF64756E2164756E21
30251
30257
  //# sourceMappingURL=index.js.map