import { DemoCarouseBasicComponent } from './demos/basic/basic'; import { DemoCarouselCaptionsComponent } from './demos/captions/captions'; import { DemoCarouselConfigComponent } from './demos/config/config'; import { DemoCarouselDynamicComponent } from './demos/dynamic/dynamic'; import { ContentSection } from '../../docs/models/content-section.model'; import { DemoTopSectionComponent } from '../../docs/demo-section-components/demo-top-section/index'; import { ExamplesComponent } from '../../docs/demo-section-components/demo-examples-section/index'; import { ApiSectionsComponent } from '../../docs/demo-section-components/demo-api-section/index'; import { NgApiDocComponent, NgApiDocConfigComponent } from '../../docs/api-docs'; export const demoComponentContent: ContentSection[] = [ { name: 'Usage', anchor: 'usage', outlet: DemoTopSectionComponent, content: { doc: require('html-loader!markdown-loader!./docs/usage.md') } }, { name: 'Examples', anchor: 'examples', outlet: ExamplesComponent, content: [ { title: 'Basic', anchor: 'basic', component: require('!!raw-loader?lang=typescript!./demos/basic/basic.ts'), html: require('!!raw-loader?lang=markup!./demos/basic/basic.html'), outlet: DemoCarouseBasicComponent }, { title: 'Optional captions', anchor: 'captions', description: `

Add captions to your slides easily with the .carousel-caption element within any <slide>. Place just about any optional HTML within there and it will be automatically aligned and formatted.

`, component: require('!!raw-loader?lang=typescript!./demos/captions/captions.ts'), html: require('!!raw-loader?lang=markup!./demos/captions/captions.html'), outlet: DemoCarouselCaptionsComponent }, { title: 'Configuring defaults', anchor: 'config-defaults', component: require('!!raw-loader?lang=typescript!./demos/config/config.ts'), html: require('!!raw-loader?lang=markup!./demos/config/config.html'), outlet: DemoCarouselConfigComponent }, { title: 'Dynamic Slides', anchor: 'dynamic-slides', component: require('!!raw-loader?lang=typescript!./demos/dynamic/dynamic.ts'), html: require('!!raw-loader?lang=markup!./demos/dynamic/dynamic.html'), outlet: DemoCarouselDynamicComponent } ] }, { name: 'API Reference', anchor: 'api-reference', outlet: ApiSectionsComponent, content: [ { title: 'CarouselComponent', anchor: 'carousel-component', outlet: NgApiDocComponent }, { title: 'SlideComponent', anchor: 'slide-component', outlet: NgApiDocComponent }, { title: 'CarouselConfig', anchor: 'carousel-config', outlet: NgApiDocConfigComponent } ] } ];