@spicainternational/ngx-sds-components 7.12.0-beta.2 → 8.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (634) hide show
  1. package/README.md +13 -57
  2. package/esm2022/public-api.mjs +36 -0
  3. package/{esm2020 → esm2022}/spicainternational-ngx-sds-components.mjs +4 -4
  4. package/esm2022/src/lib/app-switcher/app-switcher.component.mjs +116 -0
  5. package/{esm2020 → esm2022}/src/lib/app-switcher/app-switcher.model.mjs +1 -1
  6. package/esm2022/src/lib/app-switcher/public-api.mjs +3 -0
  7. package/{esm2020 → esm2022}/src/lib/app-switcher/spicainternational-ngx-sds-components-src-lib-app-switcher.mjs +4 -4
  8. package/esm2022/src/lib/avatar/avatar-group.component.mjs +82 -0
  9. package/{esm2020 → esm2022}/src/lib/avatar/avatar-group.model.mjs +1 -1
  10. package/esm2022/src/lib/avatar/avatar.component.mjs +165 -0
  11. package/esm2022/src/lib/avatar/public-api.mjs +4 -0
  12. package/{esm2020 → esm2022}/src/lib/avatar/spicainternational-ngx-sds-components-src-lib-avatar.mjs +4 -4
  13. package/esm2022/src/lib/badge/badge.directive.mjs +90 -0
  14. package/{esm2020 → esm2022}/src/lib/badge/badge.types.mjs +1 -1
  15. package/esm2022/src/lib/badge/components/badge.component.mjs +59 -0
  16. package/{esm2020 → esm2022}/src/lib/badge/public-api.mjs +2 -3
  17. package/{esm2020 → esm2022}/src/lib/badge/spicainternational-ngx-sds-components-src-lib-badge.mjs +4 -4
  18. package/esm2022/src/lib/callout/callout.component.mjs +20 -0
  19. package/{esm2020 → esm2022}/src/lib/callout/public-api.mjs +2 -3
  20. package/{esm2020 → esm2022}/src/lib/callout/spicainternational-ngx-sds-components-src-lib-callout.mjs +4 -4
  21. package/esm2022/src/lib/color-picker/color-picker.component.mjs +82 -0
  22. package/{esm2020 → esm2022}/src/lib/color-picker/public-api.mjs +2 -3
  23. package/{esm2020 → esm2022}/src/lib/color-picker/spicainternational-ngx-sds-components-src-lib-color-picker.mjs +4 -4
  24. package/esm2022/src/lib/date-picker/date-picker.component.mjs +863 -0
  25. package/esm2022/src/lib/date-picker/date-picker.model.mjs +71 -0
  26. package/esm2022/src/lib/date-picker/public-api.mjs +3 -0
  27. package/esm2022/src/lib/date-picker/sds-date-picker.service.mjs +90 -0
  28. package/{esm2020 → esm2022}/src/lib/date-picker/spicainternational-ngx-sds-components-src-lib-date-picker.mjs +4 -4
  29. package/esm2022/src/lib/date-pipes/date-compare.pipe.mjs +32 -0
  30. package/esm2022/src/lib/date-pipes/date-format.pipe.mjs +31 -0
  31. package/esm2022/src/lib/date-pipes/date-period-format.pipe.mjs +49 -0
  32. package/{esm2020 → esm2022}/src/lib/date-pipes/date-time-formats.constants.mjs +155 -155
  33. package/esm2022/src/lib/date-pipes/date-time-range-duration.pipe.mjs +33 -0
  34. package/esm2022/src/lib/date-pipes/date-time-range-format.pipe.mjs +49 -0
  35. package/{esm2020 → esm2022}/src/lib/date-pipes/public-api.mjs +8 -8
  36. package/{esm2020 → esm2022}/src/lib/date-pipes/spicainternational-ngx-sds-components-src-lib-date-pipes.mjs +4 -4
  37. package/esm2022/src/lib/drawer/drawer.component.mjs +103 -0
  38. package/{esm2020 → esm2022}/src/lib/drawer/public-api.mjs +2 -3
  39. package/{esm2020 → esm2022}/src/lib/drawer/spicainternational-ngx-sds-components-src-lib-drawer.mjs +4 -4
  40. package/esm2022/src/lib/duration-box/duration-box.component.mjs +279 -0
  41. package/{esm2020 → esm2022}/src/lib/duration-box/duration-box.types.mjs +1 -1
  42. package/esm2022/src/lib/duration-box/duration.service.mjs +72 -0
  43. package/{esm2020 → esm2022}/src/lib/duration-box/public-api.mjs +2 -3
  44. package/{esm2020 → esm2022}/src/lib/duration-box/spicainternational-ngx-sds-components-src-lib-duration-box.mjs +4 -4
  45. package/esm2022/src/lib/duration-pipe/duration-format.pipe.mjs +27 -0
  46. package/{esm2020 → esm2022}/src/lib/duration-pipe/public-api.mjs +2 -3
  47. package/{esm2020 → esm2022}/src/lib/duration-pipe/spicainternational-ngx-sds-components-src-lib-duration-pipe.mjs +4 -4
  48. package/esm2022/src/lib/ellipsis/directives/ellipsis.directive.mjs +52 -0
  49. package/{esm2020 → esm2022}/src/lib/ellipsis/public-api.mjs +2 -3
  50. package/{esm2020 → esm2022}/src/lib/ellipsis/spicainternational-ngx-sds-components-src-lib-ellipsis.mjs +4 -4
  51. package/esm2022/src/lib/expansion-panel/expansion-panel.component.mjs +86 -0
  52. package/{esm2020 → esm2022}/src/lib/expansion-panel/expansion-panel.types.mjs +1 -1
  53. package/{esm2020 → esm2022}/src/lib/expansion-panel/public-api.mjs +2 -3
  54. package/{esm2020 → esm2022}/src/lib/expansion-panel/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs +4 -4
  55. package/esm2022/src/lib/highlight-text/directives/highlight-text.directive.mjs +61 -0
  56. package/{esm2020 → esm2022}/src/lib/highlight-text/directives/index.mjs +1 -1
  57. package/esm2022/src/lib/highlight-text/pipes/highlight-text.pipe.mjs +30 -0
  58. package/{esm2020 → esm2022}/src/lib/highlight-text/pipes/index.mjs +1 -1
  59. package/esm2022/src/lib/highlight-text/public-api.mjs +3 -0
  60. package/{esm2020 → esm2022}/src/lib/highlight-text/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs +4 -4
  61. package/esm2022/src/lib/highlight-text/utils/highlight-text.utils.mjs +97 -0
  62. package/{esm2020 → esm2022}/src/lib/highlight-text/utils/index.mjs +1 -1
  63. package/{esm2020 → esm2022}/src/lib/intersection/directives/index.mjs +1 -1
  64. package/esm2022/src/lib/intersection/directives/intersection.directive.mjs +52 -0
  65. package/esm2022/src/lib/intersection/public-api.mjs +3 -0
  66. package/{esm2020 → esm2022}/src/lib/intersection/services/index.mjs +1 -1
  67. package/{esm2020 → esm2022}/src/lib/intersection/services/intersection.service.mjs +54 -54
  68. package/{esm2020 → esm2022}/src/lib/intersection/spicainternational-ngx-sds-components-src-lib-intersection.mjs +4 -4
  69. package/{esm2020 → esm2022}/src/lib/keyboard-shortcut/directives/index.mjs +1 -1
  70. package/esm2022/src/lib/keyboard-shortcut/directives/keyboard-shortcut.directive.mjs +57 -0
  71. package/{esm2020 → esm2022}/src/lib/keyboard-shortcut/public-api.mjs +2 -3
  72. package/{esm2020 → esm2022}/src/lib/keyboard-shortcut/spicainternational-ngx-sds-components-src-lib-keyboard-shortcut.mjs +4 -4
  73. package/esm2022/src/lib/layout/default-layout/default-layout.component.mjs +15 -0
  74. package/esm2022/src/lib/layout/extra-large-layout/extra-large-layout.component.mjs +15 -0
  75. package/esm2022/src/lib/layout/fluid-layout/fluid-layout.component.mjs +15 -0
  76. package/esm2022/src/lib/layout/medium-layout/medium-layout.component.mjs +15 -0
  77. package/esm2022/src/lib/layout/public-api.mjs +6 -0
  78. package/esm2022/src/lib/layout/small-layout/small-layout.component.mjs +15 -0
  79. package/{esm2020 → esm2022}/src/lib/layout/spicainternational-ngx-sds-components-src-lib-layout.mjs +4 -4
  80. package/esm2022/src/lib/message/message.component.mjs +60 -0
  81. package/{esm2020 → esm2022}/src/lib/message/public-api.mjs +2 -3
  82. package/{esm2020 → esm2022}/src/lib/message/spicainternational-ngx-sds-components-src-lib-message.mjs +4 -4
  83. package/esm2022/src/lib/modal/dialog/dialog.component.mjs +187 -0
  84. package/{esm2020 → esm2022}/src/lib/modal/dialog/dialog.types.mjs +1 -1
  85. package/esm2022/src/lib/modal/modal.component.mjs +153 -0
  86. package/{esm2020 → esm2022}/src/lib/modal/modal.model.mjs +1 -1
  87. package/{esm2020 → esm2022}/src/lib/modal/public-api.mjs +3 -4
  88. package/{esm2020 → esm2022}/src/lib/modal/spicainternational-ngx-sds-components-src-lib-modal.mjs +4 -4
  89. package/esm2022/src/lib/navigation/models/navigation-models.mjs +2 -0
  90. package/esm2022/src/lib/navigation/navigation-collapsible-frame/navigation-collapsible-frame.component.mjs +17 -0
  91. package/esm2022/src/lib/navigation/navigation-container/navigation-container.component.mjs +61 -0
  92. package/esm2022/src/lib/navigation/navigation-external-link/navigation-external-link.component.mjs +38 -0
  93. package/esm2022/src/lib/navigation/navigation-group/navigation-group.component.mjs +120 -0
  94. package/esm2022/src/lib/navigation/navigation-header/navigation-header.component.mjs +21 -0
  95. package/esm2022/src/lib/navigation/navigation-route-link/navigation-route-link.component.mjs +38 -0
  96. package/esm2022/src/lib/navigation/navigation-separator/navigation-separator.component.mjs +15 -0
  97. package/esm2022/src/lib/navigation/navigation-user-profile/components/user-profile-action-button/user-profile-action-button.component.mjs +30 -0
  98. package/esm2022/src/lib/navigation/navigation-user-profile/components/user-profile-selector/user-profile-selector.component.mjs +45 -0
  99. package/{esm2020 → esm2022}/src/lib/navigation/navigation-user-profile/components/user-profile-selector/user-profile-selector.types.mjs +1 -1
  100. package/esm2022/src/lib/navigation/navigation-user-profile/components/user-profile-tile/user-profile-tile.component.mjs +25 -0
  101. package/{esm2020 → esm2022}/src/lib/navigation/navigation-user-profile/navigation-profile.model.mjs +1 -1
  102. package/esm2022/src/lib/navigation/navigation-user-profile/navigation-user-profile.component.mjs +107 -0
  103. package/esm2022/src/lib/navigation/product-home/product-home.component.mjs +71 -0
  104. package/esm2022/src/lib/navigation/public-api.mjs +14 -0
  105. package/{esm2020 → esm2022}/src/lib/navigation/spicainternational-ngx-sds-components-src-lib-navigation.mjs +4 -4
  106. package/esm2022/src/lib/navigation/utils/navigation.utils.mjs +48 -0
  107. package/esm2022/src/lib/number-box/number-box.component.mjs +138 -0
  108. package/{esm2020 → esm2022}/src/lib/number-box/public-api.mjs +2 -3
  109. package/{esm2020 → esm2022}/src/lib/number-box/spicainternational-ngx-sds-components-src-lib-number-box.mjs +4 -4
  110. package/esm2022/src/lib/page-header/page-header.component.mjs +25 -0
  111. package/{esm2020 → esm2022}/src/lib/page-header/public-api.mjs +2 -3
  112. package/{esm2020 → esm2022}/src/lib/page-header/spicainternational-ngx-sds-components-src-lib-page-header.mjs +4 -4
  113. package/esm2022/src/lib/pane/pane.component.mjs +43 -0
  114. package/{esm2020 → esm2022}/src/lib/pane/pane.model.mjs +1 -1
  115. package/{esm2020 → esm2022}/src/lib/pane/public-api.mjs +3 -4
  116. package/{esm2020 → esm2022}/src/lib/pane/spicainternational-ngx-sds-components-src-lib-pane.mjs +4 -4
  117. package/{esm2020 → esm2022}/src/lib/quick-info/public-api.mjs +2 -3
  118. package/esm2022/src/lib/quick-info/quick-info.component.mjs +121 -0
  119. package/{esm2020 → esm2022}/src/lib/quick-info/quick-info.model.mjs +1 -1
  120. package/{esm2020 → esm2022}/src/lib/quick-info/spicainternational-ngx-sds-components-src-lib-quick-info.mjs +4 -4
  121. package/esm2022/src/lib/ripple/public-api.mjs +2 -0
  122. package/esm2022/src/lib/ripple/ripple.directive.mjs +103 -0
  123. package/esm2022/src/lib/ripple/spicainternational-ngx-sds-components-src-lib-ripple.mjs +5 -0
  124. package/{esm2020 → esm2022}/src/lib/segmented-control/public-api.mjs +2 -3
  125. package/esm2022/src/lib/segmented-control/segmented-control.component.mjs +109 -0
  126. package/{esm2020 → esm2022}/src/lib/segmented-control/spicainternational-ngx-sds-components-src-lib-segmented-control.mjs +4 -4
  127. package/{esm2020 → esm2022}/src/lib/side-bar/public-api.mjs +2 -3
  128. package/esm2022/src/lib/side-bar/side-bar.component.mjs +39 -0
  129. package/{esm2020 → esm2022}/src/lib/side-bar/spicainternational-ngx-sds-components-src-lib-side-bar.mjs +4 -4
  130. package/{esm2020 → esm2022}/src/lib/static-value/public-api.mjs +2 -3
  131. package/{esm2020 → esm2022}/src/lib/static-value/spicainternational-ngx-sds-components-src-lib-static-value.mjs +4 -4
  132. package/esm2022/src/lib/static-value/static-value.component.mjs +25 -0
  133. package/{esm2020 → esm2022}/src/lib/table-actions/public-api.mjs +2 -3
  134. package/{esm2020 → esm2022}/src/lib/table-actions/spicainternational-ngx-sds-components-src-lib-table-actions.mjs +4 -4
  135. package/esm2022/src/lib/table-actions/table-actions.component.mjs +49 -0
  136. package/esm2022/src/lib/timeline/components/timeline.component.mjs +388 -0
  137. package/{esm2020 → esm2022}/src/lib/timeline/models/timeline.model.mjs +1 -1
  138. package/{esm2020 → esm2022}/src/lib/timeline/public-api.mjs +2 -3
  139. package/esm2022/src/lib/timeline/services/timeline.service.mjs +152 -0
  140. package/{esm2020 → esm2022}/src/lib/timeline/spicainternational-ngx-sds-components-src-lib-timeline.mjs +4 -4
  141. package/{esm2020 → esm2022}/src/lib/timeline/types/timeline.types.mjs +1 -1
  142. package/{esm2020 → esm2022}/src/lib/timer/public-api.mjs +3 -4
  143. package/{esm2020 → esm2022}/src/lib/timer/services/index.mjs +1 -1
  144. package/esm2022/src/lib/timer/services/timer.service.mjs +99 -0
  145. package/{esm2020 → esm2022}/src/lib/timer/spicainternational-ngx-sds-components-src-lib-timer.mjs +4 -4
  146. package/{esm2020 → esm2022}/src/lib/timer/utils/index.mjs +1 -1
  147. package/{esm2020 → esm2022}/src/lib/timer/utils/timer.utils.mjs +96 -96
  148. package/esm2022/src/lib/tooltip/components/tooltip.component.mjs +26 -0
  149. package/{esm2020 → esm2022}/src/lib/tooltip/public-api.mjs +2 -3
  150. package/{esm2020 → esm2022}/src/lib/tooltip/spicainternational-ngx-sds-components-src-lib-tooltip.mjs +4 -4
  151. package/esm2022/src/lib/tooltip/tooltip.directive.mjs +192 -0
  152. package/{esm2020 → esm2022}/src/lib/tooltip/tooltip.types.mjs +1 -1
  153. package/{esm2020 → esm2022}/src/lib/tooltip/utils/index.mjs +1 -1
  154. package/{esm2020 → esm2022}/src/lib/tooltip/utils/tooltip.utils.mjs +16 -16
  155. package/esm2022/src/lib/utils/date-time/date-time-format.function.mjs +15 -0
  156. package/esm2022/src/lib/utils/date-time/intl-date-time-format-options-presets.mjs +29 -0
  157. package/esm2022/src/lib/utils/date-time/public-api.mjs +3 -0
  158. package/esm2022/src/lib/utils/date-time/spicainternational-ngx-sds-components-src-lib-utils-date-time.mjs +5 -0
  159. package/esm2022/src/lib/utils/public-api.mjs +2 -0
  160. package/esm2022/src/lib/utils/spicainternational-ngx-sds-components-src-lib-utils.mjs +5 -0
  161. package/fesm2022/spicainternational-ngx-sds-components-src-lib-app-switcher.mjs +122 -0
  162. package/fesm2022/spicainternational-ngx-sds-components-src-lib-app-switcher.mjs.map +1 -0
  163. package/fesm2022/spicainternational-ngx-sds-components-src-lib-avatar.mjs +250 -0
  164. package/fesm2022/spicainternational-ngx-sds-components-src-lib-avatar.mjs.map +1 -0
  165. package/fesm2022/spicainternational-ngx-sds-components-src-lib-badge.mjs +153 -0
  166. package/fesm2022/spicainternational-ngx-sds-components-src-lib-badge.mjs.map +1 -0
  167. package/fesm2022/spicainternational-ngx-sds-components-src-lib-callout.mjs +27 -0
  168. package/fesm2022/spicainternational-ngx-sds-components-src-lib-callout.mjs.map +1 -0
  169. package/fesm2022/spicainternational-ngx-sds-components-src-lib-color-picker.mjs +89 -0
  170. package/fesm2022/spicainternational-ngx-sds-components-src-lib-color-picker.mjs.map +1 -0
  171. package/fesm2022/spicainternational-ngx-sds-components-src-lib-date-picker.mjs +1025 -0
  172. package/fesm2022/spicainternational-ngx-sds-components-src-lib-date-picker.mjs.map +1 -0
  173. package/{fesm2020 → fesm2022}/spicainternational-ngx-sds-components-src-lib-date-pipes.mjs +330 -399
  174. package/fesm2022/spicainternational-ngx-sds-components-src-lib-date-pipes.mjs.map +1 -0
  175. package/{fesm2015 → fesm2022}/spicainternational-ngx-sds-components-src-lib-drawer.mjs +103 -118
  176. package/fesm2022/spicainternational-ngx-sds-components-src-lib-drawer.mjs.map +1 -0
  177. package/fesm2022/spicainternational-ngx-sds-components-src-lib-duration-box.mjs +354 -0
  178. package/fesm2022/spicainternational-ngx-sds-components-src-lib-duration-box.mjs.map +1 -0
  179. package/fesm2022/spicainternational-ngx-sds-components-src-lib-duration-pipe.mjs +34 -0
  180. package/fesm2022/spicainternational-ngx-sds-components-src-lib-duration-pipe.mjs.map +1 -0
  181. package/fesm2022/spicainternational-ngx-sds-components-src-lib-ellipsis.mjs +59 -0
  182. package/fesm2022/spicainternational-ngx-sds-components-src-lib-ellipsis.mjs.map +1 -0
  183. package/fesm2022/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs +93 -0
  184. package/fesm2022/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs.map +1 -0
  185. package/{fesm2020 → fesm2022}/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs +178 -201
  186. package/fesm2022/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs.map +1 -0
  187. package/{fesm2020 → fesm2022}/spicainternational-ngx-sds-components-src-lib-intersection.mjs +99 -114
  188. package/fesm2022/spicainternational-ngx-sds-components-src-lib-intersection.mjs.map +1 -0
  189. package/fesm2022/spicainternational-ngx-sds-components-src-lib-keyboard-shortcut.mjs +64 -0
  190. package/fesm2022/spicainternational-ngx-sds-components-src-lib-keyboard-shortcut.mjs.map +1 -0
  191. package/fesm2022/spicainternational-ngx-sds-components-src-lib-layout.mjs +70 -0
  192. package/fesm2022/spicainternational-ngx-sds-components-src-lib-layout.mjs.map +1 -0
  193. package/fesm2022/spicainternational-ngx-sds-components-src-lib-message.mjs +67 -0
  194. package/fesm2022/spicainternational-ngx-sds-components-src-lib-message.mjs.map +1 -0
  195. package/fesm2022/spicainternational-ngx-sds-components-src-lib-modal.mjs +343 -0
  196. package/fesm2022/spicainternational-ngx-sds-components-src-lib-modal.mjs.map +1 -0
  197. package/fesm2022/spicainternational-ngx-sds-components-src-lib-navigation.mjs +589 -0
  198. package/fesm2022/spicainternational-ngx-sds-components-src-lib-navigation.mjs.map +1 -0
  199. package/fesm2022/spicainternational-ngx-sds-components-src-lib-number-box.mjs +145 -0
  200. package/fesm2022/spicainternational-ngx-sds-components-src-lib-number-box.mjs.map +1 -0
  201. package/fesm2022/spicainternational-ngx-sds-components-src-lib-page-header.mjs +32 -0
  202. package/fesm2022/spicainternational-ngx-sds-components-src-lib-page-header.mjs.map +1 -0
  203. package/fesm2022/spicainternational-ngx-sds-components-src-lib-pane.mjs +50 -0
  204. package/fesm2022/spicainternational-ngx-sds-components-src-lib-pane.mjs.map +1 -0
  205. package/fesm2022/spicainternational-ngx-sds-components-src-lib-quick-info.mjs +128 -0
  206. package/fesm2022/spicainternational-ngx-sds-components-src-lib-quick-info.mjs.map +1 -0
  207. package/fesm2022/spicainternational-ngx-sds-components-src-lib-ripple.mjs +110 -0
  208. package/fesm2022/spicainternational-ngx-sds-components-src-lib-ripple.mjs.map +1 -0
  209. package/fesm2022/spicainternational-ngx-sds-components-src-lib-segmented-control.mjs +116 -0
  210. package/fesm2022/spicainternational-ngx-sds-components-src-lib-segmented-control.mjs.map +1 -0
  211. package/fesm2022/spicainternational-ngx-sds-components-src-lib-side-bar.mjs +46 -0
  212. package/fesm2022/spicainternational-ngx-sds-components-src-lib-side-bar.mjs.map +1 -0
  213. package/fesm2022/spicainternational-ngx-sds-components-src-lib-static-value.mjs +32 -0
  214. package/fesm2022/spicainternational-ngx-sds-components-src-lib-static-value.mjs.map +1 -0
  215. package/fesm2022/spicainternational-ngx-sds-components-src-lib-table-actions.mjs +56 -0
  216. package/fesm2022/spicainternational-ngx-sds-components-src-lib-table-actions.mjs.map +1 -0
  217. package/fesm2022/spicainternational-ngx-sds-components-src-lib-timeline.mjs +546 -0
  218. package/fesm2022/spicainternational-ngx-sds-components-src-lib-timeline.mjs.map +1 -0
  219. package/{fesm2020 → fesm2022}/spicainternational-ngx-sds-components-src-lib-timer.mjs +192 -223
  220. package/fesm2022/spicainternational-ngx-sds-components-src-lib-timer.mjs.map +1 -0
  221. package/{fesm2020 → fesm2022}/spicainternational-ngx-sds-components-src-lib-tooltip.mjs +228 -250
  222. package/fesm2022/spicainternational-ngx-sds-components-src-lib-tooltip.mjs.map +1 -0
  223. package/fesm2022/spicainternational-ngx-sds-components-src-lib-utils-date-time.mjs +49 -0
  224. package/fesm2022/spicainternational-ngx-sds-components-src-lib-utils-date-time.mjs.map +1 -0
  225. package/fesm2022/spicainternational-ngx-sds-components-src-lib-utils.mjs +49 -0
  226. package/fesm2022/spicainternational-ngx-sds-components-src-lib-utils.mjs.map +1 -0
  227. package/{fesm2015 → fesm2022}/spicainternational-ngx-sds-components.mjs +6 -4
  228. package/{fesm2015 → fesm2022}/spicainternational-ngx-sds-components.mjs.map +1 -1
  229. package/index.d.ts +5 -5
  230. package/package.json +123 -169
  231. package/public-api.d.ts +32 -30
  232. package/src/lib/app-switcher/app-switcher.component.d.ts +34 -34
  233. package/src/lib/app-switcher/app-switcher.model.d.ts +8 -8
  234. package/src/lib/app-switcher/index.d.ts +5 -5
  235. package/src/lib/app-switcher/public-api.d.ts +2 -3
  236. package/src/lib/avatar/avatar-group.component.d.ts +28 -28
  237. package/src/lib/avatar/avatar-group.model.d.ts +6 -6
  238. package/src/lib/avatar/avatar.component.d.ts +56 -55
  239. package/src/lib/avatar/index.d.ts +5 -5
  240. package/src/lib/avatar/public-api.d.ts +3 -4
  241. package/src/lib/badge/badge.directive.d.ts +23 -23
  242. package/src/lib/badge/badge.types.d.ts +2 -2
  243. package/src/lib/badge/components/badge.component.d.ts +23 -23
  244. package/src/lib/badge/index.d.ts +5 -5
  245. package/src/lib/badge/public-api.d.ts +1 -2
  246. package/src/lib/callout/callout.component.d.ts +10 -10
  247. package/src/lib/callout/index.d.ts +5 -5
  248. package/src/lib/callout/public-api.d.ts +1 -2
  249. package/src/lib/color-picker/color-picker.component.d.ts +27 -28
  250. package/src/lib/color-picker/index.d.ts +5 -5
  251. package/src/lib/color-picker/public-api.d.ts +1 -2
  252. package/src/lib/date-picker/date-picker.component.d.ts +149 -149
  253. package/src/lib/date-picker/date-picker.model.d.ts +34 -34
  254. package/src/lib/date-picker/index.d.ts +5 -5
  255. package/src/lib/date-picker/public-api.d.ts +2 -3
  256. package/src/lib/date-picker/sds-date-picker.service.d.ts +9 -9
  257. package/src/lib/date-pipes/date-compare.pipe.d.ts +7 -7
  258. package/src/lib/date-pipes/date-format.pipe.d.ts +19 -18
  259. package/src/lib/date-pipes/date-period-format.pipe.d.ts +11 -7
  260. package/src/lib/date-pipes/date-time-formats.constants.d.ts +22 -22
  261. package/src/lib/date-pipes/date-time-range-duration.pipe.d.ts +7 -7
  262. package/src/lib/date-pipes/date-time-range-format.pipe.d.ts +15 -15
  263. package/src/lib/date-pipes/index.d.ts +5 -5
  264. package/src/lib/date-pipes/public-api.d.ts +7 -7
  265. package/src/lib/drawer/drawer.component.d.ts +24 -24
  266. package/src/lib/drawer/index.d.ts +5 -5
  267. package/src/lib/drawer/public-api.d.ts +1 -2
  268. package/src/lib/duration-box/duration-box.component.d.ts +137 -137
  269. package/src/lib/duration-box/duration-box.types.d.ts +1 -1
  270. package/src/lib/duration-box/duration.service.d.ts +10 -10
  271. package/src/lib/duration-box/index.d.ts +5 -5
  272. package/src/lib/duration-box/public-api.d.ts +1 -2
  273. package/src/lib/duration-pipe/duration-format.pipe.d.ts +7 -7
  274. package/src/lib/duration-pipe/index.d.ts +5 -5
  275. package/src/lib/duration-pipe/public-api.d.ts +1 -2
  276. package/src/lib/ellipsis/directives/ellipsis.directive.d.ts +13 -13
  277. package/src/lib/ellipsis/index.d.ts +5 -5
  278. package/src/lib/ellipsis/public-api.d.ts +1 -2
  279. package/src/lib/expansion-panel/expansion-panel.component.d.ts +52 -52
  280. package/src/lib/expansion-panel/expansion-panel.types.d.ts +2 -2
  281. package/src/lib/expansion-panel/index.d.ts +5 -5
  282. package/src/lib/expansion-panel/public-api.d.ts +1 -2
  283. package/src/lib/highlight-text/directives/highlight-text.directive.d.ts +33 -33
  284. package/src/lib/highlight-text/directives/index.d.ts +1 -1
  285. package/src/lib/highlight-text/index.d.ts +5 -5
  286. package/src/lib/highlight-text/pipes/highlight-text.pipe.d.ts +11 -11
  287. package/src/lib/highlight-text/pipes/index.d.ts +1 -1
  288. package/src/lib/highlight-text/public-api.d.ts +2 -3
  289. package/src/lib/highlight-text/utils/highlight-text.utils.d.ts +23 -23
  290. package/src/lib/highlight-text/utils/index.d.ts +1 -1
  291. package/src/lib/intersection/directives/index.d.ts +1 -1
  292. package/src/lib/intersection/directives/intersection.directive.d.ts +24 -24
  293. package/src/lib/intersection/index.d.ts +5 -5
  294. package/src/lib/intersection/public-api.d.ts +2 -3
  295. package/src/lib/intersection/services/index.d.ts +1 -1
  296. package/src/lib/intersection/services/intersection.service.d.ts +19 -19
  297. package/src/lib/keyboard-shortcut/directives/index.d.ts +1 -1
  298. package/src/lib/keyboard-shortcut/directives/keyboard-shortcut.directive.d.ts +22 -22
  299. package/src/lib/keyboard-shortcut/index.d.ts +5 -5
  300. package/src/lib/keyboard-shortcut/public-api.d.ts +1 -2
  301. package/src/lib/layout/default-layout/default-layout.component.d.ts +8 -8
  302. package/src/lib/layout/extra-large-layout/extra-large-layout.component.d.ts +8 -8
  303. package/src/lib/layout/fluid-layout/fluid-layout.component.d.ts +8 -8
  304. package/src/lib/layout/index.d.ts +5 -5
  305. package/src/lib/layout/medium-layout/medium-layout.component.d.ts +8 -8
  306. package/src/lib/layout/public-api.d.ts +5 -6
  307. package/src/lib/layout/small-layout/small-layout.component.d.ts +8 -8
  308. package/src/lib/message/index.d.ts +5 -5
  309. package/src/lib/message/message.component.d.ts +24 -24
  310. package/src/lib/message/public-api.d.ts +1 -2
  311. package/src/lib/modal/dialog/dialog.component.d.ts +61 -61
  312. package/src/lib/modal/dialog/dialog.types.d.ts +1 -1
  313. package/src/lib/modal/index.d.ts +5 -5
  314. package/src/lib/modal/modal.component.d.ts +54 -54
  315. package/src/lib/modal/modal.model.d.ts +3 -3
  316. package/src/lib/modal/public-api.d.ts +2 -3
  317. package/src/lib/navigation/index.d.ts +5 -5
  318. package/src/lib/navigation/models/navigation-models.d.ts +4 -0
  319. package/src/lib/navigation/navigation-collapsible-frame/navigation-collapsible-frame.component.d.ts +7 -0
  320. package/src/lib/navigation/navigation-container/navigation-container.component.d.ts +26 -9
  321. package/src/lib/navigation/navigation-external-link/navigation-external-link.component.d.ts +17 -15
  322. package/src/lib/navigation/navigation-group/navigation-group.component.d.ts +45 -41
  323. package/src/lib/navigation/navigation-header/navigation-header.component.d.ts +11 -9
  324. package/src/lib/navigation/navigation-route-link/navigation-route-link.component.d.ts +19 -17
  325. package/src/lib/navigation/navigation-separator/navigation-separator.component.d.ts +10 -8
  326. package/src/lib/navigation/navigation-user-profile/components/user-profile-action-button/user-profile-action-button.component.d.ts +11 -11
  327. package/src/lib/navigation/navigation-user-profile/components/user-profile-selector/user-profile-selector.component.d.ts +17 -17
  328. package/src/lib/navigation/navigation-user-profile/components/user-profile-selector/user-profile-selector.types.d.ts +1 -1
  329. package/src/lib/navigation/navigation-user-profile/components/user-profile-tile/user-profile-tile.component.d.ts +9 -9
  330. package/src/lib/navigation/navigation-user-profile/navigation-profile.model.d.ts +6 -6
  331. package/src/lib/navigation/navigation-user-profile/navigation-user-profile.component.d.ts +34 -31
  332. package/src/lib/navigation/product-home/product-home.component.d.ts +32 -23
  333. package/src/lib/navigation/public-api.d.ts +13 -12
  334. package/src/lib/navigation/utils/navigation.utils.d.ts +2 -2
  335. package/src/lib/number-box/index.d.ts +5 -5
  336. package/src/lib/number-box/number-box.component.d.ts +83 -83
  337. package/src/lib/number-box/public-api.d.ts +1 -2
  338. package/src/lib/page-header/index.d.ts +5 -5
  339. package/src/lib/page-header/page-header.component.d.ts +11 -11
  340. package/src/lib/page-header/public-api.d.ts +1 -2
  341. package/src/lib/pane/index.d.ts +5 -5
  342. package/src/lib/pane/pane.component.d.ts +19 -19
  343. package/src/lib/pane/pane.model.d.ts +8 -8
  344. package/src/lib/pane/public-api.d.ts +2 -3
  345. package/src/lib/quick-info/index.d.ts +5 -5
  346. package/src/lib/quick-info/public-api.d.ts +1 -2
  347. package/src/lib/quick-info/quick-info.component.d.ts +43 -43
  348. package/src/lib/quick-info/quick-info.model.d.ts +9 -9
  349. package/src/lib/ripple/index.d.ts +5 -0
  350. package/src/lib/ripple/public-api.d.ts +1 -0
  351. package/src/lib/ripple/ripple.directive.d.ts +21 -0
  352. package/src/lib/ripple/sds-ripple.css +20 -0
  353. package/src/lib/segmented-control/index.d.ts +5 -5
  354. package/src/lib/segmented-control/public-api.d.ts +1 -2
  355. package/src/lib/segmented-control/segmented-control.component.d.ts +27 -21
  356. package/src/lib/side-bar/index.d.ts +5 -5
  357. package/src/lib/side-bar/public-api.d.ts +1 -2
  358. package/src/lib/side-bar/side-bar.component.d.ts +24 -74
  359. package/src/lib/static-value/index.d.ts +5 -5
  360. package/src/lib/static-value/public-api.d.ts +1 -2
  361. package/src/lib/static-value/static-value.component.d.ts +12 -12
  362. package/src/lib/table-actions/index.d.ts +5 -5
  363. package/src/lib/table-actions/public-api.d.ts +1 -2
  364. package/src/lib/table-actions/table-actions.component.d.ts +16 -16
  365. package/src/lib/timeline/components/timeline.component.d.ts +206 -198
  366. package/src/lib/timeline/index.d.ts +5 -5
  367. package/src/lib/timeline/models/timeline.model.d.ts +38 -38
  368. package/src/lib/timeline/public-api.d.ts +1 -2
  369. package/src/lib/timeline/services/timeline.service.d.ts +24 -21
  370. package/src/lib/timeline/types/timeline.types.d.ts +2 -2
  371. package/src/lib/timer/index.d.ts +5 -5
  372. package/src/lib/timer/public-api.d.ts +2 -3
  373. package/src/lib/timer/services/index.d.ts +1 -1
  374. package/src/lib/timer/services/timer.service.d.ts +78 -78
  375. package/src/lib/timer/utils/index.d.ts +1 -1
  376. package/src/lib/timer/utils/timer.utils.d.ts +61 -61
  377. package/src/lib/tooltip/components/tooltip.component.d.ts +18 -18
  378. package/src/lib/tooltip/index.d.ts +5 -5
  379. package/src/lib/tooltip/public-api.d.ts +1 -2
  380. package/src/lib/tooltip/tooltip.directive.d.ts +36 -36
  381. package/src/lib/tooltip/tooltip.types.d.ts +2 -2
  382. package/src/lib/tooltip/utils/index.d.ts +1 -1
  383. package/src/lib/tooltip/utils/tooltip.utils.d.ts +5 -5
  384. package/src/lib/utils/date-time/date-time-format.function.d.ts +2 -0
  385. package/src/lib/utils/date-time/index.d.ts +5 -0
  386. package/src/lib/utils/date-time/intl-date-time-format-options-presets.d.ts +4 -0
  387. package/src/lib/utils/date-time/public-api.d.ts +2 -0
  388. package/src/lib/utils/index.d.ts +5 -0
  389. package/src/lib/utils/public-api.d.ts +1 -0
  390. package/esm2020/public-api.mjs +0 -34
  391. package/esm2020/src/lib/app-switcher/app-switcher.component.mjs +0 -107
  392. package/esm2020/src/lib/app-switcher/app-switcher.module.mjs +0 -36
  393. package/esm2020/src/lib/app-switcher/public-api.mjs +0 -4
  394. package/esm2020/src/lib/avatar/avatar-group.component.mjs +0 -80
  395. package/esm2020/src/lib/avatar/avatar.component.mjs +0 -162
  396. package/esm2020/src/lib/avatar/avatar.module.mjs +0 -41
  397. package/esm2020/src/lib/avatar/public-api.mjs +0 -5
  398. package/esm2020/src/lib/badge/badge.directive.mjs +0 -89
  399. package/esm2020/src/lib/badge/badge.module.mjs +0 -27
  400. package/esm2020/src/lib/badge/components/badge.component.mjs +0 -59
  401. package/esm2020/src/lib/callout/callout.component.mjs +0 -20
  402. package/esm2020/src/lib/callout/callout.module.mjs +0 -25
  403. package/esm2020/src/lib/color-picker/color-picker.component.mjs +0 -76
  404. package/esm2020/src/lib/color-picker/color-picker.module.mjs +0 -33
  405. package/esm2020/src/lib/date-picker/date-picker.component.mjs +0 -841
  406. package/esm2020/src/lib/date-picker/date-picker.model.mjs +0 -71
  407. package/esm2020/src/lib/date-picker/date-picker.module.mjs +0 -68
  408. package/esm2020/src/lib/date-picker/public-api.mjs +0 -4
  409. package/esm2020/src/lib/date-picker/sds-date-picker.service.mjs +0 -90
  410. package/esm2020/src/lib/date-pipes/date-compare.pipe.mjs +0 -31
  411. package/esm2020/src/lib/date-pipes/date-format.pipe.mjs +0 -73
  412. package/esm2020/src/lib/date-pipes/date-period-format.pipe.mjs +0 -44
  413. package/esm2020/src/lib/date-pipes/date-pipes.module.mjs +0 -43
  414. package/esm2020/src/lib/date-pipes/date-time-range-duration.pipe.mjs +0 -31
  415. package/esm2020/src/lib/date-pipes/date-time-range-format.pipe.mjs +0 -48
  416. package/esm2020/src/lib/drawer/drawer.component.mjs +0 -103
  417. package/esm2020/src/lib/drawer/drawer.module.mjs +0 -18
  418. package/esm2020/src/lib/duration-box/duration-box.component.mjs +0 -261
  419. package/esm2020/src/lib/duration-box/duration-box.module.mjs +0 -44
  420. package/esm2020/src/lib/duration-box/duration.service.mjs +0 -72
  421. package/esm2020/src/lib/duration-pipe/duration-format.pipe.mjs +0 -26
  422. package/esm2020/src/lib/duration-pipe/duration-pipe.module.mjs +0 -18
  423. package/esm2020/src/lib/ellipsis/directives/ellipsis.directive.mjs +0 -51
  424. package/esm2020/src/lib/ellipsis/ellipsis.module.mjs +0 -24
  425. package/esm2020/src/lib/expansion-panel/expansion-panel.component.mjs +0 -86
  426. package/esm2020/src/lib/expansion-panel/expansion-panel.module.mjs +0 -25
  427. package/esm2020/src/lib/highlight-text/directives/highlight-text.directive.mjs +0 -60
  428. package/esm2020/src/lib/highlight-text/highlight-text.module.mjs +0 -29
  429. package/esm2020/src/lib/highlight-text/pipes/highlight-text.pipe.mjs +0 -29
  430. package/esm2020/src/lib/highlight-text/public-api.mjs +0 -4
  431. package/esm2020/src/lib/highlight-text/utils/highlight-text.utils.mjs +0 -97
  432. package/esm2020/src/lib/intersection/directives/intersection.directive.mjs +0 -51
  433. package/esm2020/src/lib/intersection/intersection.module.mjs +0 -20
  434. package/esm2020/src/lib/intersection/public-api.mjs +0 -4
  435. package/esm2020/src/lib/keyboard-shortcut/directives/keyboard-shortcut.directive.mjs +0 -56
  436. package/esm2020/src/lib/keyboard-shortcut/keyboard-shortcut.module.mjs +0 -24
  437. package/esm2020/src/lib/layout/default-layout/default-layout.component.mjs +0 -15
  438. package/esm2020/src/lib/layout/extra-large-layout/extra-large-layout.component.mjs +0 -15
  439. package/esm2020/src/lib/layout/fluid-layout/fluid-layout.component.mjs +0 -15
  440. package/esm2020/src/lib/layout/layout.module.mjs +0 -47
  441. package/esm2020/src/lib/layout/medium-layout/medium-layout.component.mjs +0 -15
  442. package/esm2020/src/lib/layout/public-api.mjs +0 -7
  443. package/esm2020/src/lib/layout/small-layout/small-layout.component.mjs +0 -15
  444. package/esm2020/src/lib/message/message.component.mjs +0 -60
  445. package/esm2020/src/lib/message/message.module.mjs +0 -28
  446. package/esm2020/src/lib/modal/dialog/dialog.component.mjs +0 -187
  447. package/esm2020/src/lib/modal/modal.component.mjs +0 -147
  448. package/esm2020/src/lib/modal/modal.module.mjs +0 -43
  449. package/esm2020/src/lib/navigation/navigation-container/navigation-container.component.mjs +0 -17
  450. package/esm2020/src/lib/navigation/navigation-external-link/navigation-external-link.component.mjs +0 -37
  451. package/esm2020/src/lib/navigation/navigation-group/navigation-group.component.mjs +0 -109
  452. package/esm2020/src/lib/navigation/navigation-header/navigation-header.component.mjs +0 -17
  453. package/esm2020/src/lib/navigation/navigation-route-link/navigation-route-link.component.mjs +0 -33
  454. package/esm2020/src/lib/navigation/navigation-separator/navigation-separator.component.mjs +0 -14
  455. package/esm2020/src/lib/navigation/navigation-user-profile/components/user-profile-action-button/user-profile-action-button.component.mjs +0 -26
  456. package/esm2020/src/lib/navigation/navigation-user-profile/components/user-profile-selector/user-profile-selector.component.mjs +0 -40
  457. package/esm2020/src/lib/navigation/navigation-user-profile/components/user-profile-tile/user-profile-tile.component.mjs +0 -23
  458. package/esm2020/src/lib/navigation/navigation-user-profile/navigation-user-profile.component.mjs +0 -99
  459. package/esm2020/src/lib/navigation/navigation.module.mjs +0 -107
  460. package/esm2020/src/lib/navigation/pipes/navigation-route-active.pipe.mjs +0 -30
  461. package/esm2020/src/lib/navigation/product-home/product-home.component.mjs +0 -54
  462. package/esm2020/src/lib/navigation/public-api.mjs +0 -13
  463. package/esm2020/src/lib/navigation/utils/navigation.utils.mjs +0 -48
  464. package/esm2020/src/lib/number-box/number-box.component.mjs +0 -138
  465. package/esm2020/src/lib/number-box/number-box.module.mjs +0 -28
  466. package/esm2020/src/lib/page-header/page-header.component.mjs +0 -25
  467. package/esm2020/src/lib/page-header/page-header.module.mjs +0 -19
  468. package/esm2020/src/lib/pane/pane.component.mjs +0 -43
  469. package/esm2020/src/lib/pane/pane.module.mjs +0 -28
  470. package/esm2020/src/lib/quick-info/quick-info.component.mjs +0 -116
  471. package/esm2020/src/lib/quick-info/quick-info.module.mjs +0 -33
  472. package/esm2020/src/lib/segmented-control/segmented-control.component.mjs +0 -55
  473. package/esm2020/src/lib/segmented-control/segmented-control.module.mjs +0 -29
  474. package/esm2020/src/lib/side-bar/side-bar.component.mjs +0 -109
  475. package/esm2020/src/lib/side-bar/side-bar.module.mjs +0 -28
  476. package/esm2020/src/lib/static-value/static-value.component.mjs +0 -25
  477. package/esm2020/src/lib/static-value/static-value.module.mjs +0 -28
  478. package/esm2020/src/lib/table-actions/table-actions.component.mjs +0 -42
  479. package/esm2020/src/lib/table-actions/table-actions.module.mjs +0 -32
  480. package/esm2020/src/lib/timeline/components/timeline.component.mjs +0 -364
  481. package/esm2020/src/lib/timeline/services/timeline.service.mjs +0 -120
  482. package/esm2020/src/lib/timeline/timeline.module.mjs +0 -24
  483. package/esm2020/src/lib/timer/services/timer.service.mjs +0 -99
  484. package/esm2020/src/lib/timer/timer.module.mjs +0 -34
  485. package/esm2020/src/lib/tooltip/components/tooltip.component.mjs +0 -22
  486. package/esm2020/src/lib/tooltip/tooltip.directive.mjs +0 -191
  487. package/esm2020/src/lib/tooltip/tooltip.module.mjs +0 -31
  488. package/fesm2015/spicainternational-ngx-sds-components-src-lib-app-switcher.mjs +0 -150
  489. package/fesm2015/spicainternational-ngx-sds-components-src-lib-app-switcher.mjs.map +0 -1
  490. package/fesm2015/spicainternational-ngx-sds-components-src-lib-avatar.mjs +0 -284
  491. package/fesm2015/spicainternational-ngx-sds-components-src-lib-avatar.mjs.map +0 -1
  492. package/fesm2015/spicainternational-ngx-sds-components-src-lib-badge.mjs +0 -175
  493. package/fesm2015/spicainternational-ngx-sds-components-src-lib-badge.mjs.map +0 -1
  494. package/fesm2015/spicainternational-ngx-sds-components-src-lib-callout.mjs +0 -49
  495. package/fesm2015/spicainternational-ngx-sds-components-src-lib-callout.mjs.map +0 -1
  496. package/fesm2015/spicainternational-ngx-sds-components-src-lib-color-picker.mjs +0 -113
  497. package/fesm2015/spicainternational-ngx-sds-components-src-lib-color-picker.mjs.map +0 -1
  498. package/fesm2015/spicainternational-ngx-sds-components-src-lib-date-picker.mjs +0 -1071
  499. package/fesm2015/spicainternational-ngx-sds-components-src-lib-date-picker.mjs.map +0 -1
  500. package/fesm2015/spicainternational-ngx-sds-components-src-lib-date-pipes.mjs +0 -411
  501. package/fesm2015/spicainternational-ngx-sds-components-src-lib-date-pipes.mjs.map +0 -1
  502. package/fesm2015/spicainternational-ngx-sds-components-src-lib-drawer.mjs.map +0 -1
  503. package/fesm2015/spicainternational-ngx-sds-components-src-lib-duration-box.mjs +0 -379
  504. package/fesm2015/spicainternational-ngx-sds-components-src-lib-duration-box.mjs.map +0 -1
  505. package/fesm2015/spicainternational-ngx-sds-components-src-lib-duration-pipe.mjs +0 -48
  506. package/fesm2015/spicainternational-ngx-sds-components-src-lib-duration-pipe.mjs.map +0 -1
  507. package/fesm2015/spicainternational-ngx-sds-components-src-lib-ellipsis.mjs +0 -80
  508. package/fesm2015/spicainternational-ngx-sds-components-src-lib-ellipsis.mjs.map +0 -1
  509. package/fesm2015/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs +0 -115
  510. package/fesm2015/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs.map +0 -1
  511. package/fesm2015/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs +0 -215
  512. package/fesm2015/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs.map +0 -1
  513. package/fesm2015/spicainternational-ngx-sds-components-src-lib-intersection.mjs +0 -127
  514. package/fesm2015/spicainternational-ngx-sds-components-src-lib-intersection.mjs.map +0 -1
  515. package/fesm2015/spicainternational-ngx-sds-components-src-lib-keyboard-shortcut.mjs +0 -85
  516. package/fesm2015/spicainternational-ngx-sds-components-src-lib-keyboard-shortcut.mjs.map +0 -1
  517. package/fesm2015/spicainternational-ngx-sds-components-src-lib-layout.mjs +0 -110
  518. package/fesm2015/spicainternational-ngx-sds-components-src-lib-layout.mjs.map +0 -1
  519. package/fesm2015/spicainternational-ngx-sds-components-src-lib-message.mjs +0 -92
  520. package/fesm2015/spicainternational-ngx-sds-components-src-lib-message.mjs.map +0 -1
  521. package/fesm2015/spicainternational-ngx-sds-components-src-lib-modal.mjs +0 -378
  522. package/fesm2015/spicainternational-ngx-sds-components-src-lib-modal.mjs.map +0 -1
  523. package/fesm2015/spicainternational-ngx-sds-components-src-lib-navigation.mjs +0 -604
  524. package/fesm2015/spicainternational-ngx-sds-components-src-lib-navigation.mjs.map +0 -1
  525. package/fesm2015/spicainternational-ngx-sds-components-src-lib-number-box.mjs +0 -170
  526. package/fesm2015/spicainternational-ngx-sds-components-src-lib-number-box.mjs.map +0 -1
  527. package/fesm2015/spicainternational-ngx-sds-components-src-lib-page-header.mjs +0 -48
  528. package/fesm2015/spicainternational-ngx-sds-components-src-lib-page-header.mjs.map +0 -1
  529. package/fesm2015/spicainternational-ngx-sds-components-src-lib-pane.mjs +0 -75
  530. package/fesm2015/spicainternational-ngx-sds-components-src-lib-pane.mjs.map +0 -1
  531. package/fesm2015/spicainternational-ngx-sds-components-src-lib-quick-info.mjs +0 -155
  532. package/fesm2015/spicainternational-ngx-sds-components-src-lib-quick-info.mjs.map +0 -1
  533. package/fesm2015/spicainternational-ngx-sds-components-src-lib-segmented-control.mjs +0 -88
  534. package/fesm2015/spicainternational-ngx-sds-components-src-lib-segmented-control.mjs.map +0 -1
  535. package/fesm2015/spicainternational-ngx-sds-components-src-lib-side-bar.mjs +0 -141
  536. package/fesm2015/spicainternational-ngx-sds-components-src-lib-side-bar.mjs.map +0 -1
  537. package/fesm2015/spicainternational-ngx-sds-components-src-lib-static-value.mjs +0 -57
  538. package/fesm2015/spicainternational-ngx-sds-components-src-lib-static-value.mjs.map +0 -1
  539. package/fesm2015/spicainternational-ngx-sds-components-src-lib-table-actions.mjs +0 -78
  540. package/fesm2015/spicainternational-ngx-sds-components-src-lib-table-actions.mjs.map +0 -1
  541. package/fesm2015/spicainternational-ngx-sds-components-src-lib-timeline.mjs +0 -515
  542. package/fesm2015/spicainternational-ngx-sds-components-src-lib-timeline.mjs.map +0 -1
  543. package/fesm2015/spicainternational-ngx-sds-components-src-lib-timer.mjs +0 -235
  544. package/fesm2015/spicainternational-ngx-sds-components-src-lib-timer.mjs.map +0 -1
  545. package/fesm2015/spicainternational-ngx-sds-components-src-lib-tooltip.mjs +0 -260
  546. package/fesm2015/spicainternational-ngx-sds-components-src-lib-tooltip.mjs.map +0 -1
  547. package/fesm2020/spicainternational-ngx-sds-components-src-lib-app-switcher.mjs +0 -146
  548. package/fesm2020/spicainternational-ngx-sds-components-src-lib-app-switcher.mjs.map +0 -1
  549. package/fesm2020/spicainternational-ngx-sds-components-src-lib-avatar.mjs +0 -282
  550. package/fesm2020/spicainternational-ngx-sds-components-src-lib-avatar.mjs.map +0 -1
  551. package/fesm2020/spicainternational-ngx-sds-components-src-lib-badge.mjs +0 -175
  552. package/fesm2020/spicainternational-ngx-sds-components-src-lib-badge.mjs.map +0 -1
  553. package/fesm2020/spicainternational-ngx-sds-components-src-lib-callout.mjs +0 -49
  554. package/fesm2020/spicainternational-ngx-sds-components-src-lib-callout.mjs.map +0 -1
  555. package/fesm2020/spicainternational-ngx-sds-components-src-lib-color-picker.mjs +0 -113
  556. package/fesm2020/spicainternational-ngx-sds-components-src-lib-color-picker.mjs.map +0 -1
  557. package/fesm2020/spicainternational-ngx-sds-components-src-lib-date-picker.mjs +0 -1064
  558. package/fesm2020/spicainternational-ngx-sds-components-src-lib-date-picker.mjs.map +0 -1
  559. package/fesm2020/spicainternational-ngx-sds-components-src-lib-date-pipes.mjs.map +0 -1
  560. package/fesm2020/spicainternational-ngx-sds-components-src-lib-drawer.mjs +0 -125
  561. package/fesm2020/spicainternational-ngx-sds-components-src-lib-drawer.mjs.map +0 -1
  562. package/fesm2020/spicainternational-ngx-sds-components-src-lib-duration-box.mjs +0 -377
  563. package/fesm2020/spicainternational-ngx-sds-components-src-lib-duration-box.mjs.map +0 -1
  564. package/fesm2020/spicainternational-ngx-sds-components-src-lib-duration-pipe.mjs +0 -48
  565. package/fesm2020/spicainternational-ngx-sds-components-src-lib-duration-pipe.mjs.map +0 -1
  566. package/fesm2020/spicainternational-ngx-sds-components-src-lib-ellipsis.mjs +0 -79
  567. package/fesm2020/spicainternational-ngx-sds-components-src-lib-ellipsis.mjs.map +0 -1
  568. package/fesm2020/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs +0 -115
  569. package/fesm2020/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs.map +0 -1
  570. package/fesm2020/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs.map +0 -1
  571. package/fesm2020/spicainternational-ngx-sds-components-src-lib-intersection.mjs.map +0 -1
  572. package/fesm2020/spicainternational-ngx-sds-components-src-lib-keyboard-shortcut.mjs +0 -83
  573. package/fesm2020/spicainternational-ngx-sds-components-src-lib-keyboard-shortcut.mjs.map +0 -1
  574. package/fesm2020/spicainternational-ngx-sds-components-src-lib-layout.mjs +0 -110
  575. package/fesm2020/spicainternational-ngx-sds-components-src-lib-layout.mjs.map +0 -1
  576. package/fesm2020/spicainternational-ngx-sds-components-src-lib-message.mjs +0 -92
  577. package/fesm2020/spicainternational-ngx-sds-components-src-lib-message.mjs.map +0 -1
  578. package/fesm2020/spicainternational-ngx-sds-components-src-lib-modal.mjs +0 -376
  579. package/fesm2020/spicainternational-ngx-sds-components-src-lib-modal.mjs.map +0 -1
  580. package/fesm2020/spicainternational-ngx-sds-components-src-lib-navigation.mjs +0 -604
  581. package/fesm2020/spicainternational-ngx-sds-components-src-lib-navigation.mjs.map +0 -1
  582. package/fesm2020/spicainternational-ngx-sds-components-src-lib-number-box.mjs +0 -170
  583. package/fesm2020/spicainternational-ngx-sds-components-src-lib-number-box.mjs.map +0 -1
  584. package/fesm2020/spicainternational-ngx-sds-components-src-lib-page-header.mjs +0 -48
  585. package/fesm2020/spicainternational-ngx-sds-components-src-lib-page-header.mjs.map +0 -1
  586. package/fesm2020/spicainternational-ngx-sds-components-src-lib-pane.mjs +0 -75
  587. package/fesm2020/spicainternational-ngx-sds-components-src-lib-pane.mjs.map +0 -1
  588. package/fesm2020/spicainternational-ngx-sds-components-src-lib-quick-info.mjs +0 -153
  589. package/fesm2020/spicainternational-ngx-sds-components-src-lib-quick-info.mjs.map +0 -1
  590. package/fesm2020/spicainternational-ngx-sds-components-src-lib-segmented-control.mjs +0 -88
  591. package/fesm2020/spicainternational-ngx-sds-components-src-lib-segmented-control.mjs.map +0 -1
  592. package/fesm2020/spicainternational-ngx-sds-components-src-lib-side-bar.mjs +0 -141
  593. package/fesm2020/spicainternational-ngx-sds-components-src-lib-side-bar.mjs.map +0 -1
  594. package/fesm2020/spicainternational-ngx-sds-components-src-lib-static-value.mjs +0 -57
  595. package/fesm2020/spicainternational-ngx-sds-components-src-lib-static-value.mjs.map +0 -1
  596. package/fesm2020/spicainternational-ngx-sds-components-src-lib-table-actions.mjs +0 -78
  597. package/fesm2020/spicainternational-ngx-sds-components-src-lib-table-actions.mjs.map +0 -1
  598. package/fesm2020/spicainternational-ngx-sds-components-src-lib-timeline.mjs +0 -511
  599. package/fesm2020/spicainternational-ngx-sds-components-src-lib-timeline.mjs.map +0 -1
  600. package/fesm2020/spicainternational-ngx-sds-components-src-lib-timer.mjs.map +0 -1
  601. package/fesm2020/spicainternational-ngx-sds-components-src-lib-tooltip.mjs.map +0 -1
  602. package/fesm2020/spicainternational-ngx-sds-components.mjs +0 -39
  603. package/fesm2020/spicainternational-ngx-sds-components.mjs.map +0 -1
  604. package/src/lib/app-switcher/app-switcher.module.d.ts +0 -11
  605. package/src/lib/avatar/avatar.module.d.ts +0 -11
  606. package/src/lib/badge/badge.module.d.ts +0 -9
  607. package/src/lib/callout/callout.module.d.ts +0 -8
  608. package/src/lib/color-picker/color-picker.module.d.ts +0 -10
  609. package/src/lib/date-picker/date-picker.module.d.ts +0 -12
  610. package/src/lib/date-pipes/date-pipes.module.d.ts +0 -12
  611. package/src/lib/drawer/drawer.module.d.ts +0 -8
  612. package/src/lib/duration-box/duration-box.module.d.ts +0 -10
  613. package/src/lib/duration-pipe/duration-pipe.module.d.ts +0 -8
  614. package/src/lib/ellipsis/ellipsis.module.d.ts +0 -8
  615. package/src/lib/expansion-panel/expansion-panel.module.d.ts +0 -15
  616. package/src/lib/highlight-text/highlight-text.module.d.ts +0 -9
  617. package/src/lib/intersection/intersection.module.d.ts +0 -8
  618. package/src/lib/keyboard-shortcut/keyboard-shortcut.module.d.ts +0 -8
  619. package/src/lib/layout/layout.module.d.ts +0 -13
  620. package/src/lib/message/message.module.d.ts +0 -9
  621. package/src/lib/modal/modal.module.d.ts +0 -12
  622. package/src/lib/navigation/navigation.module.d.ts +0 -28
  623. package/src/lib/navigation/pipes/navigation-route-active.pipe.d.ts +0 -7
  624. package/src/lib/number-box/number-box.module.d.ts +0 -9
  625. package/src/lib/page-header/page-header.module.d.ts +0 -8
  626. package/src/lib/pane/pane.module.d.ts +0 -9
  627. package/src/lib/quick-info/quick-info.module.d.ts +0 -10
  628. package/src/lib/segmented-control/segmented-control.module.d.ts +0 -9
  629. package/src/lib/side-bar/side-bar.module.d.ts +0 -9
  630. package/src/lib/static-value/static-value.module.d.ts +0 -9
  631. package/src/lib/table-actions/table-actions.module.d.ts +0 -10
  632. package/src/lib/timeline/timeline.module.d.ts +0 -8
  633. package/src/lib/timer/timer.module.d.ts +0 -10
  634. package/src/lib/tooltip/tooltip.module.d.ts +0 -10
@@ -1 +0,0 @@
1
- {"version":3,"file":"spicainternational-ngx-sds-components-src-lib-timeline.mjs","sources":["../../../projects/ngx-sds-components/src/lib/timeline/services/timeline.service.ts","../../../projects/ngx-sds-components/src/lib/timeline/components/timeline.component.ts","../../../projects/ngx-sds-components/src/lib/timeline/components/timeline.component.html","../../../projects/ngx-sds-components/src/lib/timeline/timeline.module.ts","../../../projects/ngx-sds-components/src/lib/timeline/spicainternational-ngx-sds-components-src-lib-timeline.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\nimport { TimelineIntervalLabel, TimelineTick } from '../models/timeline.model';\r\nimport { TimelineCustomDateDataProvider, TimelineTickFrequency } from '../types/timeline.types';\r\n\r\nexport class SdsTimelineService {\r\n\r\n private start: Date = new Date();\r\n private end: Date = new Date();\r\n\r\n private widthPercentPerMinute: number;\r\n\r\n private hourTicks: TimelineTick[] = [];\r\n // public dayLabels: TimelineIntervalLabel[] = [];\r\n // public hourLabels: TimelineIntervalLabel[] = [];\r\n \r\n constructor(start: Date, end: Date, offSetMinutes: number) {\r\n this.start = new Date(start);\r\n this.start.setMinutes(this.start.getMinutes() - offSetMinutes);\r\n\r\n this.end = new Date(end); \r\n this.end.setMinutes(this.end.getMinutes() + offSetMinutes);\r\n\r\n this.widthPercentPerMinute = (100 / this.diffInMinutes(this.start, this.end));\r\n\r\n this.initHourTicks();\r\n //this.initDayLabels();\r\n // this.initHourLabels();\r\n }\r\n\r\n public getX(time: Date): number {\r\n return this.diffInMinutes(this.start, time) * this.widthPercentPerMinute; \r\n }\r\n\r\n public getWidthFromMinutes(minutes: number): number {\r\n return minutes * this.widthPercentPerMinute;\r\n }\r\n\r\n public getWidthFromTime(start: Date, end: Date): number {\r\n return this.getWidthFromMinutes(this.diffInMinutes(start, end));\r\n }\r\n\r\n public getTick(time: Date): TimelineTick {\r\n return {\r\n date: new Date(time),\r\n x: this.getX(time),\r\n } \r\n }\r\n \r\n public getHourTicks(frequency: TimelineTickFrequency = 'hourly'): TimelineTick[] {\r\n return this.hourTicks.filter(tick => this.isValidFrequencyHour(tick.date.getHours(), frequency));\r\n }\r\n\r\n public getHourLabels(frequency: TimelineTickFrequency = 'hourly'): TimelineIntervalLabel[] {\r\n const hourLabels: TimelineIntervalLabel[] = [];\r\n\r\n const ticks = this.hourTicks.filter(tick => this.isValidFrequencyHour(tick.date.getHours(), frequency));\r\n ticks.forEach(tick => {\r\n let labelStartTime = new Date(tick.date);\r\n hourLabels.push(\r\n {\r\n x: this.getX(labelStartTime),\r\n width: 0,\r\n label: tick.date.getHours().toString(),\r\n date: new Date(labelStartTime),\r\n data: null\r\n });\r\n });\r\n return hourLabels;\r\n }\r\n\r\n public getDayLabels(\r\n locales: string | Array<string> | undefined, \r\n customDataFn: TimelineCustomDateDataProvider | undefined): TimelineIntervalLabel[] {\r\n const dayLabels = [];\r\n\r\n // get start date at the beginning of the day\r\n let startDate = new Date(this.start);\r\n startDate.setHours(0, 0, 0, 0);\r\n\r\n // get end date at the end of the day\r\n let endDate = new Date(this.end);\r\n endDate.setHours(23, 59, 59, 999);\r\n\r\n let currentDate = new Date(startDate);\r\n while (currentDate <= endDate) {\r\n let endOfCurrentDay = new Date(currentDate);\r\n endOfCurrentDay.setHours(23, 59, 59, 999);\r\n\r\n dayLabels.push({\r\n // date: new Date(currentDate),\r\n x: this.getX(new Date(currentDate)),\r\n width: this.getWidthFromTime(currentDate, endOfCurrentDay),\r\n label: currentDate.toLocaleDateString(locales ?? [], { weekday: 'long', day: 'numeric', month: 'long', year: 'numeric' }),\r\n date: new Date(currentDate),\r\n data: customDataFn ? customDataFn(new Date(currentDate)) : null\r\n });\r\n currentDate.setDate(currentDate.getDate() + 1); \r\n }\r\n return dayLabels;\r\n } \r\n\r\n //#region Private Methods\r\n\r\n private isValidFrequencyHour(hours: number, frequency: TimelineTickFrequency) {\r\n\r\n if (frequency === 'hourly') {\r\n return true; // every tick is valid\r\n } \r\n if (frequency === '2hrs') {\r\n return hours % 2 === 0;\r\n } \r\n if (frequency === '3hrs') {\r\n return hours % 3 === 0;\r\n } \r\n if (frequency === '6hrs') {\r\n return hours % 6 === 0;\r\n }\r\n return false; // unsupported frequency\r\n }\r\n\r\n private diffInMinutes(start: Date, end: Date): number {\r\n return (end.getTime() - start.getTime()) / (1000 * 60);;\r\n }\r\n\r\n private roundHoursUp(time: Date): Date {\r\n \r\n let newTime = new Date(time);\r\n \r\n if (newTime.getMinutes() > 0 || newTime.getSeconds() > 0 || newTime.getMilliseconds() > 0) {\r\n newTime.setHours(newTime.getHours() + 1);\r\n }\r\n newTime.setMinutes(0, 0, 0);\r\n return newTime;\r\n }\r\n\r\n\r\n private roundHoursDown(time: Date) {\r\n let newTime = new Date(time);\r\n newTime.setMinutes(0, 0, 0);\r\n return newTime;\r\n }\r\n \r\n\r\n private initHourTicks(): void {\r\n this.hourTicks = [];\r\n\r\n // get first whole hour from start date\r\n let startHour = this.roundHoursUp(this.start);\r\n\r\n // get last whole hour from end date\r\n let endHour = this.roundHoursDown(this.end);\r\n\r\n let currentHour = new Date(startHour)\r\n while (currentHour <= endHour) {\r\n this.hourTicks.push(this.getTick(currentHour));\r\n currentHour.setHours(currentHour.getHours() + 1);\r\n }\r\n }\r\n \r\n //#endregion\r\n\r\n}\r\n","import {\r\n AfterViewInit,\r\n Component,\r\n ElementRef,\r\n HostListener,\r\n Input,\r\n OnChanges,\r\n OnInit,\r\n Output,\r\n SimpleChanges,\r\n TemplateRef,\r\n ViewChild,\r\n EventEmitter\r\n} from '@angular/core';\r\nimport { TimelineCustomDateDataProvider, TimelineTickFrequency } from '../types/timeline.types';\r\nimport { SdsTimelineService } from '../services/timeline.service';\r\nimport {\r\n TimelineIntervalLabel,\r\n TimelineItem,\r\n TimelineItemPresentation,\r\n TimelinePointInTimeItem,\r\n TimelinePointInTimeItemPresentation,\r\n TimelineTick,\r\n} from '../models/timeline.model';\r\n\r\n@Component({\r\n selector: 'sds-timeline',\r\n templateUrl: './timeline.component.html',\r\n styleUrls: ['./timeline.component.scss'],\r\n})\r\nexport class SdsTimelineComponent implements OnInit, OnChanges, AfterViewInit {\r\n /**\r\n * The start date and time for the timeline.\r\n *\r\n * @type {Date}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() start: Date = new Date();\r\n\r\n /**\r\n * The end date and time for the timeline.\r\n *\r\n * @type {Date}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() end: Date = new Date();\r\n\r\n /**\r\n * The period based items to be displayed on the timeline. Specify data if you need \r\n * additional data for custom rendering of the items.\r\n *\r\n * @type {TimelineItem[]}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() items: TimelineItem[] = [];\r\n\r\n /**\r\n * Items to be displayed on the timeline at a specific point in time.\r\n * Specify data if you need additional data for custom rendering of the items.\r\n *\r\n * @type {TimelinePointInTimeItem[]}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() pointInTimeItems: TimelinePointInTimeItem[] = [];\r\n\r\n /**\r\n * The template to be used for custom rendering of the items.\r\n *\r\n * @type {(TemplateRef<any> | undefined)}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() itemTemplate: TemplateRef<any> | undefined = undefined;\r\n\r\n /**\r\n * The template to be used for custom rendering of the poin-in-time items.\r\n *\r\n * @type {(TemplateRef<any> | undefined)}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() pointInTimeTemplate: TemplateRef<any> | undefined = undefined;\r\n\r\n /**\r\n * The template to be used for custom rendering of the day labels.\r\n *\r\n * @type {(TemplateRef<any> | undefined)}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() dayLabelTemplate: TemplateRef<any> | undefined = undefined;\r\n \r\n /**\r\n * A custom data function for the day labels. \r\n * This function takes a Date object as input and returns any custom data that will be available for the custom template\r\n *\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() dayLabelCustomDataFn: TimelineCustomDateDataProvider | undefined = undefined;\r\n\r\n /**\r\n * The frequency of the ticks on the timeline.\r\n *\r\n * @type {TimelineTickFrequency}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() tickFrequency: TimelineTickFrequency = 'hourly';\r\n\r\n /**\r\n * The frequency of the hour labels on the timeline.\r\n *\r\n * @type {TimelineTickFrequency}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() hourLabelFrequency: TimelineTickFrequency = '3hrs';\r\n\r\n\r\n /**\r\n * The current zoom level of the timeline. In percent.\r\n *\r\n * @type {number}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() zoomPercent: number = 100;\r\n @Output() zoomPercentChange = new EventEmitter<number>();\r\n\r\n /**\r\n * Initial offset of the viewport in percent. This is used in scenarios \r\n * with multiple days when you want to show non-first day as defult.\r\n *\r\n * @type {number}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() viewOffsetPercent: number = 0;\r\n @Output() viewOffsetPercentChange = new EventEmitter<number>();\r\n\r\n /**\r\n * The maximum allowed zoom level of the timeline. In percent.\r\n *\r\n * @type {number}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() maxZoomPercent: number = 500;\r\n\r\n /**\r\n * Whether to show hour labels.\r\n *\r\n * @type {boolean}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() showHourLabels: boolean = true;\r\n\r\n /**\r\n * The CSS class to be applied to the hour labels.\r\n *\r\n * @type {string}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() hourLabelClass?: string;\r\n\r\n /**\r\n * Whether to show day labels. \r\n *\r\n * @type {boolean}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() showDayLabels: boolean = false;\r\n\r\n /**\r\n * The CSS class to be applied to the day labels.\r\n *\r\n * @type {string}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() dayLabelClass?: string;\r\n\r\n /**\r\n * Whether to show timeline. Useful for hiding the timeline when we only need header.\r\n *\r\n * @type {boolean}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() showTimeline: boolean = true; \r\n\r\n /**\r\n * The CSS class to be applied to the hour ticks.\r\n *\r\n * @type {string}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() hourTickClass?: string;\r\n\r\n /**\r\n * The height of the timeline. Default is 2rem.\r\n *\r\n * @type {string}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() timelineHeight: string = '2rem';\r\n\r\n /**\r\n * Whether to enable zoom and drag functionality.\r\n *\r\n * @type {boolean}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() enableZoomAndDrag: boolean = true;\r\n\r\n /**\r\n * Number of minutes added to start and stop to fit the data on the edges\r\n *\r\n * @type {number}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() offSetMinutes: number = 15;\r\n\r\n /**\r\n * The locales to be used for formatting the timeline.\r\n *\r\n * @type {(string | Array<string>)}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() locales?: string | Array<string>;\r\n\r\n // protected\r\n hourTicks: TimelineTick[] = [];\r\n hourLabels: TimelineIntervalLabel[] = [];\r\n dayLabels: TimelineIntervalLabel[] = [];\r\n\r\n private _timelineService: SdsTimelineService = new SdsTimelineService(\r\n this.start,\r\n this.end,\r\n this.offSetMinutes\r\n );\r\n\r\n public presentationItems: TimelineItemPresentation[] = [];\r\n public presentationPointInTimeItems: TimelinePointInTimeItemPresentation[] = [];\r\n\r\n public isDragging = false;\r\n public initialDragX = 0;\r\n\r\n private viewOffsetPercentDragStart = 0;\r\n\r\n @ViewChild('viewport', { static: true }) _viewport: ElementRef | undefined;\r\n\r\n constructor() {}\r\n\r\n ngAfterViewInit(): void {\r\n this.generateTicks();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (this.start && this.end) {\r\n this._timelineService = new SdsTimelineService(\r\n this.start,\r\n this.end,\r\n this.offSetMinutes\r\n );\r\n this.generateTicks();\r\n this.generateInternalTimelineItems();\r\n }\r\n\r\n if (changes['start'] || changes['end'] || changes['offSetMinutes']) {\r\n this._timelineService = new SdsTimelineService(\r\n this.start,\r\n this.end,\r\n this.offSetMinutes\r\n );\r\n this.generateTicks();\r\n this.generateInternalTimelineItems(); \r\n }\r\n\r\n if (changes['items']) {\r\n this.generateInternalTimelineItems();\r\n }\r\n\r\n if (changes['pointInTimeItems']) {\r\n this.generateInternalTimelinePointInTimeItems();\r\n }\r\n\r\n if (changes['zoomPercent']) {\r\n // this.viewOffsetPercent = (this.zoomPercent - 100) / -2;\r\n }\r\n\r\n if (changes['showDayLabels'] || changes['showHourLabels']) {\r\n this.generateTicks();\r\n } \r\n }\r\n\r\n ngOnInit(): void {}\r\n\r\n //#region mouse wheel zoom\r\n onScroll(event: WheelEvent): void {\r\n if (this.enableZoomAndDrag) {\r\n\r\n event.preventDefault();\r\n\r\n const delta = Math.sign(event.deltaY);\r\n const newZoomPercent = Math.min(\r\n Math.max(this.zoomPercent + -delta * 20, 100),\r\n this.maxZoomPercent\r\n );\r\n const deltaZoomPercent = newZoomPercent - this.zoomPercent;\r\n this.zoomPercent = newZoomPercent;\r\n this.zoomPercentChange.emit(this.zoomPercent);\r\n \r\n // get the relative position of the cursor on the viewport so we can zoom in into this position\r\n const x = event.clientX - this._viewport?.nativeElement.getBoundingClientRect().left;\r\n const cursorRelativePosition = x / this._viewport?.nativeElement.getBoundingClientRect().width;\r\n // this.viewOffsetPercent = this.viewOffsetPercent - deltaZoomPercent * cursorRelativePosition;\r\n\r\n this.constrainOffset(this.viewOffsetPercent - deltaZoomPercent * cursorRelativePosition);\r\n }\r\n }\r\n //#endregion\r\n\r\n //#region dragging\r\n \r\n public onDragStart(event: MouseEvent | TouchEvent): void {\r\n if (this.enableZoomAndDrag && this.zoomPercent > 100) {\r\n event.preventDefault();\r\n this.isDragging = true;\r\n this.viewOffsetPercentDragStart = this.viewOffsetPercent;\r\n\r\n if (event instanceof MouseEvent) {\r\n this.initialDragX = event.clientX;\r\n } else if (event instanceof TouchEvent) {\r\n this.initialDragX = event.touches[0].clientX;\r\n }\r\n }\r\n }\r\n\r\n @HostListener('window:mousemove', ['$event'])\r\n public onDragMove(event: MouseEvent): void {\r\n if (this.enableZoomAndDrag) {\r\n if (this.isDragging) {\r\n const currentX = event.clientX;\r\n this.moveElement(currentX);\r\n }\r\n }\r\n }\r\n\r\n @HostListener('window:touchmove', ['$event'])\r\n onDragMoveTouch(event: TouchEvent): void {\r\n if (this.enableZoomAndDrag) {\r\n if (this.isDragging) {\r\n const currentX = event.touches[0].clientX;\r\n this.moveElement(currentX);\r\n }\r\n }\r\n }\r\n\r\n @HostListener('window:mouseup', ['$event'])\r\n @HostListener('window:touchend', ['$event'])\r\n public onDragEnd(event: MouseEvent | TouchEvent): void {\r\n if (this.enableZoomAndDrag) {\r\n this.isDragging = false;\r\n }\r\n }\r\n\r\n private moveElement(currentX: number): void {\r\n const diff = currentX - this.initialDragX;\r\n if (this._viewport && this._viewport.nativeElement) {\r\n const diffInPercent = (diff / this._viewport?.nativeElement.getBoundingClientRect().width) * 100;\r\n // this.viewOffsetPercent = this.viewOffsetPercentDragStart + diffInPercent;\r\n this.constrainOffset(this.viewOffsetPercentDragStart + diffInPercent);\r\n }\r\n }\r\n\r\n //#endregion\r\n\r\n private constrainOffset(newOffset: number): void { \r\n if (this.zoomPercent + newOffset < 100) {\r\n newOffset = -this.zoomPercent + 100;\r\n }\r\n newOffset = Math.min(0, newOffset);\r\n if (newOffset != this.viewOffsetPercent) {\r\n this.viewOffsetPercent = newOffset;\r\n this.viewOffsetPercentChange.emit(this.viewOffsetPercent);\r\n }\r\n }\r\n\r\n private generateTicks(): void {\r\n this.hourTicks = this._timelineService.getHourTicks(this.tickFrequency);\r\n this.dayLabels = this._timelineService.getDayLabels(this.locales, this.dayLabelCustomDataFn);\r\n this.hourLabels = this._timelineService.getHourLabels(this.hourLabelFrequency);\r\n }\r\n\r\n private generateInternalTimelineItems(): void {\r\n this.presentationItems = this.items.map((item) => {\r\n\r\n const startTime = new Date(item.start).toLocaleTimeString(this.locales?? [], { hour: 'numeric', minute: '2-digit' });\r\n const endTime = new Date(item.end).toLocaleTimeString(this.locales?? [], { hour: 'numeric', minute: '2-digit' });\r\n const timeRange = `${startTime} - ${endTime}`;\r\n \r\n return {\r\n data: item.data,\r\n x: this._timelineService.getX(item.start),\r\n width: this._timelineService.getWidthFromTime(\r\n item.start,\r\n item.end\r\n ),\r\n hint: item.hint ?? timeRange,\r\n backgroundColor: item.backgroundColor,\r\n top: item.top ?? '50%',\r\n height: item.height ?? '60%',\r\n class: item.class,\r\n };\r\n });\r\n }\r\n\r\n\r\n private generateInternalTimelinePointInTimeItems(): void {\r\n this.presentationPointInTimeItems = this.pointInTimeItems.map((item) => {\r\n\r\n const timePointString = new Date(item.date).toLocaleTimeString(this.locales?? [], { hour: 'numeric', minute: '2-digit' });\r\n\r\n return {\r\n data: item.data,\r\n x: this._timelineService.getX(item.date),\r\n hint: item.hint ?? timePointString,\r\n top: item.top ?? '20%',\r\n height: item.height ?? '1rem',\r\n width: item.width ?? '1rem',\r\n class: item.class,\r\n backgroundColor: item.backgroundColor,\r\n };\r\n });\r\n }\r\n}\r\n","<ng-template #defaultItemTemplate let-item=\"item\">\r\n <div \r\n class=\"sds-timeline-item h-100\"\r\n [title]=\"item.hint\"\r\n >\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #defaultPointInTimeItemTemplate let-item=\"item\">\r\n <div \r\n class=\"sds-timeline-item h-100\"\r\n [title]=\"item.hint\"\r\n >\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #defaultDayLabelTemplate let-label=\"label\">\r\n {{label.label}}\r\n</ng-template>\r\n\r\n<div \r\n #viewport\r\n class=\"sds-timeline-viewport\"\r\n (wheel)=\"onScroll($event)\"\r\n\r\n (mousedown)=\"onDragStart($event)\"\r\n (touchstart)=\"onDragStart($event)\"\r\n >\r\n\r\n <div \r\n class=\"sds-timeline-container d-flex flex-column\"\r\n [style.left.%]=\"viewOffsetPercent\"\r\n [style.width.%]=\"zoomPercent\"\r\n [style.cursor]=\"isDragging ? 'ew-resize' : 'default'\"\r\n >\r\n\r\n <div\r\n *ngIf=\"showDayLabels\" \r\n class=\"sds-timeline-day-header\">\r\n\r\n <div \r\n *ngFor=\"let label of dayLabels\"\r\n class=\"sds-day-label\" \r\n [ngClass]=\"dayLabelClass ?? null\"\r\n [style.left.%]=\"label.x\"\r\n [style.width.%]=\"label.width\"\r\n >\r\n <ng-container \r\n [ngTemplateOutlet]=\"dayLabelTemplate ? dayLabelTemplate : defaultDayLabelTemplate\"\r\n [ngTemplateOutletContext]=\"{label: label}\">\r\n </ng-container> \r\n </div>\r\n </div>\r\n\r\n <div \r\n *ngIf=\"showHourLabels\" \r\n class=\"sds-timeline-hour-header\">\r\n\r\n <div \r\n *ngFor=\"let label of hourLabels;\"\r\n class=\"sds-hour-label\" \r\n [ngClass]=\"hourLabelClass ?? null\"\r\n [style.left.%]=\"label.x\"\r\n [style.width.rem]=\"1.2\"\r\n [ngStyle]=\"{'left': 'calc(' + label.x + '% - 0.6rem)'}\"\r\n >\r\n \r\n {{label.label}}\r\n \r\n </div>\r\n </div>\r\n\r\n <div \r\n *ngIf=\"showTimeline\"\r\n class=\"sds-timeline flex-grow-1\"\r\n [style.height]=\"timelineHeight\"\r\n >\r\n\r\n <div \r\n *ngFor=\"let tick of hourTicks\"\r\n class=\"sds-timeline-tick\" \r\n [ngClass]=\"hourTickClass ?? null\"\t\r\n [ngStyle]=\"tick.x == 100 ? {'left': 'calc(' + tick.x +'% - 1px)'} : {'left': 'calc(' + tick.x + '% - 0.5px)'}\"\r\n >\r\n </div>\r\n\r\n <div \r\n *ngFor=\"let item of presentationItems\"\r\n class=\"sds-timeline-item-container\"\r\n [ngClass]=\"item.class ?? null\"\r\n [ngStyle]=\"{\r\n 'width': 'max(' + item.width +'%, 1px)',\r\n 'top': 'calc(' + item.top + ' - max(calc(' + item.height +'/2), 1px))', \r\n }\"\r\n\r\n [style.left.%]=\"item.x\"\r\n [style.height]=\"item.height\"\r\n [style.backgroundColor]=\"item.backgroundColor\"\r\n >\r\n\r\n <ng-container \r\n [ngTemplateOutlet]=\"itemTemplate ? itemTemplate : defaultItemTemplate\"\r\n [ngTemplateOutletContext]=\"{item: item}\">\r\n </ng-container> \r\n </div>\r\n\r\n\r\n <div *ngFor=\"let item of presentationPointInTimeItems\"\r\n class=\"sds-timeline-point-in-time-item-container\"\r\n [ngClass]=\"item.class\"\t\r\n [style.height]=\"item.height\"\r\n [style.width]=\"item.width\"\r\n [ngStyle]=\"{\r\n 'top': 'calc(' + item.top + ' - max(calc(' + item.height +'/2), 1px))', \r\n 'left': 'calc(' + item.x + '% - max( calc(' + item.width +'/2), 1px))',\r\n \r\n }\"\r\n [style.backgroundColor]=\"item.backgroundColor\"\r\n >\r\n\r\n <ng-container \r\n [ngTemplateOutlet]=\"pointInTimeTemplate ? pointInTimeTemplate : defaultPointInTimeItemTemplate\"\r\n [ngTemplateOutletContext]=\"{item: item}\">\r\n </ng-container> \r\n\r\n </div>\r\n\r\n </div>\r\n </div>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { SdsTimelineComponent } from './components/timeline.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n SdsTimelineComponent\r\n ],\r\n imports: [\r\n CommonModule\r\n ],\r\n exports: [\r\n SdsTimelineComponent\r\n ],\r\n})\r\nexport class SdsTimelineModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAIa,kBAAkB,CAAA;;;AAW3B,IAAA,WAAA,CAAY,KAAW,EAAE,GAAS,EAAE,aAAqB,EAAA;AATjD,QAAA,IAAA,CAAA,KAAK,GAAS,IAAI,IAAI,EAAE,CAAC;AACzB,QAAA,IAAA,CAAA,GAAG,GAAS,IAAI,IAAI,EAAE,CAAC;QAIvB,IAAS,CAAA,SAAA,GAAmB,EAAE,CAAC;QAKnC,IAAI,CAAC,KAAK,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC;AAC7B,QAAA,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,GAAG,aAAa,CAAC,CAAC;QAE/D,IAAI,CAAC,GAAG,GAAG,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC;AACzB,QAAA,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,GAAG,aAAa,CAAC,CAAC;AAE3D,QAAA,IAAI,CAAC,qBAAqB,IAA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AAA,EAAA,CAAA,oBAAoB,CAGpB,EAAA,OAAA,EAAA,CAAA,YAAY,aAGZ,oBAAoB,CAAA,EAAA,CAAA,CAAA;AAGf,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YANtB,YAAY,CAAA,EAAA,CAAA,CAAA;4FAMP,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAX7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE;wBACV,oBAAoB;AACvB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,YAAY;AACf,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,oBAAoB;AACvB,qBAAA;AACJ,iBAAA,CAAA;;;ACdD;;AAEG;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"spicainternational-ngx-sds-components-src-lib-timer.mjs","sources":["../../../projects/ngx-sds-components/src/lib/timer/utils/timer.utils.ts","../../../projects/ngx-sds-components/src/lib/timer/services/timer.service.ts","../../../projects/ngx-sds-components/src/lib/timer/timer.module.ts","../../../projects/ngx-sds-components/src/lib/timer/spicainternational-ngx-sds-components-src-lib-timer.ts"],"sourcesContent":["/**\r\n * @public @function timeToNextFifteenMinutesInterval\r\n * @description\r\n * Function responsible for calc of time until next fifteen minutes interval. By fifteen minutes interval\r\n * we mean (e.g. 08:15, 08:30, 08:45,...)\r\n * @param { number } currentTimestampMs\r\n * @returns { number }\r\n */\r\nexport const timeToNextFifteenMinutesInterval = (currentTimestamp: number) => {\r\n const timestampSeconds = currentTimestamp / 1000;\r\n\r\n const numberOfSecondsIntoTheCurrentInterval = timestampSeconds % 900;\r\n\r\n const numberOfSecondsToTheNextInterval = 900 - numberOfSecondsIntoTheCurrentInterval;\r\n return numberOfSecondsToTheNextInterval;\r\n}\r\n\r\n/**\r\n * @public @function timeToNextFiveMinutesInterval\r\n * @description\r\n * Function responsible for calc of time until next five minutes interval. By five minutes interval\r\n * we mean (e.g. 08:05, 08:10, 08:15,...)\r\n * @param { number } currentTimestampMs\r\n * @returns { number }\r\n */\r\nexport const timeToNextFiveMinutesInterval = (currentTimestamp: number) => {\r\n const timestampSeconds = currentTimestamp / 1000;\r\n\r\n const numberOfSecondsIntoTheCurrentInterval = timestampSeconds % 300;\r\n\r\n const numberOfSecondsToTheNextInterval = 300 - numberOfSecondsIntoTheCurrentInterval;\r\n return numberOfSecondsToTheNextInterval;\r\n}\r\n\r\n/**\r\n * @public @function timeToNextHour\r\n * @description\r\n * Function responsible for calc of time until next hour\r\n * @param { number } currentTimestampMs\r\n * @returns { number }\r\n */\r\nexport const timeToNextHour = (currentTimestamp: number) => {\r\n const timestampSeconds = currentTimestamp / 1000;\r\n\r\n const numberOfSecondsIntoTheCurrentHour = timestampSeconds % 3600;\r\n\r\n const numberOfSecondsToTheNextHour = 3600 - numberOfSecondsIntoTheCurrentHour;\r\n return numberOfSecondsToTheNextHour;\r\n };\r\n\r\n /**\r\n * @public @function timeToNextHalfHour\r\n * @description\r\n * Function responsible for calc of time until half hour\r\n * @param { number } currentTimestampMs\r\n * @returns { number }\r\n */\r\nexport const timeToNextHalfHour = (currentTimestamp: number) => {\r\n const timestampSeconds = currentTimestamp / 1000;\r\n\r\n const numberOfSecondsIntoTheCurrentHalfHour = timestampSeconds % 1800;\r\n\r\n const numberOfSecondsToTheNextHalfHour = 1800 - numberOfSecondsIntoTheCurrentHalfHour;\r\n return numberOfSecondsToTheNextHalfHour;\r\n };\r\n\r\n/**\r\n * @public @function timeToNextMinuteInterval\r\n * @description\r\n * Function responsible for calc of time until next minute interval. By minute interval\r\n * we mean (e.g. 08:00, 08:01, 08:02,...)\r\n * @param { number } currentTimestampMs\r\n * @returns { number }\r\n */\r\nexport const timeToNextMinuteInterval = (currentTimestamp: number) => {\r\n const timestampSeconds = currentTimestamp / 1000;\r\n\r\n const numberOfSecondsIntoTheCurrentInterval = timestampSeconds % 60;\r\n\r\n const numberOfSecondsToTheNextInterval = 60 - numberOfSecondsIntoTheCurrentInterval;\r\n return numberOfSecondsToTheNextInterval;\r\n}\r\n\r\n/**\r\n * @public @function timeToNextSecondInterval\r\n * @description\r\n * Function responsible for calc of time until next second interval. By second interval\r\n * we mean (e.g. 08:00:01, 08:00:01, 08:00:02,...)\r\n * @param { number } currentTimestampMs\r\n * @returns { number }\r\n */\r\nexport const timeToNextSecondInterval = (currentTimestamp: number) => {\r\n const timestampSeconds = currentTimestamp;\r\n\r\n const numberOfMilisecSecondsIntoTheCurrentInterval = timestampSeconds % 999;\r\n\r\n const numberOfMilisecondsSecondsToTheNextInterval = 999 - numberOfMilisecSecondsIntoTheCurrentInterval;\r\n return numberOfMilisecondsSecondsToTheNextInterval;\r\n}\r\n\r\n/**\r\n * @public @function timeToNextTenMinutesInterval\r\n * @description\r\n * Function responsible for calc of time until next ten minutes interval. By ten minutes interval\r\n * we mean (e.g. 08:10, 08:20, 08:30,...)\r\n * @param { number } currentTimestampMs\r\n * @returns { number }\r\n */\r\nexport const timeToNextTenMinutesInterval = (currentTimestamp: number) => {\r\n const timestampSeconds = currentTimestamp / 1000;\r\n\r\n const numberOfSecondsIntoTheCurrentInterval = timestampSeconds % 600;\r\n\r\n const numberOfSecondsToTheNextInterval = 600 - numberOfSecondsIntoTheCurrentInterval;\r\n return numberOfSecondsToTheNextInterval;\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { BehaviorSubject, Observable, Subscription, interval } from 'rxjs';\r\nimport { timeToNextFifteenMinutesInterval, timeToNextFiveMinutesInterval, timeToNextHalfHour, timeToNextHour, timeToNextMinuteInterval, timeToNextSecondInterval, timeToNextTenMinutesInterval } from '../utils';\r\nimport { debounceTime, skip } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TimerService {\r\n /**\r\n * @description\r\n * Timer emitted every 15 minutes (e.g. 08:00, 08:15, 08:30, etc.)\r\n */\r\n public fifteenMinutesInterval$: Observable<void>;\r\n\r\n /**\r\n * @description\r\n * Timer emitted every 5 minutes (e.g. 08:00, 08:05, 08:10, etc.)\r\n */\r\n public fiveMinutesInterval$: Observable<void>;\r\n\r\n /**\r\n * @description\r\n * Timer that invokes each full hour\r\n */\r\n public fullHourInterval$: Observable<void>;\r\n\r\n /**\r\n * @description\r\n * Timer emitted every 30 minutes at full and half hour (e.g. at 10:00, 10:30, 11:00, etc.)\r\n */\r\n public halfHourInterval$: Observable<void>;\r\n\r\n /**\r\n * @description\r\n * Timer emitted every minute (e.g. 08:00, 08:01, 08:02, etc.)\r\n */\r\n public minuteInterval$: Observable<void>;\r\n\r\n /**\r\n * @description\r\n * Timer emitted every second\r\n */\r\n public secondsInterval$: Observable<void>;\r\n\r\n /**\r\n * @description\r\n * Timer emitted every 10 minutes (e.g. 08:00, 08:10, 08:20, etc.)\r\n */\r\n public tenMinutesInterval$: Observable<void>;\r\n\r\n /**\r\n * @description\r\n * Source for fifteen minute interval\r\n */\r\n private _fifteenMinutesInterval: BehaviorSubject<void> = new BehaviorSubject<void>(undefined)\r\n\r\n /**\r\n * @description\r\n * Source for five minute interval\r\n */\r\n private _fiveMinutesInterval: BehaviorSubject<void> = new BehaviorSubject<void>(undefined)\r\n\r\n /**\r\n * @description\r\n * Source for half hour interval\r\n */\r\n private _fullHourInterval: BehaviorSubject<void> = new BehaviorSubject<void>(\r\n undefined\r\n );\r\n\r\n /**\r\n * @description\r\n * Source for half hour interval\r\n */\r\n private _halfHourInterval: BehaviorSubject<void> = new BehaviorSubject<void>(\r\n undefined\r\n );\r\n\r\n /**\r\n * @description\r\n * Source for minute interval\r\n */\r\n private _minuteInterval: BehaviorSubject<void> = new BehaviorSubject<void>(undefined)\r\n\r\n /**\r\n * @description\r\n * Source for secong interval\r\n */\r\n private _secondsInterval: BehaviorSubject<void> = new BehaviorSubject<void>(undefined);\r\n\r\n /**\r\n * @description\r\n * Source for ten minutes interval\r\n */\r\n private _tenMinutesInterval: BehaviorSubject<void> = new BehaviorSubject<void>(undefined)\r\n\r\n private _subscriptions: Subscription[] = [];\r\n\r\nconstructor() {\r\n this.fifteenMinutesInterval$ = this._fifteenMinutesInterval.asObservable().pipe(skip(1));\r\n this.fiveMinutesInterval$ = this._fiveMinutesInterval.asObservable().pipe(skip(1));\r\n this.fullHourInterval$ = this._fullHourInterval.asObservable().pipe(skip(1));\r\n this.halfHourInterval$ = this._halfHourInterval.asObservable().pipe(skip(1));\r\n this.minuteInterval$ = this._minuteInterval.asObservable().pipe().pipe(skip(1));\r\n this.secondsInterval$ = this._secondsInterval.asObservable().pipe(skip(1));\r\n this.tenMinutesInterval$ = this._tenMinutesInterval.asObservable().pipe(skip(1));\r\n\r\n const timeOffsetToFullSecond = timeToNextSecondInterval(new Date().getTime())\r\n\r\n // This observable will invoke each second while app is running\r\n const ticksSubscription: Subscription = interval(1000).pipe(debounceTime(timeOffsetToFullSecond)).subscribe(\r\n intervalTick => {\r\n const now = new Date().getTime();\r\n\r\n const timeRemainingToNextMinuteInterval = timeToNextMinuteInterval(now);\r\n\r\n const timeRemaingingToNextFiveMinutesInterval = timeToNextFiveMinutesInterval(now);\r\n\r\n const timeRemainingToNextTenMinutesInterval = timeToNextTenMinutesInterval(now);\r\n\r\n const timeRemainingToNextFifteenMinutesInterval = timeToNextFifteenMinutesInterval(now);\r\n\r\n const timeRemainingToNextFullHour = timeToNextHour(\r\n now\r\n );\r\n\r\n const timeRemainingToNextHalfHour = timeToNextHalfHour(\r\n now\r\n );\r\n\r\n this._secondsInterval.next();\r\n\r\n // Check if its minute tick\r\n if (timeRemainingToNextMinuteInterval > 59) {\r\n this._minuteInterval.next();\r\n }\r\n\r\n // Check if its five minute interval tick\r\n if (timeRemaingingToNextFiveMinutesInterval > 299) {\r\n this._fiveMinutesInterval.next();\r\n }\r\n\r\n // Check if its ten minute interval\r\n if (timeRemainingToNextTenMinutesInterval > 599) {\r\n this._tenMinutesInterval.next();\r\n }\r\n\r\n // Check if its fifteen minute interval\r\n if (timeRemainingToNextFifteenMinutesInterval > 899) {\r\n this._fifteenMinutesInterval.next();\r\n }\r\n\r\n // Check if its half hour tick\r\n if (timeRemainingToNextHalfHour > 1799) {\r\n this._halfHourInterval.next();\r\n }\r\n\r\n // Check if its full hour tick\r\n if (timeRemainingToNextFullHour > 3599) {\r\n this._fullHourInterval.next();\r\n }\r\n\r\n // Define any additional intervals that might be needed\r\n }\r\n );\r\n\r\n this._subscriptions.push(ticksSubscription);\r\n}\r\n}\r\n","import { ModuleWithProviders, NgModule, Optional, SkipSelf } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { TimerService } from './services';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule\r\n ]\r\n})\r\nexport class SdsTimerModule {\r\n static forRoot(): ModuleWithProviders<SdsTimerModule> {\r\n return {\r\n ngModule: SdsTimerModule,\r\n providers: [TimerService]\r\n }\r\n }\r\n\r\n constructor(@Optional() @SkipSelf() parentModule: SdsTimerModule) {\r\n if (parentModule) {\r\n throw new Error(\r\n 'TimerModule is already loaded. Import it in the AppModule only'\r\n );\r\n }\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAAA;;;;;;;AAOG;AACU,MAAA,gCAAgC,GAAG,CAAC,gBAAwB,KAAI;AACzE,IAAA,MAAM,gBAAgB,GAAG,gBAAgB,GAAG,IAAI,CAAC;AAEjD,IAAA,MAAM,qCAAqC,GAAG,gBAAgB,GAAG,GAAG,CAAC;AAErE,IAAA,MAAM,gCAAgC,GAAG,GAAG,GAAG,qCAAqC,CAAC;AACrF,IAAA,OAAO,gCAAgC,CAAC;AAC5C,EAAC;AAED;;;;;;;AAOG;AACU,MAAA,6BAA6B,GAAG,CAAC,gBAAwB,KAAI;AACtE,IAAA,MAAM,gBAAgB,GAAG,gBAAgB,GAAG,IAAI,CAAC;AAEjD,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ACF,iBAAA,CAAA;;0BASgB,QAAQ;;0BAAI,QAAQ;;;AClBrC;;AAEG;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"spicainternational-ngx-sds-components-src-lib-tooltip.mjs","sources":["../../../projects/ngx-sds-components/src/lib/tooltip/components/tooltip.component.ts","../../../projects/ngx-sds-components/src/lib/tooltip/components/tooltip.component.html","../../../projects/ngx-sds-components/src/lib/tooltip/utils/tooltip.utils.ts","../../../projects/ngx-sds-components/src/lib/tooltip/tooltip.directive.ts","../../../projects/ngx-sds-components/src/lib/tooltip/tooltip.module.ts","../../../projects/ngx-sds-components/src/lib/tooltip/spicainternational-ngx-sds-components-src-lib-tooltip.ts"],"sourcesContent":["import { Component, OnInit } from '@angular/core';\r\nimport { TooltipPosition, TooltipTheme } from '../tooltip.types';\r\nimport { IconProp } from '@fortawesome/fontawesome-svg-core';\r\n\r\n@Component({\r\n templateUrl: './tooltip.component.html',\r\n styleUrls: ['./tooltip.component.scss'],\r\n})\r\nexport class SdsTooltipComponent implements OnInit {\r\n\r\n public tooltip: string = '';\r\n public left: number = 0;\r\n public top: number = 0;\r\n public visible: boolean = false;\r\n\r\n public tooltipIcon?: IconProp;\r\n public tooltipClass?: string;\r\n\r\n public position: TooltipPosition = 'above';\r\n public theme: TooltipTheme = 'dark';\r\n\r\n\r\n\r\n constructor() {}\r\n\r\n ngOnInit(): void {}\r\n}\r\n","<div class=\"sds-tooltip\"\r\n [ngClass]=\"['sds-tooltip-' + position, 'sds-tooltip-' + theme, tooltipClass]\"\r\n [class.sds-tooltip-visible]=\"visible\"\r\n [style.left.px]=\"left\"\r\n [style.top.px]=\"top\"\r\n >\r\n <fa-icon class=\"sds-tooltip-icon\"\r\n *ngIf=\"tooltipIcon\" \r\n [icon]=\"tooltipIcon\">\r\n </fa-icon>\r\n\r\n <small class=\"sds-tooltip-text\">\r\n {{ tooltip }}\r\n </small>\r\n\r\n</div>\r\n","/**\r\n * Check if device is mobile phone or tablet\r\n * {@link https://stackoverflow.com/a/11381730 | [SO] Detecting a mobile browser }\r\n */\r\nexport const isMobile = function() {\r\n let check = false;\r\n (function(a){\r\n if(\r\n // RegExp for mobile devices\r\n /(android|bb\\d+|meego).+mobile|avantgo|bada\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\\-(n|u)|c55\\/|capi|ccwa|cdm\\-|cell|chtm|cldc|cmd\\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\\-s|devi|dica|dmob|do(c|p)o|ds(12|\\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\\-|_)|g1 u|g560|gene|gf\\-5|g\\-mo|go(\\.w|od)|gr(ad|un)|haie|hcit|hd\\-(m|p|t)|hei\\-|hi(pt|ta)|hp( i|ip)|hs\\-c|ht(c(\\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\\-(20|go|ma)|i230|iac( |\\-|\\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\\/)|klon|kpt |kwc\\-|kyo(c|k)|le(no|xi)|lg( g|\\/(k|l|u)|50|54|\\-[a-w])|libw|lynx|m1\\-w|m3ga|m50\\/|ma(te|ui|xo)|mc(01|21|ca)|m\\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\\-2|po(ck|rt|se)|prox|psio|pt\\-g|qa\\-a|qc(07|12|21|32|60|\\-[2-7]|i\\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\\-|oo|p\\-)|sdk\\/|se(c(\\-|0|1)|47|mc|nd|ri)|sgh\\-|shar|sie(\\-|m)|sk\\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\\-|v\\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\\-|tdg\\-|tel(i|m)|tim\\-|t\\-mo|to(pl|sh)|ts(70|m\\-|m3|m5)|tx\\-9|up(\\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\\-|your|zeto|zte\\-/i\r\n // preform regex check\r\n .test(a.substr(0,4))\r\n ) \r\n check = true;\r\n })(navigator.userAgent||navigator.vendor||(window as any).opera);\r\n return check;\r\n };\r\n ","import {\r\n ApplicationRef,\r\n ComponentFactoryResolver,\r\n ComponentRef,\r\n Directive,\r\n ElementRef,\r\n EmbeddedViewRef,\r\n HostListener,\r\n Injector,\r\n Input,\r\n OnChanges,\r\n Renderer2,\r\n SimpleChanges,\r\n ViewContainerRef,\r\n} from '@angular/core';\r\nimport { SdsTooltipComponent } from './components/tooltip.component';\r\nimport { TooltipPosition, TooltipTheme } from './tooltip.types';\r\nimport { IconProp } from '@fortawesome/fontawesome-svg-core';\r\nimport { isMobile } from './utils';\r\n\r\n@Directive({\r\n selector: '[sdsTooltip]',\r\n})\r\nexport class TooltipDirective implements OnChanges {\r\n @Input() tooltip = '';\r\n @Input() tooltipClass = '';\r\n @Input() tooltipIcon?: IconProp;\r\n @Input() position: TooltipPosition = 'above';\r\n @Input() theme: TooltipTheme = 'dark';\r\n @Input() showDelay = 0;\r\n @Input() hideDelay = 0;\r\n\r\n private componentRef: ComponentRef<any> | null = null;\r\n private showTimeout?: number;\r\n private hideTimeout?: number;\r\n private touchTimeout?: number;\r\n\r\n\r\n constructor(\r\n private elementRef: ElementRef,\r\n private appRef: ApplicationRef,\r\n private componentFactoryResolver: ComponentFactoryResolver,\r\n // private viewContainerRef: ViewContainerRef,\r\n private injector: Injector,\r\n // private renderer2: Renderer2\r\n ) {\r\n // this.renderer2.listen('window', 'scroll', (_) => {\r\n // console.log('scroll');\r\n // this.setHideTooltipTimeout();\r\n // });\r\n }\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['tooltip']) {\r\n if (this.componentRef !== null) {\r\n this.componentRef.instance.tooltip = this.tooltip;\r\n } \r\n }\r\n\r\n if (changes['tooltipIcon']) {\r\n if (this.componentRef !== null) {\r\n this.componentRef.instance.tooltipIcon = this.tooltipIcon;\r\n } \r\n } \r\n \r\n if (changes['tooltipClass']) {\r\n if (this.componentRef !== null) {\r\n this.componentRef.instance.tooltipClass = this.tooltipClass;\r\n } \r\n } \r\n }\r\n\r\n @HostListener('mouseenter')\r\n onMouseEnter(): void {\r\n if(isMobile()) return;\r\n\r\n this.initializeTooltip();\r\n }\r\n\r\n @HostListener('mouseleave')\r\n onMouseLeave(): void {\r\n if(isMobile()) return;\r\n\r\n this.setHideTooltipTimeout();\r\n }\r\n\r\n // @HostListener(\"window:scroll\", [])\r\n // onWindowScroll() {\r\n // console.log('scroll');\r\n // this.setHideTooltipTimeout();\r\n // }\r\n\r\n // @HostListener('window:scroll') onScroll(e: Event): void {\r\n // console.log((e.target as Element).scrollTop);\r\n // }\r\n\r\n // @HostListener('scroll') onScrollHost(e: Event): void {\r\n // console.log((e.target as Element).scrollTop);\r\n // }\r\n\r\n @HostListener('mousemove', ['$event'])\r\n onMouseMove($event: MouseEvent): void {\r\n if(isMobile()) return;\r\n\r\n if (this.componentRef !== null && this.position === 'dynamic') {\r\n this.componentRef.instance.left = $event.clientX;\r\n this.componentRef.instance.top = $event.clientY;\r\n this.componentRef.instance.tooltip = this.tooltip;\r\n this.componentRef.instance.tooltipIcon = this.tooltipIcon;\r\n this.componentRef.instance.tooltipClass = this.tooltipClass;\r\n }\r\n }\r\n\r\n @HostListener('touchstart', ['$event'])\r\n onTouchStart($event: TouchEvent): void {\r\n // Only triggered on mobile devices, no need to check device type\r\n \r\n window.clearTimeout(this.touchTimeout);\r\n this.touchTimeout = window.setTimeout(this.initializeTooltip.bind(this), 500);\r\n }\r\n\r\n @HostListener('touchend')\r\n onTouchEnd(): void {\r\n // Only triggered on mobile devices, no need to check device type\r\n\r\n window.clearTimeout(this.touchTimeout);\r\n this.setHideTooltipTimeout();\r\n }\r\n\r\n private initializeTooltip() {\r\n if (this.componentRef === null) {\r\n window.clearInterval(this.hideDelay);\r\n\r\n if (this.tooltip) {\r\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(SdsTooltipComponent);\r\n this.componentRef = componentFactory.create(this.injector);\r\n\r\n this.appRef.attachView(this.componentRef.hostView);\r\n const [tooltipDOMElement] = (this.componentRef.hostView as EmbeddedViewRef<any>).rootNodes;\r\n\r\n this.setTooltipComponentProperties();\r\n\r\n document.body.appendChild(tooltipDOMElement);\r\n this.showTimeout = window.setTimeout(this.showTooltip.bind(this), this.showDelay);\r\n }\r\n }\r\n }\r\n\r\n private setTooltipComponentProperties() {\r\n if (this.componentRef !== null) {\r\n this.componentRef.instance.tooltip = this.tooltip;\r\n this.componentRef.instance.tooltipIcon = this.tooltipIcon;\r\n this.componentRef.instance.tooltipClass = this.tooltipClass;\r\n this.componentRef.instance.position = this.position;\r\n this.componentRef.instance.theme = this.theme;\r\n\r\n const { left, right, top, bottom } = this.elementRef.nativeElement.getBoundingClientRect();\r\n\r\n switch (this.position) {\r\n case 'below': {\r\n this.componentRef.instance.left = Math.round((right - left) / 2 + left);\r\n this.componentRef.instance.top = Math.round(bottom);\r\n break;\r\n }\r\n case 'above': {\r\n this.componentRef.instance.left = Math.round((right - left) / 2 + left);\r\n this.componentRef.instance.top = Math.round(top);\r\n break;\r\n }\r\n case 'right': {\r\n this.componentRef.instance.left = Math.round(right);\r\n this.componentRef.instance.top = Math.round(top + (bottom - top) / 2);\r\n break;\r\n }\r\n case 'left': {\r\n this.componentRef.instance.left = Math.round(left);\r\n this.componentRef.instance.top = Math.round(top + (bottom - top) / 2);\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n\r\n private showTooltip() {\r\n if (this.tooltip && this.componentRef !== null) {\r\n this.componentRef.instance.visible = true;\r\n }\r\n }\r\n\r\n private setHideTooltipTimeout() {\r\n this.hideTimeout = window.setTimeout(this.destroy.bind(this), this.hideDelay);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.destroy();\r\n }\r\n\r\n destroy(): void {\r\n if (this.componentRef !== null) {\r\n window.clearInterval(this.showTimeout);\r\n window.clearInterval(this.hideDelay);\r\n this.appRef.detachView(this.componentRef.hostView);\r\n this.componentRef.destroy();\r\n this.componentRef = null;\r\n }\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { SdsTooltipComponent } from '../tooltip/components/tooltip.component';\r\nimport { TooltipDirective } from './tooltip.directive';\r\nimport { TooltipPosition, TooltipTheme } from './tooltip.types';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n SdsTooltipComponent,\r\n TooltipDirective\r\n ],\r\n imports: [\r\n CommonModule,\r\n FontAwesomeModule\r\n ],\r\n exports: [\r\n TooltipD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BAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAPzB,YAAY;QACZ,iBAAiB,CAAA,EAAA,CAAA,CAAA;4FAMR,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAb5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,mBAAmB;wBACnB,gBAAgB;AACjB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,iBAAiB;AAClB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,gBAAgB;AACjB,qBAAA;AACF,iBAAA,CAAA;;;ACrBD;;AAEG;;;;"}
@@ -1,39 +0,0 @@
1
- export * from '@spicainternational/ngx-sds-components/src/lib/app-switcher';
2
- export * from '@spicainternational/ngx-sds-components/src/lib/avatar';
3
- export * from '@spicainternational/ngx-sds-components/src/lib/badge';
4
- export * from '@spicainternational/ngx-sds-components/src/lib/callout';
5
- export * from '@spicainternational/ngx-sds-components/src/lib/color-picker';
6
- export * from '@spicainternational/ngx-sds-components/src/lib/ellipsis';
7
- export * from '@spicainternational/ngx-sds-components/src/lib/expansion-panel';
8
- export * from '@spicainternational/ngx-sds-components/src/lib/date-picker';
9
- export * from '@spicainternational/ngx-sds-components/src/lib/date-pipes';
10
- export * from '@spicainternational/ngx-sds-components/src/lib/drawer';
11
- export * from '@spicainternational/ngx-sds-components/src/lib/duration-pipe';
12
- export * from '@spicainternational/ngx-sds-components/src/lib/duration-box';
13
- export * from '@spicainternational/ngx-sds-components/src/lib/highlight-text';
14
- export * from '@spicainternational/ngx-sds-components/src/lib/intersection';
15
- export * from '@spicainternational/ngx-sds-components/src/lib/keyboard-shortcut';
16
- export * from '@spicainternational/ngx-sds-components/src/lib/layout';
17
- export * from '@spicainternational/ngx-sds-components/src/lib/message';
18
- export * from '@spicainternational/ngx-sds-components/src/lib/modal';
19
- export * from '@spicainternational/ngx-sds-components/src/lib/navigation';
20
- export * from '@spicainternational/ngx-sds-components/src/lib/number-box';
21
- export * from '@spicainternational/ngx-sds-components/src/lib/page-header';
22
- export * from '@spicainternational/ngx-sds-components/src/lib/pane';
23
- export * from '@spicainternational/ngx-sds-components/src/lib/quick-info';
24
- export * from '@spicainternational/ngx-sds-components/src/lib/segmented-control';
25
- export * from '@spicainternational/ngx-sds-components/src/lib/side-bar';
26
- export * from '@spicainternational/ngx-sds-components/src/lib/static-value';
27
- export * from '@spicainternational/ngx-sds-components/src/lib/timeline';
28
- export * from '@spicainternational/ngx-sds-components/src/lib/timer';
29
- export * from '@spicainternational/ngx-sds-components/src/lib/tooltip';
30
- export * from '@spicainternational/ngx-sds-components/src/lib/table-actions';
31
-
32
- /*
33
- * Public API Surface of ngx-sds-components
34
- */
35
-
36
- /**
37
- * Generated bundle index. Do not edit.
38
- */
39
- //# sourceMappingURL=spicainternational-ngx-sds-components.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spicainternational-ngx-sds-components.mjs","sources":["../../../projects/ngx-sds-components/src/public-api.ts","../../../projects/ngx-sds-components/src/spicainternational-ngx-sds-components.ts"],"sourcesContent":["/*\r\n * Public API Surface of ngx-sds-components\r\n */\r\n\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/app-switcher';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/avatar';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/badge';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/callout';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/color-picker';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/ellipsis';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/expansion-panel';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/date-picker';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/date-pipes';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/drawer';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/duration-pipe';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/duration-box';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/highlight-text';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/intersection';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/keyboard-shortcut';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/layout';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/message';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/modal';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/navigation';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/number-box';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/page-header';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/pane';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/quick-info';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/segmented-control';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/side-bar';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/static-value';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/timeline';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/timer';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/tooltip';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/table-actions';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AAEG;;ACFH;;AAEG"}
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./app-switcher.component";
3
- import * as i2 from "@angular/cdk/a11y";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "devextreme-angular/ui/popover";
6
- import * as i5 from "devextreme-angular/ui/scroll-view";
7
- export declare class SdsAppSwitcherModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsAppSwitcherModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsAppSwitcherModule, [typeof i1.SdsAppSwitcherComponent], [typeof i2.A11yModule, typeof i3.CommonModule, typeof i4.DxPopoverModule, typeof i5.DxScrollViewModule], [typeof i1.SdsAppSwitcherComponent]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsAppSwitcherModule>;
11
- }
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./avatar.component";
3
- import * as i2 from "./avatar-group.component";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "devextreme-angular/ui/popover";
6
- import * as i5 from "devextreme-angular/ui/scroll-view";
7
- export declare class SdsAvatarModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsAvatarModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsAvatarModule, [typeof i1.SdsAvatarComponent, typeof i2.SdsAvatarGroupComponent], [typeof i3.CommonModule, typeof i4.DxPopoverModule, typeof i5.DxScrollViewModule, typeof i3.NgOptimizedImage], [typeof i1.SdsAvatarComponent, typeof i2.SdsAvatarGroupComponent]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsAvatarModule>;
11
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./badge.directive";
3
- import * as i2 from "./components/badge.component";
4
- import * as i3 from "@angular/common";
5
- export declare class SdsBadgeModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsBadgeModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsBadgeModule, [typeof i1.SdsBadgeDirective, typeof i2.SdsBadgeComponent], [typeof i3.CommonModule], [typeof i1.SdsBadgeDirective]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsBadgeModule>;
9
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./callout.component";
3
- import * as i2 from "@angular/common";
4
- export declare class SdsCalloutModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsCalloutModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsCalloutModule, [typeof i1.SdsCalloutComponent], [typeof i2.CommonModule], [typeof i1.SdsCalloutComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsCalloutModule>;
8
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./color-picker.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@fortawesome/angular-fontawesome";
5
- import * as i4 from "devextreme-angular/ui/popover";
6
- export declare class SdsColorPickerModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsColorPickerModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsColorPickerModule, [typeof i1.SdsColorPickerComponent], [typeof i2.CommonModule, typeof i3.FontAwesomeModule, typeof i4.DxPopoverModule], [typeof i1.SdsColorPickerComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsColorPickerModule>;
10
- }
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./date-picker.component";
3
- import * as i2 from "@angular/cdk/a11y";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@fortawesome/angular-fontawesome";
6
- import * as i5 from "devextreme-angular";
7
- import * as i6 from "@spicainternational/ngx-sds-components/src/lib/date-pipes";
8
- export declare class SdsDatePickerModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsDatePickerModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsDatePickerModule, [typeof i1.SdsDatePickerComponent], [typeof i2.A11yModule, typeof i3.CommonModule, typeof i4.FontAwesomeModule, typeof i5.DxDateBoxModule, typeof i5.DxPopoverModule, typeof i5.DxScrollViewModule, typeof i5.DxCalendarModule, typeof i5.DxDropDownButtonModule, typeof i5.DxDropDownBoxModule, typeof i5.DxSelectBoxModule, typeof i5.DxListModule, typeof i6.SdsDatePipesModule], [typeof i1.SdsDatePickerComponent]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsDatePickerModule>;
12
- }
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./date-period-format.pipe";
3
- import * as i2 from "./date-format.pipe";
4
- import * as i3 from "./date-time-range-format.pipe";
5
- import * as i4 from "./date-compare.pipe";
6
- import * as i5 from "./date-time-range-duration.pipe";
7
- import * as i6 from "@angular/common";
8
- export declare class SdsDatePipesModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsDatePipesModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsDatePipesModule, [typeof i1.SdsDatePeriodFormatPipe, typeof i2.SdsDateFormatPipe, typeof i3.DateTimeRangeFormatPipe, typeof i4.SdsDateComparePipe, typeof i5.SdsDateTimeRangeDurationPipe], [typeof i6.CommonModule], [typeof i1.SdsDatePeriodFormatPipe, typeof i2.SdsDateFormatPipe, typeof i3.DateTimeRangeFormatPipe, typeof i4.SdsDateComparePipe, typeof i5.SdsDateTimeRangeDurationPipe]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsDatePipesModule>;
12
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./drawer.component";
3
- import * as i2 from "@angular/common";
4
- export declare class SdsDrawerModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsDrawerModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsDrawerModule, [typeof i1.SdsDrawerComponent], [typeof i2.CommonModule], [typeof i1.SdsDrawerComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsDrawerModule>;
8
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./duration-box.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@spicainternational/ngx-sds-components/src/lib/duration-pipe";
5
- import * as i4 from "devextreme-angular";
6
- export declare class SdsDurationBoxModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsDurationBoxModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsDurationBoxModule, [typeof i1.SdsDurationBoxComponent], [typeof i2.CommonModule, typeof i3.SdsDurationPipeModule, typeof i4.DxTextBoxModule, typeof i4.DxPopoverModule, typeof i4.DxScrollViewModule, typeof i4.DxValidatorModule], [typeof i1.SdsDurationBoxComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsDurationBoxModule>;
10
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./duration-format.pipe";
3
- import * as i2 from "@angular/common";
4
- export declare class SdsDurationPipeModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsDurationPipeModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsDurationPipeModule, [typeof i1.SdsDurationFormatPipe], [typeof i2.CommonModule], [typeof i1.SdsDurationFormatPipe]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsDurationPipeModule>;
8
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./directives/ellipsis.directive";
3
- import * as i2 from "@angular/common";
4
- export declare class SdsEllipsisModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsEllipsisModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsEllipsisModule, [typeof i1.SdsEllipsisDirective], [typeof i2.CommonModule], [typeof i1.SdsEllipsisDirective]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsEllipsisModule>;
8
- }
@@ -1,15 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./expansion-panel.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@fortawesome/angular-fontawesome";
5
- /**
6
- * Expansion panel - provides an expandable details-summary view. Used for 'progressive disclosure'.
7
- *
8
- * @export
9
- * @class SdsExpansionPanelModule
10
- */
11
- export declare class SdsExpansionPanelModule {
12
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsExpansionPanelModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsExpansionPanelModule, [typeof i1.SdsExpansionPanelComponent], [typeof i2.CommonModule, typeof i3.FontAwesomeModule], [typeof i1.SdsExpansionPanelComponent]>;
14
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsExpansionPanelModule>;
15
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./directives/highlight-text.directive";
3
- import * as i2 from "./pipes/highlight-text.pipe";
4
- import * as i3 from "@angular/common";
5
- export declare class SdsHighlightTextModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsHighlightTextModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsHighlightTextModule, [typeof i1.HighlightTextDirective, typeof i2.HighlightTextPipe], [typeof i3.CommonModule], [typeof i1.HighlightTextDirective, typeof i2.HighlightTextPipe]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsHighlightTextModule>;
9
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./directives/intersection.directive";
3
- import * as i2 from "@angular/common";
4
- export declare class SdsIntersectionModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsIntersectionModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsIntersectionModule, [typeof i1.IntersectionDirective], [typeof i2.CommonModule], [typeof i1.IntersectionDirective]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsIntersectionModule>;
8
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./directives/keyboard-shortcut.directive";
3
- import * as i2 from "@angular/common";
4
- export declare class SdsKeyboardShortcutModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsKeyboardShortcutModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsKeyboardShortcutModule, [typeof i1.KeyboardShortcutDirective], [typeof i2.CommonModule], [typeof i1.KeyboardShortcutDirective]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsKeyboardShortcutModule>;
8
- }
@@ -1,13 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./default-layout/default-layout.component";
3
- import * as i2 from "./fluid-layout/fluid-layout.component";
4
- import * as i3 from "./small-layout/small-layout.component";
5
- import * as i4 from "./medium-layout/medium-layout.component";
6
- import * as i5 from "./extra-large-layout/extra-large-layout.component";
7
- import * as i6 from "@angular/common";
8
- import * as i7 from "@angular/router";
9
- export declare class SdsLayoutModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsLayoutModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsLayoutModule, [typeof i1.SdsDefaultLayoutComponent, typeof i2.SdsFluidLayoutComponent, typeof i3.SdsSmallLayoutComponent, typeof i4.SdsMediumLayoutComponent, typeof i5.SdsExtraLargeLayoutComponent], [typeof i6.CommonModule, typeof i7.RouterModule], [typeof i1.SdsDefaultLayoutComponent, typeof i2.SdsFluidLayoutComponent, typeof i3.SdsSmallLayoutComponent, typeof i4.SdsMediumLayoutComponent, typeof i5.SdsExtraLargeLayoutComponent]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsLayoutModule>;
13
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./message.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@fortawesome/angular-fontawesome";
5
- export declare class SdsMessageModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsMessageModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsMessageModule, [typeof i1.SdsMessageComponent], [typeof i2.CommonModule, typeof i3.FontAwesomeModule], [typeof i1.SdsMessageComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsMessageModule>;
9
- }
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./modal.component";
3
- import * as i2 from "./dialog/dialog.component";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@angular/cdk/a11y";
6
- import * as i5 from "@angular/cdk/drag-drop";
7
- import * as i6 from "@fortawesome/angular-fontawesome";
8
- export declare class SdsModalModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsModalModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsModalModule, [typeof i1.SdsModalComponent, typeof i2.SdsDialogComponent], [typeof i3.CommonModule, typeof i4.A11yModule, typeof i5.DragDropModule, typeof i6.FontAwesomeModule], [typeof i1.SdsModalComponent, typeof i2.SdsDialogComponent]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsModalModule>;
12
- }
@@ -1,28 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./navigation-group/navigation-group.component";
3
- import * as i2 from "./navigation-route-link/navigation-route-link.component";
4
- import * as i3 from "./navigation-separator/navigation-separator.component";
5
- import * as i4 from "./navigation-header/navigation-header.component";
6
- import * as i5 from "./navigation-container/navigation-container.component";
7
- import * as i6 from "./navigation-external-link/navigation-external-link.component";
8
- import * as i7 from "./navigation-user-profile/navigation-user-profile.component";
9
- import * as i8 from "./navigation-user-profile/components/user-profile-selector/user-profile-selector.component";
10
- import * as i9 from "./product-home/product-home.component";
11
- import * as i10 from "./pipes/navigation-route-active.pipe";
12
- import * as i11 from "./navigation-user-profile/components/user-profile-tile/user-profile-tile.component";
13
- import * as i12 from "./navigation-user-profile/components/user-profile-action-button/user-profile-action-button.component";
14
- import * as i13 from "@angular/common";
15
- import * as i14 from "@angular/forms";
16
- import * as i15 from "@angular/router";
17
- import * as i16 from "@spicainternational/ngx-sds-components/src/lib/avatar";
18
- import * as i17 from "@spicainternational/ngx-sds-components/src/lib/app-switcher";
19
- import * as i18 from "@fortawesome/angular-fontawesome";
20
- import * as i19 from "devextreme-angular/ui/popover";
21
- import * as i20 from "devextreme-angular";
22
- import * as i21 from "@spicainternational/ngx-sds-components/src/lib/tooltip";
23
- import * as i22 from "@angular/cdk/a11y";
24
- export declare class SdsNavigationModule {
25
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsNavigationModule, never>;
26
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsNavigationModule, [typeof i1.SdsNavigationGroupComponent, typeof i2.SdsNavigationRouteLinkComponent, typeof i3.SdsNavigationSeparatorComponent, typeof i4.SdsNavigationHeaderComponent, typeof i5.SdsNavigationContainerComponent, typeof i6.SdsNavigationExternalLinkComponent, typeof i7.SdsNavigationUserProfileComponent, typeof i8.SdsUserProfileSelectorComponent, typeof i9.SdsProductHomeComponent, typeof i10.NavigationRouteActivePipe, typeof i11.SdsUserProfileTileComponent, typeof i12.SdsUserProfileActionButtonComponent], [typeof i13.CommonModule, typeof i14.FormsModule, typeof i15.RouterModule, typeof i16.SdsAvatarModule, typeof i17.SdsAppSwitcherModule, typeof i18.FontAwesomeModule, typeof i19.DxPopoverModule, typeof i20.DxScrollViewModule, typeof i21.SdsTooltipModule, typeof i22.A11yModule], [typeof i1.SdsNavigationGroupComponent, typeof i2.SdsNavigationRouteLinkComponent, typeof i3.SdsNavigationSeparatorComponent, typeof i4.SdsNavigationHeaderComponent, typeof i5.SdsNavigationContainerComponent, typeof i6.SdsNavigationExternalLinkComponent, typeof i7.SdsNavigationUserProfileComponent, typeof i8.SdsUserProfileSelectorComponent, typeof i9.SdsProductHomeComponent]>;
27
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsNavigationModule>;
28
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class NavigationRouteActivePipe implements PipeTransform {
4
- transform(currentUrl: string[], ...args: unknown[]): boolean;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<NavigationRouteActivePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<NavigationRouteActivePipe, "navigationRouteActive", false>;
7
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./number-box.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@fortawesome/angular-fontawesome";
5
- export declare class SdsNumberBoxModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsNumberBoxModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsNumberBoxModule, [typeof i1.SdsNumberBoxComponent], [typeof i2.CommonModule, typeof i3.FontAwesomeModule], [typeof i1.SdsNumberBoxComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsNumberBoxModule>;
9
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./page-header.component";
3
- import * as i2 from "@angular/common";
4
- export declare class SdsPageHeaderModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsPageHeaderModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsPageHeaderModule, [typeof i1.SdsPageHeaderComponent], [typeof i2.CommonModule], [typeof i1.SdsPageHeaderComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsPageHeaderModule>;
8
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./pane.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@fortawesome/angular-fontawesome";
5
- export declare class SdsPaneModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsPaneModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsPaneModule, [typeof i1.SdsPaneComponent], [typeof i2.CommonModule, typeof i3.FontAwesomeModule], [typeof i1.SdsPaneComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsPaneModule>;
9
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./quick-info.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@fortawesome/angular-fontawesome";
5
- import * as i4 from "devextreme-angular/ui/popover";
6
- export declare class SdsQuickInfoModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsQuickInfoModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsQuickInfoModule, [typeof i1.SdsQuickInfoComponent], [typeof i2.CommonModule, typeof i3.FontAwesomeModule, typeof i4.DxPopoverModule], [typeof i1.SdsQuickInfoComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsQuickInfoModule>;
10
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./segmented-control.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@fortawesome/angular-fontawesome";
5
- export declare class SdsSegmentedControlModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsSegmentedControlModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsSegmentedControlModule, [typeof i1.SdsSegmentedControlComponent], [typeof i2.CommonModule, typeof i3.FontAwesomeModule], [typeof i1.SdsSegmentedControlComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsSegmentedControlModule>;
9
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./side-bar.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@fortawesome/angular-fontawesome";
5
- export declare class SdsSideBarModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsSideBarModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsSideBarModule, [typeof i1.SdsSideBarComponent], [typeof i2.CommonModule, typeof i3.FontAwesomeModule], [typeof i1.SdsSideBarComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsSideBarModule>;
9
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./static-value.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@fortawesome/angular-fontawesome";
5
- export declare class SdsStaticValueModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsStaticValueModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsStaticValueModule, [typeof i1.SdsStaticValueComponent], [typeof i2.CommonModule, typeof i3.FontAwesomeModule], [typeof i1.SdsStaticValueComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsStaticValueModule>;
9
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./table-actions.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@fortawesome/angular-fontawesome";
5
- import * as i4 from "devextreme-angular";
6
- export declare class SdsTableActionsModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<SdsTableActionsModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<SdsTableActionsModule, [typeof i1.SdsTableActionsComponent], [typeof i2.CommonModule, typeof i3.FontAwesomeModule, typeof i4.DxPopoverModule], [typeof i1.SdsTableActionsComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<SdsTableActionsModule>;
10
- }