@mis-wis/common 0.1.5 → 0.1.7

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 (936) hide show
  1. package/README.md +2 -1
  2. package/esm2020/lib/components/datepicker/base/bs-datepicker-container.mjs +47 -0
  3. package/esm2020/lib/components/datepicker/bs-datepicker-inline.component.mjs +139 -0
  4. package/esm2020/lib/components/datepicker/bs-datepicker-inline.config.mjs +14 -0
  5. package/esm2020/lib/components/datepicker/bs-datepicker-input.directive.mjs +160 -0
  6. package/esm2020/lib/components/datepicker/bs-datepicker.component.mjs +255 -0
  7. package/esm2020/lib/components/datepicker/bs-datepicker.config.mjs +87 -0
  8. package/esm2020/lib/components/datepicker/bs-datepicker.module.mjs +125 -0
  9. package/esm2020/lib/components/datepicker/bs-daterangepicker-inline.component.mjs +136 -0
  10. package/esm2020/lib/components/datepicker/bs-daterangepicker-inline.config.mjs +21 -0
  11. package/esm2020/lib/components/datepicker/bs-daterangepicker-input.directive.mjs +192 -0
  12. package/esm2020/lib/components/datepicker/bs-daterangepicker.component.mjs +242 -0
  13. package/esm2020/lib/components/datepicker/bs-daterangepicker.config.mjs +19 -0
  14. package/esm2020/lib/components/datepicker/bs-locale.service.mjs +32 -0
  15. package/esm2020/lib/components/datepicker/chronos/create/check-overflow.mjs +30 -0
  16. package/esm2020/lib/components/datepicker/chronos/create/clone.mjs +6 -0
  17. package/esm2020/lib/components/datepicker/chronos/create/date-from-array.mjs +17 -0
  18. package/esm2020/lib/components/datepicker/chronos/create/from-anything.mjs +107 -0
  19. package/esm2020/lib/components/datepicker/chronos/create/from-array.mjs +136 -0
  20. package/esm2020/lib/components/datepicker/chronos/create/from-object.mjs +17 -0
  21. package/esm2020/lib/components/datepicker/chronos/create/from-string-and-array.mjs +38 -0
  22. package/esm2020/lib/components/datepicker/chronos/create/from-string-and-format.mjs +106 -0
  23. package/esm2020/lib/components/datepicker/chronos/create/from-string.mjs +227 -0
  24. package/esm2020/lib/components/datepicker/chronos/create/local.mjs +16 -0
  25. package/esm2020/lib/components/datepicker/chronos/create/parsing-flags.mjs +26 -0
  26. package/esm2020/lib/components/datepicker/chronos/create/parsing.types.mjs +2 -0
  27. package/esm2020/lib/components/datepicker/chronos/create/valid.mjs +42 -0
  28. package/esm2020/lib/components/datepicker/chronos/duration/bubble.mjs +47 -0
  29. package/esm2020/lib/components/datepicker/chronos/duration/constructor.mjs +130 -0
  30. package/esm2020/lib/components/datepicker/chronos/duration/create.mjs +113 -0
  31. package/esm2020/lib/components/datepicker/chronos/duration/humanize.mjs +80 -0
  32. package/esm2020/lib/components/datepicker/chronos/duration/valid.mjs +43 -0
  33. package/esm2020/lib/components/datepicker/chronos/format/format.mjs +51 -0
  34. package/esm2020/lib/components/datepicker/chronos/format.mjs +46 -0
  35. package/esm2020/lib/components/datepicker/chronos/i18n/ar.mjs +128 -0
  36. package/esm2020/lib/components/datepicker/chronos/i18n/bg.mjs +94 -0
  37. package/esm2020/lib/components/datepicker/chronos/i18n/ca.mjs +91 -0
  38. package/esm2020/lib/components/datepicker/chronos/i18n/cs.mjs +179 -0
  39. package/esm2020/lib/components/datepicker/chronos/i18n/da.mjs +50 -0
  40. package/esm2020/lib/components/datepicker/chronos/i18n/de.mjs +72 -0
  41. package/esm2020/lib/components/datepicker/chronos/i18n/en-gb.mjs +61 -0
  42. package/esm2020/lib/components/datepicker/chronos/i18n/es-do.mjs +85 -0
  43. package/esm2020/lib/components/datepicker/chronos/i18n/es-us.mjs +79 -0
  44. package/esm2020/lib/components/datepicker/chronos/i18n/es.mjs +84 -0
  45. package/esm2020/lib/components/datepicker/chronos/i18n/et.mjs +73 -0
  46. package/esm2020/lib/components/datepicker/chronos/i18n/fi.mjs +100 -0
  47. package/esm2020/lib/components/datepicker/chronos/i18n/fr.mjs +76 -0
  48. package/esm2020/lib/components/datepicker/chronos/i18n/gl.mjs +84 -0
  49. package/esm2020/lib/components/datepicker/chronos/i18n/he.mjs +98 -0
  50. package/esm2020/lib/components/datepicker/chronos/i18n/hi.mjs +124 -0
  51. package/esm2020/lib/components/datepicker/chronos/i18n/hr.mjs +62 -0
  52. package/esm2020/lib/components/datepicker/chronos/i18n/hu.mjs +104 -0
  53. package/esm2020/lib/components/datepicker/chronos/i18n/id.mjs +83 -0
  54. package/esm2020/lib/components/datepicker/chronos/i18n/it.mjs +65 -0
  55. package/esm2020/lib/components/datepicker/chronos/i18n/ja.mjs +75 -0
  56. package/esm2020/lib/components/datepicker/chronos/i18n/ka.mjs +87 -0
  57. package/esm2020/lib/components/datepicker/chronos/i18n/kk.mjs +76 -0
  58. package/esm2020/lib/components/datepicker/chronos/i18n/ko.mjs +77 -0
  59. package/esm2020/lib/components/datepicker/chronos/i18n/lt.mjs +116 -0
  60. package/esm2020/lib/components/datepicker/chronos/i18n/lv.mjs +56 -0
  61. package/esm2020/lib/components/datepicker/chronos/i18n/mn.mjs +99 -0
  62. package/esm2020/lib/components/datepicker/chronos/i18n/nb.mjs +53 -0
  63. package/esm2020/lib/components/datepicker/chronos/i18n/nl-be.mjs +81 -0
  64. package/esm2020/lib/components/datepicker/chronos/i18n/nl.mjs +80 -0
  65. package/esm2020/lib/components/datepicker/chronos/i18n/pl.mjs +126 -0
  66. package/esm2020/lib/components/datepicker/chronos/i18n/pt-br.mjs +56 -0
  67. package/esm2020/lib/components/datepicker/chronos/i18n/ro.mjs +66 -0
  68. package/esm2020/lib/components/datepicker/chronos/i18n/ru.mjs +181 -0
  69. package/esm2020/lib/components/datepicker/chronos/i18n/sk.mjs +157 -0
  70. package/esm2020/lib/components/datepicker/chronos/i18n/sl.mjs +184 -0
  71. package/esm2020/lib/components/datepicker/chronos/i18n/sq.mjs +54 -0
  72. package/esm2020/lib/components/datepicker/chronos/i18n/sv.mjs +63 -0
  73. package/esm2020/lib/components/datepicker/chronos/i18n/th-be.mjs +74 -0
  74. package/esm2020/lib/components/datepicker/chronos/i18n/th.mjs +59 -0
  75. package/esm2020/lib/components/datepicker/chronos/i18n/tr.mjs +82 -0
  76. package/esm2020/lib/components/datepicker/chronos/i18n/uk.mjs +147 -0
  77. package/esm2020/lib/components/datepicker/chronos/i18n/vi.mjs +74 -0
  78. package/esm2020/lib/components/datepicker/chronos/i18n/zh-cn.mjs +114 -0
  79. package/esm2020/lib/components/datepicker/chronos/index.mjs +2 -0
  80. package/esm2020/lib/components/datepicker/chronos/locale/calendar.mjs +9 -0
  81. package/esm2020/lib/components/datepicker/chronos/locale/locale.class.mjs +532 -0
  82. package/esm2020/lib/components/datepicker/chronos/locale/locale.defaults.mjs +40 -0
  83. package/esm2020/lib/components/datepicker/chronos/locale/locales.mjs +229 -0
  84. package/esm2020/lib/components/datepicker/chronos/moment/add-subtract.mjs +35 -0
  85. package/esm2020/lib/components/datepicker/chronos/moment/calendar.mjs +41 -0
  86. package/esm2020/lib/components/datepicker/chronos/moment/diff.mjs +70 -0
  87. package/esm2020/lib/components/datepicker/chronos/moment/min-max.mjs +38 -0
  88. package/esm2020/lib/components/datepicker/chronos/parse/regex.mjs +49 -0
  89. package/esm2020/lib/components/datepicker/chronos/parse/token.mjs +32 -0
  90. package/esm2020/lib/components/datepicker/chronos/public_api.mjs +56 -0
  91. package/esm2020/lib/components/datepicker/chronos/test/chain.mjs +711 -0
  92. package/esm2020/lib/components/datepicker/chronos/types.mjs +2 -0
  93. package/esm2020/lib/components/datepicker/chronos/units/aliases.mjs +35 -0
  94. package/esm2020/lib/components/datepicker/chronos/units/constants.mjs +11 -0
  95. package/esm2020/lib/components/datepicker/chronos/units/day-of-month.mjs +31 -0
  96. package/esm2020/lib/components/datepicker/chronos/units/day-of-week.mjs +129 -0
  97. package/esm2020/lib/components/datepicker/chronos/units/day-of-year.mjs +37 -0
  98. package/esm2020/lib/components/datepicker/chronos/units/hour.mjs +127 -0
  99. package/esm2020/lib/components/datepicker/chronos/units/index.mjs +19 -0
  100. package/esm2020/lib/components/datepicker/chronos/units/millisecond.mjs +60 -0
  101. package/esm2020/lib/components/datepicker/chronos/units/minute.mjs +23 -0
  102. package/esm2020/lib/components/datepicker/chronos/units/month.mjs +63 -0
  103. package/esm2020/lib/components/datepicker/chronos/units/offset.mjs +210 -0
  104. package/esm2020/lib/components/datepicker/chronos/units/priorities.mjs +21 -0
  105. package/esm2020/lib/components/datepicker/chronos/units/quarter.mjs +39 -0
  106. package/esm2020/lib/components/datepicker/chronos/units/second.mjs +23 -0
  107. package/esm2020/lib/components/datepicker/chronos/units/timestamp.mjs +28 -0
  108. package/esm2020/lib/components/datepicker/chronos/units/timezone.mjs +19 -0
  109. package/esm2020/lib/components/datepicker/chronos/units/week-calendar-utils.mjs +70 -0
  110. package/esm2020/lib/components/datepicker/chronos/units/week-year.mjs +101 -0
  111. package/esm2020/lib/components/datepicker/chronos/units/week.mjs +58 -0
  112. package/esm2020/lib/components/datepicker/chronos/units/year.mjs +60 -0
  113. package/esm2020/lib/components/datepicker/chronos/utils/abs-ceil.mjs +4 -0
  114. package/esm2020/lib/components/datepicker/chronos/utils/abs-round.mjs +4 -0
  115. package/esm2020/lib/components/datepicker/chronos/utils/compare-arrays.mjs +16 -0
  116. package/esm2020/lib/components/datepicker/chronos/utils/date-compare.mjs +55 -0
  117. package/esm2020/lib/components/datepicker/chronos/utils/date-getters.mjs +67 -0
  118. package/esm2020/lib/components/datepicker/chronos/utils/date-setters.mjs +75 -0
  119. package/esm2020/lib/components/datepicker/chronos/utils/defaults.mjs +11 -0
  120. package/esm2020/lib/components/datepicker/chronos/utils/start-end-of.mjs +57 -0
  121. package/esm2020/lib/components/datepicker/chronos/utils/type-checks.mjs +56 -0
  122. package/esm2020/lib/components/datepicker/chronos/utils/zero-fill.mjs +10 -0
  123. package/esm2020/lib/components/datepicker/chronos/utils.mjs +7 -0
  124. package/esm2020/lib/components/datepicker/component-loader/bs-component-ref.class.mjs +3 -0
  125. package/esm2020/lib/components/datepicker/component-loader/component-loader.class.mjs +272 -0
  126. package/esm2020/lib/components/datepicker/component-loader/component-loader.factory.mjs +30 -0
  127. package/esm2020/lib/components/datepicker/component-loader/content-ref.class.mjs +12 -0
  128. package/esm2020/lib/components/datepicker/component-loader/index.mjs +2 -0
  129. package/esm2020/lib/components/datepicker/component-loader/listen-options.model.mjs +2 -0
  130. package/esm2020/lib/components/datepicker/component-loader/public_api.mjs +5 -0
  131. package/esm2020/lib/components/datepicker/date-formatter.mjs +7 -0
  132. package/esm2020/lib/components/datepicker/datepicker-animations.mjs +16 -0
  133. package/esm2020/lib/components/datepicker/datepicker-inner.component.mjs +317 -0
  134. package/esm2020/lib/components/datepicker/datepicker.component.mjs +203 -0
  135. package/esm2020/lib/components/datepicker/datepicker.config.mjs +32 -0
  136. package/esm2020/lib/components/datepicker/datepicker.module.mjs +48 -0
  137. package/esm2020/lib/components/datepicker/daypicker.component.mjs +229 -0
  138. package/esm2020/lib/components/datepicker/engine/calc-days-calendar.mjs +19 -0
  139. package/esm2020/lib/components/datepicker/engine/flag-days-calendar.mjs +91 -0
  140. package/esm2020/lib/components/datepicker/engine/flag-months-calendar.mjs +41 -0
  141. package/esm2020/lib/components/datepicker/engine/flag-years-calendar.mjs +39 -0
  142. package/esm2020/lib/components/datepicker/engine/format-days-calendar.mjs +29 -0
  143. package/esm2020/lib/components/datepicker/engine/format-months-calendar.mjs +19 -0
  144. package/esm2020/lib/components/datepicker/engine/format-years-calendar.mjs +35 -0
  145. package/esm2020/lib/components/datepicker/engine/view-mode.mjs +4 -0
  146. package/esm2020/lib/components/datepicker/index.mjs +2 -0
  147. package/esm2020/lib/components/datepicker/mini-ngrx/index.mjs +2 -0
  148. package/esm2020/lib/components/datepicker/mini-ngrx/public_api.mjs +3 -0
  149. package/esm2020/lib/components/datepicker/mini-ngrx/state.class.mjs +16 -0
  150. package/esm2020/lib/components/datepicker/mini-ngrx/store.class.mjs +43 -0
  151. package/esm2020/lib/components/datepicker/models/index.mjs +9 -0
  152. package/esm2020/lib/components/datepicker/monthpicker.component.mjs +117 -0
  153. package/esm2020/lib/components/datepicker/positioning/index.mjs +2 -0
  154. package/esm2020/lib/components/datepicker/positioning/models/index.mjs +2 -0
  155. package/esm2020/lib/components/datepicker/positioning/modifiers/arrow.mjs +56 -0
  156. package/esm2020/lib/components/datepicker/positioning/modifiers/flip.mjs +66 -0
  157. package/esm2020/lib/components/datepicker/positioning/modifiers/index.mjs +6 -0
  158. package/esm2020/lib/components/datepicker/positioning/modifiers/initData.mjs +42 -0
  159. package/esm2020/lib/components/datepicker/positioning/modifiers/preventOverflow.mjs +59 -0
  160. package/esm2020/lib/components/datepicker/positioning/modifiers/shift.mjs +24 -0
  161. package/esm2020/lib/components/datepicker/positioning/ng-positioning.mjs +30 -0
  162. package/esm2020/lib/components/datepicker/positioning/positioning.service.mjs +75 -0
  163. package/esm2020/lib/components/datepicker/positioning/public_api.mjs +3 -0
  164. package/esm2020/lib/components/datepicker/positioning/utils/computeAutoPlacement.mjs +57 -0
  165. package/esm2020/lib/components/datepicker/positioning/utils/findCommonOffsetParent.mjs +40 -0
  166. package/esm2020/lib/components/datepicker/positioning/utils/getBordersSize.mjs +10 -0
  167. package/esm2020/lib/components/datepicker/positioning/utils/getBoundaries.mjs +56 -0
  168. package/esm2020/lib/components/datepicker/positioning/utils/getBoundingClientRect.mjs +55 -0
  169. package/esm2020/lib/components/datepicker/positioning/utils/getClientRect.mjs +8 -0
  170. package/esm2020/lib/components/datepicker/positioning/utils/getFixedPositionOffsetParent.mjs +17 -0
  171. package/esm2020/lib/components/datepicker/positioning/utils/getOffsetParent.mjs +32 -0
  172. package/esm2020/lib/components/datepicker/positioning/utils/getOffsetRectRelativeToArbitraryNode.mjs +51 -0
  173. package/esm2020/lib/components/datepicker/positioning/utils/getOffsets.mjs +11 -0
  174. package/esm2020/lib/components/datepicker/positioning/utils/getOppositePlacement.mjs +8 -0
  175. package/esm2020/lib/components/datepicker/positioning/utils/getOppositeVariation.mjs +13 -0
  176. package/esm2020/lib/components/datepicker/positioning/utils/getOuterSizes.mjs +14 -0
  177. package/esm2020/lib/components/datepicker/positioning/utils/getParentNode.mjs +10 -0
  178. package/esm2020/lib/components/datepicker/positioning/utils/getReferenceOffsets.mjs +13 -0
  179. package/esm2020/lib/components/datepicker/positioning/utils/getRoot.mjs +10 -0
  180. package/esm2020/lib/components/datepicker/positioning/utils/getScroll.mjs +14 -0
  181. package/esm2020/lib/components/datepicker/positioning/utils/getScrollParent.mjs +26 -0
  182. package/esm2020/lib/components/datepicker/positioning/utils/getStyleComputedProperty.mjs +13 -0
  183. package/esm2020/lib/components/datepicker/positioning/utils/getTargetOffsets.mjs +30 -0
  184. package/esm2020/lib/components/datepicker/positioning/utils/getViewportOffsetRectRelativeToArtbitraryNode.mjs +19 -0
  185. package/esm2020/lib/components/datepicker/positioning/utils/getWindowSizes.mjs +18 -0
  186. package/esm2020/lib/components/datepicker/positioning/utils/includeScroll.mjs +15 -0
  187. package/esm2020/lib/components/datepicker/positioning/utils/index.mjs +24 -0
  188. package/esm2020/lib/components/datepicker/positioning/utils/isBrowser.mjs +2 -0
  189. package/esm2020/lib/components/datepicker/positioning/utils/isFixed.mjs +16 -0
  190. package/esm2020/lib/components/datepicker/positioning/utils/isIE.mjs +16 -0
  191. package/esm2020/lib/components/datepicker/positioning/utils/isModifierEnabled.mjs +10 -0
  192. package/esm2020/lib/components/datepicker/positioning/utils/isNumeric.mjs +7 -0
  193. package/esm2020/lib/components/datepicker/positioning/utils/isOffsetContainer.mjs +9 -0
  194. package/esm2020/lib/components/datepicker/positioning/utils/setStyles.mjs +17 -0
  195. package/esm2020/lib/components/datepicker/positioning/utils/updateContainerClass.mjs +22 -0
  196. package/esm2020/lib/components/datepicker/public_api.mjs +25 -0
  197. package/esm2020/lib/components/datepicker/reducer/_defaults.mjs +5 -0
  198. package/esm2020/lib/components/datepicker/reducer/bs-datepicker.actions.mjs +136 -0
  199. package/esm2020/lib/components/datepicker/reducer/bs-datepicker.effects.mjs +171 -0
  200. package/esm2020/lib/components/datepicker/reducer/bs-datepicker.reducer.mjs +302 -0
  201. package/esm2020/lib/components/datepicker/reducer/bs-datepicker.state.mjs +12 -0
  202. package/esm2020/lib/components/datepicker/reducer/bs-datepicker.store.mjs +21 -0
  203. package/esm2020/lib/components/datepicker/themes/bs/bs-calendar-layout.component.mjs +47 -0
  204. package/esm2020/lib/components/datepicker/themes/bs/bs-current-date-view.component.mjs +16 -0
  205. package/esm2020/lib/components/datepicker/themes/bs/bs-custom-dates-view.component.mjs +68 -0
  206. package/esm2020/lib/components/datepicker/themes/bs/bs-datepicker-container.component.mjs +151 -0
  207. package/esm2020/lib/components/datepicker/themes/bs/bs-datepicker-day-decorator.directive.mjs +46 -0
  208. package/esm2020/lib/components/datepicker/themes/bs/bs-datepicker-inline-container.component.mjs +35 -0
  209. package/esm2020/lib/components/datepicker/themes/bs/bs-datepicker-navigation-view.component.mjs +105 -0
  210. package/esm2020/lib/components/datepicker/themes/bs/bs-daterangepicker-container.component.mjs +194 -0
  211. package/esm2020/lib/components/datepicker/themes/bs/bs-daterangepicker-inline-container.component.mjs +35 -0
  212. package/esm2020/lib/components/datepicker/themes/bs/bs-days-calendar-view.component.mjs +230 -0
  213. package/esm2020/lib/components/datepicker/themes/bs/bs-months-calendar-view.component.mjs +93 -0
  214. package/esm2020/lib/components/datepicker/themes/bs/bs-timepicker-view.component.mjs +56 -0
  215. package/esm2020/lib/components/datepicker/themes/bs/bs-years-calendar-view.component.mjs +94 -0
  216. package/esm2020/lib/components/datepicker/utils/bs-calendar-utils.mjs +43 -0
  217. package/esm2020/lib/components/datepicker/utils/matrix-utils.mjs +14 -0
  218. package/esm2020/lib/components/datepicker/utils-v2/decorators.mjs +25 -0
  219. package/esm2020/lib/components/datepicker/utils-v2/facade/browser.mjs +24 -0
  220. package/esm2020/lib/components/datepicker/utils-v2/index.mjs +2 -0
  221. package/esm2020/lib/components/datepicker/utils-v2/linked-list.class.mjs +240 -0
  222. package/esm2020/lib/components/datepicker/utils-v2/public_api.mjs +11 -0
  223. package/esm2020/lib/components/datepicker/utils-v2/theme-provider.mjs +35 -0
  224. package/esm2020/lib/components/datepicker/utils-v2/trigger.class.mjs +10 -0
  225. package/esm2020/lib/components/datepicker/utils-v2/triggers.mjs +110 -0
  226. package/esm2020/lib/components/datepicker/utils-v2/utils.class.mjs +21 -0
  227. package/esm2020/lib/components/datepicker/utils-v2/warn-once.mjs +12 -0
  228. package/esm2020/lib/components/datepicker/yearpicker.component.mjs +121 -0
  229. package/esm2020/lib/constants/release.constants.mjs +2 -0
  230. package/esm2020/lib/functions/utility.functions.mjs +15 -0
  231. package/esm2020/lib/interceptors/auth.interceptor.mjs +3 -1
  232. package/esm2020/lib/models/configurations.model.mjs +1 -1
  233. package/esm2020/lib/modules/logger/logger.functions.mjs +1 -1
  234. package/esm2020/lib/modules/logger/logger.service.mjs +2 -1
  235. package/esm2020/lib/services/http.service.mjs +3 -1
  236. package/esm2020/lib/services/loader.service.mjs +2 -2
  237. package/esm2020/lib/services/mfe-communication.service.mjs +6 -5
  238. package/esm2020/lib/wis-common.module.mjs +1 -1
  239. package/esm2020/public-api.mjs +4 -1
  240. package/esm2020/src/lib/components/datepicker/base/bs-datepicker-container.mjs +47 -0
  241. package/esm2020/src/lib/components/datepicker/bs-datepicker-inline.component.mjs +139 -0
  242. package/esm2020/src/lib/components/datepicker/bs-datepicker-inline.config.mjs +14 -0
  243. package/esm2020/src/lib/components/datepicker/bs-datepicker-input.directive.mjs +160 -0
  244. package/esm2020/src/lib/components/datepicker/bs-datepicker.component.mjs +255 -0
  245. package/esm2020/src/lib/components/datepicker/bs-datepicker.config.mjs +87 -0
  246. package/esm2020/src/lib/components/datepicker/bs-datepicker.module.mjs +125 -0
  247. package/esm2020/src/lib/components/datepicker/bs-daterangepicker-inline.component.mjs +136 -0
  248. package/esm2020/src/lib/components/datepicker/bs-daterangepicker-inline.config.mjs +21 -0
  249. package/esm2020/src/lib/components/datepicker/bs-daterangepicker-input.directive.mjs +192 -0
  250. package/esm2020/src/lib/components/datepicker/bs-daterangepicker.component.mjs +242 -0
  251. package/esm2020/src/lib/components/datepicker/bs-daterangepicker.config.mjs +19 -0
  252. package/esm2020/src/lib/components/datepicker/bs-locale.service.mjs +32 -0
  253. package/esm2020/src/lib/components/datepicker/chronos/create/check-overflow.mjs +30 -0
  254. package/esm2020/src/lib/components/datepicker/chronos/create/clone.mjs +6 -0
  255. package/esm2020/src/lib/components/datepicker/chronos/create/date-from-array.mjs +17 -0
  256. package/esm2020/src/lib/components/datepicker/chronos/create/from-anything.mjs +107 -0
  257. package/esm2020/src/lib/components/datepicker/chronos/create/from-array.mjs +136 -0
  258. package/esm2020/src/lib/components/datepicker/chronos/create/from-object.mjs +17 -0
  259. package/esm2020/src/lib/components/datepicker/chronos/create/from-string-and-array.mjs +38 -0
  260. package/esm2020/src/lib/components/datepicker/chronos/create/from-string-and-format.mjs +106 -0
  261. package/esm2020/src/lib/components/datepicker/chronos/create/from-string.mjs +227 -0
  262. package/esm2020/src/lib/components/datepicker/chronos/create/local.mjs +16 -0
  263. package/esm2020/src/lib/components/datepicker/chronos/create/parsing-flags.mjs +26 -0
  264. package/esm2020/src/lib/components/datepicker/chronos/create/parsing.types.mjs +2 -0
  265. package/esm2020/src/lib/components/datepicker/chronos/create/valid.mjs +42 -0
  266. package/esm2020/src/lib/components/datepicker/chronos/duration/bubble.mjs +47 -0
  267. package/esm2020/src/lib/components/datepicker/chronos/duration/constructor.mjs +130 -0
  268. package/esm2020/src/lib/components/datepicker/chronos/duration/create.mjs +113 -0
  269. package/esm2020/src/lib/components/datepicker/chronos/duration/humanize.mjs +80 -0
  270. package/esm2020/src/lib/components/datepicker/chronos/duration/valid.mjs +43 -0
  271. package/esm2020/src/lib/components/datepicker/chronos/format/format.mjs +51 -0
  272. package/esm2020/src/lib/components/datepicker/chronos/format.mjs +46 -0
  273. package/esm2020/src/lib/components/datepicker/chronos/i18n/ar.mjs +128 -0
  274. package/esm2020/src/lib/components/datepicker/chronos/i18n/bg.mjs +94 -0
  275. package/esm2020/src/lib/components/datepicker/chronos/i18n/ca.mjs +91 -0
  276. package/esm2020/src/lib/components/datepicker/chronos/i18n/cs.mjs +179 -0
  277. package/esm2020/src/lib/components/datepicker/chronos/i18n/da.mjs +50 -0
  278. package/esm2020/src/lib/components/datepicker/chronos/i18n/de.mjs +72 -0
  279. package/esm2020/src/lib/components/datepicker/chronos/i18n/en-gb.mjs +61 -0
  280. package/esm2020/src/lib/components/datepicker/chronos/i18n/es-do.mjs +85 -0
  281. package/esm2020/src/lib/components/datepicker/chronos/i18n/es-us.mjs +79 -0
  282. package/esm2020/src/lib/components/datepicker/chronos/i18n/es.mjs +84 -0
  283. package/esm2020/src/lib/components/datepicker/chronos/i18n/et.mjs +73 -0
  284. package/esm2020/src/lib/components/datepicker/chronos/i18n/fi.mjs +100 -0
  285. package/esm2020/src/lib/components/datepicker/chronos/i18n/fr.mjs +76 -0
  286. package/esm2020/src/lib/components/datepicker/chronos/i18n/gl.mjs +84 -0
  287. package/esm2020/src/lib/components/datepicker/chronos/i18n/he.mjs +98 -0
  288. package/esm2020/src/lib/components/datepicker/chronos/i18n/hi.mjs +124 -0
  289. package/esm2020/src/lib/components/datepicker/chronos/i18n/hr.mjs +62 -0
  290. package/esm2020/src/lib/components/datepicker/chronos/i18n/hu.mjs +104 -0
  291. package/esm2020/src/lib/components/datepicker/chronos/i18n/id.mjs +83 -0
  292. package/esm2020/src/lib/components/datepicker/chronos/i18n/it.mjs +65 -0
  293. package/esm2020/src/lib/components/datepicker/chronos/i18n/ja.mjs +75 -0
  294. package/esm2020/src/lib/components/datepicker/chronos/i18n/ka.mjs +87 -0
  295. package/esm2020/src/lib/components/datepicker/chronos/i18n/kk.mjs +76 -0
  296. package/esm2020/src/lib/components/datepicker/chronos/i18n/ko.mjs +77 -0
  297. package/esm2020/src/lib/components/datepicker/chronos/i18n/lt.mjs +116 -0
  298. package/esm2020/src/lib/components/datepicker/chronos/i18n/lv.mjs +56 -0
  299. package/esm2020/src/lib/components/datepicker/chronos/i18n/mn.mjs +99 -0
  300. package/esm2020/src/lib/components/datepicker/chronos/i18n/nb.mjs +53 -0
  301. package/esm2020/src/lib/components/datepicker/chronos/i18n/nl-be.mjs +81 -0
  302. package/esm2020/src/lib/components/datepicker/chronos/i18n/nl.mjs +80 -0
  303. package/esm2020/src/lib/components/datepicker/chronos/i18n/pl.mjs +126 -0
  304. package/esm2020/src/lib/components/datepicker/chronos/i18n/pt-br.mjs +56 -0
  305. package/esm2020/src/lib/components/datepicker/chronos/i18n/ro.mjs +66 -0
  306. package/esm2020/src/lib/components/datepicker/chronos/i18n/ru.mjs +181 -0
  307. package/esm2020/src/lib/components/datepicker/chronos/i18n/sk.mjs +157 -0
  308. package/esm2020/src/lib/components/datepicker/chronos/i18n/sl.mjs +184 -0
  309. package/esm2020/src/lib/components/datepicker/chronos/i18n/sq.mjs +54 -0
  310. package/esm2020/src/lib/components/datepicker/chronos/i18n/sv.mjs +63 -0
  311. package/esm2020/src/lib/components/datepicker/chronos/i18n/th-be.mjs +74 -0
  312. package/esm2020/src/lib/components/datepicker/chronos/i18n/th.mjs +59 -0
  313. package/esm2020/src/lib/components/datepicker/chronos/i18n/tr.mjs +82 -0
  314. package/esm2020/src/lib/components/datepicker/chronos/i18n/uk.mjs +147 -0
  315. package/esm2020/src/lib/components/datepicker/chronos/i18n/vi.mjs +74 -0
  316. package/esm2020/src/lib/components/datepicker/chronos/i18n/zh-cn.mjs +114 -0
  317. package/esm2020/src/lib/components/datepicker/chronos/index.mjs +2 -0
  318. package/esm2020/src/lib/components/datepicker/chronos/locale/calendar.mjs +9 -0
  319. package/esm2020/src/lib/components/datepicker/chronos/locale/locale.class.mjs +532 -0
  320. package/esm2020/src/lib/components/datepicker/chronos/locale/locale.defaults.mjs +40 -0
  321. package/esm2020/src/lib/components/datepicker/chronos/locale/locales.mjs +229 -0
  322. package/esm2020/src/lib/components/datepicker/chronos/moment/add-subtract.mjs +35 -0
  323. package/esm2020/src/lib/components/datepicker/chronos/moment/calendar.mjs +41 -0
  324. package/esm2020/src/lib/components/datepicker/chronos/moment/diff.mjs +70 -0
  325. package/esm2020/src/lib/components/datepicker/chronos/moment/min-max.mjs +38 -0
  326. package/esm2020/src/lib/components/datepicker/chronos/parse/regex.mjs +49 -0
  327. package/esm2020/src/lib/components/datepicker/chronos/parse/token.mjs +32 -0
  328. package/esm2020/src/lib/components/datepicker/chronos/public_api.mjs +56 -0
  329. package/esm2020/src/lib/components/datepicker/chronos/test/chain.mjs +711 -0
  330. package/esm2020/src/lib/components/datepicker/chronos/types.mjs +2 -0
  331. package/esm2020/src/lib/components/datepicker/chronos/units/aliases.mjs +35 -0
  332. package/esm2020/src/lib/components/datepicker/chronos/units/constants.mjs +11 -0
  333. package/esm2020/src/lib/components/datepicker/chronos/units/day-of-month.mjs +31 -0
  334. package/esm2020/src/lib/components/datepicker/chronos/units/day-of-week.mjs +129 -0
  335. package/esm2020/src/lib/components/datepicker/chronos/units/day-of-year.mjs +37 -0
  336. package/esm2020/src/lib/components/datepicker/chronos/units/hour.mjs +127 -0
  337. package/esm2020/src/lib/components/datepicker/chronos/units/index.mjs +19 -0
  338. package/esm2020/src/lib/components/datepicker/chronos/units/millisecond.mjs +60 -0
  339. package/esm2020/src/lib/components/datepicker/chronos/units/minute.mjs +23 -0
  340. package/esm2020/src/lib/components/datepicker/chronos/units/month.mjs +63 -0
  341. package/esm2020/src/lib/components/datepicker/chronos/units/offset.mjs +210 -0
  342. package/esm2020/src/lib/components/datepicker/chronos/units/priorities.mjs +21 -0
  343. package/esm2020/src/lib/components/datepicker/chronos/units/quarter.mjs +39 -0
  344. package/esm2020/src/lib/components/datepicker/chronos/units/second.mjs +23 -0
  345. package/esm2020/src/lib/components/datepicker/chronos/units/timestamp.mjs +28 -0
  346. package/esm2020/src/lib/components/datepicker/chronos/units/timezone.mjs +19 -0
  347. package/esm2020/src/lib/components/datepicker/chronos/units/week-calendar-utils.mjs +70 -0
  348. package/esm2020/src/lib/components/datepicker/chronos/units/week-year.mjs +101 -0
  349. package/esm2020/src/lib/components/datepicker/chronos/units/week.mjs +58 -0
  350. package/esm2020/src/lib/components/datepicker/chronos/units/year.mjs +60 -0
  351. package/esm2020/src/lib/components/datepicker/chronos/utils/abs-ceil.mjs +4 -0
  352. package/esm2020/src/lib/components/datepicker/chronos/utils/abs-round.mjs +4 -0
  353. package/esm2020/src/lib/components/datepicker/chronos/utils/compare-arrays.mjs +16 -0
  354. package/esm2020/src/lib/components/datepicker/chronos/utils/date-compare.mjs +55 -0
  355. package/esm2020/src/lib/components/datepicker/chronos/utils/date-getters.mjs +67 -0
  356. package/esm2020/src/lib/components/datepicker/chronos/utils/date-setters.mjs +75 -0
  357. package/esm2020/src/lib/components/datepicker/chronos/utils/defaults.mjs +11 -0
  358. package/esm2020/src/lib/components/datepicker/chronos/utils/start-end-of.mjs +57 -0
  359. package/esm2020/src/lib/components/datepicker/chronos/utils/type-checks.mjs +56 -0
  360. package/esm2020/src/lib/components/datepicker/chronos/utils/zero-fill.mjs +10 -0
  361. package/esm2020/src/lib/components/datepicker/chronos/utils.mjs +7 -0
  362. package/esm2020/src/lib/components/datepicker/component-loader/bs-component-ref.class.mjs +3 -0
  363. package/esm2020/src/lib/components/datepicker/component-loader/component-loader.class.mjs +272 -0
  364. package/esm2020/src/lib/components/datepicker/component-loader/component-loader.factory.mjs +30 -0
  365. package/esm2020/src/lib/components/datepicker/component-loader/content-ref.class.mjs +12 -0
  366. package/esm2020/src/lib/components/datepicker/component-loader/index.mjs +2 -0
  367. package/esm2020/src/lib/components/datepicker/component-loader/listen-options.model.mjs +2 -0
  368. package/esm2020/src/lib/components/datepicker/component-loader/public_api.mjs +5 -0
  369. package/esm2020/src/lib/components/datepicker/date-formatter.mjs +7 -0
  370. package/esm2020/src/lib/components/datepicker/datepicker-animations.mjs +16 -0
  371. package/esm2020/src/lib/components/datepicker/datepicker-inner.component.mjs +317 -0
  372. package/esm2020/src/lib/components/datepicker/datepicker.component.mjs +203 -0
  373. package/esm2020/src/lib/components/datepicker/datepicker.config.mjs +32 -0
  374. package/esm2020/src/lib/components/datepicker/datepicker.module.mjs +48 -0
  375. package/esm2020/src/lib/components/datepicker/daypicker.component.mjs +229 -0
  376. package/esm2020/src/lib/components/datepicker/engine/calc-days-calendar.mjs +19 -0
  377. package/esm2020/src/lib/components/datepicker/engine/flag-days-calendar.mjs +91 -0
  378. package/esm2020/src/lib/components/datepicker/engine/flag-months-calendar.mjs +41 -0
  379. package/esm2020/src/lib/components/datepicker/engine/flag-years-calendar.mjs +39 -0
  380. package/esm2020/src/lib/components/datepicker/engine/format-days-calendar.mjs +29 -0
  381. package/esm2020/src/lib/components/datepicker/engine/format-months-calendar.mjs +19 -0
  382. package/esm2020/src/lib/components/datepicker/engine/format-years-calendar.mjs +35 -0
  383. package/esm2020/src/lib/components/datepicker/engine/view-mode.mjs +4 -0
  384. package/esm2020/src/lib/components/datepicker/index.mjs +2 -0
  385. package/esm2020/src/lib/components/datepicker/mini-ngrx/index.mjs +2 -0
  386. package/esm2020/src/lib/components/datepicker/mini-ngrx/public_api.mjs +3 -0
  387. package/esm2020/src/lib/components/datepicker/mini-ngrx/state.class.mjs +16 -0
  388. package/esm2020/src/lib/components/datepicker/mini-ngrx/store.class.mjs +43 -0
  389. package/esm2020/src/lib/components/datepicker/mis-wis-common-src-lib-components-datepicker.mjs +5 -0
  390. package/esm2020/src/lib/components/datepicker/models/index.mjs +9 -0
  391. package/esm2020/src/lib/components/datepicker/monthpicker.component.mjs +117 -0
  392. package/esm2020/src/lib/components/datepicker/positioning/index.mjs +2 -0
  393. package/esm2020/src/lib/components/datepicker/positioning/models/index.mjs +2 -0
  394. package/esm2020/src/lib/components/datepicker/positioning/modifiers/arrow.mjs +56 -0
  395. package/esm2020/src/lib/components/datepicker/positioning/modifiers/flip.mjs +66 -0
  396. package/esm2020/src/lib/components/datepicker/positioning/modifiers/index.mjs +6 -0
  397. package/esm2020/src/lib/components/datepicker/positioning/modifiers/initData.mjs +42 -0
  398. package/esm2020/src/lib/components/datepicker/positioning/modifiers/preventOverflow.mjs +59 -0
  399. package/esm2020/src/lib/components/datepicker/positioning/modifiers/shift.mjs +24 -0
  400. package/esm2020/src/lib/components/datepicker/positioning/ng-positioning.mjs +30 -0
  401. package/esm2020/src/lib/components/datepicker/positioning/positioning.service.mjs +75 -0
  402. package/esm2020/src/lib/components/datepicker/positioning/public_api.mjs +3 -0
  403. package/esm2020/src/lib/components/datepicker/positioning/utils/computeAutoPlacement.mjs +57 -0
  404. package/esm2020/src/lib/components/datepicker/positioning/utils/findCommonOffsetParent.mjs +40 -0
  405. package/esm2020/src/lib/components/datepicker/positioning/utils/getBordersSize.mjs +10 -0
  406. package/esm2020/src/lib/components/datepicker/positioning/utils/getBoundaries.mjs +56 -0
  407. package/esm2020/src/lib/components/datepicker/positioning/utils/getBoundingClientRect.mjs +55 -0
  408. package/esm2020/src/lib/components/datepicker/positioning/utils/getClientRect.mjs +8 -0
  409. package/esm2020/src/lib/components/datepicker/positioning/utils/getFixedPositionOffsetParent.mjs +17 -0
  410. package/esm2020/src/lib/components/datepicker/positioning/utils/getOffsetParent.mjs +32 -0
  411. package/esm2020/src/lib/components/datepicker/positioning/utils/getOffsetRectRelativeToArbitraryNode.mjs +51 -0
  412. package/esm2020/src/lib/components/datepicker/positioning/utils/getOffsets.mjs +11 -0
  413. package/esm2020/src/lib/components/datepicker/positioning/utils/getOppositePlacement.mjs +8 -0
  414. package/esm2020/src/lib/components/datepicker/positioning/utils/getOppositeVariation.mjs +13 -0
  415. package/esm2020/src/lib/components/datepicker/positioning/utils/getOuterSizes.mjs +14 -0
  416. package/esm2020/src/lib/components/datepicker/positioning/utils/getParentNode.mjs +10 -0
  417. package/esm2020/src/lib/components/datepicker/positioning/utils/getReferenceOffsets.mjs +13 -0
  418. package/esm2020/src/lib/components/datepicker/positioning/utils/getRoot.mjs +10 -0
  419. package/esm2020/src/lib/components/datepicker/positioning/utils/getScroll.mjs +14 -0
  420. package/esm2020/src/lib/components/datepicker/positioning/utils/getScrollParent.mjs +26 -0
  421. package/esm2020/src/lib/components/datepicker/positioning/utils/getStyleComputedProperty.mjs +13 -0
  422. package/esm2020/src/lib/components/datepicker/positioning/utils/getTargetOffsets.mjs +30 -0
  423. package/esm2020/src/lib/components/datepicker/positioning/utils/getViewportOffsetRectRelativeToArtbitraryNode.mjs +19 -0
  424. package/esm2020/src/lib/components/datepicker/positioning/utils/getWindowSizes.mjs +18 -0
  425. package/esm2020/src/lib/components/datepicker/positioning/utils/includeScroll.mjs +15 -0
  426. package/esm2020/src/lib/components/datepicker/positioning/utils/index.mjs +24 -0
  427. package/esm2020/src/lib/components/datepicker/positioning/utils/isBrowser.mjs +2 -0
  428. package/esm2020/src/lib/components/datepicker/positioning/utils/isFixed.mjs +16 -0
  429. package/esm2020/src/lib/components/datepicker/positioning/utils/isIE.mjs +16 -0
  430. package/esm2020/src/lib/components/datepicker/positioning/utils/isModifierEnabled.mjs +10 -0
  431. package/esm2020/src/lib/components/datepicker/positioning/utils/isNumeric.mjs +7 -0
  432. package/esm2020/src/lib/components/datepicker/positioning/utils/isOffsetContainer.mjs +9 -0
  433. package/esm2020/src/lib/components/datepicker/positioning/utils/setStyles.mjs +17 -0
  434. package/esm2020/src/lib/components/datepicker/positioning/utils/updateContainerClass.mjs +22 -0
  435. package/esm2020/src/lib/components/datepicker/public_api.mjs +25 -0
  436. package/esm2020/src/lib/components/datepicker/reducer/_defaults.mjs +5 -0
  437. package/esm2020/src/lib/components/datepicker/reducer/bs-datepicker.actions.mjs +136 -0
  438. package/esm2020/src/lib/components/datepicker/reducer/bs-datepicker.effects.mjs +171 -0
  439. package/esm2020/src/lib/components/datepicker/reducer/bs-datepicker.reducer.mjs +302 -0
  440. package/esm2020/src/lib/components/datepicker/reducer/bs-datepicker.state.mjs +12 -0
  441. package/esm2020/src/lib/components/datepicker/reducer/bs-datepicker.store.mjs +21 -0
  442. package/esm2020/src/lib/components/datepicker/themes/bs/bs-calendar-layout.component.mjs +47 -0
  443. package/esm2020/src/lib/components/datepicker/themes/bs/bs-current-date-view.component.mjs +16 -0
  444. package/esm2020/src/lib/components/datepicker/themes/bs/bs-custom-dates-view.component.mjs +68 -0
  445. package/esm2020/src/lib/components/datepicker/themes/bs/bs-datepicker-container.component.mjs +151 -0
  446. package/esm2020/src/lib/components/datepicker/themes/bs/bs-datepicker-day-decorator.directive.mjs +46 -0
  447. package/esm2020/src/lib/components/datepicker/themes/bs/bs-datepicker-inline-container.component.mjs +35 -0
  448. package/esm2020/src/lib/components/datepicker/themes/bs/bs-datepicker-navigation-view.component.mjs +105 -0
  449. package/esm2020/src/lib/components/datepicker/themes/bs/bs-daterangepicker-container.component.mjs +194 -0
  450. package/esm2020/src/lib/components/datepicker/themes/bs/bs-daterangepicker-inline-container.component.mjs +35 -0
  451. package/esm2020/src/lib/components/datepicker/themes/bs/bs-days-calendar-view.component.mjs +230 -0
  452. package/esm2020/src/lib/components/datepicker/themes/bs/bs-months-calendar-view.component.mjs +93 -0
  453. package/esm2020/src/lib/components/datepicker/themes/bs/bs-timepicker-view.component.mjs +56 -0
  454. package/esm2020/src/lib/components/datepicker/themes/bs/bs-years-calendar-view.component.mjs +94 -0
  455. package/esm2020/src/lib/components/datepicker/utils/bs-calendar-utils.mjs +43 -0
  456. package/esm2020/src/lib/components/datepicker/utils/matrix-utils.mjs +14 -0
  457. package/esm2020/src/lib/components/datepicker/utils-v2/decorators.mjs +25 -0
  458. package/esm2020/src/lib/components/datepicker/utils-v2/facade/browser.mjs +24 -0
  459. package/esm2020/src/lib/components/datepicker/utils-v2/index.mjs +2 -0
  460. package/esm2020/src/lib/components/datepicker/utils-v2/linked-list.class.mjs +240 -0
  461. package/esm2020/src/lib/components/datepicker/utils-v2/public_api.mjs +11 -0
  462. package/esm2020/src/lib/components/datepicker/utils-v2/theme-provider.mjs +35 -0
  463. package/esm2020/src/lib/components/datepicker/utils-v2/trigger.class.mjs +10 -0
  464. package/esm2020/src/lib/components/datepicker/utils-v2/triggers.mjs +110 -0
  465. package/esm2020/src/lib/components/datepicker/utils-v2/utils.class.mjs +21 -0
  466. package/esm2020/src/lib/components/datepicker/utils-v2/warn-once.mjs +12 -0
  467. package/esm2020/src/lib/components/datepicker/yearpicker.component.mjs +121 -0
  468. package/fesm2015/mis-wis-common-src-lib-components-datepicker.mjs +13591 -0
  469. package/fesm2015/mis-wis-common-src-lib-components-datepicker.mjs.map +1 -0
  470. package/fesm2015/mis-wis-common.mjs +13613 -17
  471. package/fesm2015/mis-wis-common.mjs.map +1 -1
  472. package/fesm2020/mis-wis-common-src-lib-components-datepicker.mjs +13604 -0
  473. package/fesm2020/mis-wis-common-src-lib-components-datepicker.mjs.map +1 -0
  474. package/fesm2020/mis-wis-common.mjs +13627 -18
  475. package/fesm2020/mis-wis-common.mjs.map +1 -1
  476. package/lib/components/datepicker/base/bs-datepicker-container.d.ts +44 -0
  477. package/lib/components/datepicker/bs-datepicker-inline.component.d.ts +64 -0
  478. package/lib/components/datepicker/bs-datepicker-inline.config.d.ts +6 -0
  479. package/lib/components/datepicker/bs-datepicker-input.directive.d.ts +33 -0
  480. package/lib/components/datepicker/bs-datepicker.component.d.ts +126 -0
  481. package/lib/components/datepicker/bs-datepicker.config.d.ts +143 -0
  482. package/lib/components/datepicker/bs-datepicker.module.d.ts +29 -0
  483. package/lib/components/datepicker/bs-daterangepicker-inline.component.d.ts +64 -0
  484. package/lib/components/datepicker/bs-daterangepicker-inline.config.d.ts +9 -0
  485. package/lib/components/datepicker/bs-daterangepicker-input.directive.d.ts +33 -0
  486. package/lib/components/datepicker/bs-daterangepicker.component.d.ts +118 -0
  487. package/lib/components/datepicker/bs-daterangepicker.config.d.ts +7 -0
  488. package/lib/components/datepicker/bs-locale.service.d.ts +13 -0
  489. package/lib/components/datepicker/chronos/create/check-overflow.d.ts +2 -0
  490. package/lib/components/datepicker/chronos/create/clone.d.ts +1 -0
  491. package/lib/components/datepicker/chronos/create/date-from-array.d.ts +2 -0
  492. package/lib/components/datepicker/chronos/create/from-anything.d.ts +4 -0
  493. package/lib/components/datepicker/chronos/create/from-array.d.ts +2 -0
  494. package/lib/components/datepicker/chronos/create/from-object.d.ts +2 -0
  495. package/lib/components/datepicker/chronos/create/from-string-and-array.d.ts +2 -0
  496. package/lib/components/datepicker/chronos/create/from-string-and-format.d.ts +4 -0
  497. package/lib/components/datepicker/chronos/create/from-string.d.ts +4 -0
  498. package/lib/components/datepicker/chronos/create/local.d.ts +3 -0
  499. package/lib/components/datepicker/chronos/create/parsing-flags.d.ts +2 -0
  500. package/lib/components/datepicker/chronos/create/parsing.types.d.ts +64 -0
  501. package/lib/components/datepicker/chronos/create/valid.d.ts +6 -0
  502. package/lib/components/datepicker/chronos/duration/bubble.d.ts +4 -0
  503. package/lib/components/datepicker/chronos/duration/constructor.d.ts +21 -0
  504. package/lib/components/datepicker/chronos/duration/create.d.ts +8 -0
  505. package/lib/components/datepicker/chronos/duration/humanize.d.ts +5 -0
  506. package/lib/components/datepicker/chronos/duration/valid.d.ts +2 -0
  507. package/lib/components/datepicker/chronos/format/format.d.ts +11 -0
  508. package/lib/components/datepicker/chronos/format.d.ts +5 -0
  509. package/lib/components/datepicker/chronos/i18n/ar.d.ts +2 -0
  510. package/lib/components/datepicker/chronos/i18n/bg.d.ts +2 -0
  511. package/lib/components/datepicker/chronos/i18n/ca.d.ts +2 -0
  512. package/lib/components/datepicker/chronos/i18n/cs.d.ts +2 -0
  513. package/lib/components/datepicker/chronos/i18n/da.d.ts +2 -0
  514. package/lib/components/datepicker/chronos/i18n/de.d.ts +2 -0
  515. package/lib/components/datepicker/chronos/i18n/en-gb.d.ts +2 -0
  516. package/lib/components/datepicker/chronos/i18n/es-do.d.ts +2 -0
  517. package/lib/components/datepicker/chronos/i18n/es-us.d.ts +2 -0
  518. package/lib/components/datepicker/chronos/i18n/es.d.ts +2 -0
  519. package/lib/components/datepicker/chronos/i18n/et.d.ts +2 -0
  520. package/lib/components/datepicker/chronos/i18n/fi.d.ts +2 -0
  521. package/lib/components/datepicker/chronos/i18n/fr.d.ts +2 -0
  522. package/lib/components/datepicker/chronos/i18n/gl.d.ts +2 -0
  523. package/lib/components/datepicker/chronos/i18n/he.d.ts +2 -0
  524. package/lib/components/datepicker/chronos/i18n/hi.d.ts +2 -0
  525. package/lib/components/datepicker/chronos/i18n/hr.d.ts +2 -0
  526. package/lib/components/datepicker/chronos/i18n/hu.d.ts +2 -0
  527. package/lib/components/datepicker/chronos/i18n/id.d.ts +2 -0
  528. package/lib/components/datepicker/chronos/i18n/it.d.ts +2 -0
  529. package/lib/components/datepicker/chronos/i18n/ja.d.ts +2 -0
  530. package/lib/components/datepicker/chronos/i18n/ka.d.ts +2 -0
  531. package/lib/components/datepicker/chronos/i18n/kk.d.ts +2 -0
  532. package/lib/components/datepicker/chronos/i18n/ko.d.ts +2 -0
  533. package/lib/components/datepicker/chronos/i18n/lt.d.ts +2 -0
  534. package/lib/components/datepicker/chronos/i18n/lv.d.ts +2 -0
  535. package/lib/components/datepicker/chronos/i18n/mn.d.ts +2 -0
  536. package/lib/components/datepicker/chronos/i18n/nb.d.ts +2 -0
  537. package/lib/components/datepicker/chronos/i18n/nl-be.d.ts +2 -0
  538. package/lib/components/datepicker/chronos/i18n/nl.d.ts +2 -0
  539. package/lib/components/datepicker/chronos/i18n/pl.d.ts +2 -0
  540. package/lib/components/datepicker/chronos/i18n/pt-br.d.ts +2 -0
  541. package/lib/components/datepicker/chronos/i18n/ro.d.ts +2 -0
  542. package/lib/components/datepicker/chronos/i18n/ru.d.ts +2 -0
  543. package/lib/components/datepicker/chronos/i18n/sk.d.ts +2 -0
  544. package/lib/components/datepicker/chronos/i18n/sl.d.ts +2 -0
  545. package/lib/components/datepicker/chronos/i18n/sq.d.ts +2 -0
  546. package/lib/components/datepicker/chronos/i18n/sv.d.ts +2 -0
  547. package/lib/components/datepicker/chronos/i18n/th-be.d.ts +2 -0
  548. package/lib/components/datepicker/chronos/i18n/th.d.ts +2 -0
  549. package/lib/components/datepicker/chronos/i18n/tr.d.ts +2 -0
  550. package/lib/components/datepicker/chronos/i18n/uk.d.ts +2 -0
  551. package/lib/components/datepicker/chronos/i18n/vi.d.ts +2 -0
  552. package/lib/components/datepicker/chronos/i18n/zh-cn.d.ts +2 -0
  553. package/lib/components/datepicker/chronos/index.d.ts +1 -0
  554. package/lib/components/datepicker/chronos/locale/calendar.d.ts +8 -0
  555. package/lib/components/datepicker/chronos/locale/locale.class.d.ts +143 -0
  556. package/lib/components/datepicker/chronos/locale/locale.defaults.d.ts +11 -0
  557. package/lib/components/datepicker/chronos/locale/locales.d.ts +7 -0
  558. package/lib/components/datepicker/chronos/moment/add-subtract.d.ts +5 -0
  559. package/lib/components/datepicker/chronos/moment/calendar.d.ts +15 -0
  560. package/lib/components/datepicker/chronos/moment/diff.d.ts +3 -0
  561. package/lib/components/datepicker/chronos/moment/min-max.d.ts +2 -0
  562. package/lib/components/datepicker/chronos/parse/regex.d.ts +22 -0
  563. package/lib/components/datepicker/chronos/parse/token.d.ts +5 -0
  564. package/lib/components/datepicker/chronos/public_api.d.ts +57 -0
  565. package/lib/components/datepicker/chronos/test/chain.d.ts +214 -0
  566. package/lib/components/datepicker/chronos/types.d.ts +36 -0
  567. package/lib/components/datepicker/chronos/units/aliases.d.ts +7 -0
  568. package/lib/components/datepicker/chronos/units/constants.d.ts +9 -0
  569. package/lib/components/datepicker/chronos/units/day-of-month.d.ts +1 -0
  570. package/lib/components/datepicker/chronos/units/day-of-week.d.ts +20 -0
  571. package/lib/components/datepicker/chronos/units/day-of-year.d.ts +3 -0
  572. package/lib/components/datepicker/chronos/units/hour.d.ts +1 -0
  573. package/lib/components/datepicker/chronos/units/index.d.ts +18 -0
  574. package/lib/components/datepicker/chronos/units/millisecond.d.ts +1 -0
  575. package/lib/components/datepicker/chronos/units/minute.d.ts +1 -0
  576. package/lib/components/datepicker/chronos/units/month.d.ts +2 -0
  577. package/lib/components/datepicker/chronos/units/offset.d.ts +10 -0
  578. package/lib/components/datepicker/chronos/units/priorities.d.ts +1 -0
  579. package/lib/components/datepicker/chronos/units/quarter.d.ts +3 -0
  580. package/lib/components/datepicker/chronos/units/second.d.ts +1 -0
  581. package/lib/components/datepicker/chronos/units/timestamp.d.ts +1 -0
  582. package/lib/components/datepicker/chronos/units/timezone.d.ts +3 -0
  583. package/lib/components/datepicker/chronos/units/week-calendar-utils.d.ts +9 -0
  584. package/lib/components/datepicker/chronos/units/week-year.d.ts +8 -0
  585. package/lib/components/datepicker/chronos/units/week.d.ts +6 -0
  586. package/lib/components/datepicker/chronos/units/year.d.ts +4 -0
  587. package/lib/components/datepicker/chronos/utils/abs-ceil.d.ts +1 -0
  588. package/lib/components/datepicker/chronos/utils/abs-round.d.ts +1 -0
  589. package/lib/components/datepicker/chronos/utils/compare-arrays.d.ts +1 -0
  590. package/lib/components/datepicker/chronos/utils/date-compare.d.ts +9 -0
  591. package/lib/components/datepicker/chronos/utils/date-getters.d.ts +18 -0
  592. package/lib/components/datepicker/chronos/utils/date-setters.d.ts +12 -0
  593. package/lib/components/datepicker/chronos/utils/defaults.d.ts +1 -0
  594. package/lib/components/datepicker/chronos/utils/start-end-of.d.ts +3 -0
  595. package/lib/components/datepicker/chronos/utils/type-checks.d.ts +12 -0
  596. package/lib/components/datepicker/chronos/utils/zero-fill.d.ts +1 -0
  597. package/lib/components/datepicker/chronos/utils.d.ts +2 -0
  598. package/lib/components/datepicker/component-loader/bs-component-ref.class.d.ts +5 -0
  599. package/lib/components/datepicker/component-loader/component-loader.class.d.ts +75 -0
  600. package/lib/components/datepicker/component-loader/component-loader.factory.d.ts +21 -0
  601. package/lib/components/datepicker/component-loader/content-ref.class.d.ts +7 -0
  602. package/lib/components/datepicker/component-loader/index.d.ts +1 -0
  603. package/lib/components/datepicker/component-loader/listen-options.model.d.ts +11 -0
  604. package/lib/components/datepicker/component-loader/public_api.d.ts +4 -0
  605. package/lib/components/datepicker/date-formatter.d.ts +3 -0
  606. package/lib/components/datepicker/datepicker-animations.d.ts +3 -0
  607. package/lib/components/datepicker/datepicker-inner.component.d.ts +78 -0
  608. package/lib/components/datepicker/datepicker.component.d.ts +81 -0
  609. package/lib/components/datepicker/datepicker.config.d.ts +22 -0
  610. package/lib/components/datepicker/datepicker.module.d.ts +15 -0
  611. package/lib/components/datepicker/daypicker.component.d.ts +17 -0
  612. package/lib/components/datepicker/engine/calc-days-calendar.d.ts +2 -0
  613. package/lib/components/datepicker/engine/flag-days-calendar.d.ts +17 -0
  614. package/lib/components/datepicker/engine/flag-months-calendar.d.ts +12 -0
  615. package/lib/components/datepicker/engine/flag-years-calendar.d.ts +12 -0
  616. package/lib/components/datepicker/engine/format-days-calendar.d.ts +4 -0
  617. package/lib/components/datepicker/engine/format-months-calendar.d.ts +2 -0
  618. package/lib/components/datepicker/engine/format-years-calendar.d.ts +4 -0
  619. package/lib/components/datepicker/engine/view-mode.d.ts +2 -0
  620. package/lib/components/datepicker/index.d.ts +1 -0
  621. package/lib/components/datepicker/mini-ngrx/index.d.ts +1 -0
  622. package/lib/components/datepicker/mini-ngrx/public_api.d.ts +7 -0
  623. package/lib/components/datepicker/mini-ngrx/state.class.d.ts +8 -0
  624. package/lib/components/datepicker/mini-ngrx/store.class.d.ts +16 -0
  625. package/lib/components/datepicker/models/index.d.ts +102 -0
  626. package/lib/components/datepicker/monthpicker.component.d.ts +14 -0
  627. package/lib/components/datepicker/positioning/index.d.ts +1 -0
  628. package/lib/components/datepicker/positioning/models/index.d.ts +41 -0
  629. package/lib/components/datepicker/positioning/modifiers/arrow.d.ts +2 -0
  630. package/lib/components/datepicker/positioning/modifiers/flip.d.ts +2 -0
  631. package/lib/components/datepicker/positioning/modifiers/index.d.ts +5 -0
  632. package/lib/components/datepicker/positioning/modifiers/initData.d.ts +2 -0
  633. package/lib/components/datepicker/positioning/modifiers/preventOverflow.d.ts +2 -0
  634. package/lib/components/datepicker/positioning/modifiers/shift.d.ts +2 -0
  635. package/lib/components/datepicker/positioning/ng-positioning.d.ts +8 -0
  636. package/lib/components/datepicker/positioning/positioning.service.d.ts +48 -0
  637. package/lib/components/datepicker/positioning/public_api.d.ts +2 -0
  638. package/lib/components/datepicker/positioning/utils/computeAutoPlacement.d.ts +2 -0
  639. package/lib/components/datepicker/positioning/utils/findCommonOffsetParent.d.ts +1 -0
  640. package/lib/components/datepicker/positioning/utils/getBordersSize.d.ts +4 -0
  641. package/lib/components/datepicker/positioning/utils/getBoundaries.d.ts +1 -0
  642. package/lib/components/datepicker/positioning/utils/getBoundingClientRect.d.ts +2 -0
  643. package/lib/components/datepicker/positioning/utils/getClientRect.d.ts +5 -0
  644. package/lib/components/datepicker/positioning/utils/getFixedPositionOffsetParent.d.ts +4 -0
  645. package/lib/components/datepicker/positioning/utils/getOffsetParent.d.ts +1 -0
  646. package/lib/components/datepicker/positioning/utils/getOffsetRectRelativeToArbitraryNode.d.ts +2 -0
  647. package/lib/components/datepicker/positioning/utils/getOffsets.d.ts +2 -0
  648. package/lib/components/datepicker/positioning/utils/getOppositePlacement.d.ts +4 -0
  649. package/lib/components/datepicker/positioning/utils/getOppositeVariation.d.ts +4 -0
  650. package/lib/components/datepicker/positioning/utils/getOuterSizes.d.ts +7 -0
  651. package/lib/components/datepicker/positioning/utils/getParentNode.d.ts +4 -0
  652. package/lib/components/datepicker/positioning/utils/getReferenceOffsets.d.ts +2 -0
  653. package/lib/components/datepicker/positioning/utils/getRoot.d.ts +4 -0
  654. package/lib/components/datepicker/positioning/utils/getScroll.d.ts +4 -0
  655. package/lib/components/datepicker/positioning/utils/getScrollParent.d.ts +1 -0
  656. package/lib/components/datepicker/positioning/utils/getStyleComputedProperty.d.ts +4 -0
  657. package/lib/components/datepicker/positioning/utils/getTargetOffsets.d.ts +2 -0
  658. package/lib/components/datepicker/positioning/utils/getViewportOffsetRectRelativeToArtbitraryNode.d.ts +2 -0
  659. package/lib/components/datepicker/positioning/utils/getWindowSizes.d.ts +4 -0
  660. package/lib/components/datepicker/positioning/utils/includeScroll.d.ts +2 -0
  661. package/lib/components/datepicker/positioning/utils/index.d.ts +23 -0
  662. package/lib/components/datepicker/positioning/utils/isBrowser.d.ts +1 -0
  663. package/lib/components/datepicker/positioning/utils/isFixed.d.ts +1 -0
  664. package/lib/components/datepicker/positioning/utils/isIE.d.ts +1 -0
  665. package/lib/components/datepicker/positioning/utils/isModifierEnabled.d.ts +4 -0
  666. package/lib/components/datepicker/positioning/utils/isNumeric.d.ts +4 -0
  667. package/lib/components/datepicker/positioning/utils/isOffsetContainer.d.ts +1 -0
  668. package/lib/components/datepicker/positioning/utils/setStyles.d.ts +5 -0
  669. package/lib/components/datepicker/positioning/utils/updateContainerClass.d.ts +6 -0
  670. package/lib/components/datepicker/public_api.d.ts +25 -0
  671. package/lib/components/datepicker/reducer/_defaults.d.ts +2 -0
  672. package/lib/components/datepicker/reducer/bs-datepicker.actions.d.ts +46 -0
  673. package/lib/components/datepicker/reducer/bs-datepicker.effects.d.ts +41 -0
  674. package/lib/components/datepicker/reducer/bs-datepicker.reducer.d.ts +3 -0
  675. package/lib/components/datepicker/reducer/bs-datepicker.state.d.ts +43 -0
  676. package/lib/components/datepicker/reducer/bs-datepicker.store.d.ts +8 -0
  677. package/lib/components/datepicker/themes/bs/bs-calendar-layout.component.d.ts +5 -0
  678. package/lib/components/datepicker/themes/bs/bs-current-date-view.component.d.ts +6 -0
  679. package/lib/components/datepicker/themes/bs/bs-custom-dates-view.component.d.ts +17 -0
  680. package/lib/components/datepicker/themes/bs/bs-datepicker-container.component.d.ts +36 -0
  681. package/lib/components/datepicker/themes/bs/bs-datepicker-day-decorator.directive.d.ts +14 -0
  682. package/lib/components/datepicker/themes/bs/bs-datepicker-inline-container.component.d.ts +13 -0
  683. package/lib/components/datepicker/themes/bs/bs-datepicker-navigation-view.component.d.ts +12 -0
  684. package/lib/components/datepicker/themes/bs/bs-daterangepicker-container.component.d.ts +40 -0
  685. package/lib/components/datepicker/themes/bs/bs-daterangepicker-inline-container.component.d.ts +13 -0
  686. package/lib/components/datepicker/themes/bs/bs-days-calendar-view.component.d.ts +26 -0
  687. package/lib/components/datepicker/themes/bs/bs-months-calendar-view.component.d.ts +16 -0
  688. package/lib/components/datepicker/themes/bs/bs-timepicker-view.component.d.ts +8 -0
  689. package/lib/components/datepicker/themes/bs/bs-years-calendar-view.component.d.ts +16 -0
  690. package/lib/components/datepicker/utils/bs-calendar-utils.d.ts +10 -0
  691. package/lib/components/datepicker/utils/matrix-utils.d.ts +9 -0
  692. package/lib/components/datepicker/utils-v2/decorators.d.ts +1 -0
  693. package/lib/components/datepicker/utils-v2/facade/browser.d.ts +23 -0
  694. package/lib/components/datepicker/utils-v2/index.d.ts +1 -0
  695. package/lib/components/datepicker/utils-v2/linked-list.class.d.ts +26 -0
  696. package/lib/components/datepicker/utils-v2/public_api.d.ts +10 -0
  697. package/lib/components/datepicker/utils-v2/theme-provider.d.ts +2 -0
  698. package/lib/components/datepicker/utils-v2/trigger.class.d.ts +6 -0
  699. package/lib/components/datepicker/utils-v2/triggers.d.ts +18 -0
  700. package/lib/components/datepicker/utils-v2/utils.class.d.ts +4 -0
  701. package/lib/components/datepicker/utils-v2/warn-once.d.ts +1 -0
  702. package/lib/components/datepicker/yearpicker.component.d.ts +14 -0
  703. package/lib/constants/release.constants.d.ts +1 -0
  704. package/lib/functions/utility.functions.d.ts +1 -0
  705. package/lib/models/configurations.model.d.ts +2 -0
  706. package/lib/services/mfe-communication.service.d.ts +2 -1
  707. package/package.json +9 -1
  708. package/public-api.d.ts +3 -0
  709. package/src/lib/components/datepicker/base/bs-datepicker-container.d.ts +44 -0
  710. package/src/lib/components/datepicker/bs-datepicker-inline.component.d.ts +64 -0
  711. package/src/lib/components/datepicker/bs-datepicker-inline.config.d.ts +6 -0
  712. package/src/lib/components/datepicker/bs-datepicker-input.directive.d.ts +33 -0
  713. package/src/lib/components/datepicker/bs-datepicker.component.d.ts +126 -0
  714. package/src/lib/components/datepicker/bs-datepicker.config.d.ts +143 -0
  715. package/src/lib/components/datepicker/bs-datepicker.module.d.ts +29 -0
  716. package/src/lib/components/datepicker/bs-daterangepicker-inline.component.d.ts +64 -0
  717. package/src/lib/components/datepicker/bs-daterangepicker-inline.config.d.ts +9 -0
  718. package/src/lib/components/datepicker/bs-daterangepicker-input.directive.d.ts +33 -0
  719. package/src/lib/components/datepicker/bs-daterangepicker.component.d.ts +118 -0
  720. package/src/lib/components/datepicker/bs-daterangepicker.config.d.ts +7 -0
  721. package/src/lib/components/datepicker/bs-locale.service.d.ts +13 -0
  722. package/src/lib/components/datepicker/chronos/create/check-overflow.d.ts +2 -0
  723. package/src/lib/components/datepicker/chronos/create/clone.d.ts +1 -0
  724. package/src/lib/components/datepicker/chronos/create/date-from-array.d.ts +2 -0
  725. package/src/lib/components/datepicker/chronos/create/from-anything.d.ts +4 -0
  726. package/src/lib/components/datepicker/chronos/create/from-array.d.ts +2 -0
  727. package/src/lib/components/datepicker/chronos/create/from-object.d.ts +2 -0
  728. package/src/lib/components/datepicker/chronos/create/from-string-and-array.d.ts +2 -0
  729. package/src/lib/components/datepicker/chronos/create/from-string-and-format.d.ts +4 -0
  730. package/src/lib/components/datepicker/chronos/create/from-string.d.ts +4 -0
  731. package/src/lib/components/datepicker/chronos/create/local.d.ts +3 -0
  732. package/src/lib/components/datepicker/chronos/create/parsing-flags.d.ts +2 -0
  733. package/src/lib/components/datepicker/chronos/create/parsing.types.d.ts +64 -0
  734. package/src/lib/components/datepicker/chronos/create/valid.d.ts +6 -0
  735. package/src/lib/components/datepicker/chronos/duration/bubble.d.ts +4 -0
  736. package/src/lib/components/datepicker/chronos/duration/constructor.d.ts +21 -0
  737. package/src/lib/components/datepicker/chronos/duration/create.d.ts +8 -0
  738. package/src/lib/components/datepicker/chronos/duration/humanize.d.ts +5 -0
  739. package/src/lib/components/datepicker/chronos/duration/valid.d.ts +2 -0
  740. package/src/lib/components/datepicker/chronos/format/format.d.ts +11 -0
  741. package/src/lib/components/datepicker/chronos/format.d.ts +5 -0
  742. package/src/lib/components/datepicker/chronos/i18n/ar.d.ts +2 -0
  743. package/src/lib/components/datepicker/chronos/i18n/bg.d.ts +2 -0
  744. package/src/lib/components/datepicker/chronos/i18n/ca.d.ts +2 -0
  745. package/src/lib/components/datepicker/chronos/i18n/cs.d.ts +2 -0
  746. package/src/lib/components/datepicker/chronos/i18n/da.d.ts +2 -0
  747. package/src/lib/components/datepicker/chronos/i18n/de.d.ts +2 -0
  748. package/src/lib/components/datepicker/chronos/i18n/en-gb.d.ts +2 -0
  749. package/src/lib/components/datepicker/chronos/i18n/es-do.d.ts +2 -0
  750. package/src/lib/components/datepicker/chronos/i18n/es-us.d.ts +2 -0
  751. package/src/lib/components/datepicker/chronos/i18n/es.d.ts +2 -0
  752. package/src/lib/components/datepicker/chronos/i18n/et.d.ts +2 -0
  753. package/src/lib/components/datepicker/chronos/i18n/fi.d.ts +2 -0
  754. package/src/lib/components/datepicker/chronos/i18n/fr.d.ts +2 -0
  755. package/src/lib/components/datepicker/chronos/i18n/gl.d.ts +2 -0
  756. package/src/lib/components/datepicker/chronos/i18n/he.d.ts +2 -0
  757. package/src/lib/components/datepicker/chronos/i18n/hi.d.ts +2 -0
  758. package/src/lib/components/datepicker/chronos/i18n/hr.d.ts +2 -0
  759. package/src/lib/components/datepicker/chronos/i18n/hu.d.ts +2 -0
  760. package/src/lib/components/datepicker/chronos/i18n/id.d.ts +2 -0
  761. package/src/lib/components/datepicker/chronos/i18n/it.d.ts +2 -0
  762. package/src/lib/components/datepicker/chronos/i18n/ja.d.ts +2 -0
  763. package/src/lib/components/datepicker/chronos/i18n/ka.d.ts +2 -0
  764. package/src/lib/components/datepicker/chronos/i18n/kk.d.ts +2 -0
  765. package/src/lib/components/datepicker/chronos/i18n/ko.d.ts +2 -0
  766. package/src/lib/components/datepicker/chronos/i18n/lt.d.ts +2 -0
  767. package/src/lib/components/datepicker/chronos/i18n/lv.d.ts +2 -0
  768. package/src/lib/components/datepicker/chronos/i18n/mn.d.ts +2 -0
  769. package/src/lib/components/datepicker/chronos/i18n/nb.d.ts +2 -0
  770. package/src/lib/components/datepicker/chronos/i18n/nl-be.d.ts +2 -0
  771. package/src/lib/components/datepicker/chronos/i18n/nl.d.ts +2 -0
  772. package/src/lib/components/datepicker/chronos/i18n/pl.d.ts +2 -0
  773. package/src/lib/components/datepicker/chronos/i18n/pt-br.d.ts +2 -0
  774. package/src/lib/components/datepicker/chronos/i18n/ro.d.ts +2 -0
  775. package/src/lib/components/datepicker/chronos/i18n/ru.d.ts +2 -0
  776. package/src/lib/components/datepicker/chronos/i18n/sk.d.ts +2 -0
  777. package/src/lib/components/datepicker/chronos/i18n/sl.d.ts +2 -0
  778. package/src/lib/components/datepicker/chronos/i18n/sq.d.ts +2 -0
  779. package/src/lib/components/datepicker/chronos/i18n/sv.d.ts +2 -0
  780. package/src/lib/components/datepicker/chronos/i18n/th-be.d.ts +2 -0
  781. package/src/lib/components/datepicker/chronos/i18n/th.d.ts +2 -0
  782. package/src/lib/components/datepicker/chronos/i18n/tr.d.ts +2 -0
  783. package/src/lib/components/datepicker/chronos/i18n/uk.d.ts +2 -0
  784. package/src/lib/components/datepicker/chronos/i18n/vi.d.ts +2 -0
  785. package/src/lib/components/datepicker/chronos/i18n/zh-cn.d.ts +2 -0
  786. package/src/lib/components/datepicker/chronos/index.d.ts +1 -0
  787. package/src/lib/components/datepicker/chronos/locale/calendar.d.ts +8 -0
  788. package/src/lib/components/datepicker/chronos/locale/locale.class.d.ts +143 -0
  789. package/src/lib/components/datepicker/chronos/locale/locale.defaults.d.ts +11 -0
  790. package/src/lib/components/datepicker/chronos/locale/locales.d.ts +7 -0
  791. package/src/lib/components/datepicker/chronos/moment/add-subtract.d.ts +5 -0
  792. package/src/lib/components/datepicker/chronos/moment/calendar.d.ts +15 -0
  793. package/src/lib/components/datepicker/chronos/moment/diff.d.ts +3 -0
  794. package/src/lib/components/datepicker/chronos/moment/min-max.d.ts +2 -0
  795. package/src/lib/components/datepicker/chronos/parse/regex.d.ts +22 -0
  796. package/src/lib/components/datepicker/chronos/parse/token.d.ts +5 -0
  797. package/src/lib/components/datepicker/chronos/public_api.d.ts +57 -0
  798. package/src/lib/components/datepicker/chronos/test/chain.d.ts +214 -0
  799. package/src/lib/components/datepicker/chronos/types.d.ts +36 -0
  800. package/src/lib/components/datepicker/chronos/units/aliases.d.ts +7 -0
  801. package/src/lib/components/datepicker/chronos/units/constants.d.ts +9 -0
  802. package/src/lib/components/datepicker/chronos/units/day-of-month.d.ts +1 -0
  803. package/src/lib/components/datepicker/chronos/units/day-of-week.d.ts +20 -0
  804. package/src/lib/components/datepicker/chronos/units/day-of-year.d.ts +3 -0
  805. package/src/lib/components/datepicker/chronos/units/hour.d.ts +1 -0
  806. package/src/lib/components/datepicker/chronos/units/index.d.ts +18 -0
  807. package/src/lib/components/datepicker/chronos/units/millisecond.d.ts +1 -0
  808. package/src/lib/components/datepicker/chronos/units/minute.d.ts +1 -0
  809. package/src/lib/components/datepicker/chronos/units/month.d.ts +2 -0
  810. package/src/lib/components/datepicker/chronos/units/offset.d.ts +10 -0
  811. package/src/lib/components/datepicker/chronos/units/priorities.d.ts +1 -0
  812. package/src/lib/components/datepicker/chronos/units/quarter.d.ts +3 -0
  813. package/src/lib/components/datepicker/chronos/units/second.d.ts +1 -0
  814. package/src/lib/components/datepicker/chronos/units/timestamp.d.ts +1 -0
  815. package/src/lib/components/datepicker/chronos/units/timezone.d.ts +3 -0
  816. package/src/lib/components/datepicker/chronos/units/week-calendar-utils.d.ts +9 -0
  817. package/src/lib/components/datepicker/chronos/units/week-year.d.ts +8 -0
  818. package/src/lib/components/datepicker/chronos/units/week.d.ts +6 -0
  819. package/src/lib/components/datepicker/chronos/units/year.d.ts +4 -0
  820. package/src/lib/components/datepicker/chronos/utils/abs-ceil.d.ts +1 -0
  821. package/src/lib/components/datepicker/chronos/utils/abs-round.d.ts +1 -0
  822. package/src/lib/components/datepicker/chronos/utils/compare-arrays.d.ts +1 -0
  823. package/src/lib/components/datepicker/chronos/utils/date-compare.d.ts +9 -0
  824. package/src/lib/components/datepicker/chronos/utils/date-getters.d.ts +18 -0
  825. package/src/lib/components/datepicker/chronos/utils/date-setters.d.ts +12 -0
  826. package/src/lib/components/datepicker/chronos/utils/defaults.d.ts +1 -0
  827. package/src/lib/components/datepicker/chronos/utils/start-end-of.d.ts +3 -0
  828. package/src/lib/components/datepicker/chronos/utils/type-checks.d.ts +12 -0
  829. package/src/lib/components/datepicker/chronos/utils/zero-fill.d.ts +1 -0
  830. package/src/lib/components/datepicker/chronos/utils.d.ts +2 -0
  831. package/src/lib/components/datepicker/component-loader/bs-component-ref.class.d.ts +5 -0
  832. package/src/lib/components/datepicker/component-loader/component-loader.class.d.ts +75 -0
  833. package/src/lib/components/datepicker/component-loader/component-loader.factory.d.ts +21 -0
  834. package/src/lib/components/datepicker/component-loader/content-ref.class.d.ts +7 -0
  835. package/src/lib/components/datepicker/component-loader/index.d.ts +1 -0
  836. package/src/lib/components/datepicker/component-loader/listen-options.model.d.ts +11 -0
  837. package/src/lib/components/datepicker/component-loader/public_api.d.ts +4 -0
  838. package/src/lib/components/datepicker/date-formatter.d.ts +3 -0
  839. package/src/lib/components/datepicker/datepicker-animations.d.ts +3 -0
  840. package/src/lib/components/datepicker/datepicker-inner.component.d.ts +78 -0
  841. package/src/lib/components/datepicker/datepicker.component.d.ts +81 -0
  842. package/src/lib/components/datepicker/datepicker.config.d.ts +22 -0
  843. package/src/lib/components/datepicker/datepicker.module.d.ts +15 -0
  844. package/src/lib/components/datepicker/daypicker.component.d.ts +17 -0
  845. package/src/lib/components/datepicker/engine/calc-days-calendar.d.ts +2 -0
  846. package/src/lib/components/datepicker/engine/flag-days-calendar.d.ts +17 -0
  847. package/src/lib/components/datepicker/engine/flag-months-calendar.d.ts +12 -0
  848. package/src/lib/components/datepicker/engine/flag-years-calendar.d.ts +12 -0
  849. package/src/lib/components/datepicker/engine/format-days-calendar.d.ts +4 -0
  850. package/src/lib/components/datepicker/engine/format-months-calendar.d.ts +2 -0
  851. package/src/lib/components/datepicker/engine/format-years-calendar.d.ts +4 -0
  852. package/src/lib/components/datepicker/engine/view-mode.d.ts +2 -0
  853. package/src/lib/components/datepicker/index.d.ts +1 -0
  854. package/src/lib/components/datepicker/mini-ngrx/index.d.ts +1 -0
  855. package/src/lib/components/datepicker/mini-ngrx/public_api.d.ts +7 -0
  856. package/src/lib/components/datepicker/mini-ngrx/state.class.d.ts +8 -0
  857. package/src/lib/components/datepicker/mini-ngrx/store.class.d.ts +16 -0
  858. package/src/lib/components/datepicker/models/index.d.ts +102 -0
  859. package/src/lib/components/datepicker/monthpicker.component.d.ts +14 -0
  860. package/src/lib/components/datepicker/positioning/index.d.ts +1 -0
  861. package/src/lib/components/datepicker/positioning/models/index.d.ts +41 -0
  862. package/src/lib/components/datepicker/positioning/modifiers/arrow.d.ts +2 -0
  863. package/src/lib/components/datepicker/positioning/modifiers/flip.d.ts +2 -0
  864. package/src/lib/components/datepicker/positioning/modifiers/index.d.ts +5 -0
  865. package/src/lib/components/datepicker/positioning/modifiers/initData.d.ts +2 -0
  866. package/src/lib/components/datepicker/positioning/modifiers/preventOverflow.d.ts +2 -0
  867. package/src/lib/components/datepicker/positioning/modifiers/shift.d.ts +2 -0
  868. package/src/lib/components/datepicker/positioning/ng-positioning.d.ts +8 -0
  869. package/src/lib/components/datepicker/positioning/positioning.service.d.ts +48 -0
  870. package/src/lib/components/datepicker/positioning/public_api.d.ts +2 -0
  871. package/src/lib/components/datepicker/positioning/utils/computeAutoPlacement.d.ts +2 -0
  872. package/src/lib/components/datepicker/positioning/utils/findCommonOffsetParent.d.ts +1 -0
  873. package/src/lib/components/datepicker/positioning/utils/getBordersSize.d.ts +4 -0
  874. package/src/lib/components/datepicker/positioning/utils/getBoundaries.d.ts +1 -0
  875. package/src/lib/components/datepicker/positioning/utils/getBoundingClientRect.d.ts +2 -0
  876. package/src/lib/components/datepicker/positioning/utils/getClientRect.d.ts +5 -0
  877. package/src/lib/components/datepicker/positioning/utils/getFixedPositionOffsetParent.d.ts +4 -0
  878. package/src/lib/components/datepicker/positioning/utils/getOffsetParent.d.ts +1 -0
  879. package/src/lib/components/datepicker/positioning/utils/getOffsetRectRelativeToArbitraryNode.d.ts +2 -0
  880. package/src/lib/components/datepicker/positioning/utils/getOffsets.d.ts +2 -0
  881. package/src/lib/components/datepicker/positioning/utils/getOppositePlacement.d.ts +4 -0
  882. package/src/lib/components/datepicker/positioning/utils/getOppositeVariation.d.ts +4 -0
  883. package/src/lib/components/datepicker/positioning/utils/getOuterSizes.d.ts +7 -0
  884. package/src/lib/components/datepicker/positioning/utils/getParentNode.d.ts +4 -0
  885. package/src/lib/components/datepicker/positioning/utils/getReferenceOffsets.d.ts +2 -0
  886. package/src/lib/components/datepicker/positioning/utils/getRoot.d.ts +4 -0
  887. package/src/lib/components/datepicker/positioning/utils/getScroll.d.ts +4 -0
  888. package/src/lib/components/datepicker/positioning/utils/getScrollParent.d.ts +1 -0
  889. package/src/lib/components/datepicker/positioning/utils/getStyleComputedProperty.d.ts +4 -0
  890. package/src/lib/components/datepicker/positioning/utils/getTargetOffsets.d.ts +2 -0
  891. package/src/lib/components/datepicker/positioning/utils/getViewportOffsetRectRelativeToArtbitraryNode.d.ts +2 -0
  892. package/src/lib/components/datepicker/positioning/utils/getWindowSizes.d.ts +4 -0
  893. package/src/lib/components/datepicker/positioning/utils/includeScroll.d.ts +2 -0
  894. package/src/lib/components/datepicker/positioning/utils/index.d.ts +23 -0
  895. package/src/lib/components/datepicker/positioning/utils/isBrowser.d.ts +1 -0
  896. package/src/lib/components/datepicker/positioning/utils/isFixed.d.ts +1 -0
  897. package/src/lib/components/datepicker/positioning/utils/isIE.d.ts +1 -0
  898. package/src/lib/components/datepicker/positioning/utils/isModifierEnabled.d.ts +4 -0
  899. package/src/lib/components/datepicker/positioning/utils/isNumeric.d.ts +4 -0
  900. package/src/lib/components/datepicker/positioning/utils/isOffsetContainer.d.ts +1 -0
  901. package/src/lib/components/datepicker/positioning/utils/setStyles.d.ts +5 -0
  902. package/src/lib/components/datepicker/positioning/utils/updateContainerClass.d.ts +6 -0
  903. package/src/lib/components/datepicker/public_api.d.ts +25 -0
  904. package/src/lib/components/datepicker/reducer/_defaults.d.ts +2 -0
  905. package/src/lib/components/datepicker/reducer/bs-datepicker.actions.d.ts +46 -0
  906. package/src/lib/components/datepicker/reducer/bs-datepicker.effects.d.ts +41 -0
  907. package/src/lib/components/datepicker/reducer/bs-datepicker.reducer.d.ts +3 -0
  908. package/src/lib/components/datepicker/reducer/bs-datepicker.state.d.ts +43 -0
  909. package/src/lib/components/datepicker/reducer/bs-datepicker.store.d.ts +8 -0
  910. package/src/lib/components/datepicker/themes/bs/bs-calendar-layout.component.d.ts +5 -0
  911. package/src/lib/components/datepicker/themes/bs/bs-current-date-view.component.d.ts +6 -0
  912. package/src/lib/components/datepicker/themes/bs/bs-custom-dates-view.component.d.ts +17 -0
  913. package/src/lib/components/datepicker/themes/bs/bs-datepicker-container.component.d.ts +36 -0
  914. package/src/lib/components/datepicker/themes/bs/bs-datepicker-day-decorator.directive.d.ts +14 -0
  915. package/src/lib/components/datepicker/themes/bs/bs-datepicker-inline-container.component.d.ts +13 -0
  916. package/src/lib/components/datepicker/themes/bs/bs-datepicker-navigation-view.component.d.ts +12 -0
  917. package/src/lib/components/datepicker/themes/bs/bs-daterangepicker-container.component.d.ts +40 -0
  918. package/src/lib/components/datepicker/themes/bs/bs-daterangepicker-inline-container.component.d.ts +13 -0
  919. package/src/lib/components/datepicker/themes/bs/bs-days-calendar-view.component.d.ts +26 -0
  920. package/src/lib/components/datepicker/themes/bs/bs-months-calendar-view.component.d.ts +16 -0
  921. package/src/lib/components/datepicker/themes/bs/bs-timepicker-view.component.d.ts +8 -0
  922. package/src/lib/components/datepicker/themes/bs/bs-years-calendar-view.component.d.ts +16 -0
  923. package/src/lib/components/datepicker/utils/bs-calendar-utils.d.ts +10 -0
  924. package/src/lib/components/datepicker/utils/matrix-utils.d.ts +9 -0
  925. package/src/lib/components/datepicker/utils-v2/decorators.d.ts +1 -0
  926. package/src/lib/components/datepicker/utils-v2/facade/browser.d.ts +23 -0
  927. package/src/lib/components/datepicker/utils-v2/index.d.ts +1 -0
  928. package/src/lib/components/datepicker/utils-v2/linked-list.class.d.ts +26 -0
  929. package/src/lib/components/datepicker/utils-v2/public_api.d.ts +10 -0
  930. package/src/lib/components/datepicker/utils-v2/theme-provider.d.ts +2 -0
  931. package/src/lib/components/datepicker/utils-v2/trigger.class.d.ts +6 -0
  932. package/src/lib/components/datepicker/utils-v2/triggers.d.ts +18 -0
  933. package/src/lib/components/datepicker/utils-v2/utils.class.d.ts +4 -0
  934. package/src/lib/components/datepicker/utils-v2/warn-once.d.ts +1 -0
  935. package/src/lib/components/datepicker/yearpicker.component.d.ts +14 -0
  936. package/styles.scss +0 -3
@@ -0,0 +1,194 @@
1
+ import { Component, ElementRef, EventEmitter, Renderer2 } from '@angular/core';
2
+ import { take } from 'rxjs/operators';
3
+ import { getFullYear, getMonth } from '../../chronos';
4
+ import { PositioningService } from '../../positioning';
5
+ import { MisDatePickerAbstractComponent } from '../../base/bs-datepicker-container';
6
+ import { MisDatePickerConfig } from '../../bs-datepicker.config';
7
+ import { MisDatePickerActions } from '../../reducer/bs-datepicker.actions';
8
+ import { MisDatePickerEffects } from '../../reducer/bs-datepicker.effects';
9
+ import { MisDatePickerStore } from '../../reducer/bs-datepicker.store';
10
+ import { datepickerAnimation } from '../../datepicker-animations';
11
+ import * as i0 from "@angular/core";
12
+ import * as i1 from "../../bs-datepicker.config";
13
+ import * as i2 from "../../reducer/bs-datepicker.store";
14
+ import * as i3 from "../../reducer/bs-datepicker.actions";
15
+ import * as i4 from "../../reducer/bs-datepicker.effects";
16
+ import * as i5 from "../../positioning";
17
+ import * as i6 from "@angular/common";
18
+ import * as i7 from "./bs-custom-dates-view.component";
19
+ import * as i8 from "./bs-days-calendar-view.component";
20
+ import * as i9 from "./bs-months-calendar-view.component";
21
+ import * as i10 from "./bs-years-calendar-view.component";
22
+ export class MisDateRangePickerContainerComponent extends MisDatePickerAbstractComponent {
23
+ constructor(_renderer, _config, _store, _element, _actions, _effects, _positionService) {
24
+ super();
25
+ this._renderer = _renderer;
26
+ this._config = _config;
27
+ this._store = _store;
28
+ this._element = _element;
29
+ this._actions = _actions;
30
+ this._positionService = _positionService;
31
+ this.valueChange = new EventEmitter();
32
+ this.animationState = 'void';
33
+ this._rangeStack = [];
34
+ this.chosenRange = [];
35
+ this._subs = [];
36
+ this._effects = _effects;
37
+ this.customRanges = this._config.ranges;
38
+ this.customRangeBtnLbl = this._config.customRangeButtonLabel;
39
+ _renderer.setStyle(_element.nativeElement, 'display', 'block');
40
+ _renderer.setStyle(_element.nativeElement, 'position', 'absolute');
41
+ }
42
+ set value(value) {
43
+ this._effects.setRangeValue(value);
44
+ }
45
+ ngOnInit() {
46
+ this._positionService.setOptions({
47
+ modifiers: { flip: { enabled: this._config.adaptivePosition } },
48
+ allowedPositions: ['top', 'bottom']
49
+ });
50
+ this._positionService.event$
51
+ .pipe(take(1))
52
+ .subscribe(() => {
53
+ this._positionService.disable();
54
+ if (this._config.isAnimated) {
55
+ this.animationState = this.isTopPosition ? 'animated-up' : 'animated-down';
56
+ return;
57
+ }
58
+ this.animationState = 'unanimated';
59
+ });
60
+ this.containerClass = this._config.containerClass;
61
+ this.isOtherMonthsActive = this._config.selectFromOtherMonth;
62
+ this._effects
63
+ .init(this._store)
64
+ // intial state options
65
+ // todo: fix this, split configs
66
+ .setOptions(this._config)
67
+ // data binding view --> model
68
+ .setBindings(this)
69
+ // set event handlers
70
+ .setEventHandlers(this)
71
+ .registerDatePickerSideEffects();
72
+ // todo: move it somewhere else
73
+ // on selected date change
74
+ this._subs.push(this._store
75
+ .select(state => state.selectedRange)
76
+ .subscribe(date => {
77
+ this.chosenRange = date;
78
+ if (this._config.emitOnDateRangeSelect) {
79
+ this.valueChange.emit(date);
80
+ }
81
+ }));
82
+ }
83
+ get isTopPosition() {
84
+ return this._element.nativeElement.classList.contains('top');
85
+ }
86
+ positionServiceEnable() {
87
+ this._positionService.enable();
88
+ }
89
+ daySelectHandler(day) {
90
+ if (!day) {
91
+ return;
92
+ }
93
+ const isDisabled = this.isOtherMonthsActive ? day.isDisabled : (day.isOtherMonth || day.isDisabled);
94
+ if (isDisabled) {
95
+ return;
96
+ }
97
+ this.rangesProcessing(day);
98
+ }
99
+ dayApplyHandler(day) {
100
+ this.valueChange.emit(this.chosenRange);
101
+ }
102
+ monthSelectHandler(day) {
103
+ if (!day) {
104
+ return;
105
+ }
106
+ day.isSelected = true;
107
+ if (this._config.minMode !== 'month') {
108
+ if (day.isDisabled) {
109
+ return;
110
+ }
111
+ this._store.dispatch(this._actions.navigateTo({
112
+ unit: {
113
+ month: getMonth(day.date),
114
+ year: getFullYear(day.date)
115
+ },
116
+ viewMode: 'day'
117
+ }));
118
+ return;
119
+ }
120
+ this.rangesProcessing(day);
121
+ }
122
+ yearSelectHandler(day) {
123
+ if (!day) {
124
+ return;
125
+ }
126
+ day.isSelected = true;
127
+ if (this._config.minMode !== 'year') {
128
+ if (day.isDisabled) {
129
+ return;
130
+ }
131
+ this._store.dispatch(this._actions.navigateTo({
132
+ unit: {
133
+ year: getFullYear(day.date)
134
+ },
135
+ viewMode: 'month'
136
+ }));
137
+ return;
138
+ }
139
+ this.rangesProcessing(day);
140
+ }
141
+ rangesProcessing(day) {
142
+ // if only one date is already selected
143
+ // and user clicks on previous date
144
+ // start selection from new date
145
+ // but if new date is after initial one
146
+ // than finish selection
147
+ if (this._rangeStack.length === 1) {
148
+ this._rangeStack =
149
+ day.date >= this._rangeStack[0]
150
+ ? [this._rangeStack[0], day.date]
151
+ : [day.date];
152
+ }
153
+ if (this._rangeStack.length === 0) {
154
+ this._rangeStack = [day.date];
155
+ if (this._config.maxDateRange) {
156
+ this.setMaxDateRangeOnCalendar(day.date);
157
+ }
158
+ }
159
+ this._store.dispatch(this._actions.selectRange(this._rangeStack));
160
+ if (this._rangeStack.length === 2) {
161
+ this._rangeStack = [];
162
+ }
163
+ }
164
+ ngOnDestroy() {
165
+ for (const sub of this._subs) {
166
+ sub.unsubscribe();
167
+ }
168
+ this._effects.destroy();
169
+ }
170
+ cancel() {
171
+ this._renderer.setStyle(this._element.nativeElement, 'display', 'none');
172
+ }
173
+ setRangeOnCalendar(dates) {
174
+ this._rangeStack = (dates === null) ? [] : (dates.value instanceof Date ? [dates.value] : dates.value);
175
+ this._store.dispatch(this._actions.selectRange(this._rangeStack));
176
+ }
177
+ setMaxDateRangeOnCalendar(currentSelection) {
178
+ const maxDateRange = new Date(currentSelection);
179
+ maxDateRange.setDate(currentSelection.getDate() + this._config.maxDateRange);
180
+ this._effects.setMaxDate(maxDateRange);
181
+ }
182
+ }
183
+ MisDateRangePickerContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MisDateRangePickerContainerComponent, deps: [{ token: i0.Renderer2 }, { token: i1.MisDatePickerConfig }, { token: i2.MisDatePickerStore }, { token: i0.ElementRef }, { token: i3.MisDatePickerActions }, { token: i4.MisDatePickerEffects }, { token: i5.PositioningService }], target: i0.ɵɵFactoryTarget.Component });
184
+ MisDateRangePickerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: MisDateRangePickerContainerComponent, selector: "mis-daterangepicker-container", host: { attributes: { "role": "dialog", "aria-label": "calendar" }, listeners: { "click": "_stopPropagation($event)" }, classAttribute: "bottom" }, providers: [MisDatePickerStore, MisDatePickerEffects], usesInheritance: true, ngImport: i0, template: "<!-- days calendar view mode -->\n<div class=\"bs-datepicker\" [ngClass]=\"containerClass\" *ngIf=\"viewMode | async\">\n <div class=\"bs-datepicker-container\" [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" [ngSwitch]=\"viewMode | async\" role=\"application\">\n <!--days calendar-->\n <div *ngSwitchCase=\"'day'\" class=\"bs-media-container\">\n <mis-days-calendar-view *ngFor=\"let calendar of daysCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n [options]=\"options | async\" (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\" (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </mis-days-calendar-view>\n </div>\n\n <!--months calendar-->\n <div *ngSwitchCase=\"'month'\" class=\"bs-media-container\">\n <mis-month-calendar-view *ngFor=\"let calendar of monthsCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\" (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </mis-month-calendar-view>\n </div>\n\n <!--years calendar-->\n <div *ngSwitchCase=\"'year'\" class=\"bs-media-container\">\n <mis-years-calendar-view *ngFor=\"let calendar of yearsCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\" (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </mis-years-calendar-view>\n </div>\n </div>\n\n <!--applycancel buttons-->\n <div class=\"bs-datepicker-buttons\" *ngIf=\"(daysCalendar | async)?.length > 1\">\n <button class=\"btn btn-default\" (click)=\"cancel()\" type=\"button\">Cancel</button>\n <button class=\"btn mis-btn-primary\" (click)=\"dayApplyHandler($event)\" type=\"button\">Apply</button>\n </div>\n\n <div class=\"bs-datepicker-buttons\" *ngIf=\"showTodayBtn || showClearBtn\">\n <div class=\"btn-today-wrapper\" [class.today-left]=\"todayPos === 'left'\" [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\" *ngIf=\"showTodayBtn\">\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n\n <div class=\"btn-clear-wrapper\" [class.clear-left]=\"clearPos === 'left'\" [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\" *ngIf=\"showClearBtn\">\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n </div>\n\n </div>\n\n <!--custom dates or date ranges picker-->\n <div class=\"bs-datepicker-custom-range\" *ngIf=\"customRanges?.length > 0\">\n <mis-custom-date-view [selectedRange]=\"chosenRange\" [ranges]=\"customRanges\" [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </mis-custom-date-view>\n </div>\n</div>", dependencies: [{ kind: "directive", type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i6.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i6.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i7.BsCustomDatesViewComponent, selector: "mis-custom-date-view", inputs: ["ranges", "selectedRange", "customRangeLabel"], outputs: ["onSelect"] }, { kind: "component", type: i8.MisDaysCalendarViewComponent, selector: "mis-days-calendar-view", inputs: ["calendar", "options"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover", "onHoverWeek"] }, { kind: "component", type: i9.BsMonthCalendarViewComponent, selector: "mis-month-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "component", type: i10.BsYearsCalendarViewComponent, selector: "mis-years-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }], animations: [datepickerAnimation] });
185
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MisDateRangePickerContainerComponent, decorators: [{
186
+ type: Component,
187
+ args: [{ selector: 'mis-daterangepicker-container', providers: [MisDatePickerStore, MisDatePickerEffects], host: {
188
+ class: 'bottom',
189
+ '(click)': '_stopPropagation($event)',
190
+ role: 'dialog',
191
+ 'aria-label': 'calendar'
192
+ }, animations: [datepickerAnimation], template: "<!-- days calendar view mode -->\n<div class=\"bs-datepicker\" [ngClass]=\"containerClass\" *ngIf=\"viewMode | async\">\n <div class=\"bs-datepicker-container\" [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" [ngSwitch]=\"viewMode | async\" role=\"application\">\n <!--days calendar-->\n <div *ngSwitchCase=\"'day'\" class=\"bs-media-container\">\n <mis-days-calendar-view *ngFor=\"let calendar of daysCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n [options]=\"options | async\" (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\" (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </mis-days-calendar-view>\n </div>\n\n <!--months calendar-->\n <div *ngSwitchCase=\"'month'\" class=\"bs-media-container\">\n <mis-month-calendar-view *ngFor=\"let calendar of monthsCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\" (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </mis-month-calendar-view>\n </div>\n\n <!--years calendar-->\n <div *ngSwitchCase=\"'year'\" class=\"bs-media-container\">\n <mis-years-calendar-view *ngFor=\"let calendar of yearsCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\" (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </mis-years-calendar-view>\n </div>\n </div>\n\n <!--applycancel buttons-->\n <div class=\"bs-datepicker-buttons\" *ngIf=\"(daysCalendar | async)?.length > 1\">\n <button class=\"btn btn-default\" (click)=\"cancel()\" type=\"button\">Cancel</button>\n <button class=\"btn mis-btn-primary\" (click)=\"dayApplyHandler($event)\" type=\"button\">Apply</button>\n </div>\n\n <div class=\"bs-datepicker-buttons\" *ngIf=\"showTodayBtn || showClearBtn\">\n <div class=\"btn-today-wrapper\" [class.today-left]=\"todayPos === 'left'\" [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\" *ngIf=\"showTodayBtn\">\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n\n <div class=\"btn-clear-wrapper\" [class.clear-left]=\"clearPos === 'left'\" [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\" *ngIf=\"showClearBtn\">\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n </div>\n\n </div>\n\n <!--custom dates or date ranges picker-->\n <div class=\"bs-datepicker-custom-range\" *ngIf=\"customRanges?.length > 0\">\n <mis-custom-date-view [selectedRange]=\"chosenRange\" [ranges]=\"customRanges\" [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </mis-custom-date-view>\n </div>\n</div>" }]
193
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i1.MisDatePickerConfig }, { type: i2.MisDatePickerStore }, { type: i0.ElementRef }, { type: i3.MisDatePickerActions }, { type: i4.MisDatePickerEffects }, { type: i5.PositioningService }]; } });
194
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnMtZGF0ZXJhbmdl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5sZW5ndGggPiAwXCI+XG4gICAgPG1pcy1jdXN0b20tZGF0ZS12aWV3IFtzZWxlY3RlZFJhbmdlXT1cImNob3NlblJhbmdlXCIgW3Jhbmdlc109XCJjdXN0b21SYW5nZXNcIiBbY3VzdG9tUmFuZ2VMYWJlbF09XCJjdXN0b21SYW5nZUJ0bkxibFwiXG4gICAgICAob25TZWxlY3QpPVwic2V0UmFuZ2VPbkNhbGVuZGFyKCRldmVudClcIj5cbiAgICA8L21pcy1jdXN0b20tZGF0ZS12aWV3PlxuICA8L2Rpdj5cbjwvZGl2PiJdfQ==
@@ -0,0 +1,35 @@
1
+ import { ElementRef, Component, Renderer2 } from '@angular/core';
2
+ import { MisDateRangePickerContainerComponent } from './bs-daterangepicker-container.component';
3
+ import { MisDatePickerActions } from '../../reducer/bs-datepicker.actions';
4
+ import { MisDatePickerConfig } from '../../bs-datepicker.config';
5
+ import { MisDatePickerEffects } from '../../reducer/bs-datepicker.effects';
6
+ import { MisDatePickerStore } from '../../reducer/bs-datepicker.store';
7
+ import { PositioningService } from '../../positioning';
8
+ import { datepickerAnimation } from '../../datepicker-animations';
9
+ import * as i0 from "@angular/core";
10
+ import * as i1 from "../../bs-datepicker.config";
11
+ import * as i2 from "../../reducer/bs-datepicker.store";
12
+ import * as i3 from "../../reducer/bs-datepicker.actions";
13
+ import * as i4 from "../../reducer/bs-datepicker.effects";
14
+ import * as i5 from "../../positioning";
15
+ import * as i6 from "@angular/common";
16
+ import * as i7 from "./bs-custom-dates-view.component";
17
+ import * as i8 from "./bs-days-calendar-view.component";
18
+ import * as i9 from "./bs-months-calendar-view.component";
19
+ import * as i10 from "./bs-years-calendar-view.component";
20
+ export class MisDateRangePickerInlineContainerComponent extends MisDateRangePickerContainerComponent {
21
+ constructor(_renderer, _config, _store, _element, _actions, _effects, _positioningService) {
22
+ super(_renderer, _config, _store, _element, _actions, _effects, _positioningService);
23
+ _renderer.setStyle(_element.nativeElement, 'display', 'inline-block');
24
+ _renderer.setStyle(_element.nativeElement, 'position', 'static');
25
+ }
26
+ }
27
+ MisDateRangePickerInlineContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MisDateRangePickerInlineContainerComponent, deps: [{ token: i0.Renderer2 }, { token: i1.MisDatePickerConfig }, { token: i2.MisDatePickerStore }, { token: i0.ElementRef }, { token: i3.MisDatePickerActions }, { token: i4.MisDatePickerEffects }, { token: i5.PositioningService }], target: i0.ɵɵFactoryTarget.Component });
28
+ MisDateRangePickerInlineContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: MisDateRangePickerInlineContainerComponent, selector: "mis-daterangepicker-inline-container", host: { listeners: { "click": "_stopPropagation($event)" } }, providers: [MisDatePickerStore, MisDatePickerEffects], usesInheritance: true, ngImport: i0, template: "<!-- days calendar view mode -->\n<div class=\"bs-datepicker\" [ngClass]=\"containerClass\" *ngIf=\"viewMode | async\">\n <div class=\"bs-datepicker-container\" [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" [ngSwitch]=\"viewMode | async\" role=\"application\">\n <!--days calendar-->\n <div *ngSwitchCase=\"'day'\" class=\"bs-media-container\">\n <mis-days-calendar-view *ngFor=\"let calendar of daysCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n [options]=\"options | async\" (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\" (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </mis-days-calendar-view>\n </div>\n\n <!--months calendar-->\n <div *ngSwitchCase=\"'month'\" class=\"bs-media-container\">\n <mis-month-calendar-view *ngFor=\"let calendar of monthsCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\" (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </mis-month-calendar-view>\n </div>\n\n <!--years calendar-->\n <div *ngSwitchCase=\"'year'\" class=\"bs-media-container\">\n <mis-years-calendar-view *ngFor=\"let calendar of yearsCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\" (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </mis-years-calendar-view>\n </div>\n </div>\n\n <!--applycancel buttons-->\n <div class=\"bs-datepicker-buttons\" *ngIf=\"(daysCalendar | async)?.length > 1\">\n <button class=\"btn btn-default\" (click)=\"cancel()\" type=\"button\">Cancel</button>\n <button class=\"btn mis-btn-primary\" (click)=\"dayApplyHandler($event)\" type=\"button\">Apply</button>\n </div>\n\n <div class=\"bs-datepicker-buttons\" *ngIf=\"showTodayBtn || showClearBtn\">\n <div class=\"btn-today-wrapper\" [class.today-left]=\"todayPos === 'left'\" [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\" *ngIf=\"showTodayBtn\">\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n\n <div class=\"btn-clear-wrapper\" [class.clear-left]=\"clearPos === 'left'\" [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\" *ngIf=\"showClearBtn\">\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n </div>\n\n </div>\n\n <!--custom dates or date ranges picker-->\n <div class=\"bs-datepicker-custom-range\" *ngIf=\"customRanges?.length > 0\">\n <mis-custom-date-view [selectedRange]=\"chosenRange\" [ranges]=\"customRanges\" [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </mis-custom-date-view>\n </div>\n</div>", dependencies: [{ kind: "directive", type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i6.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i6.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i7.BsCustomDatesViewComponent, selector: "mis-custom-date-view", inputs: ["ranges", "selectedRange", "customRangeLabel"], outputs: ["onSelect"] }, { kind: "component", type: i8.MisDaysCalendarViewComponent, selector: "mis-days-calendar-view", inputs: ["calendar", "options"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover", "onHoverWeek"] }, { kind: "component", type: i9.BsMonthCalendarViewComponent, selector: "mis-month-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "component", type: i10.BsYearsCalendarViewComponent, selector: "mis-years-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }], animations: [datepickerAnimation] });
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MisDateRangePickerInlineContainerComponent, decorators: [{
30
+ type: Component,
31
+ args: [{ selector: 'mis-daterangepicker-inline-container', providers: [MisDatePickerStore, MisDatePickerEffects], host: {
32
+ '(click)': '_stopPropagation($event)'
33
+ }, animations: [datepickerAnimation], template: "<!-- days calendar view mode -->\n<div class=\"bs-datepicker\" [ngClass]=\"containerClass\" *ngIf=\"viewMode | async\">\n <div class=\"bs-datepicker-container\" [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" [ngSwitch]=\"viewMode | async\" role=\"application\">\n <!--days calendar-->\n <div *ngSwitchCase=\"'day'\" class=\"bs-media-container\">\n <mis-days-calendar-view *ngFor=\"let calendar of daysCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n [options]=\"options | async\" (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\" (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </mis-days-calendar-view>\n </div>\n\n <!--months calendar-->\n <div *ngSwitchCase=\"'month'\" class=\"bs-media-container\">\n <mis-month-calendar-view *ngFor=\"let calendar of monthsCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\" (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </mis-month-calendar-view>\n </div>\n\n <!--years calendar-->\n <div *ngSwitchCase=\"'year'\" class=\"bs-media-container\">\n <mis-years-calendar-view *ngFor=\"let calendar of yearsCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\" (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </mis-years-calendar-view>\n </div>\n </div>\n\n <!--applycancel buttons-->\n <div class=\"bs-datepicker-buttons\" *ngIf=\"(daysCalendar | async)?.length > 1\">\n <button class=\"btn btn-default\" (click)=\"cancel()\" type=\"button\">Cancel</button>\n <button class=\"btn mis-btn-primary\" (click)=\"dayApplyHandler($event)\" type=\"button\">Apply</button>\n </div>\n\n <div class=\"bs-datepicker-buttons\" *ngIf=\"showTodayBtn || showClearBtn\">\n <div class=\"btn-today-wrapper\" [class.today-left]=\"todayPos === 'left'\" [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\" *ngIf=\"showTodayBtn\">\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n\n <div class=\"btn-clear-wrapper\" [class.clear-left]=\"clearPos === 'left'\" [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\" *ngIf=\"showClearBtn\">\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n </div>\n\n </div>\n\n <!--custom dates or date ranges picker-->\n <div class=\"bs-datepicker-custom-range\" *ngIf=\"customRanges?.length > 0\">\n <mis-custom-date-view [selectedRange]=\"chosenRange\" [ranges]=\"customRanges\" [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </mis-custom-date-view>\n </div>\n</div>" }]
34
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i1.MisDatePickerConfig }, { type: i2.MisDatePickerStore }, { type: i0.ElementRef }, { type: i3.MisDatePickerActions }, { type: i4.MisDatePickerEffects }, { type: i5.PositioningService }]; } });
35
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnMtZGF0ZXJhbmdlcGlja2VyLWlubGluZS1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL3dpcy1jb21tb24vc3JjL2xpYi9jb21wb25lbnRzL2RhdGVwaWNrZXIvdGhlbWVzL2JzL2JzLWRhdGVyYW5nZXBpY2tlci1pbmxpbmUtY29udGFpbmVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy93aXMtY29tbW9uL3N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iYnRuIGJ0bi1zdWNjZXNzXCIgKGNsaWNrKT1cImNsZWFyRGF0ZSgpXCI+e3tjbGVhckJ0bkxibH19PC9idXR0b24+XG4gICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cblxuICA8L2Rpdj5cblxuICA8IS0tY3VzdG9tIGRhdGVzIG9yIGRhdGUgcmFuZ2VzIHBpY2tlci0tPlxuICA8ZGl2IGNsYXNzPVwiYnMtZGF0ZXBpY2tlci1jdXN0b20tcmFuZ2VcIiAqbmdJZj1cImN1c3RvbVJhbmdlcz8ubGVuZ3RoID4gMFwiPlxuICAgIDxtaXMtY3VzdG9tLWRhdGUtdmlldyBbc2VsZWN0ZWRSYW5nZV09XCJjaG9zZW5SYW5nZVwiIFtyYW5nZXNdPVwiY3VzdG9tUmFuZ2VzXCIgW2N1c3RvbVJhbmdlTGFiZWxdPVwiY3VzdG9tUmFuZ2VCdG5MYmxcIlxuICAgICAgKG9uU2VsZWN0KT1cInNldFJhbmdlT25DYWxlbmRhcigkZXZlbnQpXCI+XG4gICAgPC9taXMtY3VzdG9tLWRhdGUtdmlldz5cbiAgPC9kaXY+XG48L2Rpdj4iXX0=
@@ -0,0 +1,230 @@
1
+ import { Component, EventEmitter, Input, Output } from '@angular/core';
2
+ import { isSameDay } from '../../chronos';
3
+ import { BsNavigationDirection } from '../../models';
4
+ import { MisDatePickerConfig } from '../../bs-datepicker.config';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../../bs-datepicker.config";
7
+ import * as i2 from "@angular/common";
8
+ import * as i3 from "mis-crystal-design-system/tooltip";
9
+ import * as i4 from "./bs-calendar-layout.component";
10
+ import * as i5 from "./bs-datepicker-day-decorator.directive";
11
+ import * as i6 from "./bs-datepicker-navigation-view.component";
12
+ export class MisDaysCalendarViewComponent {
13
+ constructor(_config) {
14
+ this._config = _config;
15
+ this.onNavigate = new EventEmitter();
16
+ this.onViewMode = new EventEmitter();
17
+ this.onSelect = new EventEmitter();
18
+ this.onHover = new EventEmitter();
19
+ this.onHoverWeek = new EventEmitter();
20
+ this.isiOS = (/iPad|iPhone|iPod/.test(navigator.platform) ||
21
+ (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1));
22
+ if (this._config.dateTooltipTexts && this._config.dateTooltipTexts.length > 0) {
23
+ this.isShowTooltip = true;
24
+ }
25
+ }
26
+ navigateTo(event) {
27
+ const step = BsNavigationDirection.DOWN === event ? -1 : 1;
28
+ this.onNavigate.emit({ step: { month: step } });
29
+ }
30
+ changeViewMode(event) {
31
+ this.onViewMode.emit(event);
32
+ }
33
+ selectDay(event) {
34
+ this.onSelect.emit(event);
35
+ }
36
+ selectWeek(week) {
37
+ if (!this._config.selectWeek && !this._config.selectWeekDateRange) {
38
+ return;
39
+ }
40
+ if (week.days.length === 0) {
41
+ return;
42
+ }
43
+ if (this._config.selectWeek && week.days[0]
44
+ && !week.days[0].isDisabled
45
+ && this._config.selectFromOtherMonth) {
46
+ this.onSelect.emit(week.days[0]);
47
+ return;
48
+ }
49
+ const selectedDay = week.days.find((day) => {
50
+ return this._config.selectFromOtherMonth
51
+ ? !day.isDisabled
52
+ : !day.isOtherMonth && !day.isDisabled;
53
+ });
54
+ this.onSelect.emit(selectedDay);
55
+ if (this._config.selectWeekDateRange) {
56
+ const days = week.days.slice(0);
57
+ const lastDayOfRange = days.reverse().find((day) => {
58
+ return this._config.selectFromOtherMonth
59
+ ? !day.isDisabled
60
+ : !day.isOtherMonth && !day.isDisabled;
61
+ });
62
+ this.onSelect.emit(lastDayOfRange);
63
+ }
64
+ }
65
+ weekHoverHandler(cell, isHovered) {
66
+ if (!this._config.selectWeek && !this._config.selectWeekDateRange) {
67
+ return;
68
+ }
69
+ const hasActiveDays = cell.days.find((day) => {
70
+ return this._config.selectFromOtherMonth
71
+ ? !day.isDisabled
72
+ : !day.isOtherMonth && !day.isDisabled;
73
+ });
74
+ if (hasActiveDays) {
75
+ cell.isHovered = isHovered;
76
+ this.isWeekHovered = isHovered;
77
+ this.onHoverWeek.emit(cell);
78
+ }
79
+ }
80
+ hoverDay(cell, isHovered) {
81
+ if (this._config.selectFromOtherMonth && cell.isOtherMonth) {
82
+ cell.isOtherMonthHovered = isHovered;
83
+ }
84
+ if (this._config.dateTooltipTexts) {
85
+ cell.tooltipText = '';
86
+ this._config.dateTooltipTexts.forEach((dateData) => {
87
+ if (isSameDay(dateData.date, cell.date)) {
88
+ cell.tooltipText = dateData.tooltipText;
89
+ return;
90
+ }
91
+ });
92
+ }
93
+ this.onHover.emit({ cell, isHovered });
94
+ }
95
+ }
96
+ MisDaysCalendarViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MisDaysCalendarViewComponent, deps: [{ token: i1.MisDatePickerConfig }], target: i0.ɵɵFactoryTarget.Component });
97
+ MisDaysCalendarViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: MisDaysCalendarViewComponent, selector: "mis-days-calendar-view", inputs: { calendar: "calendar", options: "options" }, outputs: { onNavigate: "onNavigate", onViewMode: "onViewMode", onSelect: "onSelect", onHover: "onHover", onHoverWeek: "onHoverWeek" }, ngImport: i0, template: `
98
+ <mis-calendar-layout>
99
+ <mis-datepicker-navigation-view
100
+ [calendar]="calendar"
101
+ (onNavigate)="navigateTo($event)"
102
+ (onViewMode)="changeViewMode($event)"
103
+ ></mis-datepicker-navigation-view>
104
+
105
+ <!--days matrix-->
106
+ <table role="grid" class="days weeks">
107
+ <thead>
108
+ <tr>
109
+ <!--if show weeks-->
110
+ <th *ngIf="options.showWeekNumbers"></th>
111
+ <th *ngFor="let weekday of calendar.weekdays; let i = index"
112
+ aria-label="weekday">{{ calendar.weekdays[i] }}
113
+ </th>
114
+ </tr>
115
+ </thead>
116
+ <tbody>
117
+ <tr *ngFor="let week of calendar.weeks; let i = index">
118
+ <td class="week" [class.active-week]="isWeekHovered" *ngIf="options.showWeekNumbers">
119
+ <span *ngIf="isiOS" (click)="selectWeek(week)">{{ calendar.weekNumbers[i] }}</span>
120
+ <span *ngIf="!isiOS"
121
+ (click)="selectWeek(week)"
122
+ (mouseenter)="weekHoverHandler(week, true)"
123
+ (mouseleave)="weekHoverHandler(week, false)">{{ calendar.weekNumbers[i] }}</span>
124
+ </td>
125
+ <td *ngFor="let day of week.days" role="gridcell">
126
+
127
+ <!-- When we want to show tooltips for dates -->
128
+ <span *ngIf="!isiOS && isShowTooltip" misDatePickerDayDecorator
129
+ [day]="day"
130
+ (click)="selectDay(day)"
131
+ misToolTip
132
+ [text]="day?.tooltipText"
133
+ (mouseenter)="hoverDay(day, true)"
134
+ (mouseleave)="hoverDay(day, false)">{{ day.label }} 3</span>
135
+ <!-- When tooltips for dates are disabled -->
136
+ <span *ngIf="!isiOS && !isShowTooltip" misDatePickerDayDecorator
137
+ [day]="day"
138
+ (click)="selectDay(day)"
139
+ (mouseenter)="hoverDay(day, true)"
140
+ (mouseleave)="hoverDay(day, false)">{{ day.label }} 2</span>
141
+
142
+ <!-- For mobile iOS view, tooltips are not needed -->
143
+ <span *ngIf="isiOS" misDatePickerDayDecorator
144
+ [day]="day"
145
+ (click)="selectDay(day)">{{ day.label }} 1</span>
146
+ </td>
147
+ </tr>
148
+ </tbody>
149
+ </table>
150
+
151
+ </mis-calendar-layout>
152
+ `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.ToolTipDirective, selector: "[misToolTip]", inputs: ["showOnHover", "showToolTip", "text", "position", "alignText", "tooltipTemplate", "tooltipTemplateContext"] }, { kind: "component", type: i4.BsCalendarLayoutComponent, selector: "mis-calendar-layout" }, { kind: "component", type: i5.MisDatePickerDayDecoratorComponent, selector: "[misDatePickerDayDecorator]", inputs: ["day"] }, { kind: "component", type: i6.MisDatePickerNavigationViewComponent, selector: "mis-datepicker-navigation-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode"] }] });
153
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MisDaysCalendarViewComponent, decorators: [{
154
+ type: Component,
155
+ args: [{
156
+ selector: 'mis-days-calendar-view',
157
+ // changeDetection: ChangeDetectionStrategy.OnPush,
158
+ template: `
159
+ <mis-calendar-layout>
160
+ <mis-datepicker-navigation-view
161
+ [calendar]="calendar"
162
+ (onNavigate)="navigateTo($event)"
163
+ (onViewMode)="changeViewMode($event)"
164
+ ></mis-datepicker-navigation-view>
165
+
166
+ <!--days matrix-->
167
+ <table role="grid" class="days weeks">
168
+ <thead>
169
+ <tr>
170
+ <!--if show weeks-->
171
+ <th *ngIf="options.showWeekNumbers"></th>
172
+ <th *ngFor="let weekday of calendar.weekdays; let i = index"
173
+ aria-label="weekday">{{ calendar.weekdays[i] }}
174
+ </th>
175
+ </tr>
176
+ </thead>
177
+ <tbody>
178
+ <tr *ngFor="let week of calendar.weeks; let i = index">
179
+ <td class="week" [class.active-week]="isWeekHovered" *ngIf="options.showWeekNumbers">
180
+ <span *ngIf="isiOS" (click)="selectWeek(week)">{{ calendar.weekNumbers[i] }}</span>
181
+ <span *ngIf="!isiOS"
182
+ (click)="selectWeek(week)"
183
+ (mouseenter)="weekHoverHandler(week, true)"
184
+ (mouseleave)="weekHoverHandler(week, false)">{{ calendar.weekNumbers[i] }}</span>
185
+ </td>
186
+ <td *ngFor="let day of week.days" role="gridcell">
187
+
188
+ <!-- When we want to show tooltips for dates -->
189
+ <span *ngIf="!isiOS && isShowTooltip" misDatePickerDayDecorator
190
+ [day]="day"
191
+ (click)="selectDay(day)"
192
+ misToolTip
193
+ [text]="day?.tooltipText"
194
+ (mouseenter)="hoverDay(day, true)"
195
+ (mouseleave)="hoverDay(day, false)">{{ day.label }} 3</span>
196
+ <!-- When tooltips for dates are disabled -->
197
+ <span *ngIf="!isiOS && !isShowTooltip" misDatePickerDayDecorator
198
+ [day]="day"
199
+ (click)="selectDay(day)"
200
+ (mouseenter)="hoverDay(day, true)"
201
+ (mouseleave)="hoverDay(day, false)">{{ day.label }} 2</span>
202
+
203
+ <!-- For mobile iOS view, tooltips are not needed -->
204
+ <span *ngIf="isiOS" misDatePickerDayDecorator
205
+ [day]="day"
206
+ (click)="selectDay(day)">{{ day.label }} 1</span>
207
+ </td>
208
+ </tr>
209
+ </tbody>
210
+ </table>
211
+
212
+ </mis-calendar-layout>
213
+ `
214
+ }]
215
+ }], ctorParameters: function () { return [{ type: i1.MisDatePickerConfig }]; }, propDecorators: { calendar: [{
216
+ type: Input
217
+ }], options: [{
218
+ type: Input
219
+ }], onNavigate: [{
220
+ type: Output
221
+ }], onViewMode: [{
222
+ type: Output
223
+ }], onSelect: [{
224
+ type: Output
225
+ }], onHover: [{
226
+ type: Output
227
+ }], onHoverWeek: [{
228
+ type: Output
229
+ }] } });
230
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnMtZGF5cy1jYWxlbmRhci12aWV3LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy93aXMtY29tbW9uL3NyYy9saWIvY29tcG9uZW50cy9kYXRlcGlja2VyL3RoZW1lcy9icy9icy1kYXlzLWNhbGVuZGFyLXZpZXcuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsWUFBWSxFQUNaLEtBQUssRUFDTCxNQUFNLEVBQ1AsTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUxQyxPQUFPLEVBRUwscUJBQXFCLEVBTXRCLE1BQU0sY0FBYyxDQUFDO0FBRXR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AgICAgICBbZGF5XT1cImRheVwiXG4gICAgICAgICAgICAgICAgKGNsaWNrKT1cInNlbGVjdERheShkYXkpXCJcbiAgICAgICAgICAgICAgICBtaXNUb29sVGlwXG4gICAgICAgICAgICAgICAgW3RleHRdPVwiZGF5Py50b29sdGlwVGV4dFwiXG4gICAgICAgICAgICAgICAgKG1vdXNlZW50ZXIpPVwiaG92ZXJEYXkoZGF5LCB0cnVlKVwiXG4gICAgICAgICAgICAgICAgKG1vdXNlbGVhdmUpPVwiaG92ZXJEYXkoZGF5LCBmYWxzZSlcIj57eyBkYXkubGFiZWwgfX0gMzwvc3Bhbj5cbiAgICAgICAgICAgIDwhLS0gV2hlbiB0b29sdGlwcyBmb3IgZGF0ZXMgYXJlIGRpc2FibGVkIC0tPlxuICAgICAgICAgICAgPHNwYW4gKm5nSWY9XCIhaXNpT1MgJiYgIWlzU2hvd1Rvb2x0aXBcIiBtaXNEYXRlUGlja2VyRGF5RGVjb3JhdG9yXG4gICAgICAgICAgICAgICAgICBbZGF5XT1cImRheVwiXG4gICAgICAgICAgICAgICAgICAoY2xpY2spPVwic2VsZWN0RGF5KGRheSlcIlxuICAgICAgICAgICAgICAgICAgKG1vdXNlZW50ZXIpPVwiaG92ZXJEYXkoZGF5LCB0cnVlKVwiXG4gICAgICAgICAgICAgICAgICAobW91c2VsZWF2ZSk9XCJob3ZlckRheShkYXksIGZhbHNlKVwiPnt7IGRheS5sYWJlbCB9fSAyPC9zcGFuPlxuXG4gICAgICAgICAgICA8IS0tIEZvciBtb2JpbGUgaU9TIHZpZXcsIHRvb2x0aXBzIGFyZSBub3QgbmVlZGVkIC0tPlxuICAgICAgICAgICAgPHNwYW4gKm5nSWY9XCJpc2lPU1wiIG1pc0RhdGVQaWNrZXJEYXlEZWNvcmF0b3JcbiAgICAgICAgICAgICAgICAgIFtkYXldPVwiZGF5XCJcbiAgICAgICAgICAgICAgICAgIChjbGljayk9XCJzZWxlY3REYXkoZGF5KVwiPnt7IGRheS5sYWJlb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