@sd-angular/core 1.0.60 → 1.0.63

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 (483) hide show
  1. package/bundles/sd-angular-core-date-month.umd.js +638 -0
  2. package/bundles/sd-angular-core-date-month.umd.js.map +1 -0
  3. package/bundles/sd-angular-core-date-month.umd.min.js +16 -0
  4. package/bundles/sd-angular-core-date-month.umd.min.js.map +1 -0
  5. package/bundles/sd-angular-core-date-time.umd.js +11 -2
  6. package/bundles/sd-angular-core-date-time.umd.js.map +1 -1
  7. package/bundles/sd-angular-core-date-time.umd.min.js +2 -2
  8. package/bundles/sd-angular-core-date-time.umd.min.js.map +1 -1
  9. package/bundles/sd-angular-core-export.umd.js +24 -1
  10. package/bundles/sd-angular-core-export.umd.js.map +1 -1
  11. package/bundles/sd-angular-core-export.umd.min.js +1 -1
  12. package/bundles/sd-angular-core-export.umd.min.js.map +1 -1
  13. package/bundles/sd-angular-core-form.umd.js +6 -4
  14. package/bundles/sd-angular-core-form.umd.js.map +1 -1
  15. package/bundles/sd-angular-core-form.umd.min.js +1 -1
  16. package/bundles/sd-angular-core-form.umd.min.js.map +1 -1
  17. package/bundles/sd-angular-core-timeline.umd.js +102 -0
  18. package/bundles/sd-angular-core-timeline.umd.js.map +1 -0
  19. package/bundles/sd-angular-core-timeline.umd.min.js +2 -0
  20. package/bundles/sd-angular-core-timeline.umd.min.js.map +1 -0
  21. package/bundles/sd-angular-core-utility.umd.js +12 -8
  22. package/bundles/sd-angular-core-utility.umd.js.map +1 -1
  23. package/bundles/sd-angular-core-utility.umd.min.js +1 -1
  24. package/bundles/sd-angular-core-utility.umd.min.js.map +1 -1
  25. package/date-month/index.d.ts +1 -0
  26. package/date-month/package.json +12 -0
  27. package/date-month/sd-angular-core-date-month.d.ts +5 -0
  28. package/date-month/sd-angular-core-date-month.metadata.json +1 -0
  29. package/date-month/src/lib/date-month.component.d.ts +61 -0
  30. package/date-month/src/lib/date-month.module.d.ts +2 -0
  31. package/date-month/src/public-api.d.ts +2 -0
  32. package/date-time/sd-angular-core-date-time.metadata.json +1 -1
  33. package/date-time/src/lib/date-time.component.d.ts +2 -1
  34. package/esm2015/api/index.js +1 -1
  35. package/esm2015/api/sd-angular-core-api.js +1 -1
  36. package/esm2015/api/src/lib/api.model.js +1 -1
  37. package/esm2015/api/src/lib/api.module.js +1 -1
  38. package/esm2015/api/src/lib/api.service.js +1 -1
  39. package/esm2015/api/src/lib/http.interceptor.js +1 -1
  40. package/esm2015/api/src/lib/http.service.js +1 -1
  41. package/esm2015/api/src/lib/token.service.js +1 -1
  42. package/esm2015/api/src/public-api.js +1 -1
  43. package/esm2015/autocomplete/index.js +1 -1
  44. package/esm2015/autocomplete/sd-angular-core-autocomplete.js +1 -1
  45. package/esm2015/autocomplete/src/lib/autocomplete-display-def.directive.js +1 -1
  46. package/esm2015/autocomplete/src/lib/autocomplete.component.js +1 -1
  47. package/esm2015/autocomplete/src/lib/autocomplete.module.js +1 -1
  48. package/esm2015/autocomplete/src/public-api.js +1 -1
  49. package/esm2015/badge/index.js +1 -1
  50. package/esm2015/badge/sd-angular-core-badge.js +1 -1
  51. package/esm2015/badge/src/lib/badge.component.js +1 -1
  52. package/esm2015/badge/src/lib/badge.module.js +1 -1
  53. package/esm2015/badge/src/public-api.js +1 -1
  54. package/esm2015/button/index.js +1 -1
  55. package/esm2015/button/sd-angular-core-button.js +1 -1
  56. package/esm2015/button/src/lib/button.component.js +1 -1
  57. package/esm2015/button/src/lib/button.module.js +1 -1
  58. package/esm2015/button/src/public-api.js +1 -1
  59. package/esm2015/cache/index.js +1 -1
  60. package/esm2015/cache/sd-angular-core-cache.js +1 -1
  61. package/esm2015/cache/src/lib/cache.model.js +1 -1
  62. package/esm2015/cache/src/lib/cache.service.js +1 -1
  63. package/esm2015/cache/src/public-api.js +1 -1
  64. package/esm2015/chart/index.js +1 -1
  65. package/esm2015/chart/sd-angular-core-chart.js +1 -1
  66. package/esm2015/chart/src/lib/chart.component.js +1 -1
  67. package/esm2015/chart/src/lib/chart.model.js +1 -1
  68. package/esm2015/chart/src/lib/chart.module.js +1 -1
  69. package/esm2015/chart/src/public-api.js +1 -1
  70. package/esm2015/checkbox/index.js +1 -1
  71. package/esm2015/checkbox/sd-angular-core-checkbox.js +1 -1
  72. package/esm2015/checkbox/src/lib/checkbox.component.js +1 -1
  73. package/esm2015/checkbox/src/lib/checkbox.module.js +1 -1
  74. package/esm2015/checkbox/src/public-api.js +1 -1
  75. package/esm2015/chip/index.js +1 -1
  76. package/esm2015/chip/sd-angular-core-chip.js +1 -1
  77. package/esm2015/chip/src/lib/chip.component.js +1 -1
  78. package/esm2015/chip/src/lib/chip.model.js +1 -1
  79. package/esm2015/chip/src/lib/chip.module.js +1 -1
  80. package/esm2015/chip/src/lib/directives/sd-chip-display-def.directive.js +1 -1
  81. package/esm2015/chip/src/lib/pipes/removable-chip.pipe.js +1 -1
  82. package/esm2015/chip/src/public-api.js +1 -1
  83. package/esm2015/comment/index.js +1 -1
  84. package/esm2015/comment/sd-angular-core-comment.js +1 -1
  85. package/esm2015/comment/src/lib/comment.component.js +1 -1
  86. package/esm2015/comment/src/lib/comment.model.js +1 -1
  87. package/esm2015/comment/src/lib/comment.module.js +1 -1
  88. package/esm2015/comment/src/public-api.js +1 -1
  89. package/esm2015/common/index.js +1 -1
  90. package/esm2015/common/sd-angular-core-common.js +1 -1
  91. package/esm2015/common/src/lib/common.module.js +1 -1
  92. package/esm2015/common/src/lib/directives/sd-let.directive.js +1 -1
  93. package/esm2015/common/src/lib/directives/sd-scroll.directive.js +1 -1
  94. package/esm2015/common/src/lib/directives/sd-suffix.directive.js +1 -1
  95. package/esm2015/common/src/lib/directives/view-def.directive.js +1 -1
  96. package/esm2015/common/src/lib/models/sd-form-control.js +1 -1
  97. package/esm2015/common/src/lib/services/browser.service.js +1 -1
  98. package/esm2015/common/src/lib/typings/array.extension.js +1 -1
  99. package/esm2015/common/src/lib/typings/date.extension.js +1 -1
  100. package/esm2015/common/src/lib/typings/number.extension.js +1 -1
  101. package/esm2015/common/src/lib/typings/string.extension.js +1 -1
  102. package/esm2015/common/src/public-api.js +1 -1
  103. package/esm2015/date-month/index.js +2 -0
  104. package/esm2015/date-month/sd-angular-core-date-month.js +6 -0
  105. package/esm2015/date-month/src/lib/date-month.component.js +232 -0
  106. package/esm2015/date-month/src/lib/date-month.module.js +43 -0
  107. package/esm2015/date-month/src/public-api.js +3 -0
  108. package/esm2015/date-range/index.js +1 -1
  109. package/esm2015/date-range/sd-angular-core-date-range.js +1 -1
  110. package/esm2015/date-range/src/lib/date-range.component.js +1 -1
  111. package/esm2015/date-range/src/lib/date-range.module.js +1 -1
  112. package/esm2015/date-range/src/public-api.js +1 -1
  113. package/esm2015/date-time/index.js +1 -1
  114. package/esm2015/date-time/sd-angular-core-date-time.js +1 -1
  115. package/esm2015/date-time/src/lib/date-time.component.js +12 -3
  116. package/esm2015/date-time/src/lib/date-time.module.js +1 -1
  117. package/esm2015/date-time/src/public-api.js +1 -1
  118. package/esm2015/dynamic-report/index.js +1 -1
  119. package/esm2015/dynamic-report/sd-angular-core-dynamic-report.js +1 -1
  120. package/esm2015/dynamic-report/src/lib/dynamic-report.component.js +1 -1
  121. package/esm2015/dynamic-report/src/lib/dynamic-report.module.js +1 -1
  122. package/esm2015/dynamic-report/src/public-api.js +1 -1
  123. package/esm2015/editor/index.js +1 -1
  124. package/esm2015/editor/sd-angular-core-editor.js +1 -1
  125. package/esm2015/editor/src/lib/constant.js +1 -1
  126. package/esm2015/editor/src/lib/editor.component.js +1 -1
  127. package/esm2015/editor/src/lib/editor.module.js +1 -1
  128. package/esm2015/editor/src/public-api.js +1 -1
  129. package/esm2015/excel/index.js +1 -1
  130. package/esm2015/excel/sd-angular-core-excel.js +1 -1
  131. package/esm2015/excel/src/lib/excel.model.js +1 -1
  132. package/esm2015/excel/src/lib/excel.service.js +1 -1
  133. package/esm2015/excel/src/public-api.js +1 -1
  134. package/esm2015/export/index.js +1 -1
  135. package/esm2015/export/sd-angular-core-export.js +1 -1
  136. package/esm2015/export/src/lib/export.model.js +3 -2
  137. package/esm2015/export/src/lib/export.service.js +14 -1
  138. package/esm2015/export/src/public-api.js +1 -1
  139. package/esm2015/filter/index.js +1 -1
  140. package/esm2015/filter/sd-angular-core-filter.js +1 -1
  141. package/esm2015/filter/src/lib/directives/sd-filter-def.directive.js +1 -1
  142. package/esm2015/filter/src/lib/filter.component.js +1 -1
  143. package/esm2015/filter/src/lib/filter.model.js +1 -1
  144. package/esm2015/filter/src/lib/filter.module.js +1 -1
  145. package/esm2015/filter/src/lib/filter.service.js +1 -1
  146. package/esm2015/filter/src/lib/pipes/values-local.pipe.js +1 -1
  147. package/esm2015/filter/src/lib/pipes/values-server.pipe.js +1 -1
  148. package/esm2015/filter/src/public-api.js +1 -1
  149. package/esm2015/form/index.js +1 -1
  150. package/esm2015/form/sd-angular-core-form.js +1 -1
  151. package/esm2015/form/src/lib/form.module.js +4 -1
  152. package/esm2015/form/src/public-api.js +1 -1
  153. package/esm2015/grid/index.js +1 -1
  154. package/esm2015/grid/sd-angular-core-grid.js +1 -1
  155. package/esm2015/grid/src/lib/components/grid-config/grid-config.component.js +1 -1
  156. package/esm2015/grid/src/lib/components/grid-config/grid-config.model.js +1 -1
  157. package/esm2015/grid/src/lib/components/grid-desktop-column-children-view/grid-desktop-column-children-view.component.js +1 -1
  158. package/esm2015/grid/src/lib/components/grid-desktop-column-edit/grid-desktop-column-edit.component.js +1 -1
  159. package/esm2015/grid/src/lib/components/grid-desktop-column-view/grid-desktop-column-view.component.js +1 -1
  160. package/esm2015/grid/src/lib/components/grid-desktop-inline-filter/grid-desktop-inline-filter.component.js +1 -1
  161. package/esm2015/grid/src/lib/components/grid-import-excel/grid-import-excel.component.js +1 -1
  162. package/esm2015/grid/src/lib/components/grid-mobile-item-view/grid-mobile-item-view.component.js +1 -1
  163. package/esm2015/grid/src/lib/components/grid-popup-editor/grid-popup-editor.component.js +1 -1
  164. package/esm2015/grid/src/lib/components/grid-popup-export-excel/grid-popup-export-excel.component.js +1 -1
  165. package/esm2015/grid/src/lib/components/grid-popup-export-excel/grid-popup-export-excel.model.js +1 -1
  166. package/esm2015/grid/src/lib/components/grid-popup-filter/grid-popup-filter.component.js +1 -1
  167. package/esm2015/grid/src/lib/components/grid-popup-filter/grid-popup-filter.model.js +1 -1
  168. package/esm2015/grid/src/lib/components/grid-popup-quick-filter-detail/grid-popup-quick-filter-detail.component.js +1 -1
  169. package/esm2015/grid/src/lib/components/grid-sub-information/grid-sub-information.component.js +1 -1
  170. package/esm2015/grid/src/lib/directives/cell-def.directive.js +1 -1
  171. package/esm2015/grid/src/lib/directives/cell-editor-def.directive.js +1 -1
  172. package/esm2015/grid/src/lib/directives/cell-footer-def.directive.js +1 -1
  173. package/esm2015/grid/src/lib/directives/sub-information-header-def.directive.js +1 -1
  174. package/esm2015/grid/src/lib/grid.component.js +1 -1
  175. package/esm2015/grid/src/lib/grid.model.js +1 -1
  176. package/esm2015/grid/src/lib/grid.module.js +1 -1
  177. package/esm2015/grid/src/lib/models/filter-info.model.js +1 -1
  178. package/esm2015/grid/src/lib/models/grid-configuration.model.js +1 -1
  179. package/esm2015/grid/src/lib/models/handler-dotnet.js +1 -1
  180. package/esm2015/grid/src/lib/models/handler-local.js +1 -1
  181. package/esm2015/grid/src/lib/models/handler.js +1 -1
  182. package/esm2015/grid/src/lib/pipes/cell-desktop-class-name.pipe.js +1 -1
  183. package/esm2015/grid/src/lib/pipes/cell-mobile-class-name.pipe.js +1 -1
  184. package/esm2015/grid/src/lib/pipes/column-command-filter.pipe.js +1 -1
  185. package/esm2015/grid/src/lib/pipes/column-html-template.pipe.js +1 -1
  186. package/esm2015/grid/src/lib/pipes/column-title.pipe.js +1 -1
  187. package/esm2015/grid/src/lib/pipes/column-values.pipe.js +1 -1
  188. package/esm2015/grid/src/lib/pipes/command-disabled.pipe.js +1 -1
  189. package/esm2015/grid/src/lib/pipes/command-filter.pipe.js +1 -1
  190. package/esm2015/grid/src/lib/pipes/command-hidden.pipe.js +1 -1
  191. package/esm2015/grid/src/lib/pipes/command-icon.pipe.js +1 -1
  192. package/esm2015/grid/src/lib/pipes/command-title.pipe.js +1 -1
  193. package/esm2015/grid/src/lib/pipes/dynamic-items.pipe.js +1 -1
  194. package/esm2015/grid/src/lib/pipes/editor-dynamic-item.pipe.js +1 -1
  195. package/esm2015/grid/src/lib/pipes/editor-handler.pipe.js +1 -1
  196. package/esm2015/grid/src/lib/pipes/editor-popup-visible.pipe.js +1 -1
  197. package/esm2015/grid/src/lib/pipes/editor-sub-information-handler.pipe.js +1 -1
  198. package/esm2015/grid/src/lib/pipes/editor-validate.pipe.js +1 -1
  199. package/esm2015/grid/src/lib/pipes/filter-mobile.pipe.js +1 -1
  200. package/esm2015/grid/src/lib/pipes/mobile-command-filter.js +1 -1
  201. package/esm2015/grid/src/lib/pipes/mobile-view-html-template.pipe.js +1 -1
  202. package/esm2015/grid/src/lib/pipes/value-transform.pipe.js +1 -1
  203. package/esm2015/grid/src/public-api.js +1 -1
  204. package/esm2015/grid-material/index.js +1 -1
  205. package/esm2015/grid-material/sd-angular-core-grid-material.js +1 -1
  206. package/esm2015/grid-material/src/lib/components/column-inline-filter/column-inline-filter.component.js +1 -1
  207. package/esm2015/grid-material/src/lib/components/desktop-cell/desktop-cell.component.js +1 -1
  208. package/esm2015/grid-material/src/lib/components/desktop-cell-children-view/desktop-cell-children-view.component.js +1 -1
  209. package/esm2015/grid-material/src/lib/components/desktop-cell-editor/desktop-cell-editor.component.js +1 -1
  210. package/esm2015/grid-material/src/lib/components/desktop-cell-view/desktop-cell-view.component.js +1 -1
  211. package/esm2015/grid-material/src/lib/components/desktop-command/desktop-command.component.js +1 -1
  212. package/esm2015/grid-material/src/lib/components/desktop-editor-validation/desktop-editor-validation.component.js +1 -1
  213. package/esm2015/grid-material/src/lib/components/dynamic-column/dynamic-column.component.js +1 -1
  214. package/esm2015/grid-material/src/lib/components/grid-filter/grid-filter.component.js +1 -1
  215. package/esm2015/grid-material/src/lib/components/popup-export/popup-export.component.js +1 -1
  216. package/esm2015/grid-material/src/lib/components/popup-filter/popup-filter.component.js +1 -1
  217. package/esm2015/grid-material/src/lib/components/popup-grid-configuration/popup-grid-configuration.component.js +1 -1
  218. package/esm2015/grid-material/src/lib/components/quick-action/quick-action.component.js +1 -1
  219. package/esm2015/grid-material/src/lib/directives/sd-material-cell-def.directive.js +1 -1
  220. package/esm2015/grid-material/src/lib/directives/sd-material-empty-data-def.directive.js +1 -1
  221. package/esm2015/grid-material/src/lib/directives/sd-material-filter-def.directive.js +1 -1
  222. package/esm2015/grid-material/src/lib/directives/sd-material-footer-def.directive.js +1 -1
  223. package/esm2015/grid-material/src/lib/directives/sd-material-sub-information-def.directive.js +1 -1
  224. package/esm2015/grid-material/src/lib/grid-material.component.js +1 -1
  225. package/esm2015/grid-material/src/lib/grid-material.module.js +1 -1
  226. package/esm2015/grid-material/src/lib/models/grid-action.model.js +1 -1
  227. package/esm2015/grid-material/src/lib/models/grid-cell.model.js +1 -1
  228. package/esm2015/grid-material/src/lib/models/grid-column.model.js +1 -1
  229. package/esm2015/grid-material/src/lib/models/grid-command.model.js +1 -1
  230. package/esm2015/grid-material/src/lib/models/grid-config.model.js +1 -1
  231. package/esm2015/grid-material/src/lib/models/grid-configuration.model.js +1 -1
  232. package/esm2015/grid-material/src/lib/models/grid-editor.model.js +1 -1
  233. package/esm2015/grid-material/src/lib/models/grid-export.model.js +1 -1
  234. package/esm2015/grid-material/src/lib/models/grid-filter.model.js +1 -1
  235. package/esm2015/grid-material/src/lib/models/grid-group.model.js +1 -1
  236. package/esm2015/grid-material/src/lib/models/grid-option.model.js +1 -1
  237. package/esm2015/grid-material/src/lib/models/grid-reload.model.js +1 -1
  238. package/esm2015/grid-material/src/lib/models/grid-selection.model.js +1 -1
  239. package/esm2015/grid-material/src/lib/models/grid-style.model.js +1 -1
  240. package/esm2015/grid-material/src/lib/models/grid-sub-information.model.js +1 -1
  241. package/esm2015/grid-material/src/lib/models/grid.model.js +1 -1
  242. package/esm2015/grid-material/src/lib/pipes/cell-view.pipe.js +1 -1
  243. package/esm2015/grid-material/src/lib/pipes/column-badge.pipe.js +1 -1
  244. package/esm2015/grid-material/src/lib/pipes/column-children-filter.pipe.js +1 -1
  245. package/esm2015/grid-material/src/lib/pipes/column-html-template.pipe.js +1 -1
  246. package/esm2015/grid-material/src/lib/pipes/column-title.pipe.js +1 -1
  247. package/esm2015/grid-material/src/lib/pipes/column-tooltip.pipe.js +1 -1
  248. package/esm2015/grid-material/src/lib/pipes/column-transform.pipe.js +1 -1
  249. package/esm2015/grid-material/src/lib/pipes/column-values.pipe.js +1 -1
  250. package/esm2015/grid-material/src/lib/pipes/command-disable.pipe.js +1 -1
  251. package/esm2015/grid-material/src/lib/pipes/command-filter.pipe.js +1 -1
  252. package/esm2015/grid-material/src/lib/pipes/command-icon.pipe.js +1 -1
  253. package/esm2015/grid-material/src/lib/pipes/command-title.pipe.js +1 -1
  254. package/esm2015/grid-material/src/lib/pipes/editor-handler-column.pipe.js +1 -1
  255. package/esm2015/grid-material/src/lib/pipes/editor-handler-row.pipe.js +1 -1
  256. package/esm2015/grid-material/src/lib/pipes/editor-validate.pipe.js +1 -1
  257. package/esm2015/grid-material/src/lib/pipes/filter-column.pipe.js +1 -1
  258. package/esm2015/grid-material/src/lib/pipes/filter-external.pipe.js +1 -1
  259. package/esm2015/grid-material/src/lib/pipes/grid-configuration-result.pipe.js +1 -1
  260. package/esm2015/grid-material/src/lib/pipes/sd-group.pipe.js +1 -1
  261. package/esm2015/grid-material/src/lib/pipes/sd-id.pipe.js +1 -1
  262. package/esm2015/grid-material/src/lib/pipes/selection-action-filter.pipe.js +1 -1
  263. package/esm2015/grid-material/src/lib/pipes/selection-disable.pipe.js +1 -1
  264. package/esm2015/grid-material/src/lib/pipes/selection-visible-select-all.pipe.js +1 -1
  265. package/esm2015/grid-material/src/lib/pipes/selection-visible.pipe.js +1 -1
  266. package/esm2015/grid-material/src/lib/pipes/style-row-css.pipe.js +1 -1
  267. package/esm2015/grid-material/src/lib/services/generated-column/generated-column.model.js +1 -1
  268. package/esm2015/grid-material/src/lib/services/generated-column/generated-column.service.js +1 -1
  269. package/esm2015/grid-material/src/lib/services/grid-configuration.service.js +1 -1
  270. package/esm2015/grid-material/src/lib/services/grid-filter.service.js +1 -1
  271. package/esm2015/grid-material/src/public-api.js +1 -1
  272. package/esm2015/image-preview/index.js +1 -1
  273. package/esm2015/image-preview/sd-angular-core-image-preview.js +1 -1
  274. package/esm2015/image-preview/src/lib/directives/image-preview.directive.js +1 -1
  275. package/esm2015/image-preview/src/lib/image-preview/image-preview.component.js +1 -1
  276. package/esm2015/image-preview/src/lib/image-preview/image-preview.module.js +1 -1
  277. package/esm2015/image-preview/src/lib/models/image-preview.model.js +1 -1
  278. package/esm2015/image-preview/src/public-api.js +1 -1
  279. package/esm2015/input/index.js +1 -1
  280. package/esm2015/input/sd-angular-core-input.js +1 -1
  281. package/esm2015/input/src/lib/directives/input-suffix.directive.js +1 -1
  282. package/esm2015/input/src/lib/directives/touch.directive.js +1 -1
  283. package/esm2015/input/src/lib/input-tooltip.pipe.js +1 -1
  284. package/esm2015/input/src/lib/input.component.js +1 -1
  285. package/esm2015/input/src/lib/input.module.js +1 -1
  286. package/esm2015/input/src/public-api.js +1 -1
  287. package/esm2015/input-currency/index.js +1 -1
  288. package/esm2015/input-currency/sd-angular-core-input-currency.js +1 -1
  289. package/esm2015/input-currency/src/lib/input-currency-tooltip.pipe.js +1 -1
  290. package/esm2015/input-currency/src/lib/input-currency.component.js +1 -1
  291. package/esm2015/input-currency/src/lib/input-currency.module.js +1 -1
  292. package/esm2015/input-currency/src/public-api.js +1 -1
  293. package/esm2015/input-dropdown/index.js +1 -1
  294. package/esm2015/input-dropdown/sd-angular-core-input-dropdown.js +1 -1
  295. package/esm2015/input-dropdown/src/lib/input-tooltip.pipe.js +1 -1
  296. package/esm2015/input-dropdown/src/lib/input.component.js +1 -1
  297. package/esm2015/input-dropdown/src/lib/input.module.js +1 -1
  298. package/esm2015/input-dropdown/src/public-api.js +1 -1
  299. package/esm2015/input-upload-file/index.js +1 -1
  300. package/esm2015/input-upload-file/sd-angular-core-input-upload-file.js +1 -1
  301. package/esm2015/input-upload-file/src/lib/input-upload-file.component.js +1 -1
  302. package/esm2015/input-upload-file/src/lib/input-upload-file.module.js +1 -1
  303. package/esm2015/input-upload-file/src/public-api.js +1 -1
  304. package/esm2015/konva/index.js +1 -1
  305. package/esm2015/konva/sd-angular-core-konva.js +1 -1
  306. package/esm2015/konva/src/lib/konva.module.js +1 -1
  307. package/esm2015/konva/src/lib/merge-images/merge-images.component.js +1 -1
  308. package/esm2015/konva/src/public-api.js +1 -1
  309. package/esm2015/label/index.js +1 -1
  310. package/esm2015/label/sd-angular-core-label.js +1 -1
  311. package/esm2015/label/src/lib/label.component.js +1 -1
  312. package/esm2015/label/src/lib/label.module.js +1 -1
  313. package/esm2015/label/src/public-api.js +1 -1
  314. package/esm2015/lib/core.module.js +1 -1
  315. package/esm2015/lib/material.module.js +1 -1
  316. package/esm2015/loading/index.js +1 -1
  317. package/esm2015/loading/sd-angular-core-loading.js +1 -1
  318. package/esm2015/loading/src/lib/loading.service.js +1 -1
  319. package/esm2015/loading/src/public-api.js +1 -1
  320. package/esm2015/modal/index.js +1 -1
  321. package/esm2015/modal/sd-angular-core-modal.js +1 -1
  322. package/esm2015/modal/src/lib/bottom-sheet/bottom-sheet-body/bottom-sheet-body.component.js +1 -1
  323. package/esm2015/modal/src/lib/bottom-sheet/bottom-sheet-footer/bottom-sheet-footer.component.js +1 -1
  324. package/esm2015/modal/src/lib/bottom-sheet/bottom-sheet-header/bottom-sheet-header.component.js +1 -1
  325. package/esm2015/modal/src/lib/bottom-sheet/bottom-sheet.component.js +1 -1
  326. package/esm2015/modal/src/lib/modal/modal-body/modal-body.component.js +1 -1
  327. package/esm2015/modal/src/lib/modal/modal-footer/modal-footer.component.js +1 -1
  328. package/esm2015/modal/src/lib/modal/modal-header/modal-header.component.js +1 -1
  329. package/esm2015/modal/src/lib/modal/modal.component.js +1 -1
  330. package/esm2015/modal/src/lib/modal.module.js +1 -1
  331. package/esm2015/modal/src/public-api.js +1 -1
  332. package/esm2015/modal-resizable/index.js +1 -1
  333. package/esm2015/modal-resizable/sd-angular-core-modal-resizable.js +1 -1
  334. package/esm2015/modal-resizable/src/lib/modal-resizable/modal-resizable.component.js +1 -1
  335. package/esm2015/modal-resizable/src/lib/modal-resizable.module.js +1 -1
  336. package/esm2015/modal-resizable/src/public-api.js +1 -1
  337. package/esm2015/notify/index.js +1 -1
  338. package/esm2015/notify/sd-angular-core-notify.js +1 -1
  339. package/esm2015/notify/src/lib/components/dialog-confirm/dialog-confirm.component.js +1 -1
  340. package/esm2015/notify/src/lib/notify.module.js +1 -1
  341. package/esm2015/notify/src/lib/notify.service.js +1 -1
  342. package/esm2015/notify/src/public-api.js +1 -1
  343. package/esm2015/popover/index.js +1 -1
  344. package/esm2015/popover/sd-angular-core-popover.js +1 -1
  345. package/esm2015/popover/src/lib/directives/popover-trigger.directive.js +1 -1
  346. package/esm2015/popover/src/lib/popover/popover.component.js +1 -1
  347. package/esm2015/popover/src/lib/popover.model.js +1 -1
  348. package/esm2015/popover/src/lib/popover.module.js +1 -1
  349. package/esm2015/popover/src/public-api.js +1 -1
  350. package/esm2015/public-api.js +1 -1
  351. package/esm2015/quick-action/index.js +1 -1
  352. package/esm2015/quick-action/sd-angular-core-quick-action.js +1 -1
  353. package/esm2015/quick-action/src/lib/quick-action.component.js +1 -1
  354. package/esm2015/quick-action/src/lib/quick-action.module.js +1 -1
  355. package/esm2015/quick-action/src/public-api.js +1 -1
  356. package/esm2015/radio/index.js +1 -1
  357. package/esm2015/radio/sd-angular-core-radio.js +1 -1
  358. package/esm2015/radio/src/lib/radio.component.js +1 -1
  359. package/esm2015/radio/src/lib/radio.module.js +1 -1
  360. package/esm2015/radio/src/public-api.js +1 -1
  361. package/esm2015/sd-angular-core.js +1 -1
  362. package/esm2015/select/index.js +1 -1
  363. package/esm2015/select/sd-angular-core-select.js +1 -1
  364. package/esm2015/select/src/lib/select-display-def.directive.js +1 -1
  365. package/esm2015/select/src/lib/select.component.js +1 -1
  366. package/esm2015/select/src/lib/select.module.js +1 -1
  367. package/esm2015/select/src/public-api.js +1 -1
  368. package/esm2015/select-editor/index.js +1 -1
  369. package/esm2015/select-editor/sd-angular-core-select-editor.js +1 -1
  370. package/esm2015/select-editor/src/lib/select-editor.component.js +1 -1
  371. package/esm2015/select-editor/src/lib/select-editor.module.js +1 -1
  372. package/esm2015/select-editor/src/public-api.js +1 -1
  373. package/esm2015/service/index.js +1 -1
  374. package/esm2015/service/sd-angular-core-service.js +1 -1
  375. package/esm2015/service/src/lib/service.module.js +1 -1
  376. package/esm2015/service/src/public-api.js +1 -1
  377. package/esm2015/setting/index.js +1 -1
  378. package/esm2015/setting/sd-angular-core-setting.js +1 -1
  379. package/esm2015/setting/src/lib/setting.model.js +1 -1
  380. package/esm2015/setting/src/lib/setting.service.js +1 -1
  381. package/esm2015/setting/src/public-api.js +1 -1
  382. package/esm2015/side-drawer/index.js +1 -1
  383. package/esm2015/side-drawer/sd-angular-core-side-drawer.js +1 -1
  384. package/esm2015/side-drawer/src/lib/side-drawer/side-drawer.component.js +1 -1
  385. package/esm2015/side-drawer/src/lib/side-drawer.module.js +1 -1
  386. package/esm2015/side-drawer/src/public-api.js +1 -1
  387. package/esm2015/switch/index.js +1 -1
  388. package/esm2015/switch/sd-angular-core-switch.js +1 -1
  389. package/esm2015/switch/src/lib/switch.component.js +1 -1
  390. package/esm2015/switch/src/lib/switch.module.js +1 -1
  391. package/esm2015/switch/src/public-api.js +1 -1
  392. package/esm2015/tab-router/index.js +1 -1
  393. package/esm2015/tab-router/sd-angular-core-tab-router.js +1 -1
  394. package/esm2015/tab-router/src/lib/actions/tab-router.action.js +1 -1
  395. package/esm2015/tab-router/src/lib/components/tab-router-item/tab-router-item.component.js +1 -1
  396. package/esm2015/tab-router/src/lib/components/tab-router-nav/tab-router-nav.component.js +1 -1
  397. package/esm2015/tab-router/src/lib/components/tab-router-outlet/tab-router-outlet.component.js +1 -1
  398. package/esm2015/tab-router/src/lib/decorators/tab.decorator.js +1 -1
  399. package/esm2015/tab-router/src/lib/events/tab-router.event.js +1 -1
  400. package/esm2015/tab-router/src/lib/models/tab-router.model.js +1 -1
  401. package/esm2015/tab-router/src/lib/pipes/tab-info.pipe.js +1 -1
  402. package/esm2015/tab-router/src/lib/services/tab-decorator.service.js +1 -1
  403. package/esm2015/tab-router/src/lib/services/tab-router.service.js +1 -1
  404. package/esm2015/tab-router/src/lib/tab-router.module.js +1 -1
  405. package/esm2015/tab-router/src/public-api.js +1 -1
  406. package/esm2015/textarea/index.js +1 -1
  407. package/esm2015/textarea/sd-angular-core-textarea.js +1 -1
  408. package/esm2015/textarea/src/lib/textarea.component.js +1 -1
  409. package/esm2015/textarea/src/lib/textarea.module.js +1 -1
  410. package/esm2015/textarea/src/public-api.js +1 -1
  411. package/esm2015/time/index.js +1 -1
  412. package/esm2015/time/sd-angular-core-time.js +1 -1
  413. package/esm2015/time/src/lib/time.component.js +1 -1
  414. package/esm2015/time/src/lib/time.module.js +1 -1
  415. package/esm2015/time/src/public-api.js +1 -1
  416. package/esm2015/timeline/index.js +2 -0
  417. package/esm2015/timeline/sd-angular-core-timeline.js +6 -0
  418. package/esm2015/timeline/src/lib/components/timeline.component.js +49 -0
  419. package/esm2015/timeline/src/lib/directives/timeline-def.directive.js +18 -0
  420. package/esm2015/timeline/src/lib/timeline.module.js +14 -0
  421. package/esm2015/timeline/src/public-api.js +6 -0
  422. package/esm2015/translate/index.js +1 -1
  423. package/esm2015/translate/sd-angular-core-translate.js +1 -1
  424. package/esm2015/translate/src/lib/translate.model.js +1 -1
  425. package/esm2015/translate/src/lib/translate.module.js +1 -1
  426. package/esm2015/translate/src/lib/translate.pipe.js +1 -1
  427. package/esm2015/translate/src/lib/translate.service.js +1 -1
  428. package/esm2015/upload-excel/index.js +1 -1
  429. package/esm2015/upload-excel/sd-angular-core-upload-excel.js +1 -1
  430. package/esm2015/upload-excel/src/lib/upload-excel.component.js +1 -1
  431. package/esm2015/upload-excel/src/lib/upload-excel.model.js +1 -1
  432. package/esm2015/upload-excel/src/lib/upload-excel.module.js +1 -1
  433. package/esm2015/upload-excel/src/public-api.js +1 -1
  434. package/esm2015/upload-file/index.js +1 -1
  435. package/esm2015/upload-file/sd-angular-core-upload-file.js +1 -1
  436. package/esm2015/upload-file/src/lib/upload-file.component.js +1 -1
  437. package/esm2015/upload-file/src/lib/upload-file.module.js +1 -1
  438. package/esm2015/upload-file/src/public-api.js +1 -1
  439. package/esm2015/utility/index.js +1 -1
  440. package/esm2015/utility/sd-angular-core-utility.js +1 -1
  441. package/esm2015/utility/src/lib/directives/desktop.directive.js +1 -1
  442. package/esm2015/utility/src/lib/directives/mobile-tablet.directive.js +1 -1
  443. package/esm2015/utility/src/lib/directives/mobile.directive.js +1 -1
  444. package/esm2015/utility/src/lib/directives/tablet.directive.js +1 -1
  445. package/esm2015/utility/src/lib/pipes/currency.pipe.js +1 -1
  446. package/esm2015/utility/src/lib/pipes/safe-html.pipe.js +1 -1
  447. package/esm2015/utility/src/lib/pipes/time-different.pipe.js +1 -1
  448. package/esm2015/utility/src/lib/utility.module.js +4 -2
  449. package/esm2015/utility/src/lib/utility.service.js +10 -4
  450. package/esm2015/utility/src/public-api.js +1 -1
  451. package/esm2015/view/index.js +1 -1
  452. package/esm2015/view/sd-angular-core-view.js +1 -1
  453. package/esm2015/view/src/lib/view.module.js +1 -1
  454. package/esm2015/view/src/public-api.js +1 -1
  455. package/export/sd-angular-core-export.metadata.json +1 -1
  456. package/export/src/lib/export.model.d.ts +1 -0
  457. package/export/src/lib/export.service.d.ts +1 -0
  458. package/fesm2015/sd-angular-core-date-month.js +277 -0
  459. package/fesm2015/sd-angular-core-date-month.js.map +1 -0
  460. package/fesm2015/sd-angular-core-date-time.js +11 -2
  461. package/fesm2015/sd-angular-core-date-time.js.map +1 -1
  462. package/fesm2015/sd-angular-core-export.js +15 -1
  463. package/fesm2015/sd-angular-core-export.js.map +1 -1
  464. package/fesm2015/sd-angular-core-form.js +3 -0
  465. package/fesm2015/sd-angular-core-form.js.map +1 -1
  466. package/fesm2015/sd-angular-core-timeline.js +87 -0
  467. package/fesm2015/sd-angular-core-timeline.js.map +1 -0
  468. package/fesm2015/sd-angular-core-utility.js +10 -5
  469. package/fesm2015/sd-angular-core-utility.js.map +1 -1
  470. package/form/sd-angular-core-form.metadata.json +1 -1
  471. package/package.json +1 -1
  472. package/{sd-angular-core-1.0.60.tgz → sd-angular-core-1.0.63.tgz} +0 -0
  473. package/timeline/index.d.ts +1 -0
  474. package/timeline/package.json +12 -0
  475. package/timeline/sd-angular-core-timeline.d.ts +5 -0
  476. package/timeline/sd-angular-core-timeline.metadata.json +1 -0
  477. package/timeline/src/lib/components/timeline.component.d.ts +17 -0
  478. package/timeline/src/lib/directives/timeline-def.directive.d.ts +6 -0
  479. package/timeline/src/lib/timeline.module.d.ts +2 -0
  480. package/timeline/src/public-api.d.ts +2 -0
  481. package/utility/package.json +1 -1
  482. package/utility/sd-angular-core-utility.metadata.json +1 -1
  483. package/utility/src/lib/utility.service.d.ts +3 -1
@@ -0,0 +1,638 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('@angular/material/form-field'), require('@angular/material/datepicker'), require('@angular-material-components/datetime-picker'), require('uuid'), require('moment'), require('ngx-device-detector'), require('@angular/material/core'), require('rxjs'), require('@sd-angular/core/common'), require('@sd-angular/core/translate'), require('@angular/material/input'), require('@angular-material-components/moment-adapter'), require('@angular/material-moment-adapter'), require('@angular/material/icon')) :
3
+ typeof define === 'function' && define.amd ? define('@sd-angular/core/date-month', ['exports', '@angular/core', '@angular/common', '@angular/forms', '@angular/material/form-field', '@angular/material/datepicker', '@angular-material-components/datetime-picker', 'uuid', 'moment', 'ngx-device-detector', '@angular/material/core', 'rxjs', '@sd-angular/core/common', '@sd-angular/core/translate', '@angular/material/input', '@angular-material-components/moment-adapter', '@angular/material-moment-adapter', '@angular/material/icon'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['sd-angular'] = global['sd-angular'] || {}, global['sd-angular'].core = global['sd-angular'].core || {}, global['sd-angular'].core['date-month'] = {}), global.ng.core, global.ng.common, global.ng.forms, global.ng.material.formField, global.ng.material.datepicker, global['@angular-material-components/datetime-picker'], global.uuid, global.moment, global['ngx-device-detector'], global.ng.material.core, global.rxjs, global['sd-angular'].core.common, global['sd-angular'].core.translate, global.ng.material.input, global['@angular-material-components/moment-adapter'], global.ng.materialMomentAdapter, global.ng.material.icon));
5
+ }(this, (function (exports, core, common$1, forms, formField, datepicker, datetimePicker, uuid, moment, ngxDeviceDetector, core$1, rxjs, common, translate, input, momentAdapter, materialMomentAdapter, icon) { 'use strict';
6
+
7
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
+
9
+ var moment__default = /*#__PURE__*/_interopDefaultLegacy(moment);
10
+
11
+ /*! *****************************************************************************
12
+ Copyright (c) Microsoft Corporation.
13
+
14
+ Permission to use, copy, modify, and/or distribute this software for any
15
+ purpose with or without fee is hereby granted.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
18
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
19
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
20
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
21
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
22
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
23
+ PERFORMANCE OF THIS SOFTWARE.
24
+ ***************************************************************************** */
25
+ /* global Reflect, Promise */
26
+ var extendStatics = function (d, b) {
27
+ extendStatics = Object.setPrototypeOf ||
28
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
29
+ function (d, b) { for (var p in b)
30
+ if (Object.prototype.hasOwnProperty.call(b, p))
31
+ d[p] = b[p]; };
32
+ return extendStatics(d, b);
33
+ };
34
+ function __extends(d, b) {
35
+ if (typeof b !== "function" && b !== null)
36
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
37
+ extendStatics(d, b);
38
+ function __() { this.constructor = d; }
39
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
40
+ }
41
+ var __assign = function () {
42
+ __assign = Object.assign || function __assign(t) {
43
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
44
+ s = arguments[i];
45
+ for (var p in s)
46
+ if (Object.prototype.hasOwnProperty.call(s, p))
47
+ t[p] = s[p];
48
+ }
49
+ return t;
50
+ };
51
+ return __assign.apply(this, arguments);
52
+ };
53
+ function __rest(s, e) {
54
+ var t = {};
55
+ for (var p in s)
56
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
57
+ t[p] = s[p];
58
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
59
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
60
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
61
+ t[p[i]] = s[p[i]];
62
+ }
63
+ return t;
64
+ }
65
+ function __decorate(decorators, target, key, desc) {
66
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
67
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
68
+ r = Reflect.decorate(decorators, target, key, desc);
69
+ else
70
+ for (var i = decorators.length - 1; i >= 0; i--)
71
+ if (d = decorators[i])
72
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
73
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
74
+ }
75
+ function __param(paramIndex, decorator) {
76
+ return function (target, key) { decorator(target, key, paramIndex); };
77
+ }
78
+ function __metadata(metadataKey, metadataValue) {
79
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
80
+ return Reflect.metadata(metadataKey, metadataValue);
81
+ }
82
+ function __awaiter(thisArg, _arguments, P, generator) {
83
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
84
+ return new (P || (P = Promise))(function (resolve, reject) {
85
+ function fulfilled(value) { try {
86
+ step(generator.next(value));
87
+ }
88
+ catch (e) {
89
+ reject(e);
90
+ } }
91
+ function rejected(value) { try {
92
+ step(generator["throw"](value));
93
+ }
94
+ catch (e) {
95
+ reject(e);
96
+ } }
97
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
98
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
99
+ });
100
+ }
101
+ function __generator(thisArg, body) {
102
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
103
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
104
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
105
+ function verb(n) { return function (v) { return step([n, v]); }; }
106
+ function step(op) {
107
+ if (f)
108
+ throw new TypeError("Generator is already executing.");
109
+ while (_)
110
+ try {
111
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
112
+ return t;
113
+ if (y = 0, t)
114
+ op = [op[0] & 2, t.value];
115
+ switch (op[0]) {
116
+ case 0:
117
+ case 1:
118
+ t = op;
119
+ break;
120
+ case 4:
121
+ _.label++;
122
+ return { value: op[1], done: false };
123
+ case 5:
124
+ _.label++;
125
+ y = op[1];
126
+ op = [0];
127
+ continue;
128
+ case 7:
129
+ op = _.ops.pop();
130
+ _.trys.pop();
131
+ continue;
132
+ default:
133
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
134
+ _ = 0;
135
+ continue;
136
+ }
137
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
138
+ _.label = op[1];
139
+ break;
140
+ }
141
+ if (op[0] === 6 && _.label < t[1]) {
142
+ _.label = t[1];
143
+ t = op;
144
+ break;
145
+ }
146
+ if (t && _.label < t[2]) {
147
+ _.label = t[2];
148
+ _.ops.push(op);
149
+ break;
150
+ }
151
+ if (t[2])
152
+ _.ops.pop();
153
+ _.trys.pop();
154
+ continue;
155
+ }
156
+ op = body.call(thisArg, _);
157
+ }
158
+ catch (e) {
159
+ op = [6, e];
160
+ y = 0;
161
+ }
162
+ finally {
163
+ f = t = 0;
164
+ }
165
+ if (op[0] & 5)
166
+ throw op[1];
167
+ return { value: op[0] ? op[1] : void 0, done: true };
168
+ }
169
+ }
170
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
171
+ if (k2 === undefined)
172
+ k2 = k;
173
+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
174
+ }) : (function (o, m, k, k2) {
175
+ if (k2 === undefined)
176
+ k2 = k;
177
+ o[k2] = m[k];
178
+ });
179
+ function __exportStar(m, o) {
180
+ for (var p in m)
181
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
182
+ __createBinding(o, m, p);
183
+ }
184
+ function __values(o) {
185
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
186
+ if (m)
187
+ return m.call(o);
188
+ if (o && typeof o.length === "number")
189
+ return {
190
+ next: function () {
191
+ if (o && i >= o.length)
192
+ o = void 0;
193
+ return { value: o && o[i++], done: !o };
194
+ }
195
+ };
196
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
197
+ }
198
+ function __read(o, n) {
199
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
200
+ if (!m)
201
+ return o;
202
+ var i = m.call(o), r, ar = [], e;
203
+ try {
204
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
205
+ ar.push(r.value);
206
+ }
207
+ catch (error) {
208
+ e = { error: error };
209
+ }
210
+ finally {
211
+ try {
212
+ if (r && !r.done && (m = i["return"]))
213
+ m.call(i);
214
+ }
215
+ finally {
216
+ if (e)
217
+ throw e.error;
218
+ }
219
+ }
220
+ return ar;
221
+ }
222
+ /** @deprecated */
223
+ function __spread() {
224
+ for (var ar = [], i = 0; i < arguments.length; i++)
225
+ ar = ar.concat(__read(arguments[i]));
226
+ return ar;
227
+ }
228
+ /** @deprecated */
229
+ function __spreadArrays() {
230
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
231
+ s += arguments[i].length;
232
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
233
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
234
+ r[k] = a[j];
235
+ return r;
236
+ }
237
+ function __spreadArray(to, from, pack) {
238
+ if (pack || arguments.length === 2)
239
+ for (var i = 0, l = from.length, ar; i < l; i++) {
240
+ if (ar || !(i in from)) {
241
+ if (!ar)
242
+ ar = Array.prototype.slice.call(from, 0, i);
243
+ ar[i] = from[i];
244
+ }
245
+ }
246
+ return to.concat(ar || Array.prototype.slice.call(from));
247
+ }
248
+ function __await(v) {
249
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
250
+ }
251
+ function __asyncGenerator(thisArg, _arguments, generator) {
252
+ if (!Symbol.asyncIterator)
253
+ throw new TypeError("Symbol.asyncIterator is not defined.");
254
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
255
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
256
+ function verb(n) { if (g[n])
257
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
258
+ function resume(n, v) { try {
259
+ step(g[n](v));
260
+ }
261
+ catch (e) {
262
+ settle(q[0][3], e);
263
+ } }
264
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
265
+ function fulfill(value) { resume("next", value); }
266
+ function reject(value) { resume("throw", value); }
267
+ function settle(f, v) { if (f(v), q.shift(), q.length)
268
+ resume(q[0][0], q[0][1]); }
269
+ }
270
+ function __asyncDelegator(o) {
271
+ var i, p;
272
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
273
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
274
+ }
275
+ function __asyncValues(o) {
276
+ if (!Symbol.asyncIterator)
277
+ throw new TypeError("Symbol.asyncIterator is not defined.");
278
+ var m = o[Symbol.asyncIterator], i;
279
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
280
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
281
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
282
+ }
283
+ function __makeTemplateObject(cooked, raw) {
284
+ if (Object.defineProperty) {
285
+ Object.defineProperty(cooked, "raw", { value: raw });
286
+ }
287
+ else {
288
+ cooked.raw = raw;
289
+ }
290
+ return cooked;
291
+ }
292
+ ;
293
+ var __setModuleDefault = Object.create ? (function (o, v) {
294
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
295
+ }) : function (o, v) {
296
+ o["default"] = v;
297
+ };
298
+ function __importStar(mod) {
299
+ if (mod && mod.__esModule)
300
+ return mod;
301
+ var result = {};
302
+ if (mod != null)
303
+ for (var k in mod)
304
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
305
+ __createBinding(result, mod, k);
306
+ __setModuleDefault(result, mod);
307
+ return result;
308
+ }
309
+ function __importDefault(mod) {
310
+ return (mod && mod.__esModule) ? mod : { default: mod };
311
+ }
312
+ function __classPrivateFieldGet(receiver, state, kind, f) {
313
+ if (kind === "a" && !f)
314
+ throw new TypeError("Private accessor was defined without a getter");
315
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
316
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
317
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
318
+ }
319
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
320
+ if (kind === "m")
321
+ throw new TypeError("Private method is not writable");
322
+ if (kind === "a" && !f)
323
+ throw new TypeError("Private accessor was defined without a setter");
324
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
325
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
326
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
327
+ }
328
+
329
+ var _date, _name, _form, _subscription;
330
+ var MY_FORMATS = {
331
+ parse: {
332
+ dateInput: 'MM/YYYY',
333
+ },
334
+ display: {
335
+ dateInput: 'MM/YYYY',
336
+ monthYearLabel: 'MMM YYYY',
337
+ dateA11yLabel: 'LL',
338
+ monthYearA11yLabel: 'MMMM YYYY',
339
+ },
340
+ };
341
+ var SdDateMonth = /** @class */ (function () {
342
+ function SdDateMonth(ref, deviceService) {
343
+ var _this = this;
344
+ this.ref = ref;
345
+ this.id = "I" + uuid.v4();
346
+ this.isMobileOrTablet = false;
347
+ _date.set(this, void 0);
348
+ _name.set(this, uuid.v4());
349
+ this.disableErrorMessage = false;
350
+ this.formControl = new common.SdFormControl();
351
+ _form.set(this, void 0);
352
+ this.isRequired = false;
353
+ this.sdChange = new core.EventEmitter();
354
+ this.modelChange = new core.EventEmitter();
355
+ _subscription.set(this, new rxjs.Subscription());
356
+ this.isFocused = false;
357
+ this.onFocus = function () {
358
+ _this.isFocused = true;
359
+ };
360
+ this.onBlur = function () {
361
+ _this.isFocused = false;
362
+ };
363
+ this.onClick = function () {
364
+ var _a;
365
+ if ((_a = _this.sdView) === null || _a === void 0 ? void 0 : _a.templateRef) {
366
+ if (!_this.formControl.disabled && !_this.isFocused) {
367
+ _this.focus();
368
+ }
369
+ }
370
+ };
371
+ this.blur = function () {
372
+ var _a, _b;
373
+ (_b = (_a = _this.input) === null || _a === void 0 ? void 0 : _a.nativeElement) === null || _b === void 0 ? void 0 : _b.blur();
374
+ };
375
+ this.focus = function () {
376
+ _this.isFocused = true;
377
+ setTimeout(function () {
378
+ var _a, _b, _c;
379
+ (_b = (_a = _this.input) === null || _a === void 0 ? void 0 : _a.nativeElement) === null || _b === void 0 ? void 0 : _b.focus();
380
+ (_c = _this.datePicker) === null || _c === void 0 ? void 0 : _c.open();
381
+ }, 100);
382
+ };
383
+ this.onChange = function (event) {
384
+ var _a, _b, _c, _d;
385
+ var value = (_a = event.value) === null || _a === void 0 ? void 0 : _a.toDate();
386
+ (_c = (_b = _this.input) === null || _b === void 0 ? void 0 : _b.nativeElement) === null || _c === void 0 ? void 0 : _c.focus();
387
+ if (value) {
388
+ if (new Date(__classPrivateFieldGet(_this, _date)) !== value) {
389
+ _this.modelChange.emit(value);
390
+ _this.sdChange.emit(value);
391
+ }
392
+ }
393
+ else {
394
+ if (!((_d = _this.formControl) === null || _d === void 0 ? void 0 : _d.value)) {
395
+ _this.modelChange.emit(null);
396
+ _this.sdChange.emit(null);
397
+ }
398
+ }
399
+ };
400
+ this.clear = function ($event) {
401
+ $event === null || $event === void 0 ? void 0 : $event.stopPropagation();
402
+ if (_this.formControl.value) {
403
+ _this.formControl.setValue(null);
404
+ _this.modelChange.emit(null);
405
+ _this.sdChange.emit(null);
406
+ }
407
+ };
408
+ this.setMonthAndYear = function (normalizedMonthAndYear, datepicker) {
409
+ var ctrlValue = _this.formControl.value || moment__default['default']();
410
+ ctrlValue.month(normalizedMonthAndYear.month());
411
+ ctrlValue.year(normalizedMonthAndYear.year());
412
+ _this.formControl.setValue(ctrlValue);
413
+ datepicker.close();
414
+ _this.modelChange.emit(ctrlValue);
415
+ _this.sdChange.emit(ctrlValue);
416
+ };
417
+ this.isMobileOrTablet = !deviceService.isDesktop();
418
+ }
419
+ Object.defineProperty(SdDateMonth.prototype, "name", {
420
+ set: function (val) {
421
+ if (val) {
422
+ __classPrivateFieldSet(this, _name, val);
423
+ }
424
+ },
425
+ enumerable: false,
426
+ configurable: true
427
+ });
428
+ Object.defineProperty(SdDateMonth.prototype, "_disableErrorMessage", {
429
+ set: function (val) {
430
+ this.disableErrorMessage = (val === '') || val;
431
+ val = (val === '') || val;
432
+ },
433
+ enumerable: false,
434
+ configurable: true
435
+ });
436
+ Object.defineProperty(SdDateMonth.prototype, "_min", {
437
+ set: function (val) {
438
+ if (Date.isDate(val)) {
439
+ this.min = new Date(val);
440
+ }
441
+ else {
442
+ this.min = null;
443
+ }
444
+ },
445
+ enumerable: false,
446
+ configurable: true
447
+ });
448
+ Object.defineProperty(SdDateMonth.prototype, "_max", {
449
+ set: function (val) {
450
+ if (Date.isDate(val)) {
451
+ this.max = new Date(val);
452
+ }
453
+ else {
454
+ this.max = null;
455
+ }
456
+ },
457
+ enumerable: false,
458
+ configurable: true
459
+ });
460
+ Object.defineProperty(SdDateMonth.prototype, "form", {
461
+ set: function (val) {
462
+ if (val) {
463
+ if (val instanceof forms.NgForm) {
464
+ __classPrivateFieldSet(this, _form, val.form);
465
+ }
466
+ else {
467
+ __classPrivateFieldSet(this, _form, val);
468
+ }
469
+ }
470
+ },
471
+ enumerable: false,
472
+ configurable: true
473
+ });
474
+ Object.defineProperty(SdDateMonth.prototype, "disabled", {
475
+ set: function (val) {
476
+ val = (val === '') || val;
477
+ if (val) {
478
+ this.formControl.disable();
479
+ }
480
+ else {
481
+ this.formControl.enable();
482
+ }
483
+ },
484
+ enumerable: false,
485
+ configurable: true
486
+ });
487
+ Object.defineProperty(SdDateMonth.prototype, "required", {
488
+ set: function (val) {
489
+ this.isRequired = (val === '') || val;
490
+ if (this.isRequired) {
491
+ this.formControl.setValidators([forms.Validators.required]);
492
+ }
493
+ else {
494
+ this.formControl.clearValidators();
495
+ }
496
+ },
497
+ enumerable: false,
498
+ configurable: true
499
+ });
500
+ Object.defineProperty(SdDateMonth.prototype, "minDate", {
501
+ set: function (val) {
502
+ if (Date.isDate(val)) {
503
+ this.min = new Date(val);
504
+ }
505
+ else {
506
+ this.min = null;
507
+ }
508
+ },
509
+ enumerable: false,
510
+ configurable: true
511
+ });
512
+ Object.defineProperty(SdDateMonth.prototype, "maxDate", {
513
+ set: function (val) {
514
+ if (Date.isDate(val)) {
515
+ this.max = new Date(val);
516
+ }
517
+ else {
518
+ this.max = null;
519
+ }
520
+ },
521
+ enumerable: false,
522
+ configurable: true
523
+ });
524
+ Object.defineProperty(SdDateMonth.prototype, "model", {
525
+ set: function (val) {
526
+ if (!Date.isDate(val)) {
527
+ val = null;
528
+ }
529
+ if (__classPrivateFieldGet(this, _date) !== val) {
530
+ __classPrivateFieldSet(this, _date, val);
531
+ var date = Date.isDate(__classPrivateFieldGet(this, _date)) ? moment__default['default'](Date.toFormat(__classPrivateFieldGet(this, _date), 'MM/dd/yyyy HH:mm:ss'), 'MM/DD/YYYY HH:mm:ss') : null;
532
+ this.formControl.setValue(date);
533
+ }
534
+ },
535
+ enumerable: false,
536
+ configurable: true
537
+ });
538
+ SdDateMonth.prototype.ngOnDestroy = function () {
539
+ var _a;
540
+ (_a = __classPrivateFieldGet(this, _form)) === null || _a === void 0 ? void 0 : _a.removeControl(__classPrivateFieldGet(this, _name));
541
+ __classPrivateFieldGet(this, _subscription).unsubscribe();
542
+ };
543
+ SdDateMonth.prototype.ngOnInit = function () {
544
+ var _this = this;
545
+ var _a;
546
+ __classPrivateFieldGet(this, _subscription).add(this.formControl.touchedChanges.subscribe(function () {
547
+ _this.ref.markForCheck();
548
+ }));
549
+ (_a = __classPrivateFieldGet(this, _form)) === null || _a === void 0 ? void 0 : _a.addControl(__classPrivateFieldGet(this, _name), this.formControl);
550
+ };
551
+ SdDateMonth.prototype.ngAfterViewInit = function () {
552
+ };
553
+ return SdDateMonth;
554
+ }());
555
+ _date = new WeakMap(), _name = new WeakMap(), _form = new WeakMap(), _subscription = new WeakMap();
556
+ SdDateMonth.decorators = [
557
+ { type: core.Component, args: [{
558
+ selector: 'sd-date-month',
559
+ template: "<div class=\"d-flex align-items-center\" [class.sd-view]=\"sdView?.templateRef\" [class.c-focused]=\"isFocused\"\r\n [class.c-disabled]=\"formControl.disabled\" (click)=\"onClick()\">\r\n <ng-container *ngIf=\"sdView?.templateRef && !isFocused && !datePicker?.opened; else default\">\r\n <ng-container *ngTemplateOutlet=\"sdView.templateRef;context: { value: formControl.value }\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #default>\r\n <mat-form-field class=\"sd-md\"\r\n [ngClass]=\"{ 'sd-sm': size === 'sm' , 'no-padding-wrapper': disableErrorMessage}\"\r\n appearance=\"outline\">\r\n <mat-label *ngIf=\"label\">{{ label }}</mat-label>\r\n <input [id]=\"id\" matInput (dateInput)=\"onChange($event)\" [autocomplete]=\"id\" autocorrect=\"off\"\r\n [formControl]=\"formControl\" [required]=\"isRequired\" [matDatepicker]=\"pickerMonth\"\r\n placeholder=\"{{ placeholder || label }}\" [min]=\"min\" [max]=\"max\" (focus)=\"onFocus()\" (blur)=\"onBlur()\"\r\n #input/>\r\n\r\n <mat-icon *ngIf=\"formControl?.value && !isRequired && !formControl.disabled\" class=\"pointer sd-suffix-icon\"\r\n (click)=\"clear($event)\" matSuffix>cancel\r\n </mat-icon>\r\n <mat-icon class=\"pointer sd-suffix-icon\" (click)=\"!formControl?.disabled && pickerMonth.open()\" #btn matSuffix>\r\n today\r\n </mat-icon>\r\n\r\n <mat-datepicker #pickerMonth [touchUi]=\"isMobileOrTablet\" startView=\"multi-year\"\r\n (monthSelected)=\"setMonthAndYear($event, pickerMonth)\"></mat-datepicker>\r\n\r\n <mat-error *ngIf=\"formControl?.errors?.required && !disableErrorMessage\">\r\n {{ \"This field is required\" | sdTranslate }}\r\n </mat-error>\r\n <mat-error *ngIf=\"formControl?.errors?.customValidator && !disableErrorMessage\">\r\n <strong>{{ formControl?.errors?.customValidator }}</strong>\r\n </mat-error>\r\n </mat-form-field>\r\n </ng-template>\r\n</div>\r\n",
560
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
561
+ providers: [
562
+ { provide: core$1.MAT_DATE_FORMATS, useValue: MY_FORMATS }
563
+ ],
564
+ styles: [":host{display:block;padding-top:5px}:host ::ng-deep .mat-form-field.no-padding-wrapper .mat-form-field-wrapper{padding-bottom:0}:host ::ng-deep .mat-form-field.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{background:#f6f6f6;color:#e9e9e9}:host ::ng-deep .mat-form-field input.mat-input-element:disabled{color:#4d4d4d!important}:host ::ng-deep .mat-form-field .mat-placeholder-required{color:#f82c13}.sd-view:not(.c-focused):not(.c-disabled):hover{background-color:#ebecf0}"]
565
+ },] }
566
+ ];
567
+ SdDateMonth.ctorParameters = function () { return [
568
+ { type: core.ChangeDetectorRef },
569
+ { type: ngxDeviceDetector.DeviceDetectorService }
570
+ ]; };
571
+ SdDateMonth.propDecorators = {
572
+ name: [{ type: core.Input }],
573
+ _disableErrorMessage: [{ type: core.Input, args: ['disableErrorMessage',] }],
574
+ _min: [{ type: core.Input, args: ['min',] }],
575
+ _max: [{ type: core.Input, args: ['max',] }],
576
+ size: [{ type: core.Input }],
577
+ form: [{ type: core.Input }],
578
+ disabled: [{ type: core.Input }],
579
+ required: [{ type: core.Input }],
580
+ label: [{ type: core.Input }],
581
+ placeholder: [{ type: core.Input }],
582
+ defaultTime: [{ type: core.Input }],
583
+ minDate: [{ type: core.Input }],
584
+ maxDate: [{ type: core.Input }],
585
+ validator: [{ type: core.Input }],
586
+ sdChange: [{ type: core.Output }],
587
+ model: [{ type: core.Input }],
588
+ modelChange: [{ type: core.Output }],
589
+ sdView: [{ type: core.ContentChild, args: [common.SdViewDefDirective,] }],
590
+ input: [{ type: core.ViewChild, args: ['input',] }],
591
+ datePicker: [{ type: core.ViewChild, args: [datepicker.MatDatepicker,] }]
592
+ };
593
+
594
+ var SdDateMonthModule = /** @class */ (function () {
595
+ function SdDateMonthModule() {
596
+ }
597
+ return SdDateMonthModule;
598
+ }());
599
+ SdDateMonthModule.decorators = [
600
+ { type: core.NgModule, args: [{
601
+ imports: [
602
+ common$1.CommonModule,
603
+ forms.FormsModule,
604
+ forms.ReactiveFormsModule,
605
+ input.MatInputModule,
606
+ icon.MatIconModule,
607
+ formField.MatFormFieldModule,
608
+ datepicker.MatDatepickerModule,
609
+ materialMomentAdapter.MatMomentDateModule,
610
+ datetimePicker.NgxMatDatetimePickerModule,
611
+ datetimePicker.NgxMatTimepickerModule,
612
+ momentAdapter.NgxMatMomentModule,
613
+ translate.SdTranslateModule,
614
+ common.SdCommonModule
615
+ ],
616
+ declarations: [
617
+ SdDateMonth
618
+ ],
619
+ exports: [
620
+ common.SdCommonModule,
621
+ SdDateMonth
622
+ ],
623
+ providers: []
624
+ },] }
625
+ ];
626
+
627
+ /**
628
+ * Generated bundle index. Do not edit.
629
+ */
630
+
631
+ exports.SdDateMonth = SdDateMonth;
632
+ exports.SdDateMonthModule = SdDateMonthModule;
633
+ exports.ɵa = MY_FORMATS;
634
+
635
+ Object.defineProperty(exports, '__esModule', { value: true });
636
+
637
+ })));
638
+ //# sourceMappingURL=sd-angular-core-date-month.umd.js.map