Month picker shows month disabled if 1st of that month is disabled

What I Wanted to Do

I wrote a customPredictor to disable some of the dates.
The date picker view worked fine and even though some dates were disabled in each month, the month view should show all the months as enabled unless all the dates for the month are disabled.

What Happened Instead

Any month where the 1st of the month is disabled, is shown as disabled in the month picker view even if there are other dates that are enabled.

Reproduction Steps

Have your calendar randomly disable 1st(Assuming 1st is the pageDate) of the month in few of the months and some other days in other months. You will see that all the months with only the 1st enabled are the ones enabled and others are disabled.

Details

The following seems to be the culprit code:
PickerMonth.vue

in isDisabledMonth:

if (typeof this.disabledDates.customPredictor === β€˜function’ && this.disabledDates.customPredictor(date)) {
disabledDates = true
}

As you can see above, the second condition checks for just one date to be disabled and concludes that the whole month should be disabled.

Platform Info

$ npm --versions
{
  npm: '6.9.0',
  ares: '1.15.0',
  brotli: '1.0.7',
  cldr: '35.1',
  http_parser: '2.8.0',
  icu: '64.2',
  llhttp: '1.1.1',
  modules: '72',
  napi: '4',
  nghttp2: '1.38.0',
  node: '12.1.0',
  openssl: '1.1.1b',
  tz: '2019a',
  unicode: '12.1',
  uv: '1.28.0',
  v8: '7.4.288.21-node.16',
  zlib: '1.2.11'
}

$ node -p process.platform
darwin

This looks like a bug in an npm package? (This forum is mainly about npm itself.)

Ohh Sorry. The package website directed me to this link. Weird.
Thanks for pointing out!
Moderator, please delete this.