How to use the @nebular/theme.NbDatepickerModule.forRoot function in @nebular/theme

To help you get started, we’ve selected a few @nebular/theme examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github garrylachman / ElectroCRUD / src / app / app.module.ts View on Github external
NbActionsModule,
    NbSearchModule,
    NbIconModule,
    NbMenuModule.forRoot(),
    NbTooltipModule,
    NbCardModule,
    NbInputModule,
    NbCheckboxModule,
    NbSelectModule,
    NbDialogModule.forRoot(),
    NgxMaskModule.forRoot(),
    NbToastrModule.forRoot(),
    ReactiveFormsModule,
    NbAlertModule,
    FormlyModule.forRoot(),
    NbDatepickerModule.forRoot(),
    FormlyBootstrapModule,
    Ng2FittextModule,
    NgBootstrapFormValidationModule.forRoot(),
  ],
  providers: [
    ElectronService, 
    NbMenuService, 
    NbDialogService, 
    AccountsService, 
    NbDatepickerDirective,
    {
      provide: ErrorHandler, 
      useFactory: errorHandlerFactory
    },
  ],
  entryComponents: [ConfirmDeleteComponent, AddEditWidgetModalComponent, AddEditFilterModalComponent, ColumnReferanceDialogComponent],
github akveo / nebular / 3.6.2 / assets / examples / datepicker / datepicker.module.ts View on Github external
import { DatepickerFormsComponent } from './datepicker-forms.component';
import { DatepickerShowcaseComponent } from './datepicker-showcase.component';
import { DatepickerValidationComponent } from './datepicker-validation.component';
import { RangepickerShowcaseComponent } from './rangepicker-showcase.component';

@NgModule({
  declarations: [
    DatepickerFormsComponent,
    DatepickerShowcaseComponent,
    DatepickerValidationComponent,
    RangepickerShowcaseComponent,
  ],
  imports: [
    FormsModule,
    ReactiveFormsModule,
    NbDatepickerModule.forRoot(),
    NbInputModule,
    DatepickerRoutingModule,
  ],
})
export class DatepickerModule {}
github akveo / nebular / src / playground / with-layout / datepicker / datepicker.module.ts View on Github external
import { DatepickerFormsComponent } from './datepicker-forms.component';
import { DatepickerShowcaseComponent } from './datepicker-showcase.component';
import { DatepickerValidationComponent } from './datepicker-validation.component';
import { RangepickerShowcaseComponent } from './rangepicker-showcase.component';

@NgModule({
  declarations: [
    DatepickerFormsComponent,
    DatepickerShowcaseComponent,
    DatepickerValidationComponent,
    RangepickerShowcaseComponent,
  ],
  imports: [
    FormsModule,
    ReactiveFormsModule,
    NbDatepickerModule.forRoot(),
    NbInputModule,
    DatepickerRoutingModule,
    NbCardModule,
  ],
})
export class DatepickerModule {}
github akveo / ngx-admin / src / app / app.module.ts View on Github external
NbWindowModule,
} from '@nebular/theme';

@NgModule({
  declarations: [AppComponent],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    HttpClientModule,
    AppRoutingModule,

    ThemeModule.forRoot(),

    NbSidebarModule.forRoot(),
    NbMenuModule.forRoot(),
    NbDatepickerModule.forRoot(),
    NbDialogModule.forRoot(),
    NbWindowModule.forRoot(),
    NbToastrModule.forRoot(),
    NbChatModule.forRoot({
      messageGoogleMapKey: 'AIzaSyA_wNuCzia92MAmdLRzmqitRGvCF7wCZPY',
    }),
    CoreModule.forRoot(),
  ],
  bootstrap: [AppComponent],
  providers: [
    { provide: APP_BASE_HREF, useValue: '/' },
  ],
})
export class AppModule {
}
github akveo / nebular / next / assets / examples / datepicker / datepicker.module.ts View on Github external
import { DatepickerFormsComponent } from './datepicker-forms.component';
import { DatepickerShowcaseComponent } from './datepicker-showcase.component';
import { DatepickerValidationComponent } from './datepicker-validation.component';
import { RangepickerShowcaseComponent } from './rangepicker-showcase.component';

@NgModule({
  declarations: [
    DatepickerFormsComponent,
    DatepickerShowcaseComponent,
    DatepickerValidationComponent,
    RangepickerShowcaseComponent,
  ],
  imports: [
    FormsModule,
    ReactiveFormsModule,
    NbDatepickerModule.forRoot(),
    NbInputModule,
    DatepickerRoutingModule,
    NbCardModule,
  ],
})
export class DatepickerModule {}