@spicainternational/ngx-sds-components 8.8.1 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (396) hide show
  1. package/fesm2022/spicainternational-ngx-sds-components-src-lib-app-switcher.mjs +6 -6
  2. package/fesm2022/spicainternational-ngx-sds-components-src-lib-app-switcher.mjs.map +1 -1
  3. package/fesm2022/spicainternational-ngx-sds-components-src-lib-avatar.mjs +8 -8
  4. package/fesm2022/spicainternational-ngx-sds-components-src-lib-avatar.mjs.map +1 -1
  5. package/fesm2022/spicainternational-ngx-sds-components-src-lib-badge.mjs +7 -7
  6. package/fesm2022/spicainternational-ngx-sds-components-src-lib-badge.mjs.map +1 -1
  7. package/fesm2022/spicainternational-ngx-sds-components-src-lib-callout.mjs +3 -3
  8. package/fesm2022/spicainternational-ngx-sds-components-src-lib-callout.mjs.map +1 -1
  9. package/fesm2022/spicainternational-ngx-sds-components-src-lib-color-picker.mjs +4 -4
  10. package/fesm2022/spicainternational-ngx-sds-components-src-lib-color-picker.mjs.map +1 -1
  11. package/fesm2022/spicainternational-ngx-sds-components-src-lib-date-picker.mjs +7 -7
  12. package/fesm2022/spicainternational-ngx-sds-components-src-lib-date-picker.mjs.map +1 -1
  13. package/fesm2022/spicainternational-ngx-sds-components-src-lib-date-pipes.mjs +15 -15
  14. package/fesm2022/spicainternational-ngx-sds-components-src-lib-date-pipes.mjs.map +1 -1
  15. package/fesm2022/spicainternational-ngx-sds-components-src-lib-drawer.mjs +3 -3
  16. package/fesm2022/spicainternational-ngx-sds-components-src-lib-drawer.mjs.map +1 -1
  17. package/fesm2022/spicainternational-ngx-sds-components-src-lib-duration-box.mjs +7 -7
  18. package/fesm2022/spicainternational-ngx-sds-components-src-lib-duration-box.mjs.map +1 -1
  19. package/fesm2022/spicainternational-ngx-sds-components-src-lib-duration-pipe.mjs +3 -3
  20. package/fesm2022/spicainternational-ngx-sds-components-src-lib-duration-pipe.mjs.map +1 -1
  21. package/fesm2022/spicainternational-ngx-sds-components-src-lib-ellipsis.mjs +3 -3
  22. package/fesm2022/spicainternational-ngx-sds-components-src-lib-ellipsis.mjs.map +1 -1
  23. package/fesm2022/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs +4 -4
  24. package/fesm2022/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs.map +1 -1
  25. package/fesm2022/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs +6 -6
  26. package/fesm2022/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs.map +1 -1
  27. package/fesm2022/spicainternational-ngx-sds-components-src-lib-intersection.mjs +7 -8
  28. package/fesm2022/spicainternational-ngx-sds-components-src-lib-intersection.mjs.map +1 -1
  29. package/fesm2022/spicainternational-ngx-sds-components-src-lib-keyboard-shortcut.mjs +5 -6
  30. package/fesm2022/spicainternational-ngx-sds-components-src-lib-keyboard-shortcut.mjs.map +1 -1
  31. package/fesm2022/spicainternational-ngx-sds-components-src-lib-layout.mjs +20 -20
  32. package/fesm2022/spicainternational-ngx-sds-components-src-lib-layout.mjs.map +1 -1
  33. package/fesm2022/spicainternational-ngx-sds-components-src-lib-message.mjs +4 -4
  34. package/fesm2022/spicainternational-ngx-sds-components-src-lib-message.mjs.map +1 -1
  35. package/fesm2022/spicainternational-ngx-sds-components-src-lib-modal.mjs +11 -11
  36. package/fesm2022/spicainternational-ngx-sds-components-src-lib-modal.mjs.map +1 -1
  37. package/fesm2022/spicainternational-ngx-sds-components-src-lib-navigation.mjs +91 -91
  38. package/fesm2022/spicainternational-ngx-sds-components-src-lib-navigation.mjs.map +1 -1
  39. package/fesm2022/spicainternational-ngx-sds-components-src-lib-number-box.mjs +4 -4
  40. package/fesm2022/spicainternational-ngx-sds-components-src-lib-number-box.mjs.map +1 -1
  41. package/fesm2022/spicainternational-ngx-sds-components-src-lib-page-header.mjs +4 -4
  42. package/fesm2022/spicainternational-ngx-sds-components-src-lib-page-header.mjs.map +1 -1
  43. package/fesm2022/spicainternational-ngx-sds-components-src-lib-pane.mjs +4 -4
  44. package/fesm2022/spicainternational-ngx-sds-components-src-lib-pane.mjs.map +1 -1
  45. package/fesm2022/spicainternational-ngx-sds-components-src-lib-quick-info.mjs +4 -4
  46. package/fesm2022/spicainternational-ngx-sds-components-src-lib-quick-info.mjs.map +1 -1
  47. package/fesm2022/spicainternational-ngx-sds-components-src-lib-ripple.mjs +3 -3
  48. package/fesm2022/spicainternational-ngx-sds-components-src-lib-ripple.mjs.map +1 -1
  49. package/fesm2022/spicainternational-ngx-sds-components-src-lib-segmented-control.mjs +9 -9
  50. package/fesm2022/spicainternational-ngx-sds-components-src-lib-segmented-control.mjs.map +1 -1
  51. package/fesm2022/spicainternational-ngx-sds-components-src-lib-side-bar.mjs +6 -6
  52. package/fesm2022/spicainternational-ngx-sds-components-src-lib-side-bar.mjs.map +1 -1
  53. package/fesm2022/spicainternational-ngx-sds-components-src-lib-static-value.mjs +4 -4
  54. package/fesm2022/spicainternational-ngx-sds-components-src-lib-static-value.mjs.map +1 -1
  55. package/fesm2022/spicainternational-ngx-sds-components-src-lib-table-actions.mjs +5 -5
  56. package/fesm2022/spicainternational-ngx-sds-components-src-lib-table-actions.mjs.map +1 -1
  57. package/fesm2022/spicainternational-ngx-sds-components-src-lib-timeline.mjs +4 -4
  58. package/fesm2022/spicainternational-ngx-sds-components-src-lib-timeline.mjs.map +1 -1
  59. package/fesm2022/spicainternational-ngx-sds-components-src-lib-timer.mjs +3 -3
  60. package/fesm2022/spicainternational-ngx-sds-components-src-lib-timer.mjs.map +1 -1
  61. package/fesm2022/spicainternational-ngx-sds-components-src-lib-tooltip.mjs +7 -7
  62. package/fesm2022/spicainternational-ngx-sds-components-src-lib-tooltip.mjs.map +1 -1
  63. package/fesm2022/spicainternational-ngx-sds-components-src-lib-utils-date-time.mjs.map +1 -1
  64. package/fesm2022/spicainternational-ngx-sds-components-src-lib-utils.mjs.map +1 -1
  65. package/package.json +45 -113
  66. package/{src/lib/app-switcher/app-switcher.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-app-switcher.d.ts} +16 -4
  67. package/{src/lib/avatar/avatar.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-avatar.d.ts} +40 -3
  68. package/{src/lib/badge/badge.directive.d.ts → types/spicainternational-ngx-sds-components-src-lib-badge.d.ts} +9 -4
  69. package/{src/lib/callout/callout.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-callout.d.ts} +5 -2
  70. package/{src/lib/color-picker/color-picker.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-color-picker.d.ts} +8 -4
  71. package/{src/lib/date-picker/date-picker.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-date-picker.d.ts} +56 -10
  72. package/types/spicainternational-ngx-sds-components-src-lib-date-pipes.d.ts +82 -0
  73. package/{src/lib/drawer/drawer.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-drawer.d.ts} +5 -2
  74. package/{src/lib/duration-box/duration-box.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-duration-box.d.ts} +18 -5
  75. package/{src/lib/duration-pipe/duration-format.pipe.d.ts → types/spicainternational-ngx-sds-components-src-lib-duration-pipe.d.ts} +5 -2
  76. package/{src/lib/ellipsis/directives/ellipsis.directive.d.ts → types/spicainternational-ngx-sds-components-src-lib-ellipsis.d.ts} +5 -2
  77. package/{src/lib/expansion-panel/expansion-panel.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-expansion-panel.d.ts} +8 -3
  78. package/{src/lib/highlight-text/directives/highlight-text.directive.d.ts → types/spicainternational-ngx-sds-components-src-lib-highlight-text.d.ts} +15 -3
  79. package/types/spicainternational-ngx-sds-components-src-lib-intersection.d.ts +44 -0
  80. package/types/spicainternational-ngx-sds-components-src-lib-keyboard-shortcut.d.ts +20 -0
  81. package/types/spicainternational-ngx-sds-components-src-lib-layout.d.ts +39 -0
  82. package/{src/lib/message/message.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-message.d.ts} +6 -3
  83. package/types/spicainternational-ngx-sds-components-src-lib-modal.d.ts +127 -0
  84. package/types/spicainternational-ngx-sds-components-src-lib-navigation.d.ts +256 -0
  85. package/{src/lib/number-box/number-box.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-number-box.d.ts} +11 -7
  86. package/{src/lib/page-header/page-header.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-page-header.d.ts} +6 -3
  87. package/{src/lib/pane/pane.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-pane.d.ts} +17 -5
  88. package/{src/lib/quick-info/quick-info.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-quick-info.d.ts} +16 -4
  89. package/{src/lib/ripple/ripple.directive.d.ts → types/spicainternational-ngx-sds-components-src-lib-ripple.d.ts} +6 -3
  90. package/types/spicainternational-ngx-sds-components-src-lib-segmented-control.d.ts +45 -0
  91. package/types/spicainternational-ngx-sds-components-src-lib-side-bar.d.ts +33 -0
  92. package/{src/lib/static-value/static-value.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-static-value.d.ts} +5 -2
  93. package/{src/lib/table-actions/table-actions.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-table-actions.d.ts} +5 -2
  94. package/{src/lib/timeline/components/timeline.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-timeline.d.ts} +47 -5
  95. package/types/spicainternational-ngx-sds-components-src-lib-timer.d.ts +143 -0
  96. package/{src/lib/tooltip/tooltip.directive.d.ts → types/spicainternational-ngx-sds-components-src-lib-tooltip.d.ts} +9 -4
  97. package/types/spicainternational-ngx-sds-components-src-lib-utils-date-time.d.ts +9 -0
  98. package/types/spicainternational-ngx-sds-components-src-lib-utils.d.ts +9 -0
  99. package/esm2022/public-api.mjs +0 -36
  100. package/esm2022/spicainternational-ngx-sds-components.mjs +0 -5
  101. package/esm2022/src/lib/app-switcher/app-switcher.component.mjs +0 -116
  102. package/esm2022/src/lib/app-switcher/app-switcher.model.mjs +0 -2
  103. package/esm2022/src/lib/app-switcher/public-api.mjs +0 -3
  104. package/esm2022/src/lib/app-switcher/spicainternational-ngx-sds-components-src-lib-app-switcher.mjs +0 -5
  105. package/esm2022/src/lib/avatar/avatar-group.component.mjs +0 -82
  106. package/esm2022/src/lib/avatar/avatar-group.model.mjs +0 -2
  107. package/esm2022/src/lib/avatar/avatar.component.mjs +0 -165
  108. package/esm2022/src/lib/avatar/public-api.mjs +0 -4
  109. package/esm2022/src/lib/avatar/spicainternational-ngx-sds-components-src-lib-avatar.mjs +0 -5
  110. package/esm2022/src/lib/badge/badge.directive.mjs +0 -90
  111. package/esm2022/src/lib/badge/badge.types.mjs +0 -2
  112. package/esm2022/src/lib/badge/components/badge.component.mjs +0 -59
  113. package/esm2022/src/lib/badge/public-api.mjs +0 -2
  114. package/esm2022/src/lib/badge/spicainternational-ngx-sds-components-src-lib-badge.mjs +0 -5
  115. package/esm2022/src/lib/callout/callout.component.mjs +0 -20
  116. package/esm2022/src/lib/callout/public-api.mjs +0 -2
  117. package/esm2022/src/lib/callout/spicainternational-ngx-sds-components-src-lib-callout.mjs +0 -5
  118. package/esm2022/src/lib/color-picker/color-picker.component.mjs +0 -82
  119. package/esm2022/src/lib/color-picker/public-api.mjs +0 -2
  120. package/esm2022/src/lib/color-picker/spicainternational-ngx-sds-components-src-lib-color-picker.mjs +0 -5
  121. package/esm2022/src/lib/date-picker/date-picker.component.mjs +0 -893
  122. package/esm2022/src/lib/date-picker/date-picker.model.mjs +0 -71
  123. package/esm2022/src/lib/date-picker/public-api.mjs +0 -3
  124. package/esm2022/src/lib/date-picker/sds-date-picker.service.mjs +0 -90
  125. package/esm2022/src/lib/date-picker/spicainternational-ngx-sds-components-src-lib-date-picker.mjs +0 -5
  126. package/esm2022/src/lib/date-pipes/date-compare.pipe.mjs +0 -32
  127. package/esm2022/src/lib/date-pipes/date-format.pipe.mjs +0 -31
  128. package/esm2022/src/lib/date-pipes/date-period-format.pipe.mjs +0 -49
  129. package/esm2022/src/lib/date-pipes/date-time-formats.constants.mjs +0 -156
  130. package/esm2022/src/lib/date-pipes/date-time-range-duration.pipe.mjs +0 -33
  131. package/esm2022/src/lib/date-pipes/date-time-range-format.pipe.mjs +0 -45
  132. package/esm2022/src/lib/date-pipes/public-api.mjs +0 -8
  133. package/esm2022/src/lib/date-pipes/spicainternational-ngx-sds-components-src-lib-date-pipes.mjs +0 -5
  134. package/esm2022/src/lib/drawer/drawer.component.mjs +0 -103
  135. package/esm2022/src/lib/drawer/public-api.mjs +0 -2
  136. package/esm2022/src/lib/drawer/spicainternational-ngx-sds-components-src-lib-drawer.mjs +0 -5
  137. package/esm2022/src/lib/duration-box/duration-box.component.mjs +0 -279
  138. package/esm2022/src/lib/duration-box/duration-box.types.mjs +0 -2
  139. package/esm2022/src/lib/duration-box/duration.service.mjs +0 -72
  140. package/esm2022/src/lib/duration-box/public-api.mjs +0 -2
  141. package/esm2022/src/lib/duration-box/spicainternational-ngx-sds-components-src-lib-duration-box.mjs +0 -5
  142. package/esm2022/src/lib/duration-pipe/duration-format.pipe.mjs +0 -27
  143. package/esm2022/src/lib/duration-pipe/public-api.mjs +0 -2
  144. package/esm2022/src/lib/duration-pipe/spicainternational-ngx-sds-components-src-lib-duration-pipe.mjs +0 -5
  145. package/esm2022/src/lib/ellipsis/directives/ellipsis.directive.mjs +0 -52
  146. package/esm2022/src/lib/ellipsis/public-api.mjs +0 -2
  147. package/esm2022/src/lib/ellipsis/spicainternational-ngx-sds-components-src-lib-ellipsis.mjs +0 -5
  148. package/esm2022/src/lib/expansion-panel/expansion-panel.component.mjs +0 -86
  149. package/esm2022/src/lib/expansion-panel/expansion-panel.types.mjs +0 -2
  150. package/esm2022/src/lib/expansion-panel/public-api.mjs +0 -2
  151. package/esm2022/src/lib/expansion-panel/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs +0 -5
  152. package/esm2022/src/lib/highlight-text/directives/highlight-text.directive.mjs +0 -61
  153. package/esm2022/src/lib/highlight-text/directives/index.mjs +0 -2
  154. package/esm2022/src/lib/highlight-text/pipes/highlight-text.pipe.mjs +0 -30
  155. package/esm2022/src/lib/highlight-text/pipes/index.mjs +0 -2
  156. package/esm2022/src/lib/highlight-text/public-api.mjs +0 -3
  157. package/esm2022/src/lib/highlight-text/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs +0 -5
  158. package/esm2022/src/lib/highlight-text/utils/highlight-text.utils.mjs +0 -97
  159. package/esm2022/src/lib/highlight-text/utils/index.mjs +0 -2
  160. package/esm2022/src/lib/intersection/directives/index.mjs +0 -2
  161. package/esm2022/src/lib/intersection/directives/intersection.directive.mjs +0 -52
  162. package/esm2022/src/lib/intersection/public-api.mjs +0 -3
  163. package/esm2022/src/lib/intersection/services/index.mjs +0 -2
  164. package/esm2022/src/lib/intersection/services/intersection.service.mjs +0 -54
  165. package/esm2022/src/lib/intersection/spicainternational-ngx-sds-components-src-lib-intersection.mjs +0 -5
  166. package/esm2022/src/lib/keyboard-shortcut/directives/index.mjs +0 -2
  167. package/esm2022/src/lib/keyboard-shortcut/directives/keyboard-shortcut.directive.mjs +0 -47
  168. package/esm2022/src/lib/keyboard-shortcut/public-api.mjs +0 -2
  169. package/esm2022/src/lib/keyboard-shortcut/spicainternational-ngx-sds-components-src-lib-keyboard-shortcut.mjs +0 -5
  170. package/esm2022/src/lib/layout/default-layout/default-layout.component.mjs +0 -15
  171. package/esm2022/src/lib/layout/extra-large-layout/extra-large-layout.component.mjs +0 -15
  172. package/esm2022/src/lib/layout/fluid-layout/fluid-layout.component.mjs +0 -15
  173. package/esm2022/src/lib/layout/medium-layout/medium-layout.component.mjs +0 -15
  174. package/esm2022/src/lib/layout/public-api.mjs +0 -6
  175. package/esm2022/src/lib/layout/small-layout/small-layout.component.mjs +0 -15
  176. package/esm2022/src/lib/layout/spicainternational-ngx-sds-components-src-lib-layout.mjs +0 -5
  177. package/esm2022/src/lib/message/message.component.mjs +0 -60
  178. package/esm2022/src/lib/message/public-api.mjs +0 -2
  179. package/esm2022/src/lib/message/spicainternational-ngx-sds-components-src-lib-message.mjs +0 -5
  180. package/esm2022/src/lib/modal/dialog/dialog.component.mjs +0 -187
  181. package/esm2022/src/lib/modal/dialog/dialog.types.mjs +0 -2
  182. package/esm2022/src/lib/modal/modal.component.mjs +0 -159
  183. package/esm2022/src/lib/modal/modal.model.mjs +0 -2
  184. package/esm2022/src/lib/modal/public-api.mjs +0 -3
  185. package/esm2022/src/lib/modal/spicainternational-ngx-sds-components-src-lib-modal.mjs +0 -5
  186. package/esm2022/src/lib/navigation/models/navigation-models.mjs +0 -2
  187. package/esm2022/src/lib/navigation/navigation-collapsible-frame/navigation-collapsible-frame.component.mjs +0 -17
  188. package/esm2022/src/lib/navigation/navigation-container/navigation-container.component.mjs +0 -58
  189. package/esm2022/src/lib/navigation/navigation-external-link/navigation-external-link.component.mjs +0 -33
  190. package/esm2022/src/lib/navigation/navigation-group/navigation-group.component.mjs +0 -220
  191. package/esm2022/src/lib/navigation/navigation-header/navigation-header.component.mjs +0 -21
  192. package/esm2022/src/lib/navigation/navigation-route-link/navigation-route-link.component.mjs +0 -73
  193. package/esm2022/src/lib/navigation/navigation-separator/navigation-separator.component.mjs +0 -15
  194. package/esm2022/src/lib/navigation/navigation-user-profile/components/user-profile-action-button/user-profile-action-button.component.mjs +0 -30
  195. package/esm2022/src/lib/navigation/navigation-user-profile/components/user-profile-selector/user-profile-selector.component.mjs +0 -45
  196. package/esm2022/src/lib/navigation/navigation-user-profile/components/user-profile-selector/user-profile-selector.types.mjs +0 -2
  197. package/esm2022/src/lib/navigation/navigation-user-profile/components/user-profile-tile/user-profile-tile.component.mjs +0 -25
  198. package/esm2022/src/lib/navigation/navigation-user-profile/navigation-profile.model.mjs +0 -2
  199. package/esm2022/src/lib/navigation/navigation-user-profile/navigation-user-profile.component.mjs +0 -107
  200. package/esm2022/src/lib/navigation/pipes/active-route-pattern.pipe.mjs +0 -38
  201. package/esm2022/src/lib/navigation/product-home/product-home.component.mjs +0 -70
  202. package/esm2022/src/lib/navigation/public-api.mjs +0 -15
  203. package/esm2022/src/lib/navigation/spicainternational-ngx-sds-components-src-lib-navigation.mjs +0 -5
  204. package/esm2022/src/lib/navigation/utils/navigation.utils.mjs +0 -48
  205. package/esm2022/src/lib/number-box/number-box.component.mjs +0 -138
  206. package/esm2022/src/lib/number-box/public-api.mjs +0 -2
  207. package/esm2022/src/lib/number-box/spicainternational-ngx-sds-components-src-lib-number-box.mjs +0 -5
  208. package/esm2022/src/lib/page-header/page-header.component.mjs +0 -25
  209. package/esm2022/src/lib/page-header/public-api.mjs +0 -2
  210. package/esm2022/src/lib/page-header/spicainternational-ngx-sds-components-src-lib-page-header.mjs +0 -5
  211. package/esm2022/src/lib/pane/pane.component.mjs +0 -43
  212. package/esm2022/src/lib/pane/pane.model.mjs +0 -2
  213. package/esm2022/src/lib/pane/public-api.mjs +0 -3
  214. package/esm2022/src/lib/pane/spicainternational-ngx-sds-components-src-lib-pane.mjs +0 -5
  215. package/esm2022/src/lib/quick-info/public-api.mjs +0 -2
  216. package/esm2022/src/lib/quick-info/quick-info.component.mjs +0 -121
  217. package/esm2022/src/lib/quick-info/quick-info.model.mjs +0 -2
  218. package/esm2022/src/lib/quick-info/spicainternational-ngx-sds-components-src-lib-quick-info.mjs +0 -5
  219. package/esm2022/src/lib/ripple/public-api.mjs +0 -2
  220. package/esm2022/src/lib/ripple/ripple.directive.mjs +0 -103
  221. package/esm2022/src/lib/ripple/spicainternational-ngx-sds-components-src-lib-ripple.mjs +0 -5
  222. package/esm2022/src/lib/segmented-control/public-api.mjs +0 -2
  223. package/esm2022/src/lib/segmented-control/segmented-control.component.mjs +0 -239
  224. package/esm2022/src/lib/segmented-control/spicainternational-ngx-sds-components-src-lib-segmented-control.mjs +0 -5
  225. package/esm2022/src/lib/side-bar/public-api.mjs +0 -2
  226. package/esm2022/src/lib/side-bar/side-bar.component.mjs +0 -45
  227. package/esm2022/src/lib/side-bar/spicainternational-ngx-sds-components-src-lib-side-bar.mjs +0 -5
  228. package/esm2022/src/lib/static-value/public-api.mjs +0 -2
  229. package/esm2022/src/lib/static-value/spicainternational-ngx-sds-components-src-lib-static-value.mjs +0 -5
  230. package/esm2022/src/lib/static-value/static-value.component.mjs +0 -25
  231. package/esm2022/src/lib/table-actions/public-api.mjs +0 -2
  232. package/esm2022/src/lib/table-actions/spicainternational-ngx-sds-components-src-lib-table-actions.mjs +0 -5
  233. package/esm2022/src/lib/table-actions/table-actions.component.mjs +0 -49
  234. package/esm2022/src/lib/timeline/components/timeline.component.mjs +0 -398
  235. package/esm2022/src/lib/timeline/models/timeline.model.mjs +0 -2
  236. package/esm2022/src/lib/timeline/public-api.mjs +0 -2
  237. package/esm2022/src/lib/timeline/services/timeline.service.mjs +0 -152
  238. package/esm2022/src/lib/timeline/spicainternational-ngx-sds-components-src-lib-timeline.mjs +0 -5
  239. package/esm2022/src/lib/timeline/types/timeline.types.mjs +0 -2
  240. package/esm2022/src/lib/timer/public-api.mjs +0 -3
  241. package/esm2022/src/lib/timer/services/index.mjs +0 -2
  242. package/esm2022/src/lib/timer/services/timer.service.mjs +0 -99
  243. package/esm2022/src/lib/timer/spicainternational-ngx-sds-components-src-lib-timer.mjs +0 -5
  244. package/esm2022/src/lib/timer/utils/index.mjs +0 -2
  245. package/esm2022/src/lib/timer/utils/timer.utils.mjs +0 -97
  246. package/esm2022/src/lib/tooltip/components/tooltip.component.mjs +0 -26
  247. package/esm2022/src/lib/tooltip/public-api.mjs +0 -2
  248. package/esm2022/src/lib/tooltip/spicainternational-ngx-sds-components-src-lib-tooltip.mjs +0 -5
  249. package/esm2022/src/lib/tooltip/tooltip.directive.mjs +0 -192
  250. package/esm2022/src/lib/tooltip/tooltip.types.mjs +0 -2
  251. package/esm2022/src/lib/tooltip/utils/index.mjs +0 -2
  252. package/esm2022/src/lib/tooltip/utils/tooltip.utils.mjs +0 -17
  253. package/esm2022/src/lib/utils/date-time/date-time-format.function.mjs +0 -15
  254. package/esm2022/src/lib/utils/date-time/intl-date-time-format-options-presets.mjs +0 -29
  255. package/esm2022/src/lib/utils/date-time/public-api.mjs +0 -3
  256. package/esm2022/src/lib/utils/date-time/spicainternational-ngx-sds-components-src-lib-utils-date-time.mjs +0 -5
  257. package/esm2022/src/lib/utils/public-api.mjs +0 -2
  258. package/esm2022/src/lib/utils/spicainternational-ngx-sds-components-src-lib-utils.mjs +0 -5
  259. package/index.d.ts +0 -5
  260. package/src/lib/app-switcher/app-switcher.model.d.ts +0 -8
  261. package/src/lib/app-switcher/index.d.ts +0 -5
  262. package/src/lib/app-switcher/public-api.d.ts +0 -2
  263. package/src/lib/avatar/avatar-group.component.d.ts +0 -28
  264. package/src/lib/avatar/avatar-group.model.d.ts +0 -6
  265. package/src/lib/avatar/index.d.ts +0 -5
  266. package/src/lib/avatar/public-api.d.ts +0 -3
  267. package/src/lib/badge/badge.types.d.ts +0 -2
  268. package/src/lib/badge/components/badge.component.d.ts +0 -23
  269. package/src/lib/badge/index.d.ts +0 -5
  270. package/src/lib/badge/public-api.d.ts +0 -1
  271. package/src/lib/callout/index.d.ts +0 -5
  272. package/src/lib/callout/public-api.d.ts +0 -1
  273. package/src/lib/color-picker/index.d.ts +0 -5
  274. package/src/lib/color-picker/public-api.d.ts +0 -1
  275. package/src/lib/date-picker/date-picker.model.d.ts +0 -34
  276. package/src/lib/date-picker/index.d.ts +0 -5
  277. package/src/lib/date-picker/public-api.d.ts +0 -2
  278. package/src/lib/date-picker/sds-date-picker.service.d.ts +0 -9
  279. package/src/lib/date-pipes/date-compare.pipe.d.ts +0 -7
  280. package/src/lib/date-pipes/date-format.pipe.d.ts +0 -19
  281. package/src/lib/date-pipes/date-period-format.pipe.d.ts +0 -11
  282. package/src/lib/date-pipes/date-time-formats.constants.d.ts +0 -22
  283. package/src/lib/date-pipes/date-time-range-duration.pipe.d.ts +0 -7
  284. package/src/lib/date-pipes/date-time-range-format.pipe.d.ts +0 -15
  285. package/src/lib/date-pipes/index.d.ts +0 -5
  286. package/src/lib/date-pipes/public-api.d.ts +0 -7
  287. package/src/lib/drawer/index.d.ts +0 -5
  288. package/src/lib/drawer/public-api.d.ts +0 -1
  289. package/src/lib/duration-box/duration-box.types.d.ts +0 -1
  290. package/src/lib/duration-box/duration.service.d.ts +0 -10
  291. package/src/lib/duration-box/index.d.ts +0 -5
  292. package/src/lib/duration-box/public-api.d.ts +0 -1
  293. package/src/lib/duration-pipe/index.d.ts +0 -5
  294. package/src/lib/duration-pipe/public-api.d.ts +0 -1
  295. package/src/lib/ellipsis/index.d.ts +0 -5
  296. package/src/lib/ellipsis/public-api.d.ts +0 -1
  297. package/src/lib/expansion-panel/expansion-panel.types.d.ts +0 -2
  298. package/src/lib/expansion-panel/index.d.ts +0 -5
  299. package/src/lib/expansion-panel/public-api.d.ts +0 -1
  300. package/src/lib/highlight-text/directives/index.d.ts +0 -1
  301. package/src/lib/highlight-text/index.d.ts +0 -5
  302. package/src/lib/highlight-text/pipes/highlight-text.pipe.d.ts +0 -11
  303. package/src/lib/highlight-text/pipes/index.d.ts +0 -1
  304. package/src/lib/highlight-text/public-api.d.ts +0 -2
  305. package/src/lib/highlight-text/utils/highlight-text.utils.d.ts +0 -23
  306. package/src/lib/highlight-text/utils/index.d.ts +0 -1
  307. package/src/lib/intersection/directives/index.d.ts +0 -1
  308. package/src/lib/intersection/directives/intersection.directive.d.ts +0 -24
  309. package/src/lib/intersection/index.d.ts +0 -5
  310. package/src/lib/intersection/public-api.d.ts +0 -2
  311. package/src/lib/intersection/services/index.d.ts +0 -1
  312. package/src/lib/intersection/services/intersection.service.d.ts +0 -19
  313. package/src/lib/keyboard-shortcut/directives/index.d.ts +0 -1
  314. package/src/lib/keyboard-shortcut/directives/keyboard-shortcut.directive.d.ts +0 -17
  315. package/src/lib/keyboard-shortcut/index.d.ts +0 -5
  316. package/src/lib/keyboard-shortcut/public-api.d.ts +0 -1
  317. package/src/lib/layout/default-layout/default-layout.component.d.ts +0 -8
  318. package/src/lib/layout/extra-large-layout/extra-large-layout.component.d.ts +0 -8
  319. package/src/lib/layout/fluid-layout/fluid-layout.component.d.ts +0 -8
  320. package/src/lib/layout/index.d.ts +0 -5
  321. package/src/lib/layout/medium-layout/medium-layout.component.d.ts +0 -8
  322. package/src/lib/layout/public-api.d.ts +0 -5
  323. package/src/lib/layout/small-layout/small-layout.component.d.ts +0 -8
  324. package/src/lib/message/index.d.ts +0 -5
  325. package/src/lib/message/public-api.d.ts +0 -1
  326. package/src/lib/modal/dialog/dialog.component.d.ts +0 -61
  327. package/src/lib/modal/dialog/dialog.types.d.ts +0 -1
  328. package/src/lib/modal/index.d.ts +0 -5
  329. package/src/lib/modal/modal.component.d.ts +0 -60
  330. package/src/lib/modal/modal.model.d.ts +0 -3
  331. package/src/lib/modal/public-api.d.ts +0 -2
  332. package/src/lib/navigation/index.d.ts +0 -5
  333. package/src/lib/navigation/models/navigation-models.d.ts +0 -4
  334. package/src/lib/navigation/navigation-collapsible-frame/navigation-collapsible-frame.component.d.ts +0 -7
  335. package/src/lib/navigation/navigation-container/navigation-container.component.d.ts +0 -25
  336. package/src/lib/navigation/navigation-external-link/navigation-external-link.component.d.ts +0 -13
  337. package/src/lib/navigation/navigation-group/navigation-group.component.d.ts +0 -65
  338. package/src/lib/navigation/navigation-header/navigation-header.component.d.ts +0 -11
  339. package/src/lib/navigation/navigation-route-link/navigation-route-link.component.d.ts +0 -31
  340. package/src/lib/navigation/navigation-separator/navigation-separator.component.d.ts +0 -10
  341. package/src/lib/navigation/navigation-user-profile/components/user-profile-action-button/user-profile-action-button.component.d.ts +0 -11
  342. package/src/lib/navigation/navigation-user-profile/components/user-profile-selector/user-profile-selector.component.d.ts +0 -17
  343. package/src/lib/navigation/navigation-user-profile/components/user-profile-selector/user-profile-selector.types.d.ts +0 -1
  344. package/src/lib/navigation/navigation-user-profile/components/user-profile-tile/user-profile-tile.component.d.ts +0 -9
  345. package/src/lib/navigation/navigation-user-profile/navigation-profile.model.d.ts +0 -6
  346. package/src/lib/navigation/navigation-user-profile/navigation-user-profile.component.d.ts +0 -34
  347. package/src/lib/navigation/pipes/active-route-pattern.pipe.d.ts +0 -21
  348. package/src/lib/navigation/product-home/product-home.component.d.ts +0 -31
  349. package/src/lib/navigation/public-api.d.ts +0 -14
  350. package/src/lib/navigation/utils/navigation.utils.d.ts +0 -2
  351. package/src/lib/number-box/index.d.ts +0 -5
  352. package/src/lib/number-box/public-api.d.ts +0 -1
  353. package/src/lib/page-header/index.d.ts +0 -5
  354. package/src/lib/page-header/public-api.d.ts +0 -1
  355. package/src/lib/pane/index.d.ts +0 -5
  356. package/src/lib/pane/pane.model.d.ts +0 -8
  357. package/src/lib/pane/public-api.d.ts +0 -2
  358. package/src/lib/quick-info/index.d.ts +0 -5
  359. package/src/lib/quick-info/public-api.d.ts +0 -1
  360. package/src/lib/quick-info/quick-info.model.d.ts +0 -9
  361. package/src/lib/ripple/index.d.ts +0 -5
  362. package/src/lib/ripple/public-api.d.ts +0 -1
  363. package/src/lib/segmented-control/index.d.ts +0 -5
  364. package/src/lib/segmented-control/public-api.d.ts +0 -1
  365. package/src/lib/segmented-control/segmented-control.component.d.ts +0 -42
  366. package/src/lib/side-bar/index.d.ts +0 -5
  367. package/src/lib/side-bar/public-api.d.ts +0 -1
  368. package/src/lib/side-bar/side-bar.component.d.ts +0 -30
  369. package/src/lib/static-value/index.d.ts +0 -5
  370. package/src/lib/static-value/public-api.d.ts +0 -1
  371. package/src/lib/table-actions/index.d.ts +0 -5
  372. package/src/lib/table-actions/public-api.d.ts +0 -1
  373. package/src/lib/timeline/index.d.ts +0 -5
  374. package/src/lib/timeline/models/timeline.model.d.ts +0 -38
  375. package/src/lib/timeline/public-api.d.ts +0 -1
  376. package/src/lib/timeline/services/timeline.service.d.ts +0 -24
  377. package/src/lib/timeline/types/timeline.types.d.ts +0 -2
  378. package/src/lib/timer/index.d.ts +0 -5
  379. package/src/lib/timer/public-api.d.ts +0 -2
  380. package/src/lib/timer/services/index.d.ts +0 -1
  381. package/src/lib/timer/services/timer.service.d.ts +0 -78
  382. package/src/lib/timer/utils/index.d.ts +0 -1
  383. package/src/lib/timer/utils/timer.utils.d.ts +0 -61
  384. package/src/lib/tooltip/components/tooltip.component.d.ts +0 -18
  385. package/src/lib/tooltip/index.d.ts +0 -5
  386. package/src/lib/tooltip/public-api.d.ts +0 -1
  387. package/src/lib/tooltip/tooltip.types.d.ts +0 -2
  388. package/src/lib/tooltip/utils/index.d.ts +0 -1
  389. package/src/lib/tooltip/utils/tooltip.utils.d.ts +0 -5
  390. package/src/lib/utils/date-time/date-time-format.function.d.ts +0 -2
  391. package/src/lib/utils/date-time/index.d.ts +0 -5
  392. package/src/lib/utils/date-time/intl-date-time-format-options-presets.d.ts +0 -4
  393. package/src/lib/utils/date-time/public-api.d.ts +0 -2
  394. package/src/lib/utils/index.d.ts +0 -5
  395. package/src/lib/utils/public-api.d.ts +0 -1
  396. /package/{public-api.d.ts → types/spicainternational-ngx-sds-components.d.ts} +0 -0
@@ -1 +1 @@
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/spicainternational-ngx-sds-components-src-lib-tooltip.ts"],"sourcesContent":["import { Component, OnInit } from '@angular/core';\nimport { TooltipPosition, TooltipTheme } from '../tooltip.types';\nimport { IconProp } from '@fortawesome/fontawesome-svg-core';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { NgClass, NgIf } from '@angular/common';\n\n@Component({\n templateUrl: './tooltip.component.html',\n styleUrls: ['./tooltip.component.scss'],\n standalone: true,\n imports: [\n NgClass,\n NgIf,\n FaIconComponent,\n ],\n})\nexport class SdsTooltipComponent implements OnInit {\n\n public tooltip: string = '';\n public left: number = 0;\n public top: number = 0;\n public visible: boolean = false;\n\n public tooltipIcon?: IconProp;\n public tooltipClass?: string;\n\n public position: TooltipPosition = 'above';\n public theme: TooltipTheme = 'dark';\n\n\n\n constructor() {}\n\n ngOnInit(): void {}\n}\n","<div class=\"sds-tooltip\"\n [ngClass]=\"['sds-tooltip-' + position, 'sds-tooltip-' + theme, tooltipClass]\"\n [class.sds-tooltip-visible]=\"visible\"\n [style.left.px]=\"left\"\n [style.top.px]=\"top\"\n >\n <fa-icon class=\"sds-tooltip-icon\"\n *ngIf=\"tooltipIcon\" \n [icon]=\"tooltipIcon\">\n </fa-icon>\n\n <small class=\"sds-tooltip-text\">\n {{ tooltip }}\n </small>\n\n</div>\n","/**\n * Check if device is mobile phone or tablet\n * {@link https://stackoverflow.com/a/11381730 | [SO] Detecting a mobile browser }\n */\nexport const isMobile = function() {\n let check = false;\n (function(a){\n if(\n // RegExp for mobile devices\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\n // preform regex check\n .test(a.substr(0,4))\n ) \n check = true;\n })(navigator.userAgent||navigator.vendor||(window as any).opera);\n return check;\n };\n ","import {\n ApplicationRef,\n ComponentFactoryResolver,\n ComponentRef,\n Directive,\n ElementRef,\n EmbeddedViewRef,\n HostListener,\n Injector,\n Input,\n OnChanges,\n Renderer2,\n SimpleChanges,\n ViewContainerRef,\n} from '@angular/core';\nimport { SdsTooltipComponent } from './components/tooltip.component';\nimport { TooltipPosition, TooltipTheme } from './tooltip.types';\nimport { IconProp } from '@fortawesome/fontawesome-svg-core';\nimport { isMobile } from './utils';\n\n@Directive({\n selector: '[sdsTooltip]',\n standalone: true,\n})\nexport class SdsTooltipDirective implements OnChanges {\n @Input() tooltip = '';\n @Input() tooltipClass = '';\n @Input() tooltipIcon?: IconProp;\n @Input() position: TooltipPosition = 'above';\n @Input() theme: TooltipTheme = 'dark';\n @Input() showDelay = 0;\n @Input() hideDelay = 0;\n\n private componentRef: ComponentRef<any> | null = null;\n private showTimeout?: number;\n private hideTimeout?: number;\n private touchTimeout?: number;\n\n\n constructor(\n private elementRef: ElementRef,\n private appRef: ApplicationRef,\n private componentFactoryResolver: ComponentFactoryResolver,\n // private viewContainerRef: ViewContainerRef,\n private injector: Injector,\n // private renderer2: Renderer2\n ) {\n // this.renderer2.listen('window', 'scroll', (_) => {\n // console.log('scroll');\n // this.setHideTooltipTimeout();\n // });\n }\n ngOnChanges(changes: SimpleChanges): void {\n if (changes['tooltip']) {\n if (this.componentRef !== null) {\n this.componentRef.instance.tooltip = this.tooltip;\n } \n }\n\n if (changes['tooltipIcon']) {\n if (this.componentRef !== null) {\n this.componentRef.instance.tooltipIcon = this.tooltipIcon;\n } \n } \n \n if (changes['tooltipClass']) {\n if (this.componentRef !== null) {\n this.componentRef.instance.tooltipClass = this.tooltipClass;\n } \n } \n }\n\n @HostListener('mouseenter')\n onMouseEnter(): void {\n if(isMobile()) return;\n\n this.initializeTooltip();\n }\n\n @HostListener('mouseleave')\n onMouseLeave(): void {\n if(isMobile()) return;\n\n this.setHideTooltipTimeout();\n }\n\n // @HostListener(\"window:scroll\", [])\n // onWindowScroll() {\n // console.log('scroll');\n // this.setHideTooltipTimeout();\n // }\n\n // @HostListener('window:scroll') onScroll(e: Event): void {\n // console.log((e.target as Element).scrollTop);\n // }\n\n // @HostListener('scroll') onScrollHost(e: Event): void {\n // console.log((e.target as Element).scrollTop);\n // }\n\n @HostListener('mousemove', ['$event'])\n onMouseMove($event: MouseEvent): void {\n if(isMobile()) return;\n\n if (this.componentRef !== null && this.position === 'dynamic') {\n this.componentRef.instance.left = $event.clientX;\n this.componentRef.instance.top = $event.clientY;\n this.componentRef.instance.tooltip = this.tooltip;\n this.componentRef.instance.tooltipIcon = this.tooltipIcon;\n this.componentRef.instance.tooltipClass = this.tooltipClass;\n }\n }\n\n @HostListener('touchstart', ['$event'])\n onTouchStart($event: TouchEvent): void {\n // Only triggered on mobile devices, no need to check device type\n \n window.clearTimeout(this.touchTimeout);\n this.touchTimeout = window.setTimeout(this.initializeTooltip.bind(this), 500);\n }\n\n @HostListener('touchend')\n onTouchEnd(): void {\n // Only triggered on mobile devices, no need to check device type\n\n window.clearTimeout(this.touchTimeout);\n this.setHideTooltipTimeout();\n }\n\n private initializeTooltip() {\n if (this.componentRef === null) {\n window.clearInterval(this.hideDelay);\n\n if (this.tooltip) {\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(SdsTooltipComponent);\n this.componentRef = componentFactory.create(this.injector);\n\n this.appRef.attachView(this.componentRef.hostView);\n const [tooltipDOMElement] = (this.componentRef.hostView as EmbeddedViewRef<any>).rootNodes;\n\n this.setTooltipComponentProperties();\n\n document.body.appendChild(tooltipDOMElement);\n this.showTimeout = window.setTimeout(this.showTooltip.bind(this), this.showDelay);\n }\n }\n }\n\n private setTooltipComponentProperties() {\n if (this.componentRef !== null) {\n this.componentRef.instance.tooltip = this.tooltip;\n this.componentRef.instance.tooltipIcon = this.tooltipIcon;\n this.componentRef.instance.tooltipClass = this.tooltipClass;\n this.componentRef.instance.position = this.position;\n this.componentRef.instance.theme = this.theme;\n\n const { left, right, top, bottom } = this.elementRef.nativeElement.getBoundingClientRect();\n\n switch (this.position) {\n case 'below': {\n this.componentRef.instance.left = Math.round((right - left) / 2 + left);\n this.componentRef.instance.top = Math.round(bottom);\n break;\n }\n case 'above': {\n this.componentRef.instance.left = Math.round((right - left) / 2 + left);\n this.componentRef.instance.top = Math.round(top);\n break;\n }\n case 'right': {\n this.componentRef.instance.left = Math.round(right);\n this.componentRef.instance.top = Math.round(top + (bottom - top) / 2);\n break;\n }\n case 'left': {\n this.componentRef.instance.left = Math.round(left);\n this.componentRef.instance.top = Math.round(top + (bottom - top) / 2);\n break;\n }\n default: {\n break;\n }\n }\n }\n }\n\n private showTooltip() {\n if (this.tooltip && this.componentRef !== null) {\n this.componentRef.instance.visible = true;\n }\n }\n\n private setHideTooltipTimeout() {\n this.hideTimeout = window.setTimeout(this.destroy.bind(this), this.hideDelay);\n }\n\n ngOnDestroy(): void {\n this.destroy();\n }\n\n destroy(): void {\n if (this.componentRef !== null) {\n window.clearInterval(this.showTimeout);\n window.clearInterval(this.hideDelay);\n this.appRef.detachView(this.componentRef.hostView);\n this.componentRef.destroy();\n this.componentRef = null;\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAgBa,mBAAmB,CAAA;AAe5B,IAAA,WAAA,GAAA;QAbO,IAAO,CAAA,OAAA,GAAW,EAAE;QACpB,IAAI,CAAA,IAAA,GAAW,CAAC;QAChB,IAAG,CAAA,GAAA,GAAW,CAAC;QACf,IAAO,CAAA,OAAA,GAAY,KAAK;QAKxB,IAAQ,CAAA,QAAA,GAAoB,OAAO;QACnC,IAAK,CAAA,KAAA,GAAiB,MAAM;;AAMnC,IAAA,QAAQ;+GAjBC,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA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,EAAA,WAAA,EAAA,qBAAA,EAAA,YAAA,EAAA,sBAAA,EAAA,UAAA,EAAA,cAAA,EAAA,EAAA,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,cAAc;AACxB,oBAAA,UAAU,EAAE,IAAI;AACnB,iBAAA;0KAEY,OAAO,EAAA,CAAA;sBAAf;gBACQ,YAAY,EAAA,CAAA;sBAApB;gBACQ,WAAW,EAAA,CAAA;sBAAnB;gBACQ,QAAQ,EAAA,CAAA;sBAAhB;gBACQ,KAAK,EAAA,CAAA;sBAAb;gBACQ,SAAS,EAAA,CAAA;sBAAjB;gBACQ,SAAS,EAAA,CAAA;sBAAjB;gBA0CD,YAAY,EAAA,CAAA;sBADX,YAAY;uBAAC,YAAY;gBAQ1B,YAAY,EAAA,CAAA;sBADX,YAAY;uBAAC,YAAY;gBAsB1B,WAAW,EAAA,CAAA;sBADV,YAAY;uBAAC,WAAW,EAAE,CAAC,QAAQ,CAAC;gBAcrC,YAAY,EAAA,CAAA;sBADX,YAAY;uBAAC,YAAY,EAAE,CAAC,QAAQ,CAAC;gBAStC,UAAU,EAAA,CAAA;sBADT,YAAY;uBAAC,UAAU;;;ACzH5B;;AAEG;;;;"}
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/spicainternational-ngx-sds-components-src-lib-tooltip.ts"],"sourcesContent":["import { Component, OnInit } from '@angular/core';\nimport { TooltipPosition, TooltipTheme } from '../tooltip.types';\nimport { IconProp } from '@fortawesome/fontawesome-svg-core';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { NgClass, NgIf } from '@angular/common';\n\n@Component({\n templateUrl: './tooltip.component.html',\n styleUrls: ['./tooltip.component.scss'],\n imports: [\n NgClass,\n NgIf,\n FaIconComponent,\n ]\n})\nexport class SdsTooltipComponent implements OnInit {\n\n public tooltip: string = '';\n public left: number = 0;\n public top: number = 0;\n public visible: boolean = false;\n\n public tooltipIcon?: IconProp;\n public tooltipClass?: string;\n\n public position: TooltipPosition = 'above';\n public theme: TooltipTheme = 'dark';\n\n\n\n constructor() {}\n\n ngOnInit(): void {}\n}\n","<div class=\"sds-tooltip\"\n [ngClass]=\"['sds-tooltip-' + position, 'sds-tooltip-' + theme, tooltipClass]\"\n [class.sds-tooltip-visible]=\"visible\"\n [style.left.px]=\"left\"\n [style.top.px]=\"top\"\n >\n <fa-icon class=\"sds-tooltip-icon\"\n *ngIf=\"tooltipIcon\" \n [icon]=\"tooltipIcon\">\n </fa-icon>\n\n <small class=\"sds-tooltip-text\">\n {{ tooltip }}\n </small>\n\n</div>\n","/**\n * Check if device is mobile phone or tablet\n * {@link https://stackoverflow.com/a/11381730 | [SO] Detecting a mobile browser }\n */\nexport const isMobile = function() {\n let check = false;\n (function(a){\n if(\n // RegExp for mobile devices\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\n // preform regex check\n .test(a.substr(0,4))\n ) \n check = true;\n })(navigator.userAgent||navigator.vendor||(window as any).opera);\n return check;\n };\n ","import {\n ApplicationRef,\n ComponentFactoryResolver,\n ComponentRef,\n Directive,\n ElementRef,\n EmbeddedViewRef,\n HostListener,\n Injector,\n Input,\n OnChanges,\n Renderer2,\n SimpleChanges,\n ViewContainerRef,\n} from '@angular/core';\nimport { SdsTooltipComponent } from './components/tooltip.component';\nimport { TooltipPosition, TooltipTheme } from './tooltip.types';\nimport { IconProp } from '@fortawesome/fontawesome-svg-core';\nimport { isMobile } from './utils';\n\n@Directive({\n selector: '[sdsTooltip]',\n standalone: true,\n})\nexport class SdsTooltipDirective implements OnChanges {\n @Input() tooltip = '';\n @Input() tooltipClass = '';\n @Input() tooltipIcon?: IconProp;\n @Input() position: TooltipPosition = 'above';\n @Input() theme: TooltipTheme = 'dark';\n @Input() showDelay = 0;\n @Input() hideDelay = 0;\n\n private componentRef: ComponentRef<any> | null = null;\n private showTimeout?: number;\n private hideTimeout?: number;\n private touchTimeout?: number;\n\n\n constructor(\n private elementRef: ElementRef,\n private appRef: ApplicationRef,\n private componentFactoryResolver: ComponentFactoryResolver,\n // private viewContainerRef: ViewContainerRef,\n private injector: Injector,\n // private renderer2: Renderer2\n ) {\n // this.renderer2.listen('window', 'scroll', (_) => {\n // console.log('scroll');\n // this.setHideTooltipTimeout();\n // });\n }\n ngOnChanges(changes: SimpleChanges): void {\n if (changes['tooltip']) {\n if (this.componentRef !== null) {\n this.componentRef.instance.tooltip = this.tooltip;\n } \n }\n\n if (changes['tooltipIcon']) {\n if (this.componentRef !== null) {\n this.componentRef.instance.tooltipIcon = this.tooltipIcon;\n } \n } \n \n if (changes['tooltipClass']) {\n if (this.componentRef !== null) {\n this.componentRef.instance.tooltipClass = this.tooltipClass;\n } \n } \n }\n\n @HostListener('mouseenter')\n onMouseEnter(): void {\n if(isMobile()) return;\n\n this.initializeTooltip();\n }\n\n @HostListener('mouseleave')\n onMouseLeave(): void {\n if(isMobile()) return;\n\n this.setHideTooltipTimeout();\n }\n\n // @HostListener(\"window:scroll\", [])\n // onWindowScroll() {\n // console.log('scroll');\n // this.setHideTooltipTimeout();\n // }\n\n // @HostListener('window:scroll') onScroll(e: Event): void {\n // console.log((e.target as Element).scrollTop);\n // }\n\n // @HostListener('scroll') onScrollHost(e: Event): void {\n // console.log((e.target as Element).scrollTop);\n // }\n\n @HostListener('mousemove', ['$event'])\n onMouseMove($event: MouseEvent): void {\n if(isMobile()) return;\n\n if (this.componentRef !== null && this.position === 'dynamic') {\n this.componentRef.instance.left = $event.clientX;\n this.componentRef.instance.top = $event.clientY;\n this.componentRef.instance.tooltip = this.tooltip;\n this.componentRef.instance.tooltipIcon = this.tooltipIcon;\n this.componentRef.instance.tooltipClass = this.tooltipClass;\n }\n }\n\n @HostListener('touchstart', ['$event'])\n onTouchStart($event: TouchEvent): void {\n // Only triggered on mobile devices, no need to check device type\n \n window.clearTimeout(this.touchTimeout);\n this.touchTimeout = window.setTimeout(this.initializeTooltip.bind(this), 500);\n }\n\n @HostListener('touchend')\n onTouchEnd(): void {\n // Only triggered on mobile devices, no need to check device type\n\n window.clearTimeout(this.touchTimeout);\n this.setHideTooltipTimeout();\n }\n\n private initializeTooltip() {\n if (this.componentRef === null) {\n window.clearInterval(this.hideDelay);\n\n if (this.tooltip) {\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(SdsTooltipComponent);\n this.componentRef = componentFactory.create(this.injector);\n\n this.appRef.attachView(this.componentRef.hostView);\n const [tooltipDOMElement] = (this.componentRef.hostView as EmbeddedViewRef<any>).rootNodes;\n\n this.setTooltipComponentProperties();\n\n document.body.appendChild(tooltipDOMElement);\n this.showTimeout = window.setTimeout(this.showTooltip.bind(this), this.showDelay);\n }\n }\n }\n\n private setTooltipComponentProperties() {\n if (this.componentRef !== null) {\n this.componentRef.instance.tooltip = this.tooltip;\n this.componentRef.instance.tooltipIcon = this.tooltipIcon;\n this.componentRef.instance.tooltipClass = this.tooltipClass;\n this.componentRef.instance.position = this.position;\n this.componentRef.instance.theme = this.theme;\n\n const { left, right, top, bottom } = this.elementRef.nativeElement.getBoundingClientRect();\n\n switch (this.position) {\n case 'below': {\n this.componentRef.instance.left = Math.round((right - left) / 2 + left);\n this.componentRef.instance.top = Math.round(bottom);\n break;\n }\n case 'above': {\n this.componentRef.instance.left = Math.round((right - left) / 2 + left);\n this.componentRef.instance.top = Math.round(top);\n break;\n }\n case 'right': {\n this.componentRef.instance.left = Math.round(right);\n this.componentRef.instance.top = Math.round(top + (bottom - top) / 2);\n break;\n }\n case 'left': {\n this.componentRef.instance.left = Math.round(left);\n this.componentRef.instance.top = Math.round(top + (bottom - top) / 2);\n break;\n }\n default: {\n break;\n }\n }\n }\n }\n\n private showTooltip() {\n if (this.tooltip && this.componentRef !== null) {\n this.componentRef.instance.visible = true;\n }\n }\n\n private setHideTooltipTimeout() {\n this.hideTimeout = window.setTimeout(this.destroy.bind(this), this.hideDelay);\n }\n\n ngOnDestroy(): void {\n this.destroy();\n }\n\n destroy(): void {\n if (this.componentRef !== null) {\n window.clearInterval(this.showTimeout);\n window.clearInterval(this.hideDelay);\n this.appRef.detachView(this.componentRef.hostView);\n this.componentRef.destroy();\n this.componentRef = null;\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAea,mBAAmB,CAAA;AAe5B,IAAA,WAAA,GAAA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ngx-sds-components-src-lib-utils-date-time.mjs","sources":["../../../projects/ngx-sds-components/src/lib/utils/date-time/intl-date-time-format-options-presets.ts","../../../projects/ngx-sds-components/src/lib/utils/date-time/date-time-format.function.ts","../../../projects/ngx-sds-components/src/lib/utils/date-time/spicainternational-ngx-sds-components-src-lib-utils-date-time.ts"],"sourcesContent":["export type IntlDateTimeFormatOptionPresetType = \n 'time' | \n 'time-with-seconds' | \n 'date' | \n 'date-with-month-name' | \n 'date-time';\n\nexport const INTL_DATE_TIME_FORMAT_OPTIONS_PRESETS: { [Key in IntlDateTimeFormatOptionPresetType]: Intl.DateTimeFormatOptions } = {\n 'time': {\n hour: 'numeric',\n minute: '2-digit'\n },\n 'time-with-seconds': {\n hour: 'numeric',\n minute: '2-digit',\n second: '2-digit'\n },\n 'date': {\n day: 'numeric',\n month: 'numeric',\n year: 'numeric'\n },\n 'date-with-month-name': {\n day: 'numeric',\n month: 'long',\n year: 'numeric'\n },\n 'date-time': {\n day: 'numeric',\n month: 'numeric',\n year: 'numeric',\n hour: 'numeric',\n minute: '2-digit'\n }\n};","import {\n INTL_DATE_TIME_FORMAT_OPTIONS_PRESETS,\n IntlDateTimeFormatOptionPresetType,\n} from './intl-date-time-format-options-presets';\n\nexport const formatDateTime = (\n date: Date | number | string | undefined,\n locales: string | Array<string>,\n options?: Intl.DateTimeFormatOptions | IntlDateTimeFormatOptionPresetType\n): string => {\n if (date === null || date === undefined) {\n return '';\n }\n\n const formatDate = new Date(date);\n if (formatDate.toString() == 'Invalid Date') {\n return '';\n }\n\n if (typeof options === 'string') {\n return formatDate.toLocaleDateString(\n locales,\n INTL_DATE_TIME_FORMAT_OPTIONS_PRESETS[options]\n );\n }\n\n return formatDate.toLocaleDateString(\n locales,\n options as Intl.DateTimeFormatOptions | undefined\n );\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAOa,MAAA,qCAAqC,GAAgF;AAC9H,IAAA,MAAM,EAAE;AACJ,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,MAAM,EAAE;AACX,KAAA;AACD,IAAA,mBAAmB,EAAE;AACjB,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,MAAM,EAAE,SAAS;AACjB,QAAA,MAAM,EAAE;AACX,KAAA;AACD,IAAA,MAAM,EAAE;AACJ,QAAA,GAAG,EAAE,SAAS;AACd,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,IAAI,EAAE;AACT,KAAA;AACD,IAAA,sBAAsB,EAAE;AACpB,QAAA,GAAG,EAAE,SAAS;AACd,QAAA,KAAK,EAAE,MAAM;AACb,QAAA,IAAI,EAAE;AACT,KAAA;AACD,IAAA,WAAW,EAAE;AACT,QAAA,GAAG,EAAE,SAAS;AACd,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,MAAM,EAAE;AACX;;;AC5BQ,MAAA,cAAc,GAAG,CAC1B,IAAwC,EACxC,OAA+B,EAC/B,OAAyE,KACjE;IACR,IAAI,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,SAAS,EAAE;AACrC,QAAA,OAAO,EAAE;;AAGb,IAAA,MAAM,UAAU,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC;AACjC,IAAA,IAAI,UAAU,CAAC,QAAQ,EAAE,IAAI,cAAc,EAAE;AACzC,QAAA,OAAO,EAAE;;AAGb,IAAA,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;QAC7B,OAAO,UAAU,CAAC,kBAAkB,CAChC,OAAO,EACP,qCAAqC,CAAC,OAAO,CAAC,CACjD;;IAGL,OAAO,UAAU,CAAC,kBAAkB,CAChC,OAAO,EACP,OAAiD,CACpD;AACL;;AC9BA;;AAEG;;;;"}
1
+ {"version":3,"file":"spicainternational-ngx-sds-components-src-lib-utils-date-time.mjs","sources":["../../../projects/ngx-sds-components/src/lib/utils/date-time/intl-date-time-format-options-presets.ts","../../../projects/ngx-sds-components/src/lib/utils/date-time/date-time-format.function.ts","../../../projects/ngx-sds-components/src/lib/utils/date-time/spicainternational-ngx-sds-components-src-lib-utils-date-time.ts"],"sourcesContent":["export type IntlDateTimeFormatOptionPresetType = \n 'time' | \n 'time-with-seconds' | \n 'date' | \n 'date-with-month-name' | \n 'date-time';\n\nexport const INTL_DATE_TIME_FORMAT_OPTIONS_PRESETS: { [Key in IntlDateTimeFormatOptionPresetType]: Intl.DateTimeFormatOptions } = {\n 'time': {\n hour: 'numeric',\n minute: '2-digit'\n },\n 'time-with-seconds': {\n hour: 'numeric',\n minute: '2-digit',\n second: '2-digit'\n },\n 'date': {\n day: 'numeric',\n month: 'numeric',\n year: 'numeric'\n },\n 'date-with-month-name': {\n day: 'numeric',\n month: 'long',\n year: 'numeric'\n },\n 'date-time': {\n day: 'numeric',\n month: 'numeric',\n year: 'numeric',\n hour: 'numeric',\n minute: '2-digit'\n }\n};","import {\n INTL_DATE_TIME_FORMAT_OPTIONS_PRESETS,\n IntlDateTimeFormatOptionPresetType,\n} from './intl-date-time-format-options-presets';\n\nexport const formatDateTime = (\n date: Date | number | string | undefined,\n locales: string | Array<string>,\n options?: Intl.DateTimeFormatOptions | IntlDateTimeFormatOptionPresetType\n): string => {\n if (date === null || date === undefined) {\n return '';\n }\n\n const formatDate = new Date(date);\n if (formatDate.toString() == 'Invalid Date') {\n return '';\n }\n\n if (typeof options === 'string') {\n return formatDate.toLocaleDateString(\n locales,\n INTL_DATE_TIME_FORMAT_OPTIONS_PRESETS[options]\n );\n }\n\n return formatDate.toLocaleDateString(\n locales,\n options as Intl.DateTimeFormatOptions | undefined\n );\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAOO,MAAM,qCAAqC,GAAgF;AAC9H,IAAA,MAAM,EAAE;AACJ,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,MAAM,EAAE;AACX,KAAA;AACD,IAAA,mBAAmB,EAAE;AACjB,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,MAAM,EAAE,SAAS;AACjB,QAAA,MAAM,EAAE;AACX,KAAA;AACD,IAAA,MAAM,EAAE;AACJ,QAAA,GAAG,EAAE,SAAS;AACd,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,IAAI,EAAE;AACT,KAAA;AACD,IAAA,sBAAsB,EAAE;AACpB,QAAA,GAAG,EAAE,SAAS;AACd,QAAA,KAAK,EAAE,MAAM;AACb,QAAA,IAAI,EAAE;AACT,KAAA;AACD,IAAA,WAAW,EAAE;AACT,QAAA,GAAG,EAAE,SAAS;AACd,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,MAAM,EAAE;AACX;;;AC5BE,MAAM,cAAc,GAAG,CAC1B,IAAwC,EACxC,OAA+B,EAC/B,OAAyE,KACjE;IACR,IAAI,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,SAAS,EAAE;AACrC,QAAA,OAAO,EAAE;IACb;AAEA,IAAA,MAAM,UAAU,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC;AACjC,IAAA,IAAI,UAAU,CAAC,QAAQ,EAAE,IAAI,cAAc,EAAE;AACzC,QAAA,OAAO,EAAE;IACb;AAEA,IAAA,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;QAC7B,OAAO,UAAU,CAAC,kBAAkB,CAChC,OAAO,EACP,qCAAqC,CAAC,OAAO,CAAC,CACjD;IACL;IAEA,OAAO,UAAU,CAAC,kBAAkB,CAChC,OAAO,EACP,OAAiD,CACpD;AACL;;AC9BA;;AAEG;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"spicainternational-ngx-sds-components-src-lib-utils.mjs","sources":["../../../projects/ngx-sds-components/src/lib/utils/date-time/intl-date-time-format-options-presets.ts","../../../projects/ngx-sds-components/src/lib/utils/date-time/date-time-format.function.ts","../../../projects/ngx-sds-components/src/lib/utils/spicainternational-ngx-sds-components-src-lib-utils.ts"],"sourcesContent":["export type IntlDateTimeFormatOptionPresetType = \n 'time' | \n 'time-with-seconds' | \n 'date' | \n 'date-with-month-name' | \n 'date-time';\n\nexport const INTL_DATE_TIME_FORMAT_OPTIONS_PRESETS: { [Key in IntlDateTimeFormatOptionPresetType]: Intl.DateTimeFormatOptions } = {\n 'time': {\n hour: 'numeric',\n minute: '2-digit'\n },\n 'time-with-seconds': {\n hour: 'numeric',\n minute: '2-digit',\n second: '2-digit'\n },\n 'date': {\n day: 'numeric',\n month: 'numeric',\n year: 'numeric'\n },\n 'date-with-month-name': {\n day: 'numeric',\n month: 'long',\n year: 'numeric'\n },\n 'date-time': {\n day: 'numeric',\n month: 'numeric',\n year: 'numeric',\n hour: 'numeric',\n minute: '2-digit'\n }\n};","import {\n INTL_DATE_TIME_FORMAT_OPTIONS_PRESETS,\n IntlDateTimeFormatOptionPresetType,\n} from './intl-date-time-format-options-presets';\n\nexport const formatDateTime = (\n date: Date | number | string | undefined,\n locales: string | Array<string>,\n options?: Intl.DateTimeFormatOptions | IntlDateTimeFormatOptionPresetType\n): string => {\n if (date === null || date === undefined) {\n return '';\n }\n\n const formatDate = new Date(date);\n if (formatDate.toString() == 'Invalid Date') {\n return '';\n }\n\n if (typeof options === 'string') {\n return formatDate.toLocaleDateString(\n locales,\n INTL_DATE_TIME_FORMAT_OPTIONS_PRESETS[options]\n );\n }\n\n return formatDate.toLocaleDateString(\n locales,\n options as Intl.DateTimeFormatOptions | undefined\n );\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAOa,MAAA,qCAAqC,GAAgF;AAC9H,IAAA,MAAM,EAAE;AACJ,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,MAAM,EAAE;AACX,KAAA;AACD,IAAA,mBAAmB,EAAE;AACjB,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,MAAM,EAAE,SAAS;AACjB,QAAA,MAAM,EAAE;AACX,KAAA;AACD,IAAA,MAAM,EAAE;AACJ,QAAA,GAAG,EAAE,SAAS;AACd,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,IAAI,EAAE;AACT,KAAA;AACD,IAAA,sBAAsB,EAAE;AACpB,QAAA,GAAG,EAAE,SAAS;AACd,QAAA,KAAK,EAAE,MAAM;AACb,QAAA,IAAI,EAAE;AACT,KAAA;AACD,IAAA,WAAW,EAAE;AACT,QAAA,GAAG,EAAE,SAAS;AACd,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,MAAM,EAAE;AACX;;;AC5BQ,MAAA,cAAc,GAAG,CAC1B,IAAwC,EACxC,OAA+B,EAC/B,OAAyE,KACjE;IACR,IAAI,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,SAAS,EAAE;AACrC,QAAA,OAAO,EAAE;;AAGb,IAAA,MAAM,UAAU,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC;AACjC,IAAA,IAAI,UAAU,CAAC,QAAQ,EAAE,IAAI,cAAc,EAAE;AACzC,QAAA,OAAO,EAAE;;AAGb,IAAA,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;QAC7B,OAAO,UAAU,CAAC,kBAAkB,CAChC,OAAO,EACP,qCAAqC,CAAC,OAAO,CAAC,CACjD;;IAGL,OAAO,UAAU,CAAC,kBAAkB,CAChC,OAAO,EACP,OAAiD,CACpD;AACL;;AC9BA;;AAEG;;;;"}
1
+ {"version":3,"file":"spicainternational-ngx-sds-components-src-lib-utils.mjs","sources":["../../../projects/ngx-sds-components/src/lib/utils/date-time/intl-date-time-format-options-presets.ts","../../../projects/ngx-sds-components/src/lib/utils/date-time/date-time-format.function.ts","../../../projects/ngx-sds-components/src/lib/utils/spicainternational-ngx-sds-components-src-lib-utils.ts"],"sourcesContent":["export type IntlDateTimeFormatOptionPresetType = \n 'time' | \n 'time-with-seconds' | \n 'date' | \n 'date-with-month-name' | \n 'date-time';\n\nexport const INTL_DATE_TIME_FORMAT_OPTIONS_PRESETS: { [Key in IntlDateTimeFormatOptionPresetType]: Intl.DateTimeFormatOptions } = {\n 'time': {\n hour: 'numeric',\n minute: '2-digit'\n },\n 'time-with-seconds': {\n hour: 'numeric',\n minute: '2-digit',\n second: '2-digit'\n },\n 'date': {\n day: 'numeric',\n month: 'numeric',\n year: 'numeric'\n },\n 'date-with-month-name': {\n day: 'numeric',\n month: 'long',\n year: 'numeric'\n },\n 'date-time': {\n day: 'numeric',\n month: 'numeric',\n year: 'numeric',\n hour: 'numeric',\n minute: '2-digit'\n }\n};","import {\n INTL_DATE_TIME_FORMAT_OPTIONS_PRESETS,\n IntlDateTimeFormatOptionPresetType,\n} from './intl-date-time-format-options-presets';\n\nexport const formatDateTime = (\n date: Date | number | string | undefined,\n locales: string | Array<string>,\n options?: Intl.DateTimeFormatOptions | IntlDateTimeFormatOptionPresetType\n): string => {\n if (date === null || date === undefined) {\n return '';\n }\n\n const formatDate = new Date(date);\n if (formatDate.toString() == 'Invalid Date') {\n return '';\n }\n\n if (typeof options === 'string') {\n return formatDate.toLocaleDateString(\n locales,\n INTL_DATE_TIME_FORMAT_OPTIONS_PRESETS[options]\n );\n }\n\n return formatDate.toLocaleDateString(\n locales,\n options as Intl.DateTimeFormatOptions | undefined\n );\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAOO,MAAM,qCAAqC,GAAgF;AAC9H,IAAA,MAAM,EAAE;AACJ,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,MAAM,EAAE;AACX,KAAA;AACD,IAAA,mBAAmB,EAAE;AACjB,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,MAAM,EAAE,SAAS;AACjB,QAAA,MAAM,EAAE;AACX,KAAA;AACD,IAAA,MAAM,EAAE;AACJ,QAAA,GAAG,EAAE,SAAS;AACd,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,IAAI,EAAE;AACT,KAAA;AACD,IAAA,sBAAsB,EAAE;AACpB,QAAA,GAAG,EAAE,SAAS;AACd,QAAA,KAAK,EAAE,MAAM;AACb,QAAA,IAAI,EAAE;AACT,KAAA;AACD,IAAA,WAAW,EAAE;AACT,QAAA,GAAG,EAAE,SAAS;AACd,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,MAAM,EAAE;AACX;;;AC5BE,MAAM,cAAc,GAAG,CAC1B,IAAwC,EACxC,OAA+B,EAC/B,OAAyE,KACjE;IACR,IAAI,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,SAAS,EAAE;AACrC,QAAA,OAAO,EAAE;IACb;AAEA,IAAA,MAAM,UAAU,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC;AACjC,IAAA,IAAI,UAAU,CAAC,QAAQ,EAAE,IAAI,cAAc,EAAE;AACzC,QAAA,OAAO,EAAE;IACb;AAEA,IAAA,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;QAC7B,OAAO,UAAU,CAAC,kBAAkB,CAChC,OAAO,EACP,qCAAqC,CAAC,OAAO,CAAC,CACjD;IACL;IAEA,OAAO,UAAU,CAAC,kBAAkB,CAChC,OAAO,EACP,OAAiD,CACpD;AACL;;AC9BA;;AAEG;;"}
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@spicainternational/ngx-sds-components",
3
- "version": "8.8.1",
3
+ "version": "9.0.0",
4
4
  "license": "MIT",
5
5
  "description": "Spica design system angular components.",
6
6
  "type": "module",
7
7
  "sideEffects": false,
8
8
  "peerDependencies": {
9
- "@angular/common": ">=17.0.0",
10
- "@angular/core": ">=17.0.0",
11
- "@angular/cdk": ">=17.0.0",
12
- "@fortawesome/fontawesome-common-types": "^6",
13
- "@fortawesome/angular-fontawesome": ">=0.14.0",
14
- "@fortawesome/fontawesome-svg-core": ">=6",
15
- "@fortawesome/pro-light-svg-icons": ">=6",
16
- "@fortawesome/pro-regular-svg-icons": ">=6",
17
- "@fortawesome/pro-solid-svg-icons": ">=6",
9
+ "@angular/common": ">=21.0.0",
10
+ "@angular/core": ">=21.0.0",
11
+ "@angular/cdk": ">=21.0.0",
12
+ "@fortawesome/fontawesome-common-types": ">=7",
13
+ "@fortawesome/angular-fontawesome": ">=4.0.0",
14
+ "@fortawesome/fontawesome-svg-core": ">=7",
15
+ "@fortawesome/pro-light-svg-icons": ">=7",
16
+ "@fortawesome/pro-regular-svg-icons": ">=7",
17
+ "@fortawesome/pro-solid-svg-icons": ">=7",
18
18
  "@spicainternational/sds-bootstrap": ">=5",
19
19
  "@spicainternational/sds-core": ">=5",
20
20
  "devextreme": "~24.2.0",
@@ -25,213 +25,145 @@
25
25
  "tslib": "^2.3.0"
26
26
  },
27
27
  "module": "fesm2022/spicainternational-ngx-sds-components.mjs",
28
- "typings": "index.d.ts",
28
+ "typings": "types/spicainternational-ngx-sds-components.d.ts",
29
29
  "exports": {
30
30
  "./package.json": {
31
31
  "default": "./package.json"
32
32
  },
33
33
  ".": {
34
- "types": "./index.d.ts",
35
- "esm2022": "./esm2022/spicainternational-ngx-sds-components.mjs",
36
- "esm": "./esm2022/spicainternational-ngx-sds-components.mjs",
34
+ "types": "./types/spicainternational-ngx-sds-components.d.ts",
37
35
  "default": "./fesm2022/spicainternational-ngx-sds-components.mjs"
38
36
  },
39
37
  "./src/lib/app-switcher": {
40
- "types": "./src/lib/app-switcher/index.d.ts",
41
- "esm2022": "./esm2022/src/lib/app-switcher/spicainternational-ngx-sds-components-src-lib-app-switcher.mjs",
42
- "esm": "./esm2022/src/lib/app-switcher/spicainternational-ngx-sds-components-src-lib-app-switcher.mjs",
38
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-app-switcher.d.ts",
43
39
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-app-switcher.mjs"
44
40
  },
45
41
  "./src/lib/avatar": {
46
- "types": "./src/lib/avatar/index.d.ts",
47
- "esm2022": "./esm2022/src/lib/avatar/spicainternational-ngx-sds-components-src-lib-avatar.mjs",
48
- "esm": "./esm2022/src/lib/avatar/spicainternational-ngx-sds-components-src-lib-avatar.mjs",
42
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-avatar.d.ts",
49
43
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-avatar.mjs"
50
44
  },
51
45
  "./src/lib/badge": {
52
- "types": "./src/lib/badge/index.d.ts",
53
- "esm2022": "./esm2022/src/lib/badge/spicainternational-ngx-sds-components-src-lib-badge.mjs",
54
- "esm": "./esm2022/src/lib/badge/spicainternational-ngx-sds-components-src-lib-badge.mjs",
46
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-badge.d.ts",
55
47
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-badge.mjs"
56
48
  },
57
49
  "./src/lib/callout": {
58
- "types": "./src/lib/callout/index.d.ts",
59
- "esm2022": "./esm2022/src/lib/callout/spicainternational-ngx-sds-components-src-lib-callout.mjs",
60
- "esm": "./esm2022/src/lib/callout/spicainternational-ngx-sds-components-src-lib-callout.mjs",
50
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-callout.d.ts",
61
51
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-callout.mjs"
62
52
  },
63
53
  "./src/lib/color-picker": {
64
- "types": "./src/lib/color-picker/index.d.ts",
65
- "esm2022": "./esm2022/src/lib/color-picker/spicainternational-ngx-sds-components-src-lib-color-picker.mjs",
66
- "esm": "./esm2022/src/lib/color-picker/spicainternational-ngx-sds-components-src-lib-color-picker.mjs",
54
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-color-picker.d.ts",
67
55
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-color-picker.mjs"
68
56
  },
69
57
  "./src/lib/date-picker": {
70
- "types": "./src/lib/date-picker/index.d.ts",
71
- "esm2022": "./esm2022/src/lib/date-picker/spicainternational-ngx-sds-components-src-lib-date-picker.mjs",
72
- "esm": "./esm2022/src/lib/date-picker/spicainternational-ngx-sds-components-src-lib-date-picker.mjs",
58
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-date-picker.d.ts",
73
59
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-date-picker.mjs"
74
60
  },
75
61
  "./src/lib/date-pipes": {
76
- "types": "./src/lib/date-pipes/index.d.ts",
77
- "esm2022": "./esm2022/src/lib/date-pipes/spicainternational-ngx-sds-components-src-lib-date-pipes.mjs",
78
- "esm": "./esm2022/src/lib/date-pipes/spicainternational-ngx-sds-components-src-lib-date-pipes.mjs",
62
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-date-pipes.d.ts",
79
63
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-date-pipes.mjs"
80
64
  },
81
65
  "./src/lib/drawer": {
82
- "types": "./src/lib/drawer/index.d.ts",
83
- "esm2022": "./esm2022/src/lib/drawer/spicainternational-ngx-sds-components-src-lib-drawer.mjs",
84
- "esm": "./esm2022/src/lib/drawer/spicainternational-ngx-sds-components-src-lib-drawer.mjs",
66
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-drawer.d.ts",
85
67
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-drawer.mjs"
86
68
  },
87
69
  "./src/lib/duration-box": {
88
- "types": "./src/lib/duration-box/index.d.ts",
89
- "esm2022": "./esm2022/src/lib/duration-box/spicainternational-ngx-sds-components-src-lib-duration-box.mjs",
90
- "esm": "./esm2022/src/lib/duration-box/spicainternational-ngx-sds-components-src-lib-duration-box.mjs",
70
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-duration-box.d.ts",
91
71
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-duration-box.mjs"
92
72
  },
93
73
  "./src/lib/duration-pipe": {
94
- "types": "./src/lib/duration-pipe/index.d.ts",
95
- "esm2022": "./esm2022/src/lib/duration-pipe/spicainternational-ngx-sds-components-src-lib-duration-pipe.mjs",
96
- "esm": "./esm2022/src/lib/duration-pipe/spicainternational-ngx-sds-components-src-lib-duration-pipe.mjs",
74
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-duration-pipe.d.ts",
97
75
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-duration-pipe.mjs"
98
76
  },
99
77
  "./src/lib/ellipsis": {
100
- "types": "./src/lib/ellipsis/index.d.ts",
101
- "esm2022": "./esm2022/src/lib/ellipsis/spicainternational-ngx-sds-components-src-lib-ellipsis.mjs",
102
- "esm": "./esm2022/src/lib/ellipsis/spicainternational-ngx-sds-components-src-lib-ellipsis.mjs",
78
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-ellipsis.d.ts",
103
79
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-ellipsis.mjs"
104
80
  },
105
81
  "./src/lib/expansion-panel": {
106
- "types": "./src/lib/expansion-panel/index.d.ts",
107
- "esm2022": "./esm2022/src/lib/expansion-panel/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs",
108
- "esm": "./esm2022/src/lib/expansion-panel/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs",
82
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-expansion-panel.d.ts",
109
83
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs"
110
84
  },
111
85
  "./src/lib/highlight-text": {
112
- "types": "./src/lib/highlight-text/index.d.ts",
113
- "esm2022": "./esm2022/src/lib/highlight-text/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs",
114
- "esm": "./esm2022/src/lib/highlight-text/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs",
86
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-highlight-text.d.ts",
115
87
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs"
116
88
  },
117
89
  "./src/lib/intersection": {
118
- "types": "./src/lib/intersection/index.d.ts",
119
- "esm2022": "./esm2022/src/lib/intersection/spicainternational-ngx-sds-components-src-lib-intersection.mjs",
120
- "esm": "./esm2022/src/lib/intersection/spicainternational-ngx-sds-components-src-lib-intersection.mjs",
90
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-intersection.d.ts",
121
91
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-intersection.mjs"
122
92
  },
123
93
  "./src/lib/keyboard-shortcut": {
124
- "types": "./src/lib/keyboard-shortcut/index.d.ts",
125
- "esm2022": "./esm2022/src/lib/keyboard-shortcut/spicainternational-ngx-sds-components-src-lib-keyboard-shortcut.mjs",
126
- "esm": "./esm2022/src/lib/keyboard-shortcut/spicainternational-ngx-sds-components-src-lib-keyboard-shortcut.mjs",
94
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-keyboard-shortcut.d.ts",
127
95
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-keyboard-shortcut.mjs"
128
96
  },
129
97
  "./src/lib/layout": {
130
- "types": "./src/lib/layout/index.d.ts",
131
- "esm2022": "./esm2022/src/lib/layout/spicainternational-ngx-sds-components-src-lib-layout.mjs",
132
- "esm": "./esm2022/src/lib/layout/spicainternational-ngx-sds-components-src-lib-layout.mjs",
98
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-layout.d.ts",
133
99
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-layout.mjs"
134
100
  },
135
101
  "./src/lib/message": {
136
- "types": "./src/lib/message/index.d.ts",
137
- "esm2022": "./esm2022/src/lib/message/spicainternational-ngx-sds-components-src-lib-message.mjs",
138
- "esm": "./esm2022/src/lib/message/spicainternational-ngx-sds-components-src-lib-message.mjs",
102
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-message.d.ts",
139
103
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-message.mjs"
140
104
  },
141
105
  "./src/lib/modal": {
142
- "types": "./src/lib/modal/index.d.ts",
143
- "esm2022": "./esm2022/src/lib/modal/spicainternational-ngx-sds-components-src-lib-modal.mjs",
144
- "esm": "./esm2022/src/lib/modal/spicainternational-ngx-sds-components-src-lib-modal.mjs",
106
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-modal.d.ts",
145
107
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-modal.mjs"
146
108
  },
147
109
  "./src/lib/navigation": {
148
- "types": "./src/lib/navigation/index.d.ts",
149
- "esm2022": "./esm2022/src/lib/navigation/spicainternational-ngx-sds-components-src-lib-navigation.mjs",
150
- "esm": "./esm2022/src/lib/navigation/spicainternational-ngx-sds-components-src-lib-navigation.mjs",
110
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-navigation.d.ts",
151
111
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-navigation.mjs"
152
112
  },
153
113
  "./src/lib/number-box": {
154
- "types": "./src/lib/number-box/index.d.ts",
155
- "esm2022": "./esm2022/src/lib/number-box/spicainternational-ngx-sds-components-src-lib-number-box.mjs",
156
- "esm": "./esm2022/src/lib/number-box/spicainternational-ngx-sds-components-src-lib-number-box.mjs",
114
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-number-box.d.ts",
157
115
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-number-box.mjs"
158
116
  },
159
117
  "./src/lib/page-header": {
160
- "types": "./src/lib/page-header/index.d.ts",
161
- "esm2022": "./esm2022/src/lib/page-header/spicainternational-ngx-sds-components-src-lib-page-header.mjs",
162
- "esm": "./esm2022/src/lib/page-header/spicainternational-ngx-sds-components-src-lib-page-header.mjs",
118
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-page-header.d.ts",
163
119
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-page-header.mjs"
164
120
  },
165
121
  "./src/lib/pane": {
166
- "types": "./src/lib/pane/index.d.ts",
167
- "esm2022": "./esm2022/src/lib/pane/spicainternational-ngx-sds-components-src-lib-pane.mjs",
168
- "esm": "./esm2022/src/lib/pane/spicainternational-ngx-sds-components-src-lib-pane.mjs",
122
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-pane.d.ts",
169
123
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-pane.mjs"
170
124
  },
171
125
  "./src/lib/quick-info": {
172
- "types": "./src/lib/quick-info/index.d.ts",
173
- "esm2022": "./esm2022/src/lib/quick-info/spicainternational-ngx-sds-components-src-lib-quick-info.mjs",
174
- "esm": "./esm2022/src/lib/quick-info/spicainternational-ngx-sds-components-src-lib-quick-info.mjs",
126
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-quick-info.d.ts",
175
127
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-quick-info.mjs"
176
128
  },
177
129
  "./src/lib/ripple": {
178
- "types": "./src/lib/ripple/index.d.ts",
179
- "esm2022": "./esm2022/src/lib/ripple/spicainternational-ngx-sds-components-src-lib-ripple.mjs",
180
- "esm": "./esm2022/src/lib/ripple/spicainternational-ngx-sds-components-src-lib-ripple.mjs",
130
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-ripple.d.ts",
181
131
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-ripple.mjs"
182
132
  },
183
133
  "./src/lib/segmented-control": {
184
- "types": "./src/lib/segmented-control/index.d.ts",
185
- "esm2022": "./esm2022/src/lib/segmented-control/spicainternational-ngx-sds-components-src-lib-segmented-control.mjs",
186
- "esm": "./esm2022/src/lib/segmented-control/spicainternational-ngx-sds-components-src-lib-segmented-control.mjs",
134
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-segmented-control.d.ts",
187
135
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-segmented-control.mjs"
188
136
  },
189
137
  "./src/lib/side-bar": {
190
- "types": "./src/lib/side-bar/index.d.ts",
191
- "esm2022": "./esm2022/src/lib/side-bar/spicainternational-ngx-sds-components-src-lib-side-bar.mjs",
192
- "esm": "./esm2022/src/lib/side-bar/spicainternational-ngx-sds-components-src-lib-side-bar.mjs",
138
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-side-bar.d.ts",
193
139
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-side-bar.mjs"
194
140
  },
195
141
  "./src/lib/static-value": {
196
- "types": "./src/lib/static-value/index.d.ts",
197
- "esm2022": "./esm2022/src/lib/static-value/spicainternational-ngx-sds-components-src-lib-static-value.mjs",
198
- "esm": "./esm2022/src/lib/static-value/spicainternational-ngx-sds-components-src-lib-static-value.mjs",
142
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-static-value.d.ts",
199
143
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-static-value.mjs"
200
144
  },
201
145
  "./src/lib/table-actions": {
202
- "types": "./src/lib/table-actions/index.d.ts",
203
- "esm2022": "./esm2022/src/lib/table-actions/spicainternational-ngx-sds-components-src-lib-table-actions.mjs",
204
- "esm": "./esm2022/src/lib/table-actions/spicainternational-ngx-sds-components-src-lib-table-actions.mjs",
146
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-table-actions.d.ts",
205
147
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-table-actions.mjs"
206
148
  },
207
149
  "./src/lib/timeline": {
208
- "types": "./src/lib/timeline/index.d.ts",
209
- "esm2022": "./esm2022/src/lib/timeline/spicainternational-ngx-sds-components-src-lib-timeline.mjs",
210
- "esm": "./esm2022/src/lib/timeline/spicainternational-ngx-sds-components-src-lib-timeline.mjs",
150
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-timeline.d.ts",
211
151
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-timeline.mjs"
212
152
  },
213
153
  "./src/lib/timer": {
214
- "types": "./src/lib/timer/index.d.ts",
215
- "esm2022": "./esm2022/src/lib/timer/spicainternational-ngx-sds-components-src-lib-timer.mjs",
216
- "esm": "./esm2022/src/lib/timer/spicainternational-ngx-sds-components-src-lib-timer.mjs",
154
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-timer.d.ts",
217
155
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-timer.mjs"
218
156
  },
219
157
  "./src/lib/tooltip": {
220
- "types": "./src/lib/tooltip/index.d.ts",
221
- "esm2022": "./esm2022/src/lib/tooltip/spicainternational-ngx-sds-components-src-lib-tooltip.mjs",
222
- "esm": "./esm2022/src/lib/tooltip/spicainternational-ngx-sds-components-src-lib-tooltip.mjs",
158
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-tooltip.d.ts",
223
159
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-tooltip.mjs"
224
160
  },
225
161
  "./src/lib/utils": {
226
- "types": "./src/lib/utils/index.d.ts",
227
- "esm2022": "./esm2022/src/lib/utils/spicainternational-ngx-sds-components-src-lib-utils.mjs",
228
- "esm": "./esm2022/src/lib/utils/spicainternational-ngx-sds-components-src-lib-utils.mjs",
162
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-utils.d.ts",
229
163
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-utils.mjs"
230
164
  },
231
165
  "./src/lib/utils/date-time": {
232
- "types": "./src/lib/utils/date-time/index.d.ts",
233
- "esm2022": "./esm2022/src/lib/utils/date-time/spicainternational-ngx-sds-components-src-lib-utils-date-time.mjs",
234
- "esm": "./esm2022/src/lib/utils/date-time/spicainternational-ngx-sds-components-src-lib-utils-date-time.mjs",
166
+ "types": "./types/spicainternational-ngx-sds-components-src-lib-utils-date-time.d.ts",
235
167
  "default": "./fesm2022/spicainternational-ngx-sds-components-src-lib-utils-date-time.mjs"
236
168
  }
237
169
  }
@@ -1,7 +1,16 @@
1
- import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
- import { ProductModel } from './app-switcher.model';
3
- import * as i0 from "@angular/core";
4
- export declare class SdsAppSwitcherComponent implements OnInit, OnChanges, OnDestroy {
1
+ import * as i0 from '@angular/core';
2
+ import { OnInit, OnChanges, OnDestroy, EventEmitter, SimpleChanges } from '@angular/core';
3
+
4
+ interface ProductModel {
5
+ code: string;
6
+ name: string;
7
+ description?: string;
8
+ applicationUri: string;
9
+ logoUri: string;
10
+ hasTrial?: boolean;
11
+ }
12
+
13
+ declare class SdsAppSwitcherComponent implements OnInit, OnChanges, OnDestroy {
5
14
  private readonly _document;
6
15
  private popover?;
7
16
  productCode: string | undefined;
@@ -32,3 +41,6 @@ export declare class SdsAppSwitcherComponent implements OnInit, OnChanges, OnDes
32
41
  static ɵfac: i0.ɵɵFactoryDeclaration<SdsAppSwitcherComponent, never>;
33
42
  static ɵcmp: i0.ɵɵComponentDeclaration<SdsAppSwitcherComponent, "sds-app-switcher", never, { "productCode": { "alias": "productCode"; "required": false; }; "userProductCodes": { "alias": "userProductCodes"; "required": false; }; "tenantProducts": { "alias": "tenantProducts"; "required": false; }; "switchText": { "alias": "switchText"; "required": false; }; "discoverText": { "alias": "discoverText"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "productClick": "productClick"; }, never, never, true, never>;
34
43
  }
44
+
45
+ export { SdsAppSwitcherComponent };
46
+ export type { ProductModel };
@@ -1,5 +1,6 @@
1
- import { AfterViewInit, OnChanges, SimpleChanges } from '@angular/core';
2
- import * as i0 from "@angular/core";
1
+ import * as i0 from '@angular/core';
2
+ import { AfterViewInit, OnChanges, SimpleChanges, OnInit } from '@angular/core';
3
+
3
4
  /**
4
5
  * Class definition
5
6
  * @property {string} text - text that is parsed for initials. If showHint is set to true this text will be shown in hint
@@ -18,7 +19,7 @@ import * as i0 from "@angular/core";
18
19
  * @property {string} badgeTextColor - text color of badge
19
20
  * @property {string} badgeHint - hint text for badge
20
21
  */
21
- export declare class SdsAvatarComponent implements AfterViewInit, OnChanges {
22
+ declare class SdsAvatarComponent implements AfterViewInit, OnChanges {
22
23
  text?: string;
23
24
  colorKey?: string;
24
25
  pictureUri?: string;
@@ -54,3 +55,39 @@ export declare class SdsAvatarComponent implements AfterViewInit, OnChanges {
54
55
  static ɵfac: i0.ɵɵFactoryDeclaration<SdsAvatarComponent, never>;
55
56
  static ɵcmp: i0.ɵɵComponentDeclaration<SdsAvatarComponent, "sds-avatar", never, { "text": { "alias": "text"; "required": false; }; "colorKey": { "alias": "colorKey"; "required": false; }; "pictureUri": { "alias": "pictureUri"; "required": false; }; "showHint": { "alias": "showHint"; "required": false; }; "borderStyle": { "alias": "borderStyle"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "borderWidth": { "alias": "borderWidth"; "required": false; }; "initialsText": { "alias": "initialsText"; "required": false; }; "cursor": { "alias": "cursor"; "required": false; }; "size": { "alias": "size"; "required": false; }; "pictureImageAlt": { "alias": "pictureImageAlt"; "required": false; }; "pictureLoading": { "alias": "pictureLoading"; "required": false; }; "picturePriority": { "alias": "picturePriority"; "required": false; }; "badgeVisible": { "alias": "badgeVisible"; "required": false; }; "badgePosition": { "alias": "badgePosition"; "required": false; }; "badgeBackgroundColor": { "alias": "badgeBackgroundColor"; "required": false; }; "badgeTextColor": { "alias": "badgeTextColor"; "required": false; }; "badgeHint": { "alias": "badgeHint"; "required": false; }; }, {}, never, never, true, never>;
56
57
  }
58
+
59
+ interface AvatarModel {
60
+ text: string;
61
+ colorKey: string;
62
+ pictureUri?: string;
63
+ borderStyle?: 'solid' | 'dashed' | 'dotted' | 'none';
64
+ }
65
+
66
+ declare class SdsAvatarGroupComponent implements OnInit, OnChanges {
67
+ stacked: boolean;
68
+ max?: number;
69
+ size: number;
70
+ borderColor?: string;
71
+ avatars: Array<AvatarModel>;
72
+ dropdownContents: 'all' | 'overflow';
73
+ dropdownMaxHeight: string;
74
+ overflow: Array<AvatarModel>;
75
+ inflow: Array<AvatarModel>;
76
+ overflowCountDisplay: string;
77
+ overFlowBorderStyle: 'solid' | 'none';
78
+ overflowElementUUID: string;
79
+ showDropdown: boolean;
80
+ showOverflow: boolean;
81
+ dropdownTargetId: string;
82
+ dropdownInitiator?: AvatarModel;
83
+ constructor();
84
+ ngOnChanges(changes: SimpleChanges): void;
85
+ ngOnInit(): void;
86
+ onOverflowClicked(event: MouseEvent, index: number, avatar?: AvatarModel): void;
87
+ stopEventPropagation(event: MouseEvent): void;
88
+ static ɵfac: i0.ɵɵFactoryDeclaration<SdsAvatarGroupComponent, never>;
89
+ static ɵcmp: i0.ɵɵComponentDeclaration<SdsAvatarGroupComponent, "sds-avatar-group", never, { "stacked": { "alias": "stacked"; "required": false; }; "max": { "alias": "max"; "required": false; }; "size": { "alias": "size"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "avatars": { "alias": "avatars"; "required": false; }; "dropdownContents": { "alias": "dropdownContents"; "required": false; }; "dropdownMaxHeight": { "alias": "dropdownMaxHeight"; "required": false; }; }, {}, never, never, true, never>;
90
+ }
91
+
92
+ export { SdsAvatarComponent, SdsAvatarGroupComponent };
93
+ export type { AvatarModel };
@@ -1,7 +1,10 @@
1
- import { AfterViewInit, ApplicationRef, ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewContainerRef } from '@angular/core';
2
- import { BadgeSize, BadgeVariant } from './badge.types';
3
- import * as i0 from "@angular/core";
4
- export declare class SdsBadgeDirective implements OnInit, OnChanges, OnDestroy, AfterViewInit {
1
+ import * as i0 from '@angular/core';
2
+ import { OnInit, OnChanges, OnDestroy, AfterViewInit, ElementRef, ApplicationRef, ViewContainerRef, SimpleChanges } from '@angular/core';
3
+
4
+ type BadgeVariant = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info';
5
+ type BadgeSize = 'default' | 'small';
6
+
7
+ declare class SdsBadgeDirective implements OnInit, OnChanges, OnDestroy, AfterViewInit {
5
8
  private host;
6
9
  private appRef;
7
10
  private viewContainerRef;
@@ -21,3 +24,5 @@ export declare class SdsBadgeDirective implements OnInit, OnChanges, OnDestroy,
21
24
  static ɵfac: i0.ɵɵFactoryDeclaration<SdsBadgeDirective, never>;
22
25
  static ɵdir: i0.ɵɵDirectiveDeclaration<SdsBadgeDirective, "[sdsBadge]", never, { "sdsBadge": { "alias": "sdsBadge"; "required": false; }; "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, never, true, never>;
23
26
  }
27
+
28
+ export { SdsBadgeDirective };
@@ -1,6 +1,7 @@
1
+ import * as i0 from '@angular/core';
1
2
  import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class SdsCalloutComponent implements OnInit {
3
+
4
+ declare class SdsCalloutComponent implements OnInit {
4
5
  color: string;
5
6
  backgroundColor: string;
6
7
  constructor();
@@ -8,3 +9,5 @@ export declare class SdsCalloutComponent implements OnInit {
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<SdsCalloutComponent, never>;
9
10
  static ɵcmp: i0.ɵɵComponentDeclaration<SdsCalloutComponent, "sds-callout", never, { "color": { "alias": "color"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; }, {}, never, ["*"], true, never>;
10
11
  }
12
+
13
+ export { SdsCalloutComponent };
@@ -1,6 +1,8 @@
1
- import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class SdsColorPickerComponent implements OnInit, OnChanges {
1
+ import * as _fortawesome_fontawesome_common_types from '@fortawesome/fontawesome-common-types';
2
+ import * as i0 from '@angular/core';
3
+ import { OnInit, OnChanges, EventEmitter, SimpleChanges } from '@angular/core';
4
+
5
+ declare class SdsColorPickerComponent implements OnInit, OnChanges {
4
6
  colors: Array<string>;
5
7
  disabled: boolean;
6
8
  selectedColor?: string;
@@ -12,7 +14,7 @@ export declare class SdsColorPickerComponent implements OnInit, OnChanges {
12
14
  shape: 'circle' | 'square';
13
15
  dropdownGridTemplateColumns?: string;
14
16
  showDropdown: boolean;
15
- checkIcon: import("@fortawesome/fontawesome-common-types").IconDefinition;
17
+ checkIcon: _fortawesome_fontawesome_common_types.IconDefinition;
16
18
  private gridSize;
17
19
  circleRadius: string;
18
20
  squareRadius: string;
@@ -25,3 +27,5 @@ export declare class SdsColorPickerComponent implements OnInit, OnChanges {
25
27
  static ɵfac: i0.ɵɵFactoryDeclaration<SdsColorPickerComponent, never>;
26
28
  static ɵcmp: i0.ɵɵComponentDeclaration<SdsColorPickerComponent, "sds-color-picker", never, { "colors": { "alias": "colors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "selectedColor": { "alias": "selectedColor"; "required": false; }; "defaultColor": { "alias": "defaultColor"; "required": false; }; "style": { "alias": "style"; "required": false; }; "showCaret": { "alias": "showCaret"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; }, { "selectedColorChange": "selectedColorChange"; "selectedColorIndexChange": "selectedColorIndexChange"; }, never, never, true, never>;
27
29
  }
30
+
31
+ export { SdsColorPickerComponent };