import { ChartModule, SparklineModule } from '@progress/kendo-angular-charts';
import { LOCALE_ID, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
import { FormFieldModule, InputsModule, NumericTextBoxModule } from '@progress/kendo-angular-inputs';
import { LabelModule } from '@progress/kendo-angular-label';
import { DateInputsModule } from '@progress/kendo-angular-dateinputs';
import { ButtonsModule } from '@progress/kendo-angular-buttons';
import { ExcelModule, GridModule } from '@progress/kendo-angular-grid';
import { ScrollViewModule } from '@progress/kendo-angular-scrollview';
import { IconsModule, SVGIconModule } from '@progress/kendo-angular-icons';
import { DialogsModule } from '@progress/kendo-angular-dialog';
import { ListViewModule } from '@progress/kendo-angular-listview';
import { LayoutModule } from '@progress/kendo-angular-layout';
import { NavigationModule } from '@progress/kendo-angular-navigation';
import { IndicatorsModule } from '@progress/kendo-angular-indicators';
import { MenusModule } from '@progress/kendo-angular-menu';
import { PopupModule } from '@progress/kendo-angular-popup';
import { TreeViewModule } from '@progress/kendo-angular-treeview';
import { TooltipsModule } from '@progress/kendo-angular-tooltip';
import { IntlModule } from '@progress/kendo-angular-intl';
// Load all required data for the bg locale
import '@progress/kendo-angular-intl/locales/bg/all';
// Load the required calendar data for the de locale
import '@progress/kendo-angular-intl/locales/pt/calendar';
import { NotificationModule } from '@progress/kendo-angular-notification';
import { BarcodeModule, QRCodeModule } from '@progress/kendo-angular-barcodes';
import {  ArcGaugeModule, CircularGaugeModule, LinearGaugeModule, RadialGaugeModule, } from '@progress/kendo-angular-gauges';

@NgModule({
  declarations: [],
  imports: [
    CommonModule,
    DropDownsModule,
    InputsModule,
    LabelModule,
    DateInputsModule,
    ButtonsModule,
    GridModule,
    ScrollViewModule,
    IconsModule,
    SVGIconModule,
    DialogsModule,
    ListViewModule,
    LayoutModule,
    NavigationModule,
    IndicatorsModule,
    MenusModule,
    PopupModule,
    TreeViewModule,
    TooltipsModule,
    IntlModule,
    NotificationModule,
    FormFieldModule,
    NumericTextBoxModule,
    ExcelModule,
    ChartModule,
    SparklineModule,
    BarcodeModule,
    QRCodeModule,
    ArcGaugeModule,
    CircularGaugeModule,
    LinearGaugeModule,
    RadialGaugeModule,

  ],
  exports: [DropDownsModule,
    InputsModule,
    LabelModule,
    DateInputsModule,
    ButtonsModule,
    GridModule,
    ScrollViewModule,
    IconsModule,
    SVGIconModule,
    DialogsModule,
    ListViewModule,
    LayoutModule,
    NavigationModule,
    IndicatorsModule,
    MenusModule,
    PopupModule,
    TreeViewModule,
    TooltipsModule,
    ExcelModule,
    ChartModule,
    SparklineModule,
    BarcodeModule,
    QRCodeModule,
    ArcGaugeModule,
    CircularGaugeModule,
    LinearGaugeModule,
    RadialGaugeModule,
  ],
  providers: [
    {
      // Set default locale to bg-BG
      provide: LOCALE_ID,
      useValue: 'pt-BR',
    },
  ],
})

export class KendoModule { }
