h2qutc / angular-material-components

Angular Material Library provide extra components for every project
https://h2qutc.github.io/angular-material-components/
MIT License
331 stars 159 forks source link

has no exported member 'MatCalendarCellCssClasses'. #39

Open rduman opened 4 years ago

rduman commented 4 years ago

Does anybody solve this problem?

ERROR in node_modules/@angular-material-components/datetime-picker/lib/calendar.d.ts(10,10): error TS2305: Module '".../node_modules/@angular/material/datepicker"' has no exported member 'MatCalendarCellCssClasses'.


import {
  NgxMatDatetimePickerModule,
  NgxMatNativeDateModule,
  NgxMatTimepickerModule
} from '@angular-material-components/datetime-picker';

import {
  MatAutocompleteModule,
  MatButtonModule,
  MatCardModule,
  MatCheckboxModule,
  MatDatepickerModule,
  MatDialogModule,
  MatExpansionModule,
  MatGridListModule,
  MatIconModule,
  MatInputModule,
  MatListModule,
  MatMenuModule,
  MatNativeDateModule,
  MatPaginatorModule,
  MatProgressBarModule,
  MatProgressSpinnerModule,
  MatSelectModule,
  MatSidenavModule,
  MatSlideToggleModule,
  MatSnackBarModule,
  MatSortModule,
  MatStepperModule,
  MatTableModule,
  MatTabsModule,
  MatToolbarModule,
  MatChipsModule,
  MAT_DATE_LOCALE,
  MAT_DATE_FORMATS,
  DateAdapter
} from '@angular/material';

@NgModule({
  imports: [
    NgxMatDatetimePickerModule,
    NgxMatNativeDateModule,
    NgxMatTimepickerModule,
    MatAutocompleteModule,
    MatInputModule,
    MatButtonModule,
    MatCheckboxModule,
    MatChipsModule,
    MatMenuModule,
    MatToolbarModule,
    MatIconModule,
    MatListModule,
    MatSidenavModule,
    MatGridListModule,
    MatSnackBarModule,
    MatDatepickerModule,
    MatNativeDateModule,
    MatTabsModule,
    MatStepperModule,
    MatProgressBarModule,
    MatProgressSpinnerModule,
    MatDialogModule,
    MatTableModule,
    CdkTableModule,
    MatCardModule,
    MatExpansionModule,
    MatSlideToggleModule,
    MatSelectModule,
    MatPaginatorModule,
    MatSortModule,
    NgxMatSelectSearchModule
  ],
h2qutc commented 4 years ago

Hi, Can you provide your package.json please ? Maybe that's the problem of packages'version.

richieraymond commented 4 years ago

Hi, Can you provide your package.json please ? Maybe that's the problem of packages'version.

Same problem here { "name": "vantage-interface", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies": { "@angular-material-components/datetime-picker": "^2.0.4", "@angular/animations": "^7.2.15", "@angular/cdk": "7.0.2", "@angular/common": "~7.2.0", "@angular/compiler": "~7.2.0", "@angular/core": "^7.2.15", "@angular/forms": "~7.2.0", "@angular/material": "7.0.2", "@angular/platform-browser": "~7.2.0", "@angular/platform-browser-dynamic": "~7.2.0", "@angular/router": "~7.2.0", "@ng-bootstrap/ng-bootstrap": "^4.0.5", "@ng-idle/core": "^8.0.0-beta.4", "@ng-idle/keepalive": "^2.0.0-beta.12", "@types/jest": "^25.1.2", "ajv": "6.4.0", "angular-2-dropdown-multiselect": "^1.9.0", "angular-jwt": "^0.1.11", "angular2-spinner": "^1.0.10", "arrive": "2.4.1", "bootstrap": "^4.3.1", "bootstrap-material-design": "4.1.1", "bootstrap-notify": "3.1.3", "chart.js": "^2.8.0", "chartist": "0.11.0", "classlist.js": "1.1.20150312", "core-js": "^2.5.4", "file-saver": "^2.0.2", "font-awesome": "^4.7.0", "googleapis": "28.1.0", "hammerjs": "2.0.8", "highcharts": "^7.2.0", "highcharts-angular": "^2.4.0", "html2canvas": "^1.0.0-rc.5", "jest": "^25.1.0", "jquery": "^3.4.1", "json2typescript": "^1.0.0", "jspdf": "^1.5.3", "jspdf-autotable": "^3.2.4", "moment": "2.22.1", "ng-multiselect-dropdown": "^0.2.3", "ng2-bs3-modal": "^0.15.0", "ng2-cookies": "^1.0.12", "ngx-captcha": "^7.0.0", "ngx-color-picker": "^8.1.0", "ngx-cookie-service": "^2.2.0", "ngx-export-as": "^1.3.0", "ngx-material-tools": "^0.1.4", "ngx-print": "^1.2.0-beta.3", "ngx-spinner": "^7.0.0", "ngx-toastr": "^11.1.2", "pdfmake": "^0.1.59", "perfect-scrollbar": "1.1.0", "popper.js": "1.14.3", "primeicons": "^1.0.0", "primeng": "^8.1.1", "quill": "^1.3.7", "rxjs": "~6.3.3", "rxjs-compat": "6.3.3", "ts-jest": "^25.2.0", "tslib": "^1.9.0", "zone.js": "~0.8.26" }, "devDependencies": { "@angular-devkit/build-angular": "^0.13.9", "@angular/cli": "~7.3.5", "@angular/compiler-cli": "~7.2.0", "@angular/language-service": "~7.2.0", "@types/bootstrap": "^4.3.2", "@types/file-saver": "^2.0.1", "@types/jasmine": "~2.8.8", "@types/jasminewd2": "~2.0.3", "@types/jquery": "^3.3.31", "@types/node": "~8.9.4", "api-ai-javascript": "^2.0.0-beta.21", "codelyzer": "~4.5.0", "jasmine-core": "~2.99.1", "jasmine-spec-reporter": "~4.2.1", "karma": "~4.0.0", "karma-chrome-launcher": "~2.2.0", "karma-coverage-istanbul-reporter": "~2.0.1", "karma-jasmine": "~1.1.2", "karma-jasmine-html-reporter": "^0.2.2", "protractor": "~5.4.0", "ts-node": "~7.0.0", "tslint": "~5.11.0", "typescript": "~3.2.2" } }