ngx-bootstrap 18.0.2 → 18.1.1

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 (198) hide show
  1. package/README.md +1 -1
  2. package/accordion/accordion-group.component.d.ts +1 -1
  3. package/accordion/accordion.component.d.ts +1 -1
  4. package/accordion/accordion.module.d.ts +1 -3
  5. package/accordion/esm2022/accordion-group.component.mjs +8 -7
  6. package/accordion/esm2022/accordion.component.mjs +4 -3
  7. package/accordion/esm2022/accordion.module.mjs +9 -8
  8. package/accordion/fesm2022/ngx-bootstrap-accordion.mjs +15 -12
  9. package/accordion/fesm2022/ngx-bootstrap-accordion.mjs.map +1 -1
  10. package/alert/alert.component.d.ts +1 -1
  11. package/alert/alert.module.d.ts +1 -2
  12. package/alert/esm2022/alert.component.mjs +4 -4
  13. package/alert/esm2022/alert.module.mjs +9 -7
  14. package/alert/fesm2022/ngx-bootstrap-alert.mjs +11 -9
  15. package/alert/fesm2022/ngx-bootstrap-alert.mjs.map +1 -1
  16. package/buttons/button-checkbox.directive.d.ts +1 -1
  17. package/buttons/button-radio-group.directive.d.ts +1 -1
  18. package/buttons/button-radio.directive.d.ts +1 -1
  19. package/buttons/buttons.module.d.ts +1 -1
  20. package/buttons/esm2022/button-checkbox.directive.mjs +4 -3
  21. package/buttons/esm2022/button-radio-group.directive.mjs +4 -3
  22. package/buttons/esm2022/button-radio.directive.mjs +4 -3
  23. package/buttons/esm2022/buttons.module.mjs +8 -4
  24. package/buttons/fesm2022/ngx-bootstrap-buttons.mjs +16 -9
  25. package/buttons/fesm2022/ngx-bootstrap-buttons.mjs.map +1 -1
  26. package/carousel/carousel.component.d.ts +1 -1
  27. package/carousel/carousel.module.d.ts +1 -2
  28. package/carousel/esm2022/carousel.component.mjs +4 -5
  29. package/carousel/esm2022/carousel.module.mjs +9 -7
  30. package/carousel/esm2022/slide.component.mjs +3 -3
  31. package/carousel/fesm2022/ngx-bootstrap-carousel.mjs +13 -11
  32. package/carousel/fesm2022/ngx-bootstrap-carousel.mjs.map +1 -1
  33. package/carousel/slide.component.d.ts +1 -1
  34. package/chronos/esm2022/i18n/fa.mjs +130 -0
  35. package/chronos/esm2022/i18n/fr-ca.mjs +69 -0
  36. package/chronos/esm2022/public_api.mjs +3 -1
  37. package/chronos/fesm2022/ngx-bootstrap-chronos.mjs +234 -35
  38. package/chronos/fesm2022/ngx-bootstrap-chronos.mjs.map +1 -1
  39. package/chronos/i18n/fa.d.ts +2 -0
  40. package/chronos/i18n/fr-ca.d.ts +2 -0
  41. package/chronos/public_api.d.ts +2 -0
  42. package/collapse/collapse.directive.d.ts +1 -1
  43. package/collapse/collapse.module.d.ts +1 -1
  44. package/collapse/esm2022/collapse.directive.mjs +4 -3
  45. package/collapse/esm2022/collapse.module.mjs +8 -4
  46. package/collapse/fesm2022/ngx-bootstrap-collapse.mjs +10 -5
  47. package/collapse/fesm2022/ngx-bootstrap-collapse.mjs.map +1 -1
  48. package/datepicker/bs-datepicker-inline.component.d.ts +1 -1
  49. package/datepicker/bs-datepicker-input.directive.d.ts +1 -1
  50. package/datepicker/bs-datepicker.component.d.ts +1 -1
  51. package/datepicker/bs-datepicker.module.d.ts +23 -23
  52. package/datepicker/bs-daterangepicker-inline.component.d.ts +1 -1
  53. package/datepicker/bs-daterangepicker-input.directive.d.ts +1 -1
  54. package/datepicker/bs-daterangepicker.component.d.ts +1 -1
  55. package/datepicker/esm2022/bs-datepicker-inline.component.mjs +5 -3
  56. package/datepicker/esm2022/bs-datepicker-input.directive.mjs +12 -3
  57. package/datepicker/esm2022/bs-datepicker.component.mjs +5 -3
  58. package/datepicker/esm2022/bs-datepicker.module.mjs +14 -25
  59. package/datepicker/esm2022/bs-daterangepicker-inline.component.mjs +9 -3
  60. package/datepicker/esm2022/bs-daterangepicker-input.directive.mjs +12 -3
  61. package/datepicker/esm2022/bs-daterangepicker.component.mjs +9 -3
  62. package/datepicker/esm2022/themes/bs/bs-calendar-layout.component.mjs +9 -7
  63. package/datepicker/esm2022/themes/bs/bs-current-date-view.component.mjs +4 -3
  64. package/datepicker/esm2022/themes/bs/bs-custom-dates-view.component.mjs +7 -5
  65. package/datepicker/esm2022/themes/bs/bs-datepicker-container.component.mjs +13 -10
  66. package/datepicker/esm2022/themes/bs/bs-datepicker-day-decorator.directive.mjs +4 -3
  67. package/datepicker/esm2022/themes/bs/bs-datepicker-inline-container.component.mjs +11 -10
  68. package/datepicker/esm2022/themes/bs/bs-datepicker-navigation-view.component.mjs +7 -5
  69. package/datepicker/esm2022/themes/bs/bs-daterangepicker-container.component.mjs +23 -10
  70. package/datepicker/esm2022/themes/bs/bs-daterangepicker-inline-container.component.mjs +11 -10
  71. package/datepicker/esm2022/themes/bs/bs-days-calendar-view.component.mjs +12 -9
  72. package/datepicker/esm2022/themes/bs/bs-months-calendar-view.component.mjs +9 -7
  73. package/datepicker/esm2022/themes/bs/bs-timepicker-view.component.mjs +4 -3
  74. package/datepicker/esm2022/themes/bs/bs-years-calendar-view.component.mjs +9 -7
  75. package/datepicker/fesm2022/ngx-bootstrap-datepicker.mjs +436 -379
  76. package/datepicker/fesm2022/ngx-bootstrap-datepicker.mjs.map +1 -1
  77. package/datepicker/themes/bs/bs-calendar-layout.component.d.ts +1 -1
  78. package/datepicker/themes/bs/bs-current-date-view.component.d.ts +1 -1
  79. package/datepicker/themes/bs/bs-custom-dates-view.component.d.ts +1 -1
  80. package/datepicker/themes/bs/bs-datepicker-container.component.d.ts +1 -1
  81. package/datepicker/themes/bs/bs-datepicker-day-decorator.directive.d.ts +1 -1
  82. package/datepicker/themes/bs/bs-datepicker-inline-container.component.d.ts +1 -1
  83. package/datepicker/themes/bs/bs-datepicker-navigation-view.component.d.ts +1 -1
  84. package/datepicker/themes/bs/bs-daterangepicker-container.component.d.ts +1 -1
  85. package/datepicker/themes/bs/bs-daterangepicker-inline-container.component.d.ts +1 -1
  86. package/datepicker/themes/bs/bs-days-calendar-view.component.d.ts +1 -1
  87. package/datepicker/themes/bs/bs-months-calendar-view.component.d.ts +1 -1
  88. package/datepicker/themes/bs/bs-timepicker-view.component.d.ts +1 -1
  89. package/datepicker/themes/bs/bs-years-calendar-view.component.d.ts +1 -1
  90. package/dropdown/bs-dropdown-container.component.d.ts +1 -1
  91. package/dropdown/bs-dropdown-menu.directive.d.ts +1 -1
  92. package/dropdown/bs-dropdown-toggle.directive.d.ts +1 -1
  93. package/dropdown/bs-dropdown.directive.d.ts +1 -1
  94. package/dropdown/bs-dropdown.module.d.ts +5 -6
  95. package/dropdown/esm2022/bs-dropdown-container.component.mjs +8 -5
  96. package/dropdown/esm2022/bs-dropdown-menu.directive.mjs +4 -3
  97. package/dropdown/esm2022/bs-dropdown-toggle.directive.mjs +4 -3
  98. package/dropdown/esm2022/bs-dropdown.directive.mjs +4 -3
  99. package/dropdown/esm2022/bs-dropdown.module.mjs +11 -19
  100. package/dropdown/fesm2022/ngx-bootstrap-dropdown.mjs +26 -26
  101. package/dropdown/fesm2022/ngx-bootstrap-dropdown.mjs.map +1 -1
  102. package/focus-trap/esm2022/focus-trap.mjs +15 -3
  103. package/focus-trap/esm2022/focus-trap.module.mjs +5 -12
  104. package/focus-trap/fesm2022/ngx-bootstrap-focus-trap.mjs +63 -57
  105. package/focus-trap/fesm2022/ngx-bootstrap-focus-trap.mjs.map +1 -1
  106. package/focus-trap/focus-trap.d.ts +1 -1
  107. package/focus-trap/focus-trap.module.d.ts +3 -3
  108. package/locale/esm2022/public_api.mjs +2 -1
  109. package/locale/fesm2022/ngx-bootstrap-locale.mjs +1 -1
  110. package/locale/public_api.d.ts +1 -0
  111. package/modal/bs-modal.service.d.ts +1 -0
  112. package/modal/esm2022/bs-modal.service.mjs +6 -1
  113. package/modal/esm2022/modal-backdrop.component.mjs +4 -3
  114. package/modal/esm2022/modal-container.component.mjs +9 -5
  115. package/modal/esm2022/modal.directive.mjs +4 -3
  116. package/modal/esm2022/modal.module.mjs +10 -8
  117. package/modal/fesm2022/ngx-bootstrap-modal.mjs +323 -312
  118. package/modal/fesm2022/ngx-bootstrap-modal.mjs.map +1 -1
  119. package/modal/modal-backdrop.component.d.ts +1 -1
  120. package/modal/modal-container.component.d.ts +1 -1
  121. package/modal/modal.directive.d.ts +1 -1
  122. package/modal/modal.module.d.ts +5 -7
  123. package/package.json +1 -1
  124. package/pagination/esm2022/pager.component.mjs +4 -4
  125. package/pagination/esm2022/pagination.component.mjs +4 -4
  126. package/pagination/esm2022/pagination.module.mjs +8 -5
  127. package/pagination/fesm2022/ngx-bootstrap-pagination.mjs +12 -10
  128. package/pagination/fesm2022/ngx-bootstrap-pagination.mjs.map +1 -1
  129. package/pagination/pager.component.d.ts +1 -1
  130. package/pagination/pagination.component.d.ts +1 -1
  131. package/pagination/pagination.module.d.ts +4 -4
  132. package/popover/esm2022/popover-container.component.mjs +4 -4
  133. package/popover/esm2022/popover.directive.mjs +8 -3
  134. package/popover/esm2022/popover.module.mjs +5 -7
  135. package/popover/fesm2022/ngx-bootstrap-popover.mjs +17 -13
  136. package/popover/fesm2022/ngx-bootstrap-popover.mjs.map +1 -1
  137. package/popover/popover-container.component.d.ts +1 -1
  138. package/popover/popover.directive.d.ts +1 -1
  139. package/popover/popover.module.d.ts +4 -4
  140. package/progressbar/bar.component.d.ts +1 -1
  141. package/progressbar/esm2022/bar.component.mjs +3 -3
  142. package/progressbar/esm2022/progressbar.component.mjs +5 -5
  143. package/progressbar/esm2022/progressbar.module.mjs +9 -7
  144. package/progressbar/fesm2022/ngx-bootstrap-progressbar.mjs +13 -11
  145. package/progressbar/fesm2022/ngx-bootstrap-progressbar.mjs.map +1 -1
  146. package/progressbar/progressbar.component.d.ts +1 -1
  147. package/progressbar/progressbar.module.d.ts +1 -2
  148. package/rating/esm2022/rating.component.mjs +4 -4
  149. package/rating/esm2022/rating.module.mjs +5 -6
  150. package/rating/fesm2022/ngx-bootstrap-rating.mjs +7 -8
  151. package/rating/fesm2022/ngx-bootstrap-rating.mjs.map +1 -1
  152. package/rating/rating.component.d.ts +1 -1
  153. package/rating/rating.module.d.ts +1 -2
  154. package/schematics/ng-add/index.js +5 -0
  155. package/schematics/ng-add/index.js.map +1 -1
  156. package/schematics/utils/current_dependency_versions.json +1 -1
  157. package/schematics/utils/index.js +4 -4
  158. package/schematics/utils/index.js.map +1 -1
  159. package/sortable/esm2022/sortable.component.mjs +11 -7
  160. package/sortable/esm2022/sortable.module.mjs +9 -8
  161. package/sortable/fesm2022/ngx-bootstrap-sortable.mjs +18 -12
  162. package/sortable/fesm2022/ngx-bootstrap-sortable.mjs.map +1 -1
  163. package/sortable/sortable.component.d.ts +1 -1
  164. package/sortable/sortable.module.d.ts +1 -2
  165. package/tabs/esm2022/ng-transclude.directive.mjs +4 -3
  166. package/tabs/esm2022/tab-heading.directive.mjs +6 -3
  167. package/tabs/esm2022/tab.directive.mjs +6 -3
  168. package/tabs/esm2022/tabs.module.mjs +6 -8
  169. package/tabs/esm2022/tabset.component.mjs +5 -5
  170. package/tabs/fesm2022/ngx-bootstrap-tabs.mjs +21 -17
  171. package/tabs/fesm2022/ngx-bootstrap-tabs.mjs.map +1 -1
  172. package/tabs/ng-transclude.directive.d.ts +1 -1
  173. package/tabs/tab-heading.directive.d.ts +1 -1
  174. package/tabs/tab.directive.d.ts +1 -1
  175. package/tabs/tabs.module.d.ts +6 -6
  176. package/tabs/tabset.component.d.ts +1 -1
  177. package/timepicker/esm2022/timepicker.component.mjs +4 -4
  178. package/timepicker/esm2022/timepicker.module.mjs +6 -10
  179. package/timepicker/fesm2022/ngx-bootstrap-timepicker.mjs +8 -10
  180. package/timepicker/fesm2022/ngx-bootstrap-timepicker.mjs.map +1 -1
  181. package/timepicker/timepicker.component.d.ts +1 -1
  182. package/timepicker/timepicker.module.d.ts +1 -2
  183. package/tooltip/esm2022/tooltip-container.component.mjs +3 -3
  184. package/tooltip/esm2022/tooltip.directive.mjs +9 -3
  185. package/tooltip/esm2022/tooltip.module.mjs +5 -7
  186. package/tooltip/fesm2022/ngx-bootstrap-tooltip.mjs +14 -8
  187. package/tooltip/fesm2022/ngx-bootstrap-tooltip.mjs.map +1 -1
  188. package/tooltip/tooltip-container.component.d.ts +1 -1
  189. package/tooltip/tooltip.directive.d.ts +1 -1
  190. package/tooltip/tooltip.module.d.ts +4 -4
  191. package/typeahead/esm2022/typeahead-container.component.mjs +4 -4
  192. package/typeahead/esm2022/typeahead.directive.mjs +6 -3
  193. package/typeahead/esm2022/typeahead.module.mjs +5 -7
  194. package/typeahead/fesm2022/ngx-bootstrap-typeahead.mjs +11 -10
  195. package/typeahead/fesm2022/ngx-bootstrap-typeahead.mjs.map +1 -1
  196. package/typeahead/typeahead-container.component.d.ts +1 -1
  197. package/typeahead/typeahead.directive.d.ts +1 -1
  198. package/typeahead/typeahead.module.d.ts +4 -4
@@ -3456,7 +3456,7 @@ function setISODayOfWeek(date, input, opts = {}) {
3456
3456
  //! author : Abdel Said: https://github.com/abdelsaid
3457
3457
  //! author : Ahmed Elkhatib
3458
3458
  //! author : forabi https://github.com/forabi
3459
- const symbolMap$1 = {
3459
+ const symbolMap$2 = {
3460
3460
  1: '١',
3461
3461
  2: '٢',
3462
3462
  3: '٣',
@@ -3468,7 +3468,7 @@ const symbolMap$1 = {
3468
3468
  9: '٩',
3469
3469
  0: '٠'
3470
3470
  };
3471
- const numberMap$1 = {
3471
+ const numberMap$2 = {
3472
3472
  '١': '1',
3473
3473
  '٢': '2',
3474
3474
  '٣': '3',
@@ -3480,10 +3480,10 @@ const numberMap$1 = {
3480
3480
  '٩': '9',
3481
3481
  '٠': '0'
3482
3482
  };
3483
- const pluralForm = function (num) {
3483
+ const pluralForm$1 = function (num) {
3484
3484
  return num === 0 ? 0 : num === 1 ? 1 : num === 2 ? 2 : num % 100 >= 3 && num % 100 <= 10 ? 3 : num % 100 >= 11 ? 4 : 5;
3485
3485
  };
3486
- const plurals = {
3486
+ const plurals$1 = {
3487
3487
  s: ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'],
3488
3488
  m: ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'],
3489
3489
  h: ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'],
@@ -3491,17 +3491,17 @@ const plurals = {
3491
3491
  M: ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'],
3492
3492
  y: ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام']
3493
3493
  };
3494
- const pluralize = function (u) {
3494
+ const pluralize$1 = function (u) {
3495
3495
  return function (num, withoutSuffix) {
3496
- const f = pluralForm(num);
3497
- let str = plurals[u][pluralForm(num)];
3496
+ const f = pluralForm$1(num);
3497
+ let str = plurals$1[u][pluralForm$1(num)];
3498
3498
  if (f === 2) {
3499
3499
  str = str[withoutSuffix ? 0 : 1];
3500
3500
  }
3501
3501
  return str.replace(/%d/i, num.toString());
3502
3502
  };
3503
3503
  };
3504
- const months$2 = [
3504
+ const months$3 = [
3505
3505
  'يناير',
3506
3506
  'فبراير',
3507
3507
  'مارس',
@@ -3517,8 +3517,8 @@ const months$2 = [
3517
3517
  ];
3518
3518
  const arLocale = {
3519
3519
  abbr: 'ar',
3520
- months: months$2,
3521
- monthsShort: months$2,
3520
+ months: months$3,
3521
+ monthsShort: months$3,
3522
3522
  weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
3523
3523
  weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
3524
3524
  weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
@@ -3554,27 +3554,27 @@ const arLocale = {
3554
3554
  relativeTime: {
3555
3555
  future: 'بعد %s',
3556
3556
  past: 'منذ %s',
3557
- s: pluralize('s'),
3558
- ss: pluralize('s'),
3559
- m: pluralize('m'),
3560
- mm: pluralize('m'),
3561
- h: pluralize('h'),
3562
- hh: pluralize('h'),
3563
- d: pluralize('d'),
3564
- dd: pluralize('d'),
3565
- M: pluralize('M'),
3566
- MM: pluralize('M'),
3567
- y: pluralize('y'),
3568
- yy: pluralize('y')
3557
+ s: pluralize$1('s'),
3558
+ ss: pluralize$1('s'),
3559
+ m: pluralize$1('m'),
3560
+ mm: pluralize$1('m'),
3561
+ h: pluralize$1('h'),
3562
+ hh: pluralize$1('h'),
3563
+ d: pluralize$1('d'),
3564
+ dd: pluralize$1('d'),
3565
+ M: pluralize$1('M'),
3566
+ MM: pluralize$1('M'),
3567
+ y: pluralize$1('y'),
3568
+ yy: pluralize$1('y')
3569
3569
  },
3570
3570
  preparse(str) {
3571
3571
  return str.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
3572
- return numberMap$1[match];
3572
+ return numberMap$2[match];
3573
3573
  }).replace(/،/g, ',');
3574
3574
  },
3575
3575
  postformat(str) {
3576
3576
  return str.replace(/\d/g, function (match) {
3577
- return symbolMap$1[match];
3577
+ return symbolMap$2[match];
3578
3578
  }).replace(/,/g, '،');
3579
3579
  },
3580
3580
  week: {
@@ -3762,7 +3762,7 @@ const caLocale = {
3762
3762
  //! moment.js locale configuration
3763
3763
  //! locale : Czech [cs]
3764
3764
  //! author : petrbela : https://github.com/petrbela
3765
- const months$1 = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split('_');
3765
+ const months$2 = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split('_');
3766
3766
  const monthsShort$6 = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_');
3767
3767
  function plural$4(num) {
3768
3768
  return (num > 1) && (num < 5) && (~~(num / 10) !== 1);
@@ -3834,7 +3834,7 @@ function translate$6(num, withoutSuffix, key, isFuture) {
3834
3834
  }
3835
3835
  const csLocale = {
3836
3836
  abbr: 'cs',
3837
- months: months$1,
3837
+ months: months$2,
3838
3838
  monthsShort: monthsShort$6,
3839
3839
  monthsParse: (function (months, monthsShort) {
3840
3840
  let i, _monthsParse = [];
@@ -3843,7 +3843,7 @@ const csLocale = {
3843
3843
  _monthsParse[i] = new RegExp('^' + months[i] + '$|^' + monthsShort[i] + '$', 'i');
3844
3844
  }
3845
3845
  return _monthsParse;
3846
- }(months$1, monthsShort$6)),
3846
+ }(months$2, monthsShort$6)),
3847
3847
  shortMonthsParse: (function (monthsShort) {
3848
3848
  let i, _shortMonthsParse = [];
3849
3849
  for (i = 0; i < 12; i++) {
@@ -3857,7 +3857,7 @@ const csLocale = {
3857
3857
  _longMonthsParse[i] = new RegExp('^' + months[i] + '$', 'i');
3858
3858
  }
3859
3859
  return _longMonthsParse;
3860
- }(months$1)),
3860
+ }(months$2)),
3861
3861
  weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),
3862
3862
  weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'),
3863
3863
  weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'),
@@ -4649,6 +4649,75 @@ const frLocale = {
4649
4649
  }
4650
4650
  };
4651
4651
 
4652
+ //! moment.js locale configuration
4653
+ //! locale : French Canadian [fr-ca]
4654
+ //! author : Ali Hasan : https://github.com/alihasan00
4655
+ const frCaLocale = {
4656
+ abbr: 'fr-ca',
4657
+ months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
4658
+ monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
4659
+ monthsParseExact: true,
4660
+ weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
4661
+ weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
4662
+ weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
4663
+ weekdaysParseExact: true,
4664
+ longDateFormat: {
4665
+ LT: 'HH:mm',
4666
+ LTS: 'HH:mm:ss',
4667
+ L: 'YYYY-MM-DD',
4668
+ LL: 'D MMMM YYYY',
4669
+ LLL: 'D MMMM YYYY HH:mm',
4670
+ LLLL: 'dddd D MMMM YYYY HH:mm'
4671
+ },
4672
+ calendar: {
4673
+ sameDay: '[Aujourd’hui à] LT',
4674
+ nextDay: '[Demain à] LT',
4675
+ nextWeek: 'dddd [à] LT',
4676
+ lastDay: '[Hier à] LT',
4677
+ lastWeek: 'dddd [dernier à] LT',
4678
+ sameElse: 'L'
4679
+ },
4680
+ relativeTime: {
4681
+ future: 'dans %s',
4682
+ past: 'il y a %s',
4683
+ s: 'quelques secondes',
4684
+ ss: '%d secondes',
4685
+ m: 'une minute',
4686
+ mm: '%d minutes',
4687
+ h: 'une heure',
4688
+ hh: '%d heures',
4689
+ d: 'un jour',
4690
+ dd: '%d jours',
4691
+ M: 'un mois',
4692
+ MM: '%d mois',
4693
+ y: 'un an',
4694
+ yy: '%d ans'
4695
+ },
4696
+ dayOfMonthOrdinalParse: /\d{1,2}(er|e|)/,
4697
+ ordinal(_num, period) {
4698
+ const num = Number(_num);
4699
+ switch (period) {
4700
+ case 'D':
4701
+ return num + (num === 1 ? 'er' : '');
4702
+ // Words with masculine grammatical gender: mois, trimestre, jour
4703
+ default:
4704
+ case 'M':
4705
+ case 'Q':
4706
+ case 'DDD':
4707
+ case 'd':
4708
+ return num + (num === 1 ? 'er' : 'e');
4709
+ // Words with feminine grammatical gender: semaine
4710
+ case 'w':
4711
+ case 'W':
4712
+ return num + (num === 1 ? 're' : 'e');
4713
+ }
4714
+ },
4715
+ week: {
4716
+ dow: 1, // Monday is the first day of the week.
4717
+ doy: 4 // The week that contains Jan 4th is the first week of the year.
4718
+ }
4719
+ };
4720
+
4652
4721
  //! moment.js locale configuration
4653
4722
  //! locale : Galician [gl]
4654
4723
  //! author : Darío Beiró : https://github.com/quinobravo
@@ -4825,7 +4894,7 @@ const heLocale = {
4825
4894
  //! moment.js locale configuration
4826
4895
  //! locale : Hindi [hi]
4827
4896
  //! author : Mayank Singhal : https://github.com/mayanksinghal
4828
- let symbolMap = {
4897
+ let symbolMap$1 = {
4829
4898
  1: '१',
4830
4899
  2: '२',
4831
4900
  3: '३',
@@ -4836,7 +4905,7 @@ let symbolMap = {
4836
4905
  8: '८',
4837
4906
  9: '९',
4838
4907
  0: '०'
4839
- }, numberMap = {
4908
+ }, numberMap$1 = {
4840
4909
  '१': '1',
4841
4910
  '२': '2',
4842
4911
  '३': '3',
@@ -4890,12 +4959,12 @@ const hiLocale = {
4890
4959
  },
4891
4960
  preparse(str) {
4892
4961
  return str.replace(/[१२३४५६७८९०]/g, function (match) {
4893
- return numberMap[match];
4962
+ return numberMap$1[match];
4894
4963
  });
4895
4964
  },
4896
4965
  postformat(str) {
4897
4966
  return str.replace(/\d/g, function (match) {
4898
- return symbolMap[match];
4967
+ return symbolMap$1[match];
4899
4968
  });
4900
4969
  },
4901
4970
  // Hindi notation for meridiems are quite fuzzy in practice. While there exists
@@ -6415,7 +6484,7 @@ const ruLocale = {
6415
6484
  //! moment.js locale configuration
6416
6485
  //! locale : Slovak [sk]
6417
6486
  //! author : Jozef Pažin : https://github.com/atiris
6418
- const months = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split('_');
6487
+ const months$1 = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split('_');
6419
6488
  const monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_');
6420
6489
  function plural$1(num) {
6421
6490
  return (num > 1) && (num < 5) && (~~(num / 10) !== 1);
@@ -6487,7 +6556,7 @@ function translate(num, withoutSuffix, key, isFuture) {
6487
6556
  }
6488
6557
  const skLocale = {
6489
6558
  abbr: 'sk',
6490
- months,
6559
+ months: months$1,
6491
6560
  monthsShort,
6492
6561
  weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'),
6493
6562
  weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'),
@@ -7380,9 +7449,139 @@ const zhCnLocale = {
7380
7449
  }
7381
7450
  };
7382
7451
 
7452
+ //! moment.js locale configuration
7453
+ //! locale : Persian [fa]
7454
+ //! author : Meysam Bahadori: https://github.com/MeysamBahadori
7455
+ const symbolMap = {
7456
+ 1: '١',
7457
+ 2: '٢',
7458
+ 3: '٣',
7459
+ 4: '٤',
7460
+ 5: '٥',
7461
+ 6: '٦',
7462
+ 7: '٧',
7463
+ 8: '٨',
7464
+ 9: '٩',
7465
+ 0: '٠'
7466
+ };
7467
+ const numberMap = {
7468
+ '١': '1',
7469
+ '٢': '2',
7470
+ '٣': '3',
7471
+ '٤': '4',
7472
+ '٥': '5',
7473
+ '٦': '6',
7474
+ '٧': '7',
7475
+ '٨': '8',
7476
+ '٩': '9',
7477
+ '٠': '0'
7478
+ };
7479
+ const pluralForm = function (num) {
7480
+ return num === 0 ? 0 : num === 1 ? 1 : num === 2 ? 2 : num % 100 >= 3 && num % 100 <= 10 ? 3 : num % 100 >= 11 ? 4 : 5;
7481
+ };
7482
+ var plurals = {
7483
+ s: ['کمتر از یک ثانیه', 'یک ثانیه', ['دو ثانیه', 'دو ثانیه'], '%d ثانیه', '%d ثانیه', '%d ثانیه'],
7484
+ m: ['کمتر از یک دقیقه', 'یک دقیقه', ['دو دقیقه', 'دو دقیقه'], '%d دقیقه', '%d دقیقه', '%d دقیقه'],
7485
+ h: ['کمتر از یک ساعت', 'یک ساعت', ['دو ساعت', 'دو ساعت'], '%d ساعت', '%d ساعت', '%d ساعت'],
7486
+ d: ['کمتر از یک روز', 'یک روز', ['دو روز', 'دو روز'], '%d روز', '%d روز', '%d روز'],
7487
+ M: ['کمتر از یک ماه', 'یک ماه', ['دو ماه', 'دو ماه'], '%d ماه', '%d ماه', '%d ماه'],
7488
+ y: ['کمتر از یک سال', 'یک سال', ['دو سال', 'دو سال'], '%d سال', '%d سال', '%d سال']
7489
+ };
7490
+ const pluralize = function (u) {
7491
+ return function (num, withoutSuffix) {
7492
+ const f = pluralForm(num);
7493
+ let str = plurals[u][pluralForm(num)];
7494
+ if (f === 2) {
7495
+ str = str[withoutSuffix ? 0 : 1];
7496
+ }
7497
+ return str.replace(/%d/i, num.toString());
7498
+ };
7499
+ };
7500
+ const months = [
7501
+ 'ژانویه',
7502
+ 'فوریه',
7503
+ 'مارس',
7504
+ 'آوریل',
7505
+ 'می',
7506
+ 'ژوئن',
7507
+ 'جولای',
7508
+ 'آگوست',
7509
+ 'سپتامبر',
7510
+ 'اکتبر',
7511
+ 'نوامبر',
7512
+ 'دسامبر'
7513
+ ];
7514
+ const faLocale = {
7515
+ abbr: 'fa',
7516
+ months: months,
7517
+ monthsShort: months,
7518
+ weekdays: 'یکشنبه_دوشنبه_سه شنبه_چهارشنبه_پنج شنبه_جمعه_شنبه'.split('_'),
7519
+ weekdaysShort: 'یکشنبه_دو‌شنبه_سه‌شنبه_چهار‌شنبه_پنج‌شنبه_جمعه_شنبه'.split('_'),
7520
+ weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'),
7521
+ weekdaysParseExact: true,
7522
+ longDateFormat: {
7523
+ LT: 'HH:mm',
7524
+ LTS: 'HH:mm:ss',
7525
+ L: 'D/\u200FM/\u200FYYYY',
7526
+ LL: 'D MMMM YYYY',
7527
+ LLL: 'D MMMM YYYY HH:mm',
7528
+ LLLL: 'dddd D MMMM YYYY HH:mm'
7529
+ },
7530
+ meridiemParse: /ص|م/,
7531
+ isPM(input) {
7532
+ return 'م' === input;
7533
+ },
7534
+ meridiem(hour, minute, isLower) {
7535
+ if (hour < 12) {
7536
+ return 'ص';
7537
+ }
7538
+ else {
7539
+ return 'م';
7540
+ }
7541
+ },
7542
+ calendar: {
7543
+ sameDay: '[امروز در ساعت] LT',
7544
+ nextDay: '[فردا در ساعت] LT',
7545
+ nextWeek: 'dddd [در ساعت] LT',
7546
+ lastDay: '[دیروز در ساعت] LT',
7547
+ lastWeek: 'dddd [در ساعت] LT',
7548
+ sameElse: 'L'
7549
+ },
7550
+ relativeTime: {
7551
+ future: 'بعد %s',
7552
+ past: 'پیش %s',
7553
+ s: pluralize('s'),
7554
+ ss: pluralize('s'),
7555
+ m: pluralize('m'),
7556
+ mm: pluralize('m'),
7557
+ h: pluralize('h'),
7558
+ hh: pluralize('h'),
7559
+ d: pluralize('d'),
7560
+ dd: pluralize('d'),
7561
+ M: pluralize('M'),
7562
+ MM: pluralize('M'),
7563
+ y: pluralize('y'),
7564
+ yy: pluralize('y')
7565
+ },
7566
+ preparse(str) {
7567
+ return str.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
7568
+ return numberMap[match];
7569
+ }).replace(/،/g, ',');
7570
+ },
7571
+ postformat(str) {
7572
+ return str.replace(/\d/g, function (match) {
7573
+ return symbolMap[match];
7574
+ }).replace(/,/g, '،');
7575
+ },
7576
+ week: {
7577
+ dow: 6, // Saturday is the first day of the week.
7578
+ doy: 80 // The week that contains March 21th is the first week of the year.
7579
+ }
7580
+ };
7581
+
7383
7582
  /**
7384
7583
  * Generated bundle index. Do not edit.
7385
7584
  */
7386
7585
 
7387
- 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 };
7586
+ export { add, arLocale, bgLocale, caLocale, csLocale, daLocale, deLocale, defineLocale, enGbLocale, endOf, esDoLocale, esLocale, esPrLocale, esUsLocale, etLocale, faLocale, fiLocale, formatDate, frCaLocale, 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 };
7388
7587
  //# sourceMappingURL=ngx-bootstrap-chronos.mjs.map