@siemens/element-ng 47.2.0 → 47.4.0

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 (339) hide show
  1. package/README.md +18 -6
  2. package/autocomplete/index.d.ts +8 -0
  3. package/autocomplete/package.json +3 -0
  4. package/autocomplete/si-autocomplete-listbox.directive.d.ts +31 -0
  5. package/autocomplete/si-autocomplete-option.directive.d.ts +31 -0
  6. package/autocomplete/si-autocomplete.directive.d.ts +14 -0
  7. package/autocomplete/si-autocomplete.model.d.ts +7 -0
  8. package/autocomplete/si-autocomplete.module.d.ts +9 -0
  9. package/badge/index.d.ts +5 -0
  10. package/badge/package.json +3 -0
  11. package/badge/si-badge.component.d.ts +17 -0
  12. package/breadcrumb/breadcrumb-item.model.d.ts +36 -0
  13. package/breadcrumb/index.d.ts +7 -0
  14. package/breadcrumb/package.json +3 -0
  15. package/breadcrumb/si-breadcrumb-item-template.directive.d.ts +10 -0
  16. package/breadcrumb/si-breadcrumb.component.d.ts +46 -0
  17. package/breadcrumb/si-breadcrumb.module.d.ts +7 -0
  18. package/card/index.d.ts +6 -0
  19. package/card/package.json +3 -0
  20. package/card/si-card.component.d.ts +79 -0
  21. package/card/si-card.module.d.ts +7 -0
  22. package/circle-status/index.d.ts +6 -0
  23. package/circle-status/package.json +3 -0
  24. package/circle-status/si-circle-status.component.d.ts +66 -0
  25. package/circle-status/si-circle-status.module.d.ts +7 -0
  26. package/column-selection-dialog/column-selection-editor/si-column-selection-editor.component.d.ts +23 -0
  27. package/column-selection-dialog/index.d.ts +6 -0
  28. package/column-selection-dialog/package.json +3 -0
  29. package/column-selection-dialog/si-column-selection-dialog.component.d.ts +114 -0
  30. package/column-selection-dialog/si-column-selection-dialog.service.d.ts +20 -0
  31. package/column-selection-dialog/si-column-selection-dialog.types.d.ts +68 -0
  32. package/common/models/status-type.model.d.ts +2 -2
  33. package/content-action-bar/index.d.ts +7 -0
  34. package/content-action-bar/package.json +3 -0
  35. package/content-action-bar/si-content-action-bar-toggle.component.d.ts +6 -0
  36. package/content-action-bar/si-content-action-bar.component.d.ts +72 -0
  37. package/content-action-bar/si-content-action-bar.model.d.ts +9 -0
  38. package/content-action-bar/si-content-action-bar.module.d.ts +7 -0
  39. package/date-range-filter/index.d.ts +8 -0
  40. package/date-range-filter/package.json +3 -0
  41. package/date-range-filter/si-date-range-calculation.service.d.ts +33 -0
  42. package/date-range-filter/si-date-range-filter.component.d.ts +248 -0
  43. package/date-range-filter/si-date-range-filter.module.d.ts +7 -0
  44. package/date-range-filter/si-date-range-filter.types.d.ts +40 -0
  45. package/date-range-filter/si-relative-date.component.d.ts +31 -0
  46. package/datepicker/components/si-calendar-body.component.d.ts +137 -0
  47. package/datepicker/components/si-calendar-date-cell.directive.d.ts +16 -0
  48. package/datepicker/components/si-calendar-direction-button.component.d.ts +18 -0
  49. package/datepicker/components/si-compare-adapter.d.ts +37 -0
  50. package/datepicker/components/si-day-selection.component.d.ts +76 -0
  51. package/datepicker/components/si-initial-focus.component.d.ts +74 -0
  52. package/datepicker/components/si-month-selection.component.d.ts +62 -0
  53. package/datepicker/components/si-year-selection.component.d.ts +65 -0
  54. package/datepicker/date-time-helper.d.ts +302 -0
  55. package/datepicker/index.d.ts +15 -0
  56. package/datepicker/package.json +3 -0
  57. package/datepicker/si-calendar-button.component.d.ts +49 -0
  58. package/datepicker/si-date-input.directive.d.ts +114 -0
  59. package/datepicker/si-date-range.component.d.ts +150 -0
  60. package/datepicker/si-datepicker-overlay.component.d.ts +82 -0
  61. package/datepicker/si-datepicker-overlay.directive.d.ts +104 -0
  62. package/datepicker/si-datepicker.component.d.ts +228 -0
  63. package/datepicker/si-datepicker.directive.d.ts +62 -0
  64. package/datepicker/si-datepicker.model.d.ts +129 -0
  65. package/datepicker/si-datepicker.module.d.ts +12 -0
  66. package/datepicker/si-timepicker.component.d.ts +214 -0
  67. package/electron-titlebar/electron.helpers.d.ts +5 -0
  68. package/electron-titlebar/index.d.ts +7 -0
  69. package/electron-titlebar/package.json +3 -0
  70. package/electron-titlebar/si-electron-titlebar.component.d.ts +72 -0
  71. package/electron-titlebar/si-electron-titlebar.module.d.ts +7 -0
  72. package/fesm2022/siemens-element-ng-application-header.mjs +2 -2
  73. package/fesm2022/siemens-element-ng-application-header.mjs.map +1 -1
  74. package/fesm2022/siemens-element-ng-autocomplete.mjs +235 -0
  75. package/fesm2022/siemens-element-ng-autocomplete.mjs.map +1 -0
  76. package/fesm2022/siemens-element-ng-badge.mjs +59 -0
  77. package/fesm2022/siemens-element-ng-badge.mjs.map +1 -0
  78. package/fesm2022/siemens-element-ng-breadcrumb.mjs +302 -0
  79. package/fesm2022/siemens-element-ng-breadcrumb.mjs.map +1 -0
  80. package/fesm2022/siemens-element-ng-card.mjs +122 -0
  81. package/fesm2022/siemens-element-ng-card.mjs.map +1 -0
  82. package/fesm2022/siemens-element-ng-circle-status.mjs +146 -0
  83. package/fesm2022/siemens-element-ng-circle-status.mjs.map +1 -0
  84. package/fesm2022/siemens-element-ng-column-selection-dialog.mjs +369 -0
  85. package/fesm2022/siemens-element-ng-column-selection-dialog.mjs.map +1 -0
  86. package/fesm2022/siemens-element-ng-common.mjs +1 -1
  87. package/fesm2022/siemens-element-ng-common.mjs.map +1 -1
  88. package/fesm2022/siemens-element-ng-content-action-bar.mjs +200 -0
  89. package/fesm2022/siemens-element-ng-content-action-bar.mjs.map +1 -0
  90. package/fesm2022/siemens-element-ng-date-range-filter.mjs +649 -0
  91. package/fesm2022/siemens-element-ng-date-range-filter.mjs.map +1 -0
  92. package/fesm2022/siemens-element-ng-datepicker.mjs +4231 -0
  93. package/fesm2022/siemens-element-ng-datepicker.mjs.map +1 -0
  94. package/fesm2022/siemens-element-ng-electron-titlebar.mjs +142 -0
  95. package/fesm2022/siemens-element-ng-electron-titlebar.mjs.map +1 -0
  96. package/fesm2022/siemens-element-ng-file-uploader.mjs +751 -0
  97. package/fesm2022/siemens-element-ng-file-uploader.mjs.map +1 -0
  98. package/fesm2022/siemens-element-ng-filter-bar.mjs +153 -0
  99. package/fesm2022/siemens-element-ng-filter-bar.mjs.map +1 -0
  100. package/fesm2022/siemens-element-ng-form.mjs +827 -0
  101. package/fesm2022/siemens-element-ng-form.mjs.map +1 -0
  102. package/fesm2022/siemens-element-ng-icon-status.mjs +65 -0
  103. package/fesm2022/siemens-element-ng-icon-status.mjs.map +1 -0
  104. package/fesm2022/siemens-element-ng-icon.mjs +22 -2
  105. package/fesm2022/siemens-element-ng-icon.mjs.map +1 -1
  106. package/fesm2022/siemens-element-ng-info-page.mjs +63 -0
  107. package/fesm2022/siemens-element-ng-info-page.mjs.map +1 -0
  108. package/fesm2022/siemens-element-ng-inline-notification.mjs +4 -6
  109. package/fesm2022/siemens-element-ng-inline-notification.mjs.map +1 -1
  110. package/fesm2022/siemens-element-ng-ip-input.mjs +451 -0
  111. package/fesm2022/siemens-element-ng-ip-input.mjs.map +1 -0
  112. package/fesm2022/siemens-element-ng-language-switcher.mjs +90 -0
  113. package/fesm2022/siemens-element-ng-language-switcher.mjs.map +1 -0
  114. package/fesm2022/siemens-element-ng-localization.mjs +306 -0
  115. package/fesm2022/siemens-element-ng-localization.mjs.map +1 -0
  116. package/fesm2022/siemens-element-ng-number-input.mjs +267 -0
  117. package/fesm2022/siemens-element-ng-number-input.mjs.map +1 -0
  118. package/fesm2022/siemens-element-ng-password-strength.mjs +177 -0
  119. package/fesm2022/siemens-element-ng-password-strength.mjs.map +1 -0
  120. package/fesm2022/siemens-element-ng-photo-upload.mjs +480 -0
  121. package/fesm2022/siemens-element-ng-photo-upload.mjs.map +1 -0
  122. package/fesm2022/siemens-element-ng-pills-input.mjs +397 -0
  123. package/fesm2022/siemens-element-ng-pills-input.mjs.map +1 -0
  124. package/fesm2022/siemens-element-ng-popover-next.mjs +259 -0
  125. package/fesm2022/siemens-element-ng-popover-next.mjs.map +1 -0
  126. package/fesm2022/siemens-element-ng-popover.mjs +256 -0
  127. package/fesm2022/siemens-element-ng-popover.mjs.map +1 -0
  128. package/fesm2022/siemens-element-ng-progressbar.mjs +83 -0
  129. package/fesm2022/siemens-element-ng-progressbar.mjs.map +1 -0
  130. package/fesm2022/siemens-element-ng-search-bar.mjs +193 -0
  131. package/fesm2022/siemens-element-ng-search-bar.mjs.map +1 -0
  132. package/fesm2022/siemens-element-ng-select.mjs +1166 -0
  133. package/fesm2022/siemens-element-ng-select.mjs.map +1 -0
  134. package/fesm2022/siemens-element-ng-skip-links.mjs +117 -0
  135. package/fesm2022/siemens-element-ng-skip-links.mjs.map +1 -0
  136. package/fesm2022/siemens-element-ng-slider.mjs +313 -0
  137. package/fesm2022/siemens-element-ng-slider.mjs.map +1 -0
  138. package/fesm2022/siemens-element-ng-sort-bar.mjs +89 -0
  139. package/fesm2022/siemens-element-ng-sort-bar.mjs.map +1 -0
  140. package/fesm2022/siemens-element-ng-split.mjs +575 -0
  141. package/fesm2022/siemens-element-ng-split.mjs.map +1 -0
  142. package/fesm2022/siemens-element-ng-status-toggle.mjs +196 -0
  143. package/fesm2022/siemens-element-ng-status-toggle.mjs.map +1 -0
  144. package/fesm2022/siemens-element-ng-summary-widget.mjs +77 -0
  145. package/fesm2022/siemens-element-ng-summary-widget.mjs.map +1 -0
  146. package/fesm2022/siemens-element-ng-system-banner.mjs +47 -0
  147. package/fesm2022/siemens-element-ng-system-banner.mjs.map +1 -0
  148. package/fesm2022/siemens-element-ng-tabs.mjs +395 -0
  149. package/fesm2022/siemens-element-ng-tabs.mjs.map +1 -0
  150. package/fesm2022/siemens-element-ng-toast-notification.mjs +227 -0
  151. package/fesm2022/siemens-element-ng-toast-notification.mjs.map +1 -0
  152. package/fesm2022/siemens-element-ng-translate.mjs.map +1 -1
  153. package/fesm2022/siemens-element-ng-typeahead.mjs +746 -0
  154. package/fesm2022/siemens-element-ng-typeahead.mjs.map +1 -0
  155. package/fesm2022/siemens-element-ng-unauthorized-page.mjs +76 -0
  156. package/fesm2022/siemens-element-ng-unauthorized-page.mjs.map +1 -0
  157. package/fesm2022/siemens-element-ng-wizard.mjs +465 -0
  158. package/fesm2022/siemens-element-ng-wizard.mjs.map +1 -0
  159. package/file-uploader/index.d.ts +8 -0
  160. package/file-uploader/package.json +3 -0
  161. package/file-uploader/si-file-dropzone.component.d.ts +106 -0
  162. package/file-uploader/si-file-uploader.component.d.ts +296 -0
  163. package/file-uploader/si-file-uploader.model.d.ts +12 -0
  164. package/file-uploader/si-file-uploader.module.d.ts +8 -0
  165. package/filter-bar/filter.d.ts +26 -0
  166. package/filter-bar/index.d.ts +8 -0
  167. package/filter-bar/package.json +3 -0
  168. package/filter-bar/si-filter-bar.component.d.ts +65 -0
  169. package/filter-bar/si-filter-bar.module.d.ts +7 -0
  170. package/filter-bar/si-filter-pill.component.d.ts +20 -0
  171. package/form/form-fieldset/si-form-fieldset.component.d.ts +40 -0
  172. package/form/index.d.ts +14 -0
  173. package/form/package.json +3 -0
  174. package/form/si-form-container/si-form-container.component.d.ts +155 -0
  175. package/form/si-form-item/si-form-field-native.control.d.ts +22 -0
  176. package/form/si-form-item/si-form-item.component.d.ts +90 -0
  177. package/form/si-form-item-control-input.directive.d.ts +18 -0
  178. package/form/si-form-item.control.d.ts +35 -0
  179. package/form/si-form-validation-error.model.d.ts +55 -0
  180. package/form/si-form-validation-error.provider.d.ts +11 -0
  181. package/form/si-form-validation-error.service.d.ts +42 -0
  182. package/form/si-form-validation-tooltip/si-form-validation-tooltip.component.d.ts +13 -0
  183. package/form/si-form-validation-tooltip/si-form-validation-tooltip.directive.d.ts +42 -0
  184. package/form/si-form.module.d.ts +25 -0
  185. package/icon/element-icons.d.ts +20 -0
  186. package/icon-status/index.d.ts +6 -0
  187. package/icon-status/package.json +3 -0
  188. package/icon-status/si-icon-status.component.d.ts +24 -0
  189. package/icon-status/si-icon-status.module.d.ts +7 -0
  190. package/info-page/index.d.ts +5 -0
  191. package/info-page/package.json +3 -0
  192. package/info-page/si-info-page.component.d.ts +38 -0
  193. package/inline-notification/si-inline-notification.component.d.ts +0 -2
  194. package/ip-input/address-utils.d.ts +28 -0
  195. package/ip-input/address-validators.d.ts +21 -0
  196. package/ip-input/index.d.ts +7 -0
  197. package/ip-input/package.json +3 -0
  198. package/ip-input/si-ip-input.directive.d.ts +53 -0
  199. package/ip-input/si-ip4-input.directive.d.ts +9 -0
  200. package/ip-input/si-ip6-input.directive.d.ts +10 -0
  201. package/language-switcher/index.d.ts +7 -0
  202. package/language-switcher/iso-language-value.d.ts +14 -0
  203. package/language-switcher/package.json +3 -0
  204. package/language-switcher/si-language-switcher.component.d.ts +32 -0
  205. package/language-switcher/si-language-switcher.module.d.ts +7 -0
  206. package/localization/index.d.ts +8 -0
  207. package/localization/package.json +3 -0
  208. package/localization/si-directionality.d.ts +41 -0
  209. package/localization/si-locale-id.d.ts +22 -0
  210. package/localization/si-locale-store.d.ts +16 -0
  211. package/localization/si-locale.service.d.ts +73 -0
  212. package/number-input/index.d.ts +6 -0
  213. package/number-input/package.json +3 -0
  214. package/number-input/si-number-input.component.d.ts +106 -0
  215. package/number-input/si-number-input.module.d.ts +7 -0
  216. package/package.json +163 -3
  217. package/password-strength/index.d.ts +7 -0
  218. package/password-strength/package.json +3 -0
  219. package/password-strength/si-password-strength.component.d.ts +25 -0
  220. package/password-strength/si-password-strength.directive.d.ts +54 -0
  221. package/password-strength/si-password-strength.module.d.ts +8 -0
  222. package/photo-upload/index.d.ts +6 -0
  223. package/photo-upload/package.json +3 -0
  224. package/photo-upload/si-image-cropper-style.component.d.ts +5 -0
  225. package/photo-upload/si-photo-upload.component.d.ts +298 -0
  226. package/pills-input/index.d.ts +9 -0
  227. package/pills-input/package.json +3 -0
  228. package/pills-input/si-input-pill.component.d.ts +9 -0
  229. package/pills-input/si-pills-input-csv.directive.d.ts +8 -0
  230. package/pills-input/si-pills-input-email.directive.d.ts +10 -0
  231. package/pills-input/si-pills-input-pattern-base.d.ts +19 -0
  232. package/pills-input/si-pills-input-value-handler.d.ts +12 -0
  233. package/pills-input/si-pills-input.component.d.ts +87 -0
  234. package/pills-input/si-pills-input.module.d.ts +9 -0
  235. package/popover/index.d.ts +6 -0
  236. package/popover/package.json +3 -0
  237. package/popover/si-popover.component.d.ts +26 -0
  238. package/popover/si-popover.directive.d.ts +89 -0
  239. package/popover/si-popover.module.d.ts +7 -0
  240. package/popover-next/index.d.ts +7 -0
  241. package/popover-next/package.json +3 -0
  242. package/popover-next/si-popover-description.directive.d.ts +7 -0
  243. package/popover-next/si-popover-next.directive.d.ts +61 -0
  244. package/popover-next/si-popover-title.directive.d.ts +7 -0
  245. package/popover-next/si-popover.component.d.ts +27 -0
  246. package/progressbar/index.d.ts +6 -0
  247. package/progressbar/package.json +3 -0
  248. package/progressbar/si-progressbar.component.d.ts +43 -0
  249. package/progressbar/si-progressbar.module.d.ts +7 -0
  250. package/search-bar/index.d.ts +6 -0
  251. package/search-bar/package.json +3 -0
  252. package/search-bar/si-search-bar.component.d.ts +87 -0
  253. package/search-bar/si-search-bar.module.d.ts +7 -0
  254. package/select/index.d.ts +18 -0
  255. package/select/options/si-select-complex-options.directive.d.ts +69 -0
  256. package/select/options/si-select-lazy-options.directive.d.ts +38 -0
  257. package/select/options/si-select-option.source.d.ts +49 -0
  258. package/select/options/si-select-options-strategy.base.d.ts +35 -0
  259. package/select/options/si-select-options-strategy.d.ts +37 -0
  260. package/select/options/si-select-simple-options.directive.d.ts +34 -0
  261. package/select/package.json +3 -0
  262. package/select/select-input/si-select-input.component.d.ts +43 -0
  263. package/select/select-list/si-select-list-has-filter.component.d.ts +20 -0
  264. package/select/select-list/si-select-list.base.d.ts +37 -0
  265. package/select/select-list/si-select-list.component.d.ts +15 -0
  266. package/select/select-option/si-select-option-row.component.d.ts +16 -0
  267. package/select/select-option/si-select-option.component.d.ts +9 -0
  268. package/select/selection/si-select-multi-value.directive.d.ts +26 -0
  269. package/select/selection/si-select-selection-strategy.d.ts +58 -0
  270. package/select/selection/si-select-single-value.directive.d.ts +26 -0
  271. package/select/si-select-action.directive.d.ts +12 -0
  272. package/select/si-select-actions.directive.d.ts +5 -0
  273. package/select/si-select-group-template.directive.d.ts +20 -0
  274. package/select/si-select-option-row-template.directive.d.ts +9 -0
  275. package/select/si-select-option-template.directive.d.ts +21 -0
  276. package/select/si-select.component.d.ts +96 -0
  277. package/select/si-select.module.d.ts +15 -0
  278. package/select/si-select.types.d.ts +65 -0
  279. package/skip-links/index.d.ts +5 -0
  280. package/skip-links/package.json +3 -0
  281. package/skip-links/si-skip-link-target.directive.d.ts +27 -0
  282. package/skip-links/si-skip-links.component.d.ts +9 -0
  283. package/skip-links/skip-link.service.d.ts +14 -0
  284. package/slider/index.d.ts +6 -0
  285. package/slider/package.json +3 -0
  286. package/slider/si-slider.component.d.ts +129 -0
  287. package/slider/si-slider.module.d.ts +7 -0
  288. package/sort-bar/index.d.ts +6 -0
  289. package/sort-bar/package.json +3 -0
  290. package/sort-bar/si-sort-bar.component.d.ts +42 -0
  291. package/sort-bar/si-sort-bar.module.d.ts +7 -0
  292. package/split/index.d.ts +8 -0
  293. package/split/package.json +3 -0
  294. package/split/si-split-part.component.d.ts +154 -0
  295. package/split/si-split.component.d.ts +48 -0
  296. package/split/si-split.interfaces.d.ts +17 -0
  297. package/split/si-split.module.d.ts +8 -0
  298. package/status-toggle/index.d.ts +6 -0
  299. package/status-toggle/package.json +3 -0
  300. package/status-toggle/si-status-toggle.component.d.ts +54 -0
  301. package/status-toggle/status-toggle.model.d.ts +26 -0
  302. package/summary-widget/index.d.ts +5 -0
  303. package/summary-widget/package.json +3 -0
  304. package/summary-widget/si-summary-widget.component.d.ts +44 -0
  305. package/system-banner/index.d.ts +5 -0
  306. package/system-banner/package.json +3 -0
  307. package/system-banner/system-banner.component.d.ts +23 -0
  308. package/tabs/index.d.ts +7 -0
  309. package/tabs/package.json +3 -0
  310. package/tabs/si-tab/index.d.ts +5 -0
  311. package/tabs/si-tab/si-tab.component.d.ts +58 -0
  312. package/tabs/si-tabs.module.d.ts +8 -0
  313. package/tabs/si-tabset/index.d.ts +5 -0
  314. package/tabs/si-tabset/si-tabset.component.d.ts +100 -0
  315. package/template-i18n.json +111 -1
  316. package/toast-notification/index.d.ts +6 -0
  317. package/toast-notification/package.json +3 -0
  318. package/toast-notification/si-toast-notification/si-toast-notification.component.d.ts +17 -0
  319. package/toast-notification/si-toast-notification-drawer/si-toast-notification-drawer.component.d.ts +9 -0
  320. package/toast-notification/si-toast-notification.service.d.ts +41 -0
  321. package/toast-notification/si-toast.model.d.ts +25 -0
  322. package/translate/si-translatable-keys.interface.d.ts +110 -0
  323. package/typeahead/index.d.ts +8 -0
  324. package/typeahead/package.json +3 -0
  325. package/typeahead/si-typeahead-item-template.directive.d.ts +7 -0
  326. package/typeahead/si-typeahead.component.d.ts +22 -0
  327. package/typeahead/si-typeahead.directive.d.ts +196 -0
  328. package/typeahead/si-typeahead.model.d.ts +60 -0
  329. package/typeahead/si-typeahead.module.d.ts +8 -0
  330. package/typeahead/si-typeahead.sorting.d.ts +10 -0
  331. package/unauthorized-page/index.d.ts +6 -0
  332. package/unauthorized-page/package.json +3 -0
  333. package/unauthorized-page/si-unauthorized-page.component.d.ts +35 -0
  334. package/unauthorized-page/si-unauthorized-page.module.d.ts +7 -0
  335. package/wizard/index.d.ts +7 -0
  336. package/wizard/package.json +3 -0
  337. package/wizard/si-wizard-step.component.d.ts +21 -0
  338. package/wizard/si-wizard.component.d.ts +196 -0
  339. package/wizard/si-wizard.module.d.ts +8 -0
@@ -0,0 +1,302 @@
1
+ import { WeekStart } from './si-datepicker.model';
2
+ export interface DayOfWeek {
3
+ id: string;
4
+ index: number;
5
+ offset: number;
6
+ isWeekend: boolean;
7
+ }
8
+ export declare const WEEK_START_OFFSET: {
9
+ monday: number;
10
+ saturday: number;
11
+ sunday: number;
12
+ };
13
+ export declare const getDaysOfWeek: (weekStart: WeekStart) => DayOfWeek[];
14
+ /**
15
+ * Get local specific months using DateTimeFormat.
16
+ * @param locale - current locale
17
+ */
18
+ export declare const getLocaleMonthNames: (locale: string) => string[];
19
+ /**
20
+ * Get local specific weekdays as string using DateTimeFormat.
21
+ * @param locale - current local
22
+ * @param weekStart - start of the week
23
+ * @param format - display format
24
+ * @returns array of week days.
25
+ */
26
+ export declare const getDayStrings: (locale: string, weekStart?: WeekStart, format?: "narrow" | "short" | "long") => string[];
27
+ /**
28
+ * Gets the first day in the specified month.
29
+ * Expects the month as a value between 1 and 12.
30
+ * The year is required to handle leap years.
31
+ *
32
+ * @returns The first day of the month as a Date.
33
+ */
34
+ export declare const getFirstDayInMonth: (year: number, month: number) => Date;
35
+ /**
36
+ * Gets the week number of the specified date.
37
+ * Week number according to the ISO-8601 standard, weeks starting on Monday.
38
+ * The first week of a year is the week that contains the first Thursday of the year (='First 4-day week').
39
+ * The highest week number in a year is either 52 or 53.
40
+ *
41
+ * @param date -The JavaScript date object.
42
+ * @param weekStart -Name of the first day of the week
43
+ * @returns The number of the Week
44
+ */
45
+ export declare const getWeekOfYear: (date: Date, weekStart: WeekStart) => number;
46
+ export declare const getWeekDayOffset: (date: Date, weekStart: WeekStart) => number;
47
+ /** returns the date string in format YYYY-MM-DD for given date */
48
+ export declare const getStringforDate: (date: Date) => string;
49
+ /**
50
+ * Creates a new date object on from a date with or without time.
51
+ * @param value - The date from with the year, month and day is taken.
52
+ * @param hours - Optional numeric value of the hours, otherwise 0.
53
+ * @param minutes - Optional numeric value of the minutes, otherwise 0.
54
+ * @param seconds - Optional numeric value of the seconds, otherwise 0.
55
+ * @param milliseconds - Optional numeric value of the milliseconds, otherwise 0.
56
+ * @returns
57
+ */
58
+ export declare const createDate: (value: Date, hours?: number, minutes?: number, seconds?: number, milliseconds?: number) => Date;
59
+ /**
60
+ * @param input - String containing a date or dateTime value (Ex. "05/15/2020"
61
+ * @param format - Format of the input value (Ex. "M/d/YYYY")
62
+ * @param locale - Locale of the input value
63
+ * @returns A JS Date in accordance of the three parameters
64
+ */
65
+ export declare const parseDate: (input: string, format: string, locale: string) => Date | undefined;
66
+ export declare const getNamedFormat: (locale: string, format: string) => string;
67
+ export declare const getDateWithoutTime: (date: Date) => Date;
68
+ /**
69
+ * Get today
70
+ * @returns date of today
71
+ */
72
+ export declare const today: () => Date;
73
+ /**
74
+ * Calculate a new date based on the offset while considering the min and max date.
75
+ * @param current - input date.
76
+ * @param daysOffset - numeric offset of days.
77
+ * @returns new date if the range is valid or original date
78
+ */
79
+ export declare const addDaysInRange: (current: Date, daysOffset: number, minDate?: Date, maxDate?: Date) => Date;
80
+ /**
81
+ * Get date delta based on the offset.
82
+ * @param date - source date object.
83
+ * @param days - numeric offset of days.
84
+ * @returns new date.
85
+ */
86
+ export declare const addDays: (date: Date, days: number) => Date;
87
+ /**
88
+ * Update date/day of give date without changing the month.
89
+ * In case the day exceed the number of days in the current month the last day in month will be assigned.
90
+ * @param date - the date object to update the day.
91
+ * @param day - the day which shall be set.
92
+ * @returns the updated date object.
93
+ */
94
+ export declare const changeDay: (date: Date, day: number) => Date;
95
+ /**
96
+ * Get date delta specifically for months based on the offset.
97
+ * @param current - starting date.
98
+ * @param monthsOffset - numeric offset of months.
99
+ * @param minDate - optional minimum allowed date.
100
+ * @param maxDate - optional maximum allowed date.
101
+ * @returns a new date object with the updated month.
102
+ */
103
+ export declare const addMonthsInRange: (current: Date, monthsOffset: number, minDate?: Date, maxDate?: Date) => Date;
104
+ /**
105
+ * Get date delta specifically for years based on the offset.
106
+ * @param current - starting date.
107
+ * @param yearsOffset - numeric offset of years.
108
+ * @param minDate - optional minimum allowed date.
109
+ * @param maxDate - optional maximum allowed date.
110
+ * @returns a new date object with the updated year.
111
+ */
112
+ export declare const addYearsInRange: (current: Date, yearsOffset: number, minDate?: Date, maxDate?: Date) => Date;
113
+ /**
114
+ * Get number of days for the given month and year.
115
+ * @param month - month as number (0..11).
116
+ * @param year - year as number.
117
+ * @returns the number of days for the given month.
118
+ */
119
+ export declare const daysInMonth: (month: number, year: number) => number;
120
+ /**
121
+ * Get the first date of the week based on the input date.
122
+ * @param current - a date object from where the last date of a week is derived.
123
+ * @param weekStartDay - optional when a week shall start.
124
+ * @returns a new date object which is the start of the current week.
125
+ */
126
+ export declare const getWeekStartDate: (current: Date, weekStartDay?: WeekStart) => Date;
127
+ /**
128
+ * Get the last date of the week based on the input date.
129
+ * @param current - a date object from where the last date of a week is derived.
130
+ * @param weekStartDay - optional when a week shall start.
131
+ * @returns the last date within the week.
132
+ */
133
+ export declare const getWeekEndDate: (current: Date, weekStartDay?: WeekStart) => Date;
134
+ /**
135
+ * Get the beginning of the month.
136
+ * @param current - a date object from where the first date in a month is derived.
137
+ * @returns a new date object which starts a the first.
138
+ */
139
+ export declare const getFirstDateInMonth: (current: Date) => Date;
140
+ /**
141
+ * Get the last date of the month.
142
+ * @param current - a date object from where we derive the last date in a month.
143
+ * @returns a new date object which is the last day in the current month.
144
+ */
145
+ export declare const getLastDateInMonth: (current: Date) => Date;
146
+ /**
147
+ * Get the beginning of the year.
148
+ * @param current - a date object from where the first date in a year is derived.
149
+ * @returns a new date object which starts a the first.
150
+ */
151
+ export declare const getFirstDateInYear: (current: Date) => Date;
152
+ /**
153
+ * Are the two dates identical without considering time.
154
+ */
155
+ export declare const isSameDate: (current: Date, compareTo?: Date) => boolean;
156
+ /**
157
+ * Are the two months identical without considering time.
158
+ */
159
+ export declare const isSameMonth: (current: Date, compareTo?: Date) => boolean;
160
+ /**
161
+ * Are the two years identical.
162
+ */
163
+ export declare const isSameYear: (current: Date, compareTo?: Date) => boolean;
164
+ /**
165
+ * Compares two dates.
166
+ * @param first - The first date to compare.
167
+ * @param second - The second date to compare.
168
+ * @returns 0 if the dates are equal, a number less than 0 if the first date is earlier,
169
+ * a number greater than 0 if the first date is later.
170
+ */
171
+ export declare const compareDate: (first: Date, second: Date) => number;
172
+ /**
173
+ * Compares two months.
174
+ * @param first - The first month to compare.
175
+ * @param second - The second month to compare.
176
+ * @returns 0 if the months are equal, a number less than 0 if the first month is earlier,
177
+ * a number greater than 0 if the first month is later.
178
+ */
179
+ export declare const compareMonth: (first: Date, second: Date) => number;
180
+ /**
181
+ * Compares two years.
182
+ * @param first - The first year to compare.
183
+ * @param second - The second year to compare.
184
+ * @returns 0 if the years are equal, a number less than 0 if the first year is earlier,
185
+ * a number greater than 0 if the first year is later.
186
+ */
187
+ export declare const compareYear: (first: Date, second: Date) => number;
188
+ /**
189
+ * Compare the current date is the same date or between start and end date.
190
+ * @param current - the date object.
191
+ * @param from - optional min date, if no value is provided we assume true for the min value.
192
+ * @param to - optional max date, if no value is provided we assume true for the max value.
193
+ * @returns true if the date is in the provided range.
194
+ */
195
+ export declare const isSameOrBetween: (current: Date, from?: Date, to?: Date) => boolean;
196
+ /**
197
+ * Compare the current month is the same month or between start and end month.
198
+ * @param current - the month object.
199
+ * @param from - optional min month, if no value is provided we assume true for the min value.
200
+ * @param to - optional max month, if no value is provided we assume true for the max value.
201
+ * @returns true if the date is in the provided range.
202
+ */
203
+ export declare const isSameOrBetweenMonth: (current: Date, from?: Date, to?: Date) => boolean;
204
+ /**
205
+ * Compare the current year is the same year or between start and end year.
206
+ * @param current - the year object.
207
+ * @param from - optional min year, if no value is provided we assume true for the min value.
208
+ * @param to - optional max year, if no value is provided we assume true for the max value.
209
+ * @returns true if the date is in the provided range.
210
+ */
211
+ export declare const isSameOrBetweenYears: (current: Date, from?: Date, to?: Date) => boolean;
212
+ /**
213
+ * Compare the current date is between start and end date.
214
+ * from \< current \< to
215
+ */
216
+ export declare const isBetween: (current: Date, from?: Date, to?: Date) => boolean;
217
+ /**
218
+ * Compare the current month is between start and end month.
219
+ * from \< current \< to
220
+ */
221
+ export declare const isBetweenMonth: (current: Date, from?: Date, to?: Date) => boolean;
222
+ /**
223
+ * Compare the current year is between start and end year.
224
+ * from \< current \< to
225
+ */
226
+ export declare const isBetweenYears: (current: Date, from?: Date, to?: Date) => boolean;
227
+ /**
228
+ * Is first date after the second date (without considering the time).
229
+ * current \> compareTo
230
+ */
231
+ export declare const isAfter: (current: Date, compareTo: Date) => boolean;
232
+ /**
233
+ * Is first month after the second month (without considering the time).
234
+ * current \> compareTo
235
+ */
236
+ export declare const isAfterMonth: (current: Date, compareTo: Date) => boolean;
237
+ /**
238
+ * Is first year after the second year.
239
+ * current \> compareTo
240
+ */
241
+ export declare const isAfterYear: (current: Date, compareTo: Date) => boolean;
242
+ /**
243
+ * Is first date equal or before the second date (without considering the time).
244
+ * current \>= compareTo
245
+ */
246
+ export declare const isSameOrBefore: (current: Date, compareTo: Date) => boolean;
247
+ /**
248
+ * Is first month equal or before the second month.
249
+ * current \>= compareTo
250
+ */
251
+ export declare const isSameOrBeforeMonth: (current: Date, compareTo: Date) => boolean;
252
+ /**
253
+ * Is first year equal or before the second year.
254
+ * current \>= compareTo
255
+ */
256
+ export declare const isSameOrBeforeYear: (current: Date, compareTo: Date) => boolean;
257
+ /**
258
+ * Are the two dates in different months.
259
+ */
260
+ export declare const isAnotherMonth: (current: Date, compareTo: Date) => boolean;
261
+ /**
262
+ * Are the two dates in different years.
263
+ */
264
+ export declare const isAnotherYear: (current: Date, compareTo: Date) => boolean;
265
+ /**
266
+ * Are the two dates either in different months or years.
267
+ */
268
+ export declare const isAnotherMonthOrYear: (current: Date, compareTo: Date) => boolean;
269
+ /**
270
+ * Get a date which is in within the range and the close to current.
271
+ */
272
+ export declare const getDateSameOrBetween: (current: Date, minDate?: Date, maxDate?: Date) => Date;
273
+ /**
274
+ * Get date or absolute min date.
275
+ * @param date - input date.
276
+ * @returns date or date of 1.1.1900
277
+ */
278
+ export declare const getMinDate: (date?: Date) => Date;
279
+ /**
280
+ * Get date or absolute max date.
281
+ * @param date - input date.
282
+ * @returns date or date of 31.12.2154
283
+ */
284
+ export declare const getMaxDate: (date?: Date) => Date;
285
+ /**
286
+ * Is valid date object.
287
+ */
288
+ export declare const isValid: (date?: Date) => date is NonNullable<Date>;
289
+ /**
290
+ * Returns the next months of the given date.
291
+ * @param date - The date for which the next month is returned.
292
+ * @returns A date of the first day of the following month of the given day.
293
+ */
294
+ export declare const nextMonth: (date: Date) => Date;
295
+ /**
296
+ * Returns the last day of the previous month of the given date object.
297
+ * @param date - The date for which the previous month is returned.
298
+ * @returns A date of the last day of the previous month of the given day.
299
+ */
300
+ export declare const previousMonth: (date: Date) => Date;
301
+ export declare const minDate: (first?: Date, second?: Date) => Date | undefined;
302
+ export declare const maxDate: (first?: Date, second?: Date) => Date | undefined;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Copyright Siemens 2016 - 2025.
3
+ * SPDX-License-Identifier: MIT
4
+ */
5
+ export * from './si-datepicker.model';
6
+ export * from './si-date-input.directive';
7
+ export * from './si-datepicker.directive';
8
+ export * from './si-datepicker.component';
9
+ export * from './si-datepicker-overlay.directive';
10
+ export * from './si-timepicker.component';
11
+ export * from './si-date-range.component';
12
+ export * from './si-datepicker-overlay.component';
13
+ export * from './si-calendar-button.component';
14
+ export * from './si-datepicker.module';
15
+ export * from './date-time-helper';
@@ -0,0 +1,3 @@
1
+ {
2
+ "module": "../fesm2022/siemens-element-ng-datepicker.mjs"
3
+ }
@@ -0,0 +1,49 @@
1
+ import { AfterContentInit, DoCheck, ElementRef, OnInit } from '@angular/core';
2
+ import { NgControl } from '@angular/forms';
3
+ import { SiDatepickerOverlayDirective } from './si-datepicker-overlay.directive';
4
+ import { SiDatepickerDirective } from './si-datepicker.directive';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * Calendar toggle button used in combination with a datepicker directive.
8
+ *
9
+ * @example
10
+ * ```
11
+ * <si-calendar-button class="w-100">
12
+ * <input
13
+ * class="form-control"
14
+ * type="text"
15
+ * siDatepicker
16
+ * [siDatepickerConfig]="config"
17
+ * />
18
+ * </si-calendar-button>
19
+ * ```
20
+ */
21
+ export declare class SiCalendarButtonComponent implements OnInit, AfterContentInit, DoCheck {
22
+ /**
23
+ * Aria label for the calendar toggle button.
24
+ *
25
+ * @defaultValue
26
+ * ```
27
+ * $localize`:@@SI_DATEPICKER.CALENDAR_TOGGLE_BUTTON:Open calendar`
28
+ * ```
29
+ */
30
+ readonly ariaLabel: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
31
+ protected readonly button: import("@angular/core").Signal<ElementRef<HTMLButtonElement>>;
32
+ /** Datepicker input directive instance used to watch for state changes and required to open the calendar. */
33
+ protected readonly datepicker: import("@angular/core").Signal<SiDatepickerDirective>;
34
+ protected readonly datepickerOverlay: import("@angular/core").Signal<SiDatepickerOverlayDirective>;
35
+ protected readonly ngControl: import("@angular/core").Signal<NgControl | undefined>;
36
+ protected readonly disabled: import("@angular/core").WritableSignal<boolean>;
37
+ protected readonly icons: Record<"elementCalendar", string>;
38
+ private readonly destroyerRef;
39
+ private readonly focusMonitor;
40
+ private readonly elementRef;
41
+ private readonly showValidationMessages;
42
+ ngOnInit(): void;
43
+ ngDoCheck(): void;
44
+ ngAfterContentInit(): void;
45
+ protected show(): void;
46
+ private updateState;
47
+ static ɵfac: i0.ɵɵFactoryDeclaration<SiCalendarButtonComponent, never>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<SiCalendarButtonComponent, "si-calendar-button", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, ["datepicker", "datepickerOverlay", "ngControl"], ["*"], true, never>;
49
+ }
@@ -0,0 +1,114 @@
1
+ import { OnChanges, SimpleChanges } from '@angular/core';
2
+ import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
3
+ import { SiFormItemControl } from '@siemens/element-ng/form';
4
+ import { DatepickerInputConfig } from './si-datepicker.model';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * Base directive for date input fields.
8
+ */
9
+ export declare class SiDateInputDirective implements ControlValueAccessor, OnChanges, Validator, SiFormItemControl {
10
+ private static idCounter;
11
+ /**
12
+ * @defaultValue
13
+ * ```
14
+ * `si-date-input-${SiDateInputDirective.idCounter++}`
15
+ * ```
16
+ */
17
+ readonly id: import("@angular/core").InputSignal<string>;
18
+ /**
19
+ * Configuration object for the datepicker.
20
+ *
21
+ * @defaultValue
22
+ * ```
23
+ * {}
24
+ * ```
25
+ */
26
+ readonly siDatepickerConfig: import("@angular/core").ModelSignal<DatepickerInputConfig | undefined>;
27
+ /**
28
+ * @deprecated Property has no effect and will be removed without a replacement.
29
+ *
30
+ * @defaultValue 200
31
+ */
32
+ readonly dateInputDebounceTime: import("@angular/core").InputSignal<number>;
33
+ /**
34
+ * Emits an event to notify about disabling the time from the datepicker.
35
+ * When time is disable, we construct a pure date object in UTC 00:00:00 time.
36
+ */
37
+ readonly siDatepickerDisabledTime: import("@angular/core").OutputEmitterRef<boolean>;
38
+ /**
39
+ * Emits an event on state changes e.g. readonly, disable, ... .
40
+ */
41
+ readonly stateChange: import("@angular/core").OutputEmitterRef<void>;
42
+ /**
43
+ * Whether the date range input is disabled.
44
+ * @defaultValue false
45
+ */
46
+ readonly disabledInput: import("@angular/core").InputSignal<boolean>;
47
+ /**
48
+ * Whether the date range input is readonly.
49
+ * @defaultValue false
50
+ */
51
+ readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
52
+ /**
53
+ * Overrides the value of aria-describedby
54
+ *
55
+ * @defaultValue
56
+ * ```
57
+ * `${this.id()}-errormessage`
58
+ * ```
59
+ */
60
+ readonly errormessageId: import("@angular/core").InputSignal<string>;
61
+ /** @internal */
62
+ validatorOnChange: () => void;
63
+ /**
64
+ * Date form input validator function, validating text format, min and max value.
65
+ */
66
+ protected validator: import("@angular/forms").ValidatorFn;
67
+ protected date?: Date;
68
+ /**
69
+ * Emits a new `date` value on input field value changes.
70
+ */
71
+ protected readonly dateChange: import("@angular/core").OutputEmitterRef<Date | undefined>;
72
+ /** @internal */
73
+ readonly disabled: import("@angular/core").Signal<boolean>;
74
+ protected onTouched: () => void;
75
+ protected onModelChange: (value: any) => void;
76
+ protected readonly dateString: import("@angular/core").WritableSignal<string>;
77
+ private readonly disabledNgControl;
78
+ protected readonly locale: string;
79
+ private format;
80
+ ngOnChanges(changes: SimpleChanges): void;
81
+ validate(c: AbstractControl): ValidationErrors | null;
82
+ registerOnChange(fn: any): void;
83
+ registerOnTouched(fn: () => void): void;
84
+ registerOnValidatorChange(fn: () => void): void;
85
+ setDisabledState(isDisabled: boolean): void;
86
+ writeValue(value?: Date | string): void;
87
+ private updateNativeValue;
88
+ /**
89
+ * Handles `input` events on the input element.
90
+ * @param value - current input value.
91
+ */
92
+ protected onInput(value: string): void;
93
+ protected onBlur(event: FocusEvent): void;
94
+ private getFormat;
95
+ /**
96
+ * Callback when the datepicker changes his value.
97
+ * @param date - updated date
98
+ */
99
+ protected onDateChanged(date?: Date): void;
100
+ /**
101
+ * Datepicker consider time / ignore time changed.
102
+ * @param disabledTime - disable time
103
+ * @internal
104
+ */
105
+ onDisabledTime(disabledTime: boolean): void;
106
+ /** The form control validator for date format */
107
+ private formatValidator;
108
+ /** The form control validator for the min date. */
109
+ private minValidator;
110
+ /** The form control validator for the min date. */
111
+ private maxValidator;
112
+ static ɵfac: i0.ɵɵFactoryDeclaration<SiDateInputDirective, never>;
113
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SiDateInputDirective, "[siDateInput]", ["siDateInput"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "siDatepickerConfig": { "alias": "siDatepickerConfig"; "required": false; "isSignal": true; }; "dateInputDebounceTime": { "alias": "dateInputDebounceTime"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "errormessageId": { "alias": "errormessageId"; "required": false; "isSignal": true; }; }, { "siDatepickerConfig": "siDatepickerConfigChange"; "siDatepickerDisabledTime": "siDatepickerDisabledTime"; "stateChange": "stateChange"; "dateChange": "dateChange"; }, never, never, true, never>;
114
+ }
@@ -0,0 +1,150 @@
1
+ import { AfterViewInit, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
3
+ import { SiFormItemControl } from '@siemens/element-ng/form';
4
+ import { TranslatableString } from '@siemens/element-translate-ng/translate';
5
+ import { DatepickerInputConfig, DateRange } from './si-datepicker.model';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "./si-datepicker-overlay.directive";
8
+ export declare class SiDateRangeComponent implements ControlValueAccessor, Validator, AfterViewInit, OnChanges, SiFormItemControl {
9
+ private static idCounter;
10
+ private readonly inputDirectives;
11
+ private readonly startInput;
12
+ private readonly endInput;
13
+ private readonly button;
14
+ /**
15
+ * @defaultValue
16
+ * ```
17
+ * `__si-date-range-${SiDateRangeComponent.idCounter++}`
18
+ * ```
19
+ */
20
+ readonly id: import("@angular/core").InputSignal<string>;
21
+ readonly labelledby: string;
22
+ /**
23
+ * Date range component configuration.
24
+ *
25
+ * @defaultValue
26
+ * ```
27
+ * { enableDateRange: true }
28
+ * ```
29
+ */
30
+ readonly siDatepickerConfig: import("@angular/core").ModelSignal<DatepickerInputConfig>;
31
+ /**
32
+ * Placeholder of the start date input.
33
+ *
34
+ * @defaultValue
35
+ * ```
36
+ * $localize`:@@SI_DATEPICKER.START_DATE_PLACEHOLDER:Start date`
37
+ * ```
38
+ */
39
+ readonly startDatePlaceholder: import("@angular/core").InputSignal<TranslatableString>;
40
+ /**
41
+ * Placeholder of the end date input.
42
+ *
43
+ * @defaultValue
44
+ * ```
45
+ * $localize`:@@SI_DATEPICKER.END_DATE_PLACEHOLDER:End date`
46
+ * ```
47
+ */
48
+ readonly endDatePlaceholder: import("@angular/core").InputSignal<TranslatableString>;
49
+ /**
50
+ * Aria label of the date-range calendar toggle button.
51
+ *
52
+ * @defaultValue
53
+ * ```
54
+ * $localize`:@@SI_DATEPICKER.CALENDAR_TOGGLE_BUTTON:Open calendar`
55
+ * ```
56
+ */
57
+ readonly ariaLabelCalendarButton: import("@angular/core").InputSignal<TranslatableString>;
58
+ /**
59
+ * Form label of the start timepicker.
60
+ *
61
+ * @defaultValue
62
+ * ```
63
+ * $localize`:@@SI_DATEPICKER.START_TIME_LABEL:from`
64
+ * ```
65
+ */
66
+ readonly startTimeLabel: import("@angular/core").InputSignal<TranslatableString>;
67
+ /**
68
+ * Form label of the start timepicker.
69
+ *
70
+ * @defaultValue
71
+ * ```
72
+ * $localize`:@@SI_DATEPICKER.END_TIME_LABEL:to`
73
+ * ```
74
+ */
75
+ readonly endTimeLabel: import("@angular/core").InputSignal<TranslatableString>;
76
+ /**
77
+ * @deprecated Property has no effect and will be removed without a replacement.
78
+ *
79
+ * @defaultValue 200
80
+ */
81
+ readonly debounceTime: import("@angular/core").InputSignal<number>;
82
+ /**
83
+ * Automatically close overlay on date selection.
84
+ *
85
+ * @defaultValue false
86
+ */
87
+ readonly autoClose: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
88
+ /** Emits on the date range value changes. */
89
+ readonly siDatepickerRangeChange: import("@angular/core").OutputEmitterRef<DateRange | undefined>;
90
+ /**
91
+ * Emits an event to notify about disabling the time from the range picker.
92
+ * When time is disable, we construct a pure date objects in UTC 00:00:00 time.
93
+ */
94
+ readonly disabledTimeChange: import("@angular/core").OutputEmitterRef<boolean>;
95
+ /**
96
+ * Whether the date range input is disabled.
97
+ *
98
+ * @defaultValue false
99
+ */
100
+ readonly disabledInput: import("@angular/core").InputSignal<boolean>;
101
+ /**
102
+ * Whether the date range input is readonly.
103
+ *
104
+ * @defaultValue false
105
+ */
106
+ readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
107
+ /**
108
+ * Set the date-range object displayed in the control.
109
+ * The input can be used if the control is used outside Angular forms.
110
+ */
111
+ readonly value: import("@angular/core").ModelSignal<DateRange | undefined>;
112
+ /** @internal */
113
+ readonly errormessageId: string;
114
+ private validator;
115
+ private onChange;
116
+ private onTouch;
117
+ protected readonly icons: Record<"elementCalendar", string>;
118
+ protected readonly disabled: import("@angular/core").Signal<boolean>;
119
+ private readonly disabledNgControl;
120
+ private readonly cdRef;
121
+ private readonly overlayToggle;
122
+ private readonly elementRef;
123
+ private readonly defaultPlacement;
124
+ ngOnChanges(changes: SimpleChanges): void;
125
+ ngAfterViewInit(): void;
126
+ writeValue(dateRange: DateRange): void;
127
+ registerOnChange(fn: any): void;
128
+ registerOnTouched(fn: () => void): void;
129
+ setDisabledState(isDisabled: boolean): void;
130
+ validate(c: AbstractControl): ValidationErrors | null;
131
+ /**
132
+ * Focus out shall close the datepicker except we are moving the focus to the datepicker or one of the input elements.
133
+ * @param event - focus out event with the related target
134
+ */
135
+ protected onFocusOut(event: FocusEvent): void;
136
+ /** Forward date range input changes to datepicker overlay */
137
+ protected onInputChanged(dateRange: DateRange): void;
138
+ protected show(): void;
139
+ private subscribeRangeChanges;
140
+ private onRangeChanged;
141
+ /** Run validators on the start/end inputs. */
142
+ private validateChildren;
143
+ /** The form control validator for the end date is greater equal start date. */
144
+ private endAfterStartValidator;
145
+ private readonly childValidation;
146
+ private readErrorsFromInnerControl;
147
+ private updateValue;
148
+ static ɵfac: i0.ɵɵFactoryDeclaration<SiDateRangeComponent, never>;
149
+ static ɵcmp: i0.ɵɵComponentDeclaration<SiDateRangeComponent, "si-date-range", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "siDatepickerConfig": { "alias": "siDatepickerConfig"; "required": false; "isSignal": true; }; "startDatePlaceholder": { "alias": "startDatePlaceholder"; "required": false; "isSignal": true; }; "endDatePlaceholder": { "alias": "endDatePlaceholder"; "required": false; "isSignal": true; }; "ariaLabelCalendarButton": { "alias": "ariaLabelCalendarButton"; "required": false; "isSignal": true; }; "startTimeLabel": { "alias": "startTimeLabel"; "required": false; "isSignal": true; }; "endTimeLabel": { "alias": "endTimeLabel"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; "autoClose": { "alias": "autoClose"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "siDatepickerConfig": "siDatepickerConfigChange"; "siDatepickerRangeChange": "siDatepickerRangeChange"; "disabledTimeChange": "disabledTimeChange"; "value": "valueChange"; }, never, never, true, [{ directive: typeof i1.SiDatepickerOverlayDirective; inputs: {}; outputs: { "siDatepickerClose": "siDatepickerClose"; }; }]>;
150
+ }