ngx-bootstrap 8.0.0-RC.2 → 8.0.0-RC.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/accordion/package.json +5 -3
  2. package/alert/package.json +4 -2
  3. package/buttons/package.json +3 -1
  4. package/carousel/package.json +4 -2
  5. package/chronos/esm2020/i18n/es-pr.mjs +74 -0
  6. package/chronos/esm2020/public_api.mjs +2 -1
  7. package/chronos/fesm2015/ngx-bootstrap-chronos.mjs +90 -17
  8. package/chronos/fesm2015/ngx-bootstrap-chronos.mjs.map +1 -1
  9. package/chronos/fesm2020/ngx-bootstrap-chronos.mjs +90 -17
  10. package/chronos/fesm2020/ngx-bootstrap-chronos.mjs.map +1 -1
  11. package/chronos/i18n/es-pr.d.ts +2 -0
  12. package/chronos/package.json +3 -1
  13. package/chronos/public_api.d.ts +1 -0
  14. package/collapse/package.json +3 -1
  15. package/component-loader/package.json +5 -3
  16. package/datepicker/esm2020/public_api.mjs +1 -9
  17. package/datepicker/esm2020/reducer/bs-datepicker.reducer.mjs +2 -2
  18. package/datepicker/fesm2015/ngx-bootstrap-datepicker.mjs +3 -1108
  19. package/datepicker/fesm2015/ngx-bootstrap-datepicker.mjs.map +1 -1
  20. package/datepicker/fesm2020/ngx-bootstrap-datepicker.mjs +3 -1107
  21. package/datepicker/fesm2020/ngx-bootstrap-datepicker.mjs.map +1 -1
  22. package/datepicker/package.json +10 -8
  23. package/datepicker/public_api.d.ts +0 -8
  24. package/dropdown/package.json +6 -4
  25. package/focus-trap/package.json +3 -1
  26. package/locale/esm2020/public_api.mjs +2 -1
  27. package/locale/fesm2015/ngx-bootstrap-locale.mjs +1 -1
  28. package/locale/fesm2020/ngx-bootstrap-locale.mjs +1 -1
  29. package/locale/package.json +4 -2
  30. package/locale/public_api.d.ts +1 -0
  31. package/mini-ngrx/package.json +3 -1
  32. package/modal/package.json +7 -5
  33. package/package.json +5 -5
  34. package/pagination/package.json +3 -1
  35. package/popover/esm2020/popover-container.component.mjs +3 -3
  36. package/popover/fesm2015/ngx-bootstrap-popover.mjs +2 -2
  37. package/popover/fesm2015/ngx-bootstrap-popover.mjs.map +1 -1
  38. package/popover/fesm2020/ngx-bootstrap-popover.mjs +2 -2
  39. package/popover/fesm2020/ngx-bootstrap-popover.mjs.map +1 -1
  40. package/popover/package.json +6 -4
  41. package/positioning/esm2020/modifiers/preventOverflow.mjs +6 -7
  42. package/positioning/esm2020/utils/computeAutoPlacement.mjs +15 -19
  43. package/positioning/fesm2015/ngx-bootstrap-positioning.mjs +21 -26
  44. package/positioning/fesm2015/ngx-bootstrap-positioning.mjs.map +1 -1
  45. package/positioning/fesm2020/ngx-bootstrap-positioning.mjs +19 -24
  46. package/positioning/fesm2020/ngx-bootstrap-positioning.mjs.map +1 -1
  47. package/positioning/package.json +4 -2
  48. package/progressbar/package.json +4 -2
  49. package/rating/package.json +3 -1
  50. package/schematics/package.json +3 -1
  51. package/schematics/utils/current_dependency_versions.json +1 -1
  52. package/sortable/package.json +3 -1
  53. package/tabs/package.json +3 -1
  54. package/timepicker/package.json +4 -2
  55. package/tooltip/package.json +6 -4
  56. package/typeahead/package.json +6 -4
  57. package/utils/package.json +3 -1
  58. package/datepicker/date-formatter.d.ts +0 -3
  59. package/datepicker/datepicker-inner.component.d.ts +0 -80
  60. package/datepicker/datepicker.component.d.ts +0 -81
  61. package/datepicker/datepicker.config.d.ts +0 -22
  62. package/datepicker/datepicker.module.d.ts +0 -15
  63. package/datepicker/daypicker.component.d.ts +0 -20
  64. package/datepicker/esm2020/date-formatter.mjs +0 -7
  65. package/datepicker/esm2020/datepicker-inner.component.mjs +0 -325
  66. package/datepicker/esm2020/datepicker.component.mjs +0 -204
  67. package/datepicker/esm2020/datepicker.config.mjs +0 -32
  68. package/datepicker/esm2020/datepicker.module.mjs +0 -48
  69. package/datepicker/esm2020/daypicker.component.mjs +0 -255
  70. package/datepicker/esm2020/monthpicker.component.mjs +0 -131
  71. package/datepicker/esm2020/yearpicker.component.mjs +0 -146
  72. package/datepicker/monthpicker.component.d.ts +0 -14
  73. package/datepicker/yearpicker.component.d.ts +0 -14
@@ -3672,7 +3672,7 @@ const bgLocale = {
3672
3672
  //! moment.js locale configuration
3673
3673
  //! locale : Catalan [ca]
3674
3674
  //! author : Xavier Arbat : https://github.com/XavisaurusRex
3675
- let monthsShortDot$4 = 'gen._feb._mar._abr._mai._jun._jul._ago._set._oct._nov._des.'.split('_'), monthsShort$6 = 'ene_feb_mar_abr_mai_jun_jul_ago_set_oct_nov_des'.split('_');
3675
+ let monthsShortDot$5 = 'gen._feb._mar._abr._mai._jun._jul._ago._set._oct._nov._des.'.split('_'), monthsShort$7 = 'ene_feb_mar_abr_mai_jun_jul_ago_set_oct_nov_des'.split('_');
3676
3676
  let monthsParse$6 = [/^gen/i, /^feb/i, /^mar/i, /^abr/i, /^mai/i, /^jun/i, /^jul/i, /^ago/i, /^set/i, /^oct/i, /^nov/i, /^des/i];
3677
3677
  let monthsRegex$5 = /^(gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre|gen\.?|feb\.?|mar\.?|abr\.?|mai\.?|jun\.?|jul\.?|ago\.?|set\.?|oct\.?|nov\.?|des\.?)/i;
3678
3678
  const caLocale = {
@@ -3680,12 +3680,12 @@ const caLocale = {
3680
3680
  months: 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split('_'),
3681
3681
  monthsShort(date, format, isUTC) {
3682
3682
  if (!date) {
3683
- return monthsShortDot$4;
3683
+ return monthsShortDot$5;
3684
3684
  }
3685
3685
  if (/-MMM-/.test(format)) {
3686
- return monthsShort$6[getMonth(date, isUTC)];
3686
+ return monthsShort$7[getMonth(date, isUTC)];
3687
3687
  }
3688
- return monthsShortDot$4[getMonth(date, isUTC)];
3688
+ return monthsShortDot$5[getMonth(date, isUTC)];
3689
3689
  },
3690
3690
  monthsRegex: monthsRegex$5,
3691
3691
  monthsShortRegex: monthsRegex$5,
@@ -3759,7 +3759,7 @@ const caLocale = {
3759
3759
  //! locale : Czech [cs]
3760
3760
  //! author : petrbela : https://github.com/petrbela
3761
3761
  const months$1 = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split('_');
3762
- const monthsShort$5 = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_');
3762
+ const monthsShort$6 = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_');
3763
3763
  function plural$4(num) {
3764
3764
  return (num > 1) && (num < 5) && (~~(num / 10) !== 1);
3765
3765
  }
@@ -3831,7 +3831,7 @@ function translate$6(num, withoutSuffix, key, isFuture) {
3831
3831
  const csLocale = {
3832
3832
  abbr: 'cs',
3833
3833
  months: months$1,
3834
- monthsShort: monthsShort$5,
3834
+ monthsShort: monthsShort$6,
3835
3835
  monthsParse: (function (months, monthsShort) {
3836
3836
  let i, _monthsParse = [];
3837
3837
  for (i = 0; i < 12; i++) {
@@ -3839,14 +3839,14 @@ const csLocale = {
3839
3839
  _monthsParse[i] = new RegExp('^' + months[i] + '$|^' + monthsShort[i] + '$', 'i');
3840
3840
  }
3841
3841
  return _monthsParse;
3842
- }(months$1, monthsShort$5)),
3842
+ }(months$1, monthsShort$6)),
3843
3843
  shortMonthsParse: (function (monthsShort) {
3844
3844
  let i, _shortMonthsParse = [];
3845
3845
  for (i = 0; i < 12; i++) {
3846
3846
  _shortMonthsParse[i] = new RegExp('^' + monthsShort[i] + '$', 'i');
3847
3847
  }
3848
3848
  return _shortMonthsParse;
3849
- }(monthsShort$5)),
3849
+ }(monthsShort$6)),
3850
3850
  longMonthsParse: (function (months) {
3851
3851
  let i, _longMonthsParse = [];
3852
3852
  for (i = 0; i < 12; i++) {
@@ -4104,7 +4104,7 @@ const enGbLocale = {
4104
4104
 
4105
4105
  //! moment.js locale configuration
4106
4106
  //! locale : Spanish (Dominican Republic) [es-do]
4107
- let monthsShortDot$3 = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'), monthsShort$4 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
4107
+ let monthsShortDot$4 = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'), monthsShort$5 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
4108
4108
  let monthsParse$5 = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i];
4109
4109
  let monthsRegex$4 = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
4110
4110
  const esDoLocale = {
@@ -4112,13 +4112,13 @@ const esDoLocale = {
4112
4112
  months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
4113
4113
  monthsShort(date, format, isUTC) {
4114
4114
  if (!date) {
4115
- return monthsShortDot$3;
4115
+ return monthsShortDot$4;
4116
4116
  }
4117
4117
  else if (/-MMM-/.test(format)) {
4118
- return monthsShort$4[getMonth(date, isUTC)];
4118
+ return monthsShort$5[getMonth(date, isUTC)];
4119
4119
  }
4120
4120
  else {
4121
- return monthsShortDot$3[getMonth(date, isUTC)];
4121
+ return monthsShortDot$4[getMonth(date, isUTC)];
4122
4122
  }
4123
4123
  },
4124
4124
  monthsRegex: monthsRegex$4,
@@ -4185,7 +4185,7 @@ const esDoLocale = {
4185
4185
  //! moment.js locale configuration
4186
4186
  //! locale : Spanish [es]
4187
4187
  //! author : Julio Napurí : https://github.com/julionc
4188
- let monthsShortDot$2 = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'), monthsShort$3 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
4188
+ let monthsShortDot$3 = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'), monthsShort$4 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
4189
4189
  let monthsParse$4 = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i];
4190
4190
  let monthsRegex$3 = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
4191
4191
  const esLocale = {
@@ -4193,12 +4193,12 @@ const esLocale = {
4193
4193
  months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
4194
4194
  monthsShort(date, format, isUTC) {
4195
4195
  if (!date) {
4196
- return monthsShortDot$2;
4196
+ return monthsShortDot$3;
4197
4197
  }
4198
4198
  if (/-MMM-/.test(format)) {
4199
- return monthsShort$3[getMonth(date, isUTC)];
4199
+ return monthsShort$4[getMonth(date, isUTC)];
4200
4200
  }
4201
- return monthsShortDot$2[getMonth(date, isUTC)];
4201
+ return monthsShortDot$3[getMonth(date, isUTC)];
4202
4202
  },
4203
4203
  monthsRegex: monthsRegex$3,
4204
4204
  monthsShortRegex: monthsRegex$3,
@@ -4261,6 +4261,79 @@ const esLocale = {
4261
4261
  }
4262
4262
  };
4263
4263
 
4264
+ //! moment.js locale configuration
4265
+ //! locale : Spanish (Puerto Rico) [es-pr]
4266
+ let monthsShortDot$2 = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_');
4267
+ let monthsShort$3 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
4268
+ const esPrLocale = {
4269
+ abbr: 'es-pr',
4270
+ months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
4271
+ monthsShort(date, format, isUTC) {
4272
+ if (!date) {
4273
+ return monthsShortDot$2;
4274
+ }
4275
+ else if (/-MMM-/.test(format)) {
4276
+ return monthsShort$3[getMonth(date, isUTC)];
4277
+ }
4278
+ else {
4279
+ return monthsShortDot$2[getMonth(date, isUTC)];
4280
+ }
4281
+ },
4282
+ monthsParseExact: true,
4283
+ weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
4284
+ weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
4285
+ weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
4286
+ weekdaysParseExact: true,
4287
+ longDateFormat: {
4288
+ LT: 'h:mm A',
4289
+ LTS: 'h:mm:ss A',
4290
+ L: 'MM/DD/YYYY',
4291
+ LL: 'D [de] MMMM [de] YYYY',
4292
+ LLL: 'D [de] MMMM [de] YYYY h:mm A',
4293
+ LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A'
4294
+ },
4295
+ calendar: {
4296
+ sameDay(date) {
4297
+ return '[hoy a la' + ((getHours(date) !== 1) ? 's' : '') + '] LT';
4298
+ },
4299
+ nextDay(date) {
4300
+ return '[mañana a la' + ((getHours(date) !== 1) ? 's' : '') + '] LT';
4301
+ },
4302
+ nextWeek(date) {
4303
+ return 'dddd [a la' + ((getHours(date) !== 1) ? 's' : '') + '] LT';
4304
+ },
4305
+ lastDay(date) {
4306
+ return '[ayer a la' + ((getHours(date) !== 1) ? 's' : '') + '] LT';
4307
+ },
4308
+ lastWeek(date) {
4309
+ return '[el] dddd [pasado a la' + ((getHours(date) !== 1) ? 's' : '') + '] LT';
4310
+ },
4311
+ sameElse: 'L'
4312
+ },
4313
+ relativeTime: {
4314
+ future: 'en %s',
4315
+ past: 'hace %s',
4316
+ s: 'unos segundos',
4317
+ ss: '%d segundos',
4318
+ m: 'un minuto',
4319
+ mm: '%d minutos',
4320
+ h: 'una hora',
4321
+ hh: '%d horas',
4322
+ d: 'un día',
4323
+ dd: '%d días',
4324
+ M: 'un mes',
4325
+ MM: '%d meses',
4326
+ y: 'un año',
4327
+ yy: '%d años'
4328
+ },
4329
+ dayOfMonthOrdinalParse: /\d{1,2}º/,
4330
+ ordinal: '%dº',
4331
+ week: {
4332
+ dow: 0,
4333
+ doy: 6 // The week that contains Jan 1st is the first week of the year.
4334
+ }
4335
+ };
4336
+
4264
4337
  //! moment.js locale configuration
4265
4338
  //! locale : Spanish (United States) [es-us]
4266
4339
  //! author : bustta : https://github.com/bustta
@@ -7307,5 +7380,5 @@ const zhCnLocale = {
7307
7380
  * Generated bundle index. Do not edit.
7308
7381
  */
7309
7382
 
7310
- export { add, arLocale, bgLocale, caLocale, csLocale, daLocale, deLocale, defineLocale, enGbLocale, endOf, esDoLocale, esLocale, esUsLocale, etLocale, fiLocale, formatDate, frLocale, getDay, getFirstDayOfMonth, getFullYear, getLocale, getMonth, getSetGlobalLocale, glLocale, heLocale, hiLocale, hrLocale, huLocale, idLocale, isAfter, isArray, isBefore, isDate, isDateValid, isDisabledDay, isFirstDayOfWeek, isSame, isSameDay$1 as isSameDay, isSameMonth, isSameYear, itLocale, jaLocale, kaLocale, kkLocale, koLocale, listLocales, ltLocale, lvLocale, mnLocale, nbLocale, nlBeLocale, nlLocale, parseDate, plLocale, ptBrLocale, roLocale, ruLocale, setFullDate, shiftDate, skLocale, slLocale, sqLocale, startOf, subtract, svLocale, thBeLocale, thLocale, trLocale, ukLocale, updateLocale, utcAsLocal, viLocale, zhCnLocale };
7383
+ export { add, arLocale, bgLocale, caLocale, csLocale, daLocale, deLocale, defineLocale, enGbLocale, endOf, esDoLocale, esLocale, esPrLocale, esUsLocale, etLocale, fiLocale, formatDate, frLocale, getDay, getFirstDayOfMonth, getFullYear, getLocale, getMonth, getSetGlobalLocale, glLocale, heLocale, hiLocale, hrLocale, huLocale, idLocale, isAfter, isArray, isBefore, isDate, isDateValid, isDisabledDay, isFirstDayOfWeek, isSame, isSameDay$1 as isSameDay, isSameMonth, isSameYear, itLocale, jaLocale, kaLocale, kkLocale, koLocale, listLocales, ltLocale, lvLocale, mnLocale, nbLocale, nlBeLocale, nlLocale, parseDate, plLocale, ptBrLocale, roLocale, ruLocale, setFullDate, shiftDate, skLocale, slLocale, sqLocale, startOf, subtract, svLocale, thBeLocale, thLocale, trLocale, ukLocale, updateLocale, utcAsLocal, viLocale, zhCnLocale };
7311
7384
  //# sourceMappingURL=ngx-bootstrap-chronos.mjs.map