dependencies dependencies cluster_StockNotificationModule cluster_StockNotificationModule_exports cluster_StockNotificationModule_declarations cluster_StockNotificationModule_imports StockNotificationComponent StockNotificationComponent StockNotificationModule StockNotificationModule StockNotificationComponent->StockNotificationModule StockNotificationDialogComponent StockNotificationDialogComponent StockNotificationDialogComponent->StockNotificationModule StockNotificationComponent StockNotificationComponent StockNotificationModule->StockNotificationComponent StockNotificationDialogComponent StockNotificationDialogComponent StockNotificationModule->StockNotificationDialogComponent I18nModule I18nModule I18nModule->StockNotificationModule SpinnerModule SpinnerModule SpinnerModule->StockNotificationModule UrlModule UrlModule UrlModule->StockNotificationModule

File

projects/storefrontlib/cms-components/product/stock-notification/stock-notification.module.ts

import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { StockNotificationComponent } from './stock-notification.component';
import {
  CmsConfig,
  I18nModule,
  provideDefaultConfig,
  UrlModule,
} from '@spartacus/core';
import { StockNotificationDialogComponent } from './stock-notification-dialog/stock-notification-dialog.component';
import { SpinnerModule } from '../../../shared/components/spinner/spinner.module';
import { RouterModule } from '@angular/router';

@NgModule({
  declarations: [StockNotificationComponent, StockNotificationDialogComponent],
  imports: [CommonModule, RouterModule, I18nModule, SpinnerModule, UrlModule],
  providers: [
    provideDefaultConfig(<CmsConfig>{
      cmsComponents: {
        StockNotificationComponent: {
          component: StockNotificationComponent,
        },
      },
    }),
  ],
  exports: [StockNotificationComponent, StockNotificationDialogComponent],
})
export class StockNotificationModule {}

result-matching ""

    No results matching ""